From 93aa4b3670f227c00155961d54a7e2f4c3598a07 Mon Sep 17 00:00:00 2001 From: Tom H Anderson Date: Wed, 1 May 2024 17:44:25 -0600 Subject: [PATCH] Added graphiql --- Dockerfile | 8 ++ composer.json | 3 +- composer.lock | 67 +++++++++++++++- config/graphiql.php | 64 +++++++++++++++ magidoc.mjs | 66 +++++++++++++++- .../immutable/chunks/ArgsList.Cv5ckF46.js | 1 - .../immutable/chunks/ArgsList.E6xJx3iI.js | 1 + ...{Button.DCPk-vpN.js => Button.DdJ5kdpU.js} | 2 +- ...wn.BMDCihU_.js => ChevronDown.B4bYL18o.js} | 6 +- ...g.DAgCRs3W.js => DirectiveTag.C2PfFA6T.js} | 2 +- ...s.45GdpIxF.js => FieldDetails.CGqu6sCJ.js} | 14 ++-- .../chunks/PreviousNextPage.Cqe1Lb47.js | 9 +++ .../chunks/PreviousNextPage.DyKSPTRc.js | 9 --- .../_app/immutable/chunks/control.DTPJZYse.js | 1 + .../_app/immutable/chunks/control.DVZ9YK-Y.js | 1 - .../{entry.KXDGpGCl.js => entry.thCgVuzy.js} | 2 +- .../{index.DZ_x9Zvh.js => index.BFJrFwrB.js} | 2 +- .../{index.CMSEJhCx.js => index.BLFDKRva.js} | 2 +- .../{index.Cx9QXIn7.js => index.GTo13Lj_.js} | 2 +- .../{pages.DBBWeKUc.js => pages.DpEZ8Fnk.js} | 78 +++++++++---------- ...uler.Eaj42bxH.js => scheduler.BZkyrStM.js} | 2 +- ...{stores.DOnVSvaY.js => stores.DixFfSw6.js} | 2 +- .../{app.Do3m6QIW.js => app.Bc5lhMB3.js} | 4 +- .../_app/immutable/entry/start.BGseu8dS.js | 1 + .../_app/immutable/entry/start.DZ0f2QIx.js | 1 - .../docs/_app/immutable/nodes/0.Cq5iqm-l.js | 16 ++++ .../docs/_app/immutable/nodes/0.I_TbEO6i.js | 16 ---- .../nodes/{1.BieY6pKJ.js => 1.C2pH1phn.js} | 2 +- .../nodes/{2.C-YksOJQ.js => 2.D34fuWsz.js} | 2 +- .../nodes/{3.Dsdjuqho.js => 3.EZzk7DaV.js} | 2 +- .../nodes/{4.HoOWUExx.js => 4.DTj3Jhwg.js} | 2 +- .../nodes/{5.Dr4Ygg7v.js => 5.DvaM4w8r.js} | 2 +- .../nodes/{6.DTYqiS92.js => 6.CDNDJfTy.js} | 2 +- .../nodes/{7.aHRSlWZl.js => 7.Bku79mXS.js} | 2 +- .../nodes/{8.Cbf1a4CI.js => 8.OsAIkWGp.js} | 2 +- public/docs/_app/version.json | 2 +- public/docs/example-queries.html | 74 ++++++++++++++++++ public/docs/queries/artist.html | 46 +++++------ public/docs/queries/artistGroup.html | 44 +++++------ public/docs/queries/artistGroups.html | 46 +++++------ public/docs/queries/artists.html | 44 +++++------ public/docs/queries/artistsUnprefix.html | 46 +++++------ .../docs/queries/artistsUnprefixSource.html | 46 +++++------ public/docs/queries/creator.html | 44 +++++------ public/docs/queries/creators.html | 44 +++++------ public/docs/queries/creatorsUnprefix.html | 46 +++++------ public/docs/queries/identifier.html | 44 +++++------ public/docs/queries/identifiers.html | 44 +++++------ public/docs/queries/performance.html | 44 +++++------ public/docs/queries/performances.html | 46 +++++------ public/docs/queries/source.html | 44 +++++------ public/docs/queries/sources.html | 46 +++++------ public/docs/queries/user.html | 44 +++++------ public/docs/queries/userByUsername.html | 44 +++++------ public/docs/queries/userList.html | 44 +++++------ public/docs/queries/userListByUsername.html | 44 +++++------ public/docs/queries/userPerformance.html | 44 +++++------ .../queries/userPerformancesByUsername.html | 44 +++++------ public/docs/queries/users.html | 44 +++++------ public/docs/types/Artist.html | 42 +++++----- public/docs/types/ArtistGroup.html | 42 +++++----- public/docs/types/ArtistToArtistGroup.html | 42 +++++----- public/docs/types/ArtistUnprefix.html | 42 +++++----- public/docs/types/ArtistUnprefixSource.html | 42 +++++----- public/docs/types/Between_DateTime.html | 42 +++++----- public/docs/types/Between_Int.html | 42 +++++----- public/docs/types/Boolean.html | 42 +++++----- public/docs/types/Checksum.html | 42 +++++----- public/docs/types/Connection_ArtistGroup.html | 42 +++++----- ...tion_ArtistGroup_artistToArtistGroups.html | 42 +++++----- ...ection_ArtistGroup_userToArtistGroups.html | 42 +++++----- .../docs/types/Connection_ArtistUnprefix.html | 42 +++++----- .../Connection_ArtistUnprefixSource.html | 42 +++++----- ...onnection_Artist_artistToArtistGroups.html | 42 +++++----- .../types/Connection_Artist_creators.html | 42 +++++----- .../types/Connection_Artist_performances.html | 42 +++++----- ...nternetArchive_Collection_identifiers.html | 42 +++++----- .../Connection_InternetArchive_Creator.html | 42 +++++----- ...ction_InternetArchive_CreatorUnprefix.html | 42 +++++----- ...n_InternetArchive_Creator_identifiers.html | 42 +++++----- ...nternetArchive_Identifier_collections.html | 42 +++++----- ...tion_InternetArchive_Identifier_files.html | 42 +++++----- public/docs/types/Connection_Performance.html | 42 +++++----- .../types/Connection_Performance_sources.html | 42 +++++----- ...nnection_Performance_userPerformances.html | 42 +++++----- .../Connection_Performance_wantedUsers.html | 42 +++++----- public/docs/types/Connection_Source.html | 42 +++++----- .../types/Connection_Source_checksums.html | 42 +++++----- .../types/Connection_Source_identifier.html | 42 +++++----- .../Connection_Source_userPerformances.html | 42 +++++----- .../types/Connection_Template_userLists.html | 42 +++++----- .../docs/types/Connection_Template_users.html | 42 +++++----- public/docs/types/Connection_User.html | 42 +++++----- .../Connection_UserList_userPerformances.html | 42 +++++----- .../types/Connection_UserPerformance.html | 42 +++++----- .../Connection_UserPerformance_userLists.html | 42 +++++----- .../types/Connection_User_artistGroups.html | 42 +++++----- .../Connection_User_artistToArtistGroups.html | 42 +++++----- .../docs/types/Connection_User_artists.html | 42 +++++----- .../docs/types/Connection_User_userLists.html | 42 +++++----- .../Connection_User_userPerformances.html | 42 +++++----- .../Connection_User_userToArtistGroups.html | 42 +++++----- .../Connection_User_wantedPerformances.html | 42 +++++----- public/docs/types/DateTime.html | 42 +++++----- public/docs/types/Filter_ArtistGroup.html | 42 +++++----- ...lter_ArtistGroup_artistToArtistGroups.html | 42 +++++----- ...Filter_ArtistGroup_userToArtistGroups.html | 42 +++++----- public/docs/types/Filter_ArtistUnprefix.html | 42 +++++----- .../types/Filter_ArtistUnprefixSource.html | 42 +++++----- .../Filter_Artist_artistToArtistGroups.html | 42 +++++----- public/docs/types/Filter_Artist_creators.html | 42 +++++----- .../types/Filter_Artist_performances.html | 42 +++++----- ...nternetArchive_Collection_identifiers.html | 42 +++++----- .../types/Filter_InternetArchive_Creator.html | 42 +++++----- ...ilter_InternetArchive_CreatorUnprefix.html | 42 +++++----- ...r_InternetArchive_Creator_identifiers.html | 42 +++++----- ...nternetArchive_Identifier_collections.html | 42 +++++----- ...lter_InternetArchive_Identifier_files.html | 42 +++++----- public/docs/types/Filter_Performance.html | 42 +++++----- .../types/Filter_Performance_sources.html | 42 +++++----- .../Filter_Performance_userPerformances.html | 42 +++++----- .../types/Filter_Performance_wantedUsers.html | 42 +++++----- public/docs/types/Filter_Source.html | 42 +++++----- .../docs/types/Filter_Source_checksums.html | 42 +++++----- .../docs/types/Filter_Source_identifier.html | 42 +++++----- .../types/Filter_Source_userPerformances.html | 42 +++++----- .../docs/types/Filter_Template_userLists.html | 42 +++++----- public/docs/types/Filter_Template_users.html | 42 +++++----- public/docs/types/Filter_User.html | 42 +++++----- .../Filter_UserList_userPerformances.html | 42 +++++----- .../Filter_UserPerformance_userLists.html | 42 +++++----- .../docs/types/Filter_User_artistGroups.html | 42 +++++----- .../Filter_User_artistToArtistGroups.html | 42 +++++----- public/docs/types/Filter_User_artists.html | 42 +++++----- public/docs/types/Filter_User_userLists.html | 42 +++++----- .../types/Filter_User_userPerformances.html | 42 +++++----- .../types/Filter_User_userToArtistGroups.html | 42 +++++----- .../types/Filter_User_wantedPerformances.html | 42 +++++----- ...lean_b468a454ba782e8572487ec259fe96aa.html | 42 +++++----- ...Time_c3e33b972e10b05e7a58c5c0a8c83b15.html | 42 +++++----- ...s_ID_e42e59a726e3a3d5a1c47117f1cb4d27.html | 42 +++++----- ..._Int_c3e33b972e10b05e7a58c5c0a8c83b15.html | 42 +++++----- ...ring_1bb78ae9f3325089fccab4aafd4b69b5.html | 42 +++++----- public/docs/types/ID.html | 42 +++++----- public/docs/types/Int.html | 42 +++++----- .../types/InternetArchive_Collection.html | 42 +++++----- .../docs/types/InternetArchive_Creator.html | 42 +++++----- .../InternetArchive_CreatorUnprefix.html | 42 +++++----- public/docs/types/InternetArchive_File.html | 42 +++++----- .../types/InternetArchive_Identifier.html | 42 +++++----- public/docs/types/Node_ArtistGroup.html | 42 +++++----- ...Node_ArtistGroup_ArtistToArtistGroups.html | 42 +++++----- .../Node_ArtistGroup_UserToArtistGroups.html | 42 +++++----- public/docs/types/Node_ArtistUnprefix.html | 42 +++++----- .../docs/types/Node_ArtistUnprefixSource.html | 42 +++++----- .../Node_Artist_ArtistToArtistGroups.html | 42 +++++----- public/docs/types/Node_Artist_Creators.html | 42 +++++----- .../docs/types/Node_Artist_Performances.html | 42 +++++----- ...nternetArchive_Collection_Identifiers.html | 42 +++++----- .../types/Node_InternetArchive_Creator.html | 42 +++++----- .../Node_InternetArchive_CreatorUnprefix.html | 42 +++++----- ...e_InternetArchive_Creator_Identifiers.html | 42 +++++----- ...nternetArchive_Identifier_Collections.html | 42 +++++----- ...Node_InternetArchive_Identifier_Files.html | 42 +++++----- public/docs/types/Node_Performance.html | 42 +++++----- .../docs/types/Node_Performance_Sources.html | 42 +++++----- .../Node_Performance_UserPerformances.html | 42 +++++----- .../types/Node_Performance_WantedUsers.html | 42 +++++----- public/docs/types/Node_Source.html | 42 +++++----- public/docs/types/Node_Source_Checksums.html | 42 +++++----- public/docs/types/Node_Source_Identifier.html | 42 +++++----- .../types/Node_Source_UserPerformances.html | 42 +++++----- .../docs/types/Node_Template_UserLists.html | 42 +++++----- public/docs/types/Node_Template_Users.html | 42 +++++----- public/docs/types/Node_User.html | 42 +++++----- .../types/Node_UserList_UserPerformances.html | 42 +++++----- public/docs/types/Node_UserPerformance.html | 42 +++++----- .../types/Node_UserPerformance_UserLists.html | 42 +++++----- public/docs/types/Node_User_ArtistGroups.html | 42 +++++----- .../types/Node_User_ArtistToArtistGroups.html | 42 +++++----- public/docs/types/Node_User_Artists.html | 42 +++++----- public/docs/types/Node_User_UserLists.html | 42 +++++----- .../types/Node_User_UserPerformances.html | 42 +++++----- .../types/Node_User_UserToArtistGroups.html | 42 +++++----- .../types/Node_User_WantedPerformances.html | 42 +++++----- public/docs/types/PageInfo.html | 42 +++++----- public/docs/types/Pagination.html | 42 +++++----- public/docs/types/Performance.html | 42 +++++----- public/docs/types/Source.html | 42 +++++----- public/docs/types/String.html | 42 +++++----- public/docs/types/Template.html | 42 +++++----- public/docs/types/TopArtist.html | 42 +++++----- public/docs/types/User.html | 42 +++++----- public/docs/types/UserList.html | 42 +++++----- public/docs/types/UserPerformance.html | 42 +++++----- public/docs/types/UserToArtistGroup.html | 42 +++++----- public/docs/types/query.html | 54 ++++++------- public/docs/welcome.html | 42 +++++----- 198 files changed, 3790 insertions(+), 3516 deletions(-) create mode 100644 config/graphiql.php delete mode 100644 public/docs/_app/immutable/chunks/ArgsList.Cv5ckF46.js create mode 100644 public/docs/_app/immutable/chunks/ArgsList.E6xJx3iI.js rename public/docs/_app/immutable/chunks/{Button.DCPk-vpN.js => Button.DdJ5kdpU.js} (51%) rename public/docs/_app/immutable/chunks/{ChevronDown.BMDCihU_.js => ChevronDown.B4bYL18o.js} (73%) rename public/docs/_app/immutable/chunks/{DirectiveTag.DAgCRs3W.js => DirectiveTag.C2PfFA6T.js} (87%) rename public/docs/_app/immutable/chunks/{FieldDetails.45GdpIxF.js => FieldDetails.CGqu6sCJ.js} (86%) create mode 100644 public/docs/_app/immutable/chunks/PreviousNextPage.Cqe1Lb47.js delete mode 100644 public/docs/_app/immutable/chunks/PreviousNextPage.DyKSPTRc.js create mode 100644 public/docs/_app/immutable/chunks/control.DTPJZYse.js delete mode 100644 public/docs/_app/immutable/chunks/control.DVZ9YK-Y.js rename public/docs/_app/immutable/chunks/{entry.KXDGpGCl.js => entry.thCgVuzy.js} (99%) rename public/docs/_app/immutable/chunks/{index.DZ_x9Zvh.js => index.BFJrFwrB.js} (61%) rename public/docs/_app/immutable/chunks/{index.CMSEJhCx.js => index.BLFDKRva.js} (98%) rename public/docs/_app/immutable/chunks/{index.Cx9QXIn7.js => index.GTo13Lj_.js} (86%) rename public/docs/_app/immutable/chunks/{pages.DBBWeKUc.js => pages.DpEZ8Fnk.js} (79%) rename public/docs/_app/immutable/chunks/{scheduler.Eaj42bxH.js => scheduler.BZkyrStM.js} (67%) rename public/docs/_app/immutable/chunks/{stores.DOnVSvaY.js => stores.DixFfSw6.js} (72%) rename public/docs/_app/immutable/entry/{app.Do3m6QIW.js => app.Bc5lhMB3.js} (79%) create mode 100644 public/docs/_app/immutable/entry/start.BGseu8dS.js delete mode 100644 public/docs/_app/immutable/entry/start.DZ0f2QIx.js create mode 100644 public/docs/_app/immutable/nodes/0.Cq5iqm-l.js delete mode 100644 public/docs/_app/immutable/nodes/0.I_TbEO6i.js rename public/docs/_app/immutable/nodes/{1.BieY6pKJ.js => 1.C2pH1phn.js} (89%) rename public/docs/_app/immutable/nodes/{2.C-YksOJQ.js => 2.D34fuWsz.js} (53%) rename public/docs/_app/immutable/nodes/{3.Dsdjuqho.js => 3.EZzk7DaV.js} (80%) rename public/docs/_app/immutable/nodes/{4.HoOWUExx.js => 4.DTj3Jhwg.js} (88%) rename public/docs/_app/immutable/nodes/{5.Dr4Ygg7v.js => 5.DvaM4w8r.js} (75%) rename public/docs/_app/immutable/nodes/{6.DTYqiS92.js => 6.CDNDJfTy.js} (75%) rename public/docs/_app/immutable/nodes/{7.aHRSlWZl.js => 7.Bku79mXS.js} (75%) rename public/docs/_app/immutable/nodes/{8.Cbf1a4CI.js => 8.OsAIkWGp.js} (99%) create mode 100644 public/docs/example-queries.html diff --git a/Dockerfile b/Dockerfile index 1925768..5eafeb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,9 @@ RUN apt-get update && apt-get install --yes \ libzip-dev \ redis +RUN apt-get install --yes nodejs +RUN apt-get install --yes npm + # Clear cache RUN apt-get clean && rm -rf /var/lib/apt/lists/* @@ -50,6 +53,11 @@ COPY .docker/config/000-default.conf /etc/apache2/sites-available/000-default.co RUN rm /etc/apache2/sites-enabled/000-default.conf RUN ln -s /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/000-default.conf +# Node and Magidoc +RUN npm install -g pnpm +RUN SHELL=/bin/bash pnpm setup +RUN SHELL=/bin/bash PNPM_HOME=/usr/bin pnpm add --global @magidoc/cli@latest + # PHP COPY .docker/config/php.ini /usr/local/etc/php/php.ini diff --git a/composer.json b/composer.json index f34c611..a3088cc 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,8 @@ "laravel-doctrine/orm": "^1.8", "laravel/framework": "^9.19", "laravel/sanctum": "^3.0", - "laravel/tinker": "^2.7" + "laravel/tinker": "^2.7", + "mll-lab/laravel-graphiql": "^3.2" }, "require-dev": { "doctrine/coding-standard": "^12.0", diff --git a/composer.lock b/composer.lock index 7153332..6b8246c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "58611e5d297b101752d26798572ec9ac", + "content-hash": "602614309e4f2dff5eb2a2768189f032", "packages": [ { "name": "api-skeletons/doctrine-orm-graphql", @@ -3310,6 +3310,71 @@ ], "time": "2024-01-28T23:22:08+00:00" }, + { + "name": "mll-lab/laravel-graphiql", + "version": "v3.2.1", + "source": { + "type": "git", + "url": "https://github.com/mll-lab/laravel-graphiql.git", + "reference": "6c9f740a632e71851a4fbf86c847f9c107fc66d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mll-lab/laravel-graphiql/zipball/6c9f740a632e71851a4fbf86c847f9c107fc66d1", + "reference": "6c9f740a632e71851a4fbf86c847f9c107fc66d1", + "shasum": "" + }, + "require": { + "illuminate/console": "^9 || ^10 || ^11", + "illuminate/contracts": "^9 || ^10 || ^11", + "illuminate/support": "^9 || ^10 || ^11", + "php": "^8" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.29", + "larastan/larastan": "^2.5.2", + "mll-lab/php-cs-fixer-config": "^5", + "orchestra/testbench": "^7.7 || ^8.8 || ^9", + "phpstan/extension-installer": "^1", + "phpstan/phpstan": "^1.10.15", + "phpstan/phpstan-mockery": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.11" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "MLL\\GraphiQL\\GraphiQLServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "MLL\\GraphiQL\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Benedikt Franke", + "email": "benedikt@franke.tech" + } + ], + "description": "Easily integrate GraphiQL into your Laravel project", + "keywords": [ + "graphiql", + "graphql", + "laravel" + ], + "support": { + "issues": "https://github.com/mll-lab/laravel-graphiql/issues", + "source": "https://github.com/mll-lab/laravel-graphiql/tree/v3.2.1" + }, + "time": "2024-04-03T12:38:41+00:00" + }, { "name": "monolog/monolog", "version": "2.9.2", diff --git a/config/graphiql.php b/config/graphiql.php new file mode 100644 index 0000000..a932a7b --- /dev/null +++ b/config/graphiql.php @@ -0,0 +1,64 @@ + [ + '/graphiql' => [ + 'name' => 'graphiql', + // 'middleware' => ['web'] + // 'prefix' => '', + // 'domain' => 'graphql.' . env('APP_DOMAIN', 'localhost'), + + /* + |-------------------------------------------------------------------------- + | Default GraphQL endpoint + |-------------------------------------------------------------------------- + | + | The default endpoint that the GraphiQL UI is set to. + | It assumes you are running GraphQL on the same domain + | as GraphiQL, but can be set to any URL. + | + */ + + 'endpoint' => '/', + + /* + |-------------------------------------------------------------------------- + | Subscription endpoint + |-------------------------------------------------------------------------- + | + | The default subscription endpoint the GraphiQL UI uses to connect to. + | Tries to connect to the `endpoint` value if `null` as ws://{{endpoint}} + | + | Example: `ws://your-endpoint` or `wss://your-endpoint` + | + */ + + 'subscription-endpoint' => env('GRAPHIQL_SUBSCRIPTION_ENDPOINT', null), + ], + ], + + /* + |-------------------------------------------------------------------------- + | Control GraphiQL availability + |-------------------------------------------------------------------------- + | + | Control if the GraphiQL UI is accessible at all. + | This allows you to disable it in certain environments, + | for example you might not want it active in production. + | + */ + + 'enabled' => env('GRAPHIQL_ENABLED', true), +]; diff --git a/magidoc.mjs b/magidoc.mjs index f0aab39..8dbfbfd 100644 --- a/magidoc.mjs +++ b/magidoc.mjs @@ -1,7 +1,7 @@ export default { introspection: { type: 'url', - url: 'http://localhost', + url: 'http://localhost:8080', }, website: { template: 'carbon-multi-page', @@ -22,7 +22,69 @@ This is the graph database for \`https://lcdb.org\`. You are free to use this database for your own purposes. -The endpoint is a POST to \`https://graphql.lcdb.org\` +You may explore the GraphQL with [graphiql](https://graphql.lcdb.org/graphiql) or POST to \`https://graphql.lcdb.org\` + `, + }, + { + title: 'Example Queries', + content: ` +Example Queries +=============== + +Fetch performances with artist name and sources +----------------------------------------------- + +\`\`\`graphql +query MyQuery { + performances { + edges { + node { + artist { + name + } + date + year + venue + city + state + sources { + edges { + node { + id + comments + createdAt + } + } + } + } + } + } +} +\`\`\` + + +Fetch a single source +---------------------- + +\`\`\`graphql +query MyQuery { + source(id: 211) { + comments + textdoc + id + archiveIdentifier + performance { + date + year + artist { + name + } + } + } +} +\`\`\` + + `, } ], diff --git a/public/docs/_app/immutable/chunks/ArgsList.Cv5ckF46.js b/public/docs/_app/immutable/chunks/ArgsList.Cv5ckF46.js deleted file mode 100644 index 892b477..0000000 --- a/public/docs/_app/immutable/chunks/ArgsList.Cv5ckF46.js +++ /dev/null @@ -1 +0,0 @@ -import{s as I,q as P,l as k,n as x,d as g,t as E,j as A,o as H,E as ee,v as X,e as q,b as j,f as G,g as J,c as O,k as B,z as y,y as te,m as C,A as R,F as ne,G as le,H as re,r as he,u as ie,a1 as ke,w as ye,x as K,D as ve,a2 as Te,L as Ne,a3 as we}from"./scheduler.Eaj42bxH.js";import{S as M,i as V,t as p,b as d,g as z,e as F,c as v,a as T,m as N,d as w}from"./index.CMSEJhCx.js";import{l as Se,q as oe,r as De,t as Le,v as Ee,u as se,j as ae,w as Ae,x as Pe,_ as Re,y as fe}from"./pages.DBBWeKUc.js";import{T as Y,S as Ce,a as je,b as Oe,c as Ue,C as Be}from"./PreviousNextPage.DyKSPTRc.js";import{L as qe}from"./ChevronDown.BMDCihU_.js";function Ge(i){let e=(i[0]??"-")+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=(t[0]??"-")+"")&&H(l,e)},d(t){t&&g(l)}}}function Ie(i){let e=JSON.stringify(i[0],null,2)+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=JSON.stringify(t[0],null,2)+"")&&H(l,e)},d(t){t&&g(l)}}}function Me(i){let e,l,t;return{c(){e=E('"'),l=E(i[0]),t=E('"')},l(n){e=A(n,'"'),l=A(n,i[0]),t=A(n,'"')},m(n,r){k(n,e,r),k(n,l,r),k(n,t,r)},p(n,r){r&1&&H(l,n[0])},d(n){n&&(g(e),g(l),g(t))}}}function Ve(i){let e;function l(r,o){return typeof r[0]=="string"?Me:typeof r[0]=="object"?Ie:Ge}let t=l(i),n=t(i);return{c(){n.c(),e=P()},l(r){n.l(r),e=P()},m(r,o){n.m(r,o),k(r,e,o)},p(r,[o]){t===(t=l(r))&&n?n.p(r,o):(n.d(1),n=t(r),n&&(n.c(),n.m(e.parentNode,e)))},i:x,o:x,d(r){r&&g(e),n.d(r)}}}function Je(i,e,l){let{value:t}=e;return i.$$set=n=>{"value"in n&&l(0,t=n.value)},[t]}class ze extends M{constructor(e){super(),V(this,e,Je,Ve,I,{value:0})}}const Fe=i=>({}),ue=i=>({});function He(i){let e;return{c(){e=E(i[2])},l(l){e=A(l,i[2])},m(l,t){k(l,e,t)},p(l,t){t&4&&H(e,l[2])},d(l){l&&g(e)}}}function Ke(i){let e,l,t,n,r,o,a;const f=i[10].default,c=ee(f,i,i[9],null),D=i[10].tooltip,_=ee(D,i,i[9],ue),$=_||He(i);let S=[i[8]],L={};for(let s=0;sl(0,f=!1),s=()=>l(0,f=!0);function u(b){K.call(this,i,b)}function m(b){K.call(this,i,b)}function h(b){K.call(this,i,b)}function U(b){K.call(this,i,b)}function Q(b){K.call(this,i,b)}const W=({key:b})=>{b==="Escape"&&L()};function be(b){ve[b?"unshift":"push"](()=>{$=b,l(1,$)})}return i.$$set=b=>{e=X(X({},e),ye(b)),l(8,n=ie(e,t)),"tooltipText"in b&&l(2,a=b.tooltipText),"open"in b&&l(0,f=b.open),"align"in b&&l(3,c=b.align),"direction"in b&&l(4,D=b.direction),"id"in b&&l(5,_=b.id),"ref"in b&&l(1,$=b.ref),"$$scope"in b&&l(9,o=b.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&S(f?"open":"close")},[f,$,a,c,D,_,L,s,n,o,r,u,m,h,U,Q,W,be]}class We extends M{constructor(e){super(),V(this,e,Qe,Ke,I,{tooltipText:2,open:0,align:3,direction:4,id:5,ref:1})}}const Xe=We;function ce(i){let e,l;return e=new Y({props:{type:"red",$$slots:{default:[Ze]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function Ye(i){let e;return{c(){e=E("Deprecated")},l(l){e=A(l,"Deprecated")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function Ze(i){let e,l;return e=new Xe({props:{tooltipText:i[0],$$slots:{default:[Ye]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.tooltipText=t[0]),n&2&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function xe(i){let e,l,t=i[0]&&ce(i);return{c(){t&&t.c(),e=P()},l(n){t&&t.l(n),e=P()},m(n,r){t&&t.m(n,r),k(n,e,r),l=!0},p(n,[r]){n[0]?t?(t.p(n,r),r&1&&p(t,1)):(t=ce(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(z(),d(t,1,1,()=>{t=null}),F())},i(n){l||(p(t),l=!0)},o(n){d(t),l=!1},d(n){n&&g(e),t&&t.d(n)}}}function et(i,e,l){let{reason:t}=e;return i.$$set=n=>{"reason"in n&&l(0,t=n.reason)},[t]}class tt extends M{constructor(e){super(),V(this,e,et,xe,I,{reason:0})}}function pe(i){let e,l;return e=new Y({props:{type:"purple",$$slots:{default:[nt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function nt(i){let e;return{c(){e=E("Non-null")},l(l){e=A(l,"Non-null")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function lt(i){let e=!oe(i[0]),l,t,n=e&&pe(i);return{c(){n&&n.c(),l=P()},l(r){n&&n.l(r),l=P()},m(r,o){n&&n.m(r,o),k(r,l,o),t=!0},p(r,[o]){o&1&&(e=!oe(r[0])),e?n?o&1&&p(n,1):(n=pe(r),n.c(),p(n,1),n.m(l.parentNode,l)):n&&(z(),d(n,1,1,()=>{n=null}),F())},i(r){t||(p(n),t=!0)},o(r){d(n),t=!1},d(r){r&&g(l),n&&n.d(r)}}}function rt(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class it extends M{constructor(e){super(),V(this,e,rt,lt,I,{type:0})}}function ot(i){let e,l;return e=new qe({props:{href:se.joinUrlPaths(ae(),"types",String(i[0].name)),$$slots:{default:[ft]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.href=se.joinUrlPaths(ae(),"types",String(t[0].name))),n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function st(i){let e,l,t;return e=new Z({props:{type:i[0].ofType}}),{c(){v(e.$$.fragment),l=E("!")},l(n){T(e.$$.fragment,n),l=A(n,"!")},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&1&&(o.type=n[0].ofType),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function at(i){let e,l,t,n;return l=new Z({props:{type:i[0].ofType}}),{c(){e=E("["),v(l.$$.fragment),t=E("]")},l(r){e=A(r,"["),T(l.$$.fragment,r),t=A(r,"]")},m(r,o){k(r,e,o),N(l,r,o),k(r,t,o),n=!0},p(r,o){const a={};o&1&&(a.type=r[0].ofType),l.$set(a)},i(r){n||(p(l.$$.fragment,r),n=!0)},o(r){d(l.$$.fragment,r),n=!1},d(r){r&&(g(e),g(t)),w(l,r)}}}function ft(i){let e=i[0].name+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=t[0].name+"")&&H(l,e)},d(t){t&&g(l)}}}function ut(i){let e,l,t,n,r,o,a;const f=[at,st,ot],c=[];function D(_,$){return $&1&&(e=null),$&1&&(l=null),$&1&&(t=null),e==null&&(e=!!De(_[0])),e?0:(l==null&&(l=!!Le(_[0])),l?1:(t==null&&(t=!!Ee(_[0])),t?2:-1))}return~(n=D(i,-1))&&(r=c[n]=f[n](i)),{c(){r&&r.c(),o=P()},l(_){r&&r.l(_),o=P()},m(_,$){~n&&c[n].m(_,$),k(_,o,$),a=!0},p(_,[$]){let S=n;n=D(_,$),n===S?~n&&c[n].p(_,$):(r&&(z(),d(c[S],1,1,()=>{c[S]=null}),F()),~n?(r=c[n],r?r.p(_,$):(r=c[n]=f[n](_),r.c()),p(r,1),r.m(o.parentNode,o)):r=null)},i(_){a||(p(r),a=!0)},o(_){d(r),a=!1},d(_){_&&g(o),~n&&c[n].d(_)}}}function ct(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class Z extends M{constructor(e){super(),V(this,e,ct,ut,I,{type:0})}}function pt(i){let e,l;return e=new Z({props:{type:i[0]}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.type=t[0]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function _t(i){let e,l;return e=new Y({props:{type:"blue",$$slots:{default:[pt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function mt(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class $t extends M{constructor(e){super(),V(this,e,mt,_t,I,{type:0})}}function _e(i,e,l){const t=i.slice();return t[3]=e[l],t}function me(i){let e,l="=",t,n,r,o;return r=new ze({props:{value:i[3].default}}),{c(){e=q("span"),e.textContent=l,t=j(),n=q("span"),v(r.$$.fragment)},l(a){e=G(a,"SPAN",{"data-svelte-h":!0}),we(e)!=="svelte-u057kv"&&(e.textContent=l),t=O(a),n=G(a,"SPAN",{});var f=J(n);T(r.$$.fragment,f),f.forEach(g)},m(a,f){k(a,e,f),k(a,t,f),k(a,n,f),N(r,n,null),o=!0},p(a,f){const c={};f&1&&(c.value=a[3].default),r.$set(c)},i(a){o||(p(r.$$.fragment,a),o=!0)},o(a){d(r.$$.fragment,a),o=!1},d(a){a&&(g(e),g(t),g(n)),w(r)}}}function $e(i){let e,l;return e=new Be({props:{source:i[3].description}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.source=t[3].description),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function dt(i){let e,l,t=i[3].name+"",n,r,o,a,f,c,D,_,$,S,L,s=i[3].default&&me(i);a=new $t({props:{type:i[3].type}}),c=new tt({props:{reason:i[3].deprecationReason}}),_=new it({props:{type:i[3].type}});let u=i[3].description&&$e(i);return{c(){e=q("p"),l=q("span"),n=E(t),r=j(),s&&s.c(),o=j(),v(a.$$.fragment),f=j(),v(c.$$.fragment),D=j(),v(_.$$.fragment),$=j(),u&&u.c(),S=P(),this.h()},l(m){e=G(m,"P",{class:!0});var h=J(e);l=G(h,"SPAN",{style:!0});var U=J(l);n=A(U,t),U.forEach(g),r=O(h),s&&s.l(h),o=O(h),T(a.$$.fragment,h),f=O(h),T(c.$$.fragment,h),D=O(h),T(_.$$.fragment,h),h.forEach(g),$=O(m),u&&u.l(m),S=P(),this.h()},h(){Ne(l,"font-weight","bold"),B(e,"class","arg-name-section svelte-9cf7d2")},m(m,h){k(m,e,h),C(e,l),C(l,n),C(e,r),s&&s.m(e,null),C(e,o),N(a,e,null),C(e,f),N(c,e,null),C(e,D),N(_,e,null),k(m,$,h),u&&u.m(m,h),k(m,S,h),L=!0},p(m,h){(!L||h&1)&&t!==(t=m[3].name+"")&&H(n,t),m[3].default?s?(s.p(m,h),h&1&&p(s,1)):(s=me(m),s.c(),p(s,1),s.m(e,o)):s&&(z(),d(s,1,1,()=>{s=null}),F());const U={};h&1&&(U.type=m[3].type),a.$set(U);const Q={};h&1&&(Q.reason=m[3].deprecationReason),c.$set(Q);const W={};h&1&&(W.type=m[3].type),_.$set(W),m[3].description?u?(u.p(m,h),h&1&&p(u,1)):(u=$e(m),u.c(),p(u,1),u.m(S.parentNode,S)):u&&(z(),d(u,1,1,()=>{u=null}),F())},i(m){L||(p(s),p(a.$$.fragment,m),p(c.$$.fragment,m),p(_.$$.fragment,m),p(u),L=!0)},o(m){d(s),d(a.$$.fragment,m),d(c.$$.fragment,m),d(_.$$.fragment,m),d(u),L=!1},d(m){m&&(g(e),g($),g(S)),s&&s.d(),w(a),w(c),w(_),u&&u.d(m)}}}function gt(i){let e,l,t;return e=new Ue({props:{$$slots:{default:[dt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment),l=j()},l(n){T(e.$$.fragment,n),l=O(n)},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&65&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function de(i){let e,l;return e=new Oe({props:{$$slots:{default:[gt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&65&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function bt(i){let e,l,t=fe(i[0]),n=[];for(let o=0;od(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o({id:e.name,deprecationReason:e.deprecationReason,name:e.name,description:e.description,default:e.defaultValue,type:e.type}))}function yt(i,e,l){let{data:t}=e;const n=Ae(Pe.ARGUMENTS_SORTING,"default");let r;return i.$$set=o=>{"data"in o&&l(1,t=o.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?l(0,r=Re.sortBy(ge(t),o=>o.name)):l(0,r=ge(t)))},[r,t]}class Dt extends M{constructor(e){super(),V(this,e,yt,kt,I,{data:1})}}export{Dt as A,tt as D,it as N,Xe as T,$t as a,Z as b,ze as c}; diff --git a/public/docs/_app/immutable/chunks/ArgsList.E6xJx3iI.js b/public/docs/_app/immutable/chunks/ArgsList.E6xJx3iI.js new file mode 100644 index 0000000..e0407a1 --- /dev/null +++ b/public/docs/_app/immutable/chunks/ArgsList.E6xJx3iI.js @@ -0,0 +1 @@ +import{s as I,q as P,l as k,n as x,d as g,t as E,j as A,o as H,E as ee,v as X,e as q,b as j,f as G,g as J,c as O,k as B,z as y,y as te,m as C,A as R,F as ne,G as le,H as re,r as he,u as ie,a1 as ke,w as ye,x as K,D as ve,a2 as Te,L as Ne,a3 as we}from"./scheduler.BZkyrStM.js";import{S as M,i as V,t as p,b as d,g as z,e as F,c as v,a as T,m as N,d as w}from"./index.BLFDKRva.js";import{l as Se,q as oe,r as De,t as Le,v as Ee,u as se,j as ae,w as Ae,x as Pe,_ as Re,y as fe}from"./pages.DpEZ8Fnk.js";import{T as Y,S as Ce,a as je,b as Oe,c as Ue,C as Be}from"./PreviousNextPage.Cqe1Lb47.js";import{L as qe}from"./ChevronDown.B4bYL18o.js";function Ge(i){let e=(i[0]??"-")+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=(t[0]??"-")+"")&&H(l,e)},d(t){t&&g(l)}}}function Ie(i){let e=JSON.stringify(i[0],null,2)+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=JSON.stringify(t[0],null,2)+"")&&H(l,e)},d(t){t&&g(l)}}}function Me(i){let e,l,t;return{c(){e=E('"'),l=E(i[0]),t=E('"')},l(n){e=A(n,'"'),l=A(n,i[0]),t=A(n,'"')},m(n,r){k(n,e,r),k(n,l,r),k(n,t,r)},p(n,r){r&1&&H(l,n[0])},d(n){n&&(g(e),g(l),g(t))}}}function Ve(i){let e;function l(r,o){return typeof r[0]=="string"?Me:typeof r[0]=="object"?Ie:Ge}let t=l(i),n=t(i);return{c(){n.c(),e=P()},l(r){n.l(r),e=P()},m(r,o){n.m(r,o),k(r,e,o)},p(r,[o]){t===(t=l(r))&&n?n.p(r,o):(n.d(1),n=t(r),n&&(n.c(),n.m(e.parentNode,e)))},i:x,o:x,d(r){r&&g(e),n.d(r)}}}function Je(i,e,l){let{value:t}=e;return i.$$set=n=>{"value"in n&&l(0,t=n.value)},[t]}class ze extends M{constructor(e){super(),V(this,e,Je,Ve,I,{value:0})}}const Fe=i=>({}),ue=i=>({});function He(i){let e;return{c(){e=E(i[2])},l(l){e=A(l,i[2])},m(l,t){k(l,e,t)},p(l,t){t&4&&H(e,l[2])},d(l){l&&g(e)}}}function Ke(i){let e,l,t,n,r,o,a;const f=i[10].default,c=ee(f,i,i[9],null),D=i[10].tooltip,_=ee(D,i,i[9],ue),$=_||He(i);let S=[i[8]],L={};for(let s=0;sl(0,f=!1),s=()=>l(0,f=!0);function u(b){K.call(this,i,b)}function m(b){K.call(this,i,b)}function h(b){K.call(this,i,b)}function U(b){K.call(this,i,b)}function Q(b){K.call(this,i,b)}const W=({key:b})=>{b==="Escape"&&L()};function be(b){ve[b?"unshift":"push"](()=>{$=b,l(1,$)})}return i.$$set=b=>{e=X(X({},e),ye(b)),l(8,n=ie(e,t)),"tooltipText"in b&&l(2,a=b.tooltipText),"open"in b&&l(0,f=b.open),"align"in b&&l(3,c=b.align),"direction"in b&&l(4,D=b.direction),"id"in b&&l(5,_=b.id),"ref"in b&&l(1,$=b.ref),"$$scope"in b&&l(9,o=b.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&S(f?"open":"close")},[f,$,a,c,D,_,L,s,n,o,r,u,m,h,U,Q,W,be]}class We extends M{constructor(e){super(),V(this,e,Qe,Ke,I,{tooltipText:2,open:0,align:3,direction:4,id:5,ref:1})}}function ce(i){let e,l;return e=new Y({props:{type:"red",$$slots:{default:[Ye]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function Xe(i){let e;return{c(){e=E("Deprecated")},l(l){e=A(l,"Deprecated")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function Ye(i){let e,l;return e=new We({props:{tooltipText:i[0],$$slots:{default:[Xe]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.tooltipText=t[0]),n&2&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function Ze(i){let e,l,t=i[0]&&ce(i);return{c(){t&&t.c(),e=P()},l(n){t&&t.l(n),e=P()},m(n,r){t&&t.m(n,r),k(n,e,r),l=!0},p(n,[r]){n[0]?t?(t.p(n,r),r&1&&p(t,1)):(t=ce(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(z(),d(t,1,1,()=>{t=null}),F())},i(n){l||(p(t),l=!0)},o(n){d(t),l=!1},d(n){n&&g(e),t&&t.d(n)}}}function xe(i,e,l){let{reason:t}=e;return i.$$set=n=>{"reason"in n&&l(0,t=n.reason)},[t]}class et extends M{constructor(e){super(),V(this,e,xe,Ze,I,{reason:0})}}function pe(i){let e,l;return e=new Y({props:{type:"purple",$$slots:{default:[tt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function tt(i){let e;return{c(){e=E("Non-null")},l(l){e=A(l,"Non-null")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function nt(i){let e=!oe(i[0]),l,t,n=e&&pe(i);return{c(){n&&n.c(),l=P()},l(r){n&&n.l(r),l=P()},m(r,o){n&&n.m(r,o),k(r,l,o),t=!0},p(r,[o]){o&1&&(e=!oe(r[0])),e?n?o&1&&p(n,1):(n=pe(r),n.c(),p(n,1),n.m(l.parentNode,l)):n&&(z(),d(n,1,1,()=>{n=null}),F())},i(r){t||(p(n),t=!0)},o(r){d(n),t=!1},d(r){r&&g(l),n&&n.d(r)}}}function lt(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class rt extends M{constructor(e){super(),V(this,e,lt,nt,I,{type:0})}}function it(i){let e,l;return e=new qe({props:{href:se.joinUrlPaths(ae(),"types",String(i[0].name)),$$slots:{default:[at]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.href=se.joinUrlPaths(ae(),"types",String(t[0].name))),n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function ot(i){let e,l,t;return e=new Z({props:{type:i[0].ofType}}),{c(){v(e.$$.fragment),l=E("!")},l(n){T(e.$$.fragment,n),l=A(n,"!")},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&1&&(o.type=n[0].ofType),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function st(i){let e,l,t,n;return l=new Z({props:{type:i[0].ofType}}),{c(){e=E("["),v(l.$$.fragment),t=E("]")},l(r){e=A(r,"["),T(l.$$.fragment,r),t=A(r,"]")},m(r,o){k(r,e,o),N(l,r,o),k(r,t,o),n=!0},p(r,o){const a={};o&1&&(a.type=r[0].ofType),l.$set(a)},i(r){n||(p(l.$$.fragment,r),n=!0)},o(r){d(l.$$.fragment,r),n=!1},d(r){r&&(g(e),g(t)),w(l,r)}}}function at(i){let e=i[0].name+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=t[0].name+"")&&H(l,e)},d(t){t&&g(l)}}}function ft(i){let e,l,t,n,r,o,a;const f=[st,ot,it],c=[];function D(_,$){return $&1&&(e=null),$&1&&(l=null),$&1&&(t=null),e==null&&(e=!!De(_[0])),e?0:(l==null&&(l=!!Le(_[0])),l?1:(t==null&&(t=!!Ee(_[0])),t?2:-1))}return~(n=D(i,-1))&&(r=c[n]=f[n](i)),{c(){r&&r.c(),o=P()},l(_){r&&r.l(_),o=P()},m(_,$){~n&&c[n].m(_,$),k(_,o,$),a=!0},p(_,[$]){let S=n;n=D(_,$),n===S?~n&&c[n].p(_,$):(r&&(z(),d(c[S],1,1,()=>{c[S]=null}),F()),~n?(r=c[n],r?r.p(_,$):(r=c[n]=f[n](_),r.c()),p(r,1),r.m(o.parentNode,o)):r=null)},i(_){a||(p(r),a=!0)},o(_){d(r),a=!1},d(_){_&&g(o),~n&&c[n].d(_)}}}function ut(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class Z extends M{constructor(e){super(),V(this,e,ut,ft,I,{type:0})}}function ct(i){let e,l;return e=new Z({props:{type:i[0]}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.type=t[0]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function pt(i){let e,l;return e=new Y({props:{type:"blue",$$slots:{default:[ct]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function _t(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class mt extends M{constructor(e){super(),V(this,e,_t,pt,I,{type:0})}}function _e(i,e,l){const t=i.slice();return t[3]=e[l],t}function me(i){let e,l="=",t,n,r,o;return r=new ze({props:{value:i[3].default}}),{c(){e=q("span"),e.textContent=l,t=j(),n=q("span"),v(r.$$.fragment)},l(a){e=G(a,"SPAN",{"data-svelte-h":!0}),we(e)!=="svelte-u057kv"&&(e.textContent=l),t=O(a),n=G(a,"SPAN",{});var f=J(n);T(r.$$.fragment,f),f.forEach(g)},m(a,f){k(a,e,f),k(a,t,f),k(a,n,f),N(r,n,null),o=!0},p(a,f){const c={};f&1&&(c.value=a[3].default),r.$set(c)},i(a){o||(p(r.$$.fragment,a),o=!0)},o(a){d(r.$$.fragment,a),o=!1},d(a){a&&(g(e),g(t),g(n)),w(r)}}}function $e(i){let e,l;return e=new Be({props:{source:i[3].description}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.source=t[3].description),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function $t(i){let e,l,t=i[3].name+"",n,r,o,a,f,c,D,_,$,S,L,s=i[3].default&&me(i);a=new mt({props:{type:i[3].type}}),c=new et({props:{reason:i[3].deprecationReason}}),_=new rt({props:{type:i[3].type}});let u=i[3].description&&$e(i);return{c(){e=q("p"),l=q("span"),n=E(t),r=j(),s&&s.c(),o=j(),v(a.$$.fragment),f=j(),v(c.$$.fragment),D=j(),v(_.$$.fragment),$=j(),u&&u.c(),S=P(),this.h()},l(m){e=G(m,"P",{class:!0});var h=J(e);l=G(h,"SPAN",{style:!0});var U=J(l);n=A(U,t),U.forEach(g),r=O(h),s&&s.l(h),o=O(h),T(a.$$.fragment,h),f=O(h),T(c.$$.fragment,h),D=O(h),T(_.$$.fragment,h),h.forEach(g),$=O(m),u&&u.l(m),S=P(),this.h()},h(){Ne(l,"font-weight","bold"),B(e,"class","arg-name-section svelte-9cf7d2")},m(m,h){k(m,e,h),C(e,l),C(l,n),C(e,r),s&&s.m(e,null),C(e,o),N(a,e,null),C(e,f),N(c,e,null),C(e,D),N(_,e,null),k(m,$,h),u&&u.m(m,h),k(m,S,h),L=!0},p(m,h){(!L||h&1)&&t!==(t=m[3].name+"")&&H(n,t),m[3].default?s?(s.p(m,h),h&1&&p(s,1)):(s=me(m),s.c(),p(s,1),s.m(e,o)):s&&(z(),d(s,1,1,()=>{s=null}),F());const U={};h&1&&(U.type=m[3].type),a.$set(U);const Q={};h&1&&(Q.reason=m[3].deprecationReason),c.$set(Q);const W={};h&1&&(W.type=m[3].type),_.$set(W),m[3].description?u?(u.p(m,h),h&1&&p(u,1)):(u=$e(m),u.c(),p(u,1),u.m(S.parentNode,S)):u&&(z(),d(u,1,1,()=>{u=null}),F())},i(m){L||(p(s),p(a.$$.fragment,m),p(c.$$.fragment,m),p(_.$$.fragment,m),p(u),L=!0)},o(m){d(s),d(a.$$.fragment,m),d(c.$$.fragment,m),d(_.$$.fragment,m),d(u),L=!1},d(m){m&&(g(e),g($),g(S)),s&&s.d(),w(a),w(c),w(_),u&&u.d(m)}}}function dt(i){let e,l,t;return e=new Ue({props:{$$slots:{default:[$t]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment),l=j()},l(n){T(e.$$.fragment,n),l=O(n)},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&65&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function de(i){let e,l;return e=new Oe({props:{$$slots:{default:[dt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&65&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function gt(i){let e,l,t=fe(i[0]),n=[];for(let o=0;od(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o({id:e.name,deprecationReason:e.deprecationReason,name:e.name,description:e.description,default:e.defaultValue,type:e.type}))}function kt(i,e,l){let{data:t}=e;const n=Ae(Pe.ARGUMENTS_SORTING,"default");let r;return i.$$set=o=>{"data"in o&&l(1,t=o.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?l(0,r=Re.sortBy(ge(t),o=>o.name)):l(0,r=ge(t)))},[r,t]}class St extends M{constructor(e){super(),V(this,e,kt,ht,I,{data:1})}}export{St as A,et as D,rt as N,We as T,mt as a,Z as b,ze as c}; diff --git a/public/docs/_app/immutable/chunks/Button.DCPk-vpN.js b/public/docs/_app/immutable/chunks/Button.DdJ5kdpU.js similarity index 51% rename from public/docs/_app/immutable/chunks/Button.DCPk-vpN.js rename to public/docs/_app/immutable/chunks/Button.DdJ5kdpU.js index dd17693..3063b89 100644 --- a/public/docs/_app/immutable/chunks/Button.DCPk-vpN.js +++ b/public/docs/_app/immutable/chunks/Button.DdJ5kdpU.js @@ -1 +1 @@ -import{s as de,q as j,l as E,n as fe,d as A,u as Y,v as B,w as me,x as h,e as O,f as T,g as F,y as I,z as k,A as p,r as $,t as te,j as le,m as q,B as Me,C as Re,D as ue,E as J,b as Z,c as w,F as K,G as L,H as Q,o as he,I as x}from"./scheduler.Eaj42bxH.js";import{S as ge,i as ke,g as W,b as z,e as X,t as P,c as M,a as ie,m as R,d as U}from"./index.CMSEJhCx.js";import{l as N,m as V}from"./pages.DBBWeKUc.js";function Ue(n){let e,o,i,t=[n[2]],l={};for(let r=0;r{e=B(B({},e),me(b)),o(2,t=Y(e,i)),"href"in b&&o(0,l=b.href),"size"in b&&o(1,r=b.size)},[l,r,t,a,c,s,m,d,v,g,D,y,S,u,_]}class Le extends ge{constructor(e){super(),ke(this,e,Ke,Je,de,{href:0,size:1})}}const Qe=n=>n[0]&1024,We=n=>({style:n[0]&256}),re=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Xe=n=>n[0]&1024,Ye=n=>({style:n[0]&256}),ae=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Ze=n=>({props:n[0]&512}),ce=n=>({props:n[9]});function we(n){let e,o,i,t,l,r,a,c,s=n[8]&&_e(n);const m=n[21].default,d=J(m,n,n[20],null),v=[tn,nn],g=[];function D(u,_){return u[12].icon?0:u[2]?1:-1}~(t=D(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let u=0;u{g[b]=null}),X()),~t?(l=g[t],l?l.p(u,_):(l=g[t]=v[t](u),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=N(y,[_[0]&512&&u[9]]))},i(u){r||(P(d,u),P(l),r=!0)},o(u){z(d,u),z(l),r=!1},d(u){u&&A(e),s&&s.d(),d&&d.d(u),~t&&g[t].d(),n[41](null),a=!1,$(c)}}}function xe(n){let e,o,i,t,l,r,a,c,s=n[8]&&be(n);const m=n[21].default,d=J(m,n,n[20],null),v=[on,ln],g=[];function D(u,_){return u[12].icon?0:u[2]?1:-1}~(t=D(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let u=0;u{g[b]=null}),X()),~t?(l=g[t],l?l.p(u,_):(l=g[t]=v[t](u),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=N(y,[_[0]&512&&u[9]]))},i(u){r||(P(d,u),P(l),r=!0)},o(u){z(d,u),z(l),r=!1},d(u){u&&A(e),s&&s.d(),d&&d.d(u),~t&&g[t].d(),n[40](null),a=!1,$(c)}}}function $e(n){let e;const o=n[21].default,i=J(o,n,n[20],ce);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049088)&&K(i,o,t,t[20],e?Q(o,t[20],l,Ze):L(t[20]),ce)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function en(n){let e,o;const i=[{href:n[7]},{size:n[1]},n[11],{style:n[8]&&"width: 3rem;"}];let t={};for(let l=0;l{U(s,1)}),X()}l?(e=x(l,r(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?N(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&U(e,a)}}}function tn(n){let e;const o=n[21].icon,i=J(o,n,n[20],re);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Qe(l)||!e?L(t[20]):Q(o,t[20],l,We),re)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function be(n){let e,o;return{c(){e=O("span"),o=te(n[3]),this.h()},l(i){e=T(i,"SPAN",{});var t=F(e);o=le(t,n[3]),t.forEach(A),this.h()},h(){k(e,"bx--assistive-text",!0)},m(i,t){E(i,e,t),q(e,o)},p(i,t){t[0]&8&&he(o,i[3])},d(i){i&&A(e)}}}function ln(n){let e,o,i;const t=[{style:n[8]?"margin-left: 0":void 0},n[10]];var l=n[2];function r(a,c){let s={};for(let m=0;m{U(s,1)}),X()}l?(e=x(l,r(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?N(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&U(e,a)}}}function on(n){let e;const o=n[21].icon,i=J(o,n,n[20],ae);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Xe(l)||!e?L(t[20]):Q(o,t[20],l,Ye),ae)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function sn(n){let e,o,i,t;const l=[en,$e,xe,we],r=[];function a(c,s){return c[5]?0:c[4]?1:c[7]&&!c[6]?2:3}return e=a(n),o=r[e]=l[e](n),{c(){o.c(),i=j()},l(c){o.l(c),i=j()},m(c,s){r[e].m(c,s),E(c,i,s),t=!0},p(c,s){let m=e;e=a(c),e===m?r[e].p(c,s):(W(),z(r[m],1,1,()=>{r[m]=null}),X(),o=r[e],o?o.p(c,s):(o=r[e]=l[e](c),o.c()),P(o,1),o.m(i.parentNode,i))},i(c){t||(P(o),t=!0)},o(c){z(o),t=!1},d(c){c&&A(i),r[e].d(c)}}}function fn(n,e,o){let i,t,l;const r=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let a=Y(e,r),{$$slots:c={},$$scope:s}=e;const m=Me(c);let{kind:d="primary"}=e,{size:v="default"}=e,{expressive:g=!1}=e,{isSelected:D=!1}=e,{icon:y=void 0}=e,{iconDescription:S=void 0}=e,{tooltipAlignment:u="center"}=e,{tooltipPosition:_="bottom"}=e,{as:b=!1}=e,{skeleton:oe=!1}=e,{disabled:G=!1}=e,{href:H=void 0}=e,{tabindex:ee="0"}=e,{type:ne="button"}=e,{ref:C=null}=e;const se=Re("ComposedModal");function pe(f){h.call(this,n,f)}function ve(f){h.call(this,n,f)}function ze(f){h.call(this,n,f)}function Pe(f){h.call(this,n,f)}function Ae(f){h.call(this,n,f)}function Se(f){h.call(this,n,f)}function ye(f){h.call(this,n,f)}function Be(f){h.call(this,n,f)}function De(f){h.call(this,n,f)}function Ee(f){h.call(this,n,f)}function Ne(f){h.call(this,n,f)}function Ce(f){h.call(this,n,f)}function je(f){h.call(this,n,f)}function Ie(f){h.call(this,n,f)}function qe(f){h.call(this,n,f)}function Oe(f){h.call(this,n,f)}function Te(f){h.call(this,n,f)}function Fe(f){h.call(this,n,f)}function Ge(f){ue[f?"unshift":"push"](()=>{C=f,o(0,C)})}function He(f){ue[f?"unshift":"push"](()=>{C=f,o(0,C)})}return n.$$set=f=>{e=B(B({},e),me(f)),o(11,a=Y(e,r)),"kind"in f&&o(13,d=f.kind),"size"in f&&o(1,v=f.size),"expressive"in f&&o(14,g=f.expressive),"isSelected"in f&&o(15,D=f.isSelected),"icon"in f&&o(2,y=f.icon),"iconDescription"in f&&o(3,S=f.iconDescription),"tooltipAlignment"in f&&o(16,u=f.tooltipAlignment),"tooltipPosition"in f&&o(17,_=f.tooltipPosition),"as"in f&&o(4,b=f.as),"skeleton"in f&&o(5,oe=f.skeleton),"disabled"in f&&o(6,G=f.disabled),"href"in f&&o(7,H=f.href),"tabindex"in f&&o(18,ee=f.tabindex),"type"in f&&o(19,ne=f.type),"ref"in f&&o(0,C=f.ref),"$$scope"in f&&o(20,s=f.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&1&&se&&C&&se.declareRef(C),n.$$.dirty[0]&4&&o(8,i=(y||m.icon)&&!m.default),n.$$.dirty[0]&8&&o(10,t={"aria-hidden":"true",class:"bx--btn__icon","aria-label":S}),o(9,l={type:H&&!G?void 0:ne,tabindex:ee,disabled:G===!0?!0:void 0,href:H,"aria-pressed":i&&d==="ghost"&&!H?D:void 0,...a,class:["bx--btn",g&&"bx--btn--expressive",(v==="small"&&!g||v==="sm"&&!g||v==="small"&&!g)&&"bx--btn--sm",v==="field"&&!g||v==="md"&&!g&&"bx--btn--md",v==="field"&&"bx--btn--field",v==="small"&&"bx--btn--sm",v==="lg"&&"bx--btn--lg",v==="xl"&&"bx--btn--xl",d&&`bx--btn--${d}`,G&&"bx--btn--disabled",i&&"bx--btn--icon-only",i&&"bx--tooltip__trigger",i&&"bx--tooltip--a11y",i&&_&&`bx--btn--icon-only--${_}`,i&&u&&`bx--tooltip--align-${u}`,i&&D&&d==="ghost"&&"bx--btn--selected",a.class].filter(Boolean).join(" ")})},[C,v,y,S,b,oe,G,H,i,l,t,a,m,d,g,D,u,_,ee,ne,s,c,pe,ve,ze,Pe,Ae,Se,ye,Be,De,Ee,Ne,Ce,je,Ie,qe,Oe,Te,Fe,Ge,He]}class un extends ge{constructor(e){super(),ke(this,e,fn,sn,de,{kind:13,size:1,expressive:14,isSelected:15,icon:2,iconDescription:3,tooltipAlignment:16,tooltipPosition:17,as:4,skeleton:5,disabled:6,href:7,tabindex:18,type:19,ref:0},null,[-1,-1])}}const _n=un;export{_n as B}; +import{s as de,q as j,l as N,n as fe,d as A,u as Y,v as D,w as me,x as h,e as O,f as T,g as F,y as I,z as k,A as p,r as $,t as te,j as le,m as q,B as Me,C as Re,D as re,E as J,b as Z,c as w,F as K,G as L,H as Q,o as he,I as x}from"./scheduler.BZkyrStM.js";import{S as ge,i as ke,g as W,b as z,e as X,t as P,c as M,a as ie,m as R,d as U}from"./index.BLFDKRva.js";import{l as B,m as V}from"./pages.DpEZ8Fnk.js";function Ue(n){let e,o,i,t=[n[2]],l={};for(let u=0;u{e=D(D({},e),me(b)),o(2,t=Y(e,i)),"href"in b&&o(0,l=b.href),"size"in b&&o(1,u=b.size)},[l,u,t,a,c,s,m,d,v,g,E,y,S,r,_]}class Le extends ge{constructor(e){super(),ke(this,e,Ke,Je,de,{href:0,size:1})}}const Qe=n=>n[0]&1024,We=n=>({style:n[0]&256}),ue=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Xe=n=>n[0]&1024,Ye=n=>({style:n[0]&256}),ae=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Ze=n=>({props:n[0]&512}),ce=n=>({props:n[9]});function we(n){let e,o,i,t,l,u,a,c,s=n[8]&&_e(n);const m=n[21].default,d=J(m,n,n[20],null),v=[tn,nn],g=[];function E(r,_){return r[12].icon?0:r[2]?1:-1}~(t=E(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let r=0;r{g[b]=null}),X()),~t?(l=g[t],l?l.p(r,_):(l=g[t]=v[t](r),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=B(y,[_[0]&512&&r[9]]))},i(r){u||(P(d,r),P(l),u=!0)},o(r){z(d,r),z(l),u=!1},d(r){r&&A(e),s&&s.d(),d&&d.d(r),~t&&g[t].d(),n[41](null),a=!1,$(c)}}}function xe(n){let e,o,i,t,l,u,a,c,s=n[8]&&be(n);const m=n[21].default,d=J(m,n,n[20],null),v=[on,ln],g=[];function E(r,_){return r[12].icon?0:r[2]?1:-1}~(t=E(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let r=0;r{g[b]=null}),X()),~t?(l=g[t],l?l.p(r,_):(l=g[t]=v[t](r),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=B(y,[_[0]&512&&r[9]]))},i(r){u||(P(d,r),P(l),u=!0)},o(r){z(d,r),z(l),u=!1},d(r){r&&A(e),s&&s.d(),d&&d.d(r),~t&&g[t].d(),n[40](null),a=!1,$(c)}}}function $e(n){let e;const o=n[21].default,i=J(o,n,n[20],ce);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049088)&&K(i,o,t,t[20],e?Q(o,t[20],l,Ze):L(t[20]),ce)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function en(n){let e,o;const i=[{href:n[7]},{size:n[1]},n[11],{style:n[8]&&"width: 3rem;"}];let t={};for(let l=0;l{U(s,1)}),X()}l?(e=x(l,u(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?B(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&U(e,a)}}}function tn(n){let e;const o=n[21].icon,i=J(o,n,n[20],ue);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Qe(l)||!e?L(t[20]):Q(o,t[20],l,We),ue)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function be(n){let e,o;return{c(){e=O("span"),o=te(n[3]),this.h()},l(i){e=T(i,"SPAN",{});var t=F(e);o=le(t,n[3]),t.forEach(A),this.h()},h(){k(e,"bx--assistive-text",!0)},m(i,t){N(i,e,t),q(e,o)},p(i,t){t[0]&8&&he(o,i[3])},d(i){i&&A(e)}}}function ln(n){let e,o,i;const t=[{style:n[8]?"margin-left: 0":void 0},n[10]];var l=n[2];function u(a,c){let s={};for(let m=0;m{U(s,1)}),X()}l?(e=x(l,u(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?B(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&U(e,a)}}}function on(n){let e;const o=n[21].icon,i=J(o,n,n[20],ae);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Xe(l)||!e?L(t[20]):Q(o,t[20],l,Ye),ae)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function sn(n){let e,o,i,t;const l=[en,$e,xe,we],u=[];function a(c,s){return c[5]?0:c[4]?1:c[7]&&!c[6]?2:3}return e=a(n),o=u[e]=l[e](n),{c(){o.c(),i=j()},l(c){o.l(c),i=j()},m(c,s){u[e].m(c,s),N(c,i,s),t=!0},p(c,s){let m=e;e=a(c),e===m?u[e].p(c,s):(W(),z(u[m],1,1,()=>{u[m]=null}),X(),o=u[e],o?o.p(c,s):(o=u[e]=l[e](c),o.c()),P(o,1),o.m(i.parentNode,i))},i(c){t||(P(o),t=!0)},o(c){z(o),t=!1},d(c){c&&A(i),u[e].d(c)}}}function fn(n,e,o){let i,t,l;const u=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let a=Y(e,u),{$$slots:c={},$$scope:s}=e;const m=Me(c);let{kind:d="primary"}=e,{size:v="default"}=e,{expressive:g=!1}=e,{isSelected:E=!1}=e,{icon:y=void 0}=e,{iconDescription:S=void 0}=e,{tooltipAlignment:r="center"}=e,{tooltipPosition:_="bottom"}=e,{as:b=!1}=e,{skeleton:oe=!1}=e,{disabled:G=!1}=e,{href:H=void 0}=e,{tabindex:ee="0"}=e,{type:ne="button"}=e,{ref:C=null}=e;const se=Re("ComposedModal");function pe(f){h.call(this,n,f)}function ve(f){h.call(this,n,f)}function ze(f){h.call(this,n,f)}function Pe(f){h.call(this,n,f)}function Ae(f){h.call(this,n,f)}function Se(f){h.call(this,n,f)}function ye(f){h.call(this,n,f)}function De(f){h.call(this,n,f)}function Ee(f){h.call(this,n,f)}function Ne(f){h.call(this,n,f)}function Be(f){h.call(this,n,f)}function Ce(f){h.call(this,n,f)}function je(f){h.call(this,n,f)}function Ie(f){h.call(this,n,f)}function qe(f){h.call(this,n,f)}function Oe(f){h.call(this,n,f)}function Te(f){h.call(this,n,f)}function Fe(f){h.call(this,n,f)}function Ge(f){re[f?"unshift":"push"](()=>{C=f,o(0,C)})}function He(f){re[f?"unshift":"push"](()=>{C=f,o(0,C)})}return n.$$set=f=>{e=D(D({},e),me(f)),o(11,a=Y(e,u)),"kind"in f&&o(13,d=f.kind),"size"in f&&o(1,v=f.size),"expressive"in f&&o(14,g=f.expressive),"isSelected"in f&&o(15,E=f.isSelected),"icon"in f&&o(2,y=f.icon),"iconDescription"in f&&o(3,S=f.iconDescription),"tooltipAlignment"in f&&o(16,r=f.tooltipAlignment),"tooltipPosition"in f&&o(17,_=f.tooltipPosition),"as"in f&&o(4,b=f.as),"skeleton"in f&&o(5,oe=f.skeleton),"disabled"in f&&o(6,G=f.disabled),"href"in f&&o(7,H=f.href),"tabindex"in f&&o(18,ee=f.tabindex),"type"in f&&o(19,ne=f.type),"ref"in f&&o(0,C=f.ref),"$$scope"in f&&o(20,s=f.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&1&&se&&C&&se.declareRef(C),n.$$.dirty[0]&4&&o(8,i=(y||m.icon)&&!m.default),n.$$.dirty[0]&8&&o(10,t={"aria-hidden":"true",class:"bx--btn__icon","aria-label":S}),o(9,l={type:H&&!G?void 0:ne,tabindex:ee,disabled:G===!0?!0:void 0,href:H,"aria-pressed":i&&d==="ghost"&&!H?E:void 0,...a,class:["bx--btn",g&&"bx--btn--expressive",(v==="small"&&!g||v==="sm"&&!g||v==="small"&&!g)&&"bx--btn--sm",v==="field"&&!g||v==="md"&&!g&&"bx--btn--md",v==="field"&&"bx--btn--field",v==="small"&&"bx--btn--sm",v==="lg"&&"bx--btn--lg",v==="xl"&&"bx--btn--xl",d&&`bx--btn--${d}`,G&&"bx--btn--disabled",i&&"bx--btn--icon-only",i&&"bx--tooltip__trigger",i&&"bx--tooltip--a11y",i&&_&&`bx--btn--icon-only--${_}`,i&&r&&`bx--tooltip--align-${r}`,i&&E&&d==="ghost"&&"bx--btn--selected",a.class].filter(Boolean).join(" ")})},[C,v,y,S,b,oe,G,H,i,l,t,a,m,d,g,E,r,_,ee,ne,s,c,pe,ve,ze,Pe,Ae,Se,ye,De,Ee,Ne,Be,Ce,je,Ie,qe,Oe,Te,Fe,Ge,He]}class cn extends ge{constructor(e){super(),ke(this,e,fn,sn,de,{kind:13,size:1,expressive:14,isSelected:15,icon:2,iconDescription:3,tooltipAlignment:16,tooltipPosition:17,as:4,skeleton:5,disabled:6,href:7,tabindex:18,type:19,ref:0},null,[-1,-1])}}export{cn as B}; diff --git a/public/docs/_app/immutable/chunks/ChevronDown.BMDCihU_.js b/public/docs/_app/immutable/chunks/ChevronDown.B4bYL18o.js similarity index 73% rename from public/docs/_app/immutable/chunks/ChevronDown.BMDCihU_.js rename to public/docs/_app/immutable/chunks/ChevronDown.B4bYL18o.js index f019bc4..8f2fc7e 100644 --- a/public/docs/_app/immutable/chunks/ChevronDown.BMDCihU_.js +++ b/public/docs/_app/immutable/chunks/ChevronDown.B4bYL18o.js @@ -1,9 +1,9 @@ -import{z as Se,A as Ye,l as oe}from"./pages.DBBWeKUc.js";import{s as _e,v as R,a4 as G,a5 as W,g as D,d as S,k as Me,a6 as ne,l as M,m as Y,n as re,u as U,w as X,t as He,j as Re,o as De,q as Z,B as Ve,x as j,D as xe,E as ce,e as fe,b as Ie,f as de,c as Be,y as ie,z as E,A as q,F as ge,G as he,H as pe,r as je,I as ae}from"./scheduler.Eaj42bxH.js";import{S as ye,i as we,g as J,b as P,e as K,t as T,c as le,a as qe,m as se,d as ue}from"./index.CMSEJhCx.js";typeof window<"u"&&(window.Prism=window.Prism||{},window.Prism.manual=!0);var Oe={exports:{}};(function(l){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +import{z as Se,A as Ye,l as oe}from"./pages.DpEZ8Fnk.js";import{s as _e,v as R,a4 as G,a5 as W,g as I,d as S,k as Me,a6 as ne,l as M,m as Y,n as re,u as U,w as X,t as He,j as Re,o as Ie,q as Z,B as Ve,x as j,D as xe,E as ce,e as fe,b as De,f as de,c as Be,y as ie,z as E,A as q,F as ge,G as he,H as pe,r as je,I as ae}from"./scheduler.BZkyrStM.js";import{S as ye,i as we,g as J,b as P,e as K,t as L,c as le,a as qe,m as se,d as ue}from"./index.BLFDKRva.js";typeof window<"u"&&(window.Prism=window.Prism||{},window.Prism.manual=!0);var Oe={exports:{}};(function(l){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var r=function(a){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,t={},n={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function u(s){return s instanceof i?new i(s.type,u(s.content),s.alias):Array.isArray(s)?s.map(u):s.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(p){var u=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(p.stack)||[])[1];if(u){var s=document.getElementsByTagName("script");for(var g in s)if(s[g].src==u)return s[g]}return null}},isActive:function(u,s,g){for(var p="no-"+s;u;){var v=u.classList;if(v.contains(s))return!0;if(v.contains(p))return!1;u=u.parentElement}return!!g}},languages:{plain:t,plaintext:t,text:t,txt:t,extend:function(u,s){var g=n.util.clone(n.languages[u]);for(var p in s)g[p]=s[p];return g},insertBefore:function(u,s,g,p){p=p||n.languages;var v=p[u],_={};for(var y in v)if(v.hasOwnProperty(y)){if(y==s)for(var f in g)g.hasOwnProperty(f)&&(_[f]=g[f]);g.hasOwnProperty(y)||(_[y]=v[y])}var F=p[u];return p[u]=_,n.languages.DFS(n.languages,function(z,I){I===F&&z!=u&&(this[z]=_)}),_},DFS:function u(s,g,p,v){v=v||{};var _=n.util.objId;for(var y in s)if(s.hasOwnProperty(y)){g.call(s,y,s[y],p||y);var f=s[y],F=n.util.type(f);F==="Object"&&!v[_(f)]?(v[_(f)]=!0,u(f,g,null,v)):F==="Array"&&!v[_(f)]&&(v[_(f)]=!0,u(f,g,y,v))}}},plugins:{},highlightAll:function(u,s){n.highlightAllUnder(document,u,s)},highlightAllUnder:function(u,s,g){var p={callback:g,container:u,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",p),p.elements=Array.prototype.slice.apply(p.container.querySelectorAll(p.selector)),n.hooks.run("before-all-elements-highlight",p);for(var v=0,_;_=p.elements[v++];)n.highlightElement(_,s===!0,p.callback)},highlightElement:function(u,s,g){var p=n.util.getLanguage(u),v=n.languages[p];n.util.setLanguage(u,p);var _=u.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&n.util.setLanguage(_,p);var y=u.textContent,f={element:u,language:p,grammar:v,code:y};function F(I){f.highlightedCode=I,n.hooks.run("before-insert",f),f.element.innerHTML=f.highlightedCode,n.hooks.run("after-highlight",f),n.hooks.run("complete",f),g&&g.call(f.element)}if(n.hooks.run("before-sanity-check",f),_=f.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!f.code){n.hooks.run("complete",f),g&&g.call(f.element);return}if(n.hooks.run("before-highlight",f),!f.grammar){F(n.util.encode(f.code));return}if(s&&a.Worker){var z=new Worker(n.filename);z.onmessage=function(I){F(I.data)},z.postMessage(JSON.stringify({language:f.language,code:f.code,immediateClose:!0}))}else F(n.highlight(f.code,f.grammar,f.language))},highlight:function(u,s,g){var p={code:u,grammar:s,language:g};if(n.hooks.run("before-tokenize",p),!p.grammar)throw new Error('The language "'+p.language+'" has no grammar.');return p.tokens=n.tokenize(p.code,p.grammar),n.hooks.run("after-tokenize",p),i.stringify(n.util.encode(p.tokens),p.language)},tokenize:function(u,s){var g=s.rest;if(g){for(var p in g)s[p]=g[p];delete s.rest}var v=new h;return m(v,v.head,u),b(u,v,s,v.head,0),C(v)},hooks:{all:{},add:function(u,s){var g=n.hooks.all;g[u]=g[u]||[],g[u].push(s)},run:function(u,s){var g=n.hooks.all[u];if(!(!g||!g.length))for(var p=0,v;v=g[p++];)v(s)}},Token:i};a.Prism=n;function i(u,s,g,p){this.type=u,this.content=s,this.alias=g,this.length=(p||"").length|0}i.stringify=function u(s,g){if(typeof s=="string")return s;if(Array.isArray(s)){var p="";return s.forEach(function(F){p+=u(F,g)}),p}var v={type:s.type,content:u(s.content,g),tag:"span",classes:["token",s.type],attributes:{},language:g},_=s.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(v.classes,_):v.classes.push(_)),n.hooks.run("wrap",v);var y="";for(var f in v.attributes)y+=" "+f+'="'+(v.attributes[f]||"").replace(/"/g,""")+'"';return"<"+v.tag+' class="'+v.classes.join(" ")+'"'+y+">"+v.content+""};function d(u,s,g,p){u.lastIndex=s;var v=u.exec(g);if(v&&p&&v[1]){var _=v[1].length;v.index+=_,v[0]=v[0].slice(_)}return v}function b(u,s,g,p,v,_){for(var y in g)if(!(!g.hasOwnProperty(y)||!g[y])){var f=g[y];f=Array.isArray(f)?f:[f];for(var F=0;F=_.reach);H+=L.value.length,L=L.next){var O=L.value;if(s.length>u.length)return;if(!(O instanceof i)){var Q=1,N;if(Ae){if(N=d(Fe,H,u,ke),!N||N.index>=u.length)break;var $=N.index,Ue=N.index+N[0].length,B=H;for(B+=L.value.length;$>=B;)L=L.next,B+=L.value.length;if(B-=L.value.length,H=B,L.value instanceof i)continue;for(var V=L;V!==s.tail&&(B_.reach&&(_.reach=ve);var te=L.prev;me&&(te=m(s,te,me),H+=me.length),w(s,te,Q);var Ze=new i(y,I?n.tokenize(ee,I):ee,Ge,ee);if(L=m(s,te,Ze),Ee&&m(s,L,Ee),Q>1){var be={cause:y+","+F,reach:ve};b(u,s,g,L.prev,H,be),_&&be.reach>_.reach&&(_.reach=be.reach)}}}}}}function h(){var u={value:null,prev:null,next:null},s={value:null,prev:u,next:null};u.next=s,this.head=u,this.tail=s,this.length=0}function m(u,s,g){var p=s.next,v={value:g,prev:s,next:p};return s.next=v,p.prev=v,u.length++,v}function w(u,s,g){for(var p=s.next,v=0;v/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(c,o){var t={};t["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[o]},t.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:t}};n["language-"+o]={pattern:/[\s\S]+/,inside:r.languages[o]};var i={};i[c]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return c}),"i"),lookbehind:!0,greedy:!0,inside:n},r.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(a,c){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[c,"language-"+c],inside:r.languages[c]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(a){var c=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+c.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+c.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+c.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+c.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:c,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var o=a.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var a="Loading…",c=function(A,k){return"✖ Error "+A+" while fetching file: "+k},o="✖ Error: File does not exist or is empty",t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",i="loading",d="loaded",b="failed",h="pre[data-src]:not(["+n+'="'+d+'"]):not(['+n+'="'+i+'"])';function m(A,k,x){var u=new XMLHttpRequest;u.open("GET",A,!0),u.onreadystatechange=function(){u.readyState==4&&(u.status<400&&u.responseText?k(u.responseText):u.status>=400?x(c(u.status,u.statusText)):x(o))},u.send(null)}function w(A){var k=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(A||"");if(k){var x=Number(k[1]),u=k[2],s=k[3];return u?s?[x,Number(s)]:[x,void 0]:[x,x]}}r.hooks.add("before-highlightall",function(A){A.selector+=", "+h}),r.hooks.add("before-sanity-check",function(A){var k=A.element;if(k.matches(h)){A.code="",k.setAttribute(n,i);var x=k.appendChild(document.createElement("CODE"));x.textContent=a;var u=k.getAttribute("data-src"),s=A.language;if(s==="none"){var g=(/\.(\w+)$/.exec(u)||[,"none"])[1];s=t[g]||g}r.util.setLanguage(x,s),r.util.setLanguage(k,s);var p=r.plugins.autoloader;p&&p.loadLanguages(s),m(u,function(v){k.setAttribute(n,d);var _=w(k.getAttribute("data-range"));if(_){var y=v.split(/\r\n?|\n/g),f=_[0],F=_[1]==null?y.length:_[1];f<0&&(f+=y.length),f=Math.max(0,Math.min(f-1,y.length)),F<0&&(F+=y.length),F=Math.max(0,Math.min(F,y.length)),v=y.slice(f,F).join(` -`),k.hasAttribute("data-start")||k.setAttribute("data-start",String(f+1))}x.textContent=v,r.highlightElement(x)},function(v){k.setAttribute(n,b),x.textContent=v})}}),r.plugins.fileHighlight={highlight:function(k){for(var x=(k||document).querySelectorAll(h),u=0,s;s=x[u++];)r.highlightElement(s)}};var C=!1;r.fileHighlight=function(){C||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),C=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Oe);var Xe=Oe.exports;const ht=Ye(Xe);(function(){if(typeof Prism>"u"||typeof document>"u")return;var l="line-numbers",e=/\n(?!$)/g,r=Prism.plugins.lineNumbers={getLine:function(t,n){if(!(t.tagName!=="PRE"||!t.classList.contains(l))){var i=t.querySelector(".line-numbers-rows");if(i){var d=parseInt(t.getAttribute("data-start"),10)||1,b=d+(i.children.length-1);nb&&(n=b);var h=n-d;return i.children[h]}}},resize:function(t){a([t])},assumeViewportIndependence:!0};function a(t){if(t=t.filter(function(i){var d=c(i),b=d["white-space"];return b==="pre-wrap"||b==="pre-line"}),t.length!=0){var n=t.map(function(i){var d=i.querySelector("code"),b=i.querySelector(".line-numbers-rows");if(!(!d||!b)){var h=i.querySelector(".line-numbers-sizer"),m=d.textContent.split(e);h||(h=document.createElement("span"),h.className="line-numbers-sizer",d.appendChild(h)),h.innerHTML="0",h.style.display="block";var w=h.getBoundingClientRect().height;return h.innerHTML="",{element:i,lines:m,lineHeights:[],oneLinerHeight:w,sizer:h}}}).filter(Boolean);n.forEach(function(i){var d=i.sizer,b=i.lines,h=i.lineHeights,m=i.oneLinerHeight;h[b.length-1]=void 0,b.forEach(function(w,C){if(w&&w.length>1){var A=d.appendChild(document.createElement("span"));A.style.display="block",A.textContent=w}else h[C]=m})}),n.forEach(function(i){for(var d=i.sizer,b=i.lineHeights,h=0,m=0;m");h=document.createElement("span"),h.setAttribute("aria-hidden","true"),h.className="line-numbers-rows",h.innerHTML=m,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),t.element.appendChild(h),a([i]),Prism.hooks.run("line-numbers",t)}}}),Prism.hooks.add("line-numbers",function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0})})();(function(){if(typeof Prism>"u"||typeof document>"u")return;var l=[],e={},r=function(){};Prism.plugins.toolbar={};var a=Prism.plugins.toolbar.registerButton=function(t,n){var i;if(typeof n=="function"?i=n:i=function(d){var b;return typeof n.onClick=="function"?(b=document.createElement("button"),b.type="button",b.addEventListener("click",function(){n.onClick.call(this,d)})):typeof n.url=="string"?(b=document.createElement("a"),b.href=n.url):b=document.createElement("span"),n.className&&b.classList.add(n.className),b.textContent=n.text,b},t in e){console.warn('There is a button with the key "'+t+'" registered already.');return}l.push(e[t]=i)};function c(t){for(;t;){var n=t.getAttribute("data-toolbar-order");if(n!=null)return n=n.trim(),n.length?n.split(/\s*,\s*/g):[];t=t.parentElement}}var o=Prism.plugins.toolbar.hook=function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&!n.parentNode.classList.contains("code-toolbar")){var i=document.createElement("div");i.classList.add("code-toolbar"),n.parentNode.insertBefore(i,n),i.appendChild(n);var d=document.createElement("div");d.classList.add("toolbar");var b=l,h=c(t.element);h&&(b=h.map(function(m){return e[m]||r})),b.forEach(function(m){var w=m(t);if(w){var C=document.createElement("div");C.classList.add("toolbar-item"),C.appendChild(w),d.appendChild(C)}}),i.appendChild(d)}};a("label",function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&n.hasAttribute("data-label")){var i,d,b=n.getAttribute("data-label");try{d=document.querySelector("template#"+b)}catch{}return d?i=d.content:(n.hasAttribute("data-url")?(i=document.createElement("a"),i.href=n.getAttribute("data-url")):i=document.createElement("span"),i.textContent=b),i}}),Prism.hooks.add("complete",o)})();(function(){if(typeof Prism>"u"||typeof document>"u")return;if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function l(o,t){o.addEventListener("click",function(){r(t)})}function e(o){var t=document.createElement("textarea");t.value=o.getText(),t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{var n=document.execCommand("copy");setTimeout(function(){n?o.success():o.error()},1)}catch(i){setTimeout(function(){o.error(i)},1)}document.body.removeChild(t)}function r(o){navigator.clipboard?navigator.clipboard.writeText(o.getText()).then(o.success,function(){e(o)}):e(o)}function a(o){window.getSelection().selectAllChildren(o)}function c(o){var t={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},n="data-prismjs-";for(var i in t){for(var d=n+i,b=o;b&&!b.hasAttribute(d);)b=b.parentElement;b&&(t[i]=b.getAttribute(d))}return t}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(o){var t=o.element,n=c(t),i=document.createElement("button");i.className="copy-to-clipboard-button",i.setAttribute("type","button");var d=document.createElement("span");return i.appendChild(d),h("copy"),l(i,{getText:function(){return t.textContent},success:function(){h("copy-success"),b()},error:function(){h("copy-error"),setTimeout(function(){a(t)},1),b()}}),i;function b(){setTimeout(function(){h("copy")},n["copy-timeout"])}function h(m){d.textContent=n[m],i.setAttribute("data-copy-state",m)}})})();function Ce(l){let e,r;return{c(){e=G("title"),r=He(l[1])},l(a){e=W(a,"title",{});var c=D(e);r=Re(c,l[1]),c.forEach(S)},m(a,c){M(a,e,c),Y(e,r)},p(a,c){c&2&&De(r,a[1])},d(a){a&&S(e)}}}function Je(l){let e,r,a=l[1]&&Ce(l),c=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let t=0;t{r(5,e=R(R({},e),X(d))),r(3,t=U(e,o)),"size"in d&&r(0,n=d.size),"title"in d&&r(1,i=d.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,c={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,c,t,a]}class Qe extends ye{constructor(e){super(),we(this,e,Ke,Je,_e,{size:0,title:1})}}const pt=Qe,$e=l=>({}),ze=l=>({}),et=l=>({}),Le=l=>({});function tt(l){let e,r,a,c,o,t;const n=l[10].default,i=ce(n,l,l[9],null);let d=!l[3]&&(l[8].icon||l[4])&&Te(l),b=[{rel:a=l[7].target==="_blank"?"noopener noreferrer":void 0},{href:l[2]},l[7]],h={};for(let m=0;m{d=null}),K()),ie(e,h=oe(b,[(!c||w&128&&a!==(a=m[7].target==="_blank"?"noopener noreferrer":void 0))&&{rel:a},(!c||w&4)&&{href:m[2]},w&128&&m[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",m[5]),E(e,"bx--link--inline",m[3]),E(e,"bx--link--visited",m[6]),E(e,"bx--link--sm",m[1]==="sm"),E(e,"bx--link--lg",m[1]==="lg")},i(m){c||(T(i,m),T(d),c=!0)},o(m){P(i,m),P(d),c=!1},d(m){m&&S(e),i&&i.d(m),d&&d.d(),l[20](null),o=!1,je(t)}}}function nt(l){let e,r,a,c,o;const t=l[10].default,n=ce(t,l,l[9],null);let i=!l[3]&&(l[8].icon||l[4])&&Pe(l),d=[{role:"link"},{"aria-disabled":"true"},l[7]],b={};for(let h=0;h{i=null}),K()),ie(e,b=oe(d,[{role:"link"},{"aria-disabled":"true"},m&128&&h[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",h[5]),E(e,"bx--link--inline",h[3]),E(e,"bx--link--visited",h[6])},i(h){a||(T(n,h),T(i),a=!0)},o(h){P(n,h),P(i),a=!1},d(h){h&&S(e),n&&n.d(h),i&&i.d(),l[19](null),c=!1,je(o)}}}function Te(l){let e,r;const a=l[10].icon,c=ce(a,l,l[9],ze),o=c||rt(l);return{c(){e=fe("div"),o&&o.c(),this.h()},l(t){e=de(t,"DIV",{});var n=D(e);o&&o.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),o&&o.m(e,null),r=!0},p(t,n){c?c.p&&(!r||n&512)&&ge(c,a,t,t[9],r?pe(a,t[9],n,$e):he(t[9]),ze):o&&o.p&&(!r||n&16)&&o.p(t,r?n:-1)},i(t){r||(T(o,t),r=!0)},o(t){P(o,t),r=!1},d(t){t&&S(e),o&&o.d(t)}}}function rt(l){let e,r,a;var c=l[4];function o(t,n){return{}}return c&&(e=ae(c,o())),{c(){e&&le(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&se(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&c!==(c=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{ue(i,1)}),K()}c?(e=ae(c,o()),le(e.$$.fragment),T(e.$$.fragment,1),se(e,r.parentNode,r)):e=null}},i(t){a||(e&&T(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&ue(e,t)}}}function Pe(l){let e,r;const a=l[10].icon,c=ce(a,l,l[9],Le),o=c||it(l);return{c(){e=fe("div"),o&&o.c(),this.h()},l(t){e=de(t,"DIV",{});var n=D(e);o&&o.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),o&&o.m(e,null),r=!0},p(t,n){c?c.p&&(!r||n&512)&&ge(c,a,t,t[9],r?pe(a,t[9],n,et):he(t[9]),Le):o&&o.p&&(!r||n&16)&&o.p(t,r?n:-1)},i(t){r||(T(o,t),r=!0)},o(t){P(o,t),r=!1},d(t){t&&S(e),o&&o.d(t)}}}function it(l){let e,r,a;var c=l[4];function o(t,n){return{}}return c&&(e=ae(c,o())),{c(){e&&le(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&se(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&c!==(c=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{ue(i,1)}),K()}c?(e=ae(c,o()),le(e.$$.fragment),T(e.$$.fragment,1),se(e,r.parentNode,r)):e=null}},i(t){a||(e&&T(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&ue(e,t)}}}function at(l){let e,r,a,c;const o=[nt,tt],t=[];function n(i,d){return i[5]?0:1}return e=n(l),r=t[e]=o[e](l),{c(){r.c(),a=Z()},l(i){r.l(i),a=Z()},m(i,d){t[e].m(i,d),M(i,a,d),c=!0},p(i,[d]){let b=e;e=n(i),e===b?t[e].p(i,d):(J(),P(t[b],1,1,()=>{t[b]=null}),K(),r=t[e],r?r.p(i,d):(r=t[e]=o[e](i),r.c()),T(r,1),r.m(a.parentNode,a))},i(i){c||(T(r),c=!0)},o(i){P(r),c=!1},d(i){i&&S(a),t[e].d(i)}}}function lt(l,e,r){const a=["size","href","inline","icon","disabled","visited","ref"];let c=U(e,a),{$$slots:o={},$$scope:t}=e;const n=Ve(o);let{size:i=void 0}=e,{href:d=void 0}=e,{inline:b=!1}=e,{icon:h=void 0}=e,{disabled:m=!1}=e,{visited:w=!1}=e,{ref:C=null}=e;function A(f){j.call(this,l,f)}function k(f){j.call(this,l,f)}function x(f){j.call(this,l,f)}function u(f){j.call(this,l,f)}function s(f){j.call(this,l,f)}function g(f){j.call(this,l,f)}function p(f){j.call(this,l,f)}function v(f){j.call(this,l,f)}function _(f){xe[f?"unshift":"push"](()=>{C=f,r(0,C)})}function y(f){xe[f?"unshift":"push"](()=>{C=f,r(0,C)})}return l.$$set=f=>{e=R(R({},e),X(f)),r(7,c=U(e,a)),"size"in f&&r(1,i=f.size),"href"in f&&r(2,d=f.href),"inline"in f&&r(3,b=f.inline),"icon"in f&&r(4,h=f.icon),"disabled"in f&&r(5,m=f.disabled),"visited"in f&&r(6,w=f.visited),"ref"in f&&r(0,C=f.ref),"$$scope"in f&&r(9,t=f.$$scope)},[C,i,d,b,h,m,w,c,n,t,o,A,k,x,u,s,g,p,v,_,y]}class st extends ye{constructor(e){super(),we(this,e,lt,at,_e,{size:1,href:2,inline:3,icon:4,disabled:5,visited:6,ref:0})}}const mt=st;function Ne(l){let e,r;return{c(){e=G("title"),r=He(l[1])},l(a){e=W(a,"title",{});var c=D(e);r=Re(c,l[1]),c.forEach(S)},m(a,c){M(a,e,c),Y(e,r)},p(a,c){c&2&&De(r,a[1])},d(a){a&&S(e)}}}function ut(l){let e,r,a=l[1]&&Ne(l),c=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let t=0;t{r(5,e=R(R({},e),X(d))),r(3,t=U(e,o)),"size"in d&&r(0,n=d.size),"title"in d&&r(1,i=d.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,c={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,c,t,a]}class ct extends ye{constructor(e){super(),we(this,e,ot,ut,_e,{size:0,title:1})}}const vt=ct;export{pt as C,mt as L,ht as P,vt as a}; + */var r=function(a){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,t={},n={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function u(s){return s instanceof i?new i(s.type,u(s.content),s.alias):Array.isArray(s)?s.map(u):s.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(p){var u=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(p.stack)||[])[1];if(u){var s=document.getElementsByTagName("script");for(var g in s)if(s[g].src==u)return s[g]}return null}},isActive:function(u,s,g){for(var p="no-"+s;u;){var v=u.classList;if(v.contains(s))return!0;if(v.contains(p))return!1;u=u.parentElement}return!!g}},languages:{plain:t,plaintext:t,text:t,txt:t,extend:function(u,s){var g=n.util.clone(n.languages[u]);for(var p in s)g[p]=s[p];return g},insertBefore:function(u,s,g,p){p=p||n.languages;var v=p[u],_={};for(var y in v)if(v.hasOwnProperty(y)){if(y==s)for(var f in g)g.hasOwnProperty(f)&&(_[f]=g[f]);g.hasOwnProperty(y)||(_[y]=v[y])}var F=p[u];return p[u]=_,n.languages.DFS(n.languages,function(z,D){D===F&&z!=u&&(this[z]=_)}),_},DFS:function u(s,g,p,v){v=v||{};var _=n.util.objId;for(var y in s)if(s.hasOwnProperty(y)){g.call(s,y,s[y],p||y);var f=s[y],F=n.util.type(f);F==="Object"&&!v[_(f)]?(v[_(f)]=!0,u(f,g,null,v)):F==="Array"&&!v[_(f)]&&(v[_(f)]=!0,u(f,g,y,v))}}},plugins:{},highlightAll:function(u,s){n.highlightAllUnder(document,u,s)},highlightAllUnder:function(u,s,g){var p={callback:g,container:u,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",p),p.elements=Array.prototype.slice.apply(p.container.querySelectorAll(p.selector)),n.hooks.run("before-all-elements-highlight",p);for(var v=0,_;_=p.elements[v++];)n.highlightElement(_,s===!0,p.callback)},highlightElement:function(u,s,g){var p=n.util.getLanguage(u),v=n.languages[p];n.util.setLanguage(u,p);var _=u.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&n.util.setLanguage(_,p);var y=u.textContent,f={element:u,language:p,grammar:v,code:y};function F(D){f.highlightedCode=D,n.hooks.run("before-insert",f),f.element.innerHTML=f.highlightedCode,n.hooks.run("after-highlight",f),n.hooks.run("complete",f),g&&g.call(f.element)}if(n.hooks.run("before-sanity-check",f),_=f.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!f.code){n.hooks.run("complete",f),g&&g.call(f.element);return}if(n.hooks.run("before-highlight",f),!f.grammar){F(n.util.encode(f.code));return}if(s&&a.Worker){var z=new Worker(n.filename);z.onmessage=function(D){F(D.data)},z.postMessage(JSON.stringify({language:f.language,code:f.code,immediateClose:!0}))}else F(n.highlight(f.code,f.grammar,f.language))},highlight:function(u,s,g){var p={code:u,grammar:s,language:g};if(n.hooks.run("before-tokenize",p),!p.grammar)throw new Error('The language "'+p.language+'" has no grammar.');return p.tokens=n.tokenize(p.code,p.grammar),n.hooks.run("after-tokenize",p),i.stringify(n.util.encode(p.tokens),p.language)},tokenize:function(u,s){var g=s.rest;if(g){for(var p in g)s[p]=g[p];delete s.rest}var v=new h;return m(v,v.head,u),b(u,v,s,v.head,0),C(v)},hooks:{all:{},add:function(u,s){var g=n.hooks.all;g[u]=g[u]||[],g[u].push(s)},run:function(u,s){var g=n.hooks.all[u];if(!(!g||!g.length))for(var p=0,v;v=g[p++];)v(s)}},Token:i};a.Prism=n;function i(u,s,g,p){this.type=u,this.content=s,this.alias=g,this.length=(p||"").length|0}i.stringify=function u(s,g){if(typeof s=="string")return s;if(Array.isArray(s)){var p="";return s.forEach(function(F){p+=u(F,g)}),p}var v={type:s.type,content:u(s.content,g),tag:"span",classes:["token",s.type],attributes:{},language:g},_=s.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(v.classes,_):v.classes.push(_)),n.hooks.run("wrap",v);var y="";for(var f in v.attributes)y+=" "+f+'="'+(v.attributes[f]||"").replace(/"/g,""")+'"';return"<"+v.tag+' class="'+v.classes.join(" ")+'"'+y+">"+v.content+""};function d(u,s,g,p){u.lastIndex=s;var v=u.exec(g);if(v&&p&&v[1]){var _=v[1].length;v.index+=_,v[0]=v[0].slice(_)}return v}function b(u,s,g,p,v,_){for(var y in g)if(!(!g.hasOwnProperty(y)||!g[y])){var f=g[y];f=Array.isArray(f)?f:[f];for(var F=0;F=_.reach);H+=T.value.length,T=T.next){var O=T.value;if(s.length>u.length)return;if(!(O instanceof i)){var Q=1,N;if(Ae){if(N=d(Fe,H,u,ke),!N||N.index>=u.length)break;var $=N.index,Ue=N.index+N[0].length,B=H;for(B+=T.value.length;$>=B;)T=T.next,B+=T.value.length;if(B-=T.value.length,H=B,T.value instanceof i)continue;for(var V=T;V!==s.tail&&(B_.reach&&(_.reach=ve);var te=T.prev;me&&(te=m(s,te,me),H+=me.length),w(s,te,Q);var Ze=new i(y,D?n.tokenize(ee,D):ee,Ge,ee);if(T=m(s,te,Ze),Ee&&m(s,T,Ee),Q>1){var be={cause:y+","+F,reach:ve};b(u,s,g,T.prev,H,be),_&&be.reach>_.reach&&(_.reach=be.reach)}}}}}}function h(){var u={value:null,prev:null,next:null},s={value:null,prev:u,next:null};u.next=s,this.head=u,this.tail=s,this.length=0}function m(u,s,g){var p=s.next,v={value:g,prev:s,next:p};return s.next=v,p.prev=v,u.length++,v}function w(u,s,g){for(var p=s.next,v=0;v/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(c,o){var t={};t["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[o]},t.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:t}};n["language-"+o]={pattern:/[\s\S]+/,inside:r.languages[o]};var i={};i[c]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return c}),"i"),lookbehind:!0,greedy:!0,inside:n},r.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(a,c){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[c,"language-"+c],inside:r.languages[c]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(a){var c=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+c.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+c.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+c.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+c.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:c,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var o=a.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var a="Loading…",c=function(A,k){return"✖ Error "+A+" while fetching file: "+k},o="✖ Error: File does not exist or is empty",t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",i="loading",d="loaded",b="failed",h="pre[data-src]:not(["+n+'="'+d+'"]):not(['+n+'="'+i+'"])';function m(A,k,x){var u=new XMLHttpRequest;u.open("GET",A,!0),u.onreadystatechange=function(){u.readyState==4&&(u.status<400&&u.responseText?k(u.responseText):u.status>=400?x(c(u.status,u.statusText)):x(o))},u.send(null)}function w(A){var k=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(A||"");if(k){var x=Number(k[1]),u=k[2],s=k[3];return u?s?[x,Number(s)]:[x,void 0]:[x,x]}}r.hooks.add("before-highlightall",function(A){A.selector+=", "+h}),r.hooks.add("before-sanity-check",function(A){var k=A.element;if(k.matches(h)){A.code="",k.setAttribute(n,i);var x=k.appendChild(document.createElement("CODE"));x.textContent=a;var u=k.getAttribute("data-src"),s=A.language;if(s==="none"){var g=(/\.(\w+)$/.exec(u)||[,"none"])[1];s=t[g]||g}r.util.setLanguage(x,s),r.util.setLanguage(k,s);var p=r.plugins.autoloader;p&&p.loadLanguages(s),m(u,function(v){k.setAttribute(n,d);var _=w(k.getAttribute("data-range"));if(_){var y=v.split(/\r\n?|\n/g),f=_[0],F=_[1]==null?y.length:_[1];f<0&&(f+=y.length),f=Math.max(0,Math.min(f-1,y.length)),F<0&&(F+=y.length),F=Math.max(0,Math.min(F,y.length)),v=y.slice(f,F).join(` +`),k.hasAttribute("data-start")||k.setAttribute("data-start",String(f+1))}x.textContent=v,r.highlightElement(x)},function(v){k.setAttribute(n,b),x.textContent=v})}}),r.plugins.fileHighlight={highlight:function(k){for(var x=(k||document).querySelectorAll(h),u=0,s;s=x[u++];)r.highlightElement(s)}};var C=!1;r.fileHighlight=function(){C||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),C=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Oe);var Xe=Oe.exports;const ft=Ye(Xe);(function(){if(typeof Prism>"u"||typeof document>"u")return;var l="line-numbers",e=/\n(?!$)/g,r=Prism.plugins.lineNumbers={getLine:function(t,n){if(!(t.tagName!=="PRE"||!t.classList.contains(l))){var i=t.querySelector(".line-numbers-rows");if(i){var d=parseInt(t.getAttribute("data-start"),10)||1,b=d+(i.children.length-1);nb&&(n=b);var h=n-d;return i.children[h]}}},resize:function(t){a([t])},assumeViewportIndependence:!0};function a(t){if(t=t.filter(function(i){var d=c(i),b=d["white-space"];return b==="pre-wrap"||b==="pre-line"}),t.length!=0){var n=t.map(function(i){var d=i.querySelector("code"),b=i.querySelector(".line-numbers-rows");if(!(!d||!b)){var h=i.querySelector(".line-numbers-sizer"),m=d.textContent.split(e);h||(h=document.createElement("span"),h.className="line-numbers-sizer",d.appendChild(h)),h.innerHTML="0",h.style.display="block";var w=h.getBoundingClientRect().height;return h.innerHTML="",{element:i,lines:m,lineHeights:[],oneLinerHeight:w,sizer:h}}}).filter(Boolean);n.forEach(function(i){var d=i.sizer,b=i.lines,h=i.lineHeights,m=i.oneLinerHeight;h[b.length-1]=void 0,b.forEach(function(w,C){if(w&&w.length>1){var A=d.appendChild(document.createElement("span"));A.style.display="block",A.textContent=w}else h[C]=m})}),n.forEach(function(i){for(var d=i.sizer,b=i.lineHeights,h=0,m=0;m");h=document.createElement("span"),h.setAttribute("aria-hidden","true"),h.className="line-numbers-rows",h.innerHTML=m,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),t.element.appendChild(h),a([i]),Prism.hooks.run("line-numbers",t)}}}),Prism.hooks.add("line-numbers",function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0})})();(function(){if(typeof Prism>"u"||typeof document>"u")return;var l=[],e={},r=function(){};Prism.plugins.toolbar={};var a=Prism.plugins.toolbar.registerButton=function(t,n){var i;if(typeof n=="function"?i=n:i=function(d){var b;return typeof n.onClick=="function"?(b=document.createElement("button"),b.type="button",b.addEventListener("click",function(){n.onClick.call(this,d)})):typeof n.url=="string"?(b=document.createElement("a"),b.href=n.url):b=document.createElement("span"),n.className&&b.classList.add(n.className),b.textContent=n.text,b},t in e){console.warn('There is a button with the key "'+t+'" registered already.');return}l.push(e[t]=i)};function c(t){for(;t;){var n=t.getAttribute("data-toolbar-order");if(n!=null)return n=n.trim(),n.length?n.split(/\s*,\s*/g):[];t=t.parentElement}}var o=Prism.plugins.toolbar.hook=function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&!n.parentNode.classList.contains("code-toolbar")){var i=document.createElement("div");i.classList.add("code-toolbar"),n.parentNode.insertBefore(i,n),i.appendChild(n);var d=document.createElement("div");d.classList.add("toolbar");var b=l,h=c(t.element);h&&(b=h.map(function(m){return e[m]||r})),b.forEach(function(m){var w=m(t);if(w){var C=document.createElement("div");C.classList.add("toolbar-item"),C.appendChild(w),d.appendChild(C)}}),i.appendChild(d)}};a("label",function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&n.hasAttribute("data-label")){var i,d,b=n.getAttribute("data-label");try{d=document.querySelector("template#"+b)}catch{}return d?i=d.content:(n.hasAttribute("data-url")?(i=document.createElement("a"),i.href=n.getAttribute("data-url")):i=document.createElement("span"),i.textContent=b),i}}),Prism.hooks.add("complete",o)})();(function(){if(typeof Prism>"u"||typeof document>"u")return;if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function l(o,t){o.addEventListener("click",function(){r(t)})}function e(o){var t=document.createElement("textarea");t.value=o.getText(),t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{var n=document.execCommand("copy");setTimeout(function(){n?o.success():o.error()},1)}catch(i){setTimeout(function(){o.error(i)},1)}document.body.removeChild(t)}function r(o){navigator.clipboard?navigator.clipboard.writeText(o.getText()).then(o.success,function(){e(o)}):e(o)}function a(o){window.getSelection().selectAllChildren(o)}function c(o){var t={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},n="data-prismjs-";for(var i in t){for(var d=n+i,b=o;b&&!b.hasAttribute(d);)b=b.parentElement;b&&(t[i]=b.getAttribute(d))}return t}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(o){var t=o.element,n=c(t),i=document.createElement("button");i.className="copy-to-clipboard-button",i.setAttribute("type","button");var d=document.createElement("span");return i.appendChild(d),h("copy"),l(i,{getText:function(){return t.textContent},success:function(){h("copy-success"),b()},error:function(){h("copy-error"),setTimeout(function(){a(t)},1),b()}}),i;function b(){setTimeout(function(){h("copy")},n["copy-timeout"])}function h(m){d.textContent=n[m],i.setAttribute("data-copy-state",m)}})})();function Ce(l){let e,r;return{c(){e=G("title"),r=He(l[1])},l(a){e=W(a,"title",{});var c=I(e);r=Re(c,l[1]),c.forEach(S)},m(a,c){M(a,e,c),Y(e,r)},p(a,c){c&2&&Ie(r,a[1])},d(a){a&&S(e)}}}function Je(l){let e,r,a=l[1]&&Ce(l),c=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let t=0;t{r(5,e=R(R({},e),X(d))),r(3,t=U(e,o)),"size"in d&&r(0,n=d.size),"title"in d&&r(1,i=d.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,c={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,c,t,a]}class dt extends ye{constructor(e){super(),we(this,e,Ke,Je,_e,{size:0,title:1})}}const Qe=l=>({}),ze=l=>({}),$e=l=>({}),Te=l=>({});function et(l){let e,r,a,c,o,t;const n=l[10].default,i=ce(n,l,l[9],null);let d=!l[3]&&(l[8].icon||l[4])&&Le(l),b=[{rel:a=l[7].target==="_blank"?"noopener noreferrer":void 0},{href:l[2]},l[7]],h={};for(let m=0;m{d=null}),K()),ie(e,h=oe(b,[(!c||w&128&&a!==(a=m[7].target==="_blank"?"noopener noreferrer":void 0))&&{rel:a},(!c||w&4)&&{href:m[2]},w&128&&m[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",m[5]),E(e,"bx--link--inline",m[3]),E(e,"bx--link--visited",m[6]),E(e,"bx--link--sm",m[1]==="sm"),E(e,"bx--link--lg",m[1]==="lg")},i(m){c||(L(i,m),L(d),c=!0)},o(m){P(i,m),P(d),c=!1},d(m){m&&S(e),i&&i.d(m),d&&d.d(),l[20](null),o=!1,je(t)}}}function tt(l){let e,r,a,c,o;const t=l[10].default,n=ce(t,l,l[9],null);let i=!l[3]&&(l[8].icon||l[4])&&Pe(l),d=[{role:"link"},{"aria-disabled":"true"},l[7]],b={};for(let h=0;h{i=null}),K()),ie(e,b=oe(d,[{role:"link"},{"aria-disabled":"true"},m&128&&h[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",h[5]),E(e,"bx--link--inline",h[3]),E(e,"bx--link--visited",h[6])},i(h){a||(L(n,h),L(i),a=!0)},o(h){P(n,h),P(i),a=!1},d(h){h&&S(e),n&&n.d(h),i&&i.d(),l[19](null),c=!1,je(o)}}}function Le(l){let e,r;const a=l[10].icon,c=ce(a,l,l[9],ze),o=c||nt(l);return{c(){e=fe("div"),o&&o.c(),this.h()},l(t){e=de(t,"DIV",{});var n=I(e);o&&o.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),o&&o.m(e,null),r=!0},p(t,n){c?c.p&&(!r||n&512)&&ge(c,a,t,t[9],r?pe(a,t[9],n,Qe):he(t[9]),ze):o&&o.p&&(!r||n&16)&&o.p(t,r?n:-1)},i(t){r||(L(o,t),r=!0)},o(t){P(o,t),r=!1},d(t){t&&S(e),o&&o.d(t)}}}function nt(l){let e,r,a;var c=l[4];function o(t,n){return{}}return c&&(e=ae(c,o())),{c(){e&&le(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&se(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&c!==(c=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{ue(i,1)}),K()}c?(e=ae(c,o()),le(e.$$.fragment),L(e.$$.fragment,1),se(e,r.parentNode,r)):e=null}},i(t){a||(e&&L(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&ue(e,t)}}}function Pe(l){let e,r;const a=l[10].icon,c=ce(a,l,l[9],Te),o=c||rt(l);return{c(){e=fe("div"),o&&o.c(),this.h()},l(t){e=de(t,"DIV",{});var n=I(e);o&&o.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),o&&o.m(e,null),r=!0},p(t,n){c?c.p&&(!r||n&512)&&ge(c,a,t,t[9],r?pe(a,t[9],n,$e):he(t[9]),Te):o&&o.p&&(!r||n&16)&&o.p(t,r?n:-1)},i(t){r||(L(o,t),r=!0)},o(t){P(o,t),r=!1},d(t){t&&S(e),o&&o.d(t)}}}function rt(l){let e,r,a;var c=l[4];function o(t,n){return{}}return c&&(e=ae(c,o())),{c(){e&&le(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&se(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&c!==(c=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{ue(i,1)}),K()}c?(e=ae(c,o()),le(e.$$.fragment),L(e.$$.fragment,1),se(e,r.parentNode,r)):e=null}},i(t){a||(e&&L(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&ue(e,t)}}}function it(l){let e,r,a,c;const o=[tt,et],t=[];function n(i,d){return i[5]?0:1}return e=n(l),r=t[e]=o[e](l),{c(){r.c(),a=Z()},l(i){r.l(i),a=Z()},m(i,d){t[e].m(i,d),M(i,a,d),c=!0},p(i,[d]){let b=e;e=n(i),e===b?t[e].p(i,d):(J(),P(t[b],1,1,()=>{t[b]=null}),K(),r=t[e],r?r.p(i,d):(r=t[e]=o[e](i),r.c()),L(r,1),r.m(a.parentNode,a))},i(i){c||(L(r),c=!0)},o(i){P(r),c=!1},d(i){i&&S(a),t[e].d(i)}}}function at(l,e,r){const a=["size","href","inline","icon","disabled","visited","ref"];let c=U(e,a),{$$slots:o={},$$scope:t}=e;const n=Ve(o);let{size:i=void 0}=e,{href:d=void 0}=e,{inline:b=!1}=e,{icon:h=void 0}=e,{disabled:m=!1}=e,{visited:w=!1}=e,{ref:C=null}=e;function A(f){j.call(this,l,f)}function k(f){j.call(this,l,f)}function x(f){j.call(this,l,f)}function u(f){j.call(this,l,f)}function s(f){j.call(this,l,f)}function g(f){j.call(this,l,f)}function p(f){j.call(this,l,f)}function v(f){j.call(this,l,f)}function _(f){xe[f?"unshift":"push"](()=>{C=f,r(0,C)})}function y(f){xe[f?"unshift":"push"](()=>{C=f,r(0,C)})}return l.$$set=f=>{e=R(R({},e),X(f)),r(7,c=U(e,a)),"size"in f&&r(1,i=f.size),"href"in f&&r(2,d=f.href),"inline"in f&&r(3,b=f.inline),"icon"in f&&r(4,h=f.icon),"disabled"in f&&r(5,m=f.disabled),"visited"in f&&r(6,w=f.visited),"ref"in f&&r(0,C=f.ref),"$$scope"in f&&r(9,t=f.$$scope)},[C,i,d,b,h,m,w,c,n,t,o,A,k,x,u,s,g,p,v,_,y]}class gt extends ye{constructor(e){super(),we(this,e,at,it,_e,{size:1,href:2,inline:3,icon:4,disabled:5,visited:6,ref:0})}}function Ne(l){let e,r;return{c(){e=G("title"),r=He(l[1])},l(a){e=W(a,"title",{});var c=I(e);r=Re(c,l[1]),c.forEach(S)},m(a,c){M(a,e,c),Y(e,r)},p(a,c){c&2&&Ie(r,a[1])},d(a){a&&S(e)}}}function lt(l){let e,r,a=l[1]&&Ne(l),c=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let t=0;t{r(5,e=R(R({},e),X(d))),r(3,t=U(e,o)),"size"in d&&r(0,n=d.size),"title"in d&&r(1,i=d.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,c={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,c,t,a]}class ht extends ye{constructor(e){super(),we(this,e,st,lt,_e,{size:0,title:1})}}export{dt as C,gt as L,ft as P,ht as a}; diff --git a/public/docs/_app/immutable/chunks/DirectiveTag.DAgCRs3W.js b/public/docs/_app/immutable/chunks/DirectiveTag.C2PfFA6T.js similarity index 87% rename from public/docs/_app/immutable/chunks/DirectiveTag.DAgCRs3W.js rename to public/docs/_app/immutable/chunks/DirectiveTag.C2PfFA6T.js index 8567b39..a7f92dc 100644 --- a/public/docs/_app/immutable/chunks/DirectiveTag.DAgCRs3W.js +++ b/public/docs/_app/immutable/chunks/DirectiveTag.C2PfFA6T.js @@ -1 +1 @@ -import{s as b,q as v,l as p,d as m,e as L,f as O,g as U,k as $,t as g,j as h,o as y}from"./scheduler.Eaj42bxH.js";import{S as E,i as V,t as d,b as _,c as D,a as A,m as S,d as j}from"./index.CMSEJhCx.js";import{s as B,i as I,u as T,j as w,k as q,K as l}from"./pages.DBBWeKUc.js";import{T as x}from"./PreviousNextPage.DyKSPTRc.js";import{T as C}from"./ArgsList.Cv5ckF46.js";function J(s){let n,a;return n=new x({props:{type:"blue",$$slots:{default:[P]},$$scope:{ctx:s}}}),{c(){D(n.$$.fragment)},l(i){A(n.$$.fragment,i)},m(i,e){S(n,i,e),a=!0},p(i,e){const t={};e&67&&(t.$$scope={dirty:e,ctx:i}),n.$set(t)},i(i){a||(d(n.$$.fragment,i),a=!0)},o(i){_(n.$$.fragment,i),a=!1},d(i){j(n,i)}}}function K(s){let n,a=s[0].name.value+"",i;return{c(){n=g("@"),i=g(a)},l(e){n=h(e,"@"),i=h(e,a)},m(e,t){p(e,n,t),p(e,i,t)},p(e,t){t&1&&a!==(a=e[0].name.value+"")&&y(i,a)},d(e){e&&(m(n),m(i))}}}function P(s){let n,a,i,e;return a=new C({props:{tooltipText:s[1],direction:"top",align:"center",$$slots:{default:[K]},$$scope:{ctx:s}}}),{c(){n=L("a"),D(a.$$.fragment),this.h()},l(t){n=O(t,"A",{href:!0,class:!0});var r=U(n);A(a.$$.fragment,r),r.forEach(m),this.h()},h(){$(n,"href",i=T.joinUrlPaths(w(),`/directives/${s[0].name.value}`)),$(n,"class","override-tooltip-width svelte-a6h330")},m(t,r){p(t,n,r),S(a,n,null),e=!0},p(t,r){const u={};r&2&&(u.tooltipText=t[1]),r&65&&(u.$$scope={dirty:r,ctx:t}),a.$set(u),(!e||r&1&&i!==(i=T.joinUrlPaths(w(),`/directives/${t[0].name.value}`)))&&$(n,"href",i)},i(t){e||(d(a.$$.fragment,t),e=!0)},o(t){_(a.$$.fragment,t),e=!1},d(t){t&&m(n),j(a)}}}function R(s){let n=s[2](),a,i,e=n&&J(s);return{c(){e&&e.c(),a=v()},l(t){e&&e.l(t),a=v()},m(t,r){e&&e.m(t,r),p(t,a,r),i=!0},p(t,[r]){n&&e.p(t,r)},i(t){i||(d(e),i=!0)},o(t){_(e),i=!1},d(t){t&&m(a),e&&e.d(t)}}}function F(s,n,a){let{directive:i}=n,e,t;function r(o){switch(o.kind){case l.INT:case l.BOOLEAN:case l.FLOAT:return String(o.value);case l.STRING:case l.ENUM:return`"${o.value}"`;case l.NULL:return"null";case l.LIST:return`[${o.values.map(r).join(", ")}]`;case l.OBJECT:return`{${o.fields.map(c=>`${c.name.value}: ${r(c.value)}`).join(", ")}}`}}function u(){return!!e&&q(e)}function k(o,c){const f=c.find(N=>N.name.value===o.name);return f?r(f.value):JSON.stringify(o.defaultValue)}return s.$$set=o=>{"directive"in o&&a(0,i=o.directive)},s.$$.update=()=>{if(s.$$.dirty&1&&a(3,e=B.getDirective(i.name.value)),s.$$.dirty&9){let o=`@${i.name.value}`;const c=e?I(e):[];c.length>0&&(o+=`(${c.map(f=>`${f.name}: ${k(f,i.arguments||[])}`).join(", ")})`),a(1,t=o.trim())}},[i,t,u,e]}class W extends E{constructor(n){super(),V(this,n,F,R,b,{directive:0})}}export{W as D}; +import{s as b,q as v,l as p,d as m,e as L,f as O,g as U,k as $,t as g,j as h,o as y}from"./scheduler.BZkyrStM.js";import{S as E,i as V,t as d,b as _,c as D,a as A,m as S,d as j}from"./index.BLFDKRva.js";import{s as B,i as I,u as T,j as w,k as q,K as l}from"./pages.DpEZ8Fnk.js";import{T as x}from"./PreviousNextPage.Cqe1Lb47.js";import{T as C}from"./ArgsList.E6xJx3iI.js";function J(s){let n,a;return n=new x({props:{type:"blue",$$slots:{default:[P]},$$scope:{ctx:s}}}),{c(){D(n.$$.fragment)},l(i){A(n.$$.fragment,i)},m(i,e){S(n,i,e),a=!0},p(i,e){const t={};e&67&&(t.$$scope={dirty:e,ctx:i}),n.$set(t)},i(i){a||(d(n.$$.fragment,i),a=!0)},o(i){_(n.$$.fragment,i),a=!1},d(i){j(n,i)}}}function K(s){let n,a=s[0].name.value+"",i;return{c(){n=g("@"),i=g(a)},l(e){n=h(e,"@"),i=h(e,a)},m(e,t){p(e,n,t),p(e,i,t)},p(e,t){t&1&&a!==(a=e[0].name.value+"")&&y(i,a)},d(e){e&&(m(n),m(i))}}}function P(s){let n,a,i,e;return a=new C({props:{tooltipText:s[1],direction:"top",align:"center",$$slots:{default:[K]},$$scope:{ctx:s}}}),{c(){n=L("a"),D(a.$$.fragment),this.h()},l(t){n=O(t,"A",{href:!0,class:!0});var r=U(n);A(a.$$.fragment,r),r.forEach(m),this.h()},h(){$(n,"href",i=T.joinUrlPaths(w(),`/directives/${s[0].name.value}`)),$(n,"class","override-tooltip-width svelte-a6h330")},m(t,r){p(t,n,r),S(a,n,null),e=!0},p(t,r){const u={};r&2&&(u.tooltipText=t[1]),r&65&&(u.$$scope={dirty:r,ctx:t}),a.$set(u),(!e||r&1&&i!==(i=T.joinUrlPaths(w(),`/directives/${t[0].name.value}`)))&&$(n,"href",i)},i(t){e||(d(a.$$.fragment,t),e=!0)},o(t){_(a.$$.fragment,t),e=!1},d(t){t&&m(n),j(a)}}}function R(s){let n=s[2](),a,i,e=n&&J(s);return{c(){e&&e.c(),a=v()},l(t){e&&e.l(t),a=v()},m(t,r){e&&e.m(t,r),p(t,a,r),i=!0},p(t,[r]){n&&e.p(t,r)},i(t){i||(d(e),i=!0)},o(t){_(e),i=!1},d(t){t&&m(a),e&&e.d(t)}}}function F(s,n,a){let{directive:i}=n,e,t;function r(o){switch(o.kind){case l.INT:case l.BOOLEAN:case l.FLOAT:return String(o.value);case l.STRING:case l.ENUM:return`"${o.value}"`;case l.NULL:return"null";case l.LIST:return`[${o.values.map(r).join(", ")}]`;case l.OBJECT:return`{${o.fields.map(c=>`${c.name.value}: ${r(c.value)}`).join(", ")}}`}}function u(){return!!e&&q(e)}function k(o,c){const f=c.find(N=>N.name.value===o.name);return f?r(f.value):JSON.stringify(o.defaultValue)}return s.$$set=o=>{"directive"in o&&a(0,i=o.directive)},s.$$.update=()=>{if(s.$$.dirty&1&&a(3,e=B.getDirective(i.name.value)),s.$$.dirty&9){let o=`@${i.name.value}`;const c=e?I(e):[];c.length>0&&(o+=`(${c.map(f=>`${f.name}: ${k(f,i.arguments||[])}`).join(", ")})`),a(1,t=o.trim())}},[i,t,u,e]}class W extends E{constructor(n){super(),V(this,n,F,R,b,{directive:0})}}export{W as D}; diff --git a/public/docs/_app/immutable/chunks/FieldDetails.45GdpIxF.js b/public/docs/_app/immutable/chunks/FieldDetails.CGqu6sCJ.js similarity index 86% rename from public/docs/_app/immutable/chunks/FieldDetails.45GdpIxF.js rename to public/docs/_app/immutable/chunks/FieldDetails.CGqu6sCJ.js index 6c56765..fb2fd71 100644 --- a/public/docs/_app/immutable/chunks/FieldDetails.45GdpIxF.js +++ b/public/docs/_app/immutable/chunks/FieldDetails.CGqu6sCJ.js @@ -1,4 +1,4 @@ -var Fu=Object.defineProperty;var gu=(e,t,n)=>t in e?Fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ee=(e,t,n)=>(gu(e,typeof t!="symbol"?t+"":t,n),n);import{a8 as Eu,a9 as yu,X as _t,T as vu,s as ye,v as X,a4 as M,a5 as V,g as $,d as E,k as H,a6 as Fe,l as k,m as I,n as A,u as ge,w as Ee,t as ae,j as se,o as Pe,e as Ge,b as G,f as ze,c as z,p as Vr,q as le,L as Cu,D as bu,a7 as _u,a2 as Au}from"./scheduler.Eaj42bxH.js";import{g as $e,b,e as xe,t as v,S as ve,i as Ce,c as T,a as S,m as B,d as O,f as ku}from"./index.CMSEJhCx.js";import{l as Et,_ as re,M as wu,t as bn,r as Ot,J as Ur,q as qr,F as Nu,E as Tu,N as _n,H as Dn,I as Gr,G as zr,O as Su,x as Bu,y as Gn}from"./pages.DBBWeKUc.js";import{w as Ou}from"./index.Cx9QXIn7.js";import{e as Iu,f as $u,g as Xt,h as Zt,T as xu,I as Lu,C as Kr,A as It}from"./PreviousNextPage.DyKSPTRc.js";import"./prism-json.CMKj7kFV.js";import{B as At}from"./Button.DCPk-vpN.js";import{A as Ru,b as Pu}from"./ArgsList.Cv5ckF46.js";import{D as ju}from"./DirectiveTag.DAgCRs3W.js";function $t(e,t){const n=t.token={};function r(i,u,a,s){if(t.token!==n)return;t.resolved=s;let o=t.ctx;a!==void 0&&(o=o.slice(),o[a]=s);const l=i&&(t.current=i)(o);let c=!1;t.block&&(t.blocks?t.blocks.forEach((d,D)=>{D!==u&&d&&($e(),b(d,1,1,()=>{t.blocks[D]===d&&(t.blocks[D]=null)}),xe())}):t.block.d(1),l.c(),v(l,1),l.m(t.mount(),t.anchor),c=!0),t.block=l,t.blocks&&(t.blocks[u]=l),c&&vu()}if(Eu(e)){const i=yu();if(e.then(u=>{_t(i),r(t.then,1,t.value,u),_t(null)},u=>{if(_t(i),r(t.catch,2,t.error,u),_t(null),!t.hasCatch)throw u}),t.current!==t.pending)return r(t.pending,0),!0}else{if(t.current!==t.then)return r(t.then,1,t.value,e),!0;t.resolved=e}}function Yr(e,t,n){const r=t.slice(),{resolved:i}=e;e.current===e.then&&(r[e.value]=i),e.current===e.catch&&(r[e.error]=i),e.block.p(r,n)}function zn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Mu(e){let t,n,r=e[1]&&zn(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Uu extends ve{constructor(t){super(),Ce(this,t,Vu,Mu,ye,{size:0,title:1})}}function Kn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function qu(e){let t,n,r,i=e[1]&&Kn(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class zu extends ve{constructor(t){super(),Ce(this,t,Gu,qu,ye,{size:0,title:1})}}function Yn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ku(e){let t,n,r,i=e[1]&&Yn(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Jn extends ve{constructor(t){super(),Ce(this,t,Yu,Ku,ye,{size:0,title:1})}}function Wn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ju(e){let t,n,r,i,u=e[1]&&Wn(e),a=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],s={};for(let o=0;o{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Hn extends ve{constructor(t){super(),Ce(this,t,Wu,Ju,ye,{size:0,title:1})}}function Qn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Hu(e){let t,n,r=e[1]&&Qn(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Xu extends ve{constructor(t){super(),Ce(this,t,Qu,Hu,ye,{size:0,title:1})}}var Q;(function(e){e.NEVER_NULL="never",e.ALWAYS_NULL="always",e.SOMETIMES_NULL="sometimes"})(Q||(Q={}));class Jr extends Error{constructor(n,r){super(r);ee(this,"type");this.type=n}}var Zu=Object.defineProperty,Wr=(e,t)=>{for(var n in t)Zu(e,n,{get:t[n],enumerable:!0})},Hr={};Wr(Hr,{languages:()=>Ma,options:()=>qa,parsers:()=>ui,printers:()=>ws});var ea=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},en=ea,ta="indent",na="group",ra="if-break",An="line",ia="break-parent",ua=()=>{},aa=ua;function te(e){return{type:ta,contents:e}}function oe(e,t={}){return aa(t.expandedStates),{type:na,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function he(e,t="",n={}){return{type:ra,breakContents:e,flatContents:t,groupId:n.groupId}}var sa={type:ia},oa={type:An,hard:!0},it={type:An},x={type:An,soft:!0},R=[oa,sa];function K(e,t){let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:u}=t,a=n;for(;a>=0&&at in e?Fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ee=(e,t,n)=>(gu(e,typeof t!="symbol"?t+"":t,n),n);import{a8 as Eu,a9 as yu,X as _t,T as vu,s as ye,v as X,a4 as M,a5 as V,g as $,d as E,k as H,a6 as Fe,l as k,m as I,n as A,u as ge,w as Ee,t as ae,j as se,o as Pe,e as Ge,b as G,f as ze,c as z,p as Vr,q as le,L as Cu,D as bu,a7 as _u,a2 as Au}from"./scheduler.BZkyrStM.js";import{g as $e,b,e as xe,t as v,S as ve,i as Ce,c as T,a as S,m as B,d as O,f as ku}from"./index.BLFDKRva.js";import{l as Et,_ as re,M as wu,t as bn,r as Ot,J as Ur,q as qr,F as Nu,E as Tu,N as _n,H as Dn,I as Gr,G as zr,O as Su,x as Bu,y as Gn}from"./pages.DpEZ8Fnk.js";import{w as Ou}from"./index.GTo13Lj_.js";import{e as Iu,f as $u,g as Xt,h as Zt,T as xu,I as Lu,C as Kr,A as It}from"./PreviousNextPage.Cqe1Lb47.js";import"./prism-json.CMKj7kFV.js";import{B as At}from"./Button.DdJ5kdpU.js";import{A as Ru,b as Pu}from"./ArgsList.E6xJx3iI.js";import{D as ju}from"./DirectiveTag.C2PfFA6T.js";function $t(e,t){const n=t.token={};function r(i,u,a,s){if(t.token!==n)return;t.resolved=s;let o=t.ctx;a!==void 0&&(o=o.slice(),o[a]=s);const l=i&&(t.current=i)(o);let c=!1;t.block&&(t.blocks?t.blocks.forEach((d,D)=>{D!==u&&d&&($e(),b(d,1,1,()=>{t.blocks[D]===d&&(t.blocks[D]=null)}),xe())}):t.block.d(1),l.c(),v(l,1),l.m(t.mount(),t.anchor),c=!0),t.block=l,t.blocks&&(t.blocks[u]=l),c&&vu()}if(Eu(e)){const i=yu();if(e.then(u=>{_t(i),r(t.then,1,t.value,u),_t(null)},u=>{if(_t(i),r(t.catch,2,t.error,u),_t(null),!t.hasCatch)throw u}),t.current!==t.pending)return r(t.pending,0),!0}else{if(t.current!==t.then)return r(t.then,1,t.value,e),!0;t.resolved=e}}function Yr(e,t,n){const r=t.slice(),{resolved:i}=e;e.current===e.then&&(r[e.value]=i),e.current===e.catch&&(r[e.error]=i),e.block.p(r,n)}function zn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Mu(e){let t,n,r=e[1]&&zn(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Uu extends ve{constructor(t){super(),Ce(this,t,Vu,Mu,ye,{size:0,title:1})}}function Kn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function qu(e){let t,n,r,i=e[1]&&Kn(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class zu extends ve{constructor(t){super(),Ce(this,t,Gu,qu,ye,{size:0,title:1})}}function Yn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ku(e){let t,n,r,i=e[1]&&Yn(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Jn extends ve{constructor(t){super(),Ce(this,t,Yu,Ku,ye,{size:0,title:1})}}function Wn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ju(e){let t,n,r,i,u=e[1]&&Wn(e),a=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],s={};for(let o=0;o{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Hn extends ve{constructor(t){super(),Ce(this,t,Wu,Ju,ye,{size:0,title:1})}}function Qn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Hu(e){let t,n,r=e[1]&&Qn(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=X(X({},t),Ee(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Ee(t),[s,o,i,a,r]}class Xu extends ve{constructor(t){super(),Ce(this,t,Qu,Hu,ye,{size:0,title:1})}}var Q;(function(e){e.NEVER_NULL="never",e.ALWAYS_NULL="always",e.SOMETIMES_NULL="sometimes"})(Q||(Q={}));class Jr extends Error{constructor(n,r){super(r);ee(this,"type");this.type=n}}var Zu=Object.defineProperty,Wr=(e,t)=>{for(var n in t)Zu(e,n,{get:t[n],enumerable:!0})},Hr={};Wr(Hr,{languages:()=>Ma,options:()=>qa,parsers:()=>ui,printers:()=>ws});var ea=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},en=ea,ta="indent",na="group",ra="if-break",An="line",ia="break-parent",ua=()=>{},aa=ua;function te(e){return{type:ta,contents:e}}function oe(e,t={}){return aa(t.expandedStates),{type:na,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function he(e,t="",n={}){return{type:ra,breakContents:e,flatContents:t,groupId:n.groupId}}var sa={type:ia},oa={type:An,hard:!0},it={type:An},x={type:An,soft:!0},R=[oa,sa];function K(e,t){let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:u}=t,a=n;for(;a>=0&&at in e?Fu(e,t,{enumerable:!0,config `+e}function Oa(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(it):i.push(R),i}var _e=Oa;function Ia(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...K(R,de(e,t,n,"definitions")),R];case"OperationDefinition":{let i=t.originalText[ni(r)]!=="{",u=!!r.name;return[i?r.operation:"",i&&u?[" ",n("name")]:"",i&&!u&&Zr(r.variableDefinitions)?" ":"",Xn(e,n),W(e,n,r),!i&&!u?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),Xn(e,n)," on ",n("typeCondition"),W(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",te([R,K(R,de(e,t,n,"selections"))]),R,"}"];case"Field":return oe([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?oe(["(",te([x,K([he("",", "),x],de(e,t,n,"arguments"))]),x,")"]):"",W(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=en(!1,r.value,'"""','\\"""').split(` `);return i.length===1&&(i[0]=i[0].trim()),i.every(u=>u==="")&&(i.length=0),K(R,['"""',...i,'"""'])}return['"',en(!1,en(!1,r.value,/["\\]/g,"\\$&"),` `,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return oe(["[",te([x,K([he("",", "),x],e.map(n,"values"))]),x,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return oe(["{",i,te([x,K([he("",", "),x],e.map(n,"fields"))]),x,he("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?oe(["(",te([x,K([he("",", "),x],de(e,t,n,"arguments"))]),x,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",W(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,u=[];return i.endsWith("TypeDefinition")?u.push(_e(e,t,n)):u.push("extend "),i.startsWith("ObjectType")?u.push("type"):i.startsWith("InputObjectType")?u.push("input"):u.push("interface"),u.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&u.push(" implements ",...La(e,t,n)),u.push(W(e,n,r)),r.fields.length>0&&u.push([" {",te([R,K(R,de(e,t,n,"fields"))]),R,"}"]),u}case"FieldDefinition":return[_e(e,t,n),n("name"),r.arguments.length>0?oe(["(",te([x,K([he("",", "),x],de(e,t,n,"arguments"))]),x,")"]):"",": ",n("type"),W(e,n,r)];case"DirectiveDefinition":return[_e(e,t,n),"directive ","@",n("name"),r.arguments.length>0?oe(["(",te([x,K([he("",", "),x],de(e,t,n,"arguments"))]),x,")"]):"",r.repeatable?" repeatable":""," on ",...K(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[_e(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),W(e,n,r),r.values.length>0?[" {",te([R,K(R,de(e,t,n,"values"))]),R,"}"]:""];case"EnumValueDefinition":return[_e(e,t,n),n("name"),W(e,n,r)];case"InputValueDefinition":return[_e(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",W(e,n,r)];case"SchemaExtension":return["extend schema",W(e,n,r),...r.operationTypes.length>0?[" {",te([R,K(R,de(e,t,n,"operationTypes"))]),R,"}"]:[]];case"SchemaDefinition":return[_e(e,t,n),"schema",W(e,n,r)," {",r.operationTypes.length>0?te([R,K(R,de(e,t,n,"operationTypes"))]):"",R,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),W(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",W(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return oe([_e(e,t,n),oe([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),W(e,n,r),r.types.length>0?[" =",he(""," "),te([he([it,"| "]),K([it,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[_e(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),W(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Ca(r,"Graphql","kind")}}function W(e,t,n){if(n.directives.length===0)return"";let r=K(it,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?oe([it,r]):[" ",oe(te([x,r]))]}function de(e,t,n,r){return e.map(({isLast:i,node:u})=>{let a=n();return!i&&Ea(t.originalText,ri(u))?[a,R]:a},r)}function $a(e){return e.kind!=="Comment"}function xa(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function La(e,t,n){let{node:r}=e,i=[],{interfaces:u}=r,a=e.map(n,"interfaces");for(let s=0;sr.value.trim()==="prettier-ignore")}var Pa={print:Ia,massageAstNode:ii,hasPrettierIgnore:Ra,insertPragma:Ba,printComment:xa,canAttachComment:$a,getVisitorKeys:Ta},ja=Pa,Ma=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}],Va={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Ua={bracketSpacing:Va.bracketSpacing},qa=Ua,ui={};Wr(ui,{graphql:()=>ks});function Ga(e){return typeof e=="object"&&e!==null}function za(e,t){if(!e)throw new Error(t??"Unexpected invariant triggered.")}var Ka=/\r\n|[\n\r]/g;function fn(e,t){let n=0,r=1;for(let i of e.body.matchAll(Ka)){if(typeof i.index=="number"||za(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ya(e){return ai(e.source,fn(e.source,e.start))}function ai(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,u=e.locationOffset.line-1,a=t.line+u,s=t.line===1?n:0,o=t.column+s,l=`${e.name}:${a}:${o} +`)&&(t.value=t.value.trim())}ii.ignoredProperties=new Set(["loc","comments"]);function Ra(e){var t;let{node:n}=e;return(t=n==null?void 0:n.comments)==null?void 0:t.some(r=>r.value.trim()==="prettier-ignore")}var Pa={print:Ia,massageAstNode:ii,hasPrettierIgnore:Ra,insertPragma:Ba,printComment:xa,canAttachComment:$a,getVisitorKeys:Ta},ja=Pa,Ma=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}],Va={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Ua={bracketSpacing:Va.bracketSpacing},qa=Ua,ui={};Wr(ui,{graphql:()=>ks});function Ga(e){return typeof e=="object"&&e!==null}function za(e,t){throw new Error("Unexpected invariant triggered.")}var Ka=/\r\n|[\n\r]/g;function fn(e,t){let n=0,r=1;for(let i of e.body.matchAll(Ka)){if(typeof i.index=="number"||za(),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ya(e){return ai(e.source,fn(e.source,e.start))}function ai(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,u=e.locationOffset.line-1,a=t.line+u,s=t.line===1?n:0,o=t.column+s,l=`${e.name}:${a}:${o} `,c=r.split(/\r\n|[\n\r]/g),d=c[i];if(d.length>120){let D=Math.floor(o/80),p=o%80,f=[];for(let h=0;h["|",h]),["|","^".padStart(p)],["|",f[D+1]]])}return l+Zn([[`${a-1} |`,c[i-1]],[`${a} |`,d],["|","^".padStart(o)],[`${a+1} |`,c[i+1]]])}function Zn(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` `)}function Ja(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var Wa=class si extends Error{constructor(t,...n){var r,i,u;let{nodes:a,source:s,positions:o,path:l,originalError:c,extensions:d}=Ja(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=c??void 0,this.nodes=er(Array.isArray(a)?a:a?[a]:void 0);let D=er((r=this.nodes)===null||r===void 0?void 0:r.map(f=>f.loc).filter(f=>f!=null));this.source=s??(D==null||(i=D[0])===null||i===void 0?void 0:i.source),this.positions=o??(D==null?void 0:D.map(f=>f.start)),this.locations=o&&s?o.map(f=>fn(s,f)):D==null?void 0:D.map(f=>fn(f.source,f.start));let p=Ga(c==null?void 0:c.extensions)?c==null?void 0:c.extensions:void 0;this.extensions=(u=d??p)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,si):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` @@ -15,7 +15,7 @@ var Fu=Object.defineProperty;var gu=(e,t,n)=>t in e?Fu(e,t,{enumerable:!0,config `+ai(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function er(e){return e===void 0||e.length===0?void 0:e}function q(e,t,n){return new Wa(`Syntax Error: ${n}`,{source:e,positions:[t]})}var pn;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(pn||(pn={}));var C;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(C||(C={}));function Ha(e){return e===9||e===32}function gt(e){return e>=48&&e<=57}function oi(e){return e>=97&&e<=122||e>=65&&e<=90}function li(e){return oi(e)||e===95}function Qa(e){return oi(e)||gt(e)||e===95}function Xa(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;as===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Za(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function jt(e,t){return ci(e.charCodeAt(t))&&Di(e.charCodeAt(t+1))}function ci(e){return e>=55296&&e<=56319}function Di(e){return e>=56320&&e<=57343}function Ye(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return m.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function P(e,t,n,r,i){let u=e.line,a=1+n-e.lineStart;return new ei(t,n,r,u,a,i)}function ns(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function os(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw q(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function ls(e,t){let n=e.source.body,r=n.length,i=e.lineStart,u=t+3,a=u,s="",o=[];for(;u2?"["+hs(e)+"]":"{ "+n.map(([r,i])=>r+": "+Mt(i,t)).join(", ")+" }"}function ds(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let u=0;u1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function hs(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var ms=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e=="object"&&e!==null){var n;let r=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(r===i){let u=fi(e);throw new Error(`Cannot use ${r} "${u}" from another module or realm. +`));return e.line+=o.length-1,e.lineStart=i,c}if(l===92&&n.charCodeAt(u+1)===34&&n.charCodeAt(u+2)===34&&n.charCodeAt(u+3)===34){s+=n.slice(a,u),a=u+1,u+=4;continue}if(l===10||l===13){s+=n.slice(a,u),o.push(s),l===13&&n.charCodeAt(u+1)===10?u+=2:++u,s="",a=u,i=u;continue}if(st(l))++u;else if(jt(n,u))u+=2;else throw q(e.source,u,`Invalid character within String: ${Ye(e,u)}.`)}throw q(e.source,u,"Unterminated string.")}function cs(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i2?"["+hs(e)+"]":"{ "+n.map(([r,i])=>r+": "+Mt(i,t)).join(", ")+" }"}function ds(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let u=0;u1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function hs(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var ms=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e=="object"&&e!==null){var n;let r=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(r===i){let u=fi(e);throw new Error(`Cannot use ${r} "${u}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other @@ -26,10 +26,10 @@ https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and -spurious results.`)}}return!1},pi=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||nn(!1,`Body must be a string. Received: ${fi(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||nn(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||nn(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Fs(e){return ms(e,pi)}function gs(e,t){return new Es(e,t).parseDocument()}var Es=class{constructor(t,n={}){let r=Fs(t)?t:new pi(t);this._lexer=new es(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(m.NAME);return this.node(t,{kind:C.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:C.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF)})}parseDefinition(){if(this.peek(m.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===m.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw q(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(m.BRACE_L))return this.node(t,{kind:C.OPERATION_DEFINITION,operation:Xe.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(m.NAME)&&(r=this.parseName()),this.node(t,{kind:C.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(m.NAME);switch(t.value){case"query":return Xe.QUERY;case"mutation":return Xe.MUTATION;case"subscription":return Xe.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:C.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(m.DOLLAR),this.node(t,{kind:C.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:C.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R)})}parseSelection(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(m.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:C.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,n,m.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:C.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(m.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(m.NAME)?this.node(t,{kind:C.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:C.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case m.BRACKET_L:return this.parseList(t);case m.BRACE_L:return this.parseObject(t);case m.INT:return this.advanceLexer(),this.node(n,{kind:C.INT,value:n.value});case m.FLOAT:return this.advanceLexer(),this.node(n,{kind:C.FLOAT,value:n.value});case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:C.BOOLEAN,value:!0});case"false":return this.node(n,{kind:C.BOOLEAN,value:!1});case"null":return this.node(n,{kind:C.NULL});default:return this.node(n,{kind:C.ENUM,value:n.value})}case m.DOLLAR:if(t)if(this.expectToken(m.DOLLAR),this._lexer.token.kind===m.NAME){let r=this._lexer.token.value;throw q(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:C.STRING,value:t.value,block:t.kind===m.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:C.LIST,values:this.any(m.BRACKET_L,n,m.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:C.OBJECT,fields:this.any(m.BRACE_L,n,m.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:C.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(m.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(m.AT),this.node(n,{kind:C.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(m.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(m.BRACKET_R),n=this.node(t,{kind:C.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(m.BANG)?this.node(t,{kind:C.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:C.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return this.node(t,{kind:C.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(m.COLON);let r=this.parseNamedType();return this.node(t,{kind:C.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:C.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:C.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(m.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(m.COLON);let u=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:C.FIELD_DEFINITION,description:n,name:r,arguments:i,type:u,directives:a})}parseArgumentDefs(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(m.COLON);let i=this.parseTypeReference(),u;this.expectOptionalToken(m.EQUALS)&&(u=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:C.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:u,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:C.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(t,{kind:C.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(m.EQUALS)?this.delimitedMany(m.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(t,{kind:C.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:u})}parseEnumValuesDefinition(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:C.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw q(this._lexer.source,this._lexer.token.start,`${kt(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(t,{kind:C.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===m.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:C.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:C.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:C.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:C.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:C.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:C.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:C.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(m.AT);let r=this.parseName(),i=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:C.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:u,locations:a})}parseDirectiveLocations(){return this.delimitedMany(m.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(pn,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new wa(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw q(this._lexer.source,n.start,`Expected ${di(t)}, found ${kt(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===m.NAME&&n.value===t)this.advanceLexer();else throw q(this._lexer.source,n.start,`Expected "${t}", found ${kt(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===m.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return q(this._lexer.source,n.start,`Unexpected ${kt(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==m.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw q(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function kt(e){let t=e.value;return di(e.kind)+(t!=null?` "${t}"`:"")}function di(e){return ts(e)?`"${e}"`:e}function ys(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var vs=ys;function Cs(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var bs={allowLegacyFragmentVariables:!0};function _s(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return vs(t,{loc:{start:n},cause:e})}return e}function As(e){let t;try{t=gs(e,bs)}catch(n){throw _s(n)}return t.comments=Cs(t),t}var ks={parse:As,astFormat:"graphql",hasPragma:Sa,locStart:ni,locEnd:ri},ws={graphql:ja},Ns=Hr,Ts=Object.create,Vt=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,Bs=Object.getOwnPropertyNames,Os=Object.getPrototypeOf,Is=Object.prototype.hasOwnProperty,$s=(e,t)=>()=>(e&&(t=e(e=0)),t),Ut=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qt=(e,t)=>{for(var n in t)Vt(e,n,{get:t[n],enumerable:!0})},hi=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bs(t))!Is.call(e,i)&&i!==n&&Vt(e,i,{get:()=>t[i],enumerable:!(r=Ss(t,i))||r.enumerable});return e},yt=(e,t,n)=>(n=e!=null?Ts(Os(e)):{},hi(t||!e||!e.__esModule?Vt(n,"default",{value:e,enumerable:!0}):n,e)),xs=e=>hi(Vt({},"__esModule",{value:!0}),e),Ls=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},nr=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ct=(e,t,n)=>(Ls(e,t,"access private method"),n),Rs=Ut(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}t.prototype={diff:function(i,u){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=a.callback;typeof a=="function"&&(s=a,a={}),this.options=a;var o=this;function l(y){return s?(setTimeout(function(){s(void 0,y)},0),!0):y}i=this.castInput(i),u=this.castInput(u),i=this.removeEmpty(this.tokenize(i)),u=this.removeEmpty(this.tokenize(u));var c=u.length,d=i.length,D=1,p=c+d;a.maxEditLength&&(p=Math.min(p,a.maxEditLength));var f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],u,i,0);if(f[0].newPos+1>=c&&h+1>=d)return l([{value:this.join(u),count:u.length}]);function F(){for(var y=-1*D;y<=D;y+=2){var _=void 0,w=f[y-1],N=f[y+1],L=(N?N.newPos:0)-y;w&&(f[y-1]=void 0);var j=w&&w.newPos+1=c&&L+1>=d)return l(n(o,_.components,u,i,o.useLongestToken));f[y]=_}D++}if(s)(function y(){setTimeout(function(){if(D>p)return s();F()||y()},0)})();else for(;D<=p;){var g=F();if(g)return g}},pushComponent:function(i,u,a){var s=i[i.length-1];s&&s.added===u&&s.removed===a?i[i.length-1]={count:s.count+1,added:u,removed:a}:i.push({count:1,added:u,removed:a})},extractCommon:function(i,u,a,s){for(var o=u.length,l=a.length,c=i.newPos,d=c-s,D=0;c+1g.length?_:g}),p.value=i.join(h)}else p.value=i.join(a.slice(d,d+p.count));d+=p.count,p.added||(D+=p.count)}}var F=u[c-1];return c>1&&typeof F.value=="string"&&(F.added||F.removed)&&i.equals("",F.value)&&(u[c-2].value+=F.value,u.pop()),u}function r(i){return{newPos:i.newPos,components:i.components.slice(0)}}}),Ps=Ut(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=i,e.arrayDiff=void 0;var t=n(Rs());function n(u){return u&&u.__esModule?u:{default:u}}var r=new t.default;e.arrayDiff=r,r.tokenize=function(u){return u.slice()},r.join=r.removeEmpty=function(u){return u};function i(u,a,s){return r.diff(u,a,s)}}),Gt=Ut((e,t)=>{var n=new Proxy(String,{get:()=>n});t.exports=n}),mi={};qt(mi,{default:()=>gi,shouldHighlight:()=>Fi});var Fi,gi,js=$s(()=>{Fi=()=>!1,gi=String}),Ms=Ut(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=d,e.default=D;var t=(js(),xs(mi)),n=i(Gt(),!0);function r(p){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(r=function(F){return F?h:f})(p)}function i(p,f){if(!f&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var h=r(f);if(h&&h.has(p))return h.get(p);var F={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in p)if(y!=="default"&&Object.prototype.hasOwnProperty.call(p,y)){var _=g?Object.getOwnPropertyDescriptor(p,y):null;_&&(_.get||_.set)?Object.defineProperty(F,y,_):F[y]=p[y]}return F.default=p,h&&h.set(p,F),F}var u;function a(p){return p?(u!=null||(u=new n.default.constructor({enabled:!0,level:1})),u):n.default}var s=!1;function o(p){return{gutter:p.grey,marker:p.red.bold,message:p.red.bold}}var l=/\r\n|[\n\r\u2028\u2029]/;function c(p,f,h){let F=Object.assign({column:0,line:-1},p.start),g=Object.assign({},F,p.end),{linesAbove:y=2,linesBelow:_=3}=h||{},w=F.line,N=F.column,L=g.line,j=g.column,Z=Math.max(w-(y+1),0),Me=Math.min(f.length,L+_);w===-1&&(Z=0),L===-1&&(Me=f.length);let Oe=L-w,J={};if(Oe)for(let fe=0;fe<=Oe;fe++){let pe=fe+w;if(!N)J[pe]=!0;else if(fe===0){let Ve=f[pe-1].length;J[pe]=[N,Ve-N+1]}else if(fe===Oe)J[pe]=[0,j];else{let Ve=f[pe-fe].length;J[pe]=[0,Ve]}}else N===j?N?J[w]=[N,0]:J[w]=!0:J[w]=[N,j-N];return{start:Z,end:Me,markerLines:J}}function d(p,f,h={}){let F=(h.highlightCode||h.forceColor)&&(0,t.shouldHighlight)(h),g=a(h.forceColor),y=o(g),_=(J,fe)=>F?J(fe):fe,w=p.split(l),{start:N,end:L,markerLines:j}=c(f,w,h),Z=f.start&&typeof f.start.column=="number",Me=String(L).length,Oe=(F?(0,t.default)(p,h):p).split(l,L).slice(N,L).map((J,fe)=>{let pe=N+1+fe,Ve=` ${` ${pe}`.slice(-Me)} |`,bt=j[pe],du=!j[pe+1];if(bt){let Qt="";if(Array.isArray(bt)){let hu=J.slice(0,Math.max(bt[0]-1,0)).replace(/[^\t]/g," "),mu=bt[1]||1;Qt=[` +spurious results.`)}}return!1},pi=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||nn(!1,`Body must be a string. Received: ${fi(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||nn(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||nn(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Fs(e){return ms(e,pi)}function gs(e,t){return new Es(e,t).parseDocument()}var Es=class{constructor(t,n={}){let r=Fs(t)?t:new pi(t);this._lexer=new es(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(m.NAME);return this.node(t,{kind:C.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:C.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF)})}parseDefinition(){if(this.peek(m.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===m.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw q(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(m.BRACE_L))return this.node(t,{kind:C.OPERATION_DEFINITION,operation:Xe.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(m.NAME)&&(r=this.parseName()),this.node(t,{kind:C.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(m.NAME);switch(t.value){case"query":return Xe.QUERY;case"mutation":return Xe.MUTATION;case"subscription":return Xe.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:C.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(m.DOLLAR),this.node(t,{kind:C.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:C.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R)})}parseSelection(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(m.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:C.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,n,m.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:C.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(m.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(m.NAME)?this.node(t,{kind:C.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:C.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case m.BRACKET_L:return this.parseList(t);case m.BRACE_L:return this.parseObject(t);case m.INT:return this.advanceLexer(),this.node(n,{kind:C.INT,value:n.value});case m.FLOAT:return this.advanceLexer(),this.node(n,{kind:C.FLOAT,value:n.value});case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:C.BOOLEAN,value:!0});case"false":return this.node(n,{kind:C.BOOLEAN,value:!1});case"null":return this.node(n,{kind:C.NULL});default:return this.node(n,{kind:C.ENUM,value:n.value})}case m.DOLLAR:if(t)if(this.expectToken(m.DOLLAR),this._lexer.token.kind===m.NAME){let r=this._lexer.token.value;throw q(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:C.STRING,value:t.value,block:t.kind===m.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:C.LIST,values:this.any(m.BRACKET_L,n,m.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:C.OBJECT,fields:this.any(m.BRACE_L,n,m.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:C.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(m.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(m.AT),this.node(n,{kind:C.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(m.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(m.BRACKET_R),n=this.node(t,{kind:C.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(m.BANG)?this.node(t,{kind:C.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:C.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return this.node(t,{kind:C.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(m.COLON);let r=this.parseNamedType();return this.node(t,{kind:C.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:C.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:C.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(m.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(m.COLON);let u=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:C.FIELD_DEFINITION,description:n,name:r,arguments:i,type:u,directives:a})}parseArgumentDefs(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(m.COLON);let i=this.parseTypeReference(),u;this.expectOptionalToken(m.EQUALS)&&(u=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:C.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:u,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:C.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(t,{kind:C.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(m.EQUALS)?this.delimitedMany(m.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(t,{kind:C.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:u})}parseEnumValuesDefinition(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:C.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw q(this._lexer.source,this._lexer.token.start,`${kt(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(t,{kind:C.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===m.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:C.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:C.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:C.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:C.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:C.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:C.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:C.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(m.AT);let r=this.parseName(),i=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:C.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:u,locations:a})}parseDirectiveLocations(){return this.delimitedMany(m.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(pn,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new wa(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw q(this._lexer.source,n.start,`Expected ${di(t)}, found ${kt(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===m.NAME&&n.value===t)this.advanceLexer();else throw q(this._lexer.source,n.start,`Expected "${t}", found ${kt(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===m.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return q(this._lexer.source,n.start,`Unexpected ${kt(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==m.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw q(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function kt(e){let t=e.value;return di(e.kind)+(t!=null?` "${t}"`:"")}function di(e){return ts(e)?`"${e}"`:e}function ys(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var vs=ys;function Cs(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var bs={allowLegacyFragmentVariables:!0};function _s(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return vs(t,{loc:{start:n},cause:e})}return e}function As(e){let t;try{t=gs(e,bs)}catch(n){throw _s(n)}return t.comments=Cs(t),t}var ks={parse:As,astFormat:"graphql",hasPragma:Sa,locStart:ni,locEnd:ri},ws={graphql:ja},Ns=Hr,Ts=Object.create,Vt=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,Bs=Object.getOwnPropertyNames,Os=Object.getPrototypeOf,Is=Object.prototype.hasOwnProperty,$s=(e,t)=>()=>(e&&(t=e(e=0)),t),Ut=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qt=(e,t)=>{for(var n in t)Vt(e,n,{get:t[n],enumerable:!0})},hi=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bs(t))!Is.call(e,i)&&i!==n&&Vt(e,i,{get:()=>t[i],enumerable:!(r=Ss(t,i))||r.enumerable});return e},yt=(e,t,n)=>(n=e!=null?Ts(Os(e)):{},hi(Vt(n,"default",{value:e,enumerable:!0}),e)),xs=e=>hi(Vt({},"__esModule",{value:!0}),e),Ls=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},nr=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ct=(e,t,n)=>(Ls(e,t,"access private method"),n),Rs=Ut(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}t.prototype={diff:function(i,u){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=a.callback;typeof a=="function"&&(s=a,a={}),this.options=a;var o=this;function l(y){return s?(setTimeout(function(){s(void 0,y)},0),!0):y}i=this.castInput(i),u=this.castInput(u),i=this.removeEmpty(this.tokenize(i)),u=this.removeEmpty(this.tokenize(u));var c=u.length,d=i.length,D=1,p=c+d;a.maxEditLength&&(p=Math.min(p,a.maxEditLength));var f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],u,i,0);if(f[0].newPos+1>=c&&h+1>=d)return l([{value:this.join(u),count:u.length}]);function F(){for(var y=-1*D;y<=D;y+=2){var _=void 0,w=f[y-1],N=f[y+1],L=(N?N.newPos:0)-y;w&&(f[y-1]=void 0);var j=w&&w.newPos+1=c&&L+1>=d)return l(n(o,_.components,u,i,o.useLongestToken));f[y]=_}D++}if(s)(function y(){setTimeout(function(){if(D>p)return s();F()||y()},0)})();else for(;D<=p;){var g=F();if(g)return g}},pushComponent:function(i,u,a){var s=i[i.length-1];s&&s.added===u&&s.removed===a?i[i.length-1]={count:s.count+1,added:u,removed:a}:i.push({count:1,added:u,removed:a})},extractCommon:function(i,u,a,s){for(var o=u.length,l=a.length,c=i.newPos,d=c-s,D=0;c+1g.length?_:g}),p.value=i.join(h)}else p.value=i.join(a.slice(d,d+p.count));d+=p.count,p.added||(D+=p.count)}}var F=u[c-1];return c>1&&typeof F.value=="string"&&(F.added||F.removed)&&i.equals("",F.value)&&(u[c-2].value+=F.value,u.pop()),u}function r(i){return{newPos:i.newPos,components:i.components.slice(0)}}}),Ps=Ut(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=i,e.arrayDiff=void 0;var t=n(Rs());function n(u){return u&&u.__esModule?u:{default:u}}var r=new t.default;e.arrayDiff=r,r.tokenize=function(u){return u.slice()},r.join=r.removeEmpty=function(u){return u};function i(u,a,s){return r.diff(u,a,s)}}),Gt=Ut((e,t)=>{var n=new Proxy(String,{get:()=>n});t.exports=n}),mi={};qt(mi,{default:()=>gi,shouldHighlight:()=>Fi});var Fi,gi,js=$s(()=>{Fi=()=>!1,gi=String}),Ms=Ut(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=d,e.default=D;var t=(js(),xs(mi)),n=i(Gt(),!0);function r(p){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(r=function(F){return F?h:f})(p)}function i(p,f){if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var h=r(f);if(h&&h.has(p))return h.get(p);var F={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in p)if(y!=="default"&&Object.prototype.hasOwnProperty.call(p,y)){var _=g?Object.getOwnPropertyDescriptor(p,y):null;_&&(_.get||_.set)?Object.defineProperty(F,y,_):F[y]=p[y]}return F.default=p,h&&h.set(p,F),F}var u;function a(p){return p?(u!=null||(u=new n.default.constructor({enabled:!0,level:1})),u):n.default}var s=!1;function o(p){return{gutter:p.grey,marker:p.red.bold,message:p.red.bold}}var l=/\r\n|[\n\r\u2028\u2029]/;function c(p,f,h){let F=Object.assign({column:0,line:-1},p.start),g=Object.assign({},F,p.end),{linesAbove:y=2,linesBelow:_=3}=h||{},w=F.line,N=F.column,L=g.line,j=g.column,Z=Math.max(w-(y+1),0),Me=Math.min(f.length,L+_);w===-1&&(Z=0),L===-1&&(Me=f.length);let Oe=L-w,J={};if(Oe)for(let fe=0;fe<=Oe;fe++){let pe=fe+w;if(!N)J[pe]=!0;else if(fe===0){let Ve=f[pe-1].length;J[pe]=[N,Ve-N+1]}else if(fe===Oe)J[pe]=[0,j];else{let Ve=f[pe-fe].length;J[pe]=[0,Ve]}}else N===j?N?J[w]=[N,0]:J[w]=!0:J[w]=[N,j-N];return{start:Z,end:Me,markerLines:J}}function d(p,f,h={}){let F=(h.highlightCode||h.forceColor)&&(0,t.shouldHighlight)(h),g=a(h.forceColor),y=o(g),_=(J,fe)=>F?J(fe):fe,w=p.split(l),{start:N,end:L,markerLines:j}=c(f,w,h),Z=f.start&&typeof f.start.column=="number",Me=String(L).length,Oe=(F?(0,t.default)(p,h):p).split(l,L).slice(N,L).map((J,fe)=>{let pe=N+1+fe,Ve=` ${` ${pe}`.slice(-Me)} |`,bt=j[pe],du=!j[pe+1];if(bt){let Qt="";if(Array.isArray(bt)){let hu=J.slice(0,Math.max(bt[0]-1,0)).replace(/[^\t]/g," "),mu=bt[1]||1;Qt=[` `,_(y.gutter,Ve.replace(/\d/g," "))," ",hu,_(y.marker,"^").repeat(mu)].join(""),du&&h.message&&(Qt+=" "+_(y.message,h.message))}return[_(y.marker,">"),_(y.gutter,Ve),J.length>0?` ${J}`:"",Qt].join("")}else return` ${_(y.gutter,Ve)}${J.length>0?` ${J}`:""}`}).join(` `);return h.message&&!Z&&(Oe=`${" ".repeat(Me+1)}${h.message} -${Oe}`),F?g.reset(Oe):Oe}function D(p,f,h,F={}){if(!s){s=!0;let g="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let y=new Error(g);y.name="DeprecationWarning",console.warn(new Error(g))}}return h=Math.max(h,0),d(p,{start:{column:h,line:f}},F)}}),Ei={};qt(Ei,{__debug:()=>Pc,check:()=>Lc,doc:()=>ru,format:()=>au,formatWithCursor:()=>uu,getSupportInfo:()=>Rc,util:()=>iu,version:()=>fc});var Vs=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},zt=Vs,Us=yt(Ps(),1);function qs(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` +${Oe}`),F?g.reset(Oe):Oe}function D(p,f,h,F={}){if(!s){s=!0;let g="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let y=new Error(g);y.name="DeprecationWarning",console.warn(new Error(g))}}return h=Math.max(h,0),d(p,{start:{column:h,line:f}},F)}}),Ei={};qt(Ei,{__debug:()=>Pc,check:()=>Lc,doc:()=>ru,format:()=>au,formatWithCursor:()=>uu,getSupportInfo:()=>Rc,util:()=>iu,version:()=>fc});var Vs=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},zt=Vs,Us=yt(Ps());function qs(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` `?"crlf":"cr":"lf"}function wn(e){switch(e){case"cr":return"\r";case"crlf":return`\r `;default:return` `}}function yi(e,t){let n;switch(t){case` @@ -48,10 +48,10 @@ Expected it to be ${r}.`}var Js=class extends Error{constructor(t){super(Ys(t)); (mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Vi({plugins:e=[],showDeprecated:t=!1}={}){let n=e.flatMap(i=>i.languages??[]),r=[];for(let i of tl(Object.assign({},...e.map(({options:u})=>u),Zo)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(u=>!u.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...el(i.choices,n,e)])),i.pluginDefaults=Object.fromEntries(e.filter(u=>{var a;return((a=u.defaultOptions)==null?void 0:a[i.name])!==void 0}).map(u=>[u.name,u.defaultOptions[i.name]])),r.push(i));return{languages:n,options:r}}function*el(e,t,n){let r=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let u of i.parsers)if(!r.has(u)){r.add(u);let a=n.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,u)),s=i.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:u,description:s}}}}function tl(e){let t=[];for(let[n,r]of Object.entries(e)){let i={name:n,...r};Array.isArray(i.default)&&(i.default=U(!1,i.default,-1).value),t.push(i)}return t}var nl=e=>String(e).split(/[/\\]/).pop();function or(e,t){if(!t)return;let n=nl(t).toLowerCase();return e.find(({filenames:r})=>r==null?void 0:r.some(i=>i.toLowerCase()===n))??e.find(({extensions:r})=>r==null?void 0:r.some(i=>n.endsWith(i)))}function rl(e,t){if(t)return e.find(({name:n})=>n.toLowerCase()===t)??e.find(({aliases:n})=>n==null?void 0:n.includes(t))??e.find(({extensions:n})=>n==null?void 0:n.includes(`.${t}`))}function il(e,t){let n=e.plugins.flatMap(i=>i.languages??[]),r=rl(n,t.language)??or(n,t.physicalFile)??or(n,t.file)??(t.physicalFile,void 0);return r==null?void 0:r.parsers[0]}var ul=il,tt={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(n=>tt.value(n)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(n=>`${tt.key(n)}: ${tt.value(e[n])}`).join(", ")} }`},pair:({key:e,value:t})=>tt.value({[e]:t})},lr=yt(Gt(),1),al=(e,t,{descriptor:n})=>{let r=[`${lr.default.yellow(typeof e=="string"?n.key(e):n.pair(e))} is deprecated`];return t&&r.push(`we now treat it as ${lr.default.blue(typeof t=="string"?n.key(t):n.pair(t))}`),r.join("; ")+"."},nt=yt(Gt(),1),Ui=Symbol.for("vnopts.VALUE_NOT_EXIST"),Bt=Symbol.for("vnopts.VALUE_UNCHANGED"),cr=" ".repeat(2),sl=(e,t,n)=>{let{text:r,list:i}=n.normalizeExpectedResult(n.schemas[e].expected(n)),u=[];return r&&u.push(Dr(e,t,r,n.descriptor)),i&&u.push([Dr(e,t,i.title,n.descriptor)].concat(i.values.map(a=>qi(a,n.loggerPrintWidth))).join(` +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Vi({plugins:e=[],showDeprecated:t=!1}={}){let n=e.flatMap(i=>i.languages??[]),r=[];for(let i of tl(Object.assign({},...e.map(({options:u})=>u),Zo)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(u=>!u.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...el(i.choices,n,e)])),i.pluginDefaults=Object.fromEntries(e.filter(u=>{var a;return((a=u.defaultOptions)==null?void 0:a[i.name])!==void 0}).map(u=>[u.name,u.defaultOptions[i.name]])),r.push(i));return{languages:n,options:r}}function*el(e,t,n){let r=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let u of i.parsers)if(!r.has(u)){r.add(u);let a=n.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,u)),s=i.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:u,description:s}}}}function tl(e){let t=[];for(let[n,r]of Object.entries(e)){let i={name:n,...r};Array.isArray(i.default)&&(i.default=U(!1,i.default,-1).value),t.push(i)}return t}var nl=e=>String(e).split(/[/\\]/).pop();function or(e,t){if(!t)return;let n=nl(t).toLowerCase();return e.find(({filenames:r})=>r==null?void 0:r.some(i=>i.toLowerCase()===n))??e.find(({extensions:r})=>r==null?void 0:r.some(i=>n.endsWith(i)))}function rl(e,t){if(t)return e.find(({name:n})=>n.toLowerCase()===t)??e.find(({aliases:n})=>n==null?void 0:n.includes(t))??e.find(({extensions:n})=>n==null?void 0:n.includes(`.${t}`))}function il(e,t){let n=e.plugins.flatMap(i=>i.languages??[]),r=rl(n,t.language)??or(n,t.physicalFile)??or(n,t.file)??(t.physicalFile,void 0);return r==null?void 0:r.parsers[0]}var ul=il,tt={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(n=>tt.value(n)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(n=>`${tt.key(n)}: ${tt.value(e[n])}`).join(", ")} }`},pair:({key:e,value:t})=>tt.value({[e]:t})},lr=yt(Gt()),al=(e,t,{descriptor:n})=>{let r=[`${lr.default.yellow(typeof e=="string"?n.key(e):n.pair(e))} is deprecated`];return t&&r.push(`we now treat it as ${lr.default.blue(typeof t=="string"?n.key(t):n.pair(t))}`),r.join("; ")+"."},nt=yt(Gt()),Ui=Symbol.for("vnopts.VALUE_NOT_EXIST"),Bt=Symbol.for("vnopts.VALUE_UNCHANGED"),cr=" ".repeat(2),sl=(e,t,n)=>{let{text:r,list:i}=n.normalizeExpectedResult(n.schemas[e].expected(n)),u=[];return r&&u.push(Dr(e,t,r,n.descriptor)),i&&u.push([Dr(e,t,i.title,n.descriptor)].concat(i.values.map(a=>qi(a,n.loggerPrintWidth))).join(` `)),Gi(u,n.loggerPrintWidth)};function Dr(e,t,n,r){return[`Invalid ${nt.default.red(r.key(e))} value.`,`Expected ${nt.default.blue(n)},`,`but received ${t===Ui?nt.default.gray("nothing"):nt.default.red(r.value(t))}.`].join(" ")}function qi({text:e,list:t},n){let r=[];return e&&r.push(`- ${nt.default.blue(e)}`),t&&r.push([`- ${nt.default.blue(t.title)}:`].concat(t.values.map(i=>qi(i,n-cr.length).replace(/^|\n/g,`$&${cr}`))).join(` `)),Gi(r,n)}function Gi(e,t){if(e.length===1)return e[0];let[n,r]=e,[i,u]=e.map(a=>a.split(` -`,1)[0].length);return i>t&&i>u?r:n}var fr=yt(Gt(),1),sn=[],pr=[];function ol(e,t){if(e===t)return 0;let n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let u=0;for(;us?l>s?s+1:l:l>o?o+1:l;return s}var zi=(e,t,{descriptor:n,logger:r,schemas:i})=>{let u=[`Ignored unknown option ${fr.default.yellow(n.pair({key:e,value:t}))}.`],a=Object.keys(i).sort().find(s=>ol(e,s)<3);a&&u.push(`Did you mean ${fr.default.blue(n.key(a))}?`),r.warn(u.join(" "))},ll=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function cl(e,t){let n=new e(t),r=Object.create(n);for(let i of ll)i in t&&(r[i]=Dl(t[i],n,je.prototype[i].length));return r}var je=class{static create(e){return cl(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return Bt}};function Dl(e,t,n){return typeof e=="function"?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var fl=class extends je{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},pl=class extends je{expected(){return"anything"}validate(){return!0}},dl=class extends je{constructor({valueSchema:e,name:t=e.name,...n}){super({...n,name:t}),this._valueSchema=e}expected(e){let{text:t,list:n}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let i=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);i!==!0&&n.push(i.value)}return n.length===0?!0:{value:n}}deprecated(e,t){let n=[];for(let r of e){let i=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);i!==!1&&n.push(...i.map(({value:u})=>({value:[u]})))}return n}forward(e,t){let n=[];for(let r of e){let i=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...i.map(dr))}return n}redirect(e,t){let n=[],r=[];for(let i of e){let u=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in u&&n.push(u.remain),r.push(...u.redirect.map(dr))}return n.length===0?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function dr({from:e,to:t}){return{from:[e],to:t}}var hl=class extends je{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function ml(e,t){let n=Object.create(null);for(let r of e){let i=r[t];if(n[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n[i]=r}return n}function Fl(e,t){let n=new Map;for(let r of e){let i=r[t];if(n.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n.set(i,r)}return n}function gl(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return e[n]?!0:(e[n]=!0,!1)}}function El(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]}function yl(e){return e===Math.floor(e)}function vl(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):n!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Cl(e){return(...t)=>{let n=e(...t);return typeof n=="string"?new Error(n):n}}function hr(e){return e===void 0?{}:e}function Ki(e){if(typeof e=="string")return{text:e};let{text:t,list:n}=e;return bl((t||n)!==void 0,"Unexpected `expected` result, there should be at least one field."),n?{text:t,list:{title:n.title,values:n.values.map(Ki)}}:{text:t}}function mr(e,t){return e===!0?!0:e===!1?{value:t}:e}function Fr(e,t,n=!1){return e===!1?!1:e===!0?n?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function gr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function yn(e,t){return e===void 0?[]:Array.isArray(e)?e.map(n=>gr(n,t)):[gr(e,t)]}function Er(e,t){let n=yn(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}function bl(e,t){if(!e)throw new Error(t)}var _l=class extends je{constructor(e){super(e),this._choices=Fl(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(vl).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return{text:n.concat(r.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},Al=class extends je{expected(){return"a number"}validate(e,t){return typeof e=="number"}},kl=class extends Al{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&yl(e)}},yr=class extends je{expected(){return"a string"}validate(e){return typeof e=="string"}},wl=tt,Nl=zi,Tl=sl,Sl=al,Bl=class{constructor(e,t){let{logger:n=console,loggerPrintWidth:r=80,descriptor:i=wl,unknown:u=Nl,invalid:a=Tl,deprecated:s=Sl,missing:o=()=>!1,required:l=()=>!1,preprocess:c=D=>D,postprocess:d=()=>Bt}=t||{};this._utils={descriptor:i,logger:n||{warn:()=>{}},loggerPrintWidth:r,schemas:ml(e,"name"),normalizeDefaultResult:hr,normalizeExpectedResult:Ki,normalizeDeprecatedResult:Fr,normalizeForwardResult:yn,normalizeRedirectResult:Er,normalizeValidateResult:mr},this._unknownHandler=u,this._invalidHandler=Cl(a),this._deprecatedHandler=s,this._identifyMissing=(D,p)=>!(D in p)||o(D,p),this._identifyRequired=l,this._preprocess=c,this._postprocess=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=gl()}normalize(e){let t={},n=[this._preprocess(e,this._utils)],r=()=>{for(;n.length!==0;){let i=n.shift(),u=this._applyNormalization(i,t);n.push(...u)}};r();for(let i of Object.keys(this._utils.schemas)){let u=this._utils.schemas[i];if(!(i in t)){let a=hr(u.default(this._utils));"value"in a&&n.push({[i]:a.value})}}r();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let u=this._utils.schemas[i],a=t[i],s=u.postprocess(a,this._utils);s!==Bt&&(this._applyValidation(s,i,u),t[i]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let n=[],{knownKeys:r,unknownKeys:i}=this._partitionOptionKeys(e);for(let u of r){let a=this._utils.schemas[u],s=a.preprocess(e[u],this._utils);this._applyValidation(s,u,a);let o=({from:d,to:D})=>{n.push(typeof D=="string"?{[D]:d}:{[D.key]:D.value})},l=({value:d,redirectTo:D})=>{let p=Fr(a.deprecated(d,this._utils),s,!0);if(p!==!1)if(p===!0)this._hasDeprecationWarned(u)||this._utils.logger.warn(this._deprecatedHandler(u,D,this._utils));else for(let{value:f}of p){let h={key:u,value:f};if(!this._hasDeprecationWarned(h)){let F=typeof D=="string"?{key:D,value:f}:D;this._utils.logger.warn(this._deprecatedHandler(h,F,this._utils))}}};yn(a.forward(s,this._utils),s).forEach(o);let c=Er(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let d=c.remain;t[u]=u in t?a.overlap(t[u],d,this._utils):d,l({value:d})}for(let{from:d,to:D}of c.redirect)l({value:d,redirectTo:D})}for(let u of i){let a=e[u];this._applyUnknownHandler(u,a,t,(s,o)=>{n.push({[s]:o})})}return n}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,Ui,this._utils)}_partitionOptionKeys(e){let[t,n]=El(Object.keys(e).filter(r=>!this._identifyMissing(r,e)),r=>r in this._utils.schemas);return{knownKeys:t,unknownKeys:n}}_applyValidation(e,t,n){let r=mr(n.validate(e,this._utils),e);if(r!==!0)throw this._invalidHandler(t,r.value,this._utils)}_applyUnknownHandler(e,t,n,r){let i=this._unknownHandler(e,t,this._utils);if(i)for(let u of Object.keys(i)){if(this._identifyMissing(u,i))continue;let a=i[u];u in this._utils.schemas?r(u,a):n[u]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Bt){if(t.delete)for(let n of t.delete)delete e[n];if(t.override){let{knownKeys:n,unknownKeys:r}=this._partitionOptionKeys(t.override);for(let i of n){let u=t.override[i];this._applyValidation(u,i,this._utils.schemas[i]),e[i]=u}for(let i of r){let u=t.override[i];this._applyUnknownHandler(i,u,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},on;function Ol(e,t,{logger:n=!1,isCLI:r=!1,passThrough:i=!1,FlagSchema:u,descriptor:a}={}){if(r){if(!u)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=tt;let s=i?Array.isArray(i)?(D,p)=>i.includes(D)?{[D]:p}:void 0:(D,p)=>({[D]:p}):(D,p,f)=>{let{_:h,...F}=f.schemas;return zi(D,p,{...f,schemas:F})},o=Il(t,{isCLI:r,FlagSchema:u}),l=new Bl(o,{logger:n,unknown:s,descriptor:a}),c=n!==!1;c&&on&&(l._hasDeprecationWarned=on);let d=l.normalize(e);return c&&(on=l._hasDeprecationWarned),d}function Il(e,{isCLI:t,FlagSchema:n}){let r=[];t&&r.push(pl.create({name:"_"}));for(let i of e)r.push($l(i,{isCLI:t,optionInfos:e,FlagSchema:n})),i.alias&&t&&r.push(fl.create({name:i.alias,sourceName:i.name}));return r}function $l(e,{isCLI:t,optionInfos:n,FlagSchema:r}){let{name:i}=e,u={name:i},a,s={};switch(e.type){case"int":a=kl,t&&(u.preprocess=Number);break;case"string":a=yr;break;case"choice":a=_l,u.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=hl;break;case"flag":a=r,u.flags=n.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=yr;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):u.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=u.preprocess||(l=>l);u.preprocess=(l,c,d)=>c.preprocess(o(Array.isArray(l)?U(!1,l,-1):l),d)}return e.array?dl.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(u)}):a.create({...u,...s})}var xl=Ol,Ll=(e,t,n)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(n);for(let r=t.length-1;r>=0;r--){let i=t[r];if(n(i,r,t))return i}}},Yi=Ll;function Ji(e,t){if(!t)throw new Error("parserName is required.");let n=Yi(!1,e,i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,t));if(n)return n;let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Mi(r)}function Rl(e,t){if(!t)throw new Error("astFormat is required.");let n=Yi(!1,e,i=>i.printers&&Object.prototype.hasOwnProperty.call(i.printers,t));if(n)return n;let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Mi(r)}function Wi({plugins:e,parser:t}){let n=Ji(e,t);return Hi(n,t)}function Hi(e,t){let n=e.parsers[t];return typeof n=="function"?n():n}function Pl(e,t){let n=e.printers[t];return typeof n=="function"?n():n}var vr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function jl(e,t={}){var n;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=ul(r,{physicalFile:r.filepath}),!r.parser)throw new sr(`No parser could be inferred for file "${r.filepath}".`)}else throw new sr("No parser and no file path given, couldn't infer a parser.");let i=Vi({plugins:e.plugins,showDeprecated:!0}).options,u={...vr,...Object.fromEntries(i.filter(D=>D.default!==void 0).map(D=>[D.name,D.default]))},a=Ji(r.plugins,r.parser),s=await Hi(a,r.parser);r.astFormat=s.astFormat,r.locEnd=s.locEnd,r.locStart=s.locStart;let o=(n=a.printers)!=null&&n[s.astFormat]?a:Rl(r.plugins,s.astFormat),l=await Pl(o,s.astFormat);r.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,D])=>D!==void 0)):{},d={...u,...c};for(let[D,p]of Object.entries(d))(r[D]===null||r[D]===void 0)&&(r[D]=p);return r.parser==="json"&&(r.trailingComma="none"),xl(r,i,{passThrough:Object.keys(vr),...t})}var ot=jl,Ml=yt(Ms(),1);async function Vl(e,t){let n=await Wi(t),r=n.preprocess?n.preprocess(e,t):e;t.originalText=r;let i;try{i=await n.parse(r,t,t)}catch(u){Ul(u,e)}return{text:r,ast:i}}function Ul(e,t){let{loc:n}=e;if(n){let r=(0,Ml.codeFrameColumns)(t,n,{highlightCode:!0});throw e.message+=` +`,1)[0].length);return i>t&&i>u?r:n}var fr=yt(Gt()),sn=[],pr=[];function ol(e,t){if(e===t)return 0;let n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let u=0;for(;us?l>s?s+1:l:l>o?o+1:l;return s}var zi=(e,t,{descriptor:n,logger:r,schemas:i})=>{let u=[`Ignored unknown option ${fr.default.yellow(n.pair({key:e,value:t}))}.`],a=Object.keys(i).sort().find(s=>ol(e,s)<3);a&&u.push(`Did you mean ${fr.default.blue(n.key(a))}?`),r.warn(u.join(" "))},ll=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function cl(e,t){let n=new e(t),r=Object.create(n);for(let i of ll)i in t&&(r[i]=Dl(t[i],n,je.prototype[i].length));return r}var je=class{static create(e){return cl(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return Bt}};function Dl(e,t,n){return typeof e=="function"?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var fl=class extends je{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},pl=class extends je{expected(){return"anything"}validate(){return!0}},dl=class extends je{constructor({valueSchema:e,name:t=e.name,...n}){super({...n,name:t}),this._valueSchema=e}expected(e){let{text:t,list:n}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let i=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);i!==!0&&n.push(i.value)}return n.length===0?!0:{value:n}}deprecated(e,t){let n=[];for(let r of e){let i=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);i!==!1&&n.push(...i.map(({value:u})=>({value:[u]})))}return n}forward(e,t){let n=[];for(let r of e){let i=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...i.map(dr))}return n}redirect(e,t){let n=[],r=[];for(let i of e){let u=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in u&&n.push(u.remain),r.push(...u.redirect.map(dr))}return n.length===0?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function dr({from:e,to:t}){return{from:[e],to:t}}var hl=class extends je{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function ml(e,t){let n=Object.create(null);for(let r of e){let i=r[t];if(n[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n[i]=r}return n}function Fl(e,t){let n=new Map;for(let r of e){let i=r[t];if(n.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n.set(i,r)}return n}function gl(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return e[n]?!0:(e[n]=!0,!1)}}function El(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]}function yl(e){return e===Math.floor(e)}function vl(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):n!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Cl(e){return(...t)=>{let n=e(...t);return typeof n=="string"?new Error(n):n}}function hr(e){return e===void 0?{}:e}function Ki(e){if(typeof e=="string")return{text:e};let{text:t,list:n}=e;return bl((t||n)!==void 0,"Unexpected `expected` result, there should be at least one field."),n?{text:t,list:{title:n.title,values:n.values.map(Ki)}}:{text:t}}function mr(e,t){return e===!0?!0:e===!1?{value:t}:e}function Fr(e,t,n=!1){return e===!1?!1:e===!0?n?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function gr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function yn(e,t){return e===void 0?[]:Array.isArray(e)?e.map(n=>gr(n,t)):[gr(e,t)]}function Er(e,t){let n=yn(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}function bl(e,t){if(!e)throw new Error(t)}var _l=class extends je{constructor(e){super(e),this._choices=Fl(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(vl).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return{text:n.concat(r.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},Al=class extends je{expected(){return"a number"}validate(e,t){return typeof e=="number"}},kl=class extends Al{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&yl(e)}},yr=class extends je{expected(){return"a string"}validate(e){return typeof e=="string"}},wl=tt,Nl=zi,Tl=sl,Sl=al,Bl=class{constructor(e,t){let{logger:n=console,loggerPrintWidth:r=80,descriptor:i=wl,unknown:u=Nl,invalid:a=Tl,deprecated:s=Sl,missing:o=()=>!1,required:l=()=>!1,preprocess:c=D=>D,postprocess:d=()=>Bt}=t||{};this._utils={descriptor:i,logger:n||{warn:()=>{}},loggerPrintWidth:r,schemas:ml(e,"name"),normalizeDefaultResult:hr,normalizeExpectedResult:Ki,normalizeDeprecatedResult:Fr,normalizeForwardResult:yn,normalizeRedirectResult:Er,normalizeValidateResult:mr},this._unknownHandler=u,this._invalidHandler=Cl(a),this._deprecatedHandler=s,this._identifyMissing=(D,p)=>!(D in p)||o(D,p),this._identifyRequired=l,this._preprocess=c,this._postprocess=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=gl()}normalize(e){let t={},n=[this._preprocess(e,this._utils)],r=()=>{for(;n.length!==0;){let i=n.shift(),u=this._applyNormalization(i,t);n.push(...u)}};r();for(let i of Object.keys(this._utils.schemas)){let u=this._utils.schemas[i];if(!(i in t)){let a=hr(u.default(this._utils));"value"in a&&n.push({[i]:a.value})}}r();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let u=this._utils.schemas[i],a=t[i],s=u.postprocess(a,this._utils);s!==Bt&&(this._applyValidation(s,i,u),t[i]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let n=[],{knownKeys:r,unknownKeys:i}=this._partitionOptionKeys(e);for(let u of r){let a=this._utils.schemas[u],s=a.preprocess(e[u],this._utils);this._applyValidation(s,u,a);let o=({from:d,to:D})=>{n.push(typeof D=="string"?{[D]:d}:{[D.key]:D.value})},l=({value:d,redirectTo:D})=>{let p=Fr(a.deprecated(d,this._utils),s,!0);if(p!==!1)if(p===!0)this._hasDeprecationWarned(u)||this._utils.logger.warn(this._deprecatedHandler(u,D,this._utils));else for(let{value:f}of p){let h={key:u,value:f};if(!this._hasDeprecationWarned(h)){let F=typeof D=="string"?{key:D,value:f}:D;this._utils.logger.warn(this._deprecatedHandler(h,F,this._utils))}}};yn(a.forward(s,this._utils),s).forEach(o);let c=Er(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let d=c.remain;t[u]=u in t?a.overlap(t[u],d,this._utils):d,l({value:d})}for(let{from:d,to:D}of c.redirect)l({value:d,redirectTo:D})}for(let u of i){let a=e[u];this._applyUnknownHandler(u,a,t,(s,o)=>{n.push({[s]:o})})}return n}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,Ui,this._utils)}_partitionOptionKeys(e){let[t,n]=El(Object.keys(e).filter(r=>!this._identifyMissing(r,e)),r=>r in this._utils.schemas);return{knownKeys:t,unknownKeys:n}}_applyValidation(e,t,n){let r=mr(n.validate(e,this._utils),e);if(r!==!0)throw this._invalidHandler(t,r.value,this._utils)}_applyUnknownHandler(e,t,n,r){let i=this._unknownHandler(e,t,this._utils);if(i)for(let u of Object.keys(i)){if(this._identifyMissing(u,i))continue;let a=i[u];u in this._utils.schemas?r(u,a):n[u]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Bt){if(t.delete)for(let n of t.delete)delete e[n];if(t.override){let{knownKeys:n,unknownKeys:r}=this._partitionOptionKeys(t.override);for(let i of n){let u=t.override[i];this._applyValidation(u,i,this._utils.schemas[i]),e[i]=u}for(let i of r){let u=t.override[i];this._applyUnknownHandler(i,u,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},on;function Ol(e,t,{logger:n=!1,isCLI:r=!1,passThrough:i=!1,FlagSchema:u,descriptor:a}={}){if(r){if(!u)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=tt;let s=i?Array.isArray(i)?(D,p)=>i.includes(D)?{[D]:p}:void 0:(D,p)=>({[D]:p}):(D,p,f)=>{let{_:h,...F}=f.schemas;return zi(D,p,{...f,schemas:F})},o=Il(t,{isCLI:r,FlagSchema:u}),l=new Bl(o,{logger:n,unknown:s,descriptor:a}),c=n!==!1;c&&on&&(l._hasDeprecationWarned=on);let d=l.normalize(e);return c&&(on=l._hasDeprecationWarned),d}function Il(e,{isCLI:t,FlagSchema:n}){let r=[];t&&r.push(pl.create({name:"_"}));for(let i of e)r.push($l(i,{isCLI:t,optionInfos:e,FlagSchema:n})),i.alias&&t&&r.push(fl.create({name:i.alias,sourceName:i.name}));return r}function $l(e,{isCLI:t,optionInfos:n,FlagSchema:r}){let{name:i}=e,u={name:i},a,s={};switch(e.type){case"int":a=kl,t&&(u.preprocess=Number);break;case"string":a=yr;break;case"choice":a=_l,u.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=hl;break;case"flag":a=r,u.flags=n.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=yr;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):u.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=u.preprocess||(l=>l);u.preprocess=(l,c,d)=>c.preprocess(o(Array.isArray(l)?U(!1,l,-1):l),d)}return e.array?dl.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(u)}):a.create({...u,...s})}var xl=Ol,Ll=(e,t,n)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(n);for(let r=t.length-1;r>=0;r--){let i=t[r];if(n(i,r,t))return i}}},Yi=Ll;function Ji(e,t){if(!t)throw new Error("parserName is required.");let n=Yi(!1,e,i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,t));if(n)return n;let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Mi(r)}function Rl(e,t){if(!t)throw new Error("astFormat is required.");let n=Yi(!1,e,i=>i.printers&&Object.prototype.hasOwnProperty.call(i.printers,t));if(n)return n;let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Mi(r)}function Wi({plugins:e,parser:t}){let n=Ji(e,t);return Hi(n,t)}function Hi(e,t){let n=e.parsers[t];return typeof n=="function"?n():n}function Pl(e,t){let n=e.printers[t];return typeof n=="function"?n():n}var vr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function jl(e,t={}){var n;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=ul(r,{physicalFile:r.filepath}),!r.parser)throw new sr(`No parser could be inferred for file "${r.filepath}".`)}else throw new sr("No parser and no file path given, couldn't infer a parser.");let i=Vi({plugins:e.plugins,showDeprecated:!0}).options,u={...vr,...Object.fromEntries(i.filter(D=>D.default!==void 0).map(D=>[D.name,D.default]))},a=Ji(r.plugins,r.parser),s=await Hi(a,r.parser);r.astFormat=s.astFormat,r.locEnd=s.locEnd,r.locStart=s.locStart;let o=(n=a.printers)!=null&&n[s.astFormat]?a:Rl(r.plugins,s.astFormat),l=await Pl(o,s.astFormat);r.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,D])=>D!==void 0)):{},d={...u,...c};for(let[D,p]of Object.entries(d))(r[D]===null||r[D]===void 0)&&(r[D]=p);return r.parser==="json"&&(r.trailingComma="none"),xl(r,i,{passThrough:Object.keys(vr),...t})}var ot=jl,Ml=yt(Ms());async function Vl(e,t){let n=await Wi(t),r=n.preprocess?n.preprocess(e,t):e;t.originalText=r;let i;try{i=await n.parse(r,t,t)}catch(u){Ul(u,e)}return{text:r,ast:i}}function Ul(e,t){let{loc:n}=e;if(n){let r=(0,Ml.codeFrameColumns)(t,n,{highlightCode:!0});throw e.message+=` `+r,e.codeFrame=r,e}throw e}var Ct=Vl;async function ql(e,t,n,r,i){let{embeddedLanguageFormatting:u,printer:{embed:a,hasPrettierIgnore:s=()=>!1,getVisitorKeys:o}}=n;if(!a||u!=="auto")return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let l=Wt(a.getVisitorKeys??o),c=[];p();let d=e.stack;for(let{print:f,node:h,pathStack:F}of c)try{e.stack=F;let g=await f(D,t,e,n);g&&i.set(h,g)}catch(g){if(globalThis.PRETTIER_DEBUG)throw g}e.stack=d;function D(f,h){return Gl(f,h,n,r)}function p(){let{node:f}=e;if(f===null||typeof f!="object"||s(e))return;for(let F of l(f))Array.isArray(f[F])?e.each(p,F):e.call(p,F);let h=a(e,n);if(h){if(typeof h=="function"){c.push({print:h,node:f,pathStack:[...e.stack]});return}i.set(f,h)}}}async function Gl(e,t,n,r){let i=await ot({...n,...t,parentParser:n.parser,originalText:e},{passThrough:!0}),{ast:u}=await Ct(e,i),a=await r(u,i);return Ti(a)}function zl(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:u,[Symbol.for("printedComments")]:a}=t,{node:s}=e,o=i(s),l=u(s);for(let c of r)i(c)>=o&&u(c)<=l&&a.add(c);return n.slice(o,l)}var Kl=zl;async function Ht(e,t){({ast:e}=await Qi(e,t));let n=new Map,r=new Oo(e),i=new Map;await ql(r,a,t,Ht,i);let u=await Cr(r,t,a,void 0,i);return Xo(t),u;function a(o,l){return o===void 0||o===r?s(l):Array.isArray(o)?r.call(()=>s(l),...o):r.call(()=>s(l),o)}function s(o){let l=r.node;if(l==null)return"";let c=l&&typeof l=="object"&&o===void 0;if(c&&n.has(l))return n.get(l);let d=Cr(r,t,a,o,i);return c&&n.set(l,d),d}}function Cr(e,t,n,r,i){var u;let{node:a}=e,{printer:s}=t,o;return(u=s.hasPrettierIgnore)!=null&&u.call(s,e)?o=Kl(e,t):i.has(a)?o=i.get(a):o=s.print(e,t,n,r),a===t.cursorNode&&(o=Si(o,l=>[hn,l,hn])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(o=Qo(e,o,t)),o}async function Qi(e,t){let n=e.comments??[];t[Symbol.for("comments")]=n,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,Go(e,t);let{printer:{preprocess:r}}=t;return e=r?await r(e,t):e,{ast:e,comments:n}}function Yl(e,t){let{cursorOffset:n,locStart:r,locEnd:i}=t,u=Wt(t.printer.getVisitorKeys),a=o=>r(o)<=n&&i(o)>=n,s=e;for(let o of xo(e,{getVisitorKeys:u,filter:a}))s=o;return s}var Jl=Yl;function Wl(e,t){let{printer:{massageAstNode:n,getVisitorKeys:r}}=t;if(!n)return e;let i=Wt(r),u=n.ignoredProperties??new Set;return a(e);function a(s,o){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(D=>a(D,o)).filter(Boolean);let l={},c=new Set(i(s));for(let D in s)!Object.prototype.hasOwnProperty.call(s,D)||u.has(D)||(c.has(D)?l[D]=a(s[D],s):l[D]=s[D]);let d=n(s,l,o);if(d!==null)return d??l}}var Hl=Wl,Ql=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";function Xl(e,t){let n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(i=>Xi.has(i.type)&&r.has(i))}function br(e){let t=e.length-1;for(;;){let n=e[t];if((n==null?void 0:n.type)==="Program"||(n==null?void 0:n.type)==="File")t--;else break}return e.slice(0,t+1)}function Zl(e,t,{locStart:n,locEnd:r}){let i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};let a=n(e.node);for(let o of br(t.parentNodes))if(n(o)>=a)u=o;else break;let s=r(t.node);for(let o of br(e.parentNodes)){if(r(o)<=s)i=o;else break;if(i===u)break}return{startNode:i,endNode:u}}function vn(e,t,n,r,i=[],u){let{locStart:a,locEnd:s}=n,o=a(e),l=s(e);if(!(t>l||tr);let s=e.slice(r,i).search(/\S/),o=s===-1;if(!o)for(r+=s;i>r&&!/\S/.test(e[i-1]);--i);let l=vn(n,r,t,(p,f)=>_r(t,p,f),[],"rangeStart"),c=o?l:vn(n,i,t,p=>_r(t,p),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let d,D;if(Ql(t)){let p=Xl(l,c);d=p,D=p}else({startNode:d,endNode:D}=Zl(l,c,t));return{rangeStart:Math.min(u(d),u(D)),rangeEnd:Math.max(a(d),a(D))}}var Zi="\uFEFF",Ar=Symbol("cursor");async function eu(e,t,n=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:i}=await Ct(e,t);t.cursorOffset>=0&&(t.cursorNode=Jl(r,t));let u=await Ht(r,t);n>0&&(u=Ni([Ke,u],n,t.tabWidth));let a=Jt(u,t);if(n>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+wn(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let o,l,c,d,D;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),l=i.slice(o,t.locEnd(t.cursorNode)),c=t.cursorOffset-o,d=a.cursorNodeStart,D=a.cursorNodeText):(o=0,l=i,c=t.cursorOffset,d=0,D=a.formatted),l===D)return{formatted:a.formatted,cursorOffset:d+c,comments:s};let p=l.split("");p.splice(c,0,Ar);let f=D.split(""),h=(0,Us.diffArrays)(p,f),F=d;for(let g of h)if(g.removed){if(g.value.includes(Ar))break}else F+=g.count;return{formatted:a.formatted,cursorOffset:F,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function rc(e,t){let{ast:n,text:r}=await Ct(e,t),{rangeStart:i,rangeEnd:u}=nc(r,t,n),a=r.slice(i,u),s=Math.min(i,r.lastIndexOf(` `,i)+1),o=r.slice(s,i).match(/^\s*/)[0],l=On(o,t.tabWidth),c=await eu(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=u?t.cursorOffset-i:-1,endOfLine:"lf"},l),d=c.formatted.trimEnd(),{cursorOffset:D}=t;D>u?D+=d.length-a.length:c.cursorOffset>=0&&(D=c.cursorOffset+i);let p=r.slice(0,i)+d+r.slice(u);if(t.endOfLine!=="lf"){let f=wn(t.endOfLine);D>=0&&f===`\r `&&(D+=yi(p.slice(0,D),` diff --git a/public/docs/_app/immutable/chunks/PreviousNextPage.Cqe1Lb47.js b/public/docs/_app/immutable/chunks/PreviousNextPage.Cqe1Lb47.js new file mode 100644 index 0000000..89d65dc --- /dev/null +++ b/public/docs/_app/immutable/chunks/PreviousNextPage.Cqe1Lb47.js @@ -0,0 +1,9 @@ +import{s as Z,e as L,t as re,f as P,g as p,j as oe,d as m,k as M,L as Ie,z as d,l as E,m as N,n as he,D as Ye,v as C,a4 as y,a5 as x,a6 as ve,u as V,w as X,o as me,E as $,F as ee,G as te,H as le,I as Ce,q as ie,y as O,A as z,r as be,x as A,a1 as Pe,K as Wt,b as ue,c as fe,p as Me,aa as Lt,a2 as Be,ab as Le,C as Pt,ac as Se,M as Yt,J as Ut,B as qt,ad as Ze}from"./scheduler.BZkyrStM.js";import{S as W,i as Y,c as q,a as G,m as j,t as b,b as k,d as F,g as ce,e as de}from"./index.BLFDKRva.js";import{P as qe,C as Ht,L as jt,a as Ft}from"./ChevronDown.B4bYL18o.js";import{l as se,u as We,y as we,P as Ue,Q as Ot,m as Gt,j as Jt,S as Kt}from"./pages.DpEZ8Fnk.js";import{w as Ne,d as je}from"./index.GTo13Lj_.js";function Qt(i){let e,n,t,l,r;return{c(){e=L("div"),n=L("pre"),t=re(" "),l=L("code"),r=re(` + `),this.h()},l(s){e=P(s,"DIV",{});var o=p(e);n=P(o,"PRE",{class:!0,style:!0});var a=p(n);t=oe(a," "),l=P(a,"CODE",{}),p(l).forEach(m),r=oe(a,` + `),a.forEach(m),o.forEach(m),this.h()},h(){M(n,"class","prism--code-container"),Ie(n,"--min-height",i[2]),Ie(n,"--max-height",i[3]),d(n,"line-numbers",i[0]),d(e,"prism--show-copy-button",i[1]),d(e,"prism--hide-copy-button",!i[1])},m(s,o){E(s,e,o),N(e,n),N(n,t),N(n,l),i[7](l),N(n,r)},p(s,[o]){o&4&&Ie(n,"--min-height",s[2]),o&8&&Ie(n,"--max-height",s[3]),o&1&&d(n,"line-numbers",s[0]),o&2&&d(e,"prism--show-copy-button",s[1]),o&2&&d(e,"prism--hide-copy-button",!s[1])},i:he,o:he,d(s){s&&m(e),i[7](null)}}}function Xt(i,e,n){let{language:t}=e,{source:l}=e,{showLineNumbers:r=!1}=e,{showCopyButton:s=!1}=e,{minHeight:o=void 0}=e,{maxHeight:a=void 0}=e,u;function f(h,c,g){h.textContent=g,h.classList.forEach(w=>h.classList.remove(w)),c&&(h.classList.add(`language-${c}`),h.classList.add("prism--code")),qe.highlightElement(h)}function _(h){Ye[h?"unshift":"push"](()=>{u=h,n(4,u)})}return i.$$set=h=>{"language"in h&&n(5,t=h.language),"source"in h&&n(6,l=h.source),"showLineNumbers"in h&&n(0,r=h.showLineNumbers),"showCopyButton"in h&&n(1,s=h.showCopyButton),"minHeight"in h&&n(2,o=h.minHeight),"maxHeight"in h&&n(3,a=h.maxHeight)},i.$$.update=()=>{i.$$.dirty&112&&u&&qe&&f(u,t,l)},[r,s,o,a,u,t,l,_]}class yt extends W{constructor(e){super(),Y(this,e,Xt,Qt,Z,{language:5,source:6,showLineNumbers:0,showCopyButton:1,minHeight:2,maxHeight:3})}}function Fe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function xt(i){let e,n,t=i[1]&&Fe(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class el extends W{constructor(e){super(),Y(this,e,$t,xt,Z,{size:0,title:1})}}function Oe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function tl(i){let e,n,t=i[1]&&Oe(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class nl extends W{constructor(e){super(),Y(this,e,ll,tl,Z,{size:0,title:1})}}function il(i){let e,n;return e=new yt({props:{language:i[2].lang||"plain",source:i[2].text,showCopyButton:i[0],showLineNumbers:i[1]}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&4&&(r.language=t[2].lang||"plain"),l&4&&(r.source=t[2].text),l&1&&(r.showCopyButton=t[0]),l&2&&(r.showLineNumbers=t[1]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function sl(i,e,n){let{showCopyButton:t=!0}=e,{showLineNumbers:l=!0}=e,{token:r}=e;return i.$$set=s=>{"showCopyButton"in s&&n(0,t=s.showCopyButton),"showLineNumbers"in s&&n(1,l=s.showLineNumbers),"token"in s&&n(2,r=s.token)},[t,l,r]}class rl extends W{constructor(e){super(),Y(this,e,sl,il,Z,{showCopyButton:0,showLineNumbers:1,token:2})}}function ol(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=L("code"),l&&l.c(),this.h()},l(r){e=P(r,"CODE",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","code-span svelte-1292o4f")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function al(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class ul extends W{constructor(e){super(),Y(this,e,al,ol,Z,{})}}function fl(i){let e=i[0].raw.slice(1,i[0].raw.length-1)+"",n;return{c(){n=re(e)},l(t){n=oe(t,e)},m(t,l){E(t,n,l)},p(t,l){l&1&&e!==(e=t[0].raw.slice(1,t[0].raw.length-1)+"")&&me(n,e)},d(t){t&&m(n)}}}function cl(i){let e,n;return e=new ul({props:{$$slots:{default:[fl]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function dl(i,e,n){let{token:t}=e;return i.$$set=l=>{"token"in l&&n(0,t=l.token)},[t]}class hl extends W{constructor(e){super(),Y(this,e,dl,cl,Z,{token:0})}}function Ge(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function ml(i){let e,n,t,l=i[1]&&Ge(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class gl extends W{constructor(e){super(),Y(this,e,_l,ml,Z,{size:0,title:1})}}function Je(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function bl(i){let e,n,t,l=i[1]&&Je(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class kl extends W{constructor(e){super(),Y(this,e,vl,bl,Z,{size:0,title:1})}}function Ke(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function wl(i){let e,n,t,l=i[1]&&Ke(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class El extends W{constructor(e){super(),Y(this,e,pl,wl,Z,{size:0,title:1})}}function Qe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Ml(i){let e,n,t,l=i[1]&&Qe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class zl extends W{constructor(e){super(),Y(this,e,Cl,Ml,Z,{size:0,title:1})}}function Xe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Bl(i){let e,n,t,l=i[1]&&Xe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Dl extends W{constructor(e){super(),Y(this,e,Al,Bl,Z,{size:0,title:1})}}function ye(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Nl(i){let e,n,t,l,r=i[1]&&ye(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],o={};for(let a=0;a{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Ll extends W{constructor(e){super(),Y(this,e,Il,Nl,Z,{size:0,title:1})}}function Pl(i){let e,n,t;var l=i[3][i[0]];function r(s,o){return{props:{size:20,title:s[2],class:(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")}}}return l&&(e=Ce(l,r(i))),{c(){e&&q(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&j(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&1&&l!==(l=s[3][s[0]])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{F(a,1)}),de()}l?(e=Ce(l,r(s)),q(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}else if(l){const a={};o&4&&(a.title=s[2]),o&2&&(a.class=(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&F(e,s)}}}function Hl(i,e,n){let{kind:t="error"}=e,{notificationType:l="toast"}=e,{iconDescription:r}=e;const s={error:kl,"info-square":zl,info:El,success:gl,warning:Dl,"warning-alt":Ll};return i.$$set=o=>{"kind"in o&&n(0,t=o.kind),"notificationType"in o&&n(1,l=o.notificationType),"iconDescription"in o&&n(2,r=o.iconDescription)},[t,l,r,s]}class Tl extends W{constructor(e){super(),Y(this,e,Hl,Pl,Z,{kind:0,notificationType:1,iconDescription:2})}}function Rl(i){let e,n,t,l,r;var s=i[1];function o(f,_){return{props:{size:20,title:f[2],class:(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")}}}s&&(n=Ce(s,o(i)));let a=[{type:"button"},{"aria-label":i[3]},{title:i[3]},i[4]],u={};for(let f=0;f{F(h,1)}),de()}s?(n=Ce(s,o(f)),q(n.$$.fragment),b(n.$$.fragment,1),j(n,e,null)):n=null}else if(s){const h={};_&4&&(h.title=f[2]),_&1&&(h.class=(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")),n.$set(h)}O(e,u=se(a,[{type:"button"},(!t||_&8)&&{"aria-label":f[3]},(!t||_&8)&&{title:f[3]},_&16&&f[4]])),d(e,"bx--toast-notification__close-button",f[0]==="toast"),d(e,"bx--inline-notification__close-button",f[0]==="inline")},i(f){t||(n&&b(n.$$.fragment,f),t=!0)},o(f){n&&k(n.$$.fragment,f),t=!1},d(f){f&&m(e),n&&F(n),l=!1,be(r)}}}function Vl(i,e,n){const t=["notificationType","icon","title","iconDescription"];let l=V(e,t),{notificationType:r="toast"}=e,{icon:s=Ht}=e,{title:o=void 0}=e,{iconDescription:a="Close icon"}=e;function u(c){A.call(this,i,c)}function f(c){A.call(this,i,c)}function _(c){A.call(this,i,c)}function h(c){A.call(this,i,c)}return i.$$set=c=>{e=C(C({},e),X(c)),n(4,l=V(e,t)),"notificationType"in c&&n(0,r=c.notificationType),"icon"in c&&n(1,s=c.icon),"title"in c&&n(2,o=c.title),"iconDescription"in c&&n(3,a=c.iconDescription)},[r,s,o,a,l,u,f,_,h]}class Sl extends W{constructor(e){super(),Y(this,e,Vl,Rl,Z,{notificationType:0,icon:1,title:2,iconDescription:3})}}const Zl=i=>({}),xe=i=>({}),Wl=i=>({}),$e=i=>({}),Yl=i=>({}),et=i=>({});function tt(i){let e,n,t,l,r,s,o,a,u,f,_,h,c,g;t=new Tl({props:{notificationType:"inline",kind:i[0],iconDescription:i[6]}});const w=i[13].title,R=$(w,i,i[12],et),S=R||Ul(i),I=i[13].subtitle,D=$(I,i,i[12],$e),B=D||ql(i),K=i[13].default,Q=$(K,i,i[12],null),_e=i[13].actions,T=$(_e,i,i[12],xe);let ne=!i[5]&<(i),ke=[{role:i[2]},{kind:i[0]},i[10]],ge={};for(let v=0;v{ne=null}),de()):ne?(ne.p(v,J),J&32&&b(ne,1)):(ne=lt(v),ne.c(),b(ne,1),ne.m(e,null)),O(e,ge=se(ke,[(!h||J&4)&&{role:v[2]},(!h||J&1)&&{kind:v[0]},J&1024&&v[10]])),d(e,"bx--inline-notification",!0),d(e,"bx--inline-notification--low-contrast",v[1]),d(e,"bx--inline-notification--hide-close-button",v[5]),d(e,"bx--inline-notification--error",v[0]==="error"),d(e,"bx--inline-notification--info",v[0]==="info"),d(e,"bx--inline-notification--info-square",v[0]==="info-square"),d(e,"bx--inline-notification--success",v[0]==="success"),d(e,"bx--inline-notification--warning",v[0]==="warning"),d(e,"bx--inline-notification--warning-alt",v[0]==="warning-alt")},i(v){h||(b(t.$$.fragment,v),b(S,v),b(B,v),b(Q,v),b(T,v),b(ne),h=!0)},o(v){k(t.$$.fragment,v),k(S,v),k(B,v),k(Q,v),k(T,v),k(ne),h=!1},d(v){v&&m(e),F(t),S&&S.d(v),B&&B.d(v),Q&&Q.d(v),T&&T.d(v),ne&&ne.d(),c=!1,be(g)}}}function Ul(i){let e;return{c(){e=re(i[3])},l(n){e=oe(n,i[3])},m(n,t){E(n,e,t)},p(n,t){t&8&&me(e,n[3])},d(n){n&&m(e)}}}function ql(i){let e;return{c(){e=re(i[4])},l(n){e=oe(n,i[4])},m(n,t){E(n,e,t)},p(n,t){t&16&&me(e,n[4])},d(n){n&&m(e)}}}function lt(i){let e,n;return e=new Sl({props:{iconDescription:i[7],notificationType:"inline"}}),e.$on("click",i[9]),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&128&&(r.iconDescription=t[7]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function jl(i){let e,n,t=i[8]&&tt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[8]?t?(t.p(l,r),r&256&&b(t,1)):(t=tt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function Fl(i,e,n){const t=["kind","lowContrast","timeout","role","title","subtitle","hideCloseButton","statusIconDescription","closeButtonDescription"];let l=V(e,t),{$$slots:r={},$$scope:s}=e,{kind:o="error"}=e,{lowContrast:a=!1}=e,{timeout:u=0}=e,{role:f="alert"}=e,{title:_=""}=e,{subtitle:h=""}=e,{hideCloseButton:c=!1}=e,{statusIconDescription:g=o+" icon"}=e,{closeButtonDescription:w="Close notification"}=e;const R=Pe();let S=!0,I;function D(T){R("close",{timeout:T===!0},{cancelable:!0})&&n(8,S=!1)}Wt(()=>(u&&(I=setTimeout(()=>D(!0),u)),()=>{clearTimeout(I)}));function B(T){A.call(this,i,T)}function K(T){A.call(this,i,T)}function Q(T){A.call(this,i,T)}function _e(T){A.call(this,i,T)}return i.$$set=T=>{e=C(C({},e),X(T)),n(10,l=V(e,t)),"kind"in T&&n(0,o=T.kind),"lowContrast"in T&&n(1,a=T.lowContrast),"timeout"in T&&n(11,u=T.timeout),"role"in T&&n(2,f=T.role),"title"in T&&n(3,_=T.title),"subtitle"in T&&n(4,h=T.subtitle),"hideCloseButton"in T&&n(5,c=T.hideCloseButton),"statusIconDescription"in T&&n(6,g=T.statusIconDescription),"closeButtonDescription"in T&&n(7,w=T.closeButtonDescription),"$$scope"in T&&n(12,s=T.$$scope)},[o,a,f,_,h,c,g,w,S,D,l,u,s,r,B,K,Q,_e]}class Ol extends W{constructor(e){super(),Y(this,e,Fl,jl,Z,{kind:0,lowContrast:1,timeout:11,role:2,title:3,subtitle:4,hideCloseButton:5,statusIconDescription:6,closeButtonDescription:7})}}function Gl(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Jl(i){let e,n;return e=new Ol({props:{kind:i[0].style,lowContrast:!0,hideCloseButton:!0,$$slots:{default:[Gl]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.kind=t[0].style),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function Kl(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class Tt extends W{constructor(e){super(),Y(this,e,Kl,Jl,Z,{token:0})}}function Ql(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Xl(i){let e,n;return e=new Tt({props:{token:{type:"notification",raw:i[0].raw,style:"info",tokens:i[0].tokens},$$slots:{default:[Ql]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.token={type:"notification",raw:t[0].raw,style:"info",tokens:t[0].tokens}),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function yl(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class xl extends W{constructor(e){super(),Y(this,e,yl,Xl,Z,{token:0})}}function $l(i){let e;const n=i[2].default,t=$(n,i,i[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&8)&&ee(t,n,l,l[3],e?le(n,l[3],r,null):te(l[3]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function en(i){let e,n;return e=new jt({props:{href:nt(i[0].href)?We.joinUrlPaths(i[1].baseUrl,i[0].href):i[0].href,title:i[0].title,$$slots:{default:[$l]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.href=nt(t[0].href)?We.joinUrlPaths(t[1].baseUrl,t[0].href):t[0].href),l&1&&(r.title=t[0].title),l&8&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function nt(i){return i.startsWith("/")||i.startsWith("#")}function tn(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e;return i.$$set=o=>{"token"in o&&n(0,r=o.token),"options"in o&&n(1,s=o.options),"$$scope"in o&&n(3,l=o.$$scope)},[r,s,t,l]}class ln extends W{constructor(e){super(),Y(this,e,tn,en,Z,{token:0,options:1})}}function nn(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=L("p"),l&&l.c(),this.h()},l(r){e=P(r,"P",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","md-paragraph svelte-uzcm98")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function sn(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class rn extends W{constructor(e){super(),Y(this,e,sn,nn,Z,{})}}function on(i){let e,n,t,l;const r=i[8].default,s=$(r,i,i[7],null);let o=[{role:"table"},i[4]],a={};for(let u=0;un(6,r=I)),Lt("StructuredListWrapper",{selectedValue:c,update:I=>{c.set(I)}});function g(I){A.call(this,i,I)}function w(I){A.call(this,i,I)}function R(I){A.call(this,i,I)}function S(I){A.call(this,i,I)}return i.$$set=I=>{e=C(C({},e),X(I)),n(4,l=V(e,t)),"selected"in I&&n(5,a=I.selected),"condensed"in I&&n(0,u=I.condensed),"flush"in I&&n(1,f=I.flush),"selection"in I&&n(2,_=I.selection),"$$scope"in I&&n(7,o=I.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&n(5,a=r),i.$$.dirty&64&&h("change",r)},[u,f,_,c,l,a,r,o,s,g,w,R,S]}class un extends W{constructor(e){super(),Y(this,e,an,on,Z,{selected:5,condensed:0,flush:1,selection:2})}}function fn(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class dn extends W{constructor(e){super(),Y(this,e,cn,fn,Z,{})}}function hn(i){let e,n,t,l,r;const s=i[4].default,o=$(s,i,i[3],null);let a=[{role:n=i[0]?"columnheader":"cell"},i[2]],u={};for(let f=0;f{e=C(C({},e),X(c)),n(2,l=V(e,t)),"head"in c&&n(0,o=c.head),"noWrap"in c&&n(1,a=c.noWrap),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class Rt extends W{constructor(e){super(),Y(this,e,mn,hn,Z,{head:0,noWrap:1})}}function _n(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class bn extends W{constructor(e){super(),Y(this,e,gn,_n,Z,{})}}function vn(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[{role:"row"},i[3]],a={};for(let u=0;u{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function pn(i,e,n){const t=["head","label","tabindex"];let l=V(e,t),{$$slots:r={},$$scope:s}=e,{head:o=!1}=e,{label:a=!1}=e,{tabindex:u="0"}=e;function f(D){A.call(this,i,D)}function _(D){A.call(this,i,D)}function h(D){A.call(this,i,D)}function c(D){A.call(this,i,D)}function g(D){A.call(this,i,D)}function w(D){A.call(this,i,D)}function R(D){A.call(this,i,D)}function S(D){A.call(this,i,D)}function I(D){A.call(this,i,D)}return i.$$set=D=>{e=C(C({},e),X(D)),n(3,l=V(e,t)),"head"in D&&n(0,o=D.head),"label"in D&&n(1,a=D.label),"tabindex"in D&&n(2,u=D.tabindex),"$$scope"in D&&n(4,s=D.$$scope)},[o,a,u,l,s,r,f,_,h,c,g,w,R,S,I]}class Vt extends W{constructor(e){super(),Y(this,e,pn,wn,Z,{head:0,label:1,tabindex:2})}}function it(i,e,n){const t=i.slice();return t[3]=e[n],t}function st(i,e,n){const t=i.slice();return t[6]=e[n],t}function rt(i,e,n){const t=i.slice();return t[9]=e[n],t}function En(i){let e,n,t;return e=new Ue({props:{tokens:i[9].tokens,options:i[1],renderers:i[2]}}),{c(){q(e.$$.fragment),n=ue()},l(l){G(e.$$.fragment,l),n=fe(l)},m(l,r){j(e,l,r),E(l,n,r),t=!0},p(l,r){const s={};r&1&&(s.tokens=l[9].tokens),r&2&&(s.options=l[1]),r&4&&(s.renderers=l[2]),e.$set(s)},i(l){t||(b(e.$$.fragment,l),t=!0)},o(l){k(e.$$.fragment,l),t=!1},d(l){l&&m(n),F(e,l)}}}function ot(i){let e,n;return e=new Rt({props:{head:!0,$$slots:{default:[En]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&4103&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function Mn(i){let e,n,t=we(i[0].header),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class Ln extends W{constructor(e){super(),Y(this,e,In,Nn,Z,{token:0,options:1,renderers:2})}}function Pn(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[i[3]],a={};for(let u=0;u{e=C(C({},e),X(g)),n(3,l=V(e,t)),"nested"in g&&n(0,o=g.nested),"native"in g&&n(1,a=g.native),"expressive"in g&&n(2,u=g.expressive),"$$scope"in g&&n(4,s=g.$$scope)},[o,a,u,l,s,r,f,_,h,c]}class St extends W{constructor(e){super(),Y(this,e,Hn,Pn,Z,{nested:0,native:1,expressive:2})}}function Tn(i){let e,n,t,l;const r=i[4].default,s=$(r,i,i[3],null);let o=[i[2]],a={};for(let u=0;u{e=C(C({},e),X(c)),n(2,l=V(e,t)),"nested"in c&&n(0,o=c.nested),"expressive"in c&&n(1,a=c.expressive),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class Zt extends W{constructor(e){super(),Y(this,e,Rn,Tn,Z,{nested:0,expressive:1})}}function Vn(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Sn(i){let e,n,t;var l=i[1];function r(s,o){return{props:{class:"markdown-list-style",style:`counter-reset: item ${Number(s[0])-1}`,$$slots:{default:[Vn]},$$scope:{ctx:s}}}}return l&&(e=Ce(l,r(i))),{c(){e&&q(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&j(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&2&&l!==(l=s[1])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{F(a,1)}),de()}l?(e=Ce(l,r(s)),q(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}else if(l){const a={};o&1&&(a.style=`counter-reset: item ${Number(s[0])-1}`),o&16&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&F(e,s)}}}function Zn(i,e,n){let{$$slots:t={},$$scope:l}=e,{start:r=1}=e,{ordered:s=!1}=e,o;return i.$$set=a=>{"start"in a&&n(0,r=a.start),"ordered"in a&&n(2,s=a.ordered),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&n(1,o=s?St:Zt)},[r,o,s,t,l]}class Wn extends W{constructor(e){super(),Y(this,e,Zn,Sn,Z,{start:0,ordered:2})}}function ft(i,e,n){const t=i.slice();return t[4]=e[n],t}function ct(i){let e,n;return e=new Ot({props:{token:{...i[4]},options:i[1],renderers:i[2]}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.token={...t[4]}),l&2&&(r.options=t[1]),l&4&&(r.renderers=t[2]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function Yn(i){let e,n,t=we(i[0].items),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},i.$$.update=()=>{i.$$.dirty&1&&t.ordered},[t,l,r]}class jn extends W{constructor(e){super(),Y(this,e,qn,Un,Z,{token:0,options:1,renderers:2})}}function Fn(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class Gn extends W{constructor(e){super(),Y(this,e,On,Fn,Z,{})}}function Jn(i){let e;const n=i[0].default,t=$(n,i,i[1],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&2)&&ee(t,n,l,l[1],e?le(n,l[1],r,null):te(l[1]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Kn(i){let e,n;return e=new Gn({props:{class:"markdown-list-item",$$slots:{default:[Jn]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function Qn(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(1,l=r.$$scope)},[t,l]}class Xn extends W{constructor(e){super(),Y(this,e,Qn,Kn,Z,{})}}function yn(i){let e;return{c(){e=re(i[1])},l(n){e=oe(n,i[1])},m(n,t){E(n,e,t)},p(n,t){t&2&&me(e,n[1])},d(n){n&&m(e)}}}function xn(i){let e,n,t,l,r,s;const o=i[15].default,a=$(o,i,i[14],null),u=a||yn(i);let f=[{tabindex:"-1"},{role:"presentation"},i[12]],_={};for(let h=0;hn(13,s=v)),Me(i,S,v=>n(7,o=v)),I({id:g,label:f,disabled:h});function K(v){A.call(this,i,v)}function Q(v){A.call(this,i,v)}function _e(v){A.call(this,i,v)}function T(v){A.call(this,i,v)}function ne(v){Ye[v?"unshift":"push"](()=>{w=v,n(0,w)})}const ke=()=>{h||D(g)},ge=({key:v})=>{h||(v==="ArrowRight"?B(1):v==="ArrowLeft"?B(-1):(v===" "||v==="Enter")&&D(g))};return i.$$set=v=>{e=C(C({},e),X(v)),n(12,r=V(e,l)),"label"in v&&n(1,f=v.label),"href"in v&&n(2,_=v.href),"disabled"in v&&n(3,h=v.disabled),"tabindex"in v&&n(4,c=v.tabindex),"id"in v&&n(5,g=v.id),"ref"in v&&n(0,w=v.ref),"$$scope"in v&&n(14,u=v.$$scope)},i.$$.update=()=>{i.$$.dirty&8224&&n(6,t=s===g)},[w,f,_,h,c,g,t,o,R,S,D,B,r,s,u,a,K,Q,_e,T,ne,ke,ge]}class ei extends W{constructor(e){super(),Y(this,e,$n,xn,Z,{label:1,href:2,disabled:3,tabindex:4,id:5,ref:0})}}function ti(i){let e,n,t,l;const r=i[12].default,s=$(r,i,i[11],null);let o=[{role:"tabpanel"},{"aria-labelledby":i[1]},{"aria-hidden":n=!i[2]},{hidden:t=i[2]?void 0:""},{id:i[0]},i[6]],a={};for(let u=0;un(10,f=I)),Me(i,R,I=>n(8,a=I)),Me(i,S,I=>n(9,u=I)),w({id:c}),i.$$set=I=>{e=C(C({},e),X(I)),n(6,o=V(e,s)),"id"in I&&n(0,c=I.id),"$$scope"in I&&n(11,h=I.$$scope)},i.$$.update=()=>{i.$$.dirty&1025&&n(2,t=f===c),i.$$.dirty&513&&n(7,l=u[c].index),i.$$.dirty&384&&n(1,r=a[l].id)},[c,r,t,g,R,S,o,l,a,u,f,h,_]}class ni extends W{constructor(e){super(),Y(this,e,li,ti,Z,{id:0})}}const ii=i=>({}),dt=i=>({});function ht(i){let e=i[3].label+"",n;return{c(){n=re(e)},l(t){n=oe(t,e)},m(t,l){E(t,n,l)},p(t,l){l[0]&8&&e!==(e=t[3].label+"")&&me(n,e)},d(t){t&&m(n)}}}function si(i){let e,n,t,l,r,s,o,a,u,f,_,h,c=i[3]&&ht(i);r=new Ft({props:{"aria-hidden":"true",title:i[1]}});const g=i[20].default,w=$(g,i,i[19],null);let R=[{role:"navigation"},i[10]],S={};for(let B=0;Bn(18,u=U));const B=je(D,U=>U.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{}));Me(i,B,U=>n(28,f=U));const K=Ne(w),Q=Ne(void 0);Me(i,Q,U=>n(16,o=U));const _e=Ne([]);Me(i,_e,U=>n(17,a=U));const T=je(_e,U=>U.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{})),ne=Ne(void 0);let ke=null;Lt("Tabs",{tabs:D,contentById:T,selectedTab:Q,selectedContent:ne,useAutoWidth:K,add:U=>{D.update(ae=>[...ae,{...U,index:ae.length}])},addContent:U=>{_e.update(ae=>[...ae,{...U,index:ae.length}])},update:U=>{n(14,v=f[U].index)},change:async U=>{let ae=v+U;ae<0?ae=u.length-1:ae>=u.length&&(ae=0);let ze=u[ae].disabled;for(;ze;)ae=ae+U,ae<0?ae=u.length-1:ae>=u.length&&(ae=0),ze=u[ae].disabled;n(14,v=ae),await Yt();const Te=ke==null?void 0:ke.querySelectorAll("[role='tab']")[v];Te==null||Te.focus()}}),Ut(()=>{n(12,c=v),J>-1&&J!==v&&I("change",v),J=v});let ge=!0,v=c,J=-1;function pe(U){A.call(this,i,U)}function Ee(U){A.call(this,i,U)}const Ae=()=>{n(5,ge=!ge)},De=()=>{n(5,ge=!ge)},He=()=>{n(5,ge=!ge)};function H(U){Ye[U?"unshift":"push"](()=>{ke=U,n(4,ke)})}return i.$$set=U=>{n(11,e=C(C({},e),X(U))),n(10,s=V(e,r)),"selected"in U&&n(12,c=U.selected),"type"in U&&n(0,g=U.type),"autoWidth"in U&&n(13,w=U.autoWidth),"iconDescription"in U&&n(1,R=U.iconDescription),"triggerHref"in U&&n(2,S=U.triggerHref),"$$scope"in U&&n(19,h=U.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&4096&&n(14,v=c),i.$$.dirty[0]&278528&&n(3,t=u[v]||void 0),i.$$.dirty[0]&147456&&n(15,l=a[v]||void 0),i.$$.dirty[0]&32776&&(t&&Q.set(t.id),l&&ne.set(l.id)),i.$$.dirty[0]&65536&&o&&n(5,ge=!0),i.$$.dirty[0]&8192&&K.set(w)},e=X(e),[g,R,S,t,ke,ge,D,B,Q,_e,s,e,c,w,v,l,o,a,u,h,_,pe,Ee,Ae,De,He,H]}class oi extends W{constructor(e){super(),Y(this,e,ri,si,Z,{selected:12,type:0,autoWidth:13,iconDescription:1,triggerHref:2},null,[-1,-1])}}function mt(i,e,n){const t=i.slice();return t[3]=e[n],t}function _t(i,e,n){const t=i.slice();return t[3]=e[n],t}function gt(i){let e,n;return e=new ei({props:{label:i[3].title}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.label=t[3].title),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function ai(i){let e,n,t=we(i[0].tabs),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class hi extends W{constructor(e){super(),Y(this,e,di,ci,Z,{token:0,options:1,renderers:2})}}function mi(i){let e,n,t,l=[i[1]],r={};for(let s=0;s{e=C(C({},e),X(f)),n(1,l=V(e,t)),"size"in f&&n(0,r=f.size)},[r,l,s,o,a,u]}class gi extends W{constructor(e){super(),Y(this,e,_i,mi,Z,{size:0})}}const bi=i=>({}),vt=i=>({}),vi=i=>({}),kt=i=>({}),ki=i=>({}),wt=i=>({props:{class:"bx--tag__label"}});function wi(i){let e,n,t,l,r,s,o=(i[11].icon||i[7])&&pt(i);const a=i[13].default,u=$(a,i,i[12],null);let f=[{id:i[8]},i[10]],_={};for(let h=0;h{o=null}),de()),u&&u.p&&(!l||c&4096)&&ee(u,a,h,h[12],l?le(a,h[12],c,null):te(h[12]),null),O(e,_=se(f,[(!l||c&256)&&{id:h[8]},c&1024&&h[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",h[3]),d(e,"bx--tag--sm",h[1]==="sm"),d(e,"bx--tag--red",h[0]==="red"),d(e,"bx--tag--magenta",h[0]==="magenta"),d(e,"bx--tag--purple",h[0]==="purple"),d(e,"bx--tag--blue",h[0]==="blue"),d(e,"bx--tag--cyan",h[0]==="cyan"),d(e,"bx--tag--teal",h[0]==="teal"),d(e,"bx--tag--green",h[0]==="green"),d(e,"bx--tag--gray",h[0]==="gray"),d(e,"bx--tag--cool-gray",h[0]==="cool-gray"),d(e,"bx--tag--warm-gray",h[0]==="warm-gray"),d(e,"bx--tag--high-contrast",h[0]==="high-contrast"),d(e,"bx--tag--outline",h[0]==="outline")},i(h){l||(b(o),b(u,h),l=!0)},o(h){k(o),k(u,h),l=!1},d(h){h&&m(e),o&&o.d(),u&&u.d(h),r=!1,be(s)}}}function pi(i){let e,n,t,l,r,s,o,a=(i[11].icon||i[7])&&Et(i);const u=i[13].default,f=$(u,i,i[12],null);let _=[{type:"button"},{id:i[8]},{disabled:i[3]},{"aria-disabled":i[3]},{tabindex:l=i[3]?"-1":void 0},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=L("button"),a&&a.c(),n=ue(),t=L("span"),f&&f.c(),this.h()},l(c){e=P(c,"BUTTON",{type:!0,id:!0,"aria-disabled":!0,tabindex:!0});var g=p(e);a&&a.l(g),n=fe(g),t=P(g,"SPAN",{});var w=p(t);f&&f.l(w),w.forEach(m),g.forEach(m),this.h()},h(){O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),a&&a.m(e,null),N(e,n),N(e,t),f&&f.m(t,null),e.autofocus&&e.focus(),r=!0,s||(o=[z(e,"click",i[18]),z(e,"mouseover",i[19]),z(e,"mouseenter",i[20]),z(e,"mouseleave",i[21])],s=!0)},p(c,g){c[11].icon||c[7]?a?(a.p(c,g),g&2176&&b(a,1)):(a=Et(c),a.c(),b(a,1),a.m(e,n)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f&&f.p&&(!r||g&4096)&&ee(f,u,c,c[12],r?le(u,c[12],g,null):te(c[12]),null),O(e,h=se(_,[{type:"button"},(!r||g&256)&&{id:c[8]},(!r||g&8)&&{disabled:c[3]},(!r||g&8)&&{"aria-disabled":c[3]},(!r||g&8&&l!==(l=c[3]?"-1":void 0))&&{tabindex:l},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(a),b(f,c),r=!0)},o(c){k(a),k(f,c),r=!1},d(c){c&&m(e),a&&a.d(),f&&f.d(c),s=!1,be(o)}}}function Ei(i){let e,n,t,l,r,s,o;const a=i[13].default,u=$(a,i,i[12],wt),f=u||Bi(i);l=new Ht({});let _=[{"aria-label":i[6]},{id:i[8]},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=L("div"),f&&f.c(),n=ue(),t=L("button"),q(l.$$.fragment),this.h()},l(c){e=P(c,"DIV",{"aria-label":!0,id:!0});var g=p(e);f&&f.l(g),n=fe(g),t=P(g,"BUTTON",{type:!0,"aria-labelledby":!0,title:!0});var w=p(t);G(l.$$.fragment,w),w.forEach(m),g.forEach(m),this.h()},h(){M(t,"type","button"),M(t,"aria-labelledby",i[8]),t.disabled=i[3],M(t,"title",i[6]),d(t,"bx--tag__close-icon",!0),O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--filter",i[2]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),f&&f.m(e,null),N(e,n),N(e,t),j(l,t,null),r=!0,s||(o=[z(t,"click",Se(i[14])),z(t,"click",Se(i[30])),z(t,"mouseover",i[15]),z(t,"mouseenter",i[16]),z(t,"mouseleave",i[17])],s=!0)},p(c,g){u?u.p&&(!r||g&4096)&&ee(u,a,c,c[12],r?le(a,c[12],g,ki):te(c[12]),wt):f&&f.p&&(!r||g&1)&&f.p(c,r?g:-1),(!r||g&256)&&M(t,"aria-labelledby",c[8]),(!r||g&8)&&(t.disabled=c[3]),(!r||g&64)&&M(t,"title",c[6]),O(e,h=se(_,[(!r||g&64)&&{"aria-label":c[6]},(!r||g&256)&&{id:c[8]},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--filter",c[2]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(f,c),b(l.$$.fragment,c),r=!0)},o(c){k(f,c),k(l.$$.fragment,c),r=!1},d(c){c&&m(e),f&&f.d(c),F(l),s=!1,be(o)}}}function Mi(i){let e,n;const t=[{size:i[1]},i[10]];let l={};for(let r=0;r{F(a,1)}),de()}l?(e=Ce(l,r()),q(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&F(e,s)}}}function Et(i){let e,n;const t=i[13].icon,l=$(t,i,i[12],kt),r=l||zi(i);return{c(){e=L("div"),r&&r.c(),this.h()},l(s){e=P(s,"DIV",{});var o=p(e);r&&r.l(o),o.forEach(m),this.h()},h(){d(e,"bx--tag__custom-icon",!0)},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,o){l?l.p&&(!n||o&4096)&&ee(l,t,s,s[12],n?le(t,s[12],o,vi):te(s[12]),kt):r&&r.p&&(!n||o&128)&&r.p(s,n?o:-1)},i(s){n||(b(r,s),n=!0)},o(s){k(r,s),n=!1},d(s){s&&m(e),r&&r.d(s)}}}function zi(i){let e,n,t;var l=i[7];function r(s,o){return{}}return l&&(e=Ce(l,r())),{c(){e&&q(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&j(e,s,o),E(s,n,o),t=!0},p(s,o){if(o&128&&l!==(l=s[7])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{F(a,1)}),de()}l?(e=Ce(l,r()),q(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&F(e,s)}}}function Bi(i){let e,n;return{c(){e=L("span"),n=re(i[0]),this.h()},l(t){e=P(t,"SPAN",{});var l=p(e);n=oe(l,i[0]),l.forEach(m),this.h()},h(){d(e,"bx--tag__label",!0)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&1&&me(n,t[0])},d(t){t&&m(e)}}}function Ai(i){let e,n,t,l;const r=[Mi,Ei,pi,wi],s=[];function o(a,u){return a[5]?0:a[2]?1:a[4]?2:3}return e=o(i),n=s[e]=r[e](i),{c(){n.c(),t=ie()},l(a){n.l(a),t=ie()},m(a,u){s[e].m(a,u),E(a,t,u),l=!0},p(a,[u]){let f=e;e=o(a),e===f?s[e].p(a,u):(ce(),k(s[f],1,1,()=>{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function Di(i,e,n){const t=["type","size","filter","disabled","interactive","skeleton","title","icon","id"];let l=V(e,t),{$$slots:r={},$$scope:s}=e;const o=qt(r);let{type:a=void 0}=e,{size:u="default"}=e,{filter:f=!1}=e,{disabled:_=!1}=e,{interactive:h=!1}=e,{skeleton:c=!1}=e,{title:g="Clear filter"}=e,{icon:w=void 0}=e,{id:R="ccs-"+Math.random().toString(36)}=e;const S=Pe();function I(H){A.call(this,i,H)}function D(H){A.call(this,i,H)}function B(H){A.call(this,i,H)}function K(H){A.call(this,i,H)}function Q(H){A.call(this,i,H)}function _e(H){A.call(this,i,H)}function T(H){A.call(this,i,H)}function ne(H){A.call(this,i,H)}function ke(H){A.call(this,i,H)}function ge(H){A.call(this,i,H)}function v(H){A.call(this,i,H)}function J(H){A.call(this,i,H)}function pe(H){A.call(this,i,H)}function Ee(H){A.call(this,i,H)}function Ae(H){A.call(this,i,H)}function De(H){A.call(this,i,H)}const He=()=>{S("close")};return i.$$set=H=>{e=C(C({},e),X(H)),n(10,l=V(e,t)),"type"in H&&n(0,a=H.type),"size"in H&&n(1,u=H.size),"filter"in H&&n(2,f=H.filter),"disabled"in H&&n(3,_=H.disabled),"interactive"in H&&n(4,h=H.interactive),"skeleton"in H&&n(5,c=H.skeleton),"title"in H&&n(6,g=H.title),"icon"in H&&n(7,w=H.icon),"id"in H&&n(8,R=H.id),"$$scope"in H&&n(12,s=H.$$scope)},[a,u,f,_,h,c,g,w,R,S,l,o,s,r,I,D,B,K,Q,_e,T,ne,ke,ge,v,J,pe,Ee,Ae,De,He]}class Ni extends W{constructor(e){super(),Y(this,e,Di,Ai,Z,{type:0,size:1,filter:2,disabled:3,interactive:4,skeleton:5,title:6,icon:7,id:8})}}function Mt(i,e,n){const t=i.slice();return t[1]=e[n],t[3]=n,t}function Ii(i){let e=i[1].name+"",n,t;return{c(){n=re(e),t=ue()},l(l){n=oe(l,e),t=fe(l)},m(l,r){E(l,n,r),E(l,t,r)},p(l,r){r&1&&e!==(e=l[1].name+"")&&me(n,e)},d(l){l&&(m(n),m(t))}}}function Ct(i){let e,n;return e=new Ni({props:{type:i[0].colors[i[3]%i[0].colors.length],$$slots:{default:[Ii]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.type=t[0].colors[t[3]%t[0].colors.length]),l&17&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function Li(i){let e,n,t=we(i[0].tags),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){e=L("div");for(let s=0;s{"token"in l&&n(0,t=l.token)},[t]}class Hi extends W{constructor(e){super(),Y(this,e,Pi,Li,Z,{token:0})}}function Re(i){let e,n;const t=i[3].default,l=$(t,i,i[2],null);let r=[{id:i[0]},{class:"header header-base svelte-1jlumb"}],s={};for(let o=0;o1&&zt(i);return{c(){e=L("div"),r&&r.c(),t=ue(),s&&s.c(),this.h()},l(o){e=P(o,"DIV",{class:!0});var a=p(e);r&&r.l(a),t=fe(a),s&&s.l(a),a.forEach(m),this.h()},h(){M(e,"class","parent svelte-1jlumb")},m(o,a){E(o,e,a),r&&r.m(e,null),N(e,t),s&&s.m(e,null),l=!0},p(o,[a]){`h${o[1]}`?n?Z(n,`h${o[1]}`)?(r.d(1),r=Re(o),n=`h${o[1]}`,r.c(),r.m(e,t)):r.p(o,a):(r=Re(o),n=`h${o[1]}`,r.c(),r.m(e,t)):n&&(r.d(1),r=null,n=`h${o[1]}`),o[1]>1?s?s.p(o,a):(s=zt(o),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i(o){l||(b(r,o),l=!0)},o(o){k(r,o),l=!1},d(o){o&&m(e),r&&r.d(o),s&&s.d()}}}function Ri(i,e,n){let{$$slots:t={},$$scope:l}=e,{id:r}=e,{depth:s}=e;return i.$$set=o=>{"id"in o&&n(0,r=o.id),"depth"in o&&n(1,s=o.depth),"$$scope"in o&&n(2,l=o.$$scope)},[r,s,l,t]}class Vi extends W{constructor(e){super(),Y(this,e,Ri,Ti,Z,{id:0,depth:1})}}function Si(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Zi(i){let e,n;return e=new Vi({props:{id:i[1],depth:i[0].depth,$$slots:{default:[Si]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.id=t[1]),l&1&&(r.depth=t[0].depth),l&16&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function Wi(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e,o;return i.$$set=a=>{"token"in a&&n(0,r=a.token),"options"in a&&n(2,s=a.options),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&5&&n(1,o=We.generatePathSegment(r.text,s.slugger))},[r,o,s,t,l]}class Yi extends W{constructor(e){super(),Y(this,e,Wi,Zi,Z,{token:0,options:2})}}function Bt(i){let e,n;return e=new Kt({props:{source:i[0],renderers:{heading:Yi,code:rl,codespan:hl,blockquote:xl,link:ln,paragraph:rn,table:Ln,list:jn,list_item:Xn,tabs:hi,notification:Tt,tags:Hi},options:{baseUrl:i[1]}}}),{c(){q(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.source=t[0]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){F(e,t)}}}function Ui(i){let e,n,t=i[0]&&Bt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&b(t,1)):(t=Bt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function qi(i,e,n){let{source:t}=e;const l=Jt();return i.$$set=r=>{"source"in r&&n(0,t=r.source)},[t,l]}class Xi extends W{constructor(e){super(),Y(this,e,qi,Ui,Z,{source:0})}}function At(i){let e,n,t,l,r,s,o,a,u,f=i[0].previous.title+"",_,h,c,g=i[0].previous.section&&i[0].previous.section!==i[0].section&&Dt(i);return o=new el({props:{class:"previous-next-arrow",size:20}}),{c(){e=L("div"),n=L("strong"),t=re(`Previous + + `),g&&g.c(),l=ue(),r=L("a"),s=L("span"),q(o.$$.fragment),a=ue(),u=L("p"),_=re(f),this.h()},l(w){e=P(w,"DIV",{class:!0});var R=p(e);n=P(R,"STRONG",{});var S=p(n);t=oe(S,`Previous + + `),g&&g.l(S),S.forEach(m),R.forEach(m),l=fe(w),r=P(w,"A",{href:!0,class:!0});var I=p(r);s=P(I,"SPAN",{});var D=p(s);G(o.$$.fragment,D),D.forEach(m),a=fe(I),u=P(I,"P",{});var B=p(u);_=oe(B,f),B.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].previous.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),j(o,s,null),N(r,a),N(r,u),N(u,_),c=!0},p(w,R){w[0].previous.section&&w[0].previous.section!==w[0].section?g?g.p(w,R):(g=Dt(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&f!==(f=w[0].previous.title+"")&&me(_,f),(!c||R&1&&h!==(h=w[0].previous.href))&&M(r,"href",h)},i(w){c||(b(o.$$.fragment,w),c=!0)},o(w){k(o.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),F(o)}}}function Dt(i){let e,n=i[0].previous.section+"",t;return{c(){e=re("- "),t=re(n)},l(l){e=oe(l,"- "),t=oe(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].previous.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function Nt(i){let e,n,t,l,r,s,o=i[0].next.title+"",a,u,f,_,h,c,g=i[0].next.section&&i[0].next.section!==i[0].section&&It(i);return _=new nl({props:{class:"previous-next-arrow",size:20}}),{c(){e=L("div"),n=L("strong"),t=re(`Next + `),g&&g.c(),l=ue(),r=L("a"),s=L("p"),a=re(o),u=ue(),f=L("span"),q(_.$$.fragment),this.h()},l(w){e=P(w,"DIV",{class:!0});var R=p(e);n=P(R,"STRONG",{});var S=p(n);t=oe(S,`Next + `),g&&g.l(S),S.forEach(m),R.forEach(m),l=fe(w),r=P(w,"A",{href:!0,class:!0});var I=p(r);s=P(I,"P",{});var D=p(s);a=oe(D,o),D.forEach(m),u=fe(I),f=P(I,"SPAN",{});var B=p(f);G(_.$$.fragment,B),B.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].next.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),N(s,a),N(r,u),N(r,f),j(_,f,null),c=!0},p(w,R){w[0].next.section&&w[0].next.section!==w[0].section?g?g.p(w,R):(g=It(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&o!==(o=w[0].next.title+"")&&me(a,o),(!c||R&1&&h!==(h=w[0].next.href))&&M(r,"href",h)},i(w){c||(b(_.$$.fragment,w),c=!0)},o(w){k(_.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),F(_)}}}function It(i){let e,n=i[0].next.section+"",t;return{c(){e=re("- "),t=re(n)},l(l){e=oe(l,"- "),t=oe(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].next.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function ji(i){let e,n,t,l,r,s,o,a=i[0].previous&&At(i),u=i[0].next&&Nt(i);return{c(){e=L("hr"),n=ue(),t=L("div"),l=L("div"),a&&a.c(),r=ue(),s=L("div"),u&&u.c(),this.h()},l(f){e=P(f,"HR",{class:!0}),n=fe(f),t=P(f,"DIV",{class:!0});var _=p(t);l=P(_,"DIV",{class:!0});var h=p(l);a&&a.l(h),h.forEach(m),r=fe(_),s=P(_,"DIV",{class:!0});var c=p(s);u&&u.l(c),c.forEach(m),_.forEach(m),this.h()},h(){M(e,"class","footer-hr svelte-19tre3a"),M(l,"class","previous direction-wrapper svelte-19tre3a"),M(s,"class","next direction-wrapper svelte-19tre3a"),M(t,"class","wrapper svelte-19tre3a")},m(f,_){E(f,e,_),E(f,n,_),E(f,t,_),N(t,l),a&&a.m(l,null),N(t,r),N(t,s),u&&u.m(s,null),o=!0},p(f,[_]){f[0].previous?a?(a.p(f,_),_&1&&b(a,1)):(a=At(f),a.c(),b(a,1),a.m(l,null)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f[0].next?u?(u.p(f,_),_&1&&b(u,1)):(u=Nt(f),u.c(),b(u,1),u.m(s,null)):u&&(ce(),k(u,1,1,()=>{u=null}),de())},i(f){o||(b(a),b(u),o=!0)},o(f){k(a),k(u),o=!1},d(f){f&&(m(e),m(n),m(t)),a&&a.d(),u&&u.d()}}}function Fi(i,e,n){let{page:t}=e;return i.$$set=l=>{"page"in l&&n(0,t=l.page)},[t]}class yi extends W{constructor(e){super(),Y(this,e,Fi,ji,Z,{page:0})}}export{Vi as A,Xi as C,Ol as I,Gn as L,yi as P,un as S,Ni as T,dn as a,Vt as b,Rt as c,Wn as d,yt as e,oi as f,ei as g,ni as h}; diff --git a/public/docs/_app/immutable/chunks/PreviousNextPage.DyKSPTRc.js b/public/docs/_app/immutable/chunks/PreviousNextPage.DyKSPTRc.js deleted file mode 100644 index 5c09d07..0000000 --- a/public/docs/_app/immutable/chunks/PreviousNextPage.DyKSPTRc.js +++ /dev/null @@ -1,9 +0,0 @@ -import{s as W,e as L,t as re,f as P,g as p,j as oe,d as m,k as M,L as Ie,z as d,l as E,m as N,n as he,D as Ue,v as C,a4 as y,a5 as x,a6 as ve,u as S,w as X,o as me,E as $,F as ee,G as te,H as le,I as Ce,q as ie,y as O,A as z,r as be,x as A,a1 as Pe,K as Zt,b as ue,c as fe,p as Me,aa as Lt,a2 as Be,ab as Le,C as Pt,ac as Ve,M as Ut,J as Yt,B as Ft,ad as We}from"./scheduler.Eaj42bxH.js";import{S as Z,i as U,c as F,a as G,m as q,t as b,b as k,d as j,g as ce,e as de}from"./index.CMSEJhCx.js";import{P as Fe,C as Tt,L as qt,a as jt}from"./ChevronDown.BMDCihU_.js";import{l as se,u as Ze,y as we,P as Ye,Q as Ot,m as Gt,j as Jt,S as Kt}from"./pages.DBBWeKUc.js";import{w as Ne,d as qe}from"./index.Cx9QXIn7.js";function Qt(i){let e,n,t,l,r;return{c(){e=L("div"),n=L("pre"),t=re(" "),l=L("code"),r=re(` - `),this.h()},l(s){e=P(s,"DIV",{});var o=p(e);n=P(o,"PRE",{class:!0,style:!0});var a=p(n);t=oe(a," "),l=P(a,"CODE",{}),p(l).forEach(m),r=oe(a,` - `),a.forEach(m),o.forEach(m),this.h()},h(){M(n,"class","prism--code-container"),Ie(n,"--min-height",i[2]),Ie(n,"--max-height",i[3]),d(n,"line-numbers",i[0]),d(e,"prism--show-copy-button",i[1]),d(e,"prism--hide-copy-button",!i[1])},m(s,o){E(s,e,o),N(e,n),N(n,t),N(n,l),i[7](l),N(n,r)},p(s,[o]){o&4&&Ie(n,"--min-height",s[2]),o&8&&Ie(n,"--max-height",s[3]),o&1&&d(n,"line-numbers",s[0]),o&2&&d(e,"prism--show-copy-button",s[1]),o&2&&d(e,"prism--hide-copy-button",!s[1])},i:he,o:he,d(s){s&&m(e),i[7](null)}}}function Xt(i,e,n){let{language:t}=e,{source:l}=e,{showLineNumbers:r=!1}=e,{showCopyButton:s=!1}=e,{minHeight:o=void 0}=e,{maxHeight:a=void 0}=e,u;function f(h,c,g){h.textContent=g,h.classList.forEach(w=>h.classList.remove(w)),c&&(h.classList.add(`language-${c}`),h.classList.add("prism--code")),Fe.highlightElement(h)}function _(h){Ue[h?"unshift":"push"](()=>{u=h,n(4,u)})}return i.$$set=h=>{"language"in h&&n(5,t=h.language),"source"in h&&n(6,l=h.source),"showLineNumbers"in h&&n(0,r=h.showLineNumbers),"showCopyButton"in h&&n(1,s=h.showCopyButton),"minHeight"in h&&n(2,o=h.minHeight),"maxHeight"in h&&n(3,a=h.maxHeight)},i.$$.update=()=>{i.$$.dirty&112&&u&&Fe&&f(u,t,l)},[r,s,o,a,u,t,l,_]}class yt extends Z{constructor(e){super(),U(this,e,Xt,Qt,W,{language:5,source:6,showLineNumbers:0,showCopyButton:1,minHeight:2,maxHeight:3})}}function je(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function xt(i){let e,n,t=i[1]&&je(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class el extends Z{constructor(e){super(),U(this,e,$t,xt,W,{size:0,title:1})}}function Oe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function tl(i){let e,n,t=i[1]&&Oe(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class nl extends Z{constructor(e){super(),U(this,e,ll,tl,W,{size:0,title:1})}}function il(i){let e,n;return e=new yt({props:{language:i[2].lang||"plain",source:i[2].text,showCopyButton:i[0],showLineNumbers:i[1]}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&4&&(r.language=t[2].lang||"plain"),l&4&&(r.source=t[2].text),l&1&&(r.showCopyButton=t[0]),l&2&&(r.showLineNumbers=t[1]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function sl(i,e,n){let{showCopyButton:t=!0}=e,{showLineNumbers:l=!0}=e,{token:r}=e;return i.$$set=s=>{"showCopyButton"in s&&n(0,t=s.showCopyButton),"showLineNumbers"in s&&n(1,l=s.showLineNumbers),"token"in s&&n(2,r=s.token)},[t,l,r]}class rl extends Z{constructor(e){super(),U(this,e,sl,il,W,{showCopyButton:0,showLineNumbers:1,token:2})}}function ol(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=L("code"),l&&l.c(),this.h()},l(r){e=P(r,"CODE",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","code-span svelte-1292o4f")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function al(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class ul extends Z{constructor(e){super(),U(this,e,al,ol,W,{})}}function fl(i){let e=i[0].raw.slice(1,i[0].raw.length-1)+"",n;return{c(){n=re(e)},l(t){n=oe(t,e)},m(t,l){E(t,n,l)},p(t,l){l&1&&e!==(e=t[0].raw.slice(1,t[0].raw.length-1)+"")&&me(n,e)},d(t){t&&m(n)}}}function cl(i){let e,n;return e=new ul({props:{$$slots:{default:[fl]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function dl(i,e,n){let{token:t}=e;return i.$$set=l=>{"token"in l&&n(0,t=l.token)},[t]}class hl extends Z{constructor(e){super(),U(this,e,dl,cl,W,{token:0})}}function Ge(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function ml(i){let e,n,t,l=i[1]&&Ge(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class gl extends Z{constructor(e){super(),U(this,e,_l,ml,W,{size:0,title:1})}}const bl=gl;function Je(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function vl(i){let e,n,t,l=i[1]&&Je(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class wl extends Z{constructor(e){super(),U(this,e,kl,vl,W,{size:0,title:1})}}const pl=wl;function Ke(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function El(i){let e,n,t,l=i[1]&&Ke(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Cl extends Z{constructor(e){super(),U(this,e,Ml,El,W,{size:0,title:1})}}const zl=Cl;function Qe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Bl(i){let e,n,t,l=i[1]&&Qe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Dl extends Z{constructor(e){super(),U(this,e,Al,Bl,W,{size:0,title:1})}}const Nl=Dl;function Xe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Il(i){let e,n,t,l=i[1]&&Xe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Pl extends Z{constructor(e){super(),U(this,e,Ll,Il,W,{size:0,title:1})}}const Tl=Pl;function ye(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Hl(i){let e,n,t,l,r=i[1]&&ye(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],o={};for(let a=0;a{n(5,e=C(C({},e),X(u))),n(3,s=S(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Sl extends Z{constructor(e){super(),U(this,e,Rl,Hl,W,{size:0,title:1})}}const Vl=Sl;function Wl(i){let e,n,t;var l=i[3][i[0]];function r(s,o){return{props:{size:20,title:s[2],class:(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")}}}return l&&(e=Ce(l,r(i))),{c(){e&&F(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&q(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&1&&l!==(l=s[3][s[0]])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Ce(l,r(s)),F(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}else if(l){const a={};o&4&&(a.title=s[2]),o&2&&(a.class=(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function Zl(i,e,n){let{kind:t="error"}=e,{notificationType:l="toast"}=e,{iconDescription:r}=e;const s={error:pl,"info-square":Nl,info:zl,success:bl,warning:Tl,"warning-alt":Vl};return i.$$set=o=>{"kind"in o&&n(0,t=o.kind),"notificationType"in o&&n(1,l=o.notificationType),"iconDescription"in o&&n(2,r=o.iconDescription)},[t,l,r,s]}class Ul extends Z{constructor(e){super(),U(this,e,Zl,Wl,W,{kind:0,notificationType:1,iconDescription:2})}}const Yl=Ul;function Fl(i){let e,n,t,l,r;var s=i[1];function o(f,_){return{props:{size:20,title:f[2],class:(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")}}}s&&(n=Ce(s,o(i)));let a=[{type:"button"},{"aria-label":i[3]},{title:i[3]},i[4]],u={};for(let f=0;f{j(h,1)}),de()}s?(n=Ce(s,o(f)),F(n.$$.fragment),b(n.$$.fragment,1),q(n,e,null)):n=null}else if(s){const h={};_&4&&(h.title=f[2]),_&1&&(h.class=(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")),n.$set(h)}O(e,u=se(a,[{type:"button"},(!t||_&8)&&{"aria-label":f[3]},(!t||_&8)&&{title:f[3]},_&16&&f[4]])),d(e,"bx--toast-notification__close-button",f[0]==="toast"),d(e,"bx--inline-notification__close-button",f[0]==="inline")},i(f){t||(n&&b(n.$$.fragment,f),t=!0)},o(f){n&&k(n.$$.fragment,f),t=!1},d(f){f&&m(e),n&&j(n),l=!1,be(r)}}}function ql(i,e,n){const t=["notificationType","icon","title","iconDescription"];let l=S(e,t),{notificationType:r="toast"}=e,{icon:s=Tt}=e,{title:o=void 0}=e,{iconDescription:a="Close icon"}=e;function u(c){A.call(this,i,c)}function f(c){A.call(this,i,c)}function _(c){A.call(this,i,c)}function h(c){A.call(this,i,c)}return i.$$set=c=>{e=C(C({},e),X(c)),n(4,l=S(e,t)),"notificationType"in c&&n(0,r=c.notificationType),"icon"in c&&n(1,s=c.icon),"title"in c&&n(2,o=c.title),"iconDescription"in c&&n(3,a=c.iconDescription)},[r,s,o,a,l,u,f,_,h]}class jl extends Z{constructor(e){super(),U(this,e,ql,Fl,W,{notificationType:0,icon:1,title:2,iconDescription:3})}}const Ol=jl,Gl=i=>({}),xe=i=>({}),Jl=i=>({}),$e=i=>({}),Kl=i=>({}),et=i=>({});function tt(i){let e,n,t,l,r,s,o,a,u,f,_,h,c,g;t=new Yl({props:{notificationType:"inline",kind:i[0],iconDescription:i[6]}});const w=i[13].title,R=$(w,i,i[12],et),V=R||Ql(i),I=i[13].subtitle,D=$(I,i,i[12],$e),B=D||Xl(i),K=i[13].default,Q=$(K,i,i[12],null),_e=i[13].actions,H=$(_e,i,i[12],xe);let ne=!i[5]&<(i),ke=[{role:i[2]},{kind:i[0]},i[10]],ge={};for(let v=0;v{ne=null}),de()):ne?(ne.p(v,J),J&32&&b(ne,1)):(ne=lt(v),ne.c(),b(ne,1),ne.m(e,null)),O(e,ge=se(ke,[(!h||J&4)&&{role:v[2]},(!h||J&1)&&{kind:v[0]},J&1024&&v[10]])),d(e,"bx--inline-notification",!0),d(e,"bx--inline-notification--low-contrast",v[1]),d(e,"bx--inline-notification--hide-close-button",v[5]),d(e,"bx--inline-notification--error",v[0]==="error"),d(e,"bx--inline-notification--info",v[0]==="info"),d(e,"bx--inline-notification--info-square",v[0]==="info-square"),d(e,"bx--inline-notification--success",v[0]==="success"),d(e,"bx--inline-notification--warning",v[0]==="warning"),d(e,"bx--inline-notification--warning-alt",v[0]==="warning-alt")},i(v){h||(b(t.$$.fragment,v),b(V,v),b(B,v),b(Q,v),b(H,v),b(ne),h=!0)},o(v){k(t.$$.fragment,v),k(V,v),k(B,v),k(Q,v),k(H,v),k(ne),h=!1},d(v){v&&m(e),j(t),V&&V.d(v),B&&B.d(v),Q&&Q.d(v),H&&H.d(v),ne&&ne.d(),c=!1,be(g)}}}function Ql(i){let e;return{c(){e=re(i[3])},l(n){e=oe(n,i[3])},m(n,t){E(n,e,t)},p(n,t){t&8&&me(e,n[3])},d(n){n&&m(e)}}}function Xl(i){let e;return{c(){e=re(i[4])},l(n){e=oe(n,i[4])},m(n,t){E(n,e,t)},p(n,t){t&16&&me(e,n[4])},d(n){n&&m(e)}}}function lt(i){let e,n;return e=new Ol({props:{iconDescription:i[7],notificationType:"inline"}}),e.$on("click",i[9]),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&128&&(r.iconDescription=t[7]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function yl(i){let e,n,t=i[8]&&tt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[8]?t?(t.p(l,r),r&256&&b(t,1)):(t=tt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function xl(i,e,n){const t=["kind","lowContrast","timeout","role","title","subtitle","hideCloseButton","statusIconDescription","closeButtonDescription"];let l=S(e,t),{$$slots:r={},$$scope:s}=e,{kind:o="error"}=e,{lowContrast:a=!1}=e,{timeout:u=0}=e,{role:f="alert"}=e,{title:_=""}=e,{subtitle:h=""}=e,{hideCloseButton:c=!1}=e,{statusIconDescription:g=o+" icon"}=e,{closeButtonDescription:w="Close notification"}=e;const R=Pe();let V=!0,I;function D(H){R("close",{timeout:H===!0},{cancelable:!0})&&n(8,V=!1)}Zt(()=>(u&&(I=setTimeout(()=>D(!0),u)),()=>{clearTimeout(I)}));function B(H){A.call(this,i,H)}function K(H){A.call(this,i,H)}function Q(H){A.call(this,i,H)}function _e(H){A.call(this,i,H)}return i.$$set=H=>{e=C(C({},e),X(H)),n(10,l=S(e,t)),"kind"in H&&n(0,o=H.kind),"lowContrast"in H&&n(1,a=H.lowContrast),"timeout"in H&&n(11,u=H.timeout),"role"in H&&n(2,f=H.role),"title"in H&&n(3,_=H.title),"subtitle"in H&&n(4,h=H.subtitle),"hideCloseButton"in H&&n(5,c=H.hideCloseButton),"statusIconDescription"in H&&n(6,g=H.statusIconDescription),"closeButtonDescription"in H&&n(7,w=H.closeButtonDescription),"$$scope"in H&&n(12,s=H.$$scope)},[o,a,f,_,h,c,g,w,V,D,l,u,s,r,B,K,Q,_e]}class $l extends Z{constructor(e){super(),U(this,e,xl,yl,W,{kind:0,lowContrast:1,timeout:11,role:2,title:3,subtitle:4,hideCloseButton:5,statusIconDescription:6,closeButtonDescription:7})}}function en(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function tn(i){let e,n;return e=new $l({props:{kind:i[0].style,lowContrast:!0,hideCloseButton:!0,$$slots:{default:[en]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.kind=t[0].style),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function ln(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class Ht extends Z{constructor(e){super(),U(this,e,ln,tn,W,{token:0})}}function nn(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function sn(i){let e,n;return e=new Ht({props:{token:{type:"notification",raw:i[0].raw,style:"info",tokens:i[0].tokens},$$slots:{default:[nn]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.token={type:"notification",raw:t[0].raw,style:"info",tokens:t[0].tokens}),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function rn(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class on extends Z{constructor(e){super(),U(this,e,rn,sn,W,{token:0})}}function an(i){let e;const n=i[2].default,t=$(n,i,i[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&8)&&ee(t,n,l,l[3],e?le(n,l[3],r,null):te(l[3]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function un(i){let e,n;return e=new qt({props:{href:nt(i[0].href)?Ze.joinUrlPaths(i[1].baseUrl,i[0].href):i[0].href,title:i[0].title,$$slots:{default:[an]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.href=nt(t[0].href)?Ze.joinUrlPaths(t[1].baseUrl,t[0].href):t[0].href),l&1&&(r.title=t[0].title),l&8&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function nt(i){return i.startsWith("/")||i.startsWith("#")}function fn(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e;return i.$$set=o=>{"token"in o&&n(0,r=o.token),"options"in o&&n(1,s=o.options),"$$scope"in o&&n(3,l=o.$$scope)},[r,s,t,l]}class cn extends Z{constructor(e){super(),U(this,e,fn,un,W,{token:0,options:1})}}function dn(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=L("p"),l&&l.c(),this.h()},l(r){e=P(r,"P",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","md-paragraph svelte-uzcm98")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function hn(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class mn extends Z{constructor(e){super(),U(this,e,hn,dn,W,{})}}function _n(i){let e,n,t,l;const r=i[8].default,s=$(r,i,i[7],null);let o=[{role:"table"},i[4]],a={};for(let u=0;un(6,r=I)),Lt("StructuredListWrapper",{selectedValue:c,update:I=>{c.set(I)}});function g(I){A.call(this,i,I)}function w(I){A.call(this,i,I)}function R(I){A.call(this,i,I)}function V(I){A.call(this,i,I)}return i.$$set=I=>{e=C(C({},e),X(I)),n(4,l=S(e,t)),"selected"in I&&n(5,a=I.selected),"condensed"in I&&n(0,u=I.condensed),"flush"in I&&n(1,f=I.flush),"selection"in I&&n(2,_=I.selection),"$$scope"in I&&n(7,o=I.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&n(5,a=r),i.$$.dirty&64&&h("change",r)},[u,f,_,c,l,a,r,o,s,g,w,R,V]}class bn extends Z{constructor(e){super(),U(this,e,gn,_n,W,{selected:5,condensed:0,flush:1,selection:2})}}function vn(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=S(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class wn extends Z{constructor(e){super(),U(this,e,kn,vn,W,{})}}function pn(i){let e,n,t,l,r;const s=i[4].default,o=$(s,i,i[3],null);let a=[{role:n=i[0]?"columnheader":"cell"},i[2]],u={};for(let f=0;f{e=C(C({},e),X(c)),n(2,l=S(e,t)),"head"in c&&n(0,o=c.head),"noWrap"in c&&n(1,a=c.noWrap),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class Rt extends Z{constructor(e){super(),U(this,e,En,pn,W,{head:0,noWrap:1})}}function Mn(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=S(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class zn extends Z{constructor(e){super(),U(this,e,Cn,Mn,W,{})}}function Bn(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[{role:"row"},i[3]],a={};for(let u=0;u{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function Nn(i,e,n){const t=["head","label","tabindex"];let l=S(e,t),{$$slots:r={},$$scope:s}=e,{head:o=!1}=e,{label:a=!1}=e,{tabindex:u="0"}=e;function f(D){A.call(this,i,D)}function _(D){A.call(this,i,D)}function h(D){A.call(this,i,D)}function c(D){A.call(this,i,D)}function g(D){A.call(this,i,D)}function w(D){A.call(this,i,D)}function R(D){A.call(this,i,D)}function V(D){A.call(this,i,D)}function I(D){A.call(this,i,D)}return i.$$set=D=>{e=C(C({},e),X(D)),n(3,l=S(e,t)),"head"in D&&n(0,o=D.head),"label"in D&&n(1,a=D.label),"tabindex"in D&&n(2,u=D.tabindex),"$$scope"in D&&n(4,s=D.$$scope)},[o,a,u,l,s,r,f,_,h,c,g,w,R,V,I]}class St extends Z{constructor(e){super(),U(this,e,Nn,Dn,W,{head:0,label:1,tabindex:2})}}function it(i,e,n){const t=i.slice();return t[3]=e[n],t}function st(i,e,n){const t=i.slice();return t[6]=e[n],t}function rt(i,e,n){const t=i.slice();return t[9]=e[n],t}function In(i){let e,n,t;return e=new Ye({props:{tokens:i[9].tokens,options:i[1],renderers:i[2]}}),{c(){F(e.$$.fragment),n=ue()},l(l){G(e.$$.fragment,l),n=fe(l)},m(l,r){q(e,l,r),E(l,n,r),t=!0},p(l,r){const s={};r&1&&(s.tokens=l[9].tokens),r&2&&(s.options=l[1]),r&4&&(s.renderers=l[2]),e.$set(s)},i(l){t||(b(e.$$.fragment,l),t=!0)},o(l){k(e.$$.fragment,l),t=!1},d(l){l&&m(n),j(e,l)}}}function ot(i){let e,n;return e=new Rt({props:{head:!0,$$slots:{default:[In]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&4103&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Ln(i){let e,n,t=we(i[0].header),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class Zn extends Z{constructor(e){super(),U(this,e,Wn,Vn,W,{token:0,options:1,renderers:2})}}function Un(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[i[3]],a={};for(let u=0;u{e=C(C({},e),X(g)),n(3,l=S(e,t)),"nested"in g&&n(0,o=g.nested),"native"in g&&n(1,a=g.native),"expressive"in g&&n(2,u=g.expressive),"$$scope"in g&&n(4,s=g.$$scope)},[o,a,u,l,s,r,f,_,h,c]}class Fn extends Z{constructor(e){super(),U(this,e,Yn,Un,W,{nested:0,native:1,expressive:2})}}const Vt=Fn;function qn(i){let e,n,t,l;const r=i[4].default,s=$(r,i,i[3],null);let o=[i[2]],a={};for(let u=0;u{e=C(C({},e),X(c)),n(2,l=S(e,t)),"nested"in c&&n(0,o=c.nested),"expressive"in c&&n(1,a=c.expressive),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class On extends Z{constructor(e){super(),U(this,e,jn,qn,W,{nested:0,expressive:1})}}const Wt=On;function Gn(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Jn(i){let e,n,t;var l=i[1];function r(s,o){return{props:{class:"markdown-list-style",style:`counter-reset: item ${Number(s[0])-1}`,$$slots:{default:[Gn]},$$scope:{ctx:s}}}}return l&&(e=Ce(l,r(i))),{c(){e&&F(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&q(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&2&&l!==(l=s[1])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Ce(l,r(s)),F(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}else if(l){const a={};o&1&&(a.style=`counter-reset: item ${Number(s[0])-1}`),o&16&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function Kn(i,e,n){let{$$slots:t={},$$scope:l}=e,{start:r=1}=e,{ordered:s=!1}=e,o;return i.$$set=a=>{"start"in a&&n(0,r=a.start),"ordered"in a&&n(2,s=a.ordered),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&n(1,o=s?Vt:Wt)},[r,o,s,t,l]}class Qn extends Z{constructor(e){super(),U(this,e,Kn,Jn,W,{start:0,ordered:2})}}function ft(i,e,n){const t=i.slice();return t[4]=e[n],t}function ct(i){let e,n;return e=new Ot({props:{token:{...i[4]},options:i[1],renderers:i[2]}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.token={...t[4]}),l&2&&(r.options=t[1]),l&4&&(r.renderers=t[2]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Xn(i){let e,n,t=we(i[0].items),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},i.$$.update=()=>{i.$$.dirty&1&&t.ordered},[t,l,r]}class $n extends Z{constructor(e){super(),U(this,e,xn,yn,W,{token:0,options:1,renderers:2})}}function ei(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=S(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class li extends Z{constructor(e){super(),U(this,e,ti,ei,W,{})}}function ni(i){let e;const n=i[0].default,t=$(n,i,i[1],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&2)&&ee(t,n,l,l[1],e?le(n,l[1],r,null):te(l[1]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function ii(i){let e,n;return e=new li({props:{class:"markdown-list-item",$$slots:{default:[ni]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function si(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(1,l=r.$$scope)},[t,l]}class ri extends Z{constructor(e){super(),U(this,e,si,ii,W,{})}}function oi(i){let e;return{c(){e=re(i[1])},l(n){e=oe(n,i[1])},m(n,t){E(n,e,t)},p(n,t){t&2&&me(e,n[1])},d(n){n&&m(e)}}}function ai(i){let e,n,t,l,r,s;const o=i[15].default,a=$(o,i,i[14],null),u=a||oi(i);let f=[{tabindex:"-1"},{role:"presentation"},i[12]],_={};for(let h=0;hn(13,s=v)),Me(i,V,v=>n(7,o=v)),I({id:g,label:f,disabled:h});function K(v){A.call(this,i,v)}function Q(v){A.call(this,i,v)}function _e(v){A.call(this,i,v)}function H(v){A.call(this,i,v)}function ne(v){Ue[v?"unshift":"push"](()=>{w=v,n(0,w)})}const ke=()=>{h||D(g)},ge=({key:v})=>{h||(v==="ArrowRight"?B(1):v==="ArrowLeft"?B(-1):(v===" "||v==="Enter")&&D(g))};return i.$$set=v=>{e=C(C({},e),X(v)),n(12,r=S(e,l)),"label"in v&&n(1,f=v.label),"href"in v&&n(2,_=v.href),"disabled"in v&&n(3,h=v.disabled),"tabindex"in v&&n(4,c=v.tabindex),"id"in v&&n(5,g=v.id),"ref"in v&&n(0,w=v.ref),"$$scope"in v&&n(14,u=v.$$scope)},i.$$.update=()=>{i.$$.dirty&8224&&n(6,t=s===g)},[w,f,_,h,c,g,t,o,R,V,D,B,r,s,u,a,K,Q,_e,H,ne,ke,ge]}class fi extends Z{constructor(e){super(),U(this,e,ui,ai,W,{label:1,href:2,disabled:3,tabindex:4,id:5,ref:0})}}const ci=fi;function di(i){let e,n,t,l;const r=i[12].default,s=$(r,i,i[11],null);let o=[{role:"tabpanel"},{"aria-labelledby":i[1]},{"aria-hidden":n=!i[2]},{hidden:t=i[2]?void 0:""},{id:i[0]},i[6]],a={};for(let u=0;un(10,f=I)),Me(i,R,I=>n(8,a=I)),Me(i,V,I=>n(9,u=I)),w({id:c}),i.$$set=I=>{e=C(C({},e),X(I)),n(6,o=S(e,s)),"id"in I&&n(0,c=I.id),"$$scope"in I&&n(11,h=I.$$scope)},i.$$.update=()=>{i.$$.dirty&1025&&n(2,t=f===c),i.$$.dirty&513&&n(7,l=u[c].index),i.$$.dirty&384&&n(1,r=a[l].id)},[c,r,t,g,R,V,o,l,a,u,f,h,_]}class mi extends Z{constructor(e){super(),U(this,e,hi,di,W,{id:0})}}const _i=i=>({}),dt=i=>({});function ht(i){let e=i[3].label+"",n;return{c(){n=re(e)},l(t){n=oe(t,e)},m(t,l){E(t,n,l)},p(t,l){l[0]&8&&e!==(e=t[3].label+"")&&me(n,e)},d(t){t&&m(n)}}}function gi(i){let e,n,t,l,r,s,o,a,u,f,_,h,c=i[3]&&ht(i);r=new jt({props:{"aria-hidden":"true",title:i[1]}});const g=i[20].default,w=$(g,i,i[19],null);let R=[{role:"navigation"},i[10]],V={};for(let B=0;Bn(18,u=Y));const B=qe(D,Y=>Y.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{}));Me(i,B,Y=>n(28,f=Y));const K=Ne(w),Q=Ne(void 0);Me(i,Q,Y=>n(16,o=Y));const _e=Ne([]);Me(i,_e,Y=>n(17,a=Y));const H=qe(_e,Y=>Y.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{})),ne=Ne(void 0);let ke=null;Lt("Tabs",{tabs:D,contentById:H,selectedTab:Q,selectedContent:ne,useAutoWidth:K,add:Y=>{D.update(ae=>[...ae,{...Y,index:ae.length}])},addContent:Y=>{_e.update(ae=>[...ae,{...Y,index:ae.length}])},update:Y=>{n(14,v=f[Y].index)},change:async Y=>{let ae=v+Y;ae<0?ae=u.length-1:ae>=u.length&&(ae=0);let ze=u[ae].disabled;for(;ze;)ae=ae+Y,ae<0?ae=u.length-1:ae>=u.length&&(ae=0),ze=u[ae].disabled;n(14,v=ae),await Ut();const He=ke==null?void 0:ke.querySelectorAll("[role='tab']")[v];He==null||He.focus()}}),Yt(()=>{n(12,c=v),J>-1&&J!==v&&I("change",v),J=v});let ge=!0,v=c,J=-1;function pe(Y){A.call(this,i,Y)}function Ee(Y){A.call(this,i,Y)}const Ae=()=>{n(5,ge=!ge)},De=()=>{n(5,ge=!ge)},Te=()=>{n(5,ge=!ge)};function T(Y){Ue[Y?"unshift":"push"](()=>{ke=Y,n(4,ke)})}return i.$$set=Y=>{n(11,e=C(C({},e),X(Y))),n(10,s=S(e,r)),"selected"in Y&&n(12,c=Y.selected),"type"in Y&&n(0,g=Y.type),"autoWidth"in Y&&n(13,w=Y.autoWidth),"iconDescription"in Y&&n(1,R=Y.iconDescription),"triggerHref"in Y&&n(2,V=Y.triggerHref),"$$scope"in Y&&n(19,h=Y.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&4096&&n(14,v=c),i.$$.dirty[0]&278528&&n(3,t=u[v]||void 0),i.$$.dirty[0]&147456&&n(15,l=a[v]||void 0),i.$$.dirty[0]&32776&&(t&&Q.set(t.id),l&&ne.set(l.id)),i.$$.dirty[0]&65536&&o&&n(5,ge=!0),i.$$.dirty[0]&8192&&K.set(w)},e=X(e),[g,R,V,t,ke,ge,D,B,Q,_e,s,e,c,w,v,l,o,a,u,h,_,pe,Ee,Ae,De,Te,T]}class vi extends Z{constructor(e){super(),U(this,e,bi,gi,W,{selected:12,type:0,autoWidth:13,iconDescription:1,triggerHref:2},null,[-1,-1])}}function mt(i,e,n){const t=i.slice();return t[3]=e[n],t}function _t(i,e,n){const t=i.slice();return t[3]=e[n],t}function gt(i){let e,n;return e=new ci({props:{label:i[3].title}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.label=t[3].title),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function ki(i){let e,n,t=we(i[0].tabs),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class Ci extends Z{constructor(e){super(),U(this,e,Mi,Ei,W,{token:0,options:1,renderers:2})}}function zi(i){let e,n,t,l=[i[1]],r={};for(let s=0;s{e=C(C({},e),X(f)),n(1,l=S(e,t)),"size"in f&&n(0,r=f.size)},[r,l,s,o,a,u]}class Ai extends Z{constructor(e){super(),U(this,e,Bi,zi,W,{size:0})}}const Di=i=>({}),vt=i=>({}),Ni=i=>({}),kt=i=>({}),Ii=i=>({}),wt=i=>({props:{class:"bx--tag__label"}});function Li(i){let e,n,t,l,r,s,o=(i[11].icon||i[7])&&pt(i);const a=i[13].default,u=$(a,i,i[12],null);let f=[{id:i[8]},i[10]],_={};for(let h=0;h{o=null}),de()),u&&u.p&&(!l||c&4096)&&ee(u,a,h,h[12],l?le(a,h[12],c,null):te(h[12]),null),O(e,_=se(f,[(!l||c&256)&&{id:h[8]},c&1024&&h[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",h[3]),d(e,"bx--tag--sm",h[1]==="sm"),d(e,"bx--tag--red",h[0]==="red"),d(e,"bx--tag--magenta",h[0]==="magenta"),d(e,"bx--tag--purple",h[0]==="purple"),d(e,"bx--tag--blue",h[0]==="blue"),d(e,"bx--tag--cyan",h[0]==="cyan"),d(e,"bx--tag--teal",h[0]==="teal"),d(e,"bx--tag--green",h[0]==="green"),d(e,"bx--tag--gray",h[0]==="gray"),d(e,"bx--tag--cool-gray",h[0]==="cool-gray"),d(e,"bx--tag--warm-gray",h[0]==="warm-gray"),d(e,"bx--tag--high-contrast",h[0]==="high-contrast"),d(e,"bx--tag--outline",h[0]==="outline")},i(h){l||(b(o),b(u,h),l=!0)},o(h){k(o),k(u,h),l=!1},d(h){h&&m(e),o&&o.d(),u&&u.d(h),r=!1,be(s)}}}function Pi(i){let e,n,t,l,r,s,o,a=(i[11].icon||i[7])&&Et(i);const u=i[13].default,f=$(u,i,i[12],null);let _=[{type:"button"},{id:i[8]},{disabled:i[3]},{"aria-disabled":i[3]},{tabindex:l=i[3]?"-1":void 0},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=L("button"),a&&a.c(),n=ue(),t=L("span"),f&&f.c(),this.h()},l(c){e=P(c,"BUTTON",{type:!0,id:!0,"aria-disabled":!0,tabindex:!0});var g=p(e);a&&a.l(g),n=fe(g),t=P(g,"SPAN",{});var w=p(t);f&&f.l(w),w.forEach(m),g.forEach(m),this.h()},h(){O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),a&&a.m(e,null),N(e,n),N(e,t),f&&f.m(t,null),e.autofocus&&e.focus(),r=!0,s||(o=[z(e,"click",i[18]),z(e,"mouseover",i[19]),z(e,"mouseenter",i[20]),z(e,"mouseleave",i[21])],s=!0)},p(c,g){c[11].icon||c[7]?a?(a.p(c,g),g&2176&&b(a,1)):(a=Et(c),a.c(),b(a,1),a.m(e,n)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f&&f.p&&(!r||g&4096)&&ee(f,u,c,c[12],r?le(u,c[12],g,null):te(c[12]),null),O(e,h=se(_,[{type:"button"},(!r||g&256)&&{id:c[8]},(!r||g&8)&&{disabled:c[3]},(!r||g&8)&&{"aria-disabled":c[3]},(!r||g&8&&l!==(l=c[3]?"-1":void 0))&&{tabindex:l},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(a),b(f,c),r=!0)},o(c){k(a),k(f,c),r=!1},d(c){c&&m(e),a&&a.d(),f&&f.d(c),s=!1,be(o)}}}function Ti(i){let e,n,t,l,r,s,o;const a=i[13].default,u=$(a,i,i[12],wt),f=u||Vi(i);l=new Tt({});let _=[{"aria-label":i[6]},{id:i[8]},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=L("div"),f&&f.c(),n=ue(),t=L("button"),F(l.$$.fragment),this.h()},l(c){e=P(c,"DIV",{"aria-label":!0,id:!0});var g=p(e);f&&f.l(g),n=fe(g),t=P(g,"BUTTON",{type:!0,"aria-labelledby":!0,title:!0});var w=p(t);G(l.$$.fragment,w),w.forEach(m),g.forEach(m),this.h()},h(){M(t,"type","button"),M(t,"aria-labelledby",i[8]),t.disabled=i[3],M(t,"title",i[6]),d(t,"bx--tag__close-icon",!0),O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--filter",i[2]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),f&&f.m(e,null),N(e,n),N(e,t),q(l,t,null),r=!0,s||(o=[z(t,"click",Ve(i[14])),z(t,"click",Ve(i[30])),z(t,"mouseover",i[15]),z(t,"mouseenter",i[16]),z(t,"mouseleave",i[17])],s=!0)},p(c,g){u?u.p&&(!r||g&4096)&&ee(u,a,c,c[12],r?le(a,c[12],g,Ii):te(c[12]),wt):f&&f.p&&(!r||g&1)&&f.p(c,r?g:-1),(!r||g&256)&&M(t,"aria-labelledby",c[8]),(!r||g&8)&&(t.disabled=c[3]),(!r||g&64)&&M(t,"title",c[6]),O(e,h=se(_,[(!r||g&64)&&{"aria-label":c[6]},(!r||g&256)&&{id:c[8]},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--filter",c[2]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(f,c),b(l.$$.fragment,c),r=!0)},o(c){k(f,c),k(l.$$.fragment,c),r=!1},d(c){c&&m(e),f&&f.d(c),j(l),s=!1,be(o)}}}function Hi(i){let e,n;const t=[{size:i[1]},i[10]];let l={};for(let r=0;r{j(a,1)}),de()}l?(e=Ce(l,r()),F(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function Et(i){let e,n;const t=i[13].icon,l=$(t,i,i[12],kt),r=l||Si(i);return{c(){e=L("div"),r&&r.c(),this.h()},l(s){e=P(s,"DIV",{});var o=p(e);r&&r.l(o),o.forEach(m),this.h()},h(){d(e,"bx--tag__custom-icon",!0)},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,o){l?l.p&&(!n||o&4096)&&ee(l,t,s,s[12],n?le(t,s[12],o,Ni):te(s[12]),kt):r&&r.p&&(!n||o&128)&&r.p(s,n?o:-1)},i(s){n||(b(r,s),n=!0)},o(s){k(r,s),n=!1},d(s){s&&m(e),r&&r.d(s)}}}function Si(i){let e,n,t;var l=i[7];function r(s,o){return{}}return l&&(e=Ce(l,r())),{c(){e&&F(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&q(e,s,o),E(s,n,o),t=!0},p(s,o){if(o&128&&l!==(l=s[7])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Ce(l,r()),F(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function Vi(i){let e,n;return{c(){e=L("span"),n=re(i[0]),this.h()},l(t){e=P(t,"SPAN",{});var l=p(e);n=oe(l,i[0]),l.forEach(m),this.h()},h(){d(e,"bx--tag__label",!0)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&1&&me(n,t[0])},d(t){t&&m(e)}}}function Wi(i){let e,n,t,l;const r=[Hi,Ti,Pi,Li],s=[];function o(a,u){return a[5]?0:a[2]?1:a[4]?2:3}return e=o(i),n=s[e]=r[e](i),{c(){n.c(),t=ie()},l(a){n.l(a),t=ie()},m(a,u){s[e].m(a,u),E(a,t,u),l=!0},p(a,[u]){let f=e;e=o(a),e===f?s[e].p(a,u):(ce(),k(s[f],1,1,()=>{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function Zi(i,e,n){const t=["type","size","filter","disabled","interactive","skeleton","title","icon","id"];let l=S(e,t),{$$slots:r={},$$scope:s}=e;const o=Ft(r);let{type:a=void 0}=e,{size:u="default"}=e,{filter:f=!1}=e,{disabled:_=!1}=e,{interactive:h=!1}=e,{skeleton:c=!1}=e,{title:g="Clear filter"}=e,{icon:w=void 0}=e,{id:R="ccs-"+Math.random().toString(36)}=e;const V=Pe();function I(T){A.call(this,i,T)}function D(T){A.call(this,i,T)}function B(T){A.call(this,i,T)}function K(T){A.call(this,i,T)}function Q(T){A.call(this,i,T)}function _e(T){A.call(this,i,T)}function H(T){A.call(this,i,T)}function ne(T){A.call(this,i,T)}function ke(T){A.call(this,i,T)}function ge(T){A.call(this,i,T)}function v(T){A.call(this,i,T)}function J(T){A.call(this,i,T)}function pe(T){A.call(this,i,T)}function Ee(T){A.call(this,i,T)}function Ae(T){A.call(this,i,T)}function De(T){A.call(this,i,T)}const Te=()=>{V("close")};return i.$$set=T=>{e=C(C({},e),X(T)),n(10,l=S(e,t)),"type"in T&&n(0,a=T.type),"size"in T&&n(1,u=T.size),"filter"in T&&n(2,f=T.filter),"disabled"in T&&n(3,_=T.disabled),"interactive"in T&&n(4,h=T.interactive),"skeleton"in T&&n(5,c=T.skeleton),"title"in T&&n(6,g=T.title),"icon"in T&&n(7,w=T.icon),"id"in T&&n(8,R=T.id),"$$scope"in T&&n(12,s=T.$$scope)},[a,u,f,_,h,c,g,w,R,V,l,o,s,r,I,D,B,K,Q,_e,H,ne,ke,ge,v,J,pe,Ee,Ae,De,Te]}class Ui extends Z{constructor(e){super(),U(this,e,Zi,Wi,W,{type:0,size:1,filter:2,disabled:3,interactive:4,skeleton:5,title:6,icon:7,id:8})}}function Mt(i,e,n){const t=i.slice();return t[1]=e[n],t[3]=n,t}function Yi(i){let e=i[1].name+"",n,t;return{c(){n=re(e),t=ue()},l(l){n=oe(l,e),t=fe(l)},m(l,r){E(l,n,r),E(l,t,r)},p(l,r){r&1&&e!==(e=l[1].name+"")&&me(n,e)},d(l){l&&(m(n),m(t))}}}function Ct(i){let e,n;return e=new Ui({props:{type:i[0].colors[i[3]%i[0].colors.length],$$slots:{default:[Yi]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.type=t[0].colors[t[3]%t[0].colors.length]),l&17&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Fi(i){let e,n,t=we(i[0].tags),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){e=L("div");for(let s=0;s{"token"in l&&n(0,t=l.token)},[t]}class ji extends Z{constructor(e){super(),U(this,e,qi,Fi,W,{token:0})}}function Re(i){let e,n;const t=i[3].default,l=$(t,i,i[2],null);let r=[{id:i[0]},{class:"header header-base svelte-1jlumb"}],s={};for(let o=0;o1&&zt(i);return{c(){e=L("div"),r&&r.c(),t=ue(),s&&s.c(),this.h()},l(o){e=P(o,"DIV",{class:!0});var a=p(e);r&&r.l(a),t=fe(a),s&&s.l(a),a.forEach(m),this.h()},h(){M(e,"class","parent svelte-1jlumb")},m(o,a){E(o,e,a),r&&r.m(e,null),N(e,t),s&&s.m(e,null),l=!0},p(o,[a]){`h${o[1]}`?n?W(n,`h${o[1]}`)?(r.d(1),r=Re(o),n=`h${o[1]}`,r.c(),r.m(e,t)):r.p(o,a):(r=Re(o),n=`h${o[1]}`,r.c(),r.m(e,t)):n&&(r.d(1),r=null,n=`h${o[1]}`),o[1]>1?s?s.p(o,a):(s=zt(o),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i(o){l||(b(r,o),l=!0)},o(o){k(r,o),l=!1},d(o){o&&m(e),r&&r.d(o),s&&s.d()}}}function Gi(i,e,n){let{$$slots:t={},$$scope:l}=e,{id:r}=e,{depth:s}=e;return i.$$set=o=>{"id"in o&&n(0,r=o.id),"depth"in o&&n(1,s=o.depth),"$$scope"in o&&n(2,l=o.$$scope)},[r,s,l,t]}class Ji extends Z{constructor(e){super(),U(this,e,Gi,Oi,W,{id:0,depth:1})}}function Ki(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Qi(i){let e,n;return e=new Ji({props:{id:i[1],depth:i[0].depth,$$slots:{default:[Ki]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.id=t[1]),l&1&&(r.depth=t[0].depth),l&16&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Xi(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e,o;return i.$$set=a=>{"token"in a&&n(0,r=a.token),"options"in a&&n(2,s=a.options),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&5&&n(1,o=Ze.generatePathSegment(r.text,s.slugger))},[r,o,s,t,l]}class yi extends Z{constructor(e){super(),U(this,e,Xi,Qi,W,{token:0,options:2})}}function Bt(i){let e,n;return e=new Kt({props:{source:i[0],renderers:{heading:yi,code:rl,codespan:hl,blockquote:on,link:cn,paragraph:mn,table:Zn,list:$n,list_item:ri,tabs:Ci,notification:Ht,tags:ji},options:{baseUrl:i[1]}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.source=t[0]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function xi(i){let e,n,t=i[0]&&Bt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&b(t,1)):(t=Bt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function $i(i,e,n){let{source:t}=e;const l=Jt();return i.$$set=r=>{"source"in r&&n(0,t=r.source)},[t,l]}class os extends Z{constructor(e){super(),U(this,e,$i,xi,W,{source:0})}}function At(i){let e,n,t,l,r,s,o,a,u,f=i[0].previous.title+"",_,h,c,g=i[0].previous.section&&i[0].previous.section!==i[0].section&&Dt(i);return o=new el({props:{class:"previous-next-arrow",size:20}}),{c(){e=L("div"),n=L("strong"),t=re(`Previous - - `),g&&g.c(),l=ue(),r=L("a"),s=L("span"),F(o.$$.fragment),a=ue(),u=L("p"),_=re(f),this.h()},l(w){e=P(w,"DIV",{class:!0});var R=p(e);n=P(R,"STRONG",{});var V=p(n);t=oe(V,`Previous - - `),g&&g.l(V),V.forEach(m),R.forEach(m),l=fe(w),r=P(w,"A",{href:!0,class:!0});var I=p(r);s=P(I,"SPAN",{});var D=p(s);G(o.$$.fragment,D),D.forEach(m),a=fe(I),u=P(I,"P",{});var B=p(u);_=oe(B,f),B.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].previous.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),q(o,s,null),N(r,a),N(r,u),N(u,_),c=!0},p(w,R){w[0].previous.section&&w[0].previous.section!==w[0].section?g?g.p(w,R):(g=Dt(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&f!==(f=w[0].previous.title+"")&&me(_,f),(!c||R&1&&h!==(h=w[0].previous.href))&&M(r,"href",h)},i(w){c||(b(o.$$.fragment,w),c=!0)},o(w){k(o.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),j(o)}}}function Dt(i){let e,n=i[0].previous.section+"",t;return{c(){e=re("- "),t=re(n)},l(l){e=oe(l,"- "),t=oe(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].previous.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function Nt(i){let e,n,t,l,r,s,o=i[0].next.title+"",a,u,f,_,h,c,g=i[0].next.section&&i[0].next.section!==i[0].section&&It(i);return _=new nl({props:{class:"previous-next-arrow",size:20}}),{c(){e=L("div"),n=L("strong"),t=re(`Next - `),g&&g.c(),l=ue(),r=L("a"),s=L("p"),a=re(o),u=ue(),f=L("span"),F(_.$$.fragment),this.h()},l(w){e=P(w,"DIV",{class:!0});var R=p(e);n=P(R,"STRONG",{});var V=p(n);t=oe(V,`Next - `),g&&g.l(V),V.forEach(m),R.forEach(m),l=fe(w),r=P(w,"A",{href:!0,class:!0});var I=p(r);s=P(I,"P",{});var D=p(s);a=oe(D,o),D.forEach(m),u=fe(I),f=P(I,"SPAN",{});var B=p(f);G(_.$$.fragment,B),B.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].next.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),N(s,a),N(r,u),N(r,f),q(_,f,null),c=!0},p(w,R){w[0].next.section&&w[0].next.section!==w[0].section?g?g.p(w,R):(g=It(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&o!==(o=w[0].next.title+"")&&me(a,o),(!c||R&1&&h!==(h=w[0].next.href))&&M(r,"href",h)},i(w){c||(b(_.$$.fragment,w),c=!0)},o(w){k(_.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),j(_)}}}function It(i){let e,n=i[0].next.section+"",t;return{c(){e=re("- "),t=re(n)},l(l){e=oe(l,"- "),t=oe(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].next.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function es(i){let e,n,t,l,r,s,o,a=i[0].previous&&At(i),u=i[0].next&&Nt(i);return{c(){e=L("hr"),n=ue(),t=L("div"),l=L("div"),a&&a.c(),r=ue(),s=L("div"),u&&u.c(),this.h()},l(f){e=P(f,"HR",{class:!0}),n=fe(f),t=P(f,"DIV",{class:!0});var _=p(t);l=P(_,"DIV",{class:!0});var h=p(l);a&&a.l(h),h.forEach(m),r=fe(_),s=P(_,"DIV",{class:!0});var c=p(s);u&&u.l(c),c.forEach(m),_.forEach(m),this.h()},h(){M(e,"class","footer-hr svelte-19tre3a"),M(l,"class","previous direction-wrapper svelte-19tre3a"),M(s,"class","next direction-wrapper svelte-19tre3a"),M(t,"class","wrapper svelte-19tre3a")},m(f,_){E(f,e,_),E(f,n,_),E(f,t,_),N(t,l),a&&a.m(l,null),N(t,r),N(t,s),u&&u.m(s,null),o=!0},p(f,[_]){f[0].previous?a?(a.p(f,_),_&1&&b(a,1)):(a=At(f),a.c(),b(a,1),a.m(l,null)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f[0].next?u?(u.p(f,_),_&1&&b(u,1)):(u=Nt(f),u.c(),b(u,1),u.m(s,null)):u&&(ce(),k(u,1,1,()=>{u=null}),de())},i(f){o||(b(a),b(u),o=!0)},o(f){k(a),k(u),o=!1},d(f){f&&(m(e),m(n),m(t)),a&&a.d(),u&&u.d()}}}function ts(i,e,n){let{page:t}=e;return i.$$set=l=>{"page"in l&&n(0,t=l.page)},[t]}class as extends Z{constructor(e){super(),U(this,e,ts,es,W,{page:0})}}export{Ji as A,os as C,$l as I,li as L,as as P,bn as S,Ui as T,wn as a,St as b,Rt as c,Qn as d,yt as e,vi as f,ci as g,mi as h}; diff --git a/public/docs/_app/immutable/chunks/control.DTPJZYse.js b/public/docs/_app/immutable/chunks/control.DTPJZYse.js new file mode 100644 index 0000000..ebcd1af --- /dev/null +++ b/public/docs/_app/immutable/chunks/control.DTPJZYse.js @@ -0,0 +1 @@ +var r;const a=((r=globalThis.__sveltekit_1cc6yqn)==null?void 0:r.base)??"/docs";var i;const c=((i=globalThis.__sveltekit_1cc6yqn)==null?void 0:i.assets)??a;class l{constructor(t,s){this.status=t,typeof s=="string"?this.body={message:s}:s?this.body=s:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class n{constructor(t,s){this.status=t,this.location=s}}class h extends Error{constructor(t,s,o){super(o),this.status=t,this.text=s}}export{l as H,n as R,h as S,c as a,a as b}; diff --git a/public/docs/_app/immutable/chunks/control.DVZ9YK-Y.js b/public/docs/_app/immutable/chunks/control.DVZ9YK-Y.js deleted file mode 100644 index 6590641..0000000 --- a/public/docs/_app/immutable/chunks/control.DVZ9YK-Y.js +++ /dev/null @@ -1 +0,0 @@ -var r;const a=((r=globalThis.__sveltekit_1c58m41)==null?void 0:r.base)??"/docs";var i;const c=((i=globalThis.__sveltekit_1c58m41)==null?void 0:i.assets)??a;class l{constructor(t,s){this.status=t,typeof s=="string"?this.body={message:s}:s?this.body=s:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class h{constructor(t,s){this.status=t,this.location=s}}class n extends Error{constructor(t,s,o){super(o),this.status=t,this.text=s}}export{l as H,h as R,n as S,c as a,a as b}; diff --git a/public/docs/_app/immutable/chunks/entry.KXDGpGCl.js b/public/docs/_app/immutable/chunks/entry.thCgVuzy.js similarity index 99% rename from public/docs/_app/immutable/chunks/entry.KXDGpGCl.js rename to public/docs/_app/immutable/chunks/entry.thCgVuzy.js index 28c52c4..57b1cc0 100644 --- a/public/docs/_app/immutable/chunks/entry.KXDGpGCl.js +++ b/public/docs/_app/immutable/chunks/entry.thCgVuzy.js @@ -1,3 +1,3 @@ -import{M as ot}from"./scheduler.Eaj42bxH.js";import{w as pe}from"./index.Cx9QXIn7.js";import{a as it,H as ne,S as ge,R as je,b as P}from"./control.DVZ9YK-Y.js";new URL("sveltekit-internal://");function st(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ct(e){return e.split("%25").map(decodeURI).join("%25")}function lt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ft=["href","pathname","search","toString","toJSON"];function ut(e,n,t){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),r[o](i));n();const s=Reflect.get(r,o);return typeof s=="function"?s.bind(r):s}}),enumerable:!0,configurable:!0});for(const r of ft)Object.defineProperty(a,r,{get(){return n(),e[r]},enumerable:!0,configurable:!0});return a}const dt="/__data.json",ht=".html__data.json";function pt(e){return e.endsWith(".html")?e.replace(/\.html$/,ht):e.replace(/\/$/,"")+dt}function gt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let a=t.length;for(;a;)n=n*33^t.charCodeAt(--a)}else if(ArrayBuffer.isView(t)){const a=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function mt(e){const n=atob(e),t=new Uint8Array(n.length);for(let a=0;a((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&M.delete(me(e)),De(e,n));const M=new Map;function _t(e,n){const t=me(e,n),a=document.querySelector(t);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const s=a.getAttribute("data-ttl");return s&&M.set(t,{body:r,init:o,ttl:1e3*Number(s)}),a.getAttribute("data-b64")!==null&&(r=mt(r)),Promise.resolve(new Response(r,o))}return window.fetch(e,n)}function wt(e,n,t){if(M.size>0){const a=me(e,t),r=M.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const s=a.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const u=yt.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function bt(e){return!/^\([^)]+\)$/.test(e)}function Et(e){return e.slice(1).split("/").filter(bt)}function kt(e,n,t){const a={},r=e.slice(1),o=r.filter(i=>i!==void 0);let s=0;for(let i=0;iu).join("/"),s=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){a[c.name]=f;const u=n[i+1],h=r[i+1];u&&!u.rest&&u.optional&&h&&c.chained&&(s=0),!u&&!h&&Object.keys(a).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return a}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function St({nodes:e,server_loads:n,dictionary:t,matchers:a}){const r=new Set(n);return Object.entries(t).map(([i,[c,f,u]])=>{const{pattern:h,params:g}=vt(i),d={id:i,exec:_=>{const l=h.exec(_);if(l)return kt(l,g,a)},errors:[1,...u||[]].map(_=>e[_]),layouts:[0,...f||[]].map(s),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[r.has(i),e[i]]}}function $e(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const a=t(n);try{sessionStorage[e]=a}catch{}}const At="1712255481349",Ce="sveltekit:snapshot",Ve="sveltekit:scroll",Fe="sveltekit:states",Rt="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",W={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Me(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function _e(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...W,"":W.hover};function Ge(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function He(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ge(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!t||!!a||ae(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:r,target:a,download:o}}function z(e){let n=null,t=null,a=null,r=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)a===null&&(a=O(i,"preload-code")),r===null&&(r=O(i,"preload-data")),n===null&&(n=O(i,"keepfocus")),t===null&&(t=O(i,"noscroll")),o===null&&(o=O(i,"reload")),s===null&&(s=O(i,"replacestate")),i=Ge(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[a??"off"],preload_data:Le[r??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Pe(e){const n=pe(e);let t=!0;function a(){t=!0,n.update(s=>s)}function r(s){t=!1,n.set(s)}function o(s){let i;return n.subscribe(c=>{(i===void 0||t&&c!==i)&&s(i=c)})}return{notify:a,set:r,subscribe:o}}function It(){const{set:e,subscribe:n}=pe(!1);let t;async function a(){clearTimeout(t);try{const r=await fetch(`${it}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const s=(await r.json()).version!==At;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:a}}function ae(e,n){return e.origin!==K||!e.pathname.startsWith(n)}const Lt=-1,Pt=-2,Ut=-3,Tt=-4,xt=-5,Nt=-6;function Ot(e,n){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,a=Array(t.length);function r(o,s=!1){if(o===Lt)return;if(o===Ut)return NaN;if(o===Tt)return 1/0;if(o===xt)return-1/0;if(o===Nt)return-0;if(s)throw new Error("Invalid input");if(o in a)return a[o];const i=t[o];if(!i||typeof i!="object")a[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=n==null?void 0:n[c];if(f)return a[o]=f(r(i[1]));switch(c){case"Date":a[o]=new Date(i[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}const $t="x-sveltekit-invalidated",Ct="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Vt(e){return e instanceof ge?e.text:"Internal Error"}const N=$e(Ve)??{},q=$e(Ce)??{},T={url:Pe({}),page:Pe({}),navigating:pe(null),updated:It()};function we(e){N[e]=_e()}function Ft(e,n){let t=e+1;for(;N[t];)delete N[t],t+=1;for(t=n+1;q[t];)delete q[t],t+=1}function C(e){return location.href=e.href,new Promise(()=>{})}function Ue(){}let re,de,X,U,he,V;const Be=[],Z=[];let R=null;const Ke=[],Mt=[];let j=[],w={branch:[],error:null,url:null},ye=!1,Q=!1,Te=!0,B=!1,F=!1,Ye=!1,ve=!1,be,S,L,I,ee;const G=new Set;async function en(e,n,t){var r,o;document.URL!==location.href&&(location.href=location.href),V=e,re=St(e),U=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),t?await zt(he,t):Yt(location.href,{replaceState:!0}),Wt()}function Gt(){Be.length=0,ve=!1}function We(e){Z.some(n=>n==null?void 0:n.snapshot)&&(q[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function ze(e){var n;(n=q[e])==null||n.forEach((t,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(t)})}function xe(){we(S),Ie(Ve,N),We(L),Ie(Ce,q)}async function Je(e,n,t,a){return Y({type:"goto",url:Me(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:a,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function Ht(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:Ze({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=re.find(t=>t.exec(Qe(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Xe(e,n,t){var o;w=e.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=e.props.page,be=new V.root({target:n,props:{...e.props,stores:T,components:Z},hydrate:t}),ze(L);const r={from:null,to:{params:w.params,route:{id:((o=w.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(s=>s(r)),Q=!0}async function te({url:e,params:n,branch:t,status:a,error:r,route:o,form:s}){let i="never";if(P&&(e.pathname===P||e.pathname===P+"/"))i="always";else for(const d of t)(d==null?void 0:d.slash)!==void 0&&(i=d.slash);e.pathname=st(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:r,route:o},props:{constructors:Dt(t).map(d=>d.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},u=!I,h=0;for(let d=0;d(i&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(i&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:ut(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...m}):b=l;const A=new URL(b,t);return i&&d(A.href),A.origin===t.origin&&(b=A.href.slice(t.origin.length)),Q?wt(b,A.href,m):_t(b,m)},setHeaders:()=>{},depends:d,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,_)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:s,uses:c}:null,data:s??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Ne(e,n,t,a,r,o){if(ve)return!0;if(!r)return!1;if(r.parent&&e||r.route&&n||r.url&&t)return!0;for(const s of r.search_params)if(a.has(s))return!0;for(const s of r.params)if(o[s]!==w.params[s])return!0;for(const s of r.dependencies)if(Be.some(i=>i(new URL(s))))return!0;return!1}function ke(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function qt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const a of t){const r=e.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(s=>o.includes(s))&&o.every(s=>r.includes(s))&&t.delete(a)}return t}function Oe({error:e,url:n,route:t,params:a}){return{type:"loaded",state:{error:e,url:n,route:t,params:a,branch:[]},props:{page:I,constructors:[]}}}async function Ze({id:e,invalidating:n,url:t,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=r,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=w.url?e!==w.url.pathname+w.url.search:!1,g=w.route?r.id!==w.route.id:!1,d=qt(w.url,t);let _=!1;const l=f.map((p,v)=>{var x;const E=w.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||Ne(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(l.some(Boolean)){try{u=await nt(t,l)}catch(p){const v=await $(p,{url:t,params:a,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:a,route:r}):oe({status:J(p),error:v,url:t,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=f.map(async(p,v)=>{var ie;if(!p)return;const E=w.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!Ne(b,g,h,d,(ie=E.universal)==null?void 0:ie.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ee({loader:p[1],url:t,params:a,route:r,parent:async()=>{var Re;const Ae={};for(let se=0;se{});const y=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return await te({url:t,params:r,branch:[i,c],status:e,error:n,route:null})}function Se(e,n){if(!e||ae(e,P))return;let t;try{t=V.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const a=Qe(t);for(const r of re){const o=r.exec(a);if(o)return{id:e.pathname+e.search,invalidating:n,route:r,params:lt(o),url:e}}}function Qe(e){return ct(e.slice(P.length)||"/")}function et({url:e,type:n,intent:t,delta:a}){let r=!1;const o=rt(w,t,e,n);a!==void 0&&(o.navigation.delta=a);const s={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Ke.forEach(i=>i(s)),r?null:o}async function Y({type:e,url:n,popped:t,keepfocus:a,noscroll:r,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Ue,block:u=Ue}){const h=Se(n,!1),g=et({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){u();return}const d=S,_=L;f(),B=!0,Q&&T.navigating.set(g.navigation),ee=c;let l=h&&await Ze(h);if(!l){if(ae(n,P))return await C(n);l=await tt(n,{id:null},await $(new ge(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await oe({status:500,error:await $(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Je(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await C(n);if(Gt(),we(d),We(_),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const y=o?0:1,p={[D]:S+=y,[H]:L+=y,[Fe]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Ft(S,L)}if(R=null,l.props.page.state=s,Q){w=l.state,l.props.page&&(l.props.page.url=n);const y=(await Promise.all(Mt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(y.length>0){let p=function(){j=j.filter(v=>!y.includes(v))};y.push(p),j.push(...y)}be.$set(l.props),Ye=!0}else Xe(l,he,!1);const{activeElement:m}=document;await ot();const b=t?t.scroll:r?_e():null;if(Te){const y=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):y?y.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Jt(),Te=!0,l.props.page&&(I=l.props.page),B=!1,e==="popstate"&&ze(L),g.fulfil(void 0),j.forEach(y=>y(g.navigation)),T.navigating.set(null)}async function tt(e,n,t,a){return e.origin===K&&e.pathname===location.pathname&&!ye?await oe({status:a,error:t,url:e,route:n}):await C(e)}function Kt(){let e;U.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{a(s,2)},20)});function n(o){a(o.composedPath()[0],1)}U.addEventListener("mousedown",n),U.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(fe(s.target.href),t.unobserve(s.target))},{threshold:0});function a(o,s){const i=He(o,U);if(!i)return;const{url:c,external:f,download:u}=ue(i,P);if(f||u)return;const h=z(i);if(!h.reload)if(s<=h.preload_data){const g=Se(c,!1);g&&Ht(g)}else s<=h.preload_code&&fe(c.pathname)}function r(){t.disconnect();for(const o of U.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,P);if(i||c)continue;const f=z(o);f.reload||(f.preload_code===W.viewport&&t.observe(o),f.preload_code===W.eager&&fe(s.pathname))}}j.push(r),r()}function $(e,n){if(e instanceof ne)return e.body;const t=J(e),a=Vt(e);return V.hooks.handleError({error:e,event:n,status:t,message:a})??{message:a}}function Yt(e,n={}){return e=Me(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):Je(e,n,0)}function Wt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(xe(),!B){const r=rt(w,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ke.forEach(s=>s(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&xe()}),(n=navigator.connection)!=null&&n.saveData||Kt(),U.addEventListener("click",t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=He(t.composedPath()[0],U);if(!a)return;const{url:r,external:o,target:s,download:i}=ue(a,P);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(o||c.reload){et({url:r,type:"link"})?B=!0:t.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ce(location)){const[,d]=w.url.href.split("#");if(d===h){t.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(F=!0,we(S),e(r),!c.replace_state)return;F=!1}t.preventDefault(),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),U.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const s=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(ae(s,P))return;const i=t.target,c=z(i);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(i),u=r==null?void 0:r.getAttribute("name");u&&f.append(u,(r==null?void 0:r.getAttribute("value"))??""),s.search=new URLSearchParams(f).toString(),Y({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href})}),addEventListener("popstate",async t=>{var a;if((a=t.state)!=null&&a[D]){const r=t.state[D];if(ee={},r===S)return;const o=N[r],s=t.state[Fe]??{},i=new URL(t.state[Rt]??location.href),c=t.state[H],f=ce(location)===ce(w.url);if(c===L&&(Ye||f)){e(i),N[S]=_e(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},be.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!F){const r=new URL(location.href);e(r)}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[D]:++S,[H]:L},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(null)});function e(t){w.url=t,T.page.set({...I,url:t}),T.page.notify()}}async function zt(e,{status:n=200,error:t,node_ids:a,params:r,route:o,data:s,form:i}){ye=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Se(c,!1)||{});let f;try{const u=a.map(async(d,_)=>{const l=s[_];return l!=null&&l.uses&&(l.uses=at(l.uses)),Ee({loader:V.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:ke(l)})}),h=await Promise.all(u),g=re.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await De(t.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new ne(a.status,o)}return new Promise(async o=>{var h;const s=new Map,i=a.body.getReader(),c=new TextDecoder;function f(g){return Ot(g,{Promise:d=>new Promise((_,l)=>{s.set(d,{fulfil:_,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await i.read();if(g&&!u)break;for(u+=!d&&u?` +import{M as ot}from"./scheduler.BZkyrStM.js";import{w as pe}from"./index.GTo13Lj_.js";import{a as it,H as ne,S as ge,R as je,b as P}from"./control.DTPJZYse.js";new URL("sveltekit-internal://");function st(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ct(e){return e.split("%25").map(decodeURI).join("%25")}function lt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ft=["href","pathname","search","toString","toJSON"];function ut(e,n,t){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),r[o](i));n();const s=Reflect.get(r,o);return typeof s=="function"?s.bind(r):s}}),enumerable:!0,configurable:!0});for(const r of ft)Object.defineProperty(a,r,{get(){return n(),e[r]},enumerable:!0,configurable:!0});return a}const dt="/__data.json",ht=".html__data.json";function pt(e){return e.endsWith(".html")?e.replace(/\.html$/,ht):e.replace(/\/$/,"")+dt}function gt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let a=t.length;for(;a;)n=n*33^t.charCodeAt(--a)}else if(ArrayBuffer.isView(t)){const a=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function mt(e){const n=atob(e),t=new Uint8Array(n.length);for(let a=0;a((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&M.delete(me(e)),De(e,n));const M=new Map;function _t(e,n){const t=me(e,n),a=document.querySelector(t);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const s=a.getAttribute("data-ttl");return s&&M.set(t,{body:r,init:o,ttl:1e3*Number(s)}),a.getAttribute("data-b64")!==null&&(r=mt(r)),Promise.resolve(new Response(r,o))}return window.fetch(e,n)}function wt(e,n,t){if(M.size>0){const a=me(e,t),r=M.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const s=a.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const u=yt.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function bt(e){return!/^\([^)]+\)$/.test(e)}function Et(e){return e.slice(1).split("/").filter(bt)}function kt(e,n,t){const a={},r=e.slice(1),o=r.filter(i=>i!==void 0);let s=0;for(let i=0;iu).join("/"),s=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){a[c.name]=f;const u=n[i+1],h=r[i+1];u&&!u.rest&&u.optional&&h&&c.chained&&(s=0),!u&&!h&&Object.keys(a).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return a}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function St({nodes:e,server_loads:n,dictionary:t,matchers:a}){const r=new Set(n);return Object.entries(t).map(([i,[c,f,u]])=>{const{pattern:h,params:g}=vt(i),d={id:i,exec:_=>{const l=h.exec(_);if(l)return kt(l,g,a)},errors:[1,...u||[]].map(_=>e[_]),layouts:[0,...f||[]].map(s),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[r.has(i),e[i]]}}function $e(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const a=t(n);try{sessionStorage[e]=a}catch{}}const At="1714606855643",Ce="sveltekit:snapshot",Ve="sveltekit:scroll",Fe="sveltekit:states",Rt="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",W={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Me(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function _e(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...W,"":W.hover};function Ge(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function He(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ge(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!t||!!a||ae(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:r,target:a,download:o}}function z(e){let n=null,t=null,a=null,r=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)a===null&&(a=O(i,"preload-code")),r===null&&(r=O(i,"preload-data")),n===null&&(n=O(i,"keepfocus")),t===null&&(t=O(i,"noscroll")),o===null&&(o=O(i,"reload")),s===null&&(s=O(i,"replacestate")),i=Ge(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[a??"off"],preload_data:Le[r??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Pe(e){const n=pe(e);let t=!0;function a(){t=!0,n.update(s=>s)}function r(s){t=!1,n.set(s)}function o(s){let i;return n.subscribe(c=>{(i===void 0||t&&c!==i)&&s(i=c)})}return{notify:a,set:r,subscribe:o}}function It(){const{set:e,subscribe:n}=pe(!1);let t;async function a(){clearTimeout(t);try{const r=await fetch(`${it}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const s=(await r.json()).version!==At;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:a}}function ae(e,n){return e.origin!==K||!e.pathname.startsWith(n)}const Lt=-1,Pt=-2,Ut=-3,Tt=-4,xt=-5,Nt=-6;function Ot(e,n){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,a=Array(t.length);function r(o,s=!1){if(o===Lt)return;if(o===Ut)return NaN;if(o===Tt)return 1/0;if(o===xt)return-1/0;if(o===Nt)return-0;if(s)throw new Error("Invalid input");if(o in a)return a[o];const i=t[o];if(!i||typeof i!="object")a[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=n==null?void 0:n[c];if(f)return a[o]=f(r(i[1]));switch(c){case"Date":a[o]=new Date(i[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}const $t="x-sveltekit-invalidated",Ct="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Vt(e){return e instanceof ge?e.text:"Internal Error"}const N=$e(Ve)??{},q=$e(Ce)??{},T={url:Pe({}),page:Pe({}),navigating:pe(null),updated:It()};function we(e){N[e]=_e()}function Ft(e,n){let t=e+1;for(;N[t];)delete N[t],t+=1;for(t=n+1;q[t];)delete q[t],t+=1}function C(e){return location.href=e.href,new Promise(()=>{})}function Ue(){}let re,de,X,U,he,V;const Be=[],Z=[];let R=null;const Ke=[],Mt=[];let j=[],w={branch:[],error:null,url:null},ye=!1,Q=!1,Te=!0,B=!1,F=!1,Ye=!1,ve=!1,be,S,L,I,ee;const G=new Set;async function en(e,n,t){var r,o;document.URL!==location.href&&(location.href=location.href),V=e,re=St(e),U=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),t?await zt(he,t):Yt(location.href,{replaceState:!0}),Wt()}function Gt(){Be.length=0,ve=!1}function We(e){Z.some(n=>n==null?void 0:n.snapshot)&&(q[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function ze(e){var n;(n=q[e])==null||n.forEach((t,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(t)})}function xe(){we(S),Ie(Ve,N),We(L),Ie(Ce,q)}async function Je(e,n,t,a){return Y({type:"goto",url:Me(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:a,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function Ht(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:Ze({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=re.find(t=>t.exec(Qe(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Xe(e,n,t){var o;w=e.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=e.props.page,be=new V.root({target:n,props:{...e.props,stores:T,components:Z},hydrate:t}),ze(L);const r={from:null,to:{params:w.params,route:{id:((o=w.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(s=>s(r)),Q=!0}async function te({url:e,params:n,branch:t,status:a,error:r,route:o,form:s}){let i="never";if(P&&(e.pathname===P||e.pathname===P+"/"))i="always";else for(const d of t)(d==null?void 0:d.slash)!==void 0&&(i=d.slash);e.pathname=st(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:r,route:o},props:{constructors:Dt(t).map(d=>d.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},u=!I,h=0;for(let d=0;d(i&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(i&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:ut(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...m}):b=l;const A=new URL(b,t);return i&&d(A.href),A.origin===t.origin&&(b=A.href.slice(t.origin.length)),Q?wt(b,A.href,m):_t(b,m)},setHeaders:()=>{},depends:d,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,_)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:s,uses:c}:null,data:s??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Ne(e,n,t,a,r,o){if(ve)return!0;if(!r)return!1;if(r.parent&&e||r.route&&n||r.url&&t)return!0;for(const s of r.search_params)if(a.has(s))return!0;for(const s of r.params)if(o[s]!==w.params[s])return!0;for(const s of r.dependencies)if(Be.some(i=>i(new URL(s))))return!0;return!1}function ke(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function qt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const a of t){const r=e.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(s=>o.includes(s))&&o.every(s=>r.includes(s))&&t.delete(a)}return t}function Oe({error:e,url:n,route:t,params:a}){return{type:"loaded",state:{error:e,url:n,route:t,params:a,branch:[]},props:{page:I,constructors:[]}}}async function Ze({id:e,invalidating:n,url:t,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=r,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=w.url?e!==w.url.pathname+w.url.search:!1,g=w.route?r.id!==w.route.id:!1,d=qt(w.url,t);let _=!1;const l=f.map((p,v)=>{var x;const E=w.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||Ne(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(l.some(Boolean)){try{u=await nt(t,l)}catch(p){const v=await $(p,{url:t,params:a,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:a,route:r}):oe({status:J(p),error:v,url:t,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=f.map(async(p,v)=>{var ie;if(!p)return;const E=w.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!Ne(b,g,h,d,(ie=E.universal)==null?void 0:ie.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ee({loader:p[1],url:t,params:a,route:r,parent:async()=>{var Re;const Ae={};for(let se=0;se{});const y=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return await te({url:t,params:r,branch:[i,c],status:e,error:n,route:null})}function Se(e,n){if(!e||ae(e,P))return;let t;try{t=V.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const a=Qe(t);for(const r of re){const o=r.exec(a);if(o)return{id:e.pathname+e.search,invalidating:n,route:r,params:lt(o),url:e}}}function Qe(e){return ct(e.slice(P.length)||"/")}function et({url:e,type:n,intent:t,delta:a}){let r=!1;const o=rt(w,t,e,n);a!==void 0&&(o.navigation.delta=a);const s={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Ke.forEach(i=>i(s)),r?null:o}async function Y({type:e,url:n,popped:t,keepfocus:a,noscroll:r,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Ue,block:u=Ue}){const h=Se(n,!1),g=et({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){u();return}const d=S,_=L;f(),B=!0,Q&&T.navigating.set(g.navigation),ee=c;let l=h&&await Ze(h);if(!l){if(ae(n,P))return await C(n);l=await tt(n,{id:null},await $(new ge(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await oe({status:500,error:await $(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Je(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await C(n);if(Gt(),we(d),We(_),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const y=o?0:1,p={[D]:S+=y,[H]:L+=y,[Fe]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Ft(S,L)}if(R=null,l.props.page.state=s,Q){w=l.state,l.props.page&&(l.props.page.url=n);const y=(await Promise.all(Mt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(y.length>0){let p=function(){j=j.filter(v=>!y.includes(v))};y.push(p),j.push(...y)}be.$set(l.props),Ye=!0}else Xe(l,he,!1);const{activeElement:m}=document;await ot();const b=t?t.scroll:r?_e():null;if(Te){const y=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):y?y.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Jt(),Te=!0,l.props.page&&(I=l.props.page),B=!1,e==="popstate"&&ze(L),g.fulfil(void 0),j.forEach(y=>y(g.navigation)),T.navigating.set(null)}async function tt(e,n,t,a){return e.origin===K&&e.pathname===location.pathname&&!ye?await oe({status:a,error:t,url:e,route:n}):await C(e)}function Kt(){let e;U.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{a(s,2)},20)});function n(o){a(o.composedPath()[0],1)}U.addEventListener("mousedown",n),U.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(fe(s.target.href),t.unobserve(s.target))},{threshold:0});function a(o,s){const i=He(o,U);if(!i)return;const{url:c,external:f,download:u}=ue(i,P);if(f||u)return;const h=z(i);if(!h.reload)if(s<=h.preload_data){const g=Se(c,!1);g&&Ht(g)}else s<=h.preload_code&&fe(c.pathname)}function r(){t.disconnect();for(const o of U.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,P);if(i||c)continue;const f=z(o);f.reload||(f.preload_code===W.viewport&&t.observe(o),f.preload_code===W.eager&&fe(s.pathname))}}j.push(r),r()}function $(e,n){if(e instanceof ne)return e.body;const t=J(e),a=Vt(e);return V.hooks.handleError({error:e,event:n,status:t,message:a})??{message:a}}function Yt(e,n={}){return e=Me(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):Je(e,n,0)}function Wt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(xe(),!B){const r=rt(w,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ke.forEach(s=>s(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&xe()}),(n=navigator.connection)!=null&&n.saveData||Kt(),U.addEventListener("click",t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=He(t.composedPath()[0],U);if(!a)return;const{url:r,external:o,target:s,download:i}=ue(a,P);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(o||c.reload){et({url:r,type:"link"})?B=!0:t.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ce(location)){const[,d]=w.url.href.split("#");if(d===h){t.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(F=!0,we(S),e(r),!c.replace_state)return;F=!1}t.preventDefault(),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),U.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const s=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(ae(s,P))return;const i=t.target,c=z(i);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(i),u=r==null?void 0:r.getAttribute("name");u&&f.append(u,(r==null?void 0:r.getAttribute("value"))??""),s.search=new URLSearchParams(f).toString(),Y({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href})}),addEventListener("popstate",async t=>{var a;if((a=t.state)!=null&&a[D]){const r=t.state[D];if(ee={},r===S)return;const o=N[r],s=t.state[Fe]??{},i=new URL(t.state[Rt]??location.href),c=t.state[H],f=ce(location)===ce(w.url);if(c===L&&(Ye||f)){e(i),N[S]=_e(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},be.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!F){const r=new URL(location.href);e(r)}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[D]:++S,[H]:L},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(null)});function e(t){w.url=t,T.page.set({...I,url:t}),T.page.notify()}}async function zt(e,{status:n=200,error:t,node_ids:a,params:r,route:o,data:s,form:i}){ye=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Se(c,!1)||{});let f;try{const u=a.map(async(d,_)=>{const l=s[_];return l!=null&&l.uses&&(l.uses=at(l.uses)),Ee({loader:V.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:ke(l)})}),h=await Promise.all(u),g=re.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await De(t.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new ne(a.status,o)}return new Promise(async o=>{var h;const s=new Map,i=a.body.getReader(),c=new TextDecoder;function f(g){return Ot(g,{Promise:d=>new Promise((_,l)=>{s.set(d,{fulfil:_,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await i.read();if(g&&!u)break;for(u+=!d&&u?` `:c.decode(d,{stream:!0});;){const _=u.indexOf(` `);if(_===-1)break;const l=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=at(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:A}=l,y=s.get(m);s.delete(m),A?y.reject(f(A)):y.fulfil(f(b))}}}})}function at(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function Jt(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return s.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:a,complete:s},fulfil:r,reject:o}}export{en as a,T as s}; diff --git a/public/docs/_app/immutable/chunks/index.DZ_x9Zvh.js b/public/docs/_app/immutable/chunks/index.BFJrFwrB.js similarity index 61% rename from public/docs/_app/immutable/chunks/index.DZ_x9Zvh.js rename to public/docs/_app/immutable/chunks/index.BFJrFwrB.js index de1b073..da82321 100644 --- a/public/docs/_app/immutable/chunks/index.DZ_x9Zvh.js +++ b/public/docs/_app/immutable/chunks/index.BFJrFwrB.js @@ -1 +1 @@ -import{H as e,R as o}from"./control.DVZ9YK-Y.js";function i(r,t){throw new e(r,t)}function c(r,t){throw new o(r,t.toString())}new TextEncoder;export{i as e,c as r}; +import{H as e,R as o}from"./control.DTPJZYse.js";function i(r,t){throw new e(r,t)}function c(r,t){throw new o(r,t.toString())}new TextEncoder;export{i as e,c as r}; diff --git a/public/docs/_app/immutable/chunks/index.CMSEJhCx.js b/public/docs/_app/immutable/chunks/index.BLFDKRva.js similarity index 98% rename from public/docs/_app/immutable/chunks/index.CMSEJhCx.js rename to public/docs/_app/immutable/chunks/index.BLFDKRva.js index f762f02..c602220 100644 --- a/public/docs/_app/immutable/chunks/index.CMSEJhCx.js +++ b/public/docs/_app/immutable/chunks/index.BLFDKRva.js @@ -1,4 +1,4 @@ -var Q=Object.defineProperty;var T=(t,e,n)=>e in t?Q(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var M=(t,e,n)=>(T(t,typeof e!="symbol"?e+"":e,n),n);import{n as x,N as W,O as X,d as B,r as v,i as z,P as j,Q as Y,R as Z,S as I,g as k,T as q,U as G,V as H,W as J,X as U,Y as K,Z as tt,_ as et,$ as nt,a0 as st}from"./scheduler.Eaj42bxH.js";const D=typeof window<"u";let it=D?()=>window.performance.now():()=>Date.now(),A=D?t=>requestAnimationFrame(t):x;const y=new Set;function F(t){y.forEach(e=>{e.c(t)||(y.delete(e),e.f())}),y.size!==0&&A(F)}function rt(t){let e;return y.size===0&&A(F),{promise:new Promise(n=>{y.add(e={c:t,f:n})}),abort(){y.delete(e)}}}const E=new Map;let O=0;function at(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function ot(t,e){const n={stylesheet:X(e),rules:{}};return E.set(t,n),n}function V(t,e,n,s,c,f,l,i=0){const u=16.666/s;let r=`{ +var Q=Object.defineProperty;var T=(t,e,n)=>e in t?Q(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var M=(t,e,n)=>(T(t,typeof e!="symbol"?e+"":e,n),n);import{n as x,N as W,O as X,d as B,r as v,i as z,P as j,Q as Y,R as Z,S as I,g as k,T as q,U as G,V as H,W as J,X as U,Y as K,Z as tt,_ as et,$ as nt,a0 as st}from"./scheduler.BZkyrStM.js";const D=typeof window<"u";let it=D?()=>window.performance.now():()=>Date.now(),A=D?t=>requestAnimationFrame(t):x;const y=new Set;function F(t){y.forEach(e=>{e.c(t)||(y.delete(e),e.f())}),y.size!==0&&A(F)}function rt(t){let e;return y.size===0&&A(F),{promise:new Promise(n=>{y.add(e={c:t,f:n})}),abort(){y.delete(e)}}}const E=new Map;let O=0;function at(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function ot(t,e){const n={stylesheet:X(e),rules:{}};return E.set(t,n),n}function V(t,e,n,s,c,f,l,i=0){const u=16.666/s;let r=`{ `;for(let d=0;d<=1;d+=u){const p=e+(n-e)*f(d);r+=d*100+`%{${l(p,1-p)}} `}const $=r+`100% {${l(n,1-n)}} }`,o=`__svelte_${at($)}_${i}`,m=W(t),{stylesheet:g,rules:a}=E.get(m)||ot(m,t);a[o]||(a[o]=!0,g.insertRule(`@keyframes ${o} ${$}`,g.cssRules.length));const _=t.style.animation||"";return t.style.animation=`${_?`${_}, `:""}${o} ${s}ms linear ${c}ms 1 both`,O+=1,o}function ft(t,e){const n=(t.style.animation||"").split(", "),s=n.filter(e?f=>f.indexOf(e)<0:f=>f.indexOf("__svelte")===-1),c=n.length-s.length;c&&(t.style.animation=s.join(", "),O-=c,O||ut())}function ut(){A(()=>{O||(E.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&B(e)}),E.clear())})}let w;function lt(){return w||(w=Promise.resolve(),w.then(()=>{w=null})),w}function N(t,e,n){t.dispatchEvent(Y(`${e?"intro":"outro"}${n}`))}const S=new Set;let h;function yt(){h={r:0,c:[],p:h}}function wt(){h.r||v(h.c),h=h.p}function ct(t,e){t&&t.i&&(S.delete(t),t.i(e))}function xt(t,e,n,s){if(t&&t.o){if(S.has(t))return;S.add(t),h.c.push(()=>{S.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}const dt={duration:0};function vt(t,e,n,s){let f=e(t,n,{direction:"both"}),l=s?0:1,i=null,u=null,r=null,$;function o(){r&&ft(t,r)}function m(a,_){const d=a.b-l;return _*=Math.abs(d),{a:l,b:a.b,d,duration:_,start:a.start,end:a.start+_,group:a.group}}function g(a){const{delay:_=0,duration:d=300,easing:p=Z,tick:P=x,css:R}=f||dt,C={start:it()+_,b:a};a||(C.group=h,h.r+=1),"inert"in t&&(a?$!==void 0&&(t.inert=$):($=t.inert,t.inert=!0)),i||u?u=C:(R&&(o(),r=V(t,l,a,d,_,p,R)),a&&P(0,1),i=m(C,d),j(()=>N(t,a,"start")),rt(b=>{if(u&&b>u.start&&(i=m(u,d),u=null,N(t,i.b,"start"),R&&(o(),r=V(t,l,i.b,i.duration,0,p,f.css))),i){if(b>=i.end)P(l=i.b,1-l),N(t,i.b,"end"),u||(i.b?o():--i.group.r||v(i.group.c)),i=null;else if(b>=i.start){const L=b-i.start;l=i.a+i.d*p(L/i.duration),P(l,1-l)}}return!!(i||u)}))}return{run(a){z(f)?lt().then(()=>{f=f({direction:a?"in":"out"}),g(a)}):g(a)},end(){o(),i=u=null}}}function bt(t,e,n){const s=t.$$.props[e];s!==void 0&&(t.$$.bound[s]=n,n(t.$$.ctx[s]))}function St(t){t&&t.c()}function Et(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:s,after_update:c}=t.$$;s&&s.m(e,n),j(()=>{const f=t.$$.on_mount.map(K).filter(z);t.$$.on_destroy?t.$$.on_destroy.push(...f):v(f),t.$$.on_mount=[]}),c.forEach(j)}function $t(t,e){const n=t.$$;n.fragment!==null&&(H(n.after_update),v(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(tt.push(t),et(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const a=g.length?g[0]:m;return r.ctx&&c(r.ctx[o],r.ctx[o]=a)&&(!r.skip_bound&&r.bound[o]&&r.bound[o](a),$&&ht(t,o)),m}):[],r.update(),$=!0,v(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){nt();const o=k(e.target);r.fragment&&r.fragment.l(o),o.forEach(B)}else r.fragment&&r.fragment.c();e.intro&&ct(t.$$.fragment),_t(t,e.target,e.anchor),st(),q()}U(u)}class Pt{constructor(){M(this,"$$");M(this,"$$set")}$destroy(){$t(this,1),this.$destroy=x}$on(e,n){if(!z(n))return x;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const c=s.indexOf(n);c!==-1&&s.splice(c,1)}}$set(e){this.$$set&&!G(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);export{Pt as S,Et as a,xt as b,St as c,$t as d,wt as e,bt as f,yt as g,vt as h,Ot as i,_t as m,ct as t}; diff --git a/public/docs/_app/immutable/chunks/index.Cx9QXIn7.js b/public/docs/_app/immutable/chunks/index.GTo13Lj_.js similarity index 86% rename from public/docs/_app/immutable/chunks/index.Cx9QXIn7.js rename to public/docs/_app/immutable/chunks/index.GTo13Lj_.js index 83e0b8a..e9ad1be 100644 --- a/public/docs/_app/immutable/chunks/index.Cx9QXIn7.js +++ b/public/docs/_app/immutable/chunks/index.GTo13Lj_.js @@ -1 +1 @@ -import{n as f,s as w,a as m,r as q,i as x}from"./scheduler.Eaj42bxH.js";const a=[];function z(e,o){return{subscribe:A(e,o).subscribe}}function A(e,o=f){let r;const n=new Set;function u(t){if(w(e,t)&&(e=t,r)){const i=!a.length;for(const s of n)s[1](),a.push(s,e);if(i){for(let s=0;s{n.delete(s),n.size===0&&r&&(r(),r=null)}}return{set:u,update:l,subscribe:b}}function E(e,o,r){const n=!Array.isArray(e),u=n?[e]:e;if(!u.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=o.length<2;return z(r,(b,t)=>{let i=!1;const s=[];let d=0,p=f;const h=()=>{if(d)return;p();const c=o(n?s[0]:s,b,t);l?b(c):p=x(c)?c:f},y=u.map((c,g)=>m(c,_=>{s[g]=_,d&=~(1<{d|=1<{n.delete(s),n.size===0&&r&&(r(),r=null)}}return{set:u,update:l,subscribe:b}}function E(e,o,r){const n=!Array.isArray(e),u=n?[e]:e;if(!u.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=o.length<2;return z(r,(b,t)=>{let i=!1;const s=[];let d=0,p=f;const h=()=>{if(d)return;p();const c=o(n?s[0]:s,b,t);l?b(c):p=x(c)?c:f},y=u.map((c,g)=>m(c,_=>{s[g]=_,d&=~(1<{d|=1<n in r?Wm(r,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[n]=t;var Se=(r,n,t)=>(Ym(r,typeof n!="symbol"?n+"":n,t),t),Qm=(r,n,t)=>{if(!n.has(r))throw TypeError("Cannot "+t)};var ao=(r,n,t)=>{if(n.has(r))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(r):n.set(r,t)};var os=(r,n,t)=>(Qm(r,n,"access private method"),t);import{S as Le,i as Re,t as ee,b as ae,g as It,e as yt,c as qt,a as ur,m as zt,d as jt}from"./index.CMSEJhCx.js";import{s as ye,q as en,l as Fe,d as H,E as Kn,v as af,e as we,f as xe,g as Ve,ad as bs,F as et,G as nt,H as tt,a2 as ui,I as Dl,t as To,j as Io,o as yo,n as Je,k as hn,m as Tt,b as No,c as Co,ah as Jm,ai as Hm,ak as vl,K as Xm}from"./scheduler.Eaj42bxH.js";import{b as Zm}from"./control.DVZ9YK-Y.js";function ut(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function of(r,n){const t={},s={},a={$$scope:1};let u=r.length;for(;u--;){const c=r[u],f=n[u];if(f){for(const d in c)d in f||(s[d]=1);for(const d in f)a[d]||(t[d]=f[d],a[d]=1);r[u]=f}else for(const d in c)a[d]=1}for(const c in s)c in t||(t[c]=void 0);return t}function AE(r){return typeof r=="object"&&r!==null?r:{}}function _o(...r){return"/"+r.flatMap(n=>n.split("/")).filter(n=>!!n).join("/")}function go(r){return r.startsWith("/")||r.startsWith("#")}function uf(r,n){return n.slug(r).replace(/--+/g,"-")}function oo(r){let n,t;const s=r[5].default,a=Kn(s,r,r[4],null);let u=[{id:r[1]}],c={};for(let f=0;f{"token"in b&&t(0,u=b.token),"options"in b&&t(2,c=b.options),"$$scope"in b&&t(4,a=b.$$scope)},r.$$.update=()=>{r.$$.dirty&5&&t(1,d=uf(u.text,c.slugger))},[u,d,c,f,a,s]}class nF extends Le{constructor(n){super(),Re(this,n,eF,Km,ye,{token:0,options:2,renderers:3})}get renderers(){return this.$$.ctx[3]}}function tF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("blockquote"),a&&a.c()},l(u){n=xe(u,"BLOCKQUOTE",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function rF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class iF extends Le{constructor(n){super(),Re(this,n,rF,tF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function El(r,n,t){const s=r.slice();return s[3]=n[t],s}function Al(r){let n,t,s=ut(r[0]),a=[];for(let c=0;cae(a[c],1,1,()=>{a[c]=null});return{c(){for(let c=0;c{s=null}),yt())},i(a){t||(ee(s),t=!0)},o(a){ae(s),t=!1},d(a){a&&H(n),s&&s.d(a)}}}function aF(r,n,t){let{tokens:s}=n,{renderers:a}=n,{options:u}=n;return r.$$set=c=>{"tokens"in c&&t(0,s=c.tokens),"renderers"in c&&t(1,a=c.renderers),"options"in c&&t(2,u=c.options)},[s,a,u]}class Is extends Le{constructor(n){super(),Re(this,n,aF,sF,ye,{tokens:0,renderers:1,options:2})}}function Tl(r){let n,t,s;var a=r[1][r[0].type];function u(c,f){return{props:{token:c[0],options:c[2],renderers:c[1],$$slots:{default:[cF]},$$scope:{ctx:c}}}}return a&&(n=Dl(a,u(r))),{c(){n&&qt(n.$$.fragment),t=en()},l(c){n&&ur(n.$$.fragment,c),t=en()},m(c,f){n&&zt(n,c,f),Fe(c,t,f),s=!0},p(c,f){if(f&3&&a!==(a=c[1][c[0].type])){if(n){It();const d=n;ae(d.$$.fragment,1,0,()=>{jt(d,1)}),yt()}a?(n=Dl(a,u(c)),qt(n.$$.fragment),ee(n.$$.fragment,1),zt(n,t.parentNode,t)):n=null}else if(a){const d={};f&1&&(d.token=c[0]),f&4&&(d.options=c[2]),f&2&&(d.renderers=c[1]),f&15&&(d.$$scope={dirty:f,ctx:c}),n.$set(d)}},i(c){s||(n&&ee(n.$$.fragment,c),s=!0)},o(c){n&&ae(n.$$.fragment,c),s=!1},d(c){c&&H(t),n&&jt(n,c)}}}function oF(r){let n=r[0].raw+"",t;return{c(){t=To(n)},l(s){t=Io(s,n)},m(s,a){Fe(s,t,a)},p(s,a){a&1&&n!==(n=s[0].raw+"")&&yo(t,n)},i:Je,o:Je,d(s){s&&H(t)}}}function uF(r){let n,t;return n=new Is({props:{tokens:r[0].tokens,renderers:r[1],options:r[2]}}),{c(){qt(n.$$.fragment)},l(s){ur(n.$$.fragment,s)},m(s,a){zt(n,s,a),t=!0},p(s,a){const u={};a&1&&(u.tokens=s[0].tokens),a&2&&(u.renderers=s[1]),a&4&&(u.options=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){ae(n.$$.fragment,s),t=!1},d(s){jt(n,s)}}}function cF(r){let n,t,s,a;const u=[uF,oF],c=[];function f(d,b){return"tokens"in d[0]&&d[0].tokens?0:1}return n=f(r),t=c[n]=u[n](r),{c(){t.c(),s=en()},l(d){t.l(d),s=en()},m(d,b){c[n].m(d,b),Fe(d,s,b),a=!0},p(d,b){let m=n;n=f(d),n===m?c[n].p(d,b):(It(),ae(c[m],1,1,()=>{c[m]=null}),yt(),t=c[n],t?t.p(d,b):(t=c[n]=u[n](d),t.c()),ee(t,1),t.m(s.parentNode,s))},i(d){a||(ee(t),a=!0)},o(d){ae(t),a=!1},d(d){d&&H(s),c[n].d(d)}}}function lF(r){let n,t,s=r[1][r[0].type]&&Tl(r);return{c(){s&&s.c(),n=en()},l(a){s&&s.l(a),n=en()},m(a,u){s&&s.m(a,u),Fe(a,n,u),t=!0},p(a,[u]){a[1][a[0].type]?s?(s.p(a,u),u&3&&ee(s,1)):(s=Tl(a),s.c(),ee(s,1),s.m(n.parentNode,n)):s&&(It(),ae(s,1,1,()=>{s=null}),yt())},i(a){t||(ee(s),t=!0)},o(a){ae(s),t=!1},d(a){a&&H(n),s&&s.d(a)}}}function fF(r,n,t){let{token:s}=n,{renderers:a}=n,{options:u}=n;return r.$$set=c=>{"token"in c&&t(0,s=c.token),"renderers"in c&&t(1,a=c.renderers),"options"in c&&t(2,u=c.options)},[s,a,u]}class cf extends Le{constructor(n){super(),Re(this,n,fF,lF,ye,{token:0,renderers:1,options:2})}}function Il(r,n,t){const s=r.slice();return s[4]=n[t],s}function yl(r){let n,t;return n=new cf({props:{token:{...r[4]},options:r[1],renderers:r[2]}}),{c(){qt(n.$$.fragment)},l(s){ur(n.$$.fragment,s)},m(s,a){zt(n,s,a),t=!0},p(s,a){const u={};a&1&&(u.token={...s[4]}),a&2&&(u.options=s[1]),a&4&&(u.renderers=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){ae(n.$$.fragment,s),t=!1},d(s){jt(n,s)}}}function uo(r){let n,t,s,a=ut(r[0].items),u=[];for(let b=0;bae(u[b],1,1,()=>{u[b]=null});let f=[{start:t=r[0].start||1}],d={};for(let b=0;b{"token"in f&&t(0,s=f.token),"options"in f&&t(1,a=f.options),"renderers"in f&&t(2,u=f.renderers)},r.$$.update=()=>{r.$$.dirty&1&&t(3,c=s.ordered?"ol":"ul")},[s,a,u,c]}class hF extends Le{constructor(n){super(),Re(this,n,dF,pF,ye,{token:0,options:1,renderers:2})}}function _F(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("li"),a&&a.c()},l(u){n=xe(u,"LI",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function gF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class bF extends Le{constructor(n){super(),Re(this,n,gF,_F,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function mF(r){let n;return{c(){n=we("br")},l(t){n=xe(t,"BR",{})},m(t,s){Fe(t,n,s)},p:Je,i:Je,o:Je,d(t){t&&H(n)}}}function FF(r,n,t){return[void 0,void 0,void 0]}class DF extends Le{constructor(n){super(),Re(this,n,FF,mF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function vF(r){let n,t,s=r[0].text+"",a,u;return{c(){n=we("pre"),t=we("code"),a=To(s),this.h()},l(c){n=xe(c,"PRE",{});var f=Ve(n);t=xe(f,"CODE",{class:!0});var d=Ve(t);a=Io(d,s),d.forEach(H),f.forEach(H),this.h()},h(){hn(t,"class",u=`lang-${r[0].lang}`)},m(c,f){Fe(c,n,f),Tt(n,t),Tt(t,a)},p(c,[f]){f&1&&s!==(s=c[0].text+"")&&yo(a,s),f&1&&u!==(u=`lang-${c[0].lang}`)&&hn(t,"class",u)},i:Je,o:Je,d(c){c&&H(n)}}}function EF(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class AF extends Le{constructor(n){super(),Re(this,n,EF,vF,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function SF(r){let n,t=r[0].raw.slice(1,r[0].raw.length-1)+"",s;return{c(){n=we("code"),s=To(t)},l(a){n=xe(a,"CODE",{});var u=Ve(n);s=Io(u,t),u.forEach(H)},m(a,u){Fe(a,n,u),Tt(n,s)},p(a,[u]){u&1&&t!==(t=a[0].raw.slice(1,a[0].raw.length-1)+"")&&yo(s,t)},i:Je,o:Je,d(a){a&&H(n)}}}function TF(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class IF extends Le{constructor(n){super(),Re(this,n,TF,SF,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Nl(r,n,t){const s=r.slice();return s[3]=n[t],s}function Cl(r,n,t){const s=r.slice();return s[6]=n[t],s}function wl(r,n,t){const s=r.slice();return s[9]=n[t],s}function xl(r){let n,t,s,a;return t=new Is({props:{tokens:r[9].tokens,options:r[1],renderers:r[2]}}),{c(){n=we("th"),qt(t.$$.fragment),s=No(),this.h()},l(u){n=xe(u,"TH",{scope:!0});var c=Ve(n);ur(t.$$.fragment,c),s=Co(c),c.forEach(H),this.h()},h(){hn(n,"scope","col")},m(u,c){Fe(u,n,c),zt(t,n,null),Tt(n,s),a=!0},p(u,c){const f={};c&1&&(f.tokens=u[9].tokens),c&2&&(f.options=u[1]),c&4&&(f.renderers=u[2]),t.$set(f)},i(u){a||(ee(t.$$.fragment,u),a=!0)},o(u){ae(t.$$.fragment,u),a=!1},d(u){u&&H(n),jt(t)}}}function kl(r){let n,t,s;return t=new Is({props:{tokens:r[6].tokens,options:r[1],renderers:r[2]}}),{c(){n=we("td"),qt(t.$$.fragment)},l(a){n=xe(a,"TD",{});var u=Ve(n);ur(t.$$.fragment,u),u.forEach(H)},m(a,u){Fe(a,n,u),zt(t,n,null),s=!0},p(a,u){const c={};u&1&&(c.tokens=a[6].tokens),u&2&&(c.options=a[1]),u&4&&(c.renderers=a[2]),t.$set(c)},i(a){s||(ee(t.$$.fragment,a),s=!0)},o(a){ae(t.$$.fragment,a),s=!1},d(a){a&&H(n),jt(t)}}}function Ol(r){let n,t,s,a=ut(r[3]),u=[];for(let f=0;fae(u[f],1,1,()=>{u[f]=null});return{c(){n=we("tr");for(let f=0;fae(d[x],1,1,()=>{d[x]=null});let m=ut(r[0].rows),v=[];for(let x=0;xae(v[x],1,1,()=>{v[x]=null});return{c(){n=we("table"),t=we("thead"),s=we("tr");for(let x=0;x{"token"in c&&t(0,s=c.token),"options"in c&&t(1,a=c.options),"renderers"in c&&t(2,u=c.renderers)},[s,a,u]}class CF extends Le{constructor(n){super(),Re(this,n,NF,yF,ye,{token:0,options:1,renderers:2})}}function wF(r){let n,t=r[0].text+"",s;return{c(){n=new Jm(!1),s=en(),this.h()},l(a){n=Hm(a,!1),s=en(),this.h()},h(){n.a=s},m(a,u){n.m(t,a,u),Fe(a,s,u)},p(a,[u]){u&1&&t!==(t=a[0].text+"")&&n.p(t)},i:Je,o:Je,d(a){a&&(H(s),n.d())}}}function xF(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class kF extends Le{constructor(n){super(),Re(this,n,xF,wF,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function OF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("p"),a&&a.c()},l(u){n=xe(u,"P",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function LF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class RF extends Le{constructor(n){super(),Re(this,n,LF,OF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function UF(r){let n,t,s,a;const u=r[4].default,c=Kn(u,r,r[3],null);return{c(){n=we("a"),c&&c.c(),this.h()},l(f){n=xe(f,"A",{href:!0,title:!0});var d=Ve(n);c&&c.l(d),d.forEach(H),this.h()},h(){hn(n,"href",t=go(r[0].href)?_o(r[1].baseUrl,r[0].href):r[0].href),hn(n,"title",s=r[0].title)},m(f,d){Fe(f,n,d),c&&c.m(n,null),a=!0},p(f,[d]){c&&c.p&&(!a||d&8)&&et(c,u,f,f[3],a?tt(u,f[3],d,null):nt(f[3]),null),(!a||d&3&&t!==(t=go(f[0].href)?_o(f[1].baseUrl,f[0].href):f[0].href))&&hn(n,"href",t),(!a||d&1&&s!==(s=f[0].title))&&hn(n,"title",s)},i(f){a||(ee(c,f),a=!0)},o(f){ae(c,f),a=!1},d(f){f&&H(n),c&&c.d(f)}}}function BF(r,n,t){let{$$slots:s={},$$scope:a}=n,{token:u}=n,{options:c}=n;const f=void 0;return r.$$set=d=>{"token"in d&&t(0,u=d.token),"options"in d&&t(1,c=d.options),"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class PF extends Le{constructor(n){super(),Re(this,n,BF,UF,ye,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function $F(r){let n;const t=r[4].default,s=Kn(t,r,r[3],null);return{c(){s&&s.c()},l(a){s&&s.l(a)},m(a,u){s&&s.m(a,u),n=!0},p(a,[u]){s&&s.p&&(!n||u&8)&&et(s,t,a,a[3],n?tt(t,a[3],u,null):nt(a[3]),null)},i(a){n||(ee(s,a),n=!0)},o(a){ae(s,a),n=!1},d(a){s&&s.d(a)}}}function MF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class GF extends Le{constructor(n){super(),Re(this,n,MF,$F,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function VF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("dfn"),a&&a.c()},l(u){n=xe(u,"DFN",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function qF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class zF extends Le{constructor(n){super(),Re(this,n,qF,VF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function jF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("del"),a&&a.c()},l(u){n=xe(u,"DEL",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function WF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class YF extends Le{constructor(n){super(),Re(this,n,WF,jF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function QF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("em"),a&&a.c()},l(u){n=xe(u,"EM",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function JF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class HF extends Le{constructor(n){super(),Re(this,n,JF,QF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function XF(r){let n;return{c(){n=we("hr")},l(t){n=xe(t,"HR",{})},m(t,s){Fe(t,n,s)},p:Je,i:Je,o:Je,d(t){t&&H(n)}}}function ZF(r,n,t){return[void 0,void 0,void 0]}class KF extends Le{constructor(n){super(),Re(this,n,ZF,XF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function e1(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("strong"),a&&a.c()},l(u){n=xe(u,"STRONG",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function n1(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class t1 extends Le{constructor(n){super(),Re(this,n,n1,e1,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function r1(r){let n,t,s,a;return{c(){n=we("img"),this.h()},l(u){n=xe(u,"IMG",{src:!0,title:!0,alt:!0,class:!0}),this.h()},h(){vl(n.src,t=r[0].href)||hn(n,"src",t),hn(n,"title",s=r[0].title),hn(n,"alt",a=r[0].text),hn(n,"class","markdown-image svelte-z38cge")},m(u,c){Fe(u,n,c)},p(u,[c]){c&1&&!vl(n.src,t=u[0].href)&&hn(n,"src",t),c&1&&s!==(s=u[0].title)&&hn(n,"title",s),c&1&&a!==(a=u[0].text)&&hn(n,"alt",a)},i:Je,o:Je,d(u){u&&H(n)}}}function i1(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class s1 extends Le{constructor(n){super(),Re(this,n,i1,r1,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function a1(r){let n;const t=r[4].default,s=Kn(t,r,r[3],null);return{c(){s&&s.c()},l(a){s&&s.l(a)},m(a,u){s&&s.m(a,u),n=!0},p(a,[u]){s&&s.p&&(!n||u&8)&&et(s,t,a,a[3],n?tt(t,a[3],u,null):nt(a[3]),null)},i(a){n||(ee(s,a),n=!0)},o(a){ae(s,a),n=!1},d(a){s&&s.d(a)}}}function o1(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class Ll extends Le{constructor(n){super(),Re(this,n,o1,a1,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function wo(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let cr=wo();function lf(r){cr=r}const ff=/[&<>"']/,u1=new RegExp(ff.source,"g"),pf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,c1=new RegExp(pf.source,"g"),l1={"&":"&","<":"<",">":">",'"':""","'":"'"},Rl=r=>l1[r];function Sn(r,n){if(n){if(ff.test(r))return r.replace(u1,Rl)}else if(pf.test(r))return r.replace(c1,Rl);return r}const f1=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function p1(r){return r.replace(f1,(n,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const d1=/(^|[^\[])\^/g;function me(r,n){let t=typeof r=="string"?r:r.source;n=n||"";const s={replace:(a,u)=>{let c=typeof u=="string"?u:u.source;return c=c.replace(d1,"$1"),t=t.replace(a,c),s},getRegex:()=>new RegExp(t,n)};return s}function Ul(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const si={exec:()=>null};function Bl(r,n){const t=r.replace(/\|/g,(u,c,f)=>{let d=!1,b=c;for(;--b>=0&&f[b]==="\\";)d=!d;return d?"|":" |"}),s=t.split(/ \|/);let a=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),n)if(s.length>n)s.splice(n);else for(;s.lengthn in r?jm(r,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[n]=t;var Se=(r,n,t)=>(Wm(r,typeof n!="symbol"?n+"":n,t),t),Qm=(r,n,t)=>{if(!n.has(r))throw TypeError("Cannot "+t)};var ao=(r,n,t)=>{if(n.has(r))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(r):n.set(r,t)};var os=(r,n,t)=>(Qm(r,n,"access private method"),t);import{S as Le,i as Re,t as ee,b as ae,g as It,e as yt,c as qt,a as ur,m as zt,d as Yt}from"./index.BLFDKRva.js";import{s as ye,q as en,l as Fe,d as H,E as Kn,v as af,e as we,f as xe,g as Ve,ad as bs,F as et,G as nt,H as tt,a2 as ui,I as Dl,t as To,j as Io,o as yo,n as Je,k as dn,m as Tt,b as No,c as Co,ah as Jm,ai as Hm,ak as vl,K as Xm}from"./scheduler.BZkyrStM.js";import{b as Zm}from"./control.DTPJZYse.js";function ut(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function of(r,n){const t={},s={},a={$$scope:1};let u=r.length;for(;u--;){const c=r[u],f=n[u];if(f){for(const d in c)d in f||(s[d]=1);for(const d in f)a[d]||(t[d]=f[d],a[d]=1);r[u]=f}else for(const d in c)a[d]=1}for(const c in s)c in t||(t[c]=void 0);return t}function EE(r){return typeof r=="object"&&r!==null?r:{}}function _o(...r){return"/"+r.flatMap(n=>n.split("/")).filter(n=>!!n).join("/")}function go(r){return r.startsWith("/")||r.startsWith("#")}function uf(r,n){return n.slug(r).replace(/--+/g,"-")}function oo(r){let n,t;const s=r[5].default,a=Kn(s,r,r[4],null);let u=[{id:r[1]}],c={};for(let f=0;f{"token"in b&&t(0,u=b.token),"options"in b&&t(2,c=b.options),"$$scope"in b&&t(4,a=b.$$scope)},r.$$.update=()=>{r.$$.dirty&5&&t(1,d=uf(u.text,c.slugger))},[u,d,c,f,a,s]}class nF extends Le{constructor(n){super(),Re(this,n,eF,Km,ye,{token:0,options:2,renderers:3})}get renderers(){return this.$$.ctx[3]}}function tF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("blockquote"),a&&a.c()},l(u){n=xe(u,"BLOCKQUOTE",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function rF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class iF extends Le{constructor(n){super(),Re(this,n,rF,tF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function El(r,n,t){const s=r.slice();return s[3]=n[t],s}function Al(r){let n,t,s=ut(r[0]),a=[];for(let c=0;cae(a[c],1,1,()=>{a[c]=null});return{c(){for(let c=0;c{s=null}),yt())},i(a){t||(ee(s),t=!0)},o(a){ae(s),t=!1},d(a){a&&H(n),s&&s.d(a)}}}function aF(r,n,t){let{tokens:s}=n,{renderers:a}=n,{options:u}=n;return r.$$set=c=>{"tokens"in c&&t(0,s=c.tokens),"renderers"in c&&t(1,a=c.renderers),"options"in c&&t(2,u=c.options)},[s,a,u]}class Is extends Le{constructor(n){super(),Re(this,n,aF,sF,ye,{tokens:0,renderers:1,options:2})}}function Tl(r){let n,t,s;var a=r[1][r[0].type];function u(c,f){return{props:{token:c[0],options:c[2],renderers:c[1],$$slots:{default:[cF]},$$scope:{ctx:c}}}}return a&&(n=Dl(a,u(r))),{c(){n&&qt(n.$$.fragment),t=en()},l(c){n&&ur(n.$$.fragment,c),t=en()},m(c,f){n&&zt(n,c,f),Fe(c,t,f),s=!0},p(c,f){if(f&3&&a!==(a=c[1][c[0].type])){if(n){It();const d=n;ae(d.$$.fragment,1,0,()=>{Yt(d,1)}),yt()}a?(n=Dl(a,u(c)),qt(n.$$.fragment),ee(n.$$.fragment,1),zt(n,t.parentNode,t)):n=null}else if(a){const d={};f&1&&(d.token=c[0]),f&4&&(d.options=c[2]),f&2&&(d.renderers=c[1]),f&15&&(d.$$scope={dirty:f,ctx:c}),n.$set(d)}},i(c){s||(n&&ee(n.$$.fragment,c),s=!0)},o(c){n&&ae(n.$$.fragment,c),s=!1},d(c){c&&H(t),n&&Yt(n,c)}}}function oF(r){let n=r[0].raw+"",t;return{c(){t=To(n)},l(s){t=Io(s,n)},m(s,a){Fe(s,t,a)},p(s,a){a&1&&n!==(n=s[0].raw+"")&&yo(t,n)},i:Je,o:Je,d(s){s&&H(t)}}}function uF(r){let n,t;return n=new Is({props:{tokens:r[0].tokens,renderers:r[1],options:r[2]}}),{c(){qt(n.$$.fragment)},l(s){ur(n.$$.fragment,s)},m(s,a){zt(n,s,a),t=!0},p(s,a){const u={};a&1&&(u.tokens=s[0].tokens),a&2&&(u.renderers=s[1]),a&4&&(u.options=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){ae(n.$$.fragment,s),t=!1},d(s){Yt(n,s)}}}function cF(r){let n,t,s,a;const u=[uF,oF],c=[];function f(d,b){return"tokens"in d[0]&&d[0].tokens?0:1}return n=f(r),t=c[n]=u[n](r),{c(){t.c(),s=en()},l(d){t.l(d),s=en()},m(d,b){c[n].m(d,b),Fe(d,s,b),a=!0},p(d,b){let m=n;n=f(d),n===m?c[n].p(d,b):(It(),ae(c[m],1,1,()=>{c[m]=null}),yt(),t=c[n],t?t.p(d,b):(t=c[n]=u[n](d),t.c()),ee(t,1),t.m(s.parentNode,s))},i(d){a||(ee(t),a=!0)},o(d){ae(t),a=!1},d(d){d&&H(s),c[n].d(d)}}}function lF(r){let n,t,s=r[1][r[0].type]&&Tl(r);return{c(){s&&s.c(),n=en()},l(a){s&&s.l(a),n=en()},m(a,u){s&&s.m(a,u),Fe(a,n,u),t=!0},p(a,[u]){a[1][a[0].type]?s?(s.p(a,u),u&3&&ee(s,1)):(s=Tl(a),s.c(),ee(s,1),s.m(n.parentNode,n)):s&&(It(),ae(s,1,1,()=>{s=null}),yt())},i(a){t||(ee(s),t=!0)},o(a){ae(s),t=!1},d(a){a&&H(n),s&&s.d(a)}}}function fF(r,n,t){let{token:s}=n,{renderers:a}=n,{options:u}=n;return r.$$set=c=>{"token"in c&&t(0,s=c.token),"renderers"in c&&t(1,a=c.renderers),"options"in c&&t(2,u=c.options)},[s,a,u]}class cf extends Le{constructor(n){super(),Re(this,n,fF,lF,ye,{token:0,renderers:1,options:2})}}function Il(r,n,t){const s=r.slice();return s[4]=n[t],s}function yl(r){let n,t;return n=new cf({props:{token:{...r[4]},options:r[1],renderers:r[2]}}),{c(){qt(n.$$.fragment)},l(s){ur(n.$$.fragment,s)},m(s,a){zt(n,s,a),t=!0},p(s,a){const u={};a&1&&(u.token={...s[4]}),a&2&&(u.options=s[1]),a&4&&(u.renderers=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){ae(n.$$.fragment,s),t=!1},d(s){Yt(n,s)}}}function uo(r){let n,t,s,a=ut(r[0].items),u=[];for(let b=0;bae(u[b],1,1,()=>{u[b]=null});let f=[{start:t=r[0].start||1}],d={};for(let b=0;b{"token"in f&&t(0,s=f.token),"options"in f&&t(1,a=f.options),"renderers"in f&&t(2,u=f.renderers)},r.$$.update=()=>{r.$$.dirty&1&&t(3,c=s.ordered?"ol":"ul")},[s,a,u,c]}class hF extends Le{constructor(n){super(),Re(this,n,dF,pF,ye,{token:0,options:1,renderers:2})}}function _F(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("li"),a&&a.c()},l(u){n=xe(u,"LI",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function gF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class bF extends Le{constructor(n){super(),Re(this,n,gF,_F,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function mF(r){let n;return{c(){n=we("br")},l(t){n=xe(t,"BR",{})},m(t,s){Fe(t,n,s)},p:Je,i:Je,o:Je,d(t){t&&H(n)}}}function FF(r,n,t){return[void 0,void 0,void 0]}class DF extends Le{constructor(n){super(),Re(this,n,FF,mF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function vF(r){let n,t,s=r[0].text+"",a,u;return{c(){n=we("pre"),t=we("code"),a=To(s),this.h()},l(c){n=xe(c,"PRE",{});var f=Ve(n);t=xe(f,"CODE",{class:!0});var d=Ve(t);a=Io(d,s),d.forEach(H),f.forEach(H),this.h()},h(){dn(t,"class",u=`lang-${r[0].lang}`)},m(c,f){Fe(c,n,f),Tt(n,t),Tt(t,a)},p(c,[f]){f&1&&s!==(s=c[0].text+"")&&yo(a,s),f&1&&u!==(u=`lang-${c[0].lang}`)&&dn(t,"class",u)},i:Je,o:Je,d(c){c&&H(n)}}}function EF(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class AF extends Le{constructor(n){super(),Re(this,n,EF,vF,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function SF(r){let n,t=r[0].raw.slice(1,r[0].raw.length-1)+"",s;return{c(){n=we("code"),s=To(t)},l(a){n=xe(a,"CODE",{});var u=Ve(n);s=Io(u,t),u.forEach(H)},m(a,u){Fe(a,n,u),Tt(n,s)},p(a,[u]){u&1&&t!==(t=a[0].raw.slice(1,a[0].raw.length-1)+"")&&yo(s,t)},i:Je,o:Je,d(a){a&&H(n)}}}function TF(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class IF extends Le{constructor(n){super(),Re(this,n,TF,SF,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Nl(r,n,t){const s=r.slice();return s[3]=n[t],s}function Cl(r,n,t){const s=r.slice();return s[6]=n[t],s}function wl(r,n,t){const s=r.slice();return s[9]=n[t],s}function xl(r){let n,t,s,a;return t=new Is({props:{tokens:r[9].tokens,options:r[1],renderers:r[2]}}),{c(){n=we("th"),qt(t.$$.fragment),s=No(),this.h()},l(u){n=xe(u,"TH",{scope:!0});var c=Ve(n);ur(t.$$.fragment,c),s=Co(c),c.forEach(H),this.h()},h(){dn(n,"scope","col")},m(u,c){Fe(u,n,c),zt(t,n,null),Tt(n,s),a=!0},p(u,c){const f={};c&1&&(f.tokens=u[9].tokens),c&2&&(f.options=u[1]),c&4&&(f.renderers=u[2]),t.$set(f)},i(u){a||(ee(t.$$.fragment,u),a=!0)},o(u){ae(t.$$.fragment,u),a=!1},d(u){u&&H(n),Yt(t)}}}function kl(r){let n,t,s;return t=new Is({props:{tokens:r[6].tokens,options:r[1],renderers:r[2]}}),{c(){n=we("td"),qt(t.$$.fragment)},l(a){n=xe(a,"TD",{});var u=Ve(n);ur(t.$$.fragment,u),u.forEach(H)},m(a,u){Fe(a,n,u),zt(t,n,null),s=!0},p(a,u){const c={};u&1&&(c.tokens=a[6].tokens),u&2&&(c.options=a[1]),u&4&&(c.renderers=a[2]),t.$set(c)},i(a){s||(ee(t.$$.fragment,a),s=!0)},o(a){ae(t.$$.fragment,a),s=!1},d(a){a&&H(n),Yt(t)}}}function Ol(r){let n,t,s,a=ut(r[3]),u=[];for(let f=0;fae(u[f],1,1,()=>{u[f]=null});return{c(){n=we("tr");for(let f=0;fae(d[x],1,1,()=>{d[x]=null});let m=ut(r[0].rows),v=[];for(let x=0;xae(v[x],1,1,()=>{v[x]=null});return{c(){n=we("table"),t=we("thead"),s=we("tr");for(let x=0;x{"token"in c&&t(0,s=c.token),"options"in c&&t(1,a=c.options),"renderers"in c&&t(2,u=c.renderers)},[s,a,u]}class CF extends Le{constructor(n){super(),Re(this,n,NF,yF,ye,{token:0,options:1,renderers:2})}}function wF(r){let n,t=r[0].text+"",s;return{c(){n=new Jm(!1),s=en(),this.h()},l(a){n=Hm(a,!1),s=en(),this.h()},h(){n.a=s},m(a,u){n.m(t,a,u),Fe(a,s,u)},p(a,[u]){u&1&&t!==(t=a[0].text+"")&&n.p(t)},i:Je,o:Je,d(a){a&&(H(s),n.d())}}}function xF(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class kF extends Le{constructor(n){super(),Re(this,n,xF,wF,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function OF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("p"),a&&a.c()},l(u){n=xe(u,"P",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function LF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class RF extends Le{constructor(n){super(),Re(this,n,LF,OF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function UF(r){let n,t,s,a;const u=r[4].default,c=Kn(u,r,r[3],null);return{c(){n=we("a"),c&&c.c(),this.h()},l(f){n=xe(f,"A",{href:!0,title:!0});var d=Ve(n);c&&c.l(d),d.forEach(H),this.h()},h(){dn(n,"href",t=go(r[0].href)?_o(r[1].baseUrl,r[0].href):r[0].href),dn(n,"title",s=r[0].title)},m(f,d){Fe(f,n,d),c&&c.m(n,null),a=!0},p(f,[d]){c&&c.p&&(!a||d&8)&&et(c,u,f,f[3],a?tt(u,f[3],d,null):nt(f[3]),null),(!a||d&3&&t!==(t=go(f[0].href)?_o(f[1].baseUrl,f[0].href):f[0].href))&&dn(n,"href",t),(!a||d&1&&s!==(s=f[0].title))&&dn(n,"title",s)},i(f){a||(ee(c,f),a=!0)},o(f){ae(c,f),a=!1},d(f){f&&H(n),c&&c.d(f)}}}function BF(r,n,t){let{$$slots:s={},$$scope:a}=n,{token:u}=n,{options:c}=n;const f=void 0;return r.$$set=d=>{"token"in d&&t(0,u=d.token),"options"in d&&t(1,c=d.options),"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class PF extends Le{constructor(n){super(),Re(this,n,BF,UF,ye,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function $F(r){let n;const t=r[4].default,s=Kn(t,r,r[3],null);return{c(){s&&s.c()},l(a){s&&s.l(a)},m(a,u){s&&s.m(a,u),n=!0},p(a,[u]){s&&s.p&&(!n||u&8)&&et(s,t,a,a[3],n?tt(t,a[3],u,null):nt(a[3]),null)},i(a){n||(ee(s,a),n=!0)},o(a){ae(s,a),n=!1},d(a){s&&s.d(a)}}}function MF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class GF extends Le{constructor(n){super(),Re(this,n,MF,$F,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function VF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("dfn"),a&&a.c()},l(u){n=xe(u,"DFN",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function qF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class zF extends Le{constructor(n){super(),Re(this,n,qF,VF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function YF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("del"),a&&a.c()},l(u){n=xe(u,"DEL",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function jF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class WF extends Le{constructor(n){super(),Re(this,n,jF,YF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function QF(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("em"),a&&a.c()},l(u){n=xe(u,"EM",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function JF(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class HF extends Le{constructor(n){super(),Re(this,n,JF,QF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function XF(r){let n;return{c(){n=we("hr")},l(t){n=xe(t,"HR",{})},m(t,s){Fe(t,n,s)},p:Je,i:Je,o:Je,d(t){t&&H(n)}}}function ZF(r,n,t){return[void 0,void 0,void 0]}class KF extends Le{constructor(n){super(),Re(this,n,ZF,XF,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function e1(r){let n,t;const s=r[4].default,a=Kn(s,r,r[3],null);return{c(){n=we("strong"),a&&a.c()},l(u){n=xe(u,"STRONG",{});var c=Ve(n);a&&a.l(c),c.forEach(H)},m(u,c){Fe(u,n,c),a&&a.m(n,null),t=!0},p(u,[c]){a&&a.p&&(!t||c&8)&&et(a,s,u,u[3],t?tt(s,u[3],c,null):nt(u[3]),null)},i(u){t||(ee(a,u),t=!0)},o(u){ae(a,u),t=!1},d(u){u&&H(n),a&&a.d(u)}}}function n1(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class t1 extends Le{constructor(n){super(),Re(this,n,n1,e1,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function r1(r){let n,t,s,a;return{c(){n=we("img"),this.h()},l(u){n=xe(u,"IMG",{src:!0,title:!0,alt:!0,class:!0}),this.h()},h(){vl(n.src,t=r[0].href)||dn(n,"src",t),dn(n,"title",s=r[0].title),dn(n,"alt",a=r[0].text),dn(n,"class","markdown-image svelte-z38cge")},m(u,c){Fe(u,n,c)},p(u,[c]){c&1&&!vl(n.src,t=u[0].href)&&dn(n,"src",t),c&1&&s!==(s=u[0].title)&&dn(n,"title",s),c&1&&a!==(a=u[0].text)&&dn(n,"alt",a)},i:Je,o:Je,d(u){u&&H(n)}}}function i1(r,n,t){let{token:s}=n;const a=void 0,u=void 0;return r.$$set=c=>{"token"in c&&t(0,s=c.token)},[s,a,u]}class s1 extends Le{constructor(n){super(),Re(this,n,i1,r1,ye,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function a1(r){let n;const t=r[4].default,s=Kn(t,r,r[3],null);return{c(){s&&s.c()},l(a){s&&s.l(a)},m(a,u){s&&s.m(a,u),n=!0},p(a,[u]){s&&s.p&&(!n||u&8)&&et(s,t,a,a[3],n?tt(t,a[3],u,null):nt(a[3]),null)},i(a){n||(ee(s,a),n=!0)},o(a){ae(s,a),n=!1},d(a){s&&s.d(a)}}}function o1(r,n,t){let{$$slots:s={},$$scope:a}=n;const u=void 0,c=void 0,f=void 0;return r.$$set=d=>{"$$scope"in d&&t(3,a=d.$$scope)},[u,c,f,a,s]}class Ll extends Le{constructor(n){super(),Re(this,n,o1,a1,ye,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function wo(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let cr=wo();function lf(r){cr=r}const ff=/[&<>"']/,u1=new RegExp(ff.source,"g"),pf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,c1=new RegExp(pf.source,"g"),l1={"&":"&","<":"<",">":">",'"':""","'":"'"},Rl=r=>l1[r];function Sn(r,n){if(n){if(ff.test(r))return r.replace(u1,Rl)}else if(pf.test(r))return r.replace(c1,Rl);return r}const f1=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function p1(r){return r.replace(f1,(n,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const d1=/(^|[^\[])\^/g;function me(r,n){let t=typeof r=="string"?r:r.source;n=n||"";const s={replace:(a,u)=>{let c=typeof u=="string"?u:u.source;return c=c.replace(d1,"$1"),t=t.replace(a,c),s},getRegex:()=>new RegExp(t,n)};return s}function Ul(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const si={exec:()=>null};function Bl(r,n){const t=r.replace(/\|/g,(u,c,f)=>{let d=!1,b=c;for(;--b>=0&&f[b]==="\\";)d=!d;return d?"|":" |"}),s=t.split(/ \|/);let a=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),n)if(s.length>n)s.splice(n);else for(;s.length{const u=a.match(/^\s+/);if(u===null)return a;const[c]=u;return c.length>=s.length?a.slice(s.length):a}).join(` `)}class ms{constructor(n){Se(this,"options");Se(this,"rules");Se(this,"lexer");this.options=n||cr}space(n){const t=this.rules.block.newline.exec(n);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const s=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?s:us(s,` `)}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const s=t[0],a=_1(s,t[3]||"");return{type:"code",raw:s,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:a}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let s=t[2].trim();if(/#$/.test(s)){const a=us(s,"#");(this.options.pedantic||!a||/ $/.test(a))&&(s=a.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:t[0]}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){const s=us(t[0].replace(/^ *>[ \t]?/gm,""),` `),a=this.lexer.state.top;this.lexer.state.top=!0;const u=this.lexer.blockTokens(s);return this.lexer.state.top=a,{type:"blockquote",raw:t[0],tokens:u,text:s}}}list(n){let t=this.rules.block.list.exec(n);if(t){let s=t[1].trim();const a=s.length>1,u={type:"list",raw:"",ordered:a,start:a?+s.slice(0,-1):"",loose:!1,items:[]};s=a?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=a?s:"[*+-]");const c=new RegExp(`^( {0,3}${s})((?:[ ][^\\n]*)?(?:\\n|$))`);let f="",d="",b=!1;for(;n;){let m=!1;if(!(t=c.exec(n))||this.rules.block.hr.test(n))break;f=t[0],n=n.substring(f.length);let v=t[2].split(` -`,1)[0].replace(/^\t+/,pe=>" ".repeat(3*pe.length)),N=n.split(` -`,1)[0],x=0;this.options.pedantic?(x=2,d=v.trimStart()):(x=t[2].search(/[^ ]/),x=x>4?1:x,d=v.slice(x),x+=t[1].length);let L=!1;if(!v&&/^ *$/.test(N)&&(f+=N+` -`,n=n.substring(N.length+1),m=!0),!m){const pe=new RegExp(`^ {0,${Math.min(3,x-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Me=new RegExp(`^ {0,${Math.min(3,x-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Ee=new RegExp(`^ {0,${Math.min(3,x-1)}}(?:\`\`\`|~~~)`),Ne=new RegExp(`^ {0,${Math.min(3,x-1)}}#`);for(;n;){const ke=n.split(` -`,1)[0];if(N=ke,this.options.pedantic&&(N=N.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Ee.test(N)||Ne.test(N)||pe.test(N)||Me.test(n))break;if(N.search(/[^ ]/)>=x||!N.trim())d+=` -`+N.slice(x);else{if(L||v.search(/[^ ]/)>=4||Ee.test(v)||Ne.test(v)||Me.test(v))break;d+=` -`+N}!L&&!N.trim()&&(L=!0),f+=ke+` -`,n=n.substring(ke.length+1),v=N.slice(x)}}u.loose||(b?u.loose=!0:/\n *\n *$/.test(f)&&(b=!0));let R=null,J;this.options.gfm&&(R=/^\[[ xX]\] /.exec(d),R&&(J=R[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),u.items.push({type:"list_item",raw:f,task:!!R,checked:J,loose:!1,text:d,tokens:[]}),u.raw+=f}u.items[u.items.length-1].raw=f.trimEnd(),u.items[u.items.length-1].text=d.trimEnd(),u.raw=u.raw.trimEnd();for(let m=0;mx.type==="space"),N=v.length>0&&v.some(x=>/\n.*\n/.test(x.raw));u.loose=N}if(u.loose)for(let m=0;m$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",u=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:s,raw:t[0],href:a,title:u}}}table(n){const t=this.rules.block.table.exec(n);if(!t||!/[:|]/.test(t[2]))return;const s=Bl(t[1]),a=t[2].replace(/^\||\| *$/g,"").split("|"),u=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` +`,1)[0].replace(/^\t+/,pe=>" ".repeat(3*pe.length)),w=n.split(` +`,1)[0],x=0;this.options.pedantic?(x=2,d=v.trimStart()):(x=t[2].search(/[^ ]/),x=x>4?1:x,d=v.slice(x),x+=t[1].length);let L=!1;if(!v&&/^ *$/.test(w)&&(f+=w+` +`,n=n.substring(w.length+1),m=!0),!m){const pe=new RegExp(`^ {0,${Math.min(3,x-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Me=new RegExp(`^ {0,${Math.min(3,x-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Ee=new RegExp(`^ {0,${Math.min(3,x-1)}}(?:\`\`\`|~~~)`),Ne=new RegExp(`^ {0,${Math.min(3,x-1)}}#`);for(;n;){const ke=n.split(` +`,1)[0];if(w=ke,this.options.pedantic&&(w=w.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Ee.test(w)||Ne.test(w)||pe.test(w)||Me.test(n))break;if(w.search(/[^ ]/)>=x||!w.trim())d+=` +`+w.slice(x);else{if(L||v.search(/[^ ]/)>=4||Ee.test(v)||Ne.test(v)||Me.test(v))break;d+=` +`+w}!L&&!w.trim()&&(L=!0),f+=ke+` +`,n=n.substring(ke.length+1),v=w.slice(x)}}u.loose||(b?u.loose=!0:/\n *\n *$/.test(f)&&(b=!0));let R=null,J;this.options.gfm&&(R=/^\[[ xX]\] /.exec(d),R&&(J=R[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),u.items.push({type:"list_item",raw:f,task:!!R,checked:J,loose:!1,text:d,tokens:[]}),u.raw+=f}u.items[u.items.length-1].raw=f.trimEnd(),u.items[u.items.length-1].text=d.trimEnd(),u.raw=u.raw.trimEnd();for(let m=0;mx.type==="space"),w=v.length>0&&v.some(x=>/\n.*\n/.test(x.raw));u.loose=w}if(u.loose)for(let m=0;m$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",u=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:s,raw:t[0],href:a,title:u}}}table(n){const t=this.rules.block.table.exec(n);if(!t||!/[:|]/.test(t[2]))return;const s=Bl(t[1]),a=t[2].replace(/^\||\| *$/g,"").split("|"),u=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` `):[],c={type:"table",raw:t[0],header:[],align:[],rows:[]};if(s.length===a.length){for(const f of a)/^ *-+: *$/.test(f)?c.align.push("right"):/^ *:-+: *$/.test(f)?c.align.push("center"):/^ *:-+ *$/.test(f)?c.align.push("left"):c.align.push(null);for(const f of s)c.header.push({text:f,tokens:this.lexer.inline(f)});for(const f of u)c.rows.push(Bl(f,c.header.length).map(d=>({text:d,tokens:this.lexer.inline(d)})));return c}}lheading(n){const t=this.rules.block.lheading.exec(n);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(n){const t=this.rules.block.paragraph.exec(n);if(t){const s=t[1].charAt(t[1].length-1)===` -`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:s,tokens:this.lexer.inline(s)}}}text(n){const t=this.rules.block.text.exec(n);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(n){const t=this.rules.inline.escape.exec(n);if(t)return{type:"escape",raw:t[0],text:Sn(t[1])}}tag(n){const t=this.rules.inline.tag.exec(n);if(t)return!this.lexer.state.inLink&&/^/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const s=t[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const c=us(s.slice(0,-1),"\\");if((s.length-c.length)%2===0)return}else{const c=h1(t[2],"()");if(c>-1){const d=(t[0].indexOf("!")===0?5:4)+t[1].length+c;t[2]=t[2].substring(0,c),t[0]=t[0].substring(0,d).trim(),t[3]=""}}let a=t[2],u="";if(this.options.pedantic){const c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],u=c[3])}else u=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(s)?a=a.slice(1):a=a.slice(1,-1)),Pl(t,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:u&&u.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(n,t){let s;if((s=this.rules.inline.reflink.exec(n))||(s=this.rules.inline.nolink.exec(n))){const a=(s[2]||s[1]).replace(/\s+/g," "),u=t[a.toLowerCase()];if(!u){const c=s[0].charAt(0);return{type:"text",raw:c,text:c}}return Pl(s,u,s[0],this.lexer)}}emStrong(n,t,s=""){let a=this.rules.inline.emStrongLDelim.exec(n);if(!a||a[3]&&s.match(/[\p{L}\p{N}]/u))return;if(!(a[1]||a[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const c=[...a[0]].length-1;let f,d,b=c,m=0;const v=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,t=t.slice(-1*n.length+c);(a=v.exec(t))!=null;){if(f=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!f)continue;if(d=[...f].length,a[3]||a[4]){b+=d;continue}else if((a[5]||a[6])&&c%3&&!((c+d)%3)){m+=d;continue}if(b-=d,b>0)continue;d=Math.min(d,d+b+m);const N=[...a[0]][0].length,x=n.slice(0,c+a.index+N+d);if(Math.min(c,d)%2){const R=x.slice(1,-1);return{type:"em",raw:x,text:R,tokens:this.lexer.inlineTokens(R)}}const L=x.slice(2,-2);return{type:"strong",raw:x,text:L,tokens:this.lexer.inlineTokens(L)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let s=t[2].replace(/\n/g," ");const a=/[^ ]/.test(s),u=/^ /.test(s)&&/ $/.test(s);return a&&u&&(s=s.substring(1,s.length-1)),s=Sn(s,!0),{type:"codespan",raw:t[0],text:s}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let s,a;return t[2]==="@"?(s=Sn(t[1]),a="mailto:"+s):(s=Sn(t[1]),a=s),{type:"link",raw:t[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}url(n){var s;let t;if(t=this.rules.inline.url.exec(n)){let a,u;if(t[2]==="@")a=Sn(t[0]),u="mailto:"+a;else{let c;do c=t[0],t[0]=((s=this.rules.inline._backpedal.exec(t[0]))==null?void 0:s[0])??"";while(c!==t[0]);a=Sn(t[0]),t[1]==="www."?u="http://"+t[0]:u=t[0]}return{type:"link",raw:t[0],text:a,href:u,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t){let s;return this.lexer.state.inRawBlock?s=t[0]:s=Sn(t[0]),{type:"text",raw:t[0],text:s}}}}const g1=/^(?: *(?:\n|$))+/,b1=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,m1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,fi=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,F1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,df=/(?:[*+-]|\d{1,9}[.)])/,hf=me(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,df).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),xo=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,D1=/^[^\n]+/,ko=/(?!\s*\])(?:\\.|[^\[\]\\])+/,v1=me(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",ko).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),E1=me(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,df).getRegex(),ys="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Oo=/|$))/,A1=me("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Oo).replace("tag",ys).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_f=me(xo).replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ys).getRegex(),S1=me(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_f).getRegex(),Lo={blockquote:S1,code:b1,def:v1,fences:m1,heading:F1,hr:fi,html:A1,lheading:hf,list:E1,newline:g1,paragraph:_f,table:si,text:D1},$l=me("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ys).getRegex(),T1={...Lo,table:$l,paragraph:me(xo).replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",$l).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ys).getRegex()},I1={...Lo,html:me(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Oo).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:si,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:me(xo).replace("hr",fi).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",hf).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},gf=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,y1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,bf=/^( {2,}|\\)\n(?!\s*$)/,N1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,x1=me(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,pi).getRegex(),k1=me("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,pi).getRegex(),O1=me("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,pi).getRegex(),L1=me(/\\([punct])/,"gu").replace(/punct/g,pi).getRegex(),R1=me(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),U1=me(Oo).replace("(?:-->|$)","-->").getRegex(),B1=me("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",U1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Fs=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,P1=me(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Fs).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mf=me(/^!?\[(label)\]\[(ref)\]/).replace("label",Fs).replace("ref",ko).getRegex(),Ff=me(/^!?\[(ref)\](?:\[\])?/).replace("ref",ko).getRegex(),$1=me("reflink|nolink(?!\\()","g").replace("reflink",mf).replace("nolink",Ff).getRegex(),Ro={_backpedal:si,anyPunctuation:L1,autolink:R1,blockSkip:w1,br:bf,code:y1,del:si,emStrongLDelim:x1,emStrongRDelimAst:k1,emStrongRDelimUnd:O1,escape:gf,link:P1,nolink:Ff,punctuation:C1,reflink:mf,reflinkSearch:$1,tag:B1,text:N1,url:si},M1={...Ro,link:me(/^!?\[(label)\]\((.*?)\)/).replace("label",Fs).getRegex(),reflink:me(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Fs).getRegex()},bo={...Ro,escape:me(gf).replace("])","~|])").getRegex(),url:me(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const s=t[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const c=us(s.slice(0,-1),"\\");if((s.length-c.length)%2===0)return}else{const c=h1(t[2],"()");if(c>-1){const d=(t[0].indexOf("!")===0?5:4)+t[1].length+c;t[2]=t[2].substring(0,c),t[0]=t[0].substring(0,d).trim(),t[3]=""}}let a=t[2],u="";if(this.options.pedantic){const c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],u=c[3])}else u=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(s)?a=a.slice(1):a=a.slice(1,-1)),Pl(t,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:u&&u.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(n,t){let s;if((s=this.rules.inline.reflink.exec(n))||(s=this.rules.inline.nolink.exec(n))){const a=(s[2]||s[1]).replace(/\s+/g," "),u=t[a.toLowerCase()];if(!u){const c=s[0].charAt(0);return{type:"text",raw:c,text:c}}return Pl(s,u,s[0],this.lexer)}}emStrong(n,t,s=""){let a=this.rules.inline.emStrongLDelim.exec(n);if(!a||a[3]&&s.match(/[\p{L}\p{N}]/u))return;if(!(a[1]||a[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const c=[...a[0]].length-1;let f,d,b=c,m=0;const v=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,t=t.slice(-1*n.length+c);(a=v.exec(t))!=null;){if(f=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!f)continue;if(d=[...f].length,a[3]||a[4]){b+=d;continue}else if((a[5]||a[6])&&c%3&&!((c+d)%3)){m+=d;continue}if(b-=d,b>0)continue;d=Math.min(d,d+b+m);const w=[...a[0]][0].length,x=n.slice(0,c+a.index+w+d);if(Math.min(c,d)%2){const R=x.slice(1,-1);return{type:"em",raw:x,text:R,tokens:this.lexer.inlineTokens(R)}}const L=x.slice(2,-2);return{type:"strong",raw:x,text:L,tokens:this.lexer.inlineTokens(L)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let s=t[2].replace(/\n/g," ");const a=/[^ ]/.test(s),u=/^ /.test(s)&&/ $/.test(s);return a&&u&&(s=s.substring(1,s.length-1)),s=Sn(s,!0),{type:"codespan",raw:t[0],text:s}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let s,a;return t[2]==="@"?(s=Sn(t[1]),a="mailto:"+s):(s=Sn(t[1]),a=s),{type:"link",raw:t[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}url(n){var s;let t;if(t=this.rules.inline.url.exec(n)){let a,u;if(t[2]==="@")a=Sn(t[0]),u="mailto:"+a;else{let c;do c=t[0],t[0]=((s=this.rules.inline._backpedal.exec(t[0]))==null?void 0:s[0])??"";while(c!==t[0]);a=Sn(t[0]),t[1]==="www."?u="http://"+t[0]:u=t[0]}return{type:"link",raw:t[0],text:a,href:u,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t){let s;return this.lexer.state.inRawBlock?s=t[0]:s=Sn(t[0]),{type:"text",raw:t[0],text:s}}}}const g1=/^(?: *(?:\n|$))+/,b1=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,m1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,fi=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,F1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,df=/(?:[*+-]|\d{1,9}[.)])/,hf=me(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,df).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),xo=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,D1=/^[^\n]+/,ko=/(?!\s*\])(?:\\.|[^\[\]\\])+/,v1=me(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",ko).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),E1=me(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,df).getRegex(),ys="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Oo=/|$))/,A1=me("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Oo).replace("tag",ys).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_f=me(xo).replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ys).getRegex(),S1=me(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_f).getRegex(),Lo={blockquote:S1,code:b1,def:v1,fences:m1,heading:F1,hr:fi,html:A1,lheading:hf,list:E1,newline:g1,paragraph:_f,table:si,text:D1},$l=me("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ys).getRegex(),T1={...Lo,table:$l,paragraph:me(xo).replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",$l).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ys).getRegex()},I1={...Lo,html:me(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Oo).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:si,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:me(xo).replace("hr",fi).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",hf).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},gf=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,y1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,bf=/^( {2,}|\\)\n(?!\s*$)/,N1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,x1=me(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,pi).getRegex(),k1=me("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,pi).getRegex(),O1=me("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,pi).getRegex(),L1=me(/\\([punct])/,"gu").replace(/punct/g,pi).getRegex(),R1=me(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),U1=me(Oo).replace("(?:-->|$)","-->").getRegex(),B1=me("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",U1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Fs=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,P1=me(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Fs).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mf=me(/^!?\[(label)\]\[(ref)\]/).replace("label",Fs).replace("ref",ko).getRegex(),Ff=me(/^!?\[(ref)\](?:\[\])?/).replace("ref",ko).getRegex(),$1=me("reflink|nolink(?!\\()","g").replace("reflink",mf).replace("nolink",Ff).getRegex(),Ro={_backpedal:si,anyPunctuation:L1,autolink:R1,blockSkip:w1,br:bf,code:y1,del:si,emStrongLDelim:x1,emStrongRDelimAst:k1,emStrongRDelimUnd:O1,escape:gf,link:P1,nolink:Ff,punctuation:C1,reflink:mf,reflinkSearch:$1,tag:B1,text:N1,url:si},M1={...Ro,link:me(/^!?\[(label)\]\((.*?)\)/).replace("label",Fs).getRegex(),reflink:me(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Fs).getRegex()},bo={...Ro,escape:me(gf).replace("])","~|])").getRegex(),url:me(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\d+" ".repeat(b.length));let s,a,u,c;for(;n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(f=>(s=f.call({lexer:this},n,t))?(n=n.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.space(n)){n=n.substring(s.raw.length),s.raw.length===1&&t.length>0?t[t.length-1].raw+=` `:t.push(s);continue}if(s=this.tokenizer.code(n)){n=n.substring(s.raw.length),a=t[t.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=` `+s.raw,a.text+=` @@ -22,7 +22,7 @@ var Wm=Object.defineProperty;var Ym=(r,n,t)=>n in r?Wm(r,n,{enumerable:!0,config `+s.raw,a.text+=` `+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):t.push(s),c=u.length!==n.length,n=n.substring(s.raw.length);continue}if(s=this.tokenizer.text(n)){n=n.substring(s.raw.length),a=t[t.length-1],a&&a.type==="text"?(a.raw+=` `+s.raw,a.text+=` -`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):t.push(s);continue}if(n){const f="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let s,a,u,c=n,f,d,b;if(this.tokens.links){const m=Object.keys(this.tokens.links);if(m.length>0)for(;(f=this.tokenizer.rules.inline.reflinkSearch.exec(c))!=null;)m.includes(f[0].slice(f[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(f=this.tokenizer.rules.inline.blockSkip.exec(c))!=null;)c=c.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(f=this.tokenizer.rules.inline.anyPunctuation.exec(c))!=null;)c=c.slice(0,f.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(d||(b=""),d=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(m=>(s=m.call({lexer:this},n,t))?(n=n.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.escape(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(n)){n=n.substring(s.raw.length),a=t[t.length-1],a&&s.type==="text"&&a.type==="text"?(a.raw+=s.raw,a.text+=s.text):t.push(s);continue}if(s=this.tokenizer.link(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(s.raw.length),a=t[t.length-1],a&&s.type==="text"&&a.type==="text"?(a.raw+=s.raw,a.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(n,c,b)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(n)){n=n.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(n))){n=n.substring(s.raw.length),t.push(s);continue}if(u=n,this.options.extensions&&this.options.extensions.startInline){let m=1/0;const v=n.slice(1);let N;this.options.extensions.startInline.forEach(x=>{N=x.call({lexer:this},v),typeof N=="number"&&N>=0&&(m=Math.min(m,N))}),m<1/0&&m>=0&&(u=n.substring(0,m+1))}if(s=this.tokenizer.inlineText(u)){n=n.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(b=s.raw.slice(-1)),d=!0,a=t[t.length-1],a&&a.type==="text"?(a.raw+=s.raw,a.text+=s.text):t.push(s);continue}if(n){const m="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(m);break}else throw new Error(m)}}return t}}class Ds{constructor(n){Se(this,"options");this.options=n||cr}code(n,t,s){var u;const a=(u=(t||"").match(/^\S*/))==null?void 0:u[0];return n=n.replace(/\n$/,"")+` +`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):t.push(s);continue}if(n){const f="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let s,a,u,c=n,f,d,b;if(this.tokens.links){const m=Object.keys(this.tokens.links);if(m.length>0)for(;(f=this.tokenizer.rules.inline.reflinkSearch.exec(c))!=null;)m.includes(f[0].slice(f[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(f=this.tokenizer.rules.inline.blockSkip.exec(c))!=null;)c=c.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(f=this.tokenizer.rules.inline.anyPunctuation.exec(c))!=null;)c=c.slice(0,f.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(d||(b=""),d=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(m=>(s=m.call({lexer:this},n,t))?(n=n.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.escape(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(n)){n=n.substring(s.raw.length),a=t[t.length-1],a&&s.type==="text"&&a.type==="text"?(a.raw+=s.raw,a.text+=s.text):t.push(s);continue}if(s=this.tokenizer.link(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(s.raw.length),a=t[t.length-1],a&&s.type==="text"&&a.type==="text"?(a.raw+=s.raw,a.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(n,c,b)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(n)){n=n.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(n))){n=n.substring(s.raw.length),t.push(s);continue}if(u=n,this.options.extensions&&this.options.extensions.startInline){let m=1/0;const v=n.slice(1);let w;this.options.extensions.startInline.forEach(x=>{w=x.call({lexer:this},v),typeof w=="number"&&w>=0&&(m=Math.min(m,w))}),m<1/0&&m>=0&&(u=n.substring(0,m+1))}if(s=this.tokenizer.inlineText(u)){n=n.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(b=s.raw.slice(-1)),d=!0,a=t[t.length-1],a&&a.type==="text"?(a.raw+=s.raw,a.text+=s.text):t.push(s);continue}if(n){const m="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(m);break}else throw new Error(m)}}return t}}class Ds{constructor(n){Se(this,"options");this.options=n||cr}code(n,t,s){var u;const a=(u=(t||"").match(/^\S*/))==null?void 0:u[0];return n=n.replace(/\n$/,"")+` `,a?'
'+(s?n:Sn(n,!0))+`
`:"
"+(s?n:Sn(n,!0))+`
`}blockquote(n){return`
@@ -40,18 +40,18 @@ ${n}
`}tablerow(n){return` ${n} `}tablecell(n,t){const s=t.header?"th":"td";return(t.align?`<${s} align="${t.align}">`:`<${s}>`)+n+` -`}strong(n){return`${n}`}em(n){return`${n}`}codespan(n){return`${n}`}br(){return"
"}del(n){return`${n}`}link(n,t,s){const a=Ul(n);if(a===null)return s;n=a;let u='
",u}image(n,t,s){const a=Ul(n);if(a===null)return s;n=a;let u=`${s}0&&N.tokens[0].type==="paragraph"?(N.tokens[0].text=J+" "+N.tokens[0].text,N.tokens[0].tokens&&N.tokens[0].tokens.length>0&&N.tokens[0].tokens[0].type==="text"&&(N.tokens[0].tokens[0].text=J+" "+N.tokens[0].tokens[0].text)):N.tokens.unshift({type:"text",text:J+" "}):R+=J+" "}R+=this.parse(N.tokens,b),m+=this.renderer.listitem(R,L,!!x)}s+=this.renderer.list(m,f,d);continue}case"html":{const c=u;s+=this.renderer.html(c.text,c.block);continue}case"paragraph":{const c=u;s+=this.renderer.paragraph(this.parseInline(c.tokens));continue}case"text":{let c=u,f=c.tokens?this.parseInline(c.tokens):c.text;for(;a+1{const b=f[d].flat(1/0);s=s.concat(this.walkTokens(b,t))}):f.tokens&&(s=s.concat(this.walkTokens(f.tokens,t)))}}return s}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(s=>{const a={...s};if(a.async=this.defaults.async||a.async||!1,s.extensions&&(s.extensions.forEach(u=>{if(!u.name)throw new Error("extension name required");if("renderer"in u){const c=t.renderers[u.name];c?t.renderers[u.name]=function(...f){let d=u.renderer.apply(this,f);return d===!1&&(d=c.apply(this,f)),d}:t.renderers[u.name]=u.renderer}if("tokenizer"in u){if(!u.level||u.level!=="block"&&u.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const c=t[u.level];c?c.unshift(u.tokenizer):t[u.level]=[u.tokenizer],u.start&&(u.level==="block"?t.startBlock?t.startBlock.push(u.start):t.startBlock=[u.start]:u.level==="inline"&&(t.startInline?t.startInline.push(u.start):t.startInline=[u.start]))}"childTokens"in u&&u.childTokens&&(t.childTokens[u.name]=u.childTokens)}),a.extensions=t),s.renderer){const u=this.defaults.renderer||new Ds(this.defaults);for(const c in s.renderer){if(!(c in u))throw new Error(`renderer '${c}' does not exist`);if(c==="options")continue;const f=c,d=s.renderer[f],b=u[f];u[f]=(...m)=>{let v=d.apply(u,m);return v===!1&&(v=b.apply(u,m)),v||""}}a.renderer=u}if(s.tokenizer){const u=this.defaults.tokenizer||new ms(this.defaults);for(const c in s.tokenizer){if(!(c in u))throw new Error(`tokenizer '${c}' does not exist`);if(["options","rules","lexer"].includes(c))continue;const f=c,d=s.tokenizer[f],b=u[f];u[f]=(...m)=>{let v=d.apply(u,m);return v===!1&&(v=b.apply(u,m)),v}}a.tokenizer=u}if(s.hooks){const u=this.defaults.hooks||new ai;for(const c in s.hooks){if(!(c in u))throw new Error(`hook '${c}' does not exist`);if(c==="options")continue;const f=c,d=s.hooks[f],b=u[f];ai.passThroughHooks.has(c)?u[f]=m=>{if(this.defaults.async)return Promise.resolve(d.call(u,m)).then(N=>b.call(u,N));const v=d.call(u,m);return b.call(u,v)}:u[f]=(...m)=>{let v=d.apply(u,m);return v===!1&&(v=b.apply(u,m)),v}}a.hooks=u}if(s.walkTokens){const u=this.defaults.walkTokens,c=s.walkTokens;a.walkTokens=function(f){let d=[];return d.push(c.call(this,f)),u&&(d=d.concat(u.call(this,f))),d}}this.defaults={...this.defaults,...a}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return Yn.lex(n,t??this.defaults)}parser(n,t){return ct.parse(n,t??this.defaults)}}li=new WeakSet,mo=function(n,t){return(s,a)=>{const u={...a},c={...this.defaults,...u};this.defaults.async===!0&&u.async===!1&&(c.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),c.async=!0);const f=os(this,Ts,Df).call(this,!!c.silent,!!c.async);if(typeof s>"u"||s===null)return f(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return f(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));if(c.hooks&&(c.hooks.options=c),c.async)return Promise.resolve(c.hooks?c.hooks.preprocess(s):s).then(d=>n(d,c)).then(d=>c.hooks?c.hooks.processAllTokens(d):d).then(d=>c.walkTokens?Promise.all(this.walkTokens(d,c.walkTokens)).then(()=>d):d).then(d=>t(d,c)).then(d=>c.hooks?c.hooks.postprocess(d):d).catch(f);try{c.hooks&&(s=c.hooks.preprocess(s));let d=n(s,c);c.hooks&&(d=c.hooks.processAllTokens(d)),c.walkTokens&&this.walkTokens(d,c.walkTokens);let b=t(d,c);return c.hooks&&(b=c.hooks.postprocess(b)),b}catch(d){return f(d)}}},Ts=new WeakSet,Df=function(n,t){return s=>{if(s.message+=` -Please report this to https://github.com/markedjs/marked.`,n){const a="

An error occurred:

"+Sn(s.message+"",!0)+"
";return t?Promise.resolve(a):a}if(t)return Promise.reject(s);throw s}};const ar=new V1;function be(r,n){return ar.parse(r,n)}be.options=be.setOptions=function(r){return ar.setOptions(r),be.defaults=ar.defaults,lf(be.defaults),be};be.getDefaults=wo;be.defaults=cr;be.use=function(...r){return ar.use(...r),be.defaults=ar.defaults,lf(be.defaults),be};be.walkTokens=function(r,n){return ar.walkTokens(r,n)};be.parseInline=ar.parseInline;be.Parser=ct;be.parser=ct.parse;be.Renderer=Ds;be.TextRenderer=Uo;be.Lexer=Yn;be.lexer=Yn.lex;be.Tokenizer=ms;be.Hooks=ai;be.parse=be;be.options;be.setOptions;be.use;be.walkTokens;be.parseInline;ct.parse;Yn.lex;const q1=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,z1=Object.hasOwnProperty;class vf{constructor(){this.occurrences,this.reset()}slug(n,t){const s=this;let a=j1(n,t===!0);const u=a;for(;z1.call(s.occurrences,a);)s.occurrences[u]++,a=u+"-"+s.occurrences[u];return s.occurrences[a]=0,a}reset(){this.occurrences=Object.create(null)}}function j1(r,n){return typeof r!="string"?"":(n||(r=r.toLowerCase()),r.replace(q1,"").replace(/ /g,"-"))}function W1(r){return new Yn().lex(r)}const Y1=()=>({heading:nF,blockquote:iF,list:hF,list_item:bF,br:DF,code:AF,codespan:IF,table:CF,html:kF,paragraph:RF,link:PF,text:GF,def:zF,del:YF,em:HF,hr:KF,strong:t1,image:s1,space:Ll,escape:Ll}),Q1=()=>({baseUrl:"/",slugger:new vf});function J1(){const r=console.warn;console.warn=n=>{n.includes("unknown prop")||n.includes("unexpected slot")||r(n)},Xm(()=>{console.warn=r})}function H1(r){let n,t;return n=new Is({props:{tokens:r[0],renderers:r[1],options:r[2]}}),{c(){qt(n.$$.fragment)},l(s){ur(n.$$.fragment,s)},m(s,a){zt(n,s,a),t=!0},p(s,[a]){const u={};a&1&&(u.tokens=s[0]),a&2&&(u.renderers=s[1]),a&4&&(u.options=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){ae(n.$$.fragment,s),t=!1},d(s){jt(n,s)}}}function X1(r,n,t){J1();let{source:s}=n,{options:a={}}=n,{renderers:u={}}=n,c,f,d;return r.$$set=b=>{"source"in b&&t(3,s=b.source),"options"in b&&t(4,a=b.options),"renderers"in b&&t(5,u=b.renderers)},r.$$.update=()=>{r.$$.dirty&56&&(t(0,c=W1(s)),t(1,f={...Y1(),...u}),t(2,d={...Q1(),...a}))},[c,f,d,s,a,u]}class SE extends Le{constructor(n){super(),Re(this,n,X1,H1,ye,{source:3,options:4,renderers:5})}}const di={joinUrlPaths:_o,isRelative:go,generatePathSegment:uf};var ni=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Z1(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function ls(){return{convert:r=>r==null||r===""?null:String(r),asString:r=>String(r),type:r=>r.string().optional()}}function Ml(r){return{convert:n=>{if(typeof n=="object")return n;if(typeof n=="string"){const t=JSON.parse(n);return typeof t!="object"?null:t}return null},asString:n=>JSON.stringify(n),type:n=>n.record(r(n).optional()).optional()}}function fs(r){return{convert:n=>{if(Array.isArray(n))return n;if(typeof n=="string"){const t=JSON.parse(n);return Array.isArray(t)?t:null}return null},asString:n=>JSON.stringify(n),type:n=>n.array(r(n)).optional()}}function Gl(r){return{convert:n=>n==null||!r.find(t=>t===n)?null:n,asString:n=>String(n),type:n=>n.enum(r).optional()}}function An(r,n){const t=s=>n.convert(s[r]);return{name:K1(r),key:r,asEnv:s=>({[r]:n.asString(s)}),zod:{type:n.type},get:t,getOrDefault:(s,a)=>t(s)??a}}function K1(r){return r.toLowerCase().replace(/([-_][a-z])/gi,n=>n.toUpperCase().replace("-","").replace("_",""))}var Ns={APP_LOGO:An("APP_LOGO",ls()),APP_TITLE:An("APP_TITLE",ls()),APP_FAVICON:An("APP_FAVICON",ls()),SITE_ROOT:An("SITE_ROOT",ls()),SITE_META:An("SITE_META",Ml(r=>r.string())),CUSTOM_STYLES:An("CUSTOM_STYLES",fs(r=>r.string())),FIELDS_SORTING:An("FIELDS_SORTING",Gl(["default","alphabetical"])),ARGUMENTS_SORTING:An("ARGUMENTS_SORTING",Gl(["default","alphabetical"])),QUERY_GENERATION_FACTORIES:An("QUERY_GENERATION_FACTORIES",Ml(r=>r.union([r.string(),r.boolean(),r.number(),r.null(),r.record(r.unknown())]))),PAGES:An("PAGES",fs(r=>{const n=r.lazy(()=>r.object({title:r.string().min(1),content:r.union([r.array(n),r.string().min(1)])}));return n})),EXTERNAL_LINKS:An("EXTERNAL_LINKS",fs(r=>r.object({label:r.string().min(1),href:r.string().min(1),position:r.union([r.literal("header"),r.literal("navigation")]).optional(),kind:r.string().min(1).optional(),group:r.string().min(1).optional()}))),DIRECTIVES:An("DIRECTIVES",fs(r=>r.object({name:r.string().min(1),args:r.array(r.string())})))};function eD(){return{convert:r=>{if(r===null||r===void 0)return null;switch(typeof r){case"boolean":return r;case"string":const n=r.toLowerCase().trim();return n==="true"||n==="t"||n==="1";case"number":return r!==0;default:return null}},asString:r=>String(r),type:r=>r.boolean().optional()}}An("MAGIDOC_GENERATE",eD());var vs={exports:{}};/** +`}strong(n){return`${n}`}em(n){return`${n}`}codespan(n){return`${n}`}br(){return"
"}del(n){return`${n}`}link(n,t,s){const a=Ul(n);if(a===null)return s;n=a;let u='
",u}image(n,t,s){const a=Ul(n);if(a===null)return s;n=a;let u=`${s}0&&w.tokens[0].type==="paragraph"?(w.tokens[0].text=J+" "+w.tokens[0].text,w.tokens[0].tokens&&w.tokens[0].tokens.length>0&&w.tokens[0].tokens[0].type==="text"&&(w.tokens[0].tokens[0].text=J+" "+w.tokens[0].tokens[0].text)):w.tokens.unshift({type:"text",text:J+" "}):R+=J+" "}R+=this.parse(w.tokens,b),m+=this.renderer.listitem(R,L,!!x)}s+=this.renderer.list(m,f,d);continue}case"html":{const c=u;s+=this.renderer.html(c.text,c.block);continue}case"paragraph":{const c=u;s+=this.renderer.paragraph(this.parseInline(c.tokens));continue}case"text":{let c=u,f=c.tokens?this.parseInline(c.tokens):c.text;for(;a+1{const b=f[d].flat(1/0);s=s.concat(this.walkTokens(b,t))}):f.tokens&&(s=s.concat(this.walkTokens(f.tokens,t)))}}return s}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(s=>{const a={...s};if(a.async=this.defaults.async||a.async||!1,s.extensions&&(s.extensions.forEach(u=>{if(!u.name)throw new Error("extension name required");if("renderer"in u){const c=t.renderers[u.name];c?t.renderers[u.name]=function(...f){let d=u.renderer.apply(this,f);return d===!1&&(d=c.apply(this,f)),d}:t.renderers[u.name]=u.renderer}if("tokenizer"in u){if(!u.level||u.level!=="block"&&u.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const c=t[u.level];c?c.unshift(u.tokenizer):t[u.level]=[u.tokenizer],u.start&&(u.level==="block"?t.startBlock?t.startBlock.push(u.start):t.startBlock=[u.start]:u.level==="inline"&&(t.startInline?t.startInline.push(u.start):t.startInline=[u.start]))}"childTokens"in u&&u.childTokens&&(t.childTokens[u.name]=u.childTokens)}),a.extensions=t),s.renderer){const u=this.defaults.renderer||new Ds(this.defaults);for(const c in s.renderer){if(!(c in u))throw new Error(`renderer '${c}' does not exist`);if(c==="options")continue;const f=c,d=s.renderer[f],b=u[f];u[f]=(...m)=>{let v=d.apply(u,m);return v===!1&&(v=b.apply(u,m)),v||""}}a.renderer=u}if(s.tokenizer){const u=this.defaults.tokenizer||new ms(this.defaults);for(const c in s.tokenizer){if(!(c in u))throw new Error(`tokenizer '${c}' does not exist`);if(["options","rules","lexer"].includes(c))continue;const f=c,d=s.tokenizer[f],b=u[f];u[f]=(...m)=>{let v=d.apply(u,m);return v===!1&&(v=b.apply(u,m)),v}}a.tokenizer=u}if(s.hooks){const u=this.defaults.hooks||new ai;for(const c in s.hooks){if(!(c in u))throw new Error(`hook '${c}' does not exist`);if(c==="options")continue;const f=c,d=s.hooks[f],b=u[f];ai.passThroughHooks.has(c)?u[f]=m=>{if(this.defaults.async)return Promise.resolve(d.call(u,m)).then(w=>b.call(u,w));const v=d.call(u,m);return b.call(u,v)}:u[f]=(...m)=>{let v=d.apply(u,m);return v===!1&&(v=b.apply(u,m)),v}}a.hooks=u}if(s.walkTokens){const u=this.defaults.walkTokens,c=s.walkTokens;a.walkTokens=function(f){let d=[];return d.push(c.call(this,f)),u&&(d=d.concat(u.call(this,f))),d}}this.defaults={...this.defaults,...a}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return Wn.lex(n,t??this.defaults)}parser(n,t){return ct.parse(n,t??this.defaults)}}li=new WeakSet,mo=function(n,t){return(s,a)=>{const u={...a},c={...this.defaults,...u};this.defaults.async===!0&&u.async===!1&&(c.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),c.async=!0);const f=os(this,Ts,Df).call(this,!!c.silent,!!c.async);if(typeof s>"u"||s===null)return f(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return f(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));if(c.hooks&&(c.hooks.options=c),c.async)return Promise.resolve(c.hooks?c.hooks.preprocess(s):s).then(d=>n(d,c)).then(d=>c.hooks?c.hooks.processAllTokens(d):d).then(d=>c.walkTokens?Promise.all(this.walkTokens(d,c.walkTokens)).then(()=>d):d).then(d=>t(d,c)).then(d=>c.hooks?c.hooks.postprocess(d):d).catch(f);try{c.hooks&&(s=c.hooks.preprocess(s));let d=n(s,c);c.hooks&&(d=c.hooks.processAllTokens(d)),c.walkTokens&&this.walkTokens(d,c.walkTokens);let b=t(d,c);return c.hooks&&(b=c.hooks.postprocess(b)),b}catch(d){return f(d)}}},Ts=new WeakSet,Df=function(n,t){return s=>{if(s.message+=` +Please report this to https://github.com/markedjs/marked.`,n){const a="

An error occurred:

"+Sn(s.message+"",!0)+"
";return t?Promise.resolve(a):a}if(t)return Promise.reject(s);throw s}};const ar=new V1;function be(r,n){return ar.parse(r,n)}be.options=be.setOptions=function(r){return ar.setOptions(r),be.defaults=ar.defaults,lf(be.defaults),be};be.getDefaults=wo;be.defaults=cr;be.use=function(...r){return ar.use(...r),be.defaults=ar.defaults,lf(be.defaults),be};be.walkTokens=function(r,n){return ar.walkTokens(r,n)};be.parseInline=ar.parseInline;be.Parser=ct;be.parser=ct.parse;be.Renderer=Ds;be.TextRenderer=Uo;be.Lexer=Wn;be.lexer=Wn.lex;be.Tokenizer=ms;be.Hooks=ai;be.parse=be;be.options;be.setOptions;be.use;be.walkTokens;be.parseInline;ct.parse;Wn.lex;const q1=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,z1=Object.hasOwnProperty;class vf{constructor(){this.occurrences,this.reset()}slug(n,t){const s=this;let a=Y1(n,t===!0);const u=a;for(;z1.call(s.occurrences,a);)s.occurrences[u]++,a=u+"-"+s.occurrences[u];return s.occurrences[a]=0,a}reset(){this.occurrences=Object.create(null)}}function Y1(r,n){return typeof r!="string"?"":(n||(r=r.toLowerCase()),r.replace(q1,"").replace(/ /g,"-"))}function j1(r){return new Wn().lex(r)}const W1=()=>({heading:nF,blockquote:iF,list:hF,list_item:bF,br:DF,code:AF,codespan:IF,table:CF,html:kF,paragraph:RF,link:PF,text:GF,def:zF,del:WF,em:HF,hr:KF,strong:t1,image:s1,space:Ll,escape:Ll}),Q1=()=>({baseUrl:"/",slugger:new vf});function J1(){const r=console.warn;console.warn=n=>{n.includes("unknown prop")||n.includes("unexpected slot")||r(n)},Xm(()=>{console.warn=r})}function H1(r){let n,t;return n=new Is({props:{tokens:r[0],renderers:r[1],options:r[2]}}),{c(){qt(n.$$.fragment)},l(s){ur(n.$$.fragment,s)},m(s,a){zt(n,s,a),t=!0},p(s,[a]){const u={};a&1&&(u.tokens=s[0]),a&2&&(u.renderers=s[1]),a&4&&(u.options=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){ae(n.$$.fragment,s),t=!1},d(s){Yt(n,s)}}}function X1(r,n,t){J1();let{source:s}=n,{options:a={}}=n,{renderers:u={}}=n,c,f,d;return r.$$set=b=>{"source"in b&&t(3,s=b.source),"options"in b&&t(4,a=b.options),"renderers"in b&&t(5,u=b.renderers)},r.$$.update=()=>{r.$$.dirty&56&&(t(0,c=j1(s)),t(1,f={...W1(),...u}),t(2,d={...Q1(),...a}))},[c,f,d,s,a,u]}class AE extends Le{constructor(n){super(),Re(this,n,X1,H1,ye,{source:3,options:4,renderers:5})}}const di={joinUrlPaths:_o,isRelative:go,generatePathSegment:uf};var ni=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Z1(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function ls(){return{convert:r=>r==null||r===""?null:String(r),asString:r=>String(r),type:r=>r.string().optional()}}function Ml(r){return{convert:n=>{if(typeof n=="object")return n;if(typeof n=="string"){const t=JSON.parse(n);return typeof t!="object"?null:t}return null},asString:n=>JSON.stringify(n),type:n=>n.record(r(n).optional()).optional()}}function fs(r){return{convert:n=>{if(Array.isArray(n))return n;if(typeof n=="string"){const t=JSON.parse(n);return Array.isArray(t)?t:null}return null},asString:n=>JSON.stringify(n),type:n=>n.array(r(n)).optional()}}function Gl(r){return{convert:n=>n==null||!r.find(t=>t===n)?null:n,asString:n=>String(n),type:n=>n.enum(r).optional()}}function An(r,n){const t=s=>n.convert(s[r]);return{name:K1(r),key:r,asEnv:s=>({[r]:n.asString(s)}),zod:{type:n.type},get:t,getOrDefault:(s,a)=>t(s)??a}}function K1(r){return r.toLowerCase().replace(/([-_][a-z])/gi,n=>n.toUpperCase().replace("-","").replace("_",""))}var Ns={APP_LOGO:An("APP_LOGO",ls()),APP_TITLE:An("APP_TITLE",ls()),APP_FAVICON:An("APP_FAVICON",ls()),SITE_ROOT:An("SITE_ROOT",ls()),SITE_META:An("SITE_META",Ml(r=>r.string())),CUSTOM_STYLES:An("CUSTOM_STYLES",fs(r=>r.string())),FIELDS_SORTING:An("FIELDS_SORTING",Gl(["default","alphabetical"])),ARGUMENTS_SORTING:An("ARGUMENTS_SORTING",Gl(["default","alphabetical"])),QUERY_GENERATION_FACTORIES:An("QUERY_GENERATION_FACTORIES",Ml(r=>r.union([r.string(),r.boolean(),r.number(),r.null(),r.record(r.unknown())]))),PAGES:An("PAGES",fs(r=>{const n=r.lazy(()=>r.object({title:r.string().min(1),content:r.union([r.array(n),r.string().min(1)])}));return n})),EXTERNAL_LINKS:An("EXTERNAL_LINKS",fs(r=>r.object({label:r.string().min(1),href:r.string().min(1),position:r.union([r.literal("header"),r.literal("navigation")]).optional(),kind:r.string().min(1).optional(),group:r.string().min(1).optional()}))),DIRECTIVES:An("DIRECTIVES",fs(r=>r.object({name:r.string().min(1),args:r.array(r.string())})))};function eD(){return{convert:r=>{if(r===null||r===void 0)return null;switch(typeof r){case"boolean":return r;case"string":const n=r.toLowerCase().trim();return n==="true"||n==="t"||n==="1";case"number":return r!==0;default:return null}},asString:r=>String(r),type:r=>r.boolean().optional()}}An("MAGIDOC_GENERATE",eD());var vs={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */vs.exports;(function(r,n){(function(){var t,s="4.17.21",a=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",b=500,m="__lodash_placeholder__",v=1,N=2,x=4,L=1,R=2,J=1,pe=2,Me=4,Ee=8,Ne=16,ke=32,nn=64,He=128,dt=256,k=512,X=30,tn="...",xt=800,Qt=16,gi=1,fr=2,bi=3,it=1/0,Pn=9007199254740991,pr=17976931348623157e292,Jt=NaN,Tn=4294967295,I=Tn-1,M=Tn>>>1,B=[["ary",He],["bind",J],["bindKey",pe],["curry",Ee],["curryRight",Ne],["flip",k],["partial",ke],["partialRight",nn],["rearg",dt]],P="[object Arguments]",de="[object Array]",Ue="[object AsyncFunction]",he="[object Boolean]",In="[object Date]",Or="[object DOMException]",kt="[object Error]",Xe="[object Function]",qo="[object GeneratorFunction]",$n="[object Map]",Lr="[object Number]",cp="[object Null]",ht="[object Object]",zo="[object Promise]",lp="[object Proxy]",Rr="[object RegExp]",Mn="[object Set]",Ur="[object String]",mi="[object Symbol]",fp="[object Undefined]",Br="[object WeakMap]",pp="[object WeakSet]",Pr="[object ArrayBuffer]",dr="[object DataView]",$s="[object Float32Array]",Ms="[object Float64Array]",Gs="[object Int8Array]",Vs="[object Int16Array]",qs="[object Int32Array]",zs="[object Uint8Array]",js="[object Uint8ClampedArray]",Ws="[object Uint16Array]",Ys="[object Uint32Array]",dp=/\b__p \+= '';/g,hp=/\b(__p \+=) '' \+/g,_p=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jo=/&(?:amp|lt|gt|quot|#39);/g,Wo=/[&<>"']/g,gp=RegExp(jo.source),bp=RegExp(Wo.source),mp=/<%-([\s\S]+?)%>/g,Fp=/<%([\s\S]+?)%>/g,Yo=/<%=([\s\S]+?)%>/g,Dp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vp=/^\w*$/,Ep=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qs=/[\\^$.*+?()[\]{}|]/g,Ap=RegExp(Qs.source),Js=/^\s+/,Sp=/\s/,Tp=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ip=/\{\n\/\* \[wrapped with (.+)\] \*/,yp=/,? & /,Np=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Cp=/[()=,{}\[\]\/\s]/,wp=/\\(\\)?/g,xp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qo=/\w*$/,kp=/^[-+]0x[0-9a-f]+$/i,Op=/^0b[01]+$/i,Lp=/^\[object .+?Constructor\]$/,Rp=/^0o[0-7]+$/i,Up=/^(?:0|[1-9]\d*)$/,Bp=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fi=/($^)/,Pp=/['\n\r\u2028\u2029\\]/g,Di="\\ud800-\\udfff",$p="\\u0300-\\u036f",Mp="\\ufe20-\\ufe2f",Gp="\\u20d0-\\u20ff",Jo=$p+Mp+Gp,Ho="\\u2700-\\u27bf",Xo="a-z\\xdf-\\xf6\\xf8-\\xff",Vp="\\xac\\xb1\\xd7\\xf7",qp="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zp="\\u2000-\\u206f",jp=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zo="A-Z\\xc0-\\xd6\\xd8-\\xde",Ko="\\ufe0e\\ufe0f",eu=Vp+qp+zp+jp,Hs="['’]",Wp="["+Di+"]",nu="["+eu+"]",vi="["+Jo+"]",tu="\\d+",Yp="["+Ho+"]",ru="["+Xo+"]",iu="[^"+Di+eu+tu+Ho+Xo+Zo+"]",Xs="\\ud83c[\\udffb-\\udfff]",Qp="(?:"+vi+"|"+Xs+")",su="[^"+Di+"]",Zs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ks="[\\ud800-\\udbff][\\udc00-\\udfff]",hr="["+Zo+"]",au="\\u200d",ou="(?:"+ru+"|"+iu+")",Jp="(?:"+hr+"|"+iu+")",uu="(?:"+Hs+"(?:d|ll|m|re|s|t|ve))?",cu="(?:"+Hs+"(?:D|LL|M|RE|S|T|VE))?",lu=Qp+"?",fu="["+Ko+"]?",Hp="(?:"+au+"(?:"+[su,Zs,Ks].join("|")+")"+fu+lu+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pu=fu+lu+Hp,Kp="(?:"+[Yp,Zs,Ks].join("|")+")"+pu,ed="(?:"+[su+vi+"?",vi,Zs,Ks,Wp].join("|")+")",nd=RegExp(Hs,"g"),td=RegExp(vi,"g"),ea=RegExp(Xs+"(?="+Xs+")|"+ed+pu,"g"),rd=RegExp([hr+"?"+ru+"+"+uu+"(?="+[nu,hr,"$"].join("|")+")",Jp+"+"+cu+"(?="+[nu,hr+ou,"$"].join("|")+")",hr+"?"+ou+"+"+uu,hr+"+"+cu,Zp,Xp,tu,Kp].join("|"),"g"),id=RegExp("["+au+Di+Jo+Ko+"]"),sd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ad=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],od=-1,Te={};Te[$s]=Te[Ms]=Te[Gs]=Te[Vs]=Te[qs]=Te[zs]=Te[js]=Te[Ws]=Te[Ys]=!0,Te[P]=Te[de]=Te[Pr]=Te[he]=Te[dr]=Te[In]=Te[kt]=Te[Xe]=Te[$n]=Te[Lr]=Te[ht]=Te[Rr]=Te[Mn]=Te[Ur]=Te[Br]=!1;var Ae={};Ae[P]=Ae[de]=Ae[Pr]=Ae[dr]=Ae[he]=Ae[In]=Ae[$s]=Ae[Ms]=Ae[Gs]=Ae[Vs]=Ae[qs]=Ae[$n]=Ae[Lr]=Ae[ht]=Ae[Rr]=Ae[Mn]=Ae[Ur]=Ae[mi]=Ae[zs]=Ae[js]=Ae[Ws]=Ae[Ys]=!0,Ae[kt]=Ae[Xe]=Ae[Br]=!1;var ud={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},cd={"&":"&","<":"<",">":">",'"':""","'":"'"},ld={"&":"&","<":"<",">":">",""":'"',"'":"'"},fd={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pd=parseFloat,dd=parseInt,du=typeof ni=="object"&&ni&&ni.Object===Object&&ni,hd=typeof self=="object"&&self&&self.Object===Object&&self,Ye=du||hd||Function("return this")(),na=n&&!n.nodeType&&n,Ht=na&&!0&&r&&!r.nodeType&&r,hu=Ht&&Ht.exports===na,ta=hu&&du.process,yn=function(){try{var D=Ht&&Ht.require&&Ht.require("util").types;return D||ta&&ta.binding&&ta.binding("util")}catch{}}(),_u=yn&&yn.isArrayBuffer,gu=yn&&yn.isDate,bu=yn&&yn.isMap,mu=yn&&yn.isRegExp,Fu=yn&&yn.isSet,Du=yn&&yn.isTypedArray;function bn(D,T,S){switch(S.length){case 0:return D.call(T);case 1:return D.call(T,S[0]);case 2:return D.call(T,S[0],S[1]);case 3:return D.call(T,S[0],S[1],S[2])}return D.apply(T,S)}function _d(D,T,S,$){for(var Z=-1,fe=D==null?0:D.length;++Z-1}function ra(D,T,S){for(var $=-1,Z=D==null?0:D.length;++$-1;);return S}function Nu(D,T){for(var S=D.length;S--&&_r(T,D[S],0)>-1;);return S}function Sd(D,T){for(var S=D.length,$=0;S--;)D[S]===T&&++$;return $}var Td=oa(ud),Id=oa(cd);function yd(D){return"\\"+fd[D]}function Nd(D,T){return D==null?t:D[T]}function gr(D){return id.test(D)}function Cd(D){return sd.test(D)}function wd(D){for(var T,S=[];!(T=D.next()).done;)S.push(T.value);return S}function fa(D){var T=-1,S=Array(D.size);return D.forEach(function($,Z){S[++T]=[Z,$]}),S}function Cu(D,T){return function(S){return D(T(S))}}function Rt(D,T){for(var S=-1,$=D.length,Z=0,fe=[];++S<$;){var qe=D[S];(qe===T||qe===m)&&(D[S]=m,fe[Z++]=S)}return fe}function Si(D){var T=-1,S=Array(D.size);return D.forEach(function($){S[++T]=$}),S}function xd(D){var T=-1,S=Array(D.size);return D.forEach(function($){S[++T]=[$,$]}),S}function kd(D,T,S){for(var $=S-1,Z=D.length;++$-1}function bh(e,i){var o=this.__data__,l=$i(o,e);return l<0?(++this.size,o.push([e,i])):o[l][1]=i,this}_t.prototype.clear=dh,_t.prototype.delete=hh,_t.prototype.get=_h,_t.prototype.has=gh,_t.prototype.set=bh;function gt(e){var i=-1,o=e==null?0:e.length;for(this.clear();++i=i?e:i)),e}function xn(e,i,o,l,p,_){var g,F=i&v,E=i&N,y=i&x;if(o&&(g=p?o(e,l,p,_):o(e)),g!==t)return g;if(!Ce(e))return e;var C=K(e);if(C){if(g=v_(e),!F)return ln(e,g)}else{var O=Ke(e),U=O==Xe||O==qo;if(Gt(e))return fc(e,F);if(O==ht||O==P||U&&!p){if(g=E||U?{}:wc(e),!F)return E?l_(e,Oh(g,e)):c_(e,Gu(g,e))}else{if(!Ae[O])return p?e:{};g=E_(e,O,F)}}_||(_=new Vn);var V=_.get(e);if(V)return V;_.set(e,g),sl(e)?e.forEach(function(Q){g.add(xn(Q,i,o,Q,e,_))}):rl(e)&&e.forEach(function(Q,ie){g.set(ie,xn(Q,i,o,ie,e,_))});var Y=y?E?Ba:Ua:E?pn:je,te=C?t:Y(e);return Nn(te||e,function(Q,ie){te&&(ie=Q,Q=e[ie]),jr(g,ie,xn(Q,i,o,ie,e,_))}),g}function Lh(e){var i=je(e);return function(o){return Vu(o,e,i)}}function Vu(e,i,o){var l=o.length;if(e==null)return!l;for(e=De(e);l--;){var p=o[l],_=i[p],g=e[p];if(g===t&&!(p in e)||!_(g))return!1}return!0}function qu(e,i,o){if(typeof e!="function")throw new Cn(c);return Zr(function(){e.apply(t,o)},i)}function Wr(e,i,o,l){var p=-1,_=Ei,g=!0,F=e.length,E=[],y=i.length;if(!F)return E;o&&(i=Ie(i,mn(o))),l?(_=ra,g=!1):i.length>=a&&(_=$r,g=!1,i=new Kt(i));e:for(;++pp?0:p+o),l=l===t||l>p?p:ne(l),l<0&&(l+=p),l=o>l?0:ol(l);o0&&o(F)?i>1?Qe(F,i-1,o,l,p):Lt(p,F):l||(p[p.length]=F)}return p}var ma=bc(),Wu=bc(!0);function st(e,i){return e&&ma(e,i,je)}function Fa(e,i){return e&&Wu(e,i,je)}function Gi(e,i){return Ot(i,function(o){return vt(e[o])})}function nr(e,i){i=$t(i,e);for(var o=0,l=i.length;e!=null&&oi}function Bh(e,i){return e!=null&&ge.call(e,i)}function Ph(e,i){return e!=null&&i in De(e)}function $h(e,i,o){return e>=Ze(i,o)&&e=120&&C.length>=120)?new Kt(g&&C):t}C=e[0];var O=-1,U=F[0];e:for(;++O-1;)F!==e&&ki.call(F,E,1),ki.call(e,E,1);return e}function rc(e,i){for(var o=e?i.length:0,l=o-1;o--;){var p=i[o];if(o==l||p!==_){var _=p;Dt(p)?ki.call(e,p,1):Ca(e,p)}}return e}function Ia(e,i){return e+Ri(Bu()*(i-e+1))}function Zh(e,i,o,l){for(var p=-1,_=ze(Li((i-e)/(o||1)),0),g=S(_);_--;)g[l?_:++p]=e,e+=o;return g}function ya(e,i){var o="";if(!e||i<1||i>Pn)return o;do i%2&&(o+=e),i=Ri(i/2),i&&(e+=e);while(i);return o}function re(e,i){return za(Oc(e,i,dn),e+"")}function Kh(e){return Mu(yr(e))}function e_(e,i){var o=yr(e);return Zi(o,er(i,0,o.length))}function Jr(e,i,o,l){if(!Ce(e))return e;i=$t(i,e);for(var p=-1,_=i.length,g=_-1,F=e;F!=null&&++p<_;){var E=ot(i[p]),y=o;if(E==="__proto__"||E==="constructor"||E==="prototype")return e;if(p!=g){var C=F[E];y=l?l(C,E,F):t,y===t&&(y=Ce(C)?C:Dt(i[p+1])?[]:{})}jr(F,E,y),F=F[E]}return e}var ic=Ui?function(e,i){return Ui.set(e,i),e}:dn,n_=Oi?function(e,i){return Oi(e,"toString",{configurable:!0,enumerable:!1,value:eo(i),writable:!0})}:dn;function t_(e){return Zi(yr(e))}function kn(e,i,o){var l=-1,p=e.length;i<0&&(i=-i>p?0:p+i),o=o>p?p:o,o<0&&(o+=p),p=i>o?0:o-i>>>0,i>>>=0;for(var _=S(p);++l>>1,g=e[_];g!==null&&!Dn(g)&&(o?g<=i:g=a){var y=i?null:h_(e);if(y)return Si(y);g=!1,p=$r,E=new Kt}else E=i?[]:F;e:for(;++l<_;){var C=e[l],O=i?i(C):C;if(C=o||C!==0?C:0,g&&O===O){for(var U=E.length;U--;)if(E[U]===O)continue e;i&&E.push(O),F.push(C)}else p(E,O,o)||(E!==F&&E.push(O),F.push(C))}return F}function Ca(e,i){return i=$t(i,e),e=Lc(e,i),e==null||delete e[ot(On(i))]}function oc(e,i,o,l){return Jr(e,i,o(nr(e,i)),l)}function zi(e,i,o,l){for(var p=e.length,_=l?p:-1;(l?_--:++_=l?e:kn(e,i,o)}var lc=jd||function(e){return Ye.clearTimeout(e)};function fc(e,i){if(i)return e.slice();var o=e.length,l=ku?ku(o):new e.constructor(o);return e.copy(l),l}function Oa(e){var i=new e.constructor(e.byteLength);return new wi(i).set(new wi(e)),i}function s_(e,i){var o=i?Oa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function a_(e){var i=new e.constructor(e.source,Qo.exec(e));return i.lastIndex=e.lastIndex,i}function o_(e){return zr?De(zr.call(e)):{}}function pc(e,i){var o=i?Oa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function dc(e,i){if(e!==i){var o=e!==t,l=e===null,p=e===e,_=Dn(e),g=i!==t,F=i===null,E=i===i,y=Dn(i);if(!F&&!y&&!_&&e>i||_&&g&&E&&!F&&!y||l&&g&&E||!o&&E||!p)return 1;if(!l&&!_&&!y&&e=F)return E;var y=o[l];return E*(y=="desc"?-1:1)}}return e.index-i.index}function hc(e,i,o,l){for(var p=-1,_=e.length,g=o.length,F=-1,E=i.length,y=ze(_-g,0),C=S(E+y),O=!l;++F1?o[p-1]:t,g=p>2?o[2]:t;for(_=e.length>3&&typeof _=="function"?(p--,_):t,g&&sn(o[0],o[1],g)&&(_=p<3?t:_,p=1),i=De(i);++l-1?p[_?i[g]:g]:t}}function Dc(e){return Ft(function(i){var o=i.length,l=o,p=wn.prototype.thru;for(e&&i.reverse();l--;){var _=i[l];if(typeof _!="function")throw new Cn(c);if(p&&!g&&Hi(_)=="wrapper")var g=new wn([],!0)}for(l=g?l:o;++l1&&ce.reverse(),C&&EF))return!1;var y=_.get(e),C=_.get(i);if(y&&C)return y==i&&C==e;var O=-1,U=!0,V=o&R?new Kt:t;for(_.set(e,i),_.set(i,e);++O1?"& ":"")+i[l],i=i.join(o>2?", ":" "),e.replace(Tp,`{ + */vs.exports;(function(r,n){(function(){var t,s="4.17.21",a=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",b=500,m="__lodash_placeholder__",v=1,w=2,x=4,L=1,R=2,J=1,pe=2,Me=4,Ee=8,Ne=16,ke=32,nn=64,He=128,dt=256,k=512,X=30,tn="...",xt=800,Qt=16,gi=1,fr=2,bi=3,it=1/0,Pn=9007199254740991,pr=17976931348623157e292,Jt=NaN,Tn=4294967295,I=Tn-1,M=Tn>>>1,B=[["ary",He],["bind",J],["bindKey",pe],["curry",Ee],["curryRight",Ne],["flip",k],["partial",ke],["partialRight",nn],["rearg",dt]],P="[object Arguments]",de="[object Array]",Ue="[object AsyncFunction]",he="[object Boolean]",In="[object Date]",Or="[object DOMException]",kt="[object Error]",Xe="[object Function]",qo="[object GeneratorFunction]",$n="[object Map]",Lr="[object Number]",cp="[object Null]",ht="[object Object]",zo="[object Promise]",lp="[object Proxy]",Rr="[object RegExp]",Mn="[object Set]",Ur="[object String]",mi="[object Symbol]",fp="[object Undefined]",Br="[object WeakMap]",pp="[object WeakSet]",Pr="[object ArrayBuffer]",dr="[object DataView]",$s="[object Float32Array]",Ms="[object Float64Array]",Gs="[object Int8Array]",Vs="[object Int16Array]",qs="[object Int32Array]",zs="[object Uint8Array]",Ys="[object Uint8ClampedArray]",js="[object Uint16Array]",Ws="[object Uint32Array]",dp=/\b__p \+= '';/g,hp=/\b(__p \+=) '' \+/g,_p=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Yo=/&(?:amp|lt|gt|quot|#39);/g,jo=/[&<>"']/g,gp=RegExp(Yo.source),bp=RegExp(jo.source),mp=/<%-([\s\S]+?)%>/g,Fp=/<%([\s\S]+?)%>/g,Wo=/<%=([\s\S]+?)%>/g,Dp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vp=/^\w*$/,Ep=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qs=/[\\^$.*+?()[\]{}|]/g,Ap=RegExp(Qs.source),Js=/^\s+/,Sp=/\s/,Tp=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ip=/\{\n\/\* \[wrapped with (.+)\] \*/,yp=/,? & /,Np=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Cp=/[()=,{}\[\]\/\s]/,wp=/\\(\\)?/g,xp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qo=/\w*$/,kp=/^[-+]0x[0-9a-f]+$/i,Op=/^0b[01]+$/i,Lp=/^\[object .+?Constructor\]$/,Rp=/^0o[0-7]+$/i,Up=/^(?:0|[1-9]\d*)$/,Bp=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fi=/($^)/,Pp=/['\n\r\u2028\u2029\\]/g,Di="\\ud800-\\udfff",$p="\\u0300-\\u036f",Mp="\\ufe20-\\ufe2f",Gp="\\u20d0-\\u20ff",Jo=$p+Mp+Gp,Ho="\\u2700-\\u27bf",Xo="a-z\\xdf-\\xf6\\xf8-\\xff",Vp="\\xac\\xb1\\xd7\\xf7",qp="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zp="\\u2000-\\u206f",Yp=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zo="A-Z\\xc0-\\xd6\\xd8-\\xde",Ko="\\ufe0e\\ufe0f",eu=Vp+qp+zp+Yp,Hs="['’]",jp="["+Di+"]",nu="["+eu+"]",vi="["+Jo+"]",tu="\\d+",Wp="["+Ho+"]",ru="["+Xo+"]",iu="[^"+Di+eu+tu+Ho+Xo+Zo+"]",Xs="\\ud83c[\\udffb-\\udfff]",Qp="(?:"+vi+"|"+Xs+")",su="[^"+Di+"]",Zs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ks="[\\ud800-\\udbff][\\udc00-\\udfff]",hr="["+Zo+"]",au="\\u200d",ou="(?:"+ru+"|"+iu+")",Jp="(?:"+hr+"|"+iu+")",uu="(?:"+Hs+"(?:d|ll|m|re|s|t|ve))?",cu="(?:"+Hs+"(?:D|LL|M|RE|S|T|VE))?",lu=Qp+"?",fu="["+Ko+"]?",Hp="(?:"+au+"(?:"+[su,Zs,Ks].join("|")+")"+fu+lu+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pu=fu+lu+Hp,Kp="(?:"+[Wp,Zs,Ks].join("|")+")"+pu,ed="(?:"+[su+vi+"?",vi,Zs,Ks,jp].join("|")+")",nd=RegExp(Hs,"g"),td=RegExp(vi,"g"),ea=RegExp(Xs+"(?="+Xs+")|"+ed+pu,"g"),rd=RegExp([hr+"?"+ru+"+"+uu+"(?="+[nu,hr,"$"].join("|")+")",Jp+"+"+cu+"(?="+[nu,hr+ou,"$"].join("|")+")",hr+"?"+ou+"+"+uu,hr+"+"+cu,Zp,Xp,tu,Kp].join("|"),"g"),id=RegExp("["+au+Di+Jo+Ko+"]"),sd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ad=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],od=-1,Te={};Te[$s]=Te[Ms]=Te[Gs]=Te[Vs]=Te[qs]=Te[zs]=Te[Ys]=Te[js]=Te[Ws]=!0,Te[P]=Te[de]=Te[Pr]=Te[he]=Te[dr]=Te[In]=Te[kt]=Te[Xe]=Te[$n]=Te[Lr]=Te[ht]=Te[Rr]=Te[Mn]=Te[Ur]=Te[Br]=!1;var Ae={};Ae[P]=Ae[de]=Ae[Pr]=Ae[dr]=Ae[he]=Ae[In]=Ae[$s]=Ae[Ms]=Ae[Gs]=Ae[Vs]=Ae[qs]=Ae[$n]=Ae[Lr]=Ae[ht]=Ae[Rr]=Ae[Mn]=Ae[Ur]=Ae[mi]=Ae[zs]=Ae[Ys]=Ae[js]=Ae[Ws]=!0,Ae[kt]=Ae[Xe]=Ae[Br]=!1;var ud={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},cd={"&":"&","<":"<",">":">",'"':""","'":"'"},ld={"&":"&","<":"<",">":">",""":'"',"'":"'"},fd={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pd=parseFloat,dd=parseInt,du=typeof ni=="object"&&ni&&ni.Object===Object&&ni,hd=typeof self=="object"&&self&&self.Object===Object&&self,We=du||hd||Function("return this")(),na=n&&!n.nodeType&&n,Ht=na&&!0&&r&&!r.nodeType&&r,hu=Ht&&Ht.exports===na,ta=hu&&du.process,yn=function(){try{var D=Ht&&Ht.require&&Ht.require("util").types;return D||ta&&ta.binding&&ta.binding("util")}catch{}}(),_u=yn&&yn.isArrayBuffer,gu=yn&&yn.isDate,bu=yn&&yn.isMap,mu=yn&&yn.isRegExp,Fu=yn&&yn.isSet,Du=yn&&yn.isTypedArray;function bn(D,T,S){switch(S.length){case 0:return D.call(T);case 1:return D.call(T,S[0]);case 2:return D.call(T,S[0],S[1]);case 3:return D.call(T,S[0],S[1],S[2])}return D.apply(T,S)}function _d(D,T,S,$){for(var Z=-1,fe=D==null?0:D.length;++Z-1}function ra(D,T,S){for(var $=-1,Z=D==null?0:D.length;++$-1;);return S}function Nu(D,T){for(var S=D.length;S--&&_r(T,D[S],0)>-1;);return S}function Sd(D,T){for(var S=D.length,$=0;S--;)D[S]===T&&++$;return $}var Td=oa(ud),Id=oa(cd);function yd(D){return"\\"+fd[D]}function Nd(D,T){return D==null?t:D[T]}function gr(D){return id.test(D)}function Cd(D){return sd.test(D)}function wd(D){for(var T,S=[];!(T=D.next()).done;)S.push(T.value);return S}function fa(D){var T=-1,S=Array(D.size);return D.forEach(function($,Z){S[++T]=[Z,$]}),S}function Cu(D,T){return function(S){return D(T(S))}}function Rt(D,T){for(var S=-1,$=D.length,Z=0,fe=[];++S<$;){var qe=D[S];(qe===T||qe===m)&&(D[S]=m,fe[Z++]=S)}return fe}function Si(D){var T=-1,S=Array(D.size);return D.forEach(function($){S[++T]=$}),S}function xd(D){var T=-1,S=Array(D.size);return D.forEach(function($){S[++T]=[$,$]}),S}function kd(D,T,S){for(var $=S-1,Z=D.length;++$-1}function bh(e,i){var o=this.__data__,l=$i(o,e);return l<0?(++this.size,o.push([e,i])):o[l][1]=i,this}_t.prototype.clear=dh,_t.prototype.delete=hh,_t.prototype.get=_h,_t.prototype.has=gh,_t.prototype.set=bh;function gt(e){var i=-1,o=e==null?0:e.length;for(this.clear();++i=i?e:i)),e}function xn(e,i,o,l,p,_){var g,F=i&v,E=i&w,y=i&x;if(o&&(g=p?o(e,l,p,_):o(e)),g!==t)return g;if(!Ce(e))return e;var N=K(e);if(N){if(g=v_(e),!F)return cn(e,g)}else{var O=Ke(e),U=O==Xe||O==qo;if(Gt(e))return fc(e,F);if(O==ht||O==P||U&&!p){if(g=E||U?{}:wc(e),!F)return E?l_(e,Oh(g,e)):c_(e,Gu(g,e))}else{if(!Ae[O])return p?e:{};g=E_(e,O,F)}}_||(_=new Vn);var V=_.get(e);if(V)return V;_.set(e,g),sl(e)?e.forEach(function(Q){g.add(xn(Q,i,o,Q,e,_))}):rl(e)&&e.forEach(function(Q,ie){g.set(ie,xn(Q,i,o,ie,e,_))});var W=y?E?Ba:Ua:E?fn:Ye,te=N?t:W(e);return Nn(te||e,function(Q,ie){te&&(ie=Q,Q=e[ie]),Yr(g,ie,xn(Q,i,o,ie,e,_))}),g}function Lh(e){var i=Ye(e);return function(o){return Vu(o,e,i)}}function Vu(e,i,o){var l=o.length;if(e==null)return!l;for(e=De(e);l--;){var p=o[l],_=i[p],g=e[p];if(g===t&&!(p in e)||!_(g))return!1}return!0}function qu(e,i,o){if(typeof e!="function")throw new Cn(c);return Zr(function(){e.apply(t,o)},i)}function jr(e,i,o,l){var p=-1,_=Ei,g=!0,F=e.length,E=[],y=i.length;if(!F)return E;o&&(i=Ie(i,mn(o))),l?(_=ra,g=!1):i.length>=a&&(_=$r,g=!1,i=new Kt(i));e:for(;++pp?0:p+o),l=l===t||l>p?p:ne(l),l<0&&(l+=p),l=o>l?0:ol(l);o0&&o(F)?i>1?Qe(F,i-1,o,l,p):Lt(p,F):l||(p[p.length]=F)}return p}var ma=bc(),ju=bc(!0);function st(e,i){return e&&ma(e,i,Ye)}function Fa(e,i){return e&&ju(e,i,Ye)}function Gi(e,i){return Ot(i,function(o){return vt(e[o])})}function nr(e,i){i=$t(i,e);for(var o=0,l=i.length;e!=null&&oi}function Bh(e,i){return e!=null&&ge.call(e,i)}function Ph(e,i){return e!=null&&i in De(e)}function $h(e,i,o){return e>=Ze(i,o)&&e=120&&N.length>=120)?new Kt(g&&N):t}N=e[0];var O=-1,U=F[0];e:for(;++O-1;)F!==e&&ki.call(F,E,1),ki.call(e,E,1);return e}function rc(e,i){for(var o=e?i.length:0,l=o-1;o--;){var p=i[o];if(o==l||p!==_){var _=p;Dt(p)?ki.call(e,p,1):Ca(e,p)}}return e}function Ia(e,i){return e+Ri(Bu()*(i-e+1))}function Zh(e,i,o,l){for(var p=-1,_=ze(Li((i-e)/(o||1)),0),g=S(_);_--;)g[l?_:++p]=e,e+=o;return g}function ya(e,i){var o="";if(!e||i<1||i>Pn)return o;do i%2&&(o+=e),i=Ri(i/2),i&&(e+=e);while(i);return o}function re(e,i){return za(Oc(e,i,pn),e+"")}function Kh(e){return Mu(yr(e))}function e_(e,i){var o=yr(e);return Zi(o,er(i,0,o.length))}function Jr(e,i,o,l){if(!Ce(e))return e;i=$t(i,e);for(var p=-1,_=i.length,g=_-1,F=e;F!=null&&++p<_;){var E=ot(i[p]),y=o;if(E==="__proto__"||E==="constructor"||E==="prototype")return e;if(p!=g){var N=F[E];y=l?l(N,E,F):t,y===t&&(y=Ce(N)?N:Dt(i[p+1])?[]:{})}Yr(F,E,y),F=F[E]}return e}var ic=Ui?function(e,i){return Ui.set(e,i),e}:pn,n_=Oi?function(e,i){return Oi(e,"toString",{configurable:!0,enumerable:!1,value:eo(i),writable:!0})}:pn;function t_(e){return Zi(yr(e))}function kn(e,i,o){var l=-1,p=e.length;i<0&&(i=-i>p?0:p+i),o=o>p?p:o,o<0&&(o+=p),p=i>o?0:o-i>>>0,i>>>=0;for(var _=S(p);++l>>1,g=e[_];g!==null&&!Dn(g)&&(o?g<=i:g=a){var y=i?null:h_(e);if(y)return Si(y);g=!1,p=$r,E=new Kt}else E=i?[]:F;e:for(;++l<_;){var N=e[l],O=i?i(N):N;if(N=o||N!==0?N:0,g&&O===O){for(var U=E.length;U--;)if(E[U]===O)continue e;i&&E.push(O),F.push(N)}else p(E,O,o)||(E!==F&&E.push(O),F.push(N))}return F}function Ca(e,i){return i=$t(i,e),e=Lc(e,i),e==null||delete e[ot(On(i))]}function oc(e,i,o,l){return Jr(e,i,o(nr(e,i)),l)}function zi(e,i,o,l){for(var p=e.length,_=l?p:-1;(l?_--:++_=l?e:kn(e,i,o)}var lc=Yd||function(e){return We.clearTimeout(e)};function fc(e,i){if(i)return e.slice();var o=e.length,l=ku?ku(o):new e.constructor(o);return e.copy(l),l}function Oa(e){var i=new e.constructor(e.byteLength);return new wi(i).set(new wi(e)),i}function s_(e,i){var o=i?Oa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function a_(e){var i=new e.constructor(e.source,Qo.exec(e));return i.lastIndex=e.lastIndex,i}function o_(e){return zr?De(zr.call(e)):{}}function pc(e,i){var o=i?Oa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function dc(e,i){if(e!==i){var o=e!==t,l=e===null,p=e===e,_=Dn(e),g=i!==t,F=i===null,E=i===i,y=Dn(i);if(!F&&!y&&!_&&e>i||_&&g&&E&&!F&&!y||l&&g&&E||!o&&E||!p)return 1;if(!l&&!_&&!y&&e=F)return E;var y=o[l];return E*(y=="desc"?-1:1)}}return e.index-i.index}function hc(e,i,o,l){for(var p=-1,_=e.length,g=o.length,F=-1,E=i.length,y=ze(_-g,0),N=S(E+y),O=!l;++F1?o[p-1]:t,g=p>2?o[2]:t;for(_=e.length>3&&typeof _=="function"?(p--,_):t,g&&sn(o[0],o[1],g)&&(_=p<3?t:_,p=1),i=De(i);++l-1?p[_?i[g]:g]:t}}function Dc(e){return Ft(function(i){var o=i.length,l=o,p=wn.prototype.thru;for(e&&i.reverse();l--;){var _=i[l];if(typeof _!="function")throw new Cn(c);if(p&&!g&&Hi(_)=="wrapper")var g=new wn([],!0)}for(l=g?l:o;++l1&&ce.reverse(),N&&EF))return!1;var y=_.get(e),N=_.get(i);if(y&&N)return y==i&&N==e;var O=-1,U=!0,V=o&R?new Kt:t;for(_.set(e,i),_.set(i,e);++O1?"& ":"")+i[l],i=i.join(o>2?", ":" "),e.replace(Tp,`{ /* [wrapped with `+i+`] */ -`)}function S_(e){return K(e)||ir(e)||!!(Ru&&e&&e[Ru])}function Dt(e,i){var o=typeof e;return i=i??Pn,!!i&&(o=="number"||o!="symbol"&&Up.test(e))&&e>-1&&e%1==0&&e0){if(++i>=xt)return arguments[0]}else i=0;return e.apply(t,arguments)}}function Zi(e,i){var o=-1,l=e.length,p=l-1;for(i=i===t?l:i;++o1?e[i-1]:t;return o=typeof o=="function"?(e.pop(),o):t,jc(e,o)});function Wc(e){var i=h(e);return i.__chain__=!0,i}function Rg(e,i){return i(e),e}function Ki(e,i){return i(e)}var Ug=Ft(function(e){var i=e.length,o=i?e[0]:0,l=this.__wrapped__,p=function(_){return ba(_,e)};return i>1||this.__actions__.length||!(l instanceof oe)||!Dt(o)?this.thru(p):(l=l.slice(o,+o+(i?1:0)),l.__actions__.push({func:Ki,args:[p],thisArg:t}),new wn(l,this.__chain__).thru(function(_){return i&&!_.length&&_.push(t),_}))});function Bg(){return Wc(this)}function Pg(){return new wn(this.value(),this.__chain__)}function $g(){this.__values__===t&&(this.__values__=al(this.value()));var e=this.__index__>=this.__values__.length,i=e?t:this.__values__[this.__index__++];return{done:e,value:i}}function Mg(){return this}function Gg(e){for(var i,o=this;o instanceof Pi;){var l=$c(o);l.__index__=0,l.__values__=t,i?p.__wrapped__=l:i=l;var p=l;o=o.__wrapped__}return p.__wrapped__=e,i}function Vg(){var e=this.__wrapped__;if(e instanceof oe){var i=e;return this.__actions__.length&&(i=new oe(this)),i=i.reverse(),i.__actions__.push({func:Ki,args:[ja],thisArg:t}),new wn(i,this.__chain__)}return this.thru(ja)}function qg(){return uc(this.__wrapped__,this.__actions__)}var zg=ji(function(e,i,o){ge.call(e,o)?++e[o]:bt(e,o,1)});function jg(e,i,o){var l=K(e)?vu:Rh;return o&&sn(e,i,o)&&(i=t),l(e,W(i,3))}function Wg(e,i){var o=K(e)?Ot:ju;return o(e,W(i,3))}var Yg=Fc(Mc),Qg=Fc(Gc);function Jg(e,i){return Qe(es(e,i),1)}function Hg(e,i){return Qe(es(e,i),it)}function Xg(e,i,o){return o=o===t?1:ne(o),Qe(es(e,i),o)}function Yc(e,i){var o=K(e)?Nn:Bt;return o(e,W(i,3))}function Qc(e,i){var o=K(e)?gd:zu;return o(e,W(i,3))}var Zg=ji(function(e,i,o){ge.call(e,o)?e[o].push(i):bt(e,o,[i])});function Kg(e,i,o,l){e=fn(e)?e:yr(e),o=o&&!l?ne(o):0;var p=e.length;return o<0&&(o=ze(p+o,0)),ss(e)?o<=p&&e.indexOf(i,o)>-1:!!p&&_r(e,i,o)>-1}var e0=re(function(e,i,o){var l=-1,p=typeof i=="function",_=fn(e)?S(e.length):[];return Bt(e,function(g){_[++l]=p?bn(i,g,o):Yr(g,i,o)}),_}),n0=ji(function(e,i,o){bt(e,o,i)});function es(e,i){var o=K(e)?Ie:Xu;return o(e,W(i,3))}function t0(e,i,o,l){return e==null?[]:(K(i)||(i=i==null?[]:[i]),o=l?t:o,K(o)||(o=o==null?[]:[o]),nc(e,i,o))}var r0=ji(function(e,i,o){e[o?0:1].push(i)},function(){return[[],[]]});function i0(e,i,o){var l=K(e)?ia:Tu,p=arguments.length<3;return l(e,W(i,4),o,p,Bt)}function s0(e,i,o){var l=K(e)?bd:Tu,p=arguments.length<3;return l(e,W(i,4),o,p,zu)}function a0(e,i){var o=K(e)?Ot:ju;return o(e,rs(W(i,3)))}function o0(e){var i=K(e)?Mu:Kh;return i(e)}function u0(e,i,o){(o?sn(e,i,o):i===t)?i=1:i=ne(i);var l=K(e)?wh:e_;return l(e,i)}function c0(e){var i=K(e)?xh:t_;return i(e)}function l0(e){if(e==null)return 0;if(fn(e))return ss(e)?br(e):e.length;var i=Ke(e);return i==$n||i==Mn?e.size:Aa(e).length}function f0(e,i,o){var l=K(e)?sa:r_;return o&&sn(e,i,o)&&(i=t),l(e,W(i,3))}var p0=re(function(e,i){if(e==null)return[];var o=i.length;return o>1&&sn(e,i[0],i[1])?i=[]:o>2&&sn(i[0],i[1],i[2])&&(i=[i[0]]),nc(e,Qe(i,1),[])}),ns=Wd||function(){return Ye.Date.now()};function d0(e,i){if(typeof i!="function")throw new Cn(c);return e=ne(e),function(){if(--e<1)return i.apply(this,arguments)}}function Jc(e,i,o){return i=o?t:i,i=e&&i==null?e.length:i,mt(e,He,t,t,t,t,i)}function Hc(e,i){var o;if(typeof i!="function")throw new Cn(c);return e=ne(e),function(){return--e>0&&(o=i.apply(this,arguments)),e<=1&&(i=t),o}}var Ya=re(function(e,i,o){var l=J;if(o.length){var p=Rt(o,Tr(Ya));l|=ke}return mt(e,l,i,o,p)}),Xc=re(function(e,i,o){var l=J|pe;if(o.length){var p=Rt(o,Tr(Xc));l|=ke}return mt(i,l,e,o,p)});function Zc(e,i,o){i=o?t:i;var l=mt(e,Ee,t,t,t,t,t,i);return l.placeholder=Zc.placeholder,l}function Kc(e,i,o){i=o?t:i;var l=mt(e,Ne,t,t,t,t,t,i);return l.placeholder=Kc.placeholder,l}function el(e,i,o){var l,p,_,g,F,E,y=0,C=!1,O=!1,U=!0;if(typeof e!="function")throw new Cn(c);i=Ln(i)||0,Ce(o)&&(C=!!o.leading,O="maxWait"in o,_=O?ze(Ln(o.maxWait)||0,i):_,U="trailing"in o?!!o.trailing:U);function V(Pe){var zn=l,At=p;return l=p=t,y=Pe,g=e.apply(At,zn),g}function Y(Pe){return y=Pe,F=Zr(ie,i),C?V(Pe):g}function te(Pe){var zn=Pe-E,At=Pe-y,Fl=i-zn;return O?Ze(Fl,_-At):Fl}function Q(Pe){var zn=Pe-E,At=Pe-y;return E===t||zn>=i||zn<0||O&&At>=_}function ie(){var Pe=ns();if(Q(Pe))return ce(Pe);F=Zr(ie,te(Pe))}function ce(Pe){return F=t,U&&l?V(Pe):(l=p=t,g)}function vn(){F!==t&&lc(F),y=0,l=E=p=F=t}function an(){return F===t?g:ce(ns())}function En(){var Pe=ns(),zn=Q(Pe);if(l=arguments,p=this,E=Pe,zn){if(F===t)return Y(E);if(O)return lc(F),F=Zr(ie,i),V(E)}return F===t&&(F=Zr(ie,i)),g}return En.cancel=vn,En.flush=an,En}var h0=re(function(e,i){return qu(e,1,i)}),_0=re(function(e,i,o){return qu(e,Ln(i)||0,o)});function g0(e){return mt(e,k)}function ts(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new Cn(c);var o=function(){var l=arguments,p=i?i.apply(this,l):l[0],_=o.cache;if(_.has(p))return _.get(p);var g=e.apply(this,l);return o.cache=_.set(p,g)||_,g};return o.cache=new(ts.Cache||gt),o}ts.Cache=gt;function rs(e){if(typeof e!="function")throw new Cn(c);return function(){var i=arguments;switch(i.length){case 0:return!e.call(this);case 1:return!e.call(this,i[0]);case 2:return!e.call(this,i[0],i[1]);case 3:return!e.call(this,i[0],i[1],i[2])}return!e.apply(this,i)}}function b0(e){return Hc(2,e)}var m0=i_(function(e,i){i=i.length==1&&K(i[0])?Ie(i[0],mn(W())):Ie(Qe(i,1),mn(W()));var o=i.length;return re(function(l){for(var p=-1,_=Ze(l.length,o);++p<_;)l[p]=i[p].call(this,l[p]);return bn(e,this,l)})}),Qa=re(function(e,i){var o=Rt(i,Tr(Qa));return mt(e,ke,t,i,o)}),nl=re(function(e,i){var o=Rt(i,Tr(nl));return mt(e,nn,t,i,o)}),F0=Ft(function(e,i){return mt(e,dt,t,t,t,i)});function D0(e,i){if(typeof e!="function")throw new Cn(c);return i=i===t?i:ne(i),re(e,i)}function v0(e,i){if(typeof e!="function")throw new Cn(c);return i=i==null?0:ze(ne(i),0),re(function(o){var l=o[i],p=Mt(o,0,i);return l&&Lt(p,l),bn(e,this,p)})}function E0(e,i,o){var l=!0,p=!0;if(typeof e!="function")throw new Cn(c);return Ce(o)&&(l="leading"in o?!!o.leading:l,p="trailing"in o?!!o.trailing:p),el(e,i,{leading:l,maxWait:i,trailing:p})}function A0(e){return Jc(e,1)}function S0(e,i){return Qa(ka(i),e)}function T0(){if(!arguments.length)return[];var e=arguments[0];return K(e)?e:[e]}function I0(e){return xn(e,x)}function y0(e,i){return i=typeof i=="function"?i:t,xn(e,x,i)}function N0(e){return xn(e,v|x)}function C0(e,i){return i=typeof i=="function"?i:t,xn(e,v|x,i)}function w0(e,i){return i==null||Vu(e,i,je(i))}function qn(e,i){return e===i||e!==e&&i!==i}var x0=Ji(Da),k0=Ji(function(e,i){return e>=i}),ir=Qu(function(){return arguments}())?Qu:function(e){return Oe(e)&&ge.call(e,"callee")&&!Lu.call(e,"callee")},K=S.isArray,O0=_u?mn(_u):Gh;function fn(e){return e!=null&&is(e.length)&&!vt(e)}function Be(e){return Oe(e)&&fn(e)}function L0(e){return e===!0||e===!1||Oe(e)&&rn(e)==he}var Gt=Qd||so,R0=gu?mn(gu):Vh;function U0(e){return Oe(e)&&e.nodeType===1&&!Kr(e)}function B0(e){if(e==null)return!0;if(fn(e)&&(K(e)||typeof e=="string"||typeof e.splice=="function"||Gt(e)||Ir(e)||ir(e)))return!e.length;var i=Ke(e);if(i==$n||i==Mn)return!e.size;if(Xr(e))return!Aa(e).length;for(var o in e)if(ge.call(e,o))return!1;return!0}function P0(e,i){return Qr(e,i)}function $0(e,i,o){o=typeof o=="function"?o:t;var l=o?o(e,i):t;return l===t?Qr(e,i,t,o):!!l}function Ja(e){if(!Oe(e))return!1;var i=rn(e);return i==kt||i==Or||typeof e.message=="string"&&typeof e.name=="string"&&!Kr(e)}function M0(e){return typeof e=="number"&&Uu(e)}function vt(e){if(!Ce(e))return!1;var i=rn(e);return i==Xe||i==qo||i==Ue||i==lp}function tl(e){return typeof e=="number"&&e==ne(e)}function is(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Pn}function Ce(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Oe(e){return e!=null&&typeof e=="object"}var rl=bu?mn(bu):zh;function G0(e,i){return e===i||Ea(e,i,$a(i))}function V0(e,i,o){return o=typeof o=="function"?o:t,Ea(e,i,$a(i),o)}function q0(e){return il(e)&&e!=+e}function z0(e){if(y_(e))throw new Z(u);return Ju(e)}function j0(e){return e===null}function W0(e){return e==null}function il(e){return typeof e=="number"||Oe(e)&&rn(e)==Lr}function Kr(e){if(!Oe(e)||rn(e)!=ht)return!1;var i=xi(e);if(i===null)return!0;var o=ge.call(i,"constructor")&&i.constructor;return typeof o=="function"&&o instanceof o&&yi.call(o)==Vd}var Ha=mu?mn(mu):jh;function Y0(e){return tl(e)&&e>=-Pn&&e<=Pn}var sl=Fu?mn(Fu):Wh;function ss(e){return typeof e=="string"||!K(e)&&Oe(e)&&rn(e)==Ur}function Dn(e){return typeof e=="symbol"||Oe(e)&&rn(e)==mi}var Ir=Du?mn(Du):Yh;function Q0(e){return e===t}function J0(e){return Oe(e)&&Ke(e)==Br}function H0(e){return Oe(e)&&rn(e)==pp}var X0=Ji(Sa),Z0=Ji(function(e,i){return e<=i});function al(e){if(!e)return[];if(fn(e))return ss(e)?Gn(e):ln(e);if(Mr&&e[Mr])return wd(e[Mr]());var i=Ke(e),o=i==$n?fa:i==Mn?Si:yr;return o(e)}function Et(e){if(!e)return e===0?e:0;if(e=Ln(e),e===it||e===-it){var i=e<0?-1:1;return i*pr}return e===e?e:0}function ne(e){var i=Et(e),o=i%1;return i===i?o?i-o:i:0}function ol(e){return e?er(ne(e),0,Tn):0}function Ln(e){if(typeof e=="number")return e;if(Dn(e))return Jt;if(Ce(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=Ce(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=Iu(e);var o=Op.test(e);return o||Rp.test(e)?dd(e.slice(2),o?2:8):kp.test(e)?Jt:+e}function ul(e){return at(e,pn(e))}function K0(e){return e?er(ne(e),-Pn,Pn):e===0?e:0}function _e(e){return e==null?"":Fn(e)}var eb=Ar(function(e,i){if(Xr(i)||fn(i)){at(i,je(i),e);return}for(var o in i)ge.call(i,o)&&jr(e,o,i[o])}),cl=Ar(function(e,i){at(i,pn(i),e)}),as=Ar(function(e,i,o,l){at(i,pn(i),e,l)}),nb=Ar(function(e,i,o,l){at(i,je(i),e,l)}),tb=Ft(ba);function rb(e,i){var o=Er(e);return i==null?o:Gu(o,i)}var ib=re(function(e,i){e=De(e);var o=-1,l=i.length,p=l>2?i[2]:t;for(p&&sn(i[0],i[1],p)&&(l=1);++o1),_}),at(e,Ba(e),o),l&&(o=xn(o,v|N|x,__));for(var p=i.length;p--;)Ca(o,i[p]);return o});function Eb(e,i){return fl(e,rs(W(i)))}var Ab=Ft(function(e,i){return e==null?{}:Hh(e,i)});function fl(e,i){if(e==null)return{};var o=Ie(Ba(e),function(l){return[l]});return i=W(i),tc(e,o,function(l,p){return i(l,p[0])})}function Sb(e,i,o){i=$t(i,e);var l=-1,p=i.length;for(p||(p=1,e=t);++li){var l=e;e=i,i=l}if(o||e%1||i%1){var p=Bu();return Ze(e+p*(i-e+pd("1e-"+((p+"").length-1))),i)}return Ia(e,i)}var Rb=Sr(function(e,i,o){return i=i.toLowerCase(),e+(o?hl(i):i)});function hl(e){return Ka(_e(e).toLowerCase())}function _l(e){return e=_e(e),e&&e.replace(Bp,Td).replace(td,"")}function Ub(e,i,o){e=_e(e),i=Fn(i);var l=e.length;o=o===t?l:er(ne(o),0,l);var p=o;return o-=i.length,o>=0&&e.slice(o,p)==i}function Bb(e){return e=_e(e),e&&bp.test(e)?e.replace(Wo,Id):e}function Pb(e){return e=_e(e),e&&Ap.test(e)?e.replace(Qs,"\\$&"):e}var $b=Sr(function(e,i,o){return e+(o?"-":"")+i.toLowerCase()}),Mb=Sr(function(e,i,o){return e+(o?" ":"")+i.toLowerCase()}),Gb=mc("toLowerCase");function Vb(e,i,o){e=_e(e),i=ne(i);var l=i?br(e):0;if(!i||l>=i)return e;var p=(i-l)/2;return Qi(Ri(p),o)+e+Qi(Li(p),o)}function qb(e,i,o){e=_e(e),i=ne(i);var l=i?br(e):0;return i&&l>>0,o?(e=_e(e),e&&(typeof i=="string"||i!=null&&!Ha(i))&&(i=Fn(i),!i&&gr(e))?Mt(Gn(e),0,o):e.split(i,o)):[]}var Hb=Sr(function(e,i,o){return e+(o?" ":"")+Ka(i)});function Xb(e,i,o){return e=_e(e),o=o==null?0:er(ne(o),0,e.length),i=Fn(i),e.slice(o,o+i.length)==i}function Zb(e,i,o){var l=h.templateSettings;o&&sn(e,i,o)&&(i=t),e=_e(e),i=as({},i,l,Tc);var p=as({},i.imports,l.imports,Tc),_=je(p),g=la(p,_),F,E,y=0,C=i.interpolate||Fi,O="__p += '",U=pa((i.escape||Fi).source+"|"+C.source+"|"+(C===Yo?xp:Fi).source+"|"+(i.evaluate||Fi).source+"|$","g"),V="//# sourceURL="+(ge.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++od+"]")+` +`)}function S_(e){return K(e)||ir(e)||!!(Ru&&e&&e[Ru])}function Dt(e,i){var o=typeof e;return i=i??Pn,!!i&&(o=="number"||o!="symbol"&&Up.test(e))&&e>-1&&e%1==0&&e0){if(++i>=xt)return arguments[0]}else i=0;return e.apply(t,arguments)}}function Zi(e,i){var o=-1,l=e.length,p=l-1;for(i=i===t?l:i;++o1?e[i-1]:t;return o=typeof o=="function"?(e.pop(),o):t,Yc(e,o)});function jc(e){var i=h(e);return i.__chain__=!0,i}function Rg(e,i){return i(e),e}function Ki(e,i){return i(e)}var Ug=Ft(function(e){var i=e.length,o=i?e[0]:0,l=this.__wrapped__,p=function(_){return ba(_,e)};return i>1||this.__actions__.length||!(l instanceof oe)||!Dt(o)?this.thru(p):(l=l.slice(o,+o+(i?1:0)),l.__actions__.push({func:Ki,args:[p],thisArg:t}),new wn(l,this.__chain__).thru(function(_){return i&&!_.length&&_.push(t),_}))});function Bg(){return jc(this)}function Pg(){return new wn(this.value(),this.__chain__)}function $g(){this.__values__===t&&(this.__values__=al(this.value()));var e=this.__index__>=this.__values__.length,i=e?t:this.__values__[this.__index__++];return{done:e,value:i}}function Mg(){return this}function Gg(e){for(var i,o=this;o instanceof Pi;){var l=$c(o);l.__index__=0,l.__values__=t,i?p.__wrapped__=l:i=l;var p=l;o=o.__wrapped__}return p.__wrapped__=e,i}function Vg(){var e=this.__wrapped__;if(e instanceof oe){var i=e;return this.__actions__.length&&(i=new oe(this)),i=i.reverse(),i.__actions__.push({func:Ki,args:[Ya],thisArg:t}),new wn(i,this.__chain__)}return this.thru(Ya)}function qg(){return uc(this.__wrapped__,this.__actions__)}var zg=Yi(function(e,i,o){ge.call(e,o)?++e[o]:bt(e,o,1)});function Yg(e,i,o){var l=K(e)?vu:Rh;return o&&sn(e,i,o)&&(i=t),l(e,j(i,3))}function jg(e,i){var o=K(e)?Ot:Yu;return o(e,j(i,3))}var Wg=Fc(Mc),Qg=Fc(Gc);function Jg(e,i){return Qe(es(e,i),1)}function Hg(e,i){return Qe(es(e,i),it)}function Xg(e,i,o){return o=o===t?1:ne(o),Qe(es(e,i),o)}function Wc(e,i){var o=K(e)?Nn:Bt;return o(e,j(i,3))}function Qc(e,i){var o=K(e)?gd:zu;return o(e,j(i,3))}var Zg=Yi(function(e,i,o){ge.call(e,o)?e[o].push(i):bt(e,o,[i])});function Kg(e,i,o,l){e=ln(e)?e:yr(e),o=o&&!l?ne(o):0;var p=e.length;return o<0&&(o=ze(p+o,0)),ss(e)?o<=p&&e.indexOf(i,o)>-1:!!p&&_r(e,i,o)>-1}var e0=re(function(e,i,o){var l=-1,p=typeof i=="function",_=ln(e)?S(e.length):[];return Bt(e,function(g){_[++l]=p?bn(i,g,o):Wr(g,i,o)}),_}),n0=Yi(function(e,i,o){bt(e,o,i)});function es(e,i){var o=K(e)?Ie:Xu;return o(e,j(i,3))}function t0(e,i,o,l){return e==null?[]:(K(i)||(i=i==null?[]:[i]),o=l?t:o,K(o)||(o=o==null?[]:[o]),nc(e,i,o))}var r0=Yi(function(e,i,o){e[o?0:1].push(i)},function(){return[[],[]]});function i0(e,i,o){var l=K(e)?ia:Tu,p=arguments.length<3;return l(e,j(i,4),o,p,Bt)}function s0(e,i,o){var l=K(e)?bd:Tu,p=arguments.length<3;return l(e,j(i,4),o,p,zu)}function a0(e,i){var o=K(e)?Ot:Yu;return o(e,rs(j(i,3)))}function o0(e){var i=K(e)?Mu:Kh;return i(e)}function u0(e,i,o){(o?sn(e,i,o):i===t)?i=1:i=ne(i);var l=K(e)?wh:e_;return l(e,i)}function c0(e){var i=K(e)?xh:t_;return i(e)}function l0(e){if(e==null)return 0;if(ln(e))return ss(e)?br(e):e.length;var i=Ke(e);return i==$n||i==Mn?e.size:Aa(e).length}function f0(e,i,o){var l=K(e)?sa:r_;return o&&sn(e,i,o)&&(i=t),l(e,j(i,3))}var p0=re(function(e,i){if(e==null)return[];var o=i.length;return o>1&&sn(e,i[0],i[1])?i=[]:o>2&&sn(i[0],i[1],i[2])&&(i=[i[0]]),nc(e,Qe(i,1),[])}),ns=jd||function(){return We.Date.now()};function d0(e,i){if(typeof i!="function")throw new Cn(c);return e=ne(e),function(){if(--e<1)return i.apply(this,arguments)}}function Jc(e,i,o){return i=o?t:i,i=e&&i==null?e.length:i,mt(e,He,t,t,t,t,i)}function Hc(e,i){var o;if(typeof i!="function")throw new Cn(c);return e=ne(e),function(){return--e>0&&(o=i.apply(this,arguments)),e<=1&&(i=t),o}}var Wa=re(function(e,i,o){var l=J;if(o.length){var p=Rt(o,Tr(Wa));l|=ke}return mt(e,l,i,o,p)}),Xc=re(function(e,i,o){var l=J|pe;if(o.length){var p=Rt(o,Tr(Xc));l|=ke}return mt(i,l,e,o,p)});function Zc(e,i,o){i=o?t:i;var l=mt(e,Ee,t,t,t,t,t,i);return l.placeholder=Zc.placeholder,l}function Kc(e,i,o){i=o?t:i;var l=mt(e,Ne,t,t,t,t,t,i);return l.placeholder=Kc.placeholder,l}function el(e,i,o){var l,p,_,g,F,E,y=0,N=!1,O=!1,U=!0;if(typeof e!="function")throw new Cn(c);i=Ln(i)||0,Ce(o)&&(N=!!o.leading,O="maxWait"in o,_=O?ze(Ln(o.maxWait)||0,i):_,U="trailing"in o?!!o.trailing:U);function V(Pe){var zn=l,At=p;return l=p=t,y=Pe,g=e.apply(At,zn),g}function W(Pe){return y=Pe,F=Zr(ie,i),N?V(Pe):g}function te(Pe){var zn=Pe-E,At=Pe-y,Fl=i-zn;return O?Ze(Fl,_-At):Fl}function Q(Pe){var zn=Pe-E,At=Pe-y;return E===t||zn>=i||zn<0||O&&At>=_}function ie(){var Pe=ns();if(Q(Pe))return ce(Pe);F=Zr(ie,te(Pe))}function ce(Pe){return F=t,U&&l?V(Pe):(l=p=t,g)}function vn(){F!==t&&lc(F),y=0,l=E=p=F=t}function an(){return F===t?g:ce(ns())}function En(){var Pe=ns(),zn=Q(Pe);if(l=arguments,p=this,E=Pe,zn){if(F===t)return W(E);if(O)return lc(F),F=Zr(ie,i),V(E)}return F===t&&(F=Zr(ie,i)),g}return En.cancel=vn,En.flush=an,En}var h0=re(function(e,i){return qu(e,1,i)}),_0=re(function(e,i,o){return qu(e,Ln(i)||0,o)});function g0(e){return mt(e,k)}function ts(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new Cn(c);var o=function(){var l=arguments,p=i?i.apply(this,l):l[0],_=o.cache;if(_.has(p))return _.get(p);var g=e.apply(this,l);return o.cache=_.set(p,g)||_,g};return o.cache=new(ts.Cache||gt),o}ts.Cache=gt;function rs(e){if(typeof e!="function")throw new Cn(c);return function(){var i=arguments;switch(i.length){case 0:return!e.call(this);case 1:return!e.call(this,i[0]);case 2:return!e.call(this,i[0],i[1]);case 3:return!e.call(this,i[0],i[1],i[2])}return!e.apply(this,i)}}function b0(e){return Hc(2,e)}var m0=i_(function(e,i){i=i.length==1&&K(i[0])?Ie(i[0],mn(j())):Ie(Qe(i,1),mn(j()));var o=i.length;return re(function(l){for(var p=-1,_=Ze(l.length,o);++p<_;)l[p]=i[p].call(this,l[p]);return bn(e,this,l)})}),Qa=re(function(e,i){var o=Rt(i,Tr(Qa));return mt(e,ke,t,i,o)}),nl=re(function(e,i){var o=Rt(i,Tr(nl));return mt(e,nn,t,i,o)}),F0=Ft(function(e,i){return mt(e,dt,t,t,t,i)});function D0(e,i){if(typeof e!="function")throw new Cn(c);return i=i===t?i:ne(i),re(e,i)}function v0(e,i){if(typeof e!="function")throw new Cn(c);return i=i==null?0:ze(ne(i),0),re(function(o){var l=o[i],p=Mt(o,0,i);return l&&Lt(p,l),bn(e,this,p)})}function E0(e,i,o){var l=!0,p=!0;if(typeof e!="function")throw new Cn(c);return Ce(o)&&(l="leading"in o?!!o.leading:l,p="trailing"in o?!!o.trailing:p),el(e,i,{leading:l,maxWait:i,trailing:p})}function A0(e){return Jc(e,1)}function S0(e,i){return Qa(ka(i),e)}function T0(){if(!arguments.length)return[];var e=arguments[0];return K(e)?e:[e]}function I0(e){return xn(e,x)}function y0(e,i){return i=typeof i=="function"?i:t,xn(e,x,i)}function N0(e){return xn(e,v|x)}function C0(e,i){return i=typeof i=="function"?i:t,xn(e,v|x,i)}function w0(e,i){return i==null||Vu(e,i,Ye(i))}function qn(e,i){return e===i||e!==e&&i!==i}var x0=Ji(Da),k0=Ji(function(e,i){return e>=i}),ir=Qu(function(){return arguments}())?Qu:function(e){return Oe(e)&&ge.call(e,"callee")&&!Lu.call(e,"callee")},K=S.isArray,O0=_u?mn(_u):Gh;function ln(e){return e!=null&&is(e.length)&&!vt(e)}function Be(e){return Oe(e)&&ln(e)}function L0(e){return e===!0||e===!1||Oe(e)&&rn(e)==he}var Gt=Qd||so,R0=gu?mn(gu):Vh;function U0(e){return Oe(e)&&e.nodeType===1&&!Kr(e)}function B0(e){if(e==null)return!0;if(ln(e)&&(K(e)||typeof e=="string"||typeof e.splice=="function"||Gt(e)||Ir(e)||ir(e)))return!e.length;var i=Ke(e);if(i==$n||i==Mn)return!e.size;if(Xr(e))return!Aa(e).length;for(var o in e)if(ge.call(e,o))return!1;return!0}function P0(e,i){return Qr(e,i)}function $0(e,i,o){o=typeof o=="function"?o:t;var l=o?o(e,i):t;return l===t?Qr(e,i,t,o):!!l}function Ja(e){if(!Oe(e))return!1;var i=rn(e);return i==kt||i==Or||typeof e.message=="string"&&typeof e.name=="string"&&!Kr(e)}function M0(e){return typeof e=="number"&&Uu(e)}function vt(e){if(!Ce(e))return!1;var i=rn(e);return i==Xe||i==qo||i==Ue||i==lp}function tl(e){return typeof e=="number"&&e==ne(e)}function is(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Pn}function Ce(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Oe(e){return e!=null&&typeof e=="object"}var rl=bu?mn(bu):zh;function G0(e,i){return e===i||Ea(e,i,$a(i))}function V0(e,i,o){return o=typeof o=="function"?o:t,Ea(e,i,$a(i),o)}function q0(e){return il(e)&&e!=+e}function z0(e){if(y_(e))throw new Z(u);return Ju(e)}function Y0(e){return e===null}function j0(e){return e==null}function il(e){return typeof e=="number"||Oe(e)&&rn(e)==Lr}function Kr(e){if(!Oe(e)||rn(e)!=ht)return!1;var i=xi(e);if(i===null)return!0;var o=ge.call(i,"constructor")&&i.constructor;return typeof o=="function"&&o instanceof o&&yi.call(o)==Vd}var Ha=mu?mn(mu):Yh;function W0(e){return tl(e)&&e>=-Pn&&e<=Pn}var sl=Fu?mn(Fu):jh;function ss(e){return typeof e=="string"||!K(e)&&Oe(e)&&rn(e)==Ur}function Dn(e){return typeof e=="symbol"||Oe(e)&&rn(e)==mi}var Ir=Du?mn(Du):Wh;function Q0(e){return e===t}function J0(e){return Oe(e)&&Ke(e)==Br}function H0(e){return Oe(e)&&rn(e)==pp}var X0=Ji(Sa),Z0=Ji(function(e,i){return e<=i});function al(e){if(!e)return[];if(ln(e))return ss(e)?Gn(e):cn(e);if(Mr&&e[Mr])return wd(e[Mr]());var i=Ke(e),o=i==$n?fa:i==Mn?Si:yr;return o(e)}function Et(e){if(!e)return e===0?e:0;if(e=Ln(e),e===it||e===-it){var i=e<0?-1:1;return i*pr}return e===e?e:0}function ne(e){var i=Et(e),o=i%1;return i===i?o?i-o:i:0}function ol(e){return e?er(ne(e),0,Tn):0}function Ln(e){if(typeof e=="number")return e;if(Dn(e))return Jt;if(Ce(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=Ce(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=Iu(e);var o=Op.test(e);return o||Rp.test(e)?dd(e.slice(2),o?2:8):kp.test(e)?Jt:+e}function ul(e){return at(e,fn(e))}function K0(e){return e?er(ne(e),-Pn,Pn):e===0?e:0}function _e(e){return e==null?"":Fn(e)}var eb=Ar(function(e,i){if(Xr(i)||ln(i)){at(i,Ye(i),e);return}for(var o in i)ge.call(i,o)&&Yr(e,o,i[o])}),cl=Ar(function(e,i){at(i,fn(i),e)}),as=Ar(function(e,i,o,l){at(i,fn(i),e,l)}),nb=Ar(function(e,i,o,l){at(i,Ye(i),e,l)}),tb=Ft(ba);function rb(e,i){var o=Er(e);return i==null?o:Gu(o,i)}var ib=re(function(e,i){e=De(e);var o=-1,l=i.length,p=l>2?i[2]:t;for(p&&sn(i[0],i[1],p)&&(l=1);++o1),_}),at(e,Ba(e),o),l&&(o=xn(o,v|w|x,__));for(var p=i.length;p--;)Ca(o,i[p]);return o});function Eb(e,i){return fl(e,rs(j(i)))}var Ab=Ft(function(e,i){return e==null?{}:Hh(e,i)});function fl(e,i){if(e==null)return{};var o=Ie(Ba(e),function(l){return[l]});return i=j(i),tc(e,o,function(l,p){return i(l,p[0])})}function Sb(e,i,o){i=$t(i,e);var l=-1,p=i.length;for(p||(p=1,e=t);++li){var l=e;e=i,i=l}if(o||e%1||i%1){var p=Bu();return Ze(e+p*(i-e+pd("1e-"+((p+"").length-1))),i)}return Ia(e,i)}var Rb=Sr(function(e,i,o){return i=i.toLowerCase(),e+(o?hl(i):i)});function hl(e){return Ka(_e(e).toLowerCase())}function _l(e){return e=_e(e),e&&e.replace(Bp,Td).replace(td,"")}function Ub(e,i,o){e=_e(e),i=Fn(i);var l=e.length;o=o===t?l:er(ne(o),0,l);var p=o;return o-=i.length,o>=0&&e.slice(o,p)==i}function Bb(e){return e=_e(e),e&&bp.test(e)?e.replace(jo,Id):e}function Pb(e){return e=_e(e),e&&Ap.test(e)?e.replace(Qs,"\\$&"):e}var $b=Sr(function(e,i,o){return e+(o?"-":"")+i.toLowerCase()}),Mb=Sr(function(e,i,o){return e+(o?" ":"")+i.toLowerCase()}),Gb=mc("toLowerCase");function Vb(e,i,o){e=_e(e),i=ne(i);var l=i?br(e):0;if(!i||l>=i)return e;var p=(i-l)/2;return Qi(Ri(p),o)+e+Qi(Li(p),o)}function qb(e,i,o){e=_e(e),i=ne(i);var l=i?br(e):0;return i&&l>>0,o?(e=_e(e),e&&(typeof i=="string"||i!=null&&!Ha(i))&&(i=Fn(i),!i&&gr(e))?Mt(Gn(e),0,o):e.split(i,o)):[]}var Hb=Sr(function(e,i,o){return e+(o?" ":"")+Ka(i)});function Xb(e,i,o){return e=_e(e),o=o==null?0:er(ne(o),0,e.length),i=Fn(i),e.slice(o,o+i.length)==i}function Zb(e,i,o){var l=h.templateSettings;o&&sn(e,i,o)&&(i=t),e=_e(e),i=as({},i,l,Tc);var p=as({},i.imports,l.imports,Tc),_=Ye(p),g=la(p,_),F,E,y=0,N=i.interpolate||Fi,O="__p += '",U=pa((i.escape||Fi).source+"|"+N.source+"|"+(N===Wo?xp:Fi).source+"|"+(i.evaluate||Fi).source+"|$","g"),V="//# sourceURL="+(ge.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++od+"]")+` `;e.replace(U,function(Q,ie,ce,vn,an,En){return ce||(ce=vn),O+=e.slice(y,En).replace(Pp,yd),ie&&(F=!0,O+=`' + __e(`+ie+`) + '`),an&&(E=!0,O+=`'; @@ -59,26 +59,26 @@ __e(`+ie+`) + __p += '`),ce&&(O+=`' + ((__t = (`+ce+`)) == null ? '' : __t) + '`),y=En+Q.length,Q}),O+=`'; -`;var Y=ge.call(i,"variable")&&i.variable;if(!Y)O=`with (obj) { +`;var W=ge.call(i,"variable")&&i.variable;if(!W)O=`with (obj) { `+O+` } -`;else if(Cp.test(Y))throw new Z(f);O=(E?O.replace(dp,""):O).replace(hp,"$1").replace(_p,"$1;"),O="function("+(Y||"obj")+`) { -`+(Y?"":`obj || (obj = {}); +`;else if(Cp.test(W))throw new Z(f);O=(E?O.replace(dp,""):O).replace(hp,"$1").replace(_p,"$1;"),O="function("+(W||"obj")+`) { +`+(W?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(F?", __e = _.escape":"")+(E?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+O+`return __p -}`;var te=bl(function(){return fe(_,V+"return "+O).apply(t,g)});if(te.source=O,Ja(te))throw te;return te}function Kb(e){return _e(e).toLowerCase()}function em(e){return _e(e).toUpperCase()}function nm(e,i,o){if(e=_e(e),e&&(o||i===t))return Iu(e);if(!e||!(i=Fn(i)))return e;var l=Gn(e),p=Gn(i),_=yu(l,p),g=Nu(l,p)+1;return Mt(l,_,g).join("")}function tm(e,i,o){if(e=_e(e),e&&(o||i===t))return e.slice(0,wu(e)+1);if(!e||!(i=Fn(i)))return e;var l=Gn(e),p=Nu(l,Gn(i))+1;return Mt(l,0,p).join("")}function rm(e,i,o){if(e=_e(e),e&&(o||i===t))return e.replace(Js,"");if(!e||!(i=Fn(i)))return e;var l=Gn(e),p=yu(l,Gn(i));return Mt(l,p).join("")}function im(e,i){var o=X,l=tn;if(Ce(i)){var p="separator"in i?i.separator:p;o="length"in i?ne(i.length):o,l="omission"in i?Fn(i.omission):l}e=_e(e);var _=e.length;if(gr(e)){var g=Gn(e);_=g.length}if(o>=_)return e;var F=o-br(l);if(F<1)return l;var E=g?Mt(g,0,F).join(""):e.slice(0,F);if(p===t)return E+l;if(g&&(F+=E.length-F),Ha(p)){if(e.slice(F).search(p)){var y,C=E;for(p.global||(p=pa(p.source,_e(Qo.exec(p))+"g")),p.lastIndex=0;y=p.exec(C);)var O=y.index;E=E.slice(0,O===t?F:O)}}else if(e.indexOf(Fn(p),F)!=F){var U=E.lastIndexOf(p);U>-1&&(E=E.slice(0,U))}return E+l}function sm(e){return e=_e(e),e&&gp.test(e)?e.replace(jo,Ld):e}var am=Sr(function(e,i,o){return e+(o?" ":"")+i.toUpperCase()}),Ka=mc("toUpperCase");function gl(e,i,o){return e=_e(e),i=o?t:i,i===t?Cd(e)?Bd(e):Dd(e):e.match(i)||[]}var bl=re(function(e,i){try{return bn(e,t,i)}catch(o){return Ja(o)?o:new Z(o)}}),om=Ft(function(e,i){return Nn(i,function(o){o=ot(o),bt(e,o,Ya(e[o],e))}),e});function um(e){var i=e==null?0:e.length,o=W();return e=i?Ie(e,function(l){if(typeof l[1]!="function")throw new Cn(c);return[o(l[0]),l[1]]}):[],re(function(l){for(var p=-1;++pPn)return[];var o=Tn,l=Ze(e,Tn);i=W(i),e-=Tn;for(var p=ca(l,i);++o0||i<0)?new oe(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),i!==t&&(i=ne(i),o=i<0?o.dropRight(-i):o.take(i-e)),o)},oe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},oe.prototype.toArray=function(){return this.take(Tn)},st(oe.prototype,function(e,i){var o=/^(?:filter|find|map|reject)|While$/.test(i),l=/^(?:head|last)$/.test(i),p=h[l?"take"+(i=="last"?"Right":""):i],_=l||/^find/.test(i);p&&(h.prototype[i]=function(){var g=this.__wrapped__,F=l?[1]:arguments,E=g instanceof oe,y=F[0],C=E||K(g),O=function(ie){var ce=p.apply(h,Lt([ie],F));return l&&U?ce[0]:ce};C&&o&&typeof y=="function"&&y.length!=1&&(E=C=!1);var U=this.__chain__,V=!!this.__actions__.length,Y=_&&!U,te=E&&!V;if(!_&&C){g=te?g:new oe(this);var Q=e.apply(g,F);return Q.__actions__.push({func:Ki,args:[O],thisArg:t}),new wn(Q,U)}return Y&&te?e.apply(this,F):(Q=this.thru(O),Y?l?Q.value()[0]:Q.value():Q)})}),Nn(["pop","push","shift","sort","splice","unshift"],function(e){var i=Ti[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",l=/^(?:pop|shift)$/.test(e);h.prototype[e]=function(){var p=arguments;if(l&&!this.__chain__){var _=this.value();return i.apply(K(_)?_:[],p)}return this[o](function(g){return i.apply(K(g)?g:[],p)})}}),st(oe.prototype,function(e,i){var o=h[i];if(o){var l=o.name+"";ge.call(vr,l)||(vr[l]=[]),vr[l].push({name:i,func:o})}}),vr[Wi(t,pe).name]=[{name:"wrapper",func:t}],oe.prototype.clone=sh,oe.prototype.reverse=ah,oe.prototype.value=oh,h.prototype.at=Ug,h.prototype.chain=Bg,h.prototype.commit=Pg,h.prototype.next=$g,h.prototype.plant=Gg,h.prototype.reverse=Vg,h.prototype.toJSON=h.prototype.valueOf=h.prototype.value=qg,h.prototype.first=h.prototype.head,Mr&&(h.prototype[Mr]=Mg),h},mr=Pd();Ht?((Ht.exports=mr)._=mr,na._=mr):Ye._=mr}).call(ni)})(vs,vs.exports);var nD=vs.exports;const Nt=Z1(nD),tD="LCDB GraphQL",rD="/docs",iD="https://lcdb.org/images/logo.svg",sD="https://lcdb.org/favicon.ico",aD='[{"title":"Welcome","content":"\\nLCDB GraphQL Database\\n=====================\\n\\nThis is the graph database for `https://lcdb.org`.\\n\\nYou are free to use this database for your own purposes.\\n\\nThe endpoint is a POST to `https://graphql.lcdb.org`\\n "}]',oD="true",Ef={APP_TITLE:tD,SITE_ROOT:rD,APP_LOGO:iD,APP_FAVICON:sD,PAGES:aD,MAGIDOC_GENERATE:oD};function TE(r){return r.get(Ef)}function Cs(r,n){return r.getOrDefault(Ef,n)}function ws(){return Cs(Ns.SITE_ROOT,Zm)}function le(r,n){if(!!!r)throw new Error(n)}function Ct(r){return typeof r=="object"&&r!==null}function Jn(r,n){if(!!!r)throw new Error(n??"Unexpected invariant triggered.")}const uD=/\r\n|[\n\r]/g;function Fo(r,n){let t=0,s=1;for(const a of r.body.matchAll(uD)){if(typeof a.index=="number"||Jn(!1),a.index>=n)break;t=a.index+a[0].length,s+=1}return{line:s,column:n+1-t}}function cD(r){return Af(r.source,Fo(r.source,r.start))}function Af(r,n){const t=r.locationOffset.column-1,s="".padStart(t)+r.body,a=n.line-1,u=r.locationOffset.line-1,c=n.line+u,f=n.line===1?t:0,d=n.column+f,b=`${r.name}:${c}:${d} -`,m=s.split(/\r\n|[\n\r]/g),v=m[a];if(v.length>120){const N=Math.floor(d/80),x=d%80,L=[];for(let R=0;R["|",R]),["|","^".padStart(x)],["|",L[N+1]]])}return b+Vl([[`${c-1} |`,m[a-1]],[`${c} |`,v],["|","^".padStart(d)],[`${c+1} |`,m[a+1]]])}function Vl(r){const n=r.filter(([s,a])=>a!==void 0),t=Math.max(...n.map(([s])=>s.length));return n.map(([s,a])=>s.padStart(t)+(a?" "+a:"")).join(` -`)}function lD(r){const n=r[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:r[1],positions:r[2],path:r[3],originalError:r[4],extensions:r[5]}:n}class q extends Error{constructor(n,...t){var s,a,u;const{nodes:c,source:f,positions:d,path:b,originalError:m,extensions:v}=lD(t);super(n),this.name="GraphQLError",this.path=b??void 0,this.originalError=m??void 0,this.nodes=ql(Array.isArray(c)?c:c?[c]:void 0);const N=ql((s=this.nodes)===null||s===void 0?void 0:s.map(L=>L.loc).filter(L=>L!=null));this.source=f??(N==null||(a=N[0])===null||a===void 0?void 0:a.source),this.positions=d??(N==null?void 0:N.map(L=>L.start)),this.locations=d&&f?d.map(L=>Fo(f,L)):N==null?void 0:N.map(L=>Fo(L.source,L.start));const x=Ct(m==null?void 0:m.extensions)?m==null?void 0:m.extensions:void 0;this.extensions=(u=v??x)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),m!=null&&m.stack?Object.defineProperty(this,"stack",{value:m.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,q):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(n+=` +}`;var te=bl(function(){return fe(_,V+"return "+O).apply(t,g)});if(te.source=O,Ja(te))throw te;return te}function Kb(e){return _e(e).toLowerCase()}function em(e){return _e(e).toUpperCase()}function nm(e,i,o){if(e=_e(e),e&&(o||i===t))return Iu(e);if(!e||!(i=Fn(i)))return e;var l=Gn(e),p=Gn(i),_=yu(l,p),g=Nu(l,p)+1;return Mt(l,_,g).join("")}function tm(e,i,o){if(e=_e(e),e&&(o||i===t))return e.slice(0,wu(e)+1);if(!e||!(i=Fn(i)))return e;var l=Gn(e),p=Nu(l,Gn(i))+1;return Mt(l,0,p).join("")}function rm(e,i,o){if(e=_e(e),e&&(o||i===t))return e.replace(Js,"");if(!e||!(i=Fn(i)))return e;var l=Gn(e),p=yu(l,Gn(i));return Mt(l,p).join("")}function im(e,i){var o=X,l=tn;if(Ce(i)){var p="separator"in i?i.separator:p;o="length"in i?ne(i.length):o,l="omission"in i?Fn(i.omission):l}e=_e(e);var _=e.length;if(gr(e)){var g=Gn(e);_=g.length}if(o>=_)return e;var F=o-br(l);if(F<1)return l;var E=g?Mt(g,0,F).join(""):e.slice(0,F);if(p===t)return E+l;if(g&&(F+=E.length-F),Ha(p)){if(e.slice(F).search(p)){var y,N=E;for(p.global||(p=pa(p.source,_e(Qo.exec(p))+"g")),p.lastIndex=0;y=p.exec(N);)var O=y.index;E=E.slice(0,O===t?F:O)}}else if(e.indexOf(Fn(p),F)!=F){var U=E.lastIndexOf(p);U>-1&&(E=E.slice(0,U))}return E+l}function sm(e){return e=_e(e),e&&gp.test(e)?e.replace(Yo,Ld):e}var am=Sr(function(e,i,o){return e+(o?" ":"")+i.toUpperCase()}),Ka=mc("toUpperCase");function gl(e,i,o){return e=_e(e),i=o?t:i,i===t?Cd(e)?Bd(e):Dd(e):e.match(i)||[]}var bl=re(function(e,i){try{return bn(e,t,i)}catch(o){return Ja(o)?o:new Z(o)}}),om=Ft(function(e,i){return Nn(i,function(o){o=ot(o),bt(e,o,Wa(e[o],e))}),e});function um(e){var i=e==null?0:e.length,o=j();return e=i?Ie(e,function(l){if(typeof l[1]!="function")throw new Cn(c);return[o(l[0]),l[1]]}):[],re(function(l){for(var p=-1;++pPn)return[];var o=Tn,l=Ze(e,Tn);i=j(i),e-=Tn;for(var p=ca(l,i);++o0||i<0)?new oe(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),i!==t&&(i=ne(i),o=i<0?o.dropRight(-i):o.take(i-e)),o)},oe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},oe.prototype.toArray=function(){return this.take(Tn)},st(oe.prototype,function(e,i){var o=/^(?:filter|find|map|reject)|While$/.test(i),l=/^(?:head|last)$/.test(i),p=h[l?"take"+(i=="last"?"Right":""):i],_=l||/^find/.test(i);p&&(h.prototype[i]=function(){var g=this.__wrapped__,F=l?[1]:arguments,E=g instanceof oe,y=F[0],N=E||K(g),O=function(ie){var ce=p.apply(h,Lt([ie],F));return l&&U?ce[0]:ce};N&&o&&typeof y=="function"&&y.length!=1&&(E=N=!1);var U=this.__chain__,V=!!this.__actions__.length,W=_&&!U,te=E&&!V;if(!_&&N){g=te?g:new oe(this);var Q=e.apply(g,F);return Q.__actions__.push({func:Ki,args:[O],thisArg:t}),new wn(Q,U)}return W&&te?e.apply(this,F):(Q=this.thru(O),W?l?Q.value()[0]:Q.value():Q)})}),Nn(["pop","push","shift","sort","splice","unshift"],function(e){var i=Ti[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",l=/^(?:pop|shift)$/.test(e);h.prototype[e]=function(){var p=arguments;if(l&&!this.__chain__){var _=this.value();return i.apply(K(_)?_:[],p)}return this[o](function(g){return i.apply(K(g)?g:[],p)})}}),st(oe.prototype,function(e,i){var o=h[i];if(o){var l=o.name+"";ge.call(vr,l)||(vr[l]=[]),vr[l].push({name:i,func:o})}}),vr[ji(t,pe).name]=[{name:"wrapper",func:t}],oe.prototype.clone=sh,oe.prototype.reverse=ah,oe.prototype.value=oh,h.prototype.at=Ug,h.prototype.chain=Bg,h.prototype.commit=Pg,h.prototype.next=$g,h.prototype.plant=Gg,h.prototype.reverse=Vg,h.prototype.toJSON=h.prototype.valueOf=h.prototype.value=qg,h.prototype.first=h.prototype.head,Mr&&(h.prototype[Mr]=Mg),h},mr=Pd();Ht?((Ht.exports=mr)._=mr,na._=mr):We._=mr}).call(ni)})(vs,vs.exports);var nD=vs.exports;const Nt=Z1(nD),tD="LCDB GraphQL",rD="/docs",iD="https://lcdb.org/images/logo.svg",sD="https://lcdb.org/favicon.ico",aD='[{"title":"Welcome","content":"\\nLCDB GraphQL Database\\n=====================\\n\\nThis is the graph database for `https://lcdb.org`.\\n\\nYou are free to use this database for your own purposes.\\n\\nYou may explore the GraphQL with [graphiql](https://graphql.lcdb.org/graphiql) or POST to `https://graphql.lcdb.org`\\n "},{"title":"Example Queries","content":"\\nExample Queries\\n===============\\n\\nFetch performances with artist name and sources\\n-----------------------------------------------\\n\\n```graphql\\nquery MyQuery {\\n performances {\\n edges {\\n node {\\n artist {\\n name\\n }\\n date\\n year\\n venue\\n city\\n state\\n sources {\\n edges {\\n node {\\n id\\n comments\\n createdAt\\n }\\n }\\n }\\n }\\n }\\n }\\n}\\n```\\n\\nFetch a single source\\n----------------------\\n\\n```graphql\\nquery MyQuery {\\n source(id: 211) {\\n comments\\n textdoc\\n id\\n archiveIdentifier\\n performance {\\n date\\n year\\n artist {\\n name\\n }\\n }\\n }\\n}\\n```\\n\\n\\n "}]',oD="true",Ef={APP_TITLE:tD,SITE_ROOT:rD,APP_LOGO:iD,APP_FAVICON:sD,PAGES:aD,MAGIDOC_GENERATE:oD};function SE(r){return r.get(Ef)}function Cs(r,n){return r.getOrDefault(Ef,n)}function ws(){return Cs(Ns.SITE_ROOT,Zm)}function le(r,n){if(!!!r)throw new Error(n)}function Ct(r){return typeof r=="object"&&r!==null}function Jn(r,n){if(!!!r)throw new Error(n??"Unexpected invariant triggered.")}const uD=/\r\n|[\n\r]/g;function Fo(r,n){let t=0,s=1;for(const a of r.body.matchAll(uD)){if(typeof a.index=="number"||Jn(!1),a.index>=n)break;t=a.index+a[0].length,s+=1}return{line:s,column:n+1-t}}function cD(r){return Af(r.source,Fo(r.source,r.start))}function Af(r,n){const t=r.locationOffset.column-1,s="".padStart(t)+r.body,a=n.line-1,u=r.locationOffset.line-1,c=n.line+u,f=n.line===1?t:0,d=n.column+f,b=`${r.name}:${c}:${d} +`,m=s.split(/\r\n|[\n\r]/g),v=m[a];if(v.length>120){const w=Math.floor(d/80),x=d%80,L=[];for(let R=0;R["|",R]),["|","^".padStart(x)],["|",L[w+1]]])}return b+Vl([[`${c-1} |`,m[a-1]],[`${c} |`,v],["|","^".padStart(d)],[`${c+1} |`,m[a+1]]])}function Vl(r){const n=r.filter(([s,a])=>a!==void 0),t=Math.max(...n.map(([s])=>s.length));return n.map(([s,a])=>s.padStart(t)+(a?" "+a:"")).join(` +`)}function lD(r){const n=r[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:r[1],positions:r[2],path:r[3],originalError:r[4],extensions:r[5]}:n}class q extends Error{constructor(n,...t){var s,a,u;const{nodes:c,source:f,positions:d,path:b,originalError:m,extensions:v}=lD(t);super(n),this.name="GraphQLError",this.path=b??void 0,this.originalError=m??void 0,this.nodes=ql(Array.isArray(c)?c:c?[c]:void 0);const w=ql((s=this.nodes)===null||s===void 0?void 0:s.map(L=>L.loc).filter(L=>L!=null));this.source=f??(w==null||(a=w[0])===null||a===void 0?void 0:a.source),this.positions=d??(w==null?void 0:w.map(L=>L.start)),this.locations=d&&f?d.map(L=>Fo(f,L)):w==null?void 0:w.map(L=>Fo(L.source,L.start));const x=Ct(m==null?void 0:m.extensions)?m==null?void 0:m.extensions:void 0;this.extensions=(u=v??x)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),m!=null&&m.stack?Object.defineProperty(this,"stack",{value:m.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,q):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(n+=` `+cD(t.loc));else if(this.source&&this.locations)for(const t of this.locations)n+=` -`+Af(this.source,t);return n}toJSON(){const n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}}function ql(r){return r===void 0||r.length===0?void 0:r}function We(r,n,t){return new q(`Syntax Error: ${t}`,{source:r,positions:[n]})}class fD{constructor(n,t,s){this.start=n.start,this.end=t.end,this.startToken=n,this.endToken=t,this.source=s}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Sf{constructor(n,t,s,a,u,c){this.kind=n,this.start=t,this.end=s,this.line=a,this.column=u,this.value=c,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Tf={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"]},pD=new Set(Object.keys(Tf));function zl(r){const n=r==null?void 0:r.kind;return typeof n=="string"&&pD.has(n)}var Rn;(function(r){r.QUERY="query",r.MUTATION="mutation",r.SUBSCRIPTION="subscription"})(Rn||(Rn={}));var j;(function(r){r.QUERY="QUERY",r.MUTATION="MUTATION",r.SUBSCRIPTION="SUBSCRIPTION",r.FIELD="FIELD",r.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",r.FRAGMENT_SPREAD="FRAGMENT_SPREAD",r.INLINE_FRAGMENT="INLINE_FRAGMENT",r.VARIABLE_DEFINITION="VARIABLE_DEFINITION",r.SCHEMA="SCHEMA",r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.FIELD_DEFINITION="FIELD_DEFINITION",r.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.ENUM_VALUE="ENUM_VALUE",r.INPUT_OBJECT="INPUT_OBJECT",r.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(j||(j={}));var A;(function(r){r.NAME="Name",r.DOCUMENT="Document",r.OPERATION_DEFINITION="OperationDefinition",r.VARIABLE_DEFINITION="VariableDefinition",r.SELECTION_SET="SelectionSet",r.FIELD="Field",r.ARGUMENT="Argument",r.FRAGMENT_SPREAD="FragmentSpread",r.INLINE_FRAGMENT="InlineFragment",r.FRAGMENT_DEFINITION="FragmentDefinition",r.VARIABLE="Variable",r.INT="IntValue",r.FLOAT="FloatValue",r.STRING="StringValue",r.BOOLEAN="BooleanValue",r.NULL="NullValue",r.ENUM="EnumValue",r.LIST="ListValue",r.OBJECT="ObjectValue",r.OBJECT_FIELD="ObjectField",r.DIRECTIVE="Directive",r.NAMED_TYPE="NamedType",r.LIST_TYPE="ListType",r.NON_NULL_TYPE="NonNullType",r.SCHEMA_DEFINITION="SchemaDefinition",r.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",r.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",r.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",r.FIELD_DEFINITION="FieldDefinition",r.INPUT_VALUE_DEFINITION="InputValueDefinition",r.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",r.UNION_TYPE_DEFINITION="UnionTypeDefinition",r.ENUM_TYPE_DEFINITION="EnumTypeDefinition",r.ENUM_VALUE_DEFINITION="EnumValueDefinition",r.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",r.DIRECTIVE_DEFINITION="DirectiveDefinition",r.SCHEMA_EXTENSION="SchemaExtension",r.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",r.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",r.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",r.UNION_TYPE_EXTENSION="UnionTypeExtension",r.ENUM_TYPE_EXTENSION="EnumTypeExtension",r.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(A||(A={}));function Do(r){return r===9||r===32}function ci(r){return r>=48&&r<=57}function If(r){return r>=97&&r<=122||r>=65&&r<=90}function Bo(r){return If(r)||r===95}function yf(r){return If(r)||ci(r)||r===95}function dD(r){var n;let t=Number.MAX_SAFE_INTEGER,s=null,a=-1;for(let c=0;cf===0?c:c.slice(t)).slice((n=s)!==null&&n!==void 0?n:0,a+1)}function hD(r){let n=0;for(;n1&&s.slice(1).every(x=>x.length===0||Do(x.charCodeAt(0))),c=t.endsWith('\\"""'),f=r.endsWith('"')&&!c,d=r.endsWith("\\"),b=f||d,m=!(n!=null&&n.minimize)&&(!a||r.length>70||b||u||c);let v="";const N=a&&Do(r.charCodeAt(0));return(m&&!N||u)&&(v+=` +`+Af(this.source,t);return n}toJSON(){const n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}}function ql(r){return r===void 0||r.length===0?void 0:r}function je(r,n,t){return new q(`Syntax Error: ${t}`,{source:r,positions:[n]})}class fD{constructor(n,t,s){this.start=n.start,this.end=t.end,this.startToken=n,this.endToken=t,this.source=s}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Sf{constructor(n,t,s,a,u,c){this.kind=n,this.start=t,this.end=s,this.line=a,this.column=u,this.value=c,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Tf={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"]},pD=new Set(Object.keys(Tf));function zl(r){const n=r==null?void 0:r.kind;return typeof n=="string"&&pD.has(n)}var Rn;(function(r){r.QUERY="query",r.MUTATION="mutation",r.SUBSCRIPTION="subscription"})(Rn||(Rn={}));var Y;(function(r){r.QUERY="QUERY",r.MUTATION="MUTATION",r.SUBSCRIPTION="SUBSCRIPTION",r.FIELD="FIELD",r.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",r.FRAGMENT_SPREAD="FRAGMENT_SPREAD",r.INLINE_FRAGMENT="INLINE_FRAGMENT",r.VARIABLE_DEFINITION="VARIABLE_DEFINITION",r.SCHEMA="SCHEMA",r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.FIELD_DEFINITION="FIELD_DEFINITION",r.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.ENUM_VALUE="ENUM_VALUE",r.INPUT_OBJECT="INPUT_OBJECT",r.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(Y||(Y={}));var A;(function(r){r.NAME="Name",r.DOCUMENT="Document",r.OPERATION_DEFINITION="OperationDefinition",r.VARIABLE_DEFINITION="VariableDefinition",r.SELECTION_SET="SelectionSet",r.FIELD="Field",r.ARGUMENT="Argument",r.FRAGMENT_SPREAD="FragmentSpread",r.INLINE_FRAGMENT="InlineFragment",r.FRAGMENT_DEFINITION="FragmentDefinition",r.VARIABLE="Variable",r.INT="IntValue",r.FLOAT="FloatValue",r.STRING="StringValue",r.BOOLEAN="BooleanValue",r.NULL="NullValue",r.ENUM="EnumValue",r.LIST="ListValue",r.OBJECT="ObjectValue",r.OBJECT_FIELD="ObjectField",r.DIRECTIVE="Directive",r.NAMED_TYPE="NamedType",r.LIST_TYPE="ListType",r.NON_NULL_TYPE="NonNullType",r.SCHEMA_DEFINITION="SchemaDefinition",r.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",r.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",r.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",r.FIELD_DEFINITION="FieldDefinition",r.INPUT_VALUE_DEFINITION="InputValueDefinition",r.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",r.UNION_TYPE_DEFINITION="UnionTypeDefinition",r.ENUM_TYPE_DEFINITION="EnumTypeDefinition",r.ENUM_VALUE_DEFINITION="EnumValueDefinition",r.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",r.DIRECTIVE_DEFINITION="DirectiveDefinition",r.SCHEMA_EXTENSION="SchemaExtension",r.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",r.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",r.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",r.UNION_TYPE_EXTENSION="UnionTypeExtension",r.ENUM_TYPE_EXTENSION="EnumTypeExtension",r.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(A||(A={}));function Do(r){return r===9||r===32}function ci(r){return r>=48&&r<=57}function If(r){return r>=97&&r<=122||r>=65&&r<=90}function Bo(r){return If(r)||r===95}function yf(r){return If(r)||ci(r)||r===95}function dD(r){var n;let t=Number.MAX_SAFE_INTEGER,s=null,a=-1;for(let c=0;cf===0?c:c.slice(t)).slice((n=s)!==null&&n!==void 0?n:0,a+1)}function hD(r){let n=0;for(;n1&&s.slice(1).every(x=>x.length===0||Do(x.charCodeAt(0))),c=t.endsWith('\\"""'),f=r.endsWith('"')&&!c,d=r.endsWith("\\"),b=f||d,m=!a||r.length>70||b||u||c;let v="";const w=a&&Do(r.charCodeAt(0));return(m&&!w||u)&&(v+=` `),v+=t,(m||b)&&(v+=` -`),'"""'+v+'"""'}var w;(function(r){r.SOF="",r.EOF="",r.BANG="!",r.DOLLAR="$",r.AMP="&",r.PAREN_L="(",r.PAREN_R=")",r.SPREAD="...",r.COLON=":",r.EQUALS="=",r.AT="@",r.BRACKET_L="[",r.BRACKET_R="]",r.BRACE_L="{",r.PIPE="|",r.BRACE_R="}",r.NAME="Name",r.INT="Int",r.FLOAT="Float",r.STRING="String",r.BLOCK_STRING="BlockString",r.COMMENT="Comment"})(w||(w={}));class gD{constructor(n){const t=new Sf(w.SOF,0,0,0,0);this.source=n,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==w.EOF)do if(n.next)n=n.next;else{const t=mD(this,n.end);n.next=t,t.prev=n,n=t}while(n.kind===w.COMMENT);return n}}function bD(r){return r===w.BANG||r===w.DOLLAR||r===w.AMP||r===w.PAREN_L||r===w.PAREN_R||r===w.SPREAD||r===w.COLON||r===w.EQUALS||r===w.AT||r===w.BRACKET_L||r===w.BRACKET_R||r===w.BRACE_L||r===w.PIPE||r===w.BRACE_R}function xr(r){return r>=0&&r<=55295||r>=57344&&r<=1114111}function xs(r,n){return Nf(r.charCodeAt(n))&&Cf(r.charCodeAt(n+1))}function Nf(r){return r>=55296&&r<=56319}function Cf(r){return r>=56320&&r<=57343}function or(r,n){const t=r.source.body.codePointAt(n);if(t===void 0)return w.EOF;if(t>=32&&t<=126){const s=String.fromCodePoint(t);return s==='"'?`'"'`:`"${s}"`}return"U+"+t.toString(16).toUpperCase().padStart(4,"0")}function Ge(r,n,t,s,a){const u=r.line,c=1+t-r.lineStart;return new Sf(n,t,s,u,c,a)}function mD(r,n){const t=r.source.body,s=t.length;let a=n;for(;a=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:-1}function SD(r,n){const t=r.source.body;switch(t.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` -`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw We(r.source,n,`Invalid character escape sequence: "${t.slice(n,n+2)}".`)}function TD(r,n){const t=r.source.body,s=t.length;let a=r.lineStart,u=n+3,c=u,f="";const d=[];for(;uwf?"["+kD(r)+"]":"{ "+t.map(([a,u])=>a+": "+ks(u,n)).join(", ")+" }"}function xD(r,n){if(r.length===0)return"[]";if(n.length>wf)return"[Array]";const t=Math.min(yD,r.length),s=r.length-t,a=[];for(let u=0;u1&&a.push(`... ${s} more items`),"["+a.join(", ")+"]"}function kD(r){const n=Object.prototype.toString.call(r).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof r.constructor=="function"){const t=r.constructor.name;if(typeof t=="string"&&t!=="")return t}return n}const pt=globalThis.process?function(n,t){return n instanceof t}:function(n,t){if(n instanceof t)return!0;if(typeof n=="object"&&n!==null){var s;const a=t.prototype[Symbol.toStringTag],u=Symbol.toStringTag in n?n[Symbol.toStringTag]:(s=n.constructor)===null||s===void 0?void 0:s.name;if(a===u){const c=z(n);throw new Error(`Cannot use ${a} "${c}" from another module or realm. +`),'"""'+v+'"""'}var C;(function(r){r.SOF="",r.EOF="",r.BANG="!",r.DOLLAR="$",r.AMP="&",r.PAREN_L="(",r.PAREN_R=")",r.SPREAD="...",r.COLON=":",r.EQUALS="=",r.AT="@",r.BRACKET_L="[",r.BRACKET_R="]",r.BRACE_L="{",r.PIPE="|",r.BRACE_R="}",r.NAME="Name",r.INT="Int",r.FLOAT="Float",r.STRING="String",r.BLOCK_STRING="BlockString",r.COMMENT="Comment"})(C||(C={}));class gD{constructor(n){const t=new Sf(C.SOF,0,0,0,0);this.source=n,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==C.EOF)do if(n.next)n=n.next;else{const t=mD(this,n.end);n.next=t,t.prev=n,n=t}while(n.kind===C.COMMENT);return n}}function bD(r){return r===C.BANG||r===C.DOLLAR||r===C.AMP||r===C.PAREN_L||r===C.PAREN_R||r===C.SPREAD||r===C.COLON||r===C.EQUALS||r===C.AT||r===C.BRACKET_L||r===C.BRACKET_R||r===C.BRACE_L||r===C.PIPE||r===C.BRACE_R}function xr(r){return r>=0&&r<=55295||r>=57344&&r<=1114111}function xs(r,n){return Nf(r.charCodeAt(n))&&Cf(r.charCodeAt(n+1))}function Nf(r){return r>=55296&&r<=56319}function Cf(r){return r>=56320&&r<=57343}function or(r,n){const t=r.source.body.codePointAt(n);if(t===void 0)return C.EOF;if(t>=32&&t<=126){const s=String.fromCodePoint(t);return s==='"'?`'"'`:`"${s}"`}return"U+"+t.toString(16).toUpperCase().padStart(4,"0")}function Ge(r,n,t,s,a){const u=r.line,c=1+t-r.lineStart;return new Sf(n,t,s,u,c,a)}function mD(r,n){const t=r.source.body,s=t.length;let a=n;for(;a=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:-1}function SD(r,n){const t=r.source.body;switch(t.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw je(r.source,n,`Invalid character escape sequence: "${t.slice(n,n+2)}".`)}function TD(r,n){const t=r.source.body,s=t.length;let a=r.lineStart,u=n+3,c=u,f="";const d=[];for(;uwf?"["+kD(r)+"]":"{ "+t.map(([a,u])=>a+": "+ks(u,n)).join(", ")+" }"}function xD(r,n){if(r.length===0)return"[]";if(n.length>wf)return"[Array]";const t=Math.min(yD,r.length),s=r.length-t,a=[];for(let u=0;u1&&a.push(`... ${s} more items`),"["+a.join(", ")+"]"}function kD(r){const n=Object.prototype.toString.call(r).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof r.constructor=="function"){const t=r.constructor.name;if(typeof t=="string"&&t!=="")return t}return n}const pt=globalThis.process?function(n,t){return n instanceof t}:function(n,t){if(n instanceof t)return!0;if(typeof n=="object"&&n!==null){var s;const a=t.prototype[Symbol.toStringTag],u=Symbol.toStringTag in n?n[Symbol.toStringTag]:(s=n.constructor)===null||s===void 0?void 0:s.name;if(a===u){const c=z(n);throw new Error(`Cannot use ${a} "${c}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other @@ -89,38 +89,38 @@ https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and -spurious results.`)}}return!1};class xf{constructor(n,t="GraphQL request",s={line:1,column:1}){typeof n=="string"||le(!1,`Body must be a string. Received: ${z(n)}.`),this.body=n,this.name=t,this.locationOffset=s,this.locationOffset.line>0||le(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||le(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function OD(r){return pt(r,xf)}function LD(r,n){return new kf(r,n).parseDocument()}function RD(r,n){const t=new kf(r,n);t.expectToken(w.SOF);const s=t.parseValueLiteral(!1);return t.expectToken(w.EOF),s}class kf{constructor(n,t={}){const s=OD(n)?n:new xf(n);this._lexer=new gD(s),this._options=t,this._tokenCounter=0}parseName(){const n=this.expectToken(w.NAME);return this.node(n,{kind:A.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:A.DOCUMENT,definitions:this.many(w.SOF,this.parseDefinition,w.EOF)})}parseDefinition(){if(this.peek(w.BRACE_L))return this.parseOperationDefinition();const n=this.peekDescription(),t=n?this._lexer.lookahead():this._lexer.token;if(t.kind===w.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(n)throw We(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const n=this._lexer.token;if(this.peek(w.BRACE_L))return this.node(n,{kind:A.OPERATION_DEFINITION,operation:Rn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let s;return this.peek(w.NAME)&&(s=this.parseName()),this.node(n,{kind:A.OPERATION_DEFINITION,operation:t,name:s,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const n=this.expectToken(w.NAME);switch(n.value){case"query":return Rn.QUERY;case"mutation":return Rn.MUTATION;case"subscription":return Rn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(w.PAREN_L,this.parseVariableDefinition,w.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:A.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(w.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(w.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const n=this._lexer.token;return this.expectToken(w.DOLLAR),this.node(n,{kind:A.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:A.SELECTION_SET,selections:this.many(w.BRACE_L,this.parseSelection,w.BRACE_R)})}parseSelection(){return this.peek(w.SPREAD)?this.parseFragment():this.parseField()}parseField(){const n=this._lexer.token,t=this.parseName();let s,a;return this.expectOptionalToken(w.COLON)?(s=t,a=this.parseName()):a=t,this.node(n,{kind:A.FIELD,alias:s,name:a,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(w.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){const t=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(w.PAREN_L,t,w.PAREN_R)}parseArgument(n=!1){const t=this._lexer.token,s=this.parseName();return this.expectToken(w.COLON),this.node(t,{kind:A.ARGUMENT,name:s,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const n=this._lexer.token;this.expectToken(w.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(w.NAME)?this.node(n,{kind:A.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:A.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const n=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:A.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:A.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){const t=this._lexer.token;switch(t.kind){case w.BRACKET_L:return this.parseList(n);case w.BRACE_L:return this.parseObject(n);case w.INT:return this.advanceLexer(),this.node(t,{kind:A.INT,value:t.value});case w.FLOAT:return this.advanceLexer(),this.node(t,{kind:A.FLOAT,value:t.value});case w.STRING:case w.BLOCK_STRING:return this.parseStringLiteral();case w.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:A.BOOLEAN,value:!0});case"false":return this.node(t,{kind:A.BOOLEAN,value:!1});case"null":return this.node(t,{kind:A.NULL});default:return this.node(t,{kind:A.ENUM,value:t.value})}case w.DOLLAR:if(n)if(this.expectToken(w.DOLLAR),this._lexer.token.kind===w.NAME){const s=this._lexer.token.value;throw We(this._lexer.source,t.start,`Unexpected variable "$${s}" in constant value.`)}else throw this.unexpected(t);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:A.STRING,value:n.value,block:n.kind===w.BLOCK_STRING})}parseList(n){const t=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:A.LIST,values:this.any(w.BRACKET_L,t,w.BRACKET_R)})}parseObject(n){const t=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:A.OBJECT,fields:this.any(w.BRACE_L,t,w.BRACE_R)})}parseObjectField(n){const t=this._lexer.token,s=this.parseName();return this.expectToken(w.COLON),this.node(t,{kind:A.OBJECT_FIELD,name:s,value:this.parseValueLiteral(n)})}parseDirectives(n){const t=[];for(;this.peek(w.AT);)t.push(this.parseDirective(n));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){const t=this._lexer.token;return this.expectToken(w.AT),this.node(t,{kind:A.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){const n=this._lexer.token;let t;if(this.expectOptionalToken(w.BRACKET_L)){const s=this.parseTypeReference();this.expectToken(w.BRACKET_R),t=this.node(n,{kind:A.LIST_TYPE,type:s})}else t=this.parseNamedType();return this.expectOptionalToken(w.BANG)?this.node(n,{kind:A.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:A.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(w.STRING)||this.peek(w.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const s=this.parseConstDirectives(),a=this.many(w.BRACE_L,this.parseOperationTypeDefinition,w.BRACE_R);return this.node(n,{kind:A.SCHEMA_DEFINITION,description:t,directives:s,operationTypes:a})}parseOperationTypeDefinition(){const n=this._lexer.token,t=this.parseOperationType();this.expectToken(w.COLON);const s=this.parseNamedType();return this.node(n,{kind:A.OPERATION_TYPE_DEFINITION,operation:t,type:s})}parseScalarTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const s=this.parseName(),a=this.parseConstDirectives();return this.node(n,{kind:A.SCALAR_TYPE_DEFINITION,description:t,name:s,directives:a})}parseObjectTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const s=this.parseName(),a=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),c=this.parseFieldsDefinition();return this.node(n,{kind:A.OBJECT_TYPE_DEFINITION,description:t,name:s,interfaces:a,directives:u,fields:c})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(w.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(w.BRACE_L,this.parseFieldDefinition,w.BRACE_R)}parseFieldDefinition(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseName(),a=this.parseArgumentDefs();this.expectToken(w.COLON);const u=this.parseTypeReference(),c=this.parseConstDirectives();return this.node(n,{kind:A.FIELD_DEFINITION,description:t,name:s,arguments:a,type:u,directives:c})}parseArgumentDefs(){return this.optionalMany(w.PAREN_L,this.parseInputValueDef,w.PAREN_R)}parseInputValueDef(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseName();this.expectToken(w.COLON);const a=this.parseTypeReference();let u;this.expectOptionalToken(w.EQUALS)&&(u=this.parseConstValueLiteral());const c=this.parseConstDirectives();return this.node(n,{kind:A.INPUT_VALUE_DEFINITION,description:t,name:s,type:a,defaultValue:u,directives:c})}parseInterfaceTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const s=this.parseName(),a=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),c=this.parseFieldsDefinition();return this.node(n,{kind:A.INTERFACE_TYPE_DEFINITION,description:t,name:s,interfaces:a,directives:u,fields:c})}parseUnionTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const s=this.parseName(),a=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(n,{kind:A.UNION_TYPE_DEFINITION,description:t,name:s,directives:a,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(w.EQUALS)?this.delimitedMany(w.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const s=this.parseName(),a=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(n,{kind:A.ENUM_TYPE_DEFINITION,description:t,name:s,directives:a,values:u})}parseEnumValuesDefinition(){return this.optionalMany(w.BRACE_L,this.parseEnumValueDefinition,w.BRACE_R)}parseEnumValueDefinition(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseEnumValueName(),a=this.parseConstDirectives();return this.node(n,{kind:A.ENUM_VALUE_DEFINITION,description:t,name:s,directives:a})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw We(this._lexer.source,this._lexer.token.start,`${ps(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const s=this.parseName(),a=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(n,{kind:A.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:s,directives:a,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(w.BRACE_L,this.parseInputValueDef,w.BRACE_R)}parseTypeSystemExtension(){const n=this._lexer.lookahead();if(n.kind===w.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)}parseSchemaExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),s=this.optionalMany(w.BRACE_L,this.parseOperationTypeDefinition,w.BRACE_R);if(t.length===0&&s.length===0)throw this.unexpected();return this.node(n,{kind:A.SCHEMA_EXTENSION,directives:t,operationTypes:s})}parseScalarTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),s=this.parseConstDirectives();if(s.length===0)throw this.unexpected();return this.node(n,{kind:A.SCALAR_TYPE_EXTENSION,name:t,directives:s})}parseObjectTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),s=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(s.length===0&&a.length===0&&u.length===0)throw this.unexpected();return this.node(n,{kind:A.OBJECT_TYPE_EXTENSION,name:t,interfaces:s,directives:a,fields:u})}parseInterfaceTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),s=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(s.length===0&&a.length===0&&u.length===0)throw this.unexpected();return this.node(n,{kind:A.INTERFACE_TYPE_EXTENSION,name:t,interfaces:s,directives:a,fields:u})}parseUnionTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),s=this.parseConstDirectives(),a=this.parseUnionMemberTypes();if(s.length===0&&a.length===0)throw this.unexpected();return this.node(n,{kind:A.UNION_TYPE_EXTENSION,name:t,directives:s,types:a})}parseEnumTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),s=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();if(s.length===0&&a.length===0)throw this.unexpected();return this.node(n,{kind:A.ENUM_TYPE_EXTENSION,name:t,directives:s,values:a})}parseInputObjectTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),s=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();if(s.length===0&&a.length===0)throw this.unexpected();return this.node(n,{kind:A.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:s,fields:a})}parseDirectiveDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(w.AT);const s=this.parseName(),a=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const c=this.parseDirectiveLocations();return this.node(n,{kind:A.DIRECTIVE_DEFINITION,description:t,name:s,arguments:a,repeatable:u,locations:c})}parseDirectiveLocations(){return this.delimitedMany(w.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const n=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(j,t.value))return t;throw this.unexpected(n)}node(n,t){return this._options.noLocation!==!0&&(t.loc=new fD(n,this._lexer.lastToken,this._lexer.source)),t}peek(n){return this._lexer.token.kind===n}expectToken(n){const t=this._lexer.token;if(t.kind===n)return this.advanceLexer(),t;throw We(this._lexer.source,t.start,`Expected ${Of(n)}, found ${ps(t)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){const t=this._lexer.token;if(t.kind===w.NAME&&t.value===n)this.advanceLexer();else throw We(this._lexer.source,t.start,`Expected "${n}", found ${ps(t)}.`)}expectOptionalKeyword(n){const t=this._lexer.token;return t.kind===w.NAME&&t.value===n?(this.advanceLexer(),!0):!1}unexpected(n){const t=n??this._lexer.token;return We(this._lexer.source,t.start,`Unexpected ${ps(t)}.`)}any(n,t,s){this.expectToken(n);const a=[];for(;!this.expectOptionalToken(s);)a.push(t.call(this));return a}optionalMany(n,t,s){if(this.expectOptionalToken(n)){const a=[];do a.push(t.call(this));while(!this.expectOptionalToken(s));return a}return[]}many(n,t,s){this.expectToken(n);const a=[];do a.push(t.call(this));while(!this.expectOptionalToken(s));return a}delimitedMany(n,t){this.expectOptionalToken(n);const s=[];do s.push(t.call(this));while(this.expectOptionalToken(n));return s}advanceLexer(){const{maxTokens:n}=this._options,t=this._lexer.advance();if(n!==void 0&&t.kind!==w.EOF&&(++this._tokenCounter,this._tokenCounter>n))throw We(this._lexer.source,t.start,`Document contains more that ${n} tokens. Parsing aborted.`)}}function ps(r){const n=r.value;return Of(r.kind)+(n!=null?` "${n}"`:"")}function Of(r){return bD(r)?`"${r}"`:r}const UD=5;function Os(r,n){const[t,s]=n?[r,n]:[void 0,r];let a=" Did you mean ";t&&(a+=t+" ");const u=s.map(d=>`"${d}"`);switch(u.length){case 0:return"";case 1:return a+u[0]+"?";case 2:return a+u[0]+" or "+u[1]+"?"}const c=u.slice(0,UD),f=c.pop();return a+c.join(", ")+", or "+f+"?"}function Wl(r){return r}function Cr(r,n){const t=Object.create(null);for(const s of r)t[n(s)]=s;return t}function sr(r,n,t){const s=Object.create(null);for(const a of r)s[n(a)]=t(a);return s}function St(r,n){const t=Object.create(null);for(const s of Object.keys(r))t[s]=n(r[s],s);return t}function BD(r,n){let t=0,s=0;for(;t0);let f=0;do++s,f=f*10+u-vo,u=n.charCodeAt(s);while(ds(u)&&f>0);if(cf)return 1}else{if(au)return 1;++t,++s}}return r.length-n.length}const vo=48,PD=57;function ds(r){return!isNaN(r)&&vo<=r&&r<=PD}function Ls(r,n){const t=Object.create(null),s=new $D(r),a=Math.floor(r.length*.4)+1;for(const u of n){const c=s.measure(u,a);c!==void 0&&(t[u]=c)}return Object.keys(t).sort((u,c)=>{const f=t[u]-t[c];return f!==0?f:BD(u,c)})}class $D{constructor(n){this._input=n,this._inputLowerCase=n.toLowerCase(),this._inputArray=Yl(this._inputLowerCase),this._rows=[new Array(n.length+1).fill(0),new Array(n.length+1).fill(0),new Array(n.length+1).fill(0)]}measure(n,t){if(this._input===n)return 0;const s=n.toLowerCase();if(this._inputLowerCase===s)return 1;let a=Yl(s),u=this._inputArray;if(a.lengtht)return;const d=this._rows;for(let m=0;m<=f;m++)d[0][m]=m;for(let m=1;m<=c;m++){const v=d[(m-1)%3],N=d[m%3];let x=N[0]=m;for(let L=1;L<=f;L++){const R=a[m-1]===u[L-1]?0:1;let J=Math.min(v[L]+1,N[L-1]+1,v[L-1]+R);if(m>1&&L>1&&a[m-1]===u[L-2]&&a[m-2]===u[L-1]){const pe=d[(m-2)%3][L-2];J=Math.min(J,pe+1)}Jt)return}const b=d[c%3][f];return b<=t?b:void 0}}function Yl(r){const n=r.length,t=new Array(n);for(let s=0;sr.value},Variable:{leave:r=>"$"+r.name},Document:{leave:r=>G(r.definitions,` +spurious results.`)}}return!1};class xf{constructor(n,t="GraphQL request",s={line:1,column:1}){typeof n=="string"||le(!1,`Body must be a string. Received: ${z(n)}.`),this.body=n,this.name=t,this.locationOffset=s,this.locationOffset.line>0||le(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||le(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function OD(r){return pt(r,xf)}function LD(r,n){return new kf(r,n).parseDocument()}function RD(r,n){const t=new kf(r,n);t.expectToken(C.SOF);const s=t.parseValueLiteral(!1);return t.expectToken(C.EOF),s}class kf{constructor(n,t={}){const s=OD(n)?n:new xf(n);this._lexer=new gD(s),this._options=t,this._tokenCounter=0}parseName(){const n=this.expectToken(C.NAME);return this.node(n,{kind:A.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:A.DOCUMENT,definitions:this.many(C.SOF,this.parseDefinition,C.EOF)})}parseDefinition(){if(this.peek(C.BRACE_L))return this.parseOperationDefinition();const n=this.peekDescription(),t=n?this._lexer.lookahead():this._lexer.token;if(t.kind===C.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(n)throw je(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const n=this._lexer.token;if(this.peek(C.BRACE_L))return this.node(n,{kind:A.OPERATION_DEFINITION,operation:Rn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let s;return this.peek(C.NAME)&&(s=this.parseName()),this.node(n,{kind:A.OPERATION_DEFINITION,operation:t,name:s,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const n=this.expectToken(C.NAME);switch(n.value){case"query":return Rn.QUERY;case"mutation":return Rn.MUTATION;case"subscription":return Rn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(C.PAREN_L,this.parseVariableDefinition,C.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:A.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(C.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(C.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const n=this._lexer.token;return this.expectToken(C.DOLLAR),this.node(n,{kind:A.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:A.SELECTION_SET,selections:this.many(C.BRACE_L,this.parseSelection,C.BRACE_R)})}parseSelection(){return this.peek(C.SPREAD)?this.parseFragment():this.parseField()}parseField(){const n=this._lexer.token,t=this.parseName();let s,a;return this.expectOptionalToken(C.COLON)?(s=t,a=this.parseName()):a=t,this.node(n,{kind:A.FIELD,alias:s,name:a,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(C.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){const t=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(C.PAREN_L,t,C.PAREN_R)}parseArgument(n=!1){const t=this._lexer.token,s=this.parseName();return this.expectToken(C.COLON),this.node(t,{kind:A.ARGUMENT,name:s,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const n=this._lexer.token;this.expectToken(C.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(C.NAME)?this.node(n,{kind:A.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:A.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const n=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:A.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:A.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){const t=this._lexer.token;switch(t.kind){case C.BRACKET_L:return this.parseList(n);case C.BRACE_L:return this.parseObject(n);case C.INT:return this.advanceLexer(),this.node(t,{kind:A.INT,value:t.value});case C.FLOAT:return this.advanceLexer(),this.node(t,{kind:A.FLOAT,value:t.value});case C.STRING:case C.BLOCK_STRING:return this.parseStringLiteral();case C.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:A.BOOLEAN,value:!0});case"false":return this.node(t,{kind:A.BOOLEAN,value:!1});case"null":return this.node(t,{kind:A.NULL});default:return this.node(t,{kind:A.ENUM,value:t.value})}case C.DOLLAR:if(n)if(this.expectToken(C.DOLLAR),this._lexer.token.kind===C.NAME){const s=this._lexer.token.value;throw je(this._lexer.source,t.start,`Unexpected variable "$${s}" in constant value.`)}else throw this.unexpected(t);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:A.STRING,value:n.value,block:n.kind===C.BLOCK_STRING})}parseList(n){const t=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:A.LIST,values:this.any(C.BRACKET_L,t,C.BRACKET_R)})}parseObject(n){const t=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:A.OBJECT,fields:this.any(C.BRACE_L,t,C.BRACE_R)})}parseObjectField(n){const t=this._lexer.token,s=this.parseName();return this.expectToken(C.COLON),this.node(t,{kind:A.OBJECT_FIELD,name:s,value:this.parseValueLiteral(n)})}parseDirectives(n){const t=[];for(;this.peek(C.AT);)t.push(this.parseDirective(n));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){const t=this._lexer.token;return this.expectToken(C.AT),this.node(t,{kind:A.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){const n=this._lexer.token;let t;if(this.expectOptionalToken(C.BRACKET_L)){const s=this.parseTypeReference();this.expectToken(C.BRACKET_R),t=this.node(n,{kind:A.LIST_TYPE,type:s})}else t=this.parseNamedType();return this.expectOptionalToken(C.BANG)?this.node(n,{kind:A.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:A.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(C.STRING)||this.peek(C.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const s=this.parseConstDirectives(),a=this.many(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);return this.node(n,{kind:A.SCHEMA_DEFINITION,description:t,directives:s,operationTypes:a})}parseOperationTypeDefinition(){const n=this._lexer.token,t=this.parseOperationType();this.expectToken(C.COLON);const s=this.parseNamedType();return this.node(n,{kind:A.OPERATION_TYPE_DEFINITION,operation:t,type:s})}parseScalarTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const s=this.parseName(),a=this.parseConstDirectives();return this.node(n,{kind:A.SCALAR_TYPE_DEFINITION,description:t,name:s,directives:a})}parseObjectTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const s=this.parseName(),a=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),c=this.parseFieldsDefinition();return this.node(n,{kind:A.OBJECT_TYPE_DEFINITION,description:t,name:s,interfaces:a,directives:u,fields:c})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(C.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseFieldDefinition,C.BRACE_R)}parseFieldDefinition(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseName(),a=this.parseArgumentDefs();this.expectToken(C.COLON);const u=this.parseTypeReference(),c=this.parseConstDirectives();return this.node(n,{kind:A.FIELD_DEFINITION,description:t,name:s,arguments:a,type:u,directives:c})}parseArgumentDefs(){return this.optionalMany(C.PAREN_L,this.parseInputValueDef,C.PAREN_R)}parseInputValueDef(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseName();this.expectToken(C.COLON);const a=this.parseTypeReference();let u;this.expectOptionalToken(C.EQUALS)&&(u=this.parseConstValueLiteral());const c=this.parseConstDirectives();return this.node(n,{kind:A.INPUT_VALUE_DEFINITION,description:t,name:s,type:a,defaultValue:u,directives:c})}parseInterfaceTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const s=this.parseName(),a=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),c=this.parseFieldsDefinition();return this.node(n,{kind:A.INTERFACE_TYPE_DEFINITION,description:t,name:s,interfaces:a,directives:u,fields:c})}parseUnionTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const s=this.parseName(),a=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(n,{kind:A.UNION_TYPE_DEFINITION,description:t,name:s,directives:a,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(C.EQUALS)?this.delimitedMany(C.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const s=this.parseName(),a=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(n,{kind:A.ENUM_TYPE_DEFINITION,description:t,name:s,directives:a,values:u})}parseEnumValuesDefinition(){return this.optionalMany(C.BRACE_L,this.parseEnumValueDefinition,C.BRACE_R)}parseEnumValueDefinition(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseEnumValueName(),a=this.parseConstDirectives();return this.node(n,{kind:A.ENUM_VALUE_DEFINITION,description:t,name:s,directives:a})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw je(this._lexer.source,this._lexer.token.start,`${ps(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const s=this.parseName(),a=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(n,{kind:A.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:s,directives:a,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseInputValueDef,C.BRACE_R)}parseTypeSystemExtension(){const n=this._lexer.lookahead();if(n.kind===C.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)}parseSchemaExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),s=this.optionalMany(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);if(t.length===0&&s.length===0)throw this.unexpected();return this.node(n,{kind:A.SCHEMA_EXTENSION,directives:t,operationTypes:s})}parseScalarTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),s=this.parseConstDirectives();if(s.length===0)throw this.unexpected();return this.node(n,{kind:A.SCALAR_TYPE_EXTENSION,name:t,directives:s})}parseObjectTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),s=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(s.length===0&&a.length===0&&u.length===0)throw this.unexpected();return this.node(n,{kind:A.OBJECT_TYPE_EXTENSION,name:t,interfaces:s,directives:a,fields:u})}parseInterfaceTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),s=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(s.length===0&&a.length===0&&u.length===0)throw this.unexpected();return this.node(n,{kind:A.INTERFACE_TYPE_EXTENSION,name:t,interfaces:s,directives:a,fields:u})}parseUnionTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),s=this.parseConstDirectives(),a=this.parseUnionMemberTypes();if(s.length===0&&a.length===0)throw this.unexpected();return this.node(n,{kind:A.UNION_TYPE_EXTENSION,name:t,directives:s,types:a})}parseEnumTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),s=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();if(s.length===0&&a.length===0)throw this.unexpected();return this.node(n,{kind:A.ENUM_TYPE_EXTENSION,name:t,directives:s,values:a})}parseInputObjectTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),s=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();if(s.length===0&&a.length===0)throw this.unexpected();return this.node(n,{kind:A.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:s,fields:a})}parseDirectiveDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(C.AT);const s=this.parseName(),a=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const c=this.parseDirectiveLocations();return this.node(n,{kind:A.DIRECTIVE_DEFINITION,description:t,name:s,arguments:a,repeatable:u,locations:c})}parseDirectiveLocations(){return this.delimitedMany(C.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const n=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(Y,t.value))return t;throw this.unexpected(n)}node(n,t){return this._options.noLocation!==!0&&(t.loc=new fD(n,this._lexer.lastToken,this._lexer.source)),t}peek(n){return this._lexer.token.kind===n}expectToken(n){const t=this._lexer.token;if(t.kind===n)return this.advanceLexer(),t;throw je(this._lexer.source,t.start,`Expected ${Of(n)}, found ${ps(t)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){const t=this._lexer.token;if(t.kind===C.NAME&&t.value===n)this.advanceLexer();else throw je(this._lexer.source,t.start,`Expected "${n}", found ${ps(t)}.`)}expectOptionalKeyword(n){const t=this._lexer.token;return t.kind===C.NAME&&t.value===n?(this.advanceLexer(),!0):!1}unexpected(n){const t=n??this._lexer.token;return je(this._lexer.source,t.start,`Unexpected ${ps(t)}.`)}any(n,t,s){this.expectToken(n);const a=[];for(;!this.expectOptionalToken(s);)a.push(t.call(this));return a}optionalMany(n,t,s){if(this.expectOptionalToken(n)){const a=[];do a.push(t.call(this));while(!this.expectOptionalToken(s));return a}return[]}many(n,t,s){this.expectToken(n);const a=[];do a.push(t.call(this));while(!this.expectOptionalToken(s));return a}delimitedMany(n,t){this.expectOptionalToken(n);const s=[];do s.push(t.call(this));while(this.expectOptionalToken(n));return s}advanceLexer(){const{maxTokens:n}=this._options,t=this._lexer.advance();if(n!==void 0&&t.kind!==C.EOF&&(++this._tokenCounter,this._tokenCounter>n))throw je(this._lexer.source,t.start,`Document contains more that ${n} tokens. Parsing aborted.`)}}function ps(r){const n=r.value;return Of(r.kind)+(n!=null?` "${n}"`:"")}function Of(r){return bD(r)?`"${r}"`:r}const UD=5;function Os(r,n){const[t,s]=n?[r,n]:[void 0,r];let a=" Did you mean ";t&&(a+=t+" ");const u=s.map(d=>`"${d}"`);switch(u.length){case 0:return"";case 1:return a+u[0]+"?";case 2:return a+u[0]+" or "+u[1]+"?"}const c=u.slice(0,UD),f=c.pop();return a+c.join(", ")+", or "+f+"?"}function jl(r){return r}function Cr(r,n){const t=Object.create(null);for(const s of r)t[n(s)]=s;return t}function sr(r,n,t){const s=Object.create(null);for(const a of r)s[n(a)]=t(a);return s}function St(r,n){const t=Object.create(null);for(const s of Object.keys(r))t[s]=n(r[s],s);return t}function BD(r,n){let t=0,s=0;for(;t0);let f=0;do++s,f=f*10+u-vo,u=n.charCodeAt(s);while(ds(u)&&f>0);if(cf)return 1}else{if(au)return 1;++t,++s}}return r.length-n.length}const vo=48,PD=57;function ds(r){return!isNaN(r)&&vo<=r&&r<=PD}function Ls(r,n){const t=Object.create(null),s=new $D(r),a=Math.floor(r.length*.4)+1;for(const u of n){const c=s.measure(u,a);c!==void 0&&(t[u]=c)}return Object.keys(t).sort((u,c)=>{const f=t[u]-t[c];return f!==0?f:BD(u,c)})}class $D{constructor(n){this._input=n,this._inputLowerCase=n.toLowerCase(),this._inputArray=Wl(this._inputLowerCase),this._rows=[new Array(n.length+1).fill(0),new Array(n.length+1).fill(0),new Array(n.length+1).fill(0)]}measure(n,t){if(this._input===n)return 0;const s=n.toLowerCase();if(this._inputLowerCase===s)return 1;let a=Wl(s),u=this._inputArray;if(a.lengtht)return;const d=this._rows;for(let m=0;m<=f;m++)d[0][m]=m;for(let m=1;m<=c;m++){const v=d[(m-1)%3],w=d[m%3];let x=w[0]=m;for(let L=1;L<=f;L++){const R=a[m-1]===u[L-1]?0:1;let J=Math.min(v[L]+1,w[L-1]+1,v[L-1]+R);if(m>1&&L>1&&a[m-1]===u[L-2]&&a[m-2]===u[L-1]){const pe=d[(m-2)%3][L-2];J=Math.min(J,pe+1)}Jt)return}const b=d[c%3][f];return b<=t?b:void 0}}function Wl(r){const n=r.length,t=new Array(n);for(let s=0;sr.value},Variable:{leave:r=>"$"+r.name},Document:{leave:r=>G(r.definitions,` -`)},OperationDefinition:{leave(r){const n=ue("(",G(r.variableDefinitions,", "),")"),t=G([r.operation,G([r.name,n]),G(r.directives," ")]," ");return(t==="query"?"":t+" ")+r.selectionSet}},VariableDefinition:{leave:({variable:r,type:n,defaultValue:t,directives:s})=>r+": "+n+ue(" = ",t)+ue(" ",G(s," "))},SelectionSet:{leave:({selections:r})=>jn(r)},Field:{leave({alias:r,name:n,arguments:t,directives:s,selectionSet:a}){const u=ue("",r,": ")+n;let c=u+ue("(",G(t,", "),")");return c.length>jD&&(c=u+ue(`( +`)},OperationDefinition:{leave(r){const n=ue("(",G(r.variableDefinitions,", "),")"),t=G([r.operation,G([r.name,n]),G(r.directives," ")]," ");return(t==="query"?"":t+" ")+r.selectionSet}},VariableDefinition:{leave:({variable:r,type:n,defaultValue:t,directives:s})=>r+": "+n+ue(" = ",t)+ue(" ",G(s," "))},SelectionSet:{leave:({selections:r})=>Yn(r)},Field:{leave({alias:r,name:n,arguments:t,directives:s,selectionSet:a}){const u=ue("",r,": ")+n;let c=u+ue("(",G(t,", "),")");return c.length>YD&&(c=u+ue(`( `,gs(G(t,` `)),` )`)),G([c,G(s," "),a]," ")}},Argument:{leave:({name:r,value:n})=>r+": "+n},FragmentSpread:{leave:({name:r,directives:n})=>"..."+r+ue(" ",G(n," "))},InlineFragment:{leave:({typeCondition:r,directives:n,selectionSet:t})=>G(["...",ue("on ",r),G(n," "),t]," ")},FragmentDefinition:{leave:({name:r,typeCondition:n,variableDefinitions:t,directives:s,selectionSet:a})=>`fragment ${r}${ue("(",G(t,", "),")")} on ${n} ${ue("",G(s," ")," ")}`+a},IntValue:{leave:({value:r})=>r},FloatValue:{leave:({value:r})=>r},StringValue:{leave:({value:r,block:n})=>n?_D(r):MD(r)},BooleanValue:{leave:({value:r})=>r?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:r})=>r},ListValue:{leave:({values:r})=>"["+G(r,", ")+"]"},ObjectValue:{leave:({fields:r})=>"{"+G(r,", ")+"}"},ObjectField:{leave:({name:r,value:n})=>r+": "+n},Directive:{leave:({name:r,arguments:n})=>"@"+r+ue("(",G(n,", "),")")},NamedType:{leave:({name:r})=>r},ListType:{leave:({type:r})=>"["+r+"]"},NonNullType:{leave:({type:r})=>r+"!"},SchemaDefinition:{leave:({description:r,directives:n,operationTypes:t})=>ue("",r,` -`)+G(["schema",G(n," "),jn(t)]," ")},OperationTypeDefinition:{leave:({operation:r,type:n})=>r+": "+n},ScalarTypeDefinition:{leave:({description:r,name:n,directives:t})=>ue("",r,` +`)+G(["schema",G(n," "),Yn(t)]," ")},OperationTypeDefinition:{leave:({operation:r,type:n})=>r+": "+n},ScalarTypeDefinition:{leave:({description:r,name:n,directives:t})=>ue("",r,` `)+G(["scalar",n,G(t," ")]," ")},ObjectTypeDefinition:{leave:({description:r,name:n,interfaces:t,directives:s,fields:a})=>ue("",r,` -`)+G(["type",n,ue("implements ",G(t," & ")),G(s," "),jn(a)]," ")},FieldDefinition:{leave:({description:r,name:n,arguments:t,type:s,directives:a})=>ue("",r,` +`)+G(["type",n,ue("implements ",G(t," & ")),G(s," "),Yn(a)]," ")},FieldDefinition:{leave:({description:r,name:n,arguments:t,type:s,directives:a})=>ue("",r,` `)+n+(Ql(t)?ue(`( `,gs(G(t,` `)),` )`):ue("(",G(t,", "),")"))+": "+s+ue(" ",G(a," "))},InputValueDefinition:{leave:({description:r,name:n,type:t,defaultValue:s,directives:a})=>ue("",r,` `)+G([n+": "+t,ue("= ",s),G(a," ")]," ")},InterfaceTypeDefinition:{leave:({description:r,name:n,interfaces:t,directives:s,fields:a})=>ue("",r,` -`)+G(["interface",n,ue("implements ",G(t," & ")),G(s," "),jn(a)]," ")},UnionTypeDefinition:{leave:({description:r,name:n,directives:t,types:s})=>ue("",r,` +`)+G(["interface",n,ue("implements ",G(t," & ")),G(s," "),Yn(a)]," ")},UnionTypeDefinition:{leave:({description:r,name:n,directives:t,types:s})=>ue("",r,` `)+G(["union",n,G(t," "),ue("= ",G(s," | "))]," ")},EnumTypeDefinition:{leave:({description:r,name:n,directives:t,values:s})=>ue("",r,` -`)+G(["enum",n,G(t," "),jn(s)]," ")},EnumValueDefinition:{leave:({description:r,name:n,directives:t})=>ue("",r,` +`)+G(["enum",n,G(t," "),Yn(s)]," ")},EnumValueDefinition:{leave:({description:r,name:n,directives:t})=>ue("",r,` `)+G([n,G(t," ")]," ")},InputObjectTypeDefinition:{leave:({description:r,name:n,directives:t,fields:s})=>ue("",r,` -`)+G(["input",n,G(t," "),jn(s)]," ")},DirectiveDefinition:{leave:({description:r,name:n,arguments:t,repeatable:s,locations:a})=>ue("",r,` +`)+G(["input",n,G(t," "),Yn(s)]," ")},DirectiveDefinition:{leave:({description:r,name:n,arguments:t,repeatable:s,locations:a})=>ue("",r,` `)+"directive @"+n+(Ql(t)?ue(`( `,gs(G(t,` `)),` -)`):ue("(",G(t,", "),")"))+(s?" repeatable":"")+" on "+G(a," | ")},SchemaExtension:{leave:({directives:r,operationTypes:n})=>G(["extend schema",G(r," "),jn(n)]," ")},ScalarTypeExtension:{leave:({name:r,directives:n})=>G(["extend scalar",r,G(n," ")]," ")},ObjectTypeExtension:{leave:({name:r,interfaces:n,directives:t,fields:s})=>G(["extend type",r,ue("implements ",G(n," & ")),G(t," "),jn(s)]," ")},InterfaceTypeExtension:{leave:({name:r,interfaces:n,directives:t,fields:s})=>G(["extend interface",r,ue("implements ",G(n," & ")),G(t," "),jn(s)]," ")},UnionTypeExtension:{leave:({name:r,directives:n,types:t})=>G(["extend union",r,G(n," "),ue("= ",G(t," | "))]," ")},EnumTypeExtension:{leave:({name:r,directives:n,values:t})=>G(["extend enum",r,G(n," "),jn(t)]," ")},InputObjectTypeExtension:{leave:({name:r,directives:n,fields:t})=>G(["extend input",r,G(n," "),jn(t)]," ")}};function G(r,n=""){var t;return(t=r==null?void 0:r.filter(s=>s).join(n))!==null&&t!==void 0?t:""}function jn(r){return ue(`{ +)`):ue("(",G(t,", "),")"))+(s?" repeatable":"")+" on "+G(a," | ")},SchemaExtension:{leave:({directives:r,operationTypes:n})=>G(["extend schema",G(r," "),Yn(n)]," ")},ScalarTypeExtension:{leave:({name:r,directives:n})=>G(["extend scalar",r,G(n," ")]," ")},ObjectTypeExtension:{leave:({name:r,interfaces:n,directives:t,fields:s})=>G(["extend type",r,ue("implements ",G(n," & ")),G(t," "),Yn(s)]," ")},InterfaceTypeExtension:{leave:({name:r,interfaces:n,directives:t,fields:s})=>G(["extend interface",r,ue("implements ",G(n," & ")),G(t," "),Yn(s)]," ")},UnionTypeExtension:{leave:({name:r,directives:n,types:t})=>G(["extend union",r,G(n," "),ue("= ",G(t," | "))]," ")},EnumTypeExtension:{leave:({name:r,directives:n,values:t})=>G(["extend enum",r,G(n," "),Yn(t)]," ")},InputObjectTypeExtension:{leave:({name:r,directives:n,fields:t})=>G(["extend input",r,G(n," "),Yn(t)]," ")}};function G(r,n=""){var t;return(t=r==null?void 0:r.filter(s=>s).join(n))!==null&&t!==void 0?t:""}function Yn(r){return ue(`{ `,gs(G(r,` `)),` }`)}function ue(r,n,t=""){return n!=null&&n!==""?r+n+t:""}function gs(r){return ue(" ",r.replace(/\n/g,` `))}function Ql(r){var n;return(n=r==null?void 0:r.some(t=>t.includes(` -`)))!==null&&n!==void 0?n:!1}function Eo(r,n){switch(r.kind){case A.NULL:return null;case A.INT:return parseInt(r.value,10);case A.FLOAT:return parseFloat(r.value);case A.STRING:case A.ENUM:case A.BOOLEAN:return r.value;case A.LIST:return r.values.map(t=>Eo(t,n));case A.OBJECT:return sr(r.fields,t=>t.name.value,t=>Eo(t.value,n));case A.VARIABLE:return n==null?void 0:n[r.name.value]}}function rt(r){if(r!=null||le(!1,"Must provide name."),typeof r=="string"||le(!1,"Expected name to be a string."),r.length===0)throw new q("Expected name to be a non-empty string.");for(let n=1;nc(Eo(f,d)),this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(u=n.extensionASTNodes)!==null&&u!==void 0?u:[],n.specifiedByURL==null||typeof n.specifiedByURL=="string"||le(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${z(n.specifiedByURL)}.`),n.serialize==null||typeof n.serialize=="function"||le(!1,`${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.`),n.parseLiteral&&(typeof n.parseValue=="function"&&typeof n.parseLiteral=="function"||le(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){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:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class ft{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.isTypeOf=n.isTypeOf,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=()=>qf(n),this._interfaces=()=>Vf(n),n.isTypeOf==null||typeof n.isTypeOf=="function"||le(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${z(n.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:jf(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Vf(r){var n;const t=Mf((n=r.interfaces)!==null&&n!==void 0?n:[]);return Array.isArray(t)||le(!1,`${r.name} interfaces must be an Array or a function which returns an Array.`),t}function qf(r){const n=Gf(r.fields);return Nr(n)||le(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),St(n,(t,s)=>{var a;Nr(t)||le(!1,`${r.name}.${s} field config must be an object.`),t.resolve==null||typeof t.resolve=="function"||le(!1,`${r.name}.${s} field resolver must be a function if provided, but got: ${z(t.resolve)}.`);const u=(a=t.args)!==null&&a!==void 0?a:{};return Nr(u)||le(!1,`${r.name}.${s} args must be an object with argument names as keys.`),{name:rt(s),description:t.description,type:t.type,args:zf(u),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:Bn(t.extensions),astNode:t.astNode}})}function zf(r){return Object.entries(r).map(([n,t])=>({name:rt(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:Bn(t.extensions),astNode:t.astNode}))}function Nr(r){return Ct(r)&&!Array.isArray(r)}function jf(r){return St(r,n=>({description:n.description,type:n.type,args:Wf(n.args),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}))}function Wf(r){return sr(r,n=>n.name,n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}))}function KD(r){return on(r.type)&&r.defaultValue===void 0}class Es{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.resolveType=n.resolveType,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=qf.bind(void 0,n),this._interfaces=Vf.bind(void 0,n),n.resolveType==null||typeof n.resolveType=="function"||le(!1,`${this.name} must provide "resolveType" as a function, but got: ${z(n.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:jf(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class As{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.resolveType=n.resolveType,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._types=ev.bind(void 0,n),n.resolveType==null||typeof n.resolveType=="function"||le(!1,`${this.name} must provide "resolveType" as a function, but got: ${z(n.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ev(r){const n=Mf(r.types);return Array.isArray(n)||le(!1,`Must provide Array of types or a function which returns such an array for Union ${r.name}.`),n}class wr{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._values=nv(this.name,n.values),this._valueLookup=new Map(this._values.map(s=>[s.value,s])),this._nameLookup=Cr(this._values,s=>s.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(n){return this._nameLookup[n]}serialize(n){const t=this._valueLookup.get(n);if(t===void 0)throw new q(`Enum "${this.name}" cannot represent value: ${z(n)}`);return t.name}parseValue(n){if(typeof n!="string"){const s=z(n);throw new q(`Enum "${this.name}" cannot represent non-string value: ${s}.`+hs(this,s))}const t=this.getValue(n);if(t==null)throw new q(`Value "${n}" does not exist in "${this.name}" enum.`+hs(this,n));return t.value}parseLiteral(n,t){if(n.kind!==A.ENUM){const a=lt(n);throw new q(`Enum "${this.name}" cannot represent non-enum value: ${a}.`+hs(this,a),{nodes:n})}const s=this.getValue(n.value);if(s==null){const a=lt(n);throw new q(`Value "${a}" does not exist in "${this.name}" enum.`+hs(this,a),{nodes:n})}return s.value}toConfig(){const n=sr(this.getValues(),t=>t.name,t=>({description:t.description,value:t.value,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,values:n,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function hs(r,n){const t=r.getValues().map(a=>a.name),s=Ls(n,t);return Os("the enum value",s)}function nv(r,n){return Nr(n)||le(!1,`${r} values must be an object with value names as keys.`),Object.entries(n).map(([t,s])=>(Nr(s)||le(!1,`${r}.${t} must refer to an object with a "value" key representing an internal value but got: ${z(s)}.`),{name:YD(t),description:s.description,value:s.value!==void 0?s.value:t,deprecationReason:s.deprecationReason,extensions:Bn(s.extensions),astNode:s.astNode}))}class Ss{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=tv.bind(void 0,n)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const n=St(this.getFields(),t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,fields:n,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function tv(r){const n=Gf(r.fields);return Nr(n)||le(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),St(n,(t,s)=>(!("resolve"in t)||le(!1,`${r.name}.${s} field has a resolve property, but Input Types cannot define resolvers.`),{name:rt(s),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:Bn(t.extensions),astNode:t.astNode}))}const lo=2147483647,fo=-2147483648,rv=new wt({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(r){const n=hi(r);if(typeof n=="boolean")return n?1:0;let t=n;if(typeof n=="string"&&n!==""&&(t=Number(n)),typeof t!="number"||!Number.isInteger(t))throw new q(`Int cannot represent non-integer value: ${z(n)}`);if(t>lo||tlo||rlo||nr.name===n)}function hi(r){if(Ct(r)){if(typeof r.valueOf=="function"){const n=r.valueOf();if(!Ct(n))return n}if(typeof r.toJSON=="function")return r.toJSON()}return r}function av(r){return pt(r,Wt)}class Wt{constructor(n){var t,s;this.name=rt(n.name),this.description=n.description,this.locations=n.locations,this.isRepeatable=(t=n.isRepeatable)!==null&&t!==void 0?t:!1,this.extensions=Bn(n.extensions),this.astNode=n.astNode,Array.isArray(n.locations)||le(!1,`@${n.name} locations must be an Array.`);const a=(s=n.args)!==null&&s!==void 0?s:{};Ct(a)&&!Array.isArray(a)||le(!1,`@${n.name} args must be an object with argument names as keys.`),this.args=zf(a)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:Wf(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const ov=new Wt({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[j.FIELD,j.FRAGMENT_SPREAD,j.INLINE_FRAGMENT],args:{if:{type:new se(Un),description:"Included when true."}}}),uv=new Wt({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[j.FIELD,j.FRAGMENT_SPREAD,j.INLINE_FRAGMENT],args:{if:{type:new se(Un),description:"Skipped when true."}}}),cv="No longer supported",Qf=new Wt({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[j.FIELD_DEFINITION,j.ARGUMENT_DEFINITION,j.INPUT_FIELD_DEFINITION,j.ENUM_VALUE],args:{reason:{type:$e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:cv}}}),Jf=new Wt({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[j.SCALAR],args:{url:{type:new se($e),description:"The URL that specifies the behavior of this scalar."}}}),kr=Object.freeze([ov,uv,Qf,Jf]);function lv(r){return typeof r=="object"&&typeof(r==null?void 0:r[Symbol.iterator])=="function"}function ii(r,n){if(on(n)){const t=ii(r,n.ofType);return(t==null?void 0:t.kind)===A.NULL?null:t}if(r===null)return{kind:A.NULL};if(r===void 0)return null;if(lr(n)){const t=n.ofType;if(lv(r)){const s=[];for(const a of r){const u=ii(a,t);u!=null&&s.push(u)}return{kind:A.LIST,values:s}}return ii(r,t)}if(Zn(n)){if(!Ct(r))return null;const t=[];for(const s of Object.values(n.getFields())){const a=ii(r[s.name],s.type);a&&t.push({kind:A.OBJECT_FIELD,name:{kind:A.NAME,value:s.name},value:a})}return{kind:A.OBJECT,fields:t}}if(Pf(n)){const t=n.serialize(r);if(t==null)return null;if(typeof t=="boolean")return{kind:A.BOOLEAN,value:t};if(typeof t=="number"&&Number.isFinite(t)){const s=String(t);return Jl.test(s)?{kind:A.INT,value:s}:{kind:A.FLOAT,value:s}}if(typeof t=="string")return Xn(n)?{kind:A.ENUM,value:t}:n===Yf&&Jl.test(t)?{kind:A.INT,value:t}:{kind:A.STRING,value:t};throw new TypeError(`Cannot convert value to AST: ${z(t)}.`)}Jn(!1,"Unexpected input type: "+z(n))}const Jl=/^-?(?:0|[1-9][0-9]*)$/,Mo=new ft({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:()=>({description:{type:$e,resolve:r=>r.description},types:{description:"A list of all types supported by this server.",type:new se(new _n(new se(Qn))),resolve(r){return Object.values(r.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new se(Qn),resolve:r=>r.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Qn,resolve:r=>r.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Qn,resolve:r=>r.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new se(new _n(new se(Hf))),resolve:r=>r.getDirectives()}})}),Hf=new ft({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. +`)))!==null&&n!==void 0?n:!1}function Eo(r,n){switch(r.kind){case A.NULL:return null;case A.INT:return parseInt(r.value,10);case A.FLOAT:return parseFloat(r.value);case A.STRING:case A.ENUM:case A.BOOLEAN:return r.value;case A.LIST:return r.values.map(t=>Eo(t,n));case A.OBJECT:return sr(r.fields,t=>t.name.value,t=>Eo(t.value,n));case A.VARIABLE:return n==null?void 0:n[r.name.value]}}function rt(r){if(r!=null||le(!1,"Must provide name."),typeof r=="string"||le(!1,"Expected name to be a string."),r.length===0)throw new q("Expected name to be a non-empty string.");for(let n=1;nc(Eo(f,d)),this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(u=n.extensionASTNodes)!==null&&u!==void 0?u:[],n.specifiedByURL==null||typeof n.specifiedByURL=="string"||le(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${z(n.specifiedByURL)}.`),n.serialize==null||typeof n.serialize=="function"||le(!1,`${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.`),n.parseLiteral&&(typeof n.parseValue=="function"&&typeof n.parseLiteral=="function"||le(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){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:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class ft{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.isTypeOf=n.isTypeOf,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=()=>qf(n),this._interfaces=()=>Vf(n),n.isTypeOf==null||typeof n.isTypeOf=="function"||le(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${z(n.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Yf(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Vf(r){var n;const t=Mf((n=r.interfaces)!==null&&n!==void 0?n:[]);return Array.isArray(t)||le(!1,`${r.name} interfaces must be an Array or a function which returns an Array.`),t}function qf(r){const n=Gf(r.fields);return Nr(n)||le(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),St(n,(t,s)=>{var a;Nr(t)||le(!1,`${r.name}.${s} field config must be an object.`),t.resolve==null||typeof t.resolve=="function"||le(!1,`${r.name}.${s} field resolver must be a function if provided, but got: ${z(t.resolve)}.`);const u=(a=t.args)!==null&&a!==void 0?a:{};return Nr(u)||le(!1,`${r.name}.${s} args must be an object with argument names as keys.`),{name:rt(s),description:t.description,type:t.type,args:zf(u),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:Bn(t.extensions),astNode:t.astNode}})}function zf(r){return Object.entries(r).map(([n,t])=>({name:rt(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:Bn(t.extensions),astNode:t.astNode}))}function Nr(r){return Ct(r)&&!Array.isArray(r)}function Yf(r){return St(r,n=>({description:n.description,type:n.type,args:jf(n.args),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}))}function jf(r){return sr(r,n=>n.name,n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}))}function KD(r){return gn(r.type)&&r.defaultValue===void 0}class Es{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.resolveType=n.resolveType,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=qf.bind(void 0,n),this._interfaces=Vf.bind(void 0,n),n.resolveType==null||typeof n.resolveType=="function"||le(!1,`${this.name} must provide "resolveType" as a function, but got: ${z(n.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Yf(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class As{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.resolveType=n.resolveType,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._types=ev.bind(void 0,n),n.resolveType==null||typeof n.resolveType=="function"||le(!1,`${this.name} must provide "resolveType" as a function, but got: ${z(n.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ev(r){const n=Mf(r.types);return Array.isArray(n)||le(!1,`Must provide Array of types or a function which returns such an array for Union ${r.name}.`),n}class wr{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._values=nv(this.name,n.values),this._valueLookup=new Map(this._values.map(s=>[s.value,s])),this._nameLookup=Cr(this._values,s=>s.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(n){return this._nameLookup[n]}serialize(n){const t=this._valueLookup.get(n);if(t===void 0)throw new q(`Enum "${this.name}" cannot represent value: ${z(n)}`);return t.name}parseValue(n){if(typeof n!="string"){const s=z(n);throw new q(`Enum "${this.name}" cannot represent non-string value: ${s}.`+hs(this,s))}const t=this.getValue(n);if(t==null)throw new q(`Value "${n}" does not exist in "${this.name}" enum.`+hs(this,n));return t.value}parseLiteral(n,t){if(n.kind!==A.ENUM){const a=lt(n);throw new q(`Enum "${this.name}" cannot represent non-enum value: ${a}.`+hs(this,a),{nodes:n})}const s=this.getValue(n.value);if(s==null){const a=lt(n);throw new q(`Value "${a}" does not exist in "${this.name}" enum.`+hs(this,a),{nodes:n})}return s.value}toConfig(){const n=sr(this.getValues(),t=>t.name,t=>({description:t.description,value:t.value,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,values:n,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function hs(r,n){const t=r.getValues().map(a=>a.name),s=Ls(n,t);return Os("the enum value",s)}function nv(r,n){return Nr(n)||le(!1,`${r} values must be an object with value names as keys.`),Object.entries(n).map(([t,s])=>(Nr(s)||le(!1,`${r}.${t} must refer to an object with a "value" key representing an internal value but got: ${z(s)}.`),{name:WD(t),description:s.description,value:s.value!==void 0?s.value:t,deprecationReason:s.deprecationReason,extensions:Bn(s.extensions),astNode:s.astNode}))}class Ss{constructor(n){var t;this.name=rt(n.name),this.description=n.description,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=tv.bind(void 0,n)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const n=St(this.getFields(),t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,fields:n,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function tv(r){const n=Gf(r.fields);return Nr(n)||le(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),St(n,(t,s)=>(!("resolve"in t)||le(!1,`${r.name}.${s} field has a resolve property, but Input Types cannot define resolvers.`),{name:rt(s),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:Bn(t.extensions),astNode:t.astNode}))}const lo=2147483647,fo=-2147483648,rv=new wt({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(r){const n=hi(r);if(typeof n=="boolean")return n?1:0;let t=n;if(typeof n=="string"&&n!==""&&(t=Number(n)),typeof t!="number"||!Number.isInteger(t))throw new q(`Int cannot represent non-integer value: ${z(n)}`);if(t>lo||tlo||rlo||nr.name===n)}function hi(r){if(Ct(r)){if(typeof r.valueOf=="function"){const n=r.valueOf();if(!Ct(n))return n}if(typeof r.toJSON=="function")return r.toJSON()}return r}function av(r){return pt(r,jt)}class jt{constructor(n){var t,s;this.name=rt(n.name),this.description=n.description,this.locations=n.locations,this.isRepeatable=(t=n.isRepeatable)!==null&&t!==void 0?t:!1,this.extensions=Bn(n.extensions),this.astNode=n.astNode,Array.isArray(n.locations)||le(!1,`@${n.name} locations must be an Array.`);const a=(s=n.args)!==null&&s!==void 0?s:{};Ct(a)&&!Array.isArray(a)||le(!1,`@${n.name} args must be an object with argument names as keys.`),this.args=zf(a)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:jf(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const ov=new jt({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Y.FIELD,Y.FRAGMENT_SPREAD,Y.INLINE_FRAGMENT],args:{if:{type:new se(Un),description:"Included when true."}}}),uv=new jt({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Y.FIELD,Y.FRAGMENT_SPREAD,Y.INLINE_FRAGMENT],args:{if:{type:new se(Un),description:"Skipped when true."}}}),cv="No longer supported",Qf=new jt({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Y.FIELD_DEFINITION,Y.ARGUMENT_DEFINITION,Y.INPUT_FIELD_DEFINITION,Y.ENUM_VALUE],args:{reason:{type:$e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:cv}}}),Jf=new jt({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Y.SCALAR],args:{url:{type:new se($e),description:"The URL that specifies the behavior of this scalar."}}}),kr=Object.freeze([ov,uv,Qf,Jf]);function lv(r){return typeof r=="object"&&typeof(r==null?void 0:r[Symbol.iterator])=="function"}function ii(r,n){if(gn(n)){const t=ii(r,n.ofType);return(t==null?void 0:t.kind)===A.NULL?null:t}if(r===null)return{kind:A.NULL};if(r===void 0)return null;if(lr(n)){const t=n.ofType;if(lv(r)){const s=[];for(const a of r){const u=ii(a,t);u!=null&&s.push(u)}return{kind:A.LIST,values:s}}return ii(r,t)}if(Zn(n)){if(!Ct(r))return null;const t=[];for(const s of Object.values(n.getFields())){const a=ii(r[s.name],s.type);a&&t.push({kind:A.OBJECT_FIELD,name:{kind:A.NAME,value:s.name},value:a})}return{kind:A.OBJECT,fields:t}}if(Pf(n)){const t=n.serialize(r);if(t==null)return null;if(typeof t=="boolean")return{kind:A.BOOLEAN,value:t};if(typeof t=="number"&&Number.isFinite(t)){const s=String(t);return Jl.test(s)?{kind:A.INT,value:s}:{kind:A.FLOAT,value:s}}if(typeof t=="string")return Xn(n)?{kind:A.ENUM,value:t}:n===Wf&&Jl.test(t)?{kind:A.INT,value:t}:{kind:A.STRING,value:t};throw new TypeError(`Cannot convert value to AST: ${z(t)}.`)}Jn(!1,"Unexpected input type: "+z(n))}const Jl=/^-?(?:0|[1-9][0-9]*)$/,Mo=new ft({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:()=>({description:{type:$e,resolve:r=>r.description},types:{description:"A list of all types supported by this server.",type:new se(new hn(new se(Qn))),resolve(r){return Object.values(r.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new se(Qn),resolve:r=>r.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Qn,resolve:r=>r.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Qn,resolve:r=>r.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new se(new hn(new se(Hf))),resolve:r=>r.getDirectives()}})}),Hf=new ft({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. -In 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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},isRepeatable:{type:new se(Un),resolve:r=>r.isRepeatable},locations:{type:new se(new _n(new se(Xf))),resolve:r=>r.locations},args:{type:new se(new _n(new se(Us))),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){return n?r.args:r.args.filter(t=>t.deprecationReason==null)}}})}),Xf=new wr({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:j.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:j.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:j.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:j.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:j.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:j.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:j.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:j.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:j.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:j.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:j.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:j.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:j.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:j.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:j.UNION,description:"Location adjacent to a union definition."},ENUM:{value:j.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:j.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:j.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:j.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Qn=new ft({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:()=>({kind:{type:new se(ep),resolve(r){if(Yt(r))return ve.SCALAR;if(gn(r))return ve.OBJECT;if(un(r))return ve.INTERFACE;if(Hn(r))return ve.UNION;if(Xn(r))return ve.ENUM;if(Zn(r))return ve.INPUT_OBJECT;if(lr(r))return ve.LIST;if(on(r))return ve.NON_NULL;Jn(!1,`Unexpected type: "${z(r)}".`)}},name:{type:$e,resolve:r=>"name"in r?r.name:void 0},description:{type:$e,resolve:r=>"description"in r?r.description:void 0},specifiedByURL:{type:$e,resolve:r=>"specifiedByURL"in r?r.specifiedByURL:void 0},fields:{type:new _n(new se(Zf)),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(gn(r)||un(r)){const t=Object.values(r.getFields());return n?t:t.filter(s=>s.deprecationReason==null)}}},interfaces:{type:new _n(new se(Qn)),resolve(r){if(gn(r)||un(r))return r.getInterfaces()}},possibleTypes:{type:new _n(new se(Qn)),resolve(r,n,t,{schema:s}){if(HD(r))return s.getPossibleTypes(r)}},enumValues:{type:new _n(new se(Kf)),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(Xn(r)){const t=r.getValues();return n?t:t.filter(s=>s.deprecationReason==null)}}},inputFields:{type:new _n(new se(Us)),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(Zn(r)){const t=Object.values(r.getFields());return n?t:t.filter(s=>s.deprecationReason==null)}}},ofType:{type:Qn,resolve:r=>"ofType"in r?r.ofType:void 0}})}),Zf=new ft({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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},args:{type:new se(new _n(new se(Us))),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){return n?r.args:r.args.filter(t=>t.deprecationReason==null)}},type:{type:new se(Qn),resolve:r=>r.type},isDeprecated:{type:new se(Un),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:$e,resolve:r=>r.deprecationReason}})}),Us=new ft({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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},type:{type:new se(Qn),resolve:r=>r.type},defaultValue:{type:$e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(r){const{type:n,defaultValue:t}=r,s=ii(t,n);return s?lt(s):null}},isDeprecated:{type:new se(Un),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:$e,resolve:r=>r.deprecationReason}})}),Kf=new ft({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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},isDeprecated:{type:new se(Un),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:$e,resolve:r=>r.deprecationReason}})});var ve;(function(r){r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.INPUT_OBJECT="INPUT_OBJECT",r.LIST="LIST",r.NON_NULL="NON_NULL"})(ve||(ve={}));const ep=new wr({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:ve.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:ve.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:ve.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:ve.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:ve.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:ve.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:ve.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:ve.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});new se(Mo);new se($e);new se($e);const Bs=Object.freeze([Mo,Hf,Xf,Qn,Zf,Us,Kf,ep]);function fv(r){return Bs.some(({name:n})=>r.name===n)}class np{constructor(n){var t,s;this.__validationErrors=n.assumeValid===!0?[]:void 0,Ct(n)||le(!1,"Must provide configuration object."),!n.types||Array.isArray(n.types)||le(!1,`"types" must be Array if provided but got: ${z(n.types)}.`),!n.directives||Array.isArray(n.directives)||le(!1,`"directives" must be Array if provided but got: ${z(n.directives)}.`),this.description=n.description,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._queryType=n.query,this._mutationType=n.mutation,this._subscriptionType=n.subscription,this._directives=(s=n.directives)!==null&&s!==void 0?s:kr;const a=new Set(n.types);if(n.types!=null)for(const u of n.types)a.delete(u),Wn(u,a);this._queryType!=null&&Wn(this._queryType,a),this._mutationType!=null&&Wn(this._mutationType,a),this._subscriptionType!=null&&Wn(this._subscriptionType,a);for(const u of this._directives)if(av(u))for(const c of u.args)Wn(c.type,a);Wn(Mo,a),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const u of a){if(u==null)continue;const c=u.name;if(c||le(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[c]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${c}".`);if(this._typeMap[c]=u,un(u)){for(const f of u.getInterfaces())if(un(f)){let d=this._implementationsMap[f.name];d===void 0&&(d=this._implementationsMap[f.name]={objects:[],interfaces:[]}),d.interfaces.push(u)}}else if(gn(u)){for(const f of u.getInterfaces())if(un(f)){let d=this._implementationsMap[f.name];d===void 0&&(d=this._implementationsMap[f.name]={objects:[],interfaces:[]}),d.objects.push(u)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(n){switch(n){case Rn.QUERY:return this.getQueryType();case Rn.MUTATION:return this.getMutationType();case Rn.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(n){return this.getTypeMap()[n]}getPossibleTypes(n){return Hn(n)?n.getTypes():this.getImplementations(n).objects}getImplementations(n){const t=this._implementationsMap[n.name];return t??{objects:[],interfaces:[]}}isSubType(n,t){let s=this._subTypeMap[n.name];if(s===void 0){if(s=Object.create(null),Hn(n))for(const a of n.getTypes())s[a.name]=!0;else{const a=this.getImplementations(n);for(const u of a.objects)s[u.name]=!0;for(const u of a.interfaces)s[u.name]=!0}this._subTypeMap[n.name]=s}return s[t.name]!==void 0}getDirectives(){return this._directives}getDirective(n){return this.getDirectives().find(t=>t.name===n)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function Wn(r,n){const t=ZD(r);if(!n.has(t)){if(n.add(t),Hn(t))for(const s of t.getTypes())Wn(s,n);else if(gn(t)||un(t)){for(const s of t.getInterfaces())Wn(s,n);for(const s of Object.values(t.getFields())){Wn(s.type,n);for(const a of s.args)Wn(a.type,n)}}else if(Zn(t))for(const s of Object.values(t.getFields()))Wn(s.type,n)}return n}function pv(r){return r.kind===A.SCHEMA_DEFINITION||_i(r)||r.kind===A.DIRECTIVE_DEFINITION}function _i(r){return r.kind===A.SCALAR_TYPE_DEFINITION||r.kind===A.OBJECT_TYPE_DEFINITION||r.kind===A.INTERFACE_TYPE_DEFINITION||r.kind===A.UNION_TYPE_DEFINITION||r.kind===A.ENUM_TYPE_DEFINITION||r.kind===A.INPUT_OBJECT_TYPE_DEFINITION}function dv(r){return r.kind===A.SCHEMA_EXTENSION||Go(r)}function Go(r){return r.kind===A.SCALAR_TYPE_EXTENSION||r.kind===A.OBJECT_TYPE_EXTENSION||r.kind===A.INTERFACE_TYPE_EXTENSION||r.kind===A.UNION_TYPE_EXTENSION||r.kind===A.ENUM_TYPE_EXTENSION||r.kind===A.INPUT_OBJECT_TYPE_EXTENSION}function hv(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():kr;for(const c of s)n[c.name]=c.args.map(f=>f.name);const a=r.getDocument().definitions;for(const c of a)if(c.kind===A.DIRECTIVE_DEFINITION){var u;const f=(u=c.arguments)!==null&&u!==void 0?u:[];n[c.name.value]=f.map(d=>d.name.value)}return{Directive(c){const f=c.name.value,d=n[f];if(c.arguments&&d)for(const b of c.arguments){const m=b.name.value;if(!d.includes(m)){const v=Ls(m,d);r.reportError(new q(`Unknown argument "${m}" on directive "@${f}".`+Os(v),{nodes:b}))}}return!1}}}function _v(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():kr;for(const u of s)n[u.name]=u.locations;const a=r.getDocument().definitions;for(const u of a)u.kind===A.DIRECTIVE_DEFINITION&&(n[u.name.value]=u.locations.map(c=>c.value));return{Directive(u,c,f,d,b){const m=u.name.value,v=n[m];if(!v){r.reportError(new q(`Unknown directive "@${m}".`,{nodes:u}));return}const N=gv(b);N&&!v.includes(N)&&r.reportError(new q(`Directive "@${m}" may not be used on ${N}.`,{nodes:u}))}}}function gv(r){const n=r[r.length-1];switch("kind"in n||Jn(!1),n.kind){case A.OPERATION_DEFINITION:return bv(n.operation);case A.FIELD:return j.FIELD;case A.FRAGMENT_SPREAD:return j.FRAGMENT_SPREAD;case A.INLINE_FRAGMENT:return j.INLINE_FRAGMENT;case A.FRAGMENT_DEFINITION:return j.FRAGMENT_DEFINITION;case A.VARIABLE_DEFINITION:return j.VARIABLE_DEFINITION;case A.SCHEMA_DEFINITION:case A.SCHEMA_EXTENSION:return j.SCHEMA;case A.SCALAR_TYPE_DEFINITION:case A.SCALAR_TYPE_EXTENSION:return j.SCALAR;case A.OBJECT_TYPE_DEFINITION:case A.OBJECT_TYPE_EXTENSION:return j.OBJECT;case A.FIELD_DEFINITION:return j.FIELD_DEFINITION;case A.INTERFACE_TYPE_DEFINITION:case A.INTERFACE_TYPE_EXTENSION:return j.INTERFACE;case A.UNION_TYPE_DEFINITION:case A.UNION_TYPE_EXTENSION:return j.UNION;case A.ENUM_TYPE_DEFINITION:case A.ENUM_TYPE_EXTENSION:return j.ENUM;case A.ENUM_VALUE_DEFINITION:return j.ENUM_VALUE;case A.INPUT_OBJECT_TYPE_DEFINITION:case A.INPUT_OBJECT_TYPE_EXTENSION:return j.INPUT_OBJECT;case A.INPUT_VALUE_DEFINITION:{const t=r[r.length-3];return"kind"in t||Jn(!1),t.kind===A.INPUT_OBJECT_TYPE_DEFINITION?j.INPUT_FIELD_DEFINITION:j.ARGUMENT_DEFINITION}default:Jn(!1,"Unexpected kind: "+z(n.kind))}}function bv(r){switch(r){case Rn.QUERY:return j.QUERY;case Rn.MUTATION:return j.MUTATION;case Rn.SUBSCRIPTION:return j.SUBSCRIPTION}}function mv(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);for(const u of r.getDocument().definitions)_i(u)&&(s[u.name.value]=!0);const a=[...Object.keys(t),...Object.keys(s)];return{NamedType(u,c,f,d,b){const m=u.name.value;if(!t[m]&&!s[m]){var v;const N=(v=b[2])!==null&&v!==void 0?v:f,x=N!=null&&Fv(N);if(x&&Hl.includes(m))return;const L=Ls(m,x?Hl.concat(a):a);r.reportError(new q(`Unknown type "${m}".`+Os(L),{nodes:u}))}}}}const Hl=[...Rs,...Bs].map(r=>r.name);function Fv(r){return"kind"in r&&(pv(r)||dv(r))}function Dv(r){var n,t,s;const a=r.getSchema(),u=(n=(t=(s=a==null?void 0:a.astNode)!==null&&s!==void 0?s:a==null?void 0:a.getQueryType())!==null&&t!==void 0?t:a==null?void 0:a.getMutationType())!==null&&n!==void 0?n:a==null?void 0:a.getSubscriptionType();let c=0;return{SchemaDefinition(f){if(u){r.reportError(new q("Cannot define a new schema within a schema extension.",{nodes:f}));return}c>0&&r.reportError(new q("Must provide only one schema definition.",{nodes:f})),++c}}}function vv(r){const n=r.getSchema(),t=Object.create(null);for(const a of r.getDocument().definitions)_i(a)&&(t[a.name.value]=a);return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(a){const u=a.name.value,c=t[u],f=n==null?void 0:n.getType(u);let d;if(c?d=Ev[c.kind]:f&&(d=Av(f)),d){if(d!==a.kind){const b=Sv(a.kind);r.reportError(new q(`Cannot extend non-${b} type "${u}".`,{nodes:c?[c,a]:a}))}}else{const b=Object.keys({...t,...n==null?void 0:n.getTypeMap()}),m=Ls(u,b);r.reportError(new q(`Cannot extend type "${u}" because it is not defined.`+Os(m),{nodes:a.name}))}}}const Ev={[A.SCALAR_TYPE_DEFINITION]:A.SCALAR_TYPE_EXTENSION,[A.OBJECT_TYPE_DEFINITION]:A.OBJECT_TYPE_EXTENSION,[A.INTERFACE_TYPE_DEFINITION]:A.INTERFACE_TYPE_EXTENSION,[A.UNION_TYPE_DEFINITION]:A.UNION_TYPE_EXTENSION,[A.ENUM_TYPE_DEFINITION]:A.ENUM_TYPE_EXTENSION,[A.INPUT_OBJECT_TYPE_DEFINITION]:A.INPUT_OBJECT_TYPE_EXTENSION};function Av(r){if(Yt(r))return A.SCALAR_TYPE_EXTENSION;if(gn(r))return A.OBJECT_TYPE_EXTENSION;if(un(r))return A.INTERFACE_TYPE_EXTENSION;if(Hn(r))return A.UNION_TYPE_EXTENSION;if(Xn(r))return A.ENUM_TYPE_EXTENSION;if(Zn(r))return A.INPUT_OBJECT_TYPE_EXTENSION;Jn(!1,"Unexpected type: "+z(r))}function Sv(r){switch(r){case A.SCALAR_TYPE_EXTENSION:return"scalar";case A.OBJECT_TYPE_EXTENSION:return"object";case A.INTERFACE_TYPE_EXTENSION:return"interface";case A.UNION_TYPE_EXTENSION:return"union";case A.ENUM_TYPE_EXTENSION:return"enum";case A.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:Jn(!1,"Unexpected kind: "+z(r))}}function Tv(r){var n;const t=Object.create(null),s=r.getSchema(),a=(n=s==null?void 0:s.getDirectives())!==null&&n!==void 0?n:kr;for(const f of a)t[f.name]=Cr(f.args.filter(KD),d=>d.name);const u=r.getDocument().definitions;for(const f of u)if(f.kind===A.DIRECTIVE_DEFINITION){var c;const d=(c=f.arguments)!==null&&c!==void 0?c:[];t[f.name.value]=Cr(d.filter(Iv),b=>b.name.value)}return{Directive:{leave(f){const d=f.name.value,b=t[d];if(b){var m;const v=(m=f.arguments)!==null&&m!==void 0?m:[],N=new Set(v.map(x=>x.name.value));for(const[x,L]of Object.entries(b))if(!N.has(x)){const R=Po(L.type)?z(L.type):lt(L.type);r.reportError(new q(`Directive "@${d}" argument "${x}" of type "${R}" is required, but it was not provided.`,{nodes:f}))}}}}}}function Iv(r){return r.type.kind===A.NON_NULL_TYPE&&r.defaultValue==null}function Vt(r,n,t){if(r){if(r.kind===A.VARIABLE){const s=r.name.value;if(t==null||t[s]===void 0)return;const a=t[s];return a===null&&on(n)?void 0:a}if(on(n))return r.kind===A.NULL?void 0:Vt(r,n.ofType,t);if(r.kind===A.NULL)return null;if(lr(n)){const s=n.ofType;if(r.kind===A.LIST){const u=[];for(const c of r.values)if(Xl(c,t)){if(on(s))return;u.push(null)}else{const f=Vt(c,s,t);if(f===void 0)return;u.push(f)}return u}const a=Vt(r,s,t);return a===void 0?void 0:[a]}if(Zn(n)){if(r.kind!==A.OBJECT)return;const s=Object.create(null),a=Cr(r.fields,u=>u.name.value);for(const u of Object.values(n.getFields())){const c=a[u.name];if(!c||Xl(c.value,t)){if(u.defaultValue!==void 0)s[u.name]=u.defaultValue;else if(on(u.type))return;continue}const f=Vt(c.value,u.type,t);if(f===void 0)return;s[u.name]=f}return s}if(Pf(n)){let s;try{s=n.parseLiteral(r,t)}catch{return}return s===void 0?void 0:s}Jn(!1,"Unexpected input type: "+z(n))}}function Xl(r,n){return r.kind===A.VARIABLE&&(n==null||n[r.name.value]===void 0)}function yv(r,n,t){var s;const a={},u=(s=n.arguments)!==null&&s!==void 0?s:[],c=Cr(u,f=>f.name.value);for(const f of r.args){const d=f.name,b=f.type,m=c[d];if(!m){if(f.defaultValue!==void 0)a[d]=f.defaultValue;else if(on(b))throw new q(`Argument "${d}" of required type "${z(b)}" was not provided.`,{nodes:n});continue}const v=m.value;let N=v.kind===A.NULL;if(v.kind===A.VARIABLE){const L=v.name.value;if(t==null||!Nv(t,L)){if(f.defaultValue!==void 0)a[d]=f.defaultValue;else if(on(b))throw new q(`Argument "${d}" of required type "${z(b)}" was provided the variable "$${L}" which was not provided a runtime value.`,{nodes:v});continue}N=t[L]==null}if(N&&on(b))throw new q(`Argument "${d}" of non-null type "${z(b)}" must not be null.`,{nodes:v});const x=Vt(v,b,t);if(x===void 0)throw new q(`Argument "${d}" has invalid value ${lt(v)}.`,{nodes:v});a[d]=x}return a}function tp(r,n,t){var s;const a=(s=n.directives)===null||s===void 0?void 0:s.find(u=>u.name.value===r.name);if(a)return yv(r,a,t)}function Nv(r,n){return Object.prototype.hasOwnProperty.call(r,n)}function rp(r,n){const t=new Map;for(const s of r){const a=n(s),u=t.get(a);u===void 0?t.set(a,[s]):u.push(s)}return t}function Cv(r){return{DirectiveDefinition(s){var a;const u=(a=s.arguments)!==null&&a!==void 0?a:[];return t(`@${s.name.value}`,u)},InterfaceTypeDefinition:n,InterfaceTypeExtension:n,ObjectTypeDefinition:n,ObjectTypeExtension:n};function n(s){var a;const u=s.name.value,c=(a=s.fields)!==null&&a!==void 0?a:[];for(const d of c){var f;const b=d.name.value,m=(f=d.arguments)!==null&&f!==void 0?f:[];t(`${u}.${b}`,m)}return!1}function t(s,a){const u=rp(a,c=>c.name.value);for(const[c,f]of u)f.length>1&&r.reportError(new q(`Argument "${s}(${c}:)" can only be defined once.`,{nodes:f.map(d=>d.name)}));return!1}}function wv(r){return{Field:n,Directive:n};function n(t){var s;const a=(s=t.arguments)!==null&&s!==void 0?s:[],u=rp(a,c=>c.name.value);for(const[c,f]of u)f.length>1&&r.reportError(new q(`There can be only one argument named "${c}".`,{nodes:f.map(d=>d.name)}))}}function xv(r){const n=Object.create(null),t=r.getSchema();return{DirectiveDefinition(s){const a=s.name.value;if(t!=null&&t.getDirective(a)){r.reportError(new q(`Directive "@${a}" already exists in the schema. It cannot be redefined.`,{nodes:s.name}));return}return n[a]?r.reportError(new q(`There can be only one directive named "@${a}".`,{nodes:[n[a],s.name]})):n[a]=s.name,!1}}}function kv(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():kr;for(const f of s)n[f.name]=!f.isRepeatable;const a=r.getDocument().definitions;for(const f of a)f.kind===A.DIRECTIVE_DEFINITION&&(n[f.name.value]=!f.repeatable);const u=Object.create(null),c=Object.create(null);return{enter(f){if(!("directives"in f)||!f.directives)return;let d;if(f.kind===A.SCHEMA_DEFINITION||f.kind===A.SCHEMA_EXTENSION)d=u;else if(_i(f)||Go(f)){const b=f.name.value;d=c[b],d===void 0&&(c[b]=d=Object.create(null))}else d=Object.create(null);for(const b of f.directives){const m=b.name.value;n[m]&&(d[m]?r.reportError(new q(`The directive "@${m}" can only be used once at this location.`,{nodes:[d[m],b]})):d[m]=b)}}}}function Ov(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(u){var c;const f=u.name.value;s[f]||(s[f]=Object.create(null));const d=(c=u.values)!==null&&c!==void 0?c:[],b=s[f];for(const m of d){const v=m.name.value,N=t[f];Xn(N)&&N.getValue(v)?r.reportError(new q(`Enum value "${f}.${v}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:m.name})):b[v]?r.reportError(new q(`Enum value "${f}.${v}" can only be defined once.`,{nodes:[b[v],m.name]})):b[v]=m.name}return!1}}function Lv(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);return{InputObjectTypeDefinition:a,InputObjectTypeExtension:a,InterfaceTypeDefinition:a,InterfaceTypeExtension:a,ObjectTypeDefinition:a,ObjectTypeExtension:a};function a(u){var c;const f=u.name.value;s[f]||(s[f]=Object.create(null));const d=(c=u.fields)!==null&&c!==void 0?c:[],b=s[f];for(const m of d){const v=m.name.value;Rv(t[f],v)?r.reportError(new q(`Field "${f}.${v}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:m.name})):b[v]?r.reportError(new q(`Field "${f}.${v}" can only be defined once.`,{nodes:[b[v],m.name]})):b[v]=m.name}return!1}}function Rv(r,n){return gn(r)||un(r)||Zn(r)?r.getFields()[n]!=null:!1}function Uv(r){const n=[];let t=Object.create(null);return{ObjectValue:{enter(){n.push(t),t=Object.create(null)},leave(){const s=n.pop();s||Jn(!1),t=s}},ObjectField(s){const a=s.name.value;t[a]?r.reportError(new q(`There can be only one input field named "${a}".`,{nodes:[t[a],s.name]})):t[a]=s.name}}}function Bv(r){const n=r.getSchema(),t=Object.create(null),s=n?{query:n.getQueryType(),mutation:n.getMutationType(),subscription:n.getSubscriptionType()}:{};return{SchemaDefinition:a,SchemaExtension:a};function a(u){var c;const f=(c=u.operationTypes)!==null&&c!==void 0?c:[];for(const d of f){const b=d.operation,m=t[b];s[b]?r.reportError(new q(`Type for ${b} already defined in the schema. It cannot be redefined.`,{nodes:d})):m?r.reportError(new q(`There can be only one ${b} type in schema.`,{nodes:[m,d]})):t[b]=d}return!1}}function Pv(r){const n=Object.create(null),t=r.getSchema();return{ScalarTypeDefinition:s,ObjectTypeDefinition:s,InterfaceTypeDefinition:s,UnionTypeDefinition:s,EnumTypeDefinition:s,InputObjectTypeDefinition:s};function s(a){const u=a.name.value;if(t!=null&&t.getType(u)){r.reportError(new q(`Type "${u}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:a.name}));return}return n[u]?r.reportError(new q(`There can be only one type named "${u}".`,{nodes:[n[u],a.name]})):n[u]=a.name,!1}}const $v=Object.freeze([Dv,Bv,Pv,Ov,Lv,Cv,xv,mv,_v,kv,vv,hv,wv,Uv,Tv]);class Mv{constructor(n,t){this._ast=n,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(n){this._onError(n)}getDocument(){return this._ast}getFragment(n){let t;if(this._fragments)t=this._fragments;else{t=Object.create(null);for(const s of this.getDocument().definitions)s.kind===A.FRAGMENT_DEFINITION&&(t[s.name.value]=s);this._fragments=t}return t[n]}getFragmentSpreads(n){let t=this._fragmentSpreads.get(n);if(!t){t=[];const s=[n];let a;for(;a=s.pop();)for(const u of a.selections)u.kind===A.FRAGMENT_SPREAD?t.push(u):u.selectionSet&&s.push(u.selectionSet);this._fragmentSpreads.set(n,t)}return t}getRecursivelyReferencedFragments(n){let t=this._recursivelyReferencedFragments.get(n);if(!t){t=[];const s=Object.create(null),a=[n.selectionSet];let u;for(;u=a.pop();)for(const c of this.getFragmentSpreads(u)){const f=c.name.value;if(s[f]!==!0){s[f]=!0;const d=this.getFragment(f);d&&(t.push(d),a.push(d.selectionSet))}}this._recursivelyReferencedFragments.set(n,t)}return t}}class Gv extends Mv{constructor(n,t,s){super(n,s),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}function Vv(r,n,t=$v){const s=[],a=new Gv(r,n,c=>{s.push(c)}),u=t.map(c=>c(a));return Lf(r,zD(u)),s}function qv(r){const n=Vv(r);if(n.length!==0)throw new Error(n.map(t=>t.message).join(` +In 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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},isRepeatable:{type:new se(Un),resolve:r=>r.isRepeatable},locations:{type:new se(new hn(new se(Xf))),resolve:r=>r.locations},args:{type:new se(new hn(new se(Us))),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){return n?r.args:r.args.filter(t=>t.deprecationReason==null)}}})}),Xf=new wr({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:Y.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Y.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Y.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Y.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Y.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Y.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Y.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Y.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Y.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Y.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Y.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Y.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Y.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Y.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Y.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Y.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Y.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Y.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Y.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Qn=new ft({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:()=>({kind:{type:new se(ep),resolve(r){if(Wt(r))return ve.SCALAR;if(_n(r))return ve.OBJECT;if(on(r))return ve.INTERFACE;if(Hn(r))return ve.UNION;if(Xn(r))return ve.ENUM;if(Zn(r))return ve.INPUT_OBJECT;if(lr(r))return ve.LIST;if(gn(r))return ve.NON_NULL;Jn(!1,`Unexpected type: "${z(r)}".`)}},name:{type:$e,resolve:r=>"name"in r?r.name:void 0},description:{type:$e,resolve:r=>"description"in r?r.description:void 0},specifiedByURL:{type:$e,resolve:r=>"specifiedByURL"in r?r.specifiedByURL:void 0},fields:{type:new hn(new se(Zf)),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(_n(r)||on(r)){const t=Object.values(r.getFields());return n?t:t.filter(s=>s.deprecationReason==null)}}},interfaces:{type:new hn(new se(Qn)),resolve(r){if(_n(r)||on(r))return r.getInterfaces()}},possibleTypes:{type:new hn(new se(Qn)),resolve(r,n,t,{schema:s}){if(HD(r))return s.getPossibleTypes(r)}},enumValues:{type:new hn(new se(Kf)),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(Xn(r)){const t=r.getValues();return n?t:t.filter(s=>s.deprecationReason==null)}}},inputFields:{type:new hn(new se(Us)),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(Zn(r)){const t=Object.values(r.getFields());return n?t:t.filter(s=>s.deprecationReason==null)}}},ofType:{type:Qn,resolve:r=>"ofType"in r?r.ofType:void 0}})}),Zf=new ft({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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},args:{type:new se(new hn(new se(Us))),args:{includeDeprecated:{type:Un,defaultValue:!1}},resolve(r,{includeDeprecated:n}){return n?r.args:r.args.filter(t=>t.deprecationReason==null)}},type:{type:new se(Qn),resolve:r=>r.type},isDeprecated:{type:new se(Un),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:$e,resolve:r=>r.deprecationReason}})}),Us=new ft({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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},type:{type:new se(Qn),resolve:r=>r.type},defaultValue:{type:$e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(r){const{type:n,defaultValue:t}=r,s=ii(t,n);return s?lt(s):null}},isDeprecated:{type:new se(Un),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:$e,resolve:r=>r.deprecationReason}})}),Kf=new ft({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:()=>({name:{type:new se($e),resolve:r=>r.name},description:{type:$e,resolve:r=>r.description},isDeprecated:{type:new se(Un),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:$e,resolve:r=>r.deprecationReason}})});var ve;(function(r){r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.INPUT_OBJECT="INPUT_OBJECT",r.LIST="LIST",r.NON_NULL="NON_NULL"})(ve||(ve={}));const ep=new wr({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:ve.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:ve.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:ve.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:ve.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:ve.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:ve.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:ve.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:ve.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});new se(Mo);new se($e);new se($e);const Bs=Object.freeze([Mo,Hf,Xf,Qn,Zf,Us,Kf,ep]);function fv(r){return Bs.some(({name:n})=>r.name===n)}class np{constructor(n){var t,s;this.__validationErrors=n.assumeValid===!0?[]:void 0,Ct(n)||le(!1,"Must provide configuration object."),!n.types||Array.isArray(n.types)||le(!1,`"types" must be Array if provided but got: ${z(n.types)}.`),!n.directives||Array.isArray(n.directives)||le(!1,`"directives" must be Array if provided but got: ${z(n.directives)}.`),this.description=n.description,this.extensions=Bn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._queryType=n.query,this._mutationType=n.mutation,this._subscriptionType=n.subscription,this._directives=(s=n.directives)!==null&&s!==void 0?s:kr;const a=new Set(n.types);if(n.types!=null)for(const u of n.types)a.delete(u),jn(u,a);this._queryType!=null&&jn(this._queryType,a),this._mutationType!=null&&jn(this._mutationType,a),this._subscriptionType!=null&&jn(this._subscriptionType,a);for(const u of this._directives)if(av(u))for(const c of u.args)jn(c.type,a);jn(Mo,a),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const u of a){if(u==null)continue;const c=u.name;if(c||le(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[c]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${c}".`);if(this._typeMap[c]=u,on(u)){for(const f of u.getInterfaces())if(on(f)){let d=this._implementationsMap[f.name];d===void 0&&(d=this._implementationsMap[f.name]={objects:[],interfaces:[]}),d.interfaces.push(u)}}else if(_n(u)){for(const f of u.getInterfaces())if(on(f)){let d=this._implementationsMap[f.name];d===void 0&&(d=this._implementationsMap[f.name]={objects:[],interfaces:[]}),d.objects.push(u)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(n){switch(n){case Rn.QUERY:return this.getQueryType();case Rn.MUTATION:return this.getMutationType();case Rn.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(n){return this.getTypeMap()[n]}getPossibleTypes(n){return Hn(n)?n.getTypes():this.getImplementations(n).objects}getImplementations(n){const t=this._implementationsMap[n.name];return t??{objects:[],interfaces:[]}}isSubType(n,t){let s=this._subTypeMap[n.name];if(s===void 0){if(s=Object.create(null),Hn(n))for(const a of n.getTypes())s[a.name]=!0;else{const a=this.getImplementations(n);for(const u of a.objects)s[u.name]=!0;for(const u of a.interfaces)s[u.name]=!0}this._subTypeMap[n.name]=s}return s[t.name]!==void 0}getDirectives(){return this._directives}getDirective(n){return this.getDirectives().find(t=>t.name===n)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function jn(r,n){const t=ZD(r);if(!n.has(t)){if(n.add(t),Hn(t))for(const s of t.getTypes())jn(s,n);else if(_n(t)||on(t)){for(const s of t.getInterfaces())jn(s,n);for(const s of Object.values(t.getFields())){jn(s.type,n);for(const a of s.args)jn(a.type,n)}}else if(Zn(t))for(const s of Object.values(t.getFields()))jn(s.type,n)}return n}function pv(r){return r.kind===A.SCHEMA_DEFINITION||_i(r)||r.kind===A.DIRECTIVE_DEFINITION}function _i(r){return r.kind===A.SCALAR_TYPE_DEFINITION||r.kind===A.OBJECT_TYPE_DEFINITION||r.kind===A.INTERFACE_TYPE_DEFINITION||r.kind===A.UNION_TYPE_DEFINITION||r.kind===A.ENUM_TYPE_DEFINITION||r.kind===A.INPUT_OBJECT_TYPE_DEFINITION}function dv(r){return r.kind===A.SCHEMA_EXTENSION||Go(r)}function Go(r){return r.kind===A.SCALAR_TYPE_EXTENSION||r.kind===A.OBJECT_TYPE_EXTENSION||r.kind===A.INTERFACE_TYPE_EXTENSION||r.kind===A.UNION_TYPE_EXTENSION||r.kind===A.ENUM_TYPE_EXTENSION||r.kind===A.INPUT_OBJECT_TYPE_EXTENSION}function hv(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():kr;for(const c of s)n[c.name]=c.args.map(f=>f.name);const a=r.getDocument().definitions;for(const c of a)if(c.kind===A.DIRECTIVE_DEFINITION){var u;const f=(u=c.arguments)!==null&&u!==void 0?u:[];n[c.name.value]=f.map(d=>d.name.value)}return{Directive(c){const f=c.name.value,d=n[f];if(c.arguments&&d)for(const b of c.arguments){const m=b.name.value;if(!d.includes(m)){const v=Ls(m,d);r.reportError(new q(`Unknown argument "${m}" on directive "@${f}".`+Os(v),{nodes:b}))}}return!1}}}function _v(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():kr;for(const u of s)n[u.name]=u.locations;const a=r.getDocument().definitions;for(const u of a)u.kind===A.DIRECTIVE_DEFINITION&&(n[u.name.value]=u.locations.map(c=>c.value));return{Directive(u,c,f,d,b){const m=u.name.value,v=n[m];if(!v){r.reportError(new q(`Unknown directive "@${m}".`,{nodes:u}));return}const w=gv(b);w&&!v.includes(w)&&r.reportError(new q(`Directive "@${m}" may not be used on ${w}.`,{nodes:u}))}}}function gv(r){const n=r[r.length-1];switch("kind"in n||Jn(!1),n.kind){case A.OPERATION_DEFINITION:return bv(n.operation);case A.FIELD:return Y.FIELD;case A.FRAGMENT_SPREAD:return Y.FRAGMENT_SPREAD;case A.INLINE_FRAGMENT:return Y.INLINE_FRAGMENT;case A.FRAGMENT_DEFINITION:return Y.FRAGMENT_DEFINITION;case A.VARIABLE_DEFINITION:return Y.VARIABLE_DEFINITION;case A.SCHEMA_DEFINITION:case A.SCHEMA_EXTENSION:return Y.SCHEMA;case A.SCALAR_TYPE_DEFINITION:case A.SCALAR_TYPE_EXTENSION:return Y.SCALAR;case A.OBJECT_TYPE_DEFINITION:case A.OBJECT_TYPE_EXTENSION:return Y.OBJECT;case A.FIELD_DEFINITION:return Y.FIELD_DEFINITION;case A.INTERFACE_TYPE_DEFINITION:case A.INTERFACE_TYPE_EXTENSION:return Y.INTERFACE;case A.UNION_TYPE_DEFINITION:case A.UNION_TYPE_EXTENSION:return Y.UNION;case A.ENUM_TYPE_DEFINITION:case A.ENUM_TYPE_EXTENSION:return Y.ENUM;case A.ENUM_VALUE_DEFINITION:return Y.ENUM_VALUE;case A.INPUT_OBJECT_TYPE_DEFINITION:case A.INPUT_OBJECT_TYPE_EXTENSION:return Y.INPUT_OBJECT;case A.INPUT_VALUE_DEFINITION:{const t=r[r.length-3];return"kind"in t||Jn(!1),t.kind===A.INPUT_OBJECT_TYPE_DEFINITION?Y.INPUT_FIELD_DEFINITION:Y.ARGUMENT_DEFINITION}default:Jn(!1,"Unexpected kind: "+z(n.kind))}}function bv(r){switch(r){case Rn.QUERY:return Y.QUERY;case Rn.MUTATION:return Y.MUTATION;case Rn.SUBSCRIPTION:return Y.SUBSCRIPTION}}function mv(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);for(const u of r.getDocument().definitions)_i(u)&&(s[u.name.value]=!0);const a=[...Object.keys(t),...Object.keys(s)];return{NamedType(u,c,f,d,b){const m=u.name.value;if(!t[m]&&!s[m]){var v;const w=(v=b[2])!==null&&v!==void 0?v:f,x=w!=null&&Fv(w);if(x&&Hl.includes(m))return;const L=Ls(m,x?Hl.concat(a):a);r.reportError(new q(`Unknown type "${m}".`+Os(L),{nodes:u}))}}}}const Hl=[...Rs,...Bs].map(r=>r.name);function Fv(r){return"kind"in r&&(pv(r)||dv(r))}function Dv(r){var n,t,s;const a=r.getSchema(),u=(n=(t=(s=a==null?void 0:a.astNode)!==null&&s!==void 0?s:a==null?void 0:a.getQueryType())!==null&&t!==void 0?t:a==null?void 0:a.getMutationType())!==null&&n!==void 0?n:a==null?void 0:a.getSubscriptionType();let c=0;return{SchemaDefinition(f){if(u){r.reportError(new q("Cannot define a new schema within a schema extension.",{nodes:f}));return}c>0&&r.reportError(new q("Must provide only one schema definition.",{nodes:f})),++c}}}function vv(r){const n=r.getSchema(),t=Object.create(null);for(const a of r.getDocument().definitions)_i(a)&&(t[a.name.value]=a);return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(a){const u=a.name.value,c=t[u],f=n==null?void 0:n.getType(u);let d;if(c?d=Ev[c.kind]:f&&(d=Av(f)),d){if(d!==a.kind){const b=Sv(a.kind);r.reportError(new q(`Cannot extend non-${b} type "${u}".`,{nodes:c?[c,a]:a}))}}else{const b=Object.keys({...t,...n==null?void 0:n.getTypeMap()}),m=Ls(u,b);r.reportError(new q(`Cannot extend type "${u}" because it is not defined.`+Os(m),{nodes:a.name}))}}}const Ev={[A.SCALAR_TYPE_DEFINITION]:A.SCALAR_TYPE_EXTENSION,[A.OBJECT_TYPE_DEFINITION]:A.OBJECT_TYPE_EXTENSION,[A.INTERFACE_TYPE_DEFINITION]:A.INTERFACE_TYPE_EXTENSION,[A.UNION_TYPE_DEFINITION]:A.UNION_TYPE_EXTENSION,[A.ENUM_TYPE_DEFINITION]:A.ENUM_TYPE_EXTENSION,[A.INPUT_OBJECT_TYPE_DEFINITION]:A.INPUT_OBJECT_TYPE_EXTENSION};function Av(r){if(Wt(r))return A.SCALAR_TYPE_EXTENSION;if(_n(r))return A.OBJECT_TYPE_EXTENSION;if(on(r))return A.INTERFACE_TYPE_EXTENSION;if(Hn(r))return A.UNION_TYPE_EXTENSION;if(Xn(r))return A.ENUM_TYPE_EXTENSION;if(Zn(r))return A.INPUT_OBJECT_TYPE_EXTENSION;Jn(!1,"Unexpected type: "+z(r))}function Sv(r){switch(r){case A.SCALAR_TYPE_EXTENSION:return"scalar";case A.OBJECT_TYPE_EXTENSION:return"object";case A.INTERFACE_TYPE_EXTENSION:return"interface";case A.UNION_TYPE_EXTENSION:return"union";case A.ENUM_TYPE_EXTENSION:return"enum";case A.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:Jn(!1,"Unexpected kind: "+z(r))}}function Tv(r){var n;const t=Object.create(null),s=r.getSchema(),a=(n=s==null?void 0:s.getDirectives())!==null&&n!==void 0?n:kr;for(const f of a)t[f.name]=Cr(f.args.filter(KD),d=>d.name);const u=r.getDocument().definitions;for(const f of u)if(f.kind===A.DIRECTIVE_DEFINITION){var c;const d=(c=f.arguments)!==null&&c!==void 0?c:[];t[f.name.value]=Cr(d.filter(Iv),b=>b.name.value)}return{Directive:{leave(f){const d=f.name.value,b=t[d];if(b){var m;const v=(m=f.arguments)!==null&&m!==void 0?m:[],w=new Set(v.map(x=>x.name.value));for(const[x,L]of Object.entries(b))if(!w.has(x)){const R=Po(L.type)?z(L.type):lt(L.type);r.reportError(new q(`Directive "@${d}" argument "${x}" of type "${R}" is required, but it was not provided.`,{nodes:f}))}}}}}}function Iv(r){return r.type.kind===A.NON_NULL_TYPE&&r.defaultValue==null}function Vt(r,n,t){if(r){if(r.kind===A.VARIABLE){r.name.value;return}if(gn(n))return r.kind===A.NULL?void 0:Vt(r,n.ofType,t);if(r.kind===A.NULL)return null;if(lr(n)){const s=n.ofType;if(r.kind===A.LIST){const u=[];for(const c of r.values)if(Xl(c,t)){if(gn(s))return;u.push(null)}else{const f=Vt(c,s,t);if(f===void 0)return;u.push(f)}return u}const a=Vt(r,s,t);return a===void 0?void 0:[a]}if(Zn(n)){if(r.kind!==A.OBJECT)return;const s=Object.create(null),a=Cr(r.fields,u=>u.name.value);for(const u of Object.values(n.getFields())){const c=a[u.name];if(!c||Xl(c.value,t)){if(u.defaultValue!==void 0)s[u.name]=u.defaultValue;else if(gn(u.type))return;continue}const f=Vt(c.value,u.type,t);if(f===void 0)return;s[u.name]=f}return s}if(Pf(n)){let s;try{s=n.parseLiteral(r,t)}catch{return}return s===void 0?void 0:s}Jn(!1,"Unexpected input type: "+z(n))}}function Xl(r,n){return r.kind===A.VARIABLE&&n==null}function yv(r,n,t){var s;const a={},u=(s=n.arguments)!==null&&s!==void 0?s:[],c=Cr(u,f=>f.name.value);for(const f of r.args){const d=f.name,b=f.type,m=c[d];if(!m){if(f.defaultValue!==void 0)a[d]=f.defaultValue;else if(gn(b))throw new q(`Argument "${d}" of required type "${z(b)}" was not provided.`,{nodes:n});continue}const v=m.value;let w=v.kind===A.NULL;if(v.kind===A.VARIABLE){const L=v.name.value;{if(f.defaultValue!==void 0)a[d]=f.defaultValue;else if(gn(b))throw new q(`Argument "${d}" of required type "${z(b)}" was provided the variable "$${L}" which was not provided a runtime value.`,{nodes:v});continue}}if(w&&gn(b))throw new q(`Argument "${d}" of non-null type "${z(b)}" must not be null.`,{nodes:v});const x=Vt(v,b,t);if(x===void 0)throw new q(`Argument "${d}" has invalid value ${lt(v)}.`,{nodes:v});a[d]=x}return a}function tp(r,n,t){var s;const a=(s=n.directives)===null||s===void 0?void 0:s.find(u=>u.name.value===r.name);if(a)return yv(r,a,t)}function rp(r,n){const t=new Map;for(const s of r){const a=n(s),u=t.get(a);u===void 0?t.set(a,[s]):u.push(s)}return t}function Nv(r){return{DirectiveDefinition(s){var a;const u=(a=s.arguments)!==null&&a!==void 0?a:[];return t(`@${s.name.value}`,u)},InterfaceTypeDefinition:n,InterfaceTypeExtension:n,ObjectTypeDefinition:n,ObjectTypeExtension:n};function n(s){var a;const u=s.name.value,c=(a=s.fields)!==null&&a!==void 0?a:[];for(const d of c){var f;const b=d.name.value,m=(f=d.arguments)!==null&&f!==void 0?f:[];t(`${u}.${b}`,m)}return!1}function t(s,a){const u=rp(a,c=>c.name.value);for(const[c,f]of u)f.length>1&&r.reportError(new q(`Argument "${s}(${c}:)" can only be defined once.`,{nodes:f.map(d=>d.name)}));return!1}}function Cv(r){return{Field:n,Directive:n};function n(t){var s;const a=(s=t.arguments)!==null&&s!==void 0?s:[],u=rp(a,c=>c.name.value);for(const[c,f]of u)f.length>1&&r.reportError(new q(`There can be only one argument named "${c}".`,{nodes:f.map(d=>d.name)}))}}function wv(r){const n=Object.create(null),t=r.getSchema();return{DirectiveDefinition(s){const a=s.name.value;if(t!=null&&t.getDirective(a)){r.reportError(new q(`Directive "@${a}" already exists in the schema. It cannot be redefined.`,{nodes:s.name}));return}return n[a]?r.reportError(new q(`There can be only one directive named "@${a}".`,{nodes:[n[a],s.name]})):n[a]=s.name,!1}}}function xv(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():kr;for(const f of s)n[f.name]=!f.isRepeatable;const a=r.getDocument().definitions;for(const f of a)f.kind===A.DIRECTIVE_DEFINITION&&(n[f.name.value]=!f.repeatable);const u=Object.create(null),c=Object.create(null);return{enter(f){if(!("directives"in f)||!f.directives)return;let d;if(f.kind===A.SCHEMA_DEFINITION||f.kind===A.SCHEMA_EXTENSION)d=u;else if(_i(f)||Go(f)){const b=f.name.value;d=c[b],d===void 0&&(c[b]=d=Object.create(null))}else d=Object.create(null);for(const b of f.directives){const m=b.name.value;n[m]&&(d[m]?r.reportError(new q(`The directive "@${m}" can only be used once at this location.`,{nodes:[d[m],b]})):d[m]=b)}}}}function kv(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(u){var c;const f=u.name.value;s[f]||(s[f]=Object.create(null));const d=(c=u.values)!==null&&c!==void 0?c:[],b=s[f];for(const m of d){const v=m.name.value,w=t[f];Xn(w)&&w.getValue(v)?r.reportError(new q(`Enum value "${f}.${v}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:m.name})):b[v]?r.reportError(new q(`Enum value "${f}.${v}" can only be defined once.`,{nodes:[b[v],m.name]})):b[v]=m.name}return!1}}function Ov(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);return{InputObjectTypeDefinition:a,InputObjectTypeExtension:a,InterfaceTypeDefinition:a,InterfaceTypeExtension:a,ObjectTypeDefinition:a,ObjectTypeExtension:a};function a(u){var c;const f=u.name.value;s[f]||(s[f]=Object.create(null));const d=(c=u.fields)!==null&&c!==void 0?c:[],b=s[f];for(const m of d){const v=m.name.value;Lv(t[f],v)?r.reportError(new q(`Field "${f}.${v}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:m.name})):b[v]?r.reportError(new q(`Field "${f}.${v}" can only be defined once.`,{nodes:[b[v],m.name]})):b[v]=m.name}return!1}}function Lv(r,n){return _n(r)||on(r)||Zn(r)?r.getFields()[n]!=null:!1}function Rv(r){const n=[];let t=Object.create(null);return{ObjectValue:{enter(){n.push(t),t=Object.create(null)},leave(){const s=n.pop();s||Jn(!1),t=s}},ObjectField(s){const a=s.name.value;t[a]?r.reportError(new q(`There can be only one input field named "${a}".`,{nodes:[t[a],s.name]})):t[a]=s.name}}}function Uv(r){const n=r.getSchema(),t=Object.create(null),s=n?{query:n.getQueryType(),mutation:n.getMutationType(),subscription:n.getSubscriptionType()}:{};return{SchemaDefinition:a,SchemaExtension:a};function a(u){var c;const f=(c=u.operationTypes)!==null&&c!==void 0?c:[];for(const d of f){const b=d.operation,m=t[b];s[b]?r.reportError(new q(`Type for ${b} already defined in the schema. It cannot be redefined.`,{nodes:d})):m?r.reportError(new q(`There can be only one ${b} type in schema.`,{nodes:[m,d]})):t[b]=d}return!1}}function Bv(r){const n=Object.create(null),t=r.getSchema();return{ScalarTypeDefinition:s,ObjectTypeDefinition:s,InterfaceTypeDefinition:s,UnionTypeDefinition:s,EnumTypeDefinition:s,InputObjectTypeDefinition:s};function s(a){const u=a.name.value;if(t!=null&&t.getType(u)){r.reportError(new q(`Type "${u}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:a.name}));return}return n[u]?r.reportError(new q(`There can be only one type named "${u}".`,{nodes:[n[u],a.name]})):n[u]=a.name,!1}}const Pv=Object.freeze([Dv,Uv,Bv,kv,Ov,Nv,wv,mv,_v,xv,vv,hv,Cv,Rv,Tv]);class $v{constructor(n,t){this._ast=n,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(n){this._onError(n)}getDocument(){return this._ast}getFragment(n){let t;if(this._fragments)t=this._fragments;else{t=Object.create(null);for(const s of this.getDocument().definitions)s.kind===A.FRAGMENT_DEFINITION&&(t[s.name.value]=s);this._fragments=t}return t[n]}getFragmentSpreads(n){let t=this._fragmentSpreads.get(n);if(!t){t=[];const s=[n];let a;for(;a=s.pop();)for(const u of a.selections)u.kind===A.FRAGMENT_SPREAD?t.push(u):u.selectionSet&&s.push(u.selectionSet);this._fragmentSpreads.set(n,t)}return t}getRecursivelyReferencedFragments(n){let t=this._recursivelyReferencedFragments.get(n);if(!t){t=[];const s=Object.create(null),a=[n.selectionSet];let u;for(;u=a.pop();)for(const c of this.getFragmentSpreads(u)){const f=c.name.value;if(s[f]!==!0){s[f]=!0;const d=this.getFragment(f);d&&(t.push(d),a.push(d.selectionSet))}}this._recursivelyReferencedFragments.set(n,t)}return t}}class Mv extends $v{constructor(n,t,s){super(n,s),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}function Gv(r,n,t=Pv){const s=[],a=new Mv(r,n,c=>{s.push(c)}),u=t.map(c=>c(a));return Lf(r,zD(u)),s}function Vv(r){const n=Gv(r);if(n.length!==0)throw new Error(n.map(t=>t.message).join(` -`))}function zv(r,n){Ct(r)&&Ct(r.__schema)||le(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${z(r)}.`);const t=r.__schema,s=sr(t.types,k=>k.name,k=>N(k));for(const k of[...Rs,...Bs])s[k.name]&&(s[k.name]=k);const a=t.queryType?m(t.queryType):null,u=t.mutationType?m(t.mutationType):null,c=t.subscriptionType?m(t.subscriptionType):null,f=t.directives?t.directives.map(dt):[];return new np({description:t.description,query:a,mutation:u,subscription:c,types:Object.values(s),directives:f,assumeValid:n==null?void 0:n.assumeValid});function d(k){if(k.kind===ve.LIST){const X=k.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");return new _n(d(X))}if(k.kind===ve.NON_NULL){const X=k.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");const tn=d(X);return new se(XD(tn))}return b(k)}function b(k){const X=k.name;if(!X)throw new Error(`Unknown type reference: ${z(k)}.`);const tn=s[X];if(!tn)throw new Error(`Invalid or incomplete schema, unknown type: ${X}. Ensure that a full introspection query is used in order to build a client schema.`);return tn}function m(k){return QD(b(k))}function v(k){return JD(b(k))}function N(k){if(k!=null&&k.name!=null&&k.kind!=null)switch(k.kind){case ve.SCALAR:return x(k);case ve.OBJECT:return R(k);case ve.INTERFACE:return J(k);case ve.UNION:return pe(k);case ve.ENUM:return Me(k);case ve.INPUT_OBJECT:return Ee(k)}const X=z(k);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${X}.`)}function x(k){return new wt({name:k.name,description:k.description,specifiedByURL:k.specifiedByURL})}function L(k){if(k.interfaces===null&&k.kind===ve.INTERFACE)return[];if(!k.interfaces){const X=z(k);throw new Error(`Introspection result missing interfaces: ${X}.`)}return k.interfaces.map(v)}function R(k){return new ft({name:k.name,description:k.description,interfaces:()=>L(k),fields:()=>Ne(k)})}function J(k){return new Es({name:k.name,description:k.description,interfaces:()=>L(k),fields:()=>Ne(k)})}function pe(k){if(!k.possibleTypes){const X=z(k);throw new Error(`Introspection result missing possibleTypes: ${X}.`)}return new As({name:k.name,description:k.description,types:()=>k.possibleTypes.map(m)})}function Me(k){if(!k.enumValues){const X=z(k);throw new Error(`Introspection result missing enumValues: ${X}.`)}return new wr({name:k.name,description:k.description,values:sr(k.enumValues,X=>X.name,X=>({description:X.description,deprecationReason:X.deprecationReason}))})}function Ee(k){if(!k.inputFields){const X=z(k);throw new Error(`Introspection result missing inputFields: ${X}.`)}return new Ss({name:k.name,description:k.description,fields:()=>nn(k.inputFields)})}function Ne(k){if(!k.fields)throw new Error(`Introspection result missing fields: ${z(k)}.`);return sr(k.fields,X=>X.name,ke)}function ke(k){const X=d(k.type);if(!Bf(X)){const tn=z(X);throw new Error(`Introspection must provide output type for fields, but received: ${tn}.`)}if(!k.args){const tn=z(k);throw new Error(`Introspection result missing field args: ${tn}.`)}return{description:k.description,deprecationReason:k.deprecationReason,type:X,args:nn(k.args)}}function nn(k){return sr(k,X=>X.name,He)}function He(k){const X=d(k.type);if(!Uf(X)){const xt=z(X);throw new Error(`Introspection must provide input type for arguments, but received: ${xt}.`)}const tn=k.defaultValue!=null?Vt(RD(k.defaultValue),X):void 0;return{description:k.description,type:X,defaultValue:tn,deprecationReason:k.deprecationReason}}function dt(k){if(!k.args){const X=z(k);throw new Error(`Introspection result missing directive args: ${X}.`)}if(!k.locations){const X=z(k);throw new Error(`Introspection result missing directive locations: ${X}.`)}return new Wt({name:k.name,description:k.description,isRepeatable:k.isRepeatable,locations:k.locations.slice(),args:nn(k.args)})}}function jv(r,n,t){var s,a,u,c;const f=[],d=Object.create(null),b=[];let m;const v=[];for(const I of n.definitions)if(I.kind===A.SCHEMA_DEFINITION)m=I;else if(I.kind===A.SCHEMA_EXTENSION)v.push(I);else if(_i(I))f.push(I);else if(Go(I)){const M=I.name.value,B=d[M];d[M]=B?B.concat([I]):[I]}else I.kind===A.DIRECTIVE_DEFINITION&&b.push(I);if(Object.keys(d).length===0&&f.length===0&&b.length===0&&v.length===0&&m==null)return r;const N=Object.create(null);for(const I of r.types)N[I.name]=Me(I);for(const I of f){var x;const M=I.name.value;N[M]=(x=Zl[M])!==null&&x!==void 0?x:Tn(I)}const L={query:r.query&&J(r.query),mutation:r.mutation&&J(r.mutation),subscription:r.subscription&&J(r.subscription),...m&&tn([m]),...tn(v)};return{description:(s=m)===null||s===void 0||(a=s.description)===null||a===void 0?void 0:a.value,...L,types:Object.values(N),directives:[...r.directives.map(pe),...b.map(gi)],extensions:Object.create(null),astNode:(u=m)!==null&&u!==void 0?u:r.astNode,extensionASTNodes:r.extensionASTNodes.concat(v),assumeValid:(c=t==null?void 0:t.assumeValid)!==null&&c!==void 0?c:!1};function R(I){return lr(I)?new _n(R(I.ofType)):on(I)?new se(R(I.ofType)):J(I)}function J(I){return N[I.name]}function pe(I){const M=I.toConfig();return new Wt({...M,args:St(M.args,X)})}function Me(I){if(fv(I)||sv(I))return I;if(Yt(I))return ke(I);if(gn(I))return nn(I);if(un(I))return He(I);if(Hn(I))return dt(I);if(Xn(I))return Ne(I);if(Zn(I))return Ee(I);Jn(!1,"Unexpected type: "+z(I))}function Ee(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new Ss({...B,fields:()=>({...St(B.fields,de=>({...de,type:R(de.type)})),...it(P)}),extensionASTNodes:B.extensionASTNodes.concat(P)})}function Ne(I){var M;const B=I.toConfig(),P=(M=d[I.name])!==null&&M!==void 0?M:[];return new wr({...B,values:{...B.values,...Pn(P)},extensionASTNodes:B.extensionASTNodes.concat(P)})}function ke(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];let de=B.specifiedByURL;for(const he of P){var Ue;de=(Ue=Kl(he))!==null&&Ue!==void 0?Ue:de}return new wt({...B,specifiedByURL:de,extensionASTNodes:B.extensionASTNodes.concat(P)})}function nn(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new ft({...B,interfaces:()=>[...I.getInterfaces().map(J),...pr(P)],fields:()=>({...St(B.fields,k),...fr(P)}),extensionASTNodes:B.extensionASTNodes.concat(P)})}function He(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new Es({...B,interfaces:()=>[...I.getInterfaces().map(J),...pr(P)],fields:()=>({...St(B.fields,k),...fr(P)}),extensionASTNodes:B.extensionASTNodes.concat(P)})}function dt(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new As({...B,types:()=>[...I.getTypes().map(J),...Jt(P)],extensionASTNodes:B.extensionASTNodes.concat(P)})}function k(I){return{...I,type:R(I.type),args:I.args&&St(I.args,X)}}function X(I){return{...I,type:R(I.type)}}function tn(I){const M={};for(const P of I){var B;const de=(B=P.operationTypes)!==null&&B!==void 0?B:[];for(const Ue of de)M[Ue.operation]=xt(Ue.type)}return M}function xt(I){var M;const B=I.name.value,P=(M=Zl[B])!==null&&M!==void 0?M:N[B];if(P===void 0)throw new Error(`Unknown type: "${B}".`);return P}function Qt(I){return I.kind===A.LIST_TYPE?new _n(Qt(I.type)):I.kind===A.NON_NULL_TYPE?new se(Qt(I.type)):xt(I)}function gi(I){var M;return new Wt({name:I.name.value,description:(M=I.description)===null||M===void 0?void 0:M.value,locations:I.locations.map(({value:B})=>B),isRepeatable:I.repeatable,args:bi(I.arguments),astNode:I})}function fr(I){const M=Object.create(null);for(const de of I){var B;const Ue=(B=de.fields)!==null&&B!==void 0?B:[];for(const he of Ue){var P;M[he.name.value]={type:Qt(he.type),description:(P=he.description)===null||P===void 0?void 0:P.value,args:bi(he.arguments),deprecationReason:_s(he),astNode:he}}}return M}function bi(I){const M=I??[],B=Object.create(null);for(const de of M){var P;const Ue=Qt(de.type);B[de.name.value]={type:Ue,description:(P=de.description)===null||P===void 0?void 0:P.value,defaultValue:Vt(de.defaultValue,Ue),deprecationReason:_s(de),astNode:de}}return B}function it(I){const M=Object.create(null);for(const de of I){var B;const Ue=(B=de.fields)!==null&&B!==void 0?B:[];for(const he of Ue){var P;const In=Qt(he.type);M[he.name.value]={type:In,description:(P=he.description)===null||P===void 0?void 0:P.value,defaultValue:Vt(he.defaultValue,In),deprecationReason:_s(he),astNode:he}}}return M}function Pn(I){const M=Object.create(null);for(const de of I){var B;const Ue=(B=de.values)!==null&&B!==void 0?B:[];for(const he of Ue){var P;M[he.name.value]={description:(P=he.description)===null||P===void 0?void 0:P.value,deprecationReason:_s(he),astNode:he}}}return M}function pr(I){return I.flatMap(M=>{var B,P;return(B=(P=M.interfaces)===null||P===void 0?void 0:P.map(xt))!==null&&B!==void 0?B:[]})}function Jt(I){return I.flatMap(M=>{var B,P;return(B=(P=M.types)===null||P===void 0?void 0:P.map(xt))!==null&&B!==void 0?B:[]})}function Tn(I){var M;const B=I.name.value,P=(M=d[B])!==null&&M!==void 0?M:[];switch(I.kind){case A.OBJECT_TYPE_DEFINITION:{var de;const Xe=[I,...P];return new ft({name:B,description:(de=I.description)===null||de===void 0?void 0:de.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:I,extensionASTNodes:P})}case A.INTERFACE_TYPE_DEFINITION:{var Ue;const Xe=[I,...P];return new Es({name:B,description:(Ue=I.description)===null||Ue===void 0?void 0:Ue.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:I,extensionASTNodes:P})}case A.ENUM_TYPE_DEFINITION:{var he;const Xe=[I,...P];return new wr({name:B,description:(he=I.description)===null||he===void 0?void 0:he.value,values:Pn(Xe),astNode:I,extensionASTNodes:P})}case A.UNION_TYPE_DEFINITION:{var In;const Xe=[I,...P];return new As({name:B,description:(In=I.description)===null||In===void 0?void 0:In.value,types:()=>Jt(Xe),astNode:I,extensionASTNodes:P})}case A.SCALAR_TYPE_DEFINITION:{var Or;return new wt({name:B,description:(Or=I.description)===null||Or===void 0?void 0:Or.value,specifiedByURL:Kl(I),astNode:I,extensionASTNodes:P})}case A.INPUT_OBJECT_TYPE_DEFINITION:{var kt;const Xe=[I,...P];return new Ss({name:B,description:(kt=I.description)===null||kt===void 0?void 0:kt.value,fields:()=>it(Xe),astNode:I,extensionASTNodes:P})}}}}const Zl=Cr([...Rs,...Bs],r=>r.name);function _s(r){const n=tp(Qf,r);return n==null?void 0:n.reason}function Kl(r){const n=tp(Jf,r);return n==null?void 0:n.url}function Wv(r,n){r!=null&&r.kind===A.DOCUMENT||le(!1,"Must provide valid Document AST."),(n==null?void 0:n.assumeValid)!==!0&&(n==null?void 0:n.assumeValidSDL)!==!0&&qv(r);const s=jv({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},r,n);if(s.astNode==null)for(const u of s.types)switch(u.name){case"Query":s.query=u;break;case"Mutation":s.mutation=u;break;case"Subscription":s.subscription=u;break}const a=[...s.directives,...kr.filter(u=>s.directives.every(c=>c.name!==u.name))];return new np({...s,directives:a})}function Yv(r,n){const t=LD(r,{noLocation:n==null?void 0:n.noLocation,allowLegacyFragmentVariables:n==null?void 0:n.allowLegacyFragmentVariables});return Wv(t,{assumeValidSDL:n==null?void 0:n.assumeValidSDL,assumeValid:n==null?void 0:n.assumeValid})}const ef=`schema { +`))}function qv(r,n){Ct(r)&&Ct(r.__schema)||le(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${z(r)}.`);const t=r.__schema,s=sr(t.types,k=>k.name,k=>w(k));for(const k of[...Rs,...Bs])s[k.name]&&(s[k.name]=k);const a=t.queryType?m(t.queryType):null,u=t.mutationType?m(t.mutationType):null,c=t.subscriptionType?m(t.subscriptionType):null,f=t.directives?t.directives.map(dt):[];return new np({description:t.description,query:a,mutation:u,subscription:c,types:Object.values(s),directives:f,assumeValid:void 0});function d(k){if(k.kind===ve.LIST){const X=k.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");return new hn(d(X))}if(k.kind===ve.NON_NULL){const X=k.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");const tn=d(X);return new se(XD(tn))}return b(k)}function b(k){const X=k.name;if(!X)throw new Error(`Unknown type reference: ${z(k)}.`);const tn=s[X];if(!tn)throw new Error(`Invalid or incomplete schema, unknown type: ${X}. Ensure that a full introspection query is used in order to build a client schema.`);return tn}function m(k){return QD(b(k))}function v(k){return JD(b(k))}function w(k){if(k!=null&&k.name!=null&&k.kind!=null)switch(k.kind){case ve.SCALAR:return x(k);case ve.OBJECT:return R(k);case ve.INTERFACE:return J(k);case ve.UNION:return pe(k);case ve.ENUM:return Me(k);case ve.INPUT_OBJECT:return Ee(k)}const X=z(k);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${X}.`)}function x(k){return new wt({name:k.name,description:k.description,specifiedByURL:k.specifiedByURL})}function L(k){if(k.interfaces===null&&k.kind===ve.INTERFACE)return[];if(!k.interfaces){const X=z(k);throw new Error(`Introspection result missing interfaces: ${X}.`)}return k.interfaces.map(v)}function R(k){return new ft({name:k.name,description:k.description,interfaces:()=>L(k),fields:()=>Ne(k)})}function J(k){return new Es({name:k.name,description:k.description,interfaces:()=>L(k),fields:()=>Ne(k)})}function pe(k){if(!k.possibleTypes){const X=z(k);throw new Error(`Introspection result missing possibleTypes: ${X}.`)}return new As({name:k.name,description:k.description,types:()=>k.possibleTypes.map(m)})}function Me(k){if(!k.enumValues){const X=z(k);throw new Error(`Introspection result missing enumValues: ${X}.`)}return new wr({name:k.name,description:k.description,values:sr(k.enumValues,X=>X.name,X=>({description:X.description,deprecationReason:X.deprecationReason}))})}function Ee(k){if(!k.inputFields){const X=z(k);throw new Error(`Introspection result missing inputFields: ${X}.`)}return new Ss({name:k.name,description:k.description,fields:()=>nn(k.inputFields)})}function Ne(k){if(!k.fields)throw new Error(`Introspection result missing fields: ${z(k)}.`);return sr(k.fields,X=>X.name,ke)}function ke(k){const X=d(k.type);if(!Bf(X)){const tn=z(X);throw new Error(`Introspection must provide output type for fields, but received: ${tn}.`)}if(!k.args){const tn=z(k);throw new Error(`Introspection result missing field args: ${tn}.`)}return{description:k.description,deprecationReason:k.deprecationReason,type:X,args:nn(k.args)}}function nn(k){return sr(k,X=>X.name,He)}function He(k){const X=d(k.type);if(!Uf(X)){const xt=z(X);throw new Error(`Introspection must provide input type for arguments, but received: ${xt}.`)}const tn=k.defaultValue!=null?Vt(RD(k.defaultValue),X):void 0;return{description:k.description,type:X,defaultValue:tn,deprecationReason:k.deprecationReason}}function dt(k){if(!k.args){const X=z(k);throw new Error(`Introspection result missing directive args: ${X}.`)}if(!k.locations){const X=z(k);throw new Error(`Introspection result missing directive locations: ${X}.`)}return new jt({name:k.name,description:k.description,isRepeatable:k.isRepeatable,locations:k.locations.slice(),args:nn(k.args)})}}function zv(r,n,t){var s,a,u,c;const f=[],d=Object.create(null),b=[];let m;const v=[];for(const I of n.definitions)if(I.kind===A.SCHEMA_DEFINITION)m=I;else if(I.kind===A.SCHEMA_EXTENSION)v.push(I);else if(_i(I))f.push(I);else if(Go(I)){const M=I.name.value,B=d[M];d[M]=B?B.concat([I]):[I]}else I.kind===A.DIRECTIVE_DEFINITION&&b.push(I);if(Object.keys(d).length===0&&f.length===0&&b.length===0&&v.length===0&&m==null)return r;const w=Object.create(null);for(const I of r.types)w[I.name]=Me(I);for(const I of f){var x;const M=I.name.value;w[M]=(x=Zl[M])!==null&&x!==void 0?x:Tn(I)}const L={query:r.query&&J(r.query),mutation:r.mutation&&J(r.mutation),subscription:r.subscription&&J(r.subscription),...m&&tn([m]),...tn(v)};return{description:(s=m)===null||s===void 0||(a=s.description)===null||a===void 0?void 0:a.value,...L,types:Object.values(w),directives:[...r.directives.map(pe),...b.map(gi)],extensions:Object.create(null),astNode:(u=m)!==null&&u!==void 0?u:r.astNode,extensionASTNodes:r.extensionASTNodes.concat(v),assumeValid:(c=t==null?void 0:t.assumeValid)!==null&&c!==void 0?c:!1};function R(I){return lr(I)?new hn(R(I.ofType)):gn(I)?new se(R(I.ofType)):J(I)}function J(I){return w[I.name]}function pe(I){const M=I.toConfig();return new jt({...M,args:St(M.args,X)})}function Me(I){if(fv(I)||sv(I))return I;if(Wt(I))return ke(I);if(_n(I))return nn(I);if(on(I))return He(I);if(Hn(I))return dt(I);if(Xn(I))return Ne(I);if(Zn(I))return Ee(I);Jn(!1,"Unexpected type: "+z(I))}function Ee(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new Ss({...B,fields:()=>({...St(B.fields,de=>({...de,type:R(de.type)})),...it(P)}),extensionASTNodes:B.extensionASTNodes.concat(P)})}function Ne(I){var M;const B=I.toConfig(),P=(M=d[I.name])!==null&&M!==void 0?M:[];return new wr({...B,values:{...B.values,...Pn(P)},extensionASTNodes:B.extensionASTNodes.concat(P)})}function ke(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];let de=B.specifiedByURL;for(const he of P){var Ue;de=(Ue=Kl(he))!==null&&Ue!==void 0?Ue:de}return new wt({...B,specifiedByURL:de,extensionASTNodes:B.extensionASTNodes.concat(P)})}function nn(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new ft({...B,interfaces:()=>[...I.getInterfaces().map(J),...pr(P)],fields:()=>({...St(B.fields,k),...fr(P)}),extensionASTNodes:B.extensionASTNodes.concat(P)})}function He(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new Es({...B,interfaces:()=>[...I.getInterfaces().map(J),...pr(P)],fields:()=>({...St(B.fields,k),...fr(P)}),extensionASTNodes:B.extensionASTNodes.concat(P)})}function dt(I){var M;const B=I.toConfig(),P=(M=d[B.name])!==null&&M!==void 0?M:[];return new As({...B,types:()=>[...I.getTypes().map(J),...Jt(P)],extensionASTNodes:B.extensionASTNodes.concat(P)})}function k(I){return{...I,type:R(I.type),args:I.args&&St(I.args,X)}}function X(I){return{...I,type:R(I.type)}}function tn(I){const M={};for(const P of I){var B;const de=(B=P.operationTypes)!==null&&B!==void 0?B:[];for(const Ue of de)M[Ue.operation]=xt(Ue.type)}return M}function xt(I){var M;const B=I.name.value,P=(M=Zl[B])!==null&&M!==void 0?M:w[B];if(P===void 0)throw new Error(`Unknown type: "${B}".`);return P}function Qt(I){return I.kind===A.LIST_TYPE?new hn(Qt(I.type)):I.kind===A.NON_NULL_TYPE?new se(Qt(I.type)):xt(I)}function gi(I){var M;return new jt({name:I.name.value,description:(M=I.description)===null||M===void 0?void 0:M.value,locations:I.locations.map(({value:B})=>B),isRepeatable:I.repeatable,args:bi(I.arguments),astNode:I})}function fr(I){const M=Object.create(null);for(const de of I){var B;const Ue=(B=de.fields)!==null&&B!==void 0?B:[];for(const he of Ue){var P;M[he.name.value]={type:Qt(he.type),description:(P=he.description)===null||P===void 0?void 0:P.value,args:bi(he.arguments),deprecationReason:_s(he),astNode:he}}}return M}function bi(I){const M=I??[],B=Object.create(null);for(const de of M){var P;const Ue=Qt(de.type);B[de.name.value]={type:Ue,description:(P=de.description)===null||P===void 0?void 0:P.value,defaultValue:Vt(de.defaultValue,Ue),deprecationReason:_s(de),astNode:de}}return B}function it(I){const M=Object.create(null);for(const de of I){var B;const Ue=(B=de.fields)!==null&&B!==void 0?B:[];for(const he of Ue){var P;const In=Qt(he.type);M[he.name.value]={type:In,description:(P=he.description)===null||P===void 0?void 0:P.value,defaultValue:Vt(he.defaultValue,In),deprecationReason:_s(he),astNode:he}}}return M}function Pn(I){const M=Object.create(null);for(const de of I){var B;const Ue=(B=de.values)!==null&&B!==void 0?B:[];for(const he of Ue){var P;M[he.name.value]={description:(P=he.description)===null||P===void 0?void 0:P.value,deprecationReason:_s(he),astNode:he}}}return M}function pr(I){return I.flatMap(M=>{var B,P;return(B=(P=M.interfaces)===null||P===void 0?void 0:P.map(xt))!==null&&B!==void 0?B:[]})}function Jt(I){return I.flatMap(M=>{var B,P;return(B=(P=M.types)===null||P===void 0?void 0:P.map(xt))!==null&&B!==void 0?B:[]})}function Tn(I){var M;const B=I.name.value,P=(M=d[B])!==null&&M!==void 0?M:[];switch(I.kind){case A.OBJECT_TYPE_DEFINITION:{var de;const Xe=[I,...P];return new ft({name:B,description:(de=I.description)===null||de===void 0?void 0:de.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:I,extensionASTNodes:P})}case A.INTERFACE_TYPE_DEFINITION:{var Ue;const Xe=[I,...P];return new Es({name:B,description:(Ue=I.description)===null||Ue===void 0?void 0:Ue.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:I,extensionASTNodes:P})}case A.ENUM_TYPE_DEFINITION:{var he;const Xe=[I,...P];return new wr({name:B,description:(he=I.description)===null||he===void 0?void 0:he.value,values:Pn(Xe),astNode:I,extensionASTNodes:P})}case A.UNION_TYPE_DEFINITION:{var In;const Xe=[I,...P];return new As({name:B,description:(In=I.description)===null||In===void 0?void 0:In.value,types:()=>Jt(Xe),astNode:I,extensionASTNodes:P})}case A.SCALAR_TYPE_DEFINITION:{var Or;return new wt({name:B,description:(Or=I.description)===null||Or===void 0?void 0:Or.value,specifiedByURL:Kl(I),astNode:I,extensionASTNodes:P})}case A.INPUT_OBJECT_TYPE_DEFINITION:{var kt;const Xe=[I,...P];return new Ss({name:B,description:(kt=I.description)===null||kt===void 0?void 0:kt.value,fields:()=>it(Xe),astNode:I,extensionASTNodes:P})}}}}const Zl=Cr([...Rs,...Bs],r=>r.name);function _s(r){const n=tp(Qf,r);return n==null?void 0:n.reason}function Kl(r){const n=tp(Jf,r);return n==null?void 0:n.url}function Yv(r,n){r!=null&&r.kind===A.DOCUMENT||le(!1,"Must provide valid Document AST."),(n==null?void 0:n.assumeValid)!==!0&&(n==null?void 0:n.assumeValidSDL)!==!0&&Vv(r);const s=zv({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},r,n);if(s.astNode==null)for(const u of s.types)switch(u.name){case"Query":s.query=u;break;case"Mutation":s.mutation=u;break;case"Subscription":s.subscription=u;break}const a=[...s.directives,...kr.filter(u=>s.directives.every(c=>c.name!==u.name))];return new np({...s,directives:a})}function jv(r,n){const t=LD(r,{noLocation:void 0,allowLegacyFragmentVariables:void 0});return Yv(t,{assumeValidSDL:void 0,assumeValid:void 0})}const ef=`schema { query: query } @@ -2993,7 +2993,7 @@ type Connection_UserPerformance { type Node_UserPerformance { node: UserPerformance cursor: String! -}`;class Qv{constructor(n){Se(this,"mapping");this.mapping=n}getFor(n){return this.mapping.get(n.name)}}var oi;(function(r){r.UNION="union",r.ARGUMENT="argument",r.FIELD="field"})(oi||(oi={}));function Jv(r){const n=new Map;return Hv(r,t=>{gn(t)&&Xv(t,s=>{const a=Ao(s.type);po(n,a).references.push({kind:oi.FIELD,parent:t,by:s}),Zv(s,c=>{const f=Ao(c.type);po(n,f).references.push({kind:oi.ARGUMENT,field:s,type:t,by:c})})}),Hn(t)&&t.getTypes().forEach(s=>{po(n,s).references.push({kind:oi.UNION,by:t})})}),new Qv(n)}function Hv(r,n){Object.entries(r.getTypeMap()).forEach(([,t])=>{t.name.startsWith("__")||n(t)})}function Xv(r,n){Object.entries(r.getFields()).forEach(([,t])=>{n(t)})}function Zv(r,n){Object.entries(r.args).forEach(([,t])=>{n(t)})}function po(r,n){let t=r.get(n.name);return t||(t={references:[]},r.set(n.name,t)),t}function Ao(r){return on(r)||lr(r)?Ao(r.ofType):r}const cn=fE(),So=Cs(Ns.DIRECTIVES,[]);var tf;const Kv=Ps((tf=cn.getQueryType())==null?void 0:tf.getFields());var rf;const eE=Ps((rf=cn.getMutationType())==null?void 0:rf.getFields());var sf;const nE=Ps((sf=cn.getSubscriptionType())==null?void 0:sf.getFields()),Vo=Nt.keyBy(sp(),r=>r.name.toLocaleLowerCase()),tE=Nt.mapValues(Vo,r=>{const n=So.find(t=>(t==null?void 0:t.name)===r.name||(t==null?void 0:t.name)==="*");return n?n.args.some(t=>t==="*")?r.args:n.args.map(t=>r.args.find(s=>s.name===t)).filter(t=>!!t):[]}),rE=Ps(cn.getTypeMap()),iE=Jv(cn);function Ps(r){return Nt.mapKeys(r||{},(n,t)=>t.toLocaleLowerCase())}function sE(){return Nt.size(cn.getTypeMap())<=10}function aE(){return[ho("Queries",cn.getQueryType()),ho("Mutations",cn.getMutationType()),ho("Subscriptions",cn.getSubscriptionType()),pE(),cE()].filter(r=>!!r)}function ho(r,n){return uE(r,oE(n))}function oE(r){return Nt.sortBy((r==null?void 0:r.getFields())||{},n=>n.name)}function uE(r,n){return n.length===0?null:{type:"menu",title:r,children:n.map(t=>({type:"page",title:t.name,section:r,deprecated:!!t.deprecationReason,href:di.joinUrlPaths(ws(),r.toLocaleLowerCase(),t.name)}))}}function cE(){return sE()?null:{type:"menu",title:"Types",children:Nt.sortBy(Nt.map(cn.getTypeMap()),n=>n.name).filter(n=>!n.name.startsWith("__")).map(n=>({type:"page",title:n.name,section:"Types",href:di.joinUrlPaths(ws(),"types",n.name)}))}}function yE(){return!!cn.getQueryType()}function NE(r){return Kv[r.toLocaleLowerCase()]}function CE(){return!!cn.getMutationType()}function wE(r){return eE[r.toLocaleLowerCase()]}function xE(){return!!cn.getSubscriptionType()}function kE(r){return nE[r.toLocaleLowerCase()]}function OE(r){return rE[r.toLocaleLowerCase()]}function lE(r){return Vo[r.toLocaleLowerCase()]}function LE(r){return lE(r.name)!==void 0}function RE(){return Nt.size(Vo)>0}function UE(r){return tE[r.name.toLocaleLowerCase()]||[]}function BE(r){if(r)return iE.getFor(r)}function PE(r){return Nt.flatMap(r.getFields(),n=>({field:n,possibleDescriptions:ip(n,r)}))}function ip(r,n){return r?r.description?[{description:r.description,from:n}]:gn(n)?n.getInterfaces().flatMap(t=>ip(t.getFields()[r.name],t)):[]:[]}function sp(){return So.some(r=>(r==null?void 0:r.name)==="*")?cn.getDirectives().filter(r=>!["include","skip","deprecated","specifiedBy"].includes(r.name)):So.filter(r=>!!(r!=null&&r.name)).map(({name:r})=>r?cn.getDirective(r):void 0).filter(r=>!!r)}function fE(){return ef.trim().length===0?zv(JSON.parse(JSON.stringify({__schema:{types:[]}}))):Yv(ef)}function pE(){const r=sp();return r.length===0?null:{type:"menu",title:"Directives",children:r.map(n=>({type:"page",title:n.name,href:di.joinUrlPaths(ws(),"directives",n.name),section:"Directives"}))}}const $E=Cs(Ns.APP_TITLE,"GraphQL Documentation"),ap=hE().concat(aE());gE(ap);const dE=Object.freeze(ap),ME=_E();function hE(){return Cs(Ns.PAGES,mE()).filter(n=>!!n).map(n=>up([],n))}function _E(){const r=bE();if(r)return r.href;throw new Error("No custom pages or query available to use as the root application URL. You need to provide at least one custom page or your schema should contain at least one query/mutation/subscription.")}function gE(r){function n(s,a){for(const u of s){if(u.type==="page"){a(u);continue}u.type==="menu"&&n(u.children,a)}}let t;n(r,s=>{t&&(t.next={title:s.title,section:s.section,href:s.href},s.previous={title:t.title,section:t.section,href:t.href}),t=s})}function bE(){return op(()=>!0)}function GE(r){return op(n=>n.href.toLocaleLowerCase()===r.toLocaleLowerCase())}function op(r){function n(t){for(const s of t){if(s.type==="page"&&r(s))return s;if(s.type==="menu"){const a=n(s.children);if(a)return a}}return null}return n(dE)}function up(r,n){if(typeof n.content=="string")return{type:"page",title:n.title,content:n.content,href:di.joinUrlPaths(ws(),...r,nf(n.title))};const t=r.concat([nf(n.title)]);return{type:"menu",title:n.title,children:n.content.map(s=>({...up(t,s),section:n.title}))}}function nf(r){return di.generatePathSegment(r,new vf)}function mE(){return[{title:"Introduction",content:[{title:"Welcome",content:` +}`;class Wv{constructor(n){Se(this,"mapping");this.mapping=n}getFor(n){return this.mapping.get(n.name)}}var oi;(function(r){r.UNION="union",r.ARGUMENT="argument",r.FIELD="field"})(oi||(oi={}));function Qv(r){const n=new Map;return Jv(r,t=>{_n(t)&&Hv(t,s=>{const a=Ao(s.type);po(n,a).references.push({kind:oi.FIELD,parent:t,by:s}),Xv(s,c=>{const f=Ao(c.type);po(n,f).references.push({kind:oi.ARGUMENT,field:s,type:t,by:c})})}),Hn(t)&&t.getTypes().forEach(s=>{po(n,s).references.push({kind:oi.UNION,by:t})})}),new Wv(n)}function Jv(r,n){Object.entries(r.getTypeMap()).forEach(([,t])=>{t.name.startsWith("__")||n(t)})}function Hv(r,n){Object.entries(r.getFields()).forEach(([,t])=>{n(t)})}function Xv(r,n){Object.entries(r.args).forEach(([,t])=>{n(t)})}function po(r,n){let t=r.get(n.name);return t||(t={references:[]},r.set(n.name,t)),t}function Ao(r){return gn(r)||lr(r)?Ao(r.ofType):r}const un=lE(),So=Cs(Ns.DIRECTIVES,[]);var tf;const Zv=Ps((tf=un.getQueryType())==null?void 0:tf.getFields());var rf;const Kv=Ps((rf=un.getMutationType())==null?void 0:rf.getFields());var sf;const eE=Ps((sf=un.getSubscriptionType())==null?void 0:sf.getFields()),Vo=Nt.keyBy(sp(),r=>r.name.toLocaleLowerCase()),nE=Nt.mapValues(Vo,r=>{const n=So.find(t=>(t==null?void 0:t.name)===r.name||(t==null?void 0:t.name)==="*");return n?n.args.some(t=>t==="*")?r.args:n.args.map(t=>r.args.find(s=>s.name===t)).filter(t=>!!t):[]}),tE=Ps(un.getTypeMap()),rE=Qv(un);function Ps(r){return Nt.mapKeys(r||{},(n,t)=>t.toLocaleLowerCase())}function iE(){return Nt.size(un.getTypeMap())<=10}function sE(){return[ho("Queries",un.getQueryType()),ho("Mutations",un.getMutationType()),ho("Subscriptions",un.getSubscriptionType()),fE(),uE()].filter(r=>!!r)}function ho(r,n){return oE(r,aE(n))}function aE(r){return Nt.sortBy((r==null?void 0:r.getFields())||{},n=>n.name)}function oE(r,n){return n.length===0?null:{type:"menu",title:r,children:n.map(t=>({type:"page",title:t.name,section:r,deprecated:!!t.deprecationReason,href:di.joinUrlPaths(ws(),r.toLocaleLowerCase(),t.name)}))}}function uE(){return iE()?null:{type:"menu",title:"Types",children:Nt.sortBy(Nt.map(un.getTypeMap()),n=>n.name).filter(n=>!n.name.startsWith("__")).map(n=>({type:"page",title:n.name,section:"Types",href:di.joinUrlPaths(ws(),"types",n.name)}))}}function IE(){return!!un.getQueryType()}function yE(r){return Zv[r.toLocaleLowerCase()]}function NE(){return!!un.getMutationType()}function CE(r){return Kv[r.toLocaleLowerCase()]}function wE(){return!!un.getSubscriptionType()}function xE(r){return eE[r.toLocaleLowerCase()]}function kE(r){return tE[r.toLocaleLowerCase()]}function cE(r){return Vo[r.toLocaleLowerCase()]}function OE(r){return cE(r.name)!==void 0}function LE(){return Nt.size(Vo)>0}function RE(r){return nE[r.name.toLocaleLowerCase()]||[]}function UE(r){if(r)return rE.getFor(r)}function BE(r){return Nt.flatMap(r.getFields(),n=>({field:n,possibleDescriptions:ip(n,r)}))}function ip(r,n){return r?r.description?[{description:r.description,from:n}]:_n(n)?n.getInterfaces().flatMap(t=>ip(t.getFields()[r.name],t)):[]:[]}function sp(){return So.some(r=>(r==null?void 0:r.name)==="*")?un.getDirectives().filter(r=>!["include","skip","deprecated","specifiedBy"].includes(r.name)):So.filter(r=>!!(r!=null&&r.name)).map(({name:r})=>r?un.getDirective(r):void 0).filter(r=>!!r)}function lE(){return ef.trim().length===0?qv(JSON.parse(JSON.stringify({__schema:{types:[]}}))):jv(ef)}function fE(){const r=sp();return r.length===0?null:{type:"menu",title:"Directives",children:r.map(n=>({type:"page",title:n.name,href:di.joinUrlPaths(ws(),"directives",n.name),section:"Directives"}))}}const PE=Cs(Ns.APP_TITLE,"GraphQL Documentation"),ap=dE().concat(sE());_E(ap);const pE=Object.freeze(ap),$E=hE();function dE(){return Cs(Ns.PAGES,bE()).filter(n=>!!n).map(n=>up([],n))}function hE(){const r=gE();if(r)return r.href;throw new Error("No custom pages or query available to use as the root application URL. You need to provide at least one custom page or your schema should contain at least one query/mutation/subscription.")}function _E(r){function n(s,a){for(const u of s){if(u.type==="page"){a(u);continue}u.type==="menu"&&n(u.children,a)}}let t;n(r,s=>{t&&(t.next={title:s.title,section:s.section,href:s.href},s.previous={title:t.title,section:t.section,href:t.href}),t=s})}function gE(){return op(()=>!0)}function ME(r){return op(n=>n.href.toLocaleLowerCase()===r.toLocaleLowerCase())}function op(r){function n(t){for(const s of t){if(s.type==="page"&&r(s))return s;if(s.type==="menu"){const a=n(s.children);if(a)return a}}return null}return n(pE)}function up(r,n){if(typeof n.content=="string")return{type:"page",title:n.title,content:n.content,href:di.joinUrlPaths(ws(),...r,nf(n.title))};const t=r.concat([nf(n.title)]);return{type:"menu",title:n.title,children:n.content.map(s=>({...up(t,s),section:n.title}))}}function nf(r){return di.generatePathSegment(r,new vf)}function bE(){return[{title:"Introduction",content:[{title:"Welcome",content:` # Welcome 🎉 [Congratulations!](https://www.youtube.com/watch?v=1Bix44C1EzY) You have successfully created your first Magidoc website. @@ -3002,4 +3002,4 @@ type Node_UserPerformance { If you wish to remove or modify this page, have a look at the *customPages* configuration. `.split(` `).map(r=>r.trim()).join(` -`)}]}]}export{Z1 as A,sE as B,OE as C,BE as D,Yt as E,Xn as F,un as G,Hn as H,gn as I,Zn as J,A as K,PE as L,ZD as M,Pf as N,TE as O,Is as P,cf as Q,oi as R,SE as S,vf as T,be as U,Yn as V,$E as W,Nt as _,CE as a,yE as b,NE as c,xE as d,kE as e,GE as f,wE as g,ME as h,UE as i,ws as j,LE as k,of as l,AE as m,RE as n,lE as o,dE as p,$f as q,lr as r,cn as s,on as t,di as u,IE as v,Cs as w,Ns as x,ut as y,ni as z}; +`)}]}]}export{Z1 as A,iE as B,kE as C,UE as D,Wt as E,Xn as F,on as G,Hn as H,_n as I,Zn as J,A as K,BE as L,ZD as M,Pf as N,SE as O,Is as P,cf as Q,oi as R,AE as S,vf as T,be as U,Wn as V,PE as W,Nt as _,NE as a,IE as b,yE as c,wE as d,xE as e,ME as f,CE as g,$E as h,RE as i,ws as j,OE as k,of as l,EE as m,LE as n,cE as o,pE as p,$f as q,lr as r,un as s,gn as t,di as u,TE as v,Cs as w,Ns as x,ut as y,ni as z}; diff --git a/public/docs/_app/immutable/chunks/scheduler.Eaj42bxH.js b/public/docs/_app/immutable/chunks/scheduler.BZkyrStM.js similarity index 67% rename from public/docs/_app/immutable/chunks/scheduler.Eaj42bxH.js rename to public/docs/_app/immutable/chunks/scheduler.BZkyrStM.js index 2b1783c..a863776 100644 --- a/public/docs/_app/immutable/chunks/scheduler.Eaj42bxH.js +++ b/public/docs/_app/immutable/chunks/scheduler.BZkyrStM.js @@ -1 +1 @@ -var R=Object.defineProperty;var G=(t,e,n)=>e in t?R(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>(G(t,typeof e!="symbol"?e+"":e,n),n);function z(){}const ft=t=>t;function F(t,e){for(const n in e)t[n]=e[n];return t}function _t(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function I(t){return t()}function ht(){return Object.create(null)}function U(t){t.forEach(I)}function dt(t){return typeof t=="function"}function mt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function pt(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function yt(t){return Object.keys(t).length===0}function H(t,...e){if(t==null){for(const i of e)i(void 0);return z}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function gt(t){let e;return H(t,n=>e=n)(),e}function bt(t,e,n){t.$$.on_destroy.push(H(e,n))}function xt(t,e,n,i){if(t){const s=L(t,e,n,i);return t[0](s)}}function L(t,e,n,i){return t[1]&&i?F(n.ctx.slice(),t[1](i(e))):n.ctx}function Et(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],c=Math.max(e.dirty.length,s.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function J(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const r=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:W(1,s,B=>e[n[B]].claim_order,a))-1;i[r]=n[u]+1;const j=u+1;n[j]=r,s=Math.max(j,s)}const l=[],c=[];let o=e.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(l.push(e[r-1]);o>=r;o--)c.push(e[o]);o--}for(;o>=0;o--)c.push(e[o]);l.reverse(),c.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=l[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function St(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ot(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function A(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const $=["width","height"];function tt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&$.indexOf(i)===-1?t[i]=e[i]:A(t,i,e[i])}function qt(t,e){for(const n in e)A(t,n,e[n])}function et(t,e){Object.keys(e).forEach(n=>{nt(t,n,e[n])})}function nt(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:A(t,e,n)}function Bt(t){return/-/.test(t)?et:tt}function Rt(t){return t.dataset.svelteH}function Gt(t){return Array.from(t.childNodes)}function P(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function S(t,e,n,i,s=!1){P(t);const l=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const o=t[c];if(e(o)){const r=n(o);return r===void 0?t.splice(c,1):t[c]=r,s?r===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function O(t,e,n,i){return S(t,s=>s.nodeName===e,s=>{const l=[];for(let c=0;cs.removeAttribute(c))},()=>i(e))}function zt(t,e,n){return O(t,e,n,v)}function Ft(t,e,n){return O(t,e,n,M)}function it(t,e){return S(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function It(t){return it(t," ")}function C(t,e,n){for(let i=n;i0&&n.push(s);return n}class ct{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=M(n.nodeName):this.e=v(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n{const s=t.$$.callbacks[e];if(s){const l=st(e,n,{cancelable:i});return s.slice().forEach(c=>{c.call(t,l)}),!l.defaultPrevented}return!0}}function ee(t,e){return d().$$.context.set(t,e),e}function ne(t){return d().$$.context.get(t)}function ie(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],D=[];let h=[];const T=[],q=Promise.resolve();let N=!1;function rt(){N||(N=!0,q.then(ot))}function se(){return rt(),q}function lt(t){h.push(t)}function ce(t){T.push(t)}const E=new Set;let _=0;function ot(){if(_!==0)return;const t=y;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),h=e}export{jt as $,Pt as A,kt as B,ne as C,D,xt as E,wt as F,Tt as G,Et as H,Xt as I,Zt as J,Yt as K,Kt as L,se as M,Q as N,Dt as O,lt as P,st as Q,ft as R,ht as S,ot as T,yt as U,re as V,y as W,x as X,I as Y,m as Z,rt as _,H as a,Ct as a0,te as a1,Ht as a2,Rt as a3,M as a4,Ft as a5,qt as a6,ce as a7,_t as a8,d as a9,ee as aa,St as ab,Ot as ac,Bt as ad,Jt as ae,gt as af,At as ag,b as ah,Ut as ai,$t as aj,pt as ak,Lt as b,It as c,w as d,v as e,zt as f,Gt as g,Vt as h,dt as i,it as j,A as k,Z as l,X as m,z as n,Wt as o,bt as p,Mt as q,U as r,mt as s,k as t,vt as u,F as v,Nt as w,ie as x,tt as y,Qt as z}; +var R=Object.defineProperty;var G=(t,e,n)=>e in t?R(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>(G(t,typeof e!="symbol"?e+"":e,n),n);function z(){}const ft=t=>t;function F(t,e){for(const n in e)t[n]=e[n];return t}function _t(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function I(t){return t()}function ht(){return Object.create(null)}function U(t){t.forEach(I)}function dt(t){return typeof t=="function"}function mt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function pt(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function yt(t){return Object.keys(t).length===0}function H(t,...e){if(t==null){for(const i of e)i(void 0);return z}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function gt(t){let e;return H(t,n=>e=n)(),e}function bt(t,e,n){t.$$.on_destroy.push(H(e,n))}function xt(t,e,n,i){if(t){const s=L(t,e,n,i);return t[0](s)}}function L(t,e,n,i){return t[1]&&i?F(n.ctx.slice(),t[1](i(e))):n.ctx}function Et(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],c=Math.max(e.dirty.length,s.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function J(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const r=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:W(1,s,B=>e[n[B]].claim_order,a))-1;i[r]=n[u]+1;const j=u+1;n[j]=r,s=Math.max(j,s)}const l=[],c=[];let o=e.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(l.push(e[r-1]);o>=r;o--)c.push(e[o]);o--}for(;o>=0;o--)c.push(e[o]);l.reverse(),c.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=l[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function St(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ot(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function A(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const $=["width","height"];function tt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&$.indexOf(i)===-1?t[i]=e[i]:A(t,i,e[i])}function qt(t,e){for(const n in e)A(t,n,e[n])}function et(t,e){Object.keys(e).forEach(n=>{nt(t,n,e[n])})}function nt(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:A(t,e,n)}function Bt(t){return/-/.test(t)?et:tt}function Rt(t){return t.dataset.svelteH}function Gt(t){return Array.from(t.childNodes)}function P(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function S(t,e,n,i,s=!1){P(t);const l=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const o=t[c];if(e(o)){const r=n(o);return r===void 0?t.splice(c,1):t[c]=r,s?r===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function O(t,e,n,i){return S(t,s=>s.nodeName===e,s=>{const l=[];for(let c=0;cs.removeAttribute(c))},()=>i(e))}function zt(t,e,n){return O(t,e,n,v)}function Ft(t,e,n){return O(t,e,n,M)}function it(t,e){return S(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function It(t){return it(t," ")}function C(t,e,n){for(let i=n;i0&&n.push(s);return n}class ct{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=M(n.nodeName):this.e=v(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n{const s=t.$$.callbacks[e];if(s){const l=st(e,n,{cancelable:i});return s.slice().forEach(c=>{c.call(t,l)}),!l.defaultPrevented}return!0}}function ee(t,e){return d().$$.context.set(t,e),e}function ne(t){return d().$$.context.get(t)}function ie(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],D=[];let h=[];const T=[],q=Promise.resolve();let N=!1;function rt(){N||(N=!0,q.then(ot))}function se(){return rt(),q}function lt(t){h.push(t)}function ce(t){T.push(t)}const E=new Set;let _=0;function ot(){if(_!==0)return;const t=y;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),h=e}export{jt as $,Pt as A,kt as B,ne as C,D,xt as E,wt as F,Tt as G,Et as H,Xt as I,Zt as J,Yt as K,Kt as L,se as M,Q as N,Dt as O,lt as P,st as Q,ft as R,ht as S,ot as T,yt as U,re as V,y as W,x as X,I as Y,m as Z,rt as _,H as a,Ct as a0,te as a1,Ht as a2,Rt as a3,M as a4,Ft as a5,qt as a6,ce as a7,_t as a8,d as a9,ee as aa,St as ab,Ot as ac,Bt as ad,Jt as ae,gt as af,At as ag,b as ah,Ut as ai,$t as aj,pt as ak,Lt as b,It as c,w as d,v as e,zt as f,Gt as g,Vt as h,dt as i,it as j,A as k,Z as l,X as m,z as n,Wt as o,bt as p,Mt as q,U as r,mt as s,k as t,vt as u,F as v,Nt as w,ie as x,tt as y,Qt as z}; diff --git a/public/docs/_app/immutable/chunks/stores.DOnVSvaY.js b/public/docs/_app/immutable/chunks/stores.DixFfSw6.js similarity index 72% rename from public/docs/_app/immutable/chunks/stores.DOnVSvaY.js rename to public/docs/_app/immutable/chunks/stores.DixFfSw6.js index b077b86..6a95c0b 100644 --- a/public/docs/_app/immutable/chunks/stores.DOnVSvaY.js +++ b/public/docs/_app/immutable/chunks/stores.DixFfSw6.js @@ -1 +1 @@ -import{s as e}from"./entry.KXDGpGCl.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{s as e}from"./entry.thCgVuzy.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/public/docs/_app/immutable/entry/app.Do3m6QIW.js b/public/docs/_app/immutable/entry/app.Bc5lhMB3.js similarity index 79% rename from public/docs/_app/immutable/entry/app.Do3m6QIW.js rename to public/docs/_app/immutable/entry/app.Bc5lhMB3.js index e2e926e..3b6cc58 100644 --- a/public/docs/_app/immutable/entry/app.Do3m6QIW.js +++ b/public/docs/_app/immutable/entry/app.Bc5lhMB3.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["../nodes/0.I_TbEO6i.js","../chunks/scheduler.Eaj42bxH.js","../chunks/index.CMSEJhCx.js","../chunks/pages.DBBWeKUc.js","../chunks/control.DVZ9YK-Y.js","../assets/pages.BZ7dBxQt.css","../chunks/ChevronDown.BMDCihU_.js","../assets/ChevronDown.DFnX4Nf0.css","../chunks/prism-json.CMKj7kFV.js","../chunks/index.Cx9QXIn7.js","../chunks/Button.DCPk-vpN.js","../chunks/stores.DOnVSvaY.js","../chunks/entry.KXDGpGCl.js","../assets/0.Dc85tgr_.css","../nodes/1.BieY6pKJ.js","../assets/1.DDNgGNlk.css","../nodes/2.C-YksOJQ.js","../chunks/index.DZ_x9Zvh.js","../nodes/3.Dsdjuqho.js","../chunks/PreviousNextPage.DyKSPTRc.js","../assets/PreviousNextPage.CSTXT5K2.css","../nodes/4.HoOWUExx.js","../chunks/ArgsList.Cv5ckF46.js","../assets/ArgsList.tGPHACmx.css","../nodes/5.Dr4Ygg7v.js","../chunks/FieldDetails.45GdpIxF.js","../chunks/DirectiveTag.DAgCRs3W.js","../assets/DirectiveTag.DuCFScKg.css","../assets/FieldDetails.DpqSh-Zn.css","../nodes/6.DTYqiS92.js","../nodes/7.aHRSlWZl.js","../nodes/8.Cbf1a4CI.js","../assets/8.lLT_wvMO.css"] + __vite__mapDeps.viteFileDeps = ["../nodes/0.Cq5iqm-l.js","../chunks/scheduler.BZkyrStM.js","../chunks/index.BLFDKRva.js","../chunks/pages.DpEZ8Fnk.js","../chunks/control.DTPJZYse.js","../assets/pages.BZ7dBxQt.css","../chunks/ChevronDown.B4bYL18o.js","../assets/ChevronDown.DFnX4Nf0.css","../chunks/prism-json.CMKj7kFV.js","../chunks/index.GTo13Lj_.js","../chunks/Button.DdJ5kdpU.js","../chunks/stores.DixFfSw6.js","../chunks/entry.thCgVuzy.js","../assets/0.Dc85tgr_.css","../nodes/1.C2pH1phn.js","../assets/1.DDNgGNlk.css","../nodes/2.D34fuWsz.js","../chunks/index.BFJrFwrB.js","../nodes/3.EZzk7DaV.js","../chunks/PreviousNextPage.Cqe1Lb47.js","../assets/PreviousNextPage.CSTXT5K2.css","../nodes/4.DTj3Jhwg.js","../chunks/ArgsList.E6xJx3iI.js","../assets/ArgsList.tGPHACmx.css","../nodes/5.DvaM4w8r.js","../chunks/FieldDetails.CGqu6sCJ.js","../chunks/DirectiveTag.C2PfFA6T.js","../assets/DirectiveTag.DuCFScKg.css","../assets/FieldDetails.DpqSh-Zn.css","../nodes/6.CDNDJfTy.js","../nodes/7.Bku79mXS.js","../nodes/8.OsAIkWGp.js","../assets/8.lLT_wvMO.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s as N,b as B,q as h,c as U,l as v,d as g,J as j,K as J,e as K,f as W,g as z,k as I,L as p,t as F,j as G,o as H,D as O,I as y,M as Q}from"../chunks/scheduler.Eaj42bxH.js";import{S as X,i as Y,b as w,e as A,t as b,g as D,c as R,a as T,m as L,d as P}from"../chunks/index.CMSEJhCx.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},V={},d=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){const _=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),s=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(o=>{if(o=M(o,i),o in V)return;V[o]=!0;const c=o.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!i)for(let E=_.length-1;E>=0;E--){const k=_[E];if(k.href===o&&(!c||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":Z,c||(u.as="script",u.crossOrigin=""),u.href=o,s&&u.setAttribute("nonce",s),document.head.appendChild(u),c)return new Promise((E,k)=>{u.addEventListener("load",E),u.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${o}`)))})}))}return r.then(()=>e()).catch(_=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=_,window.dispatchEvent(t),!t.defaultPrevented)throw _})},se={};function $(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],form:t[2]}}}return r&&(e=y(r,_(a)),a[12](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,_(t)),t[12](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[12](null),e&&P(e,t)}}}function x(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=y(r,_(a)),a[11](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,_(t)),t[11](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&8215&&(o.$$scope={dirty:s,ctx:t}),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[11](null),e&&P(e,t)}}}function ee(a){let e,n,i;var r=a[1][1];function _(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=y(r,_(a)),a[10](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,_(t)),t[10](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&16&&(o.data=t[4]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[10](null),e&&P(e,t)}}}function S(a){let e,n=a[6]&&q(a);return{c(){e=K("div"),n&&n.c(),this.h()},l(i){e=W(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=z(e);n&&n.l(r),r.forEach(g),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),p(e,"position","absolute"),p(e,"left","0"),p(e,"top","0"),p(e,"clip","rect(0 0 0 0)"),p(e,"clip-path","inset(50%)"),p(e,"overflow","hidden"),p(e,"white-space","nowrap"),p(e,"width","1px"),p(e,"height","1px")},m(i,r){v(i,e,r),n&&n.m(e,null)},p(i,r){i[6]?n?n.p(i,r):(n=q(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function q(a){let e;return{c(){e=F(a[7])},l(n){e=G(n,a[7])},m(n,i){v(n,e,i)},p(n,i){i&128&&H(e,n[7])},d(n){n&&g(e)}}}function te(a){let e,n,i,r,_;const t=[x,$],s=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=s[e]=t[e](a);let c=a[5]&&S(a);return{c(){n.c(),i=B(),c&&c.c(),r=h()},l(l){n.l(l),i=U(l),c&&c.l(l),r=h()},m(l,m){s[e].m(l,m),v(l,i,m),c&&c.m(l,m),v(l,r,m),_=!0},p(l,[m]){let u=e;e=o(l),e===u?s[e].p(l,m):(D(),w(s[u],1,1,()=>{s[u]=null}),A(),n=s[e],n?n.p(l,m):(n=s[e]=t[e](l),n.c()),b(n,1),n.m(i.parentNode,i)),l[5]?c?c.p(l,m):(c=S(l),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null)},i(l){_||(b(n),_=!0)},o(l){w(n),_=!1},d(l){l&&(g(i),g(r)),s[e].d(l),c&&c.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:r}=e,{constructors:_}=e,{components:t=[]}=e,{form:s}=e,{data_0:o=null}=e,{data_1:c=null}=e;j(i.page.notify);let l=!1,m=!1,u=null;J(()=>{const f=i.page.subscribe(()=>{l&&(n(6,m=!0),Q().then(()=>{n(7,u=document.title||"untitled page")}))});return n(5,l=!0),f});function E(f){O[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function k(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function C(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,r=f.page),"constructors"in f&&n(1,_=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,s=f.form),"data_0"in f&&n(3,o=f.data_0),"data_1"in f&&n(4,c=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(r)},[t,_,s,o,c,l,m,u,i,r,E,k,C]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,N,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>d(()=>import("../nodes/0.I_TbEO6i.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>d(()=>import("../nodes/1.BieY6pKJ.js"),__vite__mapDeps([14,1,2,11,12,9,4,15]),import.meta.url),()=>d(()=>import("../nodes/2.C-YksOJQ.js"),__vite__mapDeps([16,17,4,3,2,1,5]),import.meta.url),()=>d(()=>import("../nodes/3.Dsdjuqho.js"),__vite__mapDeps([18,17,4,3,2,1,5,19,6,7,9,20]),import.meta.url),()=>d(()=>import("../nodes/4.HoOWUExx.js"),__vite__mapDeps([21,3,2,1,4,5,17,19,6,7,9,20,22,23]),import.meta.url),()=>d(()=>import("../nodes/5.Dr4Ygg7v.js"),__vite__mapDeps([24,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/6.DTYqiS92.js"),__vite__mapDeps([29,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/7.aHRSlWZl.js"),__vite__mapDeps([30,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/8.Cbf1a4CI.js"),__vite__mapDeps([31,3,2,1,4,5,17,19,6,7,9,20,22,23,10,26,27,32]),import.meta.url)],le=[],ce={"/":[2],"/directives/[directive]":[4],"/mutations/[mutation]":[5],"/queries/[query]":[6],"/subscriptions/[subscription]":[7],"/types/[type]":[8],"/[...page]":[3]},fe={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{ce as dictionary,fe as hooks,se as matchers,ae as nodes,oe as root,le as server_loads}; +import{s as N,b as B,q as h,c as U,l as v,d as g,J as j,K as J,e as K,f as W,g as z,k as I,L as p,t as F,j as G,o as H,D as O,I as y,M as Q}from"../chunks/scheduler.BZkyrStM.js";import{S as X,i as Y,b as w,e as A,t as b,g as D,c as R,a as T,m as L,d as P}from"../chunks/index.BLFDKRva.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},V={},d=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){const _=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),s=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(o=>{if(o=M(o,i),o in V)return;V[o]=!0;const c=o.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!i)for(let E=_.length-1;E>=0;E--){const k=_[E];if(k.href===o&&(!c||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":Z,c||(u.as="script",u.crossOrigin=""),u.href=o,s&&u.setAttribute("nonce",s),document.head.appendChild(u),c)return new Promise((E,k)=>{u.addEventListener("load",E),u.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${o}`)))})}))}return r.then(()=>e()).catch(_=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=_,window.dispatchEvent(t),!t.defaultPrevented)throw _})},se={};function $(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],form:t[2]}}}return r&&(e=y(r,_(a)),a[12](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,_(t)),t[12](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[12](null),e&&P(e,t)}}}function x(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=y(r,_(a)),a[11](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,_(t)),t[11](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&8215&&(o.$$scope={dirty:s,ctx:t}),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[11](null),e&&P(e,t)}}}function ee(a){let e,n,i;var r=a[1][1];function _(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=y(r,_(a)),a[10](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,_(t)),t[10](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&16&&(o.data=t[4]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[10](null),e&&P(e,t)}}}function S(a){let e,n=a[6]&&q(a);return{c(){e=K("div"),n&&n.c(),this.h()},l(i){e=W(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=z(e);n&&n.l(r),r.forEach(g),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),p(e,"position","absolute"),p(e,"left","0"),p(e,"top","0"),p(e,"clip","rect(0 0 0 0)"),p(e,"clip-path","inset(50%)"),p(e,"overflow","hidden"),p(e,"white-space","nowrap"),p(e,"width","1px"),p(e,"height","1px")},m(i,r){v(i,e,r),n&&n.m(e,null)},p(i,r){i[6]?n?n.p(i,r):(n=q(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function q(a){let e;return{c(){e=F(a[7])},l(n){e=G(n,a[7])},m(n,i){v(n,e,i)},p(n,i){i&128&&H(e,n[7])},d(n){n&&g(e)}}}function te(a){let e,n,i,r,_;const t=[x,$],s=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=s[e]=t[e](a);let c=a[5]&&S(a);return{c(){n.c(),i=B(),c&&c.c(),r=h()},l(l){n.l(l),i=U(l),c&&c.l(l),r=h()},m(l,m){s[e].m(l,m),v(l,i,m),c&&c.m(l,m),v(l,r,m),_=!0},p(l,[m]){let u=e;e=o(l),e===u?s[e].p(l,m):(D(),w(s[u],1,1,()=>{s[u]=null}),A(),n=s[e],n?n.p(l,m):(n=s[e]=t[e](l),n.c()),b(n,1),n.m(i.parentNode,i)),l[5]?c?c.p(l,m):(c=S(l),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null)},i(l){_||(b(n),_=!0)},o(l){w(n),_=!1},d(l){l&&(g(i),g(r)),s[e].d(l),c&&c.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:r}=e,{constructors:_}=e,{components:t=[]}=e,{form:s}=e,{data_0:o=null}=e,{data_1:c=null}=e;j(i.page.notify);let l=!1,m=!1,u=null;J(()=>{const f=i.page.subscribe(()=>{l&&(n(6,m=!0),Q().then(()=>{n(7,u=document.title||"untitled page")}))});return n(5,l=!0),f});function E(f){O[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function k(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function C(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,r=f.page),"constructors"in f&&n(1,_=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,s=f.form),"data_0"in f&&n(3,o=f.data_0),"data_1"in f&&n(4,c=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(r)},[t,_,s,o,c,l,m,u,i,r,E,k,C]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,N,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>d(()=>import("../nodes/0.Cq5iqm-l.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>d(()=>import("../nodes/1.C2pH1phn.js"),__vite__mapDeps([14,1,2,11,12,9,4,15]),import.meta.url),()=>d(()=>import("../nodes/2.D34fuWsz.js"),__vite__mapDeps([16,17,4,3,2,1,5]),import.meta.url),()=>d(()=>import("../nodes/3.EZzk7DaV.js"),__vite__mapDeps([18,17,4,3,2,1,5,19,6,7,9,20]),import.meta.url),()=>d(()=>import("../nodes/4.DTj3Jhwg.js"),__vite__mapDeps([21,3,2,1,4,5,17,19,6,7,9,20,22,23]),import.meta.url),()=>d(()=>import("../nodes/5.DvaM4w8r.js"),__vite__mapDeps([24,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/6.CDNDJfTy.js"),__vite__mapDeps([29,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/7.Bku79mXS.js"),__vite__mapDeps([30,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/8.OsAIkWGp.js"),__vite__mapDeps([31,3,2,1,4,5,17,19,6,7,9,20,22,23,10,26,27,32]),import.meta.url)],le=[],ce={"/":[2],"/directives/[directive]":[4],"/mutations/[mutation]":[5],"/queries/[query]":[6],"/subscriptions/[subscription]":[7],"/types/[type]":[8],"/[...page]":[3]},fe={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{ce as dictionary,fe as hooks,se as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/public/docs/_app/immutable/entry/start.BGseu8dS.js b/public/docs/_app/immutable/entry/start.BGseu8dS.js new file mode 100644 index 0000000..a46f71e --- /dev/null +++ b/public/docs/_app/immutable/entry/start.BGseu8dS.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.thCgVuzy.js";export{t as start}; diff --git a/public/docs/_app/immutable/entry/start.DZ0f2QIx.js b/public/docs/_app/immutable/entry/start.DZ0f2QIx.js deleted file mode 100644 index ba4e8e3..0000000 --- a/public/docs/_app/immutable/entry/start.DZ0f2QIx.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.KXDGpGCl.js";export{t as start}; diff --git a/public/docs/_app/immutable/nodes/0.Cq5iqm-l.js b/public/docs/_app/immutable/nodes/0.Cq5iqm-l.js new file mode 100644 index 0000000..c69f0ec --- /dev/null +++ b/public/docs/_app/immutable/nodes/0.Cq5iqm-l.js @@ -0,0 +1,16 @@ +import{s as J,E as _e,v as M,e as V,f as U,g as y,d as g,y as ve,z as A,L as je,l as w,F as be,G as pe,H as ke,u as B,p as Ze,w as x,q as Y,a4 as Z,a5 as K,k as L,a6 as ge,m as N,n as X,t as oe,j as ue,o as me,I as Ie,A as se,r as We,x as fe,D as Ae,P as lt,b as ie,c as re,B as Nt,a7 as He,a1 as st,ae as Lt,ac as $i,a2 as Le,K as Ct,af as er,J as tr,ag as _t,ah as nr,ai as ir,aj as ci,h as rr}from"../chunks/scheduler.BZkyrStM.js";import{S as Q,i as $,t as b,b as k,g as ce,e as de,c as D,a as W,m as P,d as G,f as De,h as Ft}from"../chunks/index.BLFDKRva.js";import{T as di,U as Bt,l as he,m as at,w as Je,x as xe,_ as bt,y as ye,V as lr,F as sr,I as ar,G as or,E as ur,H as fr,J as cr,p as hi,s as dr,B as hr,u as tt,j as nt,W as pt,O as gr}from"../chunks/pages.DpEZ8Fnk.js";import{C as Ke,L as mr,a as _r,P as br}from"../chunks/ChevronDown.B4bYL18o.js";import"../chunks/prism-json.CMKj7kFV.js";import{w as $e}from"../chunks/index.GTo13Lj_.js";import{B as ot}from"../chunks/Button.DdJ5kdpU.js";import{b as pr}from"../chunks/control.DTPJZYse.js";import{p as gi}from"../chunks/stores.DixFfSw6.js";const kr=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vr(i){return{name:"container",level:"block",start(e){var t;return(t=e.match(/^:::[^:\n\s]/))==null?void 0:t.index},tokenizer(e){const n=/^:::(?[a-z0-9-]+)(?.*)?\n(?(?:.|\n)*)\n:::(?:\n|$)/i.exec(wr(e));if(!n||!n.groups)return null;const r=n.groups.type.toLocaleLowerCase(),s=Er(n.groups.options||""),l=n.groups.content||"",a=i({type:r,content:l,raw:n[0],options:s,lexer:this.lexer});return a&&a.tokens&&this.lexer.blockTokens(l,a.tokens),a}}}function wr(i){if(!i.startsWith(":::"))return;const e=i.split(` +`);let t=1,n=1;for(n=1;n[a-z0-9]+)(?:="(?(?:.*?))")?/i.exec(t);if(!l)break;const a=(n=l==null?void 0:l.groups)==null?void 0:n.name;a&&(e[a]=((r=l==null?void 0:l.groups)==null?void 0:r.value)??!0),t=t.slice(l.index+l[0].length)}return e}const Sr={containerExtension:vr},Ar=["error","success","info","warning"];function yr({options:i,raw:e}){var r,s,l;const t=((l=(s=(r=i.type)==null?void 0:r.toString())==null?void 0:s.toLocaleLowerCase())==null?void 0:l.trim())??"info",n=Ar.some(a=>a===t)?t:"info";return{type:"notification",raw:e,style:n,tokens:[]}}function Mr({lexer:i,content:e,raw:t}){const n=e.split(` +`),r=n.map((l,a)=>l.startsWith("---")?a:-1).filter(l=>l!==-1);if(r.length===0)return null;const s=r.map((l,a)=>{const o=n[l].replace("---","").trim(),u=n.slice(l+1,r[a+1]??n.length).join(` +`),c=[];return i.blockTokens(u,c),{title:o,raw:u,tokens:c}});return{type:"tabs",raw:t,tabs:s}}const Rr=["red","magenta","purple","blue","cyan","teal","green","gray","cool-gray","warm-gray","high-contrast","outline"];function Ir({options:i,raw:e,content:t}){const r=(i.colors??i.color??"outline").toString().toLocaleLowerCase().split(",").map(s=>s.trim().toLocaleLowerCase()).filter(s=>Rr.some(l=>s===l));return{type:"tags",raw:e,tags:t.split(",").map(s=>({name:s})),colors:r.length===0?["outline"]:r}}let Ht,Dt=[];function Or({prefix:i=""}={}){return{headerIds:!1,hooks:{preprocess(e){return Dt=[],Ht=new di,e}},renderer:{heading(e,t,n){n=n.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");const r=`${i}${Ht.slug(n)}`,s={level:t,text:e,id:r};return Dt.push(s),`${e} +`}}}}function mi(){Bt.use(Or()),Bt.use({gfm:!0,breaks:!1,silent:!1,extensions:[Sr.containerExtension(i=>{switch(i.type){case"notification":return yr(i);case"tags":return Ir(i);case"tabs":return Mr(i);default:return null}})]})}(function(i){var e=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");i.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return e}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var e=i.languages.extend("typescript",{});delete e["class-name"],i.languages.typescript["class-name"].inside=e,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),i.languages.ts=i.languages.typescript})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var t="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+t+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+t),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+t),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby})(Prism);(function(i){var e=/[*&][^\s[\]{},]+/,t=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+t.source+"(?:[ ]+"+e.source+")?|"+e.source+"(?:[ ]+"+t.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(a,o){o=(o||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return a});return RegExp(u,o)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return"(?:"+r+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(Prism);(function(i){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=i.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=n.variable[1].inside,l=0;l>/g,function(Oe,Ge){return"(?:"+Se[+Ge]+")"})}function t(Ee,Se,Oe){return RegExp(e(Ee,Se),"")}function n(Ee,Se){for(var Oe=0;Oe>/g,function(){return"(?:"+Ee+")"});return Ee.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(Ee){return"\\b(?:"+Ee.trim().replace(/ /g,"|")+")\\b"}var l=s(r.typeDeclaration),a=RegExp(s(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),o=s(r.typeDeclaration+" "+r.contextual+" "+r.other),u=s(r.type+" "+r.typeDeclaration+" "+r.other),c=n(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),f=n(/\((?:[^()]|<>)*\)/.source,2),d=/@?\b[A-Za-z_]\w*\b/.source,h=e(/<<0>>(?:\s*<<1>>)?/.source,[d,c]),m=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[o,h]),v=/\[\s*(?:,\s*)*\]/.source,R=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,v]),C=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[c,f,v]),p=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[C]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[p,m,v]),O={keyword:a,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,F=/"(?:\\.|[^\\"\r\n])*"/.source,ee=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:t(/(^|[^$\\])<<0>>/.source,[ee]),lookbehind:!0,greedy:!0},{pattern:t(/(^|[^@$\\])<<0>>/.source,[F]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:t(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:O},{pattern:t(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[d,S]),lookbehind:!0,inside:O},{pattern:t(/(\busing\s+)<<0>>(?=\s*=)/.source,[d]),lookbehind:!0},{pattern:t(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:O},{pattern:t(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:O},{pattern:t(/(\bwhere\s+)<<0>>/.source,[d]),lookbehind:!0},{pattern:t(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[R]),lookbehind:!0,inside:O},{pattern:t(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,u,d]),inside:O}],keyword:a,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:t(/([(,]\s*)<<0>>(?=\s*:)/.source,[d]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:t(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[d]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:t(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:O},"return-type":{pattern:t(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,m]),inside:O,alias:"class-name"},"constructor-invocation":{pattern:t(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:O,alias:"class-name"},"generic-method":{pattern:t(/<<0>>\s*<<1>>(?=\s*\()/.source,[d,c]),inside:{function:t(/^<<0>>/.source,[d]),generic:{pattern:RegExp(c),alias:"class-name",inside:O}}},"type-list":{pattern:t(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,h,d,S,a.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:t(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,f]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:a,"class-name":{pattern:RegExp(S),greedy:!0,inside:O},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var I=F+"|"+_,q=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),E=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[q]),2),j=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ae=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,E]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:t(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[j,ae]),lookbehind:!0,greedy:!0,inside:{target:{pattern:t(/^<<0>>(?=\s*:)/.source,[j]),alias:"keyword"},"attribute-arguments":{pattern:t(/\(<<0>>*\)/.source,[E]),inside:i.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var we=/:[^}\r\n]+/.source,le=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[q]),2),Me=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[le,we]),Re=n(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[I]),2),T=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Re,we]);function te(Ee,Se){return{interpolation:{pattern:t(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Ee]),lookbehind:!0,inside:{"format-string":{pattern:t(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Se,we]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:t(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Me]),lookbehind:!0,greedy:!0,inside:te(Me,le)},{pattern:t(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[T]),lookbehind:!0,greedy:!0,inside:te(T,Re)}],char:{pattern:RegExp(_),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(Prism);(function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var e={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:e},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:e},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin})(Prism);(function(i){var e=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,t=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+t+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:e,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+t+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+t+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return e.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);(function(i){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(c){return c=c.replace(//g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+c+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+s+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+s+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(c){["url","bold","italic","strike","code-snippet"].forEach(function(f){c!==f&&(i.languages.markdown[c].inside.content.inside[f]=i.languages.markdown[f])})}),i.hooks.add("after-tokenize",function(c){if(c.language!=="markdown"&&c.language!=="md")return;function f(d){if(!(!d||typeof d=="string"))for(var h=0,m=d.length;h",quot:'"'},o=String.fromCodePoint||String.fromCharCode;function u(c){var f=c.replace(l,"");return f=f.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,h){if(h=h.toLowerCase(),h[0]==="#"){var m;return h[1]==="x"?m=parseInt(h.slice(2),16):m=Number(h.slice(1)),o(m)}else{var v=a[h];return v||d}}),f}i.languages.md=i.languages.markdown})(Prism);const Pt="(if|else if|await|then|catch|each|html|debug)";Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+Pt+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+Pt+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}});Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity;Prism.hooks.add("wrap",i=>{i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,t){const n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^$/i;const r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};const s={};s[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("svelte","cdata",s)}});Prism.languages.svelte.tag.addInlined("style","css");Prism.languages.svelte.tag.addInlined("script","javascript");const kt=$e(!1),vt=$e(!1),wt=$e(!1);function Nr(i){let e,t;const n=i[6].default,r=_e(n,i,i[5],null);let s=[{id:i[0]},i[2]],l={};for(let a=0;at(3,l=f)),Ze(i,vt,f=>t(4,a=f));let{$$slots:o={},$$scope:u}=e,{id:c="main-content"}=e;return i.$$set=f=>{e=M(M({},e),x(f)),t(2,s=B(e,r)),"id"in f&&t(0,c=f.id),"$$scope"in f&&t(5,u=f.$$scope)},i.$$.update=()=>{i.$$.dirty&24&&t(1,n=a&&!l)},[c,n,s,l,a,u,o]}class Tr extends Q{constructor(e){super(),$(this,e,Cr,Nr,J,{id:0})}}const zr=i=>({props:i&2}),Gt=i=>({props:i[1]});function Lr(i){let e,t;const n=i[9].default,r=_e(n,i,i[8],null);let s=[i[1]],l={};for(let a=0;a{l[c]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Hr(i,e,t){let n;const r=["as","condensed","narrow","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:c=!1}=e,{noGutter:f=!1}=e,{noGutterLeft:d=!1}=e,{noGutterRight:h=!1}=e,{padding:m=!1}=e;return i.$$set=v=>{e=M(M({},e),x(v)),t(10,s=B(e,r)),"as"in v&&t(0,o=v.as),"condensed"in v&&t(2,u=v.condensed),"narrow"in v&&t(3,c=v.narrow),"noGutter"in v&&t(4,f=v.noGutter),"noGutterLeft"in v&&t(5,d=v.noGutterLeft),"noGutterRight"in v&&t(6,h=v.noGutterRight),"padding"in v&&t(7,m=v.padding),"$$scope"in v&&t(8,a=v.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--row",u&&"bx--row--condensed",c&&"bx--row--narrow",f&&"bx--no-gutter",d&&"bx--no-gutter--left",h&&"bx--no-gutter--right",m&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,c,f,d,h,m,a,l]}class Dr extends Q{constructor(e){super(),$(this,e,Hr,Br,J,{as:0,condensed:2,narrow:3,noGutter:4,noGutterLeft:5,noGutterRight:6,padding:7})}}const Pr=i=>({props:i&2}),jt=i=>({props:i[1]});function Gr(i){let e,t;const n=i[10].default,r=_e(n,i,i[9],null);let s=[i[1]],l={};for(let a=0;a{l[c]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Ur(i,e,t){let n;const r=["as","condensed","narrow","fullWidth","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:c=!1}=e,{fullWidth:f=!1}=e,{noGutter:d=!1}=e,{noGutterLeft:h=!1}=e,{noGutterRight:m=!1}=e,{padding:v=!1}=e;return i.$$set=R=>{e=M(M({},e),x(R)),t(11,s=B(e,r)),"as"in R&&t(0,o=R.as),"condensed"in R&&t(2,u=R.condensed),"narrow"in R&&t(3,c=R.narrow),"fullWidth"in R&&t(4,f=R.fullWidth),"noGutter"in R&&t(5,d=R.noGutter),"noGutterLeft"in R&&t(6,h=R.noGutterLeft),"noGutterRight"in R&&t(7,m=R.noGutterRight),"padding"in R&&t(8,v=R.padding),"$$scope"in R&&t(9,a=R.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--grid",u&&"bx--grid--condensed",c&&"bx--grid--narrow",f&&"bx--grid--full-width",d&&"bx--no-gutter",h&&"bx--no-gutter--left",m&&"bx--no-gutter--right",v&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,c,f,d,h,m,v,a,l]}class Yr extends Q{constructor(e){super(),$(this,e,Ur,Vr,J,{as:0,condensed:2,narrow:3,fullWidth:4,noGutter:5,noGutterLeft:6,noGutterRight:7,padding:8})}}const Zr=i=>({props:i&2}),Vt=i=>({props:i[1]});function Kr(i){let e,t;const n=i[14].default,r=_e(n,i,i[13],null);let s=[i[1]],l={};for(let a=0;a{l[c]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function qr(i,e,t){let n,r;const s=["as","noGutter","noGutterLeft","noGutterRight","padding","aspectRatio","sm","md","lg","xlg","max"];let l=B(e,s),{$$slots:a={},$$scope:o}=e,{as:u=!1}=e,{noGutter:c=!1}=e,{noGutterLeft:f=!1}=e,{noGutterRight:d=!1}=e,{padding:h=!1}=e,{aspectRatio:m=void 0}=e,{sm:v=void 0}=e,{md:R=void 0}=e,{lg:C=void 0}=e,{xlg:p=void 0}=e,{max:S=void 0}=e;const O=["sm","md","lg","xlg","max"];return i.$$set=_=>{e=M(M({},e),x(_)),t(16,l=B(e,s)),"as"in _&&t(0,u=_.as),"noGutter"in _&&t(2,c=_.noGutter),"noGutterLeft"in _&&t(3,f=_.noGutterLeft),"noGutterRight"in _&&t(4,d=_.noGutterRight),"padding"in _&&t(5,h=_.padding),"aspectRatio"in _&&t(6,m=_.aspectRatio),"sm"in _&&t(7,v=_.sm),"md"in _&&t(8,R=_.md),"lg"in _&&t(9,C=_.lg),"xlg"in _&&t(10,p=_.xlg),"max"in _&&t(11,S=_.max),"$$scope"in _&&t(13,o=_.$$scope)},i.$$.update=()=>{i.$$.dirty&3968&&t(12,n=[v,R,C,p,S].map((_,F)=>{const ee=O[F];if(_===!0)return`bx--col-${ee}`;if(typeof _=="number")return`bx--col-${ee}-${_}`;if(typeof _=="object"){let I=[];return typeof _.span=="number"?I=[...I,`bx--col-${ee}-${_.span}`]:_.span===!0&&(I=[...I,`bx--col-${ee}`]),typeof _.offset=="number"&&(I=[...I,`bx--offset-${ee}-${_.offset}`]),I.join(" ")}}).filter(Boolean).join(" ")),t(1,r={...l,class:[l.class,n,!n&&"bx--col",c&&"bx--no-gutter",f&&"bx--no-gutter--left",d&&"bx--no-gutter--right",m&&`bx--aspect-ratio bx--aspect-ratio--${m}`,h&&"bx--col-padding"].filter(Boolean).join(" ")})},[u,r,c,f,d,h,m,v,R,C,p,S,n,o,a]}class Xr extends Q{constructor(e){super(),$(this,e,qr,xr,J,{as:0,noGutter:2,noGutterLeft:3,noGutterRight:4,padding:5,aspectRatio:6,sm:7,md:8,lg:9,xlg:10,max:11})}}function Ut(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Jr(i){let e,t,n=i[1]&&Ut(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class _i extends Q{constructor(e){super(),$(this,e,Qr,Jr,J,{size:0,title:1})}}function $r(i){let e,t,n,r,s;var l=i[0]?i[4]:i[3];function a(c,f){return{props:{size:20}}}l&&(t=Ie(l,a()));let o=[{type:"button"},{title:i[2]},{"aria-label":i[2]},i[5]],u={};for(let c=0;c{G(d,1)}),de()}l?(t=Ie(l,a()),D(t.$$.fragment),b(t.$$.fragment,1),P(t,e,null)):t=null}ve(e,u=he(o,[{type:"button"},(!n||f&4)&&{title:c[2]},(!n||f&4)&&{"aria-label":c[2]},f&32&&c[5]])),A(e,"bx--header__action",!0),A(e,"bx--header__menu-trigger",!0),A(e,"bx--header__menu-toggle",!0)},i(c){n||(t&&b(t.$$.fragment,c),n=!0)},o(c){t&&k(t.$$.fragment,c),n=!1},d(c){c&&g(e),t&&G(t),i[7](null),r=!1,We(s)}}}function el(i,e,t){const n=["ariaLabel","isOpen","iconMenu","iconClose","ref"];let r=B(e,n),{ariaLabel:s=void 0}=e,{isOpen:l=!1}=e,{iconMenu:a=_i}=e,{iconClose:o=Ke}=e,{ref:u=null}=e;function c(h){fe.call(this,i,h)}function f(h){Ae[h?"unshift":"push"](()=>{u=h,t(1,u)})}const d=()=>t(0,l=!l);return i.$$set=h=>{e=M(M({},e),x(h)),t(5,r=B(e,n)),"ariaLabel"in h&&t(2,s=h.ariaLabel),"isOpen"in h&&t(0,l=h.isOpen),"iconMenu"in h&&t(3,a=h.iconMenu),"iconClose"in h&&t(4,o=h.iconClose),"ref"in h&&t(1,u=h.ref)},[l,u,s,a,o,r,c,f,d]}class tl extends Q{constructor(e){super(),$(this,e,el,$r,J,{ariaLabel:2,isOpen:0,iconMenu:3,iconClose:4,ref:1})}}const nl=i=>({}),Yt=i=>({}),il=i=>({}),Zt=i=>({}),rl=i=>({}),Kt=i=>({});function Wt(i){let e,t,n;function r(l){i[20](l)}let s={iconClose:i[8],iconMenu:i[7]};return i[0]!==void 0&&(s.isOpen=i[0]),e=new tl({props:s}),Ae.push(()=>De(e,"isOpen",r)),{c(){D(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,a){const o={};a&256&&(o.iconClose=l[8]),a&128&&(o.iconMenu=l[7]),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function xt(i){let e,t;const n=i[17].company,r=_e(n,i,i[16],Zt),s=r||ll(i);return{c(){e=V("span"),s&&s.c(),this.h()},l(l){e=U(l,"SPAN",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header__name--prefix",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&65536)&&be(r,n,l,l[16],t?ke(n,l[16],a,il):pe(l[16]),Zt):s&&s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function ll(i){let e,t;return{c(){e=oe(i[3]),t=oe(" ")},l(n){e=ue(n,i[3]),t=ue(n," ")},m(n,r){w(n,e,r),w(n,t,r)},p(n,r){r&8&&me(e,n[3])},d(n){n&&(g(e),g(t))}}}function sl(i){let e;return{c(){e=oe(i[4])},l(t){e=ue(t,i[4])},m(t,n){w(t,e,n)},p(t,n){n&16&&me(e,t[4])},d(t){t&&g(e)}}}function al(i){let e,t,n,r,s,l,a,o,u;lt(i[19]);const c=i[17]["skip-to-content"],f=_e(c,i,i[16],Kt);let d=(i[11]&&i[9]{d=null}),de()),_[3]||_[13].company?h?(h.p(_,F),F&8200&&b(h,1)):(h=xt(_),h.c(),b(h,1),h.m(r,s)):h&&(ce(),k(h,1,1,()=>{h=null}),de()),v?v.p&&(!a||F&65536)&&be(v,m,_,_[16],a?ke(m,_[16],F,nl):pe(_[16]),Yt):R&&R.p&&(!a||F&16)&&R.p(_,a?F:-1),ve(r,p=he(C,[(!a||F&4)&&{href:_[2]},F&4096&&_[12]])),A(r,"bx--header__name",!0),O&&O.p&&(!a||F&65536)&&be(O,S,_,_[16],a?ke(S,_[16],F,null):pe(_[16]),null),(!a||F&1024)&&L(e,"aria-label",_[10])},i(_){a||(b(f,_),b(d),b(h),b(R,_),b(O,_),a=!0)},o(_){k(f,_),k(d),k(h),k(R,_),k(O,_),a=!1},d(_){_&&g(e),f&&f.d(_),d&&d.d(),h&&h.d(),R&&R.d(_),i[21](null),O&&O.d(_),o=!1,We(u)}}}function ol(i,e,t){let n;const r=["expandedByDefault","isSideNavOpen","uiShellAriaLabel","href","company","platformName","persistentHamburgerMenu","expansionBreakpoint","ref","iconMenu","iconClose"];let s=B(e,r),l;Ze(i,kt,E=>t(11,l=E));let{$$slots:a={},$$scope:o}=e;const u=Nt(a);let{expandedByDefault:c=!0}=e,{isSideNavOpen:f=!1}=e,{uiShellAriaLabel:d=void 0}=e,{href:h=void 0}=e,{company:m=void 0}=e,{platformName:v=""}=e,{persistentHamburgerMenu:R=!1}=e,{expansionBreakpoint:C=1056}=e,{ref:p=null}=e,{iconMenu:S=_i}=e,{iconClose:O=Ke}=e,_;function F(E){fe.call(this,i,E)}function ee(){t(9,_=window.innerWidth)}function I(E){f=E,t(0,f),t(14,c),t(9,_),t(6,C),t(5,R)}function q(E){Ae[E?"unshift":"push"](()=>{p=E,t(1,p)})}return i.$$set=E=>{t(22,e=M(M({},e),x(E))),t(12,s=B(e,r)),"expandedByDefault"in E&&t(14,c=E.expandedByDefault),"isSideNavOpen"in E&&t(0,f=E.isSideNavOpen),"uiShellAriaLabel"in E&&t(15,d=E.uiShellAriaLabel),"href"in E&&t(2,h=E.href),"company"in E&&t(3,m=E.company),"platformName"in E&&t(4,v=E.platformName),"persistentHamburgerMenu"in E&&t(5,R=E.persistentHamburgerMenu),"expansionBreakpoint"in E&&t(6,C=E.expansionBreakpoint),"ref"in E&&t(1,p=E.ref),"iconMenu"in E&&t(7,S=E.iconMenu),"iconClose"in E&&t(8,O=E.iconClose),"$$scope"in E&&t(16,o=E.$$scope)},i.$$.update=()=>{i.$$.dirty&16992&&t(0,f=c&&_>=C&&!R),t(10,n=m?`${m} `:""+(d||e["aria-label"]||v))},e=x(e),[f,p,h,m,v,R,C,S,O,_,n,l,s,u,c,d,o,a,F,ee,I,q]}class ul extends Q{constructor(e){super(),$(this,e,ol,al,J,{expandedByDefault:14,isSideNavOpen:0,uiShellAriaLabel:15,href:2,company:3,platformName:4,persistentHamburgerMenu:5,expansionBreakpoint:6,ref:1,iconMenu:7,iconClose:8})}}function fl(i){let e,t,n;var r=i[1];function s(l,a){return{props:{slot:"icon",size:20}}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&2&&r!==(r=l[1])){if(e){ce();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function cl(i){let e,t,n;const r=[i[3],{class:i[2]}];function s(a){i[5](a)}let l={$$slots:{icon:[fl]},$$scope:{ctx:i}};for(let a=0;aDe(e,"ref",s)),e.$on("click",i[6]),{c(){D(e.$$.fragment)},l(a){W(e.$$.fragment,a)},m(a,o){P(e,a,o),n=!0},p(a,[o]){const u=o&12?he(r,[o&8&&at(a[3]),o&4&&{class:a[2]}]):{};o&130&&(u.$$scope={dirty:o,ctx:a}),!t&&o&1&&(t=!0,u.ref=a[0],He(()=>t=!1)),e.$set(u)},i(a){n||(b(e.$$.fragment,a),n=!0)},o(a){k(e.$$.fragment,a),n=!1},d(a){G(e,a)}}}function dl(i,e,t){let n;const r=["isActive","icon","ref"];let s=B(e,r),{isActive:l=!1}=e,{icon:a=void 0}=e,{ref:o=null}=e;function u(f){o=f,t(0,o)}function c(f){fe.call(this,i,f)}return i.$$set=f=>{e=M(M({},e),x(f)),t(3,s=B(e,r)),"isActive"in f&&t(4,l=f.isActive),"icon"in f&&t(1,a=f.icon),"ref"in f&&t(0,o=f.ref)},i.$$.update=()=>{t(2,n=["bx--header__action",l&&" bx--header__action--active",s.class].filter(Boolean).join(" "))},[o,a,n,s,l,u,c]}class bi extends Q{constructor(e){super(),$(this,e,dl,cl,J,{isActive:4,icon:1,ref:0})}}function hl(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("div"),r&&r.c(),this.h()},l(s){e=U(s,"DIV",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header__global",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function gl(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class ml extends Q{constructor(e){super(),$(this,e,gl,hl,J,{})}}function qt(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function _l(i){let e,t,n=i[1]&&qt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class pl extends Q{constructor(e){super(),$(this,e,bl,_l,J,{size:0,title:1})}}function kl(i){let e,t,n,r,s,l,a=[i[1]],o={};for(let u=0;u{e=M(M({},e),x(c)),t(1,r=B(e,n)),"size"in c&&t(0,s=c.size)},[s,r,l,a,o,u]}class wl extends Q{constructor(e){super(),$(this,e,vl,kl,J,{size:0})}}const El=i=>({}),Xt=i=>({});function Sl(i){let e,t,n,r,s,l,a,o,u,c,f,d,h,m,v,R;var C=i[14];function p(E,j){return{props:{class:"bx--search-magnifier-icon"}}}C&&(n=Ie(C,p()));const S=i[20].labelText,O=_e(S,i,i[19],Xt),_=O||yl(i);let F=[{type:"text"},{role:"searchbox"},{autofocus:u=i[11]===!0?!0:void 0},{autocomplete:i[10]},{disabled:i[7]},{id:i[15]},{placeholder:i[9]},i[18]],ee={};for(let E=0;E{G(ae,1)}),de()}C?(n=Ie(C,p()),D(n.$$.fragment),b(n.$$.fragment,1),P(n,t,null)):n=null}if(O?O.p&&(!m||j[0]&524288)&&be(O,S,E,E[19],m?ke(S,E[19],j,El):pe(E[19]),Xt):_&&_.p&&(!m||j[0]&8192)&&_.p(E,m?j:[-1,-1]),(!m||j[0]&32768&&l!==(l=E[15]+"-search"))&&L(s,"id",l),(!m||j[0]&32768)&&L(s,"for",E[15]),ve(o,ee=he(F,[{type:"text"},{role:"searchbox"},(!m||j[0]&2048&&u!==(u=E[11]===!0?!0:void 0))&&{autofocus:u},(!m||j[0]&1024)&&{autocomplete:E[10]},(!m||j[0]&128)&&{disabled:E[7]},(!m||j[0]&32768)&&{id:E[15]},(!m||j[0]&512)&&{placeholder:E[9]},j[0]&262144&&E[18]])),j[0]&4&&o.value!==E[2]&&Lt(o,E[2]),A(o,"bx--search-input",!0),I!==(I=Ke)){if(d){ce();const ae=d;k(ae.$$.fragment,1,0,()=>{G(ae,1)}),de()}I?(d=Ie(I,q(E)),D(d.$$.fragment),b(d.$$.fragment,1),P(d,f,null)):d=null}else if(I){const ae={};j[0]&8&&(ae.size=E[3]==="xl"?20:16),d.$set(ae)}(!m||j[0]&4096)&&L(f,"aria-label",E[12]),(!m||j[0]&128)&&(f.disabled=E[7]),(!m||j[0]&4)&&A(f,"bx--search-close--hidden",E[2]===""),(!m||j[0]&32768&&h!==(h=E[15]+"-search"))&&L(e,"aria-labelledby",h),(!m||j[0]&16)&&L(e,"class",E[4]),(!m||j[0]&16)&&A(e,"bx--search",!0),(!m||j[0]&80)&&A(e,"bx--search--light",E[6]),(!m||j[0]&144)&&A(e,"bx--search--disabled",E[7]),(!m||j[0]&24)&&A(e,"bx--search--sm",E[3]==="sm"),(!m||j[0]&24)&&A(e,"bx--search--lg",E[3]==="lg"),(!m||j[0]&24)&&A(e,"bx--search--xl",E[3]==="xl"),(!m||j[0]&272)&&A(e,"bx--search--expandable",E[8]),(!m||j[0]&17)&&A(e,"bx--search--expanded",E[0])},i(E){m||(n&&b(n.$$.fragment,E),b(_,E),d&&b(d.$$.fragment,E),m=!0)},o(E){n&&k(n.$$.fragment,E),k(_,E),d&&k(d.$$.fragment,E),m=!1},d(E){E&&g(e),n&&G(n),i[33](null),_&&_.d(E),i[35](null),d&&G(d),v=!1,We(R)}}}function Al(i){let e,t;const n=[{size:i[3]},i[18]];let r={};for(let s=0;s{l[c]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Rl(i,e,t){const n=["value","size","searchClass","skeleton","light","disabled","expandable","expanded","placeholder","autocomplete","autofocus","closeButtonLabelText","labelText","icon","id","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{value:a=""}=e,{size:o="xl"}=e,{searchClass:u=""}=e,{skeleton:c=!1}=e,{light:f=!1}=e,{disabled:d=!1}=e,{expandable:h=!1}=e,{expanded:m=!1}=e,{placeholder:v="Search..."}=e,{autocomplete:R="off"}=e,{autofocus:C=!1}=e,{closeButtonLabelText:p="Clear search input"}=e,{labelText:S=""}=e,{icon:O=pl}=e,{id:_="ccs-"+Math.random().toString(36)}=e,{ref:F=null}=e;const ee=st();let I=null;function q(H){fe.call(this,i,H)}function E(H){fe.call(this,i,H)}function j(H){fe.call(this,i,H)}function ae(H){fe.call(this,i,H)}function we(H){fe.call(this,i,H)}function le(H){fe.call(this,i,H)}function Me(H){fe.call(this,i,H)}function Re(H){fe.call(this,i,H)}function T(H){fe.call(this,i,H)}function te(H){fe.call(this,i,H)}function Ee(H){fe.call(this,i,H)}function Se(H){fe.call(this,i,H)}function Oe(H){Ae[H?"unshift":"push"](()=>{I=H,t(16,I)})}const Ge=()=>{h&&t(0,m=!0)};function Xe(H){Ae[H?"unshift":"push"](()=>{F=H,t(1,F)})}function ut(){a=this.value,t(2,a)}const ft=()=>{h&&t(0,m=!0)},ct=()=>{m&&a.trim().length===0&&t(0,m=!1)},dt=({key:H})=>{H==="Escape"&&(t(2,a=""),ee("clear"))},ht=()=>{t(2,a=""),F.focus(),ee("clear")};return i.$$set=H=>{e=M(M({},e),x(H)),t(18,r=B(e,n)),"value"in H&&t(2,a=H.value),"size"in H&&t(3,o=H.size),"searchClass"in H&&t(4,u=H.searchClass),"skeleton"in H&&t(5,c=H.skeleton),"light"in H&&t(6,f=H.light),"disabled"in H&&t(7,d=H.disabled),"expandable"in H&&t(8,h=H.expandable),"expanded"in H&&t(0,m=H.expanded),"placeholder"in H&&t(9,v=H.placeholder),"autocomplete"in H&&t(10,R=H.autocomplete),"autofocus"in H&&t(11,C=H.autofocus),"closeButtonLabelText"in H&&t(12,p=H.closeButtonLabelText),"labelText"in H&&t(13,S=H.labelText),"icon"in H&&t(14,O=H.icon),"id"in H&&t(15,_=H.id),"ref"in H&&t(1,F=H.ref),"$$scope"in H&&t(19,l=H.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&3&&m&&F&&F.focus(),i.$$.dirty[0]&1&&ee(m?"expand":"collapse")},[m,F,a,o,u,c,f,d,h,v,R,C,p,S,O,_,I,ee,r,l,s,q,E,j,ae,we,le,Me,Re,T,te,Ee,Se,Oe,Ge,Xe,ut,ft,ct,dt,ht]}let pi=class extends Q{constructor(e){super(),$(this,e,Rl,Ml,J,{value:2,size:3,searchClass:4,skeleton:5,light:6,disabled:7,expandable:8,expanded:0,placeholder:9,autocomplete:10,autofocus:11,closeButtonLabelText:12,labelText:13,icon:14,id:15,ref:1},null,[-1,-1])}};const ki="https://raw.githubusercontent.com/magidoc-org/magidoc/main/logo/logo_horizontal.png",Il=Je(xe.APP_LOGO,ki);function Ol(i){let e,t,n=[{src:t=i[0]},{alt:"Magidoc"},i[1]],r={};for(let s=0;s{t(1,e=M(M({},e),x(r)))},e=x(e),[n,e]}class Cl extends Q{constructor(e){super(),$(this,e,Nl,Ol,J,{})}}function Tl(i){const e=i-1;return e*e*e+1}function Jt(i,{delay:e=0,duration:t=400,easing:n=Tl,axis:r="y"}={}){const s=getComputedStyle(i),l=+s.opacity,a=r==="y"?"height":"width",o=parseFloat(s[a]),u=r==="y"?["top","bottom"]:["left","right"],c=u.map(C=>`${C[0].toUpperCase()}${C.slice(1)}`),f=parseFloat(s[`padding${c[0]}`]),d=parseFloat(s[`padding${c[1]}`]),h=parseFloat(s[`margin${c[0]}`]),m=parseFloat(s[`margin${c[1]}`]),v=parseFloat(s[`border${c[0]}Width`]),R=parseFloat(s[`border${c[1]}Width`]);return{delay:e,duration:t,easing:n,css:C=>`overflow: hidden;opacity: ${Math.min(C*20,1)*l};${a}: ${C*o}px;padding-${u[0]}: ${C*f}px;padding-${u[1]}: ${C*d}px;margin-${u[0]}: ${C*h}px;margin-${u[1]}: ${C*m}px;border-${u[0]}-width: ${C*v}px;border-${u[1]}-width: ${C*R}px;`}}function Qt(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function zl(i){let e,t,n=i[1]&&Qt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Fl extends Q{constructor(e){super(),$(this,e,Ll,zl,J,{size:0,title:1})}}const Bl=i=>({}),$t=i=>({}),Hl=i=>({}),en=i=>({}),Dl=i=>({}),tn=i=>({});function Pl(i){let e;const t=i[11].icon,n=_e(t,i,i[10],en),r=n||jl(i);return{c(){r&&r.c()},l(s){r&&r.l(s)},m(s,l){r&&r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,Hl):pe(s[10]),en):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(b(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r&&r.d(s)}}}function Gl(i){let e;const t=i[11].closeIcon,n=_e(t,i,i[10],tn),r=n||Vl(i);return{c(){r&&r.c()},l(s){r&&r.l(s)},m(s,l){r&&r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,Dl):pe(s[10]),tn):r&&r.p&&(!e||l&8)&&r.p(s,e?l:-1)},i(s){e||(b(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r&&r.d(s)}}}function jl(i){let e,t,n;var r=i[2];function s(l,a){return{props:{size:20}}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&4&&r!==(r=l[2])){if(e){ce();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function Vl(i){let e,t,n;var r=i[3];function s(l,a){return{props:{size:20}}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){ce();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function nn(i){let e,t;return{c(){e=V("span"),t=oe(i[4]),this.h()},l(n){e=U(n,"SPAN",{});var r=y(e);t=ue(r,i[4]),r.forEach(g),this.h()},h(){A(e,"bx--header__action-text",!0)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&16&&me(t,n[4])},d(n){n&&g(e)}}}function Ul(i){let e,t=i[4]&&nn(i);return{c(){t&&t.c(),e=Y()},l(n){t&&t.l(n),e=Y()},m(n,r){t&&t.m(n,r),w(n,e,r)},p(n,r){n[4]?t?t.p(n,r):(t=nn(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&g(e),t&&t.d(n)}}}function rn(i){let e,t,n;const r=i[11].default,s=_e(r,i,i[10],null);return{c(){e=V("div"),s&&s.c(),this.h()},l(l){e=U(l,"DIV",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header-panel",!0),A(e,"bx--header-panel--expanded",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),i[16](e),n=!0},p(l,a){i=l,s&&s.p&&(!n||a&1024)&&be(s,r,i,i[10],n?ke(r,i[10],a,null):pe(i[10]),null)},i(l){n||(b(s,l),l&<(()=>{n&&(t||(t=Ft(e,Jt,{...i[5],duration:i[5]===!1?0:i[5].duration},!0)),t.run(1))}),n=!0)},o(l){k(s,l),l&&(t||(t=Ft(e,Jt,{...i[5],duration:i[5]===!1?0:i[5].duration},!1)),t.run(0)),n=!1},d(l){l&&g(e),s&&s.d(l),i[16](null),l&&t&&t.end()}}}function Yl(i){let e,t,n,r,s,l,a,o,u;const c=[Gl,Pl],f=[];function d(S,O){return S[0]?0:1}t=d(i),n=f[t]=c[t](i);const h=i[11].text,m=_e(h,i,i[10],$t),v=m||Ul(i);let R=[{type:"button"},i[9]],C={};for(let S=0;S{f[_]=null}),de(),n=f[t],n?n.p(S,O):(n=f[t]=c[t](S),n.c()),b(n,1),n.m(e,r)),m?m.p&&(!a||O&1024)&&be(m,h,S,S[10],a?ke(h,S[10],O,Bl):pe(S[10]),$t):v&&v.p&&(!a||O&16)&&v.p(S,a?O:-1),ve(e,C=he(R,[{type:"button"},O&512&&S[9]])),A(e,"bx--header__action",!0),A(e,"bx--header__action--active",S[0]),A(e,"bx--header__action--text",S[4]),S[0]?p?(p.p(S,O),O&1&&b(p,1)):(p=rn(S),p.c(),b(p,1),p.m(l.parentNode,l)):p&&(ce(),k(p,1,1,()=>{p=null}),de())},i(S){a||(b(n),b(v,S),b(p),a=!0)},o(S){k(n),k(v,S),k(p),a=!1},d(S){S&&(g(e),g(s),g(l)),f[t].d(),v&&v.d(S),i[14](null),p&&p.d(S),o=!1,We(u)}}}function Zl(i,e,t){const n=["isOpen","icon","closeIcon","text","ref","transition","preventCloseOnClickOutside"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{isOpen:a=!1}=e,{icon:o=Fl}=e,{closeIcon:u=Ke}=e,{text:c=void 0}=e,{ref:f=null}=e,{transition:d={duration:200}}=e,{preventCloseOnClickOutside:h=!1}=e;const m=st();let v=null;function R(_){fe.call(this,i,_)}const C=({target:_})=>{a&&!f.contains(_)&&!v.contains(_)&&!h&&(t(0,a=!1),m("close"))};function p(_){Ae[_?"unshift":"push"](()=>{f=_,t(1,f)})}const S=()=>{t(0,a=!a),m(a?"open":"close")};function O(_){Ae[_?"unshift":"push"](()=>{v=_,t(7,v)})}return i.$$set=_=>{e=M(M({},e),x(_)),t(9,r=B(e,n)),"isOpen"in _&&t(0,a=_.isOpen),"icon"in _&&t(2,o=_.icon),"closeIcon"in _&&t(3,u=_.closeIcon),"text"in _&&t(4,c=_.text),"ref"in _&&t(1,f=_.ref),"transition"in _&&t(5,d=_.transition),"preventCloseOnClickOutside"in _&&t(6,h=_.preventCloseOnClickOutside),"$$scope"in _&&t(10,l=_.$$scope)},[a,f,o,u,c,d,h,v,m,r,l,s,R,C,p,S,O]}class Kl extends Q{constructor(e){super(),$(this,e,Zl,Yl,J,{isOpen:0,icon:2,closeIcon:3,text:4,ref:1,transition:5,preventCloseOnClickOutside:6})}}function ln(i){let e,t;const n=i[2].default,r=_e(n,i,i[1],null);return{c(){e=V("li"),r&&r.c(),this.h()},l(s){e=U(s,"LI",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header-panel-divider",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,l){r&&r.p&&(!t||l&2)&&be(r,n,s,s[1],t?ke(n,s[1],l,null):pe(s[1]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function Wl(i){let e,t,n,r=i[0].default&&ln(i);return{c(){r&&r.c(),e=ie(),t=V("hr"),this.h()},l(s){r&&r.l(s),e=re(s),t=U(s,"HR",{}),this.h()},h(){A(t,"bx--switcher__item--divider",!0)},m(s,l){r&&r.m(s,l),w(s,e,l),w(s,t,l),n=!0},p(s,[l]){s[0].default?r?(r.p(s,l),l&1&&b(r,1)):(r=ln(s),r.c(),b(r,1),r.m(e.parentNode,e)):r&&(ce(),k(r,1,1,()=>{r=null}),de())},i(s){n||(b(r),n=!0)},o(s){k(r),n=!1},d(s){s&&(g(e),g(t)),r&&r.d(s)}}}function xl(i,e,t){let{$$slots:n={},$$scope:r}=e;const s=Nt(n);return i.$$set=l=>{"$$scope"in l&&t(1,r=l.$$scope)},[s,r,n]}class ql extends Q{constructor(e){super(),$(this,e,xl,Wl,J,{})}}function Xl(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("ul"),r&&r.c(),this.h()},l(s){e=U(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--switcher__item",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function Jl(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class Ql extends Q{constructor(e){super(),$(this,e,Jl,Xl,J,{})}}function $l(i){let e,t,n,r,s,l;const a=i[4].default,o=_e(a,i,i[3],null);let u=[{href:i[1]},{rel:n=i[2].target==="_blank"?"noopener noreferrer":void 0},i[2]],c={};for(let f=0;f{o=f,t(0,o)})}return i.$$set=f=>{e=M(M({},e),x(f)),t(2,r=B(e,n)),"href"in f&&t(1,a=f.href),"ref"in f&&t(0,o=f.ref),"$$scope"in f&&t(3,l=f.$$scope)},[o,a,r,l,s,u,c]}class ts extends Q{constructor(e){super(),$(this,e,es,$l,J,{href:1,ref:0})}}function sn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ns(i){let e,t,n=i[1]&&sn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class rs extends Q{constructor(e){super(),$(this,e,is,ns,J,{size:0,title:1})}}function an(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ls(i){let e,t,n,r=i[1]&&an(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class as extends Q{constructor(e){super(),$(this,e,ss,ls,J,{size:0,title:1})}}function on(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function os(i){let e,t,n,r=i[1]&&on(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class fs extends Q{constructor(e){super(),$(this,e,us,os,J,{size:0,title:1})}}function un(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function cs(i){let e,t,n=i[1]&&un(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class hs extends Q{constructor(e){super(),$(this,e,ds,cs,J,{size:0,title:1})}}function fn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function gs(i){let e,t,n=i[1]&&fn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class _s extends Q{constructor(e){super(),$(this,e,ms,gs,J,{size:0,title:1})}}function cn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function bs(i){let e,t,n=i[1]&&cn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ks extends Q{constructor(e){super(),$(this,e,ps,bs,J,{size:0,title:1})}}function dn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function vs(i){let e,t,n,r,s=i[1]&&dn(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],a={};for(let o=0;o{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Es extends Q{constructor(e){super(),$(this,e,ws,vs,J,{size:0,title:1})}}function hn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ss(i){let e,t,n=i[1]&&hn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ys extends Q{constructor(e){super(),$(this,e,As,Ss,J,{size:0,title:1})}}function gn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ms(i){let e,t,n=i[1]&&gn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Is extends Q{constructor(e){super(),$(this,e,Rs,Ms,J,{size:0,title:1})}}function mn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Os(i){let e,t,n=i[1]&&mn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Cs extends Q{constructor(e){super(),$(this,e,Ns,Os,J,{size:0,title:1})}}function _n(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ts(i){let e,t,n=i[1]&&_n(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ls extends Q{constructor(e){super(),$(this,e,zs,Ts,J,{size:0,title:1})}}function bn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Fs(i){let e,t,n=i[1]&&bn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Hs extends Q{constructor(e){super(),$(this,e,Bs,Fs,J,{size:0,title:1})}}function pn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ds(i){let e,t,n=i[1]&&pn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Gs extends Q{constructor(e){super(),$(this,e,Ps,Ds,J,{size:0,title:1})}}function kn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function js(i){let e,t,n=i[1]&&kn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Us extends Q{constructor(e){super(),$(this,e,Vs,js,J,{size:0,title:1})}}function vn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ys(i){let e,t,n=i[1]&&vn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ks extends Q{constructor(e){super(),$(this,e,Zs,Ys,J,{size:0,title:1})}}function Et(i){var t;const e=((t=i.kind)==null?void 0:t.toLocaleLowerCase())||i.label.toLocaleLowerCase();return e.includes("github")?ks:e.includes("linkedin")?ys:e.includes("twitter")?Hs:e.includes("tumblr")?Ls:e.includes("instagram")?Es:e.includes("facebook")?_s:e.includes("youtube")?Gs:e.includes("discord")?hs:e.includes("medium")?Is:e.includes("slack")?Cs:e.includes("article")||e.includes("blog")?rs:e.includes("carbon")?as:e.includes("playground")||e.includes("graphiql")||e.includes("demo")||e.includes("demonstration")?Us:fs}function Ws(i){let e,t,n,r=i[0].label+"",s,l;var a=Et(i[0]);function o(u,c){return{props:{size:16,style:"margin-right: 0.3rem"}}}return a&&(t=Ie(a,o())),{c(){e=V("div"),t&&D(t.$$.fragment),n=ie(),s=oe(r),this.h()},l(u){e=U(u,"DIV",{class:!0});var c=y(e);t&&W(t.$$.fragment,c),n=re(c),s=ue(c,r),c.forEach(g),this.h()},h(){L(e,"class","container svelte-1kq8gho")},m(u,c){w(u,e,c),t&&P(t,e,null),N(e,n),N(e,s),l=!0},p(u,c){if(c&1&&a!==(a=Et(u[0]))){if(t){ce();const f=t;k(f.$$.fragment,1,0,()=>{G(f,1)}),de()}a?(t=Ie(a,o()),D(t.$$.fragment),b(t.$$.fragment,1),P(t,e,n)):t=null}(!l||c&1)&&r!==(r=u[0].label+"")&&me(s,r)},i(u){l||(t&&b(t.$$.fragment,u),l=!0)},o(u){t&&k(t.$$.fragment,u),l=!1},d(u){u&&g(e),t&&G(t)}}}function xs(i){let e,t;return e=new ts({props:{href:i[0].href,$$slots:{default:[Ws]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&3&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function qs(i,e,t){let{link:n}=e;return i.$$set=r=>{"link"in r&&t(0,n=r.link)},[n]}class vi extends Q{constructor(e){super(),$(this,e,qs,xs,J,{link:0})}}function wn(i,e,t){const n=i.slice();return n[3]=e[t],n}function En(i,e,t){const n=i.slice();return n[6]=e[t],n}function Sn(i,e,t){const n=i.slice();return n[3]=e[t],n}function Xs(i){let e,t;return e=new Kl({props:{transition:!1,$$slots:{default:[$s]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2048&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function An(i){let e,t;return e=new vi({props:{link:i[3]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Js(i){let e=i[3].key+"",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){w(n,t,r)},p:X,d(n){n&&g(t)}}}function yn(i){let e,t;return e=new vi({props:{link:i[6]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Mn(i){let e,t,n,r;e=new ql({props:{$$slots:{default:[Js]},$$scope:{ctx:i}}});let s=ye(i[3].value),l=[];for(let o=0;ok(l[o],1,1,()=>{l[o]=null});return{c(){D(e.$$.fragment),t=ie();for(let o=0;ok(s[c],1,1,()=>{s[c]=null});let a=ye(i[2]),o=[];for(let c=0;ck(o[c],1,1,()=>{o[c]=null});return{c(){for(let c=0;c0&&Xs(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function ta(i){const e=Je(xe.EXTERNAL_LINKS,[]).filter(r=>(r==null?void 0:r.position)==="navigation"||!(r!=null&&r.position)),t=e.filter(r=>!!(r&&!r.group)),n=bt.map(bt.groupBy(e.filter(r=>!!(r&&r.group)),r=>r.group),(r,s)=>({key:s,value:r}));return[e,t,n]}class na extends Q{constructor(e){super(),$(this,e,ta,ea,J,{})}}var Be;(function(i){i.SECTION="section",i.HEADER="header"})(Be||(Be={}));function wi(i,e){return ia(e.lexer.lex(i),e)}function ia(i,e){const t=Ei(e.extractors),n=[];let r={type:Be.SECTION,content:"",headers:[]};return i.forEach(s=>{if(s.type==="heading"){const l=s,o={id:e.slugger.slug(l.text),depth:l.depth,text:l.text},u={type:Be.SECTION,content:"",headers:[]},c=r.headers[r.headers.length-1];c?s.depth>c.depth?u.headers=[...r.headers,o]:s.depth<=c.depth&&(u.headers=[...r.headers.filter(f=>f.depth0&&n.push(r),n.push({type:Be.HEADER,path:u.headers,title:l.text}),r=u}else r.content+=t([s])}),r.content.trim().length>0&&n.push(r),n}function Ei(i){return e=>e.reduce((t,n)=>{const r=i[n.type];if(!r)throw new Error(`No extractor found for token type: ${n.type}`);return t+r(n,Ei(i))},"")}function Pe(i){return Array.isArray?Array.isArray(i):yi(i)==="[object Array]"}const ra=1/0;function la(i){if(typeof i=="string")return i;let e=i+"";return e=="0"&&1/i==-ra?"-0":e}function sa(i){return i==null?"":la(i)}function Fe(i){return typeof i=="string"}function Si(i){return typeof i=="number"}function aa(i){return i===!0||i===!1||oa(i)&&yi(i)=="[object Boolean]"}function Ai(i){return typeof i=="object"}function oa(i){return Ai(i)&&i!==null}function Ce(i){return i!=null}function gt(i){return!i.trim().length}function yi(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(i)}const ua="Incorrect 'index' type",fa=i=>`Invalid value for key ${i}`,ca=i=>`Pattern length exceeds max of ${i}.`,da=i=>`Missing ${i} property in key`,ha=i=>`Property 'weight' in key '${i}' must be a positive integer`,Rn=Object.prototype.hasOwnProperty;class ga{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(n=>{let r=Mi(n);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(n=>{n.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Mi(i){let e=null,t=null,n=null,r=1,s=null;if(Fe(i)||Pe(i))n=i,e=In(i),t=St(i);else{if(!Rn.call(i,"name"))throw new Error(da("name"));const l=i.name;if(n=l,Rn.call(i,"weight")&&(r=i.weight,r<=0))throw new Error(ha(l));e=In(l),t=St(l),s=i.getFn}return{path:e,id:t,weight:r,src:n,getFn:s}}function In(i){return Pe(i)?i:i.split(".")}function St(i){return Pe(i)?i.join("."):i}function ma(i,e){let t=[],n=!1;const r=(s,l,a)=>{if(Ce(s))if(!l[a])t.push(s);else{let o=l[a];const u=s[o];if(!Ce(u))return;if(a===l.length-1&&(Fe(u)||Si(u)||aa(u)))t.push(sa(u));else if(Pe(u)){n=!0;for(let c=0,f=u.length;ci.score===e.score?i.idx{this._keysMap[t.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Fe(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();Fe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t{let l=r.getFn?r.getFn(e):this.getFn(e,r.path);if(Ce(l)){if(Pe(l)){let a=[];const o=[{nestedArrIndex:-1,value:l}];for(;o.length;){const{nestedArrIndex:u,value:c}=o.pop();if(Ce(c))if(Fe(c)&&!gt(c)){let f={v:c,i:u,n:this.norm.get(c)};a.push(f)}else Pe(c)&&c.forEach((f,d)=>{o.push({nestedArrIndex:d,value:f})})}n.$[s]=a}else if(Fe(l)&&!gt(l)){let a={v:l,n:this.norm.get(l)};n.$[s]=a}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ri(i,e,{getFn:t=ne.getFn,fieldNormWeight:n=ne.fieldNormWeight}={}){const r=new Tt({getFn:t,fieldNormWeight:n});return r.setKeys(i.map(Mi)),r.setSources(e),r.create(),r}function Ea(i,{getFn:e=ne.getFn,fieldNormWeight:t=ne.fieldNormWeight}={}){const{keys:n,records:r}=i,s=new Tt({getFn:e,fieldNormWeight:t});return s.setKeys(n),s.setIndexRecords(r),s}function it(i,{errors:e=0,currentLocation:t=0,expectedLocation:n=0,distance:r=ne.distance,ignoreLocation:s=ne.ignoreLocation}={}){const l=e/i.length;if(s)return l;const a=Math.abs(n-t);return r?l+a/r:a?1:l}function Sa(i=[],e=ne.minMatchCharLength){let t=[],n=-1,r=-1,s=0;for(let l=i.length;s=e&&t.push([n,r]),n=-1)}return i[s-1]&&s-n>=e&&t.push([n,s-1]),t}const Ye=32;function Aa(i,e,t,{location:n=ne.location,distance:r=ne.distance,threshold:s=ne.threshold,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,includeMatches:o=ne.includeMatches,ignoreLocation:u=ne.ignoreLocation}={}){if(e.length>Ye)throw new Error(ca(Ye));const c=e.length,f=i.length,d=Math.max(0,Math.min(n,f));let h=s,m=d;const v=a>1||o,R=v?Array(f):[];let C;for(;(C=i.indexOf(e,m))>-1;){let ee=it(e,{currentLocation:C,expectedLocation:d,distance:r,ignoreLocation:u});if(h=Math.min(ee,h),m=C+c,v){let I=0;for(;I=E;le-=1){let Me=le-1,Re=t[i.charAt(Me)];if(v&&(R[Me]=+!!Re),ae[le]=(ae[le+1]<<1|1)&Re,ee&&(ae[le]|=(p[le+1]|p[le])<<1|1|p[le+1]),ae[le]&_&&(S=it(e,{errors:ee,currentLocation:Me,expectedLocation:d,distance:r,ignoreLocation:u}),S<=h)){if(h=S,m=Me,m<=d)break;E=Math.max(1,2*d-m)}}if(it(e,{errors:ee+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:u})>h)break;p=ae}const F={isMatch:m>=0,score:Math.max(.001,S)};if(v){const ee=Sa(R,a);ee.length?o&&(F.indices=ee):F.isMatch=!1}return F}function ya(i){let e={};for(let t=0,n=i.length;t{this.chunks.push({pattern:d,alphabet:ya(d),startIndex:h})},f=this.pattern.length;if(f>Ye){let d=0;const h=f%Ye,m=f-h;for(;d{const{isMatch:C,score:p,indices:S}=Aa(e,m,v,{location:r+R,distance:s,threshold:l,findAllMatches:a,minMatchCharLength:o,includeMatches:n,ignoreLocation:u});C&&(d=!0),f+=p,C&&S&&(c=[...c,...S])});let h={isMatch:d,score:d?f/this.chunks.length:1};return d&&n&&(h.indices=c),h}}class Ue{constructor(e){this.pattern=e}static isMultiMatch(e){return On(e,this.multiRegex)}static isSingleMatch(e){return On(e,this.singleRegex)}search(){}}function On(i,e){const t=i.match(e);return t?t[1]:null}class Ma extends Ue{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class Ra extends Ue{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const n=e.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Ia extends Ue{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class Oa extends Ue{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class Na extends Ue{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Ca extends Ue{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class Oi extends Ue{constructor(e,{location:t=ne.location,threshold:n=ne.threshold,distance:r=ne.distance,includeMatches:s=ne.includeMatches,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,isCaseSensitive:o=ne.isCaseSensitive,ignoreLocation:u=ne.ignoreLocation}={}){super(e),this._bitapSearch=new Ii(e,{location:t,threshold:n,distance:r,includeMatches:s,findAllMatches:l,minMatchCharLength:a,isCaseSensitive:o,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ni extends Ue{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n;const r=[],s=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+s,r.push([n,t-1]);const l=!!r.length;return{isMatch:l,score:l?0:1,indices:r}}}const At=[Ma,Ni,Ia,Oa,Ca,Na,Ra,Oi],Nn=At.length,Ta=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,za="|";function La(i,e={}){return i.split(za).map(t=>{let n=t.trim().split(Ta).filter(s=>s&&!!s.trim()),r=[];for(let s=0,l=n.length;s!!(i[rt.AND]||i[rt.OR]),Da=i=>!!i[Rt.PATH],Pa=i=>!Pe(i)&&Ai(i)&&!It(i),Cn=i=>({[rt.AND]:Object.keys(i).map(e=>({[e]:i[e]}))});function Ci(i,e,{auto:t=!0}={}){const n=r=>{let s=Object.keys(r);const l=Da(r);if(!l&&s.length>1&&!It(r))return n(Cn(r));if(Pa(r)){const o=l?r[Rt.PATH]:s[0],u=l?r[Rt.PATTERN]:r[o];if(!Fe(u))throw new Error(fa(o));const c={keyId:St(o),pattern:u};return t&&(c.searcher=Mt(u,e)),c}let a={children:[],operator:s[0]};return s.forEach(o=>{const u=r[o];Pe(u)&&u.forEach(c=>{a.children.push(n(c))})}),a};return It(i)||(i=Cn(i)),n(i)}function Ga(i,{ignoreFieldNorm:e=ne.ignoreFieldNorm}){i.forEach(t=>{let n=1;t.matches.forEach(({key:r,norm:s,score:l})=>{const a=r?r.weight:null;n*=Math.pow(l===0&&a?Number.EPSILON:l,(a||1)*(e?1:s))}),t.score=n})}function ja(i,e){const t=i.matches;e.matches=[],Ce(t)&&t.forEach(n=>{if(!Ce(n.indices)||!n.indices.length)return;const{indices:r,value:s}=n;let l={indices:r,value:s};n.key&&(l.key=n.key.src),n.idx>-1&&(l.refIndex=n.idx),e.matches.push(l)})}function Va(i,e){e.score=i.score}function Ua(i,e,{includeMatches:t=ne.includeMatches,includeScore:n=ne.includeScore}={}){const r=[];return t&&r.push(ja),n&&r.push(Va),i.map(s=>{const{idx:l}=s,a={item:e[l],refIndex:l};return r.length&&r.forEach(o=>{o(s,a)}),a})}class qe{constructor(e,t={},n){this.options={...ne,...t},this.options.useExtendedSearch,this._keyStore=new ga(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Tt))throw new Error(ua);this._myIndex=t||Ri(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ce(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let n=0,r=this._docs.length;n-1&&(o=o.slice(0,t)),Ua(o,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=Mt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:c}=t.searchIn(s);o&&r.push({item:s,idx:l,matches:[{score:u,value:s,norm:a,indices:c}]})}),r}_searchLogical(e){const t=Ci(e,this.options),n=(a,o,u)=>{if(!a.children){const{keyId:f,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(o,f),searcher:d});return h&&h.length?[{idx:u,item:o,matches:h}]:[]}const c=[];for(let f=0,d=a.children.length;f{if(Ce(a)){let u=n(t,a,o);u.length&&(s[o]||(s[o]={idx:o,item:a,matches:[]},l.push(s[o])),u.forEach(({matches:c})=>{s[o].matches.push(...c)}))}}),l}_searchObjectList(e){const t=Mt(e,this.options),{keys:n,records:r}=this._myIndex,s=[];return r.forEach(({$:l,i:a})=>{if(!Ce(l))return;let o=[];n.forEach((u,c)=>{o.push(...this._findMatches({key:u,value:l[c],searcher:t}))}),o.length&&s.push({idx:a,item:l,matches:o})}),s}_findMatches({key:e,value:t,searcher:n}){if(!Ce(t))return[];let r=[];if(Pe(t))t.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:c}=n.searchIn(s);o&&r.push({score:u,key:e,value:s,idx:l,norm:a,indices:c})});else{const{v:s,n:l}=t,{isMatch:a,score:o,indices:u}=n.searchIn(s);a&&r.push({score:o,key:e,value:s,norm:l,indices:u})}return r}}qe.version="7.0.0";qe.createIndex=Ri;qe.parseIndex=Ea;qe.config=ne;qe.parseQuery=Ci;Ha(Ba);function Ya(){return{blockquote:Te,codespan:Te,del:Te,em:Te,heading:Te,br:()=>` +`,paragraph:Te,strong:Te,text:Te,link:Te,list:(i,e)=>i.items.reduce((t,n)=>`${t} +${Te(n,e)}`,""),list_item:Te,table:(i,e)=>i.rows.reduce((t,n)=>`${t} +${n.map(r=>Te({...r,type:"table_cell",raw:""},e)).join(" ")}`,""),code:()=>"",image:()=>"",hr:()=>"",def:()=>"",html:()=>"",space:()=>" ",escape:()=>""}}function Te(i,e){if(i.tokens)return e(i.tokens);if(i.type==="text"||i.type==="codespan")return i.text;throw new Error(`Could not extract text for ${i.type}`)}function Za(){return new di}function Ka(){return new lr}function Wa(){return{keys:[{name:"part.title",weight:1.5},{name:"part.content",weight:1}],includeScore:!0,includeMatches:!0,threshold:.1,minMatchCharLength:3,ignoreLocation:!0}}function Ti(i){return{lexerFactory:(i==null?void 0:i.lexerFactory)??Ka,sluggerFactory:(i==null?void 0:i.sluggerFactory)??Za,extractors:{...Ya(),...i==null?void 0:i.extractors}}}function xa(i,e){const t=(e==null?void 0:e.fuse)??new qe([],Wa()),n=Ti(e==null?void 0:e.markdown);return i.forEach(r=>{qa(r,t,n)}),t}function qa(i,e,t){wi(i.content,{slugger:t.sluggerFactory(),lexer:t.lexerFactory(),extractors:t.extractors}).forEach(r=>{e.add({data:i.data,part:r})})}function ze({description:i},e){if(i&&i.trim().length!==0)return wi(i,{extractors:e.extractors,lexer:e.lexerFactory(),slugger:e.sluggerFactory()}).map(t=>{switch(t.type){case Be.SECTION:return t.content;case Be.HEADER:return""}}).join(` +`)}function Xa(i,e,t){return{type:i,name:e.name,description:ze(e,t),arguments:e.args.map(n=>({name:n.name,description:ze(n,t)}))}}var Ne;(function(i){i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i.TYPE="type"})(Ne||(Ne={}));var Ve;(function(i){i.ENUM="enum",i.SCALAR="scalar",i.INTERFACE="interface",i.UNION="union",i.OBJECT="object",i.INPUT_OBJECT="input_object"})(Ve||(Ve={}));function Ja(i,e){if(sr(i))return to(i,e);if(ar(i))return Tn(Ve.OBJECT,i,e);if(or(i))return Tn(Ve.INTERFACE,i,e);if(ur(i))return eo(i,e);if(fr(i))return $a(i,e);if(cr(i))return Qa(i,e);throw new Error("This code block should be unreachable. If you ever receive this exception, it means you have an invalid setup using GraphQL.")}function Qa(i,e){return{type:Ne.TYPE,graphqlType:Ve.INPUT_OBJECT,name:i.name,description:ze(i,e),fields:Object.values(i.getFields()).map(t=>({name:t.name,description:ze(t,e)}))}}function $a(i,e){return{type:Ne.TYPE,graphqlType:Ve.UNION,name:i.name,description:ze(i,e)}}function eo(i,e){return{type:Ne.TYPE,graphqlType:Ve.SCALAR,name:i.name,description:ze(i,e)}}function Tn(i,e,t){return{type:Ne.TYPE,graphqlType:i,name:e.name,description:ze(e,t),fields:Object.values(e.getFields()).map(n=>({name:n.name,description:ze(n,t),arguments:n.args.map(r=>({name:r.name,description:ze(r,t)}))}))}}function to(i,e){return{name:i.name,description:ze(i,e),graphqlType:Ve.ENUM,type:Ne.TYPE,values:i.getValues().map(t=>({value:t.name,description:ze(t,e)}))}}function no(){return{keys:[{name:"name",weight:1.5},{name:"description",weight:1},{name:"arguments.name",weight:1.2},{name:"arguments.description",weight:1},{name:"values.value",weight:1.2},{name:"values.description",weight:1},{name:"fields.name",weight:1.2},{name:"fields.description",weight:1},{name:"fields.arguments.name",weight:.9},{name:"fields.arguments.description",weight:.8}],distance:100,minMatchCharLength:3,threshold:.2,includeMatches:!0,includeScore:!0}}function io(i,e){const t=(e==null?void 0:e.fuse)??new qe([],no()),n=Ti(e==null?void 0:e.markdown);return mt(Ne.QUERY,i.getQueryType(),t,n),mt(Ne.MUTATION,i.getMutationType(),t,n),mt(Ne.SUBSCRIPTION,i.getSubscriptionType(),t,n),ro(i,t,n),t}function ro(i,e,t){Object.values(i.getTypeMap()).forEach(n=>{n===i.getQueryType()||n===i.getMutationType()||n===i.getSubscriptionType()||n.name.startsWith("__")||e.add(Ja(n,t))})}function mt(i,e,t,n){e&&Object.values(e.getFields()).forEach(r=>{t.add(Xa(i,r,n))})}mi();const zi={extractors:{tags:()=>"",notification:(i,e)=>e(i.tokens),tabs:(i,e)=>i.tabs.map(n=>e(n.tokens)).join(` +`)}},lo=xa(Li(hi).map(i=>({data:{type:"markdown",url:i.href,section:i.section},content:i.content||""})).filter(i=>!!i.content.trim()),{markdown:zi}),so=io(dr,{markdown:zi});function ao(i){const e=lo.search(i).map(n=>({type:"markdown",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:uo(r.indices)}))}));let t=[];return hr()||(t=so.search(i).map(n=>({type:"graphql",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:r.indices}))}))),oo(e,t)}function oo(i,e){return[...i,...e].sort((t,n)=>t.score-n.score).slice(0,10)}function uo(i){const e=[];let t=[0,0];const n=new Set(i.map(([o])=>o)),r=new Set(i.map(([,o])=>o)),s=Math.min(...i.map(([o])=>o)),l=Math.max(...i.map(([,o])=>o));let a=!1;for(let o=s;o<=l;o++)n.has(o)&&!a?(a=!0,t=[o,0]):r.has(o)&&a&&(a=!1,t[1]=o,e.push(t));return e}function Li(i){return i.flatMap(e=>e.type==="page"?[e]:e.type==="menu"?Li(e.children):[])}const Ot=new Set,Fi=$e(0),zn=()=>Fi.set([...Ot].filter(i=>er(i)).length),fo=i=>Ct(()=>{Ot.add(i);const e=i.subscribe(zn);return()=>{e(),Ot.delete(i),zn()}});Fi.subscribe(i=>{typeof document<"u"&&document.body.classList.toggle("bx--body--with-modal-open",i>0)});function Ln(i,e,t){const n=i.slice();return n[55]=e[t],n}const co=i=>({}),Fn=i=>({}),ho=i=>({}),Bn=i=>({});function Hn(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=V("button"),D(t.$$.fragment),this.h()},l(l){e=U(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){w(l,e,a),P(t,e,null),i[37](e),n=!0,r||(s=se(e,"click",i[38]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(b(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),G(t),i[37](null),r=!1,s()}}}function Dn(i){let e,t;const n=i[31].label,r=_e(n,i,i[50],Bn),s=r||go(i);return{c(){e=V("h2"),s&&s.c(),this.h()},l(l){e=U(l,"H2",{id:!0});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){L(e,"id",i[25]),A(e,"bx--modal-header__label",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a[1]&524288)&&be(r,n,l,l[50],t?ke(n,l[50],a,ho):pe(l[50]),Bn):s&&s.p&&(!t||a[0]&128)&&s.p(l,t?a:[-1,-1]),(!t||a[0]&33554432)&&L(e,"id",l[25])},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function go(i){let e;return{c(){e=oe(i[7])},l(t){e=ue(t,i[7])},m(t,n){w(t,e,n)},p(t,n){n[0]&128&&me(e,t[7])},d(t){t&&g(e)}}}function mo(i){let e;return{c(){e=oe(i[6])},l(t){e=ue(t,i[6])},m(t,n){w(t,e,n)},p(t,n){n[0]&64&&me(e,t[6])},d(t){t&&g(e)}}}function Pn(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=V("button"),D(t.$$.fragment),this.h()},l(l){e=U(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){w(l,e,a),P(t,e,null),i[39](e),n=!0,r||(s=se(e,"click",i[40]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(b(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),G(t),i[39](null),r=!1,s()}}}function Gn(i){let e;return{c(){e=V("div"),this.h()},l(t){e=U(t,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--modal-content--overflow-indicator",!0)},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function jn(i){let e,t,n,r,s,l;const a=[bo,_o],o=[];function u(c,f){return c[16].length>0?0:c[15]?1:-1}return~(t=u(i))&&(n=o[t]=a[t](i)),s=new ot({props:{kind:i[3]?"danger":"primary",disabled:i[12],icon:i[13],$$slots:{default:[vo]},$$scope:{ctx:i}}}),s.$on("click",i[43]),{c(){e=V("div"),n&&n.c(),r=ie(),D(s.$$.fragment),this.h()},l(c){e=U(c,"DIV",{});var f=y(e);n&&n.l(f),r=re(f),W(s.$$.fragment,f),f.forEach(g),this.h()},h(){A(e,"bx--modal-footer",!0),A(e,"bx--modal-footer--three-button",i[16].length===2)},m(c,f){w(c,e,f),~t&&o[t].m(e,null),N(e,r),P(s,e,null),l=!0},p(c,f){let d=t;t=u(c),t===d?~t&&o[t].p(c,f):(n&&(ce(),k(o[d],1,1,()=>{o[d]=null}),de()),~t?(n=o[t],n?n.p(c,f):(n=o[t]=a[t](c),n.c()),b(n,1),n.m(e,r)):n=null);const h={};f[0]&8&&(h.kind=c[3]?"danger":"primary"),f[0]&4096&&(h.disabled=c[12]),f[0]&8192&&(h.icon=c[13]),f[0]&2048|f[1]&524288&&(h.$$scope={dirty:f,ctx:c}),s.$set(h),(!l||f[0]&65536)&&A(e,"bx--modal-footer--three-button",c[16].length===2)},i(c){l||(b(n),b(s.$$.fragment,c),l=!0)},o(c){k(n),k(s.$$.fragment,c),l=!1},d(c){c&&g(e),~t&&o[t].d(),G(s)}}}function _o(i){let e,t;return e=new ot({props:{kind:"secondary",$$slots:{default:[po]},$$scope:{ctx:i}}}),e.$on("click",i[42]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r[0]&32768|r[1]&524288&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function bo(i){let e,t,n=ye(i[16]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{_=null}),de()),T[7]?F?(F.p(T,te),te[0]&128&&b(F,1)):(F=Dn(T),F.c(),b(F,1),F.m(n,s)):F&&(ce(),k(F,1,1,()=>{F=null}),de()),I?I.p&&(!p||te[1]&524288)&&be(I,ee,T,T[50],p?ke(ee,T[50],te,co):pe(T[50]),Fn):q&&q.p&&(!p||te[0]&64)&&q.p(T,p?te:[-1,-1]),(!p||te[0]&16777216)&&L(l,"id",T[24]),T[5]?E&&(ce(),k(E,1,1,()=>{E=null}),de()):E?(E.p(T,te),te[0]&32&&b(E,1)):(E=Pn(T),E.c(),b(E,1),E.m(n,null)),ae&&ae.p&&(!p||te[1]&524288)&&be(ae,j,T,T[50],p?ke(j,T[50],te,null):pe(T[50]),null),(!p||te[0]&8388608)&&L(u,"id",T[23]),(!p||te[0]&1024&&c!==(c=T[10]?"0":void 0))&&L(u,"tabindex",c),(!p||te[0]&1024&&f!==(f=T[10]?"region":void 0))&&L(u,"role",f),(!p||te[0]&4195328&&d!==(d=T[10]?T[22]:void 0))&&L(u,"aria-label",d),(!p||te[0]&50331776&&h!==(h=T[7]?T[25]:T[24]))&&L(u,"aria-labelledby",h),(!p||te[0]&512)&&A(u,"bx--modal-content--with-form",T[9]),(!p||te[0]&1024)&&A(u,"bx--modal-scroll-content",T[10]),T[10]?we||(we=Gn(),we.c(),we.m(t,v)):we&&(we.d(1),we=null),T[5]?le&&(ce(),k(le,1,1,()=>{le=null}),de()):le?(le.p(T,te),te[0]&32&&b(le,1)):(le=jn(T),le.c(),b(le,1),le.m(t,null)),(!p||te[0]&48&&R!==(R=T[4]?T[5]?"alert":"alertdialog":"dialog"))&&L(t,"role",R),(!p||te[0]&8388656&&C!==(C=T[4]&&!T[5]?T[23]:void 0))&&L(t,"aria-describedby",C),(!p||te[0]&4194304)&&L(t,"aria-label",T[22]),(!p||te[0]&4)&&A(t,"bx--modal-container--xs",T[2]==="xs"),(!p||te[0]&4)&&A(t,"bx--modal-container--sm",T[2]==="sm"),(!p||te[0]&4)&&A(t,"bx--modal-container--lg",T[2]==="lg"),ve(e,Re=he(Me,[{role:"presentation"},(!p||te[0]&262144)&&{id:T[18]},te[0]&268435456&&T[28]])),A(e,"bx--modal",!0),A(e,"bx--modal-tall",!T[5]),A(e,"is-visible",T[0]),A(e,"bx--modal--danger",T[3])},i(T){p||(b(_),b(F),b(q,T),b(E),b(ae,T),b(le),p=!0)},o(T){k(_),k(F),k(q,T),k(E),k(ae,T),k(le),p=!1},d(T){T&&g(e),_&&_.d(),F&&F.d(),q&&q.d(T),E&&E.d(),ae&&ae.d(T),we&&we.d(),le&&le.d(),i[44](null),i[46](null),S=!1,We(O)}}}function Eo(i,e,t){let n,r,s,l;const a=["size","open","danger","alert","passiveModal","modalHeading","modalLabel","modalAriaLabel","iconDescription","hasForm","hasScrollingContent","primaryButtonText","primaryButtonDisabled","primaryButtonIcon","shouldSubmitOnEnter","secondaryButtonText","secondaryButtons","selectorPrimaryFocus","preventCloseOnClickOutside","id","ref"];let o=B(e,a),u,{$$slots:c={},$$scope:f}=e,{size:d=void 0}=e,{open:h=!1}=e,{danger:m=!1}=e,{alert:v=!1}=e,{passiveModal:R=!1}=e,{modalHeading:C=void 0}=e,{modalLabel:p=void 0}=e,{modalAriaLabel:S=void 0}=e,{iconDescription:O="Close the modal"}=e,{hasForm:_=!1}=e,{hasScrollingContent:F=!1}=e,{primaryButtonText:ee=""}=e,{primaryButtonDisabled:I=!1}=e,{primaryButtonIcon:q=void 0}=e,{shouldSubmitOnEnter:E=!0}=e,{secondaryButtonText:j=""}=e,{secondaryButtons:ae=[]}=e,{selectorPrimaryFocus:we="[data-modal-primary-focus]"}=e,{preventCloseOnClickOutside:le=!1}=e,{id:Me="ccs-"+Math.random().toString(36)}=e,{ref:Re=null}=e;const T=st();let te=null,Ee=null,Se=!1,Oe=!1;function Ge(z){(Ee.querySelector(we)||te).focus()}const Xe=$e(h);Ze(i,Xe,z=>t(52,u=z)),fo(Xe),tr(()=>{Se?h||(Se=!1,T("close")):h&&(Se=!0,Ge(),T("open"))});function ut(z){fe.call(this,i,z)}function ft(z){fe.call(this,i,z)}function ct(z){fe.call(this,i,z)}function dt(z){fe.call(this,i,z)}function ht(z){fe.call(this,i,z)}function H(z){Ae[z?"unshift":"push"](()=>{te=z,t(19,te)})}const Gi=()=>{t(0,h=!1)};function ji(z){Ae[z?"unshift":"push"](()=>{te=z,t(19,te)})}const Vi=()=>{t(0,h=!1)},Ui=z=>{T("click:button--secondary",{text:z.text})},Yi=()=>{T("click:button--secondary",{text:j})},Zi=()=>{T("submit"),T("click:button--primary")};function Ki(z){Ae[z?"unshift":"push"](()=>{Ee=z,t(20,Ee)})}const Wi=()=>{t(21,Oe=!0)};function xi(z){Ae[z?"unshift":"push"](()=>{Re=z,t(1,Re)})}const qi=z=>{if(h)if(z.key==="Escape")t(0,h=!1);else if(z.key==="Tab"){const et=Array.from(Re.querySelectorAll(` + a[href], area[href], input:not([disabled]):not([tabindex='-1']), + button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), + textarea:not([disabled]):not([tabindex='-1']), + iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true] +`));let Qe=et.indexOf(document.activeElement);Qe===-1&&z.shiftKey&&(Qe=0),Qe+=et.length+(z.shiftKey?-1:1),Qe%=et.length,et[Qe].focus(),z.preventDefault()}else E&&z.key==="Enter"&&!I&&(T("submit"),T("click:button--primary"))},Xi=()=>{!Oe&&!le&&t(0,h=!1),t(21,Oe=!1)},Ji=z=>{z.propertyName==="transform"&&T("transitionend",{open:h})};return i.$$set=z=>{t(54,e=M(M({},e),x(z))),t(28,o=B(e,a)),"size"in z&&t(2,d=z.size),"open"in z&&t(0,h=z.open),"danger"in z&&t(3,m=z.danger),"alert"in z&&t(4,v=z.alert),"passiveModal"in z&&t(5,R=z.passiveModal),"modalHeading"in z&&t(6,C=z.modalHeading),"modalLabel"in z&&t(7,p=z.modalLabel),"modalAriaLabel"in z&&t(29,S=z.modalAriaLabel),"iconDescription"in z&&t(8,O=z.iconDescription),"hasForm"in z&&t(9,_=z.hasForm),"hasScrollingContent"in z&&t(10,F=z.hasScrollingContent),"primaryButtonText"in z&&t(11,ee=z.primaryButtonText),"primaryButtonDisabled"in z&&t(12,I=z.primaryButtonDisabled),"primaryButtonIcon"in z&&t(13,q=z.primaryButtonIcon),"shouldSubmitOnEnter"in z&&t(14,E=z.shouldSubmitOnEnter),"secondaryButtonText"in z&&t(15,j=z.secondaryButtonText),"secondaryButtons"in z&&t(16,ae=z.secondaryButtons),"selectorPrimaryFocus"in z&&t(30,we=z.selectorPrimaryFocus),"preventCloseOnClickOutside"in z&&t(17,le=z.preventCloseOnClickOutside),"id"in z&&t(18,Me=z.id),"ref"in z&&t(1,Re=z.ref),"$$scope"in z&&t(50,f=z.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&1&&_t(Xe,u=h,u),i.$$.dirty[0]&262144&&t(25,n=`bx--modal-header__label--modal-${Me}`),i.$$.dirty[0]&262144&&t(24,r=`bx--modal-header__heading--modal-${Me}`),i.$$.dirty[0]&262144&&t(23,s=`bx--modal-body--${Me}`),t(22,l=p||e["aria-label"]||S||C)},e=x(e),[h,Re,d,m,v,R,C,p,O,_,F,ee,I,q,E,j,ae,le,Me,te,Ee,Oe,l,s,r,n,T,Xe,o,S,we,c,ut,ft,ct,dt,ht,H,Gi,ji,Vi,Ui,Yi,Zi,Ki,Wi,xi,qi,Xi,Ji,f]}class So extends Q{constructor(e){super(),$(this,e,Eo,wo,J,{size:2,open:0,danger:3,alert:4,passiveModal:5,modalHeading:6,modalLabel:7,modalAriaLabel:29,iconDescription:8,hasForm:9,hasScrollingContent:10,primaryButtonText:11,primaryButtonDisabled:12,primaryButtonIcon:13,shouldSubmitOnEnter:14,secondaryButtonText:15,secondaryButtons:16,selectorPrimaryFocus:30,preventCloseOnClickOutside:17,id:18,ref:1},null,[-1,-1])}}function Ao(i){let e;const t=i[5].default,n=_e(t,i,i[13],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&8192)&&be(n,t,r,r[13],e?ke(t,r[13],s,null):pe(r[13]),null)},i(r){e||(b(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function yo(i){let e,t;const n=[i[4],{disabled:i[2]},{class:"bx--tile bx--tile--clickable "+(i[0]&&"bx--tile--is-clicked")+" "+(i[1]&&"bx--tile--light")+" "+i[4].class},{href:i[3]}];let r={$$slots:{default:[Ao]},$$scope:{ctx:i}};for(let s=0;s{t(0,a=!a)};function h(p){fe.call(this,i,p)}const m=({key:p})=>{(p===" "||p==="Enter")&&t(0,a=!a)};function v(p){fe.call(this,i,p)}function R(p){fe.call(this,i,p)}function C(p){fe.call(this,i,p)}return i.$$set=p=>{e=M(M({},e),x(p)),t(4,r=B(e,n)),"clicked"in p&&t(0,a=p.clicked),"light"in p&&t(1,o=p.light),"disabled"in p&&t(2,u=p.disabled),"href"in p&&t(3,c=p.href),"$$scope"in p&&t(13,l=p.$$scope)},[a,o,u,c,r,s,f,d,h,m,v,R,C,l]}class Bi extends Q{constructor(e){super(),$(this,e,Mo,yo,J,{clicked:0,light:1,disabled:2,href:3})}}function Un(i){let e;return{c(){e=oe("...")},l(t){e=ue(t,"...")},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function Yn(i){let e;return{c(){e=oe("...")},l(t){e=ue(t,"...")},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function Ro(i){let e,t,n,r,s=i[1]>0&&Un(),l=i[2]0?s||(s=Un(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),o&8&&t.p(a[3]),a[2]{"text"in d&&t(0,a=d.text),"indexes"in d&&t(4,o=d.indexes)},i.$$.update=()=>{if(i.$$.dirty&16&&t(8,n=Math.min(...o.map(d=>d[0]))),i.$$.dirty&16&&t(7,r=Math.max(...o.map(d=>d[1]))),i.$$.dirty&256&&t(1,s=Math.max(n-Zn,0)),i.$$.dirty&129&&t(2,l=Math.min(r+Zn+1,a.length)),i.$$.dirty&23&&(t(5,u=a.slice(s,l)),t(6,c=o.map(([d,h])=>[d-s,h-s]))),i.$$.dirty&104){const d=new Set(c.map(([v])=>v)),h=new Set(c.map(([,v])=>v));t(3,f="");let m=!1;for(let v=0;v"),t(3,f+=R)):h.has(v)&&m?(m=!1,t(3,f+=R),t(3,f+="")):t(3,f+=R)}}},[a,s,l,f,o,u,c,r,n]}class zt extends Q{constructor(e){super(),$(this,e,Io,Ro,J,{text:0,indexes:4})}}function Kn(i,e,t){const n=i.slice();return n[2]=e[t],n[4]=t,n}function Wn(i){let e,t,n,r,s=i[1].length>0&&xn();return{c(){e=V("strong"),t=oe(i[0]),n=ie(),s&&s.c(),r=Y()},l(l){e=U(l,"STRONG",{});var a=y(e);t=ue(a,i[0]),a.forEach(g),n=re(l),s&&s.l(l),r=Y()},m(l,a){w(l,e,a),N(e,t),w(l,n,a),s&&s.m(l,a),w(l,r,a)},p(l,a){a&1&&me(t,l[0]),l[1].length>0?s||(s=xn(),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(l){l&&(g(e),g(n),g(r)),s&&s.d(l)}}}function xn(i){let e=" > ",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){w(n,t,r)},d(n){n&&g(t)}}}function qn(i){let e=" > ",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){w(n,t,r)},d(n){n&&g(t)}}}function Xn(i){let e,t=i[2].text+"",n,r,s,l=i[4]{"section"in s&&t(0,n=s.section),"headers"in s&&t(1,r=s.headers)},[n,r]}class Hi extends Q{constructor(e){super(),$(this,e,No,Oo,J,{section:0,headers:1})}}function Jn(i){let e,t,n,r;return{c(){e=V("strong"),t=oe("("),n=oe(i[3]),r=oe(")")},l(s){e=U(s,"STRONG",{});var l=y(e);t=ue(l,"("),n=ue(l,i[3]),r=ue(l,")"),l.forEach(g)},m(s,l){w(s,e,l),N(e,t),N(e,n),N(e,r)},p(s,l){l&8&&me(n,s[3])},d(s){s&&g(e)}}}function Co(i){let e,t,n,r,s,l,a;e=new Hi({props:{section:i[2],headers:[{id:i[0].result.name,depth:1,text:i[0].result.name}]}});let o=i[3]&&Jn(i);return l=new zt({props:{text:i[0].matches[0].value,indexes:i[0].matches[0].indices}}),{c(){D(e.$$.fragment),t=ie(),o&&o.c(),n=ie(),r=V("br"),s=ie(),D(l.$$.fragment)},l(u){W(e.$$.fragment,u),t=re(u),o&&o.l(u),n=re(u),r=U(u,"BR",{}),s=re(u),W(l.$$.fragment,u)},m(u,c){P(e,u,c),w(u,t,c),o&&o.m(u,c),w(u,n,c),w(u,r,c),w(u,s,c),P(l,u,c),a=!0},p(u,c){const f={};c&4&&(f.section=u[2]),c&1&&(f.headers=[{id:u[0].result.name,depth:1,text:u[0].result.name}]),e.$set(f),u[3]?o?o.p(u,c):(o=Jn(u),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null);const d={};c&1&&(d.text=u[0].matches[0].value),c&1&&(d.indexes=u[0].matches[0].indices),l.$set(d)},i(u){a||(b(e.$$.fragment,u),b(l.$$.fragment,u),a=!0)},o(u){k(e.$$.fragment,u),k(l.$$.fragment,u),a=!1},d(u){u&&(g(t),g(n),g(r),g(s)),G(e,u),o&&o.d(u),G(l,u)}}}function To(i){let e,t;return e=new Bi({props:{href:i[1],$$slots:{default:[Co]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&2&&(s.href=n[1]),r&45&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function zo(i,e,t){let{item:n}=e,r,s,l;function a(o){fe.call(this,i,o)}return i.$$set=o=>{"item"in o&&t(0,n=o.item)},i.$$.update=()=>{i.$$.dirty&1&&(n.result.type===Ne.QUERY?(t(1,r=tt.joinUrlPaths(nt(),`/queries/${n.result.name}`)),t(2,s="Queries")):n.result.type===Ne.MUTATION?(t(1,r=tt.joinUrlPaths(nt(),`/mutations/${n.result.name}`)),t(2,s="Mutations")):n.result.type===Ne.SUBSCRIPTION?(t(1,r=tt.joinUrlPaths(nt(),`/subscriptions/${n.result.name}`)),t(2,s="Subscriptions")):n.result.type===Ne.TYPE&&(t(1,r=tt.joinUrlPaths(nt(),`/types/${n.result.name}`)),t(2,s="Types"))),i.$$.dirty&1&&(n.matches[0].location.includes("arguments")?t(3,l="argument"):n.matches[0].location.includes("fields")?t(3,l="field"):n.matches[0].location.includes("value")?t(3,l="enum"):n.matches[0].location.includes("name")?t(3,l="name"):n.matches[0].location.includes("description")&&t(3,l="description"))},[n,r,s,l,a]}class Lo extends Q{constructor(e){super(),$(this,e,zo,To,J,{item:0})}}function Fo(i){let e,t;return e=new zt({props:{text:i[0].part.content,indexes:i[1]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.content),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Bo(i){let e,t;return e=new zt({props:{text:i[0].part.title,indexes:i[1]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.title),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Ho(i){let e,t,n,r,s,l,a,o;e=new Hi({props:{headers:i[2],section:i[0].data.section}});const u=[Bo,Fo],c=[];function f(d,h){return d[0].part.type===Be.HEADER?0:1}return s=f(i),l=c[s]=u[s](i),{c(){D(e.$$.fragment),t=ie(),n=V("br"),r=ie(),l.c(),a=Y()},l(d){W(e.$$.fragment,d),t=re(d),n=U(d,"BR",{}),r=re(d),l.l(d),a=Y()},m(d,h){P(e,d,h),w(d,t,h),w(d,n,h),w(d,r,h),c[s].m(d,h),w(d,a,h),o=!0},p(d,h){const m={};h&4&&(m.headers=d[2]),h&1&&(m.section=d[0].data.section),e.$set(m);let v=s;s=f(d),s===v?c[s].p(d,h):(ce(),k(c[v],1,1,()=>{c[v]=null}),de(),l=c[s],l?l.p(d,h):(l=c[s]=u[s](d),l.c()),b(l,1),l.m(a.parentNode,a))},i(d){o||(b(e.$$.fragment,d),b(l),o=!0)},o(d){k(e.$$.fragment,d),k(l),o=!1},d(d){d&&(g(t),g(n),g(r),g(a)),G(e,d),c[s].d(d)}}}function Do(i){let e,t;return e=new Bi({props:{href:i[3],$$slots:{default:[Ho]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&8&&(s.href=n[3]),r&39&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Po(i,e,t){let n,{result:r}=e,{indexes:s}=e,l;function a(o){fe.call(this,i,o)}return i.$$set=o=>{"result"in o&&t(0,r=o.result),"indexes"in o&&t(1,s=o.indexes)},i.$$.update=()=>{if(i.$$.dirty&1&&t(2,n=r.part.type===Be.HEADER?r.part.path:r.part.headers),i.$$.dirty&5){const o=n[n.length-1],u=r.data.url;!o||o.depth===1?t(3,l=u):t(3,l=`${u}#${o.id}`)}},[r,s,n,l,a]}class Go extends Q{constructor(e){super(),$(this,e,Po,Do,J,{result:0,indexes:1})}}function jo(i){let e,t;return e=new Lo({props:{item:i[0]}}),e.$on("click",i[2]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.item=n[0]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Vo(i){let e,t;return e=new Go({props:{result:i[0].result,indexes:i[0].matches[0].indices}}),e.$on("click",i[1]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.result=n[0].result),r&1&&(s.indexes=n[0].matches[0].indices),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Uo(i){let e,t,n,r;const s=[Vo,jo],l=[];function a(o,u){return o[0].type==="markdown"?0:o[0].type==="graphql"?1:-1}return~(e=a(i))&&(t=l[e]=s[e](i)),{c(){t&&t.c(),n=Y()},l(o){t&&t.l(o),n=Y()},m(o,u){~e&&l[e].m(o,u),w(o,n,u),r=!0},p(o,[u]){let c=e;e=a(o),e===c?~e&&l[e].p(o,u):(t&&(ce(),k(l[c],1,1,()=>{l[c]=null}),de()),~e?(t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n)):t=null)},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),~e&&l[e].d(o)}}}function Yo(i,e,t){let{item:n}=e;function r(l){fe.call(this,i,l)}function s(l){fe.call(this,i,l)}return i.$$set=l=>{"item"in l&&t(0,n=l.item)},[n,r,s]}class Zo extends Q{constructor(e){super(),$(this,e,Yo,Uo,J,{item:0})}}function Qn(i,e,t){const n=i.slice();return n[6]=e[t],n}function $n(i){let e,t,n;function r(l){i[5](l)}let s={modalHeading:"Search",passiveModal:!0,selectorPrimaryFocus:"#search-bar",hasScrollingContent:!1,$$slots:{default:[Ko]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.open=i[0]),e=new So({props:s}),Ae.push(()=>De(e,"open",r)),{c(){D(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,a){const o={};a&519&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.open=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function ei(i){let e,t;return e=new Zo({props:{item:i[6]}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&4&&(s.item=n[6]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Ko(i){let e,t,n,r,s;function l(f){i[3](f)}let a={id:"search-bar"};i[1]!==void 0&&(a.value=i[1]),e=new pi({props:a}),Ae.push(()=>De(e,"value",l));let o=ye(i[2]),u=[];for(let f=0;fk(u[f],1,1,()=>{u[f]=null});return{c(){D(e.$$.fragment),n=ie(),r=V("div");for(let f=0;ft=!1)),e.$set(h),d&5){o=ye(f[2]);let m;for(m=0;m{n=null}),de())},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function xo(i,e,t){let{open:n=!1}=e,r="",s;function l(u){r=u,t(1,r)}const a=()=>t(0,n=!1);function o(u){n=u,t(0,n)}return i.$$set=u=>{"open"in u&&t(0,n=u.open)},i.$$.update=()=>{i.$$.dirty&2&&t(2,s=ao(r))},[n,r,s,l,a,o]}class qo extends Q{constructor(e){super(),$(this,e,xo,Wo,J,{open:0})}}function ti(i,e,t){const n=i.slice();return n[1]=e[t],n}function Xo(i){let e,t,n=ye(i[0]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l0&&Xo(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function Qo(i){return[Je(xe.EXTERNAL_LINKS,[]).filter(t=>(t==null?void 0:t.position)==="header")]}class $o extends Q{constructor(e){super(),$(this,e,Qo,Jo,J,{})}}function eu(i){let e,t,n;return t=new pi({props:{placeholder:`Search ${pt}... (${i[3]?"⌘":"Ctrl"}+K)`,autocomplete:"off",size:"sm"}}),t.$on("focus",i[5]),{c(){e=V("div"),D(t.$$.fragment),this.h()},l(r){e=U(r,"DIV",{class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"class","search-bar-wrapper svelte-qat78g")},m(r,s){w(r,e,s),P(t,e,null),n=!0},p(r,s){const l={};s&8&&(l.placeholder=`Search ${pt}... (${r[3]?"⌘":"Ctrl"}+K)`),t.$set(l)},i(r){n||(b(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),G(t)}}}function tu(i){let e,t;return e=new bi({props:{icon:Ks,"aria-label":"Search"}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function nu(i){let e,t,n,r,s,l,a;const o=[tu,eu],u=[];function c(f,d){return f[1]?0:1}return e=c(i),t=u[e]=o[e](i),r=new $o({}),l=new na({}),{c(){t.c(),n=ie(),D(r.$$.fragment),s=ie(),D(l.$$.fragment)},l(f){t.l(f),n=re(f),W(r.$$.fragment,f),s=re(f),W(l.$$.fragment,f)},m(f,d){u[e].m(f,d),w(f,n,d),P(r,f,d),w(f,s,d),P(l,f,d),a=!0},p(f,d){let h=e;e=c(f),e===h?u[e].p(f,d):(ce(),k(u[h],1,1,()=>{u[h]=null}),de(),t=u[e],t?t.p(f,d):(t=u[e]=o[e](f),t.c()),b(t,1),t.m(n.parentNode,n))},i(f){a||(b(t),b(r.$$.fragment,f),b(l.$$.fragment,f),a=!0)},o(f){k(t),k(r.$$.fragment,f),k(l.$$.fragment,f),a=!1},d(f){f&&(g(n),g(s)),u[e].d(f),G(r,f),G(l,f)}}}function iu(i){let e,t;return e=new ml({props:{$$slots:{default:[nu]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&526&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ru(i){let e,t,n;return t=new Cl({}),{c(){e=V("div"),D(t.$$.fragment),this.h()},l(r){e=U(r,"DIV",{slot:!0,class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"slot","platform"),L(e,"class","header-logo-wrapper svelte-qat78g")},m(r,s){w(r,e,s),P(t,e,null),n=!0},p:X,i(r){n||(b(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),G(t)}}}function lu(i){let e,t,n,r,s,l;function a(f){i[6](f)}let o={href:pr||"/",expandedByDefault:!0,$$slots:{platform:[ru],default:[iu]},$$scope:{ctx:i}};i[0]!==void 0&&(o.isSideNavOpen=i[0]),e=new ul({props:o}),Ae.push(()=>De(e,"isSideNavOpen",a));function u(f){i[7](f)}let c={};return i[2]!==void 0&&(c.open=i[2]),r=new qo({props:c}),Ae.push(()=>De(r,"open",u)),{c(){D(e.$$.fragment),n=ie(),D(r.$$.fragment)},l(f){W(e.$$.fragment,f),n=re(f),W(r.$$.fragment,f)},m(f,d){P(e,f,d),w(f,n,d),P(r,f,d),l=!0},p(f,[d]){const h={};d&526&&(h.$$scope={dirty:d,ctx:f}),!t&&d&1&&(t=!0,h.isSideNavOpen=f[0],He(()=>t=!1)),e.$set(h);const m={};!s&&d&4&&(s=!0,m.open=f[2],He(()=>s=!1)),r.$set(m)},i(f){l||(b(e.$$.fragment,f),b(r.$$.fragment,f),l=!0)},o(f){k(e.$$.fragment,f),k(r.$$.fragment,f),l=!1},d(f){f&&g(n),G(e,f),G(r,f)}}}function su(i,e,t){let{isSideNavOpen:n=!0}=e,{mobile:r=!1}=e,s=!1,l=!1,a=d=>{d.metaKey||d.ctrlKey?d.key==="k"&&(d.preventDefault(),t(2,s=!0)):d.key==="Escape"&&t(2,s=!1)};Ct(()=>{t(3,l=navigator.platform.toUpperCase().indexOf("MAC")>=0),window.addEventListener("keydown",a)}),ci(()=>{window.removeEventListener("keydown",a)});const o=()=>t(2,s=!0),u=()=>t(2,s=!0);function c(d){n=d,t(0,n)}function f(d){s=d,t(2,s)}return i.$$set=d=>{"isSideNavOpen"in d&&t(0,n=d.isSideNavOpen),"mobile"in d&&t(1,r=d.mobile)},[n,r,s,l,o,u,c,f]}class au extends Q{constructor(e){super(),$(this,e,su,lu,J,{isSideNavOpen:0,mobile:1})}}function ii(i){let e,t,n;return{c(){e=V("div"),this.h()},l(r){e=U(r,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--side-nav__overlay",!0),A(e,"bx--side-nav__overlay-active",i[0]),je(e,"z-index",i[0]?6e3:void 0)},m(r,s){w(r,e,s),t||(n=se(e,"click",i[11]),t=!0)},p(r,s){s&1&&A(e,"bx--side-nav__overlay-active",r[0]),s&1&&je(e,"z-index",r[0]?6e3:void 0)},d(r){r&&g(e),t=!1,n()}}}function ou(i){let e,t,n,r,s,l;lt(i[10]);let a=!i[1]&&ii(i);const o=i[9].default,u=_e(o,i,i[8],null);let c=[{"aria-hidden":n=!i[0]},{"aria-label":i[3]},i[7]],f={};for(let d=0;d=i[4]?!1:i[0]),A(t,"bx--side-nav--collapsed",!i[0]&&!i[2]),A(t,"bx--side-nav--rail",i[2])},m(d,h){a&&a.m(d,h),w(d,e,h),w(d,t,h),u&&u.m(t,null),r=!0,s||(l=se(window,"resize",i[10]),s=!0)},p(d,[h]){d[1]?a&&(a.d(1),a=null):a?a.p(d,h):(a=ii(d),a.c(),a.m(e.parentNode,e)),u&&u.p&&(!r||h&256)&&be(u,o,d,d[8],r?ke(o,d[8],h,null):pe(d[8]),null),ve(t,f=he(c,[(!r||h&1&&n!==(n=!d[0]))&&{"aria-hidden":n},(!r||h&8)&&{"aria-label":d[3]},h&128&&d[7]])),A(t,"bx--side-nav__navigation",!0),A(t,"bx--side-nav",!0),A(t,"bx--side-nav--ux",!0),A(t,"bx--side-nav--expanded",d[2]&&d[5]>=d[4]?!1:d[0]),A(t,"bx--side-nav--collapsed",!d[0]&&!d[2]),A(t,"bx--side-nav--rail",d[2])},i(d){r||(b(u,d),r=!0)},o(d){k(u,d),r=!1},d(d){d&&(g(e),g(t)),a&&a.d(d),u&&u.d(d),s=!1,l()}}}function uu(i,e,t){const n=["fixed","rail","ariaLabel","isOpen","expansionBreakpoint"];let r=B(e,n),s,l;Ze(i,wt,p=>t(12,s=p)),Ze(i,vt,p=>t(13,l=p));let{$$slots:a={},$$scope:o}=e,{fixed:u=!1}=e,{rail:c=!1}=e,{ariaLabel:f=void 0}=e,{isOpen:d=!1}=e,{expansionBreakpoint:h=1056}=e;const m=st();let v;Ct(()=>(kt.set(!0),()=>kt.set(!1)));function R(){t(5,v=window.innerWidth)}const C=()=>{m("click:overlay"),t(0,d=!1)};return i.$$set=p=>{e=M(M({},e),x(p)),t(7,r=B(e,n)),"fixed"in p&&t(1,u=p.fixed),"rail"in p&&t(2,c=p.rail),"ariaLabel"in p&&t(3,f=p.ariaLabel),"isOpen"in p&&t(0,d=p.isOpen),"expansionBreakpoint"in p&&t(4,h=p.expansionBreakpoint),"$$scope"in p&&t(8,o=p.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&m(d?"open":"close"),i.$$.dirty&1&&_t(vt,l=!d,l),i.$$.dirty&4&&_t(wt,s=c,s)},[d,u,c,f,h,v,m,r,o,a,R,C]}class fu extends Q{constructor(e){super(),$(this,e,uu,ou,J,{fixed:1,rail:2,ariaLabel:3,isOpen:0,expansionBreakpoint:4})}}function cu(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("ul"),r&&r.c(),this.h()},l(s){e=U(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--side-nav__items",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function du(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class hu extends Q{constructor(e){super(),$(this,e,du,cu,J,{})}}const gu=i=>({}),ri=i=>({});function li(i){let e,t;const n=i[7].icon,r=_e(n,i,i[6],ri),s=r||mu(i);return{c(){e=V("div"),s&&s.c(),this.h()},l(l){e=U(l,"DIV",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--side-nav__icon",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&64)&&be(r,n,l,l[6],t?ke(n,l[6],a,gu):pe(l[6]),ri):s&&s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function mu(i){let e,t,n;var r=i[3];function s(l,a){return{}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){ce();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function _u(i){let e,t,n,r,s,l,a,o,u,c,f,d,h,m=(i[5].icon||i[3])&&li(i);o=new _r({});let v=[{type:"button"},{"aria-expanded":i[0]},i[4]],R={};for(let S=0;S{m=null}),de()),(!f||O&4)&&me(s,S[2]),ve(t,R=he(v,[{type:"button"},(!f||O&1)&&{"aria-expanded":S[0]},O&16&&S[4]])),A(t,"bx--side-nav__submenu",!0),p&&p.p&&(!f||O&64)&&be(p,C,S,S[6],f?ke(C,S[6],O,null):pe(S[6]),null),O&1&&je(c,"max-height",S[0]?"none":void 0),(!f||O&8)&&A(e,"bx--side-nav__item--icon",S[3])},i(S){f||(b(m),b(o.$$.fragment,S),b(p,S),f=!0)},o(S){k(m),k(o.$$.fragment,S),k(p,S),f=!1},d(S){S&&g(e),m&&m.d(),G(o),i[9](null),p&&p.d(S),d=!1,We(h)}}}function bu(i,e,t){const n=["expanded","text","icon","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e;const a=Nt(s);let{expanded:o=!1}=e,{text:u=void 0}=e,{icon:c=void 0}=e,{ref:f=null}=e;function d(v){fe.call(this,i,v)}function h(v){Ae[v?"unshift":"push"](()=>{f=v,t(1,f)})}const m=()=>{t(0,o=!o)};return i.$$set=v=>{e=M(M({},e),x(v)),t(4,r=B(e,n)),"expanded"in v&&t(0,o=v.expanded),"text"in v&&t(2,u=v.text),"icon"in v&&t(3,c=v.icon),"ref"in v&&t(1,f=v.ref),"$$scope"in v&&t(6,l=v.$$scope)},[o,f,u,c,r,a,l,s,d,h,m]}class pu extends Q{constructor(e){super(),$(this,e,bu,_u,J,{expanded:0,text:2,icon:3,ref:1})}}function ku(i){let e;return{c(){e=oe(i[3])},l(t){e=ue(t,i[3])},m(t,n){w(t,e,n)},p(t,n){n&8&&me(e,t[3])},d(t){t&&g(e)}}}function vu(i){let e,t,n,r,s,l,a;const o=i[6].default,u=_e(o,i,i[5],null),c=u||ku(i);let f=[{"aria-current":r=i[1]?"page":void 0},{href:i[2]},i[4]],d={};for(let h=0;h{c=h,t(0,c)})}return i.$$set=h=>{e=M(M({},e),x(h)),t(4,r=B(e,n)),"isSelected"in h&&t(1,a=h.isSelected),"href"in h&&t(2,o=h.href),"text"in h&&t(3,u=h.text),"ref"in h&&t(0,c=h.ref),"$$scope"in h&&t(5,l=h.$$scope)},[c,a,o,u,r,l,s,f,d]}class Eu extends Q{constructor(e){super(),$(this,e,wu,vu,J,{isSelected:1,href:2,text:3,ref:0})}}function Su(i){let e,t;const n=[{href:i[0]},{text:i[1]},{isSelected:i[2]===i[0]},i[3]];let r={};for(let s=0;s{e=M(M({},e),x(o)),t(3,r=B(e,n)),"href"in o&&t(0,s=o.href),"text"in o&&t(1,l=o.text),"currentRef"in o&&t(2,a=o.currentRef)},[s,l,a,r]}class yu extends Q{constructor(e){super(),$(this,e,Au,Su,J,{href:0,text:1,currentRef:2})}}function Mu(i){let e,t;return e=new yu({props:{href:i[0].href,text:i[0].title,class:i[0].deprecated?"deprecated":"",currentRef:i[1].url.pathname}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&1&&(s.text=n[0].title),r&1&&(s.class=n[0].deprecated?"deprecated":""),r&2&&(s.currentRef=n[1].url.pathname),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Ru(i,e,t){let n;Ze(i,gi,s=>t(1,n=s));let{item:r}=e;return i.$$set=s=>{"item"in s&&t(0,r=s.item)},[r,n]}class Di extends Q{constructor(e){super(),$(this,e,Ru,Mu,J,{item:0})}}function si(i,e,t){const n=i.slice();return n[3]=e[t],n}function ai(i,e,t){const n=i.slice();return n[6]=e[t],n}function Iu(i){let e,t;return e=new pu({props:{text:i[3].title,expanded:!0,$$slots:{default:[Nu]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.text=n[3].title),r&514&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Ou(i){let e,t;return e=new Di({props:{item:i[3]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[3]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function oi(i){let e,t;return e=new Di({props:{item:i[6]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[6]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ui(i){let e,t,n=i[6].type==="page"&&oi(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,s){r[6].type==="page"?n?(n.p(r,s),s&2&&b(n,1)):(n=oi(r),n.c(),b(n,1),n.m(e.parentNode,e)):n&&(ce(),k(n,1,1,()=>{n=null}),de())},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function Nu(i){let e,t,n=ye(i[3].children),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{l[c]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Cu(i){let e,t,n=ye(i[1]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;lDe(e,"isOpen",r)),{c(){D(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,[a]){const o={};a&514&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function Lu(i,e,t){let{isOpen:n=!0}=e,{content:r}=e;function s(l){n=l,t(0,n)}return i.$$set=l=>{"isOpen"in l&&t(0,n=l.isOpen),"content"in l&&t(1,r=l.content)},[n,r,s]}class Fu extends Q{constructor(e){super(),$(this,e,Lu,zu,J,{isOpen:0,content:1})}}const Bu=Hu({appTitle:pt,appIcon:Il},Je(xe.SITE_META,{}));function Hu(i,e){return bt.map({...Du(i),...e||{}},(t,n)=>({name:n,content:t})).filter(t=>!!t.content)}function Du(i){const e=`${i.appTitle}'s GraphQL documentation`;return{keywords:`graphql,api,documentation,${i.appTitle}`,description:e,"og:title":i.appTitle,"og:type":"article","og:image":i.appIcon,"og:site_name":i.appTitle,"og:description":e}}const Pu=Je(xe.CUSTOM_STYLES,[]),{window:Pi}=kr;function Gu(i,e,t){const n=i.slice();return n[10]=e[t],n}function ju(i,e,t){const n=i.slice();return n[13]=e[t],n}function Vu(i){let e;return{c(){e=V("meta"),this.h()},l(t){e=U(t,"META",{name:!0,content:!0}),this.h()},h(){L(e,"name",i[13].name),L(e,"content",i[13].content)},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function Uu(i){let e;return{c(){e=V("link"),this.h()},l(t){e=U(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","stylesheet"),L(e,"href",i[10])},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function Yu(i){let e;return{c(){e=V("link"),this.h()},l(t){e=U(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","icon"),L(e,"href",i[3])},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function Zu(i){let e;const t=i[4].default,n=_e(t,i,i[8],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&256)&&be(n,t,r,r[8],e?ke(t,r[8],s,null):pe(r[8]),null)},i(r){e||(b(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function Ku(i){let e,t;return e=new Xr({props:{$$slots:{default:[Zu]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Wu(i){let e,t;return e=new Dr({props:{$$slots:{default:[Ku]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function xu(i){let e,t;return e=new Yr({props:{$$slots:{default:[Wu]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function qu(i){let e,t,n,r,s,l,a,o,u,c,f,d,h,m;lt(i[5]);let v=ye(Bu),R=[];for(let I=0;IDe(s,"isSideNavOpen",O));function F(I){i[7](I)}let ee={content:hi};return i[1]!==void 0&&(ee.isOpen=i[1]),o=new Fu({props:ee}),Ae.push(()=>De(o,"isOpen",F)),f=new Tr({props:{$$slots:{default:[xu]},$$scope:{ctx:i}}}),{c(){for(let I=0;Il=!1)),s.$set(E);const j={};!u&&q&2&&(u=!0,j.isOpen=I[1],He(()=>u=!1)),o.$set(j);const ae={};q&256&&(ae.$$scope={dirty:q,ctx:I}),f.$set(ae)},i(I){d||(b(s.$$.fragment,I),b(o.$$.fragment,I),b(f.$$.fragment,I),d=!0)},o(I){k(s.$$.fragment,I),k(o.$$.fragment,I),k(f.$$.fragment,I),d=!1},d(I){I&&(g(r),g(a),g(c)),Le(R,I),g(e),Le(p,I),g(t),S&&S.d(I),g(n),G(s,I),G(o,I),G(f,I),h=!1,m()}}}const Xu=1056;function Ju(i,e,t){let{$$slots:n={},$$scope:r}=e;mi(),br.languages.insertBefore("shell","function",{keyword:{pattern:/(^\s*)(?:magidoc|pnpm|npm|yarn)(?=\s)/m,lookbehind:!0}});let s=!1,l=-1,a=!1;const o=gr(xe.APP_FAVICON),u=gi.subscribe(()=>{a&&t(1,s=!1)});ci(u);function c(){t(0,l=Pi.innerWidth)}function f(h){s=h,t(1,s)}function d(h){s=h,t(1,s)}return i.$$set=h=>{"$$scope"in h&&t(8,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&t(2,a=l[a-z0-9-]+)(?.*)?\n(?(?:.|\n)*)\n:::(?:\n|$)/i.exec(wr(e));if(!n||!n.groups)return null;const r=n.groups.type.toLocaleLowerCase(),s=Er(n.groups.options||""),l=n.groups.content||"",a=i({type:r,content:l,raw:n[0],options:s,lexer:this.lexer});return a&&a.tokens&&this.lexer.blockTokens(l,a.tokens),a}}}function wr(i){if(!i.startsWith(":::"))return;const e=i.split(` -`);let t=1,n=1;for(n=1;n[a-z0-9]+)(?:="(?(?:.*?))")?/i.exec(t);if(!l)break;const a=(n=l==null?void 0:l.groups)==null?void 0:n.name;a&&(e[a]=((r=l==null?void 0:l.groups)==null?void 0:r.value)??!0),t=t.slice(l.index+l[0].length)}return e}const Sr={containerExtension:vr},Ar=["error","success","info","warning"];function yr({options:i,raw:e}){var r,s,l;const t=((l=(s=(r=i.type)==null?void 0:r.toString())==null?void 0:s.toLocaleLowerCase())==null?void 0:l.trim())??"info",n=Ar.some(a=>a===t)?t:"info";return{type:"notification",raw:e,style:n,tokens:[]}}function Mr({lexer:i,content:e,raw:t}){const n=e.split(` -`),r=n.map((l,a)=>l.startsWith("---")?a:-1).filter(l=>l!==-1);if(r.length===0)return null;const s=r.map((l,a)=>{const o=n[l].replace("---","").trim(),u=n.slice(l+1,r[a+1]??n.length).join(` -`),f=[];return i.blockTokens(u,f),{title:o,raw:u,tokens:f}});return{type:"tabs",raw:t,tabs:s}}const Rr=["red","magenta","purple","blue","cyan","teal","green","gray","cool-gray","warm-gray","high-contrast","outline"];function Ir({options:i,raw:e,content:t}){const r=(i.colors??i.color??"outline").toString().toLocaleLowerCase().split(",").map(s=>s.trim().toLocaleLowerCase()).filter(s=>Rr.some(l=>s===l));return{type:"tags",raw:e,tags:t.split(",").map(s=>({name:s})),colors:r.length===0?["outline"]:r}}let Ht,Dt=[];function Or({prefix:i=""}={}){return{headerIds:!1,hooks:{preprocess(e){return Dt=[],Ht=new di,e}},renderer:{heading(e,t,n){n=n.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");const r=`${i}${Ht.slug(n)}`,s={level:t,text:e,id:r};return Dt.push(s),`${e} -`}}}}function mi(){Bt.use(Or()),Bt.use({gfm:!0,breaks:!1,silent:!1,extensions:[Sr.containerExtension(i=>{switch(i.type){case"notification":return yr(i);case"tags":return Ir(i);case"tabs":return Mr(i);default:return null}})]})}(function(i){var e=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");i.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return e}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var e=i.languages.extend("typescript",{});delete e["class-name"],i.languages.typescript["class-name"].inside=e,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),i.languages.ts=i.languages.typescript})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var t="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+t+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+t),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+t),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby})(Prism);(function(i){var e=/[*&][^\s[\]{},]+/,t=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+t.source+"(?:[ ]+"+e.source+")?|"+e.source+"(?:[ ]+"+t.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(a,o){o=(o||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return a});return RegExp(u,o)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return"(?:"+r+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(Prism);(function(i){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=i.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=n.variable[1].inside,l=0;l>/g,function(Oe,Ge){return"(?:"+Se[+Ge]+")"})}function t(Ee,Se,Oe){return RegExp(e(Ee,Se),Oe||"")}function n(Ee,Se){for(var Oe=0;Oe>/g,function(){return"(?:"+Ee+")"});return Ee.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(Ee){return"\\b(?:"+Ee.trim().replace(/ /g,"|")+")\\b"}var l=s(r.typeDeclaration),a=RegExp(s(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),o=s(r.typeDeclaration+" "+r.contextual+" "+r.other),u=s(r.type+" "+r.typeDeclaration+" "+r.other),f=n(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),c=n(/\((?:[^()]|<>)*\)/.source,2),d=/@?\b[A-Za-z_]\w*\b/.source,h=e(/<<0>>(?:\s*<<1>>)?/.source,[d,f]),m=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[o,h]),v=/\[\s*(?:,\s*)*\]/.source,R=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,v]),C=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,c,v]),p=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[C]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[p,m,v]),O={keyword:a,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,F=/"(?:\\.|[^\\"\r\n])*"/.source,ee=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:t(/(^|[^$\\])<<0>>/.source,[ee]),lookbehind:!0,greedy:!0},{pattern:t(/(^|[^@$\\])<<0>>/.source,[F]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:t(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:O},{pattern:t(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[d,S]),lookbehind:!0,inside:O},{pattern:t(/(\busing\s+)<<0>>(?=\s*=)/.source,[d]),lookbehind:!0},{pattern:t(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:O},{pattern:t(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:O},{pattern:t(/(\bwhere\s+)<<0>>/.source,[d]),lookbehind:!0},{pattern:t(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[R]),lookbehind:!0,inside:O},{pattern:t(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,u,d]),inside:O}],keyword:a,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:t(/([(,]\s*)<<0>>(?=\s*:)/.source,[d]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:t(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[d]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:t(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[c]),lookbehind:!0,alias:"class-name",inside:O},"return-type":{pattern:t(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,m]),inside:O,alias:"class-name"},"constructor-invocation":{pattern:t(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:O,alias:"class-name"},"generic-method":{pattern:t(/<<0>>\s*<<1>>(?=\s*\()/.source,[d,f]),inside:{function:t(/^<<0>>/.source,[d]),generic:{pattern:RegExp(f),alias:"class-name",inside:O}}},"type-list":{pattern:t(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,h,d,S,a.source,c,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:t(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,c]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:a,"class-name":{pattern:RegExp(S),greedy:!0,inside:O},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var I=F+"|"+_,q=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),E=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[q]),2),j=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ae=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,E]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:t(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[j,ae]),lookbehind:!0,greedy:!0,inside:{target:{pattern:t(/^<<0>>(?=\s*:)/.source,[j]),alias:"keyword"},"attribute-arguments":{pattern:t(/\(<<0>>*\)/.source,[E]),inside:i.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var we=/:[^}\r\n]+/.source,le=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[q]),2),Me=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[le,we]),Re=n(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[I]),2),z=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Re,we]);function te(Ee,Se){return{interpolation:{pattern:t(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Ee]),lookbehind:!0,inside:{"format-string":{pattern:t(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Se,we]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:t(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Me]),lookbehind:!0,greedy:!0,inside:te(Me,le)},{pattern:t(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[z]),lookbehind:!0,greedy:!0,inside:te(z,Re)}],char:{pattern:RegExp(_),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(Prism);(function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var e={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:e},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:e},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin})(Prism);(function(i){var e=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,t=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+t+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:e,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+t+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+t+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return e.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);(function(i){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(f){return f=f.replace(//g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+s+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+s+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(f){["url","bold","italic","strike","code-snippet"].forEach(function(c){f!==c&&(i.languages.markdown[f].inside.content.inside[c]=i.languages.markdown[c])})}),i.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function c(d){if(!(!d||typeof d=="string"))for(var h=0,m=d.length;h",quot:'"'},o=String.fromCodePoint||String.fromCharCode;function u(f){var c=f.replace(l,"");return c=c.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,h){if(h=h.toLowerCase(),h[0]==="#"){var m;return h[1]==="x"?m=parseInt(h.slice(2),16):m=Number(h.slice(1)),o(m)}else{var v=a[h];return v||d}}),c}i.languages.md=i.languages.markdown})(Prism);const Pt="(if|else if|await|then|catch|each|html|debug)";Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+Pt+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+Pt+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}});Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity;Prism.hooks.add("wrap",i=>{i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,t){const n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^$/i;const r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};const s={};s[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("svelte","cdata",s)}});Prism.languages.svelte.tag.addInlined("style","css");Prism.languages.svelte.tag.addInlined("script","javascript");const kt=$e(!1),vt=$e(!1),wt=$e(!1);function Nr(i){let e,t;const n=i[6].default,r=_e(n,i,i[5],null);let s=[{id:i[0]},i[2]],l={};for(let a=0;at(3,l=c)),Ze(i,vt,c=>t(4,a=c));let{$$slots:o={},$$scope:u}=e,{id:f="main-content"}=e;return i.$$set=c=>{e=M(M({},e),x(c)),t(2,s=B(e,r)),"id"in c&&t(0,f=c.id),"$$scope"in c&&t(5,u=c.$$scope)},i.$$.update=()=>{i.$$.dirty&24&&t(1,n=a&&!l)},[f,n,s,l,a,u,o]}class Tr extends Q{constructor(e){super(),$(this,e,Cr,Nr,J,{id:0})}}const zr=i=>({props:i&2}),Gt=i=>({props:i[1]});function Lr(i){let e,t;const n=i[9].default,r=_e(n,i,i[8],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Hr(i,e,t){let n;const r=["as","condensed","narrow","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:f=!1}=e,{noGutter:c=!1}=e,{noGutterLeft:d=!1}=e,{noGutterRight:h=!1}=e,{padding:m=!1}=e;return i.$$set=v=>{e=M(M({},e),x(v)),t(10,s=B(e,r)),"as"in v&&t(0,o=v.as),"condensed"in v&&t(2,u=v.condensed),"narrow"in v&&t(3,f=v.narrow),"noGutter"in v&&t(4,c=v.noGutter),"noGutterLeft"in v&&t(5,d=v.noGutterLeft),"noGutterRight"in v&&t(6,h=v.noGutterRight),"padding"in v&&t(7,m=v.padding),"$$scope"in v&&t(8,a=v.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--row",u&&"bx--row--condensed",f&&"bx--row--narrow",c&&"bx--no-gutter",d&&"bx--no-gutter--left",h&&"bx--no-gutter--right",m&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,f,c,d,h,m,a,l]}class Dr extends Q{constructor(e){super(),$(this,e,Hr,Br,J,{as:0,condensed:2,narrow:3,noGutter:4,noGutterLeft:5,noGutterRight:6,padding:7})}}const Pr=i=>({props:i&2}),jt=i=>({props:i[1]});function Gr(i){let e,t;const n=i[10].default,r=_e(n,i,i[9],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Ur(i,e,t){let n;const r=["as","condensed","narrow","fullWidth","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:f=!1}=e,{fullWidth:c=!1}=e,{noGutter:d=!1}=e,{noGutterLeft:h=!1}=e,{noGutterRight:m=!1}=e,{padding:v=!1}=e;return i.$$set=R=>{e=M(M({},e),x(R)),t(11,s=B(e,r)),"as"in R&&t(0,o=R.as),"condensed"in R&&t(2,u=R.condensed),"narrow"in R&&t(3,f=R.narrow),"fullWidth"in R&&t(4,c=R.fullWidth),"noGutter"in R&&t(5,d=R.noGutter),"noGutterLeft"in R&&t(6,h=R.noGutterLeft),"noGutterRight"in R&&t(7,m=R.noGutterRight),"padding"in R&&t(8,v=R.padding),"$$scope"in R&&t(9,a=R.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--grid",u&&"bx--grid--condensed",f&&"bx--grid--narrow",c&&"bx--grid--full-width",d&&"bx--no-gutter",h&&"bx--no-gutter--left",m&&"bx--no-gutter--right",v&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,f,c,d,h,m,v,a,l]}class Yr extends Q{constructor(e){super(),$(this,e,Ur,Vr,J,{as:0,condensed:2,narrow:3,fullWidth:4,noGutter:5,noGutterLeft:6,noGutterRight:7,padding:8})}}const Zr=i=>({props:i&2}),Vt=i=>({props:i[1]});function Kr(i){let e,t;const n=i[14].default,r=_e(n,i,i[13],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function qr(i,e,t){let n,r;const s=["as","noGutter","noGutterLeft","noGutterRight","padding","aspectRatio","sm","md","lg","xlg","max"];let l=B(e,s),{$$slots:a={},$$scope:o}=e,{as:u=!1}=e,{noGutter:f=!1}=e,{noGutterLeft:c=!1}=e,{noGutterRight:d=!1}=e,{padding:h=!1}=e,{aspectRatio:m=void 0}=e,{sm:v=void 0}=e,{md:R=void 0}=e,{lg:C=void 0}=e,{xlg:p=void 0}=e,{max:S=void 0}=e;const O=["sm","md","lg","xlg","max"];return i.$$set=_=>{e=M(M({},e),x(_)),t(16,l=B(e,s)),"as"in _&&t(0,u=_.as),"noGutter"in _&&t(2,f=_.noGutter),"noGutterLeft"in _&&t(3,c=_.noGutterLeft),"noGutterRight"in _&&t(4,d=_.noGutterRight),"padding"in _&&t(5,h=_.padding),"aspectRatio"in _&&t(6,m=_.aspectRatio),"sm"in _&&t(7,v=_.sm),"md"in _&&t(8,R=_.md),"lg"in _&&t(9,C=_.lg),"xlg"in _&&t(10,p=_.xlg),"max"in _&&t(11,S=_.max),"$$scope"in _&&t(13,o=_.$$scope)},i.$$.update=()=>{i.$$.dirty&3968&&t(12,n=[v,R,C,p,S].map((_,F)=>{const ee=O[F];if(_===!0)return`bx--col-${ee}`;if(typeof _=="number")return`bx--col-${ee}-${_}`;if(typeof _=="object"){let I=[];return typeof _.span=="number"?I=[...I,`bx--col-${ee}-${_.span}`]:_.span===!0&&(I=[...I,`bx--col-${ee}`]),typeof _.offset=="number"&&(I=[...I,`bx--offset-${ee}-${_.offset}`]),I.join(" ")}}).filter(Boolean).join(" ")),t(1,r={...l,class:[l.class,n,!n&&"bx--col",f&&"bx--no-gutter",c&&"bx--no-gutter--left",d&&"bx--no-gutter--right",m&&`bx--aspect-ratio bx--aspect-ratio--${m}`,h&&"bx--col-padding"].filter(Boolean).join(" ")})},[u,r,f,c,d,h,m,v,R,C,p,S,n,o,a]}class Xr extends Q{constructor(e){super(),$(this,e,qr,xr,J,{as:0,noGutter:2,noGutterLeft:3,noGutterRight:4,padding:5,aspectRatio:6,sm:7,md:8,lg:9,xlg:10,max:11})}}function Ut(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Jr(i){let e,t,n=i[1]&&Ut(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class $r extends Q{constructor(e){super(),$(this,e,Qr,Jr,J,{size:0,title:1})}}const _i=$r;function el(i){let e,t,n,r,s;var l=i[0]?i[4]:i[3];function a(f,c){return{props:{size:20}}}l&&(t=Ie(l,a()));let o=[{type:"button"},{title:i[2]},{"aria-label":i[2]},i[5]],u={};for(let f=0;f{G(d,1)}),de()}l?(t=Ie(l,a()),D(t.$$.fragment),b(t.$$.fragment,1),P(t,e,null)):t=null}ve(e,u=he(o,[{type:"button"},(!n||c&4)&&{title:f[2]},(!n||c&4)&&{"aria-label":f[2]},c&32&&f[5]])),A(e,"bx--header__action",!0),A(e,"bx--header__menu-trigger",!0),A(e,"bx--header__menu-toggle",!0)},i(f){n||(t&&b(t.$$.fragment,f),n=!0)},o(f){t&&k(t.$$.fragment,f),n=!1},d(f){f&&g(e),t&&G(t),i[7](null),r=!1,We(s)}}}function tl(i,e,t){const n=["ariaLabel","isOpen","iconMenu","iconClose","ref"];let r=B(e,n),{ariaLabel:s=void 0}=e,{isOpen:l=!1}=e,{iconMenu:a=_i}=e,{iconClose:o=Ke}=e,{ref:u=null}=e;function f(h){ce.call(this,i,h)}function c(h){Ae[h?"unshift":"push"](()=>{u=h,t(1,u)})}const d=()=>t(0,l=!l);return i.$$set=h=>{e=M(M({},e),x(h)),t(5,r=B(e,n)),"ariaLabel"in h&&t(2,s=h.ariaLabel),"isOpen"in h&&t(0,l=h.isOpen),"iconMenu"in h&&t(3,a=h.iconMenu),"iconClose"in h&&t(4,o=h.iconClose),"ref"in h&&t(1,u=h.ref)},[l,u,s,a,o,r,f,c,d]}class nl extends Q{constructor(e){super(),$(this,e,tl,el,J,{ariaLabel:2,isOpen:0,iconMenu:3,iconClose:4,ref:1})}}const il=i=>({}),Yt=i=>({}),rl=i=>({}),Zt=i=>({}),ll=i=>({}),Kt=i=>({});function Wt(i){let e,t,n;function r(l){i[20](l)}let s={iconClose:i[8],iconMenu:i[7]};return i[0]!==void 0&&(s.isOpen=i[0]),e=new nl({props:s}),Ae.push(()=>De(e,"isOpen",r)),{c(){D(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,a){const o={};a&256&&(o.iconClose=l[8]),a&128&&(o.iconMenu=l[7]),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function xt(i){let e,t;const n=i[17].company,r=_e(n,i,i[16],Zt),s=r||sl(i);return{c(){e=V("span"),s&&s.c(),this.h()},l(l){e=U(l,"SPAN",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header__name--prefix",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&65536)&&be(r,n,l,l[16],t?ke(n,l[16],a,rl):pe(l[16]),Zt):s&&s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function sl(i){let e,t;return{c(){e=oe(i[3]),t=oe(" ")},l(n){e=ue(n,i[3]),t=ue(n," ")},m(n,r){w(n,e,r),w(n,t,r)},p(n,r){r&8&&me(e,n[3])},d(n){n&&(g(e),g(t))}}}function al(i){let e;return{c(){e=oe(i[4])},l(t){e=ue(t,i[4])},m(t,n){w(t,e,n)},p(t,n){n&16&&me(e,t[4])},d(t){t&&g(e)}}}function ol(i){let e,t,n,r,s,l,a,o,u;lt(i[19]);const f=i[17]["skip-to-content"],c=_e(f,i,i[16],Kt);let d=(i[11]&&i[9]{d=null}),de()),_[3]||_[13].company?h?(h.p(_,F),F&8200&&b(h,1)):(h=xt(_),h.c(),b(h,1),h.m(r,s)):h&&(fe(),k(h,1,1,()=>{h=null}),de()),v?v.p&&(!a||F&65536)&&be(v,m,_,_[16],a?ke(m,_[16],F,il):pe(_[16]),Yt):R&&R.p&&(!a||F&16)&&R.p(_,a?F:-1),ve(r,p=he(C,[(!a||F&4)&&{href:_[2]},F&4096&&_[12]])),A(r,"bx--header__name",!0),O&&O.p&&(!a||F&65536)&&be(O,S,_,_[16],a?ke(S,_[16],F,null):pe(_[16]),null),(!a||F&1024)&&L(e,"aria-label",_[10])},i(_){a||(b(c,_),b(d),b(h),b(R,_),b(O,_),a=!0)},o(_){k(c,_),k(d),k(h),k(R,_),k(O,_),a=!1},d(_){_&&g(e),c&&c.d(_),d&&d.d(),h&&h.d(),R&&R.d(_),i[21](null),O&&O.d(_),o=!1,We(u)}}}function ul(i,e,t){let n;const r=["expandedByDefault","isSideNavOpen","uiShellAriaLabel","href","company","platformName","persistentHamburgerMenu","expansionBreakpoint","ref","iconMenu","iconClose"];let s=B(e,r),l;Ze(i,kt,E=>t(11,l=E));let{$$slots:a={},$$scope:o}=e;const u=Nt(a);let{expandedByDefault:f=!0}=e,{isSideNavOpen:c=!1}=e,{uiShellAriaLabel:d=void 0}=e,{href:h=void 0}=e,{company:m=void 0}=e,{platformName:v=""}=e,{persistentHamburgerMenu:R=!1}=e,{expansionBreakpoint:C=1056}=e,{ref:p=null}=e,{iconMenu:S=_i}=e,{iconClose:O=Ke}=e,_;function F(E){ce.call(this,i,E)}function ee(){t(9,_=window.innerWidth)}function I(E){c=E,t(0,c),t(14,f),t(9,_),t(6,C),t(5,R)}function q(E){Ae[E?"unshift":"push"](()=>{p=E,t(1,p)})}return i.$$set=E=>{t(22,e=M(M({},e),x(E))),t(12,s=B(e,r)),"expandedByDefault"in E&&t(14,f=E.expandedByDefault),"isSideNavOpen"in E&&t(0,c=E.isSideNavOpen),"uiShellAriaLabel"in E&&t(15,d=E.uiShellAriaLabel),"href"in E&&t(2,h=E.href),"company"in E&&t(3,m=E.company),"platformName"in E&&t(4,v=E.platformName),"persistentHamburgerMenu"in E&&t(5,R=E.persistentHamburgerMenu),"expansionBreakpoint"in E&&t(6,C=E.expansionBreakpoint),"ref"in E&&t(1,p=E.ref),"iconMenu"in E&&t(7,S=E.iconMenu),"iconClose"in E&&t(8,O=E.iconClose),"$$scope"in E&&t(16,o=E.$$scope)},i.$$.update=()=>{i.$$.dirty&16992&&t(0,c=f&&_>=C&&!R),t(10,n=m?`${m} `:""+(d||e["aria-label"]||v))},e=x(e),[c,p,h,m,v,R,C,S,O,_,n,l,s,u,f,d,o,a,F,ee,I,q]}class cl extends Q{constructor(e){super(),$(this,e,ul,ol,J,{expandedByDefault:14,isSideNavOpen:0,uiShellAriaLabel:15,href:2,company:3,platformName:4,persistentHamburgerMenu:5,expansionBreakpoint:6,ref:1,iconMenu:7,iconClose:8})}}function fl(i){let e,t,n;var r=i[1];function s(l,a){return{props:{slot:"icon",size:20}}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&2&&r!==(r=l[1])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function dl(i){let e,t,n;const r=[i[3],{class:i[2]}];function s(a){i[5](a)}let l={$$slots:{icon:[fl]},$$scope:{ctx:i}};for(let a=0;aDe(e,"ref",s)),e.$on("click",i[6]),{c(){D(e.$$.fragment)},l(a){W(e.$$.fragment,a)},m(a,o){P(e,a,o),n=!0},p(a,[o]){const u=o&12?he(r,[o&8&&at(a[3]),o&4&&{class:a[2]}]):{};o&130&&(u.$$scope={dirty:o,ctx:a}),!t&&o&1&&(t=!0,u.ref=a[0],He(()=>t=!1)),e.$set(u)},i(a){n||(b(e.$$.fragment,a),n=!0)},o(a){k(e.$$.fragment,a),n=!1},d(a){G(e,a)}}}function hl(i,e,t){let n;const r=["isActive","icon","ref"];let s=B(e,r),{isActive:l=!1}=e,{icon:a=void 0}=e,{ref:o=null}=e;function u(c){o=c,t(0,o)}function f(c){ce.call(this,i,c)}return i.$$set=c=>{e=M(M({},e),x(c)),t(3,s=B(e,r)),"isActive"in c&&t(4,l=c.isActive),"icon"in c&&t(1,a=c.icon),"ref"in c&&t(0,o=c.ref)},i.$$.update=()=>{t(2,n=["bx--header__action",l&&" bx--header__action--active",s.class].filter(Boolean).join(" "))},[o,a,n,s,l,u,f]}class bi extends Q{constructor(e){super(),$(this,e,hl,dl,J,{isActive:4,icon:1,ref:0})}}function gl(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("div"),r&&r.c(),this.h()},l(s){e=U(s,"DIV",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header__global",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function ml(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class _l extends Q{constructor(e){super(),$(this,e,ml,gl,J,{})}}function qt(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function bl(i){let e,t,n=i[1]&&qt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class kl extends Q{constructor(e){super(),$(this,e,pl,bl,J,{size:0,title:1})}}const vl=kl;function wl(i){let e,t,n,r,s,l,a=[i[1]],o={};for(let u=0;u{e=M(M({},e),x(f)),t(1,r=B(e,n)),"size"in f&&t(0,s=f.size)},[s,r,l,a,o,u]}class Sl extends Q{constructor(e){super(),$(this,e,El,wl,J,{size:0})}}const Al=i=>({}),Xt=i=>({});function yl(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m,v,R;var C=i[14];function p(E,j){return{props:{class:"bx--search-magnifier-icon"}}}C&&(n=Ie(C,p()));const S=i[20].labelText,O=_e(S,i,i[19],Xt),_=O||Rl(i);let F=[{type:"text"},{role:"searchbox"},{autofocus:u=i[11]===!0?!0:void 0},{autocomplete:i[10]},{disabled:i[7]},{id:i[15]},{placeholder:i[9]},i[18]],ee={};for(let E=0;E{G(ae,1)}),de()}C?(n=Ie(C,p()),D(n.$$.fragment),b(n.$$.fragment,1),P(n,t,null)):n=null}if(O?O.p&&(!m||j[0]&524288)&&be(O,S,E,E[19],m?ke(S,E[19],j,Al):pe(E[19]),Xt):_&&_.p&&(!m||j[0]&8192)&&_.p(E,m?j:[-1,-1]),(!m||j[0]&32768&&l!==(l=E[15]+"-search"))&&L(s,"id",l),(!m||j[0]&32768)&&L(s,"for",E[15]),ve(o,ee=he(F,[{type:"text"},{role:"searchbox"},(!m||j[0]&2048&&u!==(u=E[11]===!0?!0:void 0))&&{autofocus:u},(!m||j[0]&1024)&&{autocomplete:E[10]},(!m||j[0]&128)&&{disabled:E[7]},(!m||j[0]&32768)&&{id:E[15]},(!m||j[0]&512)&&{placeholder:E[9]},j[0]&262144&&E[18]])),j[0]&4&&o.value!==E[2]&&Lt(o,E[2]),A(o,"bx--search-input",!0),I!==(I=Ke)){if(d){fe();const ae=d;k(ae.$$.fragment,1,0,()=>{G(ae,1)}),de()}I?(d=Ie(I,q(E)),D(d.$$.fragment),b(d.$$.fragment,1),P(d,c,null)):d=null}else if(I){const ae={};j[0]&8&&(ae.size=E[3]==="xl"?20:16),d.$set(ae)}(!m||j[0]&4096)&&L(c,"aria-label",E[12]),(!m||j[0]&128)&&(c.disabled=E[7]),(!m||j[0]&4)&&A(c,"bx--search-close--hidden",E[2]===""),(!m||j[0]&32768&&h!==(h=E[15]+"-search"))&&L(e,"aria-labelledby",h),(!m||j[0]&16)&&L(e,"class",E[4]),(!m||j[0]&16)&&A(e,"bx--search",!0),(!m||j[0]&80)&&A(e,"bx--search--light",E[6]),(!m||j[0]&144)&&A(e,"bx--search--disabled",E[7]),(!m||j[0]&24)&&A(e,"bx--search--sm",E[3]==="sm"),(!m||j[0]&24)&&A(e,"bx--search--lg",E[3]==="lg"),(!m||j[0]&24)&&A(e,"bx--search--xl",E[3]==="xl"),(!m||j[0]&272)&&A(e,"bx--search--expandable",E[8]),(!m||j[0]&17)&&A(e,"bx--search--expanded",E[0])},i(E){m||(n&&b(n.$$.fragment,E),b(_,E),d&&b(d.$$.fragment,E),m=!0)},o(E){n&&k(n.$$.fragment,E),k(_,E),d&&k(d.$$.fragment,E),m=!1},d(E){E&&g(e),n&&G(n),i[33](null),_&&_.d(E),i[35](null),d&&G(d),v=!1,We(R)}}}function Ml(i){let e,t;const n=[{size:i[3]},i[18]];let r={};for(let s=0;s{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Ol(i,e,t){const n=["value","size","searchClass","skeleton","light","disabled","expandable","expanded","placeholder","autocomplete","autofocus","closeButtonLabelText","labelText","icon","id","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{value:a=""}=e,{size:o="xl"}=e,{searchClass:u=""}=e,{skeleton:f=!1}=e,{light:c=!1}=e,{disabled:d=!1}=e,{expandable:h=!1}=e,{expanded:m=!1}=e,{placeholder:v="Search..."}=e,{autocomplete:R="off"}=e,{autofocus:C=!1}=e,{closeButtonLabelText:p="Clear search input"}=e,{labelText:S=""}=e,{icon:O=vl}=e,{id:_="ccs-"+Math.random().toString(36)}=e,{ref:F=null}=e;const ee=st();let I=null;function q(H){ce.call(this,i,H)}function E(H){ce.call(this,i,H)}function j(H){ce.call(this,i,H)}function ae(H){ce.call(this,i,H)}function we(H){ce.call(this,i,H)}function le(H){ce.call(this,i,H)}function Me(H){ce.call(this,i,H)}function Re(H){ce.call(this,i,H)}function z(H){ce.call(this,i,H)}function te(H){ce.call(this,i,H)}function Ee(H){ce.call(this,i,H)}function Se(H){ce.call(this,i,H)}function Oe(H){Ae[H?"unshift":"push"](()=>{I=H,t(16,I)})}const Ge=()=>{h&&t(0,m=!0)};function Xe(H){Ae[H?"unshift":"push"](()=>{F=H,t(1,F)})}function ut(){a=this.value,t(2,a)}const ct=()=>{h&&t(0,m=!0)},ft=()=>{m&&a.trim().length===0&&t(0,m=!1)},dt=({key:H})=>{H==="Escape"&&(t(2,a=""),ee("clear"))},ht=()=>{t(2,a=""),F.focus(),ee("clear")};return i.$$set=H=>{e=M(M({},e),x(H)),t(18,r=B(e,n)),"value"in H&&t(2,a=H.value),"size"in H&&t(3,o=H.size),"searchClass"in H&&t(4,u=H.searchClass),"skeleton"in H&&t(5,f=H.skeleton),"light"in H&&t(6,c=H.light),"disabled"in H&&t(7,d=H.disabled),"expandable"in H&&t(8,h=H.expandable),"expanded"in H&&t(0,m=H.expanded),"placeholder"in H&&t(9,v=H.placeholder),"autocomplete"in H&&t(10,R=H.autocomplete),"autofocus"in H&&t(11,C=H.autofocus),"closeButtonLabelText"in H&&t(12,p=H.closeButtonLabelText),"labelText"in H&&t(13,S=H.labelText),"icon"in H&&t(14,O=H.icon),"id"in H&&t(15,_=H.id),"ref"in H&&t(1,F=H.ref),"$$scope"in H&&t(19,l=H.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&3&&m&&F&&F.focus(),i.$$.dirty[0]&1&&ee(m?"expand":"collapse")},[m,F,a,o,u,f,c,d,h,v,R,C,p,S,O,_,I,ee,r,l,s,q,E,j,ae,we,le,Me,Re,z,te,Ee,Se,Oe,Ge,Xe,ut,ct,ft,dt,ht]}let pi=class extends Q{constructor(e){super(),$(this,e,Ol,Il,J,{value:2,size:3,searchClass:4,skeleton:5,light:6,disabled:7,expandable:8,expanded:0,placeholder:9,autocomplete:10,autofocus:11,closeButtonLabelText:12,labelText:13,icon:14,id:15,ref:1},null,[-1,-1])}};const ki="https://raw.githubusercontent.com/magidoc-org/magidoc/main/logo/logo_horizontal.png",Nl=Je(xe.APP_LOGO,ki);function Cl(i){let e,t,n=[{src:t=i[0]},{alt:"Magidoc"},i[1]],r={};for(let s=0;s{t(1,e=M(M({},e),x(r)))},e=x(e),[n,e]}class zl extends Q{constructor(e){super(),$(this,e,Tl,Cl,J,{})}}function Ll(i){const e=i-1;return e*e*e+1}function Jt(i,{delay:e=0,duration:t=400,easing:n=Ll,axis:r="y"}={}){const s=getComputedStyle(i),l=+s.opacity,a=r==="y"?"height":"width",o=parseFloat(s[a]),u=r==="y"?["top","bottom"]:["left","right"],f=u.map(C=>`${C[0].toUpperCase()}${C.slice(1)}`),c=parseFloat(s[`padding${f[0]}`]),d=parseFloat(s[`padding${f[1]}`]),h=parseFloat(s[`margin${f[0]}`]),m=parseFloat(s[`margin${f[1]}`]),v=parseFloat(s[`border${f[0]}Width`]),R=parseFloat(s[`border${f[1]}Width`]);return{delay:e,duration:t,easing:n,css:C=>`overflow: hidden;opacity: ${Math.min(C*20,1)*l};${a}: ${C*o}px;padding-${u[0]}: ${C*c}px;padding-${u[1]}: ${C*d}px;margin-${u[0]}: ${C*h}px;margin-${u[1]}: ${C*m}px;border-${u[0]}-width: ${C*v}px;border-${u[1]}-width: ${C*R}px;`}}function Qt(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Fl(i){let e,t,n=i[1]&&Qt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Hl extends Q{constructor(e){super(),$(this,e,Bl,Fl,J,{size:0,title:1})}}const Dl=Hl,Pl=i=>({}),$t=i=>({}),Gl=i=>({}),en=i=>({}),jl=i=>({}),tn=i=>({});function Vl(i){let e;const t=i[11].icon,n=_e(t,i,i[10],en),r=n||Yl(i);return{c(){r&&r.c()},l(s){r&&r.l(s)},m(s,l){r&&r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,Gl):pe(s[10]),en):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(b(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r&&r.d(s)}}}function Ul(i){let e;const t=i[11].closeIcon,n=_e(t,i,i[10],tn),r=n||Zl(i);return{c(){r&&r.c()},l(s){r&&r.l(s)},m(s,l){r&&r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,jl):pe(s[10]),tn):r&&r.p&&(!e||l&8)&&r.p(s,e?l:-1)},i(s){e||(b(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r&&r.d(s)}}}function Yl(i){let e,t,n;var r=i[2];function s(l,a){return{props:{size:20}}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&4&&r!==(r=l[2])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function Zl(i){let e,t,n;var r=i[3];function s(l,a){return{props:{size:20}}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function nn(i){let e,t;return{c(){e=V("span"),t=oe(i[4]),this.h()},l(n){e=U(n,"SPAN",{});var r=y(e);t=ue(r,i[4]),r.forEach(g),this.h()},h(){A(e,"bx--header__action-text",!0)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&16&&me(t,n[4])},d(n){n&&g(e)}}}function Kl(i){let e,t=i[4]&&nn(i);return{c(){t&&t.c(),e=Y()},l(n){t&&t.l(n),e=Y()},m(n,r){t&&t.m(n,r),w(n,e,r)},p(n,r){n[4]?t?t.p(n,r):(t=nn(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&g(e),t&&t.d(n)}}}function rn(i){let e,t,n;const r=i[11].default,s=_e(r,i,i[10],null);return{c(){e=V("div"),s&&s.c(),this.h()},l(l){e=U(l,"DIV",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header-panel",!0),A(e,"bx--header-panel--expanded",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),i[16](e),n=!0},p(l,a){i=l,s&&s.p&&(!n||a&1024)&&be(s,r,i,i[10],n?ke(r,i[10],a,null):pe(i[10]),null)},i(l){n||(b(s,l),l&<(()=>{n&&(t||(t=Ft(e,Jt,{...i[5],duration:i[5]===!1?0:i[5].duration},!0)),t.run(1))}),n=!0)},o(l){k(s,l),l&&(t||(t=Ft(e,Jt,{...i[5],duration:i[5]===!1?0:i[5].duration},!1)),t.run(0)),n=!1},d(l){l&&g(e),s&&s.d(l),i[16](null),l&&t&&t.end()}}}function Wl(i){let e,t,n,r,s,l,a,o,u;const f=[Ul,Vl],c=[];function d(S,O){return S[0]?0:1}t=d(i),n=c[t]=f[t](i);const h=i[11].text,m=_e(h,i,i[10],$t),v=m||Kl(i);let R=[{type:"button"},i[9]],C={};for(let S=0;S{c[_]=null}),de(),n=c[t],n?n.p(S,O):(n=c[t]=f[t](S),n.c()),b(n,1),n.m(e,r)),m?m.p&&(!a||O&1024)&&be(m,h,S,S[10],a?ke(h,S[10],O,Pl):pe(S[10]),$t):v&&v.p&&(!a||O&16)&&v.p(S,a?O:-1),ve(e,C=he(R,[{type:"button"},O&512&&S[9]])),A(e,"bx--header__action",!0),A(e,"bx--header__action--active",S[0]),A(e,"bx--header__action--text",S[4]),S[0]?p?(p.p(S,O),O&1&&b(p,1)):(p=rn(S),p.c(),b(p,1),p.m(l.parentNode,l)):p&&(fe(),k(p,1,1,()=>{p=null}),de())},i(S){a||(b(n),b(v,S),b(p),a=!0)},o(S){k(n),k(v,S),k(p),a=!1},d(S){S&&(g(e),g(s),g(l)),c[t].d(),v&&v.d(S),i[14](null),p&&p.d(S),o=!1,We(u)}}}function xl(i,e,t){const n=["isOpen","icon","closeIcon","text","ref","transition","preventCloseOnClickOutside"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{isOpen:a=!1}=e,{icon:o=Dl}=e,{closeIcon:u=Ke}=e,{text:f=void 0}=e,{ref:c=null}=e,{transition:d={duration:200}}=e,{preventCloseOnClickOutside:h=!1}=e;const m=st();let v=null;function R(_){ce.call(this,i,_)}const C=({target:_})=>{a&&!c.contains(_)&&!v.contains(_)&&!h&&(t(0,a=!1),m("close"))};function p(_){Ae[_?"unshift":"push"](()=>{c=_,t(1,c)})}const S=()=>{t(0,a=!a),m(a?"open":"close")};function O(_){Ae[_?"unshift":"push"](()=>{v=_,t(7,v)})}return i.$$set=_=>{e=M(M({},e),x(_)),t(9,r=B(e,n)),"isOpen"in _&&t(0,a=_.isOpen),"icon"in _&&t(2,o=_.icon),"closeIcon"in _&&t(3,u=_.closeIcon),"text"in _&&t(4,f=_.text),"ref"in _&&t(1,c=_.ref),"transition"in _&&t(5,d=_.transition),"preventCloseOnClickOutside"in _&&t(6,h=_.preventCloseOnClickOutside),"$$scope"in _&&t(10,l=_.$$scope)},[a,c,o,u,f,d,h,v,m,r,l,s,R,C,p,S,O]}class ql extends Q{constructor(e){super(),$(this,e,xl,Wl,J,{isOpen:0,icon:2,closeIcon:3,text:4,ref:1,transition:5,preventCloseOnClickOutside:6})}}function ln(i){let e,t;const n=i[2].default,r=_e(n,i,i[1],null);return{c(){e=V("li"),r&&r.c(),this.h()},l(s){e=U(s,"LI",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header-panel-divider",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,l){r&&r.p&&(!t||l&2)&&be(r,n,s,s[1],t?ke(n,s[1],l,null):pe(s[1]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function Xl(i){let e,t,n,r=i[0].default&&ln(i);return{c(){r&&r.c(),e=ie(),t=V("hr"),this.h()},l(s){r&&r.l(s),e=re(s),t=U(s,"HR",{}),this.h()},h(){A(t,"bx--switcher__item--divider",!0)},m(s,l){r&&r.m(s,l),w(s,e,l),w(s,t,l),n=!0},p(s,[l]){s[0].default?r?(r.p(s,l),l&1&&b(r,1)):(r=ln(s),r.c(),b(r,1),r.m(e.parentNode,e)):r&&(fe(),k(r,1,1,()=>{r=null}),de())},i(s){n||(b(r),n=!0)},o(s){k(r),n=!1},d(s){s&&(g(e),g(t)),r&&r.d(s)}}}function Jl(i,e,t){let{$$slots:n={},$$scope:r}=e;const s=Nt(n);return i.$$set=l=>{"$$scope"in l&&t(1,r=l.$$scope)},[s,r,n]}class Ql extends Q{constructor(e){super(),$(this,e,Jl,Xl,J,{})}}function $l(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("ul"),r&&r.c(),this.h()},l(s){e=U(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--switcher__item",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function es(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class ts extends Q{constructor(e){super(),$(this,e,es,$l,J,{})}}function ns(i){let e,t,n,r,s,l;const a=i[4].default,o=_e(a,i,i[3],null);let u=[{href:i[1]},{rel:n=i[2].target==="_blank"?"noopener noreferrer":void 0},i[2]],f={};for(let c=0;c{o=c,t(0,o)})}return i.$$set=c=>{e=M(M({},e),x(c)),t(2,r=B(e,n)),"href"in c&&t(1,a=c.href),"ref"in c&&t(0,o=c.ref),"$$scope"in c&&t(3,l=c.$$scope)},[o,a,r,l,s,u,f]}class rs extends Q{constructor(e){super(),$(this,e,is,ns,J,{href:1,ref:0})}}const ls=rs;function sn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ss(i){let e,t,n=i[1]&&sn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class os extends Q{constructor(e){super(),$(this,e,as,ss,J,{size:0,title:1})}}function an(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function us(i){let e,t,n,r=i[1]&&an(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class fs extends Q{constructor(e){super(),$(this,e,cs,us,J,{size:0,title:1})}}function on(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ds(i){let e,t,n,r=i[1]&&on(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class gs extends Q{constructor(e){super(),$(this,e,hs,ds,J,{size:0,title:1})}}function un(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ms(i){let e,t,n=i[1]&&un(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class bs extends Q{constructor(e){super(),$(this,e,_s,ms,J,{size:0,title:1})}}function cn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ps(i){let e,t,n=i[1]&&cn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class vs extends Q{constructor(e){super(),$(this,e,ks,ps,J,{size:0,title:1})}}function fn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ws(i){let e,t,n=i[1]&&fn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ss extends Q{constructor(e){super(),$(this,e,Es,ws,J,{size:0,title:1})}}function dn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function As(i){let e,t,n,r,s=i[1]&&dn(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],a={};for(let o=0;o{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ms extends Q{constructor(e){super(),$(this,e,ys,As,J,{size:0,title:1})}}function hn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Rs(i){let e,t,n=i[1]&&hn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Os extends Q{constructor(e){super(),$(this,e,Is,Rs,J,{size:0,title:1})}}function gn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ns(i){let e,t,n=i[1]&&gn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ts extends Q{constructor(e){super(),$(this,e,Cs,Ns,J,{size:0,title:1})}}function mn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function zs(i){let e,t,n=i[1]&&mn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Fs extends Q{constructor(e){super(),$(this,e,Ls,zs,J,{size:0,title:1})}}function _n(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Bs(i){let e,t,n=i[1]&&_n(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ds extends Q{constructor(e){super(),$(this,e,Hs,Bs,J,{size:0,title:1})}}function bn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ps(i){let e,t,n=i[1]&&bn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class js extends Q{constructor(e){super(),$(this,e,Gs,Ps,J,{size:0,title:1})}}function pn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Vs(i){let e,t,n=i[1]&&pn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ys extends Q{constructor(e){super(),$(this,e,Us,Vs,J,{size:0,title:1})}}function kn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Zs(i){let e,t,n=i[1]&&kn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ws extends Q{constructor(e){super(),$(this,e,Ks,Zs,J,{size:0,title:1})}}function vn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function xs(i){let e,t,n=i[1]&&vn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Xs extends Q{constructor(e){super(),$(this,e,qs,xs,J,{size:0,title:1})}}function Et(i){var t;const e=((t=i.kind)==null?void 0:t.toLocaleLowerCase())||i.label.toLocaleLowerCase();return e.includes("github")?Ss:e.includes("linkedin")?Os:e.includes("twitter")?js:e.includes("tumblr")?Ds:e.includes("instagram")?Ms:e.includes("facebook")?vs:e.includes("youtube")?Ys:e.includes("discord")?bs:e.includes("medium")?Ts:e.includes("slack")?Fs:e.includes("article")||e.includes("blog")?os:e.includes("carbon")?fs:e.includes("playground")||e.includes("graphiql")||e.includes("demo")||e.includes("demonstration")?Ws:gs}function Js(i){let e,t,n,r=i[0].label+"",s,l;var a=Et(i[0]);function o(u,f){return{props:{size:16,style:"margin-right: 0.3rem"}}}return a&&(t=Ie(a,o())),{c(){e=V("div"),t&&D(t.$$.fragment),n=ie(),s=oe(r),this.h()},l(u){e=U(u,"DIV",{class:!0});var f=y(e);t&&W(t.$$.fragment,f),n=re(f),s=ue(f,r),f.forEach(g),this.h()},h(){L(e,"class","container svelte-1kq8gho")},m(u,f){w(u,e,f),t&&P(t,e,null),N(e,n),N(e,s),l=!0},p(u,f){if(f&1&&a!==(a=Et(u[0]))){if(t){fe();const c=t;k(c.$$.fragment,1,0,()=>{G(c,1)}),de()}a?(t=Ie(a,o()),D(t.$$.fragment),b(t.$$.fragment,1),P(t,e,n)):t=null}(!l||f&1)&&r!==(r=u[0].label+"")&&me(s,r)},i(u){l||(t&&b(t.$$.fragment,u),l=!0)},o(u){t&&k(t.$$.fragment,u),l=!1},d(u){u&&g(e),t&&G(t)}}}function Qs(i){let e,t;return e=new ls({props:{href:i[0].href,$$slots:{default:[Js]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&3&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function $s(i,e,t){let{link:n}=e;return i.$$set=r=>{"link"in r&&t(0,n=r.link)},[n]}class vi extends Q{constructor(e){super(),$(this,e,$s,Qs,J,{link:0})}}function wn(i,e,t){const n=i.slice();return n[3]=e[t],n}function En(i,e,t){const n=i.slice();return n[6]=e[t],n}function Sn(i,e,t){const n=i.slice();return n[3]=e[t],n}function ea(i){let e,t;return e=new ql({props:{transition:!1,$$slots:{default:[ia]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2048&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function An(i){let e,t;return e=new vi({props:{link:i[3]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ta(i){let e=i[3].key+"",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){w(n,t,r)},p:X,d(n){n&&g(t)}}}function yn(i){let e,t;return e=new vi({props:{link:i[6]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Mn(i){let e,t,n,r;e=new Ql({props:{$$slots:{default:[ta]},$$scope:{ctx:i}}});let s=ye(i[3].value),l=[];for(let o=0;ok(l[o],1,1,()=>{l[o]=null});return{c(){D(e.$$.fragment),t=ie();for(let o=0;ok(s[f],1,1,()=>{s[f]=null});let a=ye(i[2]),o=[];for(let f=0;fk(o[f],1,1,()=>{o[f]=null});return{c(){for(let f=0;f0&&ea(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function la(i){const e=Je(xe.EXTERNAL_LINKS,[]).filter(r=>(r==null?void 0:r.position)==="navigation"||!(r!=null&&r.position)),t=e.filter(r=>!!(r&&!r.group)),n=bt.map(bt.groupBy(e.filter(r=>!!(r&&r.group)),r=>r.group),(r,s)=>({key:s,value:r}));return[e,t,n]}class sa extends Q{constructor(e){super(),$(this,e,la,ra,J,{})}}var Be;(function(i){i.SECTION="section",i.HEADER="header"})(Be||(Be={}));function wi(i,e){return aa(e.lexer.lex(i),e)}function aa(i,e){const t=Ei(e.extractors),n=[];let r={type:Be.SECTION,content:"",headers:[]};return i.forEach(s=>{if(s.type==="heading"){const l=s,o={id:e.slugger.slug(l.text),depth:l.depth,text:l.text},u={type:Be.SECTION,content:"",headers:[]},f=r.headers[r.headers.length-1];f?s.depth>f.depth?u.headers=[...r.headers,o]:s.depth<=f.depth&&(u.headers=[...r.headers.filter(c=>c.depth0&&n.push(r),n.push({type:Be.HEADER,path:u.headers,title:l.text}),r=u}else r.content+=t([s])}),r.content.trim().length>0&&n.push(r),n}function Ei(i){return e=>e.reduce((t,n)=>{const r=i[n.type];if(!r)throw new Error(`No extractor found for token type: ${n.type}`);return t+r(n,Ei(i))},"")}function Pe(i){return Array.isArray?Array.isArray(i):yi(i)==="[object Array]"}const oa=1/0;function ua(i){if(typeof i=="string")return i;let e=i+"";return e=="0"&&1/i==-oa?"-0":e}function ca(i){return i==null?"":ua(i)}function Fe(i){return typeof i=="string"}function Si(i){return typeof i=="number"}function fa(i){return i===!0||i===!1||da(i)&&yi(i)=="[object Boolean]"}function Ai(i){return typeof i=="object"}function da(i){return Ai(i)&&i!==null}function Ce(i){return i!=null}function gt(i){return!i.trim().length}function yi(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(i)}const ha="Incorrect 'index' type",ga=i=>`Invalid value for key ${i}`,ma=i=>`Pattern length exceeds max of ${i}.`,_a=i=>`Missing ${i} property in key`,ba=i=>`Property 'weight' in key '${i}' must be a positive integer`,Rn=Object.prototype.hasOwnProperty;class pa{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(n=>{let r=Mi(n);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(n=>{n.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Mi(i){let e=null,t=null,n=null,r=1,s=null;if(Fe(i)||Pe(i))n=i,e=In(i),t=St(i);else{if(!Rn.call(i,"name"))throw new Error(_a("name"));const l=i.name;if(n=l,Rn.call(i,"weight")&&(r=i.weight,r<=0))throw new Error(ba(l));e=In(l),t=St(l),s=i.getFn}return{path:e,id:t,weight:r,src:n,getFn:s}}function In(i){return Pe(i)?i:i.split(".")}function St(i){return Pe(i)?i.join("."):i}function ka(i,e){let t=[],n=!1;const r=(s,l,a)=>{if(Ce(s))if(!l[a])t.push(s);else{let o=l[a];const u=s[o];if(!Ce(u))return;if(a===l.length-1&&(Fe(u)||Si(u)||fa(u)))t.push(ca(u));else if(Pe(u)){n=!0;for(let f=0,c=u.length;fi.score===e.score?i.idx{this._keysMap[t.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Fe(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();Fe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t{let l=r.getFn?r.getFn(e):this.getFn(e,r.path);if(Ce(l)){if(Pe(l)){let a=[];const o=[{nestedArrIndex:-1,value:l}];for(;o.length;){const{nestedArrIndex:u,value:f}=o.pop();if(Ce(f))if(Fe(f)&&!gt(f)){let c={v:f,i:u,n:this.norm.get(f)};a.push(c)}else Pe(f)&&f.forEach((c,d)=>{o.push({nestedArrIndex:d,value:c})})}n.$[s]=a}else if(Fe(l)&&!gt(l)){let a={v:l,n:this.norm.get(l)};n.$[s]=a}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ri(i,e,{getFn:t=ne.getFn,fieldNormWeight:n=ne.fieldNormWeight}={}){const r=new Tt({getFn:t,fieldNormWeight:n});return r.setKeys(i.map(Mi)),r.setSources(e),r.create(),r}function Ma(i,{getFn:e=ne.getFn,fieldNormWeight:t=ne.fieldNormWeight}={}){const{keys:n,records:r}=i,s=new Tt({getFn:e,fieldNormWeight:t});return s.setKeys(n),s.setIndexRecords(r),s}function it(i,{errors:e=0,currentLocation:t=0,expectedLocation:n=0,distance:r=ne.distance,ignoreLocation:s=ne.ignoreLocation}={}){const l=e/i.length;if(s)return l;const a=Math.abs(n-t);return r?l+a/r:a?1:l}function Ra(i=[],e=ne.minMatchCharLength){let t=[],n=-1,r=-1,s=0;for(let l=i.length;s=e&&t.push([n,r]),n=-1)}return i[s-1]&&s-n>=e&&t.push([n,s-1]),t}const Ye=32;function Ia(i,e,t,{location:n=ne.location,distance:r=ne.distance,threshold:s=ne.threshold,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,includeMatches:o=ne.includeMatches,ignoreLocation:u=ne.ignoreLocation}={}){if(e.length>Ye)throw new Error(ma(Ye));const f=e.length,c=i.length,d=Math.max(0,Math.min(n,c));let h=s,m=d;const v=a>1||o,R=v?Array(c):[];let C;for(;(C=i.indexOf(e,m))>-1;){let ee=it(e,{currentLocation:C,expectedLocation:d,distance:r,ignoreLocation:u});if(h=Math.min(ee,h),m=C+f,v){let I=0;for(;I=E;le-=1){let Me=le-1,Re=t[i.charAt(Me)];if(v&&(R[Me]=+!!Re),ae[le]=(ae[le+1]<<1|1)&Re,ee&&(ae[le]|=(p[le+1]|p[le])<<1|1|p[le+1]),ae[le]&_&&(S=it(e,{errors:ee,currentLocation:Me,expectedLocation:d,distance:r,ignoreLocation:u}),S<=h)){if(h=S,m=Me,m<=d)break;E=Math.max(1,2*d-m)}}if(it(e,{errors:ee+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:u})>h)break;p=ae}const F={isMatch:m>=0,score:Math.max(.001,S)};if(v){const ee=Ra(R,a);ee.length?o&&(F.indices=ee):F.isMatch=!1}return F}function Oa(i){let e={};for(let t=0,n=i.length;t{this.chunks.push({pattern:d,alphabet:Oa(d),startIndex:h})},c=this.pattern.length;if(c>Ye){let d=0;const h=c%Ye,m=c-h;for(;d{const{isMatch:C,score:p,indices:S}=Ia(e,m,v,{location:r+R,distance:s,threshold:l,findAllMatches:a,minMatchCharLength:o,includeMatches:n,ignoreLocation:u});C&&(d=!0),c+=p,C&&S&&(f=[...f,...S])});let h={isMatch:d,score:d?c/this.chunks.length:1};return d&&n&&(h.indices=f),h}}class Ue{constructor(e){this.pattern=e}static isMultiMatch(e){return On(e,this.multiRegex)}static isSingleMatch(e){return On(e,this.singleRegex)}search(){}}function On(i,e){const t=i.match(e);return t?t[1]:null}class Na extends Ue{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class Ca extends Ue{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const n=e.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Ta extends Ue{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class za extends Ue{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class La extends Ue{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Fa extends Ue{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class Oi extends Ue{constructor(e,{location:t=ne.location,threshold:n=ne.threshold,distance:r=ne.distance,includeMatches:s=ne.includeMatches,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,isCaseSensitive:o=ne.isCaseSensitive,ignoreLocation:u=ne.ignoreLocation}={}){super(e),this._bitapSearch=new Ii(e,{location:t,threshold:n,distance:r,includeMatches:s,findAllMatches:l,minMatchCharLength:a,isCaseSensitive:o,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ni extends Ue{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n;const r=[],s=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+s,r.push([n,t-1]);const l=!!r.length;return{isMatch:l,score:l?0:1,indices:r}}}const At=[Na,Ni,Ta,za,Fa,La,Ca,Oi],Nn=At.length,Ba=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Ha="|";function Da(i,e={}){return i.split(Ha).map(t=>{let n=t.trim().split(Ba).filter(s=>s&&!!s.trim()),r=[];for(let s=0,l=n.length;s!!(i[rt.AND]||i[rt.OR]),Va=i=>!!i[Rt.PATH],Ua=i=>!Pe(i)&&Ai(i)&&!It(i),Cn=i=>({[rt.AND]:Object.keys(i).map(e=>({[e]:i[e]}))});function Ci(i,e,{auto:t=!0}={}){const n=r=>{let s=Object.keys(r);const l=Va(r);if(!l&&s.length>1&&!It(r))return n(Cn(r));if(Ua(r)){const o=l?r[Rt.PATH]:s[0],u=l?r[Rt.PATTERN]:r[o];if(!Fe(u))throw new Error(ga(o));const f={keyId:St(o),pattern:u};return t&&(f.searcher=Mt(u,e)),f}let a={children:[],operator:s[0]};return s.forEach(o=>{const u=r[o];Pe(u)&&u.forEach(f=>{a.children.push(n(f))})}),a};return It(i)||(i=Cn(i)),n(i)}function Ya(i,{ignoreFieldNorm:e=ne.ignoreFieldNorm}){i.forEach(t=>{let n=1;t.matches.forEach(({key:r,norm:s,score:l})=>{const a=r?r.weight:null;n*=Math.pow(l===0&&a?Number.EPSILON:l,(a||1)*(e?1:s))}),t.score=n})}function Za(i,e){const t=i.matches;e.matches=[],Ce(t)&&t.forEach(n=>{if(!Ce(n.indices)||!n.indices.length)return;const{indices:r,value:s}=n;let l={indices:r,value:s};n.key&&(l.key=n.key.src),n.idx>-1&&(l.refIndex=n.idx),e.matches.push(l)})}function Ka(i,e){e.score=i.score}function Wa(i,e,{includeMatches:t=ne.includeMatches,includeScore:n=ne.includeScore}={}){const r=[];return t&&r.push(Za),n&&r.push(Ka),i.map(s=>{const{idx:l}=s,a={item:e[l],refIndex:l};return r.length&&r.forEach(o=>{o(s,a)}),a})}class qe{constructor(e,t={},n){this.options={...ne,...t},this.options.useExtendedSearch,this._keyStore=new pa(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Tt))throw new Error(ha);this._myIndex=t||Ri(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ce(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let n=0,r=this._docs.length;n-1&&(o=o.slice(0,t)),Wa(o,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=Mt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:f}=t.searchIn(s);o&&r.push({item:s,idx:l,matches:[{score:u,value:s,norm:a,indices:f}]})}),r}_searchLogical(e){const t=Ci(e,this.options),n=(a,o,u)=>{if(!a.children){const{keyId:c,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(c),value:this._myIndex.getValueForItemAtKeyId(o,c),searcher:d});return h&&h.length?[{idx:u,item:o,matches:h}]:[]}const f=[];for(let c=0,d=a.children.length;c{if(Ce(a)){let u=n(t,a,o);u.length&&(s[o]||(s[o]={idx:o,item:a,matches:[]},l.push(s[o])),u.forEach(({matches:f})=>{s[o].matches.push(...f)}))}}),l}_searchObjectList(e){const t=Mt(e,this.options),{keys:n,records:r}=this._myIndex,s=[];return r.forEach(({$:l,i:a})=>{if(!Ce(l))return;let o=[];n.forEach((u,f)=>{o.push(...this._findMatches({key:u,value:l[f],searcher:t}))}),o.length&&s.push({idx:a,item:l,matches:o})}),s}_findMatches({key:e,value:t,searcher:n}){if(!Ce(t))return[];let r=[];if(Pe(t))t.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:f}=n.searchIn(s);o&&r.push({score:u,key:e,value:s,idx:l,norm:a,indices:f})});else{const{v:s,n:l}=t,{isMatch:a,score:o,indices:u}=n.searchIn(s);a&&r.push({score:o,key:e,value:s,norm:l,indices:u})}return r}}qe.version="7.0.0";qe.createIndex=Ri;qe.parseIndex=Ma;qe.config=ne;qe.parseQuery=Ci;ja(Ga);function xa(){return{blockquote:Te,codespan:Te,del:Te,em:Te,heading:Te,br:()=>` -`,paragraph:Te,strong:Te,text:Te,link:Te,list:(i,e)=>i.items.reduce((t,n)=>`${t} -${Te(n,e)}`,""),list_item:Te,table:(i,e)=>i.rows.reduce((t,n)=>`${t} -${n.map(r=>Te({...r,type:"table_cell",raw:""},e)).join(" ")}`,""),code:()=>"",image:()=>"",hr:()=>"",def:()=>"",html:()=>"",space:()=>" ",escape:()=>""}}function Te(i,e){if(i.tokens)return e(i.tokens);if(i.type==="text"||i.type==="codespan")return i.text;throw new Error(`Could not extract text for ${i.type}`)}function qa(){return new di}function Xa(){return new lr}function Ja(){return{keys:[{name:"part.title",weight:1.5},{name:"part.content",weight:1}],includeScore:!0,includeMatches:!0,threshold:.1,minMatchCharLength:3,ignoreLocation:!0}}function Ti(i){return{lexerFactory:(i==null?void 0:i.lexerFactory)??Xa,sluggerFactory:(i==null?void 0:i.sluggerFactory)??qa,extractors:{...xa(),...i==null?void 0:i.extractors}}}function Qa(i,e){const t=(e==null?void 0:e.fuse)??new qe([],Ja()),n=Ti(e==null?void 0:e.markdown);return i.forEach(r=>{$a(r,t,n)}),t}function $a(i,e,t){wi(i.content,{slugger:t.sluggerFactory(),lexer:t.lexerFactory(),extractors:t.extractors}).forEach(r=>{e.add({data:i.data,part:r})})}function ze({description:i},e){if(i&&i.trim().length!==0)return wi(i,{extractors:e.extractors,lexer:e.lexerFactory(),slugger:e.sluggerFactory()}).map(t=>{switch(t.type){case Be.SECTION:return t.content;case Be.HEADER:return""}}).join(` -`)}function eo(i,e,t){return{type:i,name:e.name,description:ze(e,t),arguments:e.args.map(n=>({name:n.name,description:ze(n,t)}))}}var Ne;(function(i){i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i.TYPE="type"})(Ne||(Ne={}));var Ve;(function(i){i.ENUM="enum",i.SCALAR="scalar",i.INTERFACE="interface",i.UNION="union",i.OBJECT="object",i.INPUT_OBJECT="input_object"})(Ve||(Ve={}));function to(i,e){if(sr(i))return lo(i,e);if(ar(i))return Tn(Ve.OBJECT,i,e);if(or(i))return Tn(Ve.INTERFACE,i,e);if(ur(i))return ro(i,e);if(cr(i))return io(i,e);if(fr(i))return no(i,e);throw new Error("This code block should be unreachable. If you ever receive this exception, it means you have an invalid setup using GraphQL.")}function no(i,e){return{type:Ne.TYPE,graphqlType:Ve.INPUT_OBJECT,name:i.name,description:ze(i,e),fields:Object.values(i.getFields()).map(t=>({name:t.name,description:ze(t,e)}))}}function io(i,e){return{type:Ne.TYPE,graphqlType:Ve.UNION,name:i.name,description:ze(i,e)}}function ro(i,e){return{type:Ne.TYPE,graphqlType:Ve.SCALAR,name:i.name,description:ze(i,e)}}function Tn(i,e,t){return{type:Ne.TYPE,graphqlType:i,name:e.name,description:ze(e,t),fields:Object.values(e.getFields()).map(n=>({name:n.name,description:ze(n,t),arguments:n.args.map(r=>({name:r.name,description:ze(r,t)}))}))}}function lo(i,e){return{name:i.name,description:ze(i,e),graphqlType:Ve.ENUM,type:Ne.TYPE,values:i.getValues().map(t=>({value:t.name,description:ze(t,e)}))}}function so(){return{keys:[{name:"name",weight:1.5},{name:"description",weight:1},{name:"arguments.name",weight:1.2},{name:"arguments.description",weight:1},{name:"values.value",weight:1.2},{name:"values.description",weight:1},{name:"fields.name",weight:1.2},{name:"fields.description",weight:1},{name:"fields.arguments.name",weight:.9},{name:"fields.arguments.description",weight:.8}],distance:100,minMatchCharLength:3,threshold:.2,includeMatches:!0,includeScore:!0}}function ao(i,e){const t=(e==null?void 0:e.fuse)??new qe([],so()),n=Ti(e==null?void 0:e.markdown);return mt(Ne.QUERY,i.getQueryType(),t,n),mt(Ne.MUTATION,i.getMutationType(),t,n),mt(Ne.SUBSCRIPTION,i.getSubscriptionType(),t,n),oo(i,t,n),t}function oo(i,e,t){Object.values(i.getTypeMap()).forEach(n=>{n===i.getQueryType()||n===i.getMutationType()||n===i.getSubscriptionType()||n.name.startsWith("__")||e.add(to(n,t))})}function mt(i,e,t,n){e&&Object.values(e.getFields()).forEach(r=>{t.add(eo(i,r,n))})}mi();const zi={extractors:{tags:()=>"",notification:(i,e)=>e(i.tokens),tabs:(i,e)=>i.tabs.map(n=>e(n.tokens)).join(` -`)}},uo=Qa(Li(hi).map(i=>({data:{type:"markdown",url:i.href,section:i.section},content:i.content||""})).filter(i=>!!i.content.trim()),{markdown:zi}),co=ao(dr,{markdown:zi});function fo(i){const e=uo.search(i).map(n=>({type:"markdown",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:go(r.indices)}))}));let t=[];return hr()||(t=co.search(i).map(n=>({type:"graphql",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:r.indices}))}))),ho(e,t)}function ho(i,e){return[...i,...e].sort((t,n)=>t.score-n.score).slice(0,10)}function go(i){const e=[];let t=[0,0];const n=new Set(i.map(([o])=>o)),r=new Set(i.map(([,o])=>o)),s=Math.min(...i.map(([o])=>o)),l=Math.max(...i.map(([,o])=>o));let a=!1;for(let o=s;o<=l;o++)n.has(o)&&!a?(a=!0,t=[o,0]):r.has(o)&&a&&(a=!1,t[1]=o,e.push(t));return e}function Li(i){return i.flatMap(e=>e.type==="page"?[e]:e.type==="menu"?Li(e.children):[])}const Ot=new Set,Fi=$e(0),zn=()=>Fi.set([...Ot].filter(i=>er(i)).length),mo=i=>Ct(()=>{Ot.add(i);const e=i.subscribe(zn);return()=>{e(),Ot.delete(i),zn()}});Fi.subscribe(i=>{typeof document<"u"&&document.body.classList.toggle("bx--body--with-modal-open",i>0)});function Ln(i,e,t){const n=i.slice();return n[55]=e[t],n}const _o=i=>({}),Fn=i=>({}),bo=i=>({}),Bn=i=>({});function Hn(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=V("button"),D(t.$$.fragment),this.h()},l(l){e=U(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){w(l,e,a),P(t,e,null),i[37](e),n=!0,r||(s=se(e,"click",i[38]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(b(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),G(t),i[37](null),r=!1,s()}}}function Dn(i){let e,t;const n=i[31].label,r=_e(n,i,i[50],Bn),s=r||po(i);return{c(){e=V("h2"),s&&s.c(),this.h()},l(l){e=U(l,"H2",{id:!0});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){L(e,"id",i[25]),A(e,"bx--modal-header__label",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a[1]&524288)&&be(r,n,l,l[50],t?ke(n,l[50],a,bo):pe(l[50]),Bn):s&&s.p&&(!t||a[0]&128)&&s.p(l,t?a:[-1,-1]),(!t||a[0]&33554432)&&L(e,"id",l[25])},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function po(i){let e;return{c(){e=oe(i[7])},l(t){e=ue(t,i[7])},m(t,n){w(t,e,n)},p(t,n){n[0]&128&&me(e,t[7])},d(t){t&&g(e)}}}function ko(i){let e;return{c(){e=oe(i[6])},l(t){e=ue(t,i[6])},m(t,n){w(t,e,n)},p(t,n){n[0]&64&&me(e,t[6])},d(t){t&&g(e)}}}function Pn(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=V("button"),D(t.$$.fragment),this.h()},l(l){e=U(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){w(l,e,a),P(t,e,null),i[39](e),n=!0,r||(s=se(e,"click",i[40]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(b(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),G(t),i[39](null),r=!1,s()}}}function Gn(i){let e;return{c(){e=V("div"),this.h()},l(t){e=U(t,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--modal-content--overflow-indicator",!0)},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function jn(i){let e,t,n,r,s,l;const a=[wo,vo],o=[];function u(f,c){return f[16].length>0?0:f[15]?1:-1}return~(t=u(i))&&(n=o[t]=a[t](i)),s=new ot({props:{kind:i[3]?"danger":"primary",disabled:i[12],icon:i[13],$$slots:{default:[Ao]},$$scope:{ctx:i}}}),s.$on("click",i[43]),{c(){e=V("div"),n&&n.c(),r=ie(),D(s.$$.fragment),this.h()},l(f){e=U(f,"DIV",{});var c=y(e);n&&n.l(c),r=re(c),W(s.$$.fragment,c),c.forEach(g),this.h()},h(){A(e,"bx--modal-footer",!0),A(e,"bx--modal-footer--three-button",i[16].length===2)},m(f,c){w(f,e,c),~t&&o[t].m(e,null),N(e,r),P(s,e,null),l=!0},p(f,c){let d=t;t=u(f),t===d?~t&&o[t].p(f,c):(n&&(fe(),k(o[d],1,1,()=>{o[d]=null}),de()),~t?(n=o[t],n?n.p(f,c):(n=o[t]=a[t](f),n.c()),b(n,1),n.m(e,r)):n=null);const h={};c[0]&8&&(h.kind=f[3]?"danger":"primary"),c[0]&4096&&(h.disabled=f[12]),c[0]&8192&&(h.icon=f[13]),c[0]&2048|c[1]&524288&&(h.$$scope={dirty:c,ctx:f}),s.$set(h),(!l||c[0]&65536)&&A(e,"bx--modal-footer--three-button",f[16].length===2)},i(f){l||(b(n),b(s.$$.fragment,f),l=!0)},o(f){k(n),k(s.$$.fragment,f),l=!1},d(f){f&&g(e),~t&&o[t].d(),G(s)}}}function vo(i){let e,t;return e=new ot({props:{kind:"secondary",$$slots:{default:[Eo]},$$scope:{ctx:i}}}),e.$on("click",i[42]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r[0]&32768|r[1]&524288&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function wo(i){let e,t,n=ye(i[16]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{_=null}),de()),z[7]?F?(F.p(z,te),te[0]&128&&b(F,1)):(F=Dn(z),F.c(),b(F,1),F.m(n,s)):F&&(fe(),k(F,1,1,()=>{F=null}),de()),I?I.p&&(!p||te[1]&524288)&&be(I,ee,z,z[50],p?ke(ee,z[50],te,_o):pe(z[50]),Fn):q&&q.p&&(!p||te[0]&64)&&q.p(z,p?te:[-1,-1]),(!p||te[0]&16777216)&&L(l,"id",z[24]),z[5]?E&&(fe(),k(E,1,1,()=>{E=null}),de()):E?(E.p(z,te),te[0]&32&&b(E,1)):(E=Pn(z),E.c(),b(E,1),E.m(n,null)),ae&&ae.p&&(!p||te[1]&524288)&&be(ae,j,z,z[50],p?ke(j,z[50],te,null):pe(z[50]),null),(!p||te[0]&8388608)&&L(u,"id",z[23]),(!p||te[0]&1024&&f!==(f=z[10]?"0":void 0))&&L(u,"tabindex",f),(!p||te[0]&1024&&c!==(c=z[10]?"region":void 0))&&L(u,"role",c),(!p||te[0]&4195328&&d!==(d=z[10]?z[22]:void 0))&&L(u,"aria-label",d),(!p||te[0]&50331776&&h!==(h=z[7]?z[25]:z[24]))&&L(u,"aria-labelledby",h),(!p||te[0]&512)&&A(u,"bx--modal-content--with-form",z[9]),(!p||te[0]&1024)&&A(u,"bx--modal-scroll-content",z[10]),z[10]?we||(we=Gn(),we.c(),we.m(t,v)):we&&(we.d(1),we=null),z[5]?le&&(fe(),k(le,1,1,()=>{le=null}),de()):le?(le.p(z,te),te[0]&32&&b(le,1)):(le=jn(z),le.c(),b(le,1),le.m(t,null)),(!p||te[0]&48&&R!==(R=z[4]?z[5]?"alert":"alertdialog":"dialog"))&&L(t,"role",R),(!p||te[0]&8388656&&C!==(C=z[4]&&!z[5]?z[23]:void 0))&&L(t,"aria-describedby",C),(!p||te[0]&4194304)&&L(t,"aria-label",z[22]),(!p||te[0]&4)&&A(t,"bx--modal-container--xs",z[2]==="xs"),(!p||te[0]&4)&&A(t,"bx--modal-container--sm",z[2]==="sm"),(!p||te[0]&4)&&A(t,"bx--modal-container--lg",z[2]==="lg"),ve(e,Re=he(Me,[{role:"presentation"},(!p||te[0]&262144)&&{id:z[18]},te[0]&268435456&&z[28]])),A(e,"bx--modal",!0),A(e,"bx--modal-tall",!z[5]),A(e,"is-visible",z[0]),A(e,"bx--modal--danger",z[3])},i(z){p||(b(_),b(F),b(q,z),b(E),b(ae,z),b(le),p=!0)},o(z){k(_),k(F),k(q,z),k(E),k(ae,z),k(le),p=!1},d(z){z&&g(e),_&&_.d(),F&&F.d(),q&&q.d(z),E&&E.d(),ae&&ae.d(z),we&&we.d(),le&&le.d(),i[44](null),i[46](null),S=!1,We(O)}}}function Mo(i,e,t){let n,r,s,l;const a=["size","open","danger","alert","passiveModal","modalHeading","modalLabel","modalAriaLabel","iconDescription","hasForm","hasScrollingContent","primaryButtonText","primaryButtonDisabled","primaryButtonIcon","shouldSubmitOnEnter","secondaryButtonText","secondaryButtons","selectorPrimaryFocus","preventCloseOnClickOutside","id","ref"];let o=B(e,a),u,{$$slots:f={},$$scope:c}=e,{size:d=void 0}=e,{open:h=!1}=e,{danger:m=!1}=e,{alert:v=!1}=e,{passiveModal:R=!1}=e,{modalHeading:C=void 0}=e,{modalLabel:p=void 0}=e,{modalAriaLabel:S=void 0}=e,{iconDescription:O="Close the modal"}=e,{hasForm:_=!1}=e,{hasScrollingContent:F=!1}=e,{primaryButtonText:ee=""}=e,{primaryButtonDisabled:I=!1}=e,{primaryButtonIcon:q=void 0}=e,{shouldSubmitOnEnter:E=!0}=e,{secondaryButtonText:j=""}=e,{secondaryButtons:ae=[]}=e,{selectorPrimaryFocus:we="[data-modal-primary-focus]"}=e,{preventCloseOnClickOutside:le=!1}=e,{id:Me="ccs-"+Math.random().toString(36)}=e,{ref:Re=null}=e;const z=st();let te=null,Ee=null,Se=!1,Oe=!1;function Ge(T){((T||Ee).querySelector(we)||te).focus()}const Xe=$e(h);Ze(i,Xe,T=>t(52,u=T)),mo(Xe),tr(()=>{Se?h||(Se=!1,z("close")):h&&(Se=!0,Ge(),z("open"))});function ut(T){ce.call(this,i,T)}function ct(T){ce.call(this,i,T)}function ft(T){ce.call(this,i,T)}function dt(T){ce.call(this,i,T)}function ht(T){ce.call(this,i,T)}function H(T){Ae[T?"unshift":"push"](()=>{te=T,t(19,te)})}const Gi=()=>{t(0,h=!1)};function ji(T){Ae[T?"unshift":"push"](()=>{te=T,t(19,te)})}const Vi=()=>{t(0,h=!1)},Ui=T=>{z("click:button--secondary",{text:T.text})},Yi=()=>{z("click:button--secondary",{text:j})},Zi=()=>{z("submit"),z("click:button--primary")};function Ki(T){Ae[T?"unshift":"push"](()=>{Ee=T,t(20,Ee)})}const Wi=()=>{t(21,Oe=!0)};function xi(T){Ae[T?"unshift":"push"](()=>{Re=T,t(1,Re)})}const qi=T=>{if(h)if(T.key==="Escape")t(0,h=!1);else if(T.key==="Tab"){const et=Array.from(Re.querySelectorAll(` - a[href], area[href], input:not([disabled]):not([tabindex='-1']), - button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), - textarea:not([disabled]):not([tabindex='-1']), - iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true] -`));let Qe=et.indexOf(document.activeElement);Qe===-1&&T.shiftKey&&(Qe=0),Qe+=et.length+(T.shiftKey?-1:1),Qe%=et.length,et[Qe].focus(),T.preventDefault()}else E&&T.key==="Enter"&&!I&&(z("submit"),z("click:button--primary"))},Xi=()=>{!Oe&&!le&&t(0,h=!1),t(21,Oe=!1)},Ji=T=>{T.propertyName==="transform"&&z("transitionend",{open:h})};return i.$$set=T=>{t(54,e=M(M({},e),x(T))),t(28,o=B(e,a)),"size"in T&&t(2,d=T.size),"open"in T&&t(0,h=T.open),"danger"in T&&t(3,m=T.danger),"alert"in T&&t(4,v=T.alert),"passiveModal"in T&&t(5,R=T.passiveModal),"modalHeading"in T&&t(6,C=T.modalHeading),"modalLabel"in T&&t(7,p=T.modalLabel),"modalAriaLabel"in T&&t(29,S=T.modalAriaLabel),"iconDescription"in T&&t(8,O=T.iconDescription),"hasForm"in T&&t(9,_=T.hasForm),"hasScrollingContent"in T&&t(10,F=T.hasScrollingContent),"primaryButtonText"in T&&t(11,ee=T.primaryButtonText),"primaryButtonDisabled"in T&&t(12,I=T.primaryButtonDisabled),"primaryButtonIcon"in T&&t(13,q=T.primaryButtonIcon),"shouldSubmitOnEnter"in T&&t(14,E=T.shouldSubmitOnEnter),"secondaryButtonText"in T&&t(15,j=T.secondaryButtonText),"secondaryButtons"in T&&t(16,ae=T.secondaryButtons),"selectorPrimaryFocus"in T&&t(30,we=T.selectorPrimaryFocus),"preventCloseOnClickOutside"in T&&t(17,le=T.preventCloseOnClickOutside),"id"in T&&t(18,Me=T.id),"ref"in T&&t(1,Re=T.ref),"$$scope"in T&&t(50,c=T.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&1&&_t(Xe,u=h,u),i.$$.dirty[0]&262144&&t(25,n=`bx--modal-header__label--modal-${Me}`),i.$$.dirty[0]&262144&&t(24,r=`bx--modal-header__heading--modal-${Me}`),i.$$.dirty[0]&262144&&t(23,s=`bx--modal-body--${Me}`),t(22,l=p||e["aria-label"]||S||C)},e=x(e),[h,Re,d,m,v,R,C,p,O,_,F,ee,I,q,E,j,ae,le,Me,te,Ee,Oe,l,s,r,n,z,Xe,o,S,we,f,ut,ct,ft,dt,ht,H,Gi,ji,Vi,Ui,Yi,Zi,Ki,Wi,xi,qi,Xi,Ji,c]}class Ro extends Q{constructor(e){super(),$(this,e,Mo,yo,J,{size:2,open:0,danger:3,alert:4,passiveModal:5,modalHeading:6,modalLabel:7,modalAriaLabel:29,iconDescription:8,hasForm:9,hasScrollingContent:10,primaryButtonText:11,primaryButtonDisabled:12,primaryButtonIcon:13,shouldSubmitOnEnter:14,secondaryButtonText:15,secondaryButtons:16,selectorPrimaryFocus:30,preventCloseOnClickOutside:17,id:18,ref:1},null,[-1,-1])}}function Io(i){let e;const t=i[5].default,n=_e(t,i,i[13],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&8192)&&be(n,t,r,r[13],e?ke(t,r[13],s,null):pe(r[13]),null)},i(r){e||(b(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function Oo(i){let e,t;const n=[i[4],{disabled:i[2]},{class:"bx--tile bx--tile--clickable "+(i[0]&&"bx--tile--is-clicked")+" "+(i[1]&&"bx--tile--light")+" "+i[4].class},{href:i[3]}];let r={$$slots:{default:[Io]},$$scope:{ctx:i}};for(let s=0;s{t(0,a=!a)};function h(p){ce.call(this,i,p)}const m=({key:p})=>{(p===" "||p==="Enter")&&t(0,a=!a)};function v(p){ce.call(this,i,p)}function R(p){ce.call(this,i,p)}function C(p){ce.call(this,i,p)}return i.$$set=p=>{e=M(M({},e),x(p)),t(4,r=B(e,n)),"clicked"in p&&t(0,a=p.clicked),"light"in p&&t(1,o=p.light),"disabled"in p&&t(2,u=p.disabled),"href"in p&&t(3,f=p.href),"$$scope"in p&&t(13,l=p.$$scope)},[a,o,u,f,r,s,c,d,h,m,v,R,C,l]}class Co extends Q{constructor(e){super(),$(this,e,No,Oo,J,{clicked:0,light:1,disabled:2,href:3})}}const Bi=Co;function Un(i){let e;return{c(){e=oe("...")},l(t){e=ue(t,"...")},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function Yn(i){let e;return{c(){e=oe("...")},l(t){e=ue(t,"...")},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function To(i){let e,t,n,r,s=i[1]>0&&Un(),l=i[2]0?s||(s=Un(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),o&8&&t.p(a[3]),a[2]{"text"in d&&t(0,a=d.text),"indexes"in d&&t(4,o=d.indexes)},i.$$.update=()=>{if(i.$$.dirty&16&&t(8,n=Math.min(...o.map(d=>d[0]))),i.$$.dirty&16&&t(7,r=Math.max(...o.map(d=>d[1]))),i.$$.dirty&256&&t(1,s=Math.max(n-Zn,0)),i.$$.dirty&129&&t(2,l=Math.min(r+Zn+1,a.length)),i.$$.dirty&23&&(t(5,u=a.slice(s,l)),t(6,f=o.map(([d,h])=>[d-s,h-s]))),i.$$.dirty&104){const d=new Set(f.map(([v])=>v)),h=new Set(f.map(([,v])=>v));t(3,c="");let m=!1;for(let v=0;v"),t(3,c+=R)):h.has(v)&&m?(m=!1,t(3,c+=R),t(3,c+="")):t(3,c+=R)}}},[a,s,l,c,o,u,f,r,n]}class zt extends Q{constructor(e){super(),$(this,e,zo,To,J,{text:0,indexes:4})}}function Kn(i,e,t){const n=i.slice();return n[2]=e[t],n[4]=t,n}function Wn(i){let e,t,n,r,s=i[1].length>0&&xn();return{c(){e=V("strong"),t=oe(i[0]),n=ie(),s&&s.c(),r=Y()},l(l){e=U(l,"STRONG",{});var a=y(e);t=ue(a,i[0]),a.forEach(g),n=re(l),s&&s.l(l),r=Y()},m(l,a){w(l,e,a),N(e,t),w(l,n,a),s&&s.m(l,a),w(l,r,a)},p(l,a){a&1&&me(t,l[0]),l[1].length>0?s||(s=xn(),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(l){l&&(g(e),g(n),g(r)),s&&s.d(l)}}}function xn(i){let e=" > ",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){w(n,t,r)},d(n){n&&g(t)}}}function qn(i){let e=" > ",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){w(n,t,r)},d(n){n&&g(t)}}}function Xn(i){let e,t=i[2].text+"",n,r,s,l=i[4]{"section"in s&&t(0,n=s.section),"headers"in s&&t(1,r=s.headers)},[n,r]}class Hi extends Q{constructor(e){super(),$(this,e,Fo,Lo,J,{section:0,headers:1})}}function Jn(i){let e,t,n,r;return{c(){e=V("strong"),t=oe("("),n=oe(i[3]),r=oe(")")},l(s){e=U(s,"STRONG",{});var l=y(e);t=ue(l,"("),n=ue(l,i[3]),r=ue(l,")"),l.forEach(g)},m(s,l){w(s,e,l),N(e,t),N(e,n),N(e,r)},p(s,l){l&8&&me(n,s[3])},d(s){s&&g(e)}}}function Bo(i){let e,t,n,r,s,l,a;e=new Hi({props:{section:i[2],headers:[{id:i[0].result.name,depth:1,text:i[0].result.name}]}});let o=i[3]&&Jn(i);return l=new zt({props:{text:i[0].matches[0].value,indexes:i[0].matches[0].indices}}),{c(){D(e.$$.fragment),t=ie(),o&&o.c(),n=ie(),r=V("br"),s=ie(),D(l.$$.fragment)},l(u){W(e.$$.fragment,u),t=re(u),o&&o.l(u),n=re(u),r=U(u,"BR",{}),s=re(u),W(l.$$.fragment,u)},m(u,f){P(e,u,f),w(u,t,f),o&&o.m(u,f),w(u,n,f),w(u,r,f),w(u,s,f),P(l,u,f),a=!0},p(u,f){const c={};f&4&&(c.section=u[2]),f&1&&(c.headers=[{id:u[0].result.name,depth:1,text:u[0].result.name}]),e.$set(c),u[3]?o?o.p(u,f):(o=Jn(u),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null);const d={};f&1&&(d.text=u[0].matches[0].value),f&1&&(d.indexes=u[0].matches[0].indices),l.$set(d)},i(u){a||(b(e.$$.fragment,u),b(l.$$.fragment,u),a=!0)},o(u){k(e.$$.fragment,u),k(l.$$.fragment,u),a=!1},d(u){u&&(g(t),g(n),g(r),g(s)),G(e,u),o&&o.d(u),G(l,u)}}}function Ho(i){let e,t;return e=new Bi({props:{href:i[1],$$slots:{default:[Bo]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&2&&(s.href=n[1]),r&45&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Do(i,e,t){let{item:n}=e,r,s,l;function a(o){ce.call(this,i,o)}return i.$$set=o=>{"item"in o&&t(0,n=o.item)},i.$$.update=()=>{i.$$.dirty&1&&(n.result.type===Ne.QUERY?(t(1,r=tt.joinUrlPaths(nt(),`/queries/${n.result.name}`)),t(2,s="Queries")):n.result.type===Ne.MUTATION?(t(1,r=tt.joinUrlPaths(nt(),`/mutations/${n.result.name}`)),t(2,s="Mutations")):n.result.type===Ne.SUBSCRIPTION?(t(1,r=tt.joinUrlPaths(nt(),`/subscriptions/${n.result.name}`)),t(2,s="Subscriptions")):n.result.type===Ne.TYPE&&(t(1,r=tt.joinUrlPaths(nt(),`/types/${n.result.name}`)),t(2,s="Types"))),i.$$.dirty&1&&(n.matches[0].location.includes("arguments")?t(3,l="argument"):n.matches[0].location.includes("fields")?t(3,l="field"):n.matches[0].location.includes("value")?t(3,l="enum"):n.matches[0].location.includes("name")?t(3,l="name"):n.matches[0].location.includes("description")&&t(3,l="description"))},[n,r,s,l,a]}class Po extends Q{constructor(e){super(),$(this,e,Do,Ho,J,{item:0})}}function Go(i){let e,t;return e=new zt({props:{text:i[0].part.content,indexes:i[1]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.content),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function jo(i){let e,t;return e=new zt({props:{text:i[0].part.title,indexes:i[1]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.title),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Vo(i){let e,t,n,r,s,l,a,o;e=new Hi({props:{headers:i[2],section:i[0].data.section}});const u=[jo,Go],f=[];function c(d,h){return d[0].part.type===Be.HEADER?0:1}return s=c(i),l=f[s]=u[s](i),{c(){D(e.$$.fragment),t=ie(),n=V("br"),r=ie(),l.c(),a=Y()},l(d){W(e.$$.fragment,d),t=re(d),n=U(d,"BR",{}),r=re(d),l.l(d),a=Y()},m(d,h){P(e,d,h),w(d,t,h),w(d,n,h),w(d,r,h),f[s].m(d,h),w(d,a,h),o=!0},p(d,h){const m={};h&4&&(m.headers=d[2]),h&1&&(m.section=d[0].data.section),e.$set(m);let v=s;s=c(d),s===v?f[s].p(d,h):(fe(),k(f[v],1,1,()=>{f[v]=null}),de(),l=f[s],l?l.p(d,h):(l=f[s]=u[s](d),l.c()),b(l,1),l.m(a.parentNode,a))},i(d){o||(b(e.$$.fragment,d),b(l),o=!0)},o(d){k(e.$$.fragment,d),k(l),o=!1},d(d){d&&(g(t),g(n),g(r),g(a)),G(e,d),f[s].d(d)}}}function Uo(i){let e,t;return e=new Bi({props:{href:i[3],$$slots:{default:[Vo]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&8&&(s.href=n[3]),r&39&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Yo(i,e,t){let n,{result:r}=e,{indexes:s}=e,l;function a(o){ce.call(this,i,o)}return i.$$set=o=>{"result"in o&&t(0,r=o.result),"indexes"in o&&t(1,s=o.indexes)},i.$$.update=()=>{if(i.$$.dirty&1&&t(2,n=r.part.type===Be.HEADER?r.part.path:r.part.headers),i.$$.dirty&5){const o=n[n.length-1],u=r.data.url;!o||o.depth===1?t(3,l=u):t(3,l=`${u}#${o.id}`)}},[r,s,n,l,a]}class Zo extends Q{constructor(e){super(),$(this,e,Yo,Uo,J,{result:0,indexes:1})}}function Ko(i){let e,t;return e=new Po({props:{item:i[0]}}),e.$on("click",i[2]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.item=n[0]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Wo(i){let e,t;return e=new Zo({props:{result:i[0].result,indexes:i[0].matches[0].indices}}),e.$on("click",i[1]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.result=n[0].result),r&1&&(s.indexes=n[0].matches[0].indices),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function xo(i){let e,t,n,r;const s=[Wo,Ko],l=[];function a(o,u){return o[0].type==="markdown"?0:o[0].type==="graphql"?1:-1}return~(e=a(i))&&(t=l[e]=s[e](i)),{c(){t&&t.c(),n=Y()},l(o){t&&t.l(o),n=Y()},m(o,u){~e&&l[e].m(o,u),w(o,n,u),r=!0},p(o,[u]){let f=e;e=a(o),e===f?~e&&l[e].p(o,u):(t&&(fe(),k(l[f],1,1,()=>{l[f]=null}),de()),~e?(t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n)):t=null)},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),~e&&l[e].d(o)}}}function qo(i,e,t){let{item:n}=e;function r(l){ce.call(this,i,l)}function s(l){ce.call(this,i,l)}return i.$$set=l=>{"item"in l&&t(0,n=l.item)},[n,r,s]}class Xo extends Q{constructor(e){super(),$(this,e,qo,xo,J,{item:0})}}function Qn(i,e,t){const n=i.slice();return n[6]=e[t],n}function $n(i){let e,t,n;function r(l){i[5](l)}let s={modalHeading:"Search",passiveModal:!0,selectorPrimaryFocus:"#search-bar",hasScrollingContent:!1,$$slots:{default:[Jo]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.open=i[0]),e=new Ro({props:s}),Ae.push(()=>De(e,"open",r)),{c(){D(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,a){const o={};a&519&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.open=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function ei(i){let e,t;return e=new Xo({props:{item:i[6]}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&4&&(s.item=n[6]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Jo(i){let e,t,n,r,s;function l(c){i[3](c)}let a={id:"search-bar"};i[1]!==void 0&&(a.value=i[1]),e=new pi({props:a}),Ae.push(()=>De(e,"value",l));let o=ye(i[2]),u=[];for(let c=0;ck(u[c],1,1,()=>{u[c]=null});return{c(){D(e.$$.fragment),n=ie(),r=V("div");for(let c=0;ct=!1)),e.$set(h),d&5){o=ye(c[2]);let m;for(m=0;m{n=null}),de())},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function $o(i,e,t){let{open:n=!1}=e,r="",s;function l(u){r=u,t(1,r)}const a=()=>t(0,n=!1);function o(u){n=u,t(0,n)}return i.$$set=u=>{"open"in u&&t(0,n=u.open)},i.$$.update=()=>{i.$$.dirty&2&&t(2,s=fo(r))},[n,r,s,l,a,o]}class eu extends Q{constructor(e){super(),$(this,e,$o,Qo,J,{open:0})}}function ti(i,e,t){const n=i.slice();return n[1]=e[t],n}function tu(i){let e,t,n=ye(i[0]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l0&&tu(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function iu(i){return[Je(xe.EXTERNAL_LINKS,[]).filter(t=>(t==null?void 0:t.position)==="header")]}class ru extends Q{constructor(e){super(),$(this,e,iu,nu,J,{})}}function lu(i){let e,t,n;return t=new pi({props:{placeholder:`Search ${pt}... (${i[3]?"⌘":"Ctrl"}+K)`,autocomplete:"off",size:"sm"}}),t.$on("focus",i[5]),{c(){e=V("div"),D(t.$$.fragment),this.h()},l(r){e=U(r,"DIV",{class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"class","search-bar-wrapper svelte-qat78g")},m(r,s){w(r,e,s),P(t,e,null),n=!0},p(r,s){const l={};s&8&&(l.placeholder=`Search ${pt}... (${r[3]?"⌘":"Ctrl"}+K)`),t.$set(l)},i(r){n||(b(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),G(t)}}}function su(i){let e,t;return e=new bi({props:{icon:Xs,"aria-label":"Search"}}),e.$on("click",i[4]),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function au(i){let e,t,n,r,s,l,a;const o=[su,lu],u=[];function f(c,d){return c[1]?0:1}return e=f(i),t=u[e]=o[e](i),r=new ru({}),l=new sa({}),{c(){t.c(),n=ie(),D(r.$$.fragment),s=ie(),D(l.$$.fragment)},l(c){t.l(c),n=re(c),W(r.$$.fragment,c),s=re(c),W(l.$$.fragment,c)},m(c,d){u[e].m(c,d),w(c,n,d),P(r,c,d),w(c,s,d),P(l,c,d),a=!0},p(c,d){let h=e;e=f(c),e===h?u[e].p(c,d):(fe(),k(u[h],1,1,()=>{u[h]=null}),de(),t=u[e],t?t.p(c,d):(t=u[e]=o[e](c),t.c()),b(t,1),t.m(n.parentNode,n))},i(c){a||(b(t),b(r.$$.fragment,c),b(l.$$.fragment,c),a=!0)},o(c){k(t),k(r.$$.fragment,c),k(l.$$.fragment,c),a=!1},d(c){c&&(g(n),g(s)),u[e].d(c),G(r,c),G(l,c)}}}function ou(i){let e,t;return e=new _l({props:{$$slots:{default:[au]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&526&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function uu(i){let e,t,n;return t=new zl({}),{c(){e=V("div"),D(t.$$.fragment),this.h()},l(r){e=U(r,"DIV",{slot:!0,class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"slot","platform"),L(e,"class","header-logo-wrapper svelte-qat78g")},m(r,s){w(r,e,s),P(t,e,null),n=!0},p:X,i(r){n||(b(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),G(t)}}}function cu(i){let e,t,n,r,s,l;function a(c){i[6](c)}let o={href:pr||"/",expandedByDefault:!0,$$slots:{platform:[uu],default:[ou]},$$scope:{ctx:i}};i[0]!==void 0&&(o.isSideNavOpen=i[0]),e=new cl({props:o}),Ae.push(()=>De(e,"isSideNavOpen",a));function u(c){i[7](c)}let f={};return i[2]!==void 0&&(f.open=i[2]),r=new eu({props:f}),Ae.push(()=>De(r,"open",u)),{c(){D(e.$$.fragment),n=ie(),D(r.$$.fragment)},l(c){W(e.$$.fragment,c),n=re(c),W(r.$$.fragment,c)},m(c,d){P(e,c,d),w(c,n,d),P(r,c,d),l=!0},p(c,[d]){const h={};d&526&&(h.$$scope={dirty:d,ctx:c}),!t&&d&1&&(t=!0,h.isSideNavOpen=c[0],He(()=>t=!1)),e.$set(h);const m={};!s&&d&4&&(s=!0,m.open=c[2],He(()=>s=!1)),r.$set(m)},i(c){l||(b(e.$$.fragment,c),b(r.$$.fragment,c),l=!0)},o(c){k(e.$$.fragment,c),k(r.$$.fragment,c),l=!1},d(c){c&&g(n),G(e,c),G(r,c)}}}function fu(i,e,t){let{isSideNavOpen:n=!0}=e,{mobile:r=!1}=e,s=!1,l=!1,a=d=>{d.metaKey||d.ctrlKey?d.key==="k"&&(d.preventDefault(),t(2,s=!0)):d.key==="Escape"&&t(2,s=!1)};Ct(()=>{t(3,l=navigator.platform.toUpperCase().indexOf("MAC")>=0),window.addEventListener("keydown",a)}),fi(()=>{window.removeEventListener("keydown",a)});const o=()=>t(2,s=!0),u=()=>t(2,s=!0);function f(d){n=d,t(0,n)}function c(d){s=d,t(2,s)}return i.$$set=d=>{"isSideNavOpen"in d&&t(0,n=d.isSideNavOpen),"mobile"in d&&t(1,r=d.mobile)},[n,r,s,l,o,u,f,c]}class du extends Q{constructor(e){super(),$(this,e,fu,cu,J,{isSideNavOpen:0,mobile:1})}}function ii(i){let e,t,n;return{c(){e=V("div"),this.h()},l(r){e=U(r,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--side-nav__overlay",!0),A(e,"bx--side-nav__overlay-active",i[0]),je(e,"z-index",i[0]?6e3:void 0)},m(r,s){w(r,e,s),t||(n=se(e,"click",i[11]),t=!0)},p(r,s){s&1&&A(e,"bx--side-nav__overlay-active",r[0]),s&1&&je(e,"z-index",r[0]?6e3:void 0)},d(r){r&&g(e),t=!1,n()}}}function hu(i){let e,t,n,r,s,l;lt(i[10]);let a=!i[1]&&ii(i);const o=i[9].default,u=_e(o,i,i[8],null);let f=[{"aria-hidden":n=!i[0]},{"aria-label":i[3]},i[7]],c={};for(let d=0;d=i[4]?!1:i[0]),A(t,"bx--side-nav--collapsed",!i[0]&&!i[2]),A(t,"bx--side-nav--rail",i[2])},m(d,h){a&&a.m(d,h),w(d,e,h),w(d,t,h),u&&u.m(t,null),r=!0,s||(l=se(window,"resize",i[10]),s=!0)},p(d,[h]){d[1]?a&&(a.d(1),a=null):a?a.p(d,h):(a=ii(d),a.c(),a.m(e.parentNode,e)),u&&u.p&&(!r||h&256)&&be(u,o,d,d[8],r?ke(o,d[8],h,null):pe(d[8]),null),ve(t,c=he(f,[(!r||h&1&&n!==(n=!d[0]))&&{"aria-hidden":n},(!r||h&8)&&{"aria-label":d[3]},h&128&&d[7]])),A(t,"bx--side-nav__navigation",!0),A(t,"bx--side-nav",!0),A(t,"bx--side-nav--ux",!0),A(t,"bx--side-nav--expanded",d[2]&&d[5]>=d[4]?!1:d[0]),A(t,"bx--side-nav--collapsed",!d[0]&&!d[2]),A(t,"bx--side-nav--rail",d[2])},i(d){r||(b(u,d),r=!0)},o(d){k(u,d),r=!1},d(d){d&&(g(e),g(t)),a&&a.d(d),u&&u.d(d),s=!1,l()}}}function gu(i,e,t){const n=["fixed","rail","ariaLabel","isOpen","expansionBreakpoint"];let r=B(e,n),s,l;Ze(i,wt,p=>t(12,s=p)),Ze(i,vt,p=>t(13,l=p));let{$$slots:a={},$$scope:o}=e,{fixed:u=!1}=e,{rail:f=!1}=e,{ariaLabel:c=void 0}=e,{isOpen:d=!1}=e,{expansionBreakpoint:h=1056}=e;const m=st();let v;Ct(()=>(kt.set(!0),()=>kt.set(!1)));function R(){t(5,v=window.innerWidth)}const C=()=>{m("click:overlay"),t(0,d=!1)};return i.$$set=p=>{e=M(M({},e),x(p)),t(7,r=B(e,n)),"fixed"in p&&t(1,u=p.fixed),"rail"in p&&t(2,f=p.rail),"ariaLabel"in p&&t(3,c=p.ariaLabel),"isOpen"in p&&t(0,d=p.isOpen),"expansionBreakpoint"in p&&t(4,h=p.expansionBreakpoint),"$$scope"in p&&t(8,o=p.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&m(d?"open":"close"),i.$$.dirty&1&&_t(vt,l=!d,l),i.$$.dirty&4&&_t(wt,s=f,s)},[d,u,f,c,h,v,m,r,o,a,R,C]}class mu extends Q{constructor(e){super(),$(this,e,gu,hu,J,{fixed:1,rail:2,ariaLabel:3,isOpen:0,expansionBreakpoint:4})}}function _u(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("ul"),r&&r.c(),this.h()},l(s){e=U(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--side-nav__items",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function bu(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class pu extends Q{constructor(e){super(),$(this,e,bu,_u,J,{})}}const ku=i=>({}),ri=i=>({});function li(i){let e,t;const n=i[7].icon,r=_e(n,i,i[6],ri),s=r||vu(i);return{c(){e=V("div"),s&&s.c(),this.h()},l(l){e=U(l,"DIV",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--side-nav__icon",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&64)&&be(r,n,l,l[6],t?ke(n,l[6],a,ku):pe(l[6]),ri):s&&s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function vu(i){let e,t,n;var r=i[3];function s(l,a){return{}}return r&&(e=Ie(r,s())),{c(){e&&D(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&P(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Ie(r,s()),D(e.$$.fragment),b(e.$$.fragment,1),P(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function wu(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m=(i[5].icon||i[3])&&li(i);o=new _r({});let v=[{type:"button"},{"aria-expanded":i[0]},i[4]],R={};for(let S=0;S{m=null}),de()),(!c||O&4)&&me(s,S[2]),ve(t,R=he(v,[{type:"button"},(!c||O&1)&&{"aria-expanded":S[0]},O&16&&S[4]])),A(t,"bx--side-nav__submenu",!0),p&&p.p&&(!c||O&64)&&be(p,C,S,S[6],c?ke(C,S[6],O,null):pe(S[6]),null),O&1&&je(f,"max-height",S[0]?"none":void 0),(!c||O&8)&&A(e,"bx--side-nav__item--icon",S[3])},i(S){c||(b(m),b(o.$$.fragment,S),b(p,S),c=!0)},o(S){k(m),k(o.$$.fragment,S),k(p,S),c=!1},d(S){S&&g(e),m&&m.d(),G(o),i[9](null),p&&p.d(S),d=!1,We(h)}}}function Eu(i,e,t){const n=["expanded","text","icon","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e;const a=Nt(s);let{expanded:o=!1}=e,{text:u=void 0}=e,{icon:f=void 0}=e,{ref:c=null}=e;function d(v){ce.call(this,i,v)}function h(v){Ae[v?"unshift":"push"](()=>{c=v,t(1,c)})}const m=()=>{t(0,o=!o)};return i.$$set=v=>{e=M(M({},e),x(v)),t(4,r=B(e,n)),"expanded"in v&&t(0,o=v.expanded),"text"in v&&t(2,u=v.text),"icon"in v&&t(3,f=v.icon),"ref"in v&&t(1,c=v.ref),"$$scope"in v&&t(6,l=v.$$scope)},[o,c,u,f,r,a,l,s,d,h,m]}class Su extends Q{constructor(e){super(),$(this,e,Eu,wu,J,{expanded:0,text:2,icon:3,ref:1})}}const Au=Su;function yu(i){let e;return{c(){e=oe(i[3])},l(t){e=ue(t,i[3])},m(t,n){w(t,e,n)},p(t,n){n&8&&me(e,t[3])},d(t){t&&g(e)}}}function Mu(i){let e,t,n,r,s,l,a;const o=i[6].default,u=_e(o,i,i[5],null),f=u||yu(i);let c=[{"aria-current":r=i[1]?"page":void 0},{href:i[2]},i[4]],d={};for(let h=0;h{f=h,t(0,f)})}return i.$$set=h=>{e=M(M({},e),x(h)),t(4,r=B(e,n)),"isSelected"in h&&t(1,a=h.isSelected),"href"in h&&t(2,o=h.href),"text"in h&&t(3,u=h.text),"ref"in h&&t(0,f=h.ref),"$$scope"in h&&t(5,l=h.$$scope)},[f,a,o,u,r,l,s,c,d]}class Iu extends Q{constructor(e){super(),$(this,e,Ru,Mu,J,{isSelected:1,href:2,text:3,ref:0})}}function Ou(i){let e,t;const n=[{href:i[0]},{text:i[1]},{isSelected:i[2]===i[0]},i[3]];let r={};for(let s=0;s{e=M(M({},e),x(o)),t(3,r=B(e,n)),"href"in o&&t(0,s=o.href),"text"in o&&t(1,l=o.text),"currentRef"in o&&t(2,a=o.currentRef)},[s,l,a,r]}class Cu extends Q{constructor(e){super(),$(this,e,Nu,Ou,J,{href:0,text:1,currentRef:2})}}function Tu(i){let e,t;return e=new Cu({props:{href:i[0].href,text:i[0].title,class:i[0].deprecated?"deprecated":"",currentRef:i[1].url.pathname}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&1&&(s.text=n[0].title),r&1&&(s.class=n[0].deprecated?"deprecated":""),r&2&&(s.currentRef=n[1].url.pathname),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function zu(i,e,t){let n;Ze(i,gi,s=>t(1,n=s));let{item:r}=e;return i.$$set=s=>{"item"in s&&t(0,r=s.item)},[r,n]}class Di extends Q{constructor(e){super(),$(this,e,zu,Tu,J,{item:0})}}function si(i,e,t){const n=i.slice();return n[3]=e[t],n}function ai(i,e,t){const n=i.slice();return n[6]=e[t],n}function Lu(i){let e,t;return e=new Au({props:{text:i[3].title,expanded:!0,$$slots:{default:[Bu]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.text=n[3].title),r&514&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Fu(i){let e,t;return e=new Di({props:{item:i[3]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[3]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function oi(i){let e,t;return e=new Di({props:{item:i[6]}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[6]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ui(i){let e,t,n=i[6].type==="page"&&oi(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,s){r[6].type==="page"?n?(n.p(r,s),s&2&&b(n,1)):(n=oi(r),n.c(),b(n,1),n.m(e.parentNode,e)):n&&(fe(),k(n,1,1,()=>{n=null}),de())},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function Bu(i){let e,t,n=ye(i[3].children),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Hu(i){let e,t,n=ye(i[1]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;lDe(e,"isOpen",r)),{c(){D(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,[a]){const o={};a&514&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function Gu(i,e,t){let{isOpen:n=!0}=e,{content:r}=e;function s(l){n=l,t(0,n)}return i.$$set=l=>{"isOpen"in l&&t(0,n=l.isOpen),"content"in l&&t(1,r=l.content)},[n,r,s]}class ju extends Q{constructor(e){super(),$(this,e,Gu,Pu,J,{isOpen:0,content:1})}}const Vu=Uu({appTitle:pt,appIcon:Nl},Je(xe.SITE_META,{}));function Uu(i,e){return bt.map({...Yu(i),...e||{}},(t,n)=>({name:n,content:t})).filter(t=>!!t.content)}function Yu(i){const e=`${i.appTitle}'s GraphQL documentation`;return{keywords:`graphql,api,documentation,${i.appTitle}`,description:e,"og:title":i.appTitle,"og:type":"article","og:image":i.appIcon,"og:site_name":i.appTitle,"og:description":e}}const Zu=Je(xe.CUSTOM_STYLES,[]),{window:Pi}=kr;function Ku(i,e,t){const n=i.slice();return n[10]=e[t],n}function Wu(i,e,t){const n=i.slice();return n[13]=e[t],n}function xu(i){let e;return{c(){e=V("meta"),this.h()},l(t){e=U(t,"META",{name:!0,content:!0}),this.h()},h(){L(e,"name",i[13].name),L(e,"content",i[13].content)},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function qu(i){let e;return{c(){e=V("link"),this.h()},l(t){e=U(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","stylesheet"),L(e,"href",i[10])},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function Xu(i){let e;return{c(){e=V("link"),this.h()},l(t){e=U(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","icon"),L(e,"href",i[3])},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function Ju(i){let e;const t=i[4].default,n=_e(t,i,i[8],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&256)&&be(n,t,r,r[8],e?ke(t,r[8],s,null):pe(r[8]),null)},i(r){e||(b(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function Qu(i){let e,t;return e=new Xr({props:{$$slots:{default:[Ju]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function $u(i){let e,t;return e=new Dr({props:{$$slots:{default:[Qu]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ec(i){let e,t;return e=new Yr({props:{$$slots:{default:[$u]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){P(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function tc(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m;lt(i[5]);let v=ye(Vu),R=[];for(let I=0;IDe(s,"isSideNavOpen",O));function F(I){i[7](I)}let ee={content:hi};return i[1]!==void 0&&(ee.isOpen=i[1]),o=new ju({props:ee}),Ae.push(()=>De(o,"isOpen",F)),c=new Tr({props:{$$slots:{default:[ec]},$$scope:{ctx:i}}}),{c(){for(let I=0;Il=!1)),s.$set(E);const j={};!u&&q&2&&(u=!0,j.isOpen=I[1],He(()=>u=!1)),o.$set(j);const ae={};q&256&&(ae.$$scope={dirty:q,ctx:I}),c.$set(ae)},i(I){d||(b(s.$$.fragment,I),b(o.$$.fragment,I),b(c.$$.fragment,I),d=!0)},o(I){k(s.$$.fragment,I),k(o.$$.fragment,I),k(c.$$.fragment,I),d=!1},d(I){I&&(g(r),g(a),g(f)),Le(R,I),g(e),Le(p,I),g(t),S&&S.d(I),g(n),G(s,I),G(o,I),G(c,I),h=!1,m()}}}const nc=1056;function ic(i,e,t){let{$$slots:n={},$$scope:r}=e;mi(),br.languages.insertBefore("shell","function",{keyword:{pattern:/(^\s*)(?:magidoc|pnpm|npm|yarn)(?=\s)/m,lookbehind:!0}});let s=!1,l=-1,a=!1;const o=gr(xe.APP_FAVICON),u=gi.subscribe(()=>{a&&t(1,s=!1)});fi(u);function f(){t(0,l=Pi.innerWidth)}function c(h){s=h,t(1,s)}function d(h){s=h,t(1,s)}return i.$$set=h=>{"$$scope"in h&&t(8,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&t(2,a=li(0,e=s));let r;return a.$$.update=()=>{var s;if(a.$$.dirty&1){const o=((s=e.error)==null?void 0:s.message)||"An unexpected error occurred.";i(1,r=o.endsWith(".")?o:`${o}.`)}},[e,r]}class F extends C{constructor(n){super(),D(this,n,P,I,x,{})}}export{F as component}; +import{s as x,b,e as _,t as j,h as y,d as p,c as w,f,g as v,j as S,k as z,l as $,m as d,o as k,n as q,p as A}from"../chunks/scheduler.BZkyrStM.js";import{S as C,i as D}from"../chunks/index.BLFDKRva.js";import{p as H}from"../chunks/stores.DixFfSw6.js";function I(a){let n,i,e,r,s=a[0].status+"",o,u,c,h;return document.title=n="Error - "+a[0].status,{c(){i=b(),e=_("div"),r=_("h1"),o=j(s),u=b(),c=_("p"),h=j(a[1]),this.h()},l(t){y("svelte-1wpfhz9",document.head).forEach(p),i=w(t),e=f(t,"DIV",{class:!0});var m=v(e);r=f(m,"H1",{});var E=v(r);o=S(E,s),E.forEach(p),u=w(m),c=f(m,"P",{});var g=v(c);h=S(g,a[1]),g.forEach(p),m.forEach(p),this.h()},h(){z(e,"class","wrapper svelte-1ldjxpt")},m(t,l){$(t,i,l),$(t,e,l),d(e,r),d(r,o),d(e,u),d(e,c),d(c,h)},p(t,[l]){l&1&&n!==(n="Error - "+t[0].status)&&(document.title=n),l&1&&s!==(s=t[0].status+"")&&k(o,s),l&2&&k(h,t[1])},i:q,o:q,d(t){t&&(p(i),p(e))}}}function P(a,n,i){let e;A(a,H,s=>i(0,e=s));let r;return a.$$.update=()=>{var s;if(a.$$.dirty&1){const o=((s=e.error)==null?void 0:s.message)||"An unexpected error occurred.";i(1,r=o.endsWith(".")?o:`${o}.`)}},[e,r]}class F extends C{constructor(n){super(),D(this,n,P,I,x,{})}}export{F as component}; diff --git a/public/docs/_app/immutable/nodes/2.C-YksOJQ.js b/public/docs/_app/immutable/nodes/2.D34fuWsz.js similarity index 53% rename from public/docs/_app/immutable/nodes/2.C-YksOJQ.js rename to public/docs/_app/immutable/nodes/2.D34fuWsz.js index 6a8eb76..b5e3256 100644 --- a/public/docs/_app/immutable/nodes/2.C-YksOJQ.js +++ b/public/docs/_app/immutable/nodes/2.D34fuWsz.js @@ -1 +1 @@ -import{r as e}from"../chunks/index.DZ_x9Zvh.js";import{h as r}from"../chunks/pages.DBBWeKUc.js";const o=!0;function t(){throw e(301,r)}const l=Object.freeze(Object.defineProperty({__proto__:null,load:t,prerender:o},Symbol.toStringTag,{value:"Module"}));export{l as universal}; +import{r as e}from"../chunks/index.BFJrFwrB.js";import{h as r}from"../chunks/pages.DpEZ8Fnk.js";const o=!0;function t(){throw e(301,r)}const l=Object.freeze(Object.defineProperty({__proto__:null,load:t,prerender:o},Symbol.toStringTag,{value:"Module"}));export{l as universal}; diff --git a/public/docs/_app/immutable/nodes/3.Dsdjuqho.js b/public/docs/_app/immutable/nodes/3.EZzk7DaV.js similarity index 80% rename from public/docs/_app/immutable/nodes/3.Dsdjuqho.js rename to public/docs/_app/immutable/nodes/3.EZzk7DaV.js index d899cb5..a9638a5 100644 --- a/public/docs/_app/immutable/nodes/3.Dsdjuqho.js +++ b/public/docs/_app/immutable/nodes/3.EZzk7DaV.js @@ -1,4 +1,4 @@ -import{e as k}from"../chunks/index.DZ_x9Zvh.js";import{p as y,f as C}from"../chunks/pages.DBBWeKUc.js";import{s as S,b as u,h as j,d as m,c as d,l as _}from"../chunks/scheduler.Eaj42bxH.js";import{S as q,i as M,c as $,a as h,m as b,t as v,b as w,d as P}from"../chunks/index.CMSEJhCx.js";import{C as O,P as z}from"../chunks/PreviousNextPage.DyKSPTRc.js";const B=y.length>0,E=({url:n})=>{const t=C(n.pathname);if(!t)throw k(404,"Could not find the page you are looking for");return{page:t}},I=Object.freeze(Object.defineProperty({__proto__:null,load:E,prerender:B},Symbol.toStringTag,{value:"Module"}));function H(n){var c;let t,i,a,s,r,p;return document.title=t=` +import{e as k}from"../chunks/index.BFJrFwrB.js";import{p as y,f as C}from"../chunks/pages.DpEZ8Fnk.js";import{s as S,b as u,h as j,d as m,c as d,l as _}from"../chunks/scheduler.BZkyrStM.js";import{S as q,i as M,c as $,a as h,m as b,t as v,b as w,d as P}from"../chunks/index.BLFDKRva.js";import{C as O,P as z}from"../chunks/PreviousNextPage.Cqe1Lb47.js";const B=y.length>0,E=({url:n})=>{const t=C(n.pathname);if(!t)throw k(404,"Could not find the page you are looking for");return{page:t}},I=Object.freeze(Object.defineProperty({__proto__:null,load:E,prerender:B},Symbol.toStringTag,{value:"Module"}));function H(n){var c;let t,i,a,s,r,p;return document.title=t=` `+((c=n[0].page)!=null&&c.section?`${n[0].page.section} - `:"")+n[0].page.title+` `,a=new O({props:{source:n[0].page.content}}),r=new z({props:{page:n[0].page}}),{c(){i=u(),$(a.$$.fragment),s=u(),$(r.$$.fragment)},l(e){j("svelte-sbhnqj",document.head).forEach(m),i=d(e),h(a.$$.fragment,e),s=d(e),h(r.$$.fragment,e)},m(e,o){_(e,i,o),b(a,e,o),_(e,s,o),b(r,e,o),p=!0},p(e,[o]){var l;(!p||o&1)&&t!==(t=` `+((l=e[0].page)!=null&&l.section?`${e[0].page.section} - `:"")+e[0].page.title+` diff --git a/public/docs/_app/immutable/nodes/4.HoOWUExx.js b/public/docs/_app/immutable/nodes/4.DTj3Jhwg.js similarity index 88% rename from public/docs/_app/immutable/nodes/4.HoOWUExx.js rename to public/docs/_app/immutable/nodes/4.DTj3Jhwg.js index cc25ab8..01c613e 100644 --- a/public/docs/_app/immutable/nodes/4.HoOWUExx.js +++ b/public/docs/_app/immutable/nodes/4.DTj3Jhwg.js @@ -1 +1 @@ -import{n as E,o as N,f as O,i as y}from"../chunks/pages.DBBWeKUc.js";import{e as H}from"../chunks/index.DZ_x9Zvh.js";import{s as k,e as M,b as h,f as T,g as q,c as w,d as $,l as u,m as A,t as P,j as S,o as z,h as I}from"../chunks/scheduler.Eaj42bxH.js";import{S as j,i as C,c as d,a as p,m as g,t as l,g as L,b as m,e as F,d as _}from"../chunks/index.CMSEJhCx.js";import{A as B,C as G,P as J}from"../chunks/PreviousNextPage.DyKSPTRc.js";import{A as K}from"../chunks/ArgsList.Cv5ckF46.js";const Q=E(),R=({params:o,url:t})=>{const n=N(o.directive),r=O(t.pathname);if(!n||!r)throw H(404,`Directive ${o.directive} not found.`);return{directive:n,page:r}},ie=Object.freeze(Object.defineProperty({__proto__:null,load:R,prerender:Q},Symbol.toStringTag,{value:"Module"}));function U(o){let t=o[0].name+"",n;return{c(){n=P(t)},l(r){n=S(r,t)},m(r,i){u(r,n,i)},p(r,i){i&1&&t!==(t=r[0].name+"")&&z(n,t)},d(r){r&&$(n)}}}function D(o){let t,n,r,i;return t=new B({props:{id:"arguments",depth:2,$$slots:{default:[V]},$$scope:{ctx:o}}}),r=new K({props:{data:o[1]}}),{c(){d(t.$$.fragment),n=h(),d(r.$$.fragment)},l(a){p(t.$$.fragment,a),n=w(a),p(r.$$.fragment,a)},m(a,c){g(t,a,c),u(a,n,c),g(r,a,c),i=!0},p(a,c){const e={};c&4&&(e.$$scope={dirty:c,ctx:a}),t.$set(e);const s={};c&2&&(s.data=a[1]),r.$set(s)},i(a){i||(l(t.$$.fragment,a),l(r.$$.fragment,a),i=!0)},o(a){m(t.$$.fragment,a),m(r.$$.fragment,a),i=!1},d(a){a&&$(n),_(t,a),_(r,a)}}}function V(o){let t;return{c(){t=P("Arguments")},l(n){t=S(n,"Arguments")},m(n,r){u(n,t,r)},d(n){n&&$(t)}}}function W(o){let t,n,r,i,a,c;n=new B({props:{id:"title",depth:1,$$slots:{default:[U]},$$scope:{ctx:o}}}),i=new G({props:{source:o[0].description}});let e=o[1].length>0&&D(o);return{c(){t=M("section"),d(n.$$.fragment),r=h(),d(i.$$.fragment),a=h(),e&&e.c()},l(s){t=T(s,"SECTION",{});var f=q(t);p(n.$$.fragment,f),r=w(f),p(i.$$.fragment,f),a=w(f),e&&e.l(f),f.forEach($)},m(s,f){u(s,t,f),g(n,t,null),A(t,r),g(i,t,null),A(t,a),e&&e.m(t,null),c=!0},p(s,[f]){const v={};f&5&&(v.$$scope={dirty:f,ctx:s}),n.$set(v);const b={};f&1&&(b.source=s[0].description),i.$set(b),s[1].length>0?e?(e.p(s,f),f&2&&l(e,1)):(e=D(s),e.c(),l(e,1),e.m(t,null)):e&&(L(),m(e,1,1,()=>{e=null}),F())},i(s){c||(l(n.$$.fragment,s),l(i.$$.fragment,s),l(e),c=!0)},o(s){m(n.$$.fragment,s),m(i.$$.fragment,s),m(e),c=!1},d(s){s&&$(t),_(n),_(i),e&&e.d()}}}function X(o,t,n){let{directive:r}=t,i;return o.$$set=a=>{"directive"in a&&n(0,r=a.directive)},o.$$.update=()=>{o.$$.dirty&1&&n(1,i=y(r))},[r,i]}class Y extends j{constructor(t){super(),C(this,t,X,W,k,{directive:0})}}function Z(o){let t,n,r,i,a,c;return document.title=t="Directive - "+o[0].directive.name,r=new Y({props:{directive:o[0].directive}}),a=new J({props:{page:o[0].page}}),{c(){n=h(),d(r.$$.fragment),i=h(),d(a.$$.fragment)},l(e){I("svelte-fycjkl",document.head).forEach($),n=w(e),p(r.$$.fragment,e),i=w(e),p(a.$$.fragment,e)},m(e,s){u(e,n,s),g(r,e,s),u(e,i,s),g(a,e,s),c=!0},p(e,[s]){(!c||s&1)&&t!==(t="Directive - "+e[0].directive.name)&&(document.title=t);const f={};s&1&&(f.directive=e[0].directive),r.$set(f);const v={};s&1&&(v.page=e[0].page),a.$set(v)},i(e){c||(l(r.$$.fragment,e),l(a.$$.fragment,e),c=!0)},o(e){m(r.$$.fragment,e),m(a.$$.fragment,e),c=!1},d(e){e&&($(n),$(i)),_(r,e),_(a,e)}}}function x(o,t,n){let{data:r}=t;return o.$$set=i=>{"data"in i&&n(0,r=i.data)},[r]}class oe extends j{constructor(t){super(),C(this,t,x,Z,k,{data:0})}}export{oe as component,ie as universal}; +import{n as E,o as N,f as O,i as y}from"../chunks/pages.DpEZ8Fnk.js";import{e as H}from"../chunks/index.BFJrFwrB.js";import{s as k,e as M,b as h,f as T,g as q,c as w,d as $,l as u,m as A,t as P,j as S,o as z,h as I}from"../chunks/scheduler.BZkyrStM.js";import{S as j,i as C,c as d,a as p,m as g,t as l,g as L,b as m,e as F,d as _}from"../chunks/index.BLFDKRva.js";import{A as B,C as G,P as J}from"../chunks/PreviousNextPage.Cqe1Lb47.js";import{A as K}from"../chunks/ArgsList.E6xJx3iI.js";const Q=E(),R=({params:o,url:t})=>{const n=N(o.directive),r=O(t.pathname);if(!n||!r)throw H(404,`Directive ${o.directive} not found.`);return{directive:n,page:r}},ie=Object.freeze(Object.defineProperty({__proto__:null,load:R,prerender:Q},Symbol.toStringTag,{value:"Module"}));function U(o){let t=o[0].name+"",n;return{c(){n=P(t)},l(r){n=S(r,t)},m(r,i){u(r,n,i)},p(r,i){i&1&&t!==(t=r[0].name+"")&&z(n,t)},d(r){r&&$(n)}}}function D(o){let t,n,r,i;return t=new B({props:{id:"arguments",depth:2,$$slots:{default:[V]},$$scope:{ctx:o}}}),r=new K({props:{data:o[1]}}),{c(){d(t.$$.fragment),n=h(),d(r.$$.fragment)},l(a){p(t.$$.fragment,a),n=w(a),p(r.$$.fragment,a)},m(a,c){g(t,a,c),u(a,n,c),g(r,a,c),i=!0},p(a,c){const e={};c&4&&(e.$$scope={dirty:c,ctx:a}),t.$set(e);const s={};c&2&&(s.data=a[1]),r.$set(s)},i(a){i||(l(t.$$.fragment,a),l(r.$$.fragment,a),i=!0)},o(a){m(t.$$.fragment,a),m(r.$$.fragment,a),i=!1},d(a){a&&$(n),_(t,a),_(r,a)}}}function V(o){let t;return{c(){t=P("Arguments")},l(n){t=S(n,"Arguments")},m(n,r){u(n,t,r)},d(n){n&&$(t)}}}function W(o){let t,n,r,i,a,c;n=new B({props:{id:"title",depth:1,$$slots:{default:[U]},$$scope:{ctx:o}}}),i=new G({props:{source:o[0].description}});let e=o[1].length>0&&D(o);return{c(){t=M("section"),d(n.$$.fragment),r=h(),d(i.$$.fragment),a=h(),e&&e.c()},l(s){t=T(s,"SECTION",{});var f=q(t);p(n.$$.fragment,f),r=w(f),p(i.$$.fragment,f),a=w(f),e&&e.l(f),f.forEach($)},m(s,f){u(s,t,f),g(n,t,null),A(t,r),g(i,t,null),A(t,a),e&&e.m(t,null),c=!0},p(s,[f]){const v={};f&5&&(v.$$scope={dirty:f,ctx:s}),n.$set(v);const b={};f&1&&(b.source=s[0].description),i.$set(b),s[1].length>0?e?(e.p(s,f),f&2&&l(e,1)):(e=D(s),e.c(),l(e,1),e.m(t,null)):e&&(L(),m(e,1,1,()=>{e=null}),F())},i(s){c||(l(n.$$.fragment,s),l(i.$$.fragment,s),l(e),c=!0)},o(s){m(n.$$.fragment,s),m(i.$$.fragment,s),m(e),c=!1},d(s){s&&$(t),_(n),_(i),e&&e.d()}}}function X(o,t,n){let{directive:r}=t,i;return o.$$set=a=>{"directive"in a&&n(0,r=a.directive)},o.$$.update=()=>{o.$$.dirty&1&&n(1,i=y(r))},[r,i]}class Y extends j{constructor(t){super(),C(this,t,X,W,k,{directive:0})}}function Z(o){let t,n,r,i,a,c;return document.title=t="Directive - "+o[0].directive.name,r=new Y({props:{directive:o[0].directive}}),a=new J({props:{page:o[0].page}}),{c(){n=h(),d(r.$$.fragment),i=h(),d(a.$$.fragment)},l(e){I("svelte-fycjkl",document.head).forEach($),n=w(e),p(r.$$.fragment,e),i=w(e),p(a.$$.fragment,e)},m(e,s){u(e,n,s),g(r,e,s),u(e,i,s),g(a,e,s),c=!0},p(e,[s]){(!c||s&1)&&t!==(t="Directive - "+e[0].directive.name)&&(document.title=t);const f={};s&1&&(f.directive=e[0].directive),r.$set(f);const v={};s&1&&(v.page=e[0].page),a.$set(v)},i(e){c||(l(r.$$.fragment,e),l(a.$$.fragment,e),c=!0)},o(e){m(r.$$.fragment,e),m(a.$$.fragment,e),c=!1},d(e){e&&($(n),$(i)),_(r,e),_(a,e)}}}function x(o,t,n){let{data:r}=t;return o.$$set=i=>{"data"in i&&n(0,r=i.data)},[r]}class oe extends j{constructor(t){super(),C(this,t,x,Z,k,{data:0})}}export{oe as component,ie as universal}; diff --git a/public/docs/_app/immutable/nodes/5.Dr4Ygg7v.js b/public/docs/_app/immutable/nodes/5.DvaM4w8r.js similarity index 75% rename from public/docs/_app/immutable/nodes/5.Dr4Ygg7v.js rename to public/docs/_app/immutable/nodes/5.DvaM4w8r.js index 7638206..c4936b2 100644 --- a/public/docs/_app/immutable/nodes/5.Dr4Ygg7v.js +++ b/public/docs/_app/immutable/nodes/5.DvaM4w8r.js @@ -1 +1 @@ -import{a as M,g as P,f as b}from"../chunks/pages.DBBWeKUc.js";import{e as S}from"../chunks/index.DZ_x9Zvh.js";import{s as T,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.Eaj42bxH.js";import{S as N,i as O,c as _,a as g,m as $,t as h,b as v,d as y}from"../chunks/index.CMSEJhCx.js";import{F as j,Q as B}from"../chunks/FieldDetails.45GdpIxF.js";import{P as F}from"../chunks/PreviousNextPage.DyKSPTRc.js";const Q=M(),q=({params:n,url:a})=>{const o=P(n.mutation),t=b(a.pathname);if(!o||!t)throw S(404,`Mutation ${n.mutation} not found.`);return{field:o,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:q,prerender:Q},Symbol.toStringTag,{value:"Module"}));function x(n){let a,o,t,r,i,f;return document.title=a="Mutation - "+n[0].field.name,t=new j({props:{field:n[0].field,type:B.MUTATION}}),i=new F({props:{page:n[0].page}}),{c(){o=u(),_(t.$$.fragment),r=u(),_(i.$$.fragment)},l(e){w("svelte-1ha51ns",document.head).forEach(m),o=d(e),g(t.$$.fragment,e),r=d(e),g(i.$$.fragment,e)},m(e,s){c(e,o,s),$(t,e,s),c(e,r,s),$(i,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Mutation - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),i.$set(p)},i(e){f||(h(t.$$.fragment,e),h(i.$$.fragment,e),f=!0)},o(e){v(t.$$.fragment,e),v(i.$$.fragment,e),f=!1},d(e){e&&(m(o),m(r)),y(t,e),y(i,e)}}}function z(n,a,o){let{data:t}=a;return n.$$set=r=>{"data"in r&&o(0,t=r.data)},[t]}class k extends N{constructor(a){super(),O(this,a,z,x,T,{data:0})}}export{k as component,U as universal}; +import{a as M,g as P,f as b}from"../chunks/pages.DpEZ8Fnk.js";import{e as S}from"../chunks/index.BFJrFwrB.js";import{s as T,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.BZkyrStM.js";import{S as N,i as O,c as _,a as g,m as $,t as h,b as v,d as y}from"../chunks/index.BLFDKRva.js";import{F as j,Q as B}from"../chunks/FieldDetails.CGqu6sCJ.js";import{P as F}from"../chunks/PreviousNextPage.Cqe1Lb47.js";const Q=M(),q=({params:n,url:a})=>{const o=P(n.mutation),t=b(a.pathname);if(!o||!t)throw S(404,`Mutation ${n.mutation} not found.`);return{field:o,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:q,prerender:Q},Symbol.toStringTag,{value:"Module"}));function x(n){let a,o,t,r,i,f;return document.title=a="Mutation - "+n[0].field.name,t=new j({props:{field:n[0].field,type:B.MUTATION}}),i=new F({props:{page:n[0].page}}),{c(){o=u(),_(t.$$.fragment),r=u(),_(i.$$.fragment)},l(e){w("svelte-1ha51ns",document.head).forEach(m),o=d(e),g(t.$$.fragment,e),r=d(e),g(i.$$.fragment,e)},m(e,s){c(e,o,s),$(t,e,s),c(e,r,s),$(i,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Mutation - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),i.$set(p)},i(e){f||(h(t.$$.fragment,e),h(i.$$.fragment,e),f=!0)},o(e){v(t.$$.fragment,e),v(i.$$.fragment,e),f=!1},d(e){e&&(m(o),m(r)),y(t,e),y(i,e)}}}function z(n,a,o){let{data:t}=a;return n.$$set=r=>{"data"in r&&o(0,t=r.data)},[t]}class k extends N{constructor(a){super(),O(this,a,z,x,T,{data:0})}}export{k as component,U as universal}; diff --git a/public/docs/_app/immutable/nodes/6.DTYqiS92.js b/public/docs/_app/immutable/nodes/6.CDNDJfTy.js similarity index 75% rename from public/docs/_app/immutable/nodes/6.DTYqiS92.js rename to public/docs/_app/immutable/nodes/6.CDNDJfTy.js index 7aa8656..c29919f 100644 --- a/public/docs/_app/immutable/nodes/6.DTYqiS92.js +++ b/public/docs/_app/immutable/nodes/6.CDNDJfTy.js @@ -1 +1 @@ -import{b as Q,c as b,f as P}from"../chunks/pages.DBBWeKUc.js";import{e as S}from"../chunks/index.DZ_x9Zvh.js";import{s as q,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.Eaj42bxH.js";import{S as j,i as B,c as _,a as g,m as $,t as y,b as h,d as v}from"../chunks/index.CMSEJhCx.js";import{F as E,Q as F}from"../chunks/FieldDetails.45GdpIxF.js";import{P as N}from"../chunks/PreviousNextPage.DyKSPTRc.js";const O=Q(),T=({params:n,url:a})=>{const r=b(n.query),t=P(a.pathname);if(!r||!t)throw S(404,`Query ${n.query} not found.`);return{field:r,page:t}},Y=Object.freeze(Object.defineProperty({__proto__:null,load:T,prerender:O},Symbol.toStringTag,{value:"Module"}));function x(n){let a,r,t,i,o,f;return document.title=a="Query - "+n[0].field.name,t=new E({props:{field:n[0].field,type:F.QUERY}}),o=new N({props:{page:n[0].page}}),{c(){r=u(),_(t.$$.fragment),i=u(),_(o.$$.fragment)},l(e){w("svelte-19yffit",document.head).forEach(m),r=d(e),g(t.$$.fragment,e),i=d(e),g(o.$$.fragment,e)},m(e,s){c(e,r,s),$(t,e,s),c(e,i,s),$(o,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Query - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),o.$set(p)},i(e){f||(y(t.$$.fragment,e),y(o.$$.fragment,e),f=!0)},o(e){h(t.$$.fragment,e),h(o.$$.fragment,e),f=!1},d(e){e&&(m(r),m(i)),v(t,e),v(o,e)}}}function z(n,a,r){let{data:t}=a;return n.$$set=i=>{"data"in i&&r(0,t=i.data)},[t]}class k extends j{constructor(a){super(),B(this,a,z,x,q,{data:0})}}export{k as component,Y as universal}; +import{b as Q,c as b,f as P}from"../chunks/pages.DpEZ8Fnk.js";import{e as S}from"../chunks/index.BFJrFwrB.js";import{s as q,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.BZkyrStM.js";import{S as j,i as B,c as _,a as g,m as $,t as y,b as h,d as v}from"../chunks/index.BLFDKRva.js";import{F as E,Q as F}from"../chunks/FieldDetails.CGqu6sCJ.js";import{P as N}from"../chunks/PreviousNextPage.Cqe1Lb47.js";const O=Q(),T=({params:n,url:a})=>{const r=b(n.query),t=P(a.pathname);if(!r||!t)throw S(404,`Query ${n.query} not found.`);return{field:r,page:t}},Y=Object.freeze(Object.defineProperty({__proto__:null,load:T,prerender:O},Symbol.toStringTag,{value:"Module"}));function x(n){let a,r,t,i,o,f;return document.title=a="Query - "+n[0].field.name,t=new E({props:{field:n[0].field,type:F.QUERY}}),o=new N({props:{page:n[0].page}}),{c(){r=u(),_(t.$$.fragment),i=u(),_(o.$$.fragment)},l(e){w("svelte-19yffit",document.head).forEach(m),r=d(e),g(t.$$.fragment,e),i=d(e),g(o.$$.fragment,e)},m(e,s){c(e,r,s),$(t,e,s),c(e,i,s),$(o,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Query - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),o.$set(p)},i(e){f||(y(t.$$.fragment,e),y(o.$$.fragment,e),f=!0)},o(e){h(t.$$.fragment,e),h(o.$$.fragment,e),f=!1},d(e){e&&(m(r),m(i)),v(t,e),v(o,e)}}}function z(n,a,r){let{data:t}=a;return n.$$set=i=>{"data"in i&&r(0,t=i.data)},[t]}class k extends j{constructor(a){super(),B(this,a,z,x,q,{data:0})}}export{k as component,Y as universal}; diff --git a/public/docs/_app/immutable/nodes/7.aHRSlWZl.js b/public/docs/_app/immutable/nodes/7.Bku79mXS.js similarity index 75% rename from public/docs/_app/immutable/nodes/7.aHRSlWZl.js rename to public/docs/_app/immutable/nodes/7.Bku79mXS.js index eabf3e7..49776fd 100644 --- a/public/docs/_app/immutable/nodes/7.aHRSlWZl.js +++ b/public/docs/_app/immutable/nodes/7.Bku79mXS.js @@ -1 +1 @@ -import{d as v,e as y,f as P}from"../chunks/pages.DBBWeKUc.js";import{e as w}from"../chunks/index.DZ_x9Zvh.js";import{s as B,b as c,h as N,d as p,c as u,l as d}from"../chunks/scheduler.Eaj42bxH.js";import{S as O,i as T,c as _,a as g,m as $,t as b,b as S,d as h}from"../chunks/index.CMSEJhCx.js";import{F as j,Q as x}from"../chunks/FieldDetails.45GdpIxF.js";import{P as C}from"../chunks/PreviousNextPage.DyKSPTRc.js";const F=v(),I=({params:n,url:a})=>{const s=y(n.subscription),t=P(a.pathname);if(!s||!t)throw w(404,`Subscription ${n.subscription} not found.`);return{field:s,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:I,prerender:F},Symbol.toStringTag,{value:"Module"}));function Q(n){let a,s,t,r,i,f;return document.title=a="Subscription - "+n[0].field.name,t=new j({props:{field:n[0].field,type:x.SUBSCRIPTION}}),i=new C({props:{page:n[0].page}}),{c(){s=c(),_(t.$$.fragment),r=c(),_(i.$$.fragment)},l(e){N("svelte-40g4xm",document.head).forEach(p),s=u(e),g(t.$$.fragment,e),r=u(e),g(i.$$.fragment,e)},m(e,o){d(e,s,o),$(t,e,o),d(e,r,o),$(i,e,o),f=!0},p(e,[o]){(!f||o&1)&&a!==(a="Subscription - "+e[0].field.name)&&(document.title=a);const m={};o&1&&(m.field=e[0].field),t.$set(m);const l={};o&1&&(l.page=e[0].page),i.$set(l)},i(e){f||(b(t.$$.fragment,e),b(i.$$.fragment,e),f=!0)},o(e){S(t.$$.fragment,e),S(i.$$.fragment,e),f=!1},d(e){e&&(p(s),p(r)),h(t,e),h(i,e)}}}function q(n,a,s){let{data:t}=a;return n.$$set=r=>{"data"in r&&s(0,t=r.data)},[t]}class k extends O{constructor(a){super(),T(this,a,q,Q,B,{data:0})}}export{k as component,U as universal}; +import{d as v,e as y,f as P}from"../chunks/pages.DpEZ8Fnk.js";import{e as w}from"../chunks/index.BFJrFwrB.js";import{s as B,b as c,h as N,d as p,c as u,l as d}from"../chunks/scheduler.BZkyrStM.js";import{S as O,i as T,c as _,a as g,m as $,t as b,b as S,d as h}from"../chunks/index.BLFDKRva.js";import{F as j,Q as x}from"../chunks/FieldDetails.CGqu6sCJ.js";import{P as C}from"../chunks/PreviousNextPage.Cqe1Lb47.js";const F=v(),I=({params:n,url:a})=>{const s=y(n.subscription),t=P(a.pathname);if(!s||!t)throw w(404,`Subscription ${n.subscription} not found.`);return{field:s,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:I,prerender:F},Symbol.toStringTag,{value:"Module"}));function Q(n){let a,s,t,r,i,f;return document.title=a="Subscription - "+n[0].field.name,t=new j({props:{field:n[0].field,type:x.SUBSCRIPTION}}),i=new C({props:{page:n[0].page}}),{c(){s=c(),_(t.$$.fragment),r=c(),_(i.$$.fragment)},l(e){N("svelte-40g4xm",document.head).forEach(p),s=u(e),g(t.$$.fragment,e),r=u(e),g(i.$$.fragment,e)},m(e,o){d(e,s,o),$(t,e,o),d(e,r,o),$(i,e,o),f=!0},p(e,[o]){(!f||o&1)&&a!==(a="Subscription - "+e[0].field.name)&&(document.title=a);const m={};o&1&&(m.field=e[0].field),t.$set(m);const l={};o&1&&(l.page=e[0].page),i.$set(l)},i(e){f||(b(t.$$.fragment,e),b(i.$$.fragment,e),f=!0)},o(e){S(t.$$.fragment,e),S(i.$$.fragment,e),f=!1},d(e){e&&(p(s),p(r)),h(t,e),h(i,e)}}}function q(n,a,s){let{data:t}=a;return n.$$set=r=>{"data"in r&&s(0,t=r.data)},[t]}class k extends O{constructor(a){super(),T(this,a,q,Q,B,{data:0})}}export{k as component,U as universal}; diff --git a/public/docs/_app/immutable/nodes/8.Cbf1a4CI.js b/public/docs/_app/immutable/nodes/8.OsAIkWGp.js similarity index 99% rename from public/docs/_app/immutable/nodes/8.Cbf1a4CI.js rename to public/docs/_app/immutable/nodes/8.OsAIkWGp.js index 45b1b26..986265d 100644 --- a/public/docs/_app/immutable/nodes/8.Cbf1a4CI.js +++ b/public/docs/_app/immutable/nodes/8.OsAIkWGp.js @@ -1,4 +1,4 @@ -import{l as $t,B as Nt,C as St,D as At,f as Bt,E as pt,F as mt,G as _t,H as gt,I as dt,J as ht,y as J,w as Dt,x as Pt,_ as le,s as Ft,L as bt,R as $e}from"../chunks/pages.DBBWeKUc.js";import{e as Rt}from"../chunks/index.DZ_x9Zvh.js";import{s as H,v as Z,a4 as x,a5 as ee,g as O,d as m,k as ie,a6 as fe,l as d,m as A,n as re,u as se,w as ae,t as B,j as D,o as q,e as U,b as I,f as V,c as N,q as j,a2 as X,L as pe,D as wt,a7 as kt,E as me,F as _e,G as ge,H as de,h as Lt}from"../chunks/scheduler.Eaj42bxH.js";import{S as G,i as Y,c as b,a as w,m as k,t as c,b as $,d as y,g as M,e as z,f as yt}from"../chunks/index.CMSEJhCx.js";import{T as Ot,A as K,C as W,S as he,a as be,b as we,c as ke,L as jt,d as Mt,P as zt}from"../chunks/PreviousNextPage.DyKSPTRc.js";import{D as ye,a as vt,N as Tt,A as Ct,b as oe,c as Ut}from"../chunks/ArgsList.Cv5ckF46.js";import{B as Vt}from"../chunks/Button.DCPk-vpN.js";import{D as Ht}from"../chunks/DirectiveTag.DAgCRs3W.js";function Ne(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function Gt(a){let e,r,t=a[1]&&Ne(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[i,f,n,l,t]}class Se extends G{constructor(e){super(),Y(this,e,Yt,Gt,H,{size:0,title:1})}}function Ae(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function qt(a){let e,r,t=a[1]&&Ae(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[i,f,n,l,t]}class Be extends G{constructor(e){super(),Y(this,e,Jt,qt,H,{size:0,title:1})}}const Kt=!Nt(),Qt=({params:a,url:e})=>{const r=St(a.type),t=At(r),n=Bt(e.pathname);if(!r||!n)throw Rt(404,`Type ${a.type} not found.`);return{type:r,usages:t,page:n}},qr=Object.freeze(Object.defineProperty({__proto__:null,load:Qt,prerender:Kt},Symbol.toStringTag,{value:"Module"}));function Wt(a){let e=a[0]()+"",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p:re,d(t){t&&m(r)}}}function Xt(a){let e,r;return e=new Ot({props:{type:"teal",$$slots:{default:[Wt]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&4&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Zt(a,e,r){let{type:t}=e;function n(){return pt(t)?"Scalar":mt(t)?"Enum":_t(t)?"Interface":gt(t)?"Union":dt(t)?"Object":ht(t)?"Input Object":"Unknown"}return a.$$set=s=>{"type"in s&&r(1,t=s.type)},[n,t]}class te extends G{constructor(e){super(),Y(this,e,Zt,Xt,H,{type:1})}}function xt(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function en(a){let e,r,t,n,s;return r=new K({props:{id:"title",depth:1,$$slots:{default:[xt]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}}),{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment)},l(l){e=V(l,"SECTION",{});var i=O(e);w(r.$$.fragment,i),t=N(i),w(n.$$.fragment,i),i.forEach(m)},m(l,i){d(l,e,i),k(r,e,null),A(e,t),k(n,e,null),s=!0},p(l,[i]){const f={};i&3&&(f.$$scope={dirty:i,ctx:l}),r.$set(f);const o={};i&1&&(o.source=l[0].description),n.$set(o)},i(l){s||(c(r.$$.fragment,l),c(n.$$.fragment,l),s=!0)},o(l){$(r.$$.fragment,l),$(n.$$.fragment,l),s=!1},d(l){l&&m(e),y(r),y(n)}}}function tn(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class nn extends G{constructor(e){super(),Y(this,e,tn,en,H,{type:0})}}function De(a,e,r){const t=a.slice();return t[1]=e[r],t}function rn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function ln(a){let e;return{c(){e=B("Possible Values")},l(r){e=D(r,"Possible Values")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Pe(a){let e,r;return e=new W({props:{source:a[1].description}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.source=t[1].description),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function fn(a){let e,r,t=a[1].name+"",n,s,l,i,f,o;l=new ye({props:{reason:a[1].deprecationReason}});let u=a[1].description&&Pe(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),u&&u.c(),f=j(),this.h()},l(p){e=V(p,"P",{});var _=O(e);r=V(_,"SPAN",{style:!0});var g=O(r);n=D(g,t),g.forEach(m),s=N(_),w(l.$$.fragment,_),_.forEach(m),i=N(p),u&&u.l(p),f=j(),this.h()},h(){pe(r,"font-weight","bold")},m(p,_){d(p,e,_),A(e,r),A(r,n),A(e,s),k(l,e,null),d(p,i,_),u&&u.m(p,_),d(p,f,_),o=!0},p(p,_){(!o||_&1)&&t!==(t=p[1].name+"")&&q(n,t);const g={};_&1&&(g.reason=p[1].deprecationReason),l.$set(g),p[1].description?u?(u.p(p,_),_&1&&c(u,1)):(u=Pe(p),u.c(),c(u,1),u.m(f.parentNode,f)):u&&(M(),$(u,1,1,()=>{u=null}),z())},i(p){o||(c(l.$$.fragment,p),c(u),o=!0)},o(p){$(l.$$.fragment,p),$(u),o=!1},d(p){p&&(m(e),m(i),m(f)),y(l),u&&u.d(p)}}}function sn(a){let e,r,t;return e=new ke({props:{$$slots:{default:[fn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment),r=I()},l(n){w(e.$$.fragment,n),r=N(n)},m(n,s){k(e,n,s),d(n,r,s),t=!0},p(n,s){const l={};s&17&&(l.$$scope={dirty:s,ctx:n}),e.$set(l)},i(n){t||(c(e.$$.fragment,n),t=!0)},o(n){$(e.$$.fragment,n),t=!1},d(n){n&&m(r),y(e,n)}}}function Fe(a){let e,r;return e=new we({props:{$$slots:{default:[sn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&17&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function an(a){let e,r,t=J(a[0].getValues()),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"type"in n&&r(0,t=n.type)},[t]}class $n extends G{constructor(e){super(),Y(this,e,cn,un,H,{type:0})}}function pn(a){let e=(a[0]?a[2]:a[3])+` (${a[1]})`,r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p(t,n){n&15&&e!==(e=(t[0]?t[2]:t[3])+` (${t[1]})`)&&q(r,e)},d(t){t&&m(r)}}}function mn(a){let e,r,t;return r=new Vt({props:{kind:"ghost",size:"small",style:"border-radius: 20px",icon:a[0]?Be:Se,$$slots:{default:[pn]},$$scope:{ctx:a}}}),r.$on("click",a[4]),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","button-wrapper svelte-8qz4j")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,[s]){const l={};s&1&&(l.icon=n[0]?Be:Se),s&47&&(l.$$scope={dirty:s,ctx:n}),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function _n(a,e,r){let{totalItems:t}=e,{expandedText:n}=e,{collapsedText:s}=e,{expanded:l=!1}=e;const i=()=>r(0,l=!l);return a.$$set=f=>{"totalItems"in f&&r(1,t=f.totalItems),"expandedText"in f&&r(2,n=f.expandedText),"collapsedText"in f&&r(3,s=f.collapsedText),"expanded"in f&&r(0,l=f.expanded)},[l,t,n,s,i]}class Et extends G{constructor(e){super(),Y(this,e,_n,mn,H,{totalItems:1,expandedText:2,collapsedText:3,expanded:0})}}function gn(a){let e,r,t=a[0].from.name+"",n,s,l,i;return l=new W({props:{source:a[0].description}}),{c(){e=B("By "),r=U("em"),n=B(t),s=I(),b(l.$$.fragment)},l(f){e=D(f,"By "),r=V(f,"EM",{});var o=O(r);n=D(o,t),o.forEach(m),s=N(f),w(l.$$.fragment,f)},m(f,o){d(f,e,o),d(f,r,o),A(r,n),d(f,s,o),k(l,f,o),i=!0},p(f,[o]){(!i||o&1)&&t!==(t=f[0].from.name+"")&&q(n,t);const u={};o&1&&(u.source=f[0].description),l.$set(u)},i(f){i||(c(l.$$.fragment,f),i=!0)},o(f){$(l.$$.fragment,f),i=!1},d(f){f&&(m(e),m(r),m(s)),y(l,f)}}}function dn(a,e,r){let{item:t}=e;return a.$$set=n=>{"item"in n&&r(0,t=n.item)},[t]}class hn extends G{constructor(e){super(),Y(this,e,dn,gn,H,{item:0})}}function Re(a,e,r){const t=a.slice();return t[3]=e[r],t}function Le(a,e,r){const t=a.slice();return t[6]=e[r],t}function Oe(a){let e,r,t=J(a[0].field.astNode.directives),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lyt(r,"expanded",l)),{c(){s&&s.c(),e=I(),b(r.$$.fragment)},l(f){s&&s.l(f),e=N(f),w(r.$$.fragment,f)},m(f,o){s&&s.m(f,o),d(f,e,o),k(r,f,o),n=!0},p(f,o){f[1]?s?(s.p(f,o),o&2&&c(s,1)):(s=Ce(f),s.c(),c(s,1),s.m(e.parentNode,e)):s&&(M(),$(s,1,1,()=>{s=null}),z());const u={};o&1&&(u.totalItems=f[0].field.args.length),!t&&o&2&&(t=!0,u.expanded=f[1],kt(()=>t=!1)),r.$set(u)},i(f){n||(c(s),c(r.$$.fragment,f),n=!0)},o(f){$(s),$(r.$$.fragment,f),n=!1},d(f){f&&m(e),s&&s.d(f),y(r,f)}}}function Ce(a){let e,r,t;return r=new Ct({props:{data:a[0].field.args}}),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","arguments-list-wrapper svelte-1di407r")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,s){const l={};s&1&&(l.data=n[0].field.args),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function kn(a){var ve;let e,r,t=a[0].field.name+"",n,s,l,i,f,o,u,p,_,g,h,T,P,E;l=new vt({props:{type:a[0].field.type}}),f=new ye({props:{reason:a[0].field.deprecationReason}}),u=new Tt({props:{type:a[0].field.type}});let v=((ve=a[0].field.astNode)==null?void 0:ve.directives)&&Oe(a);const S=[wn,bn],R=[];function Q(F,L){return F[0].possibleDescriptions.length===1?0:F[0].possibleDescriptions.length>1?1:-1}~(g=Q(a))&&(h=R[g]=S[g](a));let C=a[0].field.args.length>0&&ze(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),b(f.$$.fragment),o=I(),b(u.$$.fragment),p=I(),v&&v.c(),_=I(),h&&h.c(),T=I(),C&&C.c(),P=j(),this.h()},l(F){e=V(F,"P",{});var L=O(e);r=V(L,"SPAN",{style:!0});var ne=O(r);n=D(ne,t),ne.forEach(m),s=N(L),w(l.$$.fragment,L),i=N(L),w(f.$$.fragment,L),o=N(L),w(u.$$.fragment,L),p=N(L),v&&v.l(L),L.forEach(m),_=N(F),h&&h.l(F),T=N(F),C&&C.l(F),P=j(),this.h()},h(){pe(r,"font-weight","bold")},m(F,L){d(F,e,L),A(e,r),A(r,n),A(e,s),k(l,e,null),A(e,i),k(f,e,null),A(e,o),k(u,e,null),A(e,p),v&&v.m(e,null),d(F,_,L),~g&&R[g].m(F,L),d(F,T,L),C&&C.m(F,L),d(F,P,L),E=!0},p(F,L){var Ie;(!E||L&1)&&t!==(t=F[0].field.name+"")&&q(n,t);const ne={};L&1&&(ne.type=F[0].field.type),l.$set(ne);const Te={};L&1&&(Te.reason=F[0].field.deprecationReason),f.$set(Te);const Ee={};L&1&&(Ee.type=F[0].field.type),u.$set(Ee),(Ie=F[0].field.astNode)!=null&&Ie.directives?v?(v.p(F,L),L&1&&c(v,1)):(v=Oe(F),v.c(),c(v,1),v.m(e,null)):v&&(M(),$(v,1,1,()=>{v=null}),z());let ce=g;g=Q(F),g===ce?~g&&R[g].p(F,L):(h&&(M(),$(R[ce],1,1,()=>{R[ce]=null}),z()),~g?(h=R[g],h?h.p(F,L):(h=R[g]=S[g](F),h.c()),c(h,1),h.m(T.parentNode,T)):h=null),F[0].field.args.length>0?C?(C.p(F,L),L&1&&c(C,1)):(C=ze(F),C.c(),c(C,1),C.m(P.parentNode,P)):C&&(M(),$(C,1,1,()=>{C=null}),z())},i(F){E||(c(l.$$.fragment,F),c(f.$$.fragment,F),c(u.$$.fragment,F),c(v),c(h),c(C),E=!0)},o(F){$(l.$$.fragment,F),$(f.$$.fragment,F),$(u.$$.fragment,F),$(v),$(h),$(C),E=!1},d(F){F&&(m(e),m(_),m(T),m(P)),y(l),y(f),y(u),v&&v.d(),~g&&R[g].d(F),C&&C.d(F)}}}function yn(a){let e,r;return e=new ke({props:{$$slots:{default:[kn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function vn(a){let e,r;return e=new we({props:{$$slots:{default:[yn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Tn(a,e,r){let{item:t}=e;var n=!1;function s(l){n=l,r(1,n)}return a.$$set=l=>{"item"in l&&r(0,t=l.item)},[t,n,s]}class En extends G{constructor(e){super(),Y(this,e,Tn,vn,H,{item:0})}}function Ue(a,e,r){const t=a.slice();return t[3]=e[r],t}function Ve(a){let e,r;return e=new En({props:{item:a[3]}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.item=t[3]),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function In(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in l&&r(1,t=l.data)},a.$$.update=()=>{a.$$.dirty&2&&(n==="alphabetical"?r(0,s=le.sortBy(t,l=>l.field.name)):r(0,s=t))},[s,t]}class It extends G{constructor(e){super(),Y(this,e,An,Sn,H,{data:1})}}function He(a,e,r){const t=a.slice();return t[1]=e[r],t[3]=r,t}function Ge(a){let e=", ",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},d(t){t&&m(r)}}}function Ye(a){let e,r,t;e=new oe({props:{type:a[1]}});let n=a[3]!==a[0].length-1&&Ge();return{c(){b(e.$$.fragment),n&&n.c(),r=j()},l(s){w(e.$$.fragment,s),n&&n.l(s),r=j()},m(s,l){k(e,s,l),n&&n.m(s,l),d(s,r,l),t=!0},p(s,l){const i={};l&1&&(i.type=s[1]),e.$set(i),s[3]!==s[0].length-1?n||(n=Ge(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i(s){t||(c(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){s&&m(r),y(e,s),n&&n.d(s)}}}function Bn(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"types"in n&&r(0,t=n.types)},[t]}class ue extends G{constructor(e){super(),Y(this,e,Dn,Bn,H,{types:0})}}function Pn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function qe(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[Fn]},$$scope:{ctx:a}}}),t=new It({props:{data:a[2]}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&8&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&4&&(f.data=s[2]),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function Fn(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Je(a){let e,r,t,n,s;return e=new K({props:{id:"implementations",depth:2,$$slots:{default:[Rn]},$$scope:{ctx:a}}}),t=new ue({props:{types:a[1]}}),{c(){b(e.$$.fragment),r=B(` +import{l as $t,B as Nt,C as St,D as At,f as Bt,E as pt,F as mt,G as _t,H as gt,I as dt,J as ht,y as J,w as Dt,x as Pt,_ as le,s as Ft,L as bt,R as $e}from"../chunks/pages.DpEZ8Fnk.js";import{e as Rt}from"../chunks/index.BFJrFwrB.js";import{s as H,v as Z,a4 as x,a5 as ee,g as O,d as m,k as ie,a6 as fe,l as d,m as A,n as re,u as se,w as ae,t as B,j as D,o as q,e as U,b as I,f as V,c as N,q as j,a2 as X,L as pe,D as wt,a7 as kt,E as me,F as _e,G as ge,H as de,h as Lt}from"../chunks/scheduler.BZkyrStM.js";import{S as G,i as Y,c as b,a as w,m as k,t as c,b as $,d as y,g as M,e as z,f as yt}from"../chunks/index.BLFDKRva.js";import{T as Ot,A as K,C as W,S as he,a as be,b as we,c as ke,L as jt,d as Mt,P as zt}from"../chunks/PreviousNextPage.Cqe1Lb47.js";import{D as ye,a as vt,N as Tt,A as Ct,b as oe,c as Ut}from"../chunks/ArgsList.E6xJx3iI.js";import{B as Vt}from"../chunks/Button.DdJ5kdpU.js";import{D as Ht}from"../chunks/DirectiveTag.C2PfFA6T.js";function Ne(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function Gt(a){let e,r,t=a[1]&&Ne(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[i,f,n,l,t]}class Se extends G{constructor(e){super(),Y(this,e,Yt,Gt,H,{size:0,title:1})}}function Ae(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function qt(a){let e,r,t=a[1]&&Ae(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[i,f,n,l,t]}class Be extends G{constructor(e){super(),Y(this,e,Jt,qt,H,{size:0,title:1})}}const Kt=!Nt(),Qt=({params:a,url:e})=>{const r=St(a.type),t=At(r),n=Bt(e.pathname);if(!r||!n)throw Rt(404,`Type ${a.type} not found.`);return{type:r,usages:t,page:n}},qr=Object.freeze(Object.defineProperty({__proto__:null,load:Qt,prerender:Kt},Symbol.toStringTag,{value:"Module"}));function Wt(a){let e=a[0]()+"",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p:re,d(t){t&&m(r)}}}function Xt(a){let e,r;return e=new Ot({props:{type:"teal",$$slots:{default:[Wt]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&4&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Zt(a,e,r){let{type:t}=e;function n(){return pt(t)?"Scalar":mt(t)?"Enum":_t(t)?"Interface":gt(t)?"Union":dt(t)?"Object":ht(t)?"Input Object":"Unknown"}return a.$$set=s=>{"type"in s&&r(1,t=s.type)},[n,t]}class te extends G{constructor(e){super(),Y(this,e,Zt,Xt,H,{type:1})}}function xt(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function en(a){let e,r,t,n,s;return r=new K({props:{id:"title",depth:1,$$slots:{default:[xt]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}}),{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment)},l(l){e=V(l,"SECTION",{});var i=O(e);w(r.$$.fragment,i),t=N(i),w(n.$$.fragment,i),i.forEach(m)},m(l,i){d(l,e,i),k(r,e,null),A(e,t),k(n,e,null),s=!0},p(l,[i]){const f={};i&3&&(f.$$scope={dirty:i,ctx:l}),r.$set(f);const o={};i&1&&(o.source=l[0].description),n.$set(o)},i(l){s||(c(r.$$.fragment,l),c(n.$$.fragment,l),s=!0)},o(l){$(r.$$.fragment,l),$(n.$$.fragment,l),s=!1},d(l){l&&m(e),y(r),y(n)}}}function tn(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class nn extends G{constructor(e){super(),Y(this,e,tn,en,H,{type:0})}}function De(a,e,r){const t=a.slice();return t[1]=e[r],t}function rn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function ln(a){let e;return{c(){e=B("Possible Values")},l(r){e=D(r,"Possible Values")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Pe(a){let e,r;return e=new W({props:{source:a[1].description}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.source=t[1].description),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function fn(a){let e,r,t=a[1].name+"",n,s,l,i,f,o;l=new ye({props:{reason:a[1].deprecationReason}});let u=a[1].description&&Pe(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),u&&u.c(),f=j(),this.h()},l(p){e=V(p,"P",{});var _=O(e);r=V(_,"SPAN",{style:!0});var g=O(r);n=D(g,t),g.forEach(m),s=N(_),w(l.$$.fragment,_),_.forEach(m),i=N(p),u&&u.l(p),f=j(),this.h()},h(){pe(r,"font-weight","bold")},m(p,_){d(p,e,_),A(e,r),A(r,n),A(e,s),k(l,e,null),d(p,i,_),u&&u.m(p,_),d(p,f,_),o=!0},p(p,_){(!o||_&1)&&t!==(t=p[1].name+"")&&q(n,t);const g={};_&1&&(g.reason=p[1].deprecationReason),l.$set(g),p[1].description?u?(u.p(p,_),_&1&&c(u,1)):(u=Pe(p),u.c(),c(u,1),u.m(f.parentNode,f)):u&&(M(),$(u,1,1,()=>{u=null}),z())},i(p){o||(c(l.$$.fragment,p),c(u),o=!0)},o(p){$(l.$$.fragment,p),$(u),o=!1},d(p){p&&(m(e),m(i),m(f)),y(l),u&&u.d(p)}}}function sn(a){let e,r,t;return e=new ke({props:{$$slots:{default:[fn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment),r=I()},l(n){w(e.$$.fragment,n),r=N(n)},m(n,s){k(e,n,s),d(n,r,s),t=!0},p(n,s){const l={};s&17&&(l.$$scope={dirty:s,ctx:n}),e.$set(l)},i(n){t||(c(e.$$.fragment,n),t=!0)},o(n){$(e.$$.fragment,n),t=!1},d(n){n&&m(r),y(e,n)}}}function Fe(a){let e,r;return e=new we({props:{$$slots:{default:[sn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&17&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function an(a){let e,r,t=J(a[0].getValues()),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"type"in n&&r(0,t=n.type)},[t]}class $n extends G{constructor(e){super(),Y(this,e,cn,un,H,{type:0})}}function pn(a){let e=(a[0]?a[2]:a[3])+` (${a[1]})`,r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p(t,n){n&15&&e!==(e=(t[0]?t[2]:t[3])+` (${t[1]})`)&&q(r,e)},d(t){t&&m(r)}}}function mn(a){let e,r,t;return r=new Vt({props:{kind:"ghost",size:"small",style:"border-radius: 20px",icon:a[0]?Be:Se,$$slots:{default:[pn]},$$scope:{ctx:a}}}),r.$on("click",a[4]),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","button-wrapper svelte-8qz4j")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,[s]){const l={};s&1&&(l.icon=n[0]?Be:Se),s&47&&(l.$$scope={dirty:s,ctx:n}),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function _n(a,e,r){let{totalItems:t}=e,{expandedText:n}=e,{collapsedText:s}=e,{expanded:l=!1}=e;const i=()=>r(0,l=!l);return a.$$set=f=>{"totalItems"in f&&r(1,t=f.totalItems),"expandedText"in f&&r(2,n=f.expandedText),"collapsedText"in f&&r(3,s=f.collapsedText),"expanded"in f&&r(0,l=f.expanded)},[l,t,n,s,i]}class Et extends G{constructor(e){super(),Y(this,e,_n,mn,H,{totalItems:1,expandedText:2,collapsedText:3,expanded:0})}}function gn(a){let e,r,t=a[0].from.name+"",n,s,l,i;return l=new W({props:{source:a[0].description}}),{c(){e=B("By "),r=U("em"),n=B(t),s=I(),b(l.$$.fragment)},l(f){e=D(f,"By "),r=V(f,"EM",{});var o=O(r);n=D(o,t),o.forEach(m),s=N(f),w(l.$$.fragment,f)},m(f,o){d(f,e,o),d(f,r,o),A(r,n),d(f,s,o),k(l,f,o),i=!0},p(f,[o]){(!i||o&1)&&t!==(t=f[0].from.name+"")&&q(n,t);const u={};o&1&&(u.source=f[0].description),l.$set(u)},i(f){i||(c(l.$$.fragment,f),i=!0)},o(f){$(l.$$.fragment,f),i=!1},d(f){f&&(m(e),m(r),m(s)),y(l,f)}}}function dn(a,e,r){let{item:t}=e;return a.$$set=n=>{"item"in n&&r(0,t=n.item)},[t]}class hn extends G{constructor(e){super(),Y(this,e,dn,gn,H,{item:0})}}function Re(a,e,r){const t=a.slice();return t[3]=e[r],t}function Le(a,e,r){const t=a.slice();return t[6]=e[r],t}function Oe(a){let e,r,t=J(a[0].field.astNode.directives),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lyt(r,"expanded",l)),{c(){s&&s.c(),e=I(),b(r.$$.fragment)},l(f){s&&s.l(f),e=N(f),w(r.$$.fragment,f)},m(f,o){s&&s.m(f,o),d(f,e,o),k(r,f,o),n=!0},p(f,o){f[1]?s?(s.p(f,o),o&2&&c(s,1)):(s=Ce(f),s.c(),c(s,1),s.m(e.parentNode,e)):s&&(M(),$(s,1,1,()=>{s=null}),z());const u={};o&1&&(u.totalItems=f[0].field.args.length),!t&&o&2&&(t=!0,u.expanded=f[1],kt(()=>t=!1)),r.$set(u)},i(f){n||(c(s),c(r.$$.fragment,f),n=!0)},o(f){$(s),$(r.$$.fragment,f),n=!1},d(f){f&&m(e),s&&s.d(f),y(r,f)}}}function Ce(a){let e,r,t;return r=new Ct({props:{data:a[0].field.args}}),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","arguments-list-wrapper svelte-1di407r")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,s){const l={};s&1&&(l.data=n[0].field.args),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function kn(a){var ve;let e,r,t=a[0].field.name+"",n,s,l,i,f,o,u,p,_,g,h,T,P,E;l=new vt({props:{type:a[0].field.type}}),f=new ye({props:{reason:a[0].field.deprecationReason}}),u=new Tt({props:{type:a[0].field.type}});let v=((ve=a[0].field.astNode)==null?void 0:ve.directives)&&Oe(a);const S=[wn,bn],R=[];function Q(F,L){return F[0].possibleDescriptions.length===1?0:F[0].possibleDescriptions.length>1?1:-1}~(g=Q(a))&&(h=R[g]=S[g](a));let C=a[0].field.args.length>0&&ze(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),b(f.$$.fragment),o=I(),b(u.$$.fragment),p=I(),v&&v.c(),_=I(),h&&h.c(),T=I(),C&&C.c(),P=j(),this.h()},l(F){e=V(F,"P",{});var L=O(e);r=V(L,"SPAN",{style:!0});var ne=O(r);n=D(ne,t),ne.forEach(m),s=N(L),w(l.$$.fragment,L),i=N(L),w(f.$$.fragment,L),o=N(L),w(u.$$.fragment,L),p=N(L),v&&v.l(L),L.forEach(m),_=N(F),h&&h.l(F),T=N(F),C&&C.l(F),P=j(),this.h()},h(){pe(r,"font-weight","bold")},m(F,L){d(F,e,L),A(e,r),A(r,n),A(e,s),k(l,e,null),A(e,i),k(f,e,null),A(e,o),k(u,e,null),A(e,p),v&&v.m(e,null),d(F,_,L),~g&&R[g].m(F,L),d(F,T,L),C&&C.m(F,L),d(F,P,L),E=!0},p(F,L){var Ie;(!E||L&1)&&t!==(t=F[0].field.name+"")&&q(n,t);const ne={};L&1&&(ne.type=F[0].field.type),l.$set(ne);const Te={};L&1&&(Te.reason=F[0].field.deprecationReason),f.$set(Te);const Ee={};L&1&&(Ee.type=F[0].field.type),u.$set(Ee),(Ie=F[0].field.astNode)!=null&&Ie.directives?v?(v.p(F,L),L&1&&c(v,1)):(v=Oe(F),v.c(),c(v,1),v.m(e,null)):v&&(M(),$(v,1,1,()=>{v=null}),z());let ce=g;g=Q(F),g===ce?~g&&R[g].p(F,L):(h&&(M(),$(R[ce],1,1,()=>{R[ce]=null}),z()),~g?(h=R[g],h?h.p(F,L):(h=R[g]=S[g](F),h.c()),c(h,1),h.m(T.parentNode,T)):h=null),F[0].field.args.length>0?C?(C.p(F,L),L&1&&c(C,1)):(C=ze(F),C.c(),c(C,1),C.m(P.parentNode,P)):C&&(M(),$(C,1,1,()=>{C=null}),z())},i(F){E||(c(l.$$.fragment,F),c(f.$$.fragment,F),c(u.$$.fragment,F),c(v),c(h),c(C),E=!0)},o(F){$(l.$$.fragment,F),$(f.$$.fragment,F),$(u.$$.fragment,F),$(v),$(h),$(C),E=!1},d(F){F&&(m(e),m(_),m(T),m(P)),y(l),y(f),y(u),v&&v.d(),~g&&R[g].d(F),C&&C.d(F)}}}function yn(a){let e,r;return e=new ke({props:{$$slots:{default:[kn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function vn(a){let e,r;return e=new we({props:{$$slots:{default:[yn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Tn(a,e,r){let{item:t}=e;var n=!1;function s(l){n=l,r(1,n)}return a.$$set=l=>{"item"in l&&r(0,t=l.item)},[t,n,s]}class En extends G{constructor(e){super(),Y(this,e,Tn,vn,H,{item:0})}}function Ue(a,e,r){const t=a.slice();return t[3]=e[r],t}function Ve(a){let e,r;return e=new En({props:{item:a[3]}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.item=t[3]),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function In(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in l&&r(1,t=l.data)},a.$$.update=()=>{a.$$.dirty&2&&(n==="alphabetical"?r(0,s=le.sortBy(t,l=>l.field.name)):r(0,s=t))},[s,t]}class It extends G{constructor(e){super(),Y(this,e,An,Sn,H,{data:1})}}function He(a,e,r){const t=a.slice();return t[1]=e[r],t[3]=r,t}function Ge(a){let e=", ",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},d(t){t&&m(r)}}}function Ye(a){let e,r,t;e=new oe({props:{type:a[1]}});let n=a[3]!==a[0].length-1&&Ge();return{c(){b(e.$$.fragment),n&&n.c(),r=j()},l(s){w(e.$$.fragment,s),n&&n.l(s),r=j()},m(s,l){k(e,s,l),n&&n.m(s,l),d(s,r,l),t=!0},p(s,l){const i={};l&1&&(i.type=s[1]),e.$set(i),s[3]!==s[0].length-1?n||(n=Ge(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i(s){t||(c(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){s&&m(r),y(e,s),n&&n.d(s)}}}function Bn(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"types"in n&&r(0,t=n.types)},[t]}class ue extends G{constructor(e){super(),Y(this,e,Dn,Bn,H,{types:0})}}function Pn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function qe(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[Fn]},$$scope:{ctx:a}}}),t=new It({props:{data:a[2]}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&8&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&4&&(f.data=s[2]),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function Fn(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Je(a){let e,r,t,n,s;return e=new K({props:{id:"implementations",depth:2,$$slots:{default:[Rn]},$$scope:{ctx:a}}}),t=new ue({props:{types:a[1]}}),{c(){b(e.$$.fragment),r=B(` Implemented by `),b(t.$$.fragment),n=B(".")},l(l){w(e.$$.fragment,l),r=D(l,` Implemented by `),w(t.$$.fragment,l),n=D(l,".")},m(l,i){k(e,l,i),d(l,r,i),k(t,l,i),d(l,n,i),s=!0},p(l,i){const f={};i&8&&(f.$$scope={dirty:i,ctx:l}),e.$set(f);const o={};i&2&&(o.types=l[1]),t.$set(o)},i(l){s||(c(e.$$.fragment,l),c(t.$$.fragment,l),s=!0)},o(l){$(e.$$.fragment,l),$(t.$$.fragment,l),s=!1},d(l){l&&(m(r),m(n)),y(e,l),y(t,l)}}}function Rn(a){let e;return{c(){e=B("Implementations")},l(r){e=D(r,"Implementations")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Ke(a){let e,r,t,n,s,l,i;return e=new K({props:{id:"interfaces",depth:2,$$slots:{default:[Ln]},$$scope:{ctx:a}}}),s=new ue({props:{types:a[0].getInterfaces()}}),{c(){b(e.$$.fragment),r=I(),t=U("p"),n=B("Also implements "),b(s.$$.fragment),l=B(".")},l(f){w(e.$$.fragment,f),r=N(f),t=V(f,"P",{});var o=O(t);n=D(o,"Also implements "),w(s.$$.fragment,o),l=D(o,"."),o.forEach(m)},m(f,o){k(e,f,o),d(f,r,o),d(f,t,o),A(t,n),k(s,t,null),A(t,l),i=!0},p(f,o){const u={};o&8&&(u.$$scope={dirty:o,ctx:f}),e.$set(u);const p={};o&1&&(p.types=f[0].getInterfaces()),s.$set(p)},i(f){i||(c(e.$$.fragment,f),c(s.$$.fragment,f),i=!0)},o(f){$(e.$$.fragment,f),$(s.$$.fragment,f),i=!1},d(f){f&&(m(r),m(t)),y(e,f),y(s)}}}function Ln(a){let e;return{c(){e=B("Interfaces")},l(r){e=D(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function On(a){let e,r,t,n,s,l=Object.keys(a[0].getFields()).length>0,i,f,o=a[0].getInterfaces().length>0,u;r=new K({props:{id:"title",depth:1,$$slots:{default:[Pn]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}});let p=l&&qe(a),_=a[1].length>0&&Je(a),g=o&&Ke(a);return{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),p&&p.c(),i=I(),_&&_.c(),f=I(),g&&g.c()},l(h){e=V(h,"SECTION",{});var T=O(e);w(r.$$.fragment,T),t=N(T),w(n.$$.fragment,T),s=N(T),p&&p.l(T),i=N(T),_&&_.l(T),f=N(T),g&&g.l(T),T.forEach(m)},m(h,T){d(h,e,T),k(r,e,null),A(e,t),k(n,e,null),A(e,s),p&&p.m(e,null),A(e,i),_&&_.m(e,null),A(e,f),g&&g.m(e,null),u=!0},p(h,[T]){const P={};T&9&&(P.$$scope={dirty:T,ctx:h}),r.$set(P);const E={};T&1&&(E.source=h[0].description),n.$set(E),T&1&&(l=Object.keys(h[0].getFields()).length>0),l?p?(p.p(h,T),T&1&&c(p,1)):(p=qe(h),p.c(),c(p,1),p.m(e,i)):p&&(M(),$(p,1,1,()=>{p=null}),z()),h[1].length>0?_?(_.p(h,T),T&2&&c(_,1)):(_=Je(h),_.c(),c(_,1),_.m(e,f)):_&&(M(),$(_,1,1,()=>{_=null}),z()),T&1&&(o=h[0].getInterfaces().length>0),o?g?(g.p(h,T),T&1&&c(g,1)):(g=Ke(h),g.c(),c(g,1),g.m(e,null)):g&&(M(),$(g,1,1,()=>{g=null}),z())},i(h){u||(c(r.$$.fragment,h),c(n.$$.fragment,h),c(p),c(_),c(g),u=!0)},o(h){$(r.$$.fragment,h),$(n.$$.fragment,h),$(p),$(_),$(g),u=!1},d(h){h&&m(e),y(r),y(n),p&&p.d(),_&&_.d(),g&&g.d()}}}function jn(a,e,r){let{type:t}=e,n,s;return a.$$set=l=>{"type"in l&&r(0,t=l.type)},a.$$.update=()=>{a.$$.dirty&1&&r(1,n=Ft.getPossibleTypes(t)),a.$$.dirty&1&&r(2,s=bt(t))},[t,n,s]}class Mn extends G{constructor(e){super(),Y(this,e,jn,On,H,{type:0})}}function zn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function Qe(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[Cn]},$$scope:{ctx:a}}}),t=new It({props:{data:a[1]}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&4&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&2&&(f.data=s[1]),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function Cn(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function We(a){let e,r,t,n,s,l,i;return e=new K({props:{id:"interfaces",depth:2,$$slots:{default:[Un]},$$scope:{ctx:a}}}),s=new ue({props:{types:a[0].getInterfaces()}}),{c(){b(e.$$.fragment),r=I(),t=U("p"),n=B("Also implements "),b(s.$$.fragment),l=B(".")},l(f){w(e.$$.fragment,f),r=N(f),t=V(f,"P",{});var o=O(t);n=D(o,"Also implements "),w(s.$$.fragment,o),l=D(o,"."),o.forEach(m)},m(f,o){k(e,f,o),d(f,r,o),d(f,t,o),A(t,n),k(s,t,null),A(t,l),i=!0},p(f,o){const u={};o&4&&(u.$$scope={dirty:o,ctx:f}),e.$set(u);const p={};o&1&&(p.types=f[0].getInterfaces()),s.$set(p)},i(f){i||(c(e.$$.fragment,f),c(s.$$.fragment,f),i=!0)},o(f){$(e.$$.fragment,f),$(s.$$.fragment,f),i=!1},d(f){f&&(m(r),m(t)),y(e,f),y(s)}}}function Un(a){let e;return{c(){e=B("Interfaces")},l(r){e=D(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Vn(a){let e,r,t,n,s,l,i=a[0].getInterfaces().length>0,f;r=new K({props:{id:"title",depth:1,$$slots:{default:[zn]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}});let o=a[1].length>0&&Qe(a),u=i&&We(a);return{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),o&&o.c(),l=I(),u&&u.c()},l(p){e=V(p,"SECTION",{});var _=O(e);w(r.$$.fragment,_),t=N(_),w(n.$$.fragment,_),s=N(_),o&&o.l(_),l=N(_),u&&u.l(_),_.forEach(m)},m(p,_){d(p,e,_),k(r,e,null),A(e,t),k(n,e,null),A(e,s),o&&o.m(e,null),A(e,l),u&&u.m(e,null),f=!0},p(p,[_]){const g={};_&5&&(g.$$scope={dirty:_,ctx:p}),r.$set(g);const h={};_&1&&(h.source=p[0].description),n.$set(h),p[1].length>0?o?(o.p(p,_),_&2&&c(o,1)):(o=Qe(p),o.c(),c(o,1),o.m(e,l)):o&&(M(),$(o,1,1,()=>{o=null}),z()),_&1&&(i=p[0].getInterfaces().length>0),i?u?(u.p(p,_),_&1&&c(u,1)):(u=We(p),u.c(),c(u,1),u.m(e,null)):u&&(M(),$(u,1,1,()=>{u=null}),z())},i(p){f||(c(r.$$.fragment,p),c(n.$$.fragment,p),c(o),c(u),f=!0)},o(p){$(r.$$.fragment,p),$(n.$$.fragment,p),$(o),$(u),f=!1},d(p){p&&m(e),y(r),y(n),o&&o.d(),u&&u.d()}}}function Hn(a,e,r){let{type:t}=e,n;return a.$$set=s=>{"type"in s&&r(0,t=s.type)},a.$$.update=()=>{a.$$.dirty&1&&r(1,n=bt(t))},[t,n]}class Gn extends G{constructor(e){super(),Y(this,e,Hn,Vn,H,{type:0})}}function Yn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function qn(a){let e;return{c(){e=B("Types")},l(r){e=D(r,"Types")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Jn(a){let e,r,t,n,s,l,i,f,o,u,p,_;return r=new K({props:{id:"title",depth:1,$$slots:{default:[Yn]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}}),l=new K({props:{id:"types",depth:2,$$slots:{default:[qn]},$$scope:{ctx:a}}}),u=new ue({props:{types:a[0].getTypes()}}),{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),b(l.$$.fragment),i=I(),f=U("p"),o=B("Union of types "),b(u.$$.fragment),p=B(".")},l(g){e=V(g,"SECTION",{});var h=O(e);w(r.$$.fragment,h),t=N(h),w(n.$$.fragment,h),s=N(h),w(l.$$.fragment,h),i=N(h),f=V(h,"P",{});var T=O(f);o=D(T,"Union of types "),w(u.$$.fragment,T),p=D(T,"."),T.forEach(m),h.forEach(m)},m(g,h){d(g,e,h),k(r,e,null),A(e,t),k(n,e,null),A(e,s),k(l,e,null),A(e,i),A(e,f),A(f,o),k(u,f,null),A(f,p),_=!0},p(g,[h]){const T={};h&3&&(T.$$scope={dirty:h,ctx:g}),r.$set(T);const P={};h&1&&(P.source=g[0].description),n.$set(P);const E={};h&2&&(E.$$scope={dirty:h,ctx:g}),l.$set(E);const v={};h&1&&(v.types=g[0].getTypes()),u.$set(v)},i(g){_||(c(r.$$.fragment,g),c(n.$$.fragment,g),c(l.$$.fragment,g),c(u.$$.fragment,g),_=!0)},o(g){$(r.$$.fragment,g),$(n.$$.fragment,g),$(l.$$.fragment,g),$(u.$$.fragment,g),_=!1},d(g){g&&m(e),y(r),y(n),y(l),y(u)}}}function Kn(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class Qn extends G{constructor(e){super(),Y(this,e,Kn,Jn,H,{type:0})}}function Xe(a,e,r){const t=a.slice();return t[2]=e[r],t}function Ze(a){let e,r=a[2].description+"",t;return{c(){e=U("p"),t=B(r)},l(n){e=V(n,"P",{});var s=O(e);t=D(s,r),s.forEach(m)},m(n,s){d(n,e,s),A(e,t)},p(n,s){s&1&&r!==(r=n[2].description+"")&&q(t,r)},d(n){n&&m(e)}}}function xe(a){let e,r,t;return r=new Ut({props:{value:a[2].default}}),{c(){e=B("Default: "),b(r.$$.fragment)},l(n){e=D(n,"Default: "),w(r.$$.fragment,n)},m(n,s){d(n,e,s),k(r,n,s),t=!0},p(n,s){const l={};s&1&&(l.value=n[2].default),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r,n)}}}function Wn(a){let e,r,t=a[2].name+"",n,s,l,i,f,o,u,p,_,g,h;l=new vt({props:{type:a[2].type}}),f=new ye({props:{reason:a[2].deprecationReason}}),u=new Tt({props:{type:a[2].type}});let T=a[2].description&&Ze(a),P=a[2].default&&xe(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),b(f.$$.fragment),o=I(),b(u.$$.fragment),p=I(),T&&T.c(),_=I(),P&&P.c(),g=j(),this.h()},l(E){e=V(E,"P",{});var v=O(e);r=V(v,"SPAN",{style:!0});var S=O(r);n=D(S,t),S.forEach(m),s=N(v),w(l.$$.fragment,v),i=N(v),w(f.$$.fragment,v),o=N(v),w(u.$$.fragment,v),v.forEach(m),p=N(E),T&&T.l(E),_=N(E),P&&P.l(E),g=j(),this.h()},h(){pe(r,"font-weight","bold")},m(E,v){d(E,e,v),A(e,r),A(r,n),A(e,s),k(l,e,null),A(e,i),k(f,e,null),A(e,o),k(u,e,null),d(E,p,v),T&&T.m(E,v),d(E,_,v),P&&P.m(E,v),d(E,g,v),h=!0},p(E,v){(!h||v&1)&&t!==(t=E[2].name+"")&&q(n,t);const S={};v&1&&(S.type=E[2].type),l.$set(S);const R={};v&1&&(R.reason=E[2].deprecationReason),f.$set(R);const Q={};v&1&&(Q.type=E[2].type),u.$set(Q),E[2].description?T?T.p(E,v):(T=Ze(E),T.c(),T.m(_.parentNode,_)):T&&(T.d(1),T=null),E[2].default?P?(P.p(E,v),v&1&&c(P,1)):(P=xe(E),P.c(),c(P,1),P.m(g.parentNode,g)):P&&(M(),$(P,1,1,()=>{P=null}),z())},i(E){h||(c(l.$$.fragment,E),c(f.$$.fragment,E),c(u.$$.fragment,E),c(P),h=!0)},o(E){$(l.$$.fragment,E),$(f.$$.fragment,E),$(u.$$.fragment,E),$(P),h=!1},d(E){E&&(m(e),m(p),m(_),m(g)),y(l),y(f),y(u),T&&T.d(E),P&&P.d(E)}}}function Xn(a){let e,r,t;return e=new ke({props:{$$slots:{default:[Wn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment),r=I()},l(n){w(e.$$.fragment,n),r=N(n)},m(n,s){k(e,n,s),d(n,r,s),t=!0},p(n,s){const l={};s&33&&(l.$$scope={dirty:s,ctx:n}),e.$set(l)},i(n){t||(c(e.$$.fragment,n),t=!0)},o(n){$(e.$$.fragment,n),t=!1},d(n){n&&m(r),y(e,n)}}}function et(a){let e,r;return e=new we({props:{$$slots:{default:[Xn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&33&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Zn(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in s&&r(1,n=s.data)},a.$$.update=()=>{a.$$.dirty&2&&r(0,t=le.sortBy(n.map(s=>({id:s.name,deprecationReason:s.deprecationReason,name:s.name,type:s.type,description:s.description,default:s.defaultValue})),s=>s.name)||[])},[t,n]}class nr extends G{constructor(e){super(),Y(this,e,tr,er,H,{data:1})}}function rr(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function tt(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[lr]},$$scope:{ctx:a}}}),t=new nr({props:{data:le.map(a[0].getFields(),nt)}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&1&&(f.data=le.map(s[0].getFields(),nt)),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function lr(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function fr(a){let e,r,t,n,s,l=Object.keys(a[0].getFields()).length>0,i;r=new K({props:{id:"title",depth:1,$$slots:{default:[rr]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}});let f=l&&tt(a);return{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),f&&f.c()},l(o){e=V(o,"SECTION",{});var u=O(e);w(r.$$.fragment,u),t=N(u),w(n.$$.fragment,u),s=N(u),f&&f.l(u),u.forEach(m)},m(o,u){d(o,e,u),k(r,e,null),A(e,t),k(n,e,null),A(e,s),f&&f.m(e,null),i=!0},p(o,[u]){const p={};u&3&&(p.$$scope={dirty:u,ctx:o}),r.$set(p);const _={};u&1&&(_.source=o[0].description),n.$set(_),u&1&&(l=Object.keys(o[0].getFields()).length>0),l?f?(f.p(o,u),u&1&&c(f,1)):(f=tt(o),f.c(),c(f,1),f.m(e,null)):f&&(M(),$(f,1,1,()=>{f=null}),z())},i(o){i||(c(r.$$.fragment,o),c(n.$$.fragment,o),c(f),i=!0)},o(o){$(r.$$.fragment,o),$(n.$$.fragment,o),$(f),i=!1},d(o){o&&m(e),y(r),y(n),f&&f.d()}}}const nt=a=>a;function sr(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class ar extends G{constructor(e){super(),Y(this,e,sr,fr,H,{type:0})}}function ir(a){let e;const r=a[0].default,t=me(r,a,a[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,s){t&&t.m(n,s),e=!0},p(n,s){t&&t.p&&(!e||s&2)&&_e(t,r,n,n[1],e?de(r,n[1],s,null):ge(n[1]),null)},i(n){e||(c(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function or(a){let e,r;return e=new jt({props:{class:"markdown-list-item",$$slots:{default:[ir]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&2&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function ur(a,e,r){let{$$slots:t={},$$scope:n}=e;return a.$$set=s=>{"$$scope"in s&&r(1,n=s.$$scope)},[t,n]}class cr extends G{constructor(e){super(),Y(this,e,ur,or,H,{})}}function rt(a,e,r){const t=a.slice();return t[5]=e[r],t[7]=r,t}const $r=a=>({}),lt=a=>({index:a[7]});function ft(a,e,r){const t=a.slice();return t[5]=e[r],t[7]=r,t}const pr=a=>({}),st=a=>({index:a[7]});function mr(a){let e,r,t=J(a[0].slice(0,3)),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lyt(e,"expanded",n)),{c(){b(e.$$.fragment)},l(l){w(e.$$.fragment,l)},m(l,i){k(e,l,i),t=!0},p(l,i){const f={};i&1&&(f.totalItems=l[0].length),!r&&i&2&&(r=!0,f.expanded=l[1],kt(()=>r=!1)),e.$set(f)},i(l){t||(c(e.$$.fragment,l),t=!0)},o(l){$(e.$$.fragment,l),t=!1},d(l){y(e,l)}}}function gr(a){let e,r,t,n,s;const l=[_r,mr],i=[];function f(u,p){return u[1]?0:1}e=f(a),r=i[e]=l[e](a);let o=a[0].length>3&&ot(a);return{c(){r.c(),t=I(),o&&o.c(),n=j()},l(u){r.l(u),t=N(u),o&&o.l(u),n=j()},m(u,p){i[e].m(u,p),d(u,t,p),o&&o.m(u,p),d(u,n,p),s=!0},p(u,[p]){let _=e;e=f(u),e===_?i[e].p(u,p):(M(),$(i[_],1,1,()=>{i[_]=null}),z(),r=i[e],r?r.p(u,p):(r=i[e]=l[e](u),r.c()),c(r,1),r.m(t.parentNode,t)),u[0].length>3?o?(o.p(u,p),p&1&&c(o,1)):(o=ot(u),o.c(),c(o,1),o.m(n.parentNode,n)):o&&(M(),$(o,1,1,()=>{o=null}),z())},i(u){s||(c(r),c(o),s=!0)},o(u){$(r),$(o),s=!1},d(u){u&&(m(t),m(n)),i[e].d(u),o&&o.d(u)}}}function dr(a,e,r){let{$$slots:t={},$$scope:n}=e,{items:s}=e,l=!1;function i(f){l=f,r(1,l)}return a.$$set=f=>{"items"in f&&r(0,s=f.items),"$$scope"in f&&r(2,n=f.$$scope)},[s,l,n,t,i]}class hr extends G{constructor(e){super(),Y(this,e,dr,gr,H,{items:0})}}function ut(a){const e=a[0].references[a[1]];a[2]=e}function br(a){let e;return{c(){e=B("Usages")},l(r){e=D(r,"Usages")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function wr(a){let e;return{c(){e=B("References")},l(r){e=D(r,"References")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function kr(a){let e,r,t=a[2].by.name+"",n,s,l,i=a[2].field.name+"",f,o,u,p;return u=new oe({props:{type:a[2].type}}),{c(){e=B("Argument "),r=U("em"),n=B(t),s=B(" of field "),l=U("em"),f=B(i),o=B(` from type `),b(u.$$.fragment)},l(_){e=D(_,"Argument "),r=V(_,"EM",{});var g=O(r);n=D(g,t),g.forEach(m),s=D(_," of field "),l=V(_,"EM",{});var h=O(l);f=D(h,i),h.forEach(m),o=D(_,` diff --git a/public/docs/_app/version.json b/public/docs/_app/version.json index 1c6a7b1..121962a 100644 --- a/public/docs/_app/version.json +++ b/public/docs/_app/version.json @@ -1 +1 @@ -{"version":"1712255481349"} \ No newline at end of file +{"version":"1714606855643"} \ No newline at end of file diff --git a/public/docs/example-queries.html b/public/docs/example-queries.html new file mode 100644 index 0000000..2f32c24 --- /dev/null +++ b/public/docs/example-queries.html @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example Queries + + +
Magidoc
+

Example Queries

Fetch performances with artist name and sources

#

    
+  
+ +

Fetch a single source

#

    
+  
+ + +
+ + +
+ + diff --git a/public/docs/queries/artist.html b/public/docs/queries/artist.html index 2e813a5..83a4d26 100644 --- a/public/docs/queries/artist.html +++ b/public/docs/queries/artist.html @@ -17,35 +17,35 @@ - - - - - - - - - - + + + + + + + + + + - - - - - - - - Query - artist + + + + + + + + Query - artist -
Magidoc

artist
Query

Fetch a single artist.

Arguments

#

id

Non-null

Response

#

Returns Artist .

Example

#