diff --git a/core/cockroach.sql b/core/cockroach.sql new file mode 100644 index 00000000..7ea52678 --- /dev/null +++ b/core/cockroach.sql @@ -0,0 +1,179 @@ +CREATE TABLE users ( + id BIGSERIAL PRIMARY KEY, + full_name TEXT NOT NULL, + phone TEXT, + avatar TEXT, + stripe_id TEXT, + email TEXT UNIQUE NOT NULL, + category_counts JSON, + disabled bool DEFAULT false, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ +); + +CREATE TABLE categories ( + id BIGSERIAL PRIMARY KEY, + name TEXT NOT NULL CHECK (length(name) < 100), + description TEXT CHECK (length(description) < 300), + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ +); + +CREATE TABLE products ( + id BIGSERIAL PRIMARY KEY, + name TEXT CHECK (length(name) > 1 AND length(name) < 50), + description TEXT CHECK (length(name) > 1 AND length(name) < 200), + tags TEXT[], + price NUMERIC(7,1), + owner_id BIGINT REFERENCES users(id), + + category_ids BIGINT[] NOT NULL, + + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ +); + +CREATE TABLE purchases ( + id BIGSERIAL PRIMARY KEY, + customer_id BIGINT REFERENCES users(id), + product_id BIGINT REFERENCES products(id), + quantity integer, + returned_at TIMESTAMPTZ, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ +); + +CREATE TABLE notifications ( + id BIGSERIAL PRIMARY KEY, + verb TEXT, + subject_type TEXT, + subject_id BIGINT, + user_id BIGINT REFERENCES users(id), + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ +); + +CREATE TABLE comments ( + id BIGSERIAL PRIMARY KEY, + body TEXT CHECK (length(body) > 1 AND length(body) < 200), + product_id BIGINT REFERENCES products(id), + commenter_id BIGINT REFERENCES users(id), + reply_to_id BIGINT REFERENCES comments(id), + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ +); + +CREATE TABLE chats ( + id BIGSERIAL PRIMARY KEY, + body text, + reply_to_id BIGINT REFERENCES chats(id), + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ +); + +CREATE VIEW + hot_products +AS ( + SELECT + id as product_id + FROM + products + WHERE + id > 50 +); + +-- CREATE TABLE chats ( +-- id BIGSERIAL PRIMARY KEY, +-- body TEXT, +-- reply_to_id BIGINT[], +-- created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), +-- updated_at TIMESTAMPTZ +-- ); + +-- insert users +INSERT INTO + users (id, full_name, email, stripe_id, category_counts, disabled, created_at) +SELECT + i, + 'User ' || i::string, + 'user' || i::string || '@test.com', + 'payment_id_' || (i + 1000)::string, + '[{"category_id": 1, "count": 400},{"category_id": 2, "count": 600}]', + (CASE WHEN i = 50 THEN true ELSE false END), + '2021-01-09 16:37:01' + FROM + GENERATE_SERIES(1, 100) i; + +-- insert categories +INSERT INTO + categories (id, name, description, created_at) +SELECT + i, + 'Category ' || i::string, + 'Description for category ' || i::string, + '2021-01-09 16:37:01' +FROM + GENERATE_SERIES(1, 5) i; + +-- insert products +INSERT INTO + products (id, name, description, tags, category_ids, price, owner_id, created_at) +SELECT + i, + 'Product ' || i::string, + 'Description for product ' || i::string, + (SELECT array_agg(('Tag ' || i::string)) FROM GENERATE_SERIES(1, 5) i), + (SELECT array_agg(i) FROM GENERATE_SERIES(1, 5) i), + (i + 10.5), + i, + '2021-01-09 16:37:01' +FROM + GENERATE_SERIES(1, 100) i; + +-- insert purchases +INSERT INTO + purchases (id, customer_id, product_id, quantity, created_at) +SELECT + i, + (CASE WHEN i >= 100 THEN 1 ELSE (i+1) END), + i, + (i * 10), + '2021-01-09 16:37:01' +FROM + GENERATE_SERIES(1, 100) i; + +-- insert notifications +INSERT INTO + notifications (id, verb, subject_type, subject_id, user_id, created_at) +SELECT + i, + (CASE WHEN ((i % 2) = 0) THEN 'Bought' ELSE 'Joined' END), + (CASE WHEN ((i % 2) = 0) THEN 'products' ELSE 'users' END), + i, + (CASE WHEN i >= 2 THEN i - 1 ELSE NULL END), + '2021-01-09 16:37:01' +FROM + GENERATE_SERIES(1, 100) i; + +-- insert comments +INSERT INTO + comments (id, body, product_id, commenter_id, reply_to_id, created_at) +SELECT + i, + 'This is comment number ' || i::string, + i, + i, + (CASE WHEN i >= 2 THEN i - 1 ELSE NULL END), + '2021-01-09 16:37:01' +FROM + GENERATE_SERIES(1, 100) i; + +-- insert chats +INSERT INTO + chats (id, body, created_at) +SELECT + i, + 'This is chat message number ' || i::string, + '2021-01-09 16:37:01' +FROM + GENERATE_SERIES(1, 5) i; \ No newline at end of file diff --git a/core/core.go b/core/core.go index 3e9705e2..699d9ca0 100644 --- a/core/core.go +++ b/core/core.go @@ -62,9 +62,12 @@ type qres struct { } func (gj *GraphJin) initDiscover() error { - if gj.conf.DBType == "" { + switch gj.conf.DBType { + case "": gj.dbtype = "postgres" - } else { + case "mssql": + gj.dbtype = "mysql" + default: gj.dbtype = gj.conf.DBType } diff --git a/core/core_test.go b/core/core_test.go index 2d90d6b2..93825276 100644 --- a/core/core_test.go +++ b/core/core_test.go @@ -8,6 +8,8 @@ import ( "testing" "github.com/orlangure/gnomock" + "github.com/orlangure/gnomock/preset/cockroachdb" + "github.com/orlangure/gnomock/preset/mssql" "github.com/orlangure/gnomock/preset/mysql" "github.com/orlangure/gnomock/preset/postgres" ) @@ -42,7 +44,18 @@ func TestMain(m *testing.M) { postgres.WithUser("tester", "tester"), postgres.WithDatabase("db"), postgres.WithQueriesFile("./postgres.sql"), - )}, + ), + }, + { + disable: true, + name: "cockroach", + driver: "postgres", + connstr: "postgres://root:@%s/db?sslmode=disable", + preset: cockroachdb.Preset( + cockroachdb.WithDatabase("db"), + cockroachdb.WithQueriesFile("./cockroach.sql"), + ), + }, { disable: true, name: "mysql", @@ -52,7 +65,20 @@ func TestMain(m *testing.M) { mysql.WithUser("user", "user"), mysql.WithDatabase("db"), mysql.WithQueriesFile("./mysql.sql"), - )}, + ), + }, + { + disable: true, + name: "mssql", + driver: "sqlserver", + connstr: "sqlserver://sa:password@%s?database=db", + preset: mssql.Preset( + mssql.WithLicense(true), + mssql.WithAdminPassword("password"), + mssql.WithDatabase("db"), + mssql.WithQueriesFile("./mysql.sql"), + ), + }, } for _, v := range dbinfoList { @@ -74,7 +100,11 @@ func TestMain(m *testing.M) { if err != nil { panic(err) } - defer func() { _ = gnomock.Stop(con) }() + defer func() { + if err := gnomock.Stop(con); err != nil { + panic(err) + } + }() db, err = sql.Open(v.driver, fmt.Sprintf(v.connstr, con.DefaultAddress())) if err != nil { diff --git a/examples/webshop/config/seed.js b/examples/webshop/config/seed.js index a8db2ab1..8c25492b 100644 --- a/examples/webshop/config/seed.js +++ b/examples/webshop/config/seed.js @@ -26,13 +26,14 @@ for (i = 0; i < 3; i++) { updated_at: "now", }; - var res = graphql( - " \ - mutation { \ - users(insert: $data) { \ - id \ - } \ - }", + var q = ` + mutation { + users(insert: $data) { + id + } + }` + + var res = graphql(q, { data: data }, { user_id: -1 } ); @@ -53,13 +54,14 @@ for (i = 0; i < user_count; i++) { updated_at: "now", }; - var res = graphql( - " \ - mutation { \ - users(insert: $data) { \ - id \ - } \ - }", + var q = ` + mutation { + users(insert: $data) { + id + } + }` + + var res = graphql(q, { data: data }, { user_id: -1 } ); @@ -83,13 +85,13 @@ for (i = 0; i < customer_count; i++) { password_confirmation: pwd, }; - var res = graphql( - " \ - mutation { \ - customers(insert: $data) { \ - id \ - } \ - }", + var q = `mutation { + customers(insert: $data) { + id + } + }` + + var res = graphql(q, { data: data }, { user_id: u.id } ); @@ -118,13 +120,13 @@ var categories = [ // ---- add those sections using bulk insert -var res = graphql( - " \ -mutation { \ - categories(insert: $categories) { \ - id \ - } \ -}", +var q = `mutation { + categories(insert: $categories) { + id + } +} +` +var res = graphql(q, { categories: categories, user_id: 1 } ); @@ -153,13 +155,13 @@ for (i = 0; i < product_count; i++) { }, }; - var res = graphql( - " \ - mutation { \ - products(insert: $data) { \ - id \ - } \ - }", + var q = `mutation { + products(insert: $data) { + id + } + }` + + var res = graphql(q, { data: data }, { user_id: u.id } ); @@ -185,13 +187,13 @@ for (i = 0; i < purchase_count; i++) { }, }; - var res = graphql( - " \ - mutation { \ - purchases(insert: $data) { \ - id \ - } \ - }", + var q = `mutation { + purchases(insert: $data) { + id + } + }` + + var res = graphql(q, { data: data }, { user_id: u.id } ); @@ -229,13 +231,13 @@ for (i = 0; i < notifications_count; i++) { }, }; - var res = graphql( - " \ - mutation { \ - notifications(insert: $data) { \ - id \ - } \ - }", + var q = `mutation { + notifications(insert: $data) { + id + } + }` + + var res = graphql(q, { data: data }, { user_id: u.id } ); @@ -271,13 +273,13 @@ for (i = 0; i < comments_count; i++) { }; } - var res = graphql( - " \ - mutation { \ - comments(insert: $data) { \ - id \ - } \ - }", + var q =` mutation { + comments(insert: $data) { + id + } + }` + + var res = graphql(q, { data: data }, { user_id: u.id } ); diff --git a/go.mod b/go.mod index eab4bdcb..5e41b58b 100644 --- a/go.mod +++ b/go.mod @@ -14,15 +14,13 @@ require ( github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b github.com/brianvoe/gofakeit/v6 v6.0.0 github.com/chirino/graphql v0.0.0-20200723175208-cec7bf430a98 - github.com/daaku/go.zipexe v1.0.1 // indirect github.com/dgrijalva/jwt-go v3.2.0+incompatible - github.com/dlclark/regexp2 v1.2.1 // indirect - github.com/dop251/goja v0.0.0-20200912112403-81ddb8a7cc41 + github.com/dop251/goja v0.0.0-20210322220816-6fc852574a34 + github.com/evanw/esbuild v0.10.2 github.com/fsnotify/fsnotify v1.4.9 github.com/garyburd/redigo v1.6.2 github.com/git-chglog/git-chglog v0.10.0 github.com/go-pkgz/expirable-cache v0.0.3 - github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect github.com/go-sql-driver/mysql v1.5.0 github.com/gobuffalo/flect v0.2.2 github.com/golangci/golangci-lint v1.37.0 @@ -36,7 +34,7 @@ require ( github.com/mitchellh/mapstructure v1.4.0 github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/openzipkin/zipkin-go v0.2.4 - github.com/orlangure/gnomock v0.10.1 + github.com/orlangure/gnomock v0.12.0 github.com/pkg/errors v0.9.1 github.com/prometheus/common v0.14.0 // indirect github.com/prometheus/procfs v0.2.0 // indirect @@ -58,4 +56,4 @@ require ( golang.org/x/tools v0.1.0 ) -go 1.14 +go 1.16 diff --git a/go.sum b/go.sum index bb52a382..c105c692 100644 --- a/go.sum +++ b/go.sum @@ -117,7 +117,6 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym github.com/Djarvur/go-err113 v0.0.0-20200511133814-5174e21577d5/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/Djarvur/go-err113 v0.1.0 h1:uCRZZOdMQ0TZPHYTdYpoC0bLYJKPEHPUJ8MeAa51lNU= github.com/Djarvur/go-err113 v0.1.0/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/GeertJohan/go.incremental v1.0.0 h1:7AH+pY1XUgQE4Y1HcXYaMqAI0m9yrFqo/jt0CW30vsg= github.com/GeertJohan/go.incremental v1.0.0/go.mod h1:6fAjUhbVuX1KcMD3c8TEgVUqmo4seqhv0i0kdATSkM0= github.com/GeertJohan/go.rice v1.0.0 h1:KkI6O9uMaQU3VEKaj01ulavtF7o1fWT7+pk/4voiMLQ= github.com/GeertJohan/go.rice v1.0.0/go.mod h1:eH6gbSOAUv07dQuZVnBmoDP8mgsM1rtixis4Tib9if0= @@ -156,7 +155,6 @@ github.com/aclements/go-moremath v0.0.0-20161014184102-0ff62e0875ff/go.mod h1:id github.com/adjust/gorails v0.0.0-20171013043634-2786ed0c03d3 h1:+qz9Ga6l6lKw6fgvk5RMV5HQznSLvI8Zxajwdj4FhFg= github.com/adjust/gorails v0.0.0-20171013043634-2786ed0c03d3/go.mod h1:FlkD11RtgMTYjVuBnb7cxoHmQGqvPpCsr2atC88nl/M= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= -github.com/akavel/rsrc v0.8.0 h1:zjWn7ukO9Kc5Q62DOJCcxGpXC18RawVtYAGdz2aLlfw= github.com/akavel/rsrc v0.8.0/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs= github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= @@ -266,8 +264,6 @@ github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7Do github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/daaku/go.zipexe v1.0.0/go.mod h1:z8IiR6TsVLEYKwXAoE/I+8ys/sDkgTzSL0CLnGVd57E= -github.com/daaku/go.zipexe v1.0.1 h1:wV4zMsDOI2SZ2m7Tdz1Ps96Zrx+TzaK15VbUaGozw0M= -github.com/daaku/go.zipexe v1.0.1/go.mod h1:5xWogtqlYnfBXkSB1o9xysukNP9GTvaNkqzUZbt3Bw8= github.com/daixiang0/gci v0.2.8 h1:1mrIGMBQsBu0P7j7m1M8Lb+ZeZxsZL+jyGX4YoMJJpg= github.com/daixiang0/gci v0.2.8/go.mod h1:+4dZ7TISfSmqfAGv59ePaHfNzgGtIkHAhhdKggP1JAc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -280,6 +276,7 @@ github.com/decred/dcrd/dcrec/secp256k1/v3 v3.0.0/go.mod h1:J70FGZSbzsjecRTiTzER+ github.com/denis-tingajkin/go-header v0.4.2 h1:jEeSF4sdv8/3cT/WY8AgDHUoItNSoEZ7qg9dX7pc218= github.com/denis-tingajkin/go-header v0.4.2/go.mod h1:eLRHAVXzE5atsKAnNRDB90WHCFFnBUn4RN0nRcs1LJA= github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/denisenkom/go-mssqldb v0.9.0 h1:RSohk2RsiZqLZ0zCjtfn3S4Gp4exhpBWHyQ7D0yGjAk= github.com/denisenkom/go-mssqldb v0.9.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY= github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= @@ -288,8 +285,8 @@ github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8 github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= -github.com/dlclark/regexp2 v1.2.1 h1:Ff/S0snjr1oZHUNOkvA/gP6KUaMg5vDDl3Qnhjnwgm8= -github.com/dlclark/regexp2 v1.2.1/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= +github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91 h1:Izz0+t1Z5nI16/II7vuEo/nHjodOg0p7+OiDpjX5t1E= +github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug= github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v1.13.1 h1:IkZjBSIc8hBjLpqeAbeE5mca5mNgeatLHBy3GO78BWo= @@ -300,8 +297,9 @@ github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dop251/goja v0.0.0-20200912112403-81ddb8a7cc41 h1:2P55x6IerzvQIv7bdKEQQWl93uIEQgh6417+uwHGtKQ= -github.com/dop251/goja v0.0.0-20200912112403-81ddb8a7cc41/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= +github.com/dop251/goja v0.0.0-20210322220816-6fc852574a34 h1:maoi6x16Pg9Y8VTg4a7Fc82n4W7cNQhPZ6klzzdHNAo= +github.com/dop251/goja v0.0.0-20210322220816-6fc852574a34/go.mod h1:QI3Hg4VrhtO8fYNLq3bch/emWaMOeYc63e86mTDEfPA= +github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= @@ -322,13 +320,14 @@ github.com/esimonov/ifshort v1.0.0/go.mod h1:yZqNJUrNn20K8Q9n2CrjTKYyVEmX209Hgu+ github.com/esimonov/ifshort v1.0.1 h1:p7hlWD15c9XwvwxYg3W7f7UZHmwg7l9hC0hBiF95gd0= github.com/esimonov/ifshort v1.0.1/go.mod h1:yZqNJUrNn20K8Q9n2CrjTKYyVEmX209Hgu+M1LBpeZE= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanw/esbuild v0.10.2 h1:aTkCGE1R5YYhXl375VKQKtJmW85mnsGo15KW5nnYYIs= +github.com/evanw/esbuild v0.10.2/go.mod h1:y2AFBAGVelPqPodpdtxWWqe6n2jYf5FrsJbligmRmuw= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.10.0 h1:s36xzo75JdqLaaWoiEHk767eHiwo0598uUxyfiPkDsg= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= @@ -451,6 +450,7 @@ github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7a github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -716,7 +716,6 @@ github.com/jarcoal/httpmock v1.0.8 h1:8kI16SoO6LQKgPE7PvQuV+YuD/inwHd7fOOe2zMbo4 github.com/jarcoal/httpmock v1.0.8/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= -github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jgautheron/goconst v0.0.0-20201117150253-ccae5bf973f3 h1:7nkB9fLPMwtn/R6qfPcHileL/x9ydlhw8XyDrLI1ZXg= github.com/jgautheron/goconst v0.0.0-20201117150253-ccae5bf973f3/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= @@ -777,6 +776,8 @@ github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= @@ -907,13 +908,11 @@ github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxzi github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/nbutton23/zxcvbn-go v0.0.0-20201221231540-e56b841a3c88 h1:o+O3Cd1HO9CTgxE3/C8p5I5Y4C0yYWbF8d4IkfOLtcQ= github.com/nbutton23/zxcvbn-go v0.0.0-20201221231540-e56b841a3c88/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nishanths/exhaustive v0.1.0 h1:kVlMw8h2LHPMGUVqUj6230oQjjTMFjwcZrnkhXzFfl8= github.com/nishanths/exhaustive v0.1.0/go.mod h1:S1j9110vxV1ECdCudXRkeMnFQ/DQk9ajLT0Uf2MYZQQ= github.com/nishanths/predeclared v0.2.1 h1:1TXtjmy4f3YCFjTxRd8zcFHOmoUir+gp0ESzjFzG2sw= github.com/nishanths/predeclared v0.2.1/go.mod h1:HvkGJcA3naj4lOwnFXFDkFxVtSqQMB9sbB1usJ+xjQE= -github.com/nkovacs/streamquote v0.0.0-20170412213628-49af9bddb229 h1:E2B8qYyeSgv5MXpmzZXRNp8IAQ4vjxIjhpAf5hv/tAg= github.com/nkovacs/streamquote v0.0.0-20170412213628-49af9bddb229/go.mod h1:0aYXnNPJ8l7uZxf45rWW1a/uME32OF0rhiYGNQ2oF2E= github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= @@ -955,8 +954,8 @@ github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnh github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.4 h1:U5TVrlsR1jPV1oJp7XqkC1XDk32tSZGwQIIywTQvQhc= github.com/openzipkin/zipkin-go v0.2.4/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa4YDFlwRYAMyE= -github.com/orlangure/gnomock v0.10.1 h1:4RKiWkuETmCKv3P13I0LGyUIMgP9QN1MEKXhPB5/AwE= -github.com/orlangure/gnomock v0.10.1/go.mod h1:hTsIl+VEiqfXVkeXxsT6RM/Ed6zlsp31VDc75+aKrgw= +github.com/orlangure/gnomock v0.12.0 h1:qlQ2iO0Edm73YfIWXqEm+iU4rE6iUx219G9A8u1/wzU= +github.com/orlangure/gnomock v0.12.0/go.mod h1:hTsIl+VEiqfXVkeXxsT6RM/Ed6zlsp31VDc75+aKrgw= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= @@ -1176,7 +1175,6 @@ github.com/tommy-muehle/go-mnd/v2 v2.3.1 h1:a1S4+4HSXDJMgeODJH/t0EEKxcVla6Tasw+Z github.com/tommy-muehle/go-mnd/v2 v2.3.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= github.com/tsuyoshiwada/go-gitcmd v0.0.0-20180205145712-5f1f5f9475df h1:Y2l28Jr3vOEeYtxfVbMtVfOdAwuUqWaP9fvNKiBVeXY= github.com/tsuyoshiwada/go-gitcmd v0.0.0-20180205145712-5f1f5f9475df/go.mod h1:pnyouUty/nBr/zm3GYwTIt+qFTLWbdjeLjZmJdzJOu8= -github.com/uber-go/atomic v1.3.2 h1:Azu9lPBWRNKzYXSIwRfgRuDuS0YKsK4NFhiQv98gkxo= github.com/uber-go/atomic v1.3.2/go.mod h1:/Ct5t2lcmbJ4OSe/waGBoaVvVqtO0bmtfVNex1PFV8g= github.com/uber/jaeger-client-go v2.14.1-0.20180928181052-40fb3b2c4120+incompatible h1:Dw0AFQs6RGO8RxMPGP2LknN/VtHolVH82P9PP0Ni+9w= github.com/uber/jaeger-client-go v2.14.1-0.20180928181052-40fb3b2c4120+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= @@ -1198,10 +1196,8 @@ github.com/urfave/cli v1.22.5 h1:lNq9sAHXK2qfdI8W+GRItjCEkI+2oR4d+MEHy1CKXoU= github.com/urfave/cli v1.22.5/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/uudashr/gocognit v1.0.1 h1:MoG2fZ0b/Eo7NXoIwCVFLG5JED3qgQz5/NEE+rOsjPs= github.com/uudashr/gocognit v1.0.1/go.mod h1:j44Ayx2KW4+oB6SWMv8KsmHzZrOInQav7D3cQMJ5JUM= -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.16.0/go.mod h1:YOKImeEosDdBPnxc0gy7INqi3m1zK6A+xl6TwOBhHCA= -github.com/valyala/fasttemplate v1.0.1 h1:tY9CJiPnMXf1ERmG2EyK7gNUd+c6RKGD0IfU8WdUSz8= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/valyala/quicktemplate v1.6.3/go.mod h1:fwPzK2fHuYEODzJ9pkw0ipCPNHZ2tD5KW4lOuSdPKzY= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= @@ -1435,6 +1431,7 @@ golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1463,8 +1460,9 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1697,8 +1695,9 @@ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLks gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= diff --git a/internal/serv/cmd.go b/internal/serv/cmd.go index bf571698..918fe9b6 100644 --- a/internal/serv/cmd.go +++ b/internal/serv/cmd.go @@ -11,8 +11,6 @@ import ( "go.uber.org/zap/zapcore" ) -//go:generate rice embed-go - const ( serverName = "GraphJin" ) diff --git a/internal/serv/cmd_new.go b/internal/serv/cmd_new.go index 1e8a3cbf..c2fb531f 100644 --- a/internal/serv/cmd_new.go +++ b/internal/serv/cmd_new.go @@ -2,13 +2,13 @@ package serv import ( "bytes" + "embed" "io/ioutil" "os" "path" "strings" "text/template" - rice "github.com/GeertJohan/go.rice" "github.com/spf13/cobra" ) @@ -109,25 +109,31 @@ func cmdNew(servConf *ServConfig) func(*cobra.Command, []string) { } } +//go:embed tmpl +var tmpl embed.FS + type Templ struct { - *rice.Box - data map[string]string + values map[string]string } -func newTempl(data map[string]string) *Templ { - return &Templ{rice.MustFindBox("./tmpl"), data} +func newTempl(values map[string]string) *Templ { + return &Templ{values} } func (t *Templ) get(name string) ([]byte, error) { - v := t.MustString(name) + v, err := tmpl.ReadFile("tmpl/" + name) + if err != nil { + return nil, err + } + b := bytes.Buffer{} - tmpl, err := template.New(name).Parse(v) + tmpl, err := template.New(name).Parse(string(v)) if err != nil { return nil, err } - if err := tmpl.Execute(&b, t.data); err != nil { + if err := tmpl.Execute(&b, t.values); err != nil { return nil, err } diff --git a/internal/serv/cmd_seed.go b/internal/serv/cmd_seed.go index ac56238b..2950d7f4 100644 --- a/internal/serv/cmd_seed.go +++ b/internal/serv/cmd_seed.go @@ -4,6 +4,7 @@ import ( "context" "encoding/csv" "encoding/json" + "errors" "fmt" "io" "io/ioutil" @@ -16,6 +17,7 @@ import ( "github.com/brianvoe/gofakeit/v6" "github.com/dop251/goja" "github.com/dosco/graphjin/core" + esb "github.com/evanw/esbuild/pkg/api" "github.com/gosimple/slug" "github.com/jackc/pgx/v4" "github.com/jackc/pgx/v4/stdlib" @@ -42,51 +44,74 @@ func cmdDBSeed(servConf *ServConfig) func(*cobra.Command, []string) { servConf.log.Fatalf("Failed to connect to database: %s", err) } + servConf.conf.Core.Blocklist = nil sfile := path.Join(servConf.conf.cpath, servConf.conf.SeedFile) - b, err := ioutil.ReadFile(sfile) - if err != nil { - servConf.log.Fatalf("Failed to read seed file %s: %s", sfile, err) + if err := compileAndRunJS(servConf, sfile); err != nil { + servConf.log.Fatalf("Failed to execute seed file %s: %s", sfile, err) } - servConf.conf.Core.Blocklist = nil + servConf.log.Infof("Seed script completed") + } +} - gj, err = core.NewGraphJin(&servConf.conf.Core, servConf.db) - if err != nil { - servConf.log.Fatalf("GraphJin failed to initialize: %s", err) - } +func compileAndRunJS(servConf *ServConfig, sfile string) error { + b, err := ioutil.ReadFile(sfile) + if err != nil { + return fmt.Errorf("Failed to read seed file %s: %s", sfile, err) + } - graphQLFn := func(query string, data interface{}, opt map[string]string) map[string]interface{} { - return graphQLFunc(servConf, gj, query, data, opt) - } + gj, err := core.NewGraphJin(&servConf.conf.Core, servConf.db) + if err != nil { + return err + } - importCSVFn := func(table, filename string, sep string) int64 { - return importCSV(servConf, table, filename, sep) - } + graphQLFn := func(query string, data interface{}, opt map[string]string) map[string]interface{} { + return graphQLFunc(servConf, gj, query, data, opt) + } - vm := goja.New() - vm.Set("graphql", graphQLFn) - vm.Set("import_csv", importCSVFn) + importCSVFn := func(table, filename string, sep string) int64 { + return importCSV(servConf, table, filename, sep) + } - console := vm.NewObject() - console.Set("log", logFunc) //nolint: errcheck - vm.Set("console", console) + vm := goja.New() + if err := vm.Set("graphql", graphQLFn); err != nil { + return err + } - fake := vm.NewObject() - setFakeFuncs(fake) - vm.Set("fake", fake) + if err := vm.Set("import_csv", importCSVFn); err != nil { + return err + } - util := vm.NewObject() - setUtilFuncs(util) - vm.Set("util", util) + console := vm.NewObject() + console.Set("log", logFunc) //nolint: errcheck + if err := vm.Set("console", console); err != nil { + return err + } - _, err = vm.RunScript("seed.js", string(b)) - if err != nil { - servConf.log.Fatalf("Failed to execute seed script: %s", err) - } + fake := vm.NewObject() + setFakeFuncs(fake) + if err := vm.Set("fake", fake); err != nil { + return err + } - servConf.log.Infof("Seed script completed") + util := vm.NewObject() + setUtilFuncs(util) + if err := vm.Set("util", util); err != nil { + return err + } + + es5 := esb.Transform(string(b), esb.TransformOptions{ + Loader: esb.LoaderJS, + Target: esb.ES5, + }) + + if len(es5.Errors) != 0 { + return errors.New(es5.Errors[0].Text) } + + _, err = vm.RunScript(servConf.conf.SeedFile, string(es5.Code)) + return err } // func runFunc(call goja.FunctionCall) { diff --git a/internal/serv/rice-box.go b/internal/serv/rice-box.go deleted file mode 100644 index 50fd5df2..00000000 --- a/internal/serv/rice-box.go +++ /dev/null @@ -1,287 +0,0 @@ -package serv - -import ( - "time" - - "github.com/GeertJohan/go.rice/embedded" -) - -func init() { - - // define files - file2 := &embedded.EmbeddedFile{ - Filename: "0_init.sql", - FileModTime: time.Unix(1611303610, 0), - - Content: string("-- Write your migrate up statements here\n\nCREATE TABLE users (\n id BIGINT NOT NULL PRIMARY KEY, \n full_name VARCHAR(255) NOT NULL,\n email VARCHAR(255) NOT NULL,\n created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n updated_at TIMESTAMP,\n UNIQUE (email)\n);\n\n---- create above / drop below ----\n\n-- Write your down migrate statements here. If this migration is irreversible\n-- then delete the separator line above.\n\nDROP TABLE users\n\n"), - } - file3 := &embedded.EmbeddedFile{ - Filename: "Dockerfile", - FileModTime: time.Unix(1608879028, 0), - - Content: string("FROM dosco/graphjin:latest\nWORKDIR /\n\nCOPY config/ /config/"), - } - file4 := &embedded.EmbeddedFile{ - Filename: "cloudbuild.yaml", - FileModTime: time.Unix(1608879028, 0), - - Content: string("steps:\n # Build image with tag 'latest'\n - name: \"gcr.io/cloud-builders/docker\"\n args:\n [\n \"build\",\n \"--tag\",\n \"gcr.io/$PROJECT_ID/{{- .AppNameSlug -}}:latest\",\n \"--build-arg\",\n \"GO_ENV=production\",\n \".\",\n ]\n\n # Push new image to Google Container Registry\n - name: \"gcr.io/cloud-builders/docker\"\n args: [\"push\", \"gcr.io/$PROJECT_ID/{{- .AppNameSlug -}}:latest\"]\n\n # Deploy image to Cloud Run\n - name: \"gcr.io/cloud-builders/gcloud\"\n args:\n [\n \"run\",\n \"deploy\",\n \"data\",\n \"--image\",\n \"gcr.io/$PROJECT_ID/{{- .AppNameSlug -}}:latest\",\n \"--add-cloudsql-instances\",\n \"$PROJECT_ID:$REGION:{{- .AppNameSlug -}}_production\",\n \"--region\",\n \"$REGION\",\n \"--platform\",\n \"managed\",\n \"--update-env-vars\",\n \"GO_ENV=production,SG_DATABASE_HOST=/cloudsql/$PROJECT_ID:$REGION:{{- .AppNameSlug -}}_production,SECRETS_FILE=prod.secrets.yml\",\n \"--port\",\n \"8080\",\n \"--service-account\",\n \"$SERVICE_ACCOUNT\",\n \"--allow-unauthenticated\",\n \"--verbosity\",\n \"debug\",\n ]\n"), - } - file5 := &embedded.EmbeddedFile{ - Filename: "dev.yml", - FileModTime: time.Unix(1615906313, 0), - - Content: string("app_name: \"{{- .AppName }} Development\"\nhost_port: 0.0.0.0:8080\nweb_ui: true\n\n# Log levels: debug, error, warn, info\nlog_level: \"info\"\n\n# Log formats: json, plain \nlog_format: \"plain\"\n\n# Enable or disable http compression (uses gzip)\nhttp_compress: true\n\n# When production mode is 'true' only queries \n# from the allow list are permitted.\n# When it's 'false' all queries are saved to the\n# the allow list in ./config/allow.list\nproduction: false\n\n# Throw a 401 on auth failure for queries that need auth\nauth_fail_block: false\n\n# Latency tracing for database queries and remote joins\n# the resulting latency information is returned with the\n# response\nenable_tracing: true\n\n# Watch the config folder and reload GraphJin\n# with the new configs when a change is detected\nreload_on_config_change: true\n\n# File that points to the database seeding script\n# seed_file: seed.js\n\n# Path pointing to where the migrations can be found\n# this must be a relative path under the config path\nmigrations_path: ./migrations\n\n# Secret key for general encryption operations like \n# encrypting the cursor data\nsecret_key: supercalifajalistics\n\n# CORS: A list of origins a cross-domain request can be executed from. \n# If the special * value is present in the list, all origins will be allowed. \n# An origin may contain a wildcard (*) to replace 0 or more \n# characters (i.e.: http://*.domain.com).\ncors_allowed_origins: [\"*\"]\n\n# CORS: A list of headers the client is allowed to use with cross-domain\n# requests. If the special \"*\" value is present in the list, all headers will be\n# allowed. Default value is [\"Origin\", \"Accept\", \"Content-Type\",\n# \"X-Requested-With\", \"Authorization\"]. Even if the list is empty, the \"Origin\"\n# is always appended to the list.\ncors_allowed_headers: []\n\n# Debug Cross Origin Resource Sharing requests\ncors_debug: false\n\n# Default API path prefix is /api you can change it if you like\n# api_path: \"/data\"\n\n# Cache-Control header can help cache queries if your CDN supports cache-control \n# on POST requests (does not work with not mutations) \n# cache_control: \"public, max-age=300, s-maxage=600\"\n\n# Subscriptions poll the database to query for updates\n# this sets the duration (in seconds) between requests.\n# Defaults to 5 seconds\npoll_every_seconds: 5\n\n# Default limit value to be used on queries and as the max\n# limit on all queries where a limit is defined as a query variable.\n# Defaults to 20\ndefault_limit: 20\n\n# Set session variable \"user.id\" to the user id\n# Enable this if you need the user id in triggers, etc\n# Note: This will not work with subscriptions\nset_user_id: false\n\n# open opencensus tracing and metrics\n# telemetry:\n# debug: true\n# metrics:\n# exporter: \"prometheus\"\n# tracing:\n# exporter: \"zipkin\"\n# endpoint: \"http://zipkin:9411/api/v2/spans\"\n# sample: 0.6\n\n# Rate is the number of events per second \n# Bucket a burst of at most 'bucket' number of events.\n# ip_header sets the header that contains the client ip.\n# https://en.wikipedia.org/wiki/Token_bucket \n# rate_limiter:\n# rate: 2\n# bucket: 3\n# ip_header: X-Forwarded-For\n\n# Enable additional debugging logs\ndebug: false\n\n# Auth related environment Variables\n# SG_AUTH_RAILS_COOKIE_SECRET_KEY_BASE\n# SG_AUTH_RAILS_REDIS_URL\n# SG_AUTH_RAILS_REDIS_PASSWORD\n# SG_AUTH_JWT_PUBLIC_KEY_FILE\n\nauth:\n # Can be 'none', 'rails', 'jwt' or 'header'\n type: none\n cookie: _{{- .AppNameSlug -}}_session\n\n # Comment this out if you want to disable setting\n # the user_id via a header for testing. \n # Disable in production\n creds_in_header: true\n\n # Useful for quickly debugging subscriptions WebSocket authorization.\n # Disable in production\n # subs_creds_in_vars: true\n\n rails:\n # Rails version this is used for reading the\n # various cookies formats.\n version: 5.2\n\n # Found in 'Rails.application.config.secret_key_base'\n secret_key_base: 0a248500a64c01184edb4d7ad3a805488f8097ac761b76aaa6c17c01dcb7af03a2f18ba61b2868134b9c7b79a122bc0dadff4367414a2d173297bfea92be5566\n\n # Remote cookie store. (memcache or redis)\n # url: redis://redis:6379\n # password: \"\"\n # max_idle: 80\n # max_active: 12000\n\n # In most cases you don't need these\n # salt: \"encrypted cookie\"\n # sign_salt: \"signed encrypted cookie\"\n # auth_salt: \"authenticated encrypted cookie\"\n\n # jwt:\n # provider: auth0\n # secret: abc335bfcfdb04e50db5bb0a4d67ab9\n # public_key_file: /secrets/public_key.pem\n # public_key_type: ecdsa #rsa\n\n # header:\n # name: dnt\n # exists: true\n # value: localhost:8080\n\n# You can add additional named auths to use with actions\n# In this example actions using this auth can only be\n# called from the Google Appengine Cron service that\n# sets a special header to all it's requests\nauths:\n - name: from_taskqueue\n type: header\n header:\n name: X-Appengine-Cron\n exists: true\n\n# Postgres related environment Variables\n# SG_DATABASE_HOST\n# SG_DATABASE_PORT\n# SG_DATABASE_USER\n# SG_DATABASE_PASSWORD\n\ndatabase:\n type: postgres\n host: db\n port: 5432\n dbname: {{ .AppNameSlug -}}_development\n user: postgres\n password: postgres\n \n #schema: \"public\"\n #pool_size: 10\n #max_retries: 0\n #log_level: \"debug\"\n\n # database ping timeout is used for db health checking\n ping_timeout: 1m\n\n # Set up an secure tls encrypted db connection\n enable_tls: false\n\n # Required for tls. For example with Google Cloud SQL it's\n # :\"\n # server_name: blah\n\n # Required for tls. Can be a file path or the contents of the pem file\n # server_cert: ./server-ca.pem\n\n # Required for tls. Can be a file path or the contents of the pem file\n # client_cert: ./client-cert.pem\n\n # Required for tls. Can be a file path or the contents of the pem file\n # client_key: ./client-key.pem\n\n# Define additional variables here to be used with filters\n# Variables used require a type suffix eg. $user_id:bigint\nvariables:\n #admin_account_id: \"5\"\n admin_account_id: \"sql:select id from users where admin = true limit 1\"\n\n# Define variables set to values extracted from http headers\nheader_variables:\n remote_ip: \"X-Forwarded-For\"\n\n# Field and table names that you wish to block\nblocklist:\n - ar_internal_metadata\n - schema_migrations\n - secret\n - password\n - encrypted\n - token\n\n# Create custom actions with their own api endpoints\n# For example the below action will be available at /api/v1/actions/refresh_leaderboard_users\n# A request to this url will execute the configured SQL query\n# which in this case refreshes a materialized view in the database.\n# The auth_name is from one of the configured auths\nactions:\n - name: refresh_leaderboard_users\n sql: REFRESH MATERIALIZED VIEW CONCURRENTLY \"leaderboard_users\"\n auth_name: from_taskqueue\n\n# resolvers:\n# - name: payments\n# type: remote_api\n# table: customers\n# column: stripe_id\n# json_path: data\n# debug: false\n# url: http://payments/payments/$id\n# pass_headers:\n# - cookie\n# set_headers:\n# - name: Host\n# value: 0.0.0.0\n# # - name: Authorization\n# # value: Bearer \n\ntables:\n - # You can create new fields that have a\n # real db table backing them\n name: me\n table: users\n\n# Variables used require a type suffix eg. $user_id:bigint\n#roles_query: \"SELECT\u00a0* FROM users WHERE id = $user_id:bigint\"\n\nroles:\n # if `auth.type` is set to a valid auth type then\n # all tables are blocked for the anon role unless\n # added to the role like below.\n # - name: anon\n # tables:\n # - name: users\n # query:\n # limit: 10\n\n - name: user\n tables:\n - name: me\n query:\n filters: [\"{ id: { _eq: $user_id } }\"]\n\n # - name: products\n # query:\n # limit: 50\n # filters: [\"{ user_id: { eq: $user_id } }\"]\n # disable_functions: false\n\n # insert:\n # filters: [\"{ user_id: { eq: $user_id } }\"]\n # presets:\n # - user_id: \"$user_id\"\n # - created_at: \"now\"\n \n # update:\n # filters: [\"{ user_id: { eq: $user_id } }\"]\n # presets:\n # - updated_at: \"now\"\n\n # delete:\n # block: true\n\n # - name: admin\n # match: id = 1000\n # tables:\n # - name: users\n # filters: []\n"), - } - file6 := &embedded.EmbeddedFile{ - Filename: "docker-compose.yml", - FileModTime: time.Unix(1608879028, 0), - - Content: string("version: \"3.4\"\nservices:\n # Postgres DB\n db:\n image: postgres:12\n environment:\n POSTGRES_USER: postgres\n POSTGRES_PASSWORD: postgres\n ports:\n - \"5432:5432\"\n\n api:\n image: dosco/graphjin:latest\n environment:\n GO_ENV: \"development\"\n volumes:\n - ./config:/config\n ports:\n - \"8080:8080\"\n depends_on:\n - db\n"), - } - file7 := &embedded.EmbeddedFile{ - Filename: "prod.yml", - FileModTime: time.Unix(1615906313, 0), - - Content: string("# Inherit config from this other config file\n# so I only need to overwrite some values\ninherits: dev\n\napp_name: \"{{- .AppName }} Production\"\nhost_port: 0.0.0.0:8080\nweb_ui: false\n\n# Log levels: debug, error, warn, info\nlog_level: \"warn\"\n\n# Log formats: json, plain \nlog_format: \"json\"\n\n# Enable or disable http compression (uses gzip)\nhttp_compress: true\n\n# When production mode is 'true' only queries \n# from the allow list are permitted.\n# When it's 'false' all queries are saved to the\n# the allow list in ./config/allow.list\nproduction: true\n\n# Throw a 401 on auth failure for queries that need auth\nauth_fail_block: true\n\n# Latency tracing for database queries and remote joins\n# the resulting latency information is returned with the\n# response\nenable_tracing: false\n\n# Watch the config folder and reload GraphJin\n# with the new configs when a change is detected\nreload_on_config_change: false\n\n# File that points to the database seeding script\n# seed_file: seed.js\n\n# Path pointing to where the migrations can be found\n# migrations_path: ./migrations\n\n# Secret key for general encryption operations like \n# encrypting the cursor data\n# secret_key: supercalifajalistics\n\n# CORS: A list of origins a cross-domain request can be executed from. \n# If the special * value is present in the list, all origins will be allowed. \n# An origin may contain a wildcard (*) to replace 0 or more \n# characters (i.e.: http://*.domain.com).\n# cors_allowed_origins: [\"*\"]\n\n# CORS: A list of headers the client is allowed to use with cross-domain\n# requests. If the special \"*\" value is present in the list, all headers will be\n# allowed. Default value is [\"Origin\", \"Accept\", \"Content-Type\",\n# \"X-Requested-With\", \"Authorization\"]. Even if the list is empty, the \"Origin\"\n# is always appended to the list.\n# cors_allowed_headers: []\n\n# Debug Cross Origin Resource Sharing requests\n# cors_debug: false\n\n# Default API path prefix is /api you can change it if you like\n# api_path: \"/data\"\n\n# Cache-Control header can help cache queries if your CDN supports cache-control \n# on POST requests (does not work with not mutations) \n# cache_control: \"public, max-age=300, s-maxage=600\"\n\n# Subscriptions poll the database to query for updates\n# this sets the duration (in seconds) between requests.\n# Defaults to 5 seconds\n# poll_every_seconds: 5\n\n# Postgres related environment Variables\n# SG_DATABASE_HOST\n# SG_DATABASE_PORT\n# SG_DATABASE_USER\n# SG_DATABASE_PASSWORD\n\n# Auth related environment Variables\n# SG_AUTH_RAILS_COOKIE_SECRET_KEY_BASE\n# SG_AUTH_RAILS_REDIS_URL\n# SG_AUTH_RAILS_REDIS_PASSWORD\n# SG_AUTH_JWT_PUBLIC_KEY_FILE\n\n# open opencensus tracing and metrics\n# telemetry:\n# debug: false\n# metrics:\n# exporter: \"prometheus\"\n# tracing:\n# exporter: \"zipkin\"\n# endpoint: \"http://zipkin:9411/api/v2/spans\"\n# sample: 0.6\n\ndatabase:\n type: postgres\n host: db\n port: 5432\n dbname: {{ .AppNameSlug -}}_production\n user: postgres\n password: postgres\n #pool_size: 10\n #max_retries: 0\n #log_level: \"debug\" \n\n # database ping timeout is used for db health checking\n ping_timeout: 5m\n\n # Set up an secure tls encrypted db connection\n enable_tls: false\n\n # Required for tls. For example with Google Cloud SQL it's\n # :\"\n # server_name: blah\n\n # Required for tls. Can be a file path or the contents of the pem file\n # server_cert: ./server-ca.pem\n\n # Required for tls. Can be a file path or the contents of the pem file\n # client_cert: ./client-cert.pem\n\n # Required for tls. Can be a file path or the contents of the pem file\n # client_key: ./client-key.pem"), - } - file8 := &embedded.EmbeddedFile{ - Filename: "seed.js", - FileModTime: time.Unix(1613573361, 0), - - Content: string("// Example script to seed database\n\nvar users = [];\n\nfor (i = 0; i < 10; i++) {\n var data = {\n id: i,\n full_name: fake.name(),\n email: fake.email(),\n created_at: \"now\",\n };\n\n var res = graphql(\" \\\n\tmutation { \\\n\t\tusers(insert: $data) { \\\n\t\t\tid \\\n\t\t} \\\n\t}\", {\n data: data,\n });\n\n users = users.concat(res.users);\n}\n"), - } - - // define dirs - dir1 := &embedded.EmbeddedDir{ - Filename: "", - DirModTime: time.Unix(1615906313, 0), - ChildFiles: []*embedded.EmbeddedFile{ - file2, // "0_init.sql" - file3, // "Dockerfile" - file4, // "cloudbuild.yaml" - file5, // "dev.yml" - file6, // "docker-compose.yml" - file7, // "prod.yml" - file8, // "seed.js" - - }, - } - - // link ChildDirs - dir1.ChildDirs = []*embedded.EmbeddedDir{} - - // register embeddedBox - embedded.RegisterEmbeddedBox(`./tmpl`, &embedded.EmbeddedBox{ - Name: `./tmpl`, - Time: time.Unix(1615906313, 0), - Dirs: map[string]*embedded.EmbeddedDir{ - "": dir1, - }, - Files: map[string]*embedded.EmbeddedFile{ - "0_init.sql": file2, - "Dockerfile": file3, - "cloudbuild.yaml": file4, - "dev.yml": file5, - "docker-compose.yml": file6, - "prod.yml": file7, - "seed.js": file8, - }, - }) -} - -func init() { - - // define files - filea := &embedded.EmbeddedFile{ - Filename: "asset-manifest.json", - FileModTime: time.Unix(1614320768, 0), - - Content: string("{\n \"files\": {\n \"main.css\": \"/static/css/main.f701af7a.chunk.css\",\n \"main.js\": \"/static/js/main.76598995.chunk.js\",\n \"main.js.map\": \"/static/js/main.76598995.chunk.js.map\",\n \"runtime-main.js\": \"/static/js/runtime-main.bfca2edd.js\",\n \"runtime-main.js.map\": \"/static/js/runtime-main.bfca2edd.js.map\",\n \"static/css/2.bf3fdedd.chunk.css\": \"/static/css/2.bf3fdedd.chunk.css\",\n \"static/js/2.151e204e.chunk.js\": \"/static/js/2.151e204e.chunk.js\",\n \"static/js/2.151e204e.chunk.js.map\": \"/static/js/2.151e204e.chunk.js.map\",\n \"index.html\": \"/index.html\",\n \"precache-manifest.fc7bc049b8e82b12149f27ba73847675.js\": \"/precache-manifest.fc7bc049b8e82b12149f27ba73847675.js\",\n \"service-worker.js\": \"/service-worker.js\",\n \"static/css/2.bf3fdedd.chunk.css.map\": \"/static/css/2.bf3fdedd.chunk.css.map\",\n \"static/css/main.f701af7a.chunk.css.map\": \"/static/css/main.f701af7a.chunk.css.map\",\n \"static/js/2.151e204e.chunk.js.LICENSE.txt\": \"/static/js/2.151e204e.chunk.js.LICENSE.txt\"\n },\n \"entrypoints\": [\n \"static/js/runtime-main.bfca2edd.js\",\n \"static/css/2.bf3fdedd.chunk.css\",\n \"static/js/2.151e204e.chunk.js\",\n \"static/css/main.f701af7a.chunk.css\",\n \"static/js/main.76598995.chunk.js\"\n ]\n}"), - } - fileb := &embedded.EmbeddedFile{ - Filename: "favicon.ico", - FileModTime: time.Unix(1614320759, 0), - - Content: string("\x00\x00\x01\x00\x03\x0000\x00\x00\x01\x00 \x00\xa8%\x00\x006\x00\x00\x00 \x00\x00\x01\x00 \x00\xa8\x10\x00\x00\xde%\x00\x00\x10\x10\x00\x00\x01\x00 \x00h\x04\x00\x00\x866\x00\x00(\x00\x00\x000\x00\x00\x00`\x00\x00\x00\x01\x00 \x00\x00\x00\x00\x00\x00$\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x02\xaeRW\f\xaeRW\x18\xaeRW&\xaeRW3\xaeRW>\xaeRWG\xaeRWM\xaeRWP\xaeRWP\xaeRWM\xaeRWG\xaeRW>\xaeRW3\xaeRW&\xaeRW\x18\xaeRW\f\xaeRW\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\f\xaeRW*\xaeRWT\xaeRW\u007f\xaeRW\xa4\xaeRW\xc1\xaeRWծRW\xe2\xaeRW\xeb\xaeRW\xf1\xaeRW\xf4\xaeRW\xf6\xaeRW\xf7\xaeRW\xf7\xaeRW\xf6\xaeRW\xf4\xaeRW\xf1\xaeRW\xeb\xaeRW\xe2\xaeRWծRW\xc1\xaeRW\xa4\xaeRW\u007f\xaeRWT\xaeRW*\xaeRW\f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\f\xaeRW=\xaeRW\x81\xaeRW\xbe\xaeRW\xe4\xaeRW\xf7\xaeRW\xfd\xaeRW\xfe\xaeRW\xfd\xaeRW\xfc\xaeRW\xfc\xaeRW\xfb\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfb\xaeRW\xfb\xaeRW\xfc\xaeRW\xfc\xaeRW\xfd\xaeRW\xfe\xaeRW\xfd\xaeRW\xf7\xaeRW\xe4\xaeRW\xbe\xaeRW\x81\xaeRW<\xaeRW\f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x0e\xaeRW[\xaeRW\xb8\xaeRW\xed\xaeRW\xfd\xaeRW\xfd\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfb\xaeRW\xfe\xaeRW\xfd\xaeRW\xed\xaeRW\xb8\xaeRW[\xaeRW\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW,\xaeRW\xaf\xaeRW\xf6\xaeRW\xfe\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa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eRW\xfa\xaeRW\xfe\xaeRW\u007f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\u007f\xaeRW\xfe\xaeRW\xfd\xaeRW\xf9\xaeRW\u05eeRW\x99\xaeRWX\xaeRW'\xaeRW\f\xaeRW\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRV\x01\xaeRW\f\xaeRW'\xaeRWX\xaeRW\x99\xaeRW\u05eeRW\xf9\xaeRW\xfd\xaeRW\xfe\xaeRW\u007f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x81\xaeRW\xfb\xaeRW®RWe\xaeRW\x1e\xaeRW\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x06\xaeRW\x12\xaeRW!\xaeRW1\xaeRW?\xaeRWL\xaeRWU\xaeRW[\xaeRW_\xaeRW_\xaeRW[\xaeRWU\xaeRWL\xaeRW?\xaeRW1\xaeRW!\xaeRW\x12\xaeRW\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x02\xaeRW\x1e\xaeRWf\xaeRW®RW\xfb\xaeRW\x81\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRWa\xaeRWl\xaeRW\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRV\x01\xaeRW\x12\xaeRW5\xaeRWb\xaeRW\x8d\xaeRW\xb1\xaeRW̮RWޮRW\xea\xaeRW\xf1\xaeRW\xf6\xaeRW\xf8\xaeRW\xf9\xaeRW\xfa\xaeRW\xfa\xaeRW\xf9\xaeRW\xf8\xaeRW\xf6\xaeRW\xf1\xaeRW\xea\xaeRWޮRW̮RW\xb1\xaeRW\x8d\xaeRWb\xaeRW5\xaeRW\x12\xaeRW\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x12\xaeRWl\xaeRWa\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\a\xaeRW\x02\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x11\xaeRWI\xaeRW\x8f\xaeRWɮRW\xeb\xaeRW\xfa\xaeRW\xfe\xaeRW\xfe\xaeRW\xfd\xaeRW\xfc\xaeRW\xfb\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfb\xaeRW\xfb\xaeRW\xfc\xaeRW\xfd\xaeRW\xfe\xaeRW\xfe\xaeRW\xfa\xaeRW\xeb\xaeRWɮRW\x8f\xaeRWI\xaeRW\x11\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x02\xaeRW\a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x13\xaeRW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1\xaeRW\xb9\xaeRWîRWϮRWܮRW\xe9\xaeRW\xf3\xaeRW\xfb\xaeRW\xfe\xaeRW\xfe\xaeRW\xfc\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfe\xaeRW\u007f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\u007f\xaeRW\xfe\xaeRW\xfa\xaeRW\xfa\xaeRW\xfd\xaeRW\xfe\xaeRW\xf4\xaeRWۮRW\xb5\xaeRW\x8b\xaeRWe\xaeRWE\xaeRW/\xaeRW\x1f\xaeRW\x14\xaeRW\r\xaeRW\b\xaeRW\x05\xaeRW\x04\xaeRW\x03\xaeRW\x03\xaeRW\x04\xaeRW\x05\xaeRW\b\xaeRW\r\xaeRW\x14\xaeRW\x1f\xaeRW/\xaeRWE\xaeRWe\xaeRW\x8b\xaeRW\xb5\xaeRWۮRW\xf4\xaeRW\xfe\xaeRW\xfd\xaeRW\xfa\xaeRW\xfa\xaeRW\xfe\xaeRW\u007f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\u007f\xaeRW\xfe\xaeRW\xfd\xaeRW\xf6\xaeRWϮRW\x8e\xaeRWL\xaeRW \xaeRW\a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\b\xaeRW \xaeRWM\xaeRW\x8e\xaeRWЮRW\xf6\xaeRW\xfd\xaeRW\xfe\xaeRW\u007f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x82\xaeRW\xf8\xaeRW\xb8\xaeRW[\xaeRW\x18\xaeQW\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeQV\x01\xaeRW\b\xaeRW\x16\xaeRW'\xaeRW8\xaeRWH\xaeRWV\xaeRWa\xaeRWh\xaeRWk\xaeRWl\xaeRWi\xaeRWc\xaeRWY\xaeRWL\xaeRW<\xaeRW+\xaeRW\x19\xaeRW\v\xaeRW\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeQV\x01\xaeRW\x18\xaeRW[\xaeRW\xb8\xaeRW\xf8\xaeRW\x82\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\\\xaeRWa\xaeRW\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x02\xaeRW\x16\xaeRW<\xaeRWi\xaeRW\x94\xaeRW\xb8\xaeRWҮRW\xe3\xaeRW\xee\xaeRW\xf4\xaeRW\xf8\xaeRW\xfa\xaeRW\xfb\xaeRW\xfc\xaeRW\xfc\xaeRW\xfc\xaeRW\xfb\xaeRW\xf9\xaeRW\xf6\xaeRW\xf0\xaeRW\xe6\xaeRW֮RW\xbe\xaeRW\x9b\xaeRWp\xaeRWA\xaeRW\x19\xaeRW\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x0e\xaeRWa\xaeRW\\\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x05\xaeRW\x01\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x17\xaeRWS\xaeRW\x9a\xaeRWЮRW\xef\xaeRW\xfb\xaeRW\xfe\xaeRW\xfe\xaeRW\xfd\xaeRW\xfb\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfb\xaeRW\xfb\xaeRW\xfc\xaeRW\xfe\xaeRW\xfe\xaeRW\xfc\xaeRW\xf1\xaeRWԮRW\x9d\xaeRWV\xaeRW\x18\xaeQV\x01\x00\x00\x00\x00\xaeRW\x01\xaeRW\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x18\xaeRWr\xaeRW̮RW\xf6\xaeRW\xfe\xaeRW\xfd\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfb\xaeRW\xfc\xaeRW\xfe\xaeRW\xf6\xaeRWήRWv\xaeRW\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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eRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfc\xaeRW\xfe\xaeRW\xfd\xaeRW\xec\xaeRW\xb5\xaeRWW\xaeRW\r\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\f\xaeRW=\xaeRW\x82\xaeRW\xbe\xaeRW\xe5\xaeRW\xf7\xaeRW\xfd\xaeRW\xfe\xaeRW\xfd\xaeRW\xfc\xaeRW\xfb\xaeRW\xfb\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfb\xaeRW\xfb\xaeRW\xfc\xaeRW\xfd\xaeRW\xfe\xaeRW\xfe\xaeRW\xfd\xaeRW\xf5\xaeRW\xe1\xaeRW\xba\xaeRW~\xaeRW;\xaeRW\v\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\f\xaeRW+\xaeRWT\xaeRW\u007f\xaeRW\xa4\xaeRW\xc1\xaeRW֮RW\xe3\xaeRW\xec\xaeRW\xf1\xaeRW\xf5\xaeRW\xf6\xaeRW\xf7\xaeRW\xf7\xaeRW\xf6\xaeRW\xf4\xaeRW\xf1\xaeRW\xeb\xaeRW\xe1\xaeRWӮRW\xbd\xaeRW\x9f\xaeRWx\xaeRWM\xaeRW&\xaeRW\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x02\xaeRW\f\xaeRW\x19\xaeRW&\xaeRW3\xaeRW>\xaeRWH\xaeRWN\xaeRWP\xaeRWP\xaeRWM\xaeRWF\xaeRW>\xaeRW2\xaeRW$\xaeRW\x17\xaeRW\n\xaeRW\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\x00\x00\xff\xff\xff\xff\xff\xff\x00\x00\xff\xfe\x00\x00\u007f\xff\x00\x00\xff\xc0\x00\x00\x03\xff\x00\x00\xff\x00\x00\x00\x00\xff\x00\x00\xfc\x00\x00\x00\x00?\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf0\x00\x00\x00\x00\x0f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x03\xff\xff\xc0\x1f\x00\x00\xf8?\xff\xff\xfc\x1f\x00\x00\xf1\xff\xff\xff\xff\x8f\x00\x00\xff\xfc\x00\x00?\xff\x00\x00\xff\xc0\x00\x00\x03\xff\x00\x00\xff\x00\x00\x00\x00\xff\x00\x00\xfc\x00\x00\x00\x00?\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf0\x00\x00\x00\x00\x0f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x03\xff\xff\xc0\x1f\x00\x00\xf8?\xff\xff\xfc\x1f\x00\x00\xf1\xff\xff\xff\xff\x8f\x00\x00\xff\xfc\x00\x00?\xff\x00\x00\xff\xc0\x00\x00\x03\xff\x00\x00\xff\x00\x00\x00\x00\xff\x00\x00\xfc\x00\x00\x00\x00?\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf0\x00\x00\x00\x00\x0f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf0\x00\x00\x00\x00\x0f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xf8\x00\x00\x00\x00\x1f\x00\x00\xfc\x00\x00\x00\x00?\x00\x00\xff\x00\x00\x00\x00\xff\x00\x00\xff\xc0\x00\x00\a\xff\x00\x00\xff\xfe\x00\x00\u007f\xff\x00\x00\xff\xff\xff\xff\xff\xff\x00\x00\xff\xff\xff\xff\xff\xff\x00\x00(\x00\x00\x00 \x00\x00\x00@\x00\x00\x00\x01\x00 \x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x04\xaeRW\n\xaeRW\x0e\xaeRW\x10\xaeRW\x10\xaeRW\x0e\xaeRW\n\xaeRW\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\r\xaeRW,\xaeRWS\xaeR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W\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfc\xaeRWݮRW\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x1f\xaeRWݮRW\xfc\xaeRW\xfc\xaeRW\xfe\xaeRW\xfb\xaeRW\xef\xaeRWڮRWîRW\xad\xaeRW\x9a\xaeRW\x8c\xaeRW\x83\xaeRW\x80\xaeRW\x80\xaeRW\x83\xaeRW\x8c\xaeRW\x9a\xaeRW\xad\xaeRWîRWڮRW\xef\xaeRW\xfb\xaeRW\xfe\xaeRW\xfc\xaeRW\xfc\xaeRWݮRW\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x1f\xaeRW߮RW\xfd\xaeRW\xe0\xaeRW\xa8\xaeRWk\xaeRW;\xaeRW\x1c\xaeRW\t\xaeQV\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeQW\x01\xaeRW\t\xaeRW\x1c\xaeRW;\xaeRWk\xaeRW\xa8\xaeRW\xe0\xaeRW\xfd\xaeRW߮RW\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x1f\xaeRW\xbc\xaeRW}\xaeRW'\xaeRW\x03\x00\x00\x00\x00\xaeRW\a\xaeRW\x1f\xaeRW<\xaeRWW\xaeRWm\xaeRW}\xaeRW\x88\xaeRW\x8d\xaeRW\x8d\xaeRW\x88\xaeRW}\xaeRWm\xaeRWW\xaeRW<\xaeRW\x1f\xaeRW\a\x00\x00\x00\x00\xaeRW\x03\xaeRW'\xaeRW}\xaeRW\xbc\xaeRW\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\n\xaeRW\x1d\xaeQW\x01\xaeRW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xfe\xaeRW\xfc\xaeRW\xfa\xaeRW\xfc\xaeRWݮRW\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x1f\xaeRWݮRW\xff\xaeRW\xf8\xaeRWڮRW\xaa\xaeRWx\xaeRWO\xaeRW2\xaeRW\x1f\xaeRW\x12\xaeRW\v\xaeRW\a\xaeRW\x05\xaeRW\x05\xaeRW\a\xaeRW\v\xaeRW\x12\xaeRW\x1f\xaeRW2\xaeRWO\xaeRWx\xaeRW\xaa\xaeRWڮRW\xf8\xaeRW\xff\xaeRWݮRW\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW \xaeRW֮RW\xb9\xaeRW^\xaeRW\x1e\xaeRW\x03\x00\x00\x00\x00\xaeRW\x01\xaeRW\r\xaeRW\x1f\xaeRW0\xaeRW>\xaeRWH\xaeRWL\xaeRWM\xaeRWI\xaeRW@\xaeRW2\xaeRW!\xaeRW\x0f\xaeRW\x02\x00\x00\x00\x00\xaeRW\x03\xaeRW\x1e\xaeRW^\xaeRW\xb9\xaeRW֮RW \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x12\xaeRWH\xaeRW\r\x00\x00\x00\x00\xaeRW\x15\xaeRWF\xaeRW{\xaeRW\xa9\xaeRWɮRWޮRW\xea\xaeRW\xf1\xaeRW\xf5\xaeRW\xf6\xaeRW\xf6\xaeRW\xf5\xaeRW\xf2\xaeRW\xec\xaeRW\xe0\xaeRWͮRW\xad\xaeRW\x80\xaeRWI\xaeRW\x16\x00\x00\x00\x00\xaeRW\r\xaeRWH\xaeRW\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW&\xaeRW\x83\xaeRWϮRW\xf2\xaeRW\xfd\xaeRW\xfe\xaeRW\xfd\xaeRW\xfc\xa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fe\xaeRW\xa0\xaeRW\b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x1b\xaeRW\x92\xaeRW\xe7\xaeRW\xfd\xaeRW\xfd\xaeRW\xfb\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfa\xaeRW\xfb\xaeRW\xfe\xaeRW\xfd\xaeRW\xe6\xaeRW\x8e\xaeRW\x19\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x05\xaeRW3\xaeRW\x80\xaeRW\xc0\xaeRW\xe6\xaeRW\xf7\xaeRW\xfd\xaeRW\xfe\xaeRW\xfe\xaeRW\xfe\xaeRW\xfd\xaeRW\xfd\xaeRW\xfd\xaeRW\xfd\xaeRW\xfe\xaeRW\xfe\xaeRW\xfe\xaeRW\xfd\xaeRW\xf6\xaeRW\xe4\xaeRW\xbe\xaeRW~\xaeRW1\xaeRW\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\r\xaeRW,\xaeRWS\xaeRWx\xaeRW\x95\xaeRW\xab\xaeRW\xb9\xaeRW®RWŮRWŮRW\xc1\xaeRW\xb8\xaeRW\xa9\xaeRW\x93\xaeRWt\xaeRWN\xaeRW)\xaeRW\f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x04\xaeRW\n\xaeRW\x0e\xaeRW\x10\xaeRW\x10\xaeRW\x0e\xaeRW\t\xaeRW\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xe0\a\xff\xfe\x00\x00\u007f\xf0\x00\x00\x0f\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xe1\xff\xff\x87\xef\xfc?\xf7\xfe\x00\x00\u007f\xf8\x00\x00\x1f\xf0\x00\x00\x0f\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xe0\xff\xff\a\xe7\xff\xff\xe7\xff\x80\x00\xff\xf8\x00\x00\x1f\xf0\x00\x00\x0f\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xe0\x00\x00\a\xf0\x00\x00\x0f\xfc\x00\x00\u007f\xff\xe0\a\xff\xff\xff\xff\xff(\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00\x01\x00 \x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x10\xaeRW3\xaeRWW\xaeRWo\xaeRW{\xaeRW{\xaeRWo\xaeRWW\xaeRW3\xaeRW\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x0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0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaeRW\x10\xaeRW4\xaeRWW\xaeRWp\xaeRW{\xaeRW{\xaeRWo\xaeRWU\xaeRW2\xaeRW\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xe0\a\x00\x00\xc0\x03\x00\x00\xc0\x03\x00\x00\xc7\xe3\x00\x00\xf8\x1f\x00\x00\xc0\x03\x00\x00\xc0\x03\x00\x00\xc0\x03\x00\x00\xdf\xfb\x00\x00\xe0\a\x00\x00\xc0\x03\x00\x00\xc0\x03\x00\x00\xc0\x03\x00\x00\xe0\a\x00\x00\xff\xff\x00\x00"), - } - filec := &embedded.EmbeddedFile{ - Filename: "index.html", - FileModTime: time.Unix(1614320768, 0), - - Content: string("GraphJin - GraphQL API for Rails
"), - } - filed := &embedded.EmbeddedFile{ - Filename: "manifest.json", - FileModTime: time.Unix(1614320759, 0), - - Content: string("{\n \"short_name\": \"GraphJin\",\n \"name\": \"GraphJin - GraphQL API for Rails\",\n \"icons\": [\n {\n \"src\": \"favicon.ico\",\n \"sizes\": \"64x64 32x32 24x24 16x16\",\n \"type\": \"image/x-icon\"\n }\n ],\n \"start_url\": \".\",\n \"display\": \"standalone\",\n \"theme_color\": \"#000000\",\n \"background_color\": \"#ffffff\"\n}\n"), - } - filee := &embedded.EmbeddedFile{ - Filename: "precache-manifest.fc7bc049b8e82b12149f27ba73847675.js", - FileModTime: time.Unix(1614320768, 0), - - Content: string("self.__precacheManifest = (self.__precacheManifest || []).concat([\n {\n \"revision\": \"b242029ced1630bf10c664136e3ddcc1\",\n \"url\": \"/index.html\"\n },\n {\n \"revision\": \"0199327a6e402d223c68\",\n \"url\": \"/static/css/2.bf3fdedd.chunk.css\"\n },\n {\n \"revision\": \"1f91ab61a15ae6d4931b\",\n \"url\": \"/static/css/main.f701af7a.chunk.css\"\n },\n {\n \"revision\": \"0199327a6e402d223c68\",\n \"url\": \"/static/js/2.151e204e.chunk.js\"\n },\n {\n \"revision\": \"e1935a3987883b20f1289fab525de412\",\n \"url\": \"/static/js/2.151e204e.chunk.js.LICENSE.txt\"\n },\n {\n \"revision\": \"1f91ab61a15ae6d4931b\",\n \"url\": \"/static/js/main.76598995.chunk.js\"\n },\n {\n \"revision\": \"6981919806c089cef906\",\n \"url\": \"/static/js/runtime-main.bfca2edd.js\"\n }\n]);"), - } - filef := &embedded.EmbeddedFile{ - Filename: "service-worker.js", - FileModTime: time.Unix(1614320768, 0), - - Content: string("/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app and you should\n * disable HTTP caching for this file too.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\nimportScripts(\"https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js\");\n\nimportScripts(\n \"/precache-manifest.fc7bc049b8e82b12149f27ba73847675.js\"\n);\n\nself.addEventListener('message', (event) => {\n if (event.data && event.data.type === 'SKIP_WAITING') {\n self.skipWaiting();\n }\n});\n\nworkbox.core.clientsClaim();\n\n/**\n * The workboxSW.precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nself.__precacheManifest = [].concat(self.__precacheManifest || []);\nworkbox.precaching.precacheAndRoute(self.__precacheManifest, {});\n\nworkbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL(\"/index.html\"), {\n \n blacklist: [/^\\/_/,/\\/[^/?]+\\.[^/]+$/],\n});\n"), - } - filei := &embedded.EmbeddedFile{ - Filename: "static/css/2.bf3fdedd.chunk.css", - FileModTime: time.Unix(1614320768, 0), - - Content: string(".graphiql-container,.graphiql-container button,.graphiql-container input{color:#141823;font-family:system,-apple-system,San Francisco,\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:14px}.graphiql-container{display:flex;flex-direction:row;height:100%;margin:0;overflow:hidden;width:100%}.graphiql-container .editorWrap{display:flex;flex-direction:column;flex:1 1;overflow-x:hidden}.graphiql-container .title{font-size:18px}.graphiql-container .title em{font-family:georgia;font-size:19px}.graphiql-container .topBarWrap{display:flex;flex-direction:row}.graphiql-container .topBar{align-items:center;background:linear-gradient(#f7f7f7,#e2e2e2);border-bottom:1px solid #d0d0d0;cursor:default;display:flex;flex-direction:row;flex:1 1;height:34px;overflow-y:visible;padding:7px 14px 6px;-webkit-user-select:none;user-select:none}.graphiql-container .toolbar{overflow-x:visible;display:flex}.graphiql-container .docExplorerShow,.graphiql-container .historyShow{background:linear-gradient(#f7f7f7,#e2e2e2);border-radius:0;border-bottom:1px solid #d0d0d0;border-right:none;border-top:none;color:#3b5998;cursor:pointer;font-size:14px;margin:0;padding:2px 20px 0 18px}.graphiql-container .docExplorerShow{border-left:1px solid rgba(0,0,0,.2)}.graphiql-container .historyShow{border-right:1px solid rgba(0,0,0,.2);border-left:0}.graphiql-container .docExplorerShow:before{border-left:2px solid #3b5998;border-top:2px solid #3b5998;content:\"\";display:inline-block;height:9px;margin:0 3px -1px 0;position:relative;transform:rotate(-45deg);width:9px}.graphiql-container .editorBar{display:flex;flex-direction:row;flex:1 1}.graphiql-container .queryWrap,.graphiql-container .resultWrap{display:flex;flex-direction:column;flex:1 1}.graphiql-container .resultWrap{border-left:1px solid #e0e0e0;flex-basis:1em;position:relative}.graphiql-container .docExplorerWrap,.graphiql-container .historyPaneWrap{background:#fff;box-shadow:0 0 8px rgba(0,0,0,.15);position:relative;z-index:3}.graphiql-container .historyPaneWrap{min-width:230px;z-index:5}.graphiql-container .docExplorerResizer{cursor:col-resize;height:100%;left:-5px;position:absolute;top:0;width:10px;z-index:10}.graphiql-container .docExplorerHide{cursor:pointer;font-size:18px;margin:-7px -8px -6px 0;padding:18px 16px 15px 12px;background:0;border:0;line-height:14px}.graphiql-container div .query-editor{flex:1 1;position:relative}.graphiql-container .secondary-editor{display:flex;flex-direction:column;height:30px;position:relative}.graphiql-container .secondary-editor-title{background:#eee;border-bottom:1px solid #d6d6d6;border-top:1px solid #e0e0e0;color:#777;font-feature-settings:\"smcp\";font-variant:small-caps;font-weight:700;letter-spacing:1px;line-height:14px;padding:6px 0 8px 43px;text-transform:lowercase;-webkit-user-select:none;user-select:none}.graphiql-container .codemirrorWrap,.graphiql-container .result-window{flex:1 1;height:100%;position:relative}.graphiql-container .footer{background:#f6f7f8;border-left:1px solid #e0e0e0;border-top:1px solid #e0e0e0;margin-left:12px;position:relative}.graphiql-container .footer:before{background:#eee;bottom:0;content:\" \";left:-13px;position:absolute;top:-1px;width:12px}.result-window .CodeMirror{background:#f6f7f8}.graphiql-container .result-window .CodeMirror-gutters{background-color:#eee;border-color:#e0e0e0;cursor:col-resize}.graphiql-container .result-window .CodeMirror-foldgutter,.graphiql-container .result-window .CodeMirror-foldgutter-folded:after,.graphiql-container .result-window .CodeMirror-foldgutter-open:after{padding-left:3px}.graphiql-container .toolbar-button{background:#fdfdfd;background:linear-gradient(#f9f9f9,#ececec);border:0;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 1px 0 hsla(0,0%,100%,.7),inset 0 1px #fff;color:#555;cursor:pointer;display:inline-block;margin:0 5px;padding:3px 11px 5px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.graphiql-container .toolbar-button:active{background:linear-gradient(#ececec,#d5d5d5);box-shadow:0 1px 0 hsla(0,0%,100%,.7),inset 0 0 0 1px rgba(0,0,0,.1),inset 0 1px 1px 1px rgba(0,0,0,.12),inset 0 0 5px rgba(0,0,0,.1)}.graphiql-container .toolbar-button.error{background:linear-gradient(#fdf3f3,#e6d6d7);color:#b00}.graphiql-container .toolbar-button-group{margin:0 5px;white-space:nowrap}.graphiql-container .toolbar-button-group>*{margin:0}.graphiql-container .toolbar-button-group>:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.graphiql-container .toolbar-button-group>:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.graphiql-container .execute-button-wrap{height:34px;margin:0 14px 0 28px;position:relative}.graphiql-container .execute-button{background:linear-gradient(#fdfdfd,#d2d3d6);border-radius:17px;border:1px solid rgba(0,0,0,.25);box-shadow:0 1px 0 #fff;cursor:pointer;fill:#444;height:34px;margin:0;padding:0;width:34px}.graphiql-container .execute-button svg{pointer-events:none}.graphiql-container .execute-button:active{background:linear-gradient(#e6e6e6,#c3c3c3);box-shadow:0 1px 0 #fff,inset 0 0 2px rgba(0,0,0,.2),inset 0 0 6px rgba(0,0,0,.1)}.graphiql-container .toolbar-menu,.graphiql-container .toolbar-select{position:relative}.graphiql-container .execute-options,.graphiql-container .toolbar-menu-items,.graphiql-container .toolbar-select-options{background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 4px rgba(0,0,0,.25);margin:0;padding:6px 0;position:absolute;z-index:100}.graphiql-container .execute-options{min-width:100px;top:37px;left:-1px}.graphiql-container .toolbar-menu-items{left:1px;margin-top:-1px;min-width:110%;top:100%;visibility:hidden}.graphiql-container .toolbar-menu-items.open{visibility:visible}.graphiql-container .toolbar-select-options{left:0;min-width:100%;top:-5px;visibility:hidden}.graphiql-container .toolbar-select-options.open{visibility:visible}.graphiql-container .execute-options>li,.graphiql-container .toolbar-menu-items>li,.graphiql-container .toolbar-select-options>li{cursor:pointer;display:block;margin:none;max-width:300px;overflow:hidden;padding:2px 20px 4px 11px;white-space:nowrap}.graphiql-container .execute-options>li.selected,.graphiql-container .history-contents>li:active,.graphiql-container .history-contents>li:hover,.graphiql-container .toolbar-menu-items>li.hover,.graphiql-container .toolbar-menu-items>li:active,.graphiql-container .toolbar-menu-items>li:hover,.graphiql-container .toolbar-select-options>li.hover,.graphiql-container .toolbar-select-options>li:active,.graphiql-container .toolbar-select-options>li:hover{background:#e10098;color:#fff}.graphiql-container .toolbar-select-options>li>svg{display:inline;fill:#666;margin:0 -6px 0 6px;pointer-events:none;vertical-align:middle}.graphiql-container .toolbar-select-options>li.hover>svg,.graphiql-container .toolbar-select-options>li:active>svg,.graphiql-container .toolbar-select-options>li:hover>svg{fill:#fff}.graphiql-container .CodeMirror-scroll{overflow-scrolling:touch}.graphiql-container .CodeMirror{color:#141823;font-family:Consolas,Inconsolata,Droid Sans Mono,Monaco,monospace;font-size:13px;height:100%;left:0;position:absolute;top:0;width:100%}.graphiql-container .CodeMirror-lines{padding:20px 0}.CodeMirror-hint-information .content{box-orient:vertical;color:#141823;display:flex;font-family:system,-apple-system,San Francisco,\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:13px;line-clamp:3;line-height:16px;max-height:48px;overflow:hidden;text-overflow:-o-ellipsis-lastline}.CodeMirror-hint-information .content p:first-child{margin-top:0}.CodeMirror-hint-information .content p:last-child{margin-bottom:0}.CodeMirror-hint-information .infoType{color:#ca9800;cursor:pointer;display:inline;margin-right:.5em}.autoInsertedLeaf.cm-property{animation-duration:6s;animation-name:insertionFade;border-bottom:2px solid hsla(0,0%,100%,0);border-radius:2px;margin:-2px -4px -1px;padding:2px 4px 1px}@keyframes insertionFade{0%,to{background:hsla(0,0%,100%,0);border-color:hsla(0,0%,100%,0)}15%,85%{background:#fbffc9;border-color:#f0f3c0}}div.CodeMirror-lint-tooltip{background-color:#fff;border-radius:2px;border:0;color:#141823;box-shadow:0 1px 3px rgba(0,0,0,.45);font-size:13px;line-height:16px;max-width:430px;opacity:0;padding:8px 10px;transition:opacity .15s;white-space:pre-wrap}div.CodeMirror-lint-tooltip>*{padding-left:23px}div.CodeMirror-lint-tooltip>*+*{margin-top:12px}.graphiql-container .CodeMirror-foldmarker{border-radius:4px;background:#08f;background:linear-gradient(#43a8ff,#0f83e8);box-shadow:0 1px 1px rgba(0,0,0,.2),inset 0 0 0 1px rgba(0,0,0,.1);color:#fff;font-family:arial;font-size:12px;line-height:0;margin:0 3px;padding:0 4px 1px;text-shadow:0 -1px rgba(0,0,0,.1)}.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket{color:#555;text-decoration:underline}.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket{color:red}.cm-comment{color:#999}.cm-punctuation{color:#555}.cm-keyword{color:#b11a04}.cm-def{color:#d2054e}.cm-property{color:#1f61a0}.cm-qualifier{color:#1c92a9}.cm-attribute{color:#8b2bb9}.cm-number{color:#2882f9}.cm-string{color:#d64292}.cm-builtin{color:#d47509}.cm-string-2{color:#0b7fc7}.cm-variable{color:#397d13}.cm-meta{color:#b33086}.cm-atom{color:#ca9800}.CodeMirror{color:#000;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror .CodeMirror-cursor{border-left:1px solid #000}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.CodeMirror.cm-fat-cursor div.CodeMirror-cursor{background:#7e7;border:0;width:auto}.CodeMirror.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{animation:blink 1.06s steps(1) infinite;border:0;width:auto}@keyframes blink{0%{background:#7e7}50%{background:none}to{background:#7e7}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-30px;margin-right:-30px;outline:none;overflow:scroll!important;padding-bottom:30px;position:relative}.CodeMirror-sizer{border-right:30px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{min-height:100%;position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-30px;vertical-align:top;white-space:normal;*zoom:1;*display:inline}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper{-webkit-user-select:none;user-select:none}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-webkit-tap-highlight-color:transparent;background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-feature-settings:none;font-variant-ligatures:none;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;word-wrap:normal;z-index:2}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{overflow:auto;position:relative;z-index:2}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:initial}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.CodeMirror span{*vertical-align:text-bottom}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:\"\"}span.CodeMirror-selectedtext{background:none}.CodeMirror-dialog{background:inherit;color:inherit;left:0;right:0;overflow:hidden;padding:.1em .8em;position:absolute;z-index:15}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{background:transparent;border:1px solid #d3d6db;color:inherit;font-family:monospace;outline:none;width:20em}.CodeMirror-dialog button{font-size:70%}.CodeMirror-foldmarker{color:#00f;cursor:pointer;font-family:arial;line-height:.3;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:\"\\25BE\"}.CodeMirror-foldgutter-folded:after{content:\"\\25B8\"}.CodeMirror-info{background:#fff;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.45);box-sizing:border-box;color:#555;font-family:system,-apple-system,San Francisco,\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:13px;line-height:16px;margin:8px -8px;max-width:400px;opacity:0;overflow:hidden;padding:8px;position:fixed;transition:opacity .15s;z-index:50}.CodeMirror-info :first-child{margin-top:0}.CodeMirror-info :last-child{margin-bottom:0}.CodeMirror-info p{margin:1em 0}.CodeMirror-info .info-description{color:#777;line-height:16px;margin-top:1em;max-height:80px;overflow:hidden}.CodeMirror-info .info-deprecation{background:#fffae8;box-shadow:inset 0 1px 1px -1px #bfb063;color:#867f70;line-height:16px;margin:8px -8px -8px;max-height:80px;overflow:hidden;padding:8px}.CodeMirror-info .info-deprecation-label{color:#c79b2e;cursor:default;display:block;font-size:9px;font-weight:700;letter-spacing:1px;line-height:1;padding-bottom:5px;text-transform:uppercase;-webkit-user-select:none;user-select:none}.CodeMirror-info .info-deprecation-label+*{margin-top:0}.CodeMirror-info a{text-decoration:none}.CodeMirror-info a:hover{text-decoration:underline}.CodeMirror-info .type-name{color:#ca9800}.CodeMirror-info .field-name{color:#1f61a0}.CodeMirror-info .enum-value{color:#0b7fc7}.CodeMirror-info .arg-name{color:#8b2bb9}.CodeMirror-info .directive-name{color:#b33086}.CodeMirror-jump-token{text-decoration:underline;cursor:pointer}.CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:infobackground;border-radius:4px 4px 4px 4px;border:1px solid #000;color:infotext;font-family:monospace;font-size:10pt;max-width:600px;opacity:0;overflow:hidden;padding:2px 5px;position:fixed;transition:opacity .4s;white-space:pre-wrap;z-index:100}.CodeMirror-lint-mark-error,.CodeMirror-lint-mark-warning{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\")}.CodeMirror-lint-mark-warning{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\")}.CodeMirror-lint-marker-error,.CodeMirror-lint-marker-warning{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;position:relative;vertical-align:middle;width:16px}.CodeMirror-lint-message-error,.CodeMirror-lint-message-warning{background-position:0 0;background-repeat:no-repeat;padding-left:18px}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\")}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\")}.CodeMirror-lint-marker-multiple{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\");background-position:100% 100%;background-repeat:no-repeat;width:100%;height:100%}.graphiql-container .spinner-container{height:36px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:36px;z-index:10}.graphiql-container .spinner{animation:rotation .6s linear infinite;border-radius:100%;border:6px solid hsla(0,0%,58.8%,.15);border-top-color:hsla(0,0%,58.8%,.8);display:inline-block;height:24px;position:absolute;vertical-align:middle;width:24px}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.CodeMirror-hints{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.45);font-family:Consolas,Inconsolata,Droid Sans Mono,Monaco,monospace;font-size:13px;list-style:none;margin:0;max-height:14.5em;overflow:hidden;overflow-y:auto;padding:0;position:absolute;z-index:10}.CodeMirror-hint{border-top:1px solid #f7f7f7;color:#141823;cursor:pointer;margin:0;max-width:300px;overflow:hidden;padding:2px 6px;white-space:pre}li.CodeMirror-hint-active{background-color:#08f;border-top-color:#fff;color:#fff}.CodeMirror-hint-information{border-top:1px solid silver;max-width:300px;padding:4px 6px;position:relative;z-index:1}.CodeMirror-hint-information:first-child{border-bottom:1px solid silver;border-top:none;margin-bottom:-1px}.CodeMirror-hint-deprecation{background:#fffae8;box-shadow:inset 0 1px 1px -1px #bfb063;color:#867f70;font-family:system,-apple-system,San Francisco,\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:13px;line-height:16px;margin-top:4px;max-height:80px;overflow:hidden;padding:6px}.CodeMirror-hint-deprecation .deprecation-label{color:#c79b2e;cursor:default;display:block;font-size:9px;font-weight:700;letter-spacing:1px;line-height:1;padding-bottom:5px;text-transform:uppercase;-webkit-user-select:none;user-select:none}.CodeMirror-hint-deprecation .deprecation-label+*{margin-top:0}.CodeMirror-hint-deprecation :last-child{margin-bottom:0}.graphiql-container .doc-explorer{background:#fff}.graphiql-container .doc-explorer-title-bar,.graphiql-container .history-title-bar{cursor:default;display:flex;height:34px;line-height:14px;padding:8px 8px 5px;position:relative;-webkit-user-select:none;user-select:none}.graphiql-container .doc-explorer-title,.graphiql-container .history-title{flex:1 1;font-weight:700;overflow-x:hidden;padding:10px 0 10px 10px;text-align:center;text-overflow:ellipsis;-webkit-user-select:text;user-select:text;white-space:nowrap}.graphiql-container .doc-explorer-back{color:#3b5998;cursor:pointer;margin:-7px 0 -6px -8px;overflow-x:hidden;padding:17px 12px 16px 16px;text-overflow:ellipsis;white-space:nowrap;background:0;border:0;line-height:14px}.doc-explorer-narrow .doc-explorer-back{width:0}.graphiql-container .doc-explorer-back:before{border-left:2px solid #3b5998;border-top:2px solid #3b5998;content:\"\";display:inline-block;height:9px;margin:0 3px -1px 0;position:relative;transform:rotate(-45deg);width:9px}.graphiql-container .doc-explorer-rhs{position:relative}.graphiql-container .doc-explorer-contents,.graphiql-container .history-contents{background-color:#fff;border-top:1px solid #d6d6d6;bottom:0;left:0;overflow-y:auto;padding:20px 15px;position:absolute;right:0;top:47px}.graphiql-container .doc-explorer-contents{min-width:300px}.graphiql-container .doc-type-description blockquote:first-child,.graphiql-container .doc-type-description p:first-child{margin-top:0}.graphiql-container .doc-explorer-contents a{cursor:pointer;text-decoration:none}.graphiql-container .doc-explorer-contents a:hover{text-decoration:underline}.graphiql-container .doc-value-description>:first-child{margin-top:4px}.graphiql-container .doc-value-description>:last-child{margin-bottom:4px}.graphiql-container .doc-category code,.graphiql-container .doc-category pre,.graphiql-container .doc-type-description code,.graphiql-container .doc-type-description pre{--saf-0:rgba(var(--sk_foreground_low,29,28,29),0.13);font-size:12px;line-height:1.50001;font-feature-settings:none;font-variant-ligatures:none;white-space:pre;white-space:pre-wrap;word-wrap:break-word;word-break:normal;-webkit-tab-size:4;-moz-tab-size:4;tab-size:4}.graphiql-container .doc-category code,.graphiql-container .doc-type-description code{padding:2px 3px 1px;border:1px solid var(--saf-0);border-radius:3px;background-color:rgba(var(--sk_foreground_min,29,28,29),.04);color:#e01e5a;background-color:#fff}.graphiql-container .doc-category{margin:20px 0}.graphiql-container .doc-category-title{border-bottom:1px solid #e0e0e0;color:#777;cursor:default;font-size:14px;font-feature-settings:\"smcp\";font-variant:small-caps;font-weight:700;letter-spacing:1px;margin:0 -15px 10px 0;padding:10px 0;-webkit-user-select:none;user-select:none}.graphiql-container .doc-category-item{margin:12px 0;color:#555}.graphiql-container .keyword{color:#b11a04}.graphiql-container .type-name{color:#ca9800}.graphiql-container .field-name{color:#1f61a0}.graphiql-container .field-short-description{color:#999;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.graphiql-container .enum-value{color:#0b7fc7}.graphiql-container .arg-name{color:#8b2bb9}.graphiql-container .arg{display:block;margin-left:1em}.graphiql-container .arg:first-child:last-child,.graphiql-container .arg:first-child:nth-last-child(2),.graphiql-container .arg:first-child:nth-last-child(2)~.arg{display:inherit;margin:inherit}.graphiql-container .arg:first-child:nth-last-child(2):after{content:\", \"}.graphiql-container .arg-default-value{color:#43a047}.graphiql-container .doc-deprecation{background:#fffae8;box-shadow:inset 0 0 1px #bfb063;color:#867f70;line-height:16px;margin:8px -8px;max-height:80px;overflow:hidden;padding:8px;border-radius:3px}.graphiql-container .doc-deprecation:before{content:\"Deprecated:\";color:#c79b2e;cursor:default;display:block;font-size:9px;font-weight:700;letter-spacing:1px;line-height:1;padding-bottom:5px;text-transform:uppercase;-webkit-user-select:none;user-select:none}.graphiql-container .doc-deprecation>:first-child{margin-top:0}.graphiql-container .doc-deprecation>:last-child{margin-bottom:0}.graphiql-container .show-btn{-webkit-appearance:initial;display:block;border-radius:3px;border:1px solid #ccc;text-align:center;padding:8px 12px 10px;width:100%;box-sizing:border-box;background:#fbfcfc;color:#555;cursor:pointer}.graphiql-container .search-box{border-bottom:1px solid #d3d6db;display:flex;align-items:center;font-size:14px;margin:-15px -15px 12px 0;position:relative}.graphiql-container .search-box-icon{cursor:pointer;display:block;font-size:24px;transform:rotate(-45deg);-webkit-user-select:none;user-select:none}.graphiql-container .search-box .search-box-clear{background-color:#d0d0d0;border-radius:12px;color:#fff;cursor:pointer;font-size:11px;padding:1px 5px 2px;position:absolute;right:3px;-webkit-user-select:none;user-select:none;border:0}.graphiql-container .search-box .search-box-clear:hover{background-color:#b9b9b9}.graphiql-container .search-box>input{border:none;box-sizing:border-box;font-size:14px;outline:none;padding:6px 24px 8px 20px;width:100%}.graphiql-container .error-container{font-weight:700;left:0;letter-spacing:1px;opacity:.5;position:absolute;right:0;text-align:center;text-transform:uppercase;top:50%;transform:translateY(-50%)}.graphiql-container .history-contents{font-family:Consolas,Inconsolata,Droid Sans Mono,Monaco,monospace;margin:0;padding:0}.graphiql-container .history-contents li{align-items:center;display:flex;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;padding:8px;border-bottom:1px solid #e0e0e0}.graphiql-container .history-contents li button:not(.history-label){display:none;margin-left:10px}.graphiql-container .history-contents li:focus-within button:not(.history-label),.graphiql-container .history-contents li:hover button:not(.history-label){display:inline-block}.graphiql-container .history-contents button,.graphiql-container .history-contents input{padding:0;background:0;border:0;font-size:inherit;font-family:inherit;line-height:14px;color:inherit}.graphiql-container .history-contents input{flex-grow:1}.graphiql-container .history-contents input::-webkit-input-placeholder{color:inherit}.graphiql-container .history-contents input::placeholder{color:inherit}.graphiql-container .history-contents button{cursor:pointer;text-align:left}.graphiql-container .history-contents .history-label{flex-grow:1;overflow:hidden;text-overflow:ellipsis}\n/*# sourceMappingURL=2.bf3fdedd.chunk.css.map */"), - } - filej := &embedded.EmbeddedFile{ - Filename: "static/css/2.bf3fdedd.chunk.css.map", - FileModTime: time.Unix(1614320768, 0), - - Content: string("{\"version\":3,\"sources\":[\"graphiql.min.css\"],\"names\":[],\"mappings\":\"AAAA,yEAAyE,aAAa,CAAC,oJAAoJ,CAAC,cAAc,CAAC,oBAAoB,YAAY,CAAC,kBAAkB,CAAC,WAAW,CAAC,QAAQ,CAAC,eAAe,CAAC,UAAU,CAAC,gCAAgC,YAAY,CAAC,qBAAqB,CAAC,QAAM,CAAC,iBAAiB,CAAC,2BAA2B,cAAc,CAAC,8BAA8B,mBAAmB,CAAC,cAAc,CAAC,gCAAgC,YAAY,CAAC,kBAAkB,CAAC,4BAA4B,kBAAkB,CAAC,2CAA2C,CAAC,+BAA+B,CAAC,cAAc,CAAC,YAAY,CAAC,kBAAkB,CAAC,QAAM,CAAC,WAAW,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,wBAAe,CAAf,gBAAgB,CAAC,6BAA6B,kBAAkB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AM,CAAC,kBAAkB,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,OAAO,CAAC,0BAA0B,CACz/J,sCAAsC,iEAAiE,CAAC,QAAQ,CAAC,SAAS,CAAC,yCAAyC,kBAAkB,CAAC,YAAY,CAAC,cAAc,CAAC,eAAe,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,QAAQ,CAAC,WAAW,CAAC,+BAA+B,CAAC,oEAAoE,YAAY,CAAC,gBAAgB,CAAC,2JAA2J,oBAAoB,CAAC,yFAAyF,SAAS,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,aAAa,CAAC,4CAA4C,WAAW,CAAC,uEAAyD,aAAa,CAAtE,yDAAyD,aAAa,CAAC,6CAA6C,cAAc,CAAC,eAAe,CAAC,qDAAqD,WAAW,CAAC,eAAe,CAAC,sBAAsB\",\"file\":\"2.bf3fdedd.chunk.css\",\"sourcesContent\":[\".graphiql-container,.graphiql-container button,.graphiql-container input{color:#141823;font-family:system,-apple-system,San Francisco,\\\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:14px}.graphiql-container{display:flex;flex-direction:row;height:100%;margin:0;overflow:hidden;width:100%}.graphiql-container .editorWrap{display:flex;flex-direction:column;flex:1;overflow-x:hidden}.graphiql-container .title{font-size:18px}.graphiql-container .title em{font-family:georgia;font-size:19px}.graphiql-container .topBarWrap{display:flex;flex-direction:row}.graphiql-container .topBar{align-items:center;background:linear-gradient(#f7f7f7,#e2e2e2);border-bottom:1px solid #d0d0d0;cursor:default;display:flex;flex-direction:row;flex:1;height:34px;overflow-y:visible;padding:7px 14px 6px;user-select:none}.graphiql-container .toolbar{overflow-x:visible;display:flex}.graphiql-container .docExplorerShow,.graphiql-container .historyShow{background:linear-gradient(#f7f7f7,#e2e2e2);border-radius:0;border-bottom:1px solid #d0d0d0;border-right:none;border-top:none;color:#3b5998;cursor:pointer;font-size:14px;margin:0;padding:2px 20px 0 18px}.graphiql-container .docExplorerShow{border-left:1px solid rgba(0,0,0,.2)}.graphiql-container .historyShow{border-right:1px solid rgba(0,0,0,.2);border-left:0}.graphiql-container .docExplorerShow:before{border-left:2px solid #3b5998;border-top:2px solid #3b5998;content:\\\"\\\";display:inline-block;height:9px;margin:0 3px -1px 0;position:relative;transform:rotate(-45deg);width:9px}.graphiql-container .editorBar{display:flex;flex-direction:row;flex:1}.graphiql-container .queryWrap,.graphiql-container .resultWrap{display:flex;flex-direction:column;flex:1}.graphiql-container .resultWrap{border-left:1px solid #e0e0e0;flex-basis:1em;position:relative}.graphiql-container .docExplorerWrap,.graphiql-container .historyPaneWrap{background:#fff;box-shadow:0 0 8px rgba(0,0,0,.15);position:relative;z-index:3}.graphiql-container .historyPaneWrap{min-width:230px;z-index:5}.graphiql-container .docExplorerResizer{cursor:col-resize;height:100%;left:-5px;position:absolute;top:0;width:10px;z-index:10}.graphiql-container .docExplorerHide{cursor:pointer;font-size:18px;margin:-7px -8px -6px 0;padding:18px 16px 15px 12px;background:0;border:0;line-height:14px}.graphiql-container div .query-editor{flex:1;position:relative}.graphiql-container .secondary-editor{display:flex;flex-direction:column;height:30px;position:relative}.graphiql-container .secondary-editor-title{background:#eee;border-bottom:1px solid #d6d6d6;border-top:1px solid #e0e0e0;color:#777;font-variant:small-caps;font-weight:700;letter-spacing:1px;line-height:14px;padding:6px 0 8px 43px;text-transform:lowercase;user-select:none}.graphiql-container .codemirrorWrap,.graphiql-container .result-window{flex:1;height:100%;position:relative}.graphiql-container .footer{background:#f6f7f8;border-left:1px solid #e0e0e0;border-top:1px solid #e0e0e0;margin-left:12px;position:relative}.graphiql-container .footer:before{background:#eee;bottom:0;content:\\\" \\\";left:-13px;position:absolute;top:-1px;width:12px}.result-window .CodeMirror{background:#f6f7f8}.graphiql-container .result-window .CodeMirror-gutters{background-color:#eee;border-color:#e0e0e0;cursor:col-resize}.graphiql-container .result-window .CodeMirror-foldgutter,.graphiql-container .result-window .CodeMirror-foldgutter-folded:after,.graphiql-container .result-window .CodeMirror-foldgutter-open:after{padding-left:3px}.graphiql-container .toolbar-button{background:#fdfdfd;background:linear-gradient(#f9f9f9,#ececec);border:0;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 1px 0 hsla(0,0%,100%,.7),inset 0 1px #fff;color:#555;cursor:pointer;display:inline-block;margin:0 5px;padding:3px 11px 5px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.graphiql-container .toolbar-button:active{background:linear-gradient(#ececec,#d5d5d5);box-shadow:0 1px 0 hsla(0,0%,100%,.7),inset 0 0 0 1px rgba(0,0,0,.1),inset 0 1px 1px 1px rgba(0,0,0,.12),inset 0 0 5px rgba(0,0,0,.1)}.graphiql-container .toolbar-button.error{background:linear-gradient(#fdf3f3,#e6d6d7);color:#b00}.graphiql-container .toolbar-button-group{margin:0 5px;white-space:nowrap}.graphiql-container .toolbar-button-group>*{margin:0}.graphiql-container .toolbar-button-group>:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.graphiql-container .toolbar-button-group>:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.graphiql-container .execute-button-wrap{height:34px;margin:0 14px 0 28px;position:relative}.graphiql-container .execute-button{background:linear-gradient(#fdfdfd,#d2d3d6);border-radius:17px;border:1px solid rgba(0,0,0,.25);box-shadow:0 1px 0 #fff;cursor:pointer;fill:#444;height:34px;margin:0;padding:0;width:34px}.graphiql-container .execute-button svg{pointer-events:none}.graphiql-container .execute-button:active{background:linear-gradient(#e6e6e6,#c3c3c3);box-shadow:0 1px 0 #fff,inset 0 0 2px rgba(0,0,0,.2),inset 0 0 6px rgba(0,0,0,.1)}.graphiql-container .toolbar-menu,.graphiql-container .toolbar-select{position:relative}.graphiql-container .execute-options,.graphiql-container .toolbar-menu-items,.graphiql-container .toolbar-select-options{background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 4px rgba(0,0,0,.25);margin:0;padding:6px 0;position:absolute;z-index:100}.graphiql-container .execute-options{min-width:100px;top:37px;left:-1px}.graphiql-container .toolbar-menu-items{left:1px;margin-top:-1px;min-width:110%;top:100%;visibility:hidden}.graphiql-container .toolbar-menu-items.open{visibility:visible}.graphiql-container .toolbar-select-options{left:0;min-width:100%;top:-5px;visibility:hidden}.graphiql-container .toolbar-select-options.open{visibility:visible}.graphiql-container .execute-options>li,.graphiql-container .toolbar-menu-items>li,.graphiql-container .toolbar-select-options>li{cursor:pointer;display:block;margin:none;max-width:300px;overflow:hidden;padding:2px 20px 4px 11px;white-space:nowrap}.graphiql-container .execute-options>li.selected,.graphiql-container .history-contents>li:active,.graphiql-container .history-contents>li:hover,.graphiql-container .toolbar-menu-items>li.hover,.graphiql-container .toolbar-menu-items>li:active,.graphiql-container .toolbar-menu-items>li:hover,.graphiql-container .toolbar-select-options>li.hover,.graphiql-container .toolbar-select-options>li:active,.graphiql-container .toolbar-select-options>li:hover{background:#e10098;color:#fff}.graphiql-container .toolbar-select-options>li>svg{display:inline;fill:#666;margin:0 -6px 0 6px;pointer-events:none;vertical-align:middle}.graphiql-container .toolbar-select-options>li.hover>svg,.graphiql-container .toolbar-select-options>li:active>svg,.graphiql-container .toolbar-select-options>li:hover>svg{fill:#fff}.graphiql-container .CodeMirror-scroll{overflow-scrolling:touch}.graphiql-container .CodeMirror{color:#141823;font-family:Consolas,Inconsolata,Droid Sans Mono,Monaco,monospace;font-size:13px;height:100%;left:0;position:absolute;top:0;width:100%}.graphiql-container .CodeMirror-lines{padding:20px 0}.CodeMirror-hint-information .content{box-orient:vertical;color:#141823;display:flex;font-family:system,-apple-system,San Francisco,\\\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:13px;line-clamp:3;line-height:16px;max-height:48px;overflow:hidden;text-overflow:-o-ellipsis-lastline}.CodeMirror-hint-information .content p:first-child{margin-top:0}.CodeMirror-hint-information .content p:last-child{margin-bottom:0}.CodeMirror-hint-information .infoType{color:#ca9800;cursor:pointer;display:inline;margin-right:.5em}.autoInsertedLeaf.cm-property{animation-duration:6s;animation-name:insertionFade;border-bottom:2px solid hsla(0,0%,100%,0);border-radius:2px;margin:-2px -4px -1px;padding:2px 4px 1px}@keyframes insertionFade{0%,to{background:hsla(0,0%,100%,0);border-color:hsla(0,0%,100%,0)}15%,85%{background:#fbffc9;border-color:#f0f3c0}}div.CodeMirror-lint-tooltip{background-color:#fff;border-radius:2px;border:0;color:#141823;box-shadow:0 1px 3px rgba(0,0,0,.45);font-size:13px;line-height:16px;max-width:430px;opacity:0;padding:8px 10px;transition:opacity .15s;white-space:pre-wrap}div.CodeMirror-lint-tooltip>*{padding-left:23px}div.CodeMirror-lint-tooltip>*+*{margin-top:12px}.graphiql-container .CodeMirror-foldmarker{border-radius:4px;background:#08f;background:linear-gradient(#43a8ff,#0f83e8);box-shadow:0 1px 1px rgba(0,0,0,.2),inset 0 0 0 1px rgba(0,0,0,.1);color:#fff;font-family:arial;font-size:12px;line-height:0;margin:0 3px;padding:0 4px 1px;text-shadow:0 -1px rgba(0,0,0,.1)}.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket{color:#555;text-decoration:underline}.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket{color:red}.cm-comment{color:#999}.cm-punctuation{color:#555}.cm-keyword{color:#b11a04}.cm-def{color:#d2054e}.cm-property{color:#1f61a0}.cm-qualifier{color:#1c92a9}.cm-attribute{color:#8b2bb9}.cm-number{color:#2882f9}.cm-string{color:#d64292}.cm-builtin{color:#d47509}.cm-string-2{color:#0b7fc7}.cm-variable{color:#397d13}.cm-meta{color:#b33086}.cm-atom{color:#ca9800}\\n.CodeMirror{color:#000;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror .CodeMirror-cursor{border-left:1px solid #000}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.CodeMirror.cm-fat-cursor div.CodeMirror-cursor{background:#7e7;border:0;width:auto}.CodeMirror.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{animation:blink 1.06s steps(1) infinite;border:0;width:auto}@keyframes blink{0%{background:#7e7}50%{background:none}to{background:#7e7}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-30px;margin-right:-30px;outline:none;overflow:scroll!important;padding-bottom:30px;position:relative}.CodeMirror-sizer{border-right:30px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{min-height:100%;position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-30px;vertical-align:top;white-space:normal;*zoom:1;*display:inline}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper{user-select:none}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-webkit-tap-highlight-color:transparent;background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-variant-ligatures:none;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;word-wrap:normal;z-index:2}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{overflow:auto;position:relative;z-index:2}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.CodeMirror span{*vertical-align:text-bottom}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:\\\"\\\"}span.CodeMirror-selectedtext{background:none}.CodeMirror-dialog{background:inherit;color:inherit;left:0;right:0;overflow:hidden;padding:.1em .8em;position:absolute;z-index:15}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{background:transparent;border:1px solid #d3d6db;color:inherit;font-family:monospace;outline:none;width:20em}.CodeMirror-dialog button{font-size:70%}\\n.CodeMirror-foldmarker{color:#00f;cursor:pointer;font-family:arial;line-height:.3;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:\\\"\\\\25BE\\\"}.CodeMirror-foldgutter-folded:after{content:\\\"\\\\25B8\\\"}\\n.CodeMirror-info{background:#fff;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.45);box-sizing:border-box;color:#555;font-family:system,-apple-system,San Francisco,\\\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:13px;line-height:16px;margin:8px -8px;max-width:400px;opacity:0;overflow:hidden;padding:8px;position:fixed;transition:opacity .15s;z-index:50}.CodeMirror-info :first-child{margin-top:0}.CodeMirror-info :last-child{margin-bottom:0}.CodeMirror-info p{margin:1em 0}.CodeMirror-info .info-description{color:#777;line-height:16px;margin-top:1em;max-height:80px;overflow:hidden}.CodeMirror-info .info-deprecation{background:#fffae8;box-shadow:inset 0 1px 1px -1px #bfb063;color:#867f70;line-height:16px;margin:8px -8px -8px;max-height:80px;overflow:hidden;padding:8px}.CodeMirror-info .info-deprecation-label{color:#c79b2e;cursor:default;display:block;font-size:9px;font-weight:700;letter-spacing:1px;line-height:1;padding-bottom:5px;text-transform:uppercase;user-select:none}.CodeMirror-info .info-deprecation-label+*{margin-top:0}.CodeMirror-info a{text-decoration:none}.CodeMirror-info a:hover{text-decoration:underline}.CodeMirror-info .type-name{color:#ca9800}.CodeMirror-info .field-name{color:#1f61a0}.CodeMirror-info .enum-value{color:#0b7fc7}.CodeMirror-info .arg-name{color:#8b2bb9}.CodeMirror-info .directive-name{color:#b33086}\\n.CodeMirror-jump-token{text-decoration:underline;cursor:pointer}\\n.CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:infobackground;border-radius:4px 4px 4px 4px;border:1px solid #000;color:infotext;font-family:monospace;font-size:10pt;max-width:600px;opacity:0;overflow:hidden;padding:2px 5px;position:fixed;transition:opacity .4s;white-space:pre-wrap;z-index:100}.CodeMirror-lint-mark-error,.CodeMirror-lint-mark-warning{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-error{background-image:url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\\\")}.CodeMirror-lint-mark-warning{background-image:url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\\\")}.CodeMirror-lint-marker-error,.CodeMirror-lint-marker-warning{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;position:relative;vertical-align:middle;width:16px}.CodeMirror-lint-message-error,.CodeMirror-lint-message-warning{background-position:0 0;background-repeat:no-repeat;padding-left:18px}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\\\")}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\\\")}.CodeMirror-lint-marker-multiple{background-image:url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\\\");background-position:100% 100%;background-repeat:no-repeat;width:100%;height:100%}\\n.graphiql-container .spinner-container{height:36px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:36px;z-index:10}.graphiql-container .spinner{animation:rotation .6s linear infinite;border-radius:100%;border:6px solid hsla(0,0%,58.8%,.15);border-top-color:hsla(0,0%,58.8%,.8);display:inline-block;height:24px;position:absolute;vertical-align:middle;width:24px}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}\\n.CodeMirror-hints{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.45);font-family:Consolas,Inconsolata,Droid Sans Mono,Monaco,monospace;font-size:13px;list-style:none;margin:0;max-height:14.5em;overflow:hidden;overflow-y:auto;padding:0;position:absolute;z-index:10}.CodeMirror-hint{border-top:1px solid #f7f7f7;color:#141823;cursor:pointer;margin:0;max-width:300px;overflow:hidden;padding:2px 6px;white-space:pre}li.CodeMirror-hint-active{background-color:#08f;border-top-color:#fff;color:#fff}.CodeMirror-hint-information{border-top:1px solid silver;max-width:300px;padding:4px 6px;position:relative;z-index:1}.CodeMirror-hint-information:first-child{border-bottom:1px solid silver;border-top:none;margin-bottom:-1px}.CodeMirror-hint-deprecation{background:#fffae8;box-shadow:inset 0 1px 1px -1px #bfb063;color:#867f70;font-family:system,-apple-system,San Francisco,\\\\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:13px;line-height:16px;margin-top:4px;max-height:80px;overflow:hidden;padding:6px}.CodeMirror-hint-deprecation .deprecation-label{color:#c79b2e;cursor:default;display:block;font-size:9px;font-weight:700;letter-spacing:1px;line-height:1;padding-bottom:5px;text-transform:uppercase;user-select:none}.CodeMirror-hint-deprecation .deprecation-label+*{margin-top:0}.CodeMirror-hint-deprecation :last-child{margin-bottom:0}\\n.graphiql-container .doc-explorer{background:#fff}.graphiql-container .doc-explorer-title-bar,.graphiql-container .history-title-bar{cursor:default;display:flex;height:34px;line-height:14px;padding:8px 8px 5px;position:relative;user-select:none}.graphiql-container .doc-explorer-title,.graphiql-container .history-title{flex:1;font-weight:700;overflow-x:hidden;padding:10px 0 10px 10px;text-align:center;text-overflow:ellipsis;user-select:text;white-space:nowrap}.graphiql-container .doc-explorer-back{color:#3b5998;cursor:pointer;margin:-7px 0 -6px -8px;overflow-x:hidden;padding:17px 12px 16px 16px;text-overflow:ellipsis;white-space:nowrap;background:0;border:0;line-height:14px}.doc-explorer-narrow .doc-explorer-back{width:0}.graphiql-container .doc-explorer-back:before{border-left:2px solid #3b5998;border-top:2px solid #3b5998;content:\\\"\\\";display:inline-block;height:9px;margin:0 3px -1px 0;position:relative;transform:rotate(-45deg);width:9px}.graphiql-container .doc-explorer-rhs{position:relative}.graphiql-container .doc-explorer-contents,.graphiql-container .history-contents{background-color:#fff;border-top:1px solid #d6d6d6;bottom:0;left:0;overflow-y:auto;padding:20px 15px;position:absolute;right:0;top:47px}.graphiql-container .doc-explorer-contents{min-width:300px}.graphiql-container .doc-type-description blockquote:first-child,.graphiql-container .doc-type-description p:first-child{margin-top:0}.graphiql-container .doc-explorer-contents a{cursor:pointer;text-decoration:none}.graphiql-container .doc-explorer-contents a:hover{text-decoration:underline}.graphiql-container .doc-value-description>:first-child{margin-top:4px}.graphiql-container .doc-value-description>:last-child{margin-bottom:4px}.graphiql-container .doc-category code,.graphiql-container .doc-category pre,.graphiql-container .doc-type-description code,.graphiql-container .doc-type-description pre{--saf-0:rgba(var(--sk_foreground_low,29,28,29),0.13);font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre;white-space:pre-wrap;word-wrap:break-word;word-break:normal;-webkit-tab-size:4;-moz-tab-size:4;tab-size:4}.graphiql-container .doc-category code,.graphiql-container .doc-type-description code{padding:2px 3px 1px;border:1px solid var(--saf-0);border-radius:3px;background-color:rgba(var(--sk_foreground_min,29,28,29),.04);color:#e01e5a;background-color:#fff}.graphiql-container .doc-category{margin:20px 0}.graphiql-container .doc-category-title{border-bottom:1px solid #e0e0e0;color:#777;cursor:default;font-size:14px;font-variant:small-caps;font-weight:700;letter-spacing:1px;margin:0 -15px 10px 0;padding:10px 0;user-select:none}.graphiql-container .doc-category-item{margin:12px 0;color:#555}.graphiql-container .keyword{color:#b11a04}.graphiql-container .type-name{color:#ca9800}.graphiql-container .field-name{color:#1f61a0}.graphiql-container .field-short-description{color:#999;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.graphiql-container .enum-value{color:#0b7fc7}.graphiql-container .arg-name{color:#8b2bb9}.graphiql-container .arg{display:block;margin-left:1em}.graphiql-container .arg:first-child:last-child,.graphiql-container .arg:first-child:nth-last-child(2),.graphiql-container .arg:first-child:nth-last-child(2)~.arg{display:inherit;margin:inherit}.graphiql-container .arg:first-child:nth-last-child(2):after{content:\\\", \\\"}.graphiql-container .arg-default-value{color:#43a047}.graphiql-container .doc-deprecation{background:#fffae8;box-shadow:inset 0 0 1px #bfb063;color:#867f70;line-height:16px;margin:8px -8px;max-height:80px;overflow:hidden;padding:8px;border-radius:3px}.graphiql-container .doc-deprecation:before{content:\\\"Deprecated:\\\";color:#c79b2e;cursor:default;display:block;font-size:9px;font-weight:700;letter-spacing:1px;line-height:1;padding-bottom:5px;text-transform:uppercase;user-select:none}.graphiql-container .doc-deprecation>:first-child{margin-top:0}.graphiql-container .doc-deprecation>:last-child{margin-bottom:0}.graphiql-container .show-btn{-webkit-appearance:initial;display:block;border-radius:3px;border:1px solid #ccc;text-align:center;padding:8px 12px 10px;width:100%;box-sizing:border-box;background:#fbfcfc;color:#555;cursor:pointer}.graphiql-container .search-box{border-bottom:1px solid #d3d6db;display:flex;align-items:center;font-size:14px;margin:-15px -15px 12px 0;position:relative}.graphiql-container .search-box-icon{cursor:pointer;display:block;font-size:24px;transform:rotate(-45deg);user-select:none}.graphiql-container .search-box .search-box-clear{background-color:#d0d0d0;border-radius:12px;color:#fff;cursor:pointer;font-size:11px;padding:1px 5px 2px;position:absolute;right:3px;user-select:none;border:0}.graphiql-container .search-box .search-box-clear:hover{background-color:#b9b9b9}.graphiql-container .search-box>input{border:none;box-sizing:border-box;font-size:14px;outline:none;padding:6px 24px 8px 20px;width:100%}.graphiql-container .error-container{font-weight:700;left:0;letter-spacing:1px;opacity:.5;position:absolute;right:0;text-align:center;text-transform:uppercase;top:50%;transform:translateY(-50%)}\\n.graphiql-container .history-contents{font-family:Consolas,Inconsolata,Droid Sans Mono,Monaco,monospace;margin:0;padding:0}.graphiql-container .history-contents li{align-items:center;display:flex;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;padding:8px;border-bottom:1px solid #e0e0e0}.graphiql-container .history-contents li button:not(.history-label){display:none;margin-left:10px}.graphiql-container .history-contents li:focus-within button:not(.history-label),.graphiql-container .history-contents li:hover button:not(.history-label){display:inline-block}.graphiql-container .history-contents button,.graphiql-container .history-contents input{padding:0;background:0;border:0;font-size:inherit;font-family:inherit;line-height:14px;color:inherit}.graphiql-container .history-contents input{flex-grow:1}.graphiql-container .history-contents input::placeholder{color:inherit}.graphiql-container .history-contents button{cursor:pointer;text-align:left}.graphiql-container .history-contents .history-label{flex-grow:1;overflow:hidden;text-overflow:ellipsis}\\n\\n/*# sourceMappingURL=graphiql.min.css.map*/\"]}"), - } - filek := &embedded.EmbeddedFile{ - Filename: "static/css/main.f701af7a.chunk.css", - FileModTime: time.Unix(1614320768, 0), - - Content: string("body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Oxygen\",\"Ubuntu\",\"Cantarell\",\"Fira Sans\",\"Droid Sans\",\"Helvetica Neue\",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.graphiql-container,.graphiql-container button,.graphiql-container input{font-family:inherit!important}.graphiql-container .historyPaneWrap{border-left:1px solid #ccc!important}#root{height:100vh;width:100vw}\n/*# sourceMappingURL=main.f701af7a.chunk.css.map */"), - } - filel := &embedded.EmbeddedFile{ - Filename: "static/css/main.f701af7a.chunk.css.map", - FileModTime: time.Unix(1614320768, 0), - - Content: string("{\"version\":3,\"sources\":[\"index.css\"],\"names\":[],\"mappings\":\"AAAA,KACE,QAAS,CACT,SAAU,CACV,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,yEACE,6BACF,CAEA,qCACE,oCACF,CAEA,MACE,YAAa,CACb,WACF\",\"file\":\"main.f701af7a.chunk.css\",\"sourcesContent\":[\"body {\\n margin: 0;\\n padding: 0;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", \\\"Roboto\\\", \\\"Oxygen\\\",\\n \\\"Ubuntu\\\", \\\"Cantarell\\\", \\\"Fira Sans\\\", \\\"Droid Sans\\\", \\\"Helvetica Neue\\\",\\n sans-serif;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n}\\n\\n.graphiql-container, .graphiql-container button, .graphiql-container input {\\n font-family: inherit !important;\\n}\\n\\n.graphiql-container .historyPaneWrap {\\n border-left: 1px solid #ccc !important;\\n}\\n\\n#root {\\n height: 100vh;\\n width: 100vw;\\n}\\n\\n\\n\\n\"]}"), - } - filen := &embedded.EmbeddedFile{ - Filename: "static/js/2.151e204e.chunk.js", - FileModTime: time.Unix(1614320768, 0), - - Content: string("/*! For license information please see 2.151e204e.chunk.js.LICENSE.txt */\n(this.webpackJsonpweb=this.webpackJsonpweb||[]).push([[2],[function(e,t,n){\"use strict\";n.d(t,\"S\",(function(){return T})),n.d(t,\"x\",(function(){return O})),n.d(t,\"R\",(function(){return x})),n.d(t,\"w\",(function(){return _})),n.d(t,\"N\",(function(){return C})),n.d(t,\"u\",(function(){return S})),n.d(t,\"H\",(function(){return N})),n.d(t,\"o\",(function(){return D})),n.d(t,\"T\",(function(){return A})),n.d(t,\"y\",(function(){return I})),n.d(t,\"E\",(function(){return j})),n.d(t,\"l\",(function(){return L})),n.d(t,\"F\",(function(){return F})),n.d(t,\"m\",(function(){return R})),n.d(t,\"J\",(function(){return M})),n.d(t,\"q\",(function(){return P})),n.d(t,\"L\",(function(){return V})),n.d(t,\"s\",(function(){return U})),n.d(t,\"G\",(function(){return B})),n.d(t,\"n\",(function(){return z})),n.d(t,\"O\",(function(){return q})),n.d(t,\"v\",(function(){return H})),n.d(t,\"I\",(function(){return G})),n.d(t,\"p\",(function(){return W})),n.d(t,\"D\",(function(){return Q})),n.d(t,\"k\",(function(){return K})),n.d(t,\"C\",(function(){return Y})),n.d(t,\"j\",(function(){return J})),n.d(t,\"d\",(function(){return $})),n.d(t,\"e\",(function(){return X})),n.d(t,\"U\",(function(){return Z})),n.d(t,\"z\",(function(){return ee})),n.d(t,\"M\",(function(){return te})),n.d(t,\"t\",(function(){return ne})),n.d(t,\"B\",(function(){return re})),n.d(t,\"K\",(function(){return ie})),n.d(t,\"r\",(function(){return oe})),n.d(t,\"A\",(function(){return ae})),n.d(t,\"g\",(function(){return ce})),n.d(t,\"f\",(function(){return ue})),n.d(t,\"i\",(function(){return me})),n.d(t,\"P\",(function(){return ve})),n.d(t,\"c\",(function(){return ge})),n.d(t,\"h\",(function(){return ye})),n.d(t,\"a\",(function(){return Ee})),n.d(t,\"b\",(function(){return ke})),n.d(t,\"Q\",(function(){return Oe}));var r=n(39),i=n(17),o=n(4),a=n(25),s=n(41),l=n(27),c=n(8),u=n(36),f=n(29),p=n(26),d=n(21);function h(e){return e}var m=n(34),v=n(28),g=n(3),y=n(2),b=n(12),E=n(127);function w(e,t){for(var n=0;n0?e:void 0}$.prototype.toString=function(){return\"[\"+String(this.ofType)+\"]\"},$.prototype.toJSON=function(){return this.toString()},Object.defineProperty($.prototype,i.c,{get:function(){return\"GraphQLList\"}}),Object(m.a)($),X.prototype.toString=function(){return String(this.ofType)+\"!\"},X.prototype.toJSON=function(){return this.toString()},Object.defineProperty(X.prototype,i.c,{get:function(){return\"GraphQLNonNull\"}}),Object(m.a)(X);var ce=function(){function e(e){var t,n,r,i=null!==(t=e.parseValue)&&void 0!==t?t:h;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:h,this.parseValue=i,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e,t){return i(Object(E.a)(e,t))},this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),\"string\"===typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.specifiedByUrl||\"string\"===typeof e.specifiedByUrl||Object(c.a)(0,\"\".concat(this.name,' must provide \"specifiedByUrl\" as a string, ')+\"but got: \".concat(Object(o.a)(e.specifiedByUrl),\".\")),null==e.serialize||\"function\"===typeof e.serialize||Object(c.a)(0,\"\".concat(this.name,' must provide \"serialize\" function. If this custom Scalar is also used as an input type, ensure \"parseValue\" and \"parseLiteral\" functions are also provided.')),e.parseLiteral&&(\"function\"===typeof e.parseValue&&\"function\"===typeof e.parseLiteral||Object(c.a)(0,\"\".concat(this.name,' must provide both \"parseValue\" and \"parseLiteral\" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},k(e,[{key:i.c,get:function(){return\"GraphQLScalarType\"}}]),e}();Object(m.a)(ce);var ue=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"===typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.isTypeOf||\"function\"===typeof e.isTypeOf||Object(c.a)(0,\"\".concat(this.name,' must provide \"isTypeOf\" as a function, ')+\"but got: \".concat(Object(o.a)(e.isTypeOf),\".\"))}var t=e.prototype;return t.getFields=function(){return\"function\"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return\"function\"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},k(e,[{key:i.c,get:function(){return\"GraphQLObjectType\"}}]),e}();function fe(e){var t,n=null!==(t=se(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||Object(c.a)(0,\"\".concat(e.name,\" interfaces must be an Array or a function which returns an Array.\")),n}function pe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){var i;de(t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field config must be an object.\")),!(\"isDeprecated\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),null==t.resolve||\"function\"===typeof t.resolve||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field resolver must be a function if \")+\"provided, but got: \".concat(Object(o.a)(t.resolve),\".\"));var a=null!==(i=t.args)&&void 0!==i?i:{};de(a)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" args must be an object with argument names as keys.\"));var s=Object(r.a)(a).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&Object(l.a)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function de(e){return Object(d.a)(e)&&!Array.isArray(e)}function he(e){return Object(s.a)(e,(function(e){return{description:e.description,type:e.type,args:me(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function me(e){return Object(u.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function ve(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(ue);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"===typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"===typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.a)(e.resolveType),\".\"))}var t=e.prototype;return t.getFields=function(){return\"function\"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return\"function\"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},k(e,[{key:i.c,get:function(){return\"GraphQLInterfaceType\"}}]),e}();Object(m.a)(ge);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._types=be.bind(void 0,e),\"string\"===typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"===typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.a)(e.resolveType),\".\"))}var t=e.prototype;return t.getTypes=function(){return\"function\"===typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},k(e,[{key:i.c,get:function(){return\"GraphQLUnionType\"}}]),e}();function be(e){var t=se(e.types);return Array.isArray(t)||Object(c.a)(0,\"Must provide Array of types or a function which returns such an array for Union \".concat(e.name,\".\")),t}Object(m.a)(ye);var Ee=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._values=(t=this.name,de(n=e.values)||Object(c.a)(0,\"\".concat(t,\" values must be an object with value names as keys.\")),Object(r.a)(n).map((function(e){var n=e[0],r=e[1];return de(r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' must refer to an object with a \"value\" key ')+\"representing an internal value but got: \".concat(Object(o.a)(r),\".\")),!(\"isDeprecated\"in r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&Object(l.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(a.a)(this._values,(function(e){return e.name})),\"string\"===typeof e.name||Object(c.a)(0,\"Must provide name.\")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new g.a('Enum \"'.concat(this.name,'\" cannot represent value: ').concat(Object(o.a)(e)));return t.name},t.parseValue=function(e){if(\"string\"!==typeof e){var t=Object(o.a)(e);throw new g.a('Enum \"'.concat(this.name,'\" cannot represent non-string value: ').concat(t,\".\")+we(this,t))}var n=this.getValue(e);if(null==n)throw new g.a('Value \"'.concat(e,'\" does not exist in \"').concat(this.name,'\" enum.')+we(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==y.a.ENUM){var n=Object(b.print)(e);throw new g.a('Enum \"'.concat(this.name,'\" cannot represent non-enum value: ').concat(n,\".\")+we(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=Object(b.print)(e);throw new g.a('Value \"'.concat(i,'\" does not exist in \"').concat(this.name,'\" enum.')+we(this,i),e)}return r.value},t.toConfig=function(){var e,t=Object(u.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},k(e,[{key:i.c,get:function(){return\"GraphQLEnumType\"}}]),e}();function we(e,t){var n=e.getValues().map((function(e){return e.name})),r=Object(v.a)(t,n);return Object(p.a)(\"the enum value\",r)}Object(m.a)(Ee);var ke=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=Te.bind(void 0,e),\"string\"===typeof e.name||Object(c.a)(0,\"Must provide name.\")}var t=e.prototype;return t.getFields=function(){return\"function\"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=Object(s.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},k(e,[{key:i.c,get:function(){return\"GraphQLInputObjectType\"}}]),e}();function Te(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){return!(\"resolve\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field has a resolve property, but Input Types cannot define resolvers.\")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function Oe(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(ke)},function(e,t,n){\"use strict\";e.exports=n(164)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({NAME:\"Name\",DOCUMENT:\"Document\",OPERATION_DEFINITION:\"OperationDefinition\",VARIABLE_DEFINITION:\"VariableDefinition\",SELECTION_SET:\"SelectionSet\",FIELD:\"Field\",ARGUMENT:\"Argument\",FRAGMENT_SPREAD:\"FragmentSpread\",INLINE_FRAGMENT:\"InlineFragment\",FRAGMENT_DEFINITION:\"FragmentDefinition\",VARIABLE:\"Variable\",INT:\"IntValue\",FLOAT:\"FloatValue\",STRING:\"StringValue\",BOOLEAN:\"BooleanValue\",NULL:\"NullValue\",ENUM:\"EnumValue\",LIST:\"ListValue\",OBJECT:\"ObjectValue\",OBJECT_FIELD:\"ObjectField\",DIRECTIVE:\"Directive\",NAMED_TYPE:\"NamedType\",LIST_TYPE:\"ListType\",NON_NULL_TYPE:\"NonNullType\",SCHEMA_DEFINITION:\"SchemaDefinition\",OPERATION_TYPE_DEFINITION:\"OperationTypeDefinition\",SCALAR_TYPE_DEFINITION:\"ScalarTypeDefinition\",OBJECT_TYPE_DEFINITION:\"ObjectTypeDefinition\",FIELD_DEFINITION:\"FieldDefinition\",INPUT_VALUE_DEFINITION:\"InputValueDefinition\",INTERFACE_TYPE_DEFINITION:\"InterfaceTypeDefinition\",UNION_TYPE_DEFINITION:\"UnionTypeDefinition\",ENUM_TYPE_DEFINITION:\"EnumTypeDefinition\",ENUM_VALUE_DEFINITION:\"EnumValueDefinition\",INPUT_OBJECT_TYPE_DEFINITION:\"InputObjectTypeDefinition\",DIRECTIVE_DEFINITION:\"DirectiveDefinition\",SCHEMA_EXTENSION:\"SchemaExtension\",SCALAR_TYPE_EXTENSION:\"ScalarTypeExtension\",OBJECT_TYPE_EXTENSION:\"ObjectTypeExtension\",INTERFACE_TYPE_EXTENSION:\"InterfaceTypeExtension\",UNION_TYPE_EXTENSION:\"UnionTypeExtension\",ENUM_TYPE_EXTENSION:\"EnumTypeExtension\",INPUT_OBJECT_TYPE_EXTENSION:\"InputObjectTypeExtension\"})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return v})),n.d(t,\"b\",(function(){return g}));var r=n(21),i=n(17),o=n(72),a=n(92);function s(e){return(s=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function l(e,t){for(var n=0;n2)return\"[Array]\";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o1&&i.push(\"... \".concat(r,\" more items\"));return\"[\"+i.join(\", \")+\"]\"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return\"{}\";if(t.length>2)return\"[\"+function(e){var t=Object.prototype.toString.call(e).replace(/^\\[object /,\"\").replace(/]$/,\"\");if(\"Object\"===t&&\"function\"===typeof e.constructor){var n=e.constructor.name;if(\"string\"===typeof n&&\"\"!==n)return n}return t}(e)+\"]\";return\"{ \"+n.map((function(n){return n+\": \"+a(e[n],t)})).join(\", \")+\" }\"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({SOF:\"\",EOF:\"\",BANG:\"!\",DOLLAR:\"$\",AMP:\"&\",PAREN_L:\"(\",PAREN_R:\")\",SPREAD:\"...\",COLON:\":\",EQUALS:\"=\",AT:\"@\",BRACKET_L:\"[\",BRACKET_R:\"]\",BRACE_L:\"{\",PIPE:\"|\",BRACE_R:\"}\",NAME:\"Name\",INT:\"Int\",FLOAT:\"Float\",STRING:\"String\",BLOCK_STRING:\"BlockString\",COMMENT:\"Comment\"})},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"CharacterStream\",(function(){return r})),n.d(t,\"LexRules\",(function(){return u})),n.d(t,\"ParseRules\",(function(){return f})),n.d(t,\"isIgnored\",(function(){return c})),n.d(t,\"butNot\",(function(){return a})),n.d(t,\"list\",(function(){return o})),n.d(t,\"opt\",(function(){return i})),n.d(t,\"p\",(function(){return l})),n.d(t,\"t\",(function(){return s})),n.d(t,\"onlineParser\",(function(){return m})),n.d(t,\"AdditionalRuleKinds\",(function(){return O})),n.d(t,\"RuleKinds\",(function(){return x}));class r{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\\s\\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;if(\"string\"===typeof e){i=new RegExp(e,n?\"i\":\"g\").test(this._sourceText.substr(this._pos,e.length)),r=e}else e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=i&&i[0]);return!(null==i||!(\"string\"===typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n=\"string\"===typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function i(e){return{ofRule:e}}function o(e,t){return{ofRule:e,isList:!0,separator:t}}function a(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e}function s(e,t){return{style:t,match:t=>t.kind===e}}function l(e,t){return{style:t||\"punctuation\",match:t=>\"Punctuation\"===t.kind&&t.value===e}}const c=e=>\" \"===e||\"\\t\"===e||\",\"===e||\"\\n\"===e||\"\\r\"===e||\"\\ufeff\"===e||\"\\xa0\"===e,u={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\\$|\\(|\\)|\\.\\.\\.|:|=|&|@|\\[|]|\\{|\\||\\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:\"\"\"(?:\\\\\"\"\"|[^\"]|\"[^\"]|\"\"[^\"])*(?:\"\"\")?|\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?)/,Comment:/^#.*/},f={Document:[o(\"Definition\")],Definition(e){switch(e.value){case\"{\":return\"ShortQuery\";case\"query\":return\"Query\";case\"mutation\":return\"Mutation\";case\"subscription\":return\"Subscription\";case\"fragment\":return\"FragmentDefinition\";case\"schema\":return\"SchemaDef\";case\"scalar\":return\"ScalarDef\";case\"type\":return\"ObjectTypeDef\";case\"interface\":return\"InterfaceDef\";case\"union\":return\"UnionDef\";case\"enum\":return\"EnumDef\";case\"input\":return\"InputDef\";case\"extend\":return\"ExtendDef\";case\"directive\":return\"DirectiveDef\"}},ShortQuery:[\"SelectionSet\"],Query:[d(\"query\"),i(h(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Mutation:[d(\"mutation\"),i(h(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Subscription:[d(\"subscription\"),i(h(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],VariableDefinitions:[l(\"(\"),o(\"VariableDefinition\"),l(\")\")],VariableDefinition:[\"Variable\",l(\":\"),\"Type\",i(\"DefaultValue\")],Variable:[l(\"$\",\"variable\"),h(\"variable\")],DefaultValue:[l(\"=\"),\"Value\"],SelectionSet:[l(\"{\"),o(\"Selection\"),l(\"}\")],Selection:(e,t)=>\"...\"===e.value?t.match(/[\\s\\u00a0,]*(on\\b|@|{)/,!1)?\"InlineFragment\":\"FragmentSpread\":t.match(/[\\s\\u00a0,]*:/,!1)?\"AliasedField\":\"Field\",AliasedField:[h(\"property\"),l(\":\"),h(\"qualifier\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Field:[h(\"property\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Arguments:[l(\"(\"),o(\"Argument\"),l(\")\")],Argument:[h(\"attribute\"),l(\":\"),\"Value\"],FragmentSpread:[l(\"...\"),h(\"def\"),o(\"Directive\")],InlineFragment:[l(\"...\"),i(\"TypeCondition\"),o(\"Directive\"),\"SelectionSet\"],FragmentDefinition:[d(\"fragment\"),i(a(h(\"def\"),[d(\"on\")])),\"TypeCondition\",o(\"Directive\"),\"SelectionSet\"],TypeCondition:[d(\"on\"),\"NamedType\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\";case\"$\":return\"Variable\";case\"&\":return\"NamedType\"}return null;case\"Name\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\"}return\"null\"===e.value?\"NullValue\":\"EnumValue\"}},NumberValue:[s(\"Number\",\"number\")],StringValue:[s(\"String\",\"string\")],BooleanValue:[s(\"Name\",\"builtin\")],NullValue:[s(\"Name\",\"keyword\")],EnumValue:[h(\"string-2\")],ListValue:[l(\"[\"),o(\"Value\"),l(\"]\")],ObjectValue:[l(\"{\"),o(\"ObjectField\"),l(\"}\")],ObjectField:[h(\"attribute\"),l(\":\"),\"Value\"],Type:e=>\"[\"===e.value?\"ListType\":\"NonNullType\",ListType:[l(\"[\"),\"Type\",l(\"]\"),i(l(\"!\"))],NonNullType:[\"NamedType\",i(l(\"!\"))],NamedType:[(p=\"atom\",{style:p,match:e=>\"Name\"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[l(\"@\",\"meta\"),h(\"meta\"),i(\"Arguments\")],DirectiveDef:[d(\"directive\"),l(\"@\",\"meta\"),h(\"meta\"),i(\"ArgumentsDef\"),d(\"on\"),o(\"DirectiveLocation\",l(\"|\"))],InterfaceDef:[d(\"interface\"),h(\"atom\"),i(\"Implements\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],Implements:[d(\"implements\"),o(\"NamedType\",l(\"&\"))],DirectiveLocation:[h(\"string-2\")],SchemaDef:[d(\"schema\"),o(\"Directive\"),l(\"{\"),o(\"OperationTypeDef\"),l(\"}\")],OperationTypeDef:[h(\"keyword\"),l(\":\"),h(\"atom\")],ScalarDef:[d(\"scalar\"),h(\"atom\"),o(\"Directive\")],ObjectTypeDef:[d(\"type\"),h(\"atom\"),i(\"Implements\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],FieldDef:[h(\"property\"),i(\"ArgumentsDef\"),l(\":\"),\"Type\",o(\"Directive\")],ArgumentsDef:[l(\"(\"),o(\"InputValueDef\"),l(\")\")],InputValueDef:[h(\"attribute\"),l(\":\"),\"Type\",i(\"DefaultValue\"),o(\"Directive\")],UnionDef:[d(\"union\"),h(\"atom\"),o(\"Directive\"),l(\"=\"),o(\"UnionMember\",l(\"|\"))],UnionMember:[\"NamedType\"],EnumDef:[d(\"enum\"),h(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"EnumValueDef\"),l(\"}\")],EnumValueDef:[h(\"string-2\"),o(\"Directive\")],InputDef:[d(\"input\"),h(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"InputValueDef\"),l(\"}\")],ExtendDef:[d(\"extend\"),\"ObjectTypeDef\"]};var p;function d(e){return{style:\"keyword\",match:t=>\"Name\"===t.kind&&t.value===e}}function h(e){return{style:e,match:e=>\"Name\"===e.kind,update(e,t){e.name=t.value}}}function m(e={eatWhitespace:e=>e.eatWhile(c),lexRules:u,parseRules:f,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return y(e.parseRules,t,\"Document\"),t},token:(t,n)=>function(e,t,n){const r=n.lexRules,i=n.parseRules,o=n.eatWhitespace,a=n.editorConfig;t.rule&&0===t.rule.length?b(t):t.needsAdvance&&(t.needsAdvance=!1,E(t,!0));if(e.sol()){const n=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(o(e))return\"ws\";const s=function(e,t){const n=Object.keys(e);for(let r=0;r0&&e[e.length-1]2147483647||n<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \"+Object(o.a)(t));return n},parseValue:function(e){if(!i(e))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e));return e},parseLiteral:function(e){if(e.kind!==s.a.INT)throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(l.print)(e)),e);var t=parseInt(e.value,10);if(t>2147483647||t<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e.value),e);return t}});var p=new u.g({name:\"Float\",description:\"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).\",serialize:function(e){var t=d(e);if(\"boolean\"===typeof t)return t?1:0;var n=t;if(\"string\"===typeof t&&\"\"!==t&&(n=Number(t)),!Object(r.a)(n))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(t)));return n},parseValue:function(e){if(!Object(r.a)(e))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.FLOAT&&e.kind!==s.a.INT)throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(l.print)(e)),e);return parseFloat(e.value)}});function d(e){if(Object(a.a)(e)){if(\"function\"===typeof e.valueOf){var t=e.valueOf();if(!Object(a.a)(t))return t}if(\"function\"===typeof e.toJSON)return e.toJSON()}return e}var h=new u.g({name:\"String\",description:\"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.\",serialize:function(e){var t=d(e);if(\"string\"===typeof t)return t;if(\"boolean\"===typeof t)return t?\"true\":\"false\";if(Object(r.a)(t))return t.toString();throw new c.a(\"String cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"!==typeof e)throw new c.a(\"String cannot represent a non string value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.STRING)throw new c.a(\"String cannot represent a non string value: \".concat(Object(l.print)(e)),e);return e.value}});var m=new u.g({name:\"Boolean\",description:\"The `Boolean` scalar type represents `true` or `false`.\",serialize:function(e){var t=d(e);if(\"boolean\"===typeof t)return t;if(Object(r.a)(t))return 0!==t;throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(t)))},parseValue:function(e){if(\"boolean\"!==typeof e)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.BOOLEAN)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(l.print)(e)),e);return e.value}});var v=new u.g({name:\"ID\",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=d(e);if(\"string\"===typeof t)return t;if(i(t))return String(t);throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"===typeof e)return e;if(i(e))return e.toString();throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseLiteral:function(e){if(e.kind!==s.a.STRING&&e.kind!==s.a.INT)throw new c.a(\"ID cannot represent a non-string and non-integer value: \"+Object(l.print)(e),e);return e.value}}),g=Object.freeze([h,f,p,m,v]);function y(e){return g.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"__Schema\",(function(){return f})),n.d(t,\"__Directive\",(function(){return p})),n.d(t,\"__DirectiveLocation\",(function(){return d})),n.d(t,\"__Type\",(function(){return h})),n.d(t,\"__Field\",(function(){return m})),n.d(t,\"__InputValue\",(function(){return v})),n.d(t,\"__EnumValue\",(function(){return g})),n.d(t,\"TypeKind\",(function(){return y})),n.d(t,\"__TypeKind\",(function(){return b})),n.d(t,\"SchemaMetaFieldDef\",(function(){return E})),n.d(t,\"TypeMetaFieldDef\",(function(){return w})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return k})),n.d(t,\"introspectionTypes\",(function(){return T})),n.d(t,\"isIntrospectionType\",(function(){return O}));var r=n(14),i=n(4),o=n(13),a=n(12),s=n(7),l=n(51),c=n(9),u=n(0),f=new u.f({name:\"__Schema\",description:\"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.\",fields:function(){return{description:{type:c.e,resolve:function(e){return e.description}},types:{description:\"A list of all types supported by this server.\",type:new u.e(new u.d(new u.e(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:\"The type that query operations will be rooted at.\",type:new u.e(h),resolve:function(e){return e.getQueryType()}},mutationType:{description:\"If this server supports mutation, the type that mutation operations will be rooted at.\",type:h,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:\"If this server support subscription, the type that subscription operations will be rooted at.\",type:h,resolve:function(e){return e.getSubscriptionType()}},directives:{description:\"A list of all directives supported by this server.\",type:new u.e(new u.d(new u.e(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new u.f({name:\"__Directive\",description:\"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\\n\\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isRepeatable:{type:new u.e(c.a),resolve:function(e){return e.isRepeatable}},locations:{type:new u.e(new u.d(new u.e(d))),resolve:function(e){return e.locations}},args:{type:new u.e(new u.d(new u.e(v))),resolve:function(e){return e.args}}}}}),d=new u.a({name:\"__DirectiveLocation\",description:\"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.\",values:{QUERY:{value:s.a.QUERY,description:\"Location adjacent to a query operation.\"},MUTATION:{value:s.a.MUTATION,description:\"Location adjacent to a mutation operation.\"},SUBSCRIPTION:{value:s.a.SUBSCRIPTION,description:\"Location adjacent to a subscription operation.\"},FIELD:{value:s.a.FIELD,description:\"Location adjacent to a field.\"},FRAGMENT_DEFINITION:{value:s.a.FRAGMENT_DEFINITION,description:\"Location adjacent to a fragment definition.\"},FRAGMENT_SPREAD:{value:s.a.FRAGMENT_SPREAD,description:\"Location adjacent to a fragment spread.\"},INLINE_FRAGMENT:{value:s.a.INLINE_FRAGMENT,description:\"Location adjacent to an inline fragment.\"},VARIABLE_DEFINITION:{value:s.a.VARIABLE_DEFINITION,description:\"Location adjacent to a variable definition.\"},SCHEMA:{value:s.a.SCHEMA,description:\"Location adjacent to a schema definition.\"},SCALAR:{value:s.a.SCALAR,description:\"Location adjacent to a scalar definition.\"},OBJECT:{value:s.a.OBJECT,description:\"Location adjacent to an object type definition.\"},FIELD_DEFINITION:{value:s.a.FIELD_DEFINITION,description:\"Location adjacent to a field definition.\"},ARGUMENT_DEFINITION:{value:s.a.ARGUMENT_DEFINITION,description:\"Location adjacent to an argument definition.\"},INTERFACE:{value:s.a.INTERFACE,description:\"Location adjacent to an interface definition.\"},UNION:{value:s.a.UNION,description:\"Location adjacent to a union definition.\"},ENUM:{value:s.a.ENUM,description:\"Location adjacent to an enum definition.\"},ENUM_VALUE:{value:s.a.ENUM_VALUE,description:\"Location adjacent to an enum value definition.\"},INPUT_OBJECT:{value:s.a.INPUT_OBJECT,description:\"Location adjacent to an input object type definition.\"},INPUT_FIELD_DEFINITION:{value:s.a.INPUT_FIELD_DEFINITION,description:\"Location adjacent to an input object field definition.\"}}}),h=new u.f({name:\"__Type\",description:\"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\\n\\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.\",fields:function(){return{kind:{type:new u.e(b),resolve:function(e){return Object(u.R)(e)?y.SCALAR:Object(u.N)(e)?y.OBJECT:Object(u.H)(e)?y.INTERFACE:Object(u.T)(e)?y.UNION:Object(u.E)(e)?y.ENUM:Object(u.F)(e)?y.INPUT_OBJECT:Object(u.J)(e)?y.LIST:Object(u.L)(e)?y.NON_NULL:void Object(o.a)(0,'Unexpected type: \"'.concat(Object(i.a)(e),'\".'))}},name:{type:c.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:c.e,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new u.d(new u.e(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.N)(e)||Object(u.H)(e)){var i=Object(r.a)(e.getFields());return n?i:i.filter((function(e){return null==e.deprecationReason}))}}},interfaces:{type:new u.d(new u.e(h)),resolve:function(e){if(Object(u.N)(e)||Object(u.H)(e))return e.getInterfaces()}},possibleTypes:{type:new u.d(new u.e(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:new u.d(new u.e(g)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.E)(e)){var r=e.getValues();return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},inputFields:{type:new u.d(new u.e(v)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.F)(e)){var i=Object(r.a)(e.getFields());return n?i:i.filter((function(e){return null==e.deprecationReason}))}}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new u.f({name:\"__Field\",description:\"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:new u.e(new u.d(new u.e(v))),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}},type:{type:new u.e(h),resolve:function(e){return e.type}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),v=new u.f({name:\"__InputValue\",description:\"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:new u.e(h),resolve:function(e){return e.type}},defaultValue:{type:c.e,description:\"A GraphQL-formatted string representing the default value for this input value.\",resolve:function(e){var t=e.type,n=e.defaultValue,r=Object(l.a)(n,t);return r?Object(a.print)(r):null}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),g=new u.f({name:\"__EnumValue\",description:\"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=Object.freeze({SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",INPUT_OBJECT:\"INPUT_OBJECT\",LIST:\"LIST\",NON_NULL:\"NON_NULL\"}),b=new u.a({name:\"__TypeKind\",description:\"An enum describing what kind of type a given `__Type` is.\",values:{SCALAR:{value:y.SCALAR,description:\"Indicates this type is a scalar.\"},OBJECT:{value:y.OBJECT,description:\"Indicates this type is an object. `fields` and `interfaces` are valid fields.\"},INTERFACE:{value:y.INTERFACE,description:\"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.\"},UNION:{value:y.UNION,description:\"Indicates this type is a union. `possibleTypes` is a valid field.\"},ENUM:{value:y.ENUM,description:\"Indicates this type is an enum. `enumValues` is a valid field.\"},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:\"Indicates this type is an input object. `inputFields` is a valid field.\"},LIST:{value:y.LIST,description:\"Indicates this type is a list. `ofType` is a valid field.\"},NON_NULL:{value:y.NON_NULL,description:\"Indicates this type is a non-null. `ofType` is a valid field.\"}}}),E={name:\"__schema\",type:new u.e(f),description:\"Access the current type schema of this server.\",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},w={name:\"__type\",type:h,description:\"Request the type information of a single type.\",args:[{name:\"name\",description:void 0,type:new u.e(c.e),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},k={name:\"__typename\",type:new u.e(c.e),description:\"The name of the current Object type at runtime.\",args:[],resolve:function(e,t,n,r){return r.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},T=Object.freeze([f,p,d,h,m,v,g,b]);function O(e){return T.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){e.exports=n(168)},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"print\",(function(){return o}));var r=n(23),i=n(38);function o(e){return Object(r.c)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return\"$\"+e.name},Document:function(e){return l(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u(\"(\",l(e.variableDefinitions,\", \"),\")\"),i=l(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?l([t,l([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+u(\" = \",r)+u(\" \",l(i,\" \"))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet,a=u(\"\",t,\": \")+n,s=a+u(\"(\",l(r,\", \"),\")\");return s.length>80&&(s=a+u(\"(\\n\",f(l(r,\"\\n\")),\"\\n)\")),l([s,l(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+u(\" \",l(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l([\"...\",u(\"on \",t),l(n,\" \"),r],\" \")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return\"fragment \".concat(t).concat(u(\"(\",l(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(u(\"\",l(i,\" \"),\" \"))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(i.c)(n,\"description\"===t?\"\":\" \"):JSON.stringify(n)},BooleanValue:function(e){return e.value?\"true\":\"false\"},NullValue:function(){return\"null\"},EnumValue:function(e){return e.value},ListValue:function(e){return\"[\"+l(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+l(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+u(\"(\",l(e.arguments,\", \"),\")\")},NamedType:function(e){return e.name},ListType:function(e){return\"[\"+e.type+\"]\"},NonNullType:function(e){return e.type+\"!\"},SchemaDefinition:s((function(e){var t=e.directives,n=e.operationTypes;return l([\"schema\",l(t,\" \"),c(n)],\" \")})),OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:s((function(e){return l([\"scalar\",e.name,l(e.directives,\" \")],\" \")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+\": \"+r+u(\" \",l(i,\" \"))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+\": \"+n,u(\"= \",r),l(i,\" \")],\" \")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return l([\"union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return l([\"enum\",t,l(n,\" \"),c(r)],\" \")})),EnumValueDefinition:s((function(e){return l([e.name,l(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"input\",t,l(n,\" \"),c(r)],\" \")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+l(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l([\"extend schema\",l(t,\" \"),c(n)],\" \")},ScalarTypeExtension:function(e){return l([\"extend scalar\",e.name,l(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l([\"extend union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l([\"extend enum\",t,l(n,\" \"),c(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"extend input\",t,l(n,\" \"),c(r)],\" \")}};function s(e){return function(t){return l([t.description,e(t)],\"\\n\")}}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return null!==(t=null===e||void 0===e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:\"\"}function c(e){return u(\"{\\n\",f(l(e,\"\\n\")),\"\\n}\")}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return null!=t&&\"\"!==t?e+t+n:\"\"}function f(e){return u(\" \",e.replace(/\\n/g,\"\\n \"))}function p(e){return-1!==e.indexOf(\"\\n\")}function d(e){return null!=e&&e.some(p)}},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:\"Unexpected invariant triggered.\")}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";var r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))};t.a=r},function(e,t,n){\"use strict\";n.d(t,\"j\",(function(){return m})),n.d(t,\"i\",(function(){return v})),n.d(t,\"d\",(function(){return g})),n.d(t,\"e\",(function(){return y})),n.d(t,\"f\",(function(){return b})),n.d(t,\"b\",(function(){return E})),n.d(t,\"h\",(function(){return w})),n.d(t,\"a\",(function(){return k})),n.d(t,\"c\",(function(){return T})),n.d(t,\"g\",(function(){return O})),n.d(t,\"l\",(function(){return x})),n.d(t,\"k\",(function(){return _}));var r=n(39),i=n(17),o=n(4),a=n(27),s=n(8),l=n(29),c=n(21),u=n(34),f=n(7),p=n(9),d=n(0);function h(e,t){for(var n=0;n2),v=/Android/.test(e),g=m||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\\bCrOS\\b/.test(e),E=/win/i.test(t),w=f&&e.match(/Version\\/(\\d*\\.\\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(f=!1,l=!0);var k=y&&(c||f&&(null==w||w<12.11)),T=n||a&&s>=9;function O(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}var x,_=function(e,t){var n=e.className,r=O(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:\"\")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function S(e,t){return C(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),\"string\"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(t){}});var V=function(){this.id=null,this.f=null,this.time=0,this.handler=R(this.onTimeout,this)};function U(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var W=[\"\"];function Q(e){for(;W.length<=e;)W.push(K(W)+\" \");return W[e]}function K(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r\"\\x80\"&&(e.toUpperCase()!=e.toLowerCase()||X.test(e))}function ee(e,t){return t?!!(t.source.indexOf(\"\\\\w\")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&\"before\"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&\"before\"!=n?r=i:ae=i)}return null!=r?r:ae}var le=function(){var e=/[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var l=\"ltr\"==s?\"L\":\"R\";if(0==a.length||\"ltr\"==s&&!e.test(a))return!1;for(var c,u=a.length,f=[],p=0;p-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function he(e,t){var n=pe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function ye(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ee(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function we(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ke(e){be(e),Ee(e)}function Te(e){return e.target||e.srcElement}function Oe(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var xe,_e,Ce=function(){if(a&&s<9)return!1;var e=N(\"div\");return\"draggable\"in e||\"dragDrop\"in e}();function Se(e){if(null==xe){var t=N(\"span\",\"\\u200b\");S(e,N(\"span\",[t,document.createTextNode(\"x\")])),0!=e.firstChild.offsetHeight&&(xe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=xe?N(\"span\",\"\\u200b\"):N(\"span\",\"\\xa0\",null,\"display: inline-block; width: 1px; margin-right: -1px\");return n.setAttribute(\"cm-text\",\"\"),n}function Ne(e){if(null!=_e)return _e;var t=S(e,document.createTextNode(\"A\\u062eA\")),n=x(t,0,1).getBoundingClientRect(),r=x(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(_e=r.right-n.right<3)}var De=3!=\"\\n\\nb\".split(/\\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(\"\\n\",t);-1==i&&(i=e.length);var o=e.slice(t,\"\\r\"==e.charAt(i-1)?i-1:i),a=o.indexOf(\"\\r\");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\\r\\n?|\\n/)},Ae=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints(\"StartToEnd\",t)},Ie=function(){var e=N(\"div\");return\"oncopy\"in e||(e.setAttribute(\"oncopy\",\"return;\"),\"function\"==typeof e.oncopy)}(),je=null,Le={},Fe={};function Re(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Le[e]=t}function Me(e){if(\"string\"==typeof e&&Fe.hasOwnProperty(e))e=Fe[e];else if(e&&\"string\"==typeof e.name&&Fe.hasOwnProperty(e.name)){var t=Fe[e.name];\"string\"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(e))return Me(\"application/xml\");if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(e))return Me(\"application/json\")}return\"string\"==typeof e?{name:e}:e||{name:\"null\"}}function Pe(e,t){t=Me(t);var n=Le[t.name];if(!n)return Pe(e,\"text/plain\");var r=n(e,t);if(Ve.hasOwnProperty(t.name)){var i=Ve[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r[\"_\"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ve={};function Ue(e,t){M(t,Ve.hasOwnProperty(e)?Ve[e]:Ve[e]={})}function Be(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function ze(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function qe(e,t,n){return!e.startState||e.startState(t,n)}var He=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ge(e,t){if((t-=e.first)<0||t>=e.size)throw new Error(\"There is no line \"+(t+e.first)+\" in the document.\");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?Ze(n,Ge(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?Ze(e.line,t):n<0?Ze(e.line,0):e}(t,Ge(e,t.line).text.length)}function st(e,t){for(var n=[],r=0;r=this.string.length},He.prototype.sol=function(){return this.pos==this.lineStart},He.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},He.prototype.next=function(){if(this.post},He.prototype.eatSpace=function(){for(var e=this.pos;/[\\s\\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},He.prototype.skipToEnd=function(){this.pos=this.string.length},He.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},He.prototype.backUp=function(e){this.pos-=e},He.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},He.prototype.current=function(){return this.string.slice(this.start,this.pos)},He.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},He.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},He.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var lt=function(e,t){this.state=e,this.lookAhead=t},ct=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ut(e,t,n,r){var i=[e.state.modeGen],o={};bt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,bt(e,t.text,s.mode,n,(function(e,t){for(var n=l;ce&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,\"overlay \"+t),l=n+2;else for(;ne.options.maxHighlightLength&&Be(e.doc.mode,r.state),o=ut(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function pt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ct(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ge(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof lt?c.lookAhead:0)<=o.modeFrontier))return s;var u=P(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}(e,t,n),a=o>r.first&&Ge(r,o-1).stateAfter,s=a?ct.fromSaved(r,a,o):new ct(r,qe(r.mode),o);return r.iter(o,t,(function(n){dt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error(\"Mode \"+e.name+\" failed to advance stream.\")}ct.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ct.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,\"\"),size:this.baseTokens[this.baseTokenPos]-e}},ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ct.fromSaved=function(e,t,n){return t instanceof lt?new ct(e,Be(e.mode,t.state),n,t.lookAhead):new ct(e,Be(e.mode,t),n)},ct.prototype.save=function(e){var t=!1!==e?Be(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new lt(t,this.maxLookAhead):t};var vt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function gt(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Ge(a,(t=at(a,t)).line),c=pt(e,t.line,n),u=new He(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pose.options.maxHighlightLength?(s=!1,a&&dt(e,t,r,f.pos),f.pos=t.length,l=null):l=yt(mt(n,f,r.state,p),o),p){var d=p[0].name;d&&(l=\"m-\"+(l?d+\" \"+l:d))}if(!s||u!=l){for(;c=t:o.to>t);(r||(r=[])).push(new kt(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t)||o.from==t&&\"bookmark\"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var b=0;bt)&&(!n||At(n,o.marker)<0)&&(n=o.marker)}return n}function Rt(e,t,n,r,i){var o=Ge(e,t),a=wt&&o.markedSpans;if(a)for(var s=0;s=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?et(c.to,n)>=0:et(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?et(c.from,r)<=0:et(c.from,r)<0)))return!0}}}function Mt(e){for(var t;t=jt(e);)e=t.find(-1,!0).line;return e}function Pt(e,t){var n=Ge(e,t),r=Mt(n);return n==r?t:Ye(r)}function Vt(e,t){if(t>e.lastLine())return t;var n,r=Ge(e,t);if(!Ut(e,r))return t;for(;n=Lt(r);)r=n.find(1,!0).line;return Ye(r)+1}function Ut(e,t){var n=wt&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Gt=function(e,t,n){this.text=e,St(this,t),this.height=n?n(this):1};function Wt(e){e.parent=null,Ct(e)}Gt.prototype.lineNo=function(){return Ye(this)},ye(Gt);var Qt={},Kt={};function Yt(e,t){if(!e||/^\\s*$/.test(e))return null;var n=t.addModeClass?Kt:Qt;return n[e]||(n[e]=e.replace(/\\S+/g,\"cm-$&\"))}function Jt(e,t){var n=D(\"span\",null,null,l?\"padding-right: .1px\":null),r={pre:D(\"pre\",[n],\"CodeMirror-line\"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption(\"lineWrapping\")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Xt,Ne(e.display.measure)&&(a=ce(o,e.doc.direction))&&(r.addToken=Zt(r.addToken,a)),r.map=[],tn(o,r,ft(e,o,t!=e.display.externalMeasured&&Ye(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=L(o.styleClasses.bgClass,r.bgClass||\"\")),o.styleClasses.textClass&&(r.textClass=L(o.styleClasses.textClass,r.textClass||\"\"))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Se(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\\bcm-tab\\b/.test(s.className)||s.querySelector&&s.querySelector(\".cm-tab\"))&&(r.content.className=\"cm-tab-wrap-hack\")}return he(e,\"renderLine\",e,t.line,r.pre),r.pre.className&&(r.textClass=L(r.pre.className,r.textClass||\"\")),r}function $t(e){var t=N(\"span\",\"\\u2022\",\"cm-invalidchar\");return t.title=\"\\\\u\"+e.charCodeAt(0).toString(16),t.setAttribute(\"aria-label\",t.title),t}function Xt(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r=\"\",i=0;ic&&f.from<=c);p++);if(f.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-c),i,o,null,s,l),o=null,r=r.slice(f.to-c),c=f.to}}}function en(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement(\"span\"))),i.setAttribute(\"cm-marker\",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function tn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,f,p,d=i.length,h=0,m=1,v=\"\",g=0;;){if(g==h){l=c=u=s=\"\",p=null,f=null,g=1/0;for(var y=[],b=void 0,E=0;Eh||k.collapsed&&w.to==h&&w.from==h)){if(null!=w.to&&w.to!=h&&g>w.to&&(g=w.to,c=\"\"),k.className&&(l+=\" \"+k.className),k.css&&(s=(s?s+\";\":\"\")+k.css),k.startStyle&&w.from==h&&(u+=\" \"+k.startStyle),k.endStyle&&w.to==g&&(b||(b=[])).push(k.endStyle,w.to),k.title&&((p||(p={})).title=k.title),k.attributes)for(var T in k.attributes)(p||(p={}))[T]=k.attributes[T];k.collapsed&&(!f||At(f.marker,k)<0)&&(f=w)}else w.from>h&&g>w.from&&(g=w.from)}if(b)for(var O=0;O=d)break;for(var _=Math.min(d,g);;){if(v){var C=h+v.length;if(!f){var S=C>_?v.slice(0,_-h):v;t.addToken(t,S,a?a+l:l,u,h+S.length==g?c:\"\",s,p)}if(C>=_){v=v.slice(_-h),h=_;break}h=C,u=\"\"}v=i.slice(o,o=n[m++]),a=Yt(n[m++],t.cm.options)}}else for(var N=1;Nn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Nn(e,t,n,r){return In(e,An(e,t),n,r)}function Dn(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Fn(t.map,n,r),l=o.node,c=o.start,u=o.end,f=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&re(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(f=r=\"right\"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d[\"right\"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+rr(e.display),top:h.top,bottom:h.bottom}:Ln}for(var m=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(m+v)/2,y=t.view.measure.heights,b=0;bt)&&(i=(o=l-s)-1,t>=l&&(a=\"right\")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?\"left\":\"right\")&&(a=n),\"left\"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a=\"left\";if(\"right\"==n&&i==l-s)for(;c=0&&(n=e[i]).left==n.right;i--);return n}function Mn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(l=r.text.length,c=\"before\"):l<=0&&(l=0,c=\"after\"),!s)return a(\"before\"==c?l-1:l,\"before\"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var f=se(s,l,c),p=ae,d=u(l,f,\"before\"==c);return null!=p&&(d.other=u(l,p,\"before\"!=c)),d}function Qn(e,t){var n=0;t=at(e.doc,t),e.options.lineWrapping||(n=rr(e.display)*t.ch);var r=Ge(e.doc,t.line),i=zt(r)+kn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Kn(e,t,n,r,i){var o=Ze(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Yn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Kn(r.first,0,null,-1,-1);var i=Je(r,n),o=r.first+r.size-1;if(i>o)return Kn(r.first+r.size-1,Ge(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ge(r,i);;){var s=Zn(e,a,i,t,n),l=Ft(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ge(r,i=c.line)}}function Jn(e,t,n,r){r-=zn(t);var i=t.text.length,o=oe((function(t){return In(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return In(e,n,t).top>r}),o,i)}}function $n(e,t,n,r){return n||(n=An(e,t)),Jn(e,t,n,qn(e,t,In(e,n,r),\"line\").top)}function Xn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Zn(e,t,n,r,i){i-=zt(t);var o=An(e,t),a=zn(t),s=0,l=t.text.length,c=!0,u=ce(t,e.doc.direction);if(u){var f=(e.options.lineWrapping?tr:er)(e,t,n,o,u,r,i);s=(c=1!=f.level)?f.from:f.to-1,l=c?f.to:f.from-1}var p,d,h=null,m=null,v=oe((function(t){var n=In(e,o,t);return n.top+=a,n.bottom+=a,!!Xn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,l),g=!1;if(m){var y=r-m.left=E.bottom?1:0}return Kn(n,v=ie(t.text,v,1),d,g,r-p)}function er(e,t,n,r,i,o,a){var s=oe((function(s){var l=i[s],c=1!=l.level;return Xn(Wn(e,Ze(n,c?l.to:l.from,c?\"before\":\"after\"),\"line\",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Wn(e,Ze(n,c?l.from:l.to,c?\"after\":\"before\"),\"line\",t,r);Xn(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function tr(e,t,n,r,i,o,a){var s=Jn(e,t,r,a),l=s.begin,c=s.end;/\\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,f=null,p=0;p=c||d.to<=l)){var h=In(e,r,1!=d.level?Math.min(c,d.to)-1:Math.max(l,d.from)).right,m=hm)&&(u=d,f=m)}}return u||(u=i[i.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function nr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==jn){jn=N(\"pre\",null,\"CodeMirror-line-like\");for(var t=0;t<49;++t)jn.appendChild(document.createTextNode(\"x\")),jn.appendChild(N(\"br\"));jn.appendChild(document.createTextNode(\"x\"))}S(e.measure,jn);var n=jn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function rr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N(\"span\",\"xxxxxxxxxx\"),n=N(\"pre\",[t],\"CodeMirror-line-like\");S(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function ir(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:or(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function or(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function ar(e){var t=nr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/rr(e.display)-3);return function(i){if(Ut(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(l=Ge(e.doc,c.line).text).length==c.ch){var u=P(l,l.length,e.options.tabSize)-l.length;c=Ze(c.line,Math.max(0,Math.round((o-On(e.display).left)/rr(e.display))-u))}return c}function cr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)wt&&Pt(e.doc,t)i.viewFrom?pr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)pr(e);else if(t<=i.viewFrom){var o=dr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):pr(e)}else if(n>=i.viewTo){var a=dr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):pr(e)}else{var s=dr(e,t,t,-1),l=dr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(rn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):pr(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[cr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function pr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function dr(e,t,n,r){var i,o=cr(e,t),a=e.display.view;if(!wt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Pt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function hr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||s.to().linet||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?\"rtl\":\"ltr\",o),i=!0)}i||r(t,n,\"ltr\")}(m,n||0,null==r?p:r,(function(e,t,i,f){var v=\"ltr\"==i,g=d(e,v?\"left\":\"right\"),y=d(t-1,v?\"right\":\"left\"),b=null==n&&0==e,E=null==r&&t==p,w=0==f,k=!m||f==m.length-1;if(y.top-g.top<=3){var T=(c?E:b)&&k,O=(c?b:E)&&w?s:(v?g:y).left,x=T?l:(v?y:g).right;u(O,g.top,x-O,g.bottom)}else{var _,C,S,N;v?(_=c&&b&&w?s:g.left,C=c?l:h(e,i,\"before\"),S=c?s:h(t,i,\"after\"),N=c&&E&&k?l:y.right):(_=c?h(e,i,\"before\"):s,C=!c&&b&&w?l:g.right,S=!c&&E&&k?s:y.left,N=c?h(t,i,\"after\"):l),u(_,g.top,C-_,g.bottom),g.bottom0?t.blinker=setInterval((function(){e.hasFocus()||Or(e),t.cursorDiv.style.visibility=(n=!n)?\"\":\"hidden\"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility=\"hidden\")}}function wr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Tr(e))}function kr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Or(e))}),100)}function Tr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),\"nocursor\"!=e.options.readOnly&&(e.state.focused||(he(e,\"focus\",e,t),e.state.focused=!0,j(e.display.wrapper,\"CodeMirror-focused\"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Er(e))}function Or(e,t){e.state.delayingBlurEvent||(e.state.focused&&(he(e,\"blur\",e,t),e.state.focused=!1,_(e.display.wrapper,\"CodeMirror-focused\")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function xr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||p<-.005)&&(Ke(i.line,l),_r(i.line),i.rest))for(var d=0;de.display.sizerWidth){var h=Math.ceil(c/rr(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function _r(e){if(e.widgets)for(var t=0;t=a&&(o=Je(t,zt(Ge(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Sr(e,t){var n=e.display,r=nr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Cn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Tn(n),l=t.tops-r;if(t.topi+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.options.fixedGutter?0:n.gutters.offsetWidth,p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-f,d=_n(e)-n.gutters.offsetWidth,h=t.right-t.left>d;return h&&(t.right=t.left+d),t.left<10?a.scrollLeft=0:t.leftd+p-3&&(a.scrollLeft=t.right+(h?0:10)-d),a}function Nr(e,t){null!=t&&(Ir(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Dr(e){Ir(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ar(e,t,n){null==t&&null==n||Ir(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Ir(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,jr(e,Qn(e,t.from),Qn(e,t.to),t.margin))}function jr(e,t,n,r){var i=Sr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Ar(e,i.scrollLeft,i.scrollTop)}function Lr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||si(e,{top:t}),Fr(e,t,!0),n&&si(e),ni(e,100))}function Fr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Rr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,ui(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Mr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Tn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+xn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Pr=function(e,t,n){this.cm=n;var r=this.vert=N(\"div\",[N(\"div\",null,null,\"min-width: 1px\")],\"CodeMirror-vscrollbar\"),i=this.horiz=N(\"div\",[N(\"div\",null,null,\"height: 100%; min-height: 1px\")],\"CodeMirror-hscrollbar\");r.tabIndex=i.tabIndex=-1,e(r),e(i),fe(r,\"scroll\",(function(){r.clientHeight&&t(r.scrollTop,\"vertical\")})),fe(i,\"scroll\",(function(){i.clientWidth&&t(i.scrollLeft,\"horizontal\")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth=\"18px\")};Pr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display=\"block\",this.vert.style.bottom=t?r+\"px\":\"0\";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+\"px\"}else this.vert.style.display=\"\",this.vert.firstChild.style.height=\"0\";if(t){this.horiz.style.display=\"block\",this.horiz.style.right=n?r+\"px\":\"0\",this.horiz.style.left=e.barLeft+\"px\";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+\"px\"}else this.horiz.style.display=\"\",this.horiz.firstChild.style.width=\"0\";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Pr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,\"horiz\")},Pr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,\"vert\")},Pr.prototype.zeroWidthHack=function(){var e=y&&!d?\"12px\":\"18px\";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents=\"none\",this.disableHoriz=new V,this.disableVert=new V},Pr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents=\"auto\",t.set(1e3,(function r(){var i=e.getBoundingClientRect();(\"vert\"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents=\"none\":t.set(1e3,r)}))},Pr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Vr=function(){};function Ur(e,t){t||(t=Mr(e));var n=e.display.barWidth,r=e.display.barHeight;Br(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&xr(e),Br(e,Mr(e)),n=e.display.barWidth,r=e.display.barHeight}function Br(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+\"px\",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+\"px\",n.heightForcer.style.borderBottom=r.bottom+\"px solid transparent\",r.right&&r.bottom?(n.scrollbarFiller.style.display=\"block\",n.scrollbarFiller.style.height=r.bottom+\"px\",n.scrollbarFiller.style.width=r.right+\"px\"):n.scrollbarFiller.style.display=\"\",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display=\"block\",n.gutterFiller.style.height=r.bottom+\"px\",n.gutterFiller.style.width=t.gutterWidth+\"px\"):n.gutterFiller.style.display=\"\"}Vr.prototype.update=function(){return{bottom:0,right:0}},Vr.prototype.setScrollLeft=function(){},Vr.prototype.setScrollTop=function(){},Vr.prototype.clear=function(){};var zr={native:Pr,null:Vr};function qr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&_(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new zr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,\"mousedown\",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute(\"cm-not-content\",\"true\")}),(function(t,n){\"horizontal\"==n?Rr(e,t):Lr(e,t)}),e),e.display.scrollbars.addClass&&j(e.display.wrapper,e.display.scrollbars.addClass)}var Hr=0;function Gr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Hr},t=e.curOp,on?on.ops.push(t):t.ownsGroup=on={ops:[t],delayedCallbacks:[]}}function Wr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Kr(e){e.updatedDisplay=e.mustUpdate&&oi(e.cm,e.update)}function Yr(e){var t=e.cm,n=t.display;e.updatedDisplay&&xr(t),e.barMeasure=Mr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Nn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+xn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-_n(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Jr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+\"px\",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=N(\"div\",\"\\u200b\",null,\"position: absolute;\\n top: \"+(t.top-n.viewOffset-kn(e.display))+\"px;\\n height: \"+(t.bottom-t.top+xn(e)+n.barHeight)+\"px;\\n left: \"+t.left+\"px; width: \"+Math.max(2,t.right-t.left)+\"px;\");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n=\"before\"==(t=t.ch?Ze(t.line,\"before\"==t.sticky?t.ch-1:t.ch,\"after\"):t).sticky?Ze(t.line,t.ch+1,\"before\"):t);for(var o=0;o<5;o++){var a=!1,s=Wn(e,t),l=n&&n!=t?Wn(e,n):s,c=Sr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(Lr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Rr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}(t,at(r,e.scrollToPos.from),at(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a=e.display.viewTo)){var n=+new Date+e.options.workTime,r=pt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Be(t.mode,r.state):null,l=ut(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!f&&pn)return ni(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Xr(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==hr(e))return!1;fi(e)&&(pr(e),t.dims=ir(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),wt&&(o=Pt(e.doc,o),a=Vt(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=rn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=rn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,cr(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=zt(Ge(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+\"px\";var c=hr(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=I();if(!t||!A(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&A(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display=\"none\"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display=\"none\":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,f=0;f-1&&(d=!1),cn(e,p,u,n)),d&&(C(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(Xe(e.options,u)))),a=p.node.nextSibling}else{var h=vn(e,p,u,n);o.insertBefore(h,a)}u+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=\"\"),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=I()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&A(document.body,e.anchorNode)&&A(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ni(e,400)),n.updateLineNumbers=null,!0}function ai(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=_n(e))r&&(t.visible=Cr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Tn(e.display)-Cn(e),n.top)}),t.visible=Cr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!oi(e,t))break;xr(e);var i=Mr(e);mr(e),Ur(e,i),ci(e,i),t.force=!1}t.signal(e,\"update\",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,\"viewportChange\",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function si(e,t){var n=new ii(e,t);if(oi(e,n)){xr(e),ai(e,n);var r=Mr(e);mr(e),Ur(e,r),ci(e,r),n.finish()}}function li(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+\"px\"}function ci(e,t){e.display.sizer.style.minHeight=t.docHeight+\"px\",e.display.heightForcer.style.top=t.docHeight+\"px\",e.display.gutters.style.height=t.docHeight+e.display.barHeight+xn(e)+\"px\"}function ui(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=or(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+\"px\",a=0;as.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var h=0;h=0&&et(e,r.to())<=0)return n}return-1};var ki=function(e,t){this.anchor=e,this.head=t};function Ti(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return et(e.from(),t.from())})),n=U(t,i);for(var o=1;o0:l>=0){var c=it(s.from(),a.from()),u=rt(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new ki(f?u:c,f?c:u))}}return new wi(t,n)}function Oi(e,t){return new wi([new ki(e,t||e)],0)}function xi(e){return e.text?Ze(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function _i(e,t){if(et(e,t.from)<0)return e;if(et(e,t.to)<=0)return xi(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=xi(t).ch-t.to.ch),Ze(n,r)}function Ci(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}sn(e,\"change\",e,t)}function ji(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;as-(e.cm?e.cm.options.historyEventDelay:500)||\"*\"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Pi(e.done),K(e.done)):e.done.length&&!K(e.done).ranges?K(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}(i,i.lastOp==r)))a=K(o.changes),0==et(t.from,t.to)&&0==et(t.from,a.to)?a.to=xi(t):o.changes.push(Mi(e,t));else{var l=K(i.done);for(l&&l.ranges||Bi(e.sel,i.done),o={changes:[Mi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||he(e,\"historyAdded\")}function Ui(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return\"*\"==i||\"+\"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,K(i.done),t))?i.done[i.done.length-1]=t:Bi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Pi(i.undone)}function Bi(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function zi(e,t,n,r){var i=t[\"spans_\"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t[\"spans_\"+e.id]={}))[o]=n.markedSpans),++o}))}function qi(e){if(!e)return null;for(var t,n=0;n-1&&(K(s)[f]=c[f],delete c[f])}}}return r}function Wi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=et(t,i)<0;o!=et(n,i)<0?(i=t,t=n):o!=et(t,n)<0&&(t=n)}return new ki(i,t)}return new ki(n||t,t)}function Qi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Xi(e,new wi([Wi(e.sel.primary(),t,n,i)],0),r)}function Ki(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(he(l,\"beforeCursorEnter\"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),p=void 0;if((r<0?u:c)&&(f=oo(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=et(f,n))&&(r<0?p<0:p>0))return ro(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?c:u)&&(d=oo(e,d,r,d.line==t.line?o:null)),d?ro(e,d,t,r,i):null}}return t}function io(e,t,n,r,i){var o=r||1,a=ro(e,t,n,o,i)||!i&&ro(e,t,n,o,!0)||ro(e,t,n,-o,i)||!i&&ro(e,t,n,-o,!0);return a||(e.cantEdit=!0,Ze(e.first,0))}function oo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?at(e,Ze(t.line-1)):null:n>0&&t.ch==(r||Ge(e,t.line)).text.length?t.line0)){var u=[l,1],f=et(c.from,s.from),p=et(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)co(e,{from:r[i].from,to:r[i].to,text:i?[\"\"]:t.text,origin:t.origin});else co(e,t)}}function co(e,t){if(1!=t.text.length||\"\"!=t.text[0]||0!=et(t.from,t.to)){var n=Ci(e,t);Vi(e,t,n,e.cm?e.cm.curOp.id:NaN),po(e,t,n,xt(e,t));var r=[];ji(e,(function(e,n){n||-1!=U(r,e.history)||(go(e.history,t),r.push(e.history)),po(e,t,null,xt(e,t))}))}}function uo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s=\"undo\"==t?o.done:o.undone,l=\"undo\"==t?o.undone:o.done,c=0;c=0;--d){var h=p(d);if(h)return h.v}}}}function fo(e,t){if(0!=t&&(e.first+=t,e.sel=new wi(Y(e.sel.ranges,(function(e){return new ki(Ze(e.anchor.line+t,e.anchor.ch),Ze(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){ur(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Ze(o,Ge(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=We(e,t.from,t.to),n||(n=Ci(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Ye(Mt(Ge(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Ii(r,t,n,ar(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=qt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=Ge(e,r).stateAfter;if(i&&(!(i instanceof lt)||r+i.lookAhead1||!(this.children[0]instanceof bo))){var s=[];this.collapse(s),this.children=[new bo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=D(\"span\",[o.replacedWith],\"CodeMirror-widget\"),r.handleMouseEvents||o.widgetNode.setAttribute(\"cm-ignore-events\",\"true\"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Rt(e,t.line,t,n,o)||t.line!=n.line&&Rt(e,n.line,t,n,o))throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");wt=!0}o.addToHistory&&Vi(e,{from:t,to:n,origin:\"markText\"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Mt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ke(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new kt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Ut(e,t)&&Ke(t,0)})),o.clearOnEnter&&fe(o,\"beforeCursorEnter\",(function(){return o.clear()})),o.readOnly&&(Et=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++To,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)ur(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)fr(c,u,\"text\");o.atomic&&to(c.doc),sn(c,\"markerAdded\",c,o)}return o}Oo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Gr(e),ge(this,\"clear\")){var n=this.find();n&&sn(this,\"clear\",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&ur(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&to(e.doc)),e&&sn(e,\"markerCleared\",e,this,r,i),t&&Wr(e),this.parent&&this.parent.clear()}},Oo.prototype.find=function(e,t){var n,r;null==e&&\"bookmark\"==this.type&&(e=1);for(var i=0;i=0;l--)lo(this,r[l]);s?$i(this,s):this.cm&&Dr(this.cm)})),undo:ti((function(){uo(this,\"undo\")})),redo:ti((function(){uo(this,\"redo\")})),undoSelection:ti((function(){uo(this,\"undo\",!0)})),redoSelection:ti((function(){uo(this,\"redo\",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=at(this,e),t=at(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),at(this,Ze(n,t))},indexFromPos:function(e){var t=(e=at(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData(\"Text\");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),Zi(t.doc,Oi(n,n)),p)for(var d=0;d=0;t--)ho(e.doc,\"\",r[t].from,r[t].to,\"+delete\");Dr(e)}))}function $o(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Xo(e,t,n){var r=$o(e,t.ch,n);return null==r?null:new Ze(t.line,r,n<0?\"after\":\"before\")}function Zo(e,t,n,r,i){if(e){\"rtl\"==t.doc.direction&&(i=-i);var o=ce(n,t.doc.direction);if(o){var a,s=i<0?K(o):o[0],l=i<0==(1==s.level)?\"after\":\"before\";if(s.level>0||\"rtl\"==t.doc.direction){var c=An(t,n);a=i<0?n.text.length-1:0;var u=In(t,c,a).top;a=oe((function(e){return In(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),\"before\"==l&&(a=$o(n,a,1))}else a=i<0?s.to:s.from;return new Ze(r,a,l)}}return new Ze(r,i<0?n.text.length:0,i<0?\"before\":\"after\")}zo.basic={Left:\"goCharLeft\",Right:\"goCharRight\",Up:\"goLineUp\",Down:\"goLineDown\",End:\"goLineEnd\",Home:\"goLineStartSmart\",PageUp:\"goPageUp\",PageDown:\"goPageDown\",Delete:\"delCharAfter\",Backspace:\"delCharBefore\",\"Shift-Backspace\":\"delCharBefore\",Tab:\"defaultTab\",\"Shift-Tab\":\"indentAuto\",Enter:\"newlineAndIndent\",Insert:\"toggleOverwrite\",Esc:\"singleSelection\"},zo.pcDefault={\"Ctrl-A\":\"selectAll\",\"Ctrl-D\":\"deleteLine\",\"Ctrl-Z\":\"undo\",\"Shift-Ctrl-Z\":\"redo\",\"Ctrl-Y\":\"redo\",\"Ctrl-Home\":\"goDocStart\",\"Ctrl-End\":\"goDocEnd\",\"Ctrl-Up\":\"goLineUp\",\"Ctrl-Down\":\"goLineDown\",\"Ctrl-Left\":\"goGroupLeft\",\"Ctrl-Right\":\"goGroupRight\",\"Alt-Left\":\"goLineStart\",\"Alt-Right\":\"goLineEnd\",\"Ctrl-Backspace\":\"delGroupBefore\",\"Ctrl-Delete\":\"delGroupAfter\",\"Ctrl-S\":\"save\",\"Ctrl-F\":\"find\",\"Ctrl-G\":\"findNext\",\"Shift-Ctrl-G\":\"findPrev\",\"Shift-Ctrl-F\":\"replace\",\"Shift-Ctrl-R\":\"replaceAll\",\"Ctrl-[\":\"indentLess\",\"Ctrl-]\":\"indentMore\",\"Ctrl-U\":\"undoSelection\",\"Shift-Ctrl-U\":\"redoSelection\",\"Alt-U\":\"redoSelection\",fallthrough:\"basic\"},zo.emacsy={\"Ctrl-F\":\"goCharRight\",\"Ctrl-B\":\"goCharLeft\",\"Ctrl-P\":\"goLineUp\",\"Ctrl-N\":\"goLineDown\",\"Alt-F\":\"goWordRight\",\"Alt-B\":\"goWordLeft\",\"Ctrl-A\":\"goLineStart\",\"Ctrl-E\":\"goLineEnd\",\"Ctrl-V\":\"goPageDown\",\"Shift-Ctrl-V\":\"goPageUp\",\"Ctrl-D\":\"delCharAfter\",\"Ctrl-H\":\"delCharBefore\",\"Alt-D\":\"delWordAfter\",\"Alt-Backspace\":\"delWordBefore\",\"Ctrl-K\":\"killLine\",\"Ctrl-T\":\"transposeChars\",\"Ctrl-O\":\"openLine\"},zo.macDefault={\"Cmd-A\":\"selectAll\",\"Cmd-D\":\"deleteLine\",\"Cmd-Z\":\"undo\",\"Shift-Cmd-Z\":\"redo\",\"Cmd-Y\":\"redo\",\"Cmd-Home\":\"goDocStart\",\"Cmd-Up\":\"goDocStart\",\"Cmd-End\":\"goDocEnd\",\"Cmd-Down\":\"goDocEnd\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\",\"Cmd-Left\":\"goLineLeft\",\"Cmd-Right\":\"goLineRight\",\"Alt-Backspace\":\"delGroupBefore\",\"Ctrl-Alt-Backspace\":\"delGroupAfter\",\"Alt-Delete\":\"delGroupAfter\",\"Cmd-S\":\"save\",\"Cmd-F\":\"find\",\"Cmd-G\":\"findNext\",\"Shift-Cmd-G\":\"findPrev\",\"Cmd-Alt-F\":\"replace\",\"Shift-Cmd-Alt-F\":\"replaceAll\",\"Cmd-[\":\"indentLess\",\"Cmd-]\":\"indentMore\",\"Cmd-Backspace\":\"delWrappedLineLeft\",\"Cmd-Delete\":\"delWrappedLineRight\",\"Cmd-U\":\"undoSelection\",\"Shift-Cmd-U\":\"redoSelection\",\"Ctrl-Up\":\"goDocStart\",\"Ctrl-Down\":\"goDocEnd\",fallthrough:[\"basic\",\"emacsy\"]},zo.default=y?zo.macDefault:zo.pcDefault;var ea={selectAll:ao,singleSelection:function(e){return e.setSelection(e.getCursor(\"anchor\"),e.getCursor(\"head\"),z)},killLine:function(e){return Jo(e,(function(t){if(t.empty()){var n=Ge(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new Ze(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Ze(i.line,i.ch-2),i,\"+transpose\");else if(i.line>e.doc.first){var a=Ge(e.doc,i.line-1).text;a&&(i=new Ze(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Ze(i.line-1,a.length-1),i,\"+transpose\"))}n.push(new ki(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Xr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,\"+input\");t=e.listSelections();for(var r=0;r-1&&(et((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(et(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,c=Zr(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:kr(e)),de(i.wrapper.ownerDocument,\"mouseup\",c),de(i.wrapper.ownerDocument,\"mousemove\",u),de(i.scroller,\"dragstart\",f),de(i.scroller,\"drop\",c),o||(be(t),r.addNew||Qi(e.doc,n,null,null,r.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,fe(i.wrapper.ownerDocument,\"mouseup\",c),fe(i.wrapper.ownerDocument,\"mousemove\",u),fe(i.scroller,\"dragstart\",f),fe(i.scroller,\"drop\",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}(e,r,t,o):function(e,t,n,r){a&&kr(e);var i=e.display,o=e.doc;be(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new ki(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),\"rectangle\"==r.unit)r.addNew||(s=new ki(n,n)),n=lr(e,t,!0,!0),l=-1;else{var f=va(e,n,r.unit);s=r.extend?Wi(s,f.anchor,f.head,r.extend):f}r.addNew?-1==l?(l=u.length,Xi(o,Ti(e,u.concat([s]),l),{scroll:!1,origin:\"*mouse\"})):u.length>1&&u[l].empty()&&\"char\"==r.unit&&!r.extend?(Xi(o,Ti(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:\"*mouse\"}),c=o.sel):Yi(o,l,s,q):(l=0,Xi(o,new wi([s],0),q),c=o.sel);var p=n;function d(t){if(0!=et(p,t))if(p=t,\"rectangle\"==r.unit){for(var i=[],a=e.options.tabSize,u=P(Ge(o,n.line).text,n.ch,a),f=P(Ge(o,t.line).text,t.ch,a),d=Math.min(u,f),h=Math.max(u,f),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=Ge(o,m).text,y=G(g,d,a);d==h?i.push(new ki(Ze(m,y),Ze(m,y))):g.length>y&&i.push(new ki(Ze(m,y),Ze(m,G(g,h,a))))}i.length||i.push(new ki(n,n)),Xi(o,Ti(e,c.ranges.slice(0,l).concat(i),l),{origin:\"*mouse\",scroll:!1}),e.scrollIntoView(t)}else{var b,E=s,w=va(e,t,r.unit),k=E.anchor;et(w.anchor,k)>0?(b=w.head,k=it(E.from(),w.anchor)):(b=w.anchor,k=rt(E.to(),w.head));var T=c.ranges.slice(0);T[l]=function(e,t){var n=t.anchor,r=t.head,i=Ge(e.doc,n.line);if(0==et(n,r)&&n.sticky==r.sticky)return t;var o=ce(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*(\"ltr\"==e.doc.direction?1:-1)>0;else{var u=se(o,r.ch,r.sticky),f=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:f>0}var p=o[c+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?\"after\":\"before\";return n.ch==h&&n.sticky==m?t:new ki(new Ze(n.line,h,m),r)}(e,new ki(at(o,k),b)),Xi(o,Ti(e,T,l),q)}}var h=i.wrapper.getBoundingClientRect(),m=0;function v(t){e.state.selectingText=!1,m=1/0,t&&(be(t),i.input.focus()),de(i.wrapper.ownerDocument,\"mousemove\",g),de(i.wrapper.ownerDocument,\"mouseup\",y),o.history.lastSelOrigin=null}var g=Zr(e,(function(t){0!==t.buttons&&Oe(t)?function t(n){var a=++m,s=lr(e,n,!0,\"rectangle\"==r.unit);if(s)if(0!=et(s,p)){e.curOp.focus=I(),d(s);var l=Cr(i,o);(s.line>=l.to||s.lineh.bottom?20:0;c&&setTimeout(Zr(e,(function(){m==a&&(i.scroller.scrollTop+=c,t(n))})),50)}}(t):v(t)})),y=Zr(e,v);e.state.selectingText=y,fe(i.wrapper.ownerDocument,\"mousemove\",g),fe(i.wrapper.ownerDocument,\"mouseup\",y)}(e,r,t,o)}(t,r,o,e):Te(e)==n.scroller&&be(e):2==i?(r&&Qi(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(T?t.display.input.onContextMenu(e):kr(t)))}}function va(e,t,n){if(\"char\"==n)return new ki(t,t);if(\"word\"==n)return e.findWordAt(t);if(\"line\"==n)return new ki(Ze(t.line,0),at(e.doc,Ze(t.line+1,0)));var r=n(e,t);return new ki(r.from,r.to)}function ga(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(u){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return we(t);o-=s.top-a.viewOffset;for(var l=0;l=i)return he(e,n,e,Je(e.doc,o),e.display.gutterSpecs[l].className,t),we(t)}}function ya(e,t){return ga(e,t,\"gutterClick\",!0)}function ba(e,t){wn(e.display,t)||function(e,t){return!!ge(e,\"gutterContextMenu\")&&ga(e,t,\"gutterContextMenu\",!1)}(e,t)||me(e,t,\"contextmenu\")||T||e.display.input.onContextMenu(t)}function Ea(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\\s*cm-s-\\S+/g,\"\")+e.options.theme.replace(/(^|\\s)\\s*/g,\" cm-s-\"),Vn(e)}ha.prototype.compare=function(e,t,n){return this.time+400>e&&0==et(t,this.pos)&&n==this.button};var wa={toString:function(){return\"CodeMirror.Init\"}},ka={},Ta={};function Oa(e,t,n){if(!t!=!(n&&n!=wa)){var r=e.display.dragFunctions,i=t?fe:de;i(e.display.scroller,\"dragstart\",r.start),i(e.display.scroller,\"dragenter\",r.enter),i(e.display.scroller,\"dragover\",r.over),i(e.display.scroller,\"dragleave\",r.leave),i(e.display.scroller,\"drop\",r.drop)}}function xa(e){e.options.lineWrapping?(j(e.display.wrapper,\"CodeMirror-wrap\"),e.display.sizer.style.minWidth=\"\",e.display.sizerWidth=null):(_(e.display.wrapper,\"CodeMirror-wrap\"),Ht(e)),sr(e),ur(e),Vn(e),setTimeout((function(){return Ur(e)}),100)}function _a(e,t){var n=this;if(!(this instanceof _a))return new _a(e,t);this.options=t=t?M(t):{},M(ka,t,!1);var r=t.value;\"string\"==typeof r?r=new Do(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new _a.inputStyles[t.inputStyle](this),o=this.display=new mi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ea(this),t.lineWrapping&&(this.display.wrapper.className+=\" CodeMirror-wrap\"),qr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;fe(t.scroller,\"mousedown\",Zr(e,ma)),fe(t.scroller,\"dblclick\",a&&s<11?Zr(e,(function(t){if(!me(e,t)){var n=lr(e,t);if(n&&!ya(e,t)&&!wn(e.display,t)){be(t);var r=e.findWordAt(n);Qi(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),fe(t.scroller,\"contextmenu\",(function(t){return ba(e,t)})),fe(t.input.getField(),\"contextmenu\",(function(n){t.scroller.contains(n.target)||ba(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}fe(t.scroller,\"touchstart\",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ya(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),fe(t.scroller,\"touchmove\",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),fe(t.scroller,\"touchend\",(function(n){var r=t.activeTouch;if(r&&!wn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,\"page\");a=!r.prev||o(r,r.prev)?new ki(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new ki(Ze(s.line,0),at(e.doc,Ze(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),fe(t.scroller,\"touchcancel\",i),fe(t.scroller,\"scroll\",(function(){t.scroller.clientHeight&&(Lr(e,t.scroller.scrollTop),Rr(e,t.scroller.scrollLeft,!0),he(e,\"scroll\",e))})),fe(t.scroller,\"mousewheel\",(function(t){return Ei(e,t)})),fe(t.scroller,\"DOMMouseScroll\",(function(t){return Ei(e,t)})),fe(t.wrapper,\"scroll\",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||ke(t)},over:function(t){me(e,t)||(function(e,t){var n=lr(e,t);if(n){var r=document.createDocumentFragment();gr(e,n,r),e.display.dragCursor||(e.display.dragCursor=N(\"div\",null,\"CodeMirror-cursors CodeMirror-dragcursors\"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),S(e.display.dragCursor,r)}}(e,t),ke(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ao<100))ke(t);else if(!me(e,t)&&!wn(e.display,t)&&(t.dataTransfer.setData(\"Text\",e.getSelection()),t.dataTransfer.effectAllowed=\"copyMove\",t.dataTransfer.setDragImage&&!p)){var n=N(\"img\",null,null,\"position: fixed; left: 0; top: 0;\");n.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:Zr(e,Io),leave:function(t){me(e,t)||jo(e)}};var l=t.input.getField();fe(l,\"keyup\",(function(t){return ua.call(e,t)})),fe(l,\"keydown\",Zr(e,ca)),fe(l,\"keypress\",Zr(e,fa)),fe(l,\"focus\",(function(t){return Tr(e,t)})),fe(l,\"blur\",(function(t){return Or(e,t)}))}(this),Ro(),Gr(this),this.curOp.forceUpdate=!0,Li(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Tr(n)}),20):Or(this),Ta)Ta.hasOwnProperty(c)&&Ta[c](this,t[c],wa);fi(this),t.finishInit&&t.finishInit(this);for(var u=0;u150)){if(!r)return;n=\"prev\"}}else c=0,n=\"not\";\"prev\"==n?c=t>o.first?P(Ge(o,t-1).text,null,a):0:\"add\"==n?c=l+e.options.indentUnit:\"subtract\"==n?c=l-e.options.indentUnit:\"number\"==typeof n&&(c=l+n),c=Math.max(0,c);var f=\"\",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)p+=a,f+=\"\\t\";if(pa,l=De(t),c=null;if(s&&r.ranges.length>1)if(Na&&Na.text.join(\"\\n\")==t){if(r.ranges.length%Na.text.length==0){c=[];for(var u=0;u=0;p--){var d=r.ranges[p],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=Ze(h.line,h.ch-n):e.state.overwrite&&!s?m=Ze(m.line,Math.min(Ge(o,m.line).text.length,m.ch+K(l).length)):s&&Na&&Na.lineWise&&Na.text.join(\"\\n\")==l.join(\"\\n\")&&(h=m=Ze(h.line,0)));var v={from:h,to:m,text:c?c[p%c.length]:l,origin:i||(s?\"paste\":e.state.cutIncoming>a?\"cut\":\"+input\")};lo(e.doc,v),sn(e,\"inputRead\",e,v)}t&&!s&&ja(e,t),Dr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Ia(e,t){var n=e.clipboardData&&e.clipboardData.getData(\"Text\");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Xr(t,(function(){return Aa(t,n,0,null,\"paste\")})),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Sa(e,i.head.line,\"smart\");break}}else o.electricInput&&o.electricInput.test(Ge(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Sa(e,i.head.line,\"smart\"));a&&sn(e,\"electricInput\",e,i.head.line)}}}function La(e){for(var t=[],n=[],r=0;r0?0:-1));if(isNaN(c))a=null;else{var u=n>0?c>=55296&&c<56320:c>=56320&&c<57343;a=new Ze(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(u?2:1))),-n)}}else a=i?function(e,t,n,r){var i=ce(t,e.doc.direction);if(!i)return Xo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky=\"before\"):n.ch<=0&&(n.ch=0,n.sticky=\"after\");var o=se(i,n.ch,n.sticky),a=i[o];if(\"ltr\"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&p>=u.begin)){var d=f?\"before\":\"after\";return new Ze(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new Ze(n.line,l(e,1),\"before\"):new Ze(n.line,e,\"after\")};e>=0&&e0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,c(v)))?null:m}(e.cm,s,t,n):Xo(s,t,n);if(null==a){if(o||!function(){var n=t.line+l;return!(n=e.first+e.size)&&(t=new Ze(n,t.ch,t.sticky),s=Ge(e,n))}())return!1;t=Zo(i,e.cm,s,t.line,l)}else t=a;return!0}if(\"char\"==r||\"codepoint\"==r)c();else if(\"column\"==r)c(!0);else if(\"word\"==r||\"group\"==r)for(var u=null,f=\"group\"==r,p=e.cm&&e.cm.getHelper(t,\"wordChars\"),d=!0;!(n<0)||c(!d);d=!1){var h=s.text.charAt(t.ch)||\"\\n\",m=ee(h,p)?\"w\":f&&\"\\n\"==h?\"n\":!f||/\\s/.test(h)?null:\"p\";if(!f||d||m||(m=\"s\"),u&&u!=m){n<0&&(n=1,c(),t.sticky=\"after\");break}if(m&&(u=m),n>0&&!c(!d))break}var v=io(e,t,o,a,!0);return tt(o,v)&&(v.hitSide=!0),v}function Pa(e,t,n,r){var i,o,a=e.doc,s=t.left;if(\"page\"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*nr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else\"line\"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Yn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Va=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ua(e,t){var n=Dn(e,t.line);if(!n||n.hidden)return null;var r=Ge(e.doc,t.line),i=Sn(n,r,t.line),o=ce(r,e.doc.direction),a=\"left\";o&&(a=se(o,t.ch)%2?\"right\":\"left\");var s=Fn(i.map,t.ch,a);return s.offset=\"right\"==s.collapse?s.end:s.start,s}function Ba(e,t){return t&&(e.bad=!0),e}function za(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ba(e.clipPos(Ze(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i=t.display.viewTo||o.line=t.display.viewFrom&&Ua(t,i)||{node:l[0].measure.map[2],offset:0},u=o.liner.firstLine()&&(a=Ze(a.line-1,Ge(r.doc,a.line-1).length)),s.ch==Ge(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=cr(r,a.line))?(t=Ye(i.view[0].line),n=i.view[0].node):(t=Ye(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=cr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=Ye(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,i){var o=\"\",a=!1,s=e.doc.lineSeparator(),l=!1;function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function u(e){e&&(c(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute(\"cm-text\");if(n)return void u(n);var o,p=t.getAttribute(\"cm-marker\");if(p){var d=e.findMarks(Ze(r,0),Ze(i+1,0),(v=+p,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&u(We(e.doc,o.from,o.to).join(s)))}if(\"false\"==t.getAttribute(\"contenteditable\"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&c();for(var m=0;m1&&p.length>1;)if(K(f)==K(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}for(var d=0,h=0,m=f[0],v=p[0],g=Math.min(m.length,v.length);da.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\\u200b+/,\"\"),f[0]=f[0].slice(d).replace(/\\u200b+$/,\"\");var w=Ze(t,d),k=Ze(l,p.length?K(p).length-h:0);return f.length>1||f[0]||et(w,k)?(ho(r.doc,f,w,k,\"+input\"),!0):void 0},Va.prototype.ensurePolled=function(){this.forceCompositionEnd()},Va.prototype.reset=function(){this.forceCompositionEnd()},Va.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Va.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Va.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Xr(this.cm,(function(){return ur(e.cm)}))},Va.prototype.setUneditable=function(e){e.contentEditable=\"false\"},Va.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Zr(this.cm,Aa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Va.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(\"nocursor\"!=e)},Va.prototype.onContextMenu=function(){},Va.prototype.resetPosition=function(){},Va.prototype.needsContentAttribute=!0;var Ha=function(e){this.cm=e,this.prevInput=\"\",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ha.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Da({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=La(r);Da({lineWise:!0,text:t.text}),\"cut\"==e.type?r.setSelections(t.ranges,null,z):(n.prevInput=\"\",i.value=t.text.join(\"\\n\"),F(i))}\"cut\"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width=\"0px\"),fe(i,\"input\",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),fe(i,\"paste\",(function(e){me(r,e)||Ia(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),fe(i,\"cut\",o),fe(i,\"copy\",o),fe(e.scroller,\"paste\",(function(t){if(!wn(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event(\"paste\");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),fe(e.lineSpace,\"selectstart\",(function(t){wn(e,t)||be(t)})),fe(i,\"compositionstart\",(function(){var e=r.getCursor(\"from\");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor(\"to\"),{className:\"CodeMirror-composing\"})}})),fe(i,\"compositionend\",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ha.prototype.createField=function(e){this.wrapper=Ra(),this.textarea=this.wrapper.firstChild},Ha.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute(\"aria-label\",e):this.textarea.removeAttribute(\"aria-label\")},Ha.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=vr(e);if(e.options.moveInputWithCursor){var i=Wn(e,n.sel.primary().head,\"div\"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ha.prototype.showSelection=function(e){var t=this.cm.display;S(t.cursorDiv,e.cursors),S(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+\"px\",this.wrapper.style.left=e.teLeft+\"px\")},Ha.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput=\"\";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value=\"\",a&&s>=9&&(this.hasSelection=null))}},Ha.prototype.getField=function(){return this.textarea},Ha.prototype.supportsTouch=function(){return!1},Ha.prototype.focus=function(){if(\"nocursor\"!=this.cm.options.readOnly&&(!g||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ha.prototype.blur=function(){this.textarea.blur()},Ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ha.prototype.receivedFocus=function(){this.slowPoll()},Ha.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ha.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ha.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ae(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\\uf700-\\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=\"\\u200b\"),8666==o)return this.reset(),this.cm.execCommand(\"undo\")}for(var l=0,c=Math.min(r.length,i.length);l1e3||i.indexOf(\"\\n\")>-1?n.value=e.prevInput=\"\":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor(\"to\"),{className:\"CodeMirror-composing\"}))})),!0},Ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ha.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ha.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=lr(n,e),c=r.scroller.scrollTop;if(o&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Zr(n,Xi)(n.doc,Oi(o),z);var u,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText=\"position: static\",i.style.cssText=\"position: absolute; width: 30px; height: 30px;\\n top: \"+(e.clientY-h.top-5)+\"px; left: \"+(e.clientX-h.left-5)+\"px;\\n z-index: 1000; background: \"+(a?\"rgba(255, 255, 255, .05)\":\"transparent\")+\";\\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=\" \"),t.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),T?(ke(e),fe(window,\"mouseup\",(function e(){de(window,\"mouseup\",e),setTimeout(v,20)}))):setTimeout(v,50)}function m(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=\"\\u200b\"+(e?i.value:\"\");i.value=\"\\u21da\",i.value=o,t.prevInput=e?\"\":\"\\u200b\",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending==v&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&m();var e=0;r.detectingSelectAll=setTimeout((function o(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&\"\\u200b\"==t.prevInput?Zr(n,ao)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())}),200)}}},Ha.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=\"nocursor\"==e,this.textarea.readOnly=!!e},Ha.prototype.setUneditable=function(){},Ha.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=wa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=wa,n(\"value\",\"\",(function(e,t){return e.setValue(t)}),!0),n(\"mode\",null,(function(e,t){e.doc.modeOption=t,Ni(e)}),!0),n(\"indentUnit\",2,Ni,!0),n(\"indentWithTabs\",!1),n(\"smartIndent\",!0),n(\"tabSize\",4,(function(e){Di(e),Vn(e),ur(e)}),!0),n(\"lineSeparator\",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Ze(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ho(e.doc,t,n[i],Ze(n[i].line,n[i].ch+t.length))}})),n(\"specialChars\",/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b-\\u200c\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test(\"\\t\")?\"\":\"|\\t\"),\"g\"),n!=wa&&e.refresh()})),n(\"specialCharPlaceholder\",$t,(function(e){return e.refresh()}),!0),n(\"electricChars\",!0),n(\"inputStyle\",g?\"contenteditable\":\"textarea\",(function(){throw new Error(\"inputStyle can not (yet) be changed in a running editor\")}),!0),n(\"spellcheck\",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n(\"autocorrect\",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n(\"autocapitalize\",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n(\"rtlMoveVisually\",!E),n(\"wholeLineUpdateBefore\",!0),n(\"theme\",\"default\",(function(e){Ea(e),hi(e)}),!0),n(\"keyMap\",\"default\",(function(e,t,n){var r=Yo(t),i=n!=wa&&Yo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n(\"extraKeys\",null),n(\"configureMouse\",null),n(\"lineWrapping\",!1,xa,!0),n(\"gutters\",[],(function(e,t){e.display.gutterSpecs=pi(t,e.options.lineNumbers),hi(e)}),!0),n(\"fixedGutter\",!0,(function(e,t){e.display.gutters.style.left=t?or(e.display)+\"px\":\"0\",e.refresh()}),!0),n(\"coverGutterNextToScrollbar\",!1,(function(e){return Ur(e)}),!0),n(\"scrollbarStyle\",\"native\",(function(e){qr(e),Ur(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n(\"lineNumbers\",!1,(function(e,t){e.display.gutterSpecs=pi(e.options.gutters,t),hi(e)}),!0),n(\"firstLineNumber\",1,hi,!0),n(\"lineNumberFormatter\",(function(e){return e}),hi,!0),n(\"showCursorWhenSelecting\",!1,mr,!0),n(\"resetSelectionOnContextMenu\",!0),n(\"lineWiseCopyCut\",!0),n(\"pasteLinesPerSelection\",!0),n(\"selectionsMayTouch\",!1),n(\"readOnly\",!1,(function(e,t){\"nocursor\"==t&&(Or(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n(\"screenReaderLabel\",null,(function(e,t){t=\"\"===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n(\"disableInput\",!1,(function(e,t){t||e.display.input.reset()}),!0),n(\"dragDrop\",!0,Oa),n(\"allowDropFileTypes\",null),n(\"cursorBlinkRate\",530),n(\"cursorScrollMargin\",0),n(\"cursorHeight\",1,mr,!0),n(\"singleCursorHeightPerLine\",!0,mr,!0),n(\"workTime\",100),n(\"workDelay\",100),n(\"flattenSpans\",!0,Di,!0),n(\"addModeClass\",!1,Di,!0),n(\"pollInterval\",100),n(\"undoDepth\",200,(function(e,t){return e.doc.history.undoDepth=t})),n(\"historyEventDelay\",1250),n(\"viewportMargin\",10,(function(e){return e.refresh()}),!0),n(\"maxHighlightLength\",1e4,Di,!0),n(\"moveInputWithCursor\",!0,(function(e,t){t||e.display.input.resetPosition()})),n(\"tabindex\",null,(function(e,t){return e.display.input.getField().tabIndex=t||\"\"})),n(\"autofocus\",null),n(\"direction\",\"ltr\",(function(e,t){return e.doc.setDirection(t)}),!0),n(\"phrases\",null)}(_a),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&\"mode\"!=e||(r[e]=n,t.hasOwnProperty(e)&&Zr(this,t[e])(this,n,i),he(this,\"optionChange\",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?\"push\":\"unshift\"](Yo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Sa(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Dr(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&Yi(this.doc,r,new ki(o,c[r].to()),z)}}})),getTokenAt:function(e,t){return gt(this,e,t)},getLineTokens:function(e,t){return gt(this,Ze(e),t,!0)},getTokenTypeAt:function(e){e=at(this.doc,e);var t,n=ft(this,Ge(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=Ge(this.doc,e)}else r=e;return qn(this,r,{top:0,left:0},t||\"page\",n||i).top+(i?this.doc.height-zt(r):0)},defaultTextHeight:function(){return nr(this.display)},defaultCharWidth:function(){return rr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=Wn(this,at(this.doc,e))).bottom,s=e.left;if(t.style.position=\"absolute\",t.setAttribute(\"cm-ignore-events\",\"true\"),this.display.input.setUneditable(t),o.sizer.appendChild(t),\"over\"==r)a=e.top;else if(\"above\"==r||\"near\"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);(\"above\"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+\"px\",t.style.left=t.style.right=\"\",\"right\"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right=\"0px\"):(\"left\"==i?s=0:\"middle\"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+\"px\"),n&&function(e,t){var n=Sr(e,t);null!=n.scrollTop&&Lr(e,n.scrollTop),null!=n.scrollLeft&&Rr(e,n.scrollLeft)}(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:ei(ca),triggerOnKeyPress:ei(fa),triggerOnKeyUp:ua,triggerOnMouseDown:ei(ma),execCommand:function(e){if(ea.hasOwnProperty(e))return ea[e].call(null,this)},triggerElectric:ei((function(e){ja(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=at(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5||this.options.lineWrapping)&&sr(this),he(this,\"refresh\",this)})),swapDoc:ei((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Li(this,e),Vn(this),this.display.input.reset(),Ar(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sn(this,\"swapDoc\",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(_a);var Ga=\"iter insert remove copy getEditor constructor\".split(\" \");for(var Wa in Do.prototype)Do.prototype.hasOwnProperty(Wa)&&U(Ga,Wa)<0&&(_a.prototype[Wa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Do.prototype[Wa]));return ye(Do),_a.inputStyles={textarea:Ha,contenteditable:Va},_a.defineMode=function(e){_a.defaults.mode||\"null\"==e||(_a.defaults.mode=e),Re.apply(this,arguments)},_a.defineMIME=function(e,t){Fe[e]=t},_a.defineMode(\"null\",(function(){return{token:function(e){return e.skipToEnd()}}})),_a.defineMIME(\"text/plain\",\"null\"),_a.defineExtension=function(e,t){_a.prototype[e]=t},_a.defineDocExtension=function(e,t){Do.prototype[e]=t},_a.fromTextArea=function(e,t){if((t=t?M(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I();t.autofocus=n==e||null!=e.getAttribute(\"autofocus\")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,\"submit\",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=\"\",e.form&&(de(e.form,\"submit\",r),t.leaveSubmitMethodAlone||\"function\"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display=\"none\";var s=_a((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=fe,e.wheelEventPixels=bi,e.Doc=Do,e.splitLines=De,e.countColumn=P,e.findColumn=G,e.isWordChar=Z,e.Pass=B,e.signal=he,e.Line=Gt,e.changeEnd=xi,e.scrollbarModel=zr,e.Pos=Ze,e.cmpPos=et,e.modes=Le,e.mimeModes=Fe,e.resolveMode=Me,e.getMode=Pe,e.modeExtensions=Ve,e.extendMode=Ue,e.copyState=Be,e.startState=qe,e.innerMode=ze,e.commands=ea,e.keyMap=zo,e.keyName=Ko,e.isModifierKey=Wo,e.lookupKey=Go,e.normalizeKeyMap=Ho,e.StringStream=He,e.SharedTextMarker=_o,e.TextMarker=Oo,e.LineWidget=wo,e.e_preventDefault=be,e.e_stopPropagation=Ee,e.e_stop=ke,e.addClass=j,e.contains=A,e.rmClass=_,e.keyNames=Po}(_a),_a.version=\"5.59.2\",_a}()},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return r})),n.d(t,\"a\",(function(){return i})),n.d(t,\"c\",(function(){return o}));var r=\"function\"===typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:\"@@iterator\",i=\"function\"===typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:\"@@asyncIterator\",o=\"function\"===typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:\"@@toStringTag\"},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"version\",(function(){return r})),n.d(t,\"versionInfo\",(function(){return i})),n.d(t,\"graphql\",(function(){return ge})),n.d(t,\"graphqlSync\",(function(){return ye})),n.d(t,\"GraphQLSchema\",(function(){return Ee.a})),n.d(t,\"GraphQLDirective\",(function(){return O.d})),n.d(t,\"GraphQLScalarType\",(function(){return x.g})),n.d(t,\"GraphQLObjectType\",(function(){return x.f})),n.d(t,\"GraphQLInterfaceType\",(function(){return x.c})),n.d(t,\"GraphQLUnionType\",(function(){return x.h})),n.d(t,\"GraphQLEnumType\",(function(){return x.a})),n.d(t,\"GraphQLInputObjectType\",(function(){return x.b})),n.d(t,\"GraphQLList\",(function(){return x.d})),n.d(t,\"GraphQLNonNull\",(function(){return x.e})),n.d(t,\"specifiedScalarTypes\",(function(){return we.g})),n.d(t,\"GraphQLInt\",(function(){return we.d})),n.d(t,\"GraphQLFloat\",(function(){return we.b})),n.d(t,\"GraphQLString\",(function(){return we.e})),n.d(t,\"GraphQLBoolean\",(function(){return we.a})),n.d(t,\"GraphQLID\",(function(){return we.c})),n.d(t,\"specifiedDirectives\",(function(){return O.l})),n.d(t,\"GraphQLIncludeDirective\",(function(){return O.e})),n.d(t,\"GraphQLSkipDirective\",(function(){return O.f})),n.d(t,\"GraphQLDeferDirective\",(function(){return O.b})),n.d(t,\"GraphQLStreamDirective\",(function(){return O.h})),n.d(t,\"GraphQLDeprecatedDirective\",(function(){return O.c})),n.d(t,\"GraphQLSpecifiedByDirective\",(function(){return O.g})),n.d(t,\"TypeKind\",(function(){return T.TypeKind})),n.d(t,\"DEFAULT_DEPRECATION_REASON\",(function(){return O.a})),n.d(t,\"introspectionTypes\",(function(){return T.introspectionTypes})),n.d(t,\"__Schema\",(function(){return T.__Schema})),n.d(t,\"__Directive\",(function(){return T.__Directive})),n.d(t,\"__DirectiveLocation\",(function(){return T.__DirectiveLocation})),n.d(t,\"__Type\",(function(){return T.__Type})),n.d(t,\"__Field\",(function(){return T.__Field})),n.d(t,\"__InputValue\",(function(){return T.__InputValue})),n.d(t,\"__EnumValue\",(function(){return T.__EnumValue})),n.d(t,\"__TypeKind\",(function(){return T.__TypeKind})),n.d(t,\"SchemaMetaFieldDef\",(function(){return T.SchemaMetaFieldDef})),n.d(t,\"TypeMetaFieldDef\",(function(){return T.TypeMetaFieldDef})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return T.TypeNameMetaFieldDef})),n.d(t,\"isSchema\",(function(){return Ee.c})),n.d(t,\"isDirective\",(function(){return O.j})),n.d(t,\"isType\",(function(){return x.S})),n.d(t,\"isScalarType\",(function(){return x.R})),n.d(t,\"isObjectType\",(function(){return x.N})),n.d(t,\"isInterfaceType\",(function(){return x.H})),n.d(t,\"isUnionType\",(function(){return x.T})),n.d(t,\"isEnumType\",(function(){return x.E})),n.d(t,\"isInputObjectType\",(function(){return x.F})),n.d(t,\"isListType\",(function(){return x.J})),n.d(t,\"isNonNullType\",(function(){return x.L})),n.d(t,\"isInputType\",(function(){return x.G})),n.d(t,\"isOutputType\",(function(){return x.O})),n.d(t,\"isLeafType\",(function(){return x.I})),n.d(t,\"isCompositeType\",(function(){return x.D})),n.d(t,\"isAbstractType\",(function(){return x.C})),n.d(t,\"isWrappingType\",(function(){return x.U})),n.d(t,\"isNullableType\",(function(){return x.M})),n.d(t,\"isNamedType\",(function(){return x.K})),n.d(t,\"isRequiredArgument\",(function(){return x.P})),n.d(t,\"isRequiredInputField\",(function(){return x.Q})),n.d(t,\"isSpecifiedScalarType\",(function(){return we.f})),n.d(t,\"isIntrospectionType\",(function(){return T.isIntrospectionType})),n.d(t,\"isSpecifiedDirective\",(function(){return O.k})),n.d(t,\"assertSchema\",(function(){return Ee.b})),n.d(t,\"assertDirective\",(function(){return O.i})),n.d(t,\"assertType\",(function(){return x.x})),n.d(t,\"assertScalarType\",(function(){return x.w})),n.d(t,\"assertObjectType\",(function(){return x.u})),n.d(t,\"assertInterfaceType\",(function(){return x.o})),n.d(t,\"assertUnionType\",(function(){return x.y})),n.d(t,\"assertEnumType\",(function(){return x.l})),n.d(t,\"assertInputObjectType\",(function(){return x.m})),n.d(t,\"assertListType\",(function(){return x.q})),n.d(t,\"assertNonNullType\",(function(){return x.s})),n.d(t,\"assertInputType\",(function(){return x.n})),n.d(t,\"assertOutputType\",(function(){return x.v})),n.d(t,\"assertLeafType\",(function(){return x.p})),n.d(t,\"assertCompositeType\",(function(){return x.k})),n.d(t,\"assertAbstractType\",(function(){return x.j})),n.d(t,\"assertWrappingType\",(function(){return x.z})),n.d(t,\"assertNullableType\",(function(){return x.t})),n.d(t,\"assertNamedType\",(function(){return x.r})),n.d(t,\"getNullableType\",(function(){return x.B})),n.d(t,\"getNamedType\",(function(){return x.A})),n.d(t,\"validateSchema\",(function(){return l.b})),n.d(t,\"assertValidSchema\",(function(){return l.a})),n.d(t,\"Token\",(function(){return ke.b})),n.d(t,\"Source\",(function(){return Te.a})),n.d(t,\"Location\",(function(){return ke.a})),n.d(t,\"getLocation\",(function(){return Oe.a})),n.d(t,\"printLocation\",(function(){return xe.a})),n.d(t,\"printSourceLocation\",(function(){return xe.b})),n.d(t,\"Lexer\",(function(){return _e.a})),n.d(t,\"TokenKind\",(function(){return Ce.a})),n.d(t,\"parse\",(function(){return a.a})),n.d(t,\"parseValue\",(function(){return a.c})),n.d(t,\"parseType\",(function(){return a.b})),n.d(t,\"print\",(function(){return A.print})),n.d(t,\"visit\",(function(){return Se.c})),n.d(t,\"visitInParallel\",(function(){return Se.d})),n.d(t,\"getVisitFn\",(function(){return Se.b})),n.d(t,\"BREAK\",(function(){return Se.a})),n.d(t,\"Kind\",(function(){return k.a})),n.d(t,\"DirectiveLocation\",(function(){return Ne.a})),n.d(t,\"isDefinitionNode\",(function(){return De.a})),n.d(t,\"isExecutableDefinitionNode\",(function(){return De.b})),n.d(t,\"isSelectionNode\",(function(){return De.c})),n.d(t,\"isValueNode\",(function(){return De.i})),n.d(t,\"isTypeNode\",(function(){return De.f})),n.d(t,\"isTypeSystemDefinitionNode\",(function(){return De.g})),n.d(t,\"isTypeDefinitionNode\",(function(){return De.d})),n.d(t,\"isTypeSystemExtensionNode\",(function(){return De.h})),n.d(t,\"isTypeExtensionNode\",(function(){return De.e})),n.d(t,\"execute\",(function(){return W})),n.d(t,\"executeSync\",(function(){return Q})),n.d(t,\"defaultFieldResolver\",(function(){return de})),n.d(t,\"defaultTypeResolver\",(function(){return pe})),n.d(t,\"responsePathAsArray\",(function(){return b})),n.d(t,\"getDirectiveValues\",(function(){return B})),n.d(t,\"subscribe\",(function(){return Fe})),n.d(t,\"createSourceEventStream\",(function(){return Pe})),n.d(t,\"validate\",(function(){return s.c})),n.d(t,\"ValidationContext\",(function(){return Ve.b})),n.d(t,\"specifiedRules\",(function(){return Ue.a})),n.d(t,\"ExecutableDefinitionsRule\",(function(){return Be.a})),n.d(t,\"FieldsOnCorrectTypeRule\",(function(){return ze.a})),n.d(t,\"FragmentsOnCompositeTypesRule\",(function(){return qe.a})),n.d(t,\"KnownArgumentNamesRule\",(function(){return He.b})),n.d(t,\"KnownDirectivesRule\",(function(){return Ge.a})),n.d(t,\"KnownFragmentNamesRule\",(function(){return We.a})),n.d(t,\"KnownTypeNamesRule\",(function(){return Qe.a})),n.d(t,\"LoneAnonymousOperationRule\",(function(){return Ke.a})),n.d(t,\"NoFragmentCyclesRule\",(function(){return Ye.a})),n.d(t,\"NoUndefinedVariablesRule\",(function(){return Je.a})),n.d(t,\"NoUnusedFragmentsRule\",(function(){return $e.a})),n.d(t,\"NoUnusedVariablesRule\",(function(){return Xe.a})),n.d(t,\"OverlappingFieldsCanBeMergedRule\",(function(){return Ze.a})),n.d(t,\"PossibleFragmentSpreadsRule\",(function(){return et.a})),n.d(t,\"ProvidedRequiredArgumentsRule\",(function(){return tt.b})),n.d(t,\"ScalarLeafsRule\",(function(){return nt.a})),n.d(t,\"SingleFieldSubscriptionsRule\",(function(){return rt.a})),n.d(t,\"UniqueArgumentNamesRule\",(function(){return it.a})),n.d(t,\"UniqueDirectivesPerLocationRule\",(function(){return ot.a})),n.d(t,\"UniqueFragmentNamesRule\",(function(){return at.a})),n.d(t,\"UniqueInputFieldNamesRule\",(function(){return st.a})),n.d(t,\"UniqueOperationNamesRule\",(function(){return lt.a})),n.d(t,\"UniqueVariableNamesRule\",(function(){return ct.a})),n.d(t,\"ValuesOfCorrectTypeRule\",(function(){return ut.a})),n.d(t,\"VariablesAreInputTypesRule\",(function(){return ft.a})),n.d(t,\"VariablesInAllowedPositionRule\",(function(){return pt.a})),n.d(t,\"LoneSchemaDefinitionRule\",(function(){return dt.a})),n.d(t,\"UniqueOperationTypesRule\",(function(){return ht.a})),n.d(t,\"UniqueTypeNamesRule\",(function(){return mt.a})),n.d(t,\"UniqueEnumValueNamesRule\",(function(){return vt.a})),n.d(t,\"UniqueFieldDefinitionNamesRule\",(function(){return gt.a})),n.d(t,\"UniqueDirectiveNamesRule\",(function(){return yt.a})),n.d(t,\"PossibleTypeExtensionsRule\",(function(){return bt.a})),n.d(t,\"NoDeprecatedCustomRule\",(function(){return Et.a})),n.d(t,\"NoSchemaIntrospectionCustomRule\",(function(){return wt})),n.d(t,\"GraphQLError\",(function(){return E.a})),n.d(t,\"syntaxError\",(function(){return kt.a})),n.d(t,\"locatedError\",(function(){return w.a})),n.d(t,\"printError\",(function(){return E.b})),n.d(t,\"formatError\",(function(){return Tt})),n.d(t,\"getIntrospectionQuery\",(function(){return Ot.a})),n.d(t,\"getOperationAST\",(function(){return xt.getOperationAST})),n.d(t,\"getOperationRootType\",(function(){return C})),n.d(t,\"introspectionFromSchema\",(function(){return St})),n.d(t,\"buildClientSchema\",(function(){return Nt.a})),n.d(t,\"buildASTSchema\",(function(){return Bt})),n.d(t,\"buildSchema\",(function(){return zt})),n.d(t,\"getDescription\",(function(){return Ut})),n.d(t,\"extendSchema\",(function(){return Ft})),n.d(t,\"lexicographicSortSchema\",(function(){return Qt})),n.d(t,\"printSchema\",(function(){return Xt})),n.d(t,\"printType\",(function(){return rn})),n.d(t,\"printIntrospectionSchema\",(function(){return Zt})),n.d(t,\"typeFromAST\",(function(){return _.a})),n.d(t,\"valueFromAST\",(function(){return I.a})),n.d(t,\"valueFromASTUntyped\",(function(){return dn.a})),n.d(t,\"astFromValue\",(function(){return $t.a})),n.d(t,\"TypeInfo\",(function(){return hn.a})),n.d(t,\"visitWithTypeInfo\",(function(){return hn.b})),n.d(t,\"coerceInputValue\",(function(){return R})),n.d(t,\"concatAST\",(function(){return mn})),n.d(t,\"separateOperations\",(function(){return vn})),n.d(t,\"stripIgnoredCharacters\",(function(){return yn})),n.d(t,\"isEqualType\",(function(){return En.b})),n.d(t,\"isTypeSubTypeOf\",(function(){return En.c})),n.d(t,\"doTypesOverlap\",(function(){return En.a})),n.d(t,\"assertValidName\",(function(){return wn.a})),n.d(t,\"isValidNameError\",(function(){return wn.b})),n.d(t,\"BreakingChangeType\",(function(){return xn})),n.d(t,\"DangerousChangeType\",(function(){return _n})),n.d(t,\"findBreakingChanges\",(function(){return Cn})),n.d(t,\"findDangerousChanges\",(function(){return Sn})),n.d(t,\"findDeprecatedUsages\",(function(){return Bn.a}));var r=\"15.4.0-experimental-stream-defer.1\",i=Object.freeze({major:15,minor:4,patch:0,preReleaseTag:\"experimental-stream-defer.1\"});function o(e){return\"function\"===typeof(null===e||void 0===e?void 0:e.then)}var a=n(35),s=n(49),l=n(59),c=n(42),u=n(17),f=n(4);var p=n(13),d=n(8);function h(e){return(h=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function m(e){return null!=e&&\"object\"===h(e)&&\"function\"===typeof e[u.a]}var v=n(21),g=n(58);function y(e,t,n){return{prev:e,key:t,typename:n}}function b(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}var E=n(3),w=n(30),k=n(2),T=n(10),O=n(15),x=n(0),_=n(22);function C(e,t){if(\"query\"===t.operation){var n=e.getQueryType();if(!n)throw new E.a(\"Schema does not define the required query root type.\",t);return n}if(\"mutation\"===t.operation){var r=e.getMutationType();if(!r)throw new E.a(\"Schema is not configured for mutations.\",t);return r}if(\"subscription\"===t.operation){var i=e.getSubscriptionType();if(!i)throw new E.a(\"Schema is not configured for subscriptions.\",t);return i}throw new E.a(\"Can only have query, mutation and subscription operations.\",t)}var S=n(33),N=n(25);function D(e){return e.map((function(e){return\"number\"===typeof e?\"[\"+e.toString()+\"]\":\".\"+e})).join(\"\")}var A=n(12),I=n(52),j=n(14),L=n(26),F=n(28);function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;return P(e,t,n)}function M(e,t,n){var r=\"Invalid value \"+Object(f.a)(t);throw e.length>0&&(r+=' at \"value'.concat(D(e),'\"')),n.message=r+\": \"+n.message,n}function P(e,t,n,r){if(Object(x.L)(t))return null!=e?P(e,t.ofType,n,r):void n(b(r),e,new E.a('Expected non-nullable type \"'.concat(Object(f.a)(t),'\" not to be null.')));if(null==e)return null;if(Object(x.J)(t)){var i=t.ofType;return Object(g.a)(e)?Object(c.a)(e,(function(e,t){var o=y(r,t,void 0);return P(e,i,n,o)})):[P(e,i,n,r)]}if(Object(x.F)(t)){if(!Object(v.a)(e))return void n(b(r),e,new E.a('Expected type \"'.concat(t.name,'\" to be an object.')));for(var o={},a=t.getFields(),s=0,l=Object(j.a)(a);s0&&(i+=' at \"'.concat(s).concat(D(e),'\"')),r(new E.a(i+\"; \"+n.message,a,void 0,void 0,void 0,n.originalError))}))},a=0;a=o)throw new E.a(\"Too many errors processing variables, error limit reached. Execution aborted.\");i.push(e)}));if(0===i.length)return{coerced:a}}catch(s){i.push(s)}return{errors:i}}function U(e,t,n){for(var r,i={},o=null!==(r=t.arguments)&&void 0!==r?r:[],a=Object(N.a)(o,(function(e){return e.name.value})),s=0,l=e.args;s=c.initialCount)return e.dispatcher.addAsyncIteratorValue(c.label,y,i,a,e,n,r,t),void u(d);f(y,d)}}),(function(e){d.push(null),oe(Object(w.a)(e,n,b(h)),t,s),u(d)}))}(0,[])})).then((function(e){return l?Promise.all(e):e}))}(e,l,n,r,i,f,s)}if(!Object(g.a)(a))throw new E.a('Expected Iterable, but did not find one for field \"'.concat(r.parentType.name,\".\").concat(r.fieldName,'\".'));var p=te(e,n),d=!1,h=Object(c.a)(a,(function(t,a){var c=y(i,a,void 0);try{var u;return p&&\"number\"===typeof p.initialCount&&a>=p.initialCount?void e.dispatcher.addValue(p.label,c,t,e,n,r,l):(u=o(t)?t.then((function(t){return ae(e,l,n,r,c,t,s)})):ae(e,l,n,r,c,t,s),o(u)?(d=!0,u.then(void 0,(function(e){return oe(Object(w.a)(e,n,b(c)),l,s)}))):u)}catch(f){return oe(Object(w.a)(f,n,b(c)),l,s)}})).filter((function(e){return void 0!==e}));return d?Promise.all(h):h}(e,t,n,r,i,a,s):Object(x.I)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type \"'.concat(Object(f.a)(e),'\" but ')+\"received: \".concat(Object(f.a)(t)));return n}(t,a):Object(x.C)(t)?function(e,t,n,r,i,a,s){var l,c=null!==(l=t.resolveType)&&void 0!==l?l:e.typeResolver,u=e.contextValue,f=c(a,u,r,t);if(o(f))return f.then((function(o){return le(e,se(o,e,t,n,r,a),n,r,i,a,s)}));return le(e,se(f,e,t,n,r,a),n,r,i,a,s)}(e,t,n,r,i,a,s):Object(x.N)(t)?le(e,t,n,r,i,a,s):void Object(p.a)(0,\"Cannot complete value of unexpected output type: \"+Object(f.a)(t))}function se(e,t,n,r,i,o){if(null==e)throw new E.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\". Either the \"').concat(n.name,'\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.'),r);var a=Object(x.K)(e)?e.name:e;if(\"string\"!==typeof a)throw new E.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\" with ')+\"value \".concat(Object(f.a)(o),', received \"').concat(Object(f.a)(e),'\".'));var s=t.schema.getType(a);if(null==s)throw new E.a('Abstract type \"'.concat(n.name,'\" was resolve to a type \"').concat(a,'\" that does not exist inside schema.'),r);if(!Object(x.N)(s))throw new E.a('Abstract type \"'.concat(n.name,'\" was resolve to a non-object type \"').concat(a,'\".'),r);if(!t.schema.isSubType(n,s))throw new E.a('Runtime Object type \"'.concat(s.name,'\" is not a possible type for \"').concat(n.name,'\".'),r);return s}function le(e,t,n,r,i,a,s){if(t.isTypeOf){var l=t.isTypeOf(a,e.contextValue,r);if(o(l))return l.then((function(r){if(!r)throw ce(t,a,n);return ue(e,t,n,i,a,s)}));if(!l)throw ce(t,a,n)}return ue(e,t,n,i,a,s)}function ce(e,t,n){return new E.a('Expected value of type \"'.concat(e.name,'\" but got: ').concat(Object(f.a)(t),\".\"),n)}function ue(e,t,n,r,i,o){for(var a=fe(e,t,n),s=a.fields,l=a.patches,c=$(e,t,i,r,s,o),u=0;u0}),done:!1}}))},t._next=function(){return this._hasReturnedInitialResult?0===this._subsequentPayloads.length?Promise.resolve({value:void 0,done:!0}):this._race():(this._hasReturnedInitialResult=!0,Promise.resolve({value:H(H({},this._initialResult),{},{hasNext:!0}),done:!1}))},t.get=function(e){var t,n=this;return this._initialResult=e,G(t={},u.a,(function(){return this})),G(t,\"next\",(function(){return n._next()})),t},e}();function ve(e,t,n,r){var i={data:e,path:n?b(n):[]};return null!=t&&(i.label=t),r&&r.length>0&&(i.errors=r),i}function ge(e,t,n,r,i,o,a,s){var l=arguments;return new Promise((function(c){return c(1===l.length?be(e):be({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function ye(e,t,n,r,i,a,s,l){var c=be(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:l});if(o(c))throw new Error(\"GraphQL execution failed to complete synchronously.\");return c}function be(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,c=e.variableValues,u=e.operationName,f=e.fieldResolver,p=e.typeResolver,d=Object(l.b)(n);if(d.length>0)return{errors:d};try{t=Object(a.a)(r)}catch(kt){return{errors:[kt]}}var h=Object(s.c)(n,t);return h.length>0?{errors:h}:W({schema:n,document:t,rootValue:i,contextValue:o,variableValues:c,operationName:u,fieldResolver:f,typeResolver:p})}var Ee=n(40),we=n(9),ke=n(20),Te=n(62),Oe=n(72),xe=n(92),_e=n(63),Ce=n(5),Se=n(23),Ne=n(7),De=n(32);function Ae(e,t,n){var r,i,o,a,s,l,c=e[u.a].call(e);function f(e){return e.done?e:Ie(e.value,t).then(je,i)}if(\"function\"===typeof c.return&&(r=c.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(c).then(t,t)}),n){var p=n;o=function(e){return Ie(e,p).then(je,i)}}return a={next:function(){return c.next().then(f,o)},return:function(){return r?r.call(c).then(f,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return\"function\"===typeof c.throw?c.throw(e).then(f,o):Promise.reject(e).catch(i)}},s=u.a,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function Ie(e,t){return new Promise((function(n){return n(t(e))}))}function je(e){return{value:e,done:!1}}function Le(e){var t,n,r,i=e[u.a].call(e),o=[i];return t={next:function e(){var t=o[0];return t?t.next().then((function(t){if(t.done)return o.shift(),e();if(m(t.value)){var n=t.value[u.a].call(t.value);return o.unshift(n),e()}return t})):Promise.resolve({value:void 0,done:!0})},return:function(){return o=[],i.return()},throw:function(e){return o=[],i.throw(e)}},n=u.a,r=function(){return this},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function Fe(e,t,n,r,i,o,a,s){return Me(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Re(e){if(e instanceof E.a)return{errors:[e]};throw e}function Me(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,c=Pe(t,n,r,i,o,a,l),u=function(e){return W({schema:t,document:n,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return c.then((function(e){return m(e)?Le(Ae(e,u,Re)):e}))}function Pe(e,t,n,r,i,o,a){return Y(e,t,i),new Promise((function(s){var l=J(e,t,n,r,i,o,a);s(Array.isArray(l)?{errors:l}:function(e){var t=e.schema,n=e.operation,r=e.variableValues,i=e.rootValue,o=C(t,n),a=X(e,o,n.selectionSet,Object.create(null),[],Object.create(null)).fields,s=Object.keys(a)[0],l=a[s],c=l[0].name.value,u=he(t,o,c);if(!u)throw new E.a('The subscription field \"'.concat(c,'\" is not defined.'),l);var p=y(void 0,s,o.name),d=ie(e,u,l,o,p);return new Promise((function(t){var n,o=U(u,l[0],r),a=e.contextValue;t((null!==(n=u.subscribe)&&void 0!==n?n:e.fieldResolver)(i,o,a,d))})).then((function(e){if(e instanceof Error)throw Object(w.a)(e,l,b(p));if(!m(e))throw new Error(\"Subscription field must return Async Iterable. \"+\"Received: \".concat(Object(f.a)(e),\".\"));return e}),(function(e){throw Object(w.a)(e,l,b(p))}))}(l))})).catch(Re)}var Ve=n(101),Ue=n(93),Be=n(123),ze=n(131),qe=n(128),He=n(97),Ge=n(95),We=n(133),Qe=n(94),Ke=n(125),Ye=n(136),Je=n(138),$e=n(134),Xe=n(139),Ze=n(142),et=n(135),tt=n(99),nt=n(130),rt=n(126),it=n(98),ot=n(96),at=n(132),st=n(100),lt=n(124),ct=n(137),ut=n(140),ft=n(129),pt=n(141),dt=n(143),ht=n(144),mt=n(145),vt=n(146),gt=n(147),yt=n(148),bt=n(149),Et=n(154);function wt(e){return{Field:function(t){var n=Object(x.A)(e.getType());n&&Object(T.isIntrospectionType)(n)&&e.reportError(new E.a('GraphQL introspection has been disabled, but the requested query contained the field \"'.concat(t.name.value,'\".'),t))}}}var kt=n(31);function Tt(e){var t;e||Object(d.a)(0,\"Received null or undefined error.\");var n=null!==(t=e.message)&&void 0!==t?t:\"An unknown error occurred.\",r=e.locations,i=e.path,o=e.extensions;return o?{message:n,locations:r,path:i,extensions:o}:{message:n,locations:r,path:i}}var Ot=n(102),xt=n(230);function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t){var n=function(e){for(var t=1;t0?n.reverse().join(\"\\n\"):void 0}(e);if(void 0!==n)return Object(At.a)(\"\\n\"+n)}}function Bt(e,t){null!=e&&e.kind===k.a.DOCUMENT||Object(d.a)(0,\"Must provide valid Document AST.\"),!0!==(null===t||void 0===t?void 0:t.assumeValid)&&!0!==(null===t||void 0===t?void 0:t.assumeValidSDL)&&Object(s.a)(e);var n=Rt({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(var r=0,i=n.types;r2&&void 0!==arguments[2]?arguments[2]:\"\";return 0===t.length?\"\":t.every((function(e){return!e.description}))?\"(\"+t.map(cn).join(\", \")+\")\":\"(\\n\"+t.map((function(t,r){return fn(e,t,\" \"+n,!r)+\" \"+n+cn(t)})).join(\"\\n\")+\"\\n\"+n+\")\"}function cn(e){var t=Object($t.a)(e.defaultValue,e.type),n=e.name+\": \"+String(e.type);return t&&(n+=\" = \".concat(Object(A.print)(t))),n+un(e.deprecationReason)}function un(e){if(null==e)return\"\";var t=Object($t.a)(e,we.e);return t&&e!==O.a?\" @deprecated(reason: \"+Object(A.print)(t)+\")\":\" @deprecated\"}function fn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.description;if(null==i)return\"\";if(!0===(null===e||void 0===e?void 0:e.commentDescriptions))return pn(i,n,r);var o=i.length>70,a=Object(At.c)(i,\"\",o),s=n&&!r?\"\\n\"+n:n;return s+a.replace(/\\n/g,\"\\n\"+n)+\"\\n\"}function pn(e,t,n){return(t&&!n?\"\\n\":\"\")+e.split(\"\\n\").map((function(e){return t+(\"\"!==e?\"# \"+e:\"#\")})).join(\"\\n\")+\"\\n\"}var dn=n(127),hn=n(46);function mn(e){for(var t=[],n=0;n0&&(n=\"\\n\"+n);var r=n[n.length-1];return('\"'===r&&'\\\\\"\"\"'!==n.slice(-4)||\"\\\\\"===r)&&(n+=\"\\n\"),'\"\"\"'+n+'\"\"\"'}var En=n(44),wn=n(150);function kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g,l=new RegExp(s.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(107);var f=/[&<>\"]/,p=/[&<>\"]/g,d={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\"};function h(e){return d[e]}var m=/[.?*+^$[\\]\\\\(){}|-]/g;var v=n(85);t.lib={},t.lib.mdurl=n(108),t.lib.ucmicro=n(176),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if(\"object\"!==typeof t)throw new TypeError(t+\"must be object\");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return\"[object String]\"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf(\"\\\\\")<0?e:e.replace(s,\"$1\")},t.unescapeAll=function(e){return e.indexOf(\"\\\\\")<0&&e.indexOf(\"&\")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n=\"x\"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return f.test(e)?e.replace(p,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return v.test(e)},t.escapeRE=function(e){return e.replace(m,\"\\\\$&\")},t.normalizeReference=function(e){return e=e.trim().replace(/\\s+/g,\" \"),\"\\u1e7e\"===\"\\u1e9e\".toLowerCase()&&(e=e.replace(/\\u1e9e/g,\"\\xdf\")),e.toLowerCase().toUpperCase()}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}));var r=n(34),i=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();Object(r.a)(i);var o=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function a(e){return null!=e&&\"string\"===typeof e.kind}Object(r.a)(o)},function(e,t,n){\"use strict\";function r(e){return(r=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function i(e){return\"object\"==r(e)&&null!==e}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(4),i=n(13),o=n(2),a=n(0);function s(e,t){var n;return t.kind===o.a.LIST_TYPE?(n=s(e,t.type))&&new a.d(n):t.kind===o.a.NON_NULL_TYPE?(n=s(e,t.type))&&new a.e(n):t.kind===o.a.NAMED_TYPE?e.getType(t.name.value):void Object(i.a)(0,\"Unexpected type node: \"+Object(r.a)(t))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return l})),n.d(t,\"b\",(function(){return c}));var r=n(4),i=n(20),o={Name:[],Document:[\"definitions\"],OperationDefinition:[\"name\",\"variableDefinitions\",\"directives\",\"selectionSet\"],VariableDefinition:[\"variable\",\"type\",\"defaultValue\",\"directives\"],Variable:[\"name\"],SelectionSet:[\"selections\"],Field:[\"alias\",\"name\",\"arguments\",\"directives\",\"selectionSet\"],Argument:[\"name\",\"value\"],FragmentSpread:[\"name\",\"directives\"],InlineFragment:[\"typeCondition\",\"directives\",\"selectionSet\"],FragmentDefinition:[\"name\",\"variableDefinitions\",\"typeCondition\",\"directives\",\"selectionSet\"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[\"values\"],ObjectValue:[\"fields\"],ObjectField:[\"name\",\"value\"],Directive:[\"name\",\"arguments\"],NamedType:[\"name\"],ListType:[\"type\"],NonNullType:[\"type\"],SchemaDefinition:[\"description\",\"directives\",\"operationTypes\"],OperationTypeDefinition:[\"type\"],ScalarTypeDefinition:[\"description\",\"name\",\"directives\"],ObjectTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],FieldDefinition:[\"description\",\"name\",\"arguments\",\"type\",\"directives\"],InputValueDefinition:[\"description\",\"name\",\"type\",\"defaultValue\",\"directives\"],InterfaceTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeDefinition:[\"description\",\"name\",\"directives\",\"types\"],EnumTypeDefinition:[\"description\",\"name\",\"directives\",\"values\"],EnumValueDefinition:[\"description\",\"name\",\"directives\"],InputObjectTypeDefinition:[\"description\",\"name\",\"directives\",\"fields\"],DirectiveDefinition:[\"description\",\"name\",\"arguments\",\"locations\"],SchemaExtension:[\"directives\",\"operationTypes\"],ScalarTypeExtension:[\"name\",\"directives\"],ObjectTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],InterfaceTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeExtension:[\"name\",\"directives\",\"types\"],EnumTypeExtension:[\"name\",\"directives\",\"values\"],InputObjectTypeExtension:[\"name\",\"directives\",\"fields\"]},a=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,l=Array.isArray(e),u=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],g=[],y=e;do{var b=++f===u.length,E=b&&0!==p.length;if(b){if(h=0===g.length?void 0:v[v.length-1],d=m,m=g.pop(),E){if(l)d=d.slice();else{for(var w={},k=0,T=Object.keys(d);k{if(!t)return[];let n;try{n=Object(r.a)(e,{allowLegacySDLImplementsInterfaces:!0,allowLegacySDLEmptyFields:!0})}catch(i){return[]}return l(n,t)},l=(e,t)=>{if(!t)return[];const n=new Map,r=new Set;Object(i.c)(e,{FragmentDefinition(e){n.set(e.name.value,!0)},FragmentSpread(e){r.has(e.name.value)||r.add(e.name.value)}});const o=new Set;r.forEach(e=>{!n.has(e)&&t.has(e)&&o.add(a()(t.get(e)))});const s=[];return o.forEach(e=>{Object(i.c)(e,{FragmentSpread(e){!r.has(e.name.value)&&t.get(e.name.value)&&(o.add(a()(t.get(e.name.value))),r.add(e.name.value))}}),n.has(e.name.value)||s.push(e)}),s};function c(e,t,n){const r=u(e,n);let o;return Object(i.c)(t,{enter(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=r&&r<=e.loc.end))return!1;o=e},leave(e){if(e.loc&&e.loc.start<=r&&r<=e.loc.end)return!1}}),o}function u(e,t){const n=e.split(\"\\n\").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}class f{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new p(e,t)}setEnd(e,t){this.end=new p(e,t)}}class p{constructor(e,t){this.lessThanOrEqualTo=e=>this.linee!==v.a&&e!==E.a&&(!r||e!==g.a));n&&Array.prototype.push.apply(i,n);return Object(y.c)(e,t,i).filter(e=>{if(-1!==e.message.indexOf(\"Unknown directive\")&&e.nodes){const t=e.nodes[0];if(t&&t.kind===b.a.DIRECTIVE){const e=t.name.value;if(\"arguments\"===e||\"argumentDefinitions\"===e)return!1}}return!0})}},function(e,t,n){\"use strict\";function r(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));function r(e,t){var n=\"string\"===typeof e?[e,t]:[void 0,e],r=n[0],i=\" Did you mean \";r&&(i+=r+\" \");var o=n[1].map((function(e){return'\"'.concat(e,'\"')}));switch(o.length){case 0:return\"\";case 1:return i+o[0]+\"?\";case 2:return i+o[0]+\" or \"+o[1]+\"?\"}var a=o.slice(0,5),s=a.pop();return i+a.join(\", \")+\", or \"+s+\"?\"}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(39);function i(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,i=Object(r.a)(e);nt)){for(var c=this._rows,u=0;u<=l;u++)c[0][u]=u;for(var f=1;f<=s;f++){for(var p=c[(f-1)%3],d=c[f%3],h=d[0]=f,m=1;m<=l;m++){var v=r[f-1]===i[m-1]?0:1,g=Math.min(p[m]+1,d[m-1]+1,p[m-1]+v);if(f>1&&m>1&&r[f-1]===i[m-2]&&r[f-2]===i[m-1]){var y=c[(f-2)%3][m-2];g=Math.min(g,y+1)}gt)return}var b=c[s%3][l];return b<=t?b:void 0}},e}();function o(e){for(var t=e.length,n=new Array(t),r=0;ra&&i(t[s-1]);)--s;return t.slice(a,s).join(\"\\n\")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:\"\",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf(\"\\n\"),i=\" \"===e[0]||\"\\t\"===e[0],o='\"'===e[e.length-1],a=\"\\\\\"===e[e.length-1],s=!r||o||a||n,l=\"\";return!s||r&&i||(l+=\"\\n\"+t),l+=t?e.replace(/\\n/g,\"\\n\"+t):e,s&&(l+=\"\\n\"),'\"\"\"'+l.replace(/\"\"\"/g,'\\\\\"\"\"')+'\"\"\"'}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}))},function(e,t,n){\"use strict\";var r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};t.a=r},function(e,t,n){\"use strict\";n.d(t,\"c\",(function(){return v})),n.d(t,\"b\",(function(){return g})),n.d(t,\"a\",(function(){return y}));var r=n(33),i=n(42),o=n(14),a=n(17),s=n(4),l=n(27),c=n(8),u=n(29),f=n(21),p=n(10),d=n(15),h=n(0);function m(e,t){for(var n=0;n9999999)throw new TypeError(\"Near-infinite iteration.\");return s}var c=e.length;if(\"number\"===typeof c&&c>=0&&c%1===0){for(var u=[],f=0;f0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case i.a.SELECTION_SET:var n=Object(s.A)(this.getType());this._parentTypeStack.push(Object(s.D)(n)?n:void 0);break;case i.a.FIELD:var o,a,l=this.getParentType();l&&(o=this._getFieldDef(t,l,e))&&(a=o.type),this._fieldDefStack.push(o),this._typeStack.push(Object(s.O)(a)?a:void 0);break;case i.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.a.OPERATION_DEFINITION:var u;switch(e.operation){case\"query\":u=t.getQueryType();break;case\"mutation\":u=t.getMutationType();break;case\"subscription\":u=t.getSubscriptionType()}this._typeStack.push(Object(s.N)(u)?u:void 0);break;case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:var f=e.typeCondition,p=f?Object(c.a)(t,f):Object(s.A)(this.getType());this._typeStack.push(Object(s.O)(p)?p:void 0);break;case i.a.VARIABLE_DEFINITION:var d=Object(c.a)(t,e.type);this._inputTypeStack.push(Object(s.G)(d)?d:void 0);break;case i.a.ARGUMENT:var h,m,v,g=null!==(h=this.getDirective())&&void 0!==h?h:this.getFieldDef();g&&(m=Object(r.a)(g.args,(function(t){return t.name===e.name.value})))&&(v=m.type),this._argument=m,this._defaultValueStack.push(m?m.defaultValue:void 0),this._inputTypeStack.push(Object(s.G)(v)?v:void 0);break;case i.a.LIST:var y=Object(s.B)(this.getInputType()),b=Object(s.J)(y)?y.ofType:y;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(s.G)(b)?b:void 0);break;case i.a.OBJECT_FIELD:var E,w,k=Object(s.A)(this.getInputType());Object(s.F)(k)&&(w=k.getFields()[e.name.value])&&(E=w.type),this._defaultValueStack.push(w?w.defaultValue:void 0),this._inputTypeStack.push(Object(s.G)(E)?E:void 0);break;case i.a.ENUM:var T,O=Object(s.A)(this.getInputType());Object(s.E)(O)&&(T=O.getValue(e.value)),this._enumValue=T}},t.leave=function(e){switch(e.kind){case i.a.SELECTION_SET:this._parentTypeStack.pop();break;case i.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.a.DIRECTIVE:this._directive=null;break;case i.a.OPERATION_DEFINITION:case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.LIST:case i.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.ENUM:this._enumValue=null}},e}();function f(e,t,n){var r=n.name.value;return r===l.SchemaMetaFieldDef.name&&e.getQueryType()===t?l.SchemaMetaFieldDef:r===l.TypeMetaFieldDef.name&&e.getQueryType()===t?l.TypeMetaFieldDef:r===l.TypeNameMetaFieldDef.name&&Object(s.D)(t)?l.TypeNameMetaFieldDef:Object(s.N)(t)||Object(s.H)(t)?t.getFields()[r]:void 0}function p(e,t){return{enter:function(n){e.enter(n);var r=Object(a.b)(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),Object(o.c)(i)&&e.enter(i)),i}},leave:function(n){var r,i=Object(a.b)(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(0),i=n(60),o=new(n.n(i).a);function a(e,t,i){var a,s;n(16).on(t,\"select\",(function(e,t){if(!a){var n,l=t.parentNode;(a=document.createElement(\"div\")).className=\"CodeMirror-hint-information\",l.appendChild(a),(s=document.createElement(\"div\")).className=\"CodeMirror-hint-deprecation\",l.appendChild(s),l.addEventListener(\"DOMNodeRemoved\",n=function(e){e.target===l&&(l.removeEventListener(\"DOMNodeRemoved\",n),a=null,s=null,n=null)})}var c=e.description?o.render(e.description):\"Self descriptive.\",u=e.type?''+function e(t){if(t instanceof r.e)return e(t.ofType)+\"!\";if(t instanceof r.d)return\"[\"+e(t.ofType)+\"]\";return''+t.name+\"\"}(e.type)+\"\":\"\";if(a.innerHTML='
'+(\"

\"===c.slice(0,3)?\"

\"+u+c.slice(3):u+c)+\"

\",e&&s&&e.isDeprecated){var f=e.deprecationReason?o.render(e.deprecationReason):\"\";s.innerHTML='Deprecated'+f,s.style.display=\"block\"}else s&&(s.style.display=\"none\");i&&i(a)}))}},function(e,t,n){\"use strict\";function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,\"next\",e)}function l(e){r(a,i,o,s,l,\"throw\",e)}s(void 0)}))}}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";n.d(t,\"c\",(function(){return u})),n.d(t,\"a\",(function(){return p})),n.d(t,\"b\",(function(){return d}));var r=n(8),i=n(3),o=n(23),a=n(59),s=n(46),l=n(93),c=n(101);function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new s.a(e),f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||Object(r.a)(0,\"Must provide document.\"),Object(a.a)(e);var p=Object.freeze({}),d=[],h=new c.b(e,t,u,(function(e){if(null!=f.maxErrors&&d.length>=f.maxErrors)throw d.push(new i.a(\"Too many validation errors, error limit reached. Validation aborted.\")),p;d.push(e)})),m=Object(o.d)(n.map((function(e){return e(h)})));try{Object(o.c)(t,Object(s.b)(u,m))}catch(v){if(v!==p)throw v}return d}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.b,r=[],i=new c.a(e,t,(function(e){r.push(e)})),a=n.map((function(e){return e(i)}));return Object(o.c)(e,Object(o.d)(a)),r}function p(e){var t=f(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}function d(e,t){var n=f(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join(\"\\n\\n\"))}},function(e,t,n){\"use strict\";var r,i=!1;\"object\"===typeof window&&(i=\"MacIntel\"===window.navigator.platform);var o=((r={})[i?\"Cmd-F\":\"Ctrl-F\"]=\"findPersistent\",r[\"Cmd-G\"]=\"findPersistent\",r[\"Ctrl-G\"]=\"findPersistent\",r[\"Ctrl-Left\"]=\"goSubwordLeft\",r[\"Ctrl-Right\"]=\"goSubwordRight\",r[\"Alt-Left\"]=\"goGroupLeft\",r[\"Alt-Right\"]=\"goGroupRight\",r);t.a=o},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(54),i=n(42),o=n(14),a=n(4),s=n(13),l=n(21),c=n(58),u=n(2),f=n(9),p=n(0);function d(e,t){if(Object(p.L)(t)){var n=d(e,t.ofType);return(null===n||void 0===n?void 0:n.kind)===u.a.NULL?null:n}if(null===e)return{kind:u.a.NULL};if(void 0===e)return null;if(Object(p.J)(t)){var m=t.ofType;if(Object(c.a)(e)){for(var v=[],g=0,y=Object(i.a)(e);gu);f++){var p=e.getLine(c++);s=null==s?p:s+\"\\n\"+p}l*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var h=s.slice(0,d.index).split(\"\\n\"),m=d[0].split(\"\\n\"),v=n.line+h.length-1,g=h[h.length-1].length;return{from:r(v,g),to:r(v+m.length-1,1==m.length?g+m[0].length:m[m.length-1].length),match:d}}}}function l(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function c(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var c=e.getLine(o),u=l(c,t,a<0?0:c.length-a);if(u)return{from:r(o,u.index),to:r(o,u.index+u[0].length),match:u}}}function u(e,t,n){if(!o(t))return c(e,t,n);t=i(t,\"gm\");for(var a,s=1,u=e.getLine(n.line).length-n.ch,f=n.line,p=e.firstLine();f>=p;){for(var d=0;d=p;d++){var h=e.getLine(f--);a=null==a?h:h+\"\\n\"+a}s*=2;var m=l(a,t,u);if(m){var v=a.slice(0,m.index).split(\"\\n\"),g=m[0].split(\"\\n\"),y=f+v.length,b=v[v.length-1].length;return{from:r(y,b),to:r(y+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:m}}}}function f(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function p(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.lastLine()+1-l.length;c<=p;c++,u=0){var d=e.getLine(c).slice(u),h=s(d);if(1==l.length){var m=h.indexOf(l[0]);if(-1==m)continue e;return o=f(d,h,m,s)+u,{from:r(c,f(d,h,m,s)+u),to:r(c,f(d,h,m+l[0].length,s)+u)}}var v=h.length-l[0].length;if(h.slice(v)==l[0]){for(var g=1;g=p;c--,u=-1){var d=e.getLine(c);u>-1&&(d=d.slice(0,u));var h=s(d);if(1==l.length){var m=h.lastIndexOf(l[0]);if(-1==m)continue e;return{from:r(c,f(d,h,m,s)),to:r(c,f(d,h,m+l[0].length,s))}}var v=l[l.length-1];if(h.slice(0,v.length)==v){var g=1;for(o=c-l.length+1;g0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(16))},function(e,t,n){!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement(\"div\"))).className=r?\"CodeMirror-dialog CodeMirror-dialog-bottom\":\"CodeMirror-dialog CodeMirror-dialog-top\",\"string\"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,\"dialog-opened\"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(\"openDialog\",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,l=this;function c(t){if(\"string\"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),l.focus(),o.onClose&&o.onClose(a)}}var u,f=a.getElementsByTagName(\"input\")[0];return f?(f.focus(),o.value&&(f.value=o.value,!1!==o.selectValueOnOpen&&f.select()),o.onInput&&e.on(f,\"input\",(function(e){o.onInput(e,f.value,c)})),o.onKeyUp&&e.on(f,\"keyup\",(function(e){o.onKeyUp(e,f.value,c)})),e.on(f,\"keydown\",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,c)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),c()),13==t.keyCode&&i(f.value,t))})),!1!==o.closeOnBlur&&e.on(a,\"focusout\",(function(e){null!==e.relatedTarget&&c()}))):(u=a.getElementsByTagName(\"button\")[0])&&(e.on(u,\"click\",(function(){c(),l.focus()})),!1!==o.closeOnBlur&&e.on(u,\"blur\",c),u.focus()),c})),e.defineExtension(\"openConfirm\",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName(\"button\"),l=!1,c=this,u=1;function f(){l||(l=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),c.focus())}s[0].focus();for(var p=0;p=0&&t%1===0||\"function\"===typeof e[r.b]}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return h})),n.d(t,\"a\",(function(){return m}));var r=n(33),i=n(14),o=n(4),a=n(3),s=n(30),l=n(150),c=n(44),u=n(40),f=n(10),p=n(15),d=n(0);function h(e){if(Object(u.b)(e),e.__validationErrors)return e.__validationErrors;var t=new v(e);!function(e){var t=e.schema,n=t.getQueryType();if(n){if(!Object(d.N)(n)){var r;e.reportError(\"Query root type must be Object type, it cannot be \".concat(Object(o.a)(n),\".\"),null!==(r=g(t,\"query\"))&&void 0!==r?r:n.astNode)}}else e.reportError(\"Query root type must be provided.\",t.astNode);var i,a=t.getMutationType();a&&!Object(d.N)(a)&&e.reportError(\"Mutation root type must be Object type if provided, it cannot be \"+\"\".concat(Object(o.a)(a),\".\"),null!==(i=g(t,\"mutation\"))&&void 0!==i?i:a.astNode);var s,l=t.getSubscriptionType();l&&!Object(d.N)(l)&&e.reportError(\"Subscription root type must be Object type if provided, it cannot be \"+\"\".concat(Object(o.a)(l),\".\"),null!==(s=g(t,\"subscription\"))&&void 0!==s?s:l.astNode)}(t),function(e){for(var t=0,n=e.schema.getDirectives();t1&&void 0!==arguments[1]?arguments[1]:\"GraphQL request\",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};\"string\"===typeof e||Object(o.a)(0,\"Body must be a string. Received: \".concat(Object(i.a)(e),\".\")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Object(o.a)(0,\"line in locationOffset is 1-indexed and must be positive.\"),this.locationOffset.column>0||Object(o.a)(0,\"column in locationOffset is 1-indexed and must be positive.\")}var t,n,a;return t=e,(n=[{key:r.c,get:function(){return\"Source\"}}])&&s(t.prototype,n),a&&s(t,a),e}();function c(e){return Object(a.a)(e,l)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s})),n.d(t,\"b\",(function(){return l}));var r=n(31),i=n(20),o=n(5),a=n(38),s=function(){function e(e){var t=new i.b(o.a.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==o.a.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=u(this,e)}while(e.kind===o.a.COMMENT);return e},e}();function l(e){return e===o.a.BANG||e===o.a.DOLLAR||e===o.a.AMP||e===o.a.PAREN_L||e===o.a.PAREN_R||e===o.a.SPREAD||e===o.a.COLON||e===o.a.EQUALS||e===o.a.AT||e===o.a.BRACKET_L||e===o.a.BRACKET_R||e===o.a.BRACE_L||e===o.a.PIPE||e===o.a.BRACE_R}function c(e){return isNaN(e)?o.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'\"\\\\u'.concat((\"00\"+e.toString(16).toUpperCase()).slice(-4),'\"')}function u(e,t){for(var n=e.source,a=n.body,s=a.length,l=t.end;l31||9===s));return new i.b(o.a.COMMENT,t,c,n,r,a,l.slice(t+1,c))}function d(e,t,n,a,s,l){var u=e.body,f=n,p=t,d=!1;if(45===f&&(f=u.charCodeAt(++p)),48===f){if((f=u.charCodeAt(++p))>=48&&f<=57)throw Object(r.a)(e,p,\"Invalid number, unexpected digit after 0: \".concat(c(f),\".\"))}else p=h(e,p,f),f=u.charCodeAt(p);if(46===f&&(d=!0,f=u.charCodeAt(++p),p=h(e,p,f),f=u.charCodeAt(p)),69!==f&&101!==f||(d=!0,43!==(f=u.charCodeAt(++p))&&45!==f||(f=u.charCodeAt(++p)),p=h(e,p,f),f=u.charCodeAt(p)),46===f||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(f))throw Object(r.a)(e,p,\"Invalid number, expected digit but got: \".concat(c(f),\".\"));return new i.b(d?o.a.FLOAT:o.a.INT,t,p,a,s,l,u.slice(t,p))}function h(e,t,n){var i=e.body,o=t,a=n;if(a>=48&&a<=57){do{a=i.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw Object(r.a)(e,o,\"Invalid number, expected digit but got: \".concat(c(a),\".\"))}function m(e,t,n,a,s){for(var l,u,f,p,d=e.body,h=t+1,m=h,v=0,y=\"\";h=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function y(e,t,n,r,a){for(var s=e.body,l=s.length,c=t+1,u=0;c!==l&&!isNaN(u=s.charCodeAt(c))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++c;return new i.b(o.a.NAME,t,c,n,r,a,s.slice(t,c))}},function(e,t,n){\"use strict\";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand(\"autocomplete\")},n._onEdit=function(){n.editor&&(n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue)))},n._onHasCompletion=function(e,t){Object(o.a)(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||\"\",n}return s(t,e),t.prototype.componentDidMount=function(){var e=this;this.CodeMirror=n(16),n(74),n(75),n(88),n(77),n(76),n(89),n(56),n(78),n(57),n(79),n(234),n(236),n(238);var t=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql-variables\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1,container:this._node},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:l({\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Cmd-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Ctrl-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Shift-Ctrl-P\":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()}},a.a)});t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion)},t.prototype.componentDidUpdate=function(e){if(this.CodeMirror=n(16),this.editor){if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,this.CodeMirror.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||\"\";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},t.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)},t.prototype.render=function(){var e=this;return i.a.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:function(t){e._node=t}})},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component)},function(e,t,n){\"use strict\";function r(e,t,n){if(n&&!(n.length<1)){var r=n.map((function(e){return e.name&&e.name.value}));if(t&&-1!==r.indexOf(t))return t;if(t&&e){var i=e.map((function(e){return e.name&&e.name.value})).indexOf(t);if(-1!==i&&i1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var i=0;ic.clientHeight+1;if(setTimeout((function(){S=a.getScrollInfo()})),N.bottom-C>0){var A=N.bottom-N.top;if(g.top-(g.bottom-N.top)-A>0)c.style.top=(b=g.top-A-k)+\"px\",E=!1;else if(A>C){c.style.height=C-5+\"px\",c.style.top=(b=g.bottom-N.top-k)+\"px\";var I=a.getCursor();n.from.ch!=I.ch&&(g=a.cursorCoords(I),c.style.left=(y=g.left-w)+\"px\",N=c.getBoundingClientRect())}}var j,L=N.right-_;if(L>0&&(N.right-N.left>_&&(c.style.width=_-5+\"px\",L-=N.right-N.left-_),c.style.left=(y=g.left-L-w)+\"px\"),D)for(var F=c.firstChild;F;F=F.nextSibling)F.style.paddingRight=a.display.nativeBarWidth+\"px\";a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[\"Ctrl-P\"]=function(){t.moveFocus(-1)},n[\"Ctrl-N\"]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o=\"string\"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:f.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on(\"blur\",this.onBlur=function(){j=setTimeout((function(){t.close()}),100)}),a.on(\"focus\",this.onFocus=function(){clearTimeout(j)})),a.on(\"scroll\",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=b+S.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(E||(i+=c.offsetHeight),i<=n.top||i>=n.bottom)return t.close();c.style.top=r+\"px\",c.style.left=y+S.left-e.left+\"px\"}),e.on(c,\"dblclick\",(function(e){var t=o(c,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(c,\"click\",(function(e){var n=o(c,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(c,\"mousedown\",(function(){setTimeout((function(){a.focus()}),20)}));var R=this.getSelectedHintRange();return 0===R.from&&0===R.to||this.scrollToActive(),e.signal(n,\"select\",f[this.selectedHint],c.childNodes[this.selectedHint]),!0}function s(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off(\"cursorActivity\",this.activityFunc),this.widget&&this.data&&e.signal(this.data,\"close\"),this.widget&&this.widget.close(),e.signal(this.cm,\"endCompletion\",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],o=this;this.cm.operation((function(){r.hint?r.hint(o.cm,t,r):o.cm.replaceRange(i(r),r.from||t.from,r.to||t.to,\"complete\"),e.signal(t,\"pick\",r),o.cm.scrollIntoView()})),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),i=this.cm.getLine(t.line);if(t.line!=this.startPos.line||i.length-t.ch!=this.startLen-this.startPos.ch||t.ch=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(\" CodeMirror-hint-active\",\"\")),(r=this.hints.childNodes[this.selectedHint=t]).className+=\" CodeMirror-hint-active\",this.scrollToActive(),e.signal(this.data,\"select\",this.data.list[this.selectedHint],r)}},scrollToActive:function(){var e=this.getSelectedHintRange(),t=this.hints.childNodes[e.from],n=this.hints.childNodes[e.to],r=this.hints.firstChild;t.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var e=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-e),to:Math.min(this.data.list.length-1,this.selectedHint+e)}}},e.registerHelper(\"hint\",\"auto\",{resolve:function(t,n){var r,i=t.getHelpers(n,\"hint\");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),\"hintWords\"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper(\"hint\",\"fromList\",(function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};e.defineOption(\"hintOptions\",null)}(n(16))},function(e,t,n){!function(e){var t=/MSIE \\d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={\"(\":\")>\",\")\":\"(<\",\"[\":\"]>\",\"]\":\"[<\",\"{\":\"}>\",\"}\":\"{<\",\"<\":\">>\",\">\":\"<<\"};function i(e){return e&&e.bracketRegex||/[(){}[\\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),l=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=i(o),f=!c&&l>=0&&u.test(s.text.charAt(l))&&r[s.text.charAt(l)]||u.test(s.text.charAt(l+1))&&r[s.text.charAt(++l)];if(!f)return null;var p=\">\"==f.charAt(1)?1:-1;if(o&&o.strict&&p>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=a(e,n(t.line,l+(p>0?1:0)),p,d,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function a(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,u=[],f=i(s),p=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=p;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,v=o>0?h.length:-1;if(!(h.length>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=v;m+=o){var g=h.charAt(m);if(f.test(g)&&(void 0===a||(e.getTokenTypeAt(n(d,m+1))||\"\")==(a||\"\"))){var y=r[g];if(y&&\">\"==y.charAt(1)==o>0)u.push(g);else{if(!u.length)return{pos:n(d,m),ch:g};u.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=i&&i.highlightNonMatching,l=[],c=e.listSelections(),u=0;u=c){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function l(e,n,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.fromt.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function f(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&ru))c=u,s=\"{\",l=\"}\";else{if(null==f)return;c=f,s=\"[\",l=\"]\"}var p,d,h=1,m=t.lastLine();e:for(var v=i;v<=m;++v)for(var g=t.getLine(v),y=v==i?c:0;;){var b=g.indexOf(s,y),E=g.indexOf(l,y);if(b<0&&(b=g.length),E<0&&(E=g.length),(y=Math.min(b,E))==g.length)break;if(t.getTokenTypeAt(e.Pos(v,y+1))==r)if(y==b)++h;else if(!--h){p=v,d=y;break e}++y}if(null!=p&&i!=p)return{from:e.Pos(i,c),to:e.Pos(p,d)}})),e.registerHelper(\"fold\",\"import\",(function(t,n){function r(n){if(nt.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"keyword\"!=r.type||\"import\"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i).indexOf(\";\");if(-1!=a)return{startCh:r.end,end:e.Pos(i,a)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper(\"fold\",\"include\",(function(t,n){function r(n){if(nt.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"meta\"==r.type&&\"#include\"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;null!=r(a+1);)++a;return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}}))}(n(16))},function(e,t,n){!function(e){\"use strict\";function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.defineOption(\"search\",{bottom:!1}),e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}(e,function(e){return e.phrase(\"Jump to line:\")+' '+e.phrase(\"(Use line:column or scroll% syntax)\")+\"\"}(e),e.phrase(\"Jump to line:\"),n.line+1+\":\"+n.ch,(function(r){var i;if(r)if(i=/^\\s*([\\+\\-]?\\d+)\\s*\\:\\s*(\\d+)\\s*$/.exec(r))e.setCursor(t(e,i[1]),Number(i[2]));else if(i=/^\\s*([\\+\\-]?\\d+(\\.\\d+)?)\\%\\s*/.exec(r)){var o=Math.round(e.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(i=/^\\s*\\:?\\s*([\\+\\-]?\\d+)\\s*/.exec(r))&&e.setCursor(t(e,i[1]),n.ch)}))},e.keyMap.default[\"Alt-G\"]=\"jumpToLine\"}(n(16),n(57))},function(e,t,n){!function(e){\"use strict\";var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s=\"start\",l=r.ch,c=l,u=i<0?0:o.length,f=0;c!=u;c+=i,f++){var p=o.charAt(i<0?c-1:c),d=\"_\"!=p&&e.isWordChar(p)?\"w\":\"o\";if(\"w\"==d&&p.toUpperCase()==p&&(d=\"W\"),\"start\"==s)\"o\"!=d?(s=\"in\",a=d):l=c+i;else if(\"in\"==s&&a!=d){if(\"w\"==a&&\"W\"==d&&i<0&&c--,\"W\"==a&&\"w\"==d&&i>0){if(c==l+1){a=\"w\";continue}c--}break}}return n(r.line,c)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a=0;s--){var c=r[i[s]];if(!(l&&e.cmpPos(c.head,l)>0)){var u=o(t,c.head);l=u.from,t.replaceRange(n(u.word),u.from,u.to)}}}))}function f(t){var n=t.getCursor(\"from\"),r=t.getCursor(\"to\");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function p(e,t){var r=f(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,\"local\");e.getCursor().line>=n&&e.execCommand(\"goLineUp\")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,\"local\")+1;e.getCursor().line<=n&&e.execCommand(\"goLineDown\")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;io.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;io?i.push(c,u):i.length&&(i[i.length-1]=u),o=u}t.operation((function(){for(var e=0;et.lastLine()?t.replaceRange(\"\\n\"+s,n(t.lastLine()),null,\"+swapLine\"):t.replaceRange(s+\"\\n\",n(o,0),null,\"+swapLine\")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],l=s.to().line+1,c=s.from().line;0!=s.to().ch||s.empty()||l--,l=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange(\"\",n(r-1),n(r),\"+swapLine\"):t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),t.replaceRange(a+\"\\n\",n(o,0),null,\"+swapLine\")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),l=e.countColumn(s,null,t.getOption(\"tabSize\")),c=t.findPosH(a,-1,\"char\",!1);if(s&&!/\\S/.test(s)&&l%i==0){var u=new n(a.line,e.findColumn(s,l-i,i));u.ch!=a.ch&&(c=u)}t.replaceRange(\"\",c,a,\"+delete\")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(\"\",t[r].anchor,n(t[r].to().line),\"+delete\");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){u(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){u(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange(\"\",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,\"paste\")},t.showInCenter=function(e){var t=e.cursorCoords(null,\"local\");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=f(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={\"Cmd-Left\":\"goLineStartSmart\",\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Ctrl-Alt-Up\":\"scrollLineUp\",\"Ctrl-Alt-Down\":\"scrollLineDown\",\"Cmd-L\":\"selectLine\",\"Shift-Cmd-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Cmd-Enter\":\"insertLineAfter\",\"Shift-Cmd-Enter\":\"insertLineBefore\",\"Cmd-D\":\"selectNextOccurrence\",\"Shift-Cmd-Space\":\"selectScope\",\"Shift-Cmd-M\":\"selectBetweenBrackets\",\"Cmd-M\":\"goToBracket\",\"Cmd-Ctrl-Up\":\"swapLineUp\",\"Cmd-Ctrl-Down\":\"swapLineDown\",\"Cmd-/\":\"toggleCommentIndented\",\"Cmd-J\":\"joinLines\",\"Shift-Cmd-D\":\"duplicateLine\",F5:\"sortLines\",\"Cmd-F5\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Cmd-F2\":\"toggleBookmark\",\"Shift-Cmd-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Cmd-K Cmd-D\":\"skipAndSelectNextOccurrence\",\"Cmd-K Cmd-K\":\"delLineRight\",\"Cmd-K Cmd-U\":\"upcaseAtCursor\",\"Cmd-K Cmd-L\":\"downcaseAtCursor\",\"Cmd-K Cmd-Space\":\"setSublimeMark\",\"Cmd-K Cmd-A\":\"selectToSublimeMark\",\"Cmd-K Cmd-W\":\"deleteToSublimeMark\",\"Cmd-K Cmd-X\":\"swapWithSublimeMark\",\"Cmd-K Cmd-Y\":\"sublimeYank\",\"Cmd-K Cmd-C\":\"showInCenter\",\"Cmd-K Cmd-G\":\"clearBookmarks\",\"Cmd-K Cmd-Backspace\":\"delLineLeft\",\"Cmd-K Cmd-1\":\"foldAll\",\"Cmd-K Cmd-0\":\"unfoldAll\",\"Cmd-K Cmd-J\":\"unfoldAll\",\"Ctrl-Shift-Up\":\"addCursorToPrevLine\",\"Ctrl-Shift-Down\":\"addCursorToNextLine\",\"Cmd-F3\":\"findUnder\",\"Shift-Cmd-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Cmd-[\":\"fold\",\"Shift-Cmd-]\":\"unfold\",\"Cmd-I\":\"findIncremental\",\"Shift-Cmd-I\":\"findIncrementalReverse\",\"Cmd-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"macDefault\"},e.normalizeKeyMap(d.macSublime),d.pcSublime={\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-T\":\"transposeChars\",\"Alt-Left\":\"goSubwordLeft\",\"Alt-Right\":\"goSubwordRight\",\"Ctrl-Up\":\"scrollLineUp\",\"Ctrl-Down\":\"scrollLineDown\",\"Ctrl-L\":\"selectLine\",\"Shift-Ctrl-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Ctrl-Enter\":\"insertLineAfter\",\"Shift-Ctrl-Enter\":\"insertLineBefore\",\"Ctrl-D\":\"selectNextOccurrence\",\"Shift-Ctrl-Space\":\"selectScope\",\"Shift-Ctrl-M\":\"selectBetweenBrackets\",\"Ctrl-M\":\"goToBracket\",\"Shift-Ctrl-Up\":\"swapLineUp\",\"Shift-Ctrl-Down\":\"swapLineDown\",\"Ctrl-/\":\"toggleCommentIndented\",\"Ctrl-J\":\"joinLines\",\"Shift-Ctrl-D\":\"duplicateLine\",F9:\"sortLines\",\"Ctrl-F9\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Ctrl-F2\":\"toggleBookmark\",\"Shift-Ctrl-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Ctrl-K Ctrl-D\":\"skipAndSelectNextOccurrence\",\"Ctrl-K Ctrl-K\":\"delLineRight\",\"Ctrl-K Ctrl-U\":\"upcaseAtCursor\",\"Ctrl-K Ctrl-L\":\"downcaseAtCursor\",\"Ctrl-K Ctrl-Space\":\"setSublimeMark\",\"Ctrl-K Ctrl-A\":\"selectToSublimeMark\",\"Ctrl-K Ctrl-W\":\"deleteToSublimeMark\",\"Ctrl-K Ctrl-X\":\"swapWithSublimeMark\",\"Ctrl-K Ctrl-Y\":\"sublimeYank\",\"Ctrl-K Ctrl-C\":\"showInCenter\",\"Ctrl-K Ctrl-G\":\"clearBookmarks\",\"Ctrl-K Ctrl-Backspace\":\"delLineLeft\",\"Ctrl-K Ctrl-1\":\"foldAll\",\"Ctrl-K Ctrl-0\":\"unfoldAll\",\"Ctrl-K Ctrl-J\":\"unfoldAll\",\"Ctrl-Alt-Up\":\"addCursorToPrevLine\",\"Ctrl-Alt-Down\":\"addCursorToNextLine\",\"Ctrl-F3\":\"findUnder\",\"Shift-Ctrl-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Ctrl-[\":\"fold\",\"Shift-Ctrl-]\":\"unfold\",\"Ctrl-I\":\"findIncremental\",\"Shift-Ctrl-I\":\"findIncrementalReverse\",\"Ctrl-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"pcDefault\"},e.normalizeKeyMap(d.pcSublime);var h=d.default==d.macDefault;d.sublime=h?d.macSublime:d.pcSublime}(n(16),n(56),n(75))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(1),i=n.n(r);function o(e){var t=e.children;return i.a.createElement(\"div\",{className:\"toolbar-button-group\"},t)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(35),i=n(46),o=n(23),a=n(12),s=n(0);function l(e,t,n){var l,f=[];if(!e||!t)return{insertions:f,result:t};try{l=Object(r.a)(t)}catch(h){return{insertions:f,result:t}}var p=n||c,d=new i.a(e);return Object(o.c)(l,{leave:function(e){d.leave(e)},enter:function(e){if(d.enter(e),\"Field\"===e.kind&&!e.selectionSet){var n=function e(t,n){var r=Object(s.A)(t);if(!t||Object(s.I)(t))return;var i=n(r);if(!Array.isArray(i)||0===i.length||!(\"getFields\"in r))return;return{kind:\"SelectionSet\",selections:i.map((function(t){var i=r.getFields()[t],o=i?i.type:null;return{kind:\"Field\",name:{kind:\"Name\",value:t},selectionSet:e(o,n)}}))}}(function(e){if(e)return e}(d.getType()),p);if(n&&e.loc){var r=function(e,t){var n=t,r=t;for(;n;){var i=e.charCodeAt(n-1);if(10===i||13===i||8232===i||8233===i)break;n--,9!==i&&11!==i&&12!==i&&32!==i&&160!==i&&(r=n)}return e.substring(n,r)}(t,e.loc.start);f.push({index:e.loc.end,string:\" \"+Object(a.print)(n).replace(/\\n/g,\"\\n\"+r)})}}}}),{insertions:f,result:u(t,f)}}function c(e){if(!(\"getFields\"in e))return[];var t=e.getFields();if(t.id)return[\"id\"];if(t.edges)return[\"edges\"];if(t.node)return[\"node\"];var n=[];return Object.keys(t).forEach((function(e){Object(s.I)(t[e].type)&&n.push(e)})),n}function u(e,t){if(0===t.length)return e;var n=\"\",r=0;return t.forEach((function(t){var i=t.index,o=t.string;n+=e.slice(r,i)+o,r=i})),n+=e.slice(r)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(0),i=n(46),o=n(23),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0)continue;l.push(p)}var d=t[f.name.value];if(d)f={kind:\"InlineFragment\",typeCondition:d.typeCondition,directives:d.directives,selectionSet:d.selectionSet}}if(\"InlineFragment\"===f.kind&&(!f.directives||0===(null===(o=f.directives)||void 0===o?void 0:o.length))){var h=f.typeCondition?f.typeCondition.name.value:null;if(!h||h===a){s.push.apply(s,e(t,f.selectionSet.selections,i));continue}}s.push(f)}return s}(l,i,t),(function(e){return e.alias?e.alias.value:e.name.value})),a(a({},e),{selections:i})},FragmentDefinition:function(){return null}};return Object(o.c)(e,n?Object(i.b)(n,p):p)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return D}));var r=n(1),i=n.n(r),o=n(0);function a(e){var t=e.onClick?e.onClick:function(){return null};return function e(t,n){if(t instanceof o.e)return i.a.createElement(\"span\",null,e(t.ofType,n),\"!\");if(t instanceof o.d)return i.a.createElement(\"span\",null,\"[\",e(t.ofType,n),\"]\");return i.a.createElement(\"a\",{className:\"type-name\",onClick:function(e){e.preventDefault(),n(t,e)},href:\"#\"},null===t||void 0===t?void 0:t.name)}(e.type,t)}var s=n(12),l=n(51);function c(e){var t,n=e.field;return\"defaultValue\"in n&&void 0!==n.defaultValue?i.a.createElement(\"span\",null,\" = \",i.a.createElement(\"span\",{className:\"arg-default-value\"},(t=Object(l.a)(n.defaultValue,n.type))?Object(s.print)(t):\"\")):null}function u(e){var t=e.arg,n=e.onClickType,r=e.showDefaultValue;return i.a.createElement(\"span\",{className:\"arg\"},i.a.createElement(\"span\",{className:\"arg-name\"},t.name),\": \",i.a.createElement(a,{type:t.type,onClick:n}),!1!==r&&i.a.createElement(c,{field:t}))}function f(e){var t=e.directive;return i.a.createElement(\"span\",{className:\"doc-category-item\",id:t.name.value},\"@\",t.name.value)}var p=n(60),d=new(n.n(p).a);function h(e){var t=e.markdown,n=e.className;return t?i.a.createElement(\"div\",{className:n,dangerouslySetInnerHTML:{__html:d.render(t)}}):i.a.createElement(\"div\",null)}function m(e){var t,n,r=e.field,o=e.onClickType;return r&&\"args\"in r&&r.args.length>0&&(t=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"arguments\"),r.args.map((function(e){return i.a.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},i.a.createElement(\"div\",null,i.a.createElement(u,{arg:e,onClickType:o})),i.a.createElement(h,{className:\"doc-value-description\",markdown:e.description}))})))),r&&r.astNode&&r.astNode.directives&&r.astNode.directives.length>0&&(n=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"directives\"),r.astNode.directives.map((function(e){return i.a.createElement(\"div\",{key:e.name.value,className:\"doc-category-item\"},i.a.createElement(\"div\",null,i.a.createElement(f,{directive:e})))})))),i.a.createElement(\"div\",null,i.a.createElement(h,{className:\"doc-type-description\",markdown:(null===r||void 0===r?void 0:r.description)||\"No Description\"}),r&&\"deprecationReason\"in r&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:null===r||void 0===r?void 0:r.deprecationReason}),i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"type\"),i.a.createElement(a,{type:null===r||void 0===r?void 0:r.type,onClick:o})),t,n)}function v(e){var t=e.schema,n=e.onClickType,r=t.getQueryType(),o=t.getMutationType&&t.getMutationType(),s=t.getSubscriptionType&&t.getSubscriptionType();return i.a.createElement(\"div\",null,i.a.createElement(h,{className:\"doc-type-description\",markdown:t.description||\"A GraphQL schema provides a root type for each kind of operation.\"}),i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"root types\"),i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"query\"),\": \",i.a.createElement(a,{type:r,onClick:n})),o&&i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"mutation\"),\": \",i.a.createElement(a,{type:o,onClick:n})),s&&i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"subscription\"),\": \",i.a.createElement(a,{type:s,onClick:n}))))}var g=n(37),y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChange=function(e){var t=e.currentTarget.value;n.setState({value:t}),n.debouncedOnSearch(t)},n.handleClear=function(){n.setState({value:\"\"}),n.props.onSearch(\"\")},n.state={value:t.value||\"\"},n.debouncedOnSearch=Object(g.a)(200,n.props.onSearch),n}return y(t,e),t.prototype.render=function(){return i.a.createElement(\"label\",{className:\"search-box\"},i.a.createElement(\"div\",{className:\"search-box-icon\",\"aria-hidden\":\"true\"},\"\\u26b2\"),i.a.createElement(\"input\",{value:this.state.value,onChange:this.handleChange,type:\"text\",placeholder:this.props.placeholder,\"aria-label\":this.props.placeholder}),this.state.value&&i.a.createElement(\"button\",{className:\"search-box-clear\",onClick:this.handleClear,\"aria-label\":\"Clear search input\"},\"\\u2715\"))},t}(i.a.Component),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue},t.prototype.render=function(){var e=this.props.searchValue,t=this.props.withinType,n=this.props.schema,r=this.props.onClickType,o=this.props.onClickField,s=[],l=[],c=[],f=n.getTypeMap(),p=Object.keys(f);t&&(p=p.filter((function(e){return e!==t.name}))).unshift(t.name);for(var d=function(n){if(s.length+l.length+c.length>=100)return\"break\";var p=f[n];if(t!==p&&k(n,e)&&l.push(i.a.createElement(\"div\",{className:\"doc-category-item\",key:n},i.a.createElement(a,{type:p,onClick:r}))),p&&\"getFields\"in p){var d=p.getFields();Object.keys(d).forEach((function(l){var f,h=d[l];if(!k(l,e)){if(!(\"args\"in h)||!h.args.length)return;if(0===(f=h.args.filter((function(t){return k(t.name,e)}))).length)return}var m=i.a.createElement(\"div\",{className:\"doc-category-item\",key:n+\".\"+l},t!==p&&[i.a.createElement(a,{key:\"type\",type:p,onClick:r}),\".\"],i.a.createElement(\"a\",{className:\"field-name\",onClick:function(e){return o(h,p,e)}},h.name),f&&[\"(\",i.a.createElement(\"span\",{key:\"args\"},f.map((function(e){return i.a.createElement(u,{key:e.name,arg:e,onClickType:r,showDefaultValue:!1})}))),\")\"]);t===p?s.push(m):c.push(m)}))}},h=0,m=p;h0?i.a.createElement(\"div\",null,s,i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"other results\"),l,c)):i.a.createElement(\"div\",{className:\"doc-search-items\"},s,l,c)},t}(i.a.Component);function k(e,t){try{var n=t.replace(/[^_0-9A-Za-z]/g,(function(e){return\"\\\\\"+e}));return-1!==e.search(new RegExp(n,\"i\"))}catch(r){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}var T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){function t(t){var n=e.call(this,t)||this;return n.handleShowDeprecated=function(){return n.setState({showDeprecated:!0})},n.state={showDeprecated:!1},n}return T(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated},t.prototype.render=function(){var e,t,n,r,s,l=this.props.schema,c=this.props.type,u=this.props.onClickType,f=this.props.onClickField,p=null,d=[];if(c instanceof o.h?(p=\"possible types\",d=l.getPossibleTypes(c)):c instanceof o.c?(p=\"implementations\",d=l.getPossibleTypes(c)):c instanceof o.f&&(p=\"implements\",d=c.getInterfaces()),d&&d.length>0&&(e=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},p),d.map((function(e){return i.a.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},i.a.createElement(a,{type:e,onClick:u}))})))),c&&\"getFields\"in c){var m=c.getFields(),v=Object.keys(m).map((function(e){return m[e]}));t=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"fields\"),v.filter((function(e){return!(\"isDeprecated\"in e)||!e.isDeprecated})).map((function(e){return i.a.createElement(x,{key:e.name,type:c,field:e,onClickType:u,onClickField:f})})));var g=v.filter((function(e){return\"isDeprecated\"in e&&e.isDeprecated}));g.length>0&&(n=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated fields\"),this.state.showDeprecated?g.map((function(e){return i.a.createElement(x,{key:e.name,type:c,field:e,onClickType:u,onClickField:f})})):i.a.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated fields...\")))}if(c instanceof o.a){var y=c.getValues();r=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"values\"),y.filter((function(e){return!e.isDeprecated})).map((function(e){return i.a.createElement(_,{key:e.name,value:e})})));var b=y.filter((function(e){return e.isDeprecated}));b.length>0&&(s=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated values\"),this.state.showDeprecated?b.map((function(e){return i.a.createElement(_,{key:e.name,value:e})})):i.a.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated values...\")))}return i.a.createElement(\"div\",null,i.a.createElement(h,{className:\"doc-type-description\",markdown:\"description\"in c&&c.description||\"No Description\"}),c instanceof o.f&&e,t,n,r,s,!(c instanceof o.f)&&e)},t}(i.a.Component);function x(e){var t=e.type,n=e.field,r=e.onClickType,o=e.onClickField;return i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"a\",{className:\"field-name\",onClick:function(e){return o(n,t,e)}},n.name),\"args\"in n&&n.args&&n.args.length>0&&[\"(\",i.a.createElement(\"span\",{key:\"args\"},n.args.map((function(e){return i.a.createElement(u,{key:e.name,arg:e,onClickType:r})}))),\")\"],\": \",i.a.createElement(a,{type:n.type,onClick:r}),i.a.createElement(c,{field:n}),n.description&&i.a.createElement(h,{className:\"field-short-description\",markdown:n.description}),\"deprecationReason\"in n&&n.deprecationReason&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:n.deprecationReason}))}function _(e){var t=e.value;return i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"div\",{className:\"enum-value\"},t.name),i.a.createElement(h,{className:\"doc-value-description\",markdown:t.description}),t.deprecationReason&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:t.deprecationReason}))}var C=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&n.setState({navStack:n.state.navStack.slice(0,-1)})},n.handleClickType=function(e){n.showDoc(e)},n.handleClickField=function(e){n.showDoc(e)},n.handleSearch=function(e){n.showSearch(e)},n.state={navStack:[N]},n}return C(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack},t.prototype.render=function(){var e,t=this.props.schema,n=this.state.navStack,r=n[n.length-1];e=void 0===t?i.a.createElement(\"div\",{className:\"spinner-container\"},i.a.createElement(\"div\",{className:\"spinner\"})):t?r.search?i.a.createElement(w,{searchValue:r.search,withinType:r.def,schema:t,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===n.length?i.a.createElement(v,{schema:t,onClickType:this.handleClickType}):Object(o.S)(r.def)?i.a.createElement(O,{schema:t,type:r.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):i.a.createElement(m,{field:r.def,onClickType:this.handleClickType}):i.a.createElement(\"div\",{className:\"error-container\"},\"No Schema Available\");var a,s=1===n.length||Object(o.S)(r.def)&&\"getFields\"in r.def;return n.length>1&&(a=n[n.length-2].name),i.a.createElement(\"section\",{className:\"doc-explorer\",key:r.name,\"aria-label\":\"Documentation Explorer\"},i.a.createElement(\"div\",{className:\"doc-explorer-title-bar\"},a&&i.a.createElement(\"button\",{className:\"doc-explorer-back\",onClick:this.handleNavBackClick,\"aria-label\":\"Go back to \"+a},a),i.a.createElement(\"div\",{className:\"doc-explorer-title\"},r.title||r.name),i.a.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),i.a.createElement(\"div\",{className:\"doc-explorer-contents\"},s&&i.a.createElement(b,{value:r.search,placeholder:\"Search \"+r.name+\"...\",onSearch:this.handleSearch}),e))},t.prototype.showDoc=function(e){var t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})},t.prototype.showDocForReference=function(e){e&&\"Type\"===e.kind?this.showDoc(e.type):\"Field\"===e.kind||\"Argument\"===e.kind&&e.field?this.showDoc(e.field):\"EnumValue\"===e.kind&&e.type&&this.showDoc(e.type)},t.prototype.showSearch=function(e){var t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]=S(S({},n),{search:e}),this.setState({navStack:t})},t.prototype.reset=function(){this.setState({navStack:[N]})},t}(i.a.Component)},function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+\" \"+t},e.exports=r},function(e,t,n){!function(e){var t={pairs:\"()[]{}''\\\"\\\"\",closeBefore:\")]}'\\\":;>\",triples:\"\",explode:\"[]{}\"},n=e.Pos;function r(e,n){return\"pairs\"==n&&\"string\"==typeof e?e:\"object\"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption(\"autoCloseBrackets\",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,\"pairs\")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:function(t){var i=s(t);if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=r(i,\"pairs\"),a=t.listSelections(),l=0;l=0;l--){var f=a[l].head;t.replaceRange(\"\",n(f.line,f.ch-1),n(f.line,f.ch+1),\"+delete\")}},Enter:function(t){var n=s(t),i=n&&r(n,\"explode\");if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=t.listSelections(),a=0;a1&&h.indexOf(i)>=0&&t.getRange(n(w.line,w.ch-2),w)==i+i){if(w.ch>2&&/\\bstring/.test(t.getTokenTypeAt(n(w.line,w.ch-2))))return e.Pass;b=\"addFour\"}else if(m){var T=0==w.ch?\" \":t.getRange(n(w.line,w.ch-1),w);if(e.isWordChar(k)||T==i||e.isWordChar(T))return e.Pass;b=\"both\"}else{if(!g||!(0===k.length||/\\s/.test(k)||d.indexOf(k)>-1))return e.Pass;b=\"both\"}else b=m&&f(t,w)?\"both\":h.indexOf(i)>=0&&t.getRange(w,n(w.line,w.ch+3))==i+i+i?\"skipThree\":\"skip\";if(p){if(p!=b)return e.Pass}else p=b}var O=u%2?a.charAt(u-1):i,x=u%2?i:a.charAt(u+1);t.operation((function(){if(\"skip\"==p)l(t,1);else if(\"skipThree\"==p)l(t,3);else if(\"surround\"==p){for(var e=t.getSelections(),n=0;n0?{line:a.head.line,ch:a.head.ch+t}:{line:a.head.line-1};n.push({anchor:s,head:s})}e.setSelections(n,i)}function c(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function u(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function f(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+\"`\")}(n(16))},function(e,t,n){!function(e){\"use strict\";var t=\"CodeMirror-lint-markers\";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i,o){var a=function(t,n,r){var i=document.createElement(\"div\");function o(t){if(!i.parentNode)return e.off(document,\"mousemove\",o);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+\"px\",i.style.left=t.clientX+5+\"px\"}return i.className=\"CodeMirror-lint-tooltip cm-s-\"+t.options.theme,i.appendChild(r.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,\"mousemove\",o),o(n),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i);function s(){var t;e.off(o,\"mouseout\",s),a&&((t=a).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),a=null)}var l=setInterval((function(){if(a)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){s();break}}if(!a)return clearInterval(l)}),400);e.on(o,\"mouseout\",s)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,l=e.findMarksAt(e.coordsChar({left:o,top:a},\"client\")),c=[],u=0;u-1)&&d.push(e.message)}));for(var h=null,m=l.hasGutter&&document.createDocumentFragment(),v=0;v1,l.options.tooltips))}}c.onUpdateLinting&&c.onUpdateLinting(n,u,e)}function u(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(e)}),t.options.delay||500))}e.defineOption(\"lint\",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off(\"change\",u),e.off(n.getWrapperElement(),\"mouseover\",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption(\"gutters\"),c=!1,f=0;f0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var r=this.getQueryEditor();r&&r.operation((function(){var e=r.getCursor(),i=r.indexFromPos(e);r.setValue(n||\"\");var o=0,a=t.map((function(e){var t=e.index,n=e.string;return r.markText(r.posFromIndex(t+o),r.posFromIndex(t+(o+=n.length)),{className:\"autoInsertedLeaf\",clearOnEnter:!0,title:\"Automatically added leaf fields\"})}));setTimeout((function(){return a.forEach((function(e){return e.clear()}))}),7e3);var s=i;t.forEach((function(e){var t=e.index,n=e.string;t2?r.headers=JSON.parse(this.state.headers):this.props.headers&&(r.headers=JSON.parse(this.props.headers));var i=J(t({query:j.a,operationName:j.b},r));Q(i)?i.then((function(e){if(\"string\"!==typeof e&&\"data\"in e)return e;var n=J(t({query:j.c,operationName:j.b},r));if(!Q(i))throw new Error(\"Fetcher did not return a Promise for introspection.\");return n})).then((function(t){if(void 0===e.state.schema)if(\"string\"!==typeof t&&\"data\"in t){var r=Object(s.a)(t.data),i=Object(_.a)(r,e.state.query);e.safeSetState(F({schema:r},i))}else{var o=\"string\"===typeof t?t:n.formatResult(t);e.safeSetState({schema:void 0,response:o})}})).catch((function(t){e.safeSetState({schema:void 0,response:t?n.formatError(t):void 0})})):this.setState({response:\"Fetcher did not return a Promise for introspection.\"})},n.prototype._fetchQuery=function(e,t,r,i,s,c){return R(this,void 0,void 0,(function(){var u,p,d,h,m,v,g=this;return M(this,(function(y){u=this.props.fetcher,p=null,d=null;try{p=t&&\"\"!==t.trim()?JSON.parse(t):null}catch(b){throw new Error(\"Variables are invalid JSON: \"+b.message+\".\")}if(\"object\"!==typeof p)throw new Error(\"Variables are not a JSON object.\");try{d=r&&\"\"!==r.trim()?JSON.parse(r):null}catch(b){throw new Error(\"Headers are invalid JSON: \"+b.message+\".\")}if(\"object\"!==typeof d)throw new Error(\"Headers are not a JSON object.\");return this.props.externalFragments&&(h=new Map,Array.isArray(this.props.externalFragments)?this.props.externalFragments.forEach((function(e){h.set(e.name.value,e)})):Object(l.c)(Object(a.a)(this.props.externalFragments,{experimentalFragmentVariables:!0}),{FragmentDefinition:function(e){h.set(e.name.value,e)}}),(m=Object(f.getFragmentDependenciesForAST)(this.state.documentAST,h)).length>0&&(e+=\"\\n\"+m.map((function(e){return Object(o.print)(e)})).join(\"\\n\"))),v=u({query:e,variables:p,operationName:i},{headers:d,shouldPersistHeaders:s,documentAST:this.state.documentAST}),[2,Promise.resolve(v).then((function(e){return K(e)?e.subscribe({next:c,error:function(e){g.safeSetState({isWaitingForResponse:!1,response:e?n.formatError(e):void 0,subscription:null})},complete:function(){g.safeSetState({isWaitingForResponse:!1,subscription:null})}}):Y(e)?(R(g,void 0,void 0,(function(){var t,r,i,o,a,s,l;return M(this,(function(u){switch(u.label){case 0:u.trys.push([0,13,,14]),u.label=1;case 1:u.trys.push([1,6,7,12]),t=V(e),u.label=2;case 2:return[4,t.next()];case 3:if((r=u.sent()).done)return[3,5];i=r.value,c(i),u.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return o=u.sent(),s={error:o},[3,12];case 7:return u.trys.push([7,,10,11]),r&&!r.done&&(l=t.return)?[4,l.call(t)]:[3,9];case 8:u.sent(),u.label=9;case 9:return[3,11];case 10:if(s)throw s.error;return[7];case 11:return[7];case 12:return this.safeSetState({isWaitingForResponse:!1,subscription:null}),[3,14];case 13:return a=u.sent(),this.safeSetState({isWaitingForResponse:!1,response:a?n.formatError(a):void 0,subscription:null}),[3,14];case 14:return[2]}}))})),{unsubscribe:function(){var t,n;return null===(n=(t=e[Symbol.asyncIterator]()).return)||void 0===n?void 0:n.call(t)}}):(c(e),null)})).catch((function(e){return g.safeSetState({isWaitingForResponse:!1,response:e?n.formatError(e):void 0}),null}))]}))}))},n.prototype._runQueryAtCursor=function(){if(this.state.subscription)this.handleStopQuery();else{var e,t=this.state.operations;if(t){var n=this.getQueryEditor();if(n&&n.hasFocus())for(var r=n.getCursor(),i=n.indexFromPos(r),o=0;o=i){e=a.name&&a.name.value;break}}}this.handleRunQuery(e)}},n.prototype._didClickDragBar=function(e){if(0!==e.button||e.ctrlKey)return!1;var t=e.target;if(0!==t.className.indexOf(\"CodeMirror-gutter\"))return!1;for(var n=this.resultViewerElement;t;){if(t===n)return!0;t=t.parentNode}return!1},n.Logo=z,n.Toolbar=q,n.Footer=H,n.QueryEditor=y.a,n.VariableEditor=b.a,n.HeaderEditor=E.a,n.ResultViewer=w.a,n.Button=m.a,n.ToolbarButton=m.a,n.Group=v.a,n.Menu=g.a,n.MenuItem=g.b,n}(i.a.Component);function z(e){return i.a.createElement(\"div\",{className:\"title\"},e.children||i.a.createElement(\"span\",null,\"Graph\",i.a.createElement(\"em\",null,\"i\"),\"QL\"))}function q(e){return i.a.createElement(\"div\",{className:\"toolbar\",role:\"toolbar\",\"aria-label\":\"Editor Commands\"},e.children)}function H(e){return i.a.createElement(\"div\",{className:\"footer\"},e.children)}z.displayName=\"GraphiQLLogo\",q.displayName=\"GraphiQLToolbar\",H.displayName=\"GraphiQLFooter\";var G=function(e){return F(F({},e),{message:e.message,stack:e.stack})},W='# Welcome to GraphiQL\\n#\\n# GraphiQL is an in-browser tool for writing, validating, and\\n# testing GraphQL queries.\\n#\\n# Type queries into this side of the screen, and you will see intelligent\\n# typeaheads aware of the current GraphQL type schema and live syntax and\\n# validation errors highlighted within the text.\\n#\\n# GraphQL queries typically start with a \"{\" character. Lines that start\\n# with a # are ignored.\\n#\\n# An example GraphQL query might look like:\\n#\\n# {\\n# field(arg: \"value\") {\\n# subField\\n# }\\n# }\\n#\\n# Keyboard shortcuts:\\n#\\n# Prettify Query: Shift-Ctrl-P (or press the prettify button above)\\n#\\n# Merge Query: Shift-Ctrl-M (or press the merge button above)\\n#\\n# Run Query: Ctrl-Enter (or press the play button above)\\n#\\n# Auto Complete: Ctrl-Space (or just start typing)\\n#\\n\\n';function Q(e){return\"object\"===typeof e&&\"function\"===typeof e.then}function K(e){return\"object\"===typeof e&&\"subscribe\"in e&&\"function\"===typeof e.subscribe}function Y(e){return\"object\"===typeof e&&null!==e&&(\"AsyncGenerator\"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}function J(e){return Promise.resolve(e).then((function(e){return Y(e)?(n=e,new Promise((function(e,t){var r,i=null===(r=(\"return\"in n?n:n[Symbol.asyncIterator]()).return)||void 0===r?void 0:r.bind(n);(\"next\"in n?n:n[Symbol.asyncIterator]()).next.bind(n)().then((function(t){e(t.value),null===i||void 0===i||i()})).catch((function(e){t(e)}))}))):K(e)?(t=e,new Promise((function(e,n){var r=t.subscribe({next:function(t){e(t),r.unsubscribe()},error:n,complete:function(){n(new Error(\"no value resolved\"))}})}))):e;var t,n}))}function $(e,t){var n;return!(!(null===(n=null===e||void 0===e?void 0:e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}}).call(this,n(65))},function(e,t,n){\"use strict\";function r(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:\"Got unexpected \"+e);throw n.framesToPop=1,n}e.exports=r,e.exports.default=r,Object.defineProperty(e.exports,\"__esModule\",{value:!0})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o}));var r=n(72);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,l=t.line+o,c=1===t.line?n:0,u=t.column+c,f=\"\".concat(e.name,\":\").concat(l,\":\").concat(u,\"\\n\"),p=r.split(/\\r\\n|[\\n\\r]/g),d=p[i];if(d.length>120){for(var h=Math.floor(u/80),m=u%80,v=[],g=0;g=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand(\"autocomplete\")},n._onEdit=function(){n.editor&&(n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue)))},n._onHasCompletion=function(e,t){Object(o.a)(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||\"\",n}return s(t,e),t.prototype.componentDidMount=function(){var e=this;this.CodeMirror=n(16),n(74),n(75),n(88),n(77),n(76),n(89),n(56),n(78),n(57),n(239),n(79);var t=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:{name:\"javascript\",json:!0},theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:l({\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Cmd-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Ctrl-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Shift-Ctrl-P\":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()}},a.a)});t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion)},t.prototype.componentDidUpdate=function(e){if(this.CodeMirror=n(16),this.editor){if(this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||\"\";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},t.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)},t.prototype.render=function(){var e=this;return i.a.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:function(t){e._node=t}})},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(1),i=n.n(r),o=n(70),a=n.n(o),s=n(50),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.viewer=null,t._node=null,t}return l(t,e),t.prototype.componentDidMount=function(){var e=n(16);n(76),n(77),n(57),n(115),n(56),n(78),n(79),n(240);var t=this.props.ResultsTooltip,r=this.props.ImagePreview;if(t||r){n(119);var o=document.createElement(\"div\");e.registerHelper(\"info\",\"graphql-results\",(function(e,n,s,l){var c=[];return t&&c.push(i.a.createElement(t,{pos:l})),r&&\"function\"===typeof r.shouldRender&&r.shouldRender(e)&&c.push(i.a.createElement(r,{token:e})),c.length?(a.a.render(i.a.createElement(\"div\",null,c),o),o):(a.a.unmountComponentAtNode(o),null)}))}this.viewer=e(this._node,{lineWrapping:!0,value:this.props.value||\"\",readOnly:!0,theme:this.props.editorTheme||\"graphiql\",mode:\"graphql-results\",keyMap:\"sublime\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-foldgutter\"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:s.a})},t.prototype.shouldComponentUpdate=function(e){return this.props.value!==e.value},t.prototype.componentDidUpdate=function(){this.viewer&&this.viewer.setValue(this.props.value||\"\")},t.prototype.componentWillUnmount=function(){this.viewer=null},t.prototype.render=function(){var e=this;return i.a.createElement(\"section\",{className:\"result-window\",\"aria-label\":\"Result Window\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",ref:function(t){t&&(e.props.registerRef(t),e._node=t)}})},t.prototype.getCodeMirror=function(){return this.viewer},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component)},function(e,t,n){\"use strict\";(function(e){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if(\"function\"!==typeof e.applyMiddleware)throw new Error(\"Middleware must implement the applyMiddleware function.\");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if(\"function\"===typeof e)try{return t(e.call(null))}catch(r){return n(r)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,y.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return\"function\"===typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new c({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error(\"Must provide a query.\");if(!t)throw new Error(\"Must provide an handler.\");if(!f.default(n)&&!h.getOperationAST(n,i)||i&&!f.default(i)||r&&!p.default(r))throw new Error(\"Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.\")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:\"string\"===typeof n.query?n.query:d.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:\"FormatedError\",message:\"Unknown error\",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(n){this.eventEmitter.emit(\"error\",new Error(\"Message must be JSON-serializable. Got: \"+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit(\"error\",new Error(\"A message was not sent because socket is not connected, is closing or is already closed. Message was: \"+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,y.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?\"reconnecting\":\"connecting\"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit(\"error\",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(s){throw new Error(\"Message must be JSON-parseable. Got: \"+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?\"reconnected\":\"connected\",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case y.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case y.default.GQL_DATA:var o=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,o);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var a=\"undefined\"===typeof this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error(\"Invalid message type!\")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(65))},function(e,t,n){\"use strict\";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;if(\"0123456789\"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(\"\"))return!1;var r={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){r[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},r)).join(\"\")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c`\\\\x00-\\\\x20]+|'[^']*'|\\\"[^\\\"]*\\\"))?)*\\\\s*\\\\/?>\",i=\"<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>\",o=new RegExp(\"^(?:\"+r+\"|\"+i+\"|\\x3c!----\\x3e|\\x3c!--(?:-?[^>-])(?:-?[^-])*--\\x3e|<[?].*?[?]>|]*>|)\"),a=new RegExp(\"^(?:\"+r+\"|\"+i+\")\");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){\"use strict\";function r(e,t){var n,r,i,o,a,s=[],l=t.length;for(n=0;n=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?\"strong_open\":\"em_open\",o.tag=s?\"strong\":\"em\",o.nesting=1,o.markup=s?a+a:a,o.content=\"\",(o=e.tokens[i.token]).type=s?\"strong_close\":\"em_close\",o.tag=s?\"strong\":\"em\",o.nesting=-1,o.markup=s?a+a:a,o.content=\"\",s&&(e.tokens[t[n-1].token].content=\"\",e.tokens[t[r.end+1].token].content=\"\",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;nt.cursorCoords(n,\"window\").top&&((d=r).style.opacity=.4)})))};!function(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){f(e)},onKeyDown:i,bottom:e.options.search.bottom})}(t,p(t),c,h,(function(r,i){var o=e.keyName(r),a=t.getOption(\"extraKeys\"),s=a&&a[o]||e.keyMap[t.getOption(\"keyMap\")][o];\"findNext\"==s||\"findPrev\"==s||\"findPersistentNext\"==s||\"findPersistentPrev\"==s?(e.e_stop(r),l(t,n(t),i),t.execCommand(s)):\"find\"!=s&&\"findPersistent\"!=s||(e.e_stop(r),h(i,r))})),a&&c&&(l(t,s,c),u(t,r))}else o(t,p(t),\"Search for:\",c,(function(e){e&&!s.query&&t.operation((function(){l(t,s,e),s.posFrom=s.posTo=t.getCursor(),u(t,r)}))}))}function u(t,r,o){t.operation((function(){var a=n(t),s=i(t,a.query,r?a.posFrom:a.posTo);(s.find(r)||(s=i(t,a.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function f(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function p(e){return''+e.phrase(\"Search:\")+' '+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"\"}function d(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if(\"string\"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\\$(\\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function h(e,t){if(!e.getOption(\"readOnly\")){var r=e.getSelection()||n(e).lastQuery,l=''+(t?e.phrase(\"Replace all:\"):e.phrase(\"Replace:\"))+\"\";o(e,l+function(e){return' '+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"\"}(e),l,r,(function(n){n&&(n=s(n),o(e,function(e){return''+e.phrase(\"With:\")+' '}(e),e.phrase(\"Replace with:\"),\"\",(function(r){if(r=a(r),t)d(e,n,r);else{f(e);var o=i(e,n,e.getCursor(\"from\")),s=function t(){var a,s=o.from();!(a=o.findNext())&&(o=i(e,n),!(a=o.findNext())||s&&o.from().line==s.line&&o.from().ch==s.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,function(e){return''+e.phrase(\"Replace?\")+\" \"}(e),e.phrase(\"Replace?\"),[function(){l(a)},t,function(){d(e,n,r)}]))},l=function(e){o.replace(\"string\"==typeof n?r:r.replace(/\\$(\\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.defineOption(\"search\",{bottom:!1}),e.commands.find=function(e){f(e),c(e)},e.commands.findPersistent=function(e){f(e),c(e,!1,!0)},e.commands.findPersistentNext=function(e){c(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){c(e,!0,!0,!0)},e.commands.findNext=c,e.commands.findPrev=function(e){c(e,!0)},e.commands.clearSearch=f,e.commands.replace=h,e.commands.replaceAll=function(e){h(e,!0)}}(n(16),n(56),n(57))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=n(18),o=n(10),a=r(n(117));function s(e,t,n){return n===o.SchemaMetaFieldDef.name&&e.getQueryType()===t?o.SchemaMetaFieldDef:n===o.TypeMetaFieldDef.name&&e.getQueryType()===t?o.TypeMetaFieldDef:n===o.TypeNameMetaFieldDef.name&&i.isCompositeType(t)?o.TypeNameMetaFieldDef:t&&t.getFields?t.getFields()[n]:void 0}t.default=function(e,t){var n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return a.default(t,(function(t){switch(t.kind){case\"Query\":case\"ShortQuery\":n.type=e.getQueryType();break;case\"Mutation\":n.type=e.getMutationType();break;case\"Subscription\":n.type=e.getSubscriptionType();break;case\"InlineFragment\":case\"FragmentDefinition\":t.type&&(n.type=e.getType(t.type));break;case\"Field\":case\"AliasedField\":n.fieldDef=n.type&&t.name?s(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case\"SelectionSet\":n.parentType=n.type?i.getNamedType(n.type):null;break;case\"Directive\":n.directiveDef=t.name?e.getDirective(t.name):null;break;case\"Arguments\":var r=t.prevState?\"Field\"===t.prevState.kind?n.fieldDef:\"Directive\"===t.prevState.kind?n.directiveDef:\"AliasedField\"===t.prevState.kind?t.prevState.name&&s(e,n.parentType,t.prevState.name):null:null;n.argDefs=r?r.args:null;break;case\"Argument\":if(n.argDef=null,n.argDefs)for(var o=0;o=0;i--)t(n[i])}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getTypeReference=t.getEnumValueReference=t.getArgumentReference=t.getDirectiveReference=t.getFieldReference=void 0;var r=n(18);function i(e){return\"__\"===e.name.slice(0,2)}t.getFieldReference=function(e){return{kind:\"Field\",schema:e.schema,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:\"Directive\",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:\"Argument\",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:\"Argument\",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:\"EnumValue\",value:e.enumValue||void 0,type:e.inputType?r.getNamedType(e.inputType):void 0}},t.getTypeReference=function(e,t){return{kind:\"Type\",schema:e.schema,type:t||e.type}}},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(16));function o(e,t){var n=e.state.info,r=t.target||t.srcElement;if(r instanceof HTMLElement&&\"SPAN\"===r.nodeName&&void 0===n.hoverTimeout){var o=r.getBoundingClientRect(),a=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(l,c)},s=function t(){i.default.off(document,\"mousemove\",a),i.default.off(e.getWrapperElement(),\"mouseout\",t),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},l=function(){i.default.off(document,\"mousemove\",a),i.default.off(e.getWrapperElement(),\"mouseout\",s),n.hoverTimeout=void 0,function(e,t){var n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),r=e.state.info.options,o=r.render||e.getHelper(n,\"info\");if(o){var a=e.getTokenAt(n,!0);if(a){var s=o(a,r,e,n);s&&function(e,t,n){var r=document.createElement(\"div\");r.className=\"CodeMirror-info\",r.appendChild(n),document.body.appendChild(r);var o=r.getBoundingClientRect(),a=window.getComputedStyle(r),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),l=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom),c=t.bottom;l>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(c=t.top-l);c<0&&(c=t.bottom);var u,f=Math.max(0,window.innerWidth-s-15);f>t.left&&(f=t.left);r.style.opacity=\"1\",r.style.top=c+\"px\",r.style.left=f+\"px\";var p=function(){clearTimeout(u)},d=function(){clearTimeout(u),u=setTimeout(h,200)},h=function(){i.default.off(r,\"mouseover\",p),i.default.off(r,\"mouseout\",d),i.default.off(e.getWrapperElement(),\"mouseout\",d),r.style.opacity?(r.style.opacity=\"0\",setTimeout((function(){r.parentNode&&r.parentNode.removeChild(r)}),600)):r.parentNode&&r.parentNode.removeChild(r)};i.default.on(r,\"mouseover\",p),i.default.on(r,\"mouseout\",d),i.default.on(e.getWrapperElement(),\"mouseout\",d)}(e,t,s)}}}(e,o)},c=function(e){var t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(l,c),i.default.on(document,\"mousemove\",a),i.default.on(e.getWrapperElement(),\"mouseout\",s)}}i.default.defineOption(\"info\",!1,(function(e,t,n){if(n&&n!==i.default.Init){var r=e.state.info.onMouseOver;i.default.off(e.getWrapperElement(),\"mouseover\",r),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var a=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);a.onMouseOver=o.bind(null,e),i.default.on(e.getWrapperElement(),\"mouseover\",a.onMouseOver)}}))},function(e,t,n){var r=n(245);e.exports=function(e,t){if(e){if(\"string\"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(n):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getDefinitionState\",(function(){return A})),n.d(t,\"getFieldDef\",(function(){return I})),n.d(t,\"forEachState\",(function(){return j})),n.d(t,\"objectValues\",(function(){return L})),n.d(t,\"hintList\",(function(){return F})),n.d(t,\"getAutocompleteSuggestions\",(function(){return xe})),n.d(t,\"getVariableCompletions\",(function(){return _e})),n.d(t,\"getFragmentDefinitions\",(function(){return Ce})),n.d(t,\"getTokenAtPosition\",(function(){return Se})),n.d(t,\"runOnlineParser\",(function(){return Ne})),n.d(t,\"canUseDirective\",(function(){return De})),n.d(t,\"getTypeInfo\",(function(){return Ae})),n.d(t,\"LANGUAGE\",(function(){return Re})),n.d(t,\"getDefinitionQueryResultForNamedType\",(function(){return Ue})),n.d(t,\"getDefinitionQueryResultForFragmentSpread\",(function(){return Be})),n.d(t,\"getDefinitionQueryResultForDefinitionNode\",(function(){return ze})),n.d(t,\"SEVERITY\",(function(){return Qe})),n.d(t,\"DIAGNOSTIC_SEVERITY\",(function(){return Ke})),n.d(t,\"getDiagnostics\",(function(){return Je})),n.d(t,\"validateQuery\",(function(){return $e})),n.d(t,\"getRange\",(function(){return et})),n.d(t,\"getOutline\",(function(){return rt})),n.d(t,\"getHoverInformation\",(function(){return ot})),n.d(t,\"GraphQLLanguageService\",(function(){return jt}));var r,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,E,w,k,T,O,x,_,C,S,N=n(0),D=n(10);function A(e){let t;return j(e,e=>{switch(e.kind){case\"Query\":case\"ShortQuery\":case\"Mutation\":case\"Subscription\":case\"FragmentDefinition\":t=e}}),t}function I(e,t,n){return n===D.SchemaMetaFieldDef.name&&e.getQueryType()===t?D.SchemaMetaFieldDef:n===D.TypeMetaFieldDef.name&&e.getQueryType()===t?D.TypeMetaFieldDef:n===D.TypeNameMetaFieldDef.name&&Object(N.D)(t)?D.TypeNameMetaFieldDef:\"getFields\"in t?t.getFields()[n]:null}function j(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let i=n.length-1;i>=0;i--)t(n[i])}function L(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let i=0;i!e.isDeprecated);return R(R(e.map(e=>({proximity:P(M(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry)}(t,M(e.string))}function R(e,t){const n=e.filter(t);return 0===n.length?e:n}function M(e){return e.toLowerCase().replace(/\\W/g,\"\")}function P(e,t){let n=function(e,t){let n,r;const i=[],o=e.length,a=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=a;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=a;r++){const o=e[n-1]===t[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+o),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}!function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(r||(r={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(i||(i={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=i.MAX_VALUE),t===Number.MAX_VALUE&&(t=i.MAX_VALUE),{line:e,character:t}},e.is=function(e){var t=e;return ye.objectLiteral(t)&&ye.uinteger(t.line)&&ye.uinteger(t.character)}}(o||(o={})),function(e){e.create=function(e,t,n,r){if(ye.uinteger(e)&&ye.uinteger(t)&&ye.uinteger(n)&&ye.uinteger(r))return{start:o.create(e,t),end:o.create(n,r)};if(o.is(e)&&o.is(t))return{start:e,end:t};throw new Error(\"Range#create called with invalid arguments[\"+e+\", \"+t+\", \"+n+\", \"+r+\"]\")},e.is=function(e){var t=e;return ye.objectLiteral(t)&&o.is(t.start)&&o.is(t.end)}}(a||(a={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.range)&&(ye.string(t.uri)||ye.undefined(t.uri))}}(s||(s={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.targetRange)&&ye.string(t.targetUri)&&(a.is(t.targetSelectionRange)||ye.undefined(t.targetSelectionRange))&&(a.is(t.originSelectionRange)||ye.undefined(t.originSelectionRange))}}(l||(l={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return ye.numberRange(t.red,0,1)&&ye.numberRange(t.green,0,1)&&ye.numberRange(t.blue,0,1)&&ye.numberRange(t.alpha,0,1)}}(c||(c={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return a.is(t.range)&&c.is(t.color)}}(u||(u={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ye.string(t.label)&&(ye.undefined(t.textEdit)||E.is(t))&&(ye.undefined(t.additionalTextEdits)||ye.typedArray(t.additionalTextEdits,E.is))}}(f||(f={})),function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"}(p||(p={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return ye.defined(n)&&(o.startCharacter=n),ye.defined(r)&&(o.endCharacter=r),ye.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return ye.uinteger(t.startLine)&&ye.uinteger(t.startLine)&&(ye.undefined(t.startCharacter)||ye.uinteger(t.startCharacter))&&(ye.undefined(t.endCharacter)||ye.uinteger(t.endCharacter))&&(ye.undefined(t.kind)||ye.string(t.kind))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ye.defined(t)&&s.is(t.location)&&ye.string(t.message)}}(h||(h={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(m||(m={})),function(e){e.Unnecessary=1,e.Deprecated=2}(v||(v={})),function(e){e.is=function(e){var t=e;return void 0!==t&&null!==t&&ye.string(t.href)}}(g||(g={})),function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return ye.defined(n)&&(a.severity=n),ye.defined(r)&&(a.code=r),ye.defined(i)&&(a.source=i),ye.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t,n=e;return ye.defined(n)&&a.is(n.range)&&ye.string(n.message)&&(ye.number(n.severity)||ye.undefined(n.severity))&&(ye.integer(n.code)||ye.string(n.code)||ye.undefined(n.code))&&(ye.undefined(n.codeDescription)||ye.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(ye.string(n.source)||ye.undefined(n.source))&&(ye.undefined(n.relatedInformation)||ye.typedArray(n.relatedInformation,h.is))}}(y||(y={})),function(e){e.create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.title)&&ye.string(t.command)}}(b||(b={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:\"\"}},e.is=function(e){var t=e;return ye.objectLiteral(t)&&ye.string(t.newText)&&a.is(t.range)}}(E||(E={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){var t=e;return void 0!==t&&ye.objectLiteral(t)&&ye.string(t.label)&&(ye.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(ye.string(t.description)||void 0===t.description)}}(w||(w={})),function(e){e.is=function(e){return\"string\"===typeof e}}(k||(k={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:\"\",annotationId:t}},e.is=function(e){var t=e;return E.is(t)&&(w.is(t.annotationId)||k.is(t.annotationId))}}(T||(T={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ye.defined(t)&&B.is(t.textDocument)&&Array.isArray(t.edits)}}(O||(O={})),function(e){e.create=function(e,t,n){var r={kind:\"create\",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&\"create\"===t.kind&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(x||(x={})),function(e){e.create=function(e,t,n,r){var i={kind:\"rename\",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){var t=e;return t&&\"rename\"===t.kind&&ye.string(t.oldUri)&&ye.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(_||(_={})),function(e){e.create=function(e,t,n){var r={kind:\"delete\",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&\"delete\"===t.kind&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ye.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ye.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(C||(C={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ye.string(e.kind)?x.is(e)||_.is(e)||C.is(e):O.is(e)})))}}(S||(S={}));var V,U,B,z,q,H,G,W,Q,K,Y,J,$,X,Z,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,fe,pe,de,he,me=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=E.insert(e,t):k.is(n)?(i=n,r=T.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=T.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=E.replace(e,t):k.is(n)?(i=n,r=T.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=T.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=E.del(e):k.is(t)?(r=t,n=T.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=T.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),ve=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,\"size\",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(k.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error(\"Id \"+n+\" is already in use.\");if(void 0===t)throw new Error(\"No annotation provided for id \"+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new ve(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(O.is(e)){var n=new me(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new me(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,\"edit\",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(B.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new me(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new me(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ve,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var r,i,o;if(w.is(t)||k.is(t)?r=t:n=t,void 0===r?i=x.create(e,n):(o=k.is(r)?r:this._changeAnnotations.manage(r),i=x.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var i,o,a;if(w.is(n)||k.is(n)?i=n:r=n,void 0===i?o=_.create(e,t,r):(a=k.is(i)?i:this._changeAnnotations.manage(i),o=_.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var r,i,o;if(w.is(t)||k.is(t)?r=t:n=t,void 0===r?i=C.create(e,n):(o=k.is(r)?r:this._changeAnnotations.manage(r),i=C.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)}}(V||(V={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&ye.integer(t.version)}}(U||(U={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&(null===t.version||ye.integer(t.version))}}(B||(B={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&ye.string(t.languageId)&&ye.integer(t.version)&&ye.string(t.text)}}(z||(z={})),function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"}(q||(q={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(q||(q={})),function(e){e.is=function(e){var t=e;return ye.objectLiteral(e)&&q.is(t.kind)&&ye.string(t.value)}}(H||(H={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(G||(G={})),function(e){e.PlainText=1,e.Snippet=2}(W||(W={})),function(e){e.Deprecated=1}(Q||(Q={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ye.string(t.newText)&&a.is(t.insert)&&a.is(t.replace)}}(K||(K={})),function(e){e.asIs=1,e.adjustIndentation=2}(Y||(Y={})),function(e){e.create=function(e){return{label:e}}}(J||(J={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}($||($={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")},e.is=function(e){var t=e;return ye.string(t)||ye.objectLiteral(t)&&ye.string(t.language)&&ye.string(t.value)}}(X||(X={})),function(e){e.is=function(e){var t=e;return!!t&&ye.objectLiteral(t)&&(H.is(t.contents)||X.is(t.contents)||ye.typedArray(t.contents,X.is))&&(void 0===e.range||a.is(e.range))}}(Z||(Z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(ee||(ee={})),function(e){e.create=function(e,t){for(var n=[],r=2;r=0;o--){var a=r[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=i))throw new Error(\"Overlapping edit\");n=n.substring(0,s)+a.newText+n.substring(l,n.length),i=s}return n}}(ge||(ge={}));var ye,be=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return o.create(0,e);for(;ne?r=i:n=i+1}var a=n-1;return o.create(a,e-t[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1e),s=new Set;Ne(r,(e,t)=>{var r,o,l,c,u;if(t.name&&(t.kind!==Oe.RuleKinds.INTERFACE_DEF||a.includes(t.name)||s.add(t.name),t.kind===Oe.RuleKinds.NAMED_TYPE&&(null===(r=t.prevState)||void 0===r?void 0:r.kind)===Oe.RuleKinds.IMPLEMENTS))if(i.interfaceDef){if(null===(o=i.interfaceDef)||void 0===o?void 0:o.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),r=null===(l=i.interfaceDef)||void 0===l?void 0:l.toConfig();i.interfaceDef=new N.c(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new N.c({name:t.name,fields:{}})]}))}else if(i.objectTypeDef){if(null===(c=i.objectTypeDef)||void 0===c?void 0:c.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),r=null===(u=i.objectTypeDef)||void 0===u?void 0:u.toConfig();i.objectTypeDef=new N.f(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new N.c({name:t.name,fields:{}})]}))}});const l=i.interfaceDef||i.objectTypeDef,c=((null===l||void 0===l?void 0:l.getInterfaces())||[]).map(({name:e})=>e),u=o.concat([...s].map(e=>({name:e}))).filter(({name:e})=>e!==(null===l||void 0===l?void 0:l.name)&&!c.includes(e));return F(e,u.map(e=>{const t={label:e.name,kind:G.Interface,type:e};return(null===e||void 0===e?void 0:e.description)&&(t.documentation=e.description),t}))}(a,s,e,t,u);if(l===Oe.RuleKinds.SELECTION_SET||l===Oe.RuleKinds.FIELD||l===Oe.RuleKinds.ALIASED_FIELD)return function(e,t,n){if(t.parentType){const r=t.parentType;let i=[];return\"getFields\"in r&&(i=L(r.getFields())),Object(N.D)(r)&&i.push(D.TypeNameMetaFieldDef),r===n.getQueryType()&&i.push(D.SchemaMetaFieldDef,D.TypeMetaFieldDef),F(e,i.map((e,t)=>{var n;return{sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:G.Field,type:e.type}}))}return[]}(a,u,e);if(l===Oe.RuleKinds.ARGUMENTS||l===Oe.RuleKinds.ARGUMENT&&0===c){const e=u.argDefs;if(e)return F(a,e.map(e=>{var t;return{label:e.name,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:G.Variable,type:e.type}}))}if((l===Oe.RuleKinds.OBJECT_VALUE||l===Oe.RuleKinds.OBJECT_FIELD&&0===c)&&u.objectFieldDefs){const e=L(u.objectFieldDefs),t=l===Oe.RuleKinds.OBJECT_VALUE?G.Value:G.Field;return F(a,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t,type:e.type}}))}if(l===Oe.RuleKinds.ENUM_VALUE||l===Oe.RuleKinds.LIST_VALUE&&1===c||l===Oe.RuleKinds.OBJECT_FIELD&&2===c||l===Oe.RuleKinds.ARGUMENT&&2===c)return function(e,t,n,r){const i=Object(N.A)(t.inputType),o=_e(n,r,!0).filter(e=>e.detail===i.name);if(i instanceof N.a){const t=i.getValues();return F(e,t.map(e=>{var t;return{label:e.name,detail:String(i),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:G.EnumMember,type:i}}).concat(o))}if(i===ke.a)return F(e,o.concat([{label:\"true\",detail:String(ke.a),documentation:\"Not false.\",kind:G.Variable,type:ke.a},{label:\"false\",detail:String(ke.a),documentation:\"Not true.\",kind:G.Variable,type:ke.a}]));return o}(a,u,t,e);if(l===Oe.RuleKinds.VARIABLE&&1===c){const n=Object(N.A)(u.inputType);return F(a,_e(t,e).filter(e=>e.detail===(null===n||void 0===n?void 0:n.name)))}return l===Oe.RuleKinds.TYPE_CONDITION&&1===c||l===Oe.RuleKinds.NAMED_TYPE&&null!=s.prevState&&s.prevState.kind===Oe.RuleKinds.TYPE_CONDITION?function(e,t,n,r){let i;if(t.parentType)if(Object(N.C)(t.parentType)){const e=Object(N.j)(t.parentType),r=n.getPossibleTypes(e),o=Object.create(null);r.forEach(e=>{e.getInterfaces().forEach(e=>{o[e.name]=e})}),i=r.concat(L(o))}else i=[t.parentType];else{const e=n.getTypeMap();i=L(e).filter(N.D)}return F(e,i.map(e=>{const t=Object(N.A)(e);return{label:String(e),documentation:t&&t.description||\"\",kind:G.Field}}))}(a,u,e):l===Oe.RuleKinds.FRAGMENT_SPREAD&&1===c?function(e,t,n,r,i){if(!r)return[];const o=n.getTypeMap(),a=A(e.state),s=Ce(r);i&&i.length>0&&s.push(...i);const l=s.filter(e=>o[e.typeCondition.name.value]&&!(a&&a.kind===Oe.RuleKinds.FRAGMENT_DEFINITION&&a.name===e.name.value)&&Object(N.D)(t.parentType)&&Object(N.D)(o[e.typeCondition.name.value])&&Object(Te.a)(n,t.parentType,o[e.typeCondition.name.value]));return F(e,l.map(e=>({label:e.name.value,detail:String(o[e.typeCondition.name.value]),documentation:\"fragment \".concat(e.name.value,\" on \").concat(e.typeCondition.name.value),kind:G.Field,type:o[e.typeCondition.name.value]})))}(a,u,e,t,Array.isArray(i)?i:(e=>{const t=[];return e&&Object(Ee.c)(Object(we.a)(e,{experimentalFragmentVariables:!0}),{FragmentDefinition(e){t.push(e)}}),t})(i)):l===Oe.RuleKinds.VARIABLE_DEFINITION&&2===c||l===Oe.RuleKinds.LIST_TYPE&&1===c||l===Oe.RuleKinds.NAMED_TYPE&&s.prevState&&(s.prevState.kind===Oe.RuleKinds.VARIABLE_DEFINITION||s.prevState.kind===Oe.RuleKinds.LIST_TYPE||s.prevState.kind===Oe.RuleKinds.NON_NULL_TYPE)?function(e,t,n){const r=L(t.getTypeMap()).filter(N.G);return F(e,r.map(e=>({label:e.name,documentation:e.description,kind:G.Variable})))}(a,e):l===Oe.RuleKinds.DIRECTIVE?function(e,t,n,r){if(t.prevState&&t.prevState.kind){const r=n.getDirectives().filter(e=>De(t.prevState,e));return F(e,r.map(e=>({label:e.name,documentation:e.description||\"\",kind:G.Function})))}return[]}(a,s,e):[]}function _e(e,t,n=!1){let r,i;const o=Object.create({});return Ne(e,(e,a)=>{if(a.kind===Oe.RuleKinds.VARIABLE&&a.name&&(r=a.name),a.kind===Oe.RuleKinds.NAMED_TYPE&&r){const e=((e,t)=>{var n,r,i,o,a,s,l,c,u,f;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(i=null===(r=e.prevState)||void 0===r?void 0:r.prevState)||void 0===i?void 0:i.kind)===t?e.prevState.prevState:(null===(s=null===(a=null===(o=e.prevState)||void 0===o?void 0:o.prevState)||void 0===a?void 0:a.prevState)||void 0===s?void 0:s.kind)===t?e.prevState.prevState.prevState:(null===(f=null===(u=null===(c=null===(l=e.prevState)||void 0===l?void 0:l.prevState)||void 0===c?void 0:c.prevState)||void 0===u?void 0:u.prevState)||void 0===f?void 0:f.kind)===t?e.prevState.prevState.prevState.prevState:void 0})(a,Oe.RuleKinds.TYPE);(null===e||void 0===e?void 0:e.type)&&(i=t.getType(null===e||void 0===e?void 0:e.type))}r&&i&&(o[r]||(o[r]={detail:i.toString(),label:\"$\".concat(r),type:i,kind:G.Variable},n&&(o[r].insertText=\"$\".concat(r)),r=null,i=null))}),L(o)}function Ce(e){const t=[];return Ne(e,(e,n)=>{n.kind===Oe.RuleKinds.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:Oe.RuleKinds.FRAGMENT_DEFINITION,name:{kind:\"Name\",value:n.name},selectionSet:{kind:Oe.RuleKinds.SELECTION_SET,selections:[]},typeCondition:{kind:Oe.RuleKinds.NAMED_TYPE,name:{kind:\"Name\",value:n.type}}})}),t}function Se(e,t){let n=null,r=null,i=null;const o=Ne(e,(e,o,a,s)=>{if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,r=Object.assign({},o),i=e.current(),\"BREAK\"});return{start:o.start,end:o.end,string:i||o.string,state:r||o.state,style:n||o.style}}function Ne(e,t){const n=e.split(\"\\n\"),r=Object(Oe.onlineParser)();let i=r.startState(),o=\"\",a=new Oe.CharacterStream(\"\");for(let s=0;s{switch(t.kind){case Oe.RuleKinds.QUERY:case\"ShortQuery\":f=e.getQueryType();break;case Oe.RuleKinds.MUTATION:f=e.getMutationType();break;case Oe.RuleKinds.SUBSCRIPTION:f=e.getSubscriptionType();break;case Oe.RuleKinds.INLINE_FRAGMENT:case Oe.RuleKinds.FRAGMENT_DEFINITION:t.type&&(f=e.getType(t.type));break;case Oe.RuleKinds.FIELD:case Oe.RuleKinds.ALIASED_FIELD:f&&t.name?(a=u?I(e,u,t.name):null,f=a?a.type:null):a=null;break;case Oe.RuleKinds.SELECTION_SET:u=Object(N.A)(f);break;case Oe.RuleKinds.DIRECTIVE:i=t.name?e.getDirective(t.name):null;break;case Oe.RuleKinds.INTERFACE_DEF:t.name&&(l=null,p=new N.c({name:t.name,interfaces:[],fields:{}}));break;case Oe.RuleKinds.OBJECT_TYPE_DEF:t.name&&(p=null,l=new N.f({name:t.name,interfaces:[],fields:{}}));break;case Oe.RuleKinds.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case Oe.RuleKinds.FIELD:r=a&&a.args;break;case Oe.RuleKinds.DIRECTIVE:r=i&&i.args;break;case Oe.RuleKinds.ALIASED_FIELD:{const n=t.prevState&&t.prevState.name;if(!n){r=null;break}const i=u?I(e,u,n):null;if(!i){r=null;break}r=i.args;break}default:r=null}else r=null;break;case Oe.RuleKinds.ARGUMENT:if(r)for(let e=0;ee.value===t.name):null;break;case Oe.RuleKinds.LIST_VALUE:const h=Object(N.B)(s);s=h instanceof N.d?h.ofType:null;break;case Oe.RuleKinds.OBJECT_VALUE:const m=Object(N.A)(s);c=m instanceof N.b?m.getFields():null;break;case Oe.RuleKinds.OBJECT_FIELD:const v=t.name&&c?c[t.name]:null;s=v&&v.type;break;case Oe.RuleKinds.NAMED_TYPE:t.name&&(f=e.getType(t.name))}}),{argDef:n,argDefs:r,directiveDef:i,enumValue:o,fieldDef:a,inputType:s,objectFieldDefs:c,parentType:u,type:f,interfaceDef:p,objectTypeDef:l}}var Ie=n(11),je=n.n(Ie),Le=n(24),Fe=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const Re=\"GraphQL\";function Me(e,t){if(!e)throw new Error(t)}function Pe(e,t){const n=t.loc;return Me(n,\"Expected ASTNode to have a location.\"),Object(Le.locToRange)(e,n)}function Ve(e,t){const n=t.loc;return Me(n,\"Expected ASTNode to have a location.\"),Object(Le.offsetToPosition)(e,n.start)}function Ue(e,t,n){return Fe(this,void 0,void 0,je.a.mark((function r(){var i,o,a;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.name.value,0!==(o=n.filter(({definition:e})=>e.name&&e.name.value===i)).length){r.next=4;break}throw Error(\"Definition not found for GraphQL type \".concat(i));case 4:return a=o.map(({filePath:e,content:t,definition:n})=>He(e||\"\",t,n)),r.abrupt(\"return\",{definitions:a,queryRange:a.map(n=>Pe(e,t))});case 6:case\"end\":return r.stop()}}),r)})))}function Be(e,t,n){return Fe(this,void 0,void 0,je.a.mark((function r(){var i,o,a;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.name.value,0!==(o=n.filter(({definition:e})=>e.name.value===i)).length){r.next=4;break}throw Error(\"Definition not found for GraphQL fragment \".concat(i));case 4:return a=o.map(({filePath:e,content:t,definition:n})=>qe(e||\"\",t,n)),r.abrupt(\"return\",{definitions:a,queryRange:a.map(n=>Pe(e,t))});case 6:case\"end\":return r.stop()}}),r)})))}function ze(e,t,n){return{definitions:[qe(e,t,n)],queryRange:n.name?[Pe(t,n.name)]:[]}}function qe(e,t,n){const r=n.name;if(!r)throw Error(\"Expected ASTNode to have a Name.\");return{path:e,position:Ve(t,n),range:Pe(t,n),name:r.value||\"\",language:Re,projectRoot:e}}function He(e,t,n){const r=n.name;return Me(r,\"Expected ASTNode to have a Name.\"),{path:e,position:Ve(t,n),range:Pe(t,n),name:r.value||\"\",language:Re,projectRoot:e}}var Ge=n(12),We=n(271);const Qe={Error:\"Error\",Warning:\"Warning\",Information:\"Information\",Hint:\"Hint\"},Ke={[Qe.Error]:1,[Qe.Warning]:2,[Qe.Information]:3,[Qe.Hint]:4},Ye=(e,t)=>{if(!e)throw new Error(t)};function Je(e,t=null,n,r,i){let o=null;i&&(e+=\"string\"===typeof i?\"\\n\\n\"+i:\"\\n\\n\"+i.reduce((e,t)=>e+=Object(Ge.print)(t)+\"\\n\\n\",\"\"));try{o=Object(we.a)(e)}catch(a){const t=et(a.locations[0],e);return[{severity:Ke.Error,message:a.message,source:\"GraphQL: Syntax\",range:t}]}return $e(o,t,n,r)}function $e(e,t=null,n,r){if(!t)return[];const i=Xe(Object(Le.validateWithCustomRules)(t,e,n,r),e=>Ze(e,Ke.Error,\"Validation\")),o=Xe(Object(We.a)(t,e),e=>Ze(e,Ke.Warning,\"Deprecation\"));return i.concat(o)}function Xe(e,t){return Array.prototype.concat.apply([],e.map(t))}function Ze(e,t,n){if(!e.nodes)return[];const r=[];return e.nodes.forEach(i=>{const o=\"Variable\"!==i.kind&&\"name\"in i&&void 0!==i.name?i.name:\"variable\"in i&&void 0!==i.variable?i.variable:i;if(o){Ye(e.locations,\"GraphQL validation error requires locations.\");const i=e.locations[0],a=function(e){const t=e.loc;return Ye(t,\"Expected ASTNode to have a location.\"),t}(o),s=i.column+(a.end-a.start);r.push({source:\"GraphQL: \".concat(n),message:e.message,severity:t,range:new Le.Range(new Le.Position(i.line-1,i.column-1),new Le.Position(i.line-1,s))})}}),r}function et(e,t){const n=Object(Oe.onlineParser)(),r=n.startState(),i=t.split(\"\\n\");Ye(i.length>=e.line,\"Query text must have more lines than where the error happened\");let o=null;for(let c=0;c({representativeName:t.name,startPosition:Object(Le.offsetToPosition)(e,t.loc.start),endPosition:Object(Le.offsetToPosition)(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]});return{Field:e=>{const n=e.alias?[it(\"plain\",e.alias),it(\"plain\",\": \")]:[];return n.push(it(\"plain\",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",e.operation),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;re.kind===nt?e.selectionSet:e),Name:e=>e.value,FragmentDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"fragment\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),InterfaceTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"interface\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),EnumTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"enum\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),EnumValueDefinition:e=>Object.assign({tokenizedText:[it(\"plain\",e.name)]},t(e)),ObjectTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"type\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),InputObjectTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"input\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),FragmentSpread:e=>Object.assign({tokenizedText:[it(\"plain\",\"...\"),it(\"class-name\",e.name)]},t(e)),InputValueDefinition:e=>Object.assign({tokenizedText:[it(\"plain\",e.name)]},t(e)),FieldDefinition:e=>Object.assign({tokenizedText:[it(\"plain\",e.name)]},t(e)),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:Object(Ee.c)(t,{leave:e=>void 0!==n&&e.kind in n?n[e.kind](e):null})}}function it(e,t){return{kind:e,value:t}}function ot(e,t,n,r){const i=r||Se(t,n);if(!e||!i||!i.state)return\"\";const o=i.state,a=o.kind,s=o.step,l=Ae(e,i.state),c={schema:e};if(\"Field\"===a&&0===s&&l.fieldDef||\"AliasedField\"===a&&2===s&&l.fieldDef){const e=[];return function(e,t,n){at(e,t,n),lt(e,t,n,t.type)}(e,l,c),ut(e,c,l.fieldDef),e.join(\"\").trim()}if(\"Directive\"===a&&1===s&&l.directiveDef){const e=[];return st(e,l,c),ut(e,c,l.directiveDef),e.join(\"\").trim()}if(\"Argument\"===a&&0===s&&l.argDef){const e=[];return function(e,t,n){t.directiveDef?st(e,t,n):t.fieldDef&&at(e,t,n);if(!t.argDef)return;const r=t.argDef.name;ft(e,\"(\"),ft(e,r),lt(e,t,n,t.inputType),ft(e,\")\")}(e,l,c),ut(e,c,l.argDef),e.join(\"\").trim()}if(\"EnumValue\"===a&&l.enumValue&&\"description\"in l.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const r=t.enumValue.name;ct(e,t,n,t.inputType),ft(e,\".\"),ft(e,r)}(e,l,c),ut(e,c,l.enumValue),e.join(\"\").trim()}if(\"NamedType\"===a&&l.type&&\"description\"in l.type){const e=[];return ct(e,l,c,l.type),ut(e,c,l.type),e.join(\"\").trim()}return\"\"}function at(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(ct(e,t,n,t.parentType),ft(e,\".\")),ft(e,r)}function st(e,t,n){if(!t.directiveDef)return;ft(e,\"@\"+t.directiveDef.name)}function lt(e,t,n,r){ft(e,\": \"),ct(e,t,n,r)}function ct(e,t,n,r){r&&(r instanceof N.e?(ct(e,t,n,r.ofType),ft(e,\"!\")):r instanceof N.d?(ft(e,\"[\"),ct(e,t,n,r.ofType),ft(e,\"]\")):ft(e,r.name))}function ut(e,t,n){if(!n)return;const r=\"string\"===typeof n.description?n.description:null;r&&(ft(e,\"\\n\\n\"),ft(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason?n.deprecationReason:null;if(!r)return;ft(e,\"\\n\\n\"),ft(e,\"Deprecated: \"),ft(e,r)}(e,0,n)}function ft(e,t){e.push(t)}var pt=n(64),dt=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const ht=tt.a.FRAGMENT_DEFINITION,mt=tt.a.OBJECT_TYPE_DEFINITION,vt=tt.a.INTERFACE_TYPE_DEFINITION,gt=tt.a.ENUM_TYPE_DEFINITION,yt=tt.a.UNION_TYPE_DEFINITION,bt=tt.a.SCALAR_TYPE_DEFINITION,Et=tt.a.INPUT_OBJECT_TYPE_DEFINITION,wt=tt.a.SCALAR_TYPE_EXTENSION,kt=tt.a.OBJECT_TYPE_EXTENSION,Tt=tt.a.INTERFACE_TYPE_EXTENSION,Ot=tt.a.UNION_TYPE_EXTENSION,xt=tt.a.ENUM_TYPE_EXTENSION,_t=tt.a.INPUT_OBJECT_TYPE_EXTENSION,Ct=tt.a.DIRECTIVE_DEFINITION,St=tt.a.FRAGMENT_SPREAD,Nt=tt.a.OPERATION_DEFINITION,Dt=tt.a.NAMED_TYPE,At={[tt.a.FIELD]:ie.Field,[tt.a.OPERATION_DEFINITION]:ie.Class,[tt.a.FRAGMENT_DEFINITION]:ie.Class,[tt.a.FRAGMENT_SPREAD]:ie.Struct,[tt.a.OBJECT_TYPE_DEFINITION]:ie.Class,[tt.a.ENUM_TYPE_DEFINITION]:ie.Enum,[tt.a.ENUM_VALUE_DEFINITION]:ie.EnumMember,[tt.a.INPUT_OBJECT_TYPE_DEFINITION]:ie.Class,[tt.a.INPUT_VALUE_DEFINITION]:ie.Field,[tt.a.FIELD_DEFINITION]:ie.Field,[tt.a.INTERFACE_TYPE_DEFINITION]:ie.Interface,[tt.a.DOCUMENT]:ie.File,FieldWithArguments:ie.Method};function It(e){return\"FieldDefinition\"===e.kind&&e.children&&e.children.length>0?At.FieldWithArguments:At[e.kind]}class jt{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLCache.getProjectForFile(e);if(t)return t;throw Error(\"No config found for uri: \".concat(e))}getDiagnostics(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o,a,s,l,c,u,f,p,d,h,m,v,g;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=!1,o=this.getConfigForURI(t)){r.next=4;break}return r.abrupt(\"return\",[]);case 4:a=o.schema,s=o.name,l=o.extensions,r.prev=5,c=Object(we.a)(e),a&&t===a||(i=c.definitions.some(e=>{switch(e.kind){case mt:case vt:case gt:case yt:case bt:case Et:case wt:case kt:case Tt:case Ot:case xt:case _t:case Ct:return!0}return!1})),r.next=14;break;case 10:return r.prev=10,r.t0=r.catch(5),u=et(r.t0.locations[0],e),r.abrupt(\"return\",[{severity:Ke.Error,message:r.t0.message,source:\"GraphQL: Syntax\",range:u}]);case 14:return f=e,r.next=17,this._graphQLCache.getFragmentDefinitions(o);case 17:return p=r.sent,r.next=20,this._graphQLCache.getFragmentDependencies(e,p);case 20:d=r.sent,h=d.reduce((e,t)=>\"\".concat(e,\" \").concat(Object(Ge.print)(t.definition)),\"\"),f=\"\".concat(f,\" \").concat(h),m=null,r.prev=24,m=Object(we.a)(f),r.next=31;break;case 28:return r.prev=28,r.t1=r.catch(24),r.abrupt(\"return\",[]);case 31:return v=null,(null===l||void 0===l?void 0:l.customValidationRules)&&\"function\"===typeof l.customValidationRules&&(v=l.customValidationRules(this._graphQLConfig)),r.next=35,this._graphQLCache.getSchema(s,i);case 35:if(g=r.sent){r.next=38;break}return r.abrupt(\"return\",[]);case 38:return r.abrupt(\"return\",$e(m,g,v,n));case 39:case\"end\":return r.stop()}}),r,this,[[5,10],[24,28]])})))}getAutocompleteSuggestions(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o,a,s;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=this.getConfigForURI(n),r.next=3,this._graphQLCache.getSchema(i.name);case 3:return o=r.sent,r.next=6,this._graphQLCache.getFragmentDefinitions(i);case 6:if(a=r.sent,s=Array.from(a).map(([,e])=>e.definition),!o){r.next=10;break}return r.abrupt(\"return\",xe(o,e,t,void 0,s));case 10:return r.abrupt(\"return\",[]);case 11:case\"end\":return r.stop()}}),r,this)})))}getHoverInformation(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=this.getConfigForURI(n),r.next=3,this._graphQLCache.getSchema(i.name);case 3:if(!(o=r.sent)){r.next=6;break}return r.abrupt(\"return\",ot(o,e,t));case 6:return r.abrupt(\"return\",\"\");case 7:case\"end\":return r.stop()}}),r,this)})))}getDefinition(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o,a;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:i=this.getConfigForURI(n),r.prev=1,o=Object(we.a)(e),r.next=8;break;case 5:return r.prev=5,r.t0=r.catch(1),r.abrupt(\"return\",null);case 8:if(!(a=Object(Le.getASTNodeAtPosition)(e,o,t))){r.next=16;break}r.t1=a.kind,r.next=r.t1===St?13:r.t1===ht||r.t1===Nt?14:r.t1===Dt?15:16;break;case 13:return r.abrupt(\"return\",this._getDefinitionForFragmentSpread(e,o,a,n,i));case 14:return r.abrupt(\"return\",ze(n,e,a));case 15:return r.abrupt(\"return\",this._getDefinitionForNamedType(e,o,a,n,i));case 16:return r.abrupt(\"return\",null);case 17:case\"end\":return r.stop()}}),r,this,[[1,5]])})))}getDocumentSymbols(e,t){return dt(this,void 0,void 0,je.a.mark((function n(){var r,i,o,a,s,l,c;return je.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.getOutline(e);case 2:if(r=n.sent){n.next=5;break}return n.abrupt(\"return\",[]);case 5:i=[],o=r.outlineTrees.map(e=>[null,e]);case 7:if(!(o.length>0)){n.next=18;break}if(a=o.pop()){n.next=11;break}return n.abrupt(\"return\",[]);case 11:if(s=Object(pt.a)(a,2),l=s[0],c=s[1]){n.next=14;break}return n.abrupt(\"return\",[]);case 14:i.push({name:c.representativeName,kind:It(c),location:{uri:t,range:{start:c.startPosition,end:c.endPosition}},containerName:l?l.representativeName:void 0}),o.push(...c.children.map(e=>[c,e])),n.next=7;break;case 18:return n.abrupt(\"return\",i);case 19:case\"end\":return n.stop()}}),n,this)})))}_getDefinitionForNamedType(e,t,n,r,i){return dt(this,void 0,void 0,je.a.mark((function o(){var a,s,l,c,u;return je.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this._graphQLCache.getObjectTypeDefinitions(i);case 2:return a=o.sent,o.next=5,this._graphQLCache.getObjectTypeDependenciesForAST(t,a);case 5:return s=o.sent,l=t.definitions.filter(e=>e.kind===mt||e.kind===Et||e.kind===gt||e.kind===bt||e.kind===vt),c=l.map(t=>({filePath:r,content:e,definition:t})),o.next=11,Ue(e,n,s.concat(c));case 11:return u=o.sent,o.abrupt(\"return\",u);case 13:case\"end\":return o.stop()}}),o,this)})))}_getDefinitionForFragmentSpread(e,t,n,r,i){return dt(this,void 0,void 0,je.a.mark((function o(){var a,s,l,c,u;return je.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this._graphQLCache.getFragmentDefinitions(i);case 2:return a=o.sent,o.next=5,this._graphQLCache.getFragmentDependenciesForAST(t,a);case 5:return s=o.sent,l=t.definitions.filter(e=>e.kind===ht),c=l.map(t=>({filePath:r,content:e,definition:t})),o.next=11,Be(e,n,s.concat(c));case 11:return u=o.sent,o.abrupt(\"return\",u);case 13:case\"end\":return o.stop()}}),o,this)})))}getOutline(e){return dt(this,void 0,void 0,je.a.mark((function t(){return je.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt(\"return\",rt(e));case 1:case\"end\":return t.stop()}}),t)})))}}},function(e,t,n){\"use strict\";var r=n(169),i={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,t){var n,o,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement(\"span\")).textContent=e,c.style.all=\"unset\",c.style.position=\"fixed\",c.style.top=0,c.style.clip=\"rect(0, 0, 0, 0)\",c.style.whiteSpace=\"pre\",c.style.webkitUserSelect=\"text\",c.style.MozUserSelect=\"text\",c.style.msUserSelect=\"text\",c.style.userSelect=\"text\",c.addEventListener(\"copy\",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),\"undefined\"===typeof r.clipboardData){n&&console.warn(\"unable to use e.clipboardData\"),n&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");u=!0}catch(f){n&&console.error(\"unable to copy using execCommand: \",f),n&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(t.format||\"text\",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(f){n&&console.error(\"unable to copy using clipboardData: \",f),n&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"\\u2318\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}(\"message\"in t?t.message:\"Copy to clipboard: #{key}, Enter\"),window.prompt(o,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(3),i=n(2),o=n(32);function a(e){return{Document:function(t){for(var n=0,a=t.definitions;n1&&e.reportError(new r.a(\"This anonymous operation must be the only defined operation.\",n))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){return{OperationDefinition:function(t){\"subscription\"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new r.a(t.name?'Subscription \"'.concat(t.name.value,'\" must select only one top level field.'):\"Anonymous Subscription must select only one top level field.\",t.selectionSet.selections.slice(1)))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(4),i=n(13),o=n(36),a=n(2);function s(e,t){switch(e.kind){case a.a.NULL:return null;case a.a.INT:return parseInt(e.value,10);case a.a.FLOAT:return parseFloat(e.value);case a.a.STRING:case a.a.ENUM:case a.a.BOOLEAN:return e.value;case a.a.LIST:return e.values.map((function(e){return s(e,t)}));case a.a.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return s(e.value,t)}));case a.a.VARIABLE:return null===t||void 0===t?void 0:t[e.name.value]}Object(i.a)(0,\"Unexpected value node: \"+Object(r.a)(e))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(12),o=n(0),a=n(22);function s(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var s=Object(a.a)(e.getSchema(),n);if(s&&!Object(o.D)(s)){var l=Object(i.print)(n);e.reportError(new r.a('Fragment cannot condition on non composite type \"'.concat(l,'\".'),n))}}},FragmentDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.typeCondition);if(n&&!Object(o.D)(n)){var s=Object(i.print)(t.typeCondition);e.reportError(new r.a('Fragment \"'.concat(t.name.value,'\" cannot condition on non composite type \"').concat(s,'\".'),t.typeCondition))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(12),o=n(0),a=n(22);function s(e){return{VariableDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.type);if(n&&!Object(o.G)(n)){var s=t.variable.name.value,l=Object(i.print)(t.type);e.reportError(new r.a('Variable \"$'.concat(s,'\" cannot be non-input type \"').concat(l,'\".'),t.type))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(4),i=n(3),o=n(0);function a(e){return{Field:function(t){var n=e.getType(),a=t.selectionSet;if(n)if(Object(o.I)(Object(o.A)(n))){if(a){var s=t.name.value,l=Object(r.a)(n);e.reportError(new i.a('Field \"'.concat(s,'\" must not have a selection since type \"').concat(l,'\" has no subfields.'),a))}}else if(!a){var c=t.name.value,u=Object(r.a)(n);e.reportError(new i.a('Field \"'.concat(c,'\" of type \"').concat(u,'\" must have a selection of subfields. Did you mean \"').concat(c,' { ... }\"?'),t))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(42),i=n(26),o=n(28),a=n(3),s=n(0);function l(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var l=e.getSchema(),c=t.name.value,u=Object(i.a)(\"to use an inline fragment on\",function(e,t,n){if(!Object(s.C)(t))return[];for(var i=new Set,o=Object.create(null),a=0,l=e.getPossibleTypes(t);a1)for(var f=0;f0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(function(e,t,n,r,i,o,a,s){var l=[],c=E(e,t,i,o),u=c[0],f=c[1],p=E(e,t,a,s),v=p[0],g=p[1];if(m(e,l,t,n,r,u,v),0!==g.length)for(var y=0;y0&&e.reportError(new r.a(\"Must provide only one schema definition.\",t)),++s)}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){var t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){for(var o,a=null!==(o=t.operationTypes)&&void 0!==o?o:[],s=0;s1&&\"_\"===e[0]&&\"_\"===e[1]?new i.a('Name \"'.concat(e,'\" must not begin with \"__\", which is reserved by GraphQL introspection.')):o.test(e)?void 0:new i.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but \"'.concat(e,'\" does not.'))}},function(e,t,n){\"use strict\";function r(e,t,n){t.split&&(t=t.split(\".\"));for(var r,i,o=0,a=t.length,s=e;o1,a=null;if(o&&r){var s=this.state.highlight;a=i.a.createElement(\"ul\",{className:\"execute-options\"},n.map((function(e,n){var r=e.name?e.name.value:\"\";return i.a.createElement(\"li\",{key:r+\"-\"+n,className:e===s?\"selected\":void 0,onMouseOver:function(){return t.setState({highlight:e})},onMouseOut:function(){return t.setState({highlight:null})},onMouseUp:function(){return t._onOptionSelected(e)}},r)})))}!this.props.isRunning&&o||(e=this._onClick);var l=function(){};this.props.isRunning||!o||r||(l=this._onOptionsOpen);var c=this.props.isRunning?i.a.createElement(\"path\",{d:\"M 10 10 L 23 10 L 23 23 L 10 23 z\"}):i.a.createElement(\"path\",{d:\"M 11 9 L 24 16 L 11 23 z\"});return i.a.createElement(\"div\",{className:\"execute-button-wrap\"},i.a.createElement(\"button\",{type:\"button\",className:\"execute-button\",onMouseDown:l,onClick:e,title:\"Execute Query (Ctrl-Enter)\"},i.a.createElement(\"svg\",{width:\"34\",height:\"34\"},c)),a)},t}(i.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(1),i=n.n(r),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function a(e){if(\"string\"===e.type){var t=e.string.slice(1).slice(0,-1).trim();try{var n=window.location;return new URL(t,n.protocol+\"//\"+n.host)}catch(r){return}}}var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._node=null,t.state={width:null,height:null,src:null,mime:null},t}return o(t,e),t.shouldRender=function(e){var t=a(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)},t.prototype.componentDidMount=function(){this._updateMetadata()},t.prototype.componentDidUpdate=function(){this._updateMetadata()},t.prototype.render=function(){var e,t=this,n=null;if(null!==this.state.width&&null!==this.state.height){var r=this.state.width+\"x\"+this.state.height;null!==this.state.mime&&(r+=\" \"+this.state.mime),n=i.a.createElement(\"div\",null,r)}return i.a.createElement(\"div\",null,i.a.createElement(\"img\",{onLoad:function(){return t._updateMetadata()},ref:function(e){t._node=e},src:null===(e=a(this.props.token))||void 0===e?void 0:e.href}),n)},t.prototype._updateMetadata=function(){var e=this;if(this._node){var t=this._node.naturalWidth,n=this._node.naturalHeight,r=this._node.src;r!==this.state.src&&(this.setState({src:r}),fetch(r,{method:\"HEAD\"}).then((function(t){e.setState({mime:t.headers.get(\"Content-Type\")})}))),t===this.state.width&&n===this.state.height||this.setState({height:n,width:t})}},t}(i.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(13),i=n(3),o=n(0);function a(e){return{Field:function(t){var n=e.getFieldDef(),o=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=o){var a=e.getParentType();null!=a||Object(r.a)(0),e.reportError(new i.a(\"The field \".concat(a.name,\".\").concat(n.name,\" is deprecated. \").concat(o),t))}},Argument:function(t){var n=e.getArgument(),o=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=o){var a=e.getDirective();if(null!=a)e.reportError(new i.a('Directive \"@'.concat(a.name,'\" argument \"').concat(n.name,'\" is deprecated. ').concat(o),t));else{var s=e.getParentType(),l=e.getFieldDef();null!=s&&null!=l||Object(r.a)(0),e.reportError(new i.a('Field \"'.concat(s.name,\".\").concat(l.name,'\" argument \"').concat(n.name,'\" is deprecated. ').concat(o),t))}}},ObjectField:function(t){var n=Object(o.A)(e.getParentInputType());if(Object(o.F)(n)){var r=n.getFields()[t.name.value],a=null===r||void 0===r?void 0:r.deprecationReason;null!=a&&e.reportError(new i.a(\"The input field \".concat(n.name,\".\").concat(r.name,\" is deprecated. \").concat(a),t))}},EnumValue:function(t){var n=e.getEnumValue(),a=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=a){var s=Object(o.A)(e.getInputType());null!=s||Object(r.a)(0),e.reportError(new i.a('The enum value \"'.concat(s.name,\".\").concat(n.name,'\" is deprecated. ').concat(a),t))}}}}},function(e,t,n){\"use strict\";var r=function(){function e(){this.sizes=[]}return e.prototype.updateSizes=function(e){var t=this;e.forEach((function(e,n){if(e){var r=e.getClientHeight();if(n<=t.sizes.length&&r!==t.sizes[n]){var i=e.getCodeMirror();i&&i.setSize(null,null)}t.sizes[n]=r}}))},e}();t.a=r},function(e,t,n){\"use strict\";var r=function(){function e(e){this.storage=e||(\"undefined\"!==typeof window?window.localStorage:null)}return e.prototype.get=function(e){if(this.storage){var t=this.storage.getItem(\"graphiql:\"+e);if(\"null\"===t||\"undefined\"===t)return this.storage.removeItem(\"graphiql:\"+e),null;if(t)return t}return null},e.prototype.set=function(e,t){var n=!1,r=null;if(this.storage){var i=\"graphiql:\"+e;if(t)try{this.storage.setItem(i,t)}catch(o){r=o,n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||\"QuotaExceededError\"===t.name||\"NS_ERROR_DOM_QUOTA_REACHED\"===t.name)&&0!==e.length}(this.storage,o)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}},e}();t.a=r},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Explorer=void 0;var r,i=n(241),o=(r=i)&&r.__esModule?r:{default:r};t.Explorer=o.default,t.default=o.default},function(e,t,n){(function(e){var r=n(242),i=n(247),o=n(11),a=n(248);(function(t){\"use strict\";const n=Object.prototype.hasOwnProperty;function s(e){return\"object\"===typeof e&&null!==e}function l(e,t){return n.call(e,t)}function c(e,t){return n.call(e,t)&&s(e[t])}function u(e,t){return n.call(e,t)&&\"string\"===typeof e[t]}var f;function p(e){if(s(e)){if(!u(e,\"type\"))return!1;switch(e.type){case t.MessageType.ConnectionInit:case t.MessageType.ConnectionAck:return!l(e,\"payload\")||void 0===e.payload||s(e.payload);case t.MessageType.Subscribe:return u(e,\"id\")&&c(e,\"payload\")&&(!l(e.payload,\"operationName\")||void 0===e.payload.operationName||null===e.payload.operationName||\"string\"===typeof e.payload.operationName)&&u(e.payload,\"query\")&&(!l(e.payload,\"variables\")||void 0===e.payload.variables||null===e.payload.variables||c(e.payload,\"variables\"));case t.MessageType.Next:return u(e,\"id\")&&c(e,\"payload\");case t.MessageType.Error:return u(e,\"id\")&&(n=e.payload,Array.isArray(n)&&n.length>0&&n.every(e=>\"message\"in e));case t.MessageType.Complete:return u(e,\"id\");default:return!1}}var n;return!1}function d(e){if(p(e))return e;if(\"string\"!==typeof e)throw new Error(\"Message not parsable\");const t=JSON.parse(e);if(!p(t))throw new Error(\"Invalid message\");return t}function h(e){if(!p(e))throw new Error(\"Cannot stringify invalid message\");return JSON.stringify(e)}t.MessageType=void 0,(f=t.MessageType||(t.MessageType={})).ConnectionInit=\"connection_init\",f.ConnectionAck=\"connection_ack\",f.Subscribe=\"subscribe\",f.Next=\"next\",f.Error=\"error\",f.Complete=\"complete\",t.GRAPHQL_TRANSPORT_WS_PROTOCOL=\"graphql-transport-ws\",t.createClient=function(n){const l=n.url,c=n.connectionParams,u=n.lazy,f=void 0===u||u,p=n.onNonLazyError,m=void 0===p?console.error:p,v=n.keepAlive,g=void 0===v?0:v,y=n.retryAttempts,b=void 0===y?5:y,E=n.retryWait,w=void 0===E?function(){var e=a(o.mark((function e(t){var n,r;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=1e3,r=0;rsetTimeout(e,n+Math.floor(2700*Math.random()+300)));case 4:case\"end\":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():E,k=n.on,T=n.webSocketImpl,O=n.generateID,x=void 0===O?function(){return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return(\"x\"==e?t:3&t|8).toString(16)})}:O;let _;if(T){if(!(\"function\"===typeof(C=T)&&\"constructor\"in C&&\"CLOSED\"in C&&\"CLOSING\"in C&&\"CONNECTING\"in C&&\"OPEN\"in C))throw new Error(\"Invalid WebSocket implementation provided\");_=T}else\"undefined\"!==typeof WebSocket?_=WebSocket:\"undefined\"!==typeof e?_=e.WebSocket||e.MozWebSocket:\"undefined\"!==typeof window&&(_=window.WebSocket||window.MozWebSocket);var C;if(!_)throw new Error(\"WebSocket implementation missing\");const S=_,N=(()=>{const e={connecting:(null===k||void 0===k?void 0:k.connecting)?[k.connecting]:[],connected:(null===k||void 0===k?void 0:k.connected)?[k.connected]:[],closed:(null===k||void 0===k?void 0:k.closed)?[k.closed]:[]};return{on(t,n){const r=e[t];return r.push(n),()=>{r.splice(r.indexOf(n),1)}},emit(t,...n){var r,o=i(e[t]);try{for(o.s();!(r=o.n()).done;)(0,r.value)(...n)}catch(a){o.e(a)}finally{o.f()}}}})();let D,A,I,j=0,L=!1,F=0,R=!1;function M(){return P.apply(this,arguments)}function P(){return(P=a(o.mark((function e(){var n,r,i;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j++,e.next=3,null!==D&&void 0!==D?D:D=new Promise((e,n)=>a(o.mark((function r(){var i;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!L){r.next=4;break}return r.next=3,w(F);case 3:F++;case 4:N.emit(\"connecting\"),(i=new S(l,\"graphql-transport-ws\")).onclose=e=>{D=void 0,N.emit(\"closed\",e),n(e)},i.onopen=a(o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,e.t0=i,e.t1=h,e.t2=t.MessageType.ConnectionInit,\"function\"!==typeof c){e.next=10;break}return e.next=7,c();case 7:e.t3=e.sent,e.next=11;break;case 10:e.t3=c;case 11:e.t4=e.t3,e.t5={type:e.t2,payload:e.t4},e.t6=(0,e.t1)(e.t5),e.t0.send.call(e.t0,e.t6),e.next=20;break;case 17:e.prev=17,e.t7=e.catch(0),i.close(4400,e.t7 instanceof Error?e.t7.message:new Error(e.t7).message);case 20:case\"end\":return e.stop()}}),e,null,[[0,17]])}))),i.onmessage=({data:n})=>{i.onmessage=null;try{const r=d(n);if(r.type!==t.MessageType.ConnectionAck)throw new Error(\"First message cannot be of type \".concat(r.type));N.emit(\"connected\",i,r.payload),F=0,e(i)}catch(r){i.close(4400,r instanceof Error?r.message:new Error(r).message)}};case 9:case\"end\":return r.stop()}}),r)})))());case 3:return n=e.sent,r=()=>{},i=new Promise(e=>r=e),e.abrupt(\"return\",[n,r,Promise.race([i.then(()=>{if(0===--j){const e=()=>n.close(1e3,\"Normal Closure\");isFinite(g)&&g>0?setTimeout(()=>{j||n.readyState!==S.OPEN||e()},g):e()}}),new Promise((e,t)=>n.addEventListener(\"close\",t,{once:!0}))])]);case 7:case\"end\":return e.stop()}}),e)})))).apply(this,arguments)}function V(e){if(!function(e){return s(e)&&\"code\"in e&&\"reason\"in e}(e))throw e;if([1002,1011,4400,4401,4409,4429].includes(e.code))throw e;if(R||1e3===e.code)return!1;if(!b||F>=b)throw e;return L=!0,!0}return f||a(o.mark((function e(){var t,n,i;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,M();case 3:return t=e.sent,n=r(t,3),i=n[2],e.next=8,i;case 8:return e.abrupt(\"return\");case 11:if(e.prev=11,e.t0=e.catch(0),e.prev=13,V(e.t0)){e.next=16;break}return e.abrupt(\"return\",null===m||void 0===m?void 0:m(e.t0));case 16:e.next=21;break;case 18:return e.prev=18,e.t1=e.catch(13),e.abrupt(\"return\",null===m||void 0===m?void 0:m(e.t0));case 21:e.next=0;break;case 23:case\"end\":return e.stop()}}),e,null,[[0,11],[13,18]])})))(),{on:N.on,subscribe(e,n){const i=x();let s=!1;const l={current:()=>{s=!0}};function c({data:e}){const r=function(e){return e!==A&&(I=d(e),A=e),I}(e);switch(r.type){case t.MessageType.Next:return void(r.id===i&&n.next(r.payload));case t.MessageType.Error:return void(r.id===i&&(s=!0,n.error(r.payload),l.current()));case t.MessageType.Complete:return void(r.id===i&&(s=!0,l.current()))}}return a(o.mark((function n(){var a,u,f,p,d;return o.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,M();case 3:if(a=n.sent,u=r(a,3),f=u[0],p=u[1],d=u[2],!s){n.next=10;break}return n.abrupt(\"return\",p());case 10:return f.addEventListener(\"message\",c),f.send(h({id:i,type:t.MessageType.Subscribe,payload:e})),l.current=()=>{s||f.readyState!==S.OPEN||f.send(h({id:i,type:t.MessageType.Complete})),p()},n.next=15,d;case 15:return f.removeEventListener(\"message\",c),n.abrupt(\"return\");case 19:if(n.prev=19,n.t0=n.catch(0),V(n.t0)){n.next=23;break}return n.abrupt(\"return\");case 23:n.next=0;break;case 25:case\"end\":return n.stop()}}),n,null,[[0,19]])})))().catch(n.error).then(n.complete),()=>l.current()},dispose:()=>a(o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(R=!0,!D){e.next=6;break}return e.next=4,D;case 4:e.sent.close(1e3,\"Normal Closure\");case 6:case\"end\":return e.stop()}}),e)})))()}},t.isMessage=p,t.parseMessage=d,t.stringifyMessage=h,Object.defineProperty(t,\"__esModule\",{value:!0})})(t)}).call(this,n(65))},function(e,t,n){\"use strict\";function r(e){var t,n=e.Symbol;return\"function\"===typeof n?n.observable?t=n.observable:(t=n(\"observable\"),n.observable=t):t=\"@@observable\",t}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";var r=n(53),i=n(1),o=n.n(i);class a extends i.PureComponent{constructor(e){super(e),this.$=o.a.createRef(),this._=o.a.createRef()}render(){return o.a.createElement(\"span\",{ref:this.$},o.a.createElement(\"a\",Object(r.a)(Object(r.a)({},this.props),{},{ref:this._}),this.props.children))}componentDidMount(){this.paint()}getSnapshotBeforeUpdate(){return this.reset(),null}componentDidUpdate(){this.paint()}componentWillUnmount(){this.reset()}paint(){const e=this.$.current.appendChild(document.createElement(\"span\"));Promise.resolve().then(n.bind(null,258)).then(({render:t})=>{t(e.appendChild(this._.current),(function(t){try{e.parentNode.replaceChild(t,e)}catch(e){}}))})}reset(){this.$.current.replaceChild(this._.current,this.$.current.lastChild)}}t.a=a},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return S}));var r=n(11),i=n.n(r),o=n(53),a=n(48);function s(e){this.wrapped=e}function l(e){return new s(e)}function c(e){var t,n;function r(t,n){try{var o=e[t](n),a=o.value,l=a instanceof s;Promise.resolve(l?a.wrapped:a).then((function(e){l?r(\"return\"===t?\"return\":\"next\",e):i(o.done?\"return\":\"normal\",e)}),(function(e){r(\"throw\",e)}))}catch(c){i(\"throw\",c)}}function i(e,i){switch(e){case\"return\":t.resolve({value:i,done:!0});break;case\"throw\":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise((function(o,a){var s={key:e,arg:i,resolve:o,reject:a,next:null};n?n=n.next=s:(t=n=s,r(e,i))}))},\"function\"!==typeof e.return&&(this.return=void 0)}function u(e){return function(){return new c(e.apply(this,arguments))}}function f(e){var t;if(\"undefined\"!==typeof Symbol){if(Symbol.asyncIterator&&null!=(t=e[Symbol.asyncIterator]))return t.call(e);if(Symbol.iterator&&null!=(t=e[Symbol.iterator]))return t.call(e)}throw new TypeError(\"Object is not async iterable\")}\"function\"===typeof Symbol&&Symbol.asyncIterator&&(c.prototype[Symbol.asyncIterator]=function(){return this}),c.prototype.next=function(e){return this._invoke(\"next\",e)},c.prototype.throw=function(e){return this._invoke(\"throw\",e)},c.prototype.return=function(e){return this._invoke(\"return\",e)};var p=n(23);const d=new TextDecoder;function h(e,t,n){return m.apply(this,arguments)}function m(){return(m=u(r.mark((function e(t,n,i){var o,a,s,c,u,f,p,h,m,v,g,y,b,E,w,k,T;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t.getReader(),a=!i||!i.multiple,s=\"\",c=!0,u=[],e.prev=2;case 3:return e.next=5,l(o.read());case 5:if((f=e.sent).done){e.next=45;break}p=d.decode(f.value),h=p.indexOf(n),m=s.length,s+=p,~h?m+=h:m=s.indexOf(n),u=[];case 12:if(!~m){e.next=40;break}if(v=s.substring(0,m),g=s.substring(m+n.length),!c){e.next=19;break}c=!1,e.next=36;break;case 19:for(y={},b=v.indexOf(\"\\r\\n\\r\\n\"),E=s.slice(0,b).toString().trim().split(/\\r\\n/);w=E.shift();)w=w.split(\": \"),y[w.shift().toLowerCase()]=w.join(\": \");if(k=v.substring(b+\"\\r\\n\\r\\n\".length,v.lastIndexOf(\"\\r\\n\")),T=!1,(w=y[\"content-type\"])&&~w.indexOf(\"application/json\"))try{k=JSON.parse(k),T=!0}catch(r){}if(w={headers:y,body:k,json:T},!a){e.next=33;break}return e.next=31,w;case 31:e.next=34;break;case 33:u.push(w);case 34:if(\"--\"!==g.substring(0,2)){e.next=36;break}return e.abrupt(\"break\",45);case 36:m=(s=g).indexOf(n),e.next=12;break;case 40:if(!u.length){e.next=43;break}return e.next=43,u;case 43:e.next=3;break;case 45:if(e.prev=45,!u.length){e.next=49;break}return e.next=49,u;case 49:return o.releaseLock(),e.finish(45);case 51:case\"end\":return e.stop()}}),e,null,[[2,,45,51]])})))).apply(this,arguments)}function v(e,t){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(r.mark((function e(t,n){var i,o;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok&&t.body&&!t.bodyUsed){e.next=2;break}return e.abrupt(\"return\",t);case 2:if((i=t.headers.get(\"content-type\"))&&~i.indexOf(\"multipart/mixed\")){e.next=5;break}return e.abrupt(\"return\",t);case 5:return o=i.indexOf(\"boundary=\"),e.abrupt(\"return\",h(t.body,\"--\".concat(~o?i.substring(o+9).trim().replace(/['\"]/g,\"\"):\"-\"),n));case 7:case\"end\":return e.stop()}}),e)})))).apply(this,arguments)}var y=n(158),b=n(105);function E(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}const w=Symbol(),k=Symbol();const T=e=>{const t=function(){var e,t;let n=!0;const i=[];let o=E(),a=E();const s=function(){var e=u(r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i.length>0)){e.next=6;break}return e.next=4,i.shift();case 4:e.next=11;break;case 6:return e.next=8,l(Promise.race([o.promise,a.promise]));case 8:if(e.sent!==w){e.next=11;break}return e.abrupt(\"break\",13);case 11:e.next=0;break;case 13:case\"end\":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()(),c=null==(e=s.return)?void 0:e.bind(s);s.return=(...e)=>{var t;return n=!1,a.resolve(w),null!=(t=null==c?void 0:c(...e))?t:Promise.resolve({done:!0,value:void 0})};const f=null==(t=s.throw)?void 0:t.bind(s);return s.throw=(...e)=>{var t;return n=!1,a.resolve(w),null!=(t=null==f?void 0:f(...e))?t:Promise.resolve({done:!0,value:void 0})},{pushValue:function(e){!1!==n&&(i.push(e),o.resolve(k),o=E())},asyncIterableIterator:s}}(),n=t.pushValue,i=t.asyncIterableIterator;let o=()=>{};const a={next:e=>{n(e)},complete:()=>{o(),null==i.return||i.return()},error:e=>{null==i.throw||i.throw(e)}};return o=e(a),i};const O=(e,t)=>function(){var n=Object(a.a)(i.a.mark((function n(r,a){var s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t(e.url,{method:\"POST\",body:JSON.stringify(r),headers:Object(o.a)(Object(o.a)({\"content-type\":\"application/json\"},e.headers),null===a||void 0===a?void 0:a.headers)});case 2:return s=n.sent,n.abrupt(\"return\",s.json());case 4:case\"end\":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}(),x=e=>t=>T(n=>e.subscribe(t,n)),_=e=>t=>{const n=e.request(t);return T(e=>n.subscribe(e).unsubscribe)},C=(e,t)=>function(){var n=u(i.a.mark((function n(r,a){var s,c,u,p,d,h,m,g,y;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l(t(e.url,{method:\"POST\",body:JSON.stringify(r),headers:Object(o.a)(Object(o.a)({\"content-type\":\"application/json\",accept:\"application/json, multipart/mixed\"},e.headers),null===a||void 0===a?void 0:a.headers)}).then(e=>v(e,{multiple:!0})));case 2:if(s=n.sent,\"object\"===typeof(i=s)&&null!==i&&(\"AsyncGenerator\"===i[Symbol.toStringTag]||Symbol.asyncIterator&&Symbol.asyncIterator in i)){n.next=7;break}return n.next=6,s.json();case 6:return n.abrupt(\"return\",n.sent);case 7:c=!0,u=!1,n.prev=9,d=f(s);case 11:return n.next=13,l(d.next());case 13:return h=n.sent,c=h.done,n.next=17,l(h.value);case 17:if(m=n.sent,c){n.next=28;break}if(!(g=m).some(e=>!e.json)){n.next=23;break}throw y=g.map(e=>\"Headers::\\n\".concat(e.headers,\"\\n\\nBody::\\n\").concat(e.body)),new Error(\"Expected multipart chunks to be of json type. got:\\n\".concat(y));case 23:return n.next=25,g.map(e=>e.body);case 25:c=!0,n.next=11;break;case 28:n.next=34;break;case 30:n.prev=30,n.t0=n.catch(9),u=!0,p=n.t0;case 34:if(n.prev=34,n.prev=35,c||null==d.return){n.next=39;break}return n.next=39,l(d.return());case 39:if(n.prev=39,!u){n.next=42;break}throw p;case 42:return n.finish(39);case 43:return n.finish(34);case 44:case\"end\":return n.stop()}var i}),n,null,[[9,30,34,44],[35,,39,43]])})));return function(e,t){return n.apply(this,arguments)}}();function S(e){var t;let n,r=null;if(null!==typeof window&&null!==(t=window)&&void 0!==t&&t.fetch&&(n=window.fetch),null!==(null===e||void 0===e?void 0:e.enableIncrementalDelivery)&&!1===e.enableIncrementalDelivery||(e.enableIncrementalDelivery=!0),e.fetch&&(n=e.fetch),!n)throw Error(\"No valid fetcher implementation available\");const i=O(e,n);e.subscriptionUrl&&(r=((e,t)=>{let n=null,r=null;if(e)try{try{n=Object(y.createClient)({url:e,connectionParams:t}),n||(r=new b.SubscriptionClient(e,{connectionParams:t}))}catch(i){r=new b.SubscriptionClient(e,{connectionParams:t})}}catch(i){console.error(\"Error creating websocket client for:\\n\".concat(e,\"\\n\\n\").concat(i))}if(n)return x(n);if(r)return _(r);if(e)throw Error(\"subscriptions client failed to initialize\")})(e.subscriptionUrl)),e.wsClient&&(r=x(e.wsClient));const o=e.enableIncrementalDelivery?C(e,n):i;return(t,n)=>{if(\"IntrospectionQuery\"===t.operationName)return(e.schemaFetcher||i)(t,n);if(((e,t)=>{let n=!1;return Object(p.c)(e,{OperationDefinition(e){var r;t===(null===(r=e.name)||void 0===r?void 0:r.value)&&\"subscription\"===e.operation&&(n=!0)}}),n})(null===n||void 0===n?void 0:n.documentAST,t.operationName)){if(!r)throw Error(\"Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. \".concat(e.subscriptionUrl?\"Provided URL \".concat(e.subscriptionUrl,\" failed\"):\"Try providing options.subscriptionUrl or options.wsClient first.\"));return r(t)}return o(t,n)}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(35),i=n(1),o=n.n(i),a=function(){for(var e=0,t=0,n=arguments.length;tthis.maxSize&&n.shift();for(var r=0;r<5;r++){var i=this.storage.set(this.key,JSON.stringify(((t={})[this.key]=n,t)));if(i&&i.error){if(!i.isQuotaError||!this.maxSize)return;n.shift()}else this.items=n}},e.prototype.save=function(){var e;this.storage.set(this.key,JSON.stringify(((e={})[this.key]=this.items,e)))},e}(),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={editable:!1},n.editField=null,n}return l(t,e),t.prototype.render=function(){var e,t=this,n=this.props.label||this.props.operationName||(null===(e=this.props.query)||void 0===e?void 0:e.split(\"\\n\").filter((function(e){return 0!==e.indexOf(\"#\")})).join(\"\")),r=this.props.favorite?\"\\u2605\":\"\\u2606\";return o.a.createElement(\"li\",{className:this.state.editable?\"editable\":void 0},this.state.editable?o.a.createElement(\"input\",{type:\"text\",defaultValue:this.props.label,ref:function(e){t.editField=e},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:\"Type a label\"}):o.a.createElement(\"button\",{className:\"history-label\",onClick:this.handleClick.bind(this)},n),o.a.createElement(\"button\",{onClick:this.handleEditClick.bind(this),\"aria-label\":\"Edit label\"},\"\\u270e\"),o.a.createElement(\"button\",{className:this.props.favorite?\"favorited\":void 0,onClick:this.handleStarClick.bind(this),\"aria-label\":this.props.favorite?\"Remove favorite\":\"Add favorite\"},r))},t.prototype.handleClick=function(){this.props.onSelect(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label)},t.prototype.handleStarClick=function(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label,this.props.favorite)},t.prototype.handleFieldBlur=function(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.target.value,this.props.favorite)},t.prototype.handleFieldKeyDown=function(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.currentTarget.value,this.props.favorite))},t.prototype.handleEditClick=function(e){var t=this;e.stopPropagation(),this.setState({editable:!0},(function(){t.editField&&t.editField.focus()}))},t}(o.a.Component),u=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1e5)return!1;if(!i)return!0;if(JSON.stringify(e)===JSON.stringify(i.query)){if(JSON.stringify(t)===JSON.stringify(i.variables)){if(JSON.stringify(n)===JSON.stringify(i.headers))return!1;if(n&&!i.headers)return!1}if(t&&!i.variables)return!1}return!0}(e,t,i,n.historyStore.fetchRecent())){n.historyStore.push({query:e,variables:t,headers:i,operationName:o});var a=n.historyStore.items,s=n.favoriteStore.items,l=a.concat(s);n.setState({queries:l})}},n.toggleFavorite=function(e,t,r,i,o,a){var s={query:e,variables:t,headers:r,operationName:i,label:o};n.favoriteStore.contains(s)?a&&(s.favorite=!1,n.favoriteStore.delete(s)):(s.favorite=!0,n.favoriteStore.push(s)),n.setState({queries:p(n.historyStore.items,n.favoriteStore.items)})},n.editLabel=function(e,t,r,i,o,a){var s={query:e,variables:t,headers:r,operationName:i,label:o};a?n.favoriteStore.edit(f(f({},s),{favorite:a})):n.historyStore.edit(s),n.setState({queries:p(n.historyStore.items,n.favoriteStore.items)})},n.historyStore=new s(\"queries\",t.storage,20),n.favoriteStore=new s(\"favorites\",t.storage,null);var i=n.historyStore.fetchAll(),o=n.favoriteStore.fetchAll(),a=i.concat(o);return n.state={queries:a},n}return u(t,e),t.prototype.render=function(){var e=this,t=this.state.queries.slice().reverse().map((function(t,n){return o.a.createElement(c,f({handleEditLabel:e.editLabel,handleToggleFavorite:e.toggleFavorite,key:n+\":\"+(t.label||t.query),onSelect:e.props.onSelectQuery},t))}));return o.a.createElement(\"section\",{\"aria-label\":\"History\"},o.a.createElement(\"div\",{className:\"history-title-bar\"},o.a.createElement(\"div\",{className:\"history-title\"},\"History\"),o.a.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),o.a.createElement(\"ul\",{className:\"history-contents\"},t))},t}(o.a.Component)},,function(e,t,n){\"use strict\";var r=n(106),i=\"function\"===typeof Symbol&&Symbol.for,o=i?Symbol.for(\"react.element\"):60103,a=i?Symbol.for(\"react.portal\"):60106,s=i?Symbol.for(\"react.fragment\"):60107,l=i?Symbol.for(\"react.strict_mode\"):60108,c=i?Symbol.for(\"react.profiler\"):60114,u=i?Symbol.for(\"react.provider\"):60109,f=i?Symbol.for(\"react.context\"):60110,p=i?Symbol.for(\"react.forward_ref\"):60112,d=i?Symbol.for(\"react.suspense\"):60113,h=i?Symbol.for(\"react.memo\"):60115,m=i?Symbol.for(\"react.lazy\"):60116,v=\"function\"===typeof Symbol&&Symbol.iterator;function g(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;nD.length&&D.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;\"undefined\"!==s&&\"boolean\"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case\"string\":case\"number\":l=!0;break;case\"object\":switch(t.$$typeof){case o:case a:l=!0}}if(l)return r(i,t,\"\"===n?\".\"+L(t,0):n),1;if(l=0,n=\"\"===n?\".\":n+\":\",Array.isArray(t))for(var c=0;c