@chillicream/nitro-embedded 19.0.0-insider.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/LICENSE +95 -0
  2. package/README.md +64 -0
  3. package/apple-touch-icon.png +0 -0
  4. package/asset-manifest.json +56 -0
  5. package/favicon.ico +0 -0
  6. package/favicon.svg +1 -0
  7. package/index.cjs +17 -0
  8. package/index.d.cts +2 -0
  9. package/index.d.mts +2 -0
  10. package/index.html +1 -0
  11. package/index.mjs +13 -0
  12. package/manifest.webmanifest +23 -0
  13. package/package.json +47 -0
  14. package/robots.txt +3 -0
  15. package/service-worker.js +1 -0
  16. package/static/css/styles.15b5693c.css +1 -0
  17. package/static/js/110.0e366505.js +2 -0
  18. package/static/js/110.0e366505.js.LICENSE.txt +33 -0
  19. package/static/js/195.20ede8c1.chunk.js +1 -0
  20. package/static/js/2.6501c554.chunk.js +1 -0
  21. package/static/js/230.8503bd6f.chunk.js +1 -0
  22. package/static/js/264.6aedd0f5.js +1 -0
  23. package/static/js/341.1e379763.chunk.js +2 -0
  24. package/static/js/341.1e379763.chunk.js.LICENSE.txt +21 -0
  25. package/static/js/372.fa3f790f.chunk.js +1 -0
  26. package/static/js/425.6cfa0c21.chunk.js +1 -0
  27. package/static/js/703.880391f3.js +2 -0
  28. package/static/js/703.880391f3.js.LICENSE.txt +121 -0
  29. package/static/js/709.f5147502.js +1 -0
  30. package/static/js/712.8d0b0855.chunk.js +2 -0
  31. package/static/js/712.8d0b0855.chunk.js.LICENSE.txt +6 -0
  32. package/static/js/720.f5d95f7e.chunk.js +1 -0
  33. package/static/js/755.a97870be.chunk.js +1 -0
  34. package/static/js/81.f8d02cc4.chunk.js +1 -0
  35. package/static/js/824.04baf482.chunk.js +1 -0
  36. package/static/js/86.e31a339b.chunk.js +1 -0
  37. package/static/js/90.c735d0fd.chunk.js +1 -0
  38. package/static/js/907.68941042.js +1 -0
  39. package/static/js/936.e8fa296c.js +1 -0
  40. package/static/js/938.e41fcc3e.chunk.js +1 -0
  41. package/static/js/940.e5bc3e74.js +1 -0
  42. package/static/js/996.7a45a01a.chunk.js +1 -0
  43. package/static/js/editor.afbd84bf.js +1 -0
  44. package/static/js/graphql-engine.072217ef.chunk.js +1 -0
  45. package/static/js/graphql-indexer.f8b9a0f7.chunk.js +1 -0
  46. package/static/js/graphql.worker.2c56696a.js +2 -0
  47. package/static/js/graphql.worker.2c56696a.js.LICENSE.txt +33 -0
  48. package/static/js/json.1cf77584.js +2 -0
  49. package/static/js/json.1cf77584.js.LICENSE.txt +6 -0
  50. package/static/js/main.8bdce5ef.js +2 -0
  51. package/static/js/main.8bdce5ef.js.LICENSE.txt +8 -0
  52. package/static/js/polyfills.0bb6438e.js +1 -0
  53. package/static/js/session.f12ea7cc.chunk.js +1 -0
  54. package/static/js/yaml.worker.f5693bf4.js +1 -0
  55. package/static/media/FiraCode-Medium.1bc138a84f63b384c3f2.woff2 +0 -0
  56. package/static/media/codicon.184be8c3aa435ca6c3f5.ttf +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[2],{1069:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"apiId"}],n=[{kind:"Variable",name:"id",variableName:"apiId"}],l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"apiViewToolbarQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"editStagesDialogFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"apiViewToolbarQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[l,a,{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"conditions",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"afterStage",plural:!1,selections:[a,l],storageKey:null}],type:"AfterStageCondition",abstractKey:null}],storageKey:null}],storageKey:null},l],storageKey:null}]},params:{id:"7cfd270c8d64046382b6c06de3b71fc0",metadata:{},name:"apiViewToolbarQuery",operationKind:"query",text:null}}}();a.hash="cf9af5e8ab87a73706154909877e6fae";const t=a},14205:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"clientGridPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"clientGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"clientGridPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},a],storageKey:null},{alias:null,args:t,concreteType:"ClientVersionConnection",kind:"LinkedField",name:"versions",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientVersionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientVersion",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,concreteType:"PublishedClientVersion",kind:"LinkedField",name:"publishedTo",plural:!0,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stage",plural:!1,selections:[a],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null}],storageKey:null},l],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:t,filters:null,handle:"connection",key:"clientGrid_client_versions",kind:"LinkedHandle",name:"versions"}],type:"Client",abstractKey:null}],storageKey:null}]},params:{id:"246d263e86f3d4f0ac06a3df4fea04e1",metadata:{},name:"clientGridPaginationQuery",operationKind:"query",text:null}}}();a.hash="d750d8439aaa5862bcb951e9792e869c";const t=a,i=function(){var e=["versions"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"clientGridFragment",selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],storageKey:null},{alias:"versions",args:null,concreteType:"ClientVersionConnection",kind:"LinkedField",name:"__clientGrid_client_versions_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientVersionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientVersion",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,concreteType:"PublishedClientVersion",kind:"LinkedField",name:"publishedTo",plural:!0,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stage",plural:!1,selections:[n],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},n],type:"Client",abstractKey:null}}();i.hash="d750d8439aaa5862bcb951e9792e869c";const r=i},55587:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"clientId"}],n=[{kind:"Variable",name:"id",variableName:"clientId"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t=[{kind:"Literal",name:"first",value:50}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"clientGridQuery",selections:[{alias:"client",args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"clientGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"clientGridQuery",selections:[{alias:"client",args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},a],storageKey:null},{alias:null,args:t,concreteType:"ClientVersionConnection",kind:"LinkedField",name:"versions",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientVersionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientVersion",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,concreteType:"PublishedClientVersion",kind:"LinkedField",name:"publishedTo",plural:!0,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stage",plural:!1,selections:[a],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null}],storageKey:null},l],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:"versions(first:50)"},{alias:null,args:t,filters:null,handle:"connection",key:"clientGrid_client_versions",kind:"LinkedHandle",name:"versions"}],type:"Client",abstractKey:null}],storageKey:null}]},params:{id:"40aac566c8eb935cdfc15979c7171e87",metadata:{},name:"clientGridQuery",operationKind:"query",text:null}}}();a.hash="8b506ef2c3533953c531ea1d23e2881d";const t=a},96905:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"clientsListContentChangelogPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"clientsListContentChangelogFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"clientsListContentChangelogPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:t,concreteType:"ClientsConnection",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},l],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:t,filters:null,handle:"connection",key:"clientsListContent_api_clients",kind:"LinkedHandle",name:"clients"}],type:"Api",abstractKey:null}],storageKey:null}]},params:{id:"bc25eaeb8f998b9589b1ff16bcaefe9f",metadata:{},name:"clientsListContentChangelogPaginationQuery",operationKind:"query",text:null}}}();a.hash="56eb3e1826ebd3751953e1fbbb28b4ae";const t=a,i=function(){var e=["clients"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"clientsListContentChangelogFragment",selections:[{alias:"clients",args:null,concreteType:"ClientsConnection",kind:"LinkedField",name:"__clientsListContent_api_clients_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},n],type:"Api",abstractKey:null}}();i.hash="56eb3e1826ebd3751953e1fbbb28b4ae";const r=i},77309:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"apiId"}],n=[{kind:"Variable",name:"id",variableName:"apiId"}],l=[{kind:"Literal",name:"first",value:50}],a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"clientsListContentQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"clientsListContentChangelogFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"clientsListContentQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{alias:null,args:l,concreteType:"ClientsConnection",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:"clients(first:50)"},{alias:null,args:l,filters:null,handle:"connection",key:"clientsListContent_api_clients",kind:"LinkedHandle",name:"clients"},a],storageKey:null}]},params:{id:"ae754b81f33c47c6b6e0067796ff7e9c",metadata:{},name:"clientsListContentQuery",operationKind:"query",text:null}}}();a.hash="08bfd3b94c3747723d025702f0b5112e";const t=a},9983:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:15,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"}],i={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deploymentContainerPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"deploymentContainerFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deploymentContainerPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:t,concreteType:"DeploymentsConnection",kind:"LinkedField",name:"deployments",plural:!1,selections:[{alias:null,args:null,concreteType:"DeploymentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"TypeDiscriminator",abstractKey:"__isDeployment"},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:[i,a],storageKey:null}],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[l,i,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[a],storageKey:null},a],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null},{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:t,filters:null,handle:"connection",key:"deployment_container_api_deployments",kind:"LinkedHandle",name:"deployments"}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"0e7ea1ece0ef90adaf21f9c4bb11e7c1",metadata:{},name:"deploymentContainerPaginationQuery",operationKind:"query",text:null}}}();a.hash="0e63f4e89e831809228702ce2c767ad0";const t=a,i=function(){var e=["deployments"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:15,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"deploymentContainerFragment",selections:[{alias:"deployments",args:null,concreteType:"DeploymentsConnection",kind:"LinkedField",name:"__deployment_container_api_deployments_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"DeploymentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"deploymentListFragment"},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();i.hash="0e63f4e89e831809228702ce2c767ad0";const r=i},72030:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],n=[{kind:"Variable",name:"input",variableName:"input"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deploymentDetailsApproveDeploymentMutation",selections:[{alias:null,args:n,concreteType:"ApproveDeploymentPayload",kind:"LinkedField",name:"approveDeployment",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"deploymentListItemFragment"},{args:null,kind:"FragmentSpread",name:"deploymentDetailsFragment"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deploymentDetailsApproveDeploymentMutation",selections:[{alias:null,args:n,concreteType:"ApproveDeploymentPayload",kind:"LinkedField",name:"approveDeployment",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[l,{kind:"TypeDiscriminator",abstractKey:"__isDeployment"},a,{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},t,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logs",plural:!0,selections:[l,{kind:"InlineFragment",selections:i,type:"DeploymentApprovedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCancelledLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCreatedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentFailedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentQueuedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentReadyLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentStartedProcessingLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentSuccessLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentWaitingForApprovalLog",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:[r,a],storageKey:null}],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[l,r,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[a],storageKey:null},a],storageKey:null},{alias:null,args:null,concreteType:"FusionConfigurationDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[s],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[s,{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:[t,a],storageKey:null}],storageKey:null}],type:"SchemaDeployment",abstractKey:null}],storageKey:null}],storageKey:null}]},params:{id:"bcc98ac348866355fa006d3b6d4b69f2",metadata:{},name:"deploymentDetailsApproveDeploymentMutation",operationKind:"mutation",text:null}}}();a.hash="26a5fcf2749ab0ca5faae1cadfc32039";const t=a},31179:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],n=[{kind:"Variable",name:"input",variableName:"input"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deploymentDetailsCancelDeploymentMutation",selections:[{alias:null,args:n,concreteType:"CancelDeploymentPayload",kind:"LinkedField",name:"cancelDeployment",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"deploymentListItemFragment"},{args:null,kind:"FragmentSpread",name:"deploymentDetailsFragment"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deploymentDetailsCancelDeploymentMutation",selections:[{alias:null,args:n,concreteType:"CancelDeploymentPayload",kind:"LinkedField",name:"cancelDeployment",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[l,{kind:"TypeDiscriminator",abstractKey:"__isDeployment"},a,{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},t,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logs",plural:!0,selections:[l,{kind:"InlineFragment",selections:i,type:"DeploymentApprovedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCancelledLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCreatedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentFailedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentQueuedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentReadyLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentStartedProcessingLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentSuccessLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentWaitingForApprovalLog",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:[r,a],storageKey:null}],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[l,r,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[a],storageKey:null},a],storageKey:null},{alias:null,args:null,concreteType:"FusionConfigurationDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[s],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[s,{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:[t,a],storageKey:null}],storageKey:null}],type:"SchemaDeployment",abstractKey:null}],storageKey:null}],storageKey:null}]},params:{id:"a007ff4f275b66215e4e34598506a5db",metadata:{},name:"deploymentDetailsCancelDeploymentMutation",operationKind:"mutation",text:null}}}();a.hash="55291ce0ba90d7a5088e248a303219c7";const t=a},38533:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a=[l,{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],t={args:null,kind:"FragmentSpread",name:"changelogStatsFragment"};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"deploymentDetailsFragment",selections:[e,{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logs",plural:!0,selections:[{kind:"InlineFragment",selections:a,type:"DeploymentApprovedLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentCancelledLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentCreatedLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentFailedLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentQueuedLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentReadyLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentStartedProcessingLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentSuccessLog",abstractKey:null},{kind:"InlineFragment",selections:a,type:"DeploymentWaitingForApprovalLog",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null},t],storageKey:null},{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:[n],storageKey:null}],storageKey:null}],type:"SchemaDeployment",abstractKey:null},{kind:"InlineFragment",selections:[l],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"FusionConfigurationDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[t],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[e],storageKey:null}],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null}],type:"Deployment",abstractKey:"__isDeployment"}}();a.hash="7a8cee9c5fc333a6489ccdd7981f3969";const t=a},79943:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"deploymentId"}],n=[{kind:"Variable",name:"id",variableName:"deploymentId"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],r={alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deploymentDetailsQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"deploymentDetailsFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deploymentDetailsQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},t,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logs",plural:!0,selections:[l,{kind:"InlineFragment",selections:i,type:"DeploymentApprovedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCancelledLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCreatedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentFailedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentQueuedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentReadyLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentStartedProcessingLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentSuccessLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentWaitingForApprovalLog",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[r,{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:[t,a],storageKey:null}],storageKey:null}],type:"SchemaDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"FusionConfigurationDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[r],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[l,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[a],storageKey:null},a],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null}],type:"Deployment",abstractKey:"__isDeployment"}],storageKey:null}]},params:{id:"c9014b181cbcef49dbb18aebd12d4708",metadata:{},name:"deploymentDetailsQuery",operationKind:"query",text:null}}}();a.hash="f005359e7cfb68d0522107119e595001";const t=a},71174:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],n=[{kind:"Variable",name:"input",variableName:"input"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deploymentDetailsRejectDeploymentMutation",selections:[{alias:null,args:n,concreteType:"CancelDeploymentPayload",kind:"LinkedField",name:"cancelDeployment",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"deploymentListItemFragment"},{args:null,kind:"FragmentSpread",name:"deploymentDetailsFragment"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deploymentDetailsRejectDeploymentMutation",selections:[{alias:null,args:n,concreteType:"CancelDeploymentPayload",kind:"LinkedField",name:"cancelDeployment",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[l,{kind:"TypeDiscriminator",abstractKey:"__isDeployment"},a,{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},t,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logs",plural:!0,selections:[l,{kind:"InlineFragment",selections:i,type:"DeploymentApprovedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCancelledLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentCreatedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentFailedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentQueuedLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentReadyLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentStartedProcessingLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentSuccessLog",abstractKey:null},{kind:"InlineFragment",selections:i,type:"DeploymentWaitingForApprovalLog",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:[r,a],storageKey:null}],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[l,r,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[a],storageKey:null},a],storageKey:null},{alias:null,args:null,concreteType:"FusionConfigurationDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[s],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[s,{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:[t,a],storageKey:null}],storageKey:null}],type:"SchemaDeployment",abstractKey:null}],storageKey:null}],storageKey:null}]},params:{id:"b7a656e2e0008d7a810785b3e995f28e",metadata:{},name:"deploymentDetailsRejectDeploymentMutation",operationKind:"mutation",text:null}}}();a.hash="3778d065ca350ebd26f7d156a79521cb";const t=a},72581:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"deploymentListFragment",selections:[{alias:null,args:null,concreteType:"DeploymentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{args:null,kind:"FragmentSpread",name:"deploymentListItemFragment"}],storageKey:null}],storageKey:null}],type:"DeploymentsConnection",abstractKey:null,hash:"4d001de3c80b872dd5d4b734bd1c3224"},t=a},61406:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"deploymentListItemFragment",selections:[e,{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:[n],storageKey:null}],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[n,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[e],storageKey:null}],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null},{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null}],type:"Deployment",abstractKey:"__isDeployment"}}();a.hash="4ac69c200ab2855278089b6d7c3182d4";const t=a},41358:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"stageId"}],n=[{kind:"Variable",name:"id",variableName:"stageId"}],l=[{kind:"Literal",name:"first",value:15}],a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deploymentsQuery",selections:[{alias:"stage",args:n,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"deploymentContainerFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deploymentsQuery",selections:[{alias:"stage",args:n,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:l,concreteType:"DeploymentsConnection",kind:"LinkedField",name:"deployments",plural:!1,selections:[{alias:null,args:null,concreteType:"DeploymentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[a,t,{kind:"TypeDiscriminator",abstractKey:"__isDeployment"},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[t,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:[i,t],storageKey:null}],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[a,i,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[t],storageKey:null},t],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null},{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:"deployments(first:15)"},{alias:null,args:l,filters:null,handle:"connection",key:"deployment_container_api_deployments",kind:"LinkedHandle",name:"deployments"},t],storageKey:null}]},params:{id:"5de8b5a56b1ab806d812a6616707a054",metadata:{},name:"deploymentsQuery",operationKind:"query",text:null}}}();a.hash="d55fcf3d5d598ac17509d68400d9b58f";const t=a},36969:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"connections"},{defaultValue:null,kind:"LocalArgument",name:"stageId"}],n=[{kind:"Variable",name:"stageId",variableName:"stageId"}],l=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"deploymentListItemFragment"},{args:null,kind:"FragmentSpread",name:"deploymentDetailsFragment"}],storageKey:null}],a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},r=[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],s={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},o={alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null},d={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"deployment",plural:!1,selections:[a,{kind:"TypeDiscriminator",abstractKey:"__isDeployment"},t,{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"DeploymentApproval",kind:"LinkedField",name:"approval",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"approvedAt",storageKey:null},{alias:null,args:null,concreteType:"UserInfo",kind:"LinkedField",name:"approvedBy",plural:!1,selections:[t,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null}],storageKey:null},i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logs",plural:!0,selections:[a,{kind:"InlineFragment",selections:r,type:"DeploymentApprovedLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentCancelledLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentCreatedLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentFailedLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentQueuedLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentReadyLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentStartedProcessingLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentSuccessLog",abstractKey:null},{kind:"InlineFragment",selections:r,type:"DeploymentWaitingForApprovalLog",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:[s,t],storageKey:null}],type:"ClientDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[a,s,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[t],storageKey:null},t],storageKey:null},{alias:null,args:null,concreteType:"FusionConfigurationDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[o],storageKey:null}],type:"FusionConfigurationDeployment",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaDeploymentSchemaChanges",kind:"LinkedField",name:"schemaChanges",plural:!1,selections:[o,{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:[i,t],storageKey:null}],storageKey:null}],type:"SchemaDeployment",abstractKey:null}],storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deployments_DeploymentChangedSubscription",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"onStageDeploymentsChanged",plural:!1,selections:[{kind:"InlineFragment",selections:l,type:"DeploymentCreatedEvent",abstractKey:null},{kind:"InlineFragment",selections:l,type:"DeploymentUpdatedEvent",abstractKey:null}],storageKey:null}],type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deployments_DeploymentChangedSubscription",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"onStageDeploymentsChanged",plural:!1,selections:[a,{kind:"InlineFragment",selections:[d,{alias:null,args:null,filters:null,handle:"prependNode",key:"",kind:"LinkedHandle",name:"deployment",handleArgs:[{kind:"Variable",name:"connections",variableName:"connections"},{kind:"Literal",name:"edgeTypeName",value:"DeploymentsEdge"}]}],type:"DeploymentCreatedEvent",abstractKey:null},{kind:"InlineFragment",selections:[d],type:"DeploymentUpdatedEvent",abstractKey:null}],storageKey:null}]},params:{id:"e4a382b821ee687252eebd191a898054",metadata:{},name:"deployments_DeploymentChangedSubscription",operationKind:"subscription",text:null}}}();a.hash="5d76b3eeb5df9fb6d3407d2491d363bc";const t=a},40253:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logDetails",selections:[{args:null,kind:"FragmentSpread",name:"logDetailsAttributes"},{args:null,kind:"FragmentSpread",name:"logDetailsGeneral"}],type:"OpenTelemetryLog",abstractKey:null,hash:"948ba6dfbbcda48fdc0c7b9ef92577fc"},t=a},38868:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logDetailsAttributes",selections:[{args:null,kind:"FragmentSpread",name:"logDetailsHeader"},{args:null,kind:"FragmentSpread",name:"logDetailsResourceAttributes"},{args:null,kind:"FragmentSpread",name:"logDetailsLogAttributes"}],type:"OpenTelemetryLog",abstractKey:null,hash:"4e227664f32ffc1f784dc4b4f7ec7e40"},t=a},39350:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logDetailsFlyout",selections:[{args:null,kind:"FragmentSpread",name:"logDetails"}],type:"OpenTelemetryLog",abstractKey:null,hash:"15a6849dd47db3655797a9509f553c71"},t=a},14175:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logDetailsGeneral",selections:[{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{args:null,kind:"FragmentSpread",name:"logDetailsHeader"}],type:"OpenTelemetryLog",abstractKey:null,hash:"0f1cbe573d88564e8029b9051c4485c4"},t=a},57760:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logDetailsHeader",selections:[{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null}],type:"OpenTelemetryLog",abstractKey:null,hash:"fbdfd4db785828b59c59df32989cfcca"},t=a},84756:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logDetailsLogAttributes",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null}],type:"OpenTelemetryLog",abstractKey:null,hash:"d05ddb84a43f04047058cc3df9490d8c"},t=a},59472:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logDetailsResourceAttributes",selections:[{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null}],type:"OpenTelemetryLog",abstractKey:null,hash:"ac1a5a10d771585dfa9f46d00b9a3423"},t=a},77133:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"logList",selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{args:null,kind:"FragmentSpread",name:"logListLogEntryItem"}],type:"OpenTelemetryLog",abstractKey:null,hash:"d37794f6935f14ea0e67db38a79ed2fe"},t=a},58676:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"logListLogEntryItem",selections:[{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null}],type:"OpenTelemetryLog",abstractKey:null,hash:"1db5ead4dcc5915eb3eeb8a32e88b3bd"},t=a},60484:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsChartPanel",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryLogsSeverityGraph",kind:"LinkedField",name:"logDistribution",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphCountData",kind:"LinkedField",name:"counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null,hash:"64e60db8e6e245e562da26f0a2608559"},t=a},81593:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsContainer",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Literal",name:"last",value:200},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"logList"},{args:null,kind:"FragmentSpread",name:"logDetailsFlyout"},{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null,hash:"6ae78c56366a47d1545327275218b3a8"},t=a},1015:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"after"},n={defaultValue:null,kind:"LocalArgument",name:"before"},l={defaultValue:null,kind:"LocalArgument",name:"first"},a={defaultValue:null,kind:"LocalArgument",name:"last"},t={defaultValue:null,kind:"LocalArgument",name:"stageId"},i=[{kind:"Variable",name:"id",variableName:"stageId"}],r=[{kind:"Variable",name:"after",variableName:"after"},{kind:"Variable",name:"before",variableName:"before"},{kind:"Variable",name:"first",variableName:"first"},{kind:"Variable",name:"last",variableName:"last"}],s={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},d={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a,t],kind:"Fragment",metadata:null,name:"logsContainerPaginationQuery",selections:[{alias:null,args:i,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:r,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[s,{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"logList"},{args:null,kind:"FragmentSpread",name:"logDetailsFlyout"},o],storageKey:null}],storageKey:null},d],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,e,l,n,a],kind:"Operation",name:"logsContainerPaginationQuery",selections:[{alias:null,args:i,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:r,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[s,{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[o,{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[u,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"ad1a35dfcd612e6c1efda72044d3a0f8",metadata:{},name:"logsContainerPaginationQuery",operationKind:"query",text:null}}}();a.hash="94a4ab8608db1fcf07eb46f4a96526d0";const t=a},28428:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsPanel",selections:[{args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],kind:"FragmentSpread",name:"logsContainer"}],type:"Stage",abstractKey:null,hash:"1769c571e4d52423b8e744e343cbc306"},t=a},75142:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"stageId"},l={defaultValue:null,kind:"LocalArgument",name:"to"},a=[{kind:"Variable",name:"id",variableName:"stageId"}],t={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"},r=[t,i],s={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l],kind:"Fragment",metadata:null,name:"logsQuery",selections:[{alias:null,args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"logsPanel"}]},{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"logsChartPanel"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,e,l],kind:"Operation",name:"logsQuery",selections:[{alias:null,args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"logsQuery$defer$logsPanel_1tCgTg",selections:[s,{alias:null,args:[t,{kind:"Literal",name:"last",value:200},i],concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[o,{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"logsQuery$defer$logsChartPanel_1tCgTg",selections:[{alias:null,args:r,concreteType:"OpenTelemetryLogsSeverityGraph",kind:"LinkedField",name:"logDistribution",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[o,{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphCountData",kind:"LinkedField",name:"counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},s],storageKey:null}]},params:{id:"ee3d5a9c010d586fcfa2c20d9d3357b1",metadata:{},name:"logsQuery",operationKind:"query",text:null}}}();a.hash="83cace4fd13209c74f27de384d4afbb1";const t=a},89847:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},l={defaultValue:null,kind:"LocalArgument",name:"from"},a={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},i={defaultValue:null,kind:"LocalArgument",name:"to"},r=[{kind:"Variable",name:"id",variableName:"id"}],s={kind:"Variable",name:"from",variableName:"from"},o={kind:"Variable",name:"to",variableName:"to"},d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},s,{kind:"Variable",name:"orderBy",variableName:"sort"},o];return{fragment:{argumentDefinitions:[e,n,l,a,t,i],kind:"Fragment",metadata:null,name:"apiClientsTilePaginationQuery",selections:[{alias:null,args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},s,{kind:"Variable",name:"sort",variableName:"sort"},o],kind:"FragmentSpread",name:"apiClientsTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,l,t,i,a],kind:"Operation",name:"apiClientsTilePaginationQuery",selections:[{alias:null,args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,u,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:c,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},u,d],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:c,filters:["from","to","orderBy"],handle:"connection",key:"apiClientsTile_clients_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"5b8d9d4472a923ed49bf8904e5ab1960",metadata:{},name:"apiClientsTilePaginationQuery",operationKind:"query",text:null}}}();a.hash="d6e0cf72276ab53f6281ab3184203d04";const t=a,i=function(){var e=["metrics","clients","insights"];return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"apiClientsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"__apiClientsTile_clients_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null}}();i.hash="d6e0cf72276ab53f6281ab3184203d04";const r=i},91790:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"apiErrorsGridFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null}],type:"ErrorInsight",abstractKey:null,hash:"13047304862005a5c39fdd7ae765a3a8"},t=a},5020:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"after"},n={defaultValue:10,kind:"LocalArgument",name:"first"},l={defaultValue:null,kind:"LocalArgument",name:"from"},a={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:null,kind:"LocalArgument",name:"to"},i=[{kind:"Variable",name:"id",variableName:"id"}],r=[{kind:"Variable",name:"after",variableName:"after"},{kind:"Variable",name:"first",variableName:"first"},{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],s={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a,t],kind:"Fragment",metadata:null,name:"apiErrorsInsightTilePaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:r,kind:"FragmentSpread",name:"apiErrorsInsightTile"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,l,t,a],kind:"Operation",name:"apiErrorsInsightTilePaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[s,o,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:null,args:r,concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[o,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},s],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:r,filters:["from","to"],handle:"connection",key:"apiErrorsInsightTile_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"51271a451fd0c52888542698d597fa8f",metadata:{},name:"apiErrorsInsightTilePaginationQuery",operationKind:"query",text:null}}}();a.hash="0708a19b467d3d467f09aee3e41f534e";const t=a,i=function(){var e=["metrics","errors","insights"];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"after"},{defaultValue:10,kind:"LocalArgument",name:"first"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"first",cursor:"after",direction:"forward",path:e}],refetch:{connection:{forward:{count:"first",cursor:"after"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"apiErrorsInsightTile",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"__apiErrorsInsightTile_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"apiErrorsGridFragment"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null}}();i.hash="0708a19b467d3d467f09aee3e41f534e";const r=i},40173:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"apiErrorsTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageOperationsMetrics",abstractKey:null,hash:"edc7ec41214665157ba7d12bbb318ecf"},t=a},69092:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"apiInsightsTileFragment",selections:[{args:e,kind:"FragmentSpread",name:"apiOperationsInsightsGrid"},{args:e,kind:"FragmentSpread",name:"apiResolversInsightsGrid"}],type:"Stage",abstractKey:null}}();a.hash="2c6915bcc2533c1f94f9ab763c8bc1b9";const t=a},49173:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"apiLatencyTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageOperationsMetrics",abstractKey:null,hash:"76769d6e763cc8d1cd5395223456d83a"},t=a},13761:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"stageId"},l={defaultValue:null,kind:"LocalArgument",name:"to"},a=[{kind:"Variable",name:"id",variableName:"stageId"}],t={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"},r=[t,i],s={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},o=[s,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],d={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null},g=[{kind:"Literal",name:"first",value:10},t,i],m={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},h={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null},f=[{kind:"Literal",name:"first",value:25},t,{kind:"Literal",name:"orderBy",value:{impact:"DESC"}},i],k={alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},v=[s,d,b],F=["from","to","orderBy","search"];return{fragment:{argumentDefinitions:[e,n,l],kind:"Fragment",metadata:null,name:"apiMonitoringQuery",selections:[{alias:"stage",args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"apiLatencyTileFragment"}]},{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"apiThroughputTileFragment"}]},{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"apiErrorsTileFragment"}]}],storageKey:null}],storageKey:null},{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"apiErrorsInsightTile"}]},{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"apiClientsTileFragment"}]},{kind:"Defer",selections:[{args:r,kind:"FragmentSpread",name:"apiInsightsTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,e,l],kind:"Operation",name:"apiMonitoringQuery",selections:[{alias:"stage",args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{if:null,kind:"Defer",label:"apiMonitoringQuery$defer$apiLatencyTileFragment_1tCgTg",selections:[{alias:null,args:r,concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:o,storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"apiMonitoringQuery$defer$apiThroughputTileFragment_1tCgTg",selections:[{alias:null,args:r,concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[s,d,u,c],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"apiMonitoringQuery$defer$apiErrorsTileFragment_1tCgTg",selections:[{alias:null,args:r,concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[s,c],storageKey:null}],storageKey:null}]}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"apiMonitoringQuery$defer$apiErrorsInsightTile_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:null,args:g,concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[m,{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[p,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},u,y],storageKey:null}],storageKey:null},h],storageKey:null},{alias:null,args:g,filters:["from","to"],handle:"connection",key:"apiErrorsInsightTile_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},p]},{if:null,kind:"Defer",label:"apiMonitoringQuery$defer$apiClientsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:f,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},u,k,p,y],storageKey:null},m],storageKey:null},h],storageKey:null},{alias:null,args:f,filters:["from","to","orderBy"],handle:"connection",key:"apiClientsTile_clients_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},p]},{if:null,kind:"Defer",label:"apiMonitoringQuery$defer$apiInsightsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:f,concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[p,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},x,d,b,k,{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:o,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:v,storageKey:null}],storageKey:null},y],storageKey:null},m],storageKey:null},h],storageKey:null},{alias:null,args:f,filters:F,handle:"connection",key:"apiOperationsInsightsGrid_operations_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null},{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:null,args:f,concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[p,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},x,d,b,k,{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:o,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:v,storageKey:null}],storageKey:null},y],storageKey:null},m],storageKey:null},h],storageKey:null},{alias:null,args:f,filters:F,handle:"connection",key:"apiResolversInsightsGrid_resolvers_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},p]},p],storageKey:null}]},params:{id:"4823aa15843dec7ed3d3b415a1ecff20",metadata:{},name:"apiMonitoringQuery",operationKind:"query",text:null}}}();a.hash="5701d4fca4ea4704e4d5ea65ef59664f";const t=a},66498:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},l={defaultValue:null,kind:"LocalArgument",name:"from"},a={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:null,kind:"LocalArgument",name:"search"},i={defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},r={defaultValue:null,kind:"LocalArgument",name:"to"},s=[{kind:"Variable",name:"id",variableName:"id"}],o={kind:"Variable",name:"from",variableName:"from"},d={kind:"Variable",name:"search",variableName:"search"},u={kind:"Variable",name:"to",variableName:"to"},c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},o,{kind:"Variable",name:"orderBy",variableName:"sort"},d,u],p={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a,t,i,r],kind:"Fragment",metadata:null,name:"apiOperationsInsightsGridPaginationQuery",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},o,d,{kind:"Variable",name:"sort",variableName:"sort"},u],kind:"FragmentSpread",name:"apiOperationsInsightsGrid"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,l,t,i,r,a],kind:"Operation",name:"apiOperationsInsightsGridPaginationQuery",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[c,g,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:m,concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[g,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},p,y,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[h,p,y],storageKey:null}],storageKey:null},c],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:m,filters:["from","to","orderBy","search"],handle:"connection",key:"apiOperationsInsightsGrid_operations_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"3ff4cdcde2d897de386ae58734a446ba",metadata:{},name:"apiOperationsInsightsGridPaginationQuery",operationKind:"query",text:null}}}();a.hash="c245c25e64393e08fa4357ead4859ff7";const t=a,i=function(){var e=["metrics","operations","insights"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"search"},{defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"apiOperationsInsightsGrid",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"search",variableName:"search"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"__apiOperationsInsightsGrid_operations_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},l,a,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,l,a],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();i.hash="c245c25e64393e08fa4357ead4859ff7";const r=i},44842:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},l={defaultValue:null,kind:"LocalArgument",name:"from"},a={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:null,kind:"LocalArgument",name:"search"},i={defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},r={defaultValue:null,kind:"LocalArgument",name:"to"},s=[{kind:"Variable",name:"id",variableName:"id"}],o={kind:"Variable",name:"from",variableName:"from"},d={kind:"Variable",name:"search",variableName:"search"},u={kind:"Variable",name:"to",variableName:"to"},c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},o,{kind:"Variable",name:"orderBy",variableName:"sort"},d,u],p={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a,t,i,r],kind:"Fragment",metadata:null,name:"apiResolversInsightsGridPaginationQuery",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},o,d,{kind:"Variable",name:"sort",variableName:"sort"},u],kind:"FragmentSpread",name:"apiResolversInsightsGrid"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,l,t,i,r,a],kind:"Operation",name:"apiResolversInsightsGridPaginationQuery",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[c,g,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:null,args:m,concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[g,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},p,y,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[h,p,y],storageKey:null}],storageKey:null},c],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:m,filters:["from","to","orderBy","search"],handle:"connection",key:"apiResolversInsightsGrid_resolvers_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"a15a2ec4c82aee5ec214212084b4437f",metadata:{},name:"apiResolversInsightsGridPaginationQuery",operationKind:"query",text:null}}}();a.hash="5c381ab3aba953ec85798bf5cd561e3d";const t=a,i=function(){var e=["metrics","resolvers","insights"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"search"},{defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"apiResolversInsightsGrid",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"search",variableName:"search"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"__apiResolversInsightsGrid_resolvers_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},l,a,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,l,a],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();i.hash="5c381ab3aba953ec85798bf5cd561e3d";const r=i},97671:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"apiThroughputTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageOperationsMetrics",abstractKey:null,hash:"cf0314dfd4d2ba7e10f3243cc757ba39"},t=a},67346:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationErrorsTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageOperationMetrics",abstractKey:null,hash:"7af820c1a59a23f8021d6b348955361d"},t=a},35485:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationLatencyHistogramTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageOperationMetrics",abstractKey:null,hash:"31b994e0428b0de513885c856b7c546c"},t=a},94013:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationLatencyTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageOperationMetrics",abstractKey:null,hash:"123384150d983cc1e78ade7166d232ae"},t=a},97113:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"hash"},l={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},a={defaultValue:null,kind:"LocalArgument",name:"minLatency"},t={defaultValue:null,kind:"LocalArgument",name:"operationName"},i={defaultValue:null,kind:"LocalArgument",name:"stageId"},r={defaultValue:null,kind:"LocalArgument",name:"to"},s=[{kind:"Variable",name:"id",variableName:"stageId"}],o={kind:"Variable",name:"hash",variableName:"hash"},d={kind:"Variable",name:"operationName",variableName:"operationName"},u=[o,d],c={kind:"Variable",name:"from",variableName:"from"},g={kind:"Variable",name:"to",variableName:"to"},m=[c,g],p={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},y={kind:"Variable",name:"minLatency",variableName:"minLatency"},h={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a,t,i,r],kind:"Fragment",metadata:null,name:"operationMonitoringQuery",selections:[{alias:"stage",args:s,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:u,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{kind:"Defer",selections:[{args:m,kind:"FragmentSpread",name:"operationLatencyTileFragment"}]},{kind:"Defer",selections:[{args:m,kind:"FragmentSpread",name:"operationThroughputTileFragment"}]},{kind:"Defer",selections:[{args:m,kind:"FragmentSpread",name:"operationErrorsTileFragment"}]},{kind:"Defer",selections:[{args:m,kind:"FragmentSpread",name:"operationLatencyHistogramTileFragment"}]}],storageKey:null}],storageKey:null},{kind:"Defer",selections:[{args:[c,o,p,y,d,g],kind:"FragmentSpread",name:"operationTraceSampleTileRefetchFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[i,n,t,e,r,a,l],kind:"Operation",name:"operationMonitoringQuery",selections:[{alias:"stage",args:s,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:u,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationLatencyTileFragment_1tCgTg",selections:[{alias:null,args:m,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},f,{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationThroughputTileFragment_1tCgTg",selections:[{alias:null,args:m,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},k,x],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationErrorsTileFragment_1tCgTg",selections:[{alias:null,args:m,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[h,x],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationLatencyHistogramTileFragment_1tCgTg",selections:[{alias:null,args:m,concreteType:"OperationLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[k,f,{alias:null,args:null,concreteType:"OperationLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}]}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationTraceSampleTileRefetchFragment_47zR0k",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:u,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:[c,p,y,g],concreteType:"OperationTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},b]},b],storageKey:null}]},params:{id:"4720494d16f3509d208467e7dceaeb84",metadata:{},name:"operationMonitoringQuery",operationKind:"query",text:null}}}();a.hash="37f572f14cfb4df561415fc55ba70834";const t=a},87404:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationThroughputTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageOperationMetrics",abstractKey:null,hash:"1e3671342d995e863ce77228f286fab6"},t=a},19112:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"after"},n={defaultValue:null,kind:"LocalArgument",name:"before"},l={defaultValue:null,kind:"LocalArgument",name:"first"},a={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:200,kind:"LocalArgument",name:"last"},i={defaultValue:null,kind:"LocalArgument",name:"seeker"},r={defaultValue:null,kind:"LocalArgument",name:"spanId"},s={defaultValue:null,kind:"LocalArgument",name:"traceId"},o=[{kind:"Variable",name:"id",variableName:"id"}],d={kind:"Variable",name:"after",variableName:"after"},u={kind:"Variable",name:"before",variableName:"before"},c={kind:"Variable",name:"first",variableName:"first"},g={kind:"Variable",name:"last",variableName:"last"},m={kind:"Variable",name:"seeker",variableName:"seeker"},p={kind:"Variable",name:"spanId",variableName:"spanId"},y={kind:"Variable",name:"traceId",variableName:"traceId"},h={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},f=[d,u,c,g],k={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a,t,i,r,s],kind:"Fragment",metadata:null,name:"operationTraceLogsPaginationQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[d,u,c,g,m,p,y],kind:"FragmentSpread",name:"operationTraceLogs"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,l,t,i,r,s,a],kind:"Operation",name:"operationTraceLogsPaginationQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:"trace",args:[m,p,y],concreteType:"OpenTelemetryTrace",kind:"LinkedField",name:"traceById",plural:!1,selections:[{alias:null,args:f,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[k,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[h,k,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null},h],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:f,filters:null,handle:"connection",key:"trace_logs",kind:"LinkedHandle",name:"logs"}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"59e44b9b9682af448caf58abe5350e6e",metadata:{},name:"operationTraceLogsPaginationQuery",operationKind:"query",text:null}}}();a.hash="715d8f323d7fe8207e1cc8163062cd48";const t=a,i=function(){var e=["trace","logs"];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"after"},{defaultValue:null,kind:"LocalArgument",name:"before"},{defaultValue:null,kind:"LocalArgument",name:"first"},{defaultValue:200,kind:"LocalArgument",name:"last"},{defaultValue:null,kind:"LocalArgument",name:"seeker"},{defaultValue:null,kind:"LocalArgument",name:"spanId"},{defaultValue:null,kind:"LocalArgument",name:"traceId"}],kind:"Fragment",metadata:{connection:[{count:null,cursor:null,direction:"bidirectional",path:e}],refetch:{connection:{forward:{count:"first",cursor:"after"},backward:{count:"last",cursor:"before"},path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationTraceLogs",selections:[{alias:"trace",args:[{kind:"Variable",name:"seeker",variableName:"seeker"},{kind:"Variable",name:"spanId",variableName:"spanId"},{kind:"Variable",name:"traceId",variableName:"traceId"}],concreteType:"OpenTelemetryTrace",kind:"LinkedField",name:"traceById",plural:!1,selections:[{alias:"logs",args:null,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"__trace_logs_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"logList"},{args:null,kind:"FragmentSpread",name:"logDetailsFlyout"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null}}();i.hash="715d8f323d7fe8207e1cc8163062cd48";const r=i},4228:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"seeker"},n={defaultValue:null,kind:"LocalArgument",name:"spanId"},l={defaultValue:null,kind:"LocalArgument",name:"stageId"},a={defaultValue:null,kind:"LocalArgument",name:"traceId"},t=[{kind:"Variable",name:"id",variableName:"stageId"}],i=[{kind:"Variable",name:"seeker",variableName:"seeker"},{kind:"Variable",name:"spanId",variableName:"spanId"},{kind:"Variable",name:"traceId",variableName:"traceId"}],r={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"statusCode",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},c=[u,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],g={alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:c,storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},h=[{alias:null,args:null,kind:"ScalarField",name:"flavor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"method",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scheme",storageKey:null},o,m,{alias:null,args:null,kind:"ScalarField",name:"userAgent",storageKey:null}],f={alias:"trace",args:i,concreteType:"OpenTelemetryTrace",kind:"LinkedField",name:"traceById",plural:!1,selections:[{alias:"offset",args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalDuration",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"spans",plural:!0,selections:[r,{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"parentSpanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceState",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"spanName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"spanKind",storageKey:null},s,{alias:null,args:null,kind:"ScalarField",name:"duration",storageKey:null},o,{alias:null,args:null,kind:"ScalarField",name:"statusMessage",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryTraceEvent",kind:"LinkedField",name:"events",plural:!0,selections:[d,s,{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"attributes",plural:!0,selections:c,storageKey:null}],storageKey:null},g,{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"spanAttributes",plural:!0,selections:c,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"OpenTelemetryDbSpanAttributes",kind:"LinkedField",name:"db",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"instance",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operation",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"statement",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"system",storageKey:null},m,{alias:null,args:null,kind:"ScalarField",name:"user",storageKey:null}],storageKey:null}],type:"OpenTelemetryDbSpan",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"OpenTelemetryGraphQLOperationSpanDocumentAttributes",kind:"LinkedField",name:"document",plural:!1,selections:[p,y],storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryGraphQLOperationSpanOperationAttributes",kind:"LinkedField",name:"operation",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null}],storageKey:null}],type:"OpenTelemetryGraphQLOperationSpan",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"OpenTelemetryGraphQLResolverSpanSelectionAttributes",kind:"LinkedField",name:"selection",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryGraphQLResolverSpanFieldAttributes",kind:"LinkedField",name:"field",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"declaringType",storageKey:null}],storageKey:null}],storageKey:null}],type:"OpenTelemetryGraphQLResolverSpan",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"OpenTelemetryHttpClientSpanAttribute",kind:"LinkedField",name:"http",plural:!1,selections:h,storageKey:null}],type:"OpenTelemetryHttpClientSpan",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"OpenTelemetryHttpServerSpanAttributes",kind:"LinkedField",name:"http",plural:!1,selections:h,storageKey:null}],type:"OpenTelemetryHttpServerSpan",abstractKey:null}],storageKey:null}],storageKey:null},k=[{kind:"Literal",name:"last",value:200}];return{fragment:{argumentDefinitions:[e,n,l,a],kind:"Fragment",metadata:null,name:"operationTraceSampleTileQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:i,kind:"FragmentSpread",name:"operationTraceLogs"}]},f],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,a,n,e],kind:"Operation",name:"operationTraceSampleTileQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"operationTraceSampleTileQuery$defer$operationTraceLogs_3dfgKw",selections:[{alias:"trace",args:i,concreteType:"OpenTelemetryTrace",kind:"LinkedField",name:"traceById",plural:!1,selections:[{alias:null,args:k,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[s,y,{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},g,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[r,u,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null},r],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null}],storageKey:null}],storageKey:"logs(last:200)"},{alias:null,args:k,filters:null,handle:"connection",key:"trace_logs",kind:"LinkedHandle",name:"logs"}],storageKey:null},p]},f,p],storageKey:null}]},params:{id:"4dccc4db6c39032f71652769c32ea7e5",metadata:{},name:"operationTraceSampleTileQuery",operationKind:"query",text:null}}}();a.hash="cf5549b14b207b000b4ead0a10b8adfd";const t=a},56413:(e,n,l)=>{l.r(n),l.d(n,{default:()=>i});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"hash"},l={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},t={defaultValue:null,kind:"LocalArgument",name:"minLatency"},i={defaultValue:null,kind:"LocalArgument",name:"operationName"},r={defaultValue:null,kind:"LocalArgument",name:"to"},s=[{kind:"Variable",name:"id",variableName:"id"}],o={kind:"Variable",name:"from",variableName:"from"},d={kind:"Variable",name:"hash",variableName:"hash"},u={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},c={kind:"Variable",name:"minLatency",variableName:"minLatency"},g={kind:"Variable",name:"operationName",variableName:"operationName"},m={kind:"Variable",name:"to",variableName:"to"};return{fragment:{argumentDefinitions:[e,n,l,a,t,i,r],kind:"Fragment",metadata:null,name:"operationTraceSampleTileRefetchQuery",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[o,d,u,c,g,m],kind:"FragmentSpread",name:"operationTraceSampleTileRefetchFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,a,t,i,r,l],kind:"Operation",name:"operationTraceSampleTileRefetchQuery",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[d,g],concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:[o,u,c,m],concreteType:"OperationTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"4b28021eb978d6f3f0bce051a3ce5380",metadata:{},name:"operationTraceSampleTileRefetchQuery",operationKind:"query",text:null}}}();a.hash="fcc8adfea96348fe32b1151d3c1500d8";const t={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"hash"},{defaultValue:null,kind:"LocalArgument",name:"maxLatency"},{defaultValue:null,kind:"LocalArgument",name:"minLatency"},{defaultValue:null,kind:"LocalArgument",name:"operationName"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:a,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationTraceSampleTileRefetchFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"hash",variableName:"hash"},{kind:"Variable",name:"operationName",variableName:"operationName"}],concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"maxLatency",variableName:"maxLatency"},{kind:"Variable",name:"minLatency",variableName:"minLatency"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null,hash:"fcc8adfea96348fe32b1151d3c1500d8"},i=t},3340:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"resolverErrorsTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageResolverMetrics",abstractKey:null,hash:"0cd651617706c40f0d1339b0cd51ad03"},t=a},63727:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"resolverLatencyTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageResolverMetrics",abstractKey:null,hash:"9216e3fc245a2d85a197896a8322ddb8"},t=a},18559:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"coordinate"},n={defaultValue:null,kind:"LocalArgument",name:"from"},l={defaultValue:null,kind:"LocalArgument",name:"stageId"},a={defaultValue:null,kind:"LocalArgument",name:"to"},t=[{kind:"Variable",name:"id",variableName:"stageId"}],i=[{kind:"Variable",name:"coordinate",variableName:"coordinate"}],r={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},s=[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],o={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a],kind:"Fragment",metadata:null,name:"resolverMonitoringQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:i,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[r,{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverLatencyTileFragment"}]},{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverThroughputTileFragment"}]},{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverErrorsTileFragment"}]}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,e,n,a],kind:"Operation",name:"resolverMonitoringQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:i,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[r,{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverLatencyTileFragment_1tCgTg",selections:[{alias:null,args:s,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[o,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverThroughputTileFragment_1tCgTg",selections:[{alias:null,args:s,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[o,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},d],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverErrorsTileFragment_1tCgTg",selections:[{alias:null,args:s,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[o,d],storageKey:null}],storageKey:null}]}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"a6212464129d8201cd1cafa5d8c405cb",metadata:{},name:"resolverMonitoringQuery",operationKind:"query",text:null}}}();a.hash="3fcd1719255e83fc53793e138fd79b9a";const t=a},35177:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"resolverThroughputTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageResolverMetrics",abstractKey:null,hash:"1948c682ed67b5a6d094d7a356466104"},t=a},27808:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"operationsGridPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"operationsGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"operationsGridPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:t,concreteType:"OperationsConnection",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Operation",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"RequestDocument",kind:"LinkedField",name:"document",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"content",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"documentIds",storageKey:null},a],storageKey:null},l],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:t,filters:null,handle:"connection",key:"operationsGrid_api_operations",kind:"LinkedHandle",name:"operations"}],type:"Api",abstractKey:null}],storageKey:null}]},params:{id:"0aec543d8d739e52e560d4afd495f14b",metadata:{},name:"operationsGridPaginationQuery",operationKind:"query",text:null}}}();a.hash="111d2fe838f87556dfdcfb44e77fe3e0";const t=a,i=function(){var e=["operations"];return{argumentDefinitions:[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsGridFragment",selections:[{alias:"operations",args:null,concreteType:"OperationsConnection",kind:"LinkedField",name:"__operationsGrid_api_operations_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Operation",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"RequestDocument",kind:"LinkedField",name:"document",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"content",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"documentIds",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Api",abstractKey:null}}();i.hash="111d2fe838f87556dfdcfb44e77fe3e0";const r=i},59144:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"apiId"}],n=[{kind:"Variable",name:"id",variableName:"apiId"}],l=[{kind:"Literal",name:"first",value:50}],a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"operationsGridQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"operationsGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"operationsGridQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{alias:null,args:l,concreteType:"OperationsConnection",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Operation",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"RequestDocument",kind:"LinkedField",name:"document",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"content",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"documentIds",storageKey:null},a],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:"operations(first:50)"},{alias:null,args:l,filters:null,handle:"connection",key:"operationsGrid_api_operations",kind:"LinkedHandle",name:"operations"},a],storageKey:null}]},params:{id:"e8b592145ca52d6b8e51fd1b18256170",metadata:{},name:"operationsGridQuery",operationKind:"query",text:null}}}();a.hash="45944f2bf00bff163480cfd3f45e7a44";const t=a},58690:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{alias:null,args:null,concreteType:"StageLatencySummary",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageThroughputSummary",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null}],storageKey:null}];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"before"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"apiDetailsTileFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},action:"NONE",path:"api.kind"}],storageKey:null},action:"NONE",path:"api"},{alias:null,args:null,concreteType:"StageEssentials",kind:"LinkedField",name:"essentials",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastPublishedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subgraphCount",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:"current",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:e,storageKey:null},{alias:"previous",args:[{kind:"Variable",name:"from",variableName:"before"},{kind:"Variable",name:"to",variableName:"from"}],concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:e,storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}}();a.hash="81d8507163b3ab73427fe84d41314cd1";const t=a},25697:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},l={kind:"Variable",name:"from",variableName:"from"},a={kind:"Variable",name:"to",variableName:"to"},t={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},r=[{kind:"Literal",name:"first",value:25},l,{kind:"Literal",name:"orderBy",value:{impact:"DESC"}},a],s=[e,n,{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},t,i];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"apiTopologyTileFragment",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[e,{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},action:"NONE",path:"api.kind"},n],storageKey:null},action:"NONE",path:"api"},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[l,a],concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:[{alias:null,args:null,concreteType:"StageLatencySummary",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageThroughputSummary",kind:"LinkedField",name:"throughput",plural:!1,selections:[t,i],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:r,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:s,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageSubgraphsMetrics",kind:"LinkedField",name:"subgraphs",plural:!1,selections:[{alias:null,args:r,concreteType:"SubgraphInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"SubgraphInsight",kind:"LinkedField",name:"node",plural:!1,selections:s,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}}();a.hash="559daac25caeb9378145b178b4f9036e";const t=a},86673:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"before"},n={defaultValue:null,kind:"LocalArgument",name:"from"},l={defaultValue:null,kind:"LocalArgument",name:"stageId"},a={defaultValue:null,kind:"LocalArgument",name:"to"},t=[{kind:"Variable",name:"id",variableName:"stageId"}],i={kind:"Variable",name:"from",variableName:"from"},r={kind:"Variable",name:"to",variableName:"to"},s=[i,r],o={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},m=[{alias:null,args:null,concreteType:"StageLatencySummary",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageThroughputSummary",kind:"LinkedField",name:"throughput",plural:!1,selections:[c,g],storageKey:null}],p=[{kind:"Literal",name:"first",value:25},i,{kind:"Literal",name:"orderBy",value:{impact:"DESC"}},r],y={alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},h=[o,u,y,c,g],f={alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a],kind:"Fragment",metadata:null,name:"gatewayOverviewQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"apiTopologyTileFragment"}]},{kind:"Defer",selections:[{args:[{kind:"Variable",name:"before",variableName:"before"},i,r],kind:"FragmentSpread",name:"apiDetailsTileFragment"}]},{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"gatewaySubgraphsTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,n,a,e],kind:"Operation",name:"gatewayOverviewQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"gatewayOverviewQuery$defer$apiTopologyTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[o,d,u],storageKey:null},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:s,concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:m,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:p,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:h,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageSubgraphsMetrics",kind:"LinkedField",name:"subgraphs",plural:!1,selections:[{alias:null,args:p,concreteType:"SubgraphInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"SubgraphInsight",kind:"LinkedField",name:"node",plural:!1,selections:h,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"gatewayOverviewQuery$defer$apiDetailsTileFragment_2bxChq",selections:[f,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[o,d],storageKey:null},{alias:null,args:null,concreteType:"StageEssentials",kind:"LinkedField",name:"essentials",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastPublishedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subgraphCount",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:"current",args:s,concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:m,storageKey:null},{alias:"previous",args:[{kind:"Variable",name:"from",variableName:"before"},{kind:"Variable",name:"to",variableName:"from"}],concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:m,storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"gatewayOverviewQuery$defer$gatewaySubgraphsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageSubgraphsMetrics",kind:"LinkedField",name:"subgraphs",plural:!1,selections:[{alias:null,args:p,concreteType:"SubgraphInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"SubgraphInsight",kind:"LinkedField",name:"node",plural:!1,selections:[o,u,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[k,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[o],storageKey:null},o],storageKey:null},{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stage",plural:!1,selections:[o,u,f],storageKey:null},y,c,g,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"SubgraphLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[x,{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SubgraphThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[x,c,g],storageKey:null}],storageKey:null},k],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:p,filters:["from","to","orderBy"],handle:"connection",key:"overviewSubgraphsGrid_subgraphs_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},o]},o],storageKey:null}]},params:{id:"a94bde056ffd41a7b99056a29d9cd3a1",metadata:{},name:"gatewayOverviewQuery",operationKind:"query",text:null}}}();a.hash="44370d716d6be4dd3eaacc6990eeacc3";const t=a},46172:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},l={defaultValue:null,kind:"LocalArgument",name:"from"},a={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},i={defaultValue:null,kind:"LocalArgument",name:"to"},r=[{kind:"Variable",name:"id",variableName:"id"}],s={kind:"Variable",name:"from",variableName:"from"},o={kind:"Variable",name:"to",variableName:"to"},d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},s,{kind:"Variable",name:"orderBy",variableName:"sort"},o],g={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,l,a,t,i],kind:"Fragment",metadata:null,name:"overviewSubgraphsGridPaginationQuery",selections:[{alias:null,args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},s,{kind:"Variable",name:"sort",variableName:"sort"},o],kind:"FragmentSpread",name:"gatewaySubgraphsGrid"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,l,t,i,a],kind:"Operation",name:"overviewSubgraphsGridPaginationQuery",selections:[{alias:null,args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,u,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageSubgraphsMetrics",kind:"LinkedField",name:"subgraphs",plural:!1,selections:[{alias:null,args:c,concreteType:"SubgraphInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"SubgraphInsight",kind:"LinkedField",name:"node",plural:!1,selections:[u,g,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[d,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[u],storageKey:null},u],storageKey:null},{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stage",plural:!1,selections:[u,g,{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},m,p,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"SubgraphLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SubgraphThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,m,p],storageKey:null}],storageKey:null},d],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:c,filters:["from","to","orderBy"],handle:"connection",key:"overviewSubgraphsGrid_subgraphs_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"e455c9c3f0ef6dee0ef3d9d235c3c74f",metadata:{},name:"overviewSubgraphsGridPaginationQuery",operationKind:"query",text:null}}}();a.hash="9f9e2a9df0ed73b9ed5649682a34c712";const t=a,i=function(){var e=["metrics","subgraphs","insights"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:{impact:"DESC"},kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"gatewaySubgraphsGrid",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageSubgraphsMetrics",kind:"LinkedField",name:"subgraphs",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"SubgraphInsightsConnection",kind:"LinkedField",name:"__overviewSubgraphsGrid_subgraphs_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"SubgraphInsight",kind:"LinkedField",name:"node",plural:!1,selections:[n,l,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subgraph",plural:!1,selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[n],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stage",plural:!1,selections:[n,l,{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},a,i,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"SubgraphLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[r,{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SubgraphThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[r,a,i],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();i.hash="9f9e2a9df0ed73b9ed5649682a34c712";const r=i},30775:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"gatewaySubgraphsTileFragment",selections:[{args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],kind:"FragmentSpread",name:"gatewaySubgraphsGrid"}],type:"Stage",abstractKey:null,hash:"0ef2276050fd8cebf35b7181b177dd82"},t=a},71309:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"before"},n={defaultValue:null,kind:"LocalArgument",name:"from"},l={defaultValue:null,kind:"LocalArgument",name:"stageId"},a={defaultValue:null,kind:"LocalArgument",name:"to"},t=[{kind:"Variable",name:"id",variableName:"stageId"}],i={kind:"Variable",name:"from",variableName:"from"},r={kind:"Variable",name:"to",variableName:"to"},s=[i,r],o={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},m=[{alias:null,args:null,concreteType:"StageLatencySummary",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageThroughputSummary",kind:"LinkedField",name:"throughput",plural:!1,selections:[c,g],storageKey:null}],p=[{kind:"Literal",name:"first",value:25},i,{kind:"Literal",name:"orderBy",value:{impact:"DESC"}},r],y=[o,u,{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},c,g];return{fragment:{argumentDefinitions:[e,n,l,a],kind:"Fragment",metadata:null,name:"serviceOverviewQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"apiTopologyTileFragment"}]},{kind:"Defer",selections:[{args:[{kind:"Variable",name:"before",variableName:"before"},i,r],kind:"FragmentSpread",name:"apiDetailsTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,n,a,e],kind:"Operation",name:"serviceOverviewQuery",selections:[{alias:"stage",args:t,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"serviceOverviewQuery$defer$apiTopologyTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[o,d,u],storageKey:null},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:s,concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:m,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:p,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:y,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageSubgraphsMetrics",kind:"LinkedField",name:"subgraphs",plural:!1,selections:[{alias:null,args:p,concreteType:"SubgraphInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"SubgraphInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"SubgraphInsight",kind:"LinkedField",name:"node",plural:!1,selections:y,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"serviceOverviewQuery$defer$apiDetailsTileFragment_2bxChq",selections:[{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[o,d],storageKey:null},{alias:null,args:null,concreteType:"StageEssentials",kind:"LinkedField",name:"essentials",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastPublishedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subgraphCount",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:"current",args:s,concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:m,storageKey:null},{alias:"previous",args:[{kind:"Variable",name:"from",variableName:"before"},{kind:"Variable",name:"to",variableName:"from"}],concreteType:"StageOperationMetricsSummary",kind:"LinkedField",name:"summary",plural:!1,selections:m,storageKey:null}],storageKey:null}],storageKey:null}]},o],storageKey:null}]},params:{id:"734ad32aea89c2e90036d22ee180b057",metadata:{},name:"serviceOverviewQuery",operationKind:"query",text:null}}}();a.hash="dff18f07d22c892cfb9efdcff57ff123";const t=a},99719:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},{kind:"Literal",name:"kind",value:"SCHEMA"}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"changesListContentChangelogPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"changesListContentChangelogFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"changesListContentChangelogPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:t,concreteType:"StageChangeLogConnection",kind:"LinkedField",name:"changeLog",plural:!1,selections:[{alias:null,args:null,concreteType:"StageChangeLogEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"changedAt",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null}],type:"SchemaChangeLog",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:t,filters:["kind"],handle:"connection",key:"changesListContent_stage_changeLog",kind:"LinkedHandle",name:"changeLog"}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"e15d13e40983b184d6c87ffe790c2e4e",metadata:{},name:"changesListContentChangelogPaginationQuery",operationKind:"query",text:null}}}();a.hash="c0a0da4036d93c4e2d4169d6af466173";const t=a,i=function(){var e=["changeLog"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"changesListContentChangelogFragment",selections:[{alias:"changeLog",args:[{kind:"Literal",name:"kind",value:"SCHEMA"}],concreteType:"StageChangeLogConnection",kind:"LinkedField",name:"__changesListContent_stage_changeLog_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"StageChangeLogEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"changedAt",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"changelogStatsFragment"}],storageKey:null}],type:"SchemaChangeLog",abstractKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:'__changesListContent_stage_changeLog_connection(kind:"SCHEMA")'},n],type:"Stage",abstractKey:null}}();i.hash="c0a0da4036d93c4e2d4169d6af466173";const r=i},26405:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"stageId"}],n=[{kind:"Variable",name:"id",variableName:"stageId"}],l=[{kind:"Literal",name:"first",value:50},{kind:"Literal",name:"kind",value:"SCHEMA"}],a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"changesListContentQuery",selections:[{alias:"stage",args:n,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"changesListContentChangelogFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"changesListContentQuery",selections:[{alias:"stage",args:n,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:l,concreteType:"StageChangeLogConnection",kind:"LinkedField",name:"changeLog",plural:!1,selections:[{alias:null,args:null,concreteType:"StageChangeLogEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"changedAt",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null}],type:"SchemaChangeLog",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:'changeLog(first:50,kind:"SCHEMA")'},{alias:null,args:l,filters:["kind"],handle:"connection",key:"changesListContent_stage_changeLog",kind:"LinkedHandle",name:"changeLog"},a],storageKey:null}]},params:{id:"074037fff3f1a23b940472393e776507",metadata:{},name:"changesListContentQuery",operationKind:"query",text:null}}}();a.hash="3d21f3fa228d60da096f1c4c08912229";const t=a},22963:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{alias:null,args:null,kind:"ScalarField",name:"downloadUrl",storageKey:null}];return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogDiffFragment",selections:[{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:e,storageKey:null},{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"previousSchema",plural:!1,selections:e,storageKey:null}],type:"SchemaChangeLog",abstractKey:null}}();a.hash="d4b11ee79509218ee0582a793518ace8";const t=a},12743:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryArgumentAddedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"ArgumentAdded",abstractKey:null,hash:"4410db30f4e38fdf8ce7d3fdea22373f"},t=a},65841:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryArgumentChangedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDeprecatedChangeFragment"}],type:"DeprecatedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryTypeChangedFragment"}],type:"TypeChanged",abstractKey:null}],storageKey:null}],type:"ArgumentChanged",abstractKey:null}}();a.hash="338685b336d93a902f63445cc3a67da9";const t=a},46001:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryArgumentRemovedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"ArgumentRemoved",abstractKey:null,hash:"a7cee98ae92be1aa3f10b1d55c5a4cc0"},t=a},37493:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryDeprecatedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"deprecationReason",storageKey:null}],type:"DeprecatedChange",abstractKey:null,hash:"9396140ece0146f6250142aeb542bbc5"},t=a},66790:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryDescriptionChangedFragment",selections:[{alias:"oldValue",args:null,kind:"ScalarField",name:"old",storageKey:null},{alias:"newValue",args:null,kind:"ScalarField",name:"new",storageKey:null}],type:"DescriptionChanged",abstractKey:null,hash:"0512821f10d8ae8b92505a3ced4617d1"},t=a},93388:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryDirectiveLocationAddedFragmentFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null}],type:"DirectiveLocationAdded",abstractKey:null,hash:"20b2713cfe43b3115e6be610238d5e0a"},t=a},5938:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryDirectiveLocationRemovedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null}],type:"DirectiveLocationRemoved",abstractKey:null,hash:"acac97bbd374356c89c65fe55446df8b"},t=a},54290:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryDirectiveModifiedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDirectiveLocationAddedFragmentFragment"}],type:"DirectiveLocationAdded",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDirectiveLocationRemovedFragment"}],type:"DirectiveLocationRemoved",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryArgumentRemovedFragment"}],type:"ArgumentRemoved",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryArgumentChangedFragment"}],type:"ArgumentChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryArgumentAddedFragment"}],type:"ArgumentAdded",abstractKey:null}],storageKey:null}],type:"DirectiveModifiedChange",abstractKey:null}}();a.hash="987ba398518e944ece6cc5868ba1e122";const t=a},1358:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryEnumModifiedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryEnumValueRemovedFragment"}],type:"EnumValueRemoved",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryEnumValueAddedFragment"}],type:"EnumValueAdded",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryEnumValueChangedFragment"}],type:"EnumValueChanged",abstractKey:null}],storageKey:null}],type:"EnumModifiedChange",abstractKey:null}}();a.hash="46e40dc4efd41e4cc9466d5428c6bd68";const t=a},85868:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryEnumValueAddedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"EnumValueAdded",abstractKey:null,hash:"0deb35bf79b3d689f64719f53985b965"},t=a},53666:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryEnumValueChangedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDeprecatedChangeFragment"}],type:"DeprecatedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null}],storageKey:null}],type:"EnumValueChanged",abstractKey:null}}();a.hash="2b4a6c440f23b3e804569ccf82a5ed3f";const t=a},66002:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryEnumValueRemovedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"EnumValueRemoved",abstractKey:null,hash:"78fb3c39a3801be3095f9a301a39cc8f"},t=a},59242:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryFieldAddedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"FieldAddedChange",abstractKey:null,hash:"767e5283e5fba90c9b05998bac94d6ee"},t=a},18616:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryFieldRemovedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"FieldRemovedChange",abstractKey:null,hash:"10da4fbe1fe10f8296aacd7d9a7f23b3"},t=a},58524:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryFragment",selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryTypeRemovedFragment"}],type:"TypeSystemMemberRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryTypeAddedFragment"}],type:"TypeSystemMemberAddedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryObjectModifiedChangeFragment"}],type:"ObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryInputObjectModifiedChangeFragment"}],type:"InputObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDirectiveModifiedChangeFragment"}],type:"DirectiveModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryScalarModifiedChangeFragment"}],type:"ScalarModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryEnumModifiedChangeFragment"}],type:"EnumModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryUnionModifiedChangeFragment"}],type:"UnionModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryInterfaceModifiedChangeFragment"}],type:"InterfaceModifiedChange",abstractKey:null}],type:"SchemaChangeLogEntry",abstractKey:"__isSchemaChangeLogEntry"}}();a.hash="2bfd79a82b4db372e9a54e6821f3ae8b";const t=a},26760:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryInputFieldChangedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryTypeChangedFragment"}],type:"TypeChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDeprecatedChangeFragment"}],type:"DeprecatedChange",abstractKey:null}],storageKey:null}],type:"InputFieldChanged",abstractKey:null}}();a.hash="b7d2483e89bbdfc00fba3835f1be2bd6";const t=a},32792:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryInputObjectModifiedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryFieldAddedChangeFragment"}],type:"FieldAddedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryFieldRemovedChangeFragment"}],type:"FieldRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryInputFieldChangedFragment"}],type:"InputFieldChanged",abstractKey:null}],storageKey:null}],type:"InputObjectModifiedChange",abstractKey:null}}();a.hash="89b08707f2cf8d0e0c7d85052b081149";const t=a},89653:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryInterfaceImplementationAddedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"interfaceName",storageKey:null}],type:"InterfaceImplementationAdded",abstractKey:null,hash:"92ce0d083ee173edabfec7eee5ec6427"},t=a},2427:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryInterfaceImplementationRemovedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"interfaceName",storageKey:null}],type:"InterfaceImplementationRemoved",abstractKey:null,hash:"d895d3de6d5e99a4790b71ff5f6bc201"},t=a},52524:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryInterfaceModifiedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryInterfaceImplementationAddedFragment"}],type:"InterfaceImplementationAdded",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryInterfaceImplementationRemovedFragment"}],type:"InterfaceImplementationRemoved",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryFieldAddedChangeFragment"}],type:"FieldAddedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryFieldRemovedChangeFragment"}],type:"FieldRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryOutputFieldChangedFragment"}],type:"OutputFieldChanged",abstractKey:null}],storageKey:null}],type:"InterfaceModifiedChange",abstractKey:null}}();a.hash="958ff11dbd7168df72260696729a5aa7";const t=a},77516:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryObjectModifiedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryInterfaceImplementationAddedFragment"}],type:"InterfaceImplementationAdded",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryInterfaceImplementationRemovedFragment"}],type:"InterfaceImplementationRemoved",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryFieldAddedChangeFragment"}],type:"FieldAddedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryFieldRemovedChangeFragment"}],type:"FieldRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryOutputFieldChangedFragment"}],type:"OutputFieldChanged",abstractKey:null}],storageKey:null}],type:"ObjectModifiedChange",abstractKey:null}}();a.hash="7cbb894bf1f9114a8884abc8ebe6e36c";const t=a},48689:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryOutputFieldChangedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryArgumentRemovedFragment"}],type:"ArgumentRemoved",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryArgumentAddedFragment"}],type:"ArgumentAdded",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryArgumentChangedFragment"}],type:"ArgumentChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryTypeChangedFragment"}],type:"TypeChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDeprecatedChangeFragment"}],type:"DeprecatedChange",abstractKey:null}],storageKey:null}],type:"OutputFieldChanged",abstractKey:null}}();a.hash="b76f71cfdd56437d77bad93bcc19034f";const t=a},16587:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryScalarModifiedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null}],storageKey:null}],type:"ScalarModifiedChange",abstractKey:null,hash:"f6cd0af5075f8cb0486ba56028a5f0a8"},t=a},45478:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryTypeAddedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"TypeSystemMemberAddedChange",abstractKey:null,hash:"6f00af7a08032e152596a90f32558cee"},t=a},91896:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryTypeChangedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"oldType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"newType",storageKey:null}],type:"TypeChanged",abstractKey:null,hash:"d3f49ae32ea1d71c3df87a40eafc9d5b"},t=a},46568:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryTypeRemovedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null}],type:"TypeSystemMemberRemovedChange",abstractKey:null,hash:"4784f181182263efa340186bc6d6703f"},t=a},73241:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryUnionMemberAddedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"typeName",storageKey:null}],type:"UnionMemberAdded",abstractKey:null,hash:"aa8c2be7d658d9fc70471a403921b3aa"},t=a},50060:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryUnionMemberRemovedFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"typeName",storageKey:null}],type:"UnionMemberRemoved",abstractKey:null,hash:"834a2712027422cb59dafe63c81f5eaa"},t=a},10452:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogEntryUnionModifiedChangeFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryDescriptionChangedFragment"}],type:"DescriptionChanged",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryUnionMemberRemovedFragment"}],type:"UnionMemberRemoved",abstractKey:null},{kind:"InlineFragment",selections:[e,{args:null,kind:"FragmentSpread",name:"changelogEntryUnionMemberAddedFragment"}],type:"UnionMemberAdded",abstractKey:null}],storageKey:null}],type:"UnionModifiedChange",abstractKey:null}}();a.hash="d4697d13463c8b15d7cca29331ef2e85";const t=a},84620:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogInfoFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"changedAt",storageKey:null}],type:"SchemaChangeLog",abstractKey:null,hash:"11f365f884477a0c6b68cdcb0626943a"},t=a},37135:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},{kind:"Literal",name:"severity",value:"BREAKING"}],t={alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},r=[t,i],s=[t,{alias:null,args:null,kind:"ScalarField",name:"interfaceName",storageKey:null}],o={kind:"InlineFragment",selections:[{alias:"oldValue",args:null,kind:"ScalarField",name:"old",storageKey:null},{alias:"newValue",args:null,kind:"ScalarField",name:"new",storageKey:null}],type:"DescriptionChanged",abstractKey:null},d={kind:"InlineFragment",selections:r,type:"FieldAddedChange",abstractKey:null},u={kind:"InlineFragment",selections:r,type:"FieldRemovedChange",abstractKey:null},c={kind:"InlineFragment",selections:r,type:"ArgumentRemoved",abstractKey:null},g={kind:"InlineFragment",selections:r,type:"ArgumentAdded",abstractKey:null},m={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"deprecationReason",storageKey:null}],type:"DeprecatedChange",abstractKey:null},p={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"oldType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"newType",storageKey:null}],type:"TypeChanged",abstractKey:null},y={kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,m,p],storageKey:null}],type:"ArgumentChanged",abstractKey:null},h=[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:s,type:"InterfaceImplementationAdded",abstractKey:null},{kind:"InlineFragment",selections:s,type:"InterfaceImplementationRemoved",abstractKey:null},o,d,u,{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,c,g,y,o,p,m],storageKey:null}],type:"OutputFieldChanged",abstractKey:null}],storageKey:null}],f=[{alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null}],k=[t,{alias:null,args:null,kind:"ScalarField",name:"typeName",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"changelogLogBreakingChangesPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"changelogLogBreakingChangesFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"changelogLogBreakingChangesPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:"breaking",args:a,concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{kind:"TypeDiscriminator",abstractKey:"__isSchemaChangeLogEntry"},{kind:"InlineFragment",selections:r,type:"TypeSystemMemberRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:r,type:"TypeSystemMemberAddedChange",abstractKey:null},{kind:"InlineFragment",selections:h,type:"ObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,d,u,{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,p,m],storageKey:null}],type:"InputFieldChanged",abstractKey:null}],storageKey:null}],type:"InputObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:f,type:"DirectiveLocationAdded",abstractKey:null},{kind:"InlineFragment",selections:f,type:"DirectiveLocationRemoved",abstractKey:null},o,c,y,g],storageKey:null}],type:"DirectiveModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o],storageKey:null}],type:"ScalarModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,{kind:"InlineFragment",selections:r,type:"EnumValueRemoved",abstractKey:null},{kind:"InlineFragment",selections:r,type:"EnumValueAdded",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,m,o],storageKey:null}],type:"EnumValueChanged",abstractKey:null}],storageKey:null}],type:"EnumModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,{kind:"InlineFragment",selections:k,type:"UnionMemberRemoved",abstractKey:null},{kind:"InlineFragment",selections:k,type:"UnionMemberAdded",abstractKey:null}],storageKey:null}],type:"UnionModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:h,type:"InterfaceModifiedChange",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:"breaking",args:a,filters:["severity"],handle:"connection",key:"changelogLog_schemachangelog_breaking",kind:"LinkedHandle",name:"changes"}],type:"SchemaChangeLog",abstractKey:null}],storageKey:null}]},params:{id:"05b7d543252565819e516aae5d333b5b",metadata:{},name:"changelogLogBreakingChangesPaginationQuery",operationKind:"query",text:null}}}();a.hash="35abccb5329d29fc8ad25d7a75b3b26b";const t=a,i=function(){var e=["breaking"];return{argumentDefinitions:[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"changelogLogBreakingChangesFragment",selections:[{alias:"breaking",args:[{kind:"Literal",name:"severity",value:"BREAKING"}],concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"__changelogLog_schemachangelog_breaking_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"changelogEntryFragment"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:'__changelogLog_schemachangelog_breaking_connection(severity:"BREAKING")'},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"SchemaChangeLog",abstractKey:null}}();i.hash="35abccb5329d29fc8ad25d7a75b3b26b";const r=i},46925:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},{kind:"Literal",name:"severity",value:"DANGEROUS"}],t={alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},r=[t,i],s=[t,{alias:null,args:null,kind:"ScalarField",name:"interfaceName",storageKey:null}],o={kind:"InlineFragment",selections:[{alias:"oldValue",args:null,kind:"ScalarField",name:"old",storageKey:null},{alias:"newValue",args:null,kind:"ScalarField",name:"new",storageKey:null}],type:"DescriptionChanged",abstractKey:null},d={kind:"InlineFragment",selections:r,type:"FieldAddedChange",abstractKey:null},u={kind:"InlineFragment",selections:r,type:"FieldRemovedChange",abstractKey:null},c={kind:"InlineFragment",selections:r,type:"ArgumentRemoved",abstractKey:null},g={kind:"InlineFragment",selections:r,type:"ArgumentAdded",abstractKey:null},m={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"deprecationReason",storageKey:null}],type:"DeprecatedChange",abstractKey:null},p={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"oldType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"newType",storageKey:null}],type:"TypeChanged",abstractKey:null},y={kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,m,p],storageKey:null}],type:"ArgumentChanged",abstractKey:null},h=[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:s,type:"InterfaceImplementationAdded",abstractKey:null},{kind:"InlineFragment",selections:s,type:"InterfaceImplementationRemoved",abstractKey:null},o,d,u,{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,c,g,y,o,p,m],storageKey:null}],type:"OutputFieldChanged",abstractKey:null}],storageKey:null}],f=[{alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null}],k=[t,{alias:null,args:null,kind:"ScalarField",name:"typeName",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"changelogLogDangerousChangesPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"changelogLogDangerousChangesFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"changelogLogDangerousChangesPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:"dangerous",args:a,concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{kind:"TypeDiscriminator",abstractKey:"__isSchemaChangeLogEntry"},{kind:"InlineFragment",selections:r,type:"TypeSystemMemberRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:r,type:"TypeSystemMemberAddedChange",abstractKey:null},{kind:"InlineFragment",selections:h,type:"ObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,d,u,{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,p,m],storageKey:null}],type:"InputFieldChanged",abstractKey:null}],storageKey:null}],type:"InputObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:f,type:"DirectiveLocationAdded",abstractKey:null},{kind:"InlineFragment",selections:f,type:"DirectiveLocationRemoved",abstractKey:null},o,c,y,g],storageKey:null}],type:"DirectiveModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o],storageKey:null}],type:"ScalarModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,{kind:"InlineFragment",selections:r,type:"EnumValueRemoved",abstractKey:null},{kind:"InlineFragment",selections:r,type:"EnumValueAdded",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,m,o],storageKey:null}],type:"EnumValueChanged",abstractKey:null}],storageKey:null}],type:"EnumModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,{kind:"InlineFragment",selections:k,type:"UnionMemberRemoved",abstractKey:null},{kind:"InlineFragment",selections:k,type:"UnionMemberAdded",abstractKey:null}],storageKey:null}],type:"UnionModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:h,type:"InterfaceModifiedChange",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:"dangerous",args:a,filters:["severity"],handle:"connection",key:"changelogLog_schemachangelog_dangerous",kind:"LinkedHandle",name:"changes"}],type:"SchemaChangeLog",abstractKey:null}],storageKey:null}]},params:{id:"fe43f0a03bc835bd37ca043c76a76a3b",metadata:{},name:"changelogLogDangerousChangesPaginationQuery",operationKind:"query",text:null}}}();a.hash="5d8dd7c83bfcf67c8e66d86c568d9ab1";const t=a,i=function(){var e=["dangerous"];return{argumentDefinitions:[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"changelogLogDangerousChangesFragment",selections:[{alias:"dangerous",args:[{kind:"Literal",name:"severity",value:"DANGEROUS"}],concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"__changelogLog_schemachangelog_dangerous_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"changelogEntryFragment"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:'__changelogLog_schemachangelog_dangerous_connection(severity:"DANGEROUS")'},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"SchemaChangeLog",abstractKey:null}}();i.hash="5d8dd7c83bfcf67c8e66d86c568d9ab1";const r=i},51590:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogLogFragment",selections:[{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"changelogLogBreakingChangesFragment"},{args:null,kind:"FragmentSpread",name:"changelogLogDangerousChangesFragment"},{args:null,kind:"FragmentSpread",name:"changelogLogSafeChangesFragment"}],type:"SchemaChangeLog",abstractKey:null,hash:"c85c6330101287fc923f092d895a7fbc"},t=a},42066:(e,n,l)=>{l.r(n),l.d(n,{default:()=>r});const a=function(){var e=[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],n=[{kind:"Variable",name:"id",variableName:"id"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},{kind:"Literal",name:"severity",value:"SAFE"}],t={alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},r=[t,i],s=[t,{alias:null,args:null,kind:"ScalarField",name:"interfaceName",storageKey:null}],o={kind:"InlineFragment",selections:[{alias:"oldValue",args:null,kind:"ScalarField",name:"old",storageKey:null},{alias:"newValue",args:null,kind:"ScalarField",name:"new",storageKey:null}],type:"DescriptionChanged",abstractKey:null},d={kind:"InlineFragment",selections:r,type:"FieldAddedChange",abstractKey:null},u={kind:"InlineFragment",selections:r,type:"FieldRemovedChange",abstractKey:null},c={kind:"InlineFragment",selections:r,type:"ArgumentRemoved",abstractKey:null},g={kind:"InlineFragment",selections:r,type:"ArgumentAdded",abstractKey:null},m={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"deprecationReason",storageKey:null}],type:"DeprecatedChange",abstractKey:null},p={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"oldType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"newType",storageKey:null}],type:"TypeChanged",abstractKey:null},y={kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,m,p],storageKey:null}],type:"ArgumentChanged",abstractKey:null},h=[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:s,type:"InterfaceImplementationAdded",abstractKey:null},{kind:"InlineFragment",selections:s,type:"InterfaceImplementationRemoved",abstractKey:null},o,d,u,{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,c,g,y,o,p,m],storageKey:null}],type:"OutputFieldChanged",abstractKey:null}],storageKey:null}],f=[{alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null}],k=[t,{alias:null,args:null,kind:"ScalarField",name:"typeName",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"changelogLogSafeChangesPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"changelogLogSafeChangesFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"changelogLogSafeChangesPaginationQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:"safe",args:a,concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{kind:"TypeDiscriminator",abstractKey:"__isSchemaChangeLogEntry"},{kind:"InlineFragment",selections:r,type:"TypeSystemMemberRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:r,type:"TypeSystemMemberAddedChange",abstractKey:null},{kind:"InlineFragment",selections:h,type:"ObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,d,u,{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,p,m],storageKey:null}],type:"InputFieldChanged",abstractKey:null}],storageKey:null}],type:"InputObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:f,type:"DirectiveLocationAdded",abstractKey:null},{kind:"InlineFragment",selections:f,type:"DirectiveLocationRemoved",abstractKey:null},o,c,y,g],storageKey:null}],type:"DirectiveModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o],storageKey:null}],type:"ScalarModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,{kind:"InlineFragment",selections:r,type:"EnumValueRemoved",abstractKey:null},{kind:"InlineFragment",selections:r,type:"EnumValueAdded",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,m,o],storageKey:null}],type:"EnumValueChanged",abstractKey:null}],storageKey:null}],type:"EnumModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[t,i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,o,{kind:"InlineFragment",selections:k,type:"UnionMemberRemoved",abstractKey:null},{kind:"InlineFragment",selections:k,type:"UnionMemberAdded",abstractKey:null}],storageKey:null}],type:"UnionModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:h,type:"InterfaceModifiedChange",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:"safe",args:a,filters:["severity"],handle:"connection",key:"changelogLog_schemachangelog_safe",kind:"LinkedHandle",name:"changes"}],type:"SchemaChangeLog",abstractKey:null}],storageKey:null}]},params:{id:"6f8abfd7de0245f24fea2c13cb3fd820",metadata:{},name:"changelogLogSafeChangesPaginationQuery",operationKind:"query",text:null}}}();a.hash="640998e9997f6967e37f66cf4e8a4026";const t=a,i=function(){var e=["safe"];return{argumentDefinitions:[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:t,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"changelogLogSafeChangesFragment",selections:[{alias:"safe",args:[{kind:"Literal",name:"severity",value:"SAFE"}],concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"__changelogLog_schemachangelog_safe_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"changelogEntryFragment"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:'__changelogLog_schemachangelog_safe_connection(severity:"SAFE")'},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"SchemaChangeLog",abstractKey:null}}();i.hash="640998e9997f6967e37f66cf4e8a4026";const r=i},41016:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"changelogId"}],n=[{kind:"Variable",name:"id",variableName:"changelogId"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={kind:"Literal",name:"first",value:20},i=[t,{kind:"Literal",name:"severity",value:"BREAKING"}],r={alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},o=[r,s],d=[r,{alias:null,args:null,kind:"ScalarField",name:"interfaceName",storageKey:null}],u={kind:"InlineFragment",selections:[{alias:"oldValue",args:null,kind:"ScalarField",name:"old",storageKey:null},{alias:"newValue",args:null,kind:"ScalarField",name:"new",storageKey:null}],type:"DescriptionChanged",abstractKey:null},c={kind:"InlineFragment",selections:o,type:"FieldAddedChange",abstractKey:null},g={kind:"InlineFragment",selections:o,type:"FieldRemovedChange",abstractKey:null},m={kind:"InlineFragment",selections:o,type:"ArgumentRemoved",abstractKey:null},p={kind:"InlineFragment",selections:o,type:"ArgumentAdded",abstractKey:null},y={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"deprecationReason",storageKey:null}],type:"DeprecatedChange",abstractKey:null},h={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"oldType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"newType",storageKey:null}],type:"TypeChanged",abstractKey:null},f={kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,u,y,h],storageKey:null}],type:"ArgumentChanged",abstractKey:null},k=[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:d,type:"InterfaceImplementationAdded",abstractKey:null},{kind:"InlineFragment",selections:d,type:"InterfaceImplementationRemoved",abstractKey:null},u,c,g,{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,m,p,f,u,h,y],storageKey:null}],type:"OutputFieldChanged",abstractKey:null}],storageKey:null}],x=[{alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null}],b=[r,{alias:null,args:null,kind:"ScalarField",name:"typeName",storageKey:null}],v=[{alias:null,args:null,concreteType:"SchemaChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{kind:"TypeDiscriminator",abstractKey:"__isSchemaChangeLogEntry"},{kind:"InlineFragment",selections:o,type:"TypeSystemMemberRemovedChange",abstractKey:null},{kind:"InlineFragment",selections:o,type:"TypeSystemMemberAddedChange",abstractKey:null},{kind:"InlineFragment",selections:k,type:"ObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,u,c,g,{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,u,h,y],storageKey:null}],type:"InputFieldChanged",abstractKey:null}],storageKey:null}],type:"InputObjectModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,{kind:"InlineFragment",selections:x,type:"DirectiveLocationAdded",abstractKey:null},{kind:"InlineFragment",selections:x,type:"DirectiveLocationRemoved",abstractKey:null},u,m,f,p],storageKey:null}],type:"DirectiveModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,u],storageKey:null}],type:"ScalarModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,u,{kind:"InlineFragment",selections:o,type:"EnumValueRemoved",abstractKey:null},{kind:"InlineFragment",selections:o,type:"EnumValueAdded",abstractKey:null},{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,y,u],storageKey:null}],type:"EnumValueChanged",abstractKey:null}],storageKey:null}],type:"EnumModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"changes",plural:!0,selections:[l,u,{kind:"InlineFragment",selections:b,type:"UnionMemberRemoved",abstractKey:null},{kind:"InlineFragment",selections:b,type:"UnionMemberAdded",abstractKey:null}],storageKey:null}],type:"UnionModifiedChange",abstractKey:null},{kind:"InlineFragment",selections:k,type:"InterfaceModifiedChange",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],F=["severity"],S=[t,{kind:"Literal",name:"severity",value:"DANGEROUS"}],j=[t,{kind:"Literal",name:"severity",value:"SAFE"}],K=[{alias:null,args:null,kind:"ScalarField",name:"downloadUrl",storageKey:null},a];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"changelogQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"changelogSummaryFragment"},{args:null,kind:"FragmentSpread",name:"changelogViewerFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"changelogQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,a,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"changedAt",storageKey:null},{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],storageKey:null},{alias:"breaking",args:i,concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:v,storageKey:'changes(first:20,severity:"BREAKING")'},{alias:"breaking",args:i,filters:F,handle:"connection",key:"changelogLog_schemachangelog_breaking",kind:"LinkedHandle",name:"changes"},{alias:"dangerous",args:S,concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:v,storageKey:'changes(first:20,severity:"DANGEROUS")'},{alias:"dangerous",args:S,filters:F,handle:"connection",key:"changelogLog_schemachangelog_dangerous",kind:"LinkedHandle",name:"changes"},{alias:"safe",args:j,concreteType:"SchemaChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:v,storageKey:'changes(first:20,severity:"SAFE")'},{alias:"safe",args:j,filters:F,handle:"connection",key:"changelogLog_schemachangelog_safe",kind:"LinkedHandle",name:"changes"},{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"schema",plural:!1,selections:K,storageKey:null},{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"previousSchema",plural:!1,selections:K,storageKey:null}],type:"SchemaChangeLog",abstractKey:null}],storageKey:null}]},params:{id:"a6d6db3de048c67a5505218f033e67e7",metadata:{},name:"changelogQuery",operationKind:"query",text:null}}}();a.hash="123f504a155e70e5f4a2c646d4b90dd1";const t=a},19467:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogStatsFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"breaking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dangerous",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"safe",storageKey:null}],type:"SchemaChangeLogStatistic",abstractKey:null,hash:"f6d724af9070dc13e21c7ec89ae1f8bc"},t=a},15784:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogSummaryFragment",selections:[{args:null,kind:"FragmentSpread",name:"changelogInfoFragment"},{alias:null,args:null,concreteType:"SchemaChangeLogStatistic",kind:"LinkedField",name:"statistic",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"changelogStatsFragment"}],storageKey:null}],type:"SchemaChangeLog",abstractKey:null,hash:"8e96bb0676afebe18fa6e982d75bfb9a"},t=a},66662:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"changelogViewerFragment",selections:[{args:null,kind:"FragmentSpread",name:"changelogLogFragment"},{args:null,kind:"FragmentSpread",name:"changelogDiffFragment"}],type:"SchemaChangeLog",abstractKey:null,hash:"d938141ecfcafc50b5650c43ef741e8a"},t=a},80350:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"editStagesDialogFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e,{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"conditions",plural:!0,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"afterStage",plural:!1,selections:[e],storageKey:null}],type:"AfterStageCondition",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Api",abstractKey:null}}();a.hash="dae42b570b1ac778fb3002b9c1c73c80";const t=a},50823:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],n=[{kind:"Variable",name:"input",variableName:"input"}],l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},i={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"Error",abstractKey:"__isError"},r={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"editStagesDialogUpdateStagesMutation",selections:[{alias:null,args:n,concreteType:"UpdateStagesPayload",kind:"LinkedField",name:"updateStages",plural:!1,selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[l,a,t,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"conditions",plural:!0,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"afterStage",plural:!1,selections:[a],storageKey:null}],type:"AfterStageCondition",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[i],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"editStagesDialogUpdateStagesMutation",selections:[{alias:null,args:n,concreteType:"UpdateStagesPayload",kind:"LinkedField",name:"updateStages",plural:!1,selections:[{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[l,a,t,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"conditions",plural:!0,selections:[r,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"afterStage",plural:!1,selections:[a,l],storageKey:null}],type:"AfterStageCondition",abstractKey:null}],storageKey:null}],storageKey:null},l],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[r,i],storageKey:null}],storageKey:null}]},params:{id:"e05205cabd835bca494a0e3ae14f58c3",metadata:{},name:"editStagesDialogUpdateStagesMutation",operationKind:"mutation",text:null}}}();a.hash="da067851ce1a8a7ddea2aac0a4e1ea44";const t=a},7646:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"stagesGraphFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e,{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"conditions",plural:!0,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"afterStage",plural:!1,selections:[e],storageKey:null}],type:"AfterStageCondition",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PublishedSchemaVersion",kind:"LinkedField",name:"publishedSchema",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"version",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"downloadUrl",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Api",abstractKey:null}}();a.hash="55e3cca508ff24586787ab14607d61fe";const t=a},6854:(e,n,l)=>{l.r(n),l.d(n,{default:()=>t});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"apiId"}],n=[{kind:"Variable",name:"id",variableName:"apiId"}],l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"stagesQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"stagesGraphFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"stagesQuery",selections:[{alias:"api",args:n,concreteType:"Api",kind:"LinkedField",name:"apiById",plural:!1,selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"stages",plural:!0,selections:[l,a,{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"conditions",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Stage",kind:"LinkedField",name:"afterStage",plural:!1,selections:[a,l],storageKey:null}],type:"AfterStageCondition",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PublishedSchemaVersion",kind:"LinkedField",name:"publishedSchema",plural:!1,selections:[{alias:null,args:null,concreteType:"SchemaVersion",kind:"LinkedField",name:"version",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"tag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"downloadUrl",storageKey:null},l],storageKey:null}],storageKey:null}],storageKey:null},l],storageKey:null}]},params:{id:"36866b8421edaeb0b31434a21c070de4",metadata:{},name:"stagesQuery",operationKind:"query",text:null}}}();a.hash="1fb1e84ae12aac80e8cfe71c9d81b45b";const t=a},81092:(e,n,l)=>{l.d(n,{HR:()=>p,Lr:()=>h,N5:()=>y,N9:()=>b,R2:()=>g,d8:()=>k,g9:()=>f,np:()=>x});var a,t,i,r,s,o=l(57528),d=l(19045),u=l(69311),c=l(44414);const g=u.Ay.div(a||(a=(0,o.A)(["display:flex;align-items:center;justify-content:center;width:42px;height:18px;border-radius:4px;text-transform:uppercase;background-color:",";color:",";"])),d.lt.states.info,d.lt.states.infoText),m=u.Ay.div(t||(t=(0,o.A)(["display:flex;align-items:center;justify-content:center;width:42px;height:18px;border-radius:4px;text-transform:uppercase;background-color:",";color:",";"])),d.lt.states.success,d.lt.states.successText),p=u.Ay.div(i||(i=(0,o.A)(["display:flex;align-items:center;justify-content:center;width:42px;height:18px;border-radius:4px;text-transform:uppercase;background-color:",";color:",";"])),d.lt.states.failure,d.lt.states.failureText),y=u.Ay.div(r||(r=(0,o.A)(["display:flex;align-items:center;justify-content:center;width:42px;height:18px;border-radius:4px;text-transform:uppercase;background-color:",";color:",";"])),d.lt.states.warning,d.lt.states.warningText),h=u.Ay.div(s||(s=(0,o.A)(["display:flex;justify-content:center;padding-left:6px;"])));function f(e){let{status:n,statusCode:l}=e;return"pending"===n?(0,c.jsx)(g,{children:"PEN"}):"cancelled"===n?(0,c.jsx)(y,{children:"CAN"}):l?(0,c.jsx)(k,{statusCode:l}):(0,c.jsx)(p,{children:"ERR"})}function k(e){let{statusCode:n}=e;return n<300?(0,c.jsx)(m,{children:n}):(0,c.jsx)(p,{children:n})}function x(e){let{status:n}=e;switch(n){case"cancelled":return(0,c.jsx)(y,{children:"CAN"});case"failed":return(0,c.jsx)(p,{children:"ERR"});case"pending":return(0,c.jsx)(g,{children:"PEN"});case"succeeded":return(0,c.jsx)(m,{children:"SUC"})}}function b(e){let{status:n}=e;return"pending"===n?(0,c.jsx)(g,{children:"PEN"}):"failed"===n?(0,c.jsx)(p,{children:"ERR"}):(0,c.jsx)(m,{children:"OK"})}},99471:(e,n,l)=>{l.d(n,{Bp:()=>g,L2:()=>s,Mg:()=>d,Vs:()=>u,Yq:()=>o,k1:()=>r,s_:()=>c});var a=l(15209),t=l(66094),i=l(10258);function r(e){let n=e;for(;n;){if(n.metadata.kind===t.mv2)return n.metadata.id;n=n.parent}}function s(e,n){const l=o(e,n);if(l&&(0,a.Th)(l))return l}function o(e,n){var l;return e?n?n.expandable?n:null!==(l=n.parent)&&void 0!==l?l:e:e:void 0}function d(e){return!!r(e)}function u(e){return e.triggerCreate({name:"",checkable:!1,expandable:!0,renamable:!0,metadata:{id:(0,i.aP)(),kind:t.mv2}})}function c(e){return e.triggerCreate({name:"",checkable:!1,expandable:!1,renamable:!0,metadata:{id:(0,i.lm)(),kind:"node"===e.kind&&d(e)?t.wAF:t.UjY}})}function g(e){return e.triggerCreate({name:"",checkable:!1,expandable:!0,renamable:!0,metadata:{id:(0,i.sf)(),kind:t.GPt}})}},69253:(e,n,l)=>{l.d(n,{H:()=>w,s:()=>I});var a,t,i,r,s,o,d,u,c=l(57528),g=(l(75885),l(19045)),m=l(67315),p=l(64381),y=l(34890),h=l(99074),f=l(69649),k=l(66800),x=l(15209),b=l(23406),v=l(47594),F=l(23845),S=l(66094),j=l(10258),K=l(9950),C=l(54472),L=l(69311),A=l(44414);const T="file-upload";function I(){var e,n;const l=(0,m.l$t)(T),a=(0,m.Cjx)(),t=(0,K.useRef)(void 0),i=(0,K.useRef)([]),r=(0,v.CH)(),s=(0,K.useCallback)((async()=>{var e,n;l&&null!==(e=t.current)&&void 0!==e&&e.length&&(await(0,S.T$s)(l.item.context.workspaceId,l.item.context.parentId,...t.current.map((e=>{let{name:n,content:l}=e;return{name:n,content:l}}))),a(),null===(n=x.vL.get(F.xb))||void 0===n||n.reload(),t.current=void 0,r(),l.hide())}),[l,r,a]),o=(0,K.useCallback)((()=>{t.current=void 0,r(),null===l||void 0===l||l.hide()}),[l,r]),d=(0,K.useCallback)((async(e,n)=>{var a;if(l&&null!==(a=t.current)&&void 0!==a&&a.length){var s;const a=[...t.current],o=await(0,b.AF)(n,null!==(s=l.item.context.parentId)&&void 0!==s?s:l.item.context.workspaceId),d=t.current[e];a.splice(e,1,{...d,name:n,validationResult:o}),t.current=a;const u=D(t.current);d.validationResult===o&&(0,j.aI)(i.current,u)||(i.current=u,r())}}),[l,r]),u=(0,K.useCallback)((e=>{var n;if(null===(n=t.current)||void 0===n||!n.length)return;const l=[...t.current];l.splice(e,1),t.current=l,i.current=D(t.current),r()}),[r]),c=(0,K.useCallback)((async e=>{if(l){var n;const a=await Promise.all(e.map((e=>{var n;return(0,b.AF)(e.name,null!==(n=l.item.context.parentId)&&void 0!==n?n:l.item.context.workspaceId).then((n=>({name:e.name,validationResult:n,content:e})))})));t.current=null!==(n=t.current)&&void 0!==n&&n.length?[...t.current,...a]:a,i.current=D(t.current),r()}}),[l,r]),{getRootProps:g,getInputProps:p,open:h}=(0,C.VB)({onDrop:c,noDragEventsBubbling:!0,noClick:!0});return(0,K.useEffect)((()=>{var e;null!==l&&void 0!==l&&null!==(e=l.item)&&void 0!==e&&e.context.files&&c(l.item.context.files,[])}),[l,c]),(0,A.jsx)(y.lG,{id:T,title:"Add Files",size:"medium",disableScrollbars:!1,showConfirm:!0,confirmText:"Save",disableConfirm:!(null!==(e=t.current)&&void 0!==e&&e.length)||t.current.some((e=>{let{validationResult:n}=e;return"valid"!==n||!!i.current.length})),showAlternative:!0,alternativePosition:"left",alternativeText:"Select files",showCancel:!0,cancelText:"Cancel",onConfirm:s,onAlternative:h,onCancel:o,onClose:o,children:(0,A.jsxs)(V,{...g(),children:[(0,A.jsx)("input",{...p()}),null!==(n=t.current)&&void 0!==n&&n.length&&l?(0,A.jsx)(k.Z,{children:(0,A.jsx)(N,{files:t.current,nameDuplicates:i.current,onChangeFileName:d,onRemoveFile:u,onSelectFiles:h})}):(0,A.jsx)(P,{children:'Drop files here, or click "Select files".'})]})})}function w(){return(0,y.Gk)(T)}function D(e){return e.reduce(((e,n)=>{const l=e.findIndex((e=>{let[l]=e;return l===n.name}));if(-1!==l){const n=[...e],[a,t]=e[l];return n.splice(l,1,[a,t+1]),n}return[...e,[n.name,1]]}),[]).filter((e=>{let[,n]=e;return n>1})).map((e=>{let[n]=e;return n}))}const N=e=>{let{files:n,nameDuplicates:l,onChangeFileName:a,onRemoveFile:t}=e;return(0,A.jsxs)(O,{children:[(0,A.jsx)(M,{}),(0,A.jsx)(M,{children:"Name"}),(0,A.jsx)(M,{}),n.map(((e,n)=>(0,A.jsxs)(K.Fragment,{children:[(0,A.jsx)(_,{children:(0,A.jsx)(G,{children:(0,A.jsx)(f.Ex,{inheritColor:!0})})}),(0,A.jsx)(_,{children:(0,A.jsx)(R,{file:e,position:n,duplicate:-1!==l.indexOf(e.name),onChangeFileName:a})}),(0,A.jsx)(_,{children:(0,A.jsx)(p.pG,{onClick:()=>t(n),children:(0,A.jsx)(f.US,{})})})]},"file-".concat(n))))]})},R=e=>{let{file:{name:n,validationResult:l},position:a,duplicate:t,onChangeFileName:i}=e;const r=(0,K.useRef)(null),s=(0,v.YQ)(i,[]);return(0,K.useEffect)((()=>{r.current.value=n}),[n]),(0,A.jsx)(E,{duplicate:t,validationResult:l,children:(0,A.jsx)(h.pd,{ref:r,className:"valid"!==l||t?"invalid":"",onChange:e=>s(a,e.currentTarget.value)})})};function E(e){let{children:n,duplicate:l,validationResult:a}=e;if(l)return(0,A.jsxs)(z,{children:[n,(0,A.jsx)(H,{children:(0,A.jsx)("p",{children:"Duplicate name"})})]});switch(a){case"invalid":return(0,A.jsxs)(z,{children:[n,(0,A.jsxs)(H,{children:[(0,A.jsx)("p",{children:"Invalid characters:"}),(0,A.jsxs)("ul",{children:[(0,A.jsx)("li",{children:"Must start with a letter or number."}),(0,A.jsx)("li",{children:"Must be at least 1 character long and not exceed 64 characters."}),(0,A.jsxs)("li",{children:["May contain the following special characters"," ",(0,A.jsx)("em",{children:"_ - & + . : # ! / \\ ( ) [ ] "})," and white spaces."]})]})]})]});case"name-taken":return(0,A.jsxs)(z,{children:[n,(0,A.jsx)(H,{children:(0,A.jsx)("p",{children:"Name already taken"})})]});default:return(0,A.jsx)(z,{children:n})}}const V=L.Ay.div(a||(a=(0,c.A)(["display:flex;flex-direction:column;box-sizing:border-box;border-radius:4px;border:3px dashed ",";height:380px;transition:border-color 0.2s ease;&:hover{border-color:",";}"])),g.lt.components.button,g.lt.components.buttonHover),P=L.Ay.div(t||(t=(0,c.A)(["display:flex;align-items:center;justify-content:center;height:100%;font-size:1.167rem;color:",";"])),g.lt.components.buttonText),O=L.Ay.div(i||(i=(0,c.A)(["display:grid;grid-template-columns:auto 3fr auto;"]))),_=L.Ay.div(r||(r=(0,c.A)(["display:flex;align-items:center;padding:4px 4px;border-top:1px solid ",";color:",";"])),g.lt.base.separator,g.lt.base.text),M=(0,L.Ay)(_)(s||(s=(0,c.A)(["border-top:0 none;font-weight:500;"]))),G=L.Ay.div(o||(o=(0,c.A)(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;& > .icon{fill:",";}"])),g.lt.base.text),z=L.Ay.div(d||(d=(0,c.A)(["display:flex;flex:1 1 auto;flex-direction:column;border-radius:4px;background-color:",";"])),g.lt.states.failure),H=L.Ay.div(u||(u=(0,c.A)(["flex:1 1 auto;padding:4px 6px;color:",";"])),g.lt.states.failureText)},23224:(e,n,l)=>{l.d(n,{h:()=>j});var a,t,i,r,s=l(57528),o=l(19045),d=l(67315),u=l(69649),c=l(66094),g=l(16491),m=l(53157),p=l(48089),y=l(38039),h=l(50704),f=l(82053),k=l(25277),x=l(48738),b=l.n(x),v=l(9950),F=l(69311),S=l(44414);function j(e){let{apiId:n,apiKind:l,onChange:a}=e;const t=(0,d.jk6)(),i={display:"flex",flexDirection:"column"};return(0,S.jsxs)(S.Fragment,{children:[!t&&(0,S.jsx)(g.A,{sx:{marginRight:"5px",marginLeft:"5px"},children:(0,S.jsx)(m.A,{severity:"warning",children:"You're currently in your Personal Account. To create an API Service or Gateway, signing in to an Organizational Account is required!"})}),(0,S.jsxs)(g.A,{sx:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",columnGap:"16px",width:750},children:[(0,S.jsx)(g.A,{sx:i,children:(0,S.jsx)(K,{icon:(0,S.jsx)(u.mb,{}),iconColorSelector:e=>{let{apiIcon:n}=e;return n},title:"API Collection",description:"Configure the Connection Settings once and reuse it across your Documents.",additionsTitle:"Includes:",additions:["Shared Connection Settings"],active:l===c.xi2.Collection,onClick:()=>{a(n,c.xi2.Collection)}})}),(0,S.jsx)(g.A,{sx:i,children:(0,S.jsx)(K,{icon:(0,S.jsx)(u.jc,{}),iconColorSelector:e=>{let{apiIcon:n}=e;return n},title:"API Service",description:"Ease your mind and never put any client out of business anymore.",additionsTitle:"Everything in API Collection, plus:",additions:["Monitoring Cockpit","CI/CD Pipeline Integration","Schema Artifact Management"],tag:"New",active:l===c.xi2.Service,disabled:!t,onClick:()=>{a(n,c.xi2.Service)}})}),(0,S.jsx)(g.A,{sx:i,children:(0,S.jsx)(K,{icon:(0,S.jsx)(u.Sv,{}),iconColorSelector:e=>{let{apiIcon:n}=e;return n},title:"API Gateway",description:"Unify all your subgraphs and get deep insight into your entire API.",additionsTitle:"Everything in API Collection, plus:",additions:["Monitoring Cockpit","CI/CD Pipeline Integration","Schema Artifact Management"],tag:"New",active:l===c.xi2.Gateway,disabled:!t,onClick:()=>{a(n,c.xi2.Gateway)}})})]})]})}function K(e){let{icon:n,iconColorSelector:l,title:a,description:t,additionsTitle:i,additions:r,tag:s,active:o,disabled:d,onClick:c}=e;const m=(0,v.useCallback)((()=>{d||c()}),[d,c]);return(0,S.jsx)(p.A,{variant:"outlined",className:b()({active:o,disabled:d}),sx:{display:"flex",flex:"1 1 auto",flexDirection:"column",padding:0},children:(0,S.jsxs)(y.A,{disableRipple:!0,disableTouchRipple:!0,sx:{display:"flex",flex:"1 1 auto",flexDirection:"column",justifyContent:"flex-start",alignItems:"stretch"},onClick:m,children:[(0,S.jsxs)(h.A,{sx:{height:"170px",maxHeight:"170px"},children:[(0,S.jsx)(L,{$colorSelector:l,children:n}),(0,S.jsxs)(f.A,{gutterBottom:!0,variant:"h4",sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",fontSize:16},children:[a,s&&(0,S.jsx)(k.A,{color:"primary",size:"small",label:s})]}),(0,S.jsx)(f.A,{variant:"body2",color:"text.secondary",sx:{fontSize:"1.083rem"},children:t})]}),(0,S.jsxs)(h.A,{className:"secondary",sx:{justifySelf:"stretch"},children:[(0,S.jsx)(f.A,{gutterBottom:!0,variant:"h5",sx:{display:"flex",flexDirection:"row",fontSize:"1rem",fontWeight:600,marginBottom:"12px"},children:i}),(null===r||void 0===r?void 0:r.length)&&(0,S.jsx)(f.A,{variant:"body2",color:"text.secondary",component:"div",children:r.map(((e,n)=>(0,S.jsxs)(g.A,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:"8px",fontSize:"1.083rem"},children:[(0,S.jsx)(C,{children:(0,S.jsx)(u.RE,{})}),e]},n)))})]})]})})}const C=F.Ay.div(a||(a=(0,s.A)(["display:flex;align-items:center;justify-content:center;margin-right:8px;& > .icon{fill:",";}"])),o.lt.states.success),L=F.Ay.div(t||(t=(0,s.A)(["display:flex;align-items:center;justify-content:center;margin-top:8px;margin-bottom:24px;& > .icon{width:48px;height:48px;","}"])),(e=>{let{$colorSelector:n}=e;return n?(0,F.AH)(i||(i=(0,s.A)(["fill:",";"])),n({...o.lt.icons,...o.lt.states})):(0,F.AH)(r||(r=(0,s.A)(["fill:",";"])),o.lt.base.itemText)}))},96429:(e,n,l)=>{l.d(n,{a:()=>c,j:()=>u});l(75885);var a=l(67315),t=l(66094),i=l(9950),r=l(23224),s=l(34890),o=l(44414);const d="change-api-type";function u(){const e=(0,a.l$t)(d),[n,l]=(0,i.useState)(),u=(0,a.xVp)(),c=(0,a.SK_)(),g=(0,i.useCallback)((async()=>{e&&(await(0,t.$G0)(e.item.context.apiId,n),c(e.item.context.apiId,{apiKind:n}),u(),e.hide(!0))}),[e,n,u,c]),m=(0,i.useCallback)((()=>{null===e||void 0===e||e.hide()}),[e]),p=(0,i.useCallback)(((n,a)=>{(null===e||void 0===e?void 0:e.item.context.apiId)===n&&l(a)}),[e]);return(0,i.useEffect)((()=>{l(null===e||void 0===e?void 0:e.item.context.apiKind)}),[e,l]),(0,o.jsx)(s.lG,{id:d,title:"Change API Type",size:"large",showConfirm:!0,confirmText:"Apply",showCancel:!0,cancelText:"Cancel",onConfirm:g,onCancel:m,onClose:m,children:(null===e||void 0===e?void 0:e.item.context)&&(0,o.jsx)(r.h,{apiId:e.item.context.apiId,apiKind:n,onChange:p})})}function c(){return(0,s.Gk)(d)}},67752:(e,n,l)=>{l.d(n,{U:()=>y});var a,t,i,r,s=l(57528),o=l(19045),d=l(47594),u=l(9950),c=l(69311),g=l(64381),m=l(69649),p=l(44414);const y=(0,u.memo)((0,u.forwardRef)((function(e,n){let{fieldRef:l,placeholder:a="Filter...",searchTerm:t,width:i,onSearchTermChange:r}=e;const s=(0,d.N)(l),o=(0,u.useRef)(null),c=(0,d.YQ)((e=>{r(e.target.value.trim())}),[r]),y=(0,u.useCallback)((e=>{c(e),o.current.style.display=e.currentTarget.value.length>0?"flex":"none"}),[c]),b=(0,u.useCallback)((()=>{r(""),s.current.value="",o.current.style.display="none"}),[s,r]),v=(0,u.useCallback)((()=>{var e;null===(e=s.current)||void 0===e||e.focus()}),[s]);return(0,u.useEffect)((()=>{const e=s.current,n=o.current;t&&t.length>0?(e.value=t,n.style.display="flex"):n.style.display="none"}),[s,t]),(0,p.jsx)(h,{ref:n,style:{width:i?i+"px":void 0},onClick:v,children:(0,p.jsxs)(x,{children:[(0,p.jsx)(f,{children:(0,p.jsx)(m.WI,{})}),(0,p.jsx)(k,{ref:s,placeholder:a,onChange:y}),(0,p.jsx)(g.pG,{innerRef:o,onClick:b,children:(0,p.jsx)(m.US,{})})]})})}))),h=c.Ay.div(a||(a=(0,s.A)(["z-index:1;display:flex;flex:1 1 auto;flex-direction:row;align-items:center;"]))),f=c.Ay.div(t||(t=(0,s.A)(["display:flex;flex:0 0 20px;align-items:center;justify-content:center;transition:fill 0.2s ease;& > .icon{fill:"," !important;}"])),o.lt.components.fieldText),k=c.Ay.input(i||(i=(0,s.A)(["flex:1 1 auto;border:0 none;padding:0 6px;color:",";background-color:",";transition:background-color 0.2s ease,color 0.2s ease;user-select:initial;::placeholder{color:",";transition:color 0.2s ease;}"])),o.lt.components.fieldText,o.lt.components.field,o.lt.components.fieldPlaceholder),x=c.Ay.div(r||(r=(0,s.A)(["display:flex;flex:1 1 auto;align-items:center;border-radius:4px;border:1px solid ",";padding-left:7px;height:28px;background-color:",";transition:background-color 0.2s ease,border-color 0.2s ease;cursor:text;&:focus-within,&:hover{border-color:",";background-color:",";& > "," > .icon{fill:",";}& > ","{background-color:",";color:",";::placeholder{color:",";}}}&:hover{border-color:",";background-color:",";& > "," > .icon{fill:",";}& > ","{color:",";background-color:",";}}"])),o.lt.components.fieldBorder,o.lt.components.field,o.lt.components.fieldHoverBorder,o.lt.components.fieldHover,f,o.lt.components.fieldHoverText,k,o.lt.components.fieldHover,o.lt.components.fieldHoverText,o.lt.components.fieldHoverPlaceholder,o.lt.components.fieldHoverBorder,o.lt.components.fieldHover,f,o.lt.components.fieldHoverText,k,o.lt.components.fieldHoverText,o.lt.components.fieldHover)},66993:(e,n,l)=>{l.d(n,{zC:()=>c,iN:()=>g,Dw:()=>m,Dv:()=>y,jE:()=>f});var a=l(19045),t=l(67315),i=l(6730),r=l(23406),s=l(47594),o=l(50514),d=l(9950),u=l(44414);function c(e){const n=function(e,n){const l=(0,d.useRef)(null);return(0,d.useEffect)((()=>{const i=l.current,r=o.editor.createDiffEditor(i,{...a.Ng,readOnly:!0}),s=t.Hk3.register(n,r);return r.setModel(e),()=>{s(),r.dispose()}}),[n,e]),(0,s.fs)(n,l),l}(function(e){let{content:n}=e;const l=(0,r.bu)((()=>({original:o.editor.createModel("","graphql"),modified:o.editor.createModel("","graphql")})));return l.current.original.updateOptions(a.x5),l.current.modified.updateOptions(a.x5),(0,d.useEffect)((()=>{l.current.original.setValue(n.original)}),[l,n.original]),(0,d.useEffect)((()=>{l.current.modified.setValue(n.modified)}),[l,n.modified]),(0,d.useEffect)((()=>()=>{l.current.original.dispose(),l.current.modified.dispose()}),[l]),l.current}(e),e.id);return(0,u.jsx)(i.nG,{ref:n})}function g(e){const n=function(e){let{id:n,content:l}=e;const i=(0,d.useRef)(null),u=(0,r.bu)((()=>o.editor.createModel("","json")));return u.current.updateOptions(a.x5),(0,d.useEffect)((()=>{const e=i.current,r=l?JSON.stringify(l,null,2):"",s=o.editor.create(e,{...a.Ng,readOnly:!0,model:u.current}),d=t.Hk3.register(n,s);return s.onContextMenu((()=>(0,a.iD)(e))),s.setScrollPosition({scrollLeft:0,scrollTop:0}),u.current.setValue(r),()=>{d(),s.dispose()}}),[n,l,u]),(0,d.useEffect)((()=>()=>{u.current.dispose()}),[u]),(0,s.fs)(n,i),i}(e);return(0,u.jsx)(i.nG,{ref:n})}const m=(0,d.memo)((function(e){let{content:n}=e;return(0,u.jsx)(i.nG,{ref:p(n)})}));function p(e){const n=(0,r.bu)((()=>o.editor.createModel(e,"graphql"))),l=(0,d.useRef)(void 0),t=(0,d.useRef)(null);return n.current.setValue(e),n.current.updateOptions(a.x5),(0,d.useEffect)((()=>{const e=t.current;return l.current=o.editor.create(e,{...a.Ng,model:n.current,readOnly:!0}),(0,r.p$)(l.current),l.current.onContextMenu((()=>(0,a.iD)(e))),()=>{var e;null===(e=l.current)||void 0===e||e.dispose()}}),[n]),(0,s.Fl)((()=>l.current),t),(0,d.useEffect)((()=>()=>{n.current.dispose()}),[n]),t}function y(e){const n=function(e,n){let{id:l,enableWordWrap:i,followNewestLine:r,scrollPositionInvalidation:u}=e;const c=(0,d.useRef)(null),g=(0,d.useRef)(void 0);return(0,d.useEffect)((()=>{const e=c.current;g.current=o.editor.create(e,{...a.Ng,readOnly:!0,wordWrap:i?"on":"off",wordWrapOverride1:i?"on":"off",wordWrapOverride2:i?"on":"off",model:n});const r=t.Hk3.register(l,g.current);return g.current.onContextMenu((()=>(0,a.iD)(e))),()=>{var e;r(),null===(e=g.current)||void 0===e||e.dispose()}}),[l,n,i]),(0,d.useEffect)((()=>{var e,l;return null===(e=g.current)||void 0===e||null===(l=e.onDidChangeModelContent((()=>{var e;r&&(null===(e=g.current)||void 0===e||e.revealLine(n.getLineCount()))})))||void 0===l?void 0:l.dispose}),[l,n,r]),(0,d.useEffect)((()=>{var e;null===(e=g.current)||void 0===e||e.setScrollPosition({scrollLeft:0,scrollTop:0})}),[l,u]),(0,s.fs)(l,c),c}(e,function(e){let{content:n}=e;const l=(0,r.bu)((()=>o.editor.createModel("","plaintext")));return l.current.updateOptions(a.x5),(0,d.useEffect)((()=>{const e=null!==n&&void 0!==n?n:"";l.current.setValue(e)}),[l,n]),(0,d.useEffect)((()=>()=>{l.current.dispose()}),[l]),l.current}(e));return(0,u.jsx)(i.nG,{ref:n})}l(36022);var h=l(43371);function f(e){const n=function(e){let{id:n,content:l,schema:i,onChange:u}=e;const c=(0,d.useRef)(null),g=(0,r.bu)((()=>o.editor.createModel("","yaml")));g.current.updateOptions(a.x5);const m=(0,s.YQ)((e=>{null===u||void 0===u||u(e.getValue())}),[u]);return(0,d.useEffect)((()=>{const e=c.current,i=o.editor.create(e,{...a.Ng,glyphMargin:!0,model:g.current,language:"yaml"}),r=t.Hk3.register(n,i);let s;i.onContextMenu((()=>(0,a.iD)(e))),g.current.getValue()!==l&&(i.setScrollPosition({scrollLeft:0,scrollTop:0}),g.current.setValue(l));const d=g.current.onDidChangeContent((()=>{s=m(g.current)})).dispose;return()=>{var e;d(),null===(e=s)||void 0===e||e(),r(),i.dispose()}}),[n,l,g,m]),(0,s.fs)(n,c),(0,d.useEffect)((()=>{(0,h.f)(o,{enableSchemaRequest:!1,hover:!0,completion:!0,validate:!0,format:!0,schemas:[{uri:i.uri,fileMatch:[g.current.uri.toString()],schema:i.schema}]})}),[g,i]),(0,d.useEffect)((()=>{let e=[];return o.editor.onDidChangeMarkers((n=>{n.forEach((n=>{if(n.toString()===g.current.uri.toString()){const l=o.editor.getModelMarkers({resource:n});if(g.current.isDisposed())return;e=g.current.deltaDecorations(e,l.reduce(((e,n)=>(n.severity!==o.MarkerSeverity.Error&&n.severity!==o.MarkerSeverity.Warning||e.push({range:new o.Range(n.startLineNumber,1,n.startLineNumber,1),options:{glyphMarginClassName:n.severity===o.MarkerSeverity.Error?"codicon-error":"codicon-warning"}}),e)),[]))}}))})).dispose}),[g]),(0,d.useEffect)((()=>()=>{g.current.dispose()}),[g]),c}(e);return(0,u.jsx)(i.nG,{ref:n})}},84932:(e,n,l)=>{l.d(n,{G:()=>r});var a,t=l(57528),i=l(19045);const r=l(69311).Ay.a.attrs({rel:"nofollow noopener noreferrer",target:"_blank"})(a||(a=(0,t.A)(["display:inline-flex;align-items:center;color:",";text-decoration:none;transition:color 0.2s ease;& > .icon{margin-left:4px;fill:",";transition:fill 0.2s ease;}&:hover{color:",";& > .icon{fill:",";}}"])),i.lt.components.linkText,i.lt.components.linkText,i.lt.components.linkHoverText,i.lt.components.linkHoverText)},34877:(e,n,l)=>{l.d(n,{G3:()=>k,St:()=>p,c9:()=>h,dg:()=>m,gX:()=>y,hE:()=>f,lh:()=>g});var a,t,i,r,s,o,d=l(57528),u=l(19045),c=l(69311);const g=26,m=c.Ay.div(a||(a=(0,d.A)(["display:flex;flex:0 0 20px;align-items:center;justify-content:center;"]))),p=c.Ay.div.attrs({role:"button"})(t||(t=(0,d.A)(["display:flex;box-sizing:border-box;flex:0 0 auto;flex-direction:row;align-items:center;height:","px;padding:0 8px;color:",";cursor:pointer;transition:background-color 0.2s ease,color 0.2s ease;& > "," > .icon{fill:",";}&:hover{color:",";background-color:",";& > "," > .icon{fill:",";}}&.active{color:",";background-color:",";& > "," > .icon{fill:",";}}"])),g,u.lt.base.itemText,m,u.lt.base.itemText,u.lt.base.itemHoverText,u.lt.base.itemHover,m,u.lt.base.itemHoverText,u.lt.base.itemActiveText,u.lt.base.itemActive,m,u.lt.base.itemActiveText),y=c.Ay.div(i||(i=(0,d.A)(["flex:0 0 100px;padding:0 6px;white-space:nowrap;text-align:right;"]))),h=c.Ay.div(r||(r=(0,d.A)(["flex:0 0 175px;padding:0 6px;white-space:nowrap;text-align:right;"]))),f=c.Ay.div(s||(s=(0,d.A)(["flex:1 1 auto;padding:0 6px;text-overflow:ellipsis;white-space:nowrap;"]))),k=c.Ay.div(o||(o=(0,d.A)(["flex:0 0 45px;padding:0 6px;white-space:nowrap;text-align:right;"])))},49420:(e,n,l)=>{l.d(n,{XK:()=>c,sM:()=>g,yU:()=>m});var a,t,i,r,s=l(57528),o=l(19045),d=l(69311);const u=d.Ay.div(a||(a=(0,s.A)(["flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1px solid transparent;width:12px;height:12px;font-size:11px;line-height:11px;font-weight:500;text-align:center;border-radius:2px;&::before{position:absolute;}"]))),c=(0,d.Ay)(u)(t||(t=(0,s.A)(["border:1px solid ",";color:",';&::before{content:"Q";}'])),o.lt.icons.queryIcon,o.lt.icons.queryIcon),g=(0,d.Ay)(u)(i||(i=(0,s.A)(["border:1px solid ",";color:",';&::before{content:"M";}'])),o.lt.icons.mutationIcon,o.lt.icons.mutationIcon),m=(0,d.Ay)(u)(r||(r=(0,s.A)(["border:1px solid ",";color:",';&::before{content:"S";}'])),o.lt.icons.subscriptionIcon,o.lt.icons.subscriptionIcon)},13588:(e,n,l)=>{l.d(n,{L:()=>m});var a,t,i,r=l(57528),s=l(19045),o=l(47594),d=l(9950),u=l(69311),c=l(69649),g=l(44414);function m(e){let{disabled:n,options:l,selected:a,children:t,onSelectionChange:i}=e;const{Menu:r,MenuItem:s,closeMenu:u,toggleMenu:c,status$:m}=(0,o.b)(),f=(0,o.CH)(),k=(0,d.useRef)(null),x=(0,d.useRef)(0),b=(0,d.useCallback)((e=>{n||c(e)}),[n,c]);return(0,d.useLayoutEffect)((()=>{if(k.current){const{width:e}=k.current.getBoundingClientRect();x.current!==e&&(x.current=e,f())}}),[a,f]),(0,d.useEffect)((()=>m.subscribe(f)),[m,f]),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(y,{ref:k,$disabled:n,onClick:b,children:t?t({content:a.content,title:m.value()?"":a.title}):(0,g.jsxs)(h,{title:a.title,children:[a.content,(0,g.jsx)(p,{})]})}),(0,g.jsx)(r,{slotProps:{paper:{style:{boxSizing:"border-box",minWidth:x.current||150}}},children:l.map((e=>(0,g.jsx)(s,{disabled:e.key===a.key,selected:e.key===a.key,onClick:()=>{var n;(n=e).key!==a.key&&(u(),null===i||void 0===i||i(n))},children:e.content},e.key)))})]})}const p=(0,u.Ay)(c.D3)(a||(a=(0,r.A)(["fill:",";transition:fill 0.2s ease;"])),s.lt.components.linkText),y=u.Ay.div(t||(t=(0,r.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;height:30px;color:",";cursor:",";transition:color 0.2s ease;&:hover{color:",";& ","{fill:",";}}"])),s.lt.components.linkText,(e=>{let{$disabled:n}=e;return n?"default":"pointer"}),s.lt.components.linkHoverText,p,s.lt.components.linkHoverText),h=u.Ay.div(i||(i=(0,r.A)(["display:flex;align-items:center;height:auto;& > .icon{margin-left:7px;}"])))},40821:(e,n,l)=>{l.d(n,{yr:()=>N,YV:()=>R});var a,t,i,r,s,o,d,u,c,g,m=l(9950),p=l(57528),y=(l(75885),l(19045)),h=l(47594),f=l(17119),k=l(87658),x=l(69311),b=l(44414);const v=(0,m.memo)((0,m.forwardRef)((function(e,n){var l,a,t,i,r;const s=(0,m.useRef)(null),o=(0,m.useRef)(null),d=(0,m.useRef)(null),u=(0,m.useRef)(null),c=(0,m.useRef)(null),g=(0,m.useRef)(null),p=(0,m.useRef)(null),y=(0,m.useRef)(null!==(l=e.asideCollapsed)&&void 0!==l&&l),k=(0,m.useRef)(null!==(a=e.asideSize)&&void 0!==a?a:e.relativeSize?.3:300),x=(0,m.useRef)(null),v=(0,h.bE)(),N=e.asideCollapsible&&e.asideCollapsed?0:null!==(t=e.asideSize)&&void 0!==t?t:e.relativeSize?.3:300;y.current=null!==(i=e.asideCollapsed)&&void 0!==i&&i,k.current=null!==(r=e.asideSize)&&void 0!==r?r:e.relativeSize?.3:300;const R=(0,m.useCallback)((()=>{const n=s.current,l=y.current?x.current:c.current;return"horizontal"===e.orientation?"pane-a"===e.mainPane?T(l,n):D(l,n):"pane-a"===e.mainPane?w(l,n):I(l,n)}),[e.mainPane,e.orientation]),E=(0,m.useCallback)((()=>g.current&&e.asideMenuInBetween?"horizontal"===e.orientation?g.current.offsetHeight:g.current.offsetWidth:0),[e.asideMenuInBetween,e.orientation]),V=(0,m.useCallback)((n=>{const l=s.current,a=o.current;if(!l||!a)return;a.style.top="",a.style.right="",a.style.bottom="",a.style.left="";const t=n+R()-2;"horizontal"===e.orientation?"pane-a"===e.mainPane?a.style.bottom=t+"px":a.style.top=t+"px":"pane-a"===e.mainPane?a.style.right=t+"px":a.style.left=t+"px"}),[e.mainPane,e.orientation,R]),P=(0,m.useCallback)((n=>{const l=u.current;if(!l)return;const a=n;"horizontal"===e.orientation?"pane-a"===e.mainPane?l.style.marginTop=a?"":"-4px":l.style.marginBottom=a?"":"-4px":"pane-a"===e.mainPane?l.style.marginLeft=a?"":"-4px":l.style.marginRight=a?"":"-4px"}),[e.mainPane,e.orientation]),O=(0,m.useCallback)((e=>{const n=c.current;if(!n)return;const l=E(),a=e>0&&e-l>0?e-l:0;n.style.flexBasis=a+"px",n.style.display=0===a?"none":"flex",V(e),P(e)}),[E,V,P]),_=(0,m.useCallback)((()=>{const n=s.current.getBoundingClientRect();return"horizontal"===e.orientation?[n.height,n.top+n.height,"pane-a"===e.mainPane?0:n.top]:[n.width,n.left+n.width,"pane-a"===e.mainPane?0:n.left]}),[e.orientation,e.mainPane]),M=n=>{if(e.relativeSize){const[e]=_();return Math.round(e*n)}return n},G=(0,m.useCallback)((n=>{if("button"in n&&0!==n.button)return;const l=o.current,a=d.current,[t,i,r]=_(),s=R()+r,u=y.current,c=k.current,g=u?E():0;a.style.display="block",l.classList.add("dragging");const m=n=>{const l="horizontal"===e.orientation?"clientY":"clientX";return"touches"in n?n.touches[0][l]:n[l]},h=n=>{k.current=e.relativeSize?n/t:n},f=n=>{const l="pane-a"===e.mainPane?i-m(n)-s+g:m(n)-s+g;if(!(e=>t-e<60)(l))if(e.asideCollapsible)if(l<120){const e=!y.current;var a;if(y.current=!0,O(0),e)null===(a=p.current)||void 0===a||a.freeze(!0)}else if(l<150){const e=y.current;var r;if(y.current=!1,O(150),e)null===(r=p.current)||void 0===r||r.freeze(!1)}else{const e=y.current;var o;if(y.current=!1,h(l),O(l),e)null===(o=p.current)||void 0===o||o.freeze(!1)}else l<60?O(60):(h(l),O(l))},x={passive:!0,capture:!0},b=()=>{if(a.style.display="none",l.classList.remove("dragging"),document.removeEventListener("mousemove",f,x),document.removeEventListener("touchmove",f,x),document.removeEventListener("mouseup",b,x),document.removeEventListener("touchcancel",b,x),document.removeEventListener("touchend",b,x),e.asideCollapsible){var n,t;if(u!==y.current)null===(n=e.onAsideCollapsedChange)||void 0===n||n.call(e,y.current);if(y.current)k.current=c;else null===(t=e.onAsideSizeChange)||void 0===t||t.call(e,k.current)}else{var i;null===(i=e.onAsideSizeChange)||void 0===i||i.call(e,k.current)}};document.addEventListener("mousemove",f,x),document.addEventListener("touchmove",f,x),document.addEventListener("mouseup",b,x),document.addEventListener("touchcancel",b,x),document.addEventListener("touchend",b,x)}),[e,R,E,O,_]);return(0,m.useImperativeHandle)(n,(()=>({collapse:()=>{var n;e.asideCollapsible&&!y.current&&(y.current=!0,O(0),null===(n=p.current)||void 0===n||n.freeze(!0))},expand:()=>{var n;e.asideCollapsible&&y.current&&(y.current=!1,O(k.current),null===(n=p.current)||void 0===n||n.freeze(!1))}})),[e.asideCollapsible,O]),(0,m.useLayoutEffect)((()=>{O(M(N))})),(0,m.useEffect)((()=>{p.current&&p.current.freeze(y.current)})),(0,h.wY)(s,(n=>{let[l]=n;const a=s.current,t=o.current,i="horizontal"===e.orientation?l.contentRect.height:l.contentRect.width,r=!y.current&&c.current?"horizontal"===e.orientation?c.current.offsetHeight:c.current.offsetWidth:0,d="horizontal"===e.orientation?"pane-a"===e.mainPane?T(t,a):D(t,a):"pane-a"===e.mainPane?w(t,a):I(t,a),u=i-r;e.relativeSize&&!y.current&&O(M(k.current)),d>0&&60>u&&O(i-60)})),(0,b.jsxs)(S,{ref:s,$orientation:e.orientation,children:["pane-a"===e.mainPane?(0,b.jsx)(A,{ref:x,children:e.paneAContent}):(0,b.jsxs)(b.Fragment,{children:[e.asideMenu&&!e.asideMenuInBetween&&(0,b.jsx)(L,{ref:g,children:e.asideMenu}),(0,b.jsx)(L,{ref:c,$isCollapsed:N<=0,children:(0,b.jsx)(F,{ref:p,freeze:N<=0,children:e.paneAContent})}),e.asideMenu&&e.asideMenuInBetween&&(0,b.jsx)(L,{ref:g,children:e.asideMenu})]}),(0,b.jsx)(K,{ref:o,$orientation:e.orientation,onMouseDown:G,onTouchStart:G,children:e.asideCollapsible&&e.asideToggler&&(0,b.jsx)(j,{ref:u,$orientation:e.orientation,onPointerDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:n=>{var l,a,t;(n.preventDefault(),n.stopPropagation(),y.current=!y.current,y.current?O(0):O(k.current),null===(l=p.current)||void 0===l||l.freeze(y.current),null===(a=e.onAsideCollapsedChange)||void 0===a||a.call(e,y.current),y.current)||(null===(t=e.onAsideSizeChange)||void 0===t||t.call(e,k.current))}})}),"pane-b"===e.mainPane?(0,b.jsx)(A,{ref:x,children:e.paneBContent}):(0,b.jsxs)(b.Fragment,{children:[e.asideMenu&&e.asideMenuInBetween&&(0,b.jsx)(L,{ref:g,children:e.asideMenu}),(0,b.jsx)(L,{ref:c,$isCollapsed:N<=0,children:(0,b.jsx)(F,{ref:p,freeze:N<=0,children:e.paneBContent})}),e.asideMenu&&!e.asideMenuInBetween&&(0,b.jsx)(L,{ref:g,children:e.asideMenu})]}),(0,f.createPortal)((0,b.jsx)(C,{ref:d,$orientation:e.orientation}),v)]})}))),F=(0,m.forwardRef)((function(e,n){let{children:l,freeze:a}=e;const[t,i]=(0,m.useState)(a);return(0,m.useImperativeHandle)(n,(()=>({freeze:e=>{i(e)}})),[i]),(0,b.jsx)(k.K,{freeze:t,children:l})})),S=x.Ay.div(a||(a=(0,p.A)(["position:relative;display:flex;flex:1 1 auto;flex-direction:",";"])),(e=>{let{$orientation:n}=e;return"horizontal"===n?"column":"row"})),j=x.Ay.div(t||(t=(0,p.A)(["position:absolute;cursor:pointer;",""])),(e=>{let{$orientation:n}=e;return"horizontal"===n?(0,x.AH)(i||(i=(0,p.A)(["background:repeating-linear-gradient( 90deg,",","," 2px,"," 2px,"," 4px );background-size:22px 4px;height:4px;width:22px;left:50%;transform:translateX(-50%);"])),y.lt.base.dragHandle,y.lt.base.dragHandle,y.lt.base.background,y.lt.base.background):(0,x.AH)(r||(r=(0,p.A)(["background:repeating-linear-gradient( 0deg,",","," 2px,"," 2px,"," 4px );background-size:4px 22px;height:22px;width:4px;top:50%;transform:translateY(-50%);"])),y.lt.base.dragHandle,y.lt.base.dragHandle,y.lt.base.background,y.lt.base.background)})),K=x.Ay.div(s||(s=(0,p.A)(["position:absolute;z-index:10;background-color:transparent;transition:background-color 0.2s ease 0s;overflow:visible;"," &.dragging,&:hover{background-color:",";transition:background-color 0.2s ease 0.5s;}"])),(e=>{let{$orientation:n}=e;return"horizontal"===n?(0,x.AH)(o||(o=(0,p.A)(["right:0;left:0;height:4px;cursor:ns-resize;"]))):(0,x.AH)(d||(d=(0,p.A)(["top:0;bottom:0;width:4px;cursor:ew-resize;"])))}),y.lt.base.dragHandle),C=x.Ay.div(u||(u=(0,p.A)(["display:none;position:absolute;z-index:5;top:0;right:0;bottom:0;left:0;cursor:",";"])),(e=>{let{$orientation:n}=e;return"horizontal"===n?"ns-resize":"ew-resize"})),L=x.Ay.div(c||(c=(0,p.A)(["display:",";flex:none;"])),(e=>{let{$isCollapsed:n}=e;return n?"none":"flex"})),A=x.Ay.div(g||(g=(0,p.A)(["display:flex;flex:auto;"])));function T(e,n){return n.offsetHeight-D(e,n)-e.offsetHeight}function I(e,n){let l=0,a=e;for(;a;)l+=a.offsetLeft,a=a.offsetParent===n?null:a.offsetParent;return l}function w(e,n){return n.offsetWidth-I(e,n)-e.offsetWidth}function D(e,n){let l=0,a=e;for(;a;)l+=a.offsetTop,a=a.offsetParent===n?null:a.offsetParent;return l}const N=(0,m.memo)((0,m.forwardRef)((function(e,n){return(0,b.jsx)(v,{id:e.id,ref:n,asideCollapsible:e.asideCollapsible,asideCollapsed:e.asideCollapsed,asideMenu:e.asideMenu,asideMenuInBetween:e.asideMenuInBetween,asideToggler:e.asideToggler,asideSize:e.asideHeight,mainPane:"top"===e.mainPane?"pane-a":"pane-b",orientation:"horizontal",paneAContent:e.topContent,paneBContent:e.bottomContent,relativeSize:e.relativeHeight,onAsideSizeChange:e.onAsideHeightChange,onAsideCollapsedChange:e.onAsideCollapsedChange})}))),R=(0,m.memo)((0,m.forwardRef)((function(e,n){return(0,b.jsx)(v,{id:e.id,ref:n,asideCollapsible:e.asideCollapsible,asideCollapsed:e.asideCollapsed,asideMenu:e.asideMenu,asideMenuInBetween:e.asideMenuInBetween,asideToggler:e.asideToggler,asideSize:e.asideWidth,mainPane:"left"===e.mainPane?"pane-a":"pane-b",orientation:"vertical",paneAContent:e.leftContent,paneBContent:e.rightContent,relativeSize:e.relativeWidth,onAsideSizeChange:e.onAsideWidthChange,onAsideCollapsedChange:e.onAsideCollapsedChange})})))},25770:(e,n,l)=>{l.d(n,{B:()=>A,c:()=>T});var a,t,i=l(57528),r=(l(75885),l(19045)),s=l(9950),o=l(69311),d=l(64381),u=l(69649);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var l=arguments[n];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},c.apply(this,arguments)}function g(e,n){let{title:l,titleId:i,...r}=e;return s.createElement("svg",c({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},r),l?s.createElement("title",{id:i},l):null,a||(a=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 4l1-1h5.414L14 6.586V14l-1 1H5l-1-1V4zm9 3l-3-3H5v10h8V7z"})),t||(t=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1L2 2v10l1 1V2h6.414l-1-1H3z"})))}const m=s.forwardRef(g);l.p;var p=l(16629),y=l(44414);const h=(0,s.forwardRef)((function(e,n){return(0,y.jsx)(p.C,{ref:n,icon:m,...e})}));var f,k,x,b,v,F,S,j,K,C,L=l(89989);const A=(0,s.memo)((function(e){let{items:n,title:l,orientation:a,collapsible:t,initialCollapsed:i,onCollapseChange:r}=e;const o=(0,s.useId)(),[c,g]=(0,s.useState)(null!==i&&void 0!==i&&i),m=(0,s.useCallback)((()=>{g(!0),null===r||void 0===r||r(!0)}),[r,g]),p=(0,s.useCallback)((()=>{g(!1),null===r||void 0===r||r(!1)}),[r,g]),f=(0,s.useCallback)((async e=>{const n=e.currentTarget.dataset.copyId;if(n){var l,a;const e=null!==(l=null===(a=document.getElementById(n))||void 0===a?void 0:a.innerText)&&void 0!==l?l:"";await navigator.clipboard.writeText(e)}}),[]);return n.length?(0,y.jsxs)(I,{$orientation:a,children:[l&&(0,y.jsxs)(w,{children:[l,t?c?(0,y.jsx)(d.pG,{onClick:p,tooltip:"Expand",children:(0,y.jsx)(u.D3,{})}):(0,y.jsx)(d.pG,{onClick:m,tooltip:"Collapse",children:(0,y.jsx)(u.Mt,{})}):null]}),(!t||!c)&&(0,y.jsx)(D,{children:n.map((e=>{if(e.enableCopy){const n="".concat(o).concat(e.key,":desc:");return(0,y.jsxs)(N,{$enableCopy:!0,children:[(0,y.jsx)(R,{children:e.name}),(0,y.jsx)(E,{children:(0,y.jsx)(L.$,{id:n,children:e.description})}),(0,y.jsx)(d.pG,{"data-copy-id":n,onClick:f,children:(0,y.jsx)(h,{})})]},e.key)}return(0,y.jsxs)(N,{children:[(0,y.jsx)(R,{children:e.name}),(0,y.jsx)(E,{children:e.description})]},e.key)}))})]}):null})),T=o.Ay.div(f||(f=(0,i.A)(["display:flex;flex:0 0 auto;flex-direction:column;margin-bottom:20px;"]))),I=o.Ay.div(k||(k=(0,i.A)(["display:flex;flex:0 0 auto;flex-direction:column;margin-bottom:8px;",""])),(e=>{let{$orientation:n}=e;return"vertical"===n&&(0,o.AH)(x||(x=(0,i.A)(["","{flex-direction:column;}","{padding-bottom:8px;}",",","{flex:0 0 auto;max-width:initial;}"])),N,R,R,E)})),w=o.Ay.h2(b||(b=(0,i.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:space-between;margin:0 13px;height:42px;font-size:1.167rem;font-weight:normal;line-height:1.5rem;color:",";"])),r.lt.base.subtitle),D=o.Ay.ul(v||(v=(0,i.A)(["display:flex;flex:0 0 auto;flex-direction:column;"]))),N=o.Ay.li(F||(F=(0,i.A)(["display:flex;flex:0 0 auto;margin:0;border-top:1px solid ",";",""])),r.lt.base.separator,(e=>{let{$enableCopy:n}=e;return n?(0,o.AH)(S||(S=(0,i.A)(["align-items:center;height:34px;padding:0 13px;"]))):(0,o.AH)(j||(j=(0,i.A)(["padding:8px 13px;"])))})),R=o.Ay.div(K||(K=(0,i.A)(["display:flex;flex:1 0 40%;justify-content:flex-start;max-width:300px;font-weight:normal;line-height:1.5rem;color:",";"])),r.lt.base.text),E=o.Ay.div(C||(C=(0,i.A)(["display:flex;flex:1 1 60%;align-items:center;font-weight:normal;line-height:1.5rem;color:",";"])),r.lt.base.description)},89989:(e,n,l)=>{l.d(n,{$:()=>i});var a,t=l(57528);const i=l(69311).Ay.div(a||(a=(0,t.A)(["overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;"])))},89002:(e,n,l)=>{l.r(n),l.d(n,{default:()=>Qf});var a,t,i,r,s,o=l(67315),d=l(81831),u=l(95359),c=(l(9516),l(45331)),g=l(31726),m=l(69253),p=l(96429),y=l(35853),h=l(57528),f=(l(75885),l(69649)),k=l(23845),x=l(10258),b=l(9950),v=l(69311),F=l(19045),S=l(84932),j=l(44414);v.Ay.div(a||(a=(0,h.A)(["display:flex;flex:0 0 auto;padding:8px;gap:8px;background-color:",";color:",";"])),F.lt.states.surprise,F.lt.states.surpriseText),v.Ay.div(t||(t=(0,h.A)(["flex:1 1 auto;line-height:1.5rem;"]))),v.Ay.div(i||(i=(0,h.A)(["display:flex;flex:0 0 auto;align-items:center;"]))),v.Ay.div(r||(r=(0,h.A)(["display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-color:transparent;cursor:pointer;.icon{fill:",";}&:hover{background-color:transparent;border:0 none;.icon{fill:",";}}"])),F.lt.states.surpriseText,F.lt.states.surpriseText),(0,v.Ay)(S.G)(s||(s=(0,h.A)(["display:unset;align-items:unset;color:",";text-decoration:underline;.icon{fill:",";}&:hover{color:",";text-decoration:none;.icon{fill:",";}}"])),F.lt.states.surpriseText,F.lt.states.surpriseText,F.lt.states.surpriseText,F.lt.states.surpriseText);var K=l(31841),C=l(6730),L=l(47594),A=l(53065),T=l(34890),I=l(29564);const w="create-account";function D(){const e=(0,o.l$t)(w),n=(0,o.nV8)(),l=(0,o.EMV)(),a=(0,o.qTo)(),t=(0,b.useCallback)((()=>{(0,I.si)(),n(),null===e||void 0===e||e.hide()}),[e,n]),i=(0,b.useCallback)((()=>{e&&a&&((0,I.Ny)(),l(a),e.hide())}),[e,a,l]);return(0,j.jsx)(T.lG,{id:w,title:"Create account",size:"small",showConfirm:!0,confirmText:"Ok",showCancel:!0,cancelText:"Cancel",onConfirm:i,onCancel:t,onClose:t,children:(0,j.jsx)(T.CQ,{children:'You have successfully signed in for the first time, Click "Ok" to create an account.'})})}var N;const R=v.Ay.div(N||(N=(0,h.A)(["display:flex;flex:0 0 ","px;align-items:center;justify-content:center;margin:0 2px;border-radius:4px;border:1px solid ",";width:","px;height:16px;background-color:",";color:",";font-size:","rem;font-weight:",";text-transform:",";"])),(e=>{let{$size:n}=e;return n>1?32:16}),F.lt.components.keybindingBorder,(e=>{let{$size:n}=e;return n>1?32:16}),F.lt.components.keybinding,F.lt.components.keybindingText,(e=>{let{$size:n}=e;return n>1?.667:1}),(e=>{let{$size:n}=e;return n>1?600:"initial"}),(e=>{let{$size:n}=e;return n>1?"uppercase":"initial"}));var E,V,P,O,_,M,G;const z="keyboard-shortcuts";function H(){const e=(0,o.l$t)(z),n=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide()}),[e]);return(0,j.jsx)(T.lG,{id:z,title:"Keyboard Shortcuts",size:"medium",showCancel:!0,cancelText:"Close",onCancel:n,onClose:n,children:(0,j.jsx)(Q,{children:(0,j.jsx)($,{children:Object.values(o.bab).map(((e,n)=>(0,j.jsxs)(U,{children:[(0,j.jsx)(J,{children:e.description}),(0,j.jsxs)(W,{children:[(0,j.jsx)(q,{children:e.scope}),(0,j.jsx)(B,{shortcut:e})]})]},"shortcut-".concat(n))))})})})}function B(e){let{shortcut:n}=e;return(0,j.jsx)(Y,{children:n.toSymbols().map(((e,n)=>(0,j.jsx)(R,{$size:e.length,children:e},"shortcut-".concat(n))))})}const Q=v.Ay.div(E||(E=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:column;margin-bottom:8px;"]))),$=v.Ay.ul(V||(V=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;width:100%;"]))),U=v.Ay.li(P||(P=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;width:100%;padding:6px 0;color:",";"])),F.lt.base.text),W=v.Ay.div(O||(O=(0,h.A)(["flex:0 0 40%;display:flex;align-items:center;justify-content:space-between;"]))),q=v.Ay.div(_||(_=(0,h.A)(["display:flex;flex:1 0 auto;align-items:center;margin:0 2px;"]))),Y=v.Ay.div(M||(M=(0,h.A)(["display:flex;flex:0 0 fit-content;align-items:center;"]))),J=v.Ay.div(G||(G=(0,h.A)(["display:flex;flex:1 1 auto;align-items:center;margin:0 2px;"])));var X=l(64381),Z=l(99074),ee=l(45098);const ne="manage-organizations";function le(){const e=(0,o.l$t)(ne),n=(0,o.te1)(),l=(0,o.got)(),a=(0,o.Rt1)(),t=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide()}),[e]);return(0,j.jsxs)(T.lG,{id:ne,title:"Manage Organizations",size:"medium",showCancel:!0,cancelText:"Close",onCancel:t,onClose:t,children:[(0,j.jsx)(Z.YJ,{children:n.map((e=>(0,j.jsxs)(Z.JU,{children:[(0,j.jsxs)(Z.PF,{children:[e.organization.displayName," (",e.email,")"]}),(0,j.jsxs)(X.e2,{children:[(0,j.jsx)(ee.A,{disabled:null===e.manageTenantUrl,onClick:()=>{var n;(n=e.manageTenantUrl)&&window.open(null!==n&&void 0!==n?n:"","_blank")},children:"Manage"}),(0,j.jsx)(ee.A,{onClick:()=>a(e),children:"Sign Out"})]})]},e.id)))}),(0,j.jsx)(Z.YJ,{children:(0,j.jsxs)(Z.JU,{children:[(0,j.jsx)(Z.PF,{children:"Add or create organizations"}),(0,j.jsx)(ee.A,{onClick:()=>l(),children:"Add Organization"})]})})]})}var ae,te,ie,re,se=l(7796),oe=l(53157);function de(){return de=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var l=arguments[n];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},de.apply(this,arguments)}function ue(e,n){let{title:l,titleId:a,...t}=e;return b.createElement("svg",de({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 160 100",ref:n,"aria-labelledby":a},t),l?b.createElement("title",{id:a},l):null,ae||(ae=b.createElement("g",{"data-section-name":"sidebar"},b.createElement("rect",{className:"background",width:15,height:97}),b.createElement("circle",{className:"nav-item-active-text",cx:7,cy:10,r:4}),b.createElement("circle",{className:"nav-item-text",cx:7,cy:23,r:4}),b.createElement("circle",{className:"nav-item-text",cx:7,cy:36,r:4}))),te||(te=b.createElement("g",{"data-section-name":"aside"},b.createElement("g",{"data-section-name":"aside-header"},b.createElement("rect",{className:"background",x:14,y:0,width:38,height:9}),b.createElement("rect",{className:"heading",x:18,y:2,width:26,height:4,rx:1})),b.createElement("g",{"data-section-name":"aside-control"},b.createElement("rect",{className:"background",x:14,y:8,width:38,height:9}),b.createElement("rect",{className:"form-field",x:18,y:10,width:29,height:4,rx:1})),b.createElement("g",{"data-section-name":"aside-content"},b.createElement("rect",{className:"background",x:14,y:16,width:38,height:81}),b.createElement("rect",{className:"node-folder-icon",x:18,y:20,width:3,height:3,rx:1}),b.createElement("rect",{className:"node-folder-text",x:24,y:20,width:16,height:3,rx:1}),b.createElement("rect",{className:"node-folder-icon",x:18,y:27,width:3,height:3,rx:1}),b.createElement("rect",{className:"node-folder-active-text",x:24,y:27,width:20,height:3,rx:1}),b.createElement("rect",{className:"node-document-icon",x:24,y:34,width:3,height:3,rx:1}),b.createElement("rect",{className:"node-document-text",x:30,y:34,width:10,height:3,rx:1}),b.createElement("rect",{className:"node-document-icon",x:24,y:41,width:3,height:3,rx:1}),b.createElement("rect",{className:"node-document-text",x:30,y:41,width:14,height:3,rx:1}),b.createElement("rect",{className:"node-folder-icon",x:18,y:48,width:3,height:3,rx:1}),b.createElement("rect",{className:"node-folder-text",x:24,y:48,width:14,height:3,rx:1})))),ie||(ie=b.createElement("g",{"data-section-name":"main"},b.createElement("g",{"data-section-name":"main-header"},b.createElement("rect",{className:"background",x:51,y:0,width:109,height:9}),b.createElement("rect",{className:"nav-item-active",x:51,y:0,width:22,height:9}),b.createElement("rect",{className:"nav-item",x:73,y:0,width:28,height:9}),b.createElement("rect",{className:"nav-item",x:101,y:0,width:20,height:9})),b.createElement("g",{"data-section-name":"main-control"},b.createElement("rect",{className:"background",x:51,y:8,width:109,height:9}),b.createElement("rect",{className:"nav-item-active-text",x:56,y:10,width:22,height:4,rx:1}),b.createElement("rect",{className:"nav-item-text",x:82,y:10,width:14,height:4,rx:1}),b.createElement("rect",{className:"nav-item-text",x:138,y:10,width:18,height:4,rx:1})),b.createElement("g",{"data-section-name":"main-content"},b.createElement("rect",{className:"background",x:51,y:16,width:109,height:81}),b.createElement("rect",{className:"heading",x:56,y:18,width:20,height:4,rx:1}),b.createElement("rect",{className:"primary-button",x:102,y:18,width:10,height:4,rx:1}),b.createElement("rect",{className:"heading",x:116,y:18,width:20,height:4,rx:1}),b.createElement("g",null,b.createElement("rect",{className:"keyword-token",x:56,y:26,width:14,height:3,rx:1}),b.createElement("rect",{className:"key-token",x:74,y:26,width:16,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:94,y:26,width:3,height:3,rx:1}),b.createElement("rect",{className:"key-token",x:60,y:33,width:12,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:76,y:33,width:3,height:3,rx:1}),b.createElement("rect",{className:"string-token",x:84,y:33,width:10,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:98,y:33,width:3,height:3,rx:1}),b.createElement("rect",{className:"key-token",x:64,y:40,width:16,height:3,rx:1}),b.createElement("rect",{className:"number-token",x:84,y:40,width:8,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:60,y:47,width:4,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:56,y:54,width:3,height:3,rx:1})),b.createElement("g",null,b.createElement("rect",{className:"delimiter-token",x:116,y:26,width:3,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:142,y:33,width:8,height:3,rx:1}),b.createElement("rect",{className:"string-token",x:120,y:33,width:18,height:3,rx:1}),b.createElement("rect",{className:"string-token",x:120,y:40,width:10,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:134,y:40,width:3,height:3,rx:1}),b.createElement("rect",{className:"string-token",x:142,y:40,width:8,height:3,rx:1}),b.createElement("rect",{className:"string-token",x:120,y:47,width:8,height:3,rx:1}),b.createElement("rect",{className:"number-token",x:132,y:47,width:8,height:3,rx:1}),b.createElement("rect",{className:"string-token",x:120,y:54,width:12,height:3,rx:1}),b.createElement("rect",{className:"string-token",x:136,y:54,width:8,height:3,rx:1}),b.createElement("rect",{className:"delimiter-token",x:116,y:61,width:3,height:3,rx:1}))))),re||(re=b.createElement("g",{"data-section-name":"footer"},b.createElement("rect",{className:"background",x:0,y:96,width:160,height:4}))))}const ce=b.forwardRef(ue);l.p;var ge,me,pe,ye,he,fe,ke,xe,be,ve,Fe,Se,je,Ke,Ce;const Le="settings";function Ae(){const e=(0,o.l$t)(Le),[n,l]=(0,b.useState)(0),{Tabs:a,Tab:t,MoreTabs:i}=(0,L.NS)(),r=(0,b.useCallback)(((e,n)=>{l(n)}),[l]),s=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide()}),[e]);return(0,b.useEffect)((()=>()=>l(0)),[e,l]),(0,j.jsx)(T.lG,{id:Le,title:"Settings",size:"medium",tabsContent:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(a,{value:n,"aria-label":"Settings Sections",onChange:r,children:[(0,j.jsx)(t,{label:"Themes",value:0}),(0,j.jsx)(t,{label:"Preferences",value:1})]}),(0,j.jsx)(i,{})]}),showCancel:!0,cancelText:"Close",onCancel:s,onClose:s,children:(0,j.jsx)(Te,{activeTab:n})})}function Te(e){let{activeTab:n}=e;switch(n){case 0:return(0,j.jsx)(Ie,{});case 1:return(0,j.jsx)(we,{});case 2:return(0,j.jsx)(De,{})}}function Ie(){const e=(0,o.EN5)(),n=(0,o.KyO)(),l=(0,o.jYy)(),a=(0,b.useCallback)(((e,a)=>{n.usePreferredOsAppearance?l(a?{...n,darkThemeName:e.name}:{...n,lightThemeName:e.name}):l({...n,themeName:e.name})}),[n,l]),t=(0,b.useCallback)((e=>{l({...n,usePreferredOsAppearance:e})}),[l,n]);return(0,j.jsxs)(j.Fragment,{children:[!e&&(0,j.jsx)(oe.A,{severity:"warning",children:"Sign in to change settings."}),!1,(0,j.jsxs)(T.Sd,{children:["Choose how ",k.C3," looks to you. Select a single theme, or sync with your system and automatically switch between day and night themes."]}),(0,j.jsx)(Z.YJ,{children:(0,j.jsxs)(Z.JU,{children:[(0,j.jsxs)(Z.PF,{children:["Sync with your system",(0,j.jsx)(Z.fo,{children:(0,j.jsx)(A.A,{disableInteractive:!0,title:"".concat(k.C3," will match day and night themes with your system if enabled or use a single selected theme."),placement:"top-start",children:(0,j.jsx)(f.mo,{})})})]}),(0,j.jsx)(se.l,{checked:n.usePreferredOsAppearance,disabled:!e,offText:"No",onText:"Yes",onChange:t})]})}),F.kB.map((l=>{let{name:t,themes:i}=l;return(0,j.jsxs)(Pe,{children:[(0,j.jsxs)(Oe,{children:[(0,j.jsxs)(Me,{children:[t," Themes"]}),(0,j.jsx)(_e,{})]}),(0,j.jsx)(Ge,{children:i.map((l=>(0,j.jsx)(Ne,{disabled:!e,theme:l,themeSettings:n,onActivateTheme:a},l.name)))})]},t)}))]})}function we(){var e;const n=(0,o.EN5)(),l=(0,o.gc2)(),a=(0,o.zBx)(),t=(0,b.useCallback)((e=>{a("defaultSchemaReferenceViewId",e.target.value)}),[a]),i=(0,b.useCallback)((e=>{a("disableShowConnectionSettingsForNewDocument",!!e||void 0)}),[a]),r=(0,b.useCallback)((e=>{a("hideOperationCompanion",!!e||void 0)}),[a]);return(0,j.jsxs)(j.Fragment,{children:[!n&&(0,j.jsx)(oe.A,{severity:"warning",children:"Sign in to opt-in for Preview Features."}),(0,j.jsx)(T.CQ,{children:"Document Preferences"}),(0,j.jsx)(T.Sd,{children:"Define your Preferences for a Document Tab that is freshly opened."}),(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"schema-reference-view",children:"Default Schema Reference View"}),(0,j.jsxs)(Z.l6,{id:"schema-reference-view",value:null!==(e=l.defaultSchemaReferenceViewId)&&void 0!==e?e:"default",onChange:t,children:[(0,j.jsx)("option",{value:"default",children:"Type View"}),(0,j.jsx)("option",{value:"column",children:"Column View"})]})]}),(0,j.jsx)(Z.YJ,{children:(0,j.jsxs)(Z.JU,{children:[(0,j.jsx)(Z.PF,{children:"Disable show Connection Settings for new Documents"}),(0,j.jsx)(se.l,{checked:!!l.disableShowConnectionSettingsForNewDocument,disabled:!n,offText:"No",onText:"Yes",onChange:i})]})}),(0,j.jsx)(Z.YJ,{children:(0,j.jsxs)(Z.JU,{children:[(0,j.jsx)(Z.PF,{children:"Hide the Operation Sidebar by default"}),(0,j.jsx)(se.l,{checked:!!l.hideOperationCompanion,disabled:!n,offText:"No",onText:"Yes",onChange:r})]})})]})}function De(){const e=(0,o.EN5)(),n=(0,o.I89)(),l=(0,o.haH)(),a=(0,o.BAQ)(),t=(0,o.ysS)(),i=(0,o.GkE)(),r=(0,b.useCallback)((e=>{e?a(k.x6):("registry-explorer"===n&&i("document-explorer",!1),t(k.x6))}),[n,i,a,t]);return(0,j.jsxs)(j.Fragment,{children:[!e&&(0,j.jsx)(oe.A,{severity:"warning",children:"Sign in to opt-in for Preview Features."}),(0,j.jsx)(Z.YJ,{children:(0,j.jsxs)(Z.JU,{children:[(0,j.jsx)(Z.PF,{children:"Enable Schema Registry"}),(0,j.jsx)(se.l,{checked:l.includes(k.x6),disabled:!e,offText:"No",onText:"Yes",onChange:r})]})})]})}function Ne(e){let{disabled:n,theme:l,themeSettings:a,onActivateTheme:t}=e;const i=[Re(a,l.name)?"active":void 0,n?"disabled":void 0].filter((e=>!(null===e||void 0===e||!e.length))).join(" "),r=(0,b.useCallback)((()=>{t(l)}),[l,t]),s=(0,b.useCallback)((e=>{e.stopPropagation(),t(l,!0)}),[l,t]),o=(0,b.useCallback)((e=>{e.stopPropagation(),t(l,!1)}),[l,t]);return(0,j.jsx)(Ve,{children:(0,j.jsx)(A.A,{disableInteractive:!0,title:l.displayName,placement:"bottom",children:(0,j.jsxs)(Qe,{className:i,$usePreferredOsTheme:a.usePreferredOsAppearance,onClick:n?void 0:r,children:[a.usePreferredOsAppearance&&(0,j.jsxs)(j.Fragment,{children:[l.name===a.lightThemeName&&(0,j.jsx)(ze,{$activeMode:"light",className:"appearance-badge",children:(0,j.jsx)(f.LP,{})}),l.name===a.darkThemeName&&(0,j.jsx)(ze,{$activeMode:"dark",className:"appearance-badge",children:(0,j.jsx)(f.vm,{})}),!n&&(0,j.jsxs)(He,{className:"appearance-choice",children:[(0,j.jsx)(Be,{$activeMode:"light",className:Ee(a,l.name,"light")?"active":"",onClick:o,children:(0,j.jsx)(f.LP,{})}),(0,j.jsx)(Be,{$activeMode:"dark",className:Ee(a,l.name,"dark")?"active":"",onClick:s,children:(0,j.jsx)(f.vm,{})})]})]}),(0,j.jsx)(ce,{"data-theme":l.name,className:"theme-thumbnail"})]})})})}function Re(e,n){let{usePreferredOsAppearance:l,darkThemeName:a,lightThemeName:t,themeName:i}=e;return l?a===n||t===n:i===n}function Ee(e,n,l){let{usePreferredOsAppearance:a,darkThemeName:t,lightThemeName:i}=e;return!!a&&("dark"===l?t===n:i===n)}const Ve=v.Ay.div(ge||(ge=(0,h.A)(["padding:10px;"]))),Pe=v.Ay.div(me||(me=(0,h.A)(["margin-bottom:6px;"]))),Oe=v.Ay.h2(pe||(pe=(0,h.A)(["display:flex;align-items:center;margin-bottom:4px;font-weight:500;"]))),_e=v.Ay.div(ye||(ye=(0,h.A)(["flex:1 1 auto;height:1px;margin-left:12px;background-color:",";"])),F.lt.base.separator),Me=v.Ay.div(he||(he=(0,h.A)(["flex:0 0 auto;"]))),Ge=v.Ay.div(fe||(fe=(0,h.A)(["display:grid;grid-template-columns:1fr 1fr 1fr 1fr;justify-items:center;justify-content:center;"]))),ze=v.Ay.div(ke||(ke=(0,h.A)(["position:absolute;z-index:2;top:0;width:16px;height:16px;padding:4px;background-color:",";transition:background-color 0.2s ease;"," & > .icon{fill:",";}"])),F.lt.states.surprise,(e=>{let{$activeMode:n}=e;return"dark"===n?(0,v.AH)(xe||(xe=(0,h.A)(["right:0;border-radius:0 4px 0 4px;"]))):(0,v.AH)(be||(be=(0,h.A)(["left:0;border-radius:4px 0 4px 0;"])))}),F.lt.states.surpriseText),He=v.Ay.div(ve||(ve=(0,h.A)(["position:absolute;z-index:3;display:flex;align-items:center;flex-wrap:nowrap;justify-content:space-evenly;box-sizing:content-box;border-radius:4px;width:96px;height:60px;opacity:0;transition:opacity 0.2s ease;&:hover{opacity:1;}"]))),Be=v.Ay.div(Fe||(Fe=(0,h.A)(["display:flex;flex-grow:1;align-items:center;justify-content:center;box-sizing:border-box;height:100%;background-color:",";cursor:pointer;transition:background-color 0.2s ease,opacity 0.2s ease;"," & > .icon{width:24px;height:24px;fill:",";}&:hover{& > .icon{fill:",";}}&.active,&.active:hover{background-color:",";& > .icon{fill:",";}}"])),F.lt.states.surpriseText,(e=>{let{$activeMode:n}=e;return"dark"===n?(0,v.AH)(Se||(Se=(0,h.A)(["border-radius:0 4px 4px 0;"]))):(0,v.AH)(je||(je=(0,h.A)(["border-radius:4px 0 0 4px;"])))}),F.lt.states.none,F.lt.states.surprise,F.lt.states.surprise,F.lt.states.surpriseText),Qe=v.Ay.div(Ke||(Ke=(0,h.A)(["position:relative;z-index:1;border-radius:4px;width:96px;height:60px;padding:4px;cursor:pointer;transition:background-color 0.2s ease,transform 0.2s ease;background-color:",";&:hover{transform:scale(1.03);}&.active{background-color:",";}&.disabled{opacity:0.5;}&.active:hover{","}& > svg{position:absolute;display:block;border-radius:4px;width:96px;height:60px;.background{fill:",";}.heading{fill:",";}.primary-button{fill:",";}.form-field{fill:",";}.nav-item{fill:",";}.nav-item-text{fill:",";}.nav-item-active{fill:",";}.nav-item-active-text{fill:",";}.node-document-icon{fill:",";}.node-document-text{fill:",";}.node-folder-icon{fill:",";}.node-folder-text{fill:",";}.node-folder-active-text{fill:",";}.comment-token{fill:",";}.delimiter-token{fill:",";}.key-token{fill:",";}.keyword-token{fill:",";}.number-token{fill:",";}.string-token{fill:",";}}"])),F.lt.states.none,F.lt.states.surprise,(e=>{let{$usePreferredOsTheme:n}=e;return n&&(0,v.AH)(Ce||(Ce=(0,h.A)(["background-color:",";.appearance-badge{display:none;}"])),F.lt.states.surprise)}),F.lt.base.background,F.lt.base.heading,F.lt.components.buttonPrimary,F.lt.components.field,F.lt.base.tab,F.lt.base.tabText,F.lt.base.tabActive,F.lt.base.tabActiveText,F.lt.icons.documentIcon,F.lt.base.itemText,F.lt.icons.folderIcon,F.lt.base.itemText,F.lt.base.itemActiveText,F.lt.editor.commentToken,F.lt.editor.delimiterToken,F.lt.editor.keyToken,F.lt.editor.keywordToken,F.lt.editor.numberToken,F.lt.editor.stringToken),$e="sign-out-warning";function Ue(){const e=(0,o.l$t)($e),n=(0,o.QoG)(),l=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide()}),[e]),a=(0,b.useCallback)((()=>{e&&(e.hide(),n())}),[e,n]);return(0,j.jsxs)(T.lG,{id:$e,title:"Sign Out",showConfirm:!0,confirmText:"Sign Out",showCancel:!0,cancelText:"Cancel",onConfirm:a,onCancel:l,onClose:l,children:[(0,j.jsx)(T.CQ,{children:"Do you really want to sign out?"}),(0,j.jsx)(T.Sd,{children:"Unsaved changes will be lost if you don't save and synchronize them."})]})}var We=l(25770);const qe="version";function Ye(){const e=(0,o.l$t)(qe),n=(0,g.Z)(),l=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide()}),[e]);return(0,j.jsx)(T.lG,{id:qe,title:k.C3,size:"small",showCancel:!0,cancelText:"Close",onCancel:l,onClose:l,children:(0,j.jsx)(We.B,{items:[{key:"version",name:"Version",description:k.hl},{key:"type",name:"Type",description:k.xY},{key:"db-version",name:"DB Version",description:n},{key:"company",name:"Company",description:(0,j.jsxs)(S.G,{href:k.yr,children:[k.yr," ",(0,j.jsx)(f.pT,{})]})},{key:"copyright",name:"Copyright",description:(0,j.jsxs)(j.Fragment,{children:["\xa9 ",(new Date).getFullYear()," ",k.Sx]})},{key:"license",name:"License",description:(0,j.jsxs)(S.G,{href:k.kC,children:[k.aq," ",(0,j.jsx)(f.pT,{})]})}]})})}var Je,Xe,Ze,en,nn;function ln(){return(0,j.jsxs)(C.VK,{children:[(0,j.jsx)(dn,{}),(0,j.jsx)(gn,{}),(0,j.jsx)(un,{}),(0,j.jsx)(pn,{}),(0,j.jsx)(on,{}),(0,j.jsx)(yn,{}),(0,j.jsx)(an,{}),(0,j.jsx)(cn,{}),(0,j.jsx)(sn,{}),(0,j.jsx)(mn,{})]})}function an(){const e=(0,o.aI4)();return e?(0,j.jsx)(bn,{icon:e.icon,spinIcon:e.spinIcon,tooltip:e.tooltip,children:e.body}):null}const tn="No Environment";function rn(){var e;const n=(0,o.Vpv)(),l=(0,o.anM)(),a=(0,o.sw4)(),{Menu:t,MenuItem:i,closeMenu:r,toggleMenu:s,status$:d}=(0,L.b)(),u=(0,L.CH)(),c=(0,b.useCallback)((e=>{l(e),r()}),[l,r]);if((0,b.useEffect)((()=>d.subscribe(u)),[d,u]),!a.length)return null;const g=null!==(e=null===n||void 0===n?void 0:n.name)&&void 0!==e?e:tn;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(fn,{icon:(0,j.jsx)(f.bw,{inheritColor:!0}),tooltip:"Environment: ".concat(g),onClick:s,children:g}),(0,j.jsxs)(t,{transformOrigin:{vertical:"bottom",horizontal:"center"},anchorOrigin:{vertical:"top",horizontal:"center"},children:[(0,j.jsx)(i,{disabled:!n,onClick:()=>c(null),children:tn},"none"),a.map((e=>(0,j.jsx)(i,{disabled:(null===n||void 0===n?void 0:n.id)===e.id,onClick:()=>c(e.id),children:e.name},e.id)))]})]})}function sn(){const e=(0,T.Gk)(z);return(0,o.wkm)(o.bab.openKeyboardShortcuts,e),(0,b.useEffect)((()=>{var n;return null===(n=window.messageChannel)||void 0===n?void 0:n.onShowKeyboardShortcuts(e)}),[e]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(fn,{icon:(0,j.jsx)(f.le,{}),tooltip:(0,o.WIA)(o.bab.openKeyboardShortcuts,"Keyboard Shortcuts"),onClick:e}),(0,j.jsx)(H,{})]})}function on(){const e=(0,o.EB2)(),n=(0,o.toZ)(),l=(0,o.Wd6)(),a=(0,o.BQW)(),t=(0,b.useCallback)((()=>{l?n():e()}),[l,e,n]);return(0,o.wkm)(o.bab.toggleLog,t),(0,j.jsxs)(fn,{tooltip:(0,o.WIA)(o.bab.toggleLog,"Toggle Log (Collapse/Expand)"),onClick:t,children:[(0,j.jsxs)(kn,{children:[(0,j.jsx)(hn,{$spacingRight:!0,children:(0,j.jsx)(f.ik,{inheritColor:!a.errors})}),a.errors]}),(0,j.jsxs)(kn,{children:[(0,j.jsx)(hn,{$spacingRight:!0,children:(0,j.jsx)(f.mo,{inheritColor:!a.infos})}),a.infos]}),(0,j.jsxs)(kn,{children:[(0,j.jsx)(hn,{$spacingRight:!0,children:(0,j.jsx)(f.id,{inheritColor:!a.warnings})}),a.warnings]})]})}function dn(){const e=(0,o.$aT)();return(0,j.jsx)(bn,{icon:e?(0,j.jsx)(f.Fr,{}):(0,j.jsx)(f.vX,{}),tooltip:e?"Connected to Network":"Disconnected from Network",children:e?"Online":"Offline"})}function un(){var e,n;const{Menu:l,MenuItem:a,closeMenu:t,toggleMenu:i,status$:r}=(0,L.b)(),s=(0,o.te1)(),d=(0,o.qTo)(),u=(0,o.jA5)(),c=(0,o.got)(),g=(0,L.CH)(),m=(0,b.useCallback)((()=>{t(),c()}),[c,t]),p=(0,b.useCallback)((e=>{t(),u(e)}),[u,t]);if((0,b.useEffect)((()=>r.subscribe(g)),[r,g]),!d)return null;const y=null!==(e=null===d||void 0===d||null===(n=d.organization)||void 0===n?void 0:n.displayName)&&void 0!==e?e:"Personal";return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(fn,{icon:(0,j.jsx)(f.bE,{}),tooltip:r.value()?"":"Organization: ".concat(y),onClick:i,children:y}),(0,j.jsxs)(l,{transformOrigin:{vertical:"bottom",horizontal:"center"},anchorOrigin:{vertical:"top",horizontal:"center"},children:[s.map((e=>(0,j.jsx)(a,{disabled:d.id===e.id,onClick:()=>p(e),children:e.organization.displayName},e.id))),(0,j.jsx)(a,{onClick:m,children:"Add Organization"})]})]})}function cn(){const e=(0,o.IEc)();return e?(0,j.jsx)(bn,{icon:e.icon,spinIcon:e.spinIcon,tooltip:e.tooltip,children:e.body}):null}function gn(){const e=(0,o.wrT)();return e?(0,j.jsx)(bn,{icon:(0,j.jsx)(f.JM,{}),tooltip:"Signed in as: ".concat(e),children:e}):null}function mn(){const e=(0,T.Gk)(qe);return(0,b.useEffect)((()=>{var n;return null===(n=window.messageChannel)||void 0===n?void 0:n.onShowVersionInfo(e)}),[e]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(fn,{icon:(0,j.jsx)(f.NT,{}),tooltip:"Version Info",onClick:e}),(0,j.jsx)(Ye,{})]})}function pn(){const e=(0,o.VrO)(),n=(0,o.OFq)(),l=(0,o.CH0)(),a=(0,o.$aT)(),{Menu:t,MenuItem:i,closeMenu:r,toggleMenu:s,status$:d}=(0,L.b)(),u=(0,L.CH)(),c=(0,o.Gje)(),g=(0,o.xVp)(),m=(null===e||void 0===e?void 0:e.tenant)===k.El,p=(0,b.useCallback)((e=>{n(e),r()}),[n,r]);return(0,b.useEffect)((()=>d.subscribe(u)),[d,u]),e?(0,j.jsxs)(j.Fragment,{children:[m?(0,j.jsx)(bn,{icon:(0,j.jsx)(f.nQ,{}),tooltip:"Workspace: ".concat(e.name),children:e.name}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(fn,{icon:(0,j.jsx)(f.nQ,{}),tooltip:"Workspace: ".concat(e.name),onClick:s,children:e.name}),(0,j.jsx)(t,{transformOrigin:{vertical:"bottom",horizontal:"center"},anchorOrigin:{vertical:"top",horizontal:"center"},children:l.map((n=>(0,j.jsx)(i,{disabled:e.id===n.id,onClick:()=>p(n.id),children:n.name},n.id)))})]}),(0,j.jsx)(rn,{}),c?(0,j.jsx)(bn,{icon:(0,j.jsx)(f.Fj,{}),spinIcon:!0,tooltip:"Synchronizing Workspace...",children:"Synchronize"}):(0,j.jsx)(fn,{disabled:!a,icon:(0,j.jsx)(f.Fj,{}),tooltip:"Synchronize Workspace",onClick:g,children:"Synchronize"})]}):null}const yn=v.Ay.div(Je||(Je=(0,h.A)(["flex:auto;"]))),hn=v.Ay.div(Xe||(Xe=(0,h.A)(["display:flex;flex:0 0 14px;width:14px;height:14px;align-items:center;justify-content:center;margin-right:",";",""])),(e=>{let{$spacingRight:n}=e;return n?"4px":0}),(e=>{let{$spin:n}=e;return n&&(0,v.AH)(Ze||(Ze=(0,h.A)(["> .icon{","}"])),K.g$)}));function fn(e){let{children:n,icon:l,tooltip:a,tooltipPlacement:t,disabled:i,...r}=e;return(0,j.jsx)(A.A,{title:i?"":a,placement:t,disableInteractive:!0,children:(0,j.jsxs)(xn,{disabled:i,...r,children:[l&&(0,j.jsx)(hn,{$spacingRight:!!n,children:l}),n]})})}const kn=v.Ay.div(en||(en=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;margin:0 2px;height:23px;padding:0 4px;color:",";"," > .icon{fill:",";}"])),F.lt.base.text,hn,F.lt.base.text),xn=v.Ay.button(nn||(nn=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;margin:0 2px;height:23px;padding:0 4px;color:",";background-color:",";transition:background-color 0.2s ease,opacity 0.2s ease;&:disabled{opacity:0.5;&:hover{color:",";background-color:",";"," > .icon{fill:",";}}}&:hover{color:",";background-color:",";"," > .icon{fill:",";}}"," > .icon{fill:",";}","{margin:0;margin-right:6px;padding:0;&:last-of-type{margin-right:0;}}"])),F.lt.components.buttonText,F.lt.components.button,F.lt.components.buttonText,F.lt.components.button,hn,F.lt.components.buttonText,F.lt.components.buttonHoverText,F.lt.components.buttonHover,hn,F.lt.components.buttonHoverText,hn,F.lt.components.buttonText,kn);function bn(e){let{children:n,icon:l,spinIcon:a,tooltip:t,tooltipPlacement:i}=e;return(0,j.jsx)(A.A,{disableInteractive:!0,title:t||"",placement:i,children:(0,j.jsxs)(kn,{children:[l&&(0,j.jsx)(hn,{$spacingRight:!!n,$spin:a,children:l}),n]})})}var vn,Fn=l(40821),Sn=(l(62316),l(46639));function jn(){const e=(0,b.useRef)(null);return(0,b.useEffect)((()=>{const n=e.current;if(n){const e=window.setTimeout((()=>{n.style.opacity="1"}),k.$c);return()=>{window.clearTimeout(e)}}}),[]),(0,j.jsx)(Kn,{ref:e,children:(0,j.jsx)(Sn.A,{})})}const Kn=v.Ay.div(vn||(vn=(0,h.A)(["display:flex;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:center;height:100%;opacity:0;transition:opacity 0.2 ease;"]))),Cn=(0,b.lazy)((()=>l.e(425).then(l.bind(l,90425)))),Ln=(0,b.lazy)((()=>l.e(720).then(l.bind(l,42720)))),An=(0,b.lazy)((()=>l.e(372).then(l.bind(l,97372))));function Tn(){return(0,j.jsx)(C.iv,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(In,{})})})}function In(){const e=(0,o.I89)();switch(e){case"document-explorer":case"registry-explorer":return(0,j.jsx)(Cn,{});case"environment-explorer":return(0,j.jsx)(Ln,{});case"history-explorer":return(0,j.jsx)(An,{});default:throw Error("Cannot find sidebar entry: ".concat(e))}}var wn=l(78521);const Dn=(0,b.lazy)((()=>l.e(195).then(l.bind(l,96195))));function Nn(e){let{children:n}=e;const l=(0,o.O5t)(),a=(0,o.EB2)(),t=(0,o.toZ)(),i=(0,o.Wd6)(),r=(0,o.NoM)(),s=(0,o.Pv8)(),d=(0,b.useCallback)((e=>{e?a():t()}),[a,t]);return r?(0,j.jsx)(Rn,{}):(0,j.jsx)(Fn.yr,{id:"console",asideCollapsible:!0,asideCollapsed:i,asideHeight:s,mainPane:"top",topContent:n,bottomContent:(0,j.jsx)(Rn,{}),onAsideHeightChange:l,onAsideCollapsedChange:d})}const Rn=(0,b.memo)((function(){return(0,j.jsx)(C.hm,{children:(0,j.jsx)(wn.t,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(Dn,{})})})})}));l(89564),l(6532),l(6324),l(40231),l(95666),l(77845);var En=l(49165),Vn=l(3480);const Pn=Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function On(e){if("serviceWorker"in navigator){if(new URL(".",window.location.href).origin!==window.location.origin)return;const n="".concat(".","/service-worker.js");Pn?(!function(e,n){fetch(e,{headers:{"Service-Worker":"script"}}).then((l=>{const a=l.headers.get("content-type");l.ok&&null!==a&&void 0!==a&&a.includes("javascript")?_n(e,n):navigator.serviceWorker.ready.then((e=>{e.unregister().then((()=>{window.location.reload()}))}))})).catch((()=>{console.log("No internet connection found. App is running in offline mode.")}))}(n,e),navigator.serviceWorker.ready.then((()=>{console.log("This app is being served cache-first by a service worker.")}))):_n(n,e)}}function _n(e,n){navigator.serviceWorker.register(e).then((e=>{e.onupdatefound=()=>{const l=e.installing;null!=l&&(l.onstatechange=()=>{var a,t;"installed"===l.state&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all instances of the app are closed."),null===n||void 0===n||null===(a=n.onUpdate)||void 0===a||a.call(n,e)):(console.log("Content is cached for offline use."),null===n||void 0===n||null===(t=n.onSuccess)||void 0===t||t.call(n,e)))})}})).catch((e=>{console.error("Error during service worker registration:",e)}))}const Mn="sw-update";function Gn(e){let{onUpdate:n}=e;const[l,a]=(0,b.useState)(!1);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(En.rV,{children:"A new version is available!"}),(0,j.jsx)(En.FV,{children:(0,j.jsx)(ee.A,{color:"primary",disabled:l,onClick:()=>{a(!0),n()},children:"Update"})})]})}function zn(){(0,b.useEffect)((()=>{if(!k._w&&navigator.serviceWorker){let e=!1;navigator.serviceWorker.addEventListener("message",(e=>{var n;"CLOSE_UPDATE_DIALOG"===(null===(n=e.data)||void 0===n?void 0:n.type)&&Vn.oR.dismiss(Mn)})),navigator.serviceWorker.addEventListener("controllerchange",(()=>{e||(window.location.reload(),e=!0)})),On({onUpdate(e){!function(e){const n=(0,j.jsx)(En.FH,{title:"Ready for Update",content:(0,j.jsx)(Gn,{onUpdate:e})});Vn.oR.info(n,{toastId:Mn,autoClose:!1,closeButton:!0,onClose(){var e;null===(e=navigator.serviceWorker.controller)||void 0===e||e.postMessage({type:"CLOSE_UPDATE_DIALOG"})}})}((()=>{e.waiting&&e.waiting.postMessage({type:"SKIP_WAITING"})}))}})}}),[])}var Hn,Bn,Qn,$n,Un,Wn;function qn(){return qn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var l=arguments[n];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},qn.apply(this,arguments)}function Yn(e,n){let{title:l,titleId:a,...t}=e;return b.createElement("svg",qn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",ref:n,"aria-labelledby":a},t),l?b.createElement("title",{id:a},l):null,Hn||(Hn=b.createElement("defs",null,b.createElement("filter",{id:"3cnuS-adPxFuGUri",x:"-20%",y:"-20%",width:"140%",height:"140%",filterUnits:"objectBoundingBox",primitiveUnits:"userSpaceOnUse",colorInterpolationFilters:"linearRGB"},b.createElement("feFlood",{floodOpacity:1,result:"flood"}),b.createElement("feComposite",{in:"flood",in2:"SourceAlpha",operator:"out",result:"composite1"}),b.createElement("feOffset",{dx:10,dy:10,in:"composite1",result:"offset"}),b.createElement("feGaussianBlur",{stdDeviation:"10 10",in:"offset",edgeMode:"none",result:"blur"}),b.createElement("feComposite",{in:"blur",in2:"SourceAlpha",operator:"in",result:"composite2"}),b.createElement("feMerge",{result:"merge"},b.createElement("feMergeNode",{in:"SourceGraphic"}),b.createElement("feMergeNode",{in:"composite2"}))))),Bn||(Bn=b.createElement("path",{d:"m94.09,472.38c2.35.14,5.28.2,8.65.04,0,0,4.25-.17,8.56-.88,42.29-6.95,79.83-24.9,113.77-50.43,15.13-11.38,29.2-24.2,43.39-36.77,6.41-5.98,5.72-9.68,0-16.41-26.79-28.96-53.31-58.17-80.08-87.14-1.09-1.18-2.38-2.16-3.76-3.07-2.99-1.99-7.07-1.01-8.85,2.11-.87,1.54-1.61,3.1-1.93,4.74-8.06,41.48-24.18,79.25-52.78,110.67-11.35,12.48-25.32,22.53-37.59,34.23-6.16,5.87-11.81,12.51-16.53,19.58-4.8,7.19-2.39,16.25,5.47,19.68,3.41.99,7.31,1.92,11.64,2.61,3.61.57,6.97.89,10.02,1.04Z",strokeWidth:0,filter:"url(#3cnuS-adPxFuGUri)"})),Qn||(Qn=b.createElement("path",{d:"m345.35,253.75c-33.89-36.69-66.6-72.09-99.02-107.18-2.48-2.69-3.2-6.56-1.84-9.96,1.91-4.78,3.67-9.18,5.43-13.58,3.09-7.7,7.46-13.46,13.14-17.3,4.27-2.88,9.78-3.82,20.77-5.73,7.91-1.37,12.23-1.33,15.86-.92,4.19.47,7.78.87,11.37,3.3.92.62,4.87,2.13,8.16,11.69,1.96,5.68,4,11.54,7.22,16.53,7.53,11.63,17.85,14.31,32.6,9.48,13.19-4.32,12.22-3.56,20.73,7.41,17.92,23.08,14.48,44.88-.7,67.41-8.22,12.21-15.71,24.91-23.57,37.85-2.2,3.63-7.28,4.13-10.16,1.01Z",strokeWidth:0,filter:"url(#3cnuS-adPxFuGUri)"})),$n||($n=b.createElement("path",{d:"m289.69,76.49c-3.23-.93-7.35-2.11-7.53-4.05-.18-2.02,3.98-3.93,10.75-6.71,13.25-5.44,19.87-8.16,23.45-8.8,12.84-2.29,23.14.8,31.77,3.39,16.88,5.07,27.15,14.75,39.76,22.57,17.52,10.86,26.86,27.13,28.92,47.56.28,2.82-.01,5.78-.54,8.58-1.23,6.53-5.13,8.7-10.09,3.9-6.78-6.58-13.47-13.51-18.81-21.25-5.5-7.98-11.72-9.55-20.6-7.35-20.31,5.04-25.48,2.28-30.57-17.98-1.73-6.91-3.7-10.01-7.46-12.88-3.03-2.32-6.92-3.59-8.15-3.96-2.69-.81-4.84-1.02-7.53-1.27-4.08-.38-5.11-.11-9.96-.23-5.37-.13-9.05-.25-13.43-1.51Z",strokeWidth:0,filter:"url(#3cnuS-adPxFuGUri)"})),Un||(Un=b.createElement("path",{d:"m381.01,62.82c-1.56.72-3.42.17-4.34-1.29-2.4-3.8-4.6-6.85-5.62-10.26-.93-3.11-.78-7.61.87-10.25,11.61-18.57,29.8-25.87,50.63-27.52,7.12-.56,15.49,8.24,15.98,15.34.5,7.25-5.58,14.84-14.03,14.28-17.02-1.13-30.12,4.77-40.65,17.76-.69.86-1.73,1.43-2.84,1.94Z",strokeWidth:0,filter:"url(#3cnuS-adPxFuGUri)"})),Wn||(Wn=b.createElement("path",{d:"m421.69,202.6l-40.44,63.99c-3.93,6.23-6.02,13.44-6.02,20.81v29.22c0,3.63-4.48,5.34-6.9,2.64L185.49,120.27c-.21-.23-.41-.46-.6-.7-2.45-3.11-18.17-21.66-47.16-25.29-67.29-5.94-69.27,51.46-69.27,51.46v232.43c0,12.57,16.43,17.35,23.16,6.73l39.16-61.69c4.53-7.14,6.94-15.43,6.94-23.89v-103.65c0-3.63,4.48-5.34,6.9-2.64l182.61,198.71.81.95c2.42,3.08,18.14,21.67,47.17,25.3,67.29,5.94,69.27-51.46,69.27-51.46v-157.34c0-12.39-16.19-17.07-22.81-6.6Z",strokeWidth:0,filter:"url(#3cnuS-adPxFuGUri)"})))}const Jn=b.forwardRef(Yn);l.p;var Xn,Zn,el,nl,ll,al;function tl(){return tl=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var l=arguments[n];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},tl.apply(this,arguments)}function il(e,n){let{title:l,titleId:a,...t}=e;return b.createElement("svg",tl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",ref:n,"aria-labelledby":a},t),l?b.createElement("title",{id:a},l):null,Xn||(Xn=b.createElement("defs",null,b.createElement("filter",{id:"3cnuS-adPxSAxuag",x:"-20%",y:"-20%",width:"140%",height:"140%",filterUnits:"objectBoundingBox",primitiveUnits:"userSpaceOnUse",colorInterpolationFilters:"linearRGB"},b.createElement("feFlood",{floodOpacity:1,result:"flood"}),b.createElement("feComposite",{in:"flood",in2:"SourceAlpha",operator:"out",result:"composite1"}),b.createElement("feOffset",{dx:5,dy:5,in:"composite1",result:"offset"}),b.createElement("feGaussianBlur",{stdDeviation:"5 5",in:"offset",edgeMode:"none",result:"blur"}),b.createElement("feComposite",{in:"blur",in2:"SourceAlpha",operator:"in",result:"composite2"}),b.createElement("feMerge",{result:"merge"},b.createElement("feMergeNode",{in:"SourceGraphic"}),b.createElement("feMergeNode",{in:"composite2"}))))),Zn||(Zn=b.createElement("path",{d:"m94.09,472.38c2.35.14,5.28.2,8.65.04,0,0,4.25-.17,8.56-.88,42.29-6.95,79.83-24.9,113.77-50.43,15.13-11.38,29.2-24.2,43.39-36.77,6.41-5.98,5.72-9.68,0-16.41-26.79-28.96-53.31-58.17-80.08-87.14-1.09-1.18-2.38-2.16-3.76-3.07-2.99-1.99-7.07-1.01-8.85,2.11-.87,1.54-1.61,3.1-1.93,4.74-8.06,41.48-24.18,79.25-52.78,110.67-11.35,12.48-25.32,22.53-37.59,34.23-6.16,5.87-11.81,12.51-16.53,19.58-4.8,7.19-2.39,16.25,5.47,19.68,3.41.99,7.31,1.92,11.64,2.61,3.61.57,6.97.89,10.02,1.04Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"})),el||(el=b.createElement("path",{d:"m345.35,253.75c-33.89-36.69-66.6-72.09-99.02-107.18-2.48-2.69-3.2-6.56-1.84-9.96,1.91-4.78,3.67-9.18,5.43-13.58,3.09-7.7,7.46-13.46,13.14-17.3,4.27-2.88,9.78-3.82,20.77-5.73,7.91-1.37,12.23-1.33,15.86-.92,4.19.47,7.78.87,11.37,3.3.92.62,4.87,2.13,8.16,11.69,1.96,5.68,4,11.54,7.22,16.53,7.53,11.63,17.85,14.31,32.6,9.48,13.19-4.32,12.22-3.56,20.73,7.41,17.92,23.08,14.48,44.88-.7,67.41-8.22,12.21-15.71,24.91-23.57,37.85-2.2,3.63-7.28,4.13-10.16,1.01Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"})),nl||(nl=b.createElement("path",{d:"m289.69,76.49c-3.23-.93-7.35-2.11-7.53-4.05-.18-2.02,3.98-3.93,10.75-6.71,13.25-5.44,19.87-8.16,23.45-8.8,12.84-2.29,23.14.8,31.77,3.39,16.88,5.07,27.15,14.75,39.76,22.57,17.52,10.86,26.86,27.13,28.92,47.56.28,2.82-.01,5.78-.54,8.58-1.23,6.53-5.13,8.7-10.09,3.9-6.78-6.58-13.47-13.51-18.81-21.25-5.5-7.98-11.72-9.55-20.6-7.35-20.31,5.04-25.48,2.28-30.57-17.98-1.73-6.91-3.7-10.01-7.46-12.88-3.03-2.32-6.92-3.59-8.15-3.96-2.69-.81-4.84-1.02-7.53-1.27-4.08-.38-5.11-.11-9.96-.23-5.37-.13-9.05-.25-13.43-1.51Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"})),ll||(ll=b.createElement("path",{d:"m381.01,62.82c-1.56.72-3.42.17-4.34-1.29-2.4-3.8-4.6-6.85-5.62-10.26-.93-3.11-.78-7.61.87-10.25,11.61-18.57,29.8-25.87,50.63-27.52,7.12-.56,15.49,8.24,15.98,15.34.5,7.25-5.58,14.84-14.03,14.28-17.02-1.13-30.12,4.77-40.65,17.76-.69.86-1.73,1.43-2.84,1.94Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"})),al||(al=b.createElement("path",{d:"m421.69,202.6l-40.44,63.99c-3.93,6.23-6.02,13.44-6.02,20.81v29.22c0,3.63-4.48,5.34-6.9,2.64L185.49,120.27c-.21-.23-.41-.46-.6-.7-2.45-3.11-18.17-21.66-47.16-25.29-67.29-5.94-69.27,51.46-69.27,51.46v232.43c0,12.57,16.43,17.35,23.16,6.73l39.16-61.69c4.53-7.14,6.94-15.43,6.94-23.89v-103.65c0-3.63,4.48-5.34,6.9-2.64l182.61,198.71.81.95c2.42,3.08,18.14,21.67,47.17,25.3,67.29,5.94,69.27-51.46,69.27-51.46v-157.34c0-12.39-16.19-17.07-22.81-6.6Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"})))}const rl=b.forwardRef(il);l.p;var sl,ol,dl,ul;function cl(){const e=(0,o.I89)(),n=(0,o.hMg)(),l=(0,o.GkE)(),a=(0,T.Gk)(Le),t=(0,b.useCallback)(((e,n)=>()=>{l(e,n)}),[l]),i=l=>n||e!==l?"":"active";return(0,o.wkm)(o.bab.toggleOpenSidebar,t(e,!0),void 0,[e,t]),(0,o.wkm)(o.bab.openDocumentExplorer,t("document-explorer",!1),void 0,[t]),(0,o.wkm)(o.bab.openEnvironmentExplorer,t("environment-explorer",!1),void 0,[t]),(0,o.wkm)(o.bab.openHistoryExplorer,t("history-explorer",!1),void 0,[t]),(0,o.wkm)(o.bab.openSettings,a),(0,j.jsxs)(C.s2,{children:[(0,j.jsx)(ml,{}),(0,j.jsx)(yl,{title:(0,o.WIA)(o.bab.openDocumentExplorer,"Documents"),className:i("document-explorer"),onClick:t("document-explorer",!0),children:(0,j.jsx)(f.FX,{})}),(0,j.jsx)(yl,{title:(0,o.WIA)(o.bab.openEnvironmentExplorer,"Environments"),className:i("environment-explorer"),onClick:t("environment-explorer",!0),children:(0,j.jsx)(f.bw,{inheritColor:!0})}),(0,j.jsx)(yl,{title:(0,o.WIA)(o.bab.openHistoryExplorer,"History"),className:i("history-explorer"),onClick:t("history-explorer",!0),children:(0,j.jsx)(f.os,{})}),(0,j.jsx)(fl,{}),(0,j.jsx)(yl,{title:(0,o.WIA)(o.bab.openSettings,"Settings"),onClick:a,children:(0,j.jsx)(f.Ze,{})}),(0,j.jsx)(gl,{}),(0,j.jsx)(D,{}),(0,j.jsx)(le,{}),(0,j.jsx)(Ue,{}),(0,j.jsx)(Ae,{})]})}function gl(){const{Menu:e,MenuItem:n,closeMenu:l,toggleMenu:a,status$:t}=(0,L.b)(),i=(0,o.ZPF)(),r=(0,o.EN5)(),s=(0,o.qTo)(),d=(0,o.wrT)(),u=(0,o.$aT)(),c=(0,o.got)(),g=(0,T.Gk)(w),m=(0,T.Gk)(ne),p=(0,T.Gk)($e),y=(0,o.O70)(),h=(0,L.CH)(),k=(0,b.useCallback)((()=>{l(),null!==s&&void 0!==s&&s.billingUrl&&window.open(s.billingUrl,"_blank")}),[s,l]),x=(0,b.useCallback)((()=>{l(),c()}),[c,l]),v=(0,b.useCallback)((()=>{l(),p()}),[p,l]);(0,b.useEffect)((()=>{y&&g()}),[y,g]),(0,b.useEffect)((()=>t.subscribe(h)),[t,h]);const F=r?"Signed in as: ".concat(d):"Signed out",S="signed-in"===i&&!!s;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(yl,{title:t.value()?"":F,disabled:"init"===i||"sign-in"===i||"sign-out"===i,onClick:a,children:[(0,j.jsx)(f.JM,{}),(0,j.jsx)(pl,{$status:"signed-in"===i?u?"online":"none":"offline"})]}),(0,j.jsx)(e,{transformOrigin:{vertical:"bottom",horizontal:"left"},anchorOrigin:{vertical:"center",horizontal:"right"},children:S?[(0,j.jsx)(n,{onClick:k,children:"Billing"},"billing"),(0,j.jsx)(n,{onClick:m,children:"Manage Organizations"},"organizations"),(0,j.jsx)(n,{onClick:v,children:"Sign Out"},"sign-out")]:(0,j.jsx)(n,{onClick:x,children:"Sign In"})})]})}const ml=(0,v.Ay)(Jn)(sl||(sl=(0,h.A)(["flex:0 0 32px;margin:8px auto;height:32px;fill:",";feFlood{flood-color:",";}"])),F.lt.base.logo,F.lt.base.logoShadow),pl=v.Ay.div(ol||(ol=(0,h.A)(["position:absolute;right:8px;top:8px;border-radius:50%;width:10px;height:10px;justify-content:center;align-items:center;background-color:",";box-shadow:0 1px 4px 0 ",";"])),(e=>{let{$status:n}=e;switch(n){case"online":return F.lt.states.success;case"offline":return F.lt.states.warning;case"signed-out":return F.lt.states.failure;default:return F.lt.states.none}}),F.lt.base.shadow);function yl(e){let{title:n,children:l,className:a,disabled:t,onClick:i}=e;return(0,j.jsx)(A.A,{title:t?"":n,placement:"right",disableInteractive:!0,children:(0,j.jsx)(hl,{className:a,disabled:t,onClick:i,children:(0,j.jsx)("span",{className:"icon-container",children:l})})})}const hl=v.Ay.button(dl||(dl=(0,h.A)(["position:relative;display:flex;align-items:center;justify-content:center;border-left:2px solid ",";width:50px;height:50px;padding-right:2px;transition:border-color 0.2s ease,opacity 0.2s ease;& > .icon-container{display:flex;align-items:center;justify-content:center;border-radius:4px;width:36px;height:36px;background-color:",";transition:background-color 0.2s ease;& > .icon{width:24px;height:24px;fill:",";transition:fill 0.2s ease;}}&:disabled,&:disabled:hover{opacity:0.5;& > .icon-container{background-color:",";& > .icon{fill:",";}}}&.active{width:50px;border-color:",";& > .icon-container{background-color:",";& > .icon{fill:",";}}&:hover{width:50px;border-color:",";& > .icon-container{background-color:",";& > .icon{fill:",";}}}}&:hover{border-color:",";& > .icon-container{background-color:",";& > .icon{fill:",";}}}"])),F.lt.base.tabBorder,F.lt.base.tab,F.lt.base.tabText,F.lt.base.tab,F.lt.base.tabText,F.lt.base.tabActiveBorder,F.lt.base.tabActive,F.lt.base.tabActiveText,F.lt.base.tabActiveHoverBorder,F.lt.base.tabActiveHover,F.lt.base.tabActiveHoverText,F.lt.base.tabHoverBorder,F.lt.base.tabHover,F.lt.base.tabHoverText),fl=v.Ay.div(ul||(ul=(0,h.A)(["margin:auto;"])));var kl,xl,bl,vl,Fl,Sl=l(17669),jl=l(66094),Kl=l(28095),Cl=l(56420),Ll=l(23224),Al=l(58535),Tl=l(43754),Il=l(37885),wl=l(73163);function Dl(e){let{heading:n,steps:l,activeStep:a,allStepsActive:t}=e;return(0,j.jsxs)(Nl,{children:[n&&(0,j.jsx)(Rl,{children:n}),(0,j.jsx)(Al.A,{orientation:"vertical",children:l.map(((e,n)=>{let{heading:l,description:i,actions:r}=e;return(0,j.jsxs)(Tl.A,{active:t||a===n,children:[(0,j.jsx)(Il.A,{children:l}),(0,j.jsxs)(wl.A,{children:[(0,j.jsx)(El,{children:i}),r&&(0,j.jsx)(Vl,{children:r})]})]},n)}))})]})}const Nl=v.Ay.div(kl||(kl=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:column;padding:24px 32px;width:800px;"]))),Rl=v.Ay.h1(xl||(xl=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;padding-bottom:16px;font-size:1.5rem;font-weight:500;line-height:1.5rem;color:",";"])),F.lt.base.heading),El=(v.Ay.h2(bl||(bl=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;font-size:1.25rem;font-weight:500;line-height:1.5rem;color:",";"])),F.lt.base.heading),v.Ay.div(vl||(vl=(0,h.A)(["font-size:1.167rem;line-height:1.5rem;color:",";"])),F.lt.base.text)),Vl=v.Ay.div(Fl||(Fl=(0,h.A)(["display:flex;flex-direction:row;padding-top:16px;"])));var Pl=l(66800),Ol=l(15209),_l=l(23406);const Ml="create-api";function Gl(){const e=(0,o.l$t)(Ml),n=(0,o.bY3)(),l=(0,o.UD1)(),[a,t]=(0,b.useState)(""),[i,r]=(0,b.useState)(null),[s,d]=(0,b.useState)(!0),u=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide(!1),t(""),r(null),d(!0)}),[e,t,r,d]),c=(0,b.useCallback)((async()=>{if(e){const s=await(0,_l.AF)(a,null!==i&&void 0!==i?i:e.item.context.workspaceId);if("invalid"===s)return(0,I.Ap)(a),void d(!1);if("name-taken"===s)return(0,I.Ad)(a),void d(!1);const{apiId:o,apiKind:u,closeTabAfterCreation:c}=e.item.context,g=Ol.vL.get(k.xb);if(g){const e=i?g.find((e=>{let{metadata:n}=e;return n.id===i})):g;e&&await e.create({name:a,checkable:!1,expandable:!1,renamable:!0,metadata:{id:o,kind:jl.mv2,apiKind:u,exists:!0,closeTabAfterCreation:c}})}else c?n(o,a,i):l(o,a,i);e.hide(!0),t(""),r(null),d(!0)}}),[e,a,i,n,l,t,r,d]);return(0,j.jsx)(T.lG,{id:Ml,title:"Create API",closeOnEnter:!1,showConfirm:!0,confirmText:"Save",showCancel:!0,cancelText:"Cancel",onConfirm:c,onCancel:u,onClose:u,children:(0,j.jsx)(Hl,{workspaceId:null===e||void 0===e?void 0:e.item.context.workspaceId,apiName:null===e||void 0===e?void 0:e.item.context.apiName,isNameValid:s,onApiNameChange:t,onFolderChange:r,onDone:c})})}function zl(){return(0,T.Gk)(Ml)}const Hl=(0,b.memo)((function(e){let{workspaceId:n,apiName:l,isNameValid:a,onApiNameChange:t,onFolderChange:i,onDone:r}=e;const s=(0,b.useRef)(null),[o,d]=(0,b.useState)([]),u=(0,b.useCallback)((e=>{t(e.currentTarget.value.trim())}),[t]),c=(0,b.useCallback)((e=>{i(e.currentTarget.value||null)}),[i]),g=(0,b.useCallback)((e=>{var n;e.preventDefault(),e.stopPropagation(),null!==(n=s.current)&&void 0!==n&&n.value.trim().length&&r()}),[r]);return(0,b.useEffect)((()=>{n?(0,jl.iNT)(n).then((e=>{d(e.map((n=>({id:n.id,name:n.path.map((n=>{var l;return null===(l=e.find((e=>e.id===n)))||void 0===l?void 0:l.name})).join("/")}))))})):d([])}),[n]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(T.CQ,{children:["Choose a name and folder for API ",(0,j.jsx)("em",{children:l}),"."]}),(0,j.jsxs)(Z.lV,{onSubmit:g,children:[(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"apiName",children:"API Name"}),(0,j.jsx)(Z.pd,{ref:s,id:"apiName",type:"text",placeholder:"Enter an API Name Here",className:a?"":"invalid",autoFocus:!0,onChange:u})]}),(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"folder",children:"Folder"}),(0,j.jsxs)(Z.l6,{id:"folder",onChange:c,children:[(0,j.jsx)("option",{value:"",children:"/"}),o.map((e=>{let{id:n,name:l}=e;return(0,j.jsx)("option",{value:n,children:l},n)}))]})]})]})]})}));var Bl=l(99471);const Ql="create-document";function $l(){const e=(0,o.l$t)(Ql),n=(0,o.bY3)(),l=(0,o.UD1)(),[a,t]=(0,b.useState)(""),[i,r]=(0,b.useState)(null),[s,d]=(0,b.useState)(!0),u=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide(!1),t(""),r(null),d(!0)}),[e,t,r,d]),c=(0,b.useCallback)((async()=>{if(e){const s=await(0,_l.AF)(a,null!==i&&void 0!==i?i:e.item.context.workspaceId);if("invalid"===s)return(0,I.Ap)(a),void d(!1);if("name-taken"===s)return(0,I.Ad)(a),void d(!1);const{documentId:o,closeTabAfterCreation:u}=e.item.context,c=Ol.vL.get(k.xb);if(c){const e=i?c.find((e=>{let{metadata:n}=e;return n.id===i})):c;e&&await e.create({name:a,checkable:!1,expandable:!1,renamable:!0,metadata:{id:o,kind:"node"===e.kind&&(0,Bl.Mg)(e)?jl.wAF:jl.UjY,exists:!0,closeTabAfterCreation:u}})}else u?n(o,a,i):l(o,a,i);e.hide(!0),t(""),r(null),d(!0)}}),[e,a,i,n,l,t,r,d]);return(0,j.jsx)(T.lG,{id:Ql,title:"Create Document",closeOnEnter:!1,showConfirm:!0,confirmText:"Save",showCancel:!0,cancelText:"Cancel",onConfirm:c,onCancel:u,onClose:u,children:(0,j.jsx)(Wl,{workspaceId:null===e||void 0===e?void 0:e.item.context.workspaceId,documentName:null===e||void 0===e?void 0:e.item.context.documentName,isNameValid:s,onDocumentNameChange:t,onFolderChange:r,onDone:c})})}function Ul(){return(0,T.Gk)(Ql)}const Wl=(0,b.memo)((function(e){let{workspaceId:n,documentName:l,isNameValid:a,onDocumentNameChange:t,onFolderChange:i,onDone:r}=e;const s=(0,b.useRef)(null),[o,d]=(0,b.useState)([]),u=(0,b.useCallback)((e=>{t(e.currentTarget.value.trim())}),[t]),c=(0,b.useCallback)((e=>{i(e.currentTarget.value||null)}),[i]),g=(0,b.useCallback)((e=>{var n;e.preventDefault(),e.stopPropagation(),null!==(n=s.current)&&void 0!==n&&n.value.trim().length&&r()}),[r]);return(0,b.useEffect)((()=>{n?(0,jl.SrO)(n).then((e=>{d(e.map((n=>({id:n.id,name:n.path.map((n=>{var l;return null===(l=e.find((e=>e.id===n)))||void 0===l?void 0:l.name})).join("/")}))))})):d([])}),[n]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(T.CQ,{children:["Choose a name and folder for document ",(0,j.jsx)("em",{children:l}),"."]}),(0,j.jsxs)(Z.lV,{onSubmit:g,children:[(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"documentName",children:"Document Name"}),(0,j.jsx)(Z.pd,{ref:s,id:"documentName",type:"text",placeholder:"Enter a Document Name Here",className:a?"":"invalid",autoFocus:!0,onChange:u})]}),(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"folder",children:"Folder"}),(0,j.jsxs)(Z.l6,{id:"folder",onChange:c,children:[(0,j.jsx)("option",{value:"",children:"/"}),o.map((e=>{let{id:n,name:l}=e;return(0,j.jsx)("option",{value:n,children:l},n)}))]})]})]})]})})),ql="create-environment";function Yl(){const e=(0,o.l$t)(ql),n=(0,o.bY3)(),l=(0,o.UD1)(),[a,t]=(0,b.useState)(""),[i,r]=(0,b.useState)(!0),s=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide(!1),t(""),r(!0)}),[e,t,r]),d=(0,b.useCallback)((async()=>{if(e){const i=await(0,_l.gN)(a,e.item.context.workspaceId);if("invalid"===i)return(0,I.Ap)(a),void r(!1);if("name-taken"===i)return(0,I.Ad)(a),void r(!1);const{environmentId:s,closeTabAfterCreation:o}=e.item.context,d=Ol.vL.get(k.FY);d?await d.create({name:a,checkable:!1,expandable:!1,renamable:!1,metadata:{id:s,kind:jl.Bp3,exists:!0,closeTabAfterCreation:o}}):o?n(s,a,null):l(s,a,null),e.hide(!0),t(""),r(!0)}}),[e,a,n,l,t,r]);return(0,j.jsx)(T.lG,{id:ql,title:"Create Environment",closeOnEnter:!1,showConfirm:!0,confirmText:"Save",showCancel:!0,cancelText:"Cancel",onConfirm:d,onCancel:s,onClose:s,children:(0,j.jsx)(Xl,{environmentName:null===e||void 0===e?void 0:e.item.context.environmentName,isNameValid:i,onEnvironmentNameChange:t,onDone:d})})}function Jl(){return(0,T.Gk)(ql)}const Xl=(0,b.memo)((function(e){let{environmentName:n,isNameValid:l,onEnvironmentNameChange:a,onDone:t}=e;const i=(0,b.useRef)(null),r=(0,b.useCallback)((e=>{a(e.currentTarget.value.trim())}),[a]),s=(0,b.useCallback)((e=>{var n;e.preventDefault(),e.stopPropagation(),null!==(n=i.current)&&void 0!==n&&n.value.trim().length&&t()}),[t]);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(T.CQ,{children:["Choose a name for environment ",(0,j.jsx)("em",{children:n}),"."]}),(0,j.jsx)(Z.lV,{onSubmit:s,children:(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"environmentName",children:"Environment Name"}),(0,j.jsx)(Z.pd,{ref:i,id:"environmentName",type:"text",placeholder:"Enter an Environment Name Here",className:l?"":"invalid",autoFocus:!0,onChange:r})]})})]})})),Zl="save-tab";function ea(){const e=(0,o.l$t)(Zl),n=(0,o.WAs)(),l=(0,o.EN5)(),a=(0,o.ozF)(),t=(0,o.AjF)(),i=(0,o.NKY)(),r=(0,o.wRs)(),s=(0,o.got)(),d=Ul(),u=Jl(),c=(0,b.useCallback)((()=>{if(e)if(l&&n){const{id:l,kind:a,name:t,isNew:s,closeTabAfterCreation:o}=e.item.context;if(s){switch(a){case"document":d({workspaceId:n,documentId:l,documentName:t,closeTabAfterCreation:o},e.item.onDone);break;case"environment":u({workspaceId:n,environmentId:l,environmentName:t,closeTabAfterCreation:o},null===e||void 0===e?void 0:e.item.onDone)}e.hide()}else o?i(l):r(l),e.hide(!0)}else s()}),[n,e,l,d,u,i,r,s]),g=(0,b.useCallback)((()=>{if(e){const{id:n,isNew:l,closeTabAfterCreation:i}=e.item.context;l?i&&a(n):i&&t(n),e.hide(!0)}}),[e,a,t]),m=(0,b.useCallback)((()=>{null===e||void 0===e||e.hide(!1)}),[e]);return(0,j.jsxs)(T.lG,{id:Zl,title:"Save Changes",showConfirm:!0,confirmText:l?"Save":"Sign In",showAlternative:!0,alternativeText:"Don't Save",showCancel:!0,cancelText:"Cancel",onConfirm:c,onAlternative:g,onCancel:m,onClose:m,children:[(0,j.jsxs)(T.CQ,{children:["Do you want to save the changes you made to"," ",(0,j.jsx)("em",{children:null===e||void 0===e?void 0:e.item.context.name}),"?"]}),(0,j.jsx)(T.Sd,{children:"Your changes will be lost if you don't save them."})]})}function na(){return(0,T.Gk)(Zl)}var la=l(82053);function aa(e){let{apiId:n,apiKind:l,workspaceId:a}=e;const[t,i]=(0,b.useState)(0),r=function(e,n,l,a){const t=(0,o.ohr)(),i=(0,o.LbQ)(e),r=(0,o.m5O)(),[s,d]=(0,b.useState)(!1),u=(0,y.J)(),c=zl(),g=(0,o.wRs)(),m=(0,o.iJS)(),p=(e,n)=>{m(e,n),a(1)};return[{heading:"API Type",description:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(la.A,{gutterBottom:!0,variant:"subtitle1",color:"text.secondary",sx:{marginBottom:"18px"},children:"Specify the purpose of this API by selecting one of the three options below."}),(0,j.jsx)(Ll.h,{apiId:e,apiKind:n,onChange:p})]})},{heading:"Connection Settings",description:(0,j.jsx)(la.A,{gutterBottom:!0,variant:"subtitle1",color:"text.secondary",children:"Configure the API Connection Settings now, or choose to skip. If you decide to skip, rest assured you can adjust them later. Any settings you configure will be applied to the documents linked to this API."}),actions:(0,j.jsxs)(X.e2,{children:[(0,j.jsx)(ee.A,{color:"primary",size:"medium",onClick:()=>{u({apiOrDocumentId:e,httpConnection:i.httpConnection,subscriptionEndpointDisabled:!1,unauthorized:"signed-in"!==r.value(),workspaceId:l},(()=>{a(2)}))},children:"Configure"}),(0,j.jsx)(ee.A,{color:"secondary",size:"medium",onClick:()=>a(2),children:"Skip"}),(0,j.jsx)(ee.A,{variant:"text",color:"secondary",size:"medium",onClick:()=>a(0),children:"Back"})]})},{heading:"Finish",description:(0,j.jsx)(la.A,{gutterBottom:!0,variant:"subtitle1",color:"text.secondary",children:"Complete the process by saving the API settings."}),actions:(0,j.jsxs)(X.e2,{children:[(0,j.jsx)(Kl.A,{color:"primary",size:"medium",variant:"contained",disableElevation:!0,loading:s,onClick:()=>{t?c({apiId:e,apiName:"",apiKind:n,workspaceId:l,closeTabAfterCreation:!1},(()=>{d(!0)})):(d(!0),g(e))},children:(0,j.jsx)("span",{children:"Save"})}),(0,j.jsx)(ee.A,{variant:"text",color:"secondary",size:"medium",onClick:()=>a(1),children:"Back"})]})}]}(n,l,a,i);return r?(0,j.jsx)(C.gN,{children:(0,j.jsx)(Pl.Z,{children:(0,j.jsx)(Dl,{steps:r,activeStep:t})})}):null}const ta=(0,_l.vr)(null,"ApiRefetch"),ia=(0,b.memo)((function(e){let{children:n}=e;const l=(0,_l.oX)({});return(0,j.jsx)(da,{state$:l.current,children:(0,j.jsx)(ta.Provider,{value:l.current,children:(0,j.jsx)(ga,{children:n})})})}));function ra(e){const n=Object.values(e).filter((e=>!!e));return n.length?()=>{n.forEach((e=>e()))}:void 0}function sa(){return(0,L.d4)(ta,ra)}const oa=(0,_l.vr)(x.lQ,"ApiSetRefetch");function da(e){let{children:n,state$:l}=e;const a=(0,b.useCallback)(((e,n)=>{l.next((l=>({...l,[e]:n})))}),[l]);return(0,j.jsx)(oa.Provider,{value:a,children:n})}function ua(e){const n=(0,b.useId)(),[l,a]=(0,b.useTransition)(),t=(0,b.useContext)(oa);return(0,b.useEffect)((()=>(t(n,(()=>{a((()=>{e()}))})),()=>{t(n,void 0)})),[n,e,t,a]),l}const ca=(0,_l.vr)(null,"MaterializedApiDateTimeRange"),ga=(0,b.memo)((function(e){let{children:n}=e;const l=(0,o.$KT)().toJSON();return ua((0,L.CH)()),(0,j.jsx)(ca.Provider,{value:l,children:n})}));function ma(){const e=(0,b.useContext)(ca);if(!e)throw new Error(k.b2);return e}var pa,ya,ha,fa,ka=l(89989),xa=l(67424),ba=l(44446);function va(e){let{clientId:n}=e;const[a,t]=(0,L.V7)(),{client:i}=(0,ba.useLazyLoadQuery)(void 0!==pa?pa:pa=l(55587),{clientId:n},{fetchKey:a,fetchPolicy:"store-and-network"});return ua(t),i?(0,j.jsx)(Fa,{fragmentRef:i}):(0,j.jsx)(Sl.HY,{title:"No Client Available"})}function Fa(e){var n,a;let{fragmentRef:t}=e;const{data:i,hasNext:r,isLoadingNext:s,loadNext:o}=(0,ba.usePaginationFragment)(void 0!==ya?ya:ya=l(14205),t);if(null===i||void 0===i||null===(n=i.versions)||void 0===n||null===(a=n.edges)||void 0===a||!a.length)return(0,j.jsx)(Sl.HY,{title:"No Versions Available"});const d=i.versions.edges.map(((e,n)=>{var l,a;let{node:t}=e;return{id:n,node:t,stages:null!==(l=null===i||void 0===i||null===(a=i.api)||void 0===a?void 0:a.stages)&&void 0!==l?l:[]}}));return(0,j.jsx)(xa.C,{columns:Sa,rows:d,loading:s,disableColumnReorder:!0,disableRowSelectionOnClick:!0,rowSelection:!1,scrollEndThreshold:400,onRowsScrollEnd:()=>{r&&!s&&o(25)}})}const Sa=[{field:"version",headerName:"Version",width:200,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(ka.$,{children:n.node.tag})}},{field:"stages",headerName:"Stages",flex:1,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(ja,{children:n.stages.map((e=>{let{id:l,name:a}=e;const t=n.node.publishedTo.find((e=>{let{stage:n}=e;return(null===n||void 0===n?void 0:n.id)===l}));return(0,j.jsx)(A.A,{title:t&&"Published ".concat((0,x.fw)(t.publishedAt)),children:(0,j.jsxs)(Ka,{children:[(0,j.jsx)(ka.$,{children:a}),t?(0,j.jsx)(f.BK,{}):(0,j.jsx)(f.i3,{})]})},l)}))})}}],ja=v.Ay.ul(ha||(ha=(0,h.A)(["display:flex;gap:6px;font-family:",";font-weight:500;"])),F.Z7),Ka=v.Ay.li(fa||(fa=(0,h.A)(["min-width:40px;display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid ",";padding:2px 4px;border-radius:4px;"])),F.lt.base.itemHighlighted);function Ca(){const e=(0,o.sV3)();return(0,j.jsx)(C.wn,{children:(0,j.jsx)(C.gN,{children:e?(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(va,{clientId:e})}):(0,j.jsx)(jn,{})})})}var La,Aa,Ta;function Ia(e){let{caption:n,detail:l,active:a,onClick:t}=e;return(0,j.jsxs)(wa,{className:a?"active":void 0,onClick:t,children:[(0,j.jsx)(Da,{children:n}),l&&(0,j.jsxs)(Na,{children:[(0,j.jsx)(ka.$,{children:l.label}),l.meta]})]})}const wa=v.Ay.button(La||(La=(0,h.A)(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;margin:0 6px;width:calc(100% - 16px);height:50px;padding:6px 12px;border-radius:4px;color:",";background-color:",";transition:background-color 0.2s ease,color 0.2s ease;&.active,&.active:hover{color:",";background-color:",";}&:hover{color:",";background-color:",";}"])),F.lt.base.itemText,F.lt.base.item,F.lt.base.itemActiveText,F.lt.base.itemActive,F.lt.base.itemHoverText,F.lt.base.itemHover),Da=v.Ay.span(Aa||(Aa=(0,h.A)(["width:100%;overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap;font-size:1.167rem;font-weight:500;text-align:start;"]))),Na=v.Ay.div(Ta||(Ta=(0,h.A)(["width:100%;display:flex;align-items:center;justify-content:space-between;gap:4px;"])));var Ra,Ea,Va=l(5910),Pa=l(9912);const Oa=50;function _a(e){let{remoteId:n}=e;const a=(0,o.sV3)(),[t,i]=(0,L.V7)(),{api:r}=(0,ba.useLazyLoadQuery)(void 0!==Ra?Ra:Ra=l(77309),{apiId:n},{fetchKey:t,fetchPolicy:"store-and-network"});return ua(i),r?(0,j.jsx)(Ma,{fragmentRef:r,clientId:a}):null}function Ma(e){var n,a;let{fragmentRef:t,clientId:i}=e;const r=(0,o.fN5)(),{data:s,hasNext:d,isLoadingNext:u,loadNext:c}=(0,ba.usePaginationFragment)(void 0!==Ea?Ea:Ea=l(96905),t),g=null!==(n=null===s||void 0===s||null===(a=s.clients)||void 0===a?void 0:a.edges)&&void 0!==n?n:[];if(g.length&&!g.some((e=>e.node.id===i))?r(g[0].node.id):g.length&&i||r(null),0===g.length)return null;const m=(0,b.memo)((function(e){let{data:n,index:l,style:a}=e;if(l===n.length)return d?(0,j.jsx)("div",{style:a,children:(0,j.jsx)(X.Xw,{isLoadingMore:u,onLoadMore:()=>{u||c(50)}})}):null;const{id:t,name:s}=n[l].node;return(0,j.jsx)("div",{style:a,children:(0,j.jsx)(Ia,{caption:s,active:t===i,onClick:()=>{r(t)}})})}),Pa.t7);return(0,j.jsx)(C.gN,{$spacing:"top",children:(0,j.jsx)(Va.d,{itemCount:g.length+1,itemData:g,itemKey:(e,n)=>e===n.length?"load-more":"client-".concat(e),itemSize:Oa,tabIndex:-1,children:m})})}function Ga(){return(0,j.jsx)(C.AW,{spacing:"right",children:(0,j.jsx)(C.w,{children:"Filter"})})}function za(e){let{remoteId:n}=e;return(0,j.jsx)(C.wn,{$separator:"left",children:(0,j.jsxs)(C.VP,{children:[(0,j.jsx)(Ga,{}),(0,j.jsx)(C.Y2,{}),(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(_a,{remoteId:n})})]})})}function Ha(e){let{remoteId:n}=e;const l=(0,o.sV3)(),a=(0,o.fN5)();return ua((0,b.useCallback)((()=>{null===l&&a(void 0)}),[l,a])),null===l?(0,j.jsxs)(Sl.HY,{title:"No Clients",children:[(0,j.jsxs)(Sl.pd,{children:["Use the ",(0,j.jsx)("em",{children:"Barista"})," CLI to publish Clients."]}),(0,j.jsxs)(Sl.pd,{children:["More Info on how to publish a Client with ",(0,j.jsx)("em",{children:"Barista"})," you'll find in the"," ",(0,j.jsxs)(S.G,{href:"https://chilli.run/schema-registry-tutorial",children:["Quick Start Guide ",(0,j.jsx)(f.pT,{})]})]})]}):(0,j.jsx)(Ba,{remoteId:n})}const Ba=(0,b.memo)((function(e){let{remoteId:n}=e;const l=(0,o.xIY)(),a=(0,o.gfI)();return(0,j.jsx)(Fn.YV,{id:"clients",asideWidth:l,mainPane:"left",leftContent:(0,j.jsx)(Ca,{}),rightContent:(0,j.jsx)(za,{remoteId:n}),onAsideWidthChange:a})}));var Qa,$a,Ua=l(58094),Wa=l(48089),qa=l(50704),Ya=l(83239),Ja=l(20709),Xa=(l(93967),l(54913),l(47885)),Za=l(82917),et=l(36080);function nt(e){let{fragmentRef:n}=e;const{changedAt:a,tag:t}=(0,ba.useFragment)(void 0!==Qa?Qa:Qa=l(84620),n);return(0,j.jsxs)(lt,{children:[(0,j.jsx)("span",{children:(0,x.YS)(a)}),(0,j.jsx)("span",{children:t})]})}const lt=v.Ay.div($a||($a=(0,h.A)(["display:flex;flex:0 0 auto;color:",';> span:not(:first-child)::before{content:"\u2022";color:',";font-weight:bolder;margin:5px;}"])),F.lt.base.heading,F.lt.base.separator);function at(e){let{text:n,children:l}=e;return(0,j.jsx)("li",{children:(0,j.jsxs)("details",{open:!0,children:[(0,j.jsx)("summary",{children:n}),l&&(0,j.jsx)("ul",{children:l})]})})}const tt={BREAKING:F.lt.states.failure,DANGEROUS:F.lt.states.warning,SAFE:F.lt.states.success,CHORE:F.lt.states.none},it=e=>{let{severity:n}=e;switch(n){case"BREAKING":return(0,j.jsx)(f.ik,{});case"DANGEROUS":return(0,j.jsx)(f.id,{});case"SAFE":return(0,j.jsx)(f.BK,{});case"CHORE":return(0,j.jsx)(f.i3,{})}};var rt,st,ot;function dt(e){let{fragmentRef:n}=e;const{dangerous:a,breaking:t,safe:i}=(0,ba.useFragment)(void 0!==rt?rt:rt=l(19467),n);return(0,j.jsxs)(ut,{children:[!!t&&(0,j.jsxs)(ct,{$severity:"BREAKING",children:[(0,j.jsx)(it,{severity:"BREAKING"}),t]}),!!a&&(0,j.jsxs)(ct,{$severity:"DANGEROUS",children:[(0,j.jsx)(it,{severity:"DANGEROUS"}),a]}),!!i&&(0,j.jsxs)(ct,{$severity:"SAFE",children:[(0,j.jsx)(it,{severity:"SAFE"}),i]})]})}const ut=v.Ay.div(st||(st=(0,h.A)(["display:flex;flex:0 0 auto;gap:8px;"]))),ct=v.Ay.div(ot||(ot=(0,h.A)(["display:flex;justify-items:center;align-items:center;gap:2px;color:",";"])),(e=>{let{$severity:n}=e;return tt[n]}));var gt,mt;function pt(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==gt?gt:gt=l(15784),n);return(0,j.jsxs)(yt,{children:[(0,j.jsx)(nt,{fragmentRef:a}),(0,j.jsx)(dt,{fragmentRef:a.statistic})]})}const yt=v.Ay.div(mt||(mt=(0,h.A)(["display:flex;flex:0 0 16px;min-height:16px;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid ",";padding:6px;color:",";"])),F.lt.base.separator,F.lt.base.heading);var ht,ft=l(66993),kt=l(11081);function xt(e){var n,a;let{fragmentRef:t}=e;const i=(0,ba.useFragment)(void 0!==ht?ht:ht=l(22963),t),r=vt(null===(n=i.previousSchema)||void 0===n?void 0:n.downloadUrl),s=vt(null===(a=i.schema)||void 0===a?void 0:a.downloadUrl);return(0,j.jsx)(ft.zC,{id:"schema-sdl-diff",content:{original:r,modified:s}})}const bt=new Map;function vt(e){if(bt.has(e)){const{promise:n,data:l,error:a}=bt.get(e);if(n)throw n;if(a)throw a;return l}const n=async function(e){if(e){const{uri:n,headers:l}=await(0,kt.L2)(e);return await(0,_l.tr)(n,{headers:l})}return""}(e).then((n=>bt.set(e,{data:n}))).catch((n=>bt.set(e,{error:n})));throw bt.set(e,{promise:n}),n}var Ft,St,jt,Kt,Ct,Lt,At,Tt,It,wt,Dt,Nt,Rt,Et,Vt,Pt,Ot,_t,Mt,Gt,zt,Ht,Bt,Qt,$t,Ut,Wt,qt,Yt,Jt;l(5084);function Xt(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==Ft?Ft:Ft=l(58524),n);switch(a.__typename){case"TypeSystemMemberAddedChange":return(0,j.jsx)(ei,{fragmentRef:a});case"TypeSystemMemberRemovedChange":return(0,j.jsx)(Zt,{fragmentRef:a});case"ObjectModifiedChange":return(0,j.jsx)(ni,{fragmentRef:a});case"UnionModifiedChange":return(0,j.jsx)(li,{fragmentRef:a});case"InterfaceModifiedChange":return(0,j.jsx)(ai,{fragmentRef:a});case"InputObjectModifiedChange":return(0,j.jsx)(pi,{fragmentRef:a});case"DirectiveModifiedChange":return(0,j.jsx)(oi,{fragmentRef:a});case"ScalarModifiedChange":return(0,j.jsx)(mi,{fragmentRef:a});case"EnumModifiedChange":return(0,j.jsx)(ui,{fragmentRef:a});default:return null}}const Zt=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==St?St:St=l(46568),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"type removed"})})},ei=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==jt?jt:jt=l(45478),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"type added"})})},ni=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Kt?Kt:Kt=l(77516),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"object type modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"FieldRemovedChange":return(0,j.jsx)(Fi,{fragmentRef:e},n);case"FieldAddedChange":return(0,j.jsx)(vi,{fragmentRef:e},n);case"OutputFieldChanged":return(0,j.jsx)(ki,{fragmentRef:e},n);case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"InterfaceImplementationAdded":return(0,j.jsx)(hi,{fragmentRef:e},n);case"InterfaceImplementationRemoved":return(0,j.jsx)(yi,{fragmentRef:e},n);default:return null}}))})},li=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Ct?Ct:Ct=l(10452),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"union modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"UnionMemberRemoved":return(0,j.jsx)(ti,{fragmentRef:e},n);case"UnionMemberAdded":return(0,j.jsx)(ii,{fragmentRef:e},n);default:return null}}))})},ai=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Lt?Lt:Lt=l(52524),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"interface modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"FieldRemovedChange":return(0,j.jsx)(Fi,{fragmentRef:e},n);case"FieldAddedChange":return(0,j.jsx)(vi,{fragmentRef:e},n);case"OutputFieldChanged":return(0,j.jsx)(ki,{fragmentRef:e},n);case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"InterfaceImplementationAdded":return(0,j.jsx)(hi,{fragmentRef:e},n);case"InterfaceImplementationRemoved":return(0,j.jsx)(yi,{fragmentRef:e},n);default:return null}}))})},ti=e=>{let{fragmentRef:n}=e;const{severity:a,typeName:t}=(0,ba.useFragment)(void 0!==At?At:At=l(50060),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"type removed"})})},ii=e=>{let{fragmentRef:n}=e;const{severity:a,typeName:t}=(0,ba.useFragment)(void 0!==Tt?Tt:Tt=l(73241),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"type added"})})},ri=e=>{let{fragmentRef:n}=e;const{location:a}=(0,ba.useFragment)(void 0!==It?It:It=l(5938),n);return(0,j.jsx)(at,{text:(0,j.jsxs)(j.Fragment,{children:["The location",(0,j.jsx)(Ii,{children:wi(a)}),"was removed"]})})},si=e=>{let{fragmentRef:n}=e;const{location:a}=(0,ba.useFragment)(void 0!==wt?wt:wt=l(93388),n);return(0,j.jsx)(at,{text:(0,j.jsxs)(j.Fragment,{children:["The location",(0,j.jsx)(Ii,{children:wi(a)}),"was added"]})})},oi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Dt?Dt:Dt=l(54290),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"directive modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"DirectiveLocationAdded":return(0,j.jsx)(si,{fragmentRef:e},n);case"DirectiveLocationRemoved":return(0,j.jsx)(ri,{fragmentRef:e},n);case"ArgumentRemoved":return(0,j.jsx)(ji,{fragmentRef:e},n);case"ArgumentAdded":return(0,j.jsx)(Si,{fragmentRef:e},n);case"ArgumentChanged":return(0,j.jsx)(xi,{fragmentRef:e},n);case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);default:return null}}))})},di=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Nt?Nt:Nt=l(53666),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"enum value modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"DeprecatedChange":return(0,j.jsx)(bi,{fragmentRef:e},n);default:return null}}))})},ui=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Rt?Rt:Rt=l(1358),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"enum modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"EnumValueRemoved":return(0,j.jsx)(ci,{fragmentRef:e},n);case"EnumValueAdded":return(0,j.jsx)(gi,{fragmentRef:e},n);case"EnumValueChanged":return(0,j.jsx)(di,{fragmentRef:e},n);case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);default:return null}}))})},ci=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==Et?Et:Et=l(66002),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"value removed"})})},gi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==Vt?Vt:Vt=l(85868),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"value added"})})},mi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Pt?Pt:Pt=l(16587),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"scalar modified"}),children:i.map(((e,n)=>"DescriptionChanged"===e.__typename?(0,j.jsx)(Ki,{fragmentRef:e},n):null))})},pi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Ot?Ot:Ot=l(32792),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"input object modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"FieldAddedChange":return(0,j.jsx)(vi,{fragmentRef:e},n);case"FieldRemovedChange":return(0,j.jsx)(Fi,{fragmentRef:e},n);case"InputFieldChanged":return(0,j.jsx)(fi,{fragmentRef:e},n);default:return null}}))})},yi=e=>{let{fragmentRef:n}=e;const{severity:a,interfaceName:t}=(0,ba.useFragment)(void 0!==_t?_t:_t=l(2427),n);return(0,j.jsx)(at,{text:(0,j.jsxs)(j.Fragment,{children:["The implementation of the interface",(0,j.jsx)(Ai,{severity:a,selectable:!0,coordinate:t}),"was removed"]})})},hi=e=>{let{fragmentRef:n}=e;const{severity:a,interfaceName:t}=(0,ba.useFragment)(void 0!==Mt?Mt:Mt=l(89653),n);return(0,j.jsx)(at,{text:(0,j.jsxs)(j.Fragment,{children:["The implementation of the interface",(0,j.jsx)(Ai,{severity:a,selectable:!0,coordinate:t}),"was added"]})})},fi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Gt?Gt:Gt=l(26760),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"input field modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"TypeChanged":return(0,j.jsx)(Ci,{fragmentRef:e},n);case"DeprecatedChange":return(0,j.jsx)(bi,{fragmentRef:e},n);default:return null}}))})},ki=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==zt?zt:zt=l(48689),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"output field modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"ArgumentRemoved":return(0,j.jsx)(ji,{fragmentRef:e},n);case"ArgumentAdded":return(0,j.jsx)(Si,{fragmentRef:e},n);case"ArgumentChanged":return(0,j.jsx)(xi,{fragmentRef:e},n);case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"TypeChanged":return(0,j.jsx)(Ci,{fragmentRef:e},n);case"DeprecatedChange":return(0,j.jsx)(bi,{fragmentRef:e},n);default:return null}}))})},xi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t,changes:i}=(0,ba.useFragment)(void 0!==Ht?Ht:Ht=l(65841),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,selectable:!0,text:"argument modified"}),children:i.map(((e,n)=>{switch(e.__typename){case"DescriptionChanged":return(0,j.jsx)(Ki,{fragmentRef:e},n);case"TypeChanged":return(0,j.jsx)(Ci,{fragmentRef:e},n);case"DeprecatedChange":return(0,j.jsx)(bi,{fragmentRef:e},n);default:return null}}))})},bi=e=>{let{fragmentRef:n}=e;const{deprecationReason:a}=(0,ba.useFragment)(void 0!==Bt?Bt:Bt=l(37493),n);return(0,j.jsx)(at,{text:"The member was deprecated".concat(a?" with the reason '".concat(a,"'"):".")})},vi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==Qt?Qt:Qt=l(59242),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"field added"})})},Fi=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==$t?$t:$t=l(18616),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"field removed"})})},Si=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==Ut?Ut:Ut=l(12743),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"argument added"})})},ji=e=>{let{fragmentRef:n}=e;const{severity:a,coordinate:t}=(0,ba.useFragment)(void 0!==Wt?Wt:Wt=l(46001),n);return(0,j.jsx)(at,{text:(0,j.jsx)(Li,{severity:a,coordinate:t,text:"argument removed"})})},Ki=e=>{let{fragmentRef:n}=e;const{oldValue:a,newValue:t}=(0,ba.useFragment)(void 0!==qt?qt:qt=l(66790),n);return(0,j.jsx)(at,{text:(0,j.jsxs)(j.Fragment,{children:["The description changed from",(0,j.jsx)(Ti,{text:null!==a&&void 0!==a?a:"-"}),"to",(0,j.jsx)(Ti,{text:null!==t&&void 0!==t?t:"-"})]})})},Ci=e=>{let{fragmentRef:n}=e;const{oldType:a,newType:t}=(0,ba.useFragment)(void 0!==Yt?Yt:Yt=l(91896),n);return(0,j.jsx)(at,{text:(0,j.jsxs)(j.Fragment,{children:["The type changed from",(0,j.jsx)(Ii,{children:wi(a)}),"to",(0,j.jsx)(Ii,{children:wi(t)})]})})},Li=e=>{let{text:n,coordinate:l,severity:a,selectable:t="BREAKING"!==a}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ai,{coordinate:l,severity:a,selectable:t}),n]})},Ai=e=>{let{coordinate:n,selectable:l}=e;return(0,j.jsx)(Ii,{$selectable:l,children:wi(n)})},Ti=e=>{let{text:n}=e;return n.length>40?(0,j.jsx)(A.A,{title:n,children:(0,j.jsxs)(Ii,{children:[n.substring(0,40),"..."]})}):(0,j.jsx)(Ii,{children:n})},Ii=v.Ay.span(Jt||(Jt=(0,h.A)(["color:",";:hover{color:",";cursor:",";}"])),F.lt.components.linkHighlightText,(e=>{let{$selectable:n}=e;return n&&F.lt.components.linkHighlightHoverText}),(e=>{let{$selectable:n}=e;return n&&"pointer"}));function wi(e){var n;return null===(n=e.split(".").at(-1))||void 0===n?void 0:n.replace(/^.*\((.*?)\).*$/,"$1")}var Di,Ni,Ri,Ei,Vi,Pi,Oi,_i,Mi;function Gi(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==Di?Di:Di=l(51590),n),{statistic:{dangerous:t,breaking:i,safe:r}}=a,s=i+t+r;return(0,j.jsx)(zi,{children:(0,j.jsx)(Pl.Z,{children:(0,j.jsx)(Hi,{children:s?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Bi,{fragmentRef:a}),(0,j.jsx)(Qi,{fragmentRef:a}),(0,j.jsx)($i,{fragmentRef:a})]}):(0,j.jsx)(Ui,{})})})})}const zi=(0,v.Ay)(C.VP)(Vi||(Vi=(0,h.A)(["flex:1 1 auto;a{display:inline-flex;align-items:center;color:",";text-decoration:none;transition:color 0.2s ease;&:hover{color:",";}}"])),F.lt.components.linkText,F.lt.components.linkHoverText),Hi=(0,v.Ay)(C.VP)(Pi||(Pi=(0,h.A)(["display:flex;flex:auto;flex-direction:column;gap:6px;padding:6px;"])));function Bi(e){let{fragmentRef:n}=e;const{data:a,hasNext:t,isLoadingNext:i,loadNext:r}=(0,ba.usePaginationFragment)(void 0!==Ni?Ni:Ni=l(37135),n);return(0,j.jsx)(Wi,{severity:"BREAKING",title:"Breaking Changes",data:a.breaking,hasNext:t,isLoadingNext:i,loadNext:r})}function Qi(e){let{fragmentRef:n}=e;const{data:a,hasNext:t,isLoadingNext:i,loadNext:r}=(0,ba.usePaginationFragment)(void 0!==Ri?Ri:Ri=l(46925),n);return(0,j.jsx)(Wi,{severity:"DANGEROUS",title:"Dangerous Changes",data:a.dangerous,hasNext:t,isLoadingNext:i,loadNext:r})}function $i(e){let{fragmentRef:n}=e;const{data:a,hasNext:t,isLoadingNext:i,loadNext:r}=(0,ba.usePaginationFragment)(void 0!==Ei?Ei:Ei=l(42066),n);return(0,j.jsx)(Wi,{severity:"SAFE",title:"Safe Changes",data:a.safe,hasNext:t,isLoadingNext:i,loadNext:r})}function Ui(){return(0,j.jsxs)(qi,{children:[(0,j.jsxs)(Yi,{children:[(0,j.jsx)(it,{severity:"CHORE"}),"Chore Changes"]}),(0,j.jsx)(Ji,{$severity:"CHORE",children:(0,j.jsx)(at,{text:"No significant updates or additions were introduced"})})]})}function Wi(e){var n;let{severity:l,title:a,data:t,hasNext:i,isLoadingNext:r,loadNext:s}=e;const o=(0,b.useCallback)((()=>{s(20)}),[s]);return null!==t&&void 0!==t&&null!==(n=t.edges)&&void 0!==n&&n.length?(0,j.jsxs)(qi,{children:[(0,j.jsxs)(Yi,{children:[(0,j.jsx)(it,{severity:l}),a]}),(0,j.jsxs)(Ji,{$severity:l,children:[t.edges.map(((e,n)=>(0,j.jsx)(Xt,{fragmentRef:e.node},n))),i&&(0,j.jsx)(X.sz,{disabled:r,onClick:o})]})]}):null}const qi=v.Ay.section(Oi||(Oi=(0,h.A)(["display:flex;flex-direction:column;border-bottom:1px solid ",";"])),F.lt.base.separator),Yi=v.Ay.h2(_i||(_i=(0,h.A)(["display:flex;align-items:center;justify-content:flex-start;white-space:nowrap;font-size:1.25rem;font-weight:normal;padding:6px;color:",";> .icon{flex:0 0 auto;margin-right:6px;}"])),F.lt.base.subtitle),Ji=v.Ay.ul(Mi||(Mi=(0,h.A)(["&{color:",';fill:currentColor;padding:6px 8px;list-style:none;}& li{position:relative;line-height:1.25rem;}& ul{list-style:none;}& details{margin-left:1.25em;}& summary{display:inline-flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:4px;margin-bottom:4px;cursor:pointer;}& summary:focus{outline:none;}& summary::marker{display:none;}& summary::before{content:"\u2299";display:block;position:absolute;top:0;left:0;width:1em;padding-right:1.25em;line-height:1.25rem;text-align:center;color:',';}& details > summary:has(+ ul > li)::before{content:"\u29b5";}& details[open] > summary:has(+ ul > li)::before{content:"\u29b6";}'])),F.lt.base.description,(e=>{let{$severity:n}=e;return tt[n]}));var Xi,Zi,er,nr,lr,ar,tr,ir,rr,sr,or,dr,ur,cr,gr,mr,pr;function yr(e){let{fragmentRef:n}=e;const a=(0,o.Ruy)(),t=(0,ba.useFragment)(void 0!==Xi?Xi:Xi=l(66662),n);switch(a){case"log":return(0,j.jsx)(Gi,{fragmentRef:t});case"diff":return(0,j.jsx)(xt,{fragmentRef:t});default:return null}}function hr(e){let{changelogId:n}=e;const{node:a}=(0,ba.useLazyLoadQuery)(void 0!==Zi?Zi:Zi=l(41016),{changelogId:n});return ua((0,L.CH)()),a?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(pt,{fragmentRef:a}),(0,j.jsx)(yr,{fragmentRef:a})]}):null}function fr(e){let{deploymentId:n}=e;return(0,j.jsx)(C.wn,{$separator:"left",children:(0,j.jsx)(C.VP,{children:n?(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(Cr,{}),children:(0,j.jsx)(kr,{deploymentId:n})}):(0,j.jsx)(Cr,{})})})}function kr(e){let{deploymentId:n}=e;const{node:a}=(0,ba.useLazyLoadQuery)(void 0!==er?er:er=l(79943),{deploymentId:n});return a?(0,j.jsx)(xr,{fragmentRef:a}):null}function xr(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==nr?nr:nr=l(38533),n);if(a){var t,i,r;const e=null!==(t=a.logs)&&void 0!==t&&t.length?a.logs.at(a.logs.length-1):void 0;return(0,j.jsxs)(Ar,{children:[(0,j.jsxs)(Ir,{children:[(0,j.jsxs)(wr,{children:[(0,j.jsx)(la.A,{variant:"h4",className:"ellipsis",children:Kr(a.status)}),!(null===e||void 0===e||!e.__typename)&&"%other"!==e.__typename&&(0,j.jsx)(la.A,{variant:"subtitle2",className:"ellipsis",children:(0,x.YS)(e.timestamp)})]}),["PROCESSING","QUEUED","READY"].includes(a.status)&&(0,j.jsx)(X.e2,{children:(0,j.jsx)(vr,{deploymentId:a.id})}),"WAITING_FOR_APPROVAL"===a.status&&(0,j.jsxs)(X.e2,{children:[(0,j.jsx)(br,{deploymentId:a.id}),(0,j.jsx)(Fr,{deploymentId:a.id})]})]}),a.subgraph&&(0,j.jsxs)(Dr,{children:[(0,j.jsx)(la.A,{variant:"subtitle1",className:"ellipsis",children:"Subgraph"}),(0,j.jsx)(Lr,{name:a.subgraph.name,remoteId:null===(i=a.subgraph.api)||void 0===i?void 0:i.id})]}),a.schemaChanges&&(a.schemaChanges.statistic.breaking>0||a.schemaChanges.statistic.dangerous>0||a.schemaChanges.statistic.safe>0)&&(0,j.jsxs)(Dr,{children:[(0,j.jsx)(la.A,{variant:"subtitle1",className:"ellipsis",children:"Changes"}),(0,j.jsx)(dt,{fragmentRef:a.schemaChanges.statistic})]}),!(null===(r=a.logs)||void 0===r||!r.length)&&(0,j.jsxs)(Dr,{children:[(0,j.jsx)(la.A,{variant:"subtitle1",className:"ellipsis",children:"Sequence"}),(0,j.jsx)(Nr,{children:a.logs.map(((e,n,l)=>{let{length:a}=l;const t=a===n+1;return"%other"===e.__typename?null:(0,j.jsxs)(Rr,{children:[(0,j.jsxs)(Er,{children:[Sr(e.__typename,t),!t&&(0,j.jsx)(Pr,{})]}),(0,j.jsxs)(Vr,{children:[(0,j.jsx)(la.A,{variant:"subtitle2",className:"ellipsis",children:jr(e.__typename)}),(0,j.jsx)(la.A,{variant:"body2",className:"ellipsis",children:(0,x.YS)(e.timestamp)})]})]},e.__typename+n)}))})]})]})}return(0,j.jsx)(Sl.HY,{title:"No Deployment Details Found"})}function br(e){let{deploymentId:n}=e;const[a]=(0,ba.useMutation)(void 0!==lr?lr:lr=l(72030)),t=(0,b.useCallback)((()=>{a({variables:{input:{deploymentId:n}}})}),[n,a]);return(0,j.jsx)(ee.A,{color:"primary",size:"medium",startIcon:(0,j.jsx)(f.BK,{inheritColor:!0}),sx:{minWidth:120},onClick:t,children:"Approve"})}function vr(e){let{deploymentId:n}=e;const[a]=(0,ba.useMutation)(void 0!==ar?ar:ar=l(31179)),t=(0,b.useCallback)((()=>{a({variables:{input:{deploymentId:n}}})}),[n,a]);return(0,j.jsx)(ee.A,{color:"primary",size:"medium",startIcon:(0,j.jsx)(f.EO,{}),sx:{minWidth:120},onClick:t,children:"Cancel"})}function Fr(e){let{deploymentId:n}=e;const[a]=(0,ba.useMutation)(void 0!==tr?tr:tr=l(71174)),t=(0,b.useCallback)((()=>{a({variables:{input:{deploymentId:n}}})}),[n,a]);return(0,j.jsx)(ee.A,{color:"secondary",size:"medium",startIcon:(0,j.jsx)(f.ik,{inheritColor:!0}),sx:{minWidth:120},onClick:t,children:"Reject"})}function Sr(e,n){switch(e){case"DeploymentQueuedLog":return n?(0,j.jsx)(Xa.y,{}):(0,j.jsx)(f.xm,{});case"DeploymentStartedProcessingLog":case"DeploymentReadyLog":case"DeploymentWaitingForApprovalLog":return n?(0,j.jsx)(Xa.y,{}):(0,j.jsx)(f.mo,{});case"DeploymentSuccessLog":case"DeploymentCreatedLog":default:return(0,j.jsx)(f.BK,{});case"DeploymentFailedLog":return(0,j.jsx)(f.ik,{});case"DeploymentCancelledLog":return(0,j.jsx)(f.tT,{});case"DeploymentApprovedLog":return n?(0,j.jsx)(Xa.y,{}):(0,j.jsx)(f.M3,{})}}function jr(e){switch(e){case"DeploymentQueuedLog":return"Deployment Queued";case"DeploymentStartedProcessingLog":return"Deployment Started Processing";case"DeploymentSuccessLog":return"Deployment Succeeded";case"DeploymentReadyLog":return"Deployment Ready";case"DeploymentFailedLog":return"Deployment Failed";case"DeploymentCancelledLog":return"Deployment Cancelled";case"DeploymentWaitingForApprovalLog":return"Deployment Waiting for Approval";case"DeploymentApprovedLog":return"Deployment Approved";case"DeploymentCreatedLog":return"Deployment Created";default:return"Unknown"}}function Kr(e){switch(e){case"QUEUED":return"Deployment Queued";case"READY":case"PROCESSING":return"Evaluating...";case"WAITING_FOR_APPROVAL":return"Waiting for Approval";case"APPROVED":return"Deploying...";case"SUCCEEDED":return"Deployment Succeeded";case"FAILED":return"Deployment Failed";case"CANCELLED":return"Deployment Cancelled"}}function Cr(){return(0,j.jsxs)(Tr,{children:[(0,j.jsxs)(Ir,{children:[(0,j.jsxs)(wr,{children:[(0,j.jsx)(Za.A,{width:"180px",height:"22px"}),(0,j.jsx)(Za.A,{width:"190px",height:"14px"})]}),(0,j.jsxs)(X.e2,{children:[(0,j.jsx)(Za.A,{width:"120px",height:"36px",sx:{transform:"none"}}),(0,j.jsx)(Za.A,{width:"120px",height:"36px",sx:{transform:"none"}})]})]}),(0,j.jsxs)(Dr,{children:[(0,j.jsx)(Za.A,{width:"70px",height:"18px"}),(0,j.jsx)(Za.A,{width:"120px",height:"14px"})]}),(0,j.jsxs)(Dr,{children:[(0,j.jsx)(Za.A,{width:"80px",height:"18px"}),(0,j.jsx)(Za.A,{width:"160px",height:"14px"}),(0,j.jsx)(Za.A,{width:"180px",height:"14px"}),(0,j.jsx)(Za.A,{width:"140px",height:"14px"})]})]})}function Lr(e){let{name:n,remoteId:l}=e;const a=(0,o.I7$)(),t=(0,o.$KT)().serialize(),[i,r]=(0,b.useState)(),s=(0,o.Pan)();return(0,b.useEffect)((()=>{l&&(0,jl._sj)(l).then((e=>{r(null===e||void 0===e?void 0:e.id)}))}),[l,r]),i?(0,j.jsx)(et.A,{onClick:()=>s(i,{activeStage:a,metricsDateTimeRange:t,activeViewId:"overview"}),children:n}):(0,j.jsx)(j.Fragment,{children:n})}const Ar=v.I4.div(ir||(ir=(0,h.A)(["display:flex;flex-direction:column;padding:14px 16px 16px;gap:16px;"]))),Tr=(0,v.I4)(Ar)(rr||(rr=(0,h.A)(["opacity:0.25;"]))),Ir=v.I4.div(sr||(sr=(0,h.A)(["display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;"]))),wr=v.I4.div(or||(or=(0,h.A)(["display:flex;flex:1 1 auto;flex-direction:column;gap:2px;"]))),Dr=v.I4.div(dr||(dr=(0,h.A)(["display:flex;flex-direction:column;gap:4px;"]))),Nr=v.I4.ol(ur||(ur=(0,h.A)([""]))),Rr=v.I4.li(cr||(cr=(0,h.A)(["display:flex;flex-direction:row;justify-content:center;gap:6px;height:48px;padding-right:8px;padding-left:8px;"]))),Er=v.I4.div(gr||(gr=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:column;align-items:center;padding-top:1px;"]))),Vr=v.I4.div(mr||(mr=(0,h.A)(["flex:1 1 auto;"]))),Pr=v.I4.div(pr||(pr=(0,h.A)(["flex:1 1 auto;width:1px;background-color:#cccccc;margin-top:3px;margin-bottom:3px;"])));function Or(){return(0,j.jsxs)(Sl.HY,{title:"No Deployments Yet",children:[(0,j.jsxs)(Sl.pd,{children:["Use the ",(0,j.jsx)("em",{children:"Barista"})," CLI to trigger Deployments."]}),(0,j.jsxs)(Sl.pd,{children:["More Info on how to trigger a Deployment with ",(0,j.jsx)("em",{children:"Barista"})," you'll find in the"," ",(0,j.jsxs)(S.G,{href:"https://chilli.run/deployment-tutorial",children:["Quick Start Guide ",(0,j.jsx)(f.pT,{})]})]})]})}var _r=l(48738),Mr=l.n(_r),Gr=l(73914);const zr=(0,b.memo)((0,b.forwardRef)((function(e,n){let{buildOption:l,style:a,onInit:t}=e;const i=(0,b.useRef)(null),r=(0,b.useRef)(null),s=(0,b.useRef)(!1),o=(0,b.useRef)({}),d=(0,F.JX)(),u=(0,F.Fs)();return(0,b.useImperativeHandle)(n,(()=>({setOption:e=>{r.current&&r.current.setOption(e(o.current,u),!1)}})),[u]),(0,b.useLayoutEffect)((()=>{let e=0;function n(n){cancelAnimationFrame(e),s.current=!1,r.current=(0,Gr.Ts)(i.current,n),o.current=l(u),r.current.setOption(o.current,!1),null===t||void 0===t||t(r.current),e=requestAnimationFrame((()=>{e=requestAnimationFrame((()=>{s.current=!0}))}))}n(d.value());const a=d.subscribe((e=>{var l;null===(l=r.current)||void 0===l||l.dispose(),n(e)}));return()=>{var n;cancelAnimationFrame(e),a(),null===(n=r.current)||void 0===n||n.dispose()}}),[d,l,u,t]),(0,L.wY)(i,(()=>{s.current&&r.current&&r.current.resize()})),(0,j.jsx)("div",{ref:i,style:a})}))),Hr=(0,b.memo)((0,b.forwardRef)((function(e,n){let{buildOption:l,size:a="big",onInit:t}=e;const i=(0,b.useCallback)((e=>function(e,n,l){return{...e,animation:!1,grid:"mini"===n?{top:3,bottom:0,left:0,right:0,...e.grid}:{top:40,bottom:0,left:10,right:20,containLabel:!0,...e.grid},legend:{...e.legend,textStyle:{fontFamily:F.F2,fontSize:F.Hr,color:l((e=>e.chart.axisLabel))}},tooltip:{...e.tooltip,backgroundColor:l((e=>e.components.tooltip)),borderColor:l((e=>e.components.tooltipBorder)),borderWidth:1,shadowColor:l((e=>e.base.shadow)),shadowBlur:4,shadowOffsetX:0,shadowOffsetY:1,textStyle:{fontFamily:F.F2,fontSize:F.Hr,color:l((e=>e.components.tooltipText))}},visualMap:e.visualMap?{...e.visualMap,textStyle:{fontFamily:F.F2,fontSize:F.Hr,color:l((e=>e.chart.axisLabel))}}:void 0,xAxis:Array.isArray(e.xAxis)?e.xAxis.length?e.xAxis.map((e=>Qr(l,e))):Qr(l):Qr(l,e.xAxis),yAxis:Array.isArray(e.yAxis)?e.yAxis.length?e.yAxis.map((e=>$r(l,e))):$r(l):$r(l,e.yAxis),axisPointer:{lineStyle:{color:l((e=>e.chart.marker))}}}}(l(e),a,e)),[l,a]);return(0,j.jsx)(zr,{ref:n,buildOption:i,style:"mini"===a?{height:24,minWidth:60}:"mid"===a?{height:150,width:"100%"}:{height:250,width:"100%"},onInit:t})})));const Br=11;function Qr(e,n){var l;return{...n,axisLabel:{show:!0,fontFamily:F.F2,fontSize:Br,color:e((e=>e.chart.axisLabel)),margin:10,padding:[0,4],backgroundColor:"transparent",hideOverlap:!0,...null!==(l=null===n||void 0===n?void 0:n.axisLabel)&&void 0!==l?l:{}},axisLine:{show:!0,lineStyle:{color:e((e=>e.chart.axisLine))},...null===n||void 0===n?void 0:n.axisLine},axisTick:{show:!0,lineStyle:{color:e((e=>e.chart.axisLine))},...null===n||void 0===n?void 0:n.axisTick},splitLine:{show:!1,lineStyle:{type:"dashed",color:e((e=>e.chart.splitLine))},...null===n||void 0===n?void 0:n.splitLine}}}function $r(e,n){var l;return{...n,axisLabel:{show:!0,fontFamily:F.F2,fontSize:Br,color:e((e=>e.chart.axisLabel)),padding:[0,4],backgroundColor:"transparent",hideOverlap:!0,...null!==(l=null===n||void 0===n?void 0:n.axisLabel)&&void 0!==l?l:{}},axisLine:{show:!1,lineStyle:{color:e((e=>e.chart.axisLine))},...null===n||void 0===n?void 0:n.axisLine},axisTick:{show:!1,lineStyle:{color:e((e=>e.chart.axisLine))},...null===n||void 0===n?void 0:n.axisTick},splitLine:{show:!0,lineStyle:{type:"dashed",color:e((e=>e.chart.splitLine))},...null===n||void 0===n?void 0:n.splitLine}}}function Ur(e){let{dataset:n}=e;const l=(0,b.useCallback)((e=>({grid:{bottom:0,right:8},legend:{show:!1},visualMap:{orient:"horizontal",top:0,left:"center",min:0,max:100,text:["High","Low"],inRange:{color:[e((e=>e.chart.low)),e((e=>e.chart.high))]}},dataset:{source:n.map((e=>{let{name:n,total:l,impact:a}=e;return{name:n,total:l,impact:a}})),dimensions:["name","total","impact"]},xAxis:{type:"value",splitLine:{show:!0},axisLabel:{formatter:e=>(0,x.wk)(e)}},yAxis:{type:"category",splitLine:{show:!1}},series:[{type:"bar",encode:{x:"total",y:"name"},barMaxWidth:24,itemStyle:{borderRadius:[0,2,2,0]}}]})),[n]);return(0,j.jsx)(Hr,{buildOption:l})}function Wr(e){let{header:n,children:l,disableScrolling:a}=e;return(0,j.jsxs)(C.wn,{children:[n&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(C.AW,{spacing:"right",children:n}),(0,j.jsx)(C.Y2,{})]}),(0,j.jsx)(C.gN,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:a?(0,j.jsx)(Ua.A,{container:!0,spacing:.5,sx:{flexGrow:1,flexShrink:1,flexBasis:"auto",minWidth:450,padding:1,flexDirection:"column"},children:l}):(0,j.jsx)(Pl.Z,{children:(0,j.jsx)(Ua.A,{container:!0,spacing:.5,sx:{minWidth:450,padding:1},children:l})})})})]})}var qr,Yr=l(45180);function Jr(e){let{title:n,subheader:l,action:a,content:t,size:i,minHeight:r,noPadding:s}=e;return(0,j.jsx)(Ua.A,{sx:{display:"flex",flexDirection:"column",flexGrow:1,flexShrink:0,flexBasis:Xr(i)+"%",minWidth:320,overflow:"auto"},children:(0,j.jsxs)(Wa.A,{style:{minHeight:r},children:[(n||l||a)&&(0,j.jsx)(Yr.A,{title:n,subheader:l,action:a}),(0,j.jsx)(qa.A,{className:s?"no-padding":void 0,sx:{pt:0},children:t})]})})}function Xr(e){return e&&e<12?100/12*e:100}const Zr=v.Ay.div(qr||(qr=(0,h.A)(["padding-right:",";padding-bottom:",";padding-left:",";"])),(e=>{let{$disableXPadding:n}=e;return n?0:"13px"}),(e=>{let{$paddingBottom:n}=e;return n?"13px":0}),(e=>{let{$disableXPadding:n}=e;return n?0:"13px"}));var es,ns=l(13588),ls=l(16491),as=l(44930),ts=l(16479),is=l(4159),rs=l.n(is);const ss=[{label:"Today",getValue:()=>x.bP.from(x.Tp.today).toDayjs(),relativeValue:x.Tp.today},{label:"Last 30 Minutes",getValue:()=>x.bP.from(x.Tp.last30Minutes).toDayjs(),relativeValue:x.Tp.last30Minutes},{label:"Last Hour",getValue:()=>x.bP.from(x.Tp.lastHour).toDayjs(),relativeValue:x.Tp.lastHour},{label:"Last 2 Hours",getValue:()=>x.bP.from(x.Tp.last2Hours).toDayjs(),relativeValue:x.Tp.last2Hours},{label:"Last 6 Hours",getValue:()=>x.bP.from(x.Tp.last6Hours).toDayjs(),relativeValue:x.Tp.last6Hours},{label:"Last 12 Hours",getValue:()=>x.bP.from(x.Tp.last12Hours).toDayjs(),relativeValue:x.Tp.last12Hours},{label:"Last 24 Hours",getValue:()=>x.bP.from(x.Tp.last24Hours).toDayjs(),relativeValue:x.Tp.last24Hours},{label:"Last 2 Days",getValue:()=>x.bP.from(x.Tp.last2Days).toDayjs(),relativeValue:x.Tp.last2Days},{label:"Last 7 Days",getValue:()=>x.bP.from(x.Tp.last7Days).toDayjs(),relativeValue:x.Tp.last7Days}];function os(){const e=(0,o.$KT)(),n=(0,o.G9O)(),[l,a]=(0,b.useState)(!1),[t,i]=x.bP.from(x.Tp.last60Days).toDayjs(),r=(0,b.useCallback)(((e,l)=>{let[t,i]=e;if(t&&i&&l.validationError.every((e=>null===e))){var r;const e=null===(r=ss.find((e=>{var n;return e.label===(null===(n=l.shortcut)||void 0===n?void 0:n.label)})))||void 0===r?void 0:r.relativeValue;void 0===e?n(x.bP.from([t,i])):(n(x.bP.from(e)),a(!1))}}),[a,n]),s=(0,b.useCallback)((e=>{e&&(void 0===e.range?(n(x.bP.from([rs()().hour(0).minute(0).second(0).millisecond(0),rs()()])),a(!0)):n(x.bP.from(e.range)))}),[a,n]),d=(0,b.useCallback)((()=>{a(!0)}),[a]),u=(0,b.useCallback)((()=>{a(!1)}),[a]);return(0,x.Jw)(e.value)?(0,j.jsx)(ds,{activeValue:e.value,values:[{name:"Custom"},...ss.map((e=>{let{label:n,relativeValue:l}=e;return{name:n,range:l}}))],onSelect:s}):(0,j.jsx)(ls.A,{sx:{display:"flex",flexDirection:"row",flexBasis:"304px",flexGrow:0,flexShrink:0,marginLeft:"auto"},children:(0,j.jsx)(as.U,{value:e.value,minDate:t,maxDate:i,open:l,slotProps:{shortcuts:{items:ss},textField:{InputProps:{startAdornment:(0,j.jsx)(f.CT,{inheritColor:!0}),sx:{paddingLeft:"8px"},onClick:d}}},slots:{field:ts.J},sx:{flexBasis:"auto",flexGrow:1,flexShrink:1},onOpen:d,onClose:u,onChange:r})})}const ds=(0,b.memo)((function(e){var n;let{activeValue:l,values:a,onSelect:t}=e;const i=null!==(n=a.map((e=>{var n;return{content:(0,j.jsx)(us,{children:e.name}),title:e.name,key:null!==(n=e.range)&&void 0!==n?n:"custom",value:e}})))&&void 0!==n?n:[],r=i.find((e=>{let{value:n}=e;return n.range===l})),s=(0,b.useCallback)((e=>{t(e.value)}),[t]);return i.length&&r?(0,j.jsx)(ns.L,{selected:r,options:i,onSelectionChange:s,children:e=>{let{content:n,title:l}=e;return(0,j.jsx)(X.Si,{variant:"contained",startIcon:(0,j.jsx)(f.CT,{inheritColor:!0}),endIcon:(0,j.jsx)(f.D3,{}),sx:{maxWidth:304},tooltip:l,children:n})}}):null})),us=v.Ay.div(es||(es=(0,h.A)(["margin-left:7px;text-overflow:ellipsis;text-align:start;white-space:nowrap;flex:0 0 auto;"])));function cs(e){let{name:n,kind:l,showBackButton:a,onClickBack:t}=e;return(0,j.jsxs)(Ya.A,{children:[a&&(0,j.jsx)(C.mk,{children:(0,j.jsx)(X.pG,{onClick:t,children:(0,j.jsx)(f.A6,{})})}),(0,j.jsxs)(C.w,{children:[n," ",gs(l)]}),(0,j.jsx)(C.jB,{}),(0,j.jsx)(os,{})]})}function gs(e){var n;switch(e){case"operation":return"Operation";case"resolver":return"Resolver";case"stage":return"Stage";case"subgraph":return"Subgraph";default:return null!==(n=(0,x.dr)(e))&&void 0!==n?n:""}}function ms(){const e=(0,o.G9O)();return(0,b.useCallback)((n=>{n&&e(x.bP.from(n))}),[e])}function ps(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>({tooltip:{trigger:"axis",padding:6,valueFormatter:e=>"number"===typeof e?(0,x.wk)(e):"-",axisPointer:{label:{formatter:e=>(0,x.ZS)(e.value)}}},dataset:{source:n.map((e=>{let{epoch:n,total:l}=e;return{epoch:n,total:l}})),dimensions:["epoch","total"]},toolbox:{show:!1},brush:{xAxisId:"time",outOfBrush:{},brushStyle:{color:e((e=>e.chart.axisBrush)),borderWidth:0}},xAxis:{id:"time",type:"time",min:l,max:a},yAxis:{type:"value",axisLabel:{formatter:e=>(0,x.wk)(e)}},series:[{type:"line",name:"GraphQL",stack:"errors",emphasis:{focus:"series"},dimensions:["epoch","total"],color:e((e=>e.chart.error)),smooth:!0,symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5}}]})),[n,l,a]),i=ms();return(0,j.jsx)(Hr,{size:"big",buildOption:t,onInit:e=>{i(null),e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"lineX",brushMode:"single"}}),e.on("brushEnd",(e=>{var n,l;i(null!==(n=null===(l=e.areas.at(0))||void 0===l?void 0:l.coordRange)&&void 0!==n?n:null)}))}})}function ys(){return(0,j.jsx)(Sl.HY,{title:"No Data"})}function hs(){return(0,j.jsx)(jn,{})}function fs(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>({tooltip:{trigger:"axis",padding:6,valueFormatter:e=>"number"===typeof e?(0,x.ng)(e):"-",axisPointer:{label:{formatter:e=>(0,x.ZS)(e.value)}}},legend:{selected:{mean:!0,p99:!1,p95:!1}},dataset:{source:n.map((e=>{let{epoch:n,mean:l,p95:a,p99:t}=e;return{epoch:n,mean:l,p95:a,p99:t}})),dimensions:["epoch","mean","p95","p99"]},toolbox:{show:!1},brush:{xAxisId:"time",outOfBrush:{},brushStyle:{color:e((e=>e.chart.axisBrush)),borderWidth:0}},xAxis:{id:"time",type:"time",min:l,max:a},yAxis:{type:"value",axisLabel:{formatter:e=>(0,x.ng)(e)}},series:[{type:"line",name:"mean",dimensions:["epoch","mean"],smooth:!0,symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:e((e=>e.chart.latency))},{type:"line",name:"p95",dimensions:["epoch","p95"],smooth:!0,symbol:"circle",symbolSize:0,lineStyle:{width:1.5},color:e((e=>e.chart.p95))},{type:"line",name:"p99",dimensions:["epoch","p99"],smooth:!0,symbol:"circle",symbolSize:0,lineStyle:{width:1.5},color:e((e=>e.chart.p99))}]})),[n,l,a]),i=ms();return(0,j.jsx)(Hr,{size:"big",buildOption:t,onInit:e=>{i(null),e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"lineX",brushMode:"single"}}),e.on("brushEnd",(e=>{var n,l;i(null!==(n=null===(l=e.areas.at(0))||void 0===l?void 0:l.coordRange)&&void 0!==n?n:null)}))}})}l(36022);const ks=(0,b.memo)((0,b.forwardRef)((function(e,n){let{data:{dataset:l,p95:a},onRangeChange:t}=e;const i=(0,b.useRef)(null),r=(0,b.useRef)(null),s=(0,b.useCallback)((e=>{const n=[{type:"bar",name:"success",dimensions:["bin","successFrequency"],stack:"frequency",barMinHeight:5,itemStyle:{borderRadius:[2,2,0,0]},color:e((e=>e.chart.latency))},{type:"bar",name:"error",dimensions:["bin","errorFrequency"],stack:"frequency",barMinHeight:5,itemStyle:{borderRadius:[2,2,0,0]},color:e((e=>e.chart.error))},{type:"line",name:"p95",markLine:{symbol:"none",lineStyle:{type:"solid"},label:{formatter:"p95",color:e((e=>e.chart.p95Label)),backgroundColor:"inherit",borderRadius:2,padding:[2,4],distance:2},data:[{xAxis:a,name:"p95"}]},tooltip:{show:!1},symbol:"none",itemStyle:{color:e((e=>e.chart.p95))},lineStyle:{width:0}}];return r.current&&n.push(r.current),{tooltip:{trigger:"axis",padding:6,valueFormatter:e=>"number"===typeof e?(0,x.wk)(e):"-",axisPointer:{label:{formatter:e=>(0,x.ng)(e.value)}}},toolbox:{show:!1},dataset:{source:l.map((e=>{let{bin:n,errorFrequency:l,successFrequency:a}=e;return{bin:n,successFrequency:a,errorFrequency:l}}))},brush:{xAxisId:"bin",outOfBrush:{},brushStyle:{color:e((e=>e.chart.axisBrush)),borderWidth:0}},xAxis:{id:"bin",type:"log",axisLabel:{formatter:e=>(0,x.ng)(e)}},yAxis:{type:"log",min:1,axisLabel:{formatter:e=>(0,x.wk)(e)}},series:n}}),[l,a]);return(0,b.useImperativeHandle)(n,(()=>({setCurrent:e=>{var n;null===(n=i.current)||void 0===n||n.setOption(((n,l)=>{const a=n.series.filter((e=>{let{name:n}=e;return"current"!==n}));return null===e?r.current&&(r.current={...r.current,markLine:{...r.current.data,data:[]}},a.push(r.current)):(r.current={type:"line",name:"current",animation:!1,markLine:{symbol:"none",lineStyle:{type:"solid"},label:{formatter:"current",color:l((e=>e.chart.currentLabel)),backgroundColor:"inherit",borderRadius:2,padding:[2,4],distance:2},data:[{xAxis:e,name:"current"}]},tooltip:{show:!1},symbol:"none",itemStyle:{color:l((e=>e.chart.current))},lineStyle:{width:0}},a.push(r.current)),{...n,series:a}}))}}))),(0,j.jsx)(Hr,{ref:i,buildOption:s,onInit:e=>{null===t||void 0===t||t(null),e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"lineX",brushMode:"single"}}),e.on("brushEnd",(e=>{var n,l;null===t||void 0===t||t(null!==(n=null===(l=e.areas.at(0))||void 0===l?void 0:l.coordRange)&&void 0!==n?n:null)}))}})})));var xs,bs,vs,Fs;function Ss(e){let{plotValues:n,duration:l}=e;const{width:a,tickValues:t,xScale:i}=n;let r=function(e,n){if(!n||e.length<2)return e;const l=e[1]-e[0],a=n-l;return e.filter((e=>e<a))}(t,l).reduce(((e,n)=>{const l=i(n);return Number.isFinite(l)?[...e,{position:l,label:(0,x.ng)(n)}]:e}),[]);return l>0&&(r=[...r,{position:i(l),label:(0,x.ng)(l)}]),(0,j.jsx)(js,{children:(0,j.jsx)(Ks,{children:(0,j.jsx)(Cs,{style:{width:a},children:r.map(((e,n,l)=>{let{position:a,label:t}=e,{length:i}=l;return(0,j.jsx)(Ls,{x:a,y:0,className:n+1===i?"last":void 0,children:t},"label-".concat(a))}))})})})}const js=v.Ay.div(xs||(xs=(0,h.A)(["position:sticky;z-index:2;top:0;box-sizing:border-box;border-bottom:1px solid ",";width:100%;height:","px;"])),F.lt.chart.axisLine,40),Ks=v.Ay.svg(bs||(bs=(0,h.A)(["position:absolute;top:0;left:0;width:100%;height:","px;"])),40),Cs=v.Ay.g(vs||(vs=(0,h.A)(["transform:translate(0,25px);"]))),Ls=v.Ay.text(Fs||(Fs=(0,h.A)(["fill:",";font-size:1rem;text-anchor:middle;&.last{font-size:1.25rem;}"])),F.lt.chart.axisLabel);var As,Ts,Is=l(15079);function ws(e){let{duration:n,plotValues:l,height:a}=e;const{tickValues:t,xScale:i}=l;let r=t.reduce(((e,n)=>{const l=i(n);return Number.isFinite(l)?[...e,l]:e}),[]);return n>0&&(r=[...r,i(n)]),(0,j.jsx)(Ds,{height:a,children:r.map(((e,n,l)=>{let{length:t}=l;return(0,j.jsx)(Ns,{x1:e,x2:e,y1:0,y2:a,className:n+1===t?"last":void 0},"line-".concat(n))}))})}const Ds=v.Ay.svg(As||(As=(0,h.A)(["position:relative;top:0;left:0;width:100%;"]))),Ns=v.Ay.line(Ts||(Ts=(0,h.A)(["stroke:",";stroke-dasharray:4,2;&.last{stroke:",";}"])),F.lt.chart.splitLine,F.lt.chart.marker);var Rs;function Es(e){const[n,l]=(0,b.useState)(0),a=(0,b.useRef)(null);return(0,L.wY)(a,(e=>{let[n]=e;l(n.contentRect.width)})),(0,j.jsx)(Ps,{ref:a,children:(0,j.jsx)(Vs,{width:n,...e})})}function Vs(e){let{width:n,itemsHeight:l,margins:a,xMin:t,xMax:i}=e;if(!n||!i)return null;const r=function(e){let{width:n,margins:l,xMin:a=0,xMax:t}=e;const i=Math.max(2,Math.floor(n/100)-1),r=(0,Is.A)().domain([a,t]).range([l.left,n-l.right]);return{margins:l,tickValues:r.ticks(i),width:n,xDomain:r.domain(),xMax:t,xScale:r}}({width:n,margins:a,xMin:t,xMax:i}),s=i-(null!==t&&void 0!==t?t:0);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ss,{duration:s,plotValues:r}),(0,j.jsx)(ws,{duration:s,plotValues:r,height:l})]})}const Ps=v.Ay.div(Rs||(Rs=(0,h.A)(["position:relative;width:100%;"])));var Os,_s,Ms,Gs,zs,Hs;function Bs(e){var n,l;let{active:a,item:t,color:i,totalDuration:r,margins:s,onClickItem:o}=e;const d=(0,b.useRef)(null),u=t.duration/r*100,c=t.offset/r*100,g=(0,b.useCallback)((e=>{o&&(e.stopPropagation(),o(t))}),[t,o]);return(0,j.jsx)(Qs,{ref:d,className:a?"active":void 0,$margins:s,$failed:t.failed,onClick:g,children:(0,j.jsxs)($s,{children:[(0,j.jsx)(Us,{style:{left:"".concat(c,"%"),width:"".concat(u,"%"),backgroundColor:i},children:null!==(n=t.segments)&&void 0!==n&&n.length?(0,j.jsx)(qs,{children:null===(l=t.segments)||void 0===l?void 0:l.map((e=>(0,j.jsx)(Ys,{$color:e.color,$left:e.left,$width:e.width})))}):null}),(0,j.jsx)(Ws,{style:{minWidth:"".concat(Math.max(100-c,0),"%")},children:t.content})]})})}const Qs=v.Ay.div(Os||(Os=(0,h.A)(["position:relative;box-sizing:border-box;border-bottom:1px solid ",";padding-right:","px;padding-left:","px;height:","px;color:",";background-color:",";cursor:pointer;&.active{color:",";background-color:",";}&:hover{color:",";background-color:",";}"])),F.lt.chart.gridLine,(e=>{let{$margins:n}=e;return n.right}),(e=>{let{$margins:n}=e;return n.left}),40,(e=>{let{$failed:n}=e;return n?F.lt.base.itemFailedText:F.lt.base.itemText}),(e=>{let{$failed:n}=e;return n?F.lt.base.itemFailed:F.lt.base.item}),F.lt.base.itemActiveText,F.lt.base.itemActive,F.lt.base.itemHoverText,F.lt.base.itemHover),$s=v.Ay.div(_s||(_s=(0,h.A)(["position:relative;box-sizing:border-box;padding-top:4px;height:","px;"])),40),Us=v.Ay.div(Ms||(Ms=(0,h.A)(["position:relative;right:0;box-sizing:border-box;border-radius:2px;min-width:2px;height:14px;"]))),Ws=v.Ay.span(Gs||(Gs=(0,h.A)(["position:absolute;top:23px;right:0;display:flex;align-items:center;max-width:100%;height:1rem;gap:8px;& > *{white-space:nowrap;}"]))),qs=v.Ay.div(zs||(zs=(0,h.A)(["position:relative;top:4px;display:flex;flex-direction:row;box-sizing:border-box;min-width:2px;height:4px;background-color:transparent;"]))),Ys=v.Ay.div(Hs||(Hs=(0,h.A)(["position:absolute;left:","%;box-sizing:border-box;width:","%;min-width:2px;height:4px;background-color:",";"])),(e=>{let{$left:n}=e;return 100*n}),(e=>{let{$width:n}=e;return 100*n}),(e=>e.$color));var Js,Xs,Zs,eo,no;function lo(e){let{activeItemId:n,legends:l,items:a,offset:t,totalDuration:i,showLoading:r,onClickItem:s}=e;const o=40*(a.length?a.length:8);return(0,j.jsxs)(ao,{children:[(0,j.jsx)(to,{children:(0,j.jsx)(Es,{itemsHeight:o,margins:{right:50,left:50},xMax:a.length?i:200})}),(0,j.jsx)(io,{style:{height:o+"px"},children:a.length?a.map((e=>{var a,r;return(0,j.jsx)(Bs,{active:e.id===n,item:{...e,offset:e.epoch-t},color:null!==(a=null===(r=l.find((n=>{let{name:l}=n;return l===e.legendName})))||void 0===r?void 0:r.color)&&void 0!==a?a:"initial",totalDuration:i,margins:{right:50,left:50},onClickItem:s},e.id)})):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(ro,{}),(0,j.jsx)(oo,{style:{height:o+"px"},children:(0,j.jsx)(Sl.HY,{title:"No Data"})})]})})]})}const ao=v.Ay.div(Js||(Js=(0,h.A)(["position:relative;width:100%;"]))),to=v.Ay.div(Xs||(Xs=(0,h.A)(["position:absolute;width:100%;"]))),io=v.Ay.div(Zs||(Zs=(0,h.A)(["position:relative;padding-top:","px;width:100%;"])),40);function ro(){return(0,j.jsxs)(so,{children:[(0,j.jsx)(Za.A,{animation:!1,width:"100%",height:"24px"}),(0,j.jsx)(Za.A,{animation:!1,width:"90%",height:"24px",sx:{marginLeft:"5%"}}),(0,j.jsx)(Za.A,{animation:!1,width:"75%",height:"24px",sx:{marginLeft:"15%"}}),(0,j.jsx)(Za.A,{animation:!1,width:"50%",height:"24px",sx:{marginLeft:"35%"}}),(0,j.jsx)(Za.A,{animation:!1,width:"30%",height:"24px",sx:{marginLeft:"55%"}}),(0,j.jsx)(Za.A,{animation:!1,width:"65%",height:"24px",sx:{marginLeft:"25%"}}),(0,j.jsx)(Za.A,{animation:!1,width:"50%",height:"24px",sx:{marginLeft:"45%"}}),(0,j.jsx)(Za.A,{animation:!1,width:"30%",height:"24px",sx:{marginLeft:"70%"}})]})}const so=v.Ay.div(eo||(eo=(0,h.A)(["position:absolute;top:50px;right:50px;bottom:10px;left:50px;display:flex;flex-direction:column;justify-content:space-between;opacity:0.1;"]))),oo=v.Ay.div(no||(no=(0,h.A)(["position:absolute;z-index:2;width:100%;"])));var uo,co,go,mo,po,yo,ho;let fo=function(e){return e.Client="client",e.Server="server",e.Producer="producer",e.Consumer="consumer",e.Internal="internal",e}({}),ko=function(e){return e.Default="default",e.DB="db",e.GraphQLOperation="graphql-operation",e.GraphQLResolver="graphql-resolver",e.HTTPClient="http-client",e.HTTPServer="http-server",e}({});function xo(e){const n=e.events.filter((e=>{let{name:n}=e;return"exception"===n})).length,l="error"===e.statusCode||n>0;return l?{failed:l,exceptionCount:n}:null}function bo(e){switch(e){case ko.DB:return"DB";case ko.GraphQLOperation:case ko.GraphQLResolver:return"GraphQL";case ko.HTTPClient:case ko.HTTPServer:return"HTTP";default:return"Internal"}}function vo(e){let{type:n}=e;switch(n){case ko.DB:return(0,j.jsx)(f.bN,{});case ko.GraphQLOperation:return(0,j.jsx)(f.hf,{});case ko.GraphQLResolver:return(0,j.jsx)(f.qz,{});case ko.HTTPClient:return(0,j.jsx)(f.Y_,{});case ko.HTTPServer:return(0,j.jsx)(f.K6,{});default:return null}}function Fo(e){let{duration:n}=e;return n?(0,j.jsx)(la.A,{variant:"body2",component:"div",children:(0,x.ng)(n)}):null}function So(e){let{count:n}=e;return n?(0,j.jsx)(Io,{children:n>1?"".concat(n," errors"):"error"}):null}function jo(e){let{count:n}=e;return n?(0,j.jsx)(Io,{children:n>1?"".concat(n," exceptions"):"exception"}):null}function Ko(e){let{epoch:n}=e;return n?(0,j.jsx)(la.A,{variant:"body2",component:"div",children:(0,x.CS)(n)}):null}function Co(e){let{epoch:n}=e;return n?(0,j.jsx)(A.A,{title:(0,x.CS)(n),children:(0,j.jsx)(la.A,{variant:"body2",component:"div",children:(0,x.fw)(n)})}):null}function Lo(e){let{statusCode:n}=e;return n?(0,j.jsx)(la.A,{variant:"body2",component:"div",children:n}):null}function Ao(e){let{kind:n}=e;switch(n){case fo.Client:return(0,j.jsx)(Eo,{children:"Client"});case fo.Server:return(0,j.jsx)(Eo,{children:"Server"});case fo.Producer:return(0,j.jsx)(Eo,{children:"Producer"});case fo.Consumer:return(0,j.jsx)(Eo,{children:"Consumer"});default:return(0,j.jsx)(Eo,{children:"Internal"})}}const To=v.Ay.div(uo||(uo=(0,h.A)(["display:flex;flex:0 0 auto;align-items:center;justify-content:center;gap:4px;border-radius:4px;height:20px;padding-right:6px;padding-left:6px;font-size:0.917rem;line-height:1.5rem;text-transform:lowercase;"]))),Io=(0,v.Ay)(To)(co||(co=(0,h.A)(["background-color:",";color:",";& > svg{fill:",";}"])),F.lt.states.failure,F.lt.states.failureText,F.lt.states.failureText),wo=(0,v.Ay)(To)(go||(go=(0,h.A)(["background-color:",";color:",";& > svg{fill:",";}"])),F.lt.states.success,F.lt.states.successText,F.lt.states.successText),Do=(0,v.Ay)(To)(mo||(mo=(0,h.A)(["background-color:",";color:",";& > svg{fill:",";}"])),F.lt.states.info,F.lt.states.infoText,F.lt.states.infoText),No=(0,v.Ay)(To)(po||(po=(0,h.A)(["background-color:",";color:",";& > svg{fill:",";}"])),F.lt.states.info,F.lt.states.infoText,F.lt.states.infoText),Ro=(0,v.Ay)(To)(yo||(yo=(0,h.A)(["background-color:",";color:",";& > svg{fill:",";}"])),F.lt.states.info,F.lt.states.infoText,F.lt.states.infoText),Eo=(0,v.Ay)(To)(ho||(ho=(0,h.A)(["background-color:",";color:",";& > svg{fill:",";}"])),F.lt.states.highlight1,F.lt.states.highlight1Text,F.lt.states.highlight1Text),Vo=(0,b.memo)((function(e){let{activeSpanId:n,spans:l,onShowSpanDetails:a,...t}=e;const i=[{name:"HTTP",color:F.lt.chart.palette[0]},{name:"GraphQL",color:F.lt.chart.palette[1]},{name:"Internal",color:F.lt.chart.palette[2]},{name:"DB",color:F.lt.chart.palette[3]}],r=(0,b.useCallback)((e=>{let{id:n}=e;if(a){const e=l.find((e=>e.id===n));e&&a(e)}}),[l,a]);return(0,j.jsx)(lo,{activeItemId:n,legends:i,items:l.map((e=>{var n;const l=xo(e);return{id:e.id,legendName:bo(e.type),duration:e.duration,epoch:e.epoch,offset:e.offset,failed:null===l||void 0===l?void 0:l.failed,content:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(vo,{type:e.type}),(0,j.jsx)(Lo,{statusCode:null===(n=e.http)||void 0===n?void 0:n.statusCode}),(0,j.jsx)(la.A,{variant:"body2",children:e.name}),(0,j.jsx)(Fo,{duration:e.duration}),(null===l||void 0===l?void 0:l.failed)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(f.ik,{}),!!l.exceptionCount&&(0,j.jsx)(jo,{count:l.exceptionCount})]})]})}})),onClickItem:r,...t})}));var Po=l(35545);function Oo(e){let{onSortModelChange:n,...l}=e;const a=(0,Po.b)();return(0,j.jsx)(xa.C,{apiRef:a,scrollEndThreshold:400,disableColumnReorder:!0,disableRowSelectionOnClick:!0,rowSelection:!1,sortingMode:"server",sortingOrder:["desc","asc",null],initialState:{sorting:{sortModel:[{field:"impact",sort:"desc"}]}},slots:{noRowsOverlay:ys},onSortModelChange:(e,l)=>{n&&(n(e,l),a.current.scrollToIndexes({rowIndex:0}))},...l})}var _o=l(49420);var Mo;function Go(e){let{kind:n,name:l}=e;return(0,j.jsxs)(zo,{children:[(0,j.jsx)(Ho,{kind:n}),(0,j.jsx)(Bo,{name:l})]})}const zo=v.Ay.div(Mo||(Mo=(0,h.A)(["display:flex;align-items:center;gap:6px;"]))),Ho=e=>{let{kind:n}=e;switch(n){case"QUERY":return(0,j.jsx)(_o.XK,{title:"Query"});case"MUTATION":return(0,j.jsx)(_o.sM,{title:"Mutation"});case"SUBSCRIPTION":return(0,j.jsx)(_o.yU,{title:"Subscription"});default:return null}},Bo=e=>{let{name:n}=e;return n?(0,j.jsx)(ka.$,{children:n}):null};var Qo,$o=l(66699);const Uo={field:"operation",headerName:"Operation",width:250,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(Wo,{kind:n.node.kind,hash:n.node.hash,operationName:n.node.operationName})}};function Wo(e){let{hash:n,operationName:l,kind:a}=e;const t=(0,o.I7$)(),i=(0,o.WAJ)();return t?(0,j.jsx)(et.A,{onClick:()=>i({stageId:t.id,hash:n,operationName:l}),children:(0,j.jsx)(Go,{kind:a,name:l})}):(0,j.jsx)(Go,{kind:a,name:l})}const qo={field:"resolver",headerName:"Resolver",width:250,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(Yo,{coordinate:n.node.coordinate})}};function Yo(e){let{coordinate:n}=e;const l=(0,o.I7$)(),a=(0,o.VA7)();return l?(0,j.jsx)(et.A,{onClick:()=>a({stageId:l.id,coordinate:n}),children:(0,j.jsx)(ka.$,{children:n})}):(0,j.jsx)(ka.$,{children:n})}const Jo={field:"subgraph",headerName:"Subgraph",width:250,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(Xo,{name:n.node.name,remoteId:n.node.remoteId,stage:n.node.stage})}};function Xo(e){let{name:n,remoteId:l,stage:a}=e;const[t,i]=(0,b.useState)(),r=(0,o.$KT)().serialize(),s=(0,o.Pan)();return(0,b.useEffect)((()=>{l&&(0,jl._sj)(l).then((e=>{i(null===e||void 0===e?void 0:e.id)}))}),[l,i]),t?(0,j.jsx)(et.A,{onClick:()=>s(t,{activeStage:a,metricsDateTimeRange:r,activeViewId:"monitoring"}),children:(0,j.jsx)(ka.$,{children:n})}):(0,j.jsx)(ka.$,{children:n})}const Zo={field:"averageLatency",headerName:"Latency",width:150,minWidth:150,sortable:!0,align:"right",renderCell(e){let{row:n}=e;return n.node.averageLatency&&n.node.latency?(0,j.jsxs)(dd,{children:[(0,j.jsx)("span",{children:(0,x.ng)(n.node.averageLatency)}),(0,j.jsx)(id,{dataset:n.node.latency.dataset,range:n.range})]}):null}},ed={field:"averageLatency",headerName:"Latency",width:150,minWidth:150,sortable:!0,align:"right",renderCell(e){let{row:n}=e;return n.node.averageLatency&&n.node.latency?(0,j.jsxs)(dd,{children:[(0,j.jsx)("span",{children:(0,x.ng)(n.node.averageLatency)}),(0,j.jsx)(rd,{dataset:n.node.latency.dataset,range:n.range})]}):null}},nd={field:"opm",headerName:"Throughput",width:150,minWidth:150,sortable:!0,align:"right",renderCell(e){let{row:n}=e;return n.node.opm&&n.node.throughput?(0,j.jsxs)(dd,{children:[(0,j.jsx)("span",{children:(0,x.wk)(n.node.opm)+" opm"}),(0,j.jsx)(sd,{dataset:n.node.throughput.dataset,range:n.range})]}):null}},ld={field:"errorRate",headerName:"Errors",width:150,minWidth:150,sortable:!0,align:"right",renderCell(e){let{row:n}=e;return n.node.errorRate&&n.node.throughput?(0,j.jsxs)(dd,{children:[(0,j.jsx)("span",{children:(0,x.Io)(n.node.errorRate)}),(0,j.jsx)(od,{dataset:n.node.throughput.dataset,range:n.range})]}):null}},ad={field:"impact",headerName:"Impact",width:150,sortable:!0,align:"right",renderCell(e){let{row:n}=e;return n.node.impact?(0,j.jsx)(td,{data:n.node.impact}):null}};function td(e){let{data:n}=e;return(0,j.jsx)($o.A,{variant:"determinate",color:"primary",value:n,className:"impact",sx:{width:80,height:4,borderRadius:1}})}function id(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>({legend:{show:!1},animation:!1,dataset:{source:n.map((e=>{let{epoch:n,mean:l,p99:a}=e;return{epoch:n,mean:l,p99:a}})),dimensions:["epoch","mean","p99"]},xAxis:{type:"time",show:!1,min:l,max:a},yAxis:{type:"value",show:!1},series:[{type:"scatter",name:"p99",dimensions:["epoch","p99"],symbol:"circle",symbolSize(e){let{p99:n,mean:l}=e;return n>l?3:0},color:e((e=>e.chart.p99))},{type:"line",name:"mean",dimensions:["epoch","mean"],smooth:!0,symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:e((e=>e.chart.latency))}]})),[n,l,a]);return(0,j.jsx)(Hr,{size:"mini",buildOption:t})}function rd(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>({legend:{show:!1},animation:!1,dataset:{source:n.map((e=>{let{epoch:n,p95:l}=e;return{epoch:n,p95:l}})),dimensions:["epoch","p95"]},xAxis:{type:"time",show:!1,min:l,max:a},yAxis:{type:"value",show:!1},series:[{type:"line",name:"p95",dimensions:["epoch","p95"],smooth:!0,symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:e((e=>e.chart.latency))}]})),[n,l,a]);return(0,j.jsx)(Hr,{size:"mini",buildOption:t})}function sd(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>({legend:{show:!1},animation:!1,dataset:{source:n.map((e=>{let{epoch:n,opm:l}=e;return{epoch:n,opm:l}})),dimensions:["epoch","opm"]},xAxis:{type:"time",show:!1,min:l,max:a},yAxis:{type:"value",show:!1},series:[{type:"line",name:"OPM",dimensions:["epoch","opm"],smooth:!0,symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:e((e=>e.chart.throughput))}]})),[n,l,a]);return(0,j.jsx)(Hr,{size:"mini",buildOption:t})}function od(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>({grid:{top:"50%",bottom:"50%"},legend:{show:!1},animation:!1,dataset:{source:n.map((e=>{let{epoch:n,errorRate:l}=e;return{epoch:n,rate:l,baseline:0}})),dimensions:["epoch","rate"]},xAxis:{type:"time",show:!1,boundaryGap:["18%","18%"],min:l,max:a},yAxis:{type:"value",splitLine:{lineStyle:{type:"solid"}},axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1}},series:[{type:"scatter",name:"error",symbol:"circle",symbolSize(e){let{rate:n}=e;return n?(0,x.qE)(16*n,4,16):0},itemStyle:{color:e((e=>e.chart.error))},encode:{x:"epoch",y:"baseline"}}]})),[n,l,a]);return(0,j.jsx)(Hr,{size:"mini",buildOption:t})}const dd=v.Ay.div(Qo||(Qo=(0,h.A)(["display:flex;align-items:center;gap:6px;"])));function ud(e){return(0,j.jsx)(Oo,{columns:cd,getRowId:e=>{let{node:n}=e;return n.id},...e})}const cd=[Uo,Zo,nd,ld,ad];function gd(e){return(0,j.jsx)(Oo,{columns:md,getRowId:e=>{let{node:n}=e;return n.id},...e})}const md=[qo,Zo,nd,ld,ad];function pd(e){return(0,j.jsx)(Oo,{columns:yd,getRowId:e=>{let{node:n}=e;return n.id},...e})}const yd=[Jo,ed,nd,ld,ad];function hd(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>({tooltip:{trigger:"axis",padding:6,valueFormatter:e=>"number"===typeof e?(0,x.wk)(e):"-",axisPointer:{label:{formatter:e=>(0,x.ZS)(e.value)}}},dataset:{source:n.map((e=>{let{epoch:n,opm:l,success:a,error:t}=e;return{epoch:n,opm:l,success:a,error:t}})),dimensions:["epoch","opm","success","error"]},legend:{selected:{OPM:!0,Success:!1,Error:!0}},toolbox:{show:!1},brush:{xAxisId:"time",outOfBrush:{},brushStyle:{color:e((e=>e.chart.axisBrush)),borderWidth:0}},xAxis:{id:"time",type:"time",min:l,max:a},yAxis:[{type:"value",axisLabel:{formatter:e=>(0,x.wk)(e)+" opm"}},{type:"value",splitLine:{show:!1},axisLabel:{formatter:e=>(0,x.wk)(e)}}],series:[{type:"line",name:"OPM",dimensions:["epoch","opm"],tooltip:{valueFormatter:e=>"number"===typeof e?(0,x.wk)(e)+" opm":"-"},smooth:!0,symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:e((e=>e.chart.throughput))},{type:"line",name:"Success",dimensions:["epoch","success"],smooth:!0,symbol:"circle",symbolSize:0,lineStyle:{width:1.5},yAxisIndex:1,color:e((e=>e.chart.success))},{type:"bar",name:"Error",dimensions:["epoch","error"],smooth:!0,symbol:"circle",symbolSize:0,lineStyle:{width:1.5},yAxisIndex:1,color:e((e=>e.chart.error))}]})),[n,l,a]),i=ms();return(0,j.jsx)(Hr,{size:"big",buildOption:t,onInit:e=>{i(null),e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"lineX",brushMode:"single"}}),e.on("brushEnd",(e=>{var n,l;i(null!==(n=null===(l=e.areas.at(0))||void 0===l?void 0:l.coordRange)&&void 0!==n?n:null)}))}})}var fd,kd,xd,bd,vd,Fd,Sd,jd;const Kd=68;function Cd(e){let{deploymentId:n,fragmentRef:a,hasNext:t,isLoadingNext:i,loadNext:r}=e;const s=(0,o.dMM)(),{edges:d}=(0,ba.useFragment)(void 0!==fd?fd:fd=l(72581),a),u=(0,b.memo)((function(e){var l;let{data:a,index:t,style:i}=e;const r=null===(l=a.at(t))||void 0===l?void 0:l.node;return r?(0,j.jsx)("div",{style:i,children:(0,j.jsx)(Ld,{fragmentRef:r,deploymentId:n,onActivate:s})}):null}),Pa.t7),c=null!==d&&void 0!==d?d:[];return c.length?(0,j.jsx)(C.wn,{children:(0,j.jsx)(C.VP,{children:(0,j.jsx)(Va.w,{itemCount:t?c.length+2:c.length+1,itemData:c,itemKey:(e,n)=>{var l,a;return null!==(l=null===(a=n.at(e))||void 0===a?void 0:a.node.id)&&void 0!==l?l:"item-"+e},itemSize:Kd,tabIndex:-1,isItemLoaded:e=>e<=c.length,onLoadMoreItems:()=>{!i&&t&&r(15)},children:u})})}):null}function Ld(e){let{fragmentRef:n,deploymentId:a,onActivate:t}=e;const{id:i,__typename:r,approval:s,createdAt:o,status:d,tag:u,client:c,subgraph:g}=(0,ba.useFragment)(void 0!==kd?kd:kd=l(61406),n),m=(0,b.useCallback)((()=>{t(i)}),[i,t]);return(0,j.jsxs)(Dd,{className:Mr()({active:a===i}),onClick:m,children:[(0,j.jsx)(Ad,{status:d}),(0,j.jsxs)(Rd,{children:[(0,j.jsxs)(Id,{children:[(0,j.jsx)(la.A,{variant:"h6",children:Td(r,d)}),(0,j.jsxs)(Do,{children:[(0,j.jsx)(f.gq,{}),u]}),(null===c||void 0===c?void 0:c.name)&&(0,j.jsx)(No,{children:c.name}),g&&(0,j.jsxs)(Ro,{children:[g.api&&(0,j.jsx)(f.jc,{}),g.name]}),s&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ed,{}),(0,j.jsxs)(wo,{children:[(0,j.jsx)(f.M3,{inheritColor:!0}),"Approved"]})]})]}),(0,j.jsxs)(wd,{children:[(0,j.jsx)(A.A,{title:(0,x.YS)(o),children:(0,j.jsxs)(la.A,{variant:"body2",children:["Started ",(0,j.jsx)("strong",{children:(0,x.fw)(o)})]})}),s&&(0,j.jsx)(A.A,{title:(0,x.YS)(s.approvedAt),children:(0,j.jsxs)(la.A,{variant:"body2",children:["Approved"," ",(0,j.jsx)("strong",{children:(0,x.fw)(s.approvedAt)})," by"," ",(0,j.jsx)("strong",{children:s.approvedBy.username})]})})]})]})]})}function Ad(e){let{status:n}=e;switch(n){case"QUEUED":return(0,j.jsx)(Nd,{children:(0,j.jsx)(f.xm,{})});case"READY":case"PROCESSING":case"WAITING_FOR_APPROVAL":case"APPROVED":return(0,j.jsx)(Nd,{children:(0,j.jsx)(Sn.A,{size:18})});case"SUCCEEDED":return(0,j.jsx)(Nd,{children:(0,j.jsx)(f.BK,{})});case"FAILED":return(0,j.jsx)(Nd,{children:(0,j.jsx)(f.ik,{})});case"CANCELLED":return(0,j.jsx)(Nd,{children:(0,j.jsx)(f.tT,{})})}}function Td(e,n){const l=function(e){switch(e){case"SchemaDeployment":return"Schema";case"ClientDeployment":return"Client";case"FusionConfigurationDeployment":return"Gateway Configuration";default:return"New"}}(e);switch(n){case"QUEUED":return"".concat(l," deployment queued");case"READY":case"PROCESSING":return"Evaluating ".concat(l);case"WAITING_FOR_APPROVAL":return"Waiting for ".concat(l," approval");case"APPROVED":return"Deploying ".concat(l);case"SUCCEEDED":return"".concat(l," Deployment succeeded");case"FAILED":return"".concat(l," Deployment failed");case"CANCELLED":return"".concat(l," deployment cancelled")}}const Id=v.Ay.div(xd||(xd=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:8px;& > h6{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"]))),wd=v.Ay.div(bd||(bd=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:8px;& > *{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"]))),Dd=v.Ay.div(vd||(vd=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;border-bottom:1px solid ",";padding:12px 24px;gap:16px;cursor:pointer;transition:background-color 0.2s ease;"," > h6{color:",";transition:color 0.2s ease;}&:hover{background-color:",";"," > h6{color:",";}}&.active{background-color:",";"," > h6{color:",";}}"])),F.lt.base.itemSeparator,Id,F.lt.base.itemText,F.lt.base.itemHover,Id,F.lt.base.itemHoverText,F.lt.base.itemActive,Id,F.lt.base.itemActiveText),Nd=v.Ay.div(Fd||(Fd=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:center;& > svg{width:20px;height:20px;}"]))),Rd=v.Ay.div(Sd||(Sd=(0,h.A)(["display:flex;flex:1 1 auto;flex-direction:column;gap:4px;"]))),Ed=v.Ay.div(jd||(jd=(0,h.A)(["flex:1 1 auto;"])));var Vd,Pd,Od;function _d(e){var n,a;let{fragmentRef:t,deploymentId:i}=e;const r=(0,o.xIY)(),s=(0,o.dMM)(),d=(0,o.gfI)(),{data:u,hasNext:c,isLoadingNext:g,loadNext:m}=(0,ba.usePaginationFragment)(void 0!==Vd?Vd:Vd=l(9983),t);if(null!==u&&void 0!==u&&null!==(n=u.deployments)&&void 0!==n&&null!==(a=n.edges)&&void 0!==a&&a.length){const{edges:e}=u.deployments;return e.length&&!e.some((e=>e.node.id===i))?s(e[0].node.id):e.length&&i||s(null),(0,j.jsx)(Fn.YV,{id:"clients",asideWidth:r,mainPane:"left",leftContent:(0,j.jsx)(Cd,{deploymentId:null!==i&&void 0!==i?i:void 0,fragmentRef:u.deployments,hasNext:c,isLoadingNext:g,loadNext:m}),rightContent:(0,j.jsx)(fr,{deploymentId:null!==i&&void 0!==i?i:void 0}),onAsideWidthChange:d})}return(0,j.jsx)(Or,{})}function Md(e){let{stage:n}=e;const a=(0,o.me9)(),t=Ja.ConnectionHandler.getConnectionID(n.id,"deployment_container_api_deployments");return(0,ba.useSubscription)((0,b.useMemo)((()=>({subscription:void 0!==Pd?Pd:Pd=l(36969),variables:{stageId:n.id,connections:[t]}})),[t,n.id])),(0,j.jsxs)(C.wn,{children:[(0,j.jsx)(C.AW,{spacing:"right",children:(0,j.jsx)(Gd,{stage:n})}),(0,j.jsx)(C.Y2,{}),(0,j.jsx)(C.gN,{children:(0,j.jsx)(Ua.A,{container:!0,spacing:.5,sx:{flexGrow:1,flexShrink:1,flexBasis:"auto",padding:1},children:(0,j.jsx)(Ua.A,{sx:{display:"flex",flexDirection:"column",flexGrow:1,flexShrink:1,flexBasis:"auto",overflow:"auto"},children:(0,j.jsx)(Wa.A,{children:(0,j.jsx)(qa.A,{className:"no-padding",sx:{display:"flex",pt:0},children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(zd,{stageId:n.id,deploymentId:a})})})})})})})]})}function Gd(e){let{stage:n}=e;return(0,j.jsx)(Ya.A,{children:(0,j.jsxs)(C.w,{children:[n.displayName," Stage"]})})}function zd(e){let{stageId:n,deploymentId:a}=e;const[t,i]=(0,L.V7)(),{stage:r}=(0,ba.useLazyLoadQuery)(void 0!==Od?Od:Od=l(41358),{stageId:n},{fetchKey:t,fetchPolicy:"store-and-network"});return ua(i),r?(0,j.jsx)(_d,{fragmentRef:r,deploymentId:null!==a&&void 0!==a?a:void 0}):(0,j.jsx)(Or,{})}var Hd,Bd,Qd,$d,Ud,Wd,qd,Yd,Jd,Xd=l(60899),Zd=l(39694);function eu(e){let{title:n,children:l,headerButtons:a,tabsContent:t,onClose:i,...r}=e;return(0,j.jsx)(Zd.Ay,{anchor:"right",onClose:i,...r,children:r.open&&(0,j.jsx)(C.hM,{children:(0,j.jsxs)(tu,{children:[(0,j.jsxs)(iu,{children:[(0,j.jsxs)(ru,{children:[(0,j.jsx)(su,{children:n}),a,(0,j.jsx)(C.jB,{}),(0,j.jsx)(X.pG,{onClick:i,children:(0,j.jsx)(f.US,{})})]}),t&&(0,j.jsx)(ou,{children:t})]}),(0,j.jsx)(du,{children:l})]})})})}const nu=(0,v.Ay)(X.e2)(Hd||(Hd=(0,h.A)(["margin-left:8px;"]))),lu=v.Ay.div(Bd||(Bd=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:8px;padding:24px 13px 16px;color:",";"])),F.lt.base.subtitle),au=v.Ay.div(Qd||(Qd=(0,h.A)(["flex:1 1 auto;"]))),tu=v.Ay.div($d||($d=(0,h.A)(["display:flex;flex:1 1 auto;flex-direction:column;width:80vw;max-width:800px;min-width:400px;background-color:",";@media (min-width:1600px){max-width:1000px;}"])),F.lt.components.dialog),iu=v.Ay.header(Ud||(Ud=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:column;border-bottom:1px solid ",";"])),F.lt.base.border),ru=v.Ay.header(Wd||(Wd=(0,h.A)(["display:flex;flex:0 0 60px;flex-direction:row;align-items:center;padding:0 13px;overflow:hidden;"]))),su=v.Ay.h1(qd||(qd=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;font-size:1.5rem;font-weight:500;color:",";"])),F.lt.base.heading),ou=v.Ay.div(Yd||(Yd=(0,h.A)(["display:flex;flex:0 0 36px;flex-direction:row;align-items:center;padding-right:5px;padding-left:5px;overflow:hidden;"]))),du=v.Ay.main(Jd||(Jd=(0,h.A)(["display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;"])));function uu(e){let{severity:n}=e;return n<13?(0,j.jsx)(f.mo,{}):n<17?(0,j.jsx)(f.id,{}):n<25?(0,j.jsx)(f.ik,{}):(0,j.jsx)(f.mo,{})}var cu,gu,mu,pu,yu,hu,fu,ku;function xu(e){let{fragmentRef:n,onClose:a,onNext:t,onPrevious:i}=e;const r=(0,ba.useFragment)(void 0!==cu?cu:cu=l(39350),n),{Tabs:s,Tab:o,MoreTabs:d}=(0,L.NS)(),[u,c]=(0,b.useState)(0),g=(0,b.useMemo)((()=>r?(0,j.jsx)(bu,{fragmentRef:r,viewId:u}):void 0),[r,u]),m=(0,b.useMemo)((()=>(0,j.jsxs)(nu,{children:[(0,j.jsx)(X.pG,{disabled:!i,onClick:i,children:(0,j.jsx)(f.Mt,{})}),(0,j.jsx)(X.pG,{disabled:!t,onClick:t,children:(0,j.jsx)(f.D3,{})})]})),[t,i]),p=(0,b.useCallback)((e=>{switch(e.key){case"ArrowUp":e.preventDefault(),null===i||void 0===i||i();break;case"ArrowDown":e.preventDefault(),null===t||void 0===t||t()}}),[t,i]),y=(0,b.useCallback)(((e,n)=>{c(n)}),[c]);return(0,j.jsx)(eu,{open:!!r,title:"Log Detail",headerButtons:m,tabsContent:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(s,{value:u,"aria-label":"Log Detail Tabs",onChange:y,children:[(0,j.jsx)(o,{label:"General",value:0}),(0,j.jsx)(o,{label:"Attributes",value:1})]}),(0,j.jsx)(d,{})]}),onClose:a,onKeyDown:p,children:g})}function bu(e){let{fragmentRef:n,viewId:a}=e;const t=(0,ba.useFragment)(void 0!==gu?gu:gu=l(40253),n);switch(a){case 0:return(0,j.jsx)(Su,{fragmentRef:t});case 1:return(0,j.jsx)(Fu,{fragmentRef:t})}}function vu(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==mu?mu:mu=l(57760),n);return a?(0,j.jsxs)(lu,{children:[(0,j.jsx)(uu,{severity:a.severityNumber}),(0,j.jsx)(la.A,{variant:"h5",children:a.severityText}),(0,j.jsx)(Ko,{epoch:a.epoch})]}):null}function Fu(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==pu?pu:pu=l(38868),n);return(0,j.jsx)(C.gN,{children:(0,j.jsxs)(Pl.Z,{children:[(0,j.jsx)(vu,{fragmentRef:a}),(0,j.jsxs)(We.c,{children:[(0,j.jsx)(Ku,{fragmentRef:a}),(0,j.jsx)(ju,{fragmentRef:a})]})]})})}function Su(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==yu?yu:yu=l(14175),n);return(0,j.jsxs)(C.gN,{children:[(0,j.jsx)(vu,{fragmentRef:a}),(0,j.jsx)(Cu,{children:(0,j.jsx)(ft.Dv,{id:"api-log-entry-details",content:null===a||void 0===a?void 0:a.body,enableWordWrap:!0})})]})}function ju(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==hu?hu:hu=l(84756),n),t=(0,b.useRef)(!1),i=(0,b.useCallback)((e=>{t.current=e}),[]);return a&&a.logAttributes?(0,j.jsx)(We.B,{title:"Log Attributes",items:a.logAttributes.map((e=>{var n,l;let{key:a,boolValue:t,longValue:i,floatValue:r,stringValue:s}=e;return{key:a,name:a,description:null!==(n=null!==(l=null!==t&&void 0!==t?t:i)&&void 0!==l?l:r)&&void 0!==n?n:s}})),collapsible:!0,initialCollapsed:t.current,onCollapseChange:i}):null}function Ku(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==fu?fu:fu=l(59472),n),t=(0,b.useRef)(!1),i=(0,b.useCallback)((e=>{t.current=e}),[]);return a&&a.resourceAttributes?(0,j.jsx)(We.B,{title:"Resource Attributes",items:a.resourceAttributes.map((e=>{let{key:n,value:l}=e;return{key:n,name:n,description:l}})),collapsible:!0,initialCollapsed:t.current,onCollapseChange:i}):null}const Cu=v.Ay.div(ku||(ku=(0,h.A)(["display:flex;flex:1 1 auto;margin-top:20px;border-top:1px solid ",";"])),F.lt.base.separator);l(86737);function Lu(e){let{dataset:n,range:[l,a]}=e;const t=(0,b.useCallback)((e=>{const t=(0,x.dM)(n.flatMap((e=>{let{counts:n}=e;return n.map((e=>{let{severity:n}=e;return n}))}))).sort(((e,n)=>e-n));return{tooltip:{trigger:"axis",padding:6,axisPointer:{label:{formatter:e=>(0,x.ZS)(e.value)}}},legend:{show:!1},grid:{top:10,left:3,right:0,bottom:0},dataset:{source:n.map(((e,n,l)=>{let{epoch:a,counts:t}=e;const i={epoch:a};if(n<l.length-1){const e=l[n+1].counts;for(const{severity:n}of e)i[n+""]=0}if(n>1){const e=l[n-1].counts;for(const{severity:n}of e)i[n+""]=0}for(const{severity:r,count:s}of t)i[r.toString()]=s;return i})),dimensions:t.map((e=>e+""))},toolbox:{show:!1},brush:{xAxisId:"time",outOfBrush:{},brushStyle:{color:e((e=>e.chart.axisBrush)),borderWidth:0}},xAxis:{id:"time",type:"time",min:l,max:a,axisPointer:{snap:!1,label:{show:!0,formatter:function(e){return(0,x.ZS)(e.value)},backgroundColor:e((e=>e.components.tooltip)),borderColor:e((e=>e.components.tooltipBorder)),shadowColor:e((e=>e.base.shadow)),shadowBlur:4,shadowOffsetX:0,shadowOffsetY:1,textStyle:{fontFamily:F.F2,fontSize:F.Hr,color:e((e=>e.components.tooltipText))}}}},yAxis:{type:"value"},series:t.map((n=>({type:"line",name:Tu(n),dimensions:["epoch",n+""],stack:"severity",symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:Au(n,e)})))}}),[n,l,a]),i=ms();return(0,j.jsx)(Hr,{size:"mid",buildOption:t,onInit:e=>{i(null),e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"lineX",brushMode:"single"}}),e.on("brushEnd",(e=>{var n,l;i(null!==(n=null===(l=e.areas.at(0))||void 0===l?void 0:l.coordRange)&&void 0!==n?n:null)}))}})}function Au(e,n){return n((n=>e<5?n.chart.trace:e<9?n.chart.debug:e<13?n.chart.info:e<17?n.chart.warning:e<21?n.chart.error:n.chart.fatal))}function Tu(e){return e<5?"Trace (".concat(e,")"):e<9?"Debug (".concat(e,")"):e<13?"Info (".concat(e,")"):e<17?"Warning (".concat(e,")"):e<21?"Error (".concat(e,")"):"Fatal (".concat(e,")")}var Iu,wu,Du,Nu,Ru=l(34877);const Eu=20;function Vu(e){let{fragmentRef:n,selectedIndex:a,onSelectLog:t,maybeHasMore:i=!1,pagination:{loadNext:r,loadPrevious:s,hasNext:o,hasPrevious:d,isLoadingNext:u,isLoadingPrevious:c}}=e;const g=(0,ba.useFragment)(void 0!==Iu?Iu:Iu=l(77133),n),m=(0,b.useRef)(null),p=(0,b.useRef)(null),y=(0,b.useRef)(null),h=(0,b.useRef)(!0),k=(0,b.useRef)(-1),x=(0,b.useMemo)((()=>{var e;return null!==(e=null===g||void 0===g?void 0:g.map((e=>e)))&&void 0!==e?e:[]}),[g]);(0,b.useLayoutEffect)((()=>{var e;const n=x.length-k.current;var l;"backward"===(null===(e=m.current)||void 0===e?void 0:e.scrollDirection)&&(null===(l=p.current)||void 0===l||l.scrollTo(m.current.scrollOffset+n*Ru.lh));k.current=x.length}),[x.length]);const v=(0,b.useCallback)((e=>{if(h.current){var n,l;const a=null!==(n=null===(l=y.current)||void 0===l?void 0:l.state.height)&&void 0!==n?n:0,t=x.length*Ru.lh;x.length*Ru.lh<=a?null===e||void 0===e||e.scrollTo(0):null===e||void 0===e||e.scrollTo(t-1e3),h.current=!1}p.current=e}),[x.length]),F=(0,b.useCallback)((()=>r(200)),[r]),S=(0,b.useCallback)((()=>s(200)),[s]),K=(0,b.useCallback)((e=>{switch(e.key){case"ArrowUp":case"k":e.preventDefault(),a&&a>0&&t(a-1);break;case"ArrowDown":case"j":e.preventDefault(),a&&a<x.length-1&&t(a+1)}}),[t,a,x]),C={hasNext:o,hasPrevious:d,isLoadingNext:u,isLoadingPrevious:c,onLoadNext:F,selectLog:t,selectedIndex:a,logs:x,maybeHasMore:i};return x.length?(0,j.jsx)(Va.w,{innerListRef:v,autoSizerRef:y,itemCount:x.length+2,itemData:C,itemSize:Ru.lh,threshold:Eu,tabIndex:-1,isItemLoaded:e=>e<=x.length-2&&e>1,onScrollVirtualList:e=>m.current=e,onKeyDown:K,onLoadMoreItems:e=>{h.current||(e<2?S():F())},children:Pu}):(0,j.jsx)(Sl.HY,{title:"Log Is Empty",icon:(0,j.jsx)(f.mo,{})})}const Pu=(0,b.memo)((function(e){let{data:n,index:l,style:a}=e;switch(l){case 0:return(0,j.jsx)(zu,{style:a,children:(0,j.jsx)(_u,{isLoading:n.isLoadingPrevious})});case n.logs.length+1:return(0,j.jsx)(zu,{style:a,children:(0,j.jsx)(Mu,{isLoading:n.isLoadingNext,onLoadNext:n.onLoadNext,maybeHasMore:n.maybeHasMore})});default:const e=n.logs[l-1],t=n.selectedIndex===l-1;return(0,j.jsx)(zu,{style:a,className:t?"active":void 0,onClick:()=>n.selectLog(l-1),children:(0,j.jsx)(Ou,{fragmentRef:e})})}}),Pa.t7),Ou=(0,b.memo)((function(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==wu?wu:wu=l(58676),n);return a?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ru.dg,{children:(0,j.jsx)(uu,{severity:a.severityNumber})}),(0,j.jsx)(Ru.c9,{children:(0,x.CS)(a.epoch)}),(0,j.jsx)(Ru.hE,{children:a.body})]}):(0,j.jsx)(j.Fragment,{children:"empty"})}));function _u(e){let{isLoading:n}=e;return n?(0,j.jsxs)(Gu,{children:[(0,j.jsx)(Xa.y,{colorSelector:e=>e.components.buttonText}),(0,j.jsx)("span",{children:"Loading entries"})]}):(0,j.jsx)(Gu,{children:(0,j.jsx)("span",{children:"You have reached the beginning of the logs"})})}function Mu(e){let{isLoading:n,onLoadNext:l,maybeHasMore:a}=e;return n?(0,j.jsxs)(Gu,{children:[(0,j.jsx)(Xa.y,{colorSelector:e=>e.components.buttonText}),(0,j.jsx)("span",{children:"Loading entries"})]}):(0,j.jsx)(Gu,{children:a?(0,j.jsx)(ee.A,{variant:"text",onClick:l,children:"Check for more"}):(0,j.jsx)("span",{children:"You have reached the end of the logs"})})}const Gu=v.Ay.div(Du||(Du=(0,h.A)(["flex:1 1 auto;padding:0 6px;gap:6px;text-overflow:ellipsis;white-space:nowrap;display:flex;justify-content:center;align-items:center;"]))),zu=(0,v.Ay)(Ru.St)(Nu||(Nu=(0,h.A)(["font-family:",";"])),F.Z7);var Hu,Bu,Qu,$u,Uu;function Wu(e){let{stage:n,range:a}=e;const[t,i]=a,{stageById:r}=(0,ba.useLazyLoadQuery)(void 0!==Hu?Hu:Hu=l(75142),{stageId:n.id,from:t,to:i},{fetchPolicy:"store-and-network"});return(0,j.jsxs)(Wr,{header:(0,j.jsx)(cs,{name:n.displayName,kind:"stage"}),disableScrolling:!0,children:[(0,j.jsx)(Xd.Ay,{sx:{display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",overflow:"auto",p:.25},children:(0,j.jsx)(Wa.A,{sx:{height:170,minHeight:170},children:(0,j.jsx)(qa.A,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(qu,{range:a,fragmentRef:r})})})})}),(0,j.jsx)(Xd.Ay,{sx:{display:"flex",flexGrow:1,flexShrink:1,flexBasis:"auto",overflow:"auto",p:.25},children:(0,j.jsx)(Wa.A,{sx:{height:"unset",minHeight:"unset"},children:(0,j.jsx)(qa.A,{className:"no-padding",sx:{display:"flex"},children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(Yu,{stage:n,fragmentRef:r})})})})})]})}function qu(e){let{fragmentRef:n,range:a}=e;const t=(0,ba.useFragment)(void 0!==Bu?Bu:Bu=l(60484),n),i=(0,b.useMemo)((()=>{var e;return null===t||void 0===t||null===(e=t.logDistribution)||void 0===e?void 0:e.dataset.map((e=>({epoch:e.epoch,counts:[...e.counts]})))}),[t]);return i?(0,j.jsx)(Lu,{dataset:i,range:a}):(0,j.jsx)(Sl.HY,{title:"No Logs Available"})}function Yu(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==Qu?Qu:Qu=l(28428),n);return a?(0,j.jsx)(Ju,{fragmentRef:a}):(0,j.jsx)(Sl.HY,{title:"No Logs Available"})}function Ju(e){let{fragmentRef:n}=e;const{logs:a,pagination:t}=function(e){var n,a,t;const i=(0,ba.useFragment)(void 0!==$u?$u:$u=l(81593),e),r=(0,ba.useRelayEnvironment)(),[s,o]=(0,b.useReducer)(((e,n)=>{var l,a,t,i,s,d,u,c,g,m,p,y,h,f,k,x,b,v,F,S;switch(n.type){case"LOAD_NEXT":return e.isLoadingNext?e:(Zu(e.environment,e.stageId,e.endCursor,200,null,null).then((n=>{o({type:"LOADED_NEXT",data:n,initialData:e.initialData})})).catch((()=>{o({type:"LOADED_NEXT",data:void 0,initialData:e.initialData})})),{...e,isLoadingNext:!0});case"LOADED_NEXT":if(n.initialData!==e.initialData)return e;if(!n.data)return{...e,isLoadingNext:!1};const j=null!==(l=null===(a=n.data.stageById)||void 0===a||null===(t=a.logs)||void 0===t||null===(i=t.edges)||void 0===i?void 0:i.map((e=>e.node)))&&void 0!==l?l:[];return{...e,logs:[...e.logs,...j],endCursor:null!==(s=null===(d=n.data.stageById)||void 0===d||null===(u=d.logs)||void 0===u?void 0:u.pageInfo.endCursor)&&void 0!==s?s:e.endCursor,hasNext:null!==(c=null===(g=n.data.stageById)||void 0===g||null===(m=g.logs)||void 0===m?void 0:m.pageInfo.hasNextPage)&&void 0!==c&&c,isLoadingNext:!1};case"LOAD_PREVIOUS":return e.isLoadingPrevious?e:(Zu(e.environment,e.stageId,null,null,e.startCursor,200).then((n=>{o({type:"LOADED_PREVIOUS",data:n,initialData:e.initialData})})).catch((()=>{o({type:"LOADED_PREVIOUS",data:void 0,initialData:e.initialData})})),{...e,isLoadingPrevious:!0});case"LOADED_PREVIOUS":if(n.initialData!==e.initialData)return e;if(!n.data)return{...e,isLoadingPrevious:!1};const K=null!==(p=null===(y=n.data.stageById)||void 0===y||null===(h=y.logs)||void 0===h||null===(f=h.edges)||void 0===f?void 0:f.map((e=>e.node)))&&void 0!==p?p:[];return{...e,logs:[...K,...e.logs],startCursor:null!==(k=null===(x=n.data.stageById)||void 0===x||null===(b=x.logs)||void 0===b?void 0:b.pageInfo.startCursor)&&void 0!==k?k:e.startCursor,hasPrevious:null!==(v=null===(F=n.data.stageById)||void 0===F||null===(S=F.logs)||void 0===S?void 0:S.pageInfo.hasPreviousPage)&&void 0!==v&&v,isLoadingPrevious:!1};case"RESET":return Xu(r,n.data);default:return e}}),Xu(r,i));(0,b.useEffect)((()=>{i!==s.initialData&&o({type:"RESET",data:i})}),[i,s.initialData]);const d=e=>{o({type:"LOAD_NEXT",count:e})},u=e=>{o({type:"LOAD_PREVIOUS",count:e})},c=null===(n=i.logs)||void 0===n||null===(a=n.edges)||void 0===a||null===(t=a[0])||void 0===t?void 0:t.node,g=-s.logs.findIndex((e=>e===c));return{logs:s.logs,pagination:{offset:g,loadNext:d,loadPrevious:u,hasNext:s.hasNext,hasPrevious:s.hasPrevious,isLoadingNext:s.isLoadingNext,isLoadingPrevious:s.isLoadingPrevious}}}(n),[i,r]=(0,b.useState)(null),s=a[0],o=i?a[i]:null,d=(0,b.useCallback)((()=>r(null)),[r]),u=(0,b.useCallback)((e=>{if(!i)return;const n=i+e;n<0||n>=a.length||!a[n]||r(n)}),[a,i,r]),c=(0,b.useCallback)((()=>u(1)),[u]),g=(0,b.useCallback)((()=>u(-1)),[u]);return(0,b.useEffect)((()=>r(null)),[r,s]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Vu,{fragmentRef:a,selectedIndex:i,onSelectLog:r,pagination:t,maybeHasMore:!0}),(0,j.jsx)(xu,{fragmentRef:o,onClose:d,onNext:c,onPrevious:g})]})}function Xu(e,n){var l,a,t,i,r,s,o,d,u,c,g;return{initialData:n,logs:null!==(l=null===(a=n.logs)||void 0===a||null===(t=a.edges)||void 0===t?void 0:t.map((e=>e.node)))&&void 0!==l?l:[],stageId:n.id,hasNext:null!==(i=null===(r=n.logs)||void 0===r?void 0:r.pageInfo.hasNextPage)&&void 0!==i&&i,hasPrevious:null!==(s=null===(o=n.logs)||void 0===o?void 0:o.pageInfo.hasPreviousPage)&&void 0!==s&&s,endCursor:null!==(d=null===(u=n.logs)||void 0===u?void 0:u.pageInfo.endCursor)&&void 0!==d?d:null,startCursor:null!==(c=null===(g=n.logs)||void 0===g?void 0:g.pageInfo.startCursor)&&void 0!==c?c:null,isLoadingNext:!1,isLoadingPrevious:!1,environment:e}}function Zu(e,n,a,t,i,r){return(0,ba.fetchQuery)(e,void 0!==Uu?Uu:Uu=l(1015),{stageId:n,after:a,first:t,before:i,last:r}).toPromise()}const ec=(0,_l.vr)(null,"OperationLatencyRange"),nc=(0,b.memo)((function(e){let{children:n}=e;const l=(0,_l.oX)(null);return(0,j.jsx)(tc,{state$:l.current,children:(0,j.jsx)(ec.Provider,{value:l.current,children:n})})}));function lc(e){return e}const ac=(0,_l.vr)(x.lQ,"SelectOperationLatencyRange");function tc(e){let{children:n,state$:l}=e;const a=(0,b.useCallback)((e=>{l.next(e)}),[l]);return(0,j.jsx)(ac.Provider,{value:a,children:n})}const ic=(0,_l.vr)(null,"OperationSpanDetails"),rc=(0,b.memo)((function(e){let{children:n}=e;const l=(0,_l.oX)(null);return(0,j.jsx)(oc,{state$:l.current,children:(0,j.jsx)(ic.Provider,{value:l.current,children:n})})}));const sc=(0,_l.vr)(x.lQ,"ActivateOperationSpanDetails");function oc(e){let{children:n,state$:l}=e;const a=(0,b.useCallback)((e=>{l.next(e)}),[l]);return(0,j.jsx)(sc.Provider,{value:a,children:n})}var dc,uc,cc,gc;function mc(e){let{fragmentRef:n,range:a}=e;const{throughput:t}=(0,ba.useFragment)(void 0!==dc?dc:dc=l(67346),n);return(0,j.jsx)(Jr,{size:4,title:"Errors",content:null!==t&&void 0!==t&&t.dataset.length?(0,j.jsx)(ps,{dataset:t.dataset.map((e=>{let{epoch:n,totalCountWithError:l}=e;return{epoch:n,total:l}})),range:a}):(0,j.jsx)(ys,{})})}const pc=(0,b.memo)((function(e){let{children:n,offsetTop:l=0,show:a}=e;const t=(0,b.useRef)(null);return(0,b.useEffect)((()=>{const e=window.setTimeout((()=>{if(t.current){const e=t.current.querySelectorAll("span > span");a?(2===e.length&&requestAnimationFrame((()=>{e[0].style.animationPlayState="running",e[1].style.animationPlayState="running";const n=e[0].style.animation,l=e[1].style.animation;e[0].style.animation="none",e[1].style.animation="none",requestAnimationFrame((()=>{e[0].style.animation=n,e[1].style.animation=l}))})),t.current.style.opacity="1"):(2===e.length&&requestAnimationFrame((()=>{e[0].style.animationPlayState="paused",e[1].style.animationPlayState="paused"})),t.current.style.opacity="0")}}),k.W7);return()=>{window.clearTimeout(e)}}),[a]),(0,j.jsxs)(yc,{children:[(0,j.jsx)(fc,{ref:t,$offsetTop:l,children:(0,j.jsx)($o.A,{})}),(0,j.jsx)(hc,{children:n})]})})),yc=v.Ay.div(uc||(uc=(0,h.A)(["position:relative;overflow:visible;"]))),hc=v.Ay.div(cc||(cc=(0,h.A)(["position:relative;width:100%;"]))),fc=v.Ay.div(gc||(gc=(0,h.A)(["position:absolute;z-index:2;top:","px;width:100%;opacity:0;background-color:",";transition:opacity 0.2s ease;"])),(e=>{let{$offsetTop:n}=e;return n}),F.lt.base.background);var kc,xc,bc,vc=l(22758),Fc=l(50597),Sc=l(81092);function jc(e){let{activeSpan:n,currentPosition:l,spanCount:a,offset:t,totalDuration:i,onClose:r,onNext:s,onPrevious:o}=e;const{Tabs:d,Tab:u,MoreTabs:c}=(0,L.NS)(),[g,m]=(0,b.useState)(0);n||0===g||m(0);const p=(0,b.useMemo)((()=>n?(0,j.jsx)(Kc,{span:n,offset:t,totalDuration:i,viewId:g}):void 0),[n,t,i,g]),y=(0,b.useMemo)((()=>(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(Hc,{children:[l," of ",a]}),(0,j.jsxs)(nu,{children:[(0,j.jsx)(X.pG,{disabled:!o,onClick:o,children:(0,j.jsx)(f.Mt,{})}),(0,j.jsx)(X.pG,{disabled:!s,onClick:s,children:(0,j.jsx)(f.D3,{})})]})]})),[a,l,s,o]),h=(0,b.useCallback)((e=>{switch(e.key){case"ArrowUp":e.preventDefault(),null===o||void 0===o||o();break;case"ArrowDown":e.preventDefault(),null===s||void 0===s||s()}}),[s,o]),k=(0,b.useCallback)(((e,n)=>{m(n)}),[m]);return(0,j.jsx)(eu,{open:!!n,title:"Span Details",headerButtons:y,tabsContent:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(d,{value:g,"aria-label":"Operation Span Details",onChange:k,children:[(0,j.jsx)(u,{label:"General",value:0}),(0,j.jsx)(u,{label:"Attributes",value:1}),(0,j.jsx)(u,{label:"Events",value:2}),(0,j.jsx)(u,{label:"Errors",value:3})]}),(0,j.jsx)(c,{})]}),onClose:r,onKeyDown:h,children:p})}function Kc(e){let{span:n,offset:l,totalDuration:a,viewId:t}=e;switch(t){case 0:return(0,j.jsx)(Lc,{span:n,offset:l,totalDuration:a});case 1:return(0,j.jsx)(Rc,{span:n,offset:l,totalDuration:a});case 2:return(0,j.jsx)(Pc,{span:n,offset:l,totalDuration:a});case 3:return(0,j.jsx)(Oc,{span:n,offset:l,totalDuration:a});default:return(0,x.dr)(t)}}function Cc(e){var n;let{span:l,offset:a,totalDuration:t}=e;const i=xo(l);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(lu,{children:[(0,j.jsx)(vo,{type:l.type}),(0,j.jsx)(Lo,{statusCode:null===(n=l.http)||void 0===n?void 0:n.statusCode}),(0,j.jsx)(la.A,{variant:"h5",children:l.name}),(0,j.jsx)(Fo,{duration:l.duration}),(0,j.jsx)(Co,{epoch:l.epoch}),(0,j.jsx)(Ao,{kind:l.kind}),(null===i||void 0===i?void 0:i.failed)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(So,{count:1}),!!i.exceptionCount&&(0,j.jsx)(jo,{count:i.exceptionCount})]})]}),(0,j.jsx)(Bc,{children:(0,j.jsx)(Vo,{activeSpanId:null,offset:a,spans:[l],totalDuration:t})})]})}function Lc(e){let{span:n,offset:l,totalDuration:a}=e;return(0,j.jsxs)(Pl.Z,{children:[(0,j.jsx)(Cc,{span:n,offset:l,totalDuration:a}),(0,j.jsxs)(We.c,{children:[(0,j.jsx)(Tc,{span:n}),(0,j.jsx)(Ac,{db:n.db}),(0,j.jsx)(Nc,{http:n.http}),(0,j.jsx)(wc,{operation:n.operation}),(0,j.jsx)(Ic,{document:n.document}),(0,j.jsx)(Dc,{selection:n.selection})]})]})}function Ac(e){let{db:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return n?(0,j.jsx)(We.B,{title:"HTTP",items:[n.name&&{key:"db-name",name:"Name",description:n.name},n.operation&&{key:"db-operation",name:"Operation",description:n.operation},n.statement&&{key:"db-statement",name:"Statement",description:n.statement},n.instance&&{key:"db-instance",name:"Instance",description:n.instance},n.system&&{key:"db-system",name:"System",description:n.system},n.url&&{key:"db-url",name:"URL",description:n.url},n.user&&{key:"db-user",name:"User",description:n.user}].filter((e=>!!e)),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a}):null}function Tc(e){let{span:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return(0,j.jsx)(We.B,{title:"General Information",items:[{key:"id",name:"ID",description:n.id},n.parentSpanId&&{key:"parent-id",name:"Parent ID",description:n.parentSpanId},{key:"trace-id",name:"Trace ID",description:n.traceId},{key:"timestamp",name:"Timestamp",description:(0,x.CS)(n.epoch)},n.traceState&&{key:"trace-state",name:"Trace State",description:n.traceState},n.statusMessage.length&&{key:"status-message",name:"Status Message",description:n.statusMessage}].filter((e=>!!e)),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a})}function Ic(e){let{document:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return n?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(We.B,{title:"GraphQL Document",items:[(null===n||void 0===n?void 0:n.id)&&{key:"document-id",name:"ID",description:n.id}].filter((e=>!!e)),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a}),n.body&&(0,j.jsx)(Qc,{children:(0,j.jsx)(ft.Dw,{content:n.body})})]}):null}function wc(e){let{operation:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return n?(0,j.jsx)(We.B,{title:"GraphQL Operation",items:[n.name&&{key:"operation-name",name:"Name",description:n.name},n.kind&&{key:"operation-kind",name:"Kind",description:n.kind}].filter((e=>!!e)),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a}):null}function Dc(e){let{selection:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return n?(0,j.jsx)(We.B,{title:"GraphQL Selection",items:[n.name&&{key:"selection-name",name:"Name",description:n.name},n.path&&{key:"selection-path",name:"Path",description:n.path},n.type&&{key:"selection-type",name:"Type",description:n.type},n.field.declaringType&&{key:"selection-field-declaring-type",name:"Declaration Type",description:n.field.declaringType},n.field.coordinate&&{key:"selection-field-coordinate",name:"Coordinate",description:n.field.coordinate}].filter((e=>!!e)),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a}):null}function Nc(e){let{http:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return n?(0,j.jsx)(We.B,{title:"HTTP",items:[n.method&&{key:"http-method",name:"Method",description:(0,j.jsx)(Sc.R2,{children:n.method})},n.url&&{key:"http-url",name:"URL",description:n.url},n.statusCode&&{key:"http-status-code",name:"StatusCode",description:(0,j.jsx)(Sc.d8,{statusCode:n.statusCode})},n.userAgent&&{key:"http-user-agent",name:"User Agent",description:n.userAgent},n.flavor&&{key:"http-flavor",name:"Flavor",description:n.flavor}].filter((e=>!!e)),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a}):null}function Rc(e){let{span:n,offset:l,totalDuration:a}=e;return(0,j.jsxs)(Pl.Z,{children:[(0,j.jsx)(Cc,{span:n,offset:l,totalDuration:a}),(0,j.jsxs)(We.c,{children:[(0,j.jsx)(Ec,{resourceAttributes:n.resourceAttributes}),(0,j.jsx)(Vc,{spanAttributes:n.spanAttributes})]})]})}function Ec(e){let{resourceAttributes:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return n.length>0?(0,j.jsx)(We.B,{title:"Resource Attributes",items:n.map((e=>{let{key:n,value:l}=e;return{key:n,name:n,description:l}})),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a}):null}function Vc(e){let{spanAttributes:n}=e;const l=(0,b.useRef)(!1),a=(0,b.useCallback)((e=>{l.current=e}),[]);return n.length>0?(0,j.jsx)(We.B,{title:"Span Attributes",items:n.map((e=>{let{key:n,value:l}=e;return{key:n,name:n,description:l}})),collapsible:!0,initialCollapsed:l.current,onCollapseChange:a}):null}function Pc(e){let{span:n,offset:l,totalDuration:a}=e;const t=(0,b.useRef)(!1),i=(0,b.useCallback)((e=>{t.current=e}),[]);return(0,j.jsx)(j.Fragment,{children:n.events.length?(0,j.jsxs)(Pl.Z,{children:[(0,j.jsx)(Cc,{span:n,offset:l,totalDuration:a}),(0,j.jsx)(We.c,{children:(0,j.jsx)(We.B,{title:"Events",items:n.events.map(((e,n)=>{let{name:l,epoch:a}=e;return{key:l+"_"+n,name:l,description:(0,x.CS)(a)}})),collapsible:!0,initialCollapsed:t.current,onCollapseChange:i})})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Cc,{span:n,offset:l,totalDuration:a}),(0,j.jsx)(Sl.HY,{title:"No Events"})]})})}function Oc(e){let{span:n,offset:l,totalDuration:a}=e;const t=n.events.filter((e=>{let{name:n}=e;return["Error","exception"].includes(n)}));return(0,j.jsx)(j.Fragment,{children:t.length?(0,j.jsxs)(Pl.Z,{children:[(0,j.jsx)(Cc,{span:n,offset:l,totalDuration:a}),(0,j.jsxs)(We.c,{children:[(0,j.jsx)(_c,{events:t}),(0,j.jsx)(Gc,{events:t})]})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Cc,{span:n,offset:l,totalDuration:a}),(0,j.jsx)(Sl.HY,{title:"No Errors"})]})})}function _c(e){let{events:n}=e;const l=n.filter((e=>{let{name:n}=e;return"exception"===n}));return(0,j.jsx)(j.Fragment,{children:l.map(((e,n)=>(0,j.jsx)(Mc,{exception:e},"exception_"+n)))})}function Mc(e){var n,l,a;let{exception:t}=e;const i=(0,b.useRef)(!1),r=null===(n=t.attributes.find((e=>{let{key:n}=e;return"exception.type"===n})))||void 0===n?void 0:n.value,s=null===(l=t.attributes.find((e=>{let{key:n}=e;return"exception.stacktrace"===n})))||void 0===l?void 0:l.value,o=null===(a=t.attributes.find((e=>{let{key:n}=e;return"exception.message"===n})))||void 0===a?void 0:a.value,d=(0,b.useCallback)((e=>{i.current=e}),[]);return(0,j.jsx)(We.B,{title:r?"Exception: ".concat(r):"Exception",items:[o&&{key:"exception-message",name:"Message",description:o},s&&{key:"exception-stack-trace",name:"Stack Trace",description:s}].filter((e=>!!e)),collapsible:!0,initialCollapsed:i.current,onCollapseChange:d})}function Gc(e){let{events:n}=e;const l=n.filter((e=>{let{name:n}=e;return"Error"===n}));return(0,j.jsx)(j.Fragment,{children:l.map(((e,n)=>(0,j.jsx)(zc,{error:e},"error_"+n)))})}function zc(e){var n,l;let{error:a}=e;const t=(0,b.useRef)(!1),i=null===(n=a.attributes.find((e=>{let{key:n}=e;return"graphql.error.code"===n})))||void 0===n?void 0:n.value,r=null===(l=a.attributes.find((e=>{let{key:n}=e;return"graphql.error.message"===n})))||void 0===l?void 0:l.value,s=(0,b.useCallback)((e=>{t.current=e}),[]);return(0,j.jsx)(We.B,{title:"Error",items:[r&&{key:"error-message",name:"Message",description:r},i&&{key:"error-code",name:"Code",description:i}].filter((e=>!!e)),collapsible:!0,initialCollapsed:t.current,onCollapseChange:s})}const Hc=v.Ay.div(kc||(kc=(0,h.A)(["min-width:80px;margin-left:8px;font-weight:500;text-align:center;color:",";"])),F.lt.base.text),Bc=v.Ay.div(xc||(xc=(0,h.A)(["flex:0 0 auto;margin-bottom:20px;"]))),Qc=v.Ay.div(bc||(bc=(0,h.A)(["display:flex;flex:0 0 450px;margin-top:20px;border-top:1px solid ",";border-bottom:1px solid ",";"])),F.lt.base.separator,F.lt.base.separator);var $c,Uc;function Wc(e){var n,a,t;let{fragmentRef:i}=e;const{data:r,hasNext:s,hasPrevious:o,isLoadingNext:d,isLoadingPrevious:u,loadNext:c,loadPrevious:g}=(0,ba.usePaginationFragment)(void 0!==$c?$c:$c=l(19112),i),[m,p]=(0,b.useState)(null),y=(0,b.useMemo)((()=>{var e,n,l,a;return null!==(e=null===r||void 0===r||null===(n=r.trace)||void 0===n||null===(l=n.logs)||void 0===l||null===(a=l.edges)||void 0===a?void 0:a.map((e=>e.node)))&&void 0!==e?e:[]}),[r]),h=y[0],f=(0,b.useCallback)((()=>p(null)),[p]),k=(0,b.useCallback)((e=>{if(null===m||m<0)return;const n=m+e;n<0||n>=y.length||!y[n]||p(n)}),[y,m,p]),x=(0,b.useCallback)((()=>k(1)),[k]),v=(0,b.useCallback)((()=>k(-1)),[k]);return(0,b.useEffect)((()=>p(null)),[p,h]),(0,j.jsxs)(qc,{children:[(0,j.jsx)(Vu,{fragmentRef:null===r||void 0===r||null===(n=r.trace)||void 0===n||null===(a=n.logs)||void 0===a||null===(t=a.edges)||void 0===t?void 0:t.map((e=>e.node)),selectedIndex:m,onSelectLog:p,pagination:{hasNext:s,hasPrevious:o,isLoadingNext:d,isLoadingPrevious:u,loadNext:e=>c(e),loadPrevious:e=>g(e)}}),(0,j.jsx)(xu,{fragmentRef:null!==m?y[m]:null,onClose:f,onNext:x,onPrevious:v})]})}const qc=v.Ay.div(Uc||(Uc=(0,h.A)(["display:flex;flex-direction:column;height:500px;"])));var Yc,Jc,Xc,Zc;function eg(e){let{fragmentRef:n,stageId:a,onTraceSampleDataLoaded:t}=e;const[i,r]=(0,ba.useRefetchableFragment)(void 0!==Yc?Yc:Yc=l(56413),n),{samples:s}=i.metrics.operation;return(0,j.jsx)(lg,{stageId:a,samples:s,onTraceSampleDataLoaded:t,onRefetchSamples:e=>{r(e?{minLatency:e[0],maxLatency:e[1]}:{})}})}function ng(){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(dg,{}),(0,j.jsx)(rg,{showLoading:!0})]})}function lg(e){let{stageId:n,samples:l,onTraceSampleDataLoaded:a,onRefetchSamples:t}=e;const i=l.length?l[0]:null,r=(0,b.useRef)(i),[s,o]=(0,b.useState)(i),d=(0,_l.VF)((0,b.useContext)(ec),lc,null),[u,c]=(0,b.useTransition)(),g=(0,b.useCallback)((e=>{c((()=>{o(e)}))}),[o,c]);return(0,b.useEffect)((()=>{r.current!==i&&(c((()=>{o(i)})),r.current=i)}),[i,o,c]),(0,b.useEffect)((()=>d.subscribe((e=>c((()=>{t(e)}))))),[d,t,c]),s||a(null),(0,j.jsx)(rc,{children:s?(0,j.jsx)(ag,{stageId:n,activeSample:s,samples:l,showLoading:u,onActivateSample:g,onTraceSampleDataLoaded:a}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(ug,{samples:l,onActivateSample:g}),(0,j.jsx)(rg,{showLoading:u})]})})}function ag(e){var n,a,t,i,r,s,o,d,u;let{stageId:c,activeSample:g,samples:m,showLoading:p,onActivateSample:y,onTraceSampleDataLoaded:h}=e;const{traceId:f,spanId:k,seeker:x}=g,{stage:v}=(0,ba.useLazyLoadQuery)(void 0!==Jc?Jc:Jc=l(4228),{stageId:c,traceId:f,spanId:k,seeker:x}),{Tabs:F,Tab:S,MoreTabs:K}=(0,L.NS)(),[C,A]=(0,b.useState)("timeline"),T=(0,L.d4)(ic,(e=>e)),I=(0,b.useContext)(sc),w=null!==(n=null===v||void 0===v||null===(a=v.trace)||void 0===a?void 0:a.spans.map((e=>{let{spanId:n,spanName:l,spanKind:a,__typename:t,...i}=e;return{id:n,name:l,kind:sg(a),type:og(t),offset:0,...i}})))&&void 0!==n?n:[],D=w.map((e=>xo(e))).filter((e=>!!e)),N=T?w.findIndex((e=>{let{id:n}=e;return n===T.id})):-1,R=N+1,E=-1!==N&&w.length>R,V=N>0,P=null===v||void 0===v||null===(t=v.trace)||void 0===t||null===(i=t.spans[0])||void 0===i?void 0:i.spanKind,O=(0,b.useCallback)((()=>{I(null)}),[I]);(0,b.useEffect)((()=>{var e,n;h({traceId:f,spanId:k,seeker:x,totalDuration:null!==(e=null===v||void 0===v||null===(n=v.trace)||void 0===n?void 0:n.totalDuration)&&void 0!==e?e:null})}),[f,k,x,null===v||void 0===v||null===(r=v.trace)||void 0===r?void 0:r.totalDuration,h]);const _=(0,b.useCallback)(((e,n)=>{A(n)}),[A]);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(ug,{activeSample:g,duration:null!==(s=null===v||void 0===v||null===(o=v.trace)||void 0===o?void 0:o.totalDuration)&&void 0!==s?s:0,errorDetails:D,operationSpanKind:P?sg(P):void 0,samples:m,timestamp:null!==(d=null===v||void 0===v||null===(u=v.trace)||void 0===u?void 0:u.offset)&&void 0!==d?d:0,onActivateSample:y}),(null===v||void 0===v?void 0:v.trace)&&w.length&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(tg,{children:[(0,j.jsxs)(F,{value:C,"aria-label":"Trace Details",onChange:_,children:[(0,j.jsx)(S,{label:"Timeline",value:"timeline"}),(0,j.jsx)(S,{label:"Logs",value:"logs"})]}),(0,j.jsx)(K,{})]}),(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsxs)(pc,{show:p,offsetTop:-1,children:["timeline"===C&&(0,j.jsx)(ig,{offset:v.trace.offset,spans:w,totalDuration:v.trace.totalDuration,showLoading:p,onShowSpanDetails:I,activeSpan:T,currentPosition:N+1,spanCount:w.length,onClose:O,onNext:E?()=>{E&&I(w[R])}:void 0,onPrevious:V?()=>{V&&I(w[N-1])}:void 0}),"logs"===C&&(0,j.jsx)(Wc,{fragmentRef:v})]})})]})]})}const tg=v.Ay.div.attrs({role:"toolbar"})(Xc||(Xc=(0,h.A)(["display:flex;flex-direction:row;align-items:center;border-bottom:1px solid ",";"])),F.lt.base.separator);function ig(e){var n;let{activeSpan:l,totalDuration:a,offset:t,spans:i,showLoading:r,currentPosition:s,spanCount:o,onClose:d,onNext:u,onPrevious:c,onShowSpanDetails:g}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(rg,{activeSpanId:null!==(n=null===l||void 0===l?void 0:l.id)&&void 0!==n?n:null,offset:t,spans:i,totalDuration:a,showLoading:r,onShowSpanDetails:g}),(0,j.jsx)(jc,{activeSpan:l,currentPosition:s,spanCount:o,offset:t,totalDuration:a,onClose:d,onNext:u,onPrevious:c})]})}function rg(e){let{activeSpanId:n,spans:l,offset:a,totalDuration:t,showLoading:i,onShowSpanDetails:r}=e;return(0,j.jsx)(Zr,{$disableXPadding:!0,$paddingBottom:!0,children:(0,j.jsx)(Vo,{activeSpanId:null!==n&&void 0!==n?n:null,offset:null!==a&&void 0!==a?a:0,spans:null!==l&&void 0!==l?l:[],totalDuration:null!==t&&void 0!==t?t:0,showLoading:i,onShowSpanDetails:r})})}function sg(e){switch(e){case"SPAN_KIND_CLIENT":return fo.Client;case"SPAN_KIND_SERVER":return fo.Server;case"SPAN_KIND_PRODUCER":return fo.Producer;case"SPAN_KIND_CONSUMER":return fo.Consumer;default:return fo.Internal}}function og(e){switch(e){case"OpenTelemetryDbSpan":return ko.DB;case"OpenTelemetryGraphQLOperationSpan":return ko.GraphQLOperation;case"OpenTelemetryGraphQLResolverSpan":return ko.GraphQLResolver;case"OpenTelemetryHttpClientSpan":return ko.HTTPClient;case"OpenTelemetryHttpServerSpan":return ko.HTTPServer;default:return ko.Default}}function dg(e){let{children:n,duration:l,errorDetails:a,operationSpanKind:t,timestamp:i}=e;return(0,j.jsxs)(Zr,{children:[(0,j.jsxs)(Ua.A,{container:!0,direction:"row",alignItems:"center",gap:1,sx:{marginTop:"8px",height:"50px"},children:[(0,j.jsx)(Ua.A,{children:(0,j.jsx)(la.A,{variant:"h5",children:"Trace Sample"})}),n]}),(0,j.jsxs)(Ua.A,{container:!0,direction:"row",alignItems:"center",gap:1,sx:{marginBottom:"8px",height:"20px"},children:[(0,j.jsx)(Fo,{duration:l}),(0,j.jsx)(Co,{epoch:i}),t&&(0,j.jsx)(Ao,{kind:t}),(0,j.jsx)(So,{count:null===a||void 0===a?void 0:a.length}),(0,j.jsx)(jo,{count:null===a||void 0===a?void 0:a.reduce(((e,n)=>{let{exceptionCount:l}=n;return e+l}),0)})]})]})}function ug(e){let{activeSample:n,duration:l,errorDetails:a,operationSpanKind:t,samples:i,timestamp:r,onActivateSample:s}=e;const o=n?i.indexOf(n):-1;return(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(dg,{duration:l,errorDetails:a,operationSpanKind:t,timestamp:r,children:!!i.length&&(0,j.jsx)(vc.A,{count:i.length,disabled:!i.length,page:-1===o?1:o+1,showFirstButton:!0,showLastButton:!0,renderItem:e=>"page"===e.type?e.selected?(0,j.jsxs)(cg,{children:[e.page," of ",i.length]}):null:"start-ellipsis"===e.type||"end-ellipsis"===e.type?null:(0,j.jsx)(Fc.A,{...e}),onChange:(e,n)=>{s(i[n-1])}})})})}const cg=v.Ay.div(Zc||(Zc=(0,h.A)(["min-width:80px;padding-right:8px;padding-left:8px;font-weight:500;text-align:center;color:",";"])),F.lt.base.text);var gg,mg,pg;function yg(e){var n;let{operationFragmentRef:a,stageFragmentRef:t,stageId:i}=e;const r=(0,b.useRef)(null),{latencyDistribution:s}=(0,ba.useFragment)(void 0!==gg?gg:gg=l(35485),a),o=(0,b.useContext)(ac);return(0,j.jsx)(Jr,{size:12,minHeight:600,title:"Latency Distribution",noPadding:!0,subheader:(0,j.jsx)(hg,{totalCount:null!==(n=null===s||void 0===s?void 0:s.totalCount)&&void 0!==n?n:0}),content:null!==s&&void 0!==s&&s.dataset.length?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Zr,{$paddingBottom:!0,children:(0,j.jsx)(ks,{ref:r,data:s,onRangeChange:o})}),(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(ng,{}),children:(0,j.jsx)(eg,{fragmentRef:t,stageId:i,onTraceSampleDataLoaded:e=>{var n;r.current&&r.current.setCurrent(null!==(n=null===e||void 0===e?void 0:e.totalDuration)&&void 0!==n?n:null)}})})]}):(0,j.jsx)(kg,{children:(0,j.jsx)(ys,{})})})}function hg(e){let{totalCount:n}=e;const l=(0,L.d4)(ec,lc);return(0,j.jsxs)(Ua.A,{direction:"row",justifyContent:"space-between",gap:1,container:!0,children:[(0,j.jsx)(Ua.A,{children:"Total operations: "+(0,x.Yh)(n)}),(0,j.jsx)(Ua.A,{children:l?"Selected range: "+l.map((e=>(0,x.ng)(e))).join(" - "):(0,j.jsxs)(fg,{children:[(0,j.jsx)(f.mo,{})," Click and drag to select a range"]})})]})}const fg=v.Ay.div(mg||(mg=(0,h.A)(["display:flex;align-items:center;gap:4px;"]))),kg=v.Ay.div(pg||(pg=(0,h.A)(["display:flex;width:100%;height:300px;"])));var xg,bg,vg,Fg,Sg,jg,Kg,Cg;function Lg(e){let{fragmentRef:n,range:a}=e;const{latency:t}=(0,ba.useFragment)(void 0!==xg?xg:xg=l(94013),n);return(0,j.jsx)(Jr,{size:4,title:"Latency",content:null!==t&&void 0!==t&&t.dataset.length?(0,j.jsx)(fs,{dataset:t.dataset,range:a}):(0,j.jsx)(ys,{})})}function Ag(e){let{fragmentRef:n,range:a}=e;const{throughput:t}=(0,ba.useFragment)(void 0!==bg?bg:bg=l(87404),n);return(0,j.jsx)(Jr,{size:4,title:"Throughput",content:null!==t&&void 0!==t&&t.dataset.length?(0,j.jsx)(hd,{dataset:t.dataset.map((e=>{let{epoch:n,opm:l,totalCount:a,totalCountWithError:t}=e;return{epoch:n,opm:l,success:a-t,error:t}})),range:a}):(0,j.jsx)(ys,{})})}function Tg(e){let{stageId:n,hash:l,operationName:a,range:t}=e;const i=(0,o.WAJ)(),[r,s]=t,d=(0,b.useMemo)((()=>({stageId:n,hash:l,operationName:a,from:r,to:s})),[n,l,a,r,s]);return(0,j.jsx)(Wr,{header:(0,j.jsx)(cs,{name:a,kind:"operation",showBackButton:!0,onClickBack:()=>i(null)}),children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(Ig,{}),children:(0,j.jsx)(wg,{variables:d})})})}function Ig(){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Jr,{size:4,title:"Latency",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:4,title:"Throughput",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:4,title:"Errors",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:12,minHeight:600,title:"Latency Distribution",content:(0,j.jsx)(hs,{})})]})}function wg(e){let{variables:n}=e;const{stage:a}=(0,ba.useLazyLoadQuery)(void 0!==vg?vg:vg=l(97113),n);return a?(0,j.jsxs)(nc,{children:[(0,j.jsx)(Lg,{fragmentRef:a.metrics.operation,range:[n.from,n.to]}),(0,j.jsx)(Ag,{fragmentRef:a.metrics.operation,range:[n.from,n.to]}),(0,j.jsx)(mc,{fragmentRef:a.metrics.operation,range:[n.from,n.to]}),(0,j.jsx)(yg,{operationFragmentRef:a.metrics.operation,stageFragmentRef:a,stageId:n.stageId})]}):(0,j.jsx)(Sl.HY,{title:"No Monitoring Available"})}function Dg(e){let{fragmentRef:n,range:a}=e;const{throughput:t}=(0,ba.useFragment)(void 0!==Fg?Fg:Fg=l(3340),n);return(0,j.jsx)(Jr,{size:4,title:"Errors",content:null!==t&&void 0!==t&&t.dataset.length?(0,j.jsx)(ps,{dataset:t.dataset.map((e=>{let{epoch:n,totalCountWithError:l}=e;return{epoch:n,total:l}})),range:a}):(0,j.jsx)(ys,{})})}function Ng(e){let{fragmentRef:n,range:a}=e;const{latency:t}=(0,ba.useFragment)(void 0!==Sg?Sg:Sg=l(63727),n);return(0,j.jsx)(Jr,{size:4,title:"Latency",content:null!==t&&void 0!==t&&t.dataset.length?(0,j.jsx)(fs,{dataset:t.dataset,range:a}):(0,j.jsx)(ys,{})})}function Rg(e){let{fragmentRef:n,range:a}=e;const{throughput:t}=(0,ba.useFragment)(void 0!==jg?jg:jg=l(35177),n);return(0,j.jsx)(Jr,{size:4,title:"Throughput",content:null!==t&&void 0!==t&&t.dataset.length?(0,j.jsx)(hd,{dataset:t.dataset.map((e=>{let{epoch:n,opm:l,totalCount:a,totalCountWithError:t}=e;return{epoch:n,opm:l,success:a-t,error:t}})),range:a}):(0,j.jsx)(ys,{})})}function Eg(e){let{stageId:n,coordinate:l,range:a}=e;const t=(0,o.VA7)(),[i,r]=a,s=(0,b.useMemo)((()=>({stageId:n,coordinate:l,from:i,to:r})),[n,l,i,r]);return(0,j.jsx)(Wr,{header:(0,j.jsx)(cs,{name:l,kind:"resolver",showBackButton:!0,onClickBack:()=>t(null)}),children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(Vg,{}),children:(0,j.jsx)(Pg,{variables:s})})})}function Vg(){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Jr,{size:4,title:"Latency",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:4,title:"Throughput",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:4,title:"Errors",content:(0,j.jsx)(hs,{})})]})}function Pg(e){let{variables:n}=e;const{stage:a}=(0,ba.useLazyLoadQuery)(void 0!==Kg?Kg:Kg=l(18559),n);return a?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ng,{fragmentRef:a.metrics.resolver,range:[n.from,n.to]}),(0,j.jsx)(Rg,{fragmentRef:a.metrics.resolver,range:[n.from,n.to]}),(0,j.jsx)(Dg,{fragmentRef:a.metrics.resolver,range:[n.from,n.to]})]}):(0,j.jsx)(Sl.HY,{title:"No Monitoring Available"})}const Og=(0,b.memo)((function(e){var n;let{fragmentRef:a}=e;const{data:t}=(0,ba.usePaginationFragment)(void 0!==Cg?Cg:Cg=l(89847),a),i=(0,b.useMemo)((()=>{var e,n,l;return null!==(e=null===(n=t.metrics.clients.insights)||void 0===n||null===(l=n.edges)||void 0===l?void 0:l.filter((e=>{let{node:n}=e;return n.impact})).map((e=>{var n,l;let{node:a}=e;return{name:a.name,total:null!==(n=a.totalCount)&&void 0!==n?n:0,impact:null!==(l=a.impact)&&void 0!==l?l:0}})))&&void 0!==e?e:[]}),[null===(n=t.metrics.clients.insights)||void 0===n?void 0:n.edges]);return(0,j.jsx)(Jr,{size:6,title:"Clients",content:i.length?(0,j.jsx)(Ur,{dataset:i}):(0,j.jsx)(ys,{})})}));var _g;function Mg(e){let{fragmentRef:n,loadNext:a}=e;const t=(0,ba.useFragment)(void 0!==_g?_g:_g=l(91790),n),i=(0,Po.b)();return(0,j.jsx)(xa.C,{apiRef:i,scrollEndThreshold:400,disableColumnReorder:!0,disableRowSelectionOnClick:!0,rowSelection:!1,slots:{noRowsOverlay:zg},onRowsScrollEnd:a,columns:Gg,rows:t})}const Gg=[{field:"type",headerName:"Type",width:100,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(ka.$,{children:n.type})}},{field:"message",headerName:"Message",width:250,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(ka.$,{children:n.message})}},{field:"totalCount",headerName:"Total Count",width:100,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(ka.$,{children:n.totalCount})}},{field:"rate",headerName:"Rate",width:100,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsxs)(ka.$,{children:[n.epm," epm"]})}},{field:"lastSeen",headerName:"Last Seen",width:150,sortable:!1,renderCell(e){let{row:n}=e;const l=(0,x.fw)(n.lastSeen);return(0,j.jsx)(ka.$,{children:l})}}];function zg(){return(0,j.jsx)(Sl.HY,{title:"No Errors"})}var Hg;const Bg=(0,b.memo)((function(e){var n;let{fragmentRef:a,range:t}=e;const{data:i,isLoadingNext:r,loadNext:s,hasNext:o}=(0,ba.usePaginationFragment)(void 0!==Hg?Hg:Hg=l(5020),a),d=(0,b.useMemo)((()=>{var e,n,l;return null!==(e=null===(n=i.metrics.errors.insights)||void 0===n||null===(l=n.edges)||void 0===l?void 0:l.map((e=>{let{node:n}=e;return n})))&&void 0!==e?e:[]}),[null===(n=i.metrics.errors.insights)||void 0===n?void 0:n.edges]),u=(0,b.useCallback)((()=>{!r&&o&&s(5)}),[r,o,s]);return(0,j.jsx)(Jr,{size:6,title:"Errors",content:(0,j.jsx)(ls.A,{height:250,children:(0,j.jsx)(Mg,{fragmentRef:d,loadNext:u})})})}));var Qg;const $g=(0,b.memo)((function(e){let{fragmentRef:n,range:a}=e;const{throughput:t}=(0,ba.useFragment)(void 0!==Qg?Qg:Qg=l(40173),n),i=(0,b.useMemo)((()=>{var e;return null!==(e=null===t||void 0===t?void 0:t.dataset.map((e=>{let{epoch:n,totalCountWithError:l}=e;return{epoch:n,total:l}})))&&void 0!==e?e:[]}),[null===t||void 0===t?void 0:t.dataset]);return(0,j.jsx)(Jr,{size:6,title:"Failed Operations",content:i.length?(0,j.jsx)(ps,{dataset:i,range:a}):(0,j.jsx)(ys,{})})}));var Ug,Wg=l(67752),qg=l(15231),Yg=l(39919),Jg=l(87658);const Xg=(0,b.memo)((function(e){var n;let{fragmentRef:a,range:t,search:i}=e;const{data:r,hasNext:s,isLoadingNext:o,loadNext:d,refetch:u}=(0,ba.usePaginationFragment)(void 0!==Ug?Ug:Ug=l(66498),a),[c,g]=(0,b.useTransition)(),m=(0,b.useMemo)((()=>{var e,n,l;return null!==(e=null===(n=r.metrics.operations.insights)||void 0===n||null===(l=n.edges)||void 0===l?void 0:l.map((e=>{let{node:n}=e;return{node:n,range:t}})))&&void 0!==e?e:[]}),[null===(n=r.metrics.operations.insights)||void 0===n?void 0:n.edges,t]),p=(0,b.useCallback)((()=>{s&&!o&&d(25)}),[s,o,d]),[y,h]=(0,b.useState)([]),f=(0,b.useCallback)((e=>{if(m.length){const n=e.filter((e=>{let{sort:n}=e;return!!n})).map((e=>{let{field:n,sort:l}=e;return{[n]:"asc"===l?"ASC":"DESC"}}));h(n)}}),[m,h]);return(0,b.useEffect)((()=>{const e=i?{search:i}:{},n=y.length?{sort:y}:{};g((()=>{u({...n,...e})}))}),[i,y,u,g]),(0,j.jsx)(ud,{rows:m,loading:o||c,onRowsScrollEnd:p,onSortModelChange:f})}));var Zg;const em=(0,b.memo)((function(e){var n;let{fragmentRef:a,range:t,search:i}=e;const{data:r,hasNext:s,isLoadingNext:o,loadNext:d,refetch:u}=(0,ba.usePaginationFragment)(void 0!==Zg?Zg:Zg=l(44842),a),[c,g]=(0,b.useTransition)(),m=(0,b.useMemo)((()=>{var e,n,l;return null!==(e=null===(n=r.metrics.resolvers.insights)||void 0===n||null===(l=n.edges)||void 0===l?void 0:l.map((e=>{let{node:n}=e;return{node:n,range:t}})))&&void 0!==e?e:[]}),[null===(n=r.metrics.resolvers.insights)||void 0===n?void 0:n.edges,t]),p=(0,b.useCallback)((()=>{s&&!o&&d(25)}),[s,o,d]),[y,h]=(0,b.useState)([]),f=(0,b.useCallback)((e=>{if(m.length){const n=e.filter((e=>{let{sort:n}=e;return!!n})).map((e=>{let{field:n,sort:l}=e;return{[n]:"asc"===l?"ASC":"DESC"}}));h(n)}}),[m,h]);return(0,b.useEffect)((()=>{const e=i?{search:i}:{},n=y.length?{sort:y}:{};g((()=>{u({...n,...e})}))}),[i,y,u,g]),(0,j.jsx)(gd,{rows:m,loading:o||c,onRowsScrollEnd:p,onSortModelChange:f})}));var nm,lm;const am=(0,b.memo)((function(e){let{fragmentRef:n,range:a}=e;const t=(0,ba.useFragment)(void 0!==nm?nm:nm=l(69092),n),[i,r]=(0,b.useState)("operations"),s=(0,b.useRef)(null),[o,d]=(0,b.useState)(""),u=(0,b.useCallback)(((e,n)=>{n&&(r(n),d(""),s.current&&(s.current.value=""))}),[r]);return(0,j.jsx)(Jr,{size:12,title:"Insights",action:(0,j.jsxs)(tm,{children:[(0,j.jsx)(Wg.U,{fieldRef:s,width:230,onSearchTermChange:d}),(0,j.jsxs)(qg.A,{exclusive:!0,size:"small",value:i,onChange:u,children:[(0,j.jsx)(Yg.A,{value:"operations",children:(0,j.jsx)(A.A,{title:"Operations View",placement:"bottom",children:(0,j.jsx)(f.Kz,{})})}),(0,j.jsx)(Yg.A,{value:"resolvers",children:(0,j.jsx)(A.A,{title:"Resolvers View",placement:"bottom",children:(0,j.jsx)(f.tW,{})})})]})]}),content:(0,j.jsxs)(ls.A,{height:388,children:[(0,j.jsx)(Jg.K,{freeze:"operations"!==i,children:(0,j.jsx)(Xg,{fragmentRef:t,range:a,search:o},"operations")}),(0,j.jsx)(Jg.K,{freeze:"operations"===i,children:(0,j.jsx)(em,{fragmentRef:t,range:a,search:o},"resolvers")})]}),noPadding:!0})})),tm=v.Ay.div(lm||(lm=(0,h.A)(["display:flex;flex-direction:row;align-items:center;gap:4px;"])));var im;const rm=(0,b.memo)((function(e){let{fragmentRef:n,range:a}=e;const{latency:t}=(0,ba.useFragment)(void 0!==im?im:im=l(49173),n),i=(0,b.useMemo)((()=>{var e;return null!==(e=null===t||void 0===t?void 0:t.dataset)&&void 0!==e?e:[]}),[null===t||void 0===t?void 0:t.dataset]);return(0,j.jsx)(Jr,{size:12,title:"Latency",content:i.length?(0,j.jsx)(fs,{dataset:i,range:a}):(0,j.jsx)(ys,{})})}));var sm;const om=(0,b.memo)((function(e){let{fragmentRef:n,range:a}=e;const{throughput:t}=(0,ba.useFragment)(void 0!==sm?sm:sm=l(97671),n),i=(0,b.useMemo)((()=>{var e;return null!==(e=null===t||void 0===t?void 0:t.dataset.map((e=>{let{epoch:n,opm:l,totalCount:a,totalCountWithError:t}=e;return{epoch:n,opm:l,success:a-t,error:t}})))&&void 0!==e?e:[]}),[null===t||void 0===t?void 0:t.dataset]);return(0,j.jsx)(Jr,{size:6,title:"Throughput",content:i.length?(0,j.jsx)(hd,{dataset:i,range:a}):(0,j.jsx)(ys,{})})}));var dm,um,cm,gm;function mm(e){let{stage:n,range:l}=e;const a=(0,o.hvt)(),t=(0,o.QHv)();return a?(0,j.jsx)(Tg,{...a,stageId:n.id,range:l}):t?(0,j.jsx)(Eg,{...t,stageId:n.id,range:l}):(0,j.jsx)(pm,{stage:n,range:l})}function pm(e){let{stage:n,range:l}=e;const[a,t]=l,i=(0,b.useMemo)((()=>({stageId:n.id,from:a,to:t})),[n.id,a,t]);return(0,j.jsx)(Wr,{header:(0,j.jsx)(cs,{name:n.displayName,kind:"stage"}),children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(ym,{}),children:(0,j.jsx)(hm,{variables:i})})})}function ym(){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Jr,{size:12,title:"Latency",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:6,title:"Throughput",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:6,title:"Clients",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:6,title:"Failed Operations",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:6,title:"Errors",content:(0,j.jsx)(hs,{})}),(0,j.jsx)(Jr,{size:12,title:"Insights",content:(0,j.jsx)(hs,{})})]})}function hm(e){let{variables:n}=e;const{stage:a}=(0,ba.useLazyLoadQuery)(void 0!==dm?dm:dm=l(13761),n);return a?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(rm,{fragmentRef:a.metrics.operations,range:[n.from,n.to]}),(0,j.jsx)(om,{fragmentRef:a.metrics.operations,range:[n.from,n.to]}),(0,j.jsx)(Og,{fragmentRef:a}),(0,j.jsx)($g,{fragmentRef:a.metrics.operations,range:[n.from,n.to]}),(0,j.jsx)(Bg,{fragmentRef:a,range:[n.from,n.to]}),(0,j.jsx)(am,{fragmentRef:a,range:[n.from,n.to]})]}):(0,j.jsx)(Sl.HY,{title:"No Monitoring Available"})}function fm(e){let{operation:n,onClose:l}=e;const a=(0,b.useMemo)((()=>n?(0,j.jsx)(km,{operation:n}):null),[n]);return(0,j.jsx)(eu,{open:!!n,title:"Operation Details",onClose:l,children:a})}function km(e){var n;let{operation:{name:l,kind:a,document:t}}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(lu,{children:(0,j.jsxs)(la.A,{variant:"h5",children:[l," ",a]})}),(0,j.jsx)(au,{children:(0,j.jsx)(ft.Dw,{content:null!==(n=null===t||void 0===t?void 0:t.content)&&void 0!==n?n:""})})]})}function xm(e){let{apiId:n}=e;const[a,t]=(0,L.V7)(),{api:i}=(0,ba.useLazyLoadQuery)(void 0!==um?um:um=l(59144),{apiId:n},{fetchKey:a,fetchPolicy:"store-and-network"});return ua(t),i?(0,j.jsx)(vm,{children:(0,j.jsx)(Fm,{api:i})}):null}const bm=(0,_l.vr)({activeOperation:null,activateOperation:x.lQ},"ActiveOperationGridItem");function vm(e){let{children:n}=e;const[l,a]=(0,b.useState)(null);return(0,j.jsx)(bm.Provider,{value:{activeOperation:l,activateOperation:a},children:n})}function Fm(e){var n,a;let{api:t}=e;const{activeOperation:i,activateOperation:r}=(0,b.useContext)(bm),{data:s,hasNext:o,isLoadingNext:d,loadNext:u}=(0,ba.usePaginationFragment)(void 0!==cm?cm:cm=l(27808),t),c=(0,b.useCallback)((()=>{r(null)}),[r]);if(!t)return(0,j.jsx)(Sl.HY,{title:"No API Available"});if(null===s||void 0===s||null===(n=s.operations)||void 0===n||null===(a=n.edges)||void 0===a||!a.length)return(0,j.jsx)(Sl.HY,{title:"No Operations Available"});const g=s.operations.edges.map(((e,n)=>{let{node:l}=e;return{id:n,node:l}}));return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(xa.C,{columns:Sm,rows:g,loading:d,disableColumnReorder:!0,disableRowSelectionOnClick:!0,rowSelection:!1,scrollEndThreshold:400,onRowsScrollEnd:()=>{o&&!d&&u(25)}}),(0,j.jsx)(fm,{operation:i,onClose:c})]})}const Sm=[{field:"operation",headerName:"Operation",width:200,sortable:!1,renderCell(e){let{row:n}=e;return(0,j.jsx)(jm,{node:n.node})}},{field:"ids",headerName:"Ids",flex:1,sortable:!1,resizable:!1,renderCell(e){var n;let{row:l}=e;return(0,j.jsx)(Km,{children:null===(n=l.node.document)||void 0===n?void 0:n.documentIds.map((e=>(0,j.jsx)(ka.$,{as:"li",children:e},e)))})}}],jm=(0,b.memo)((function(e){let{node:n}=e;const{activateOperation:l}=(0,b.useContext)(bm),a=(0,b.useCallback)((()=>{l(n)}),[n,l]);return(0,j.jsx)(et.A,{onClick:a,children:(0,j.jsx)(Go,{kind:n.kind,name:n.name||"unnamed operation"})})})),Km=v.Ay.ul(gm||(gm=(0,h.A)(["display:flex;gap:6px;font-family:",";font-weight:500;"])),F.Z7);function Cm(e){let{remoteId:n}=e;return(0,j.jsx)(C.wn,{children:(0,j.jsx)(C.gN,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(xm,{apiId:n})})})})}var Lm,Am,Tm,Im,wm;function Dm(e){let{data:n}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(Nm,{children:[(0,j.jsx)(Rm,{direction:(0,x.oW)(n.current.latency,n.previous.latency),sentiment:(0,x.uR)(n.current.latency,n.previous.latency,"bad"),value:(0,x.ng)(n.current.latency),description:"Latency"}),(0,j.jsx)(Rm,{direction:(0,x.oW)(n.current.throughput,n.previous.throughput),sentiment:(0,x.uR)(n.current.throughput,n.previous.throughput,"good"),value:(0,x.wk)(n.current.throughput)+" opm",description:"Throughput"}),(0,j.jsx)(Rm,{direction:(0,x.oW)(n.current.errorRate,n.previous.errorRate),sentiment:(0,x.uR)(n.current.errorRate,n.previous.errorRate,"bad"),value:(0,x.Io)(n.current.errorRate),description:"Error Rate"})]}),(0,j.jsx)(We.B,{title:"Essentials",items:[{key:"api-id",name:"API ID",description:n.apiId,enableCopy:!0},{key:"stage",name:"Stage",description:n.stageName},{key:"version",name:"Version",description:n.version},{key:"last-published-on",name:"Last published on",description:n.lastPublishedAt},{key:"clients",name:"Clients (registered)",description:n.clientCount},"GATEWAY"===n.apiKind&&{key:"subgraphs",name:"Subgraphs",description:n.subgraphCount}].filter((e=>!!e))})]})}const Nm=v.Ay.div(Lm||(Lm=(0,h.A)(["display:flex;flex-direction:row;margin:8px 12px 16px;border-radius:8px;border:1px solid ",";padding:8px 4px;gap:26px;background-color:",";"])),F.lt.components.cardBorder,F.lt.base.background);function Rm(e){let{direction:n,sentiment:l,value:a,description:t}=e;return(0,j.jsxs)(Em,{children:[(0,j.jsx)(Vm,{$sentiment:l,children:(0,j.jsx)(Pm,{direction:n})}),(0,j.jsx)(Om,{children:a}),(0,j.jsx)(_m,{children:t})]})}const Em=v.Ay.div(Am||(Am=(0,h.A)(["display:flex;flex:1 1 33%;flex-direction:column;align-items:center;justify-content:center;"]))),Vm=v.Ay.div(Tm||(Tm=(0,h.A)(["flex:0 0 auto;margin-bottom:4px;.icon{width:28px;height:28px;fill:",";}"])),(e=>{let{$sentiment:n}=e;return F.lt.states[n]}));function Pm(e){let{direction:n}=e;switch(n){case"up":return(0,j.jsx)(f.sb,{});case"down":return(0,j.jsx)(f.eO,{});case"neutral":return(0,j.jsx)(f.rF,{})}}const Om=v.Ay.div(Im||(Im=(0,h.A)(["flex:0 0 auto;font-size:1.167rem;font-weight:500;margin-bottom:4px;color:",";"])),F.lt.base.text),_m=v.Ay.div(wm||(wm=(0,h.A)(["flex:0 0 auto;color:",";"])),F.lt.base.text);var Mm;function Gm(e){var n,a,t,i,r,s,o,d,u,c,g,m,p,y,h,f,k,b,v;let{fragmentRef:F}=e;const S=(0,ba.useFragment)(void 0!==Mm?Mm:Mm=l(58690),F);if(!S)return null;const{current:K,previous:C}=S.metrics.operations;return(0,j.jsx)(Jr,{size:4,title:"Status",content:(0,j.jsx)(Dm,{data:{apiId:S.api.id,apiKind:S.api.kind,stageName:S.displayName,version:null!==(n=null===(a=S.essentials)||void 0===a?void 0:a.version)&&void 0!==n?n:"",lastPublishedAt:null!==(t=S.essentials)&&void 0!==t&&t.lastPublishedAt?(0,x.YS)(S.essentials.lastPublishedAt):"",clientCount:null!==(i=null===(r=S.essentials)||void 0===r?void 0:r.clientCount)&&void 0!==i?i:0,subgraphCount:null!==(s=null===(o=S.essentials)||void 0===o?void 0:o.subgraphCount)&&void 0!==s?s:0,current:{latency:null!==(d=null===(u=K.latency)||void 0===u?void 0:u.mean)&&void 0!==d?d:0,throughput:null!==(c=null===(g=K.throughput)||void 0===g?void 0:g.opm)&&void 0!==c?c:0,errorRate:null!==(m=null===(p=K.throughput)||void 0===p?void 0:p.errorRate)&&void 0!==m?m:0},previous:{latency:null!==(y=null===(h=C.latency)||void 0===h?void 0:h.mean)&&void 0!==y?y:0,throughput:null!==(f=null===(k=C.throughput)||void 0===k?void 0:k.opm)&&void 0!==f?f:0,errorRate:null!==(b=null===(v=C.throughput)||void 0===v?void 0:v.errorRate)&&void 0!==b?b:0}}}),noPadding:!0})}var zm,Hm,Bm,Qm,$m,Um,Wm,qm,Ym,Jm,Xm,Zm=l(8395),ep=l.n(Zm),np=l(85668),lp=l(37630),ap=l(89614);l(88626);function tp(e){let{errorRate:n}=e;return(0,j.jsx)(zr,{buildOption:e=>({series:[{type:"pie",radius:["90%","100%"],center:["50%","50%"],color:[e((e=>e.chart.error)),e((e=>e.chart.success))],emphasis:{disabled:!0},animation:!1,labelLine:{show:!1},data:[{value:n},{value:1}]}]}),style:{width:"100%",height:"100%"}})}function ip(e){let{data:n}=e;const[l,a]=(t=n,(0,b.useMemo)((()=>{const[e,n]=function(e){const n=ap.yX.Right,l=ap.yX.Left,a={position:{x:0,y:0},sourcePosition:n,targetPosition:l,selectable:!1,focusable:!1,deletable:!1},t=e.clients.map((e=>{let{id:n,type:l,name:t,latency:i,throughput:r,errorRate:s}=e;return{...a,id:t,type:"client",width:60,height:60,data:{id:n,name:t,kind:"client",type:l,latency:i,throughput:r,errorRate:s,width:60,height:60}}})).concat([{...a,id:e.name,type:"api",width:120,height:120,data:{id:e.id,kind:"api",name:e.name,latency:e.latency,throughput:e.throughput,errorRate:e.errorRate,width:120,height:120}}]).concat("GATEWAY"===e.kind?e.subgraphs.map((e=>{let{id:n,name:l,latency:t,throughput:i,errorRate:r}=e;return{...a,id:l,type:"subgraph",width:60,height:60,data:{id:n,name:l,kind:"subgraph",latency:t,throughput:i,errorRate:r,width:60,height:60}}})):[]),i={type:"request",focusable:!1,deletable:!1,animated:!1,markerEnd:{type:ap.TG.ArrowClosed}},r=e.clients.map((n=>{let{name:l,latency:a,throughput:t,errorRate:r}=n;return{...i,id:"".concat(l,"-").concat(e.name),source:l,target:e.name,data:{latency:a,throughput:t,errorRate:r}}})).concat("GATEWAY"===e.kind?e.subgraphs.map((n=>{let{name:l,latency:a,throughput:t,errorRate:r}=n;return{...i,id:"".concat(e.name,"-").concat(l),source:e.name,target:l,data:{latency:a,throughput:t,errorRate:r}}})):[]);return[t,r]}(t),l=(new(ep().graphlib.Graph)).setGraph({rankdir:"LR",ranksep:180,nodesep:30}).setDefaultEdgeLabel((()=>({})));e.forEach((e=>{let{id:n,width:a,height:t}=e;l.setNode(n,{width:null!==a&&void 0!==a?a:void 0,height:null!==t&&void 0!==t?t:void 0})})),n.forEach((e=>{let{source:n,target:a}=e;l.setEdge(n,a)})),ep().layout(l);const a=(e,n,l,a,t,i)=>({x:l-(n%2===0?t:t+("client"===e?90:-90))/2,y:a-i/2});return e.forEach(((e,n)=>{const{x:t,y:i,width:r,height:s}=l.node(e.id);e.position=a(e.data.kind,n,t,i,r,s)})),[e,n]}),[t]));var t;return(0,j.jsxs)(rp,{nodes:l,edges:a,nodeTypes:hp,edgeTypes:Sp,minZoom:.75,maxZoom:1.25,zoomOnScroll:!0,nodesDraggable:!1,proOptions:{hideAttribution:!0},defaultMarkerColor:F.lt.graph.edge,fitView:!0,children:[(0,j.jsx)(np.V,{variant:np._.Dots}),(0,j.jsx)(lp.H,{showInteractive:!1})]})}const rp=(0,v.Ay)(ap.Gc)(zm||(zm=(0,h.A)(["background-color:",";color:",";font-family:",";.react-flow__background > pattern > circle{fill:",";}.react-flow__viewport,.react-flow__nodes,.react-flow__pane{overflow:visible;}.react-flow__node{gap:4px;}.react-flow__handle{visibility:hidden;}.react-flow__edge-path{stroke:",";stroke-width:2;stroke-dasharray:5 5;}.react-flow__arrowhead{polyline{fill:",";stroke:",";}}.react-flow__controls{border-radius:4px;}.react-flow__controls-button{border:1px solid var(--nitro-color-component-toggle-button-border);background-color:var(--nitro-color-component-toggle-button);border-radius:4px;&:not(:last-of-type){border-bottom-right-radius:0;border-bottom-left-radius:0;}&:not(:first-of-type){border-top-right-radius:0;border-top-left-radius:0;margin-top:-1px;}&:hover{background-color:var(--nitro-color-component-toggle-button-hover);& > svg{fill:var(--nitro-color-component-toggle-button-hover-text);}}& > svg{fill:var(--nitro-color-component-toggle-button-text);}}.react-flow__attribution{display:none;}"])),F.lt.graph.background,F.lt.graph.text,F.F2,F.lt.graph.backgroundPattern,F.lt.graph.edge,F.lt.graph.edge,F.lt.graph.edge),sp=v.Ay.div(Hm||(Hm=(0,h.A)(["display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:26px;border:","px solid ",";border-radius:50%;width:","px;height:","px;background-color:",";"])),(e=>{let{$kind:n}=e;return"api"===n?0:1}),F.lt.graph.nodeBorder,(e=>{let{$width:n}=e;return n}),(e=>{let{$height:n}=e;return n}),F.lt.graph.node),op=v.Ay.div(Bm||(Bm=(0,h.A)(["display:flex;flex-direction:column;flex:0 0 18px;flex-direction:row;align-items:center;justify-content:center;margin-top:6px;height:20px;white-space:nowrap;"]))),dp=v.Ay.div(Qm||(Qm=(0,h.A)(["flex:0 0 auto;width:","px;font-size:1rem;text-align:center;text-overflow:ellipsis;"])),(e=>{let{$width:n}=e;return n})),up=v.Ay.div($m||($m=(0,h.A)(["position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:500;> .icon{width:","px;height:","px;fill:",";}"])),(e=>{let{$nodeData:n}=e;return cp(n.kind)}),(e=>{let{$nodeData:n}=e;return cp(n.kind)}),(e=>{let{$nodeData:n}=e;return function(e){if("type"in e)switch(e.type){case"apollo":case"other":case"strawberry-shake":return F.lt.icons.apiIcon;case"relay":return F.lt.icons.relayIcon}return F.lt.icons.apiIcon}(n)}));function cp(e){return"api"===e?42:32}const gp=v.Ay.div(Um||(Um=(0,h.A)(["display:flex;align-items:center;justify-content:center;margin-bottom:12px;gap:4px;font-size:1.25rem;line-height:100%;.icon{width:20px;height:20px;}"]))),mp=(0,b.memo)((function(e){let{data:n,sourcePosition:l,targetPosition:a}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(sp,{$kind:n.kind,$width:n.width,$height:n.width,children:[(0,j.jsxs)(up,{$nodeData:n,children:[(0,j.jsx)(f.Sv,{}),!!n.errorRate&&(0,j.jsxs)(gp,{children:[(0,j.jsx)(f.ik,{}),(0,j.jsx)("span",{children:(0,x.Io)(n.errorRate)})]})]}),null!=n.errorRate&&(0,j.jsx)(tp,{errorRate:n.errorRate})]}),(0,j.jsx)(op,{children:(0,j.jsx)(dp,{$width:n.width,children:n.name})}),l&&(0,j.jsx)(ap.h7,{type:"source",position:l}),a&&(0,j.jsx)(ap.h7,{type:"target",position:a})]})})),pp=(0,b.memo)((function(e){let{data:n,sourcePosition:l,targetPosition:a}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(sp,{$kind:n.kind,$width:n.width,$height:n.width,children:(0,j.jsx)(up,{$nodeData:n,children:(0,j.jsx)(f.$C,{})})}),(0,j.jsx)(op,{children:(0,j.jsx)(dp,{$width:n.width,children:n.name})}),l&&(0,j.jsx)(ap.h7,{type:"source",position:l}),a&&(0,j.jsx)(ap.h7,{type:"target",position:a})]})})),yp=(0,b.memo)((function(e){let{data:n,sourcePosition:l,targetPosition:a}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(sp,{$kind:n.kind,$width:n.width,$height:n.width,children:(0,j.jsx)(up,{$nodeData:n,children:(0,j.jsx)(f.mb,{})})}),(0,j.jsx)(op,{children:(0,j.jsx)(dp,{$width:n.width,children:n.name})}),l&&(0,j.jsx)(ap.h7,{type:"source",position:l}),a&&(0,j.jsx)(ap.h7,{type:"target",position:a})]})})),hp={api:mp,client:pp,subgraph:yp},fp=(0,b.memo)((function(e){let{id:n,style:l,markerEnd:a,data:t,...i}=e;const[r,s,o]=(0,ap.Fp)({...i});return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("path",{id:n,style:l,className:"react-flow__edge-path",d:r,markerEnd:a}),(!(null===t||void 0===t||!t.latency)||!(null===t||void 0===t||!t.throughput)||!(null===t||void 0===t||!t.errorRate))&&(0,j.jsx)(ap.rV,{children:(0,j.jsxs)(kp,{$labelX:s,$labelY:o,className:"nodrag nopan",children:[(0,j.jsxs)(xp,{children:[!!t.latency&&(0,j.jsx)(vp,{children:(0,x.ng)(t.latency)}),!!t.errorRate&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(bp,{}),(0,j.jsxs)(vp,{children:[(0,j.jsx)(f.ik,{}),(0,j.jsx)("div",{children:(0,x.Io)(t.errorRate)})]})]})]}),!!t.throughput&&(0,j.jsx)(Fp,{children:(0,x.wk)(t.throughput)+" opm"})]})})]})})),kp=v.Ay.div(Wm||(Wm=(0,h.A)(["position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:translate(-50%,-50%) translate(","px,","px);font-size:0.857rem;line-height:100%;"])),(e=>{let{$labelX:n}=e;return n}),(e=>{let{$labelY:n}=e;return n})),xp=v.Ay.div(qm||(qm=(0,h.A)(["display:flex;flex:0 0 14px;align-items:center;justify-content:center;margin-top:16px;border:1px solid ",";border-radius:7px;padding:0 8px;gap:6px;background-color:",";"])),F.lt.graph.labelBorder,F.lt.graph.label),bp=v.Ay.div(Ym||(Ym=(0,h.A)(["width:1px;height:10px;margin:2px 0;background-color:",";"])),F.lt.graph.labelBorder),vp=v.Ay.div(Jm||(Jm=(0,h.A)(["display:flex;flex:0 0 auto;align-items:center;justify-content:center;white-space:nowrap;gap:4px;.icon{width:12px;height:12px;}"]))),Fp=v.Ay.div(Xm||(Xm=(0,h.A)(["display:flex;flex:0 0 14px;align-items:center;justify-content:center;margin-top:2px;"]))),Sp={request:fp};var jp,Kp,Cp,Lp,Ap,Tp,Ip;function wp(e){let{fragmentRef:n}=e;const a=(0,ba.useFragment)(void 0!==jp?jp:jp=l(25697),n),t=(0,b.useMemo)((()=>{var e,n,l,t,i,r,s,o,d,u,c,g;if("SERVICE"!==(null===a||void 0===a?void 0:a.api.kind)&&"GATEWAY"!==(null===a||void 0===a?void 0:a.api.kind))return null;const m=a.api.id,p=a.api.kind,y=a.api.name,h=null!==(e=null===(n=a.metrics.operations.summary.latency)||void 0===n?void 0:n.mean)&&void 0!==e?e:null,f=null!==(l=null===(t=a.metrics.operations.summary.throughput)||void 0===t?void 0:t.opm)&&void 0!==l?l:null,k=null!==(i=null===(r=a.metrics.operations.summary.throughput)||void 0===r?void 0:r.errorRate)&&void 0!==i?i:null,x=null!==(s=null===(o=a.metrics.clients.insights)||void 0===o||null===(d=o.edges)||void 0===d?void 0:d.map((e=>{let{node:n}=e;return{id:n.id,name:n.name,type:"other",latency:n.averageLatency,throughput:n.opm,errorRate:n.errorRate}})))&&void 0!==s?s:[],b=null!==(u=null===(c=a.metrics.subgraphs.insights)||void 0===c||null===(g=c.edges)||void 0===g?void 0:g.map((e=>{let{node:n}=e;return{id:n.id,name:n.name,latency:n.averageLatency,throughput:n.opm,errorRate:n.errorRate}})))&&void 0!==u?u:[];return"SERVICE"===p?{id:m,kind:p,name:y,latency:h,throughput:f,errorRate:k,clients:x}:{id:m,kind:p,name:y,latency:h,throughput:f,errorRate:k,clients:x,subgraphs:b}}),[a]);return(0,j.jsx)(Jr,{size:8,content:t&&(0,j.jsx)(ip,{data:t}),minHeight:430,noPadding:!0})}function Dp(e){var n;let{fragmentRef:a,range:t}=e;const{data:i,hasNext:r,isLoadingNext:s,loadNext:o,refetch:d}=(0,ba.usePaginationFragment)(void 0!==Kp?Kp:Kp=l(46172),a),[u,c]=(0,b.useTransition)(),g=(0,b.useMemo)((()=>{var e,n,l;return null!==(e=null===(n=i.metrics.subgraphs.insights)||void 0===n||null===(l=n.edges)||void 0===l?void 0:l.map((e=>{var n,l,a;let{node:i}=e;return{node:{...i,remoteId:null!==(n=null===(l=i.subgraph)||void 0===l||null===(a=l.api)||void 0===a?void 0:a.id)&&void 0!==n?n:null},range:t}})))&&void 0!==e?e:[]}),[null===(n=i.metrics.subgraphs.insights)||void 0===n?void 0:n.edges,t]);return(0,j.jsx)(pd,{rows:g,loading:s||u,onRowsScrollEnd:()=>{r&&!s&&o(25)},onSortModelChange:e=>{if(g.length){const n=e.filter((e=>{let{sort:n}=e;return!!n})).map((e=>{let{field:n,sort:l}=e;return{[n]:"asc"===l?"ASC":"DESC"}}));c((()=>{d(n.length?{sort:n}:{})}))}}})}function Np(e){let{fragmentRef:n,range:a}=e;const t=(0,ba.useFragment)(void 0!==Cp?Cp:Cp=l(30775),n);return(0,j.jsx)(Jr,{size:12,title:"Subgraphs",content:(0,j.jsx)(ls.A,{height:388,children:(0,j.jsx)(Dp,{fragmentRef:t,range:a})}),noPadding:!0})}function Rp(e){let{stage:n,range:l}=e;const[a,t]=l,[i,r]=x.bP.from(l).toEpoch(),s=r-i,o=(0,x.CS)(i-s),d=(0,b.useMemo)((()=>({stageId:n.id,from:a,to:t,before:o})),[n.id,a,t,o]);return(0,j.jsx)(Wr,{header:(0,j.jsx)(cs,{name:n.displayName,kind:"stage"}),children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(Ep,{}),children:(0,j.jsx)(Vp,{variables:d})})})}function Ep(){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Jr,{size:8,content:(0,j.jsx)(hs,{}),minHeight:430,noPadding:!0}),(0,j.jsx)(Jr,{size:4,title:"Status",content:(0,j.jsx)(hs,{}),noPadding:!0}),(0,j.jsx)(Jr,{size:12,title:"Subgraphs",content:(0,j.jsx)(hs,{}),noPadding:!0})]})}function Vp(e){let{variables:n}=e;const{stage:a}=(0,ba.useLazyLoadQuery)(void 0!==Lp?Lp:Lp=l(86673),n);return a?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(wp,{fragmentRef:a},n.stageId),(0,j.jsx)(Gm,{fragmentRef:a}),(0,j.jsx)(Np,{fragmentRef:a,range:[n.from,n.to]})]}):(0,j.jsx)(Sl.HY,{title:"No Stage Available"})}function Pp(e){let{stage:n,range:l}=e;const[a,t]=x.bP.from(l).toEpoch(),[i,r]=l,s=t-a,o=(0,x.CS)(a-s),d=(0,b.useMemo)((()=>({stageId:n.id,from:i,to:r,before:o})),[n.id,i,r,o]);return(0,j.jsx)(Wr,{header:(0,j.jsx)(cs,{name:n.displayName,kind:"stage"}),children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(Op,{}),children:(0,j.jsx)(_p,{variables:d})})})}function Op(){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Jr,{size:8,content:(0,j.jsx)(hs,{}),minHeight:430,noPadding:!0}),(0,j.jsx)(Jr,{size:4,title:"Status",content:(0,j.jsx)(hs,{}),noPadding:!0})]})}function _p(e){let{variables:n}=e;const{stage:a}=(0,ba.useLazyLoadQuery)(void 0!==Ap?Ap:Ap=l(71309),n);return a?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(wp,{fragmentRef:a},n.stageId),(0,j.jsx)(Gm,{fragmentRef:a})]}):(0,j.jsx)(Sl.HY,{title:"No Stage Available"})}function Mp(){const e=(0,o.Ruy)(),n=(0,o.uC$)(),l=(0,o.SXV)(),a=(0,b.useCallback)(((e,n)=>{n&&l(n)}),[l]);return(0,j.jsxs)(qg.A,{exclusive:!0,size:"small",value:n?e:null,disabled:!n,onChange:a,children:[(0,j.jsx)(Yg.A,{value:"log",children:(0,j.jsx)(A.A,{title:"Log View",placement:"bottom",children:(0,j.jsx)(f.wv,{})})}),(0,j.jsx)(Yg.A,{value:"diff",children:(0,j.jsx)(A.A,{title:"Diff View",placement:"bottom",children:(0,j.jsx)(f.R3,{})})})]})}function Gp(e){let{stage:n}=e;const l=(0,o.uC$)();return(0,j.jsxs)(C.wn,{children:[(0,j.jsxs)(C.AW,{spacing:"right",children:[(0,j.jsxs)(C.w,{children:["Changes for ",n.displayName]}),(0,j.jsx)(C.jB,{}),(0,j.jsx)(Mp,{})]}),(0,j.jsx)(C.Y2,{}),(0,j.jsx)(C.gN,{children:l?(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(hr,{changelogId:l})}):(0,j.jsx)(jn,{})})]})}const zp=50;function Hp(e){let{stage:{id:n}}=e;const[a,t]=(0,L.V7)(),{stage:i}=(0,ba.useLazyLoadQuery)(void 0!==Tp?Tp:Tp=l(26405),{stageId:n},{fetchKey:a,fetchPolicy:"store-and-network"});return ua(t),i?(0,j.jsx)(Bp,{fragmentRef:i}):null}function Bp(e){var n,a,t;let{fragmentRef:i}=e;const{data:r,hasNext:s,isLoadingNext:d,loadNext:u}=(0,ba.usePaginationFragment)(void 0!==Ip?Ip:Ip=l(99719),i),c=(0,o.uC$)(),g=(0,o.BRC)(),m=null!==(n=null===r||void 0===r||null===(a=r.changeLog)||void 0===a?void 0:a.edges)&&void 0!==n?n:[],p=null===(t=m.at(0))||void 0===t?void 0:t.node.id;if(!c&&p?g(p):p||g(null),!m.length)return(0,j.jsx)(Sl.HY,{title:"No Tags Available"});const y=(0,b.memo)((function(e){let{data:n,index:l,style:a}=e;if(l===n.length)return s?(0,j.jsx)("div",{style:a,children:(0,j.jsx)(X.Xw,{isLoadingMore:d,onLoadMore:()=>{d||u(50)}})}):null;const t=n[l].node;return(0,j.jsx)("div",{style:a,children:(0,j.jsx)(Ia,{caption:t.tag,active:t.id===c,detail:{label:"Published "+(0,x.fw)(t.changedAt),meta:(0,j.jsx)(dt,{fragmentRef:t.statistic})},onClick:()=>{g(t.id)}})})}),Pa.t7);return(0,j.jsx)(C.gN,{$spacing:"top",children:(0,j.jsx)(Va.d,{itemCount:m.length+1,itemData:m,itemKey:(e,n)=>e===n.length?"load-more":"client-".concat(e),itemSize:zp,tabIndex:-1,children:y})})}function Qp(e){let{stage:n}=e;return(0,j.jsx)(C.wn,{$separator:"left",children:(0,j.jsxs)(C.VP,{children:[(0,j.jsx)(C.AW,{spacing:"right",children:(0,j.jsx)(C.w,{children:"Versions"})}),(0,j.jsx)(C.Y2,{}),(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(Hp,{stage:n})})]})})}function $p(e){let{stage:n}=e;const l=(0,o.uC$)(),a=(0,o.BRC)();return ua((0,b.useCallback)((()=>{null===l&&a(void 0)}),[l,a])),null===l?(0,j.jsxs)(Sl.HY,{title:"No Changes",children:[(0,j.jsxs)(Sl.pd,{children:["No Schema published yet to the ",(0,j.jsx)("em",{children:n.displayName})," Stage. Use the ",(0,j.jsx)("em",{children:"Barista"})," CLI to publish Schemas."]}),(0,j.jsxs)(Sl.pd,{children:["More Info on how to publish a Schema with ",(0,j.jsx)("em",{children:"Barista"})," you'll find in the"," ",(0,j.jsxs)(S.G,{href:"https://chilli.run/schema-registry-tutorial",children:["Quick Start Guide ",(0,j.jsx)(f.pT,{})]})]})]}):(0,j.jsx)(Up,{stage:n})}const Up=(0,b.memo)((function(e){let{stage:n}=e;const l=(0,o.xIY)(),a=(0,o.gfI)();return(0,j.jsx)(Fn.YV,{id:"schema-changes",asideWidth:l,mainPane:"left",leftContent:(0,j.jsx)(Gp,{stage:n}),rightContent:(0,j.jsx)(Qp,{stage:n}),onAsideWidthChange:a})})),Wp="# Default Stage Setup\ndev:\n displayName: Development\nprod:\n displayName: Production\n conditions:\n - after: dev",qp="# Default Stage Setup\n# dev:\n# displayName: Development\n# prod:\n# displayName: Production\n# conditions:\n# - after: dev";var Yp=l(58900),Jp=l.n(Yp),Xp=l(67011);const Zp={uri:"editor://schemas/stages.json",schema:{$schema:"http://json-schema.org/draft-07/schema",title:"Stage",type:"object",patternProperties:{"^[a-zA-Z][a-zA-Z0-9_-]*$":{type:"object",properties:{displayName:{type:"string"},conditions:{type:"array",items:{type:"object",properties:{after:{type:"string"}},required:["after"],additionalProperties:!1}}},required:["displayName"],additionalProperties:!1}},additionalProperties:!1}},ey=(new(Jp())).compile(Zp.schema);var ny,ly;const ay="stages-definition";function ty(e){var n;let{fragmentRef:a}=e;const t=(0,Cl.iU)(),i=(0,ba.useFragment)(void 0!==ny?ny:ny=l(80350),a),r=(0,o.l$t)(ay),s=(0,b.useRef)("");var d;s.current=null!==r&&void 0!==r&&null!==(n=r.item.context)&&void 0!==n&&n.useDefaultSetup?Wp:null!==(d=null===i||void 0===i?void 0:i.stages)&&void 0!==d&&d.length?Xp.Ay.stringify(Object.fromEntries(d.map((e=>{let{name:n,displayName:l,conditions:a}=e;return[n,{displayName:l,conditions:a.length?a.map((e=>{let{afterStage:n}=e;return{after:null===n||void 0===n?void 0:n.name}})):void 0}]}))),{logLevel:"silent"}):qp;const[u]=(0,ba.useMutation)(void 0!==ly?ly:ly=l(50823)),c=(0,b.useCallback)((()=>{if(r)if(s.current){const e=function(e){if(!e.trim())return null;const n=Xp.Ay.parse(e,{logLevel:"silent"});return ey(n)?Object.entries(n).map((e=>{let[n,{displayName:l,conditions:a=[]}]=e;return{name:n,displayName:l,conditions:a.map((e=>{let{after:n}=e;return{afterStage:n}}))}})):null}(s.current);e?u({variables:{input:{apiId:r.item.context.remoteId,updatedStages:e}},onCompleted(e){let{updateStages:{errors:n}}=e;var l;n?(0,I.$E)(null===(l=n[0])||void 0===l?void 0:l.message):(r.hide(),t())},onError(){(0,I.$E)("There was an error during the request. Please try again.")}}):(0,I.$E)("The configuration is not valid. Please fix it and try again.")}else(0,I.$E)("The configuration is not valid. Please fix it and try again.")}),[r,u,t]),g=(0,b.useCallback)((()=>{null===r||void 0===r||r.hide()}),[r]),m=(0,b.useCallback)((e=>{s.current=e}),[]);return(0,b.useEffect)((()=>()=>{s.current=""}),[]),(0,j.jsx)(T.lG,{id:ay,title:"Stages Definition",size:"medium",disableScrollbars:!0,closeOnEnter:!1,showConfirm:!0,confirmText:"Apply",showCancel:!0,cancelText:"Cancel",onConfirm:c,onCancel:g,onClose:g,children:(0,j.jsx)(ft.jE,{id:"stages",content:s.current,schema:Zp,onChange:m})})}function iy(){return(0,T.Gk)(ay)}function ry(e){let{remoteId:n}=e;return(0,j.jsxs)(Sl.HY,{title:"No Stages",children:[(0,j.jsx)(Sl.pd,{children:"Here for the first time, and you don't know how to start? Then let's start with the Default Setup."}),(0,j.jsx)(Sl.pd,{children:"The Default Setup will create a Development and Production Stage for you."}),(0,j.jsx)(Sl.pd,{children:(0,j.jsx)(sy,{remoteId:n})})]})}function sy(e){let{remoteId:n}=e;const l=iy(),a=(0,b.useCallback)((()=>{l({remoteId:n,useDefaultSetup:!0})}),[n,l]);return(0,j.jsx)(ee.A,{color:"primary",size:"medium",onClick:a,children:"Use Default Setup"})}var oy,dy,uy,cy,gy,my,py,yy;function hy(e){let{fragmentRef:n}=e;const{stages:a}=(0,ba.useFragment)(void 0!==oy?oy:oy=l(7646),n);return(0,j.jsx)(fy,{stages:a})}const fy=(0,b.memo)((function(e){let{stages:n}=e;const[l,a]=function(e,n){return(0,b.useMemo)((()=>{const[l,a]=function(e,n){const[l,a]="LR"===n?[ap.yX.Right,ap.yX.Left]:[ap.yX.Bottom,ap.yX.Top];return[e.map((e=>{var n,t;let{id:i,name:r,displayName:s,publishedSchema:o}=e;return{id:r,width:176,height:50,position:{x:0,y:0},sourcePosition:l,targetPosition:a,data:{id:i,name:r,displayName:s,tag:null===o||void 0===o||null===(n=o.version)||void 0===n?void 0:n.tag,downloadUrl:null===o||void 0===o||null===(t=o.version)||void 0===t?void 0:t.downloadUrl},type:"custom",selectable:!0,focusable:!1,deletable:!1}})),e.flatMap((e=>{let{name:n,conditions:l}=e;return l.map((e=>{let{afterStage:l}=e;return{id:"".concat(l.name,"-").concat(n),source:l.name,target:n,type:"custom",focusable:!1,deletable:!1,animated:!1,markerEnd:{type:ap.TG.ArrowClosed}}}))}))]}(e,n),t=(new(ep().graphlib.Graph)).setGraph({rankdir:n,align:"UL",ranksep:96,nodesep:64}).setDefaultEdgeLabel((()=>({})));return l.forEach((e=>{let{id:n,width:l,height:a}=e;t.setNode(n,{width:null!==l&&void 0!==l?l:void 0,height:null!==a&&void 0!==a?a:void 0})})),a.forEach((e=>{let{source:n,target:l}=e;t.setEdge(n,l)})),ep().layout(t),l.forEach((e=>{const{x:n,y:l,width:a,height:i}=t.node(e.id),r=e.parentNode?0:20;e.position={x:n+r-a/2,y:l+r-i/2}})),[l,a]}),[e,n])}(n,"LR");return(0,j.jsxs)(ky,{nodes:l,edges:a,nodeTypes:Ky,edgeTypes:Cy,minZoom:.75,maxZoom:1.25,zoomOnScroll:!0,nodesDraggable:!1,proOptions:{hideAttribution:!0},defaultMarkerColor:F.lt.graph.edge,children:[(0,j.jsx)(np.V,{variant:np._.Dots}),(0,j.jsx)(lp.H,{showInteractive:!1})]})}));const ky=(0,v.Ay)(ap.Gc)(dy||(dy=(0,h.A)(["background-color:",";color:",";font-family:",";.react-flow__background > pattern > circle{fill:",";}.react-flow__viewport,.react-flow__nodes,.react-flow__pane{overflow:visible;}.react-flow__node-custom{border:1px solid ",";border-radius:10px;background-color:",";&.selected{border-color:",";}}.react-flow__handle{visibility:hidden;}.react-flow__edge-path{stroke:",";stroke-width:2;stroke-dasharray:5 5;}.react-flow__arrowhead{polyline{fill:",";stroke:",";}}.react-flow__edge.selected .react-flow__edge-path{stroke:",";}.react-flow__controls{border-radius:4px;}.react-flow__controls-button{border:1px solid ",";background-color:",";border-radius:4px;&:not(:last-of-type){border-bottom-right-radius:0;border-bottom-left-radius:0;}&:not(:first-of-type){border-top-right-radius:0;border-top-left-radius:0;margin-top:-1px;}&:hover{background-color:",";& > svg{fill:",";}}& > svg{fill:",";}}.react-flow__attribution{display:none;}"])),F.lt.graph.background,F.lt.graph.text,F.F2,F.lt.graph.backgroundPattern,F.lt.graph.nodeBorder,F.lt.graph.node,F.lt.graph.nodeBorderActive,F.lt.graph.edge,F.lt.graph.edge,F.lt.graph.edge,F.lt.graph.edgeActive,F.lt.components.toggleButtonBorder,F.lt.components.toggleButton,F.lt.components.toggleButtonHover,F.lt.components.toggleButtonHoverText,F.lt.components.toggleButtonText),xy=v.Ay.div(uy||(uy=(0,h.A)(["width:176px;height:50px;padding:12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;font-weight:500;background-color:",";"])),F.lt.graph.node),by=v.Ay.div(cy||(cy=(0,h.A)(["font-size:1.167rem;font-weight:500;"]))),vy=v.Ay.div(gy||(gy=(0,h.A)([""]))),Fy=v.Ay.div(my||(my=(0,h.A)([""]))),Sy=v.Ay.div(py||(py=(0,h.A)(["width:100%;display:flex;justify-content:space-between;align-items:center;"]))),jy=(0,b.memo)((function(e){let{data:n,sourcePosition:l,targetPosition:a}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(xy,{children:[(0,j.jsx)(by,{children:n.displayName}),(0,j.jsx)(vy,{children:n.name}),(0,j.jsxs)(Sy,{children:[n.tag&&(0,j.jsx)(Fy,{children:n.tag}),n.downloadUrl&&(0,j.jsx)(Ly,{tooltip:"Download as SDL",onClick:(t=n.downloadUrl,async e=>{e.preventDefault(),e.stopPropagation();const{uri:n,headers:l}=await(0,kt.L2)(t);(0,_l.$0)(n,{headers:l})}),children:(0,j.jsx)(f.s3,{})})]})]}),l&&(0,j.jsx)(ap.h7,{type:"source",position:l}),a&&(0,j.jsx)(ap.h7,{type:"target",position:a})]});var t})),Ky={custom:jy},Cy={custom:(0,b.memo)((function(e){let{id:n,style:l,markerEnd:a,...t}=e;const[i]=(0,ap.oN)({offset:10,borderRadius:40,...t});return(0,j.jsx)("path",{id:n,style:l,className:"react-flow__edge-path",d:i,markerEnd:a})}))};const Ly=(0,v.Ay)(X.pG)(yy||(yy=(0,h.A)(["height:1em;flex-basis:1em;& > .icon{fill:",";}&:hover,&:focus{background-color:transparent;border-color:transparent;& > .icon{fill:",";}}"])),F.lt.components.linkText,F.lt.components.linkHoverText);var Ay;function Ty(e){let{remoteId:n}=e;const[a,t]=(0,L.V7)(),i=(0,ba.useLazyLoadQuery)(void 0!==Ay?Ay:Ay=l(6854),{apiId:n},{fetchKey:a,fetchPolicy:"store-and-network"});return ua(t),i.api?(0,j.jsx)(hy,{fragmentRef:i.api}):null}function Iy(e){let{apiId:n}=e;const l=(0,o.acj)(),a=(0,o.Xoc)(),t=(0,o.WAs)(),i=(0,p.a)();switch(l){case void 0:return t?(0,j.jsx)(aa,{apiId:n,apiKind:a,workspaceId:t}):null;case jl.xi2.Collection:return(0,j.jsxs)(Sl.HY,{title:"API Collection",icon:(0,j.jsx)(f.mb,{}),children:[(0,j.jsx)(Sl.pd,{children:"An API Collection allows you to share Connection Settings with linked Documents."}),(0,j.jsx)(Sl.pd,{children:(0,j.jsx)(ee.A,{color:"primary",onClick:()=>i({apiId:n,apiKind:l}),children:"Change API Type"})})]});case jl.xi2.Gateway:return(0,j.jsx)(Dy,{});case jl.xi2.Service:return(0,j.jsx)(wy,{});default:return(0,j.jsx)(Sl.HY,{title:"API Type Unknown",icon:(0,j.jsx)(f.id,{}),children:(0,j.jsx)(Sl.pd,{children:"This API type is not supported. This is probably because you use an older version of Nitro. To solve this issue update to the latest version."})})}}function wy(){const e=(0,o.I7$)(),n=(0,o.IqN)(),l=(0,o.YuI)(),a=(0,Cl.tc)(),t=ma();if(!l)return(0,j.jsx)(Ny,{});if(a)return(0,j.jsx)(jn,{});if(!e)return(0,j.jsx)(ry,{remoteId:l});switch(n){case"overview":return(0,j.jsx)(Pp,{stage:e,range:t});case"monitoring":return(0,j.jsx)(mm,{stage:e,range:t});case"logs":return(0,j.jsx)(Wu,{stage:e,range:t});case"deployments":return(0,j.jsx)(Md,{stage:e});case"changelog":return(0,j.jsx)($p,{stage:e});case"operations":return(0,j.jsx)(Cm,{remoteId:l});case"clients":return(0,j.jsx)(Ha,{remoteId:l});case"stages":return(0,j.jsx)(Ty,{remoteId:l});default:return(0,x.dr)(n)}}function Dy(){const e=(0,o.I7$)(),n=(0,o.IqN)(),l=(0,o.YuI)(),a=(0,Cl.tc)(),t=ma();if(!l)return(0,j.jsx)(Ny,{});if(a)return(0,j.jsx)(jn,{});if(!e)return(0,j.jsx)(ry,{remoteId:l});switch(n){case"overview":return(0,j.jsx)(Rp,{stage:e,range:t});case"monitoring":return(0,j.jsx)(mm,{stage:e,range:t});case"logs":return(0,j.jsx)(Wu,{stage:e,range:t});case"deployments":return(0,j.jsx)(Md,{stage:e});case"changelog":return(0,j.jsx)($p,{stage:e});case"operations":return(0,j.jsx)(Cm,{remoteId:l});case"clients":return(0,j.jsx)(Ha,{remoteId:l});case"stages":return(0,j.jsx)(Ty,{remoteId:l});default:return(0,x.dr)(n)}}function Ny(){const e=(0,o.Gje)(),n=(0,o.xVp)();return(0,j.jsx)(Sl.HY,{title:e?"API Synchronizing":"API Not Synchronized",icon:(0,j.jsx)(f.Fj,{}),spinIcon:e,children:(0,j.jsx)(Kl.A,{color:"primary",size:"medium",variant:"contained",disableElevation:!0,loading:e,onClick:n,children:(0,j.jsx)("span",{children:"Synchronize API"})})})}const Ry=(0,b.memo)((function(e){let{apiOrDocumentId:n}=e;const l=(0,o.WAs)(),a=(0,o.LbQ)(n),t=(0,o.cmd)(),i=(0,o.m5O)(),r=(0,y.J)(),s=(0,o.u$U)((0,o.KBy)(n)),d=k.Eo.test(s),u=(0,x.Fy)(s,"N/A"),c=(0,b.useCallback)((e=>{e.stopPropagation();const{exists:s,hasSubscriptionType:o}=t.value(),{httpConnection:d}=a;r({workspaceId:l,apiOrDocumentId:n,httpConnection:d,subscriptionEndpointDisabled:s&&!o,unauthorized:"signed-in"!==i.value()})}),[n,a,t,i,l,r]),g=!!s.length;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(A.A,{disableInteractive:!0,title:g?s:"Endpoint Not Available",placement:"bottom",children:(0,j.jsxs)(C.S1,{children:[(0,j.jsx)(C.Jn,{children:d?(0,j.jsx)(f.$n,{}):(0,j.jsx)(f.at,{})}),(0,j.jsx)(C.hL,{children:u})]})}),(0,j.jsx)(C.S1,{children:(0,j.jsx)(X.pG,{tooltip:"Connection Settings",tooltipPlacement:"bottom",onClick:c,children:(0,j.jsx)(f.Ze,{})})})]})}));function Ey(){const e=(0,o.IqN)(),n=(0,o.zE2)(),{Tabs:l,Tab:a,MoreTabs:t}=(0,L.NS)(),i=(0,b.useCallback)(((e,l)=>{n(l)}),[n]);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(l,{value:e,"aria-label":"Registry View Selection",onChange:i,children:[(0,j.jsx)(a,{label:"Overview",value:"overview"}),(0,j.jsx)(a,{label:"Monitoring",value:"monitoring"}),(0,j.jsx)(a,{label:"Logs",value:"logs"}),(0,j.jsx)(a,{label:"Deployments",value:"deployments"}),(0,j.jsx)(a,{label:"Changelog",value:"changelog"}),(0,j.jsx)(a,{label:"Operations",value:"operations"}),(0,j.jsx)(a,{label:"Clients",value:"clients"}),(0,j.jsx)(a,{label:"Stages",value:"stages"})]}),(0,j.jsx)(t,{})]})}function Vy(){const e=(0,o.IqN)(),n=(0,o.zE2)(),{Tabs:l,Tab:a,MoreTabs:t}=(0,L.NS)(),i=(0,b.useCallback)(((e,l)=>{n(l)}),[n]);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(l,{value:e,"aria-label":"Registry View Selection",onChange:i,children:[(0,j.jsx)(a,{label:"Overview",value:"overview"}),(0,j.jsx)(a,{label:"Monitoring",value:"monitoring"}),(0,j.jsx)(a,{label:"Logs",value:"logs"}),(0,j.jsx)(a,{label:"Deployments",value:"deployments"}),(0,j.jsx)(a,{label:"Changelog",value:"changelog"}),(0,j.jsx)(a,{label:"Operations",value:"operations"}),(0,j.jsx)(a,{label:"Clients",value:"clients"}),(0,j.jsx)(a,{label:"Stages",value:"stages"})]}),(0,j.jsx)(t,{})]})}var Py,Oy;const _y=(0,b.memo)((function(e){let{apiId:n}=e;switch((0,o.acj)()){case void 0:return(0,j.jsx)(Ya.A,{children:(0,j.jsx)(C.w,{children:"Getting Started"})});case jl.xi2.Collection:return(0,j.jsx)(My,{apiId:n});case jl.xi2.Service:return(0,j.jsx)(Gy,{apiId:n});case jl.xi2.Gateway:return(0,j.jsx)(zy,{apiId:n});default:return(0,j.jsx)(Ya.A,{children:(0,j.jsx)(C.w,{children:"API Type Unknown"})})}})),My=(0,b.memo)((function(e){let{apiId:n}=e;return(0,j.jsxs)(Ya.A,{children:[(0,j.jsx)(C.w,{children:"API Collection"}),(0,j.jsx)(C.jB,{}),(0,j.jsx)(Ry,{apiOrDocumentId:n})]})})),Gy=(0,b.memo)((function(e){let{apiId:n}=e;const l=(0,o.YuI)(),a=sa();return(0,j.jsxs)(Ya.A,{children:[(0,j.jsx)(Vy,{}),(0,j.jsx)(C.jB,{}),l&&(0,j.jsx)(b.Suspense,{children:(0,j.jsx)(Hy,{apiId:n,remoteId:l})}),(0,j.jsx)(C.S1,{children:(0,j.jsx)(ee.A,{variant:"text",disabled:!a,startIcon:(0,j.jsx)(f.fN,{}),onClick:a,children:"Refresh"})}),(0,j.jsx)(Ry,{apiOrDocumentId:n})]})})),zy=(0,b.memo)((function(e){let{apiId:n}=e;const l=(0,o.YuI)(),a=sa();return(0,j.jsxs)(Ya.A,{children:[(0,j.jsx)(Ey,{}),(0,j.jsx)(C.jB,{}),l&&(0,j.jsx)(b.Suspense,{children:(0,j.jsx)(Hy,{apiId:n,remoteId:l})}),(0,j.jsx)(C.S1,{children:(0,j.jsx)(ee.A,{variant:"text",disabled:!a,startIcon:(0,j.jsx)(f.fN,{}),onClick:a,children:"Refresh"})}),(0,j.jsx)(Ry,{apiOrDocumentId:n})]})}));function Hy(e){var n,a;let{apiId:t,remoteId:i}=e;const r=(0,o.IqN)(),s=null===(n=(0,o.I7$)())||void 0===n?void 0:n.id,d=(0,o.j8J)(),u=(0,o.b8v)(),c=(0,ba.useLazyLoadQuery)(void 0!==Py?Py:Py=l(1069),{apiId:i}),g=(0,b.useCallback)((e=>u(t,e)),[t,u]);return(0,j.jsxs)(j.Fragment,{children:["stages"===r&&(0,j.jsx)(C.S1,{children:(0,j.jsx)(By,{remoteId:i})}),(0,j.jsx)(ty,{fragmentRef:null!==(a=c.api)&&void 0!==a?a:null}),d&&["overview","monitoring","logs","deployments","changelog"].includes(r)&&(0,j.jsx)(C.S1,{children:(0,j.jsx)(Qy,{stageId:s,stages:d,onSelect:g})})]})}function By(e){let{remoteId:n}=e;const l=iy(),a=(0,b.useCallback)((()=>l({remoteId:n})),[n,l]);return(0,j.jsx)(ee.A,{variant:"text",startIcon:(0,j.jsx)(f.qU,{}),onClick:a,children:"Edit Stages"})}const Qy=(0,b.memo)((function(e){var n;let{stageId:l,stages:a,onSelect:t}=e;const i=null!==(n=a.map((e=>({content:(0,j.jsx)($y,{children:e.displayName}),title:e.displayName,key:e.id,value:e}))))&&void 0!==n?n:[],r=i.find((e=>{let{value:n}=e;return n.id===l})),s=(0,b.useCallback)((e=>{t(e.value)}),[t]);return i.length&&r?(0,j.jsx)(ns.L,{selected:r,options:i,onSelectionChange:s,children:e=>{let{content:n,title:l}=e;return(0,j.jsx)(X.Si,{variant:"text",endIcon:(0,j.jsx)(f.D3,{}),sx:{maxWidth:150},tooltip:l,children:n})}}):null})),$y=v.Ay.div(Oy||(Oy=(0,h.A)(["margin-left:7px;text-overflow:ellipsis;text-align:start;white-space:nowrap;flex:0 0 auto;"]))),Uy=(0,b.memo)((function(e){let{apiId:n}=e;return(0,j.jsx)(ia,{children:(0,j.jsxs)(o.J2F,{apiId:n,children:[(0,j.jsx)(C.qY,{children:(0,j.jsx)(_y,{apiId:n})}),(0,j.jsx)(C.Ow,{children:(0,j.jsx)(Wy,{apiId:n})})]})})}));function Wy(e){let{apiId:n}=e;const l=(0,o.I7$)(),a=(0,o.IqN)();return(0,j.jsx)(wn.t,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(Iy,{apiId:n})})},"api_view_error_".concat(null===l||void 0===l?void 0:l.id,"-").concat(a))}var qy,Yy,Jy,Xy;const Zy=(0,b.lazy)((()=>l.e(90).then(l.bind(l,14090)))),eh=(0,b.lazy)((()=>l.e(755).then(l.bind(l,75755)))),nh=(0,b.lazy)((()=>l.e(230).then(l.bind(l,51230)))),lh=(0,b.memo)((function(e){let{documentId:n}=e;return(0,j.jsx)(o.f9r,{documentId:n,children:(0,j.jsxs)(o.tPD,{documentId:n,children:[(0,j.jsx)(C.qY,{children:(0,j.jsx)(th,{documentId:n})}),(0,j.jsx)(C.Ow,{children:(0,j.jsx)(wn.t,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(ah,{})})},"doc_view_error_"+n)})]})})}));function ah(){switch((0,o.mdn)()){case"operations":return(0,j.jsx)(Zy,{});case"schema":return(0,j.jsx)(eh,{});case"sdl":return(0,j.jsx)(nh,{})}}const th=(0,b.memo)((function(e){let{documentId:n}=e;const l=(0,o.WAs)(),a=(0,o.LbQ)(n),t=!!(0,o.u$U)((0,o.KBy)(n)).length;return(0,j.jsxs)(Ya.A,{children:[(0,j.jsx)(oh,{}),(0,j.jsx)(C.jB,{}),(0,j.jsx)(ih,{documentId:n,workspaceId:l,connectionSettings:a}),(0,j.jsx)(C.S1,{children:(0,j.jsx)(rh,{isEndpointValid:t})}),(0,j.jsx)(Ry,{apiOrDocumentId:n})]})}));function ih(e){var n;let{documentId:l,workspaceId:a,connectionSettings:t}=e;const[i,r,s,o]=(0,L.wp)(),d=(0,b.useCallback)((()=>{i(l,a)}),[l,a,i]),u=(0,b.useCallback)((()=>{s(l,a)}),[l,a,s]);(0,b.useEffect)((()=>r),[l,a,r]);return"oauth2"===(null===(n=t.httpConnection.authentication)||void 0===n?void 0:n.activeAuthenticationKind)&&t.httpConnection.authentication.oAuth2Options?(0,j.jsx)(C.S1,{children:t.httpConnection.authentication.headerValue?(0,j.jsx)(X.pG,{tooltip:"Clear Token",tooltipPlacement:"bottom",onClick:u,children:(0,j.jsx)(f.vu,{})}):(0,j.jsx)(X.pG,{tooltip:o?"Cancel Fetch Token":"Fetch Token",tooltipPlacement:"bottom",onClick:o?r:d,children:o?(0,j.jsx)(f.US,{}):(0,j.jsx)(f.RY,{})})}):null}function rh(e){let{isEndpointValid:n}=e;const l=(0,o.$nk)(),a=(0,o.IEc)(),t=(0,o.aT2)();(0,o.wkm)(o.bab.reloadSchema,t);const i=l||!n||null===a||void 0===a?void 0:a.kind;return(0,j.jsxs)(X.pG,{disabled:l||!n,spinIcon:l,tooltip:(0,o.WIA)(o.bab.reloadSchema,"Reload Schema"),tooltipPlacement:"bottom",onClick:t,children:[(0,j.jsx)(sh,{$status:i},(0,x.tB)()),(0,j.jsx)(f.fN,{})]})}const sh=v.Ay.span(qy||(qy=(0,h.A)(["position:absolute;display:inline-block;width:6px;height:6px;border:none;border-radius:50%;color:transparent;",";& + .icon{height:20px;width:20px;}"])),(e=>{let{$status:n}=e;switch(n){case"success":return(0,v.AH)(Yy||(Yy=(0,h.A)(["background-color:",";box-shadow:0 0 0 0 ",";",""])),F.lt.states.success,F.lt.states.success,K.EK);case"failure":return(0,v.AH)(Jy||(Jy=(0,h.A)(["background-color:",";box-shadow:0 0 0 0 ",";",""])),F.lt.states.failure,F.lt.states.failure,K.EK);default:return(0,v.AH)(Xy||(Xy=(0,h.A)(["background-color:",";box-shadow:0 0 0 0 ",";"])),F.lt.states.none,F.lt.states.none)}}));function oh(){const e=(0,o.gxC)(),n=(0,o.mdn)(),l=(0,o.SK_)(),{Tabs:a,Tab:t,MoreTabs:i}=(0,L.NS)(),r=(0,b.useCallback)((n=>{l(e,{activeViewId:n})}),[e,l]),s=(0,b.useCallback)(((e,n)=>{r(n)}),[r]);return(0,o.wkm)(o.bab.showOperation,(()=>r("operations")),void 0,[r]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(a,{value:null!==n&&void 0!==n?n:null,"aria-label":"Document View Selection",onChange:s,children:[(0,j.jsx)(t,{label:"Operation",title:(0,o.WIA)(o.bab.showOperation,"Operation"),value:"operations"}),(0,j.jsx)(t,{label:"Schema Reference",title:"Schema Reference",value:"schema"}),(0,j.jsx)(t,{label:"Schema Definition",title:"Schema Definition",value:"sdl"})]}),(0,j.jsx)(i,{})]})}var dh,uh=l(29925),ch=l(45735),gh=l(12795);const mh=[],ph=(0,b.memo)((function(e){let{variables:n,onChange:l}=e;const a=(0,Po.b)(),t=(0,b.useCallback)((e=>{let{oldIndex:n,targetIndex:t}=e;const i=Sh(a.current),r=i.splice(n,1)[0];i.splice(t,0,r),a.current.setRows(i),l(hh(i))}),[a,l]);return(0,b.useEffect)((()=>{var e;return null===(e=a.current)||void 0===e?void 0:e.subscribeEvent("rowsSet",(()=>{l(hh(Sh(a.current)))}))}),[a,l]),(0,j.jsx)(xa.C,{apiRef:a,columns:yh,rows:n.map((e=>({...e,__reorder__:e.name}))),disableColumnReorder:!0,disableRowSelectionOnClick:!0,rowSelection:!1,rowReordering:!0,slots:{rowReorderIcon:f.cO},onRowOrderChange:t})})),yh=[{...gh.A,width:100,resizable:!1,renderCell(e){var n;return(0,j.jsxs)(j.Fragment,{children:[null===(n=gh.A.renderCell)||void 0===n?void 0:n.call(gh.A,e),(0,j.jsx)(vh,{id:e.row.id,api:e.api}),(0,j.jsx)(fh,{id:e.row.id,variableEnabled:e.row.enabled,api:e.api})]})}},{field:"name",headerName:"Name",flex:1,sortable:!1,renderCell(e){let{row:n,api:l}=e;return(0,j.jsx)(xh,{id:n.id,enabled:n.enabled,variableKey:n.name,setFocusOn:n.setFocusOn,api:l})}},{field:"value",headerName:"Value",flex:1.5,resizable:!1,sortable:!1,renderCell(e){let{row:n,api:l}=e;return(0,j.jsx)(bh,{id:n.id,variableIsSecret:n.isSecret,variableValue:n.value,setFocusOn:n.setFocusOn,api:l})}},{field:"",headerName:"",width:40,minWidth:40,maxWidth:40,resizable:!1,sortable:!1,renderCell(e){let{row:n,api:l}=e;return(0,j.jsx)(Fh,{id:n.id,api:l})}}];function hh(e){return e.map((e=>{let{id:n,name:l,value:a,isSecret:t,enabled:i}=e;return{id:n,name:l,value:a,isSecret:t,enabled:i}}))}const fh=(0,b.memo)((function(e){let{id:n,variableEnabled:l,api:a}=e;const t=(0,b.useCallback)((e=>{a.updateRows([{id:n,enabled:e}])}),[n,a]);return(0,j.jsx)(kh,{children:(0,j.jsx)(se.K,{checked:null===l||void 0===l||l,onChange:t})})})),kh=v.Ay.div(dh||(dh=(0,h.A)(["padding-right:4px;padding-left:4px;"]))),xh=(0,b.memo)((function(e){let{id:n,variableKey:l,enabled:a,setFocusOn:t,api:i}=e;const r=(0,L.YQ)((e=>{var l;e!==(null===(l=i.getRow(n))||void 0===l?void 0:l.name)&&i.updateRows([{id:n,name:e}])}),[i,n]),s=(0,b.useCallback)((function(){r(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")}),[r]);return(0,j.jsx)(jh,{initialValue:l,enableValidation:a,setFocus:"key"===t,onChange:s})})),bh=(0,b.memo)((function(e){let{id:n,variableValue:l,variableIsSecret:a,setFocusOn:t,api:i}=e;const r=(0,L.YQ)((e=>{var l;e!==(null===(l=i.getRow(n))||void 0===l?void 0:l.value)&&i.updateRows([{id:n,value:e}])}),[i,n]),s=(0,b.useCallback)((e=>{r(e.target.value)}),[r]),o=(0,b.useCallback)((()=>{var e;i.updateRows([{id:n,isSecret:!(null!==(e=i.getRow(n))&&void 0!==e&&e.isSecret)}])}),[i,n]);return(0,j.jsx)(uh.A,{type:a?"password":"text",placeholder:"Value",defaultValue:l,fullWidth:!0,spellCheck:!1,autoComplete:"new-password",autoFocus:"value"===t,InputProps:{endAdornment:(0,j.jsx)(X.pG,{"aria-label":"toggle password visibility",onClick:o,children:a?(0,j.jsx)(f.DP,{}):(0,j.jsx)(f.Og,{})})},onChange:s})})),vh=(0,b.memo)((function(e){let{id:n,api:l}=e;const a=(0,b.useCallback)((()=>{const e=[...l.getAllRowIds()],a=(0,x.W0)();e.splice(e.indexOf(n)+1,0,a);const t=Sh(l,e);l.setRows(t)}),[n,l]);return(0,j.jsx)(X.pG,{onClick:a,children:(0,j.jsx)(f.RE,{})})})),Fh=(0,b.memo)((function(e){let{id:n,api:l}=e;const a=(0,b.useCallback)((()=>{l.updateRows([{_action:"delete",id:n}])}),[n,l]);return(0,j.jsx)(X.pG,{onClick:a,children:(0,j.jsx)(f.US,{})})}));function Sh(e,n){return(null!==n&&void 0!==n?n:e.getAllRowIds()).map((n=>{const l=e.getRowModels().get(n);return l?{...l,id:n}:{id:n,name:"",value:"",enabled:!0,isSecret:!1,setFocusOn:"key"}}))}const jh=(0,b.memo)((function(e){let{disabled:n,initialValue:l,enableValidation:a,setFocus:t,onChange:i}=e;const[r,s]=(0,b.useState)(!1),o=(0,b.useCallback)((e=>{a&&s(!(0,x.UV)(e))}),[a]),d=(0,b.useCallback)(((e,n,l)=>{"reset"!==l&&(o(n),i(null!==n&&void 0!==n?n:void 0))}),[o,i]),u=(0,b.useCallback)(((e,n,l)=>{"selectOption"===l&&(o(null!==n&&void 0!==n?n:""),i(null!==n&&void 0!==n?n:void 0))}),[o,i]);return(0,b.useLayoutEffect)((()=>{o(null!==l&&void 0!==l?l:"")}),[l,o]),(0,j.jsx)(ch.A,{freeSolo:!0,disabled:n,clearIcon:(0,j.jsx)(f.US,{}),options:mh,value:l,renderInput:e=>(0,j.jsx)(uh.A,{error:a&&r,placeholder:"Name",spellCheck:!1,autoComplete:"off",autoFocus:t,...e}),onInputChange:d,onChange:u})})),Kh=(0,b.memo)((function(){const e=(0,o.mTp)();return(0,j.jsx)(C.Ow,{children:(0,j.jsx)(wn.t,{children:(0,j.jsx)(b.Suspense,{fallback:(0,j.jsx)(jn,{}),children:(0,j.jsx)(Ch,{})})},"env_view_error"+e)})})),Ch=(0,b.memo)((function(){const{environmentId:e,environmentVariables:n,loading:l}=(0,o.liY)(),a=(0,o.NvJ)(),[t,i]=(0,b.useState)(Lh(n)),r=(0,b.useCallback)((async()=>{if(e){const n=await(0,jl.djd)(e);if(n){const e=[...n.variables.map((e=>({...e,setFocusOn:void 0}))),{id:(0,x.W0)(),name:"",value:"",enabled:!0,isSecret:!1,setFocusOn:"key"}];await a(e),i(e)}}}),[e,i,a]);return(0,b.useLayoutEffect)((()=>{i(Lh(n))}),[n,i]),(0,j.jsxs)(C.wn,{children:[(0,j.jsxs)(C.v1,{spacing:"right",children:[(0,j.jsx)(C.w,{children:"Variables"}),(0,j.jsx)(C.jB,{}),(0,j.jsx)(X.Si,{tooltip:"New Variable",endIcon:(0,j.jsx)(f.RE,{}),disabled:!e,onClick:r,children:"New"})]}),(0,j.jsx)(C.Y2,{}),(0,j.jsx)(C.gN,{children:l?(0,j.jsx)(jn,{}):(0,j.jsx)(Pl.Z,{children:e=>(0,j.jsx)("div",{style:e,children:(0,j.jsx)(ph,{variables:t,onChange:a})})})})]})}));function Lh(e){return(null!==e&&void 0!==e?e:[]).map((e=>({...e})))}var Ah,Th,Ih,wh,Dh,Nh,Rh,Eh;function Vh(){const e=(0,b.useRef)(null),n=(0,b.useRef)(null),l=(0,b.useRef)(null),a=(0,b.useRef)(null);return(0,L.wY)(e,(e=>{let[t]=e;if(n.current&&l.current&&a.current){if(t.contentRect.width<370)return n.current.style.display="none",l.current.style.display="none",void(a.current.style.display="none");if(t.contentRect.height<390)return n.current.style.display="none",l.current.style.display="none",void(a.current.style.display="none");if(t.contentRect.height<450)return n.current.style.display="flex",l.current.style.display="none",void(a.current.style.display="none");if(t.contentRect.height<560)return n.current.style.display="flex",l.current.style.display="flex",void(a.current.style.display="none");n.current.style.display="flex",l.current.style.display="flex",a.current.style.display="flex"}})),(0,j.jsxs)(_h,{ref:e,children:[(0,j.jsx)(Mh,{}),(0,j.jsx)(Bh,{moreActionsRef:l}),(0,j.jsx)(Ph,{innerRef:a})]})}function Ph(e){let{innerRef:n}=e;return(0,j.jsxs)(Gh,{ref:n,children:[(0,j.jsxs)(zh,{children:[(0,j.jsx)(Hh,{children:"Open New Tab"}),(0,j.jsx)(Oh,{shortcut:o.bab.newDocument})]}),(0,j.jsxs)(zh,{children:[(0,j.jsx)(Hh,{children:"Save Current Tab"}),(0,j.jsx)(Oh,{shortcut:o.bab.saveTab})]}),(0,j.jsxs)(zh,{children:[(0,j.jsx)(Hh,{children:"Close Current Tab"}),(0,j.jsx)(Oh,{shortcut:o.bab.closeTab})]}),(0,j.jsxs)(zh,{children:[(0,j.jsx)(Hh,{children:"Run Current Operation"}),(0,j.jsx)(Oh,{shortcut:o.bab.toggleOperation})]})]})}function Oh(e){let{shortcut:n}=e;return(0,j.jsx)(j.Fragment,{children:n.toSymbols().map(((e,n)=>(0,j.jsx)(R,{$size:e.length,children:e},"shortcut-".concat(n))))})}const _h=v.Ay.div(Ah||(Ah=(0,h.A)(["display:flex;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:center;padding:20px 0;"]))),Mh=(0,v.Ay)(rl)(Th||(Th=(0,h.A)(["width:auto;max-width:200px;margin:20px;> *{fill:",";}feFlood{flood-color:",";}"])),F.lt.base.logo,F.lt.base.logoShadow),Gh=v.Ay.ul(Ih||(Ih=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:240px;"]))),zh=v.Ay.li(wh||(wh=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;width:100%;padding:6px 0;color:",";"])),F.lt.base.text),Hh=v.Ay.div(Dh||(Dh=(0,h.A)(["display:flex;flex:1 1 auto;align-items:center;margin:0 2px;"])));function Bh(e){let{moreActionsRef:n}=e;const l=(0,o.SHo)(),a=(0,o.UXI)();return(0,o.wkm)(o.bab.newDocument,(()=>{l()}),void 0,[l]),(0,o.wkm)(o.bab.newDocumentFromClipboard,(()=>{a()}),void 0,[a]),(0,j.jsxs)(Qh,{children:[(0,j.jsx)(X.Si,{color:"primary",size:"medium",className:"create",tooltip:(0,o.WIA)(o.bab.newDocument,"Create Document"),onClick:()=>{l()},children:"Create Document"}),(0,j.jsxs)($h,{ref:n,children:[(0,j.jsx)(Uh,{children:"/"}),(0,j.jsx)(ee.A,{color:"primary",size:"medium",onClick:()=>{l("schema")},children:"Browse Schema"})]})]})}const Qh=v.Ay.div(Nh||(Nh=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:center;margin-bottom:20px;max-width:350px;width:100%;& > button{margin:0 8px;}"]))),$h=v.Ay.div(Rh||(Rh=(0,h.A)(["display:flex;flex:0 0 auto;flex-direction:row;align-items:center;& > *{margin:0 8px;}"]))),Uh=v.Ay.span(Eh||(Eh=(0,h.A)(["font-size:1.167rem;color:",";"])),F.lt.components.fieldText);var Wh,qh,Yh,Jh,Xh,Zh,ef,nf=l(42599);function lf(){const{Menu:e,MenuItem:n,closeMenu:l,toggleMenu:a,status$:t}=(0,L.b)(),i=(0,o.WAs)(),[r]=(0,o.B7v)(),s=(0,L.CH)(),d=(0,o.PPk)(),u=(0,o.GZp)(),c=(0,o.UXI)(),g=(0,b.useCallback)((()=>{d(),l()}),[l,d]),m=(0,b.useCallback)((()=>{u(),l()}),[l,u]),p=(0,b.useCallback)((async()=>{l(),await c()}),[l,c]);return(0,b.useEffect)((()=>t.subscribe(s)),[t,s]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(X.pG,{disabled:!i&&!r,tooltip:t.value()?void 0:"More Actions",onClick:a,children:(0,j.jsx)(f.QU,{})}),i?(0,j.jsxs)(e,{children:[(0,j.jsx)(n,{onClick:g,children:"New API"}),(0,j.jsx)(n,{onClick:m,children:"New Environment"}),(0,j.jsx)(nf.bX,{}),(0,j.jsx)(n,{disabled:!r,onClick:p,children:"New Document from Clipboard"})]}):(0,j.jsx)(e,{children:(0,j.jsx)(n,{onClick:p,children:"New Document from Clipboard"})})]})}const af=v.Ay.div(Wh||(Wh=(0,h.A)(["display:flex;flex:0 0 30px;align-items:center;justify-content:center;& > .icon{transition:fill 0.2s ease;}"]))),tf=v.Ay.button(qh||(qh=(0,h.A)(["flex:0 2 auto;width:16px;height:16px;margin:7px;border-radius:4px;transition:background-color 0.2s ease;& > .icon{transition:fill 0.2s ease;}"]))),rf=v.Ay.div(Yh||(Yh=(0,h.A)(["display:flex;flex:0 2 200px;flex-direction:row;align-items:center;justify-content:flex-start;margin:0 2px;border-style:solid;border-width:1px 1px 0 1px;border-color:",";border-radius:6px 6px 0 0;height:35px;font-weight:",";font-style:",";white-space:nowrap;color:",";background-color:",";cursor:pointer;transition:background-color 0.2s ease,border-color 0.2s ease,color 0.2s ease,flex 0.2s ease;&.droppable{border-color:",";background-color:",";color:",";}&.active{flex-shrink:1;justify-content:flex-end;min-width:80px;border-color:",";background-color:",";color:",";&.droppable{border-color:",";background-color:",";color:",";}& > ","{flex:0 0 auto;background-color:",";& > .icon{fill:",";}&:hover{background-color:",";& > .icon{fill:",";}}}"," > .icon{fill:",";}&:hover{border-color:",";background-color:",";color:",";"," > .icon{fill:",";}& > ","{& > .icon{fill:",";}}}}&:hover{border-color:",";background-color:",";color:",";"," > .icon{fill:",";}& > ","{& > .icon{fill:",";}}}& > ","{background-color:",";& > .icon{fill:",";}& > .changes{display:",";font-size:0.667rem;margin-bottom:1px;}& > .close{display:",";}&:hover{background-color:",";& > .icon{fill:",";}& > .changes{display:none;}& > .close{display:inline-block;}}}","{& > .icon{fill:",";}}"])),F.lt.base.tabBorder,(e=>{let{$isNew:n}=e;return n?"600":"normal"}),(e=>{let{$isPreview:n}=e;return n?"italic":"normal"}),F.lt.base.tabText,F.lt.base.tab,F.lt.base.tabHighlightedBorder,F.lt.base.tabHighlighted,F.lt.base.tabHighlightedText,F.lt.base.tabActiveBorder,F.lt.base.tabActive,F.lt.base.tabActiveText,F.lt.base.tabHighlightedBorder,F.lt.base.tabHighlighted,F.lt.base.tabHighlightedText,tf,F.lt.components.buttonIcon,F.lt.components.buttonIconText,F.lt.components.buttonIconHover,F.lt.components.buttonIconHoverText,af,F.lt.base.tabActiveText,F.lt.base.tabActiveHoverBorder,F.lt.base.tabActiveHover,F.lt.base.tabActiveHoverText,af,F.lt.base.tabActiveHoverText,tf,F.lt.base.tabActiveHoverText,F.lt.base.tabHoverBorder,F.lt.base.tabHover,F.lt.base.tabHoverText,af,F.lt.base.tabHoverText,tf,F.lt.base.tabHoverText,tf,F.lt.components.buttonIcon,F.lt.components.buttonIconText,(e=>{let{$hasChanges:n}=e;return n?"inline-block":"none"}),(e=>{let{$hasChanges:n}=e;return n?"none":"inline-block"}),F.lt.components.buttonIconHover,F.lt.components.buttonIconHoverText,af,F.lt.base.tabText),sf=v.Ay.div(Jh||(Jh=(0,h.A)(["flex:1 1 auto;"])));function of(e){let{id:n,name:l,showTooltip:a,children:t}=e;return a?(0,j.jsx)(A.A,{disableInteractive:!0,PopperProps:{style:{width:"220px"}},placement:"bottom",enterDelay:900,title:(0,j.jsxs)(uf,{children:[(0,j.jsx)(cf,{children:l}),(0,j.jsx)(df,{id:n})]}),children:t}):t}function df(e){let{id:n}=e;const l=(0,o.u$U)((0,o.XPt)(n));return l.length?(0,j.jsx)(gf,{children:l}):null}const uf=v.Ay.div(Xh||(Xh=(0,h.A)(["display:flex;flex-direction:column;"]))),cf=v.Ay.h1(Zh||(Zh=(0,h.A)(["margin:6px 2px;font-size:1.25rem;font-weight:500;line-height:1.5rem;color:",";"])),F.lt.base.heading),gf=v.Ay.h2(ef||(ef=(0,h.A)(["margin:0 2px 6px;font-size:1.167rem;font-weight:normal;line-height:1.5rem;color:",";"])),F.lt.base.heading),mf=(0,b.memo)((function(e){let{id:n,isActive:l,isPreview:a,showTooltip:t,dragAndDropContext:i,onClick:r,onContextMenu:s,onClose:d}=e;const u=(0,o.VhH)(n),{droppable:c,dragEventHandlers:g}=(0,L.ny)(u,i),m=(0,b.useCallback)((e=>{r(e,{id:n,openIfInPreviewMode:!1})}),[n,r]),p=(0,b.useCallback)((e=>{r(e,{id:n,openIfInPreviewMode:!0})}),[n,r]),y=(0,b.useCallback)((e=>{e.stopPropagation(),e.currentTarget.blur(),d(e,{id:n})}),[n,d]),h=(0,b.useCallback)((e=>{s&&s(e,n)}),[n,s]),k=(0,b.useCallback)((e=>{e.preventDefault(),e.stopPropagation()}),[]);if(!(0,jl.o6j)(u))return null;const{name:x,hasChanges:v,isNew:F,apiKind:S}=u;return(0,j.jsx)(of,{id:n,name:x,showTooltip:t,children:(0,j.jsxs)(rf,{draggable:!0,$hasChanges:v,$isNew:F,$isPreview:a,className:Mr()({active:l,droppable:c}),onClick:m,onContextMenu:h,onDoubleClick:p,...g,children:[(0,j.jsx)(af,{children:pf(S)}),(0,j.jsx)(sf,{children:x}),(0,j.jsxs)(tf,{onClick:y,onContextMenu:k,children:[(0,j.jsx)(f.US,{className:"close"}),(0,j.jsx)(f.bz,{className:"changes",inheritColor:!0})]})]})})}));function pf(e){switch(e){case jl.xi2.Gateway:return(0,j.jsx)(f.Sv,{});case jl.xi2.Service:return(0,j.jsx)(f.jc,{});default:return(0,j.jsx)(f.mb,{})}}const yf=(0,b.memo)((function(e){let{id:n,isActive:l,isPreview:a,showTooltip:t,dragAndDropContext:i,onClick:r,onContextMenu:s,onClose:d}=e;const u=(0,o.VhH)(n),c=(0,o.Hpx)(),{droppable:g,dragEventHandlers:m}=(0,L.ny)(u,i),p=(0,b.useCallback)((e=>{r(e,{id:n,openIfInPreviewMode:!1})}),[n,r]),y=(0,b.useCallback)((e=>{r(e,{id:n,openIfInPreviewMode:!0})}),[n,r]),h=(0,b.useCallback)((e=>{e.stopPropagation(),e.currentTarget.blur(),d(e,{id:n})}),[n,d]),k=(0,b.useCallback)((e=>{s&&s(e,n)}),[n,s]),x=(0,b.useCallback)((e=>{e.preventDefault(),e.stopPropagation()}),[]);if(!(0,jl.NlI)(u))return null;const{name:v,hasChanges:F,isNew:S}=u;return(0,j.jsx)(of,{id:n,name:v,showTooltip:t,children:(0,j.jsxs)(rf,{draggable:!0,$hasChanges:F,$isNew:S,$isPreview:a,className:Mr()({active:l,droppable:g}),onClick:p,onContextMenu:k,onDoubleClick:y,...m,children:[(0,j.jsx)(af,{children:hf(u,c)}),(0,j.jsx)(sf,{children:v}),(0,j.jsxs)(tf,{onClick:h,onContextMenu:x,children:[(0,j.jsx)(f.US,{className:"close"}),(0,j.jsx)(f.bz,{className:"changes",inheritColor:!0})]})]})})}));function hf(e,n){return n[e.id]?(0,j.jsx)(Xa.y,{colorSelector:e=>e.states.surprise}):e.isHistory?(0,j.jsx)(f.os,{}):(0,j.jsx)(f.py,{})}const ff=(0,b.memo)((function(e){let{id:n,isActive:l,isPreview:a,showTooltip:t,dragAndDropContext:i,onClick:r,onContextMenu:s,onClose:d}=e;const u=(0,o.VhH)(n),{droppable:c,dragEventHandlers:g}=(0,L.ny)(u,i),m=(0,b.useCallback)((e=>{r(e,{id:n,openIfInPreviewMode:!1})}),[n,r]),p=(0,b.useCallback)((e=>{r(e,{id:n,openIfInPreviewMode:!0})}),[n,r]),y=(0,b.useCallback)((e=>{e.stopPropagation(),e.currentTarget.blur(),d(e,{id:n})}),[n,d]),h=(0,b.useCallback)((e=>{s&&s(e,n)}),[n,s]),k=(0,b.useCallback)((e=>{e.preventDefault(),e.stopPropagation()}),[]);if(!(0,jl.XNu)(u))return null;const{name:x,hasChanges:v,isNew:F}=u;return(0,j.jsx)(of,{id:n,name:x,showTooltip:t,children:(0,j.jsxs)(rf,{draggable:!0,$hasChanges:v,$isNew:F,$isPreview:a,className:Mr()({active:l,droppable:c}),onClick:m,onContextMenu:h,onDoubleClick:p,...g,children:[(0,j.jsx)(af,{children:(0,j.jsx)(f.bw,{})}),(0,j.jsx)(sf,{children:x}),(0,j.jsxs)(tf,{onClick:y,onContextMenu:k,children:[(0,j.jsx)(f.US,{className:"close"}),(0,j.jsx)(f.bz,{className:"changes",inheritColor:!0})]})]})})}));function kf(){const{Menu:e,MenuItem:n,MenuSeparator:l,openMenu:a,closeMenu:t,status$:i}=(0,L.EF)(),r=(0,b.useRef)(),s=(0,b.useCallback)((function(){const a=(0,o.WAs)(),i=(0,o.EN5)(),s=(0,o.HoC)(),d=(0,o.AjF)(),u=na(),c=Ul(),g=Jl(),m=(0,o.Q35)(),p=(0,o.wRs)(),y=(0,o.JBV)(),h=e=>()=>{r.current&&(t(),(async e=>{for(const n of e){const e=s(n);if(null!==e&&void 0!==e&&e.hasChanges){if(!await new Promise((n=>{u({id:e.id,kind:e.kind,name:e.name,isNew:e.isNew,closeTabAfterCreation:!0},n)})))break}else d(n)}})(e(r.current)))},f=h((e=>[e])),k=h((e=>y.filter((n=>n!==e)))),x=h((e=>y.slice(y.findIndex((n=>n===e))+1))),b=h((()=>y)),v=(e,n)=>()=>{r.current&&(t(),(async(e,n)=>{if(i&&a)for(const l of e){const e=s(l);if(e&&(e.hasChanges||e.isNew||(0,jl.NlI)(e)&&e.isHistory||n))if((0,jl.NlI)(e)&&(e.isNew||e.isHistory)||(0,jl.XNu)(e)&&e.isNew){if(!await new Promise((n=>{switch(e.kind){case"document":c({workspaceId:a,documentId:e.id,documentName:e.name,closeTabAfterCreation:!1},n);break;case"environment":g({workspaceId:a,environmentId:e.id,environmentName:e.name,closeTabAfterCreation:!1},n);break;default:n(!0)}})))break}else p(e.id)}})(e(r.current),n))},F=v((e=>[e]),!0),S=v((()=>y),!1);return(0,j.jsxs)(e,{children:[(0,j.jsx)(n,{shortcut:o.bab.closeTab,onClick:f,children:"Close"}),(0,j.jsx)(n,{disabled:y.length<2,onClick:k,children:"Close Others"}),(0,j.jsx)(n,{disabled:y.at(-1)===r.current,onClick:x,children:"Close to the Right"}),(0,j.jsx)(n,{onClick:b,children:"Close All"}),(0,j.jsx)(l,{}),(0,j.jsx)(n,{onClick:()=>{r.current&&(t(),m(r.current))},children:"Duplicate"}),(0,j.jsx)(l,{}),(0,j.jsx)(n,{shortcut:o.bab.saveTab,disabled:!i,onClick:F,children:"Save"}),(0,j.jsx)(n,{shortcut:o.bab.saveAllTabs,disabled:!i,onClick:S,children:"Save All"})]})}),[e,n,l,t]),d=(0,b.useCallback)(((e,n)=>{r.current=n,a(e)}),[a]);return[s,d,i]}var xf;function bf(){const[e,n,l]=kf(),a=(0,o.cfp)(),t=(0,o.KlF)(),i=(0,o.E4V)(),r=(0,o.ohr)(),s=(0,o.EN5)(),d=(0,o.l_p)(),u=(0,o.WAs)(),c=function(){const e=(0,o.wJg)(),n=(0,b.useCallback)(((n,l)=>{n instanceof FileList||l&&e(n.id,l.id)}),[e]);return(0,L.XR)(vf,n)}(),g=(0,o.K46)(),m=(0,o.SHo)(),p=(0,o.UXI)(),y=(0,o.TZL)(),h=(0,o.AjF)(),k=(0,o.wRs)(),v=zl(),F=Ul(),S=Jl(),K=na(),C=(0,o.HoC)(),A=(0,L.CH)(),T=(0,L.Ku)(),I=(0,b.useCallback)(((e,n)=>{let{id:l,openIfInPreviewMode:a}=n;g(l,a),T()}),[g,T]),w=n,D=(0,b.useCallback)(((e,n)=>{let{id:l}=n;e.preventDefault(),e.stopPropagation();const a=C(l);null!==a&&void 0!==a&&a.hasChanges?K({id:a.id,kind:a.kind,name:a.name,isNew:a.isNew,closeTabAfterCreation:!0}):h(l)}),[C,K,h]),N=(0,b.useCallback)((()=>{m()}),[m]),R=(0,b.useCallback)((async e=>{if(s&&u)for(const n of e){const e=C(n);if((0,jl.o6j)(e)&&e.isNew||(0,jl.NlI)(e)&&(e.isNew||e.isHistory)||(0,jl.XNu)(e)&&e.isNew){if(!await new Promise((n=>{switch(e.kind){case"api":v({workspaceId:u,apiId:e.id,apiName:e.name,closeTabAfterCreation:!1},n);break;case"document":F({workspaceId:u,documentId:e.id,documentName:e.name,closeTabAfterCreation:!1},n);break;case"environment":S({workspaceId:u,environmentId:e.id,environmentName:e.name,closeTabAfterCreation:!1},n);break;default:n(!0)}})))break}else null!==e&&void 0!==e&&e.hasChanges&&k(e.id)}}),[s,u,v,F,S,k,C]),E=(0,b.useCallback)((()=>{a&&R([a])}),[a,R]),V=(0,b.useCallback)((()=>{R(d.map((e=>{let{id:n}=e;return n})))}),[d,R]);return(0,o.wkm)(o.bab.newDocument,(()=>{m()}),void 0,[m]),(0,o.wkm)(o.bab.newDocumentFromClipboard,(()=>{p()}),void 0,[p]),(0,o.wkm)(o.bab.copyDocumentToClipboard,(()=>{y()}),void 0,[y]),(0,o.wkm)(o.bab.closeTab,(()=>{a&&h(a)}),void 0,[a,h]),(0,o.wkm)(o.bab.saveTab,E,void 0,[E]),(0,o.wkm)(o.bab.saveAllTabs,V,void 0,[V]),(0,b.useEffect)((()=>l.subscribe(A)),[l,A]),(0,j.jsxs)(Ff,{children:[d.map((e=>{let{id:n,kind:i}=e;switch(i){case jl.epG:return(0,j.jsx)(mf,{id:n,dragAndDropContext:c,isActive:n===a,isPreview:n===t,showTooltip:!l.value(),onClick:I,onContextMenu:w,onClose:D},n);case jl.D6J:return(0,j.jsx)(yf,{id:n,dragAndDropContext:c,isActive:n===a,isPreview:n===t,showTooltip:!l.value(),onClick:I,onContextMenu:w,onClose:D},n);case jl.v1J:return(0,j.jsx)(ff,{id:n,dragAndDropContext:c,isActive:n===a,isPreview:n===t,showTooltip:!l.value(),onClick:I,onContextMenu:w,onClose:D},n);default:return(0,x.dr)(i)}})),a&&(0,j.jsxs)(X.e2,{children:[(0,j.jsx)(X.pG,{tooltip:(0,o.WIA)(o.bab.newDocument,"New Document"),onClick:N,children:(0,j.jsx)(f.RE,{})}),(0,j.jsx)(X.pG,{disabled:!s||!(r||i),tooltip:(0,o.WIA)(o.bab.saveTab,"Save Tab"),onClick:E,children:(0,j.jsx)(f.cb,{})}),(0,j.jsx)(lf,{})]}),(0,j.jsx)(e,{}),(0,j.jsx)(Gl,{}),(0,j.jsx)($l,{}),(0,j.jsx)(Yl,{}),(0,j.jsx)(ea,{})]})}function vf(e,n){return e instanceof Array?null:function(e,n){if(void 0===n)return null;if(e.id===n.id)return null;return n}(e,n)}const Ff=v.Ay.div(xf||(xf=(0,h.A)(["z-index:1;display:flex;flex:1 1 auto;flex-direction:row;align-items:center;height:100%;"]))),Sf=(0,b.memo)((function(e){let{activeTabId:n}=e;const l=(0,o.oHY)(),a=(0,o.mTp)();return n&&l?(0,j.jsx)(C.hb,{children:(0,j.jsx)(wn.t,{children:(0,j.jsx)(o.qS5,{environmentId:l===jl.v1J?n:a,children:(0,j.jsx)(o.KEn,{children:(0,j.jsxs)(o.aR1,{children:[(0,j.jsx)(C.WA,{children:(0,j.jsx)(bf,{})}),(0,j.jsx)(wn.t,{wrapError:e=>(0,j.jsx)(C.Ow,{children:e}),children:(0,j.jsx)(jf,{tabId:n,tabKind:l})},"view_selection_error_"+n)]})})})},"main_section_error_"+n)}):(0,j.jsx)(C.Of,{children:(0,j.jsx)(Vh,{})})})),jf=(0,b.memo)((function(e){let{tabId:n,tabKind:l}=e;switch(l){case jl.epG:return(0,j.jsx)(Uy,{apiId:n});case jl.D6J:return(0,j.jsx)(lh,{documentId:n});case jl.v1J:return(0,j.jsx)(Kh,{});default:return(0,x.dr)(l)}}));function Kf(){const e=(0,o.uyD)(),n=(0,o.HDl)(),l=(0,o.KcR)(),a=(0,o.hMg)(),t=(0,o.d_6)(),i=(0,b.useCallback)((e=>{e?n():l()}),[n,l]);return(0,j.jsx)(Fn.YV,{id:"main",asideCollapsible:!0,asideCollapsed:a,asideWidth:t,asideMenu:(0,j.jsx)(cl,{}),mainPane:"right",leftContent:(0,j.jsx)(Tn,{}),rightContent:(0,j.jsx)(Cf,{}),onAsideWidthChange:e,onAsideCollapsedChange:i})}const Cf=(0,b.memo)((function(){const e=(0,o.cfp)();return function(){var e,n;const l=(0,o.Bpo)(),a=null!==(e=null===(n=(0,o.Lsh)())||void 0===n?void 0:n.title)&&void 0!==e?e:k.C3,t=(0,o.hBE)();(0,b.useLayoutEffect)((()=>{function e(e,n){document.title=[e,n,a].filter(Boolean).join(" - ")}e(l.value(),t.value());const n=l.subscribe((n=>{e(n,t.value())})),i=t.subscribe((n=>{e(l.value(),n)}));return()=>{n(),i()}}),[l,a,t])}(),(0,j.jsx)(Nn,{children:(0,j.jsx)(Sf,{activeTabId:e})})}));function Lf(){return(0,j.jsxs)(j.Fragment,{children:[!1,(0,j.jsx)(Kf,{}),(0,j.jsx)(ln,{}),(0,j.jsx)(p.j,{}),(0,j.jsx)(y.e,{}),(0,j.jsx)(m.s,{})]})}var Af,Tf,If=l(17119);function wf(e){let{children:n}=e;const l=(0,L.bE)(),a=(0,b.useCallback)((e=>e.preventDefault()),[]),t=(0,b.useCallback)((e=>{e.isDefaultPrevented()||(e.dataTransfer.dropEffect="none")}),[]);return zn(),(0,j.jsxs)(Df,{onContextMenu:a,onDragOver:t,children:[(0,j.jsx)(b.Suspense,{children:n}),(0,j.jsx)(Nf,{}),(0,If.createPortal)((0,j.jsx)(Vn.N9,{autoClose:k.k,closeOnClick:!1,position:"bottom-left",transition:Vn.br,closeButton:e=>{let{closeToast:n}=e;return(0,j.jsx)(X.pG,{onClick:n,children:(0,j.jsx)(f.US,{})})}}),l)]})}const Df=v.Ay.div(Af||(Af=(0,h.A)(["display:flex;flex:auto;flex-direction:column;background-color:",";"])),F.lt.base.background),Nf=(0,v.DU)(Tf||(Tf=(0,h.A)([".Toastify{.Toastify__toast{border:1px solid ",";box-shadow:0 3px 3px -2px ",",0 3px 4px 0 ",",0 1px 8px 0 ",";}.Toastify__toast-container--bottom-left{left:68px;bottom:16px;z-index:190;}.Toastify__toast-icon{align-self:flex-start;> .icon{width:20px;height:20px;}}.Toastify__toast-body{width:270px;}}"])),F.lt.components.toastBorder,F.lt.base.shadow,F.lt.base.shadow,F.lt.base.shadow);var Rf=l(99850),Ef=l(44582);class Vf extends b.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,n){Pf(e),console.error({error:e,errorInfo:n})}render(){return this.state.hasError?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Bf,{}),(0,j.jsx)(Of,{})]}):this.props.children}}function Pf(e){o.YAL.show({id:"root-error",context:{error:e}})}function Of(){var e;const n=(0,o.l$t)("root-error"),l=null===n||void 0===n||null===(e=n.item)||void 0===e?void 0:e.context.error;return l?(0,Ef.QP)(l)?(0,j.jsx)(Mf,{error:l}):(0,Ef.lz)(l)?(0,j.jsx)(_f,{error:l}):(0,j.jsx)(Gf,{error:l}):null}function _f(e){let{error:n}=e;const l=(0,b.useCallback)((async()=>{zf((()=>Pf(n)))}),[n]);return(0,j.jsxs)(T.lG,{id:"root-error",title:"Version Missmatch",closeOnEscape:!1,showConfirm:!0,confirmText:"Reset State",showCloseIcon:!1,onConfirm:l,children:[(0,j.jsxs)("p",{children:["You opened ",k.C3," an older version than before. The database does not match the version ",(0,j.jsx)("em",{children:k.mF}),"."]}),(0,j.jsxs)("p",{children:["To avoid this in the future you can also visit"," ",(0,j.jsxs)(S.G,{href:"https://nitro.chillicream.com",children:["nitro.chillicream.com ",(0,j.jsx)(f.pT,{})]})," ","or download the desktop app on"," ",(0,j.jsxs)(S.G,{href:"https://get-nitro.chillicream.com",children:["chillicream.com ",(0,j.jsx)(f.pT,{})]})]}),(0,j.jsxs)("p",{children:["Upgrade your ",k.C3," middleware or reset your local database."]})]})}function Mf(e){let{error:n}=e;const l=(0,b.useCallback)((async()=>{zf((()=>Pf(n)))}),[n]);return(0,j.jsxs)(T.lG,{id:"root-error",title:"Migration failed",closeOnEscape:!1,showConfirm:!0,confirmText:"Reset State",showCloseIcon:!1,onConfirm:l,children:[(0,j.jsxs)("p",{children:["The application could not migration from ",n.fromVersion," to version"," ",n.toVersion]}),(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"error-info",children:"Error Info:"}),(0,j.jsx)(Z.fs,{id:"error-info",readOnly:!0,rows:4,wrap:"off",value:n.migrationLog})]})]})}function Gf(e){let{error:n}=e;const l=(0,b.useCallback)((async()=>{window.location.reload()}),[]);return(0,j.jsxs)(T.lG,{id:"root-error",title:"Unexpected error",closeOnEscape:!1,showConfirm:!0,confirmText:"Reload",showCloseIcon:!1,onConfirm:l,children:[(0,j.jsx)("p",{children:"An unexpected error occurred. You can try to reload the page to see if the error can be resolved."}),(0,j.jsxs)(Z.YJ,{children:[(0,j.jsx)(Z.JU,{htmlFor:"error-info",children:"Error Info:"}),(0,j.jsx)(Z.fs,{id:"error-info",readOnly:!0,rows:4,wrap:"off",value:JSON.stringify({name:n.name,message:n.message,stack:n.stack},void 0,2)})]})]})}function zf(e){o.YAL.show({id:"reset-state",context:{onClose:e}})}function Hf(){(0,Rf.Hg)().then((()=>window.location.reload()))}function Bf(){const e=(0,o.l$t)("reset-state");return(0,j.jsx)(T.lG,{id:"reset-state",title:"Warning!",closeOnEscape:!1,showConfirm:!0,confirmText:"Reset State & Reload",showCancel:!0,onConfirm:Hf,onCancel:null===e||void 0===e?void 0:e.item.context.onClose,children:"You are about to reset all your application state. All your changes that are not synced to the server will be lost. You can log-in after the state reset and retrieve your data from the cloud."})}const Qf=function(){return(0,j.jsx)(Vf,{children:(0,j.jsx)(o.LDV,{children:(0,j.jsx)(wf,{children:(0,j.jsx)(o._MQ,{children:(0,j.jsx)(o.uXN,{children:(0,j.jsx)(o.A$3,{children:(0,j.jsx)(g.u,{children:(0,j.jsx)(o.XGi,{children:(0,j.jsx)(o.Hb$,{children:(0,j.jsx)(o.X$R,{children:(0,j.jsx)(o.CPc,{children:(0,j.jsx)(o.Z6g,{children:(0,j.jsx)(o.$Mu,{children:(0,j.jsx)(o.viK,{children:(0,j.jsx)(o.wlj,{children:(0,j.jsx)(o.FRJ,{children:(0,j.jsx)(o.fjX,{children:(0,j.jsx)(o.vnJ,{children:(0,j.jsx)(o.Z9k,{children:(0,j.jsx)(o._Oo,{children:(0,j.jsx)(o.r2V,{children:(0,j.jsx)(o.lH_,{children:(0,j.jsx)(o.tOJ,{children:(0,j.jsx)(o.PQZ,{children:(0,j.jsx)(o.f19,{children:(0,j.jsx)(o.jGt,{children:(0,j.jsx)(o.bZ_,{children:(0,j.jsx)(o.hrn,{children:(0,j.jsx)(d.$,{dateAdapter:u.R,children:(0,j.jsx)(c.G,{children:(0,j.jsx)(Lf,{})})})})})})})})})})})})})})})})})})})})})})})})})})})})})})})}}}]);