1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,742329,980891,503037,e=>{"use strict";var t,r=e.i(645022),i=e.i(428692),n=e.i(824627),s=e.i(269738),o=e.i(680685),a=e.i(408739).canUseDOM?s.useLayoutEffect:s.useEffect,u=e.i(465398),l=e.i(602064),c=e.i(808269);function d(){}var p=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"],h=["initialFetchPolicy","onCompleted","onError","defaultOptions","partialRefetch","canonizeResults"],m=["query","ssr","client","fetchPolicy","nextFetchPolicy","refetchWritePolicy","errorPolicy","pollInterval","notifyOnNetworkStatusChange","returnPartialData","skipPollAttempt"];e.s(["useLazyQuery",0,function(e,r){if(!1!==globalThis.__DEV__){var f,g=r||{};(0,u.useWarnRemovedOption)(g,"canonizeResults","useLazyQuery"),(0,u.useWarnRemovedOption)(g,"variables","useLazyQuery","Pass all `variables` to the returned `execute` function instead."),(0,u.useWarnRemovedOption)(g,"context","useLazyQuery","Pass `context` to the returned `execute` function instead."),(0,u.useWarnRemovedOption)(g,"onCompleted","useLazyQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),(0,u.useWarnRemovedOption)(g,"onError","useLazyQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."),(0,u.useWarnRemovedOption)(g,"defaultOptions","useLazyQuery","Pass the options directly to the hook instead."),(0,u.useWarnRemovedOption)(g,"initialFetchPolicy","useLazyQuery","Use the `fetchPolicy` option instead."),(0,u.useWarnRemovedOption)(g,"partialRefetch","useLazyQuery")}var y=s.useRef(void 0),v=s.useRef(void 0),E=s.useRef(void 0),I=(0,o.mergeOptions)(r,y.current||{}),T=null!=(f=null==I?void 0:I.query)?f:e;v.current=r,E.current=T;var k=(0,n.__assign)((0,n.__assign)({},I),{skip:!y.current}),_=(0,i.useQueryInternals)(T,k),b=_.obsQueryFields,N=_.result,A=_.client,D=_.resultData,C=_.observable,x=_.onQueryExecuted,O=C.options.initialFetchPolicy||(0,i.getDefaultFetchPolicy)(k.defaultOptions,A.defaultOptions),S=s.useReducer(function(e){return e+1},0)[1],R=s.useMemo(function(){for(var e={},t=function(t){var r=b[t];e[t]=function(){return!1!==globalThis.__DEV__&&"reobserve"===t&&!1!==globalThis.__DEV__&&l.invariant.warn(79),y.current||(y.current=Object.create(null),S()),r.apply(this,arguments)}},r=0;r<p.length;r++)t(p[r]);return e},[S,b]),w=!!y.current,P=s.useMemo(function(){return(0,n.__assign)((0,n.__assign)((0,n.__assign)({},N),R),{called:w})},[N,R,w]),L=(t||(t=s.createContext(null)),s.useCallback(function(){var e=console.error;try{return console.error=d,s.useContext(t),!0}catch(e){return!1}finally{console.error=e}},[])),F=s.useRef(new Set),M=s.useCallback(function(e){if(!1!==globalThis.__DEV__){L()&&!1!==globalThis.__DEV__&&l.invariant.warn(80);for(var t,r,s,a,u,d,p,f,g,I=0;I<h.length;I++){var k=h[I];F.current.has(k)||((0,c.warnRemovedOption)(e||{},k,"useLazyQuery.execute"),F.current.add(k))}for(var _=0;_<m.length;_++){var b=m[_];F.current.has(b)||((0,c.warnRemovedOption)(e||{},b,"useLazyQuery.execute","Please pass the option to the `useLazyQuery` hook instead."),F.current.add(b))}}y.current=e?(0,n.__assign)((0,n.__assign)({},e),{fetchPolicy:e.fetchPolicy||O}):{fetchPolicy:O};var N=(0,o.mergeOptions)(v.current,(0,n.__assign)({query:E.current},y.current)),S=(t=D,r=C,s=A,a=T,u=(0,n.__assign)((0,n.__assign)({},N),{skip:!1}),d=x,p=u.query||a,f=(0,i.createMakeWatchQueryOptions)(s,p,u,!1)(r),g=r.reobserveAsConcast((0,i.getObsQueryOptions)(r,s,u,f)),d(f),new Promise(function(e){var n;g.subscribe({next:function(e){n=e},error:function(){e((0,i.toQueryResult)(r.getCurrentResult(),t.previousData,r,s))},complete:function(){e((0,i.toQueryResult)(r.maskResult(n),t.previousData,r,s))}})})).then(function(e){return Object.assign(e,R)});return S.catch(function(){}),S},[L,A,T,R,O,C,D,x]),U=s.useRef(M);return a(function(){U.current=M}),[s.useCallback(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return U.current.apply(U,e)},[]),P]}],980891);var f=e.i(240957),g=e.i(465807),y=e.i(377504),v=e.i(288364);function E(e,t){!1!==globalThis.__DEV__&&(0,u.useWarnRemovedOption)(t||{},"ignoreResults","useMutation","If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");var r=(0,v.useApolloClient)(null==t?void 0:t.client);(0,g.verifyDocumentType)(e,g.DocumentType.Mutation);var i=s.useState({called:!1,loading:!1,client:r}),l=i[0],c=i[1],d=s.useRef({result:l,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});a(function(){Object.assign(d.current,{client:r,options:t,mutation:e})});var p=s.useCallback(function(e){void 0===e&&(e={});var t=d.current,r=t.options,i=t.mutation,s=(0,n.__assign)((0,n.__assign)({},r),{mutation:i}),a=e.client||d.current.client;d.current.result.loading||s.ignoreResults||!d.current.isMounted||c(d.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:a});var u=++d.current.mutationId,l=(0,o.mergeOptions)(s,e);return a.mutate(l).then(function(t){var r,i,n=t.data,s=t.errors,o=s&&s.length>0?new y.ApolloError({graphQLErrors:s}
1):void 0,p=e.onError||(null==(r=d.current.options)?void 0:r.onError);if(o&&p&&p(o,l),u===d.current.mutationId&&!l.ignoreResults){var h={called:!0,loading:!1,data:n,error:o,client:a};d.current.isMounted&&!(0,f.equal)(d.current.result,h)&&c(d.current.result=h)}var m=e.onCompleted||(null==(i=d.current.options)?void 0:i.onCompleted);return o||null==m||m(t.data,l),t},function(t){if(u===d.current.mutationId&&d.current.isMounted){var r,i={loading:!1,error:t,data:void 0,called:!0,client:a};(0,f.equal)(d.current.result,i)||c(d.current.result=i)}var n=e.onError||(null==(r=d.current.options)?void 0:r.onError);if(n)return n(t,l),{data:void 0,errors:t};throw t})},[]),h=s.useCallback(function(){if(d.current.isMounted){var e={called:!1,loading:!1,client:d.current.client};Object.assign(d.current,{mutationId:0,result:e}),c(e)}},[]);return s.useEffect(function(){var e=d.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[p,(0,n.__assign)({reset:h},l)]}e.s(["useMutation",0,E],503037),e.i(643882),e.i(610499),e.i(836998);let I={},T=r.gql` 2 fragment PublicAgentTaskFields on PublicAgentTask { 3 id 4 configId 5 status 6 messages { 7 id 8 role 9 parts 10 metadata 11 createdAt 12 } 13 outputs { 14 id 15 generationId 16 kind 17 previewUrl 18 width 19 height 20 durationMs 21 } 22 creditsUsed 23 followUpsRemaining 24 errorCode 25 updatedAt 26} 27 `;r.gql` 28 query SearchWorkspaceItems($input: SearchWorkspaceItemsInput) { 29 searchWorkspaceItems(input: $input) { 30 workspaceItems { 31 id 32 title 33 caption 34 mediaVariants { 35 url 36 variant 37 } 38 createdAt 39 } 40 } 41} 42 `,r.gql` 43 query WorkspaceItem($input: WorkspaceItemInput!) { 44 workspaceItem(input: $input) { 45 id 46 openCount 47 title 48 caption 49 createdAt 50 tags { 51 description 52 isManualTag 53 score 54 tagId 55 id 56 } 57 aspectRatio 58 mediaVariants { 59 dimensions { 60 height 61 width 62 } 63 url 64 variant 65 } 66 aiProperties { 67 prompt 68 mediaReferences { 69 url 70 mediaType 71 } 72 studio { 73 id 74 name 75 chipColor 76 thumbnails { 77 url 78 } 79 } 80 customModels { 81 id 82 modelName 83 modelType 84 thumbUrl 85 } 86 } 87 } 88} 89 `,r.gql` 90 query SimilarWorkspaceItems($input: SimilarWorkspaceItemsInput!) { 91 similarWorkspaceItems(input: $input) { 92 similarItems { 93 id 94 title 95 caption 96 mediaVariants { 97 url 98 variant 99 } 100 createdAt 101 } 102 } 103} 104 `,r.gql` 105 query DiscoverExploreCategories($previewConfig: DiscoverConfigInput) { 106 discoverExploreCategories(input: {previewConfig: $previewConfig}) { 107 categories { 108 id 109 type 110 title 111 } 112 } 113} 114 `,r.gql` 115 query DiscoverExploreCategoryItems($categoryId: String!, $first: Int, $cursor: String, $previewConfig: DiscoverConfigInput, $randomizeItems: Boolean) { 116 discoverExploreCategoryItems( 117 input: {categoryId: $categoryId, first: $first, cursor: $cursor, previewConfig: $previewConfig, randomizeItems: $randomizeItems} 118 ) { 119 items { 120 id 121 caption 122 aspectRatio 123 mediaType 124 mediaVariants { 125 url 126 variant 127 type 128 dimensions { 129 width 130 height 131 } 132 } 133 aiProperties { 134 prompt 135 imageGenerationId 136 studio { 137 id 138 name 139 chipColor 140 thumbnails { 141 url 142 } 143 } 144 customModels { 145 id 146 modelName 147 modelType 148 thumbUrl 149 category 150 subcategory 151 } 152 } 153 } 154 pageInfo { 155 nextCursor 156 } 157 } 158} 159 `,r.gql` 160 query DiscoverExploreSections($previewConfig: DiscoverConfigInput, $randomizeItems: Boolean) { 161 discoverExploreSections( 162 input: {previewConfig: $previewConfig, randomizeItems: $randomizeItems} 163 ) { 164 sections { 165 id 166 title 167 tags { 168 id 169 title 170 type 171 sampleItems { 172 id 173 mediaType 174 mediaVariants { 175 url 176 variant 177 type 178 } 179 } 180 } 181 items { 182 id 183 caption 184 aspectRatio 185 mediaType 186 mediaVariants { 187 url 188 variant 189 type 190 dimensions { 191 width 192 height 193 } 194 } 195 aiProperties { 196 prompt 197 imageGenerationId 198 studio { 199 id 200 name 201 chipColor 202 thumbnails { 203 url 204 } 205 } 206 customModels { 207 modelName 208 thumbUrl 209 } 210 } 211 } 212 } 213 } 214} 215 `,r.gql` 216 query DiscoverExploreItemsByStudio($studioId: String!, $first: Int, $cursor: String) { 217 discoverExploreItemsByStudio( 218 input: {studioId: $studioId, first: $first, cursor: $cursor} 219 ) { 220 studio { 221 id 222 name 223 shortDescription 224 longDescription 225 thumbnails { 226 url 227 } 228 } 229 similarStudios { 230 id 231 name 232 shortDescription 233 thumbnails { 234 url 235 } 236 } 237 items { 238 id 239 caption 240 aspectRatio 241 mediaType 242 mediaVariants { 243 url 244 variant 245 type 246 dimensions { 247 width 248 height 249 } 250 } 251 aiProperties { 252 prompt 253 imageGenerationId 254 studio { 255 id 256 name 257 } 258 } 259 } 260 pageInfo { 261 nextCursor 262 } 263 } 264} 265 `;let k=r.gql` 266 query DiscoverExploreItemsByStudioBlock($studioBlockId: String!, $first: Int, $cursor: String) { 267 discoverExploreItemsByStudioBlock( 268 input: {studioBlockId: $studioBlockId, first: $first, cursor: $cursor} 269 ) { 270 studioBlock { 271 id 272 name 273 thumbnails { 274 url 275 } 276 } 277 items { 278 id 279 caption 280 aspectRatio 281 mediaType 282 mediaVariants { 283 url 284 variant 285 type 286 dimensions { 287 width 288 height 289 } 290 } 291 aiProperties { 292 prompt 293 imageGenerationId 294 studio { 295 id 296 name 297 } 298 } 299 } 300 pageInfo { 301 nextCursor 302 } 303 } 304} 305 `;r.gql` 306 query DiscoverVideoPreset($videoPresetId: String!) { 307 videoPreset(input: {videoPresetId: $videoPresetId}) { 308 id 309 title 310 poster 311 url 312 templates { 313 poster 314 url 315 sourcePrompt 316 } 317 } 318} 319 `,r.gql` 320 query DiscoverItemDetail($itemId: String!) { 321 workspaceItem(input: {workspaceItemId: $itemId}) { 322 id 323 title 324 caption 325 aspectRatio 326 mediaType 327 createdAt 328 mediaVariants { 329 url 330 variant 331 type 332 dimensions { 333 width 334 height 335 } 336 } 337 aiProperties { 338 prompt 339 imageGenerationId 340 mediaReferences { 341 url 342 mediaType 343 } 344 studio { 345 id 346 name 347 chipColor 348 thumbnails { 349 url 350 } 351 } 352 customModels { 353 id 354 modelName 355 modelType 356 thumbUrl 357 category 358 subcategory 359 } 360 } 361 createdBy { 362 handle 363 displayName 364 } 365 infoTags 366 } 367} 368 `;let _=r.gql` 369 query DiscoverSimilarItems($itemId: String!, $cursor: String, $first: Int) {
370 discoverSimilarItems(input: {itemId: $itemId, cursor: $cursor, first: $first}) { 371 items { 372 id 373 caption 374 aspectRatio 375 mediaType 376 mediaVariants { 377 url 378 variant 379 type 380 dimensions { 381 width 382 height 383 } 384 } 385 } 386 pageInfo { 387 nextCursor 388 } 389 } 390} 391 `;r.gql` 392 query ProductDemoCustomModels($limit: Int) { 393 imageGenerationDemoCustomModels(input: {limit: $limit}) { 394 id 395 modelName 396 modelType 397 thumbUrl 398 category 399 subcategory 400 } 401} 402 `,r.gql` 403 query ProductDemoItemsByCustomModel($customModelId: String!, $first: Int!) { 404 searchWorkspaceItems( 405 input: {first: $first, scope: PUBLIC, filters: {mediaTypeList: [IMAGE], customModelIds: [$customModelId]}} 406 ) { 407 workspaceItems { 408 id 409 title 410 caption 411 aspectRatio 412 mediaType 413 mediaVariants { 414 url 415 variant 416 type 417 dimensions { 418 width 419 height 420 } 421 } 422 aiProperties { 423 prompt 424 imageGenerationId 425 studio { 426 id 427 name 428 thumbnails { 429 url 430 } 431 } 432 customModels { 433 id 434 modelName 435 modelType 436 thumbUrl 437 category 438 subcategory 439 } 440 } 441 } 442 } 443} 444 `;let b=r.gql` 445 query publicAgentConfig($input: PublicAgentConfigInput!) { 446 publicAgentConfig(input: $input) { 447 configId 448 label 449 assetType 450 available 451 followUpLimit 452 } 453} 454 `,N=r.gql` 455 query publicAgentTask($input: PublicAgentTaskInput!) { 456 publicAgentTask(input: $input) { 457 ...PublicAgentTaskFields 458 } 459} 460 ${T}`,A=r.gql` 461 mutation publicAgentTaskStart($input: PublicAgentTaskStartInput!) { 462 publicAgentTaskStart(input: $input) { 463 taskId 464 guestId 465 claimToken 466 } 467} 468 `,D=r.gql` 469 mutation publicAgentTaskMessageCreate($input: PublicAgentTaskMessageCreateInput!) { 470 publicAgentTaskMessageCreate(input: $input) { 471 ...PublicAgentTaskFields 472 } 473} 474 ${T}`,C=r.gql` 475 subscription publicAgentTaskMessages($input: PublicAgentTaskInput!) {
476 publicAgentTaskMessages(input: $input) { 477 ... on PublicAgentMessage { 478 id 479 role 480 parts 481 metadata 482 createdAt 483 } 484 ... on PublicAgentStreamChunk { 485 type 486 chunk 487 } 488 } 489} 490 `;r.gql` 491 query publicRemixSource($input: PublicRemixSourceInput!) { 492 publicRemixSource(input: $input) { 493 itemId 494 isIndexable 495 assetType 496 assetUrl 497 thumbnailUrl 498 configId 499 available 500 } 501} 502 `,r.gql` 503 query publicAgentPage($input: PublicAgentPageInput!) { 504 publicAgentPage(input: $input) { 505 slug 506 configId 507 headline 508 subhead 509 image { 510 url 511 alt 512 } 513 copy { 514 composerPlaceholder 515 composerHint 516 uploadLabel 517 headerCta 518 processingCopy 519 followUpPlaceholder 520 suggestions 521 gateTitle 522 gateBody 523 } 524 assetType 525 followUpLimit 526 available 527 acceptsUrl 528 } 529} 530 `;let x=r.gql` 531 query getReelNewFlowResults($reelNewFlowId: String!) { 532 reelNewFlowResults(reelNewFlowId: $reelNewFlowId) { 533 scrapedUrl 534 generatedReelUrls 535 videoUrl 536 videoTemplateId 537 logoUrl 538 faviconUrl 539 generatedReelsWithStudio { 540 url 541 productShotUrl 542 studioId 543 studioName 544 studioThumbnailUrl 545 productName 546 productId 547 productImageUrls 548 videoUrl 549 videoDurationMs 550 videoTemplateId 551 videoPrompt 552 } 553 scrapedProducts { 554 id 555 name 556 description 557 category 558 price 559 imageUrls 560 keyFeatures 561 } 562 } 563} 564 `,O=r.gql` 565 mutation startReelNewFlow($input: StartReelNewFlowInput!) { 566 startReelNewFlow(input: $input) { 567 id 568 status 569 progress 570 createdAt 571 updatedAt 572 } 573} 574 `,S=r.gql` 575 query reelNewJobStatus($jobId: String!) { 576 reelNewJobStatus(jobId: $jobId) { 577 id 578 status 579 progress 580 createdAt 581 updatedAt 582 scrapedData { 583 metadata { 584 url 585 title 586 description 587 pageScreenshotUrl 588 logoUrl 589 faviconUrl 590 contentLength 591 } 592 products { 593 id 594 name 595 description 596 category 597 price 598 imageUrls 599 keyFeatures 600 } 601 } 602 generatedReels { 603 url 604 productShotUrl 605 studioId 606 studioName 607 studioThumbnailUrl 608 productId 609 productName 610 productImageUrls 611 videoUrl 612 videoDurationMs 613 videoTemplateId 614 videoPrompt 615 } 616 error 617 } 618} 619 `,R=r.gql` 620 query GetReelNewGallery { 621 reelNewGallery { 622 id 623 mediaType 624 mediaVariants { 625 url 626 variant 627 type 628 } 629 aiProperties { 630 customModels { 631 id 632 modelName 633 modelType 634 thumbUrl 635 category 636 subcategory 637 } 638 studio { 639 name 640 thumbnails { 641 url 642 } 643 } 644 } 645 } 646} 647 `,w=r.gql` 648 mutation shareViewRecord($input: ShareViewRecordInput!) { 649 shareViewRecord(input: $input) { 650 status 651 } 652} 653 `;r.gql` 654 query sharedResource($id: String!) { 655 sharedResource(id: $id) { 656 sharerDisplayName 657 payload { 658 ... on ImageGenerationSharePayload { 659 imageGenerationId 660 outputUrl 661 shareToEarn 662 canGiftCredits 663 giftActive 664 prompt 665 studio { 666 id 667 name 668 chipColor 669 thumbnails { 670 url 671 } 672 } 673 customModels { 674 id 675 modelName 676 modelType 677 thumbUrl 678 category 679 subcategory 680 } 681 styleImageUrls 682 mediaReferences { 683 url 684 mediaType 685 } 686 startFrameUrl 687 aspectRatio 688 } 689 ... on GenericSharePayload { 690 shareToEarn 691 canGiftCredits 692 giftActive 693 } 694 } 695 } 696} 697 `;let P=r.gql` 698 query getShotFlowResults($shotFlowId: String!) { 699 shotFlowResults(shotFlowId: $shotFlowId) { 700 scrapedUrl 701 generatedShotUrls 702 generatedShotsWithStudio { 703 url 704 studioId 705 studioName 706 studioThumbnailUrl 707 productName 708 productId 709 productImageUrls 710 } 711 scrapedProducts { 712 id 713 name 714 description 715 category 716 price 717 imageUrls 718 keyFeatures 719 } 720 } 721} 722 `,L=r.gql` 723 mutation acceptUploadedShotProduct($shotFlowId: String!) { 724 acceptUploadedShotProduct(input: {shotFlowId: $shotFlowId}) { 725 status 726 } 727} 728 `,F=r.gql` 729 mutation startShotFlow($input: StartShotFlowInput!) { 730 startShotFlow(input: $input) { 731 id 732 status 733 progress 734 createdAt 735 updatedAt 736 } 737} 738 `,M=r.gql` 739 query shotJobStatus($jobId: String!) { 740 shotJobStatus(jobId: $jobId) { 741 id 742 status 743 progress 744 createdAt 745 updatedAt 746 scrapedData { 747 metadata { 748 url 749 title 750 description 751 pageScreenshotUrl 752 contentLength 753 } 754 products { 755 id 756 name 757 description 758 category 759 price 760 imageUrls 761 keyFeatures 762 } 763 } 764 generatedShots { 765 url 766 studioId 767 studioName 768 studioThumbnailUrl 769 productId 770 productName 771 productImageUrls 772 } 773 error 774 } 775} 776 `,U=r.gql` 777 query GetShotGallery { 778 shotGallery { 779 id 780 mediaVariants { 781 url 782 variant 783 } 784 aiProperties { 785 customModels { 786 id 787 modelName 788 modelType 789 thumbUrl 790 category 791 subcategory 792 } 793 studio { 794 name 795 thumbnails { 796 url 797 } 798 } 799 } 800 } 801} 802 `;e.s(["AcceptUploadedShotProductDocument",0,L,"DiscoverExploreItemsByStudioBlockDocument",0,k,"DiscoverSimilarItemsDocument",0,_,"GetReelNewGalleryDocument",0,R,"GetShotFlowResultsDocument",0,P,"GetShotGalleryDocument",0,U,"PublicAgentTaskDocument",0,N,"PublicAgentTaskMessageCreateDocument",0,D,"PublicAgentTaskMessagesDocument",0,C,"PublicAgentTaskStartDocument",0,A,"ReelNewJobStatusDocument",0,S,"ShotJobStatusDocument",0,M,"StartReelNewFlowDocument",0,O,"StartShotFlowDocument",0,F,"useGetReelNewFlowResultsQuery",0,function(e){let t={...I,...e};return i.useQuery(x,t)},"useGetShotFlowResultsQuery",0,function(e){let t={...I,...e};return i.useQuery(P,t)},"usePublicAgentConfigQuery",0,function(e){let t={...I,...e};return i.useQuery(b,t)},"useShareViewRecordMutation",0,function(e){return E(w,{...I,...e})}],742329)},288364,e=>{"use strict";e.i(643882);var t=e.i(602064),r=e.i(269738),i=e.i(631097);e.s(["useApolloClient",0,function(e){var n=r.useContext((0,i.getApolloContext)()),s=e||n.client;return(0,t.invariant)(!!s,78),s}])},428692,836998,465807,465398,e=>{"use strict";var t,r,i,n=e.i(824627);e.i(643882);var s=e.i(602064),o=e.i(269738),a=e.i(408739),u=!1,l=o.useSyncExternalStore||function(e,t,r){var i=t();!1===globalThis.__DEV__||u||i===t()||(u=!0,!1!==globalThis.__DEV__&&s.invariant.error(91));var n=o.useState({inst:{value:i,getSnapshot:t}}),l=n[0].inst,d=n[1];return a.canUseLayoutEffect?o.useLayoutEffect(function(){Object.assign(l,{value:i,getSnapshot:t}),c(l)&&d({inst:l})},[e,i,t]):Object.assign(l,{value:i,getSnapshot:t}),o.useEffect(function(){return c(l)&&d({inst:l}),e(function(){c(l)&&d({inst:l})})},[e]),i};function c(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}e.s(["useSyncExternalStore",0,l],836998);var d=e.i(240957),p=e.i(680685),h=e.i(631097),m=e.i(377504),f=e.i(267411),g=e.i(579517),y=e.i(284201),v=e.i(953006),E=e.i(266523),I=e.i(808269);function T(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function k(e){(0,I.warnDeprecated)("parser",function(){!1!==globalThis.__DEV__&&s.invariant.warn(93)}),i||(i=new y.AutoCleanedWeakCache(v.cacheSizes.parser||1e3));var t,n,o=i.get(e);if(o)return o;(0,s.invariant)(!!e&&!!e.kind,94,e);for(var a=[],u=[],l=[],c=[],d=0,p=e.definitions;d<p.length;d++){var h=p[d];if("FragmentDefinition"===h.kind){a.push(h);continue}if("OperationDefinition"===h.kind)switch(h.operation){case"query":u.push(h);break;case"mutation":l.push(h);break;case"subscription":c.push(h)}}(0,s.invariant)(!a.length||u.length||l.length||c.length,95),(0,s.invariant)(u.length+l.length+c.length<=1,96,e,u.length,c.length,l.length),n=u.length?r.Query:r.Mutation,u.length||l.length||(n=r.Subscription);var m=u.length?u:l.length?l:c;(0,s.invariant)(1===m.length,97,e,m.length);var f=m[0];t=f.variableDefinitions||[];var g={name:f.name&&"Name"===f.name.kind?f.name.value:"data",type:n,variables:t};return i.set(e,g),g}function _(e,t){var r=(0,I.muteDeprecations)("parser",k,[e]),i=T(t),n=T(r.type);(0,s.invariant)(r.type===t,98,i,i,n)}(t=r||(r={}))[t.Query=0]="Query",t[t.Mutation=1]="Mutation",t[t.Subscription=2]="Subscription",k.resetCache=function(){i=void 0},!1!==globalThis.__DEV__&&(0,E.registerGlobalCache)("parser",function(){return i?i.size:0}),e.s(["DocumentType",0,r,"verifyDocumentType",0,_],465807);var b=e.i(288364),N=e.i(796383),A=e.i(743542),D=e.i(890964);function C(e,t,r,i){void 0===i&&(i="Please remove this option.");var n=o.useRef(!1);!1!==globalThis.__DEV__&&t in e&&!n.current&&((0,I.warnRemovedOption)(e,t,r,i),n.current=!0)}e.s(["useWarnRemovedOption",0,C],465398);var x=Symbol.for("apollo.hook.wrappers"),O=Object.prototype.hasOwnProperty;function S(){}var R=Symbol();function w(e,t){!1!==globalThis.__DEV__&&(C(t,"canonizeResults","useQuery"),C(t,"partialRefetch","useQuery"),C(t,"defaultOptions","useQuery","Pass the options directly to the hook instead."),C(t,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),C(t,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var r=P(e,t),i=r.result,s=r.obsQueryFields;return o.useMemo(function(){return(0,n.__assign)((0,n.__assign)({},i),s)},[i,s])}function P(e,t){var i,a,u,c,p,m,y,v,E,T,k,N,A,D,C,x,w,P,$,K,Q,G,j=(0,b.useApolloClient)(t.client),z=o.useContext((0,h.getApolloContext)()).renderPromises,W=!!z,Y=j.disableNetworkFetches,J=!1!==t.ssr&&!t.skip,X=t.partialRefetch,H=L(j,e,t,W),Z=function(e,t,i,s,a){function u(n){var o;return _(t,r.Query),{client:e,query:t,observable:s&&s.getSSRObservable(a())||f.ObservableQuery.inactiveOnCreation.withValue(!s,function(){return(0,I.muteDeprecations)(["canonizeResults","partialRefetch"],function(){return e.watchQuery(F(void 0,e,i,a()))})}),resultData:{previousData:null==(o=null==n?void 0:n.resultData.current)?void 0:o.data}}}var l=o.useState(u),c=l[0],d=l[1];function p(e){Object.assign(c.observable,((t={})[R]=e,t));var t,r,i=c.resultData;d((0,n.__assign)((0,n.__assign)({},c),{query:e.query,resultData:Object.assign(i,{previousData:(null==(r=i.current)?void 0:r.data)||i.previousData,current:void 0})}))}if(e!==c.client||t!==c.query){var h=u(c);return d(h),[h,p]}return[c,p]}(j,e,t,z,H),ee=Z[0],et=ee.observable,er=ee.resultData,ei=Z[1],en=H(et);i=er,a=et,u=j,c=t,p=en,a[R]&&!(0,d.equal)(a[R],p)&&(a.reobserve(F(a,u,c,p)),i.previousData=(null==(m=i.current)?void 0:m.data)||i.previousData,i.current=void 0),a[R]=p;var es=o.useMemo(function(){var e;return{refetch:(e=et).refetch.bind(e),reobserve:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&s.invariant.warn(83),e.reobserve.a
802pply(e,t)},fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[et]);return y=et,v=z,E=J,v&&E&&(v.registerSSRObservable(y),y.getCurrentResult().loading&&v.addObservableQueryPromise(y)),{result:(T=er,k=et,N=j,A=t,D=en,C=Y,x=X,w=W,P={onCompleted:t.onCompleted||S,onError:t.onError||S},$=o.useRef(P),o.useEffect(function(){$.current=P}),K=(w||C)&&!1===A.ssr&&!A.skip?B:A.skip||"standby"===D.fetchPolicy?V:void 0,Q=T.previousData,G=o.useMemo(function(){return K&&q(K,Q,k,N)},[N,k,K,Q]),l(o.useCallback(function(e){if(w)return function(){};var t=function(){var t=T.current,r=k.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,d.equal)(t.data,r.data)||M(r,T,k,N,x,e,$.current)},r=function(n){if(i.current.unsubscribe(),i.current=k.resubscribeAfterError(t,r),!O.call(n,"graphQLErrors"))throw n;var s=T.current;(!s||s&&s.loading||!(0,d.equal)(n,s.error))&&M({data:s&&s.data,error:n,loading:!1,networkStatus:g.NetworkStatus.error},T,k,N,x,e,$.current)},i={current:k.subscribe(t,r)};return function(){setTimeout(function(){return i.current.unsubscribe()})}},[C,w,k,T,x,N]),function(){return G||U(T,k,$.current,x,N)},function(){return G||U(T,k,$.current,x,N)})),obsQueryFields:es,observable:et,resultData:er,client:j,onQueryExecuted:ei}}function L(e,t,r,i){void 0===r&&(r={});var s=r.skip,o=(r.ssr,r.onCompleted,r.onError,r.defaultOptions),a=(0,n.__rest)(r,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(r){var n=Object.assign(a,{query:t});return i&&("network-only"===n.fetchPolicy||"cache-and-network"===n.fetchPolicy)&&(n.fetchPolicy="cache-first"),n.variables||(n.variables={}),s?(n.initialFetchPolicy=n.initialFetchPolicy||n.fetchPolicy||$(o,e.defaultOptions),n.fetchPolicy="standby"):n.fetchPolicy||(n.fetchPolicy=(null==r?void 0:r.options.initialFetchPolicy)||$(o,e.defaultOptions)),n}}function F(e,t,r,i){var n=[],s=t.defaultOptions.watchQuery;return s&&n.push(s),r.defaultOptions&&n.push(r.defaultOptions),n.push((0,N.compact)(e&&e.options,i)),n.reduce(p.mergeOptions)}function M(e,t,r,i,o,a,u){var l,c,d,p=t.current;p&&p.data&&(t.previousData=p.data),!e.error&&(0,A.isNonEmptyArray)(e.errors)&&(e.error=new m.ApolloError({graphQLErrors:e.errors})),t.current=q((l=e,c=r,d=o,l.partial&&d&&!l.loading&&(!l.data||0===Object.keys(l.data).length)&&"cache-only"!==c.options.fetchPolicy?(c.refetch(),(0,n.__assign)((0,n.__assign)({},l),{loading:!0,networkStatus:g.NetworkStatus.refetch})):l),t.previousData,r,i),a(),function(e,t,r){if(!e.loading){var i=K(e);Promise.resolve().then(function(){i?r.onError(i):e.data&&t!==e.networkStatus&&e.networkStatus===g.NetworkStatus.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&s.invariant.warn(e)})}}(e,null==p?void 0:p.networkStatus,u)}function U(e,t,r,i,n){return e.current||M(t.getCurrentResult(),e,t,n,i,function(){},r),e.current}function $(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null==(r=null==t?void 0:t.watchQuery)?void 0:r.fetchPolicy)||"cache-first"}function K(e){return(0,A.isNonEmptyArray)(e.errors)?new m.ApolloError({graphQLErrors:e.errors}):e.error}function q(e,t,r,i){var s=e.data,o=(e.partial,(0,n.__rest)(e,["data","partial"]));return(0,n.__assign)((0,n.__assign)({data:s},o),{client:i,observable:r,variables:r.variables,called:e!==B&&e!==V,previousData:t})}var B=(0,D.maybeDeepFreeze)({loading:!0,data:void 0,error:void 0,networkStatus:g.NetworkStatus.loading}),V=(0,D.maybeDeepFreeze)({loading:!1,data:void 0,error:void 0,networkStatus:g.NetworkStatus.ready});e.s(["createMakeWatchQueryOptions",0,L,"getDefaultFetchPolicy",0,$,"getObsQueryOptions",0,F,"toApolloError",0,K,"toQueryResult",0,q,"useQuery",0,function(e,t){var r,i,n;return void 0===t&&(t=Object.create(null)),((n=(i=(r=(0,b.useApolloClient)(t&&t.client).queryManager)&&r[x])&&i.useQuery)?n(w):w)(e,t)},"useQueryInternals",0,P],428692)},645022,e=>{"use strict";var t,r,i,n,s,o=e.i(824627);let a=/\r\n|[\n\r]/g;function u(e,t){let r=0,i=1;for(let n of e.body.matchAll(a)){if("number"==typeof n.index||function(e){if(!e)throw Error("Unexpected invariant triggered.")}(!1),n.index>=t)break;r=n.index+n[0].length,i+=1}return{line:i,column:t+1-r}}function l(e,t){let r=e.locationOffset.column-1,i="".padStart(r)+e.body,n=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=1===t.line?r:0,u=t.column+a,l=`${e.name}:${o}:${u} 803`,d=i.split(/\r\n|[\n\r]/g),p=d[n];if(p.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return l+c([[`${o} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return l+c([[`${o-1} |`,d[n-1]],[`${o} |`,p],["|","^".padStart(u)],[`${o+1} |`,d[n+1]]])}function c(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}
803class d extends Error{constructor(e,...t){var r,i,n;const{nodes:s,source:o,positions:a,path:l,originalError:c,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=c?c:void 0,this.nodes=p(Array.isArray(s)?s:s?[s]:void 0);const m=p(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o:null==m||null==(i=m[0])?void 0:i.source,this.positions=null!=a?a:null==m?void 0:m.map(e=>e.start),this.locations=a&&o?a.map(e=>u(o,e)):null==m?void 0:m.map(e=>u(e.source,e.start));const f=!function(e){return"object"==typeof e&&null!==e}(null==c?void 0:c.extensions)||null==c?void 0:c.extensions;this.extensions=null!=(n=null!=h?h:f)?n:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,d):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes){var t;r.loc&&(e+="\n\n"+l((t=r.loc).source,u(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+l(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function p(e){return void 0===e||0===e.length?void 0:e}function h(e,t,r){return new d(`Syntax Error: ${r}`,{source:e,positions:[t]})}var m=e.i(546518);(t=n||(n={})).QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var f=e.i(38188),g=e.i(582129),y=e.i(224067);(r=s||(s={})).SOF="<SOF>",r.EOF="<EOF>",r.BANG="!",r.DOLLAR="$",r.AMP="&",r.PAREN_L="(",r.PAREN_R=")",r.DOT=".",r.SPREAD="...",r.COLON=":",r.EQUALS="=",r.AT="@",r.BRACKET_L="[",r.BRACKET_R="]",r.BRACE_L="{",r.PIPE="|",r.BRACE_R="}",r.NAME="Name",r.INT="Int",r.FLOAT="Float",r.STRING="String",r.BLOCK_STRING="BlockString",r.COMMENT="Comment";class v{constructor(e){const t=new m.Token(s.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,i=r.length,n=t;for(;n<i;){let t=r.charCodeAt(n);switch(t){case 65279:case 9:case 32:case 44:++n;continue;case 10:++n,++e.line,e.lineStart=n;continue;case 13:10===r.charCodeAt(n+1)?n+=2:++n,++e.line,e.lineStart=n;continue;case 35:return function(e,t){let r=e.source.body,i=r.length,n=t+1;for(;n<i;){let e=r.charCodeAt(n);if(10===e||13===e)break;if(E(e))++n;else if(I(r,n))n+=2;else break}return b(e,s.COMMENT,t,n,r.slice(t+1,n))}(e,n);case 33:return b(e,s.BANG,n,n+1);case 36:return b(e,s.DOLLAR,n,n+1);case 38:return b(e,s.AMP,n,n+1);case 40:return b(e,s.PAREN_L,n,n+1);case 41:return b(e,s.PAREN_R,n,n+1);case 46:if(46===r.charCodeAt(n+1)&&46===r.charCodeAt(n+2))return b(e,s.SPREAD,n,n+3);break;case 58:return b(e,s.COLON,n,n+1);case 61:return b(e,s.EQUALS,n,n+1);case 64:return b(e,s.AT,n,n+1);case 91:return b(e,s.BRACKET_L,n,n+1);case 93:return b(e,s.BRACKET_R,n,n+1);case 123:return b(e,s.BRACE_L,n,n+1);case 124:return b(e,s.PIPE,n,n+1);case 125:return b(e,s.BRACE_R,n,n+1);case 34:if(34===r.charCodeAt(n+1)&&34===r.charCodeAt(n+2))return function(e,t){let r=e.source.body,i=r.length,n=e.lineStart,o=t+3,a=o,u="",l=[];for(;o<i;){let i=r.charCodeAt(o);if(34===i&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)){u+=r.slice(a,o),l.push(u);let i=b(e,s.BLOCK_STRING,t,o+3,(0,g.dedentBlockStringLines)(l).join("\n"));return e.line+=l.length-1,e.lineStart=n,i}if(92===i&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)&&34===r.charCodeAt(o+3)){u+=r.slice(a,o),a=o+1,o+=4;continue}if(10===i||13===i){u+=r.slice(a,o),l.push(u),13===i&&10===r.charCodeAt(o+1)?o+=2:++o,u="",a=o,n=o;continue}if(E(i))++o;else if(I(r,o))o+=2;else throw h(e.source,o,`Invalid character within String: ${_(e,o)}.`)}throw h(e.source,o,"Unterminated string.")}(e,n);return function(e,t){let r=e.source.body,i=r.length,n=t+1,o=n,a="";for(;n<i;){let i=r.charCodeAt(n);if(34===i)return a+=r.slice(o,n),b(e,s.STRING,t,n+1,a);if(92===i){a+=r.slice(o,n);let t=117===r.charCodeAt(n+1)?123===r.charCodeAt(n+2)?function(e,t){let r=e.source.body,i=0,n=3;for(;n<12;){let e=r.charCodeAt(t+n++);if(125===e){if(n<5||!E(i))break;return{value:String.fromCodePoint(i),size:n}}if((i=i<<4|D(e))<0)break}throw h(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+n)}".`)}(e,n):function(e,t){let r=e.source.body,i=A(r,t+2);if(E(i))return{value:String.fromCodePoint(i),size:6};if(T(i)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=A(r,t+8);
803if(k(e))return{value:String.fromCodePoint(i,e),size:12}}throw h(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,n):function(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw h(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,n);a+=t.value,n+=t.size,o=n;continue}if(10===i||13===i)break;if(E(i))++n;else if(I(r,n))n+=2;else throw h(e.source,n,`Invalid character within String: ${_(e,n)}.`)}throw h(e.source,n,"Unterminated string.")}(e,n)}if((0,y.isDigit)(t)||45===t)return function(e,t,r){let i=e.source.body,n=t,o=r,a=!1;if(45===o&&(o=i.charCodeAt(++n)),48===o){if(o=i.charCodeAt(++n),(0,y.isDigit)(o))throw h(e.source,n,`Invalid number, unexpected digit after 0: ${_(e,n)}.`)}else n=N(e,n,o),o=i.charCodeAt(n);if(46===o&&(a=!0,o=i.charCodeAt(++n),n=N(e,n,o),o=i.charCodeAt(n)),(69===o||101===o)&&(a=!0,(43===(o=i.charCodeAt(++n))||45===o)&&(o=i.charCodeAt(++n)),n=N(e,n,o),o=i.charCodeAt(n)),46===o||(0,y.isNameStart)(o))throw h(e.source,n,`Invalid number, expected digit but got: ${_(e,n)}.`);return b(e,a?s.FLOAT:s.INT,t,n,i.slice(t,n))}(e,n,t);if((0,y.isNameStart)(t))return function(e,t){let r=e.source.body,i=r.length,n=t+1;for(;n<i;){let e=r.charCodeAt(n);if((0,y.isNameContinue)(e))++n;else break}return b(e,s.NAME,t,n,r.slice(t,n))}(e,n);throw h(e.source,n,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":E(t)||I(r,n)?`Unexpected character: ${_(e,n)}.`:`Invalid character: ${_(e,n)}.`)}return b(e,s.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.COMMENT)return e}}function E(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function I(e,t){return T(e.charCodeAt(t))&&k(e.charCodeAt(t+1))}function T(e){return e>=55296&&e<=56319}function k(e){return e>=56320&&e<=57343}function _(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return s.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function b(e,t,r,i,n){let s=e.line,o=1+r-e.lineStart;return new m.Token(t,r,i,s,o,n)}function N(e,t,r){if(!(0,y.isDigit)(r))throw h(e.source,t,`Invalid number, expected digit but got: ${_(e,t)}.`);let i=e.source.body,n=t+1;for(;(0,y.isDigit)(i.charCodeAt(n));)++n;return n}function A(e,t){return D(e.charCodeAt(t))<<12|D(e.charCodeAt(t+1))<<8|D(e.charCodeAt(t+2))<<4|D(e.charCodeAt(t+3))}function D(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var C=e.i(892714),x=e.i(777791);let O=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(r=e.constructor)?void 0:r.name)){let t=(0,x.inspect)(e);throw Error(`Cannot use ${i} "${t}" from another module or realm. 804 805Ensure that there is only one instance of "graphql" in the node_modules 806directory. If different versions of "graphql" are the dependencies of other 807relied on modules, use "resolutions" to ensure only one version is installed. 808 809https://yarnpkg.com/en/docs/selective-version-resolutions 810 811Duplicate "graphql" modules cannot be used at the same time since different 812versions may have different capabilities and behavior. The data from one 813version used in the function from another could produce confusing and 814spurious results.`)}}return!1};class S{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,C.devAssert)(!1,`Body must be a string. Received: ${(0,x.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,C.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,C.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class R{constructor(e,t={}){const{lexer:r,...i}=t;if(r)this._lexer=r;else{const t=!function(e){return O(e,S)}(e)?new S(e):e;this._lexer=new v(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(s.NAME);return this.node(e,{kind:f.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:f.Kind.DOCUMENT,definitions:this.many(s.SOF,this.parseDefinition,s.EOF)})}parseDefinition(){if(this.peek(s.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===s.BRACE_L)throw h(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===s.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw h(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
814ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(s.BRACE_L))return this.node(t,{kind:f.Kind.OPERATION_DEFINITION,operation:m.OperationTypeNode.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseDescription(),i=this.parseOperationType();return this.peek(s.NAME)&&(e=this.parseName()),this.node(t,{kind:f.Kind.OPERATION_DEFINITION,operation:i,description:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(s.NAME);switch(e.value){case"query":return m.OperationTypeNode.QUERY;case"mutation":return m.OperationTypeNode.MUTATION;case"subscription":return m.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.PAREN_L,this.parseVariableDefinition,s.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:f.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(s.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(s.DOLLAR),this.node(e,{kind:f.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:f.Kind.SELECTION_SET,selections:this.many(s.BRACE_L,this.parseSelection,s.BRACE_R)})}parseSelection(){return this.peek(s.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,i=this.parseName();return this.expectOptionalToken(s.COLON)?(e=i,t=this.parseName()):t=i,this.node(r,{kind:f.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.PAREN_L,t,s.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:f.Kind.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(s.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(s.NAME)?this.node(e,{kind:f.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:f.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:f.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:f.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case s.BRACKET_L:return this.parseList(e);case s.BRACE_L:return this.parseObject(e);case s.INT:return this.advanceLexer(),this.node(t,{kind:f.Kind.INT,value:t.value});case s.FLOAT:return this.advanceLexer(),this.node(t,{kind:f.Kind.FLOAT,value:t.value});case s.STRING:case s.BLOCK_STRING:return this.parseStringLiteral();case s.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:f.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:f.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:f.Kind.NULL});default:return this.node(t,{kind:f.Kind.ENUM,value:t.value})}case s.DOLLAR:if(e){if(this.expectToken(s.DOLLAR),this._lexer.token.kind===s.NAME){let e=this._lexer.token.value;throw h(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:f.Kind.STRING,value:e.value,block:e.kind===s.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:f.Kind.LIST,values:this.any(s.BRACKET_L,t,s.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:f.Kind.OBJECT,fields:this.any(s.BRACE_L,t,s.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:f.Kind.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(s.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(s.AT),this.node(t,{kind:f.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(s.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(s.BRACKET_R),e=this.node(t,{kind:f.Kind.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(s.BANG)?this.node(t,{kind:f.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:f.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.STRING)||this.peek(s.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);return this.node(e,{kind:f.Kind.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.COLON);let r=this.parseNamedType();return this.node(e,{kind:f.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:f.Kind.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:f.Kind.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:i,directives:n,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseFieldDefinition,s.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(s.COLON);let n=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:f.Kind.FIELD_DEFINITION,description:t,name:r,arguments:i,type:n,directives:o})}parseArgumentDefs(){return this.optionalMany(s.PAREN_L,this.parseInputValueDef,s.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,r=this.parseDescription(),i=this.parseName();this.expectToken(s.COLON);let n=this.parseTypeReference();this.expectOptionalToken(s.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:f.Kind.INPUT_VALUE_DEFINITION,description:r,name:i,type:n,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:f.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:i,directives:n,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();return this.node(e,{kind:f.Kind.UNION_TYPE_DEFINITION,description:t,name:r,directives:i,types:n})}parseUnionMemberTypes(){return this.expectOptionalToken(s.EQUALS)?this.delimitedMany(s.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();return this.node(e,{kind:f.Kind.ENUM_TYPE_DEFINITION,description:t,name:r,directives:i,values:n})}parseEnumValuesDefinition(){return this.optionalMany(s.BRACE_L,this.parseEnumValueDefinition,s.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:f.Kind.ENUM_VALUE_DEFINITION,description:t,name:r,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw h(this._lexer.source,this._lexer.token.start,`${w(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();return this.node(e,{kind:f.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:i,fields:n})}parseInputFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseInputValueDef,s.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===s.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:f.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:f.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:i,fields:n})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:i,fields:n})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.Kind.UNION_TYPE_EXTENSION,name:t,directives:r,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.Kind.ENUM_TYPE_EXTENSION,name:t,directives:r,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.AT);let r=this.parseName(),i=this.parseArgumentDefs(),n=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:f.Kind.DIRECTIVE_DEFINITION,description:t,name:r,arguments:i,repeatable:n,locations:o})}parseDirectiveLocations(){return this.delimitedMany(s.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(n,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,r=this._lexer.token,i=this.expectOptionalToken(s.AT),n=this.parseName();return(!i&&this.expectOptionalToken(s.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(s.PAREN_L)&&(t=this.parseName(),this.expectToken(s.COLON),this.expectToken(s.PAREN_R)),i)?t?this.node(r,{kind:f.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:t}):this.node(r,{kind:f.Kind.DIRECTIVE_COORDINATE,name:n}):e?t?this.node(r,{kind:f.Kind.ARGUMENT_COORDINATE,name:n,fieldName:e,argumentName:t}):this.node(r,{kind:f.Kind.MEMBER_COORDINATE,name:n,memberName:e}):this.node(r,{kind:f.Kind.TYPE_COORDINATE,name:n})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new m.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw h(this._lexer.source,t.start,`Expected ${P(e)}, found ${w(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===s.NAME&&t.value===e)this.advanceLexer();else throw h(this._lexer.source,t.start,`Expected "${e}", found ${w(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===s.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return h(this._lexer.source,t.start,`Unexpected ${w(t)}.`)}any(e,t,r){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(r);)i.push(t.call(this));return i}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r))return e}return[]}many(e,t,r){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(r))return i}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e))return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==s.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw h(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function w(e){let t=e.value;return P(e.kind)+(null!=t?` "${t}"`:"")}function P(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.DOT||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRACE_R?`"${e}"`:e}var L=new Map,F=new Map,M=!0,U=!1;function $(e){return e.replace(/[\s,]+/g," ").trim()}function K(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e
814=[e]);var i=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[r+1]}),function(e){var t=$(e);if(!L.has(t)){let l,c;var r,i,n,s,a,u=(Object.defineProperty(c=(l=new R(e,{experimentalFragmentVariables:U,allowLegacyFragmentVariables:U})).parseDocument(),"tokenCount",{enumerable:!1,value:l.tokenCount}),c);if(!u||"Document"!==u.kind)throw Error("Not a valid GraphQL document.");L.set(t,((s=new Set((r=new Set,i=[],u.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,s=$((t=e.loc).source.body.substring(t.start,t.end)),o=F.get(n);o&&!o.has(s)?M&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||F.set(n,o=new Set),o.add(s),r.has(s)||(r.add(s),i.push(e))}else i.push(e)}),n=(0,o.__assign)((0,o.__assign)({},u),{definitions:i})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&s.add(r)})}),(a=n.loc)&&(delete a.startToken,delete a.endToken),n))}return L.get(t)}(i)}var q=K;(i=K||(K={})).gql=q,i.resetCaches=function(){L.clear(),F.clear()},i.disableFragmentWarnings=function(){M=!1},i.enableExperimentalFragmentVariables=function(){U=!0},i.disableExperimentalFragmentVariables=function(){U=!1},K.default=K,e.s(["gql",0,K],645022)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.