1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,153864,(e,n,t)=>{n.exports=JSON.parse('{"__schema":{"queryType":{"name":"Query","kind":"OBJECT"},"mutationType":{"name":"Mutation","kind":"OBJECT"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"AcmeLanguage","description":null,"isOneOf":null,"fields":[{"name":"endonym","description":"The name of the language as written and reffered to by its community.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"englishName","description":"The name of the language as written in English.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ianaSubtag","description":"A string identifying the language assigned by the Internet Assigned Numbers Authority.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"internalLanguageCode","description":"A short code used to identify the language by TED.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRtl","description":"A boolean indicating whether the language is written right to left.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"iso6391","description":"A two letter lowercase abbreviation assigned by ISO.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"iso6393","description":"A three letter lowercase abbreviation assigned by ISO.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"rtl","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleCollectionCount","description":"Number of subtitle collections using this language","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AcmeLanguageConnection","description":"The connection type for AcmeLanguage.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"AcmeLanguageEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"AcmeLanguage","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AcmeLanguageEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"AcmeLanguage","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"AcmePlayerData","description":"A string of JSON, that can be parsed, and passed to the TED video player.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AcmeSpeaker","description":null,"isOneOf":null,"fields":[{"name":"cite","description":"A short bit of plaintext, telling who said \\"what others say\\"","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"A short (max 500) plain-text description of the speaker. About half are blank.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstname","description":"Speaker\'s first name. By convention this will be blank for single-name speakers like \'Bono\'","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isLive","description":"Whether the speaker is currently live to the world.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastname","description":"Speaker\'s last name. If the speaker has only one name (like \'Bono\') that name will be in this field.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkName1","description":"Short text for the anchor tag","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkName2","description":"Short text for the anchor tag","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkUrl1","description":"Usually a FQDN, but some lack a protocol. Often blank.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkUrl2","description":"Same as link_url_1, but more often blank. Some mailto: links! Usually a twitter URL.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"middlename","description":"A speaker\'s middlename, though it\'s almost always just an initial. Usually blank.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"photoUrl","description":"Link to a photo of the speaker via TED\'s CDN.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"A short human-readable identifier for this speaker. Suitable for building URLs.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title the speaker holds, often indiciating their affiliation.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"whatOthersSay","description":"A short blurb with perspective on the speaker.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"whoTheyAre","description":"Usually a short bit of HTML (a few <em> tags) but some are over 2,000 characters. May be blank in some cases.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"whyListen","description":"A pile of HTML. Longest is ~5,000 characters. Usually blank.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AcmeSpeakerConnection","description":"The connection type for AcmeSpeaker.","isOneOf":null,"fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"AcmeSpeakerEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"AcmeSpeaker","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AcmeSpeakerEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"AcmeSpeaker","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Activity","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"itemId","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"itemType","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subjectId","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subjectType","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"targetId","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"uri","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ActivityConnection","description":"The connection type for Activity.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"ActivityEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Activity","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ActivityEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Activity","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AddPaymentMethodPayload","description":"Autogenerated return type of AddPaymentMethod","isOneOf":null,"fields":[{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AddUserPlaylistTalkPayload","description":"Autogenerated return type of AddUserPlaylistTalk","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"playlist","description":null,"args":[],"type":{"kind":"OBJECT","name":"UserPlaylist","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AddWatchedTalkPayload","description":"Autogenerated return type of AddWatchedTalk","isOneOf":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AspectRatio","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"width:length or a plain language title for the aspect ratio","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AvatarUploadPayload","description":"S3 presigned POST credentials the client uses to upload an avatar directly to\\nS3. The client should POST multipart/form-data to `url` with every entry in\\n`fields` plus a `file` field containing the image bytes, then call\\n`finalizeAvatar(key: \'<this key>\')` to attach the upload to the viewer.","isOneOf":null,"fields":[{"name":"expiresAt","description":"When the presigned URL stops accepting uploads.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":"Form fields the client must include in the multipart POST. Preserve casing and include every entry.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FormField","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"key","description":"The S3 object key that will hold the uploaded file. Pass this back in finalizeAvatar.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The S3 endpoint to POST the multipart form to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Biography","description":"A biographical entry from the user\'s profile. The `name` field indicates which\\nsection it belongs to (main, passion, idea, about, ted, surprised).","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The biography section name. One of: main, passion, idea, about, ted, surprised.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The text content of the biography entry.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CancelMembershipEventRegistrationPayload","description":"Autogenerated return type of CancelMembershipEventRegistration.","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"membershipEvent","description":null,"args":[],"type":{"kind":"OBJECT","name":"MembershipEvent","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null}
1,{"kind":"OBJECT","name":"CancelStripeSupporterSubscriptionPayload","description":"Autogenerated return type of CancelStripeSupporterSubscription","isOneOf":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Card","description":null,"isOneOf":null,"fields":[{"name":"brand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"expMonth","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"expYear","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"last4","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ChannelOptions","description":"A list of talkstar channels","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALL","description":"All talkstar talks","isDeprecated":false,"deprecationReason":null},{"name":"FEATURED","description":"Talkstar talks published to the homepage","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ClearSavedTalksPayload","description":"Autogenerated return type of ClearSavedTalks","isOneOf":null,"fields":[{"name":"deletedCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Company","description":"A user\'s stated company or organization.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Conference","description":null,"isOneOf":null,"fields":[{"name":"activities","description":"Optional activities the viewer may rank a preference for, chronologically.\\nEmpty when canViewSessions is false, which includes every phase after signup closes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceActivity","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"agenda","description":"The viewer\'s personal agenda, chronologically. Empty when canViewAgenda is\\nfalse, which is every phase before the agenda is published.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceAgendaEntry","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"attendees","description":"Networking attendees of this conference. Empty for a viewer who holds no\\nregistrant here, matching Roadrunner, which redirects away rather than\\nrendering the directory.","args":[{"name":"page","description":"Defaults to 1.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":"Defaults to 100 and is capped there.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"search","description":"Matches first name, last name, title, organization, city and country, the\\nsix columns the directory renders. Names match per word, the rest match the\\nwhole term. Never matches email or phone.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceAttendeePage","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"beginAt","description":"UTC start","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"capabilities","description":"What the viewer may do here right now.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceCapabilities","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endAt","description":"UTC end","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hotelInfo","description":"Recommended hotels and how to book them. Null unless\\ncapabilities.canViewHotels. Unlike the two fields above, this one says \\"on but\\nempty\\" structurally: a present object with an empty hotels list.","args":[],"type":{"kind":"OBJECT","name":"ConferenceHotelInfo","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"ID of the conference","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":"Decimal degrees, WGS84. Null together with longitude when the conference\\nvenue, the same one timezoneName comes from, was never geocoded.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"Decimal degrees, WGS84. Null together with latitude.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phase","description":"Lifecycle phase by name. Null on a phase EMS has not named; read capabilities rather than comparing phases.","args":[],"type":{"kind":"ENUM","name":"ConferencePhase","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"planYourTed","description":"\\"Plan your TED\\" author HTML, sanitized to Rails\' default allow-list. Null\\nunless capabilities.canViewPlanYourTed, and also null when that is true and\\nthe content is empty.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"securityAndPolicies","description":"Security and policies author HTML, sanitized to Rails\' default allow-list.\\nNull unless capabilities.canViewPolicies, and also null when that is true and\\nthe content is empty.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"URL slug, the same one goto.ted.com uses","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"timezoneName","description":"IANA timezone of the venue. Null when the conference has no venue timezone set.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Title of the conference","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":"The requesting viewer\'s own standing in this conference.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceViewer","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null}
1,{"kind":"OBJECT","name":"ConferenceActivity","description":null,"isOneOf":null,"fields":[{"name":"beginAt","description":"UTC. Render it in Conference.timezoneName, which is the conference venue\'s zone.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"category","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eligibility","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceActivityEligibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endAt","description":"UTC.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isSignupOpen","description":"Whether preferences are being taken right now. False does not mean the viewer is out, only that the window is shut.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isSignupable","description":"The viewer ranks a preference for this and is allocated later, rather than simply attending. Group on this, not on kind.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"kind","description":"The stored session type, not v2\'s rewritten one. See isSignupable.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceActivityKind","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locationName","description":"The room or space, from the activity\'s own location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"topics","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"venueName","description":"The building the activity\'s location is in, which is not always the conference\'s main venue.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"viewerSignup","description":"The viewer\'s own signup, or null if they have not asked for this one. Never anybody else\'s.","args":[],"type":{"kind":"OBJECT","name":"ConferenceActivitySignup","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ConferenceActivityEligibility","description":"How the viewer qualifies for this activity. Descriptive, not a permission check:\\nread it to label the activity, not to decide access.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"APPOINTMENT","description":"Booked individually.","isDeprecated":false,"deprecationReason":null},{"name":"BRAINDATE","description":"Braindate.","isDeprecated":false,"deprecationReason":null},{"name":"INVITATION","description":"Only invited attendees, and only while signup is open.","isDeprecated":false,"deprecationReason":null},{"name":"LIMITED","description":"Restricted to attendee groups, and only while signup
1is open.","isDeprecated":false,"deprecationReason":null},{"name":"MANDATORY","description":"Required.","isDeprecated":false,"deprecationReason":null},{"name":"OPEN","description":"Anyone at the conference may attend.","isDeprecated":false,"deprecationReason":null},{"name":"OPEN_TO_SOME","description":"Restricted to attendee groups, regardless of signup being open.","isDeprecated":false,"deprecationReason":null},{"name":"SIGNUP","description":"Attendees rank a preference and are allocated later.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ConferenceActivityKind","description":"The stored session type. Group on isSignupable, not on this.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"COMMON","description":"Shared across events.","isDeprecated":false,"deprecationReason":null},{"name":"EXTENDED","description":"An optional activity or experience alongside the main programme.","isDeprecated":false,"deprecationReason":null},{"name":"LOGISTICS","description":"Registration, transport, meals and the like.","isDeprecated":false,"deprecationReason":null},{"name":"MAIN","description":"Main stage.","isDeprecated":false,"deprecationReason":null},{"name":"STANDIN","description":"A placeholder held by the conference team.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceActivitySignup","description":null,"isOneOf":null,"fields":[{"name":"isAllocated","description":"The conference team has placed the viewer in this activity. False while signup\\nis still open, since allocation runs afterwards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isAttendeeRequested","description":"The viewer asked for this themselves, rather than being placed by the\\nconference team or an usher. Independent of isAllocated: a signup the viewer\\nasked for can also be allocated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preference","description":"Where the viewer ranked this against the other activities they asked for. 1 is the strongest preference.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceAgendaEntry","description":null,"isOneOf":null,"fields":[{"name":"beginAt","description":"UTC. An echo carries its own time, not the live session\'s.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eligibility","description":"How the viewer qualifies for this session. Descriptive, not a permission\\ncheck: label the row with it, do not gate access on it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceActivityEligibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endAt","description":"UTC.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The session\'s id. A simulcast or echo of a session carries the same id as its live entry, distinguished by kind.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceAgendaEntryKind","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locationName","description":"The room, from this row\'s own location: the overlay\'s for a simulcast or echo, the session\'s otherwise.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"speakers","description":"The main speakers on this session\'s listed talks, in program order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceAgendaSpeaker","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"timezone","description":"IANA name of this row\'s location, e.g. America/Ne
1w_York.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"venueName","description":"The building this row\'s location is in.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"viewerSignup","description":"The viewer\'s own signup for this session, when they have one. Null for a\\nsession they did not sign up for (a main-stage or public session).","args":[],"type":{"kind":"OBJECT","name":"ConferenceActivitySignup","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ConferenceAgendaEntryKind","description":null,"isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ECHO","description":"A re-showing of a session at a different time or place here.","isDeprecated":false,"deprecationReason":null},{"name":"LIVE","description":"The session in its own room at this conference.","isDeprecated":false,"deprecationReason":null},{"name":"SIMULCAST","description":"A relay of another session into a room here.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceAgendaSpeaker","description":null,"isOneOf":null,"fields":[{"name":"avatar","description":"The speaker\'s photo for this event.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceAttendee","description":null,"isOneOf":null,"fields":[{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"organization","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"photoUrl","description":"Face-cropped headshot. Null when the attendee has no photo, and also null when\\ntheir photo has not been face-processed yet.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pronouns","description":"Rendered on the card but not searchable.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedProfileId","description":"The attendee\'s TED profile id. Null when they have no TED user or no profile,\\nwhich Roadrunner renders as a dead link rather than an unlinked card.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Job title, not an honorific.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceAttendeePage","description":null,"isOneOf":null,"fields":[{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceAttendee","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceAttendeePageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceAttendeePageInfo","description":null,"isOneOf":null,"fields":[{"name":"page","description":"The page actually returned, which is 1 for any request below it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":"Capped at 100. A larger request is clamped, not rejected.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"Matching attendees across every page, after the visibility filters.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceBadge","description":null,"isOneOf":null,"fields":[{"name":"askMeAbout","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"isTedx","description":"Staff-set. Whether this badge prints as TEDx, which is what makes tedxEventName editable and printable.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"organization","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"photoUrl","description":"Face-cropped headshot. Null when there is no photo, and also null when a photo has not been face-processed yet.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pronouns","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"Workflow state, authoritative. NEW means the attendee has never edited the badge; every other value means they have.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceBadgeStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tedxEventName","description":"Only printed when staff have marked the badge as TEDx. Writing it is refused\\nunless isTedx is true. A copy of the viewer\'s TEDx organizer details, not a\\nper-conference value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Job title, not an honorific. Printed as \\"Role\\".","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"warnings","description":"Stored values that will not print correctly. Empty when the badge is fine. These do not block saving and are not errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceBadgeWarning","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceBadgePhotoUpload","description":null,"isOneOf":null,"fields":[{"name":"expiresAt","description":"When the presigned URL stops accepting uploads.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":"Form fields the client must include in the multipart POST. Send every entry unchanged, casing included.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceUploadField","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"key","description":"The S3 object key that will hold the upload. Pass it back to finalizeConferenceBadgePhoto.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The S3 endpoint to POST the multipart form to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ConferenceBadgeStatus","description":"Where the badge is in EMS\'s print workflow. Authoritative state, not display\\ncopy: branch on it rather than showing it to the viewer.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"APPROVED","description":"Cleared for printing.","isDeprecated":false,"deprecationReason":null},{"name":"APPROVED_ONSITE","description":"Cleared for printing at the venue, via TEDAttend.","isDeprecated":false,"deprecationReason":null},{"name":"EDITED_AFTER_PRINTING","description":"Edited after printing.","isDeprecated":false,"deprecationReason":null},{"name":"EDITED_AFTER_PRINTING_ONSITE","description":"Edited after being printed at the venue.","isDeprecated":false,"deprecationReason":null},{"name":"EDITED_POST_APPROVAL","description":"Edited after approval, so it needs approving again before printing. Badge#approved? is false here.","isDeprecated":false,"deprecationReason":null},{"name":"INCOMPLETE","description":"Missing something staff need before it can be approved.","isDeprecated":false,"deprecationReason":null},{"name":"NEW","description":"Never edited by the attendee. The registrant checklist reads this as the badge\\nstep being outstanding; every other value reads as done.","isDeprecated":false,"deprecationReason":null},{"name":"PENDING","description":"Edited and awaiting staff review.","isDeprecated":false,"deprecationReason":null},{"name":"PRINTED","description":"Printed. Later edits may not reach the printed badge.","isDeprecated":false,"deprecationReason":null},{"name":"PRINTED_ONSITE","description":"Printed at the venue.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceBadgeWarning","description":null,"isOneOf":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceBadgeWarningCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The ConferenceBadge field this is about, camelCased to match the schema rather than the column.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"Longest value that will print. Compare against the field\'s current length.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"EMS\'s own phrasing, so the dashboard and the badge admin say the same thing. Display it; do not parse it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ConferenceBadgeWarningCode","description":"Why a saved badge will still print wrong. Advisory, never a refusal.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TOO_LONG_FOR_PRINT","description":"The stored value is longer than the printed badge allows. `field` names it and `limit` gives the ceiling.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ConferenceCandidateState","description":null,"isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"APPLYING","description":"Application started but not submitted.","isDeprecated":false,"deprecationReason":null}
1,{"name":"APPROVED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"AWAITING_REVIEW","description":"Submitted, not yet picked up for review.","isDeprecated":false,"deprecationReason":null},{"name":"DECLINED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"IN_REVIEW","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VOID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"WITHDRAWN","description":"The applicant withdrew themselves.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceCapabilities","description":null,"isOneOf":null,"fields":[{"name":"canBrowseAttendees","description":"The attendee directory is open for this conference.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canViewAgenda","description":"Agenda is published for this conference.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canViewChecklist","description":"The prep checklist is turned on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canViewHotels","description":"Hotel information is turned on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canViewPlanYourTed","description":"Plan Your TED content is turned on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canViewPolicies","description":"Security and policies content is turned on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canViewSessions","description":"Session sign-up (the dashboard\'s Activities section) is open for this conference.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canWithdraw","description":"The viewer may withdraw their own application. False once a registrant exists, matching the dashboard withdrawal rule.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ConferenceEntryMethod","description":"How this candidacy started. Authoritative, and independent of candidateState: an\\ninvitee and an applicant can both be AWAITING_REVIEW, and the copy for the two differs.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"APPLICATION","description":"Applied through the normal application.","isDeprecated":false,"deprecationReason":null},{"name":"BULK_IMPORT","description":"Imported via the TEDx bulk import.","isDeprecated":false,"deprecationReason":null},{"name":"PRIORITY_ACCESS","description":"Reviewed internally and invited ahead of open applications. Roadrunner calls this invited.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceHotel","description":null,"isOneOf":null,"fields":[{"name":"bookingUrl","description":"Where to book this specific hotel. Null when it has none, and also null\\nwhenever ConferenceHotelInfo.bookingUrl is set, since that one books every\\nhotel and overrides the individual links. Not nulled by isSoldOut, though the\\nRails dashboard shows the sold-out label in place of the button, so check\\nisSoldOut first.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Author HTML, sanitized to `br a b strong em i`. Null when blank.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"ID of the conference-hotel record.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isSoldOut","description":"No rooms left at the TED rate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":"Decimal degrees, WGS84. Null together with longitude when the hotel venue was never geocoded.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"locality","description":"The rest of the address on one line: \\"city, state, postal code\\" in the US and\\n\\"city, postal code\\" elsewhere. Null when unset.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"Decimal degrees, WGS84. Null together with latitude.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Hotel name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"photoUrl","description":"Hotel photo. Null when none is attached.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pricePerNight","description":"The TED rate per night, in whole units of ConferenceHotelInfo.currencyCode.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"street","description":"Street line of the address. Null when unset.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceHotelInfo","description":null,"isOneOf":null,"fields":[{"name":"bookingUrl","description":"Where this viewer books, whatever the hotel. The candidate type\'s own link\\nwhen it has one, otherwise the conference\'s. Null when neither is set, in\\nwhich case each hotel carries its own bookingUrl. Render it only while at\\nleast one hotel is not sold out: the Rails dashboard hides the booking call to\\naction once they all are, and also when no hotels are listed at all, since\\n`[].all?` is true.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"ISO 4217 code that ConferenceHotel.pricePerNight is denominated in, from the\\nconference\'s default currency. `XXX` means none is set. Null only if the\\ncurrency row is missing. Note the Rails dashboard hardcodes a `$` regardless\\n(roadrunner dashboard/hotels/index.html.haml:43), so a non-USD conference is\\nmislabelled there and this is the first contract to carry the real answer.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"hotels","description":"Recommended hotels, ordered by name. Empty when none are listed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceHotel","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"intro","description":"Author HTML introducing the section, sanitized to `br` and `a`. Null when blank.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceMutationError","description":null,"isOneOf":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ConferenceMutationErrorCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"For INVALID, the argument that failed.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"Human-readable. The wording is not a contract.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ConferenceMutationErrorCode","description":"Why a dashboard mutation refused. Branch on this, never on the message.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CONFLICT","description":"The record moved between read and write. Re-read and retry; it may succeed.","isDeprecated":false,"deprecationReason":null},{"name":"FORBIDDEN","description":"Viewer is known but may not do this, e.g. holds no registrant.","isDeprecated":false,"deprecationReason":null},{"name":"INELIGIBLE","description":"The conference\'s rules refuse it: signup closed, at capacity, already withdrawn.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"An argument failed validation. `field` names it.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_FOUND","description":"Absent, or not this viewer\'s to see. Same code for both so callers cannot enumerate.","isDeprecated":false,"deprecationReason":null},{"name":"UNAUTHORIZED","description":"No viewer on the request, so the write cannot be attributed.","isDeprecated":false,"deprecationReason":null},{"name":"UNAVAILABLE","description":"EMS is in readonly maintenance. Retry later, unchanged.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ConferencePhase","description":null,"isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AGENDA","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALLOCATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALLOCATING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ANTICIPATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"APPLY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NEW","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROGRAM","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SIGNUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SPEAKERS","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceUploadField","description":null,"isOneOf":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConferenceViewer","description":null,"isOneOf":null,"fields":[{"name":"candidateState","description":"Coarse application state. Null when the viewer has never applied.","args":[],"type":{"kind":"ENUM","name":"ConferenceCandidateState","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"candidateStatusPhrase","description":"EMS\'s own viewer-facing phrase for the application state, e.g. \\"has been\\napproved!\\". Null when the viewer has never applied, and null when they\\nwithdrew, because EMS has no phrase for that state. Branch on candidateState,\\nwhich is always authoritative.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"entryMethod","description":"How this candidacy started. Null only if there is no candidate at all, which\\nthe dashboard gate makes unreachable today. Independent of candidateState: the\\noverview copy for an invitee differs from an applicant\'s at the same state,\\nand invitees skip the charge and payment-details copy.","args":[],"type":{"kind":"ENUM","name":"ConferenceEntryMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hasApplied","description":"The viewer has a candidate record for this conference.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"inProgressApplicationUrl","description":"Absolute URL to the viewer\'s still-open application on EMS. Null unless\\ncandidateState is APPLYING, AWAITING_REVIEW, or IN_REVIEW; no other state has\\nan application to return to. Link text (Resume, Edit, View) is the client\'s to\\npick from candidateState, so this carries only the URL.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRegistered","description":"The viewer holds an uncancelled registration.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"registrationUrl","description":"Where to send the viewer to register or pay. Registration stays on\\ngoto.ted.com and is deliberately not reimplemented in the dashboard.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":"A country that can be selected for a user\'s profile location.","isOneOf":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateAvatarUploadMutationPayload","description":"Autogenerated return type of CreateAvatarUploadMutation","isOneOf":null,"fields":[{"name":"upload","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"AvatarUploadPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateConferenceBadgePhotoUploadPayload","description":"Autogenerated return type of CreateConferenceBadgePhotoUpload.","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"upload","description":"The presigned upload. Null when errors is non-empty.","args":[],"type":{"kind":"OBJECT","name":"ConferenceBadgePhotoUpload","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateConferenceSessionSignupPayload","description":"Autogenerated return type of CreateConferenceSessionSignup.","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sessionSignup","description":"The viewer\'s signup. Null when errors is non-empty.","args":[],"type":{"kind":"OBJECT","name":"ConferenceActivitySignup","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateOpenwebUserSessionPayload","description":"Autogenerated return type of CreateOpenwebUserSession","isOneOf":null,"fields":[{"name":"codeB","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreatePaymentIntentClientSecretPayload","description":"Autogenerated return type of CreatePaymentIntentClientSecret","isOneOf":null,"fields":[{"name":"clientSecret","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethodId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateStripeSupporterSubscriptionPayload","description":"Autogenerated return type of CreateStripeSupporterSubscription","isOneOf":null,"fields":[{"name":"redemptionToken","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateUserPlaylistPayload","description":"Autogenerated return type of CreateUserPlaylist","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"playlist","description":null,"args":[],"type":{"kind":"OBJECT","name":"UserPlaylist","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateUserPlaylistSharePayload","description":"Autogenerated return type of CreateUserPlaylistShare","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"playlist","description":null,"args":[],"type":{"kind":"OBJECT","name":"UserPlaylist","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Cue","description":null,"isOneOf":null,"fields":[{"name":"endTime","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startTime","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CuratorOptions","description":"A list of playlist curator types","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"COMMUNITY","description":"Curated by a User","isDeprecated":false,"deprecationReason":null},{"name":"EDITORIAL","description":"Curated by TED","isDeprecated":false,"deprecationReason":null},{"name":"GUEST","description":"Curated by a guest/celebrity","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CustomContentDetails","description":null,"isOneOf":null,"fields":[{"name":"partnerAvatarUrl","description":"When we fake the partner in as a speaker, this is their avatar.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"partnerDescription","description":"When we fake the partner in as a speaker, this is their \'bio.\'","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"partnerName","description":"When we fake the partner in as a speaker, this is their \'name.\'","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Decimal","description":"A precise decimal number","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DeleteUserPlaylistPayload","description":"Autogenerated return type of DeleteUserPlaylist","isOneOf":null,"fields":[{"name":"deletedPlaylistId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmailChangeError","description":"A refused email change, with copy the client renders as-is.","
1isOneOf":null,"fields":[{"name":"code","description":"Machine-readable reason the change was refused.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"EmailChangeErrorCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"Copy to show the viewer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"EmailChangeErrorCode","description":"Why an email change request was refused.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"EMAIL_UNAVAILABLE","description":"The requested address cannot be used for this account.","isDeprecated":false,"deprecationReason":null},{"name":"REQUEST_FAILED","description":"The request failed for another reason, such as an unusable address.","isDeprecated":false,"deprecationReason":null},{"name":"SSO_MANAGED","description":"The account was created through an SSO provider that owns its email.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"EventBadge","description":"Some extra schmutz that needs to go on the page in some cases.","isOneOf":null,"fields":[{"name":"imageUrl","description":"Why a URL, and not an Image? Because the client should not worry about the sizes, just put it on the page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"website","description":"If this is present, the image (see imageUrl) should be a hyperlink to this\\nURL. (...Why didn\'t we make this a URL field?) We\'re not sold on this name, btw.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ExtraStatus","description":"Statuses a TalkExtra can have","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"APPROVED","description":"it\'s approved","isDeprecated":false,"deprecationReason":null},{"name":"DRAFT","description":"it\'s a draft","isDeprecated":false,"deprecationReason":null},{"name":"EXPIRED","description":"it\'s expired","isDeprecated":false,"deprecationReason":null},{"name":"READY_FOR_COPY_EDIT","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Favorite","description":null,"isOneOf":null,"fields":[{"name":"favoriteable","description":"Primitive relational data for objects that have been favorited by a user","args":[],"type":{"kind":"OBJECT","name":"Favoriteable","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"favoriteableEntity","description":"GraphQL entities that the user has favorited","args":[],"type":{"kind":"UNION","name":"FavoriteableEntity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FavoriteConnection","description":"The connection type for Favorite.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"FavoriteEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Favorite","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FavoriteEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Favorite","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FavoriteInput","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Favoriteable","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"FavoriteableEntity","description":"Objects which may be favorited by a user","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"IdentityTalkType","ofType":null},{"kind":"OBJECT","name":"Playlist","ofType":null},{"kind":"OBJECT","name":"TalkTakeaway","ofType":null},{"kind":"OBJECT","name":"User","ofType":null}]},{"kind":"INPUT_OBJECT","name":"FavoriteableFilter","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FavoritesFilter","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"favoriteables","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FavoriteableFilter","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FinalizeAvatarMutationPayload","description":"Autogenerated return type of FinalizeAvatarMutation","isOneOf":null,"fields":[{"name":"viewer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FinalizeConferenceBadgePhotoPayload","description":"Autogenerated return type of FinalizeConferenceBadgePhoto.","isOneOf":null,"fields":[{"name":"badge","description":"The badge with its new photo. Null when errors is non-empty.","args":[],"type":{"kind":"OBJECT","name":"ConferenceBadge","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Flair","description":"A role or designation attached to a user (e.g. ted_speaker, ted_fellow,\\ntedx_organizer). Flairs are used to render badges on a profile and to unlock\\nrole-specific content.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"kind","description":"The flair identifier. One of the values in Flair.kinds (ted_speaker,\\nted_fellow, ted_translator, tedx_organizer, ted_member, etc).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The display label for this flair, e.g. \\"TED Speaker\\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"path","description":"Where this flair badge links to on ted.com.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FlairLink","description":"A flair badge label and where it links to, without exposing the underlying Flair\\nrecord. Used for the Speaker.flairLinks fallback, which has no backing Flair\\nwhen a speaker has no linked TED user.","isOneOf":null,"fields":[{"name":"label","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"path","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Follow","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subject","description":null,"args":[],"type":{"kind":"OBJECT","name":"FollowSubject","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FollowConnection","description":"The connection type for Follow.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"FollowEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Follow","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FollowEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Follow","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FollowSubject","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FollowSubjectInput","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FollowsFilter","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"subjects","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubjectFilter","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Footnote","description":"A footnote (citation or correction) from TalkExtras","isOneOf":null,"fields":[{"name":"annotation","description":"Only on citations, not corrections","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"author","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"category","description":"article, book, note, or video; only on citations, not corrections","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"date","description":"Date-ish text. Eg: \\"July 2006\\", \\"2003\\". Display as-is.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isPdf","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"source","description":"The source for the footnote: a journal, report, etc","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ExtraStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"timecode","description":"Minutes:seconds into the video. Eg: 01:23","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FormField","description":"A single form field for a multipart POST to S3 (e.g. \'policy\', \'signature\', \'key\').","isOneOf":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GeneratedAvatar","description":null,"isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"RASTER","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SVG","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"GiftMembership","description":null,"isOneOf":null,"fields":[{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"durationMonths","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"expiresAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"redeemedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\\"4\\"`) or integer (such as `4`) input value will be accepted as an ID.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ISO8601Date","description":"An ISO 8601-encoded date","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ISO8601DateTime","description":"An ISO 8601-encoded datetime","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IdentityLanguage","description":null,"isOneOf":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IdentityTalkType","description":null,"isOneOf":null,"fields":[{"name":"altheadline","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"talkType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Industry","description":null,"isOneOf":null,"fields":[{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"Represents untyped JSON","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LearnModule","description":"A learn module from talk extras. Aka \'More Resources.\'","isOneOf":null,"fields":[{"name":"author","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"blurb","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eyebrow","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"headline","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publisher","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ExtraStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"LearnModuleTypes","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"visibleUrl","description":"Not a URL: display text suitable for a link.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"year","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LearnModuleTypes","description":"Types a LearnModule can have","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BBC_RADIO4","description":"an old partnership","isDeprecated":false,"deprecationReason":null},{"name":"BOOK","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COMPANION_FILM","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EXTERNAL_WEBSITE","description":"an external website","isDeprecated":false,"deprecationReason":null},{"name":"FROM_THE_BLOG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"IMAGE_GALLERY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SINCE_THE_TALK","description":"what\'s happened since then?","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"LikableItemType","description":"Types of things a user can like (stored as favorites in Identity).","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PLAYLIST","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"LikeItemPayload","description":"Autogenerated return type of LikeItem","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"item","description":null,"args":[],"type":{"kind":"OBJECT","name":"LikedItem","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LikedItem","description":"An item (a video or playlist) a user has liked.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"itemId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"itemType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"LikableItemType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Link","description":"An external URL the user has listed on their profile.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MembershipEvent","description":null,"isOneOf":null,"fields":[{"name":"beginAt","description":"UTC beginning time of the membership event","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endAt","description":"UTC ending time of the membership event","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"ID of the membership event","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isRegistered","description":"User registered for the membership event?","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isSoldOut","description":"Membership candidate type sold out?","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"membershipEventSessions","description":"Sessions of the membership event","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MembershipEventSession","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"timezoneName","description":"IANA timezone name of the membership event","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Title of the membership event","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MembershipEventSession","description":null,"isOneOf":null,"fields":[{"name":"beginAt","description":"UTC beginning time of the membership event session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Description of the membership event session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endAt","description":"UTC ending time of the membership event session ","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eventId","description":"ID of the membership event","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"ID of the membership event session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"membershipEventSpeakers","description":"Speakers of the membership event session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MembershipEventSpeaker","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sessionFormatName","description":"Session format name, sometimes thought of as membership event type","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sessionSignupLabel","description":"Label of URL to join the membership event session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sessionSignupUrl","description":"URL to join the membership event session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Title of the membership event session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MembershipEventSpeaker","description":null,"isOneOf":null,"fields":[{"name":"avatar","description":"Photo URL of the membership event speaker","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Short description of the membership event speaker, aka nugget","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"First name of the membership event speaker","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"ID of the membership event speaker","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"Last name of the membership event speaker","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"middleName","description":"First name of the membership event speaker","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"Slug of the membership event speaker","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"speakerTalkTypeName","description":"Type of this speaker talk, either \\"Main Speaker\\" or \\"Interviewer\\"","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"whatOthersSay","description":"What other people say about the membership event speaker","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"whoTheyAre","description":"Longer description of the membership event speaker","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"whyListen","description":"Why people should listen to the membership event speaker","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MembershipSubscription","description":null,"isOneOf":null,"fields":[{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"expiresAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isCancelled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentPlatformId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"skuId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stripePrice","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"isOneOf":null,"fields":[{"name":"addPaymentMethod","description":null,"args":[{"name":"makeDefault","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AddPaymentMethodPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"addUserPlaylistTalk","description":null,"args":[{"name":"playlistId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"talkId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AddUserPlaylistTalkPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"addWatchedTalk","description":null,"args":[{"name":"talkInput","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"WatchedTalkInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AddWatchedTalkPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cancelMembershipEventRegistration","description":"Cancel an attendee\'s registration to a membership event","args":[{"name":"id","description":"the event id of the registration to be cancelled","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CancelMembershipEventRegistrationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cancelStripeSupporterSubscription","description":null,"args":[{"name":"additionalComments","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"email","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentAmount","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentInterval","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}
1],"type":{"kind":"OBJECT","name":"CancelStripeSupporterSubscriptionPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"clearSavedTalks","description":null,"args":[],"type":{"kind":"OBJECT","name":"ClearSavedTalksPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createAvatarUpload","description":null,"args":[{"name":"contentLength","description":"File size in bytes. Must be between 1 and 5,242,880 (5 MB).","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"contentType","description":"MIME type of the image. Must be image/jpeg, image/png, or image/webp.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CreateAvatarUploadMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createConferenceBadgePhotoUpload","description":"Begin a badge photo upload. Returns short-lived S3 credentials the client\\nPOSTs the image to, then finishes with finalizeConferenceBadgePhoto.","args":[{"name":"contentLength","description":"File size in bytes. Must be between 1 and 5,242,880 (5 MB).","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"contentType","description":"MIME type of the image. Must be image/jpeg, image/png, or image/webp.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CreateConferenceBadgePhotoUploadPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createConferenceSessionSignup","description":"Sign the viewer up for an optional activity, recording a preference to be\\nallocated later. Only while the conference\'s signup window is open.","args":[{"name":"preference","description":"Where the viewer ranks this against their other requests. 1 is the strongest. Defaults to 1.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sessionId","description":"The value ConferenceActivity.id returns.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CreateConferenceSessionSignupPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createOpenwebUserSession","description":null,"args":[{"name":"codeA","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CreateOpenwebUserSessionPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createPaymentIntentClientSecret","description":null,"args":[{"name":"priceAmountUsdCents","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CreatePaymentIntentClientSecretPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createStripeSupporterSubscription","description":null,"args":[{"name":"cardTokenId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use payment_method_id instead"},{"name":"email","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethodId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceAmountUsdCents","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"recaptchaToken","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionMetadata","description":null,"type":{"kind":"SCALAR","name":"SubscriptionMetadata","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}
1],"type":{"kind":"OBJECT","name":"CreateStripeSupporterSubscriptionPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createUserPlaylist","description":null,"args":[{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"talkIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"visibility","description":null,"type":{"kind":"ENUM","name":"UserPlaylistVisibility","ofType":null},"defaultValue":"PRIVATE","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CreateUserPlaylistPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createUserPlaylistShare","description":null,"args":[{"name":"playlistId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CreateUserPlaylistSharePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deleteUserPlaylist","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"DeleteUserPlaylistPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"finalizeAvatar","description":null,"args":[{"name":"contentType","description":"MIME type of the uploaded file. Must match what was presigned.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filename","description":"Original filename for display/audit. Not used for storage.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":"The S3 key returned by createAvatarUpload.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":"Size in bytes of the uploaded file.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"FinalizeAvatarMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"finalizeConferenceBadgePhoto","description":"Finish a badge photo upload started with createConferenceBadgePhotoUpload.\\nValidates the staged file and sets it as the viewer\'s badge photo.","args":[{"name":"contentType","description":"MIME type of the uploaded file. Must match what was presigned.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filename","description":"Original filename, for display and audit. Not used for storage.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":"The S3 key returned by createConferenceBadgePhotoUpload.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":"Size in bytes of the uploaded file. Must match the staged object.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FinalizeConferenceBadgePhotoPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"likeItem","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"itemType","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"LikableItemType","kind":"ENUM","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"LikeItemPayload","ofType":null},"isDeprecated":true,"deprecationReason":"Use toggleFavorite instead. Kept for the Roadrunner subgraph migration."},{"name":"purchaseGiftMembership","description":null,"args":[{"name":"cardTokenId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"dateToSend","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"giftMembershipMetadata","description":null,"type":{"kind":"SCALAR","name":"SubscriptionMetadata","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"personalMessage","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"recaptchaToken","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"recipientEmail","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"recipientFirstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"recipientLastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"senderEmail","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"senderFirstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"senderLastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PurchaseGiftMembershipPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"redeemGiftMembership","description":null,"args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RedeemGiftMembershipPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"redeemStripeSubscriptionToken","description":null,"args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RedeemStripeSubscriptionTokenPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"registerMembershipEvent","description":"Create an attendee\'s registration to a membership event","args":[{"name":"id","description":"the event id of the registration to be created","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RegisterMembershipEventPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeAvatar","description":null,"args":[],"type":{"kind":"OBJECT","name":"RemoveAvatarMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeConferenceSessionSignup","description":"Remove the viewer\'s own signup for an activity.","args":[{"name":"sessionId","description":"The value ConferenceActivity.id returns.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"RemoveConferenceSessionSignupPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removePaymentMethod","description":null,"args":[{"name":"paymentMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RemovePaymentMethodPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeUserPlaylistTalk","description":null,"args":[{"name":"playlistId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"talkId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RemoveUserPlaylistTalkPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeYourListItem","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RemoveYourListItemPayload","ofType":null},"isDeprecated":true,"deprecationReason":"Kept for the Roadrunner subgraph migration. Prefer a future unified save-for-later mutation."},{"name":"renewExpiredStripeSubscriptionToken","description":null,"args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RenewExpiredStripeSubscriptionTokenPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"reorderUserPlaylistTalks","description":null,"args":[{"name":"playlistId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"talkIds","description":"Complete ordered list of talk IDs. Must match existing talks exactly.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ReorderUserPlaylistTalksPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requestEmailChange","description":null,"args":[{"name":"email","description":"The new email address to verify for the viewer\'s account.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RequestEmailChangePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requestPasswordReset","description":null,"args":[],"type":{"kind":"OBJECT","name":"RequestPasswordResetPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"resubscribeToNewsletters","description":"After an email opt-out, resume only the chosen newsletters for the signed-in\\nviewer\'s verified primary email. Every other newsletter stays off.","args":[{"name":"confirmed","description":"Must be true: the viewer confirmed that only these newsletters resume","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"requestId","description":"Client id for one logical resubscribe, echoed back. Retries reuse it. Up to 64 letters, digits, - or _.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"selections","description":"Newsletters to resume; every other newsletter stays off","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"NewsletterSelectionInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ResubscribeToNewslettersPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"saveVideoToYourList","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"secondsPlayed","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"SaveVideoToYourListPayload","ofType":null},"isDeprecated":true,"deprecationReason":"Kept for the Roadrunner subgraph migration. Prefer a future unified save-for-later mutation."},{"name":"subscribeToNewsletters","description":"Subscribe one address to newsletters and report what Sailthru confirms. Works signed out.","args":[{"name":"email","description":"Address to subscribe. Per-newsletter status comes back only for the viewer\'s verified address.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"honeypot","description":"Leave empty.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"requestId","description":"Client id for one logical signup, echoed back. Retries reuse it. Up to 64 letters, digits, - or _.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"selections","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"NewsletterSelectionInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"signupCountryCode","description":"ISO 3166-1 alpha-2 country as reported by the client; stored as a Sailthru var only","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"source","description":"Acquisition source written to each *_source var, e.g. newsletter-page","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"SubscribeToNewslettersPayload","ofType":null},"i
1sDeprecated":false,"deprecationReason":null},{"name":"toggleFavorite","description":null,"args":[{"name":"favoriteable","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FavoriteInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shouldFavorite","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ToggleFavoriteMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"toggleFollow","description":null,"args":[{"name":"shouldFollow","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subject","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FollowSubjectInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ToggleFollowMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"toggleSavedPlaylist","description":null,"args":[{"name":"playlistId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shouldSaveForLater","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ToggleSavedPlaylistMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unlikeItem","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UnlikeItemPayload","ofType":null},"isDeprecated":true,"deprecationReason":"Use toggleFavorite instead. Kept for the Roadrunner subgraph migration."},{"name":"unsubscribeFromNewsletter","description":"Unsubscribe the signed-in viewer\'s verified primary email from one newsletter edition.","args":[{"name":"edition","description":"daily or weekly; required for TED-Ed","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"newsletterId","description":"Registry id, e.g. daily, ted_ed, tech","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UnsubscribeFromNewsletterPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updateConferenceBadge","description":"Update the viewer\'s own conference badge. There is one badge per person, so this changes what every conference prints.","args":[{"name":"askMeAbout","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"organization","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pronouns","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tedxEventName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Update
1ConferenceBadgePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateDefaultPaymentMethod","description":null,"args":[{"name":"paymentMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdateDefaultPaymentMethodPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updateName","description":null,"args":[{"name":"firstName","description":"The viewer\'s first name.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The viewer\'s last name.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdateNamePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatePassword","description":null,"args":[{"name":"currentPassword","description":"The viewer\'s existing password, verified before the change is applied.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"newPassword","description":"The new password to set on the viewer\'s account.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdatePasswordPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatePreferredLanguage","description":null,"args":[{"name":"languageId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdatePreferredLanguagePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatePrivacySetting","description":null,"args":[{"name":"setting","description":"Who should be able to see the viewer profile.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PrivacySetting","kind":"ENUM","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdatePrivacySettingPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updateProfile","description":null,"args":[{"name":"biographies","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProfileBiographyInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"companyName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"links","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProfileLinkInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"occupationName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"personaIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"place","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProfilePlaceInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skills","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProfileNamedRecordInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"universities","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProfileNamedRecordInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdateProfilePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updateSailthruVarsMutation","description":null,"args":[{"name":"email","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}
1,{"name":"lists","description":"Sailthru natural list names to add the address to at subscribe time.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"removeLists","description":"Sailthru natural list names to remove the address from at save time.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"signupCountryCode","description":"ISO 3166-1 alpha-2 country as reported by the client; stored in the signup_country_code var.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"varsData","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SailthruVarsInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdateSailthruVarsMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updateUserMutation","description":null,"args":[{"name":"bornOn","description":"born_on date in the following format: \'YYYY-MM-DD\'","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The viewer\'s email address.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The viewer\'s first name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"industryId","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The viewer\'s last name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdateUserMutationPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updateUserPlaylist","description":null,"args":[{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"visibility","description":null,"type":{"kind":"ENUM","name":"UserPlaylistVisibility","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdateUserPlaylistPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updateUserPlaylistTalkMemberships","description":null,"args":[{"name":"playlistIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"talkId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UpdateUserPlaylistTalkMembershipsPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"withdrawConferenceApplication","description":"Withdraw the viewer\'s own application to a conference.","args":[{"name":"conferenceId","description":"The value Conference.id returns.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"WithdrawConferenceApplicationPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NameMutationError","description":null,"isOneOf":null,"fields":[{"name":"code","description":"Why the name was refused. Branch on this, never on message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"NameMutationErrorCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The input that failed, e.g. \\"firstName\\". Null for a form-level failure.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"Human-readable, written to sit beside the failed field. The wording is not a contract.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"NameMutationErrorCode","description":"Why a name update refused its input. Branch on this, never on the message.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INVALID_
1NAME","description":"The name was blank or failed the account\'s name validation.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_MANY_ATTEMPTS","description":"Too many name updates for this account. Wait and try again.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATE_FAILED","description":"The account could not be saved for a reason unrelated to the name.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"NativeDownloads","description":null,"isOneOf":null,"fields":[{"name":"high","description":"A hi-res download","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"low","description":"A low-res download","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"medium","description":"A medium-res download","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"NewsletterResubscribeResult","description":"The one overall result of a resubscribe request.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BLOCKED","description":"Email to this address is blocked, for example after a bounce or complaint, and resubscribing cannot lift it","isDeprecated":false,"deprecationReason":null},{"name":"SUCCESS","description":"The chosen newsletters are confirmed active and every other newsletter is confirmed off","isDeprecated":false,"deprecationReason":null},{"name":"UNCONFIRMED","description":"Not confirmed. Newsletters that were not chosen stay off, so try again later","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NewsletterSelectionInput","description":"One newsletter a visitor asked to receive.","isOneOf":false,"fields":null,"inputFields":[{"name":"edition","description":"daily or weekly for TED-Ed; daily when omitted","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"newsletterId","description":"Registry id, e.g. daily, ted_ed, tech","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"NewsletterSignupOutcome","description":"What happened to one requested newsletter edition.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALREADY_ACTIVE","description":"Was active before this request; nothing was written","isDeprecated":false,"deprecationReason":null},{"name":"FAILED","description":"Confirmed not deliverable; see status","isDeprecated":false,"deprecationReason":null},{"name":"NEW","description":"Confirmed active by this request","isDeprecated":false,"deprecationReason":null},{"name":"UNCONFIRMED","description":"Sailthru did not confirm this edition","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"NewsletterSignupResult","description":"The one overall result of a signup request.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ERROR","description":"At least one requested newsletter is confirmed undeliverable; nothing to retry blindly","isDeprecated":false,"deprecationReason":null},{"name":"SUCCESS","description":"Every requested newsletter is confirmed active","isDeprecated":false,"deprecationReason":null},{"name":"UNCONFIRMED","description":"Sailthru did not confirm the result and some writes may have saved; try again later","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"NewsletterSubscription","description":"One newsletter edition\'s delivery status for the viewer.","isOneOf":null,"fields":[{"name":"edition","description":"daily or weekly for TED-Ed; null for single-edition newsletters","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"newsletterId","description":"Stable id shared with the web gallery, e.g. daily, ted_ed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"NewsletterSubscriptionStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NewsletterSubscriptionOutcome","description":"One requested newsletter edition after a signup request.","isOneOf":null,"fields":[{"name":"edition","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"newsletterId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"outcome","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"NewsletterSignupOutcome","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"Delivery status after the request. Null unless the address is the signed-in viewer\'s own.","args":[],"type":{"kind":"ENUM","name":"NewsletterSubscriptionStatus","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"NewsletterSubscriptionStatus","description":"Whether Sailthru would deliver a newsletter to the viewer today.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ACTIVE","description":"Subscribed and on the list Sailthru sends to","isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_BLOCKED","description":"Subscribed, but Sailthru will not deliver (invalid or suppressed address)","isDeprecated":false,"deprecationReason":null}
1,{"name":"NOT_SUBSCRIBED","description":"No subscription on this profile","isDeprecated":false,"deprecationReason":null},{"name":"OPT_OUT","description":"The profile opted out of TED email; only an explicit resubscribe restores delivery","isDeprecated":false,"deprecationReason":null},{"name":"UNKNOWN","description":"The Sailthru lookup failed; retry instead of treating the profile as unsubscribed","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"NewsletterUnsubscribeResult","description":"The result of unsubscribing from one newsletter edition.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SUCCESS","description":"Sailthru confirms the edition is not subscribed","isDeprecated":false,"deprecationReason":null},{"name":"UNCONFIRMED","description":"Sailthru did not confirm the unsubscribe; try again later","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Occupation","description":"A user\'s stated occupation.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"OrderOptions","description":"Results order sorting options","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":"Sort results in ascending order","isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":"Sort results in descending order","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderingOptions","description":"Results sort order, when not provided, order defaults to `playlist#updated_at`","isOneOf":false,"fields":null,"inputFields":[{"name":"displayOrder","description":"Order by `display_order`","type":{"kind":"ENUM","name":"OrderOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredSlot","description":"Order by featured slot, meant to be used with the `in_featured_slot` filter.","type":{"kind":"ENUM","name":"OrderOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"Order by `updated_at`","type":{"kind":"ENUM","name":"OrderOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PageInfo","description":"Information about pagination in a connection.","isOneOf":null,"fields":[{"name":"endCursor","description":"When paginating forwards, the cursor to continue.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hasNextPage","description":"When paginating forwards, are there more items?","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasPreviousPage","description":"When paginating backwards, are there more items?","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startCursor","description":"When paginating backwards, the cursor to continue.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Pancake","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastPublishedVersion","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"playlists","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PlaylistConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PancakeConnection","description":"The connection type for Pancake.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"PancakeEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Pancake","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PancakeEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Pancake","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Paragraph","description":null,"isOneOf":null,"fields":[{"name":"cues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Cue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PartnerContent","description":null,"isOneOf":null,"fields":[{"name":"blurb","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"primaryImageUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordMutationError","description":null,"isOneOf":null,"fields":[{"name":"code","description":"Why the value was refused. Branch on this, never on message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PasswordMutationErrorCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The input that failed, e.g. \\"currentPassword\\". Null for a form-level failure.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"Human-readable. The wording is not a contract.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PasswordMutationErrorCode","description":"Why a password mutation refused its input. Branch on this, never on the message.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INVALID_CURRENT_PASSWORD","description":"The supplied current password was missing or did not match.","isDeprecated":false,"deprecationReason":null}
1,{"name":"INVALID_NEW_PASSWORD","description":"The new password failed the account\'s password validation.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_MANY_ATTEMPTS","description":"Too many password changes or reset requests for this account. Try again later.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethod","description":null,"isOneOf":null,"fields":[{"name":"card","description":null,"args":[],"type":{"kind":"OBJECT","name":"Card","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PeopleSearchFiltersInput","description":"Filters for TED community profile search.","isOneOf":false,"fields":null,"inputFields":[{"name":"country","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"eventSlugs","description":"TED event slugs used for event-attendee filtering.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"excludeFlairs","description":"Drops people carrying any of these flairs. A caller that surfaces speakers or\\nfellows from elsewhere uses this to keep the same person from also arriving as\\na community member.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fellowClass","description":"TED Fellows class names used by the Fellows directory.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languages","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"role","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skills","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"universities","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PeopleSearchKind","description":"Supported TED people directory searches.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"COMMUNITY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FELLOWS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TEDX_ORGANIZERS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TRANSLATORS","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"PeopleSearchPageInfo","description":"Pagination metadata for TED community profile search.","isOneOf":null,"fields":[{"name":"hasNextPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasPreviousPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxPerPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxResultWindow","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PeopleSearchPlace","description":null,"isOneOf":null,"fields":[{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PeopleSearchProfile","description":"A public profile result from TED community search.","isOneOf":null,"fields":[{"name":"avatarUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"byline","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"generatedAvatarUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UserName","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passion","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"place","description":null,"args":[],"type":{"kind":"OBJECT","name":"PeopleSearchPlace","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"profileId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"profilePath","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PeopleSearchResult","description":"Paginated TED community search results.","isOneOf":null,"fields":[{"name":"pageInfo","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PeopleSearchPageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"profiles","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PeopleSearchProfile","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PeopleSearchSort","description":"Supported sort orders for TED community search.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"FIRST","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"LAST","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TRANSLATIONS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UPDATED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Persona","description":"A persona tag associated with a user (e.g. \'teacher\', \'entrepreneur\').","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PhotoSize","description":null,"isOneOf":null,"fields":[{"name":"aspectRatio","description":"Width / height.","args":[],"type":{"kind":"OBJECT","name":"AspectRatio","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"aspectRatioName","description":"Either a short string of the ratio, or a descriptive name for it like Facebook.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":"The height of the photo in pixels.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":"The width of the photo in pixels.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Place","description":"A user\'s stated location: city, state, and country.","isOneOf":null,"fields":[{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The country name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"countryId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":"The state/region name, if set. Null when the country has no states or the user didn\'t specify one.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stateId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Platform","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pancakes","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PancakeConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ribbons","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"RibbonConnection","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"spotlightUnits","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"SpotlightUnitConnection","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"PlayerData","description":"A string of JSON, that can be parsed, and passed to the TED video player. For a\\nstructured / typed view of the same data, use Video.videoPlayerData.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Playlist","description":null,"isOneOf":null,"fields":[{"name":"author","description":"Who put this playlist together? It\'s usually \'TED.\'","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Plain-text, not HTML.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"displayOrder","description":"A unix timestamp integer. Nicely sortable.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":"Duration of the whole playlist, in seconds.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredSlotNumber","description":"Playlists with this value should appear on the homepage, sorted by this.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"primaryImageSet","description":"A playlist can have >1 photoset in talkstar. This is its primary one. Pick your aspect ratio.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PhotoSize","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":"Whether the talk has been published to the world yet.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seasonLabel","description":"A label to use for the playlist season in the front-end. For example \\"2019\\".","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"seasonNumber","description":"If this playlist is part of a season, this tells you which season it is.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"series","description":"The series that this playlist belongs to","args":[],"type":{"kind":"OBJECT","name":"Series","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"socialDescription","description":"Use this description when sharing the playlist to social media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"socialTitle","description":"Use this title when sharing the playlist to social media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"videos","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"VideoConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PlaylistConnection","description":"The connection type for Playlist.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"PlaylistEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Playlist","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PlaylistEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Playlist","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PlaylistItem","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"itemId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"itemType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"playlistId","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"secondsPlayed","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"watched","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PlaylistItemConnection","description":"The connection type for PlaylistItem.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"PlaylistItemEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"PlaylistItem","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PlaylistItemEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"PlaylistItem","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PreferredUserLanguage","description":null,"isOneOf":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PrivacySetting","description":"Who can see the user profile","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CONFERENCE_ONLY","description":"Visible only to fellow conference attendees","isDeprecated":false,"deprecationReason":null},{"name":"EVERYONE","description":"Visible to anyone","isDeprecated":false,"deprecationReason":null},{"name":"MEMBERS_ONLY","description":"Visible only to signed-in TED members","isDeprecated":false,"deprecationReason":null},{"name":"NO_ONE","description":"Hidden from everyone","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProfileBiographyInput","description":"A biographical entry to update on the viewer\'s public profile.","isOneOf":false,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProfileCommunity","description":"A TED community affiliation rendered in the public profile sidebar.","isOneOf":null,"fields":[{"name":"details","description":"Detail strings for the affiliation, such as event names or translator\\nlanguages. Empty when there are no additional details.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"kind","description":"The underlying flair kind, such as ted_attendee or ted_translator.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProfileLinkInput","description":"An external link to update on the viewer\'s public profile.","isOneOf":false,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProfileMutationError","description":"A single reason a mutation could not apply one of its inputs.","isOneOf":null,"fields":[{"name":"code","description":"Why the value was refused. Branch on this, never on message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProfileMutationErrorCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The input path that failed, e.g. \\"skills\\" or \\"occupationName\\". Null for a form-level failure.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"Human-readable. The wording is not a contract.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProfileMutationErrorCode","description":"Why a mutation refused one of its inputs. Branch on this, never on the message.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALREADY_TAKEN","description":"The value collides with something else already saved, e.g. a duplicate skill name.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_VALUE","description":"The value failed validation for a reason none of the other codes cover.","isDeprecated":false,"deprecationReason":null},{"name":"REQUIRED","description":"The field is required and was blank.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_LONG","description":"The value exceeds the field\'s maximum length.","isDeprecated":false,"deprecationReason":null},{"name":"UNSUPPORTED_CHARACTER","description":"The value contains a character this field rejects, e.g. emoji.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProfileNamedRecordInput","description":"A named profile record, such as a skill or university.","isOneOf":false,"fields":null,"inputFields":[{"name":"destroy","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProfilePlaceInput","description":"The viewer\'s public profile location.","isOneOf":false,"fields":null,"inputFields":[{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stateId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PurchaseGiftMembershipPayload","description":"Autogenerated return type of PurchaseGiftMembership","isOneOf":null,"fields":[{"name":"giftMembershipToken","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"success","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Query","description":"Global site search. Result t
1ypes are cards, not entities: they carry no @key.","isOneOf":null,"fields":[{"name":"acmeLanguages","description":null,"args":[{"name":"activeOnly","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AcmeLanguageConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"acmeSpeaker","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AcmeSpeaker","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"acmeSpeakers","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AcmeSpeakerConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authPing","description":"Simple GraphQL probe for auth federation wiring.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"conference","description":"One conference the viewer may open, by slug. Null when it does not exist, when\\nthe viewer has no access to it, or when there is no viewer.","args":[{"name":"slug","description":"The value Conference.slug returns, which is the event\'s title_slug.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Conference","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"conferenceBadge","description":"The viewer\'s own conference badge. Null when there is no viewer or they have\\nno badge yet. One badge per person, shared across conferences.","args":[],"type":{"kind":"OBJECT","name":"ConferenceBadge","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"conferences","description":"Conferences the viewer may open in the dashboard, earliest first. Empty when there is no viewer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Conference","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"countries","description":"Returns all countries available for profile locations","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Country","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"doYouLikeItem","description":"Returns the viewer\'s Favorite for the given item, if one exists.","args":[{"name":"itemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"itemType","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"LikableItemType","kind":"ENUM","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"LikedItem","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"identityLanguages","description":"Returns all languages","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"IdentityLanguage","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"identityPing","description":"A simple query that relies on nothing. Suitable for specs and health-checks.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"industries","description":"Returns all industries","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Industry","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"membershipEvents","description":"membership events","args":[{"name":"public","description":"intended for public and non-membership viewers when true, the events have public sessions and return public descriptions","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MembershipEvent","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"peopleSearch","description":"Search public TED community profiles using server-side filtering, privacy rules, and pagination.","args":[{"name":"filters","description":null,"type":{"kind":"INPUT_OBJECT","name":"PeopleSearchFiltersInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"kind","description":null,"type":{"kind":"ENUM","name":"PeopleSearchKind","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"q","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":null,"type":{"kind":"ENUM","name":"PeopleSearchSort","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PeopleSearchResult","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"personas","description":"Returns all personas available for public profiles","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Persona","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"platform","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Platform","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"playlist","description":"Look up a single playlist by id or slug. Published only unless the server\\nauthorizes preview. Otherwise unpublished and unknown identifiers return null.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Playlist","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"playlists","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"curator","description":"Filter playlists by curator.","type":{"kind":"ENUM","name":"CuratorOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featured","description":"When `true` limit results to playlists in the \\"featured\\" channel.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inFeaturedSlot","description":"When `true` limit results to playlists which have a `featured_slot_number`.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"Results ordering options.","type":{"kind":"INPUT_OBJECT","name":"OrderingOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"published","description":"Ignored. This field only ever returns published playlists.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"topics","description":"An Array of topics which playlists should belong to, this is an OR not an AND.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PlaylistConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":null,"args":[{"name":"category","description":"Omit for all results.","type":{"kind":"ENUM","name":"SearchCategory","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":"Capped at 30.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"30","isDeprecated":false,"deprecationReason":null},{"name":"q","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchResults","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"searchSuggest","description":"Type-ahead. Separate from `search` because it is served through a cached GET.","args":[{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"8","isDeprecated":false,"deprecationReason":null},{"name":"q","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchSuggestions","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"series","description":null,"args":[{"name":"slug","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Series","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shimInfo","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ShimInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"speaker","description":"Look up a single federated Speaker by id. Published only, unless the request\\ncarries an authorized preview. An unpublished id and an unknown id are both\\nnull, so neither reveals that the other exists.","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Speaker","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"speakerDirectory","description":"Search the published-speaker directory. Same query semantics as the Roadrunner /speakers index.","args":[{"name":"events","description":"Filter to an event context, e.g. \'TED2019\'.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":"Capped at 30.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"30","isDeprecated":false,"deprecationReason":null},{"name":"q","description":"Free-text query matched against names, events, topics, and bios.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":null,"type":{"kind":"ENUM","name":"SpeakerDirectorySort","ofType":null},"defaultValue":"LAST_NAME","isDeprecated":false,"deprecationReason":null},{"name":"topics","description":"Filter to one or more topic tags (AND semantics).","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SpeakerDirectory","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"speakerPage","description":"Resolve a speaker page by canonical slug or legacy numeric route id, returning\\nthe found speaker, a redirect target, or a not-found result. Mirrors the\\nRoadrunner /speakers resolution order. Exactly one of `slug` or `legacyId`\\nmust be provided.","args":[{"name":"legacyId","description":"A /speakers/view/id/:id route id that redirects to the canonical slug.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"A speaker slug, or a numeric id that redirects to its canonical slug.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SpeakerPageResult","kind":"UNION","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"states","description":"Returns all states/regions available for profile locations","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"State","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"tedxEvent","description":"Look up a single TEDx event by numeric id. Mirrors the Roadrunner /tedx/events/:id resolution order.","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TedxEventResult","kind":"UNION","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tedxEventAutocomplete","description":"Suggestion terms for the TEDx directory filter box, grouped into events,\\nlocations, and types. Mirrors the Roadrunner /tedx/events/autocomplete endpoint.","args":[{"name":"term","description":"What the viewer has typed. A blank term returns empty groups.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"when","description":"Which side of today `places` must have events on. Defaults to upcoming.","type":{"kind":"ENUM","name":"TedxEventWhen","ofType":null},"defaultValue":"UPCOMING","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TedxEventAutocomplete","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tedxEventPoints","description":"Map markers for the TEDx directory. Takes the same filters as `tedxEvents` and\\nreturns every match in one unpaginated response, up to a cap; check\\n`truncated`. Ordered like the list, so the markers correspond to its first\\npage. Mirrors the Roadrunner /tedx/events/points endpoint, including that the\\nmap uses a looser \\"upcoming\\" boundary than the list.","args":[{"name":"autocompleteFilter","description":"A term picked from `tedxEventAutocomplete`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"month","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"place","description":"A place picked from `tedxEventAutocomplete.places`. Matches the city and\\ncountry the card shows, so San Jose, United States leaves out San José, Costa Rica.","type":{"kind":"INPUT_OBJECT","name":"TedxEventPlaceInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stream","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"when","description":"Which side of today to plot. Defaults to upcoming.","type":{"kind":"ENUM","name":"TedxEventWhen","ofType":null},"defaultValue":"UPCOMING","isDeprecated":false,"deprecationReason":null},{"name":"year","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TedxEventPoints","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tedxEvents","description":"The TEDx event directory. Mirrors the Roadrunner /tedx/events index filters and ordering, read from the junction.","args":[{"name":"autocompleteFilter","description":"A term picked from `tedxEventAutocomplete`. Narrows to events whose group\\nname, venue, or event type matches it. Matches Roadrunner, which searches\\nevent type here even though it never suggests one from a venue.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"available","description":"Only events that are neither full nor private.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"month","description":"Restrict to a month within `year`. Ignored without `year`, and ignored when outside 1-12.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"page","description":"Clamped to 1000, matching Roadrunner\'s max_page.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":"Defaults to Roadrunner\'s page size of 50 and is clamped to its max_per_page of 100.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"50","isDeprecated":false,"deprecationReason":null},{"name":"place","description":"A place picked from `tedxEventAutocomplete.places`. Matches the city and\\ncountry the card shows, so San Jose, United States leaves out San José, Costa Rica.","type":{"kind":"INPUT_OBJECT","name":"TedxEventPlaceInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stream","description":"Only events with a webcast.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"when","description":"Which side of today to list. Defaults to upcoming.","type":{"kind":"ENUM","name":"TedxEventWhen","ofType":null},"defaultValue":"UPCOMING","isDeprecated":false,"deprecationReason":null},{"name":"year","description":"Restrict to a calendar year. Out-of-range years are ignored, matching Roadrunner.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TedxEventDirectory","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"topic","description":null,"args":[{"name":"slug","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Topic","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"topicList","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TopicListItemConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translation","description":null,"args":[{"name":"language","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"videoId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Translation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userPlaylist","description":"Returns a user-created playlist visible to the current viewer.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shareToken","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UserPlaylist","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userProfile","description":"Fetch a user\'s public profile by their TED profile ID, with TED user ID as a\\nfallback. Distinct from the authenticated viewer — returns only the\\noutward-facing fields a user has chosen to publish, shaped by their privacy setting.","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"UserProfile","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userProfiles","description":"Fetch public profiles in bulk by TED profile IDs, with TED user IDs as a fallback.","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"UserProfile","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"video","description":"Look up a single federated Video by id or slug, scoped to a channel and\\nlanguage. Mirrors the RR `video(...)` root query for federated parity. Exactly\\none of `id` or `slug` must be provided.","args":[{"name":"channelId","description":"Which channel to use.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"2","isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\\"en\\"","isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Video","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"videos","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channel","description":"Which channel to use.","type":{"kind":"ENUM","name":"ChannelOptions","ofType":null},"defaultValue":"FEATURED","isDeprecated":false,"deprecationReason":null},{"name":"dubbedOnly","description":"When true, returns only talks that have at least one dubbed-audio stream.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Int","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPublished","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}}},"defaultValue":"[true]","isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\\"x-orig\\"","isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"symfonyMediaSlug","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"VideoConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":"Find a user","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"yourListItem","description":"Returns the viewer\'s save-for-later PlaylistItem for the given item, if one exists.","args":[{"name":"itemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecat
1ionReason":null},{"name":"itemType","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"YourListItemType","kind":"ENUM","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"YourListItem","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"RecItemLabel","description":"What kind of recommendation item is it?","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"EXPLORE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"LISTEN","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"READ_ARTICLE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"READ_BOOK","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"WATCH","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Recommendation","description":"A recommendation with nested lists of items","isOneOf":null,"fields":[{"name":"blurb","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"recLists","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"RecommendationList","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RecommendationItem","description":"A recommendation item","isOneOf":null,"fields":[{"name":"blurb","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eyebrow","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"headline","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isPdf","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"RecItemLabel","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linkUrl","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RecommendationList","description":"A recommendation list containing recommendation items","isOneOf":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"recItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"RecommendationItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RedeemGiftMembershipPayload","description":"Autogenerated return type of RedeemGiftMembership","isOneOf":null,"fields":[{"name":"status","de
1scription":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RedeemStripeSubscriptionTokenPayload","description":"Autogenerated return type of RedeemStripeSubscriptionToken","isOneOf":null,"fields":[{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"RedeemSubscriptionTokenStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"RedeemSubscriptionTokenStatus","description":"Types of things that can be happen when you redeem a SubscriptionToken","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SUCCESS","description":"All clear: the token was just successfully redeemed.","isDeprecated":false,"deprecationReason":null},{"name":"TOKEN_ALREADY_REDEEMED","description":"This token was already redeemed","isDeprecated":false,"deprecationReason":null},{"name":"TOKEN_EXPIRED","description":"This token has expired; try renewing it.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"RegisterMembershipEventPayload","description":"Autogenerated return type of RegisterMembershipEvent.","isOneOf":null,"fields":[{"name":"membershipEvent","description":null,"args":[],"type":{"kind":"OBJECT","name":"MembershipEvent","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RemoveAvatarMutationPayload","description":"Autogenerated return type of RemoveAvatarMutation","isOneOf":null,"fields":[{"name":"viewer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RemoveConferenceSessionSignupPayload","description":"Autogenerated return type of RemoveConferenceSessionSignup.","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removed","description":"True once the signup is removed. Null when errors is non-empty.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RemovePaymentMethodPayload","description":"Autogenerated return type of RemovePaymentMethod","isOneOf":null,"fields":[{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RemoveUserPlaylistTalkPayload","description":"Autogenerated return type of RemoveUserPlaylistTalk","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"playlist","description":null,"args":[],"type":{"kind":"OBJECT","name":"UserPlaylist","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RemoveYourListItemPayload","description":"Autogenerated return type of RemoveYourListItem","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"item","description":null,"args":[],"type":{"kind":"OBJECT","name":"YourListItem","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RenewExpiredStripeSubscriptionTokenPayload","description":"Autogenerated return type of RenewExpiredStripeSubscriptionToken","isOneOf":null,"fields":[{"name":"status","de
1scription":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"RenewExpiredSubscriptionTokenStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"RenewExpiredSubscriptionTokenStatus","description":"Types of things that can be happen when you renew an expired SubscriptionToken","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SUCCESS","description":"All clear: the token was successfully renewed","isDeprecated":false,"deprecationReason":null},{"name":"TOKEN_ALREADY_REDEEMED","description":"This token was already redeemed","isDeprecated":false,"deprecationReason":null},{"name":"TOKEN_NOT_EXPIRED","description":"This token hasn\'t expired yet","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ReorderUserPlaylistTalksPayload","description":"Autogenerated return type of ReorderUserPlaylistTalks","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"playlist","description":null,"args":[],"type":{"kind":"OBJECT","name":"UserPlaylist","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RequestEmailChangePayload","description":"Autogenerated return type of RequestEmailChange","isOneOf":null,"fields":[{"name":"emailChangeRequested","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"error","description":"Set when the change was refused, null when it was accepted.","args":[],"type":{"kind":"OBJECT","name":"EmailChangeError","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"Copy for the viewer; generic on a refusal, where error.message wins.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RequestPasswordResetPayload","description":"Autogenerated return type of RequestPasswordReset","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PasswordMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ResubscribeToNewslettersPayload","description":"Autogenerated return type of ResubscribeToNewsletters","isOneOf":null,"fields":[{"name":"requestId","description":"The requestId argument, echoed back","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result","description":"One overall result for the whole request","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"NewsletterResubscribeResult","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptions","description":"One row per chosen edition, with its delivery status after the request","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"NewsletterSubscriptionOutcome","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Ribbon","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastPublishedVersion","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"live","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"slots","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"SlotConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sponsorLogo","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sponsorName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sponsored","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RibbonConnection","description":"The connection type for Ribbon.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"RibbonEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Ribbon","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RibbonEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Ribbon","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SailthruUserVars","description":"Variables for a Sailthru user, only those with values will be returned by ST.","isOneOf":null,"fields":[{"name":"confirmOptinRequired","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countdownNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countdownNewsletterOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countdownNewsletterSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countdownNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"numberOfNewslettersSubscribed","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicArtAndDesign","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicBusiness","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicClimateChange","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicEducation","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicHealth","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicMusicAndPerformance","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicNature","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicPersonalGrowth","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicPsychology","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicScience","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicSocietyAndCulture","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicSurpriseMe","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supertopicTechnology","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"tedEdDailyNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEdDailyNewsletterOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEdDailyNewsletterSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEdDailyNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEdWeeklyNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEdWeeklyNewsletterOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEdWeeklyNewsletterSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEdWeeklyNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEnEspanolNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedEnEspanolNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedMembershipNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedMembershipNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedRecommendsNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedRecommendsNewsletterOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedRecommendsNewsletterSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedRecommendsNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksBusinessNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksBusinessNewsletterOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksBusinessNewsletterSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksBusinessNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksDailyNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksDailyNewsletterOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksDailyNewsletterSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksDailyNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksTechNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksTechNewsletterOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksTechNewsletterSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedTalksTechNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesConferences","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesConferencesOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesConferencesSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesImpact","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesImpactOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesImpactSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesOnlineEvents","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesOnlineEventsOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesOnlineEventsSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesSupport","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesSupportOptinDate","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedUpdatesSupportSource","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedWeekInIdeasNewsletterFrequency","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedWeekInIdeasNewsletterSubscriber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null}
1,{"kind":"OBJECT","name":"SailthruVars","description":"Returns a Sailthru API user vars payload.","isOneOf":null,"fields":[{"name":"vars","description":null,"args":[],"type":{"kind":"OBJECT","name":"SailthruUserVars","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SailthruVarsInput","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"enabled","description":"Whether the variable is true or false.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"frequency","description":"Cadence of the subscription frequency for newsletter. Ei: Biweekly, monthly etc.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Name of the Sailthru var.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optinDate","description":"Date when the optin ocurred Ei: \\"2024-10-03\\" etc.","type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"source","description":"Where the optin originates from. Ei: interests-page etc.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subscribed","description":"Whether the user is subscribed if this is a newsletter.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SaveVideoToYourListPayload","description":"Autogenerated return type of SaveVideoToYourList","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"item","description":null,"args":[],"type":{"kind":"OBJECT","name":"YourListItem","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchBlogPost","description":null,"isOneOf":null,"fields":[{"name":"excerpt","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SearchCategory","description":null,"isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BLOG_POSTS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAGES","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PEOPLE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PLAYLISTS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TEDX_EVENTS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEOS","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SearchCategoryCount","description":null,"isOneOf":null,"fields":[{"name":"category","de
1scription":"The enum, never a display string. Clients own the copy so it can localise.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchCategory","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unavailable","description":"True when this category\'s source failed, so the interface can say so.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchPage","description":"Editorial pages. Sourced from the legacy Page Builder index today; the Prismic\\nproducer (WEB-5575) writes behind this same type.","isOneOf":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchPageInfo","description":null,"isOneOf":null,"fields":[{"name":"hasNext","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasPrevious","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchPerson","description":"Speakers and fellows, from the index.\\n\\nCommunity members are deliberately absent: they come from Identity\'s\\n`peopleSearch`, which a client requests in a separate operation. Both root\\nfields are non-null, so one operation asking for both returns nothing at all\\nwhen either service is down; measured with Identity unreachable, that cost\\nevery search result. Two operations keep Identity\'s privacy rules inside\\nIdentity, avoid this service holding another service\'s credentials, and let\\neach half fail on its own.","isOneOf":null,"fields":[{"name":"avatarUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchPersonKind","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"role","description":"Role or byline, whichever the source carries.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SearchPersonKind","description":null,"isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"FELLOW","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SPEAKER","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SearchPinnedResult","description":"An editorially promoted destination, surfaced only for specific terms.","isOneOf":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchPlaylist","description":null,"isOneOf":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"talkCount","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"thumbnailUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResult","description":null,"isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"SearchBlogPost","ofType":null},{"kind":"OBJECT","name":"SearchPage","ofType":null},{"kind":"OBJECT","name":"SearchPerson","ofType":null},{"kind":"OBJECT","name":"SearchPlaylist","ofType":null},{"kind":"OBJECT","name":"SearchTalk","ofType":null},{"kind":"OBJECT","name":"SearchTedxEvent","ofType":null}]},{"kind":"OBJECT","name":"SearchResults","description":null,"isOneOf":null,"fields":[{"name":"categories","description":"Counts for every category, not only the active one. PEOPLE counts speakers and\\nfellows; a client showing community members too adds the total from Identity.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchCategoryCount","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchPageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pinned","description":"Editorial results, kept separate so the interface can label them. All results and pages only.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchPinnedResult","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchResult","kind":"UNION","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"segments","description":"The first few results of every category, for the \\"what kind of thing is it\\"\\nsection under the ranked top. Only on the first page of all results, and empty\\neverywhere else: the blended list already answers \\"did you find it\\", and page\\ntwo of all results is just the list. Counts for the see-all links come from\\n`categories`. Ordered by relevance: each segment sits where its best result\\nwould in the ranked list.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchSegment","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchSegment","description":null,"isOneOf":null,"fields":[{"name":"category","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchCategory","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchResult","kind":"UNION","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SearchStatus","description":"Whether every source answered.\\n\\nPartial failure is data because it cannot be an error: some categories have\\nresults worth rendering, and a raised error would null the whole field. Total\\nfailure is the opposite and is raised, per ADR-0006, so it stays redacted and\\ncallers get their existing dependency-error path.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"DEGRADED","description":"At least one source failed. See `categories.unavailable`.","isDeprecated":false,"deprecationReason":null},{"name":"OK","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SearchSuggestion","description":null,"isOneOf":null,"fields":[{"name":"category","description":null,"args":[],"type":{"kind":"ENUM","name":"SearchCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":"The completed term to search for.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"Set when the suggestion points at one specific thing rather than a term.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchSuggestions","description":null,"isOneOf":null,"fields":[{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"suggestions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchSuggestion","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchTalk","description":"Card fields still need confirming against real `_source` documents from staging.","isOneOf":null,"fields":[{"name":"curatorApproved","description":"False for talks outside the curated catalogue, which rank below it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"durationSeconds","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"speakers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"thumbnailUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"viewedCount","description":"Lifetime plays, the number the site\'s other talk cards show.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchTedxEvent","description":null,"isOneOf":null,"fields":[{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Series","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"playlists","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PlaylistConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"publishedPlaylistCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShimInfo","description":null,"isOneOf":null,"fields":[{"name":"buildTime","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"version","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Skill","description":"A skill a user has listed on their profile.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Slot","description":null,"isOneOf":null,"fields":[{"name":"duration","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"remote","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sponsored","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"video","description":null,"args":[{"name":"channelId","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Video","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SlotConnection","description":"The connection type for Slot.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"SlotEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Slot","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SlotEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Slot","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Speaker","description":null,"isOneOf":null,"fields":[{"name":"avatar","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cite","description":"Attribution for whatOthersSay.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Short bit of HTML, up to ~500 characters. If queried through a non-curator-approved TEDx talk, it\'ll be null.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"Part of their name. But think about using Video.presenterDisplayName first.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"flairLinks","description":"Public flair badges for this speaker. Falls back to a generic \\"TED Speaker\\"\\nbadge when no TED user is linked, or when the linked user is not visible to\\nthe requesting viewer — the same visibility check `profiles` uses, so this\\nfield cannot be used to fingerprint a private user\'s roles. Nullable so a\\nfailed subgraph fetch degrades the badges instead of nulling the whole\\nspeakerPage (WEB-5987).","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FlairLink","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":"First, middle, and last name joined with spaces, blanks omitted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"Part of their name. But think about using Video.presenterDisplayName first.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"links","description":"The speaker\'s external links, in display order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SpeakerLink","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"middleName","description":"Part of their name. But think about using Video.presenterDisplayName first.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"profiles","description":"Public profiles of TED users linked to this speaker, filtered by each user\'s\\nprivacy setting relative to the requesting viewer. Usually zero or one\\nprofile; a small number of speakers have more than one linked user.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"UserProfile","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":"An unpublished speaker should not link to their speaker page — it\'ll 404.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title the speaker holds, often indicating their affiliation.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"videos","description":"The speaker\'s published talks in display order — the list the speaker page renders.","args":[{"name":"limit","description":"Maximum number of talks to return, up to 100.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"100","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Video","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"whatOthersSay","description":"Usually under 1,000 characters, sometimes contains HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"whoTheyAre","description":"A usually short field with a bit of HTML. If queried through a non-curator-approved TEDx talk, it\'ll be null.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"whyListen","description":"Up to 5,000 characters of HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerDirectory","description":"A page of speaker directory search results.","isOneOf":null,"fields":[{"name":"facets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SpeakerDirectoryFacets","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SpeakerDirectoryPageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"speakers","description":"Matching published speakers in result order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Speaker","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerDirectoryFacetTerm","description":"One selectable facet value with a display label and result count.","isOneOf":null,"fields":[{"name":"count","description":"Number of speakers in the index with this term.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"Human-readable label, e.g. \\"TED2019\\" for the value \\"ted2019\\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The raw indexed term — pass this back as a filter argument.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerDirectoryFacets","description":"Index-wide facet options for the speaker directory. Global (not narrowed by the\\ncurrent query), matching the Roadrunner filter dropdowns.","isOneOf":null,"fields":[{"name":"events","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SpeakerDirectoryFacetTerm","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"topics","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SpeakerDirectoryFacetTerm","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerDirectoryPageInfo","description":"Offset pagination metadata for the speaker directory.","isOneOf":null,"fields":[{"name":"hasNextPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasPreviousPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxPerPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxResultWindow","description":"Deep-pagination cap: page * perPage beyond this window is clamped.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SpeakerDirectorySort","description":"Speaker directory s
1ort options","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"FIRST_NAME","description":"Sort by first name, ascending.","isDeprecated":false,"deprecationReason":null},{"name":"LAST_NAME","description":"Sort by last name, ascending (default).","isDeprecated":false,"deprecationReason":null},{"name":"RECENT_TALK","description":"Speakers with the most recently published talk first.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerLink","description":"A speaker\'s external link, e.g. their personal site or social profile.","isOneOf":null,"fields":[{"name":"label","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerPageFound","description":"A resolved speaker page.","isOneOf":null,"fields":[{"name":"preview","description":"True when this is an authorized unpublished preview.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"speaker","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Speaker","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerPageNotFound","description":"No published speaker matched the request. Deliberately does not distinguish unpublished from missing.","isOneOf":null,"fields":[{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpeakerPageRedirect","description":"The requested speaker path should redirect to a canonical one.","isOneOf":null,"fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SpeakerPageRedirectKind","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permanent","description":"True for a 301 (canonical slug or legacy id), false for a 302 (repaired slug).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetSlug","description":"The canonical slug to redirect to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SpeakerPageRedirectKind","description":"Why a speaker page request redirects, and to what.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CANONICAL_SLUG","description":"A numeric id resolved to its canonical slug (permanent).","isDeprecated":false,"deprecationReason":null},{"name":"LEGACY_ID","description":"A /speakers/view/id/:id route resolved to the slug (permanent).","isDeprecated":false,"deprecationReason":null},{"name":"REPAIRED_SLUG","description":"A malformed slug was repaired to a well-formed one (temporary).","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"UNION","name":"SpeakerPageResult","description":"The outcome of resolving a speaker page: found, redirect, or not found.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"SpeakerPageFound","ofType":null},{"kind":"OBJECT","name":"SpeakerPageNotFound","ofType":null},{"kind":"OBJECT","name":"SpeakerPageRedirect","ofType":null}]},{"kind":"OBJECT","name":"SpotlightUnit","description":null,"isOneOf":null,"fields":[{"name":"content","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpotlightUnitConnection","description":"The connection type for SpotlightUnit.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"SpotlightUnitEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"SpotlightUnit","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SpotlightUnitEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"SpotlightUnit","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"State","description":"A state or region that can be selected for a user\'s profile location.","isOneOf":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"countryId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SubjectFilter","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeToNewslettersPayload","description":"Autogenerated return type of SubscribeToNewsletters","isOneOf":null,"fields":[{"name":"requestId","description":"The requestId argument, echoed back","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result","description":"One overall result for the whole request","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"NewsletterSignupResult","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptions","description":"One row per requested edition; uniform and without status unless the address is the viewer\'s verified email","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"NewsletterSubscriptionOutcome","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"SubscriptionMetadata","description":"A JSON object to be passed to Stripe on purchase","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubtitleContribution","description":"A subtitle collection the user authored or reviewed. Maps to\\nDonkey::SubtitleCollection — the source rows behind TED.com\'s translator\\nprofile. Distinct from Acme\'s Translation type, which represents the actual\\ntranslated content (paragraphs, cues) for a video.","isOneOf":null,"fields":[{"name":"contributors","description":"All published contributor credits for this subtitle collection, matching the legacy translator profile card.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubtitleContributor","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"donkeyVideoId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"headline","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isPublished","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isTranscript","description":"True for a transcription, false for a translation. Determines whether the author_role is \'transcriber\' or \'translator\'.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":"TED language code (e.g. \'es\', \'fr\', \'en\'). Null when the underlying almanac language code isn\'t joinable.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"languageName","description":"Human-readable language name (e.g. \'Spanish\'). Null when the underlying almanac language code isn\'t joinable.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkUrl","description":"TED.com or YouTube URL for the underlying video, matching the legacy translator profile link behavior.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"role","description":"The user\'s role on this subtitle collection: \'author\' (translator/transcriber) or \'reviewer\'.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"speakerName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"talkstarTalkId","description":"The numeric Talkstar talk id, if the underlying video is joined to a talk.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"thumbnailUrl","description":"Thumbnail image for the associated video.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubtitleContributionPage","description":"A paginated page of a user\'s published subtitle contributions.","isOneOf":null,"fields":[{"name":"page","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"records","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubtitleContribution","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubtitleContributor","description":"A translator profile credit for a subtitle collection.","isOneOf":null,"fields":[{"name":"name","description":"Contributor display name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"profilePath","description":"Contributor translator profile path.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"role","description":"Contributor role: translator, transcriber, or reviewer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubtitleLanguageCount","description":"Count of a user\'s published subtitle contributions for a single TED language code. Ordered highest-count first.","isOneOf":null,"fields":[{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageName","description":"Human-readable language name (e.g. \'Spanish\'). Null if the language code has no matching almanac record.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubtitledDownload","description":null,"isOneOf":null,"fields":[{"name":"high","description":"A hi-res download","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internalLanguageCode","description":"The code of the language the subtitles are in","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageName","description":"The name of the language the subtitles are in","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"low","description":"A low-res download","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TakeActionModule","description":"A take-action module","isOneOf":null,"fields":[{"name":"blurb","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eyebrow","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ExtraStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verb","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"visibleUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TalkExtras","description":"Editorial content from talk-extras: footnotes, learn modules, recommendations, and take-action modules","isOneOf":null,"fields":[{"name":"footnotes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Footnote","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"learnModules","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"LearnModule","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"recommendations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Recommendation","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"takeAction","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TakeActionModule","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TalkTakeaway","description":null,"isOneOf":null,"fields":[{"name":"active","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"offsetSeconds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"talkstarTalkId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"ttVersion","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"videos","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"2","isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\\"en\\"","isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"VideoConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TalkTakeawayConnection","description":"The connection type for TalkTakeaway.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"TalkTakeawayEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"TalkTakeaway","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TalkTakeawayEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"TalkTakeaway","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEvent","description":null,"isOneOf":null,"fields":[{"name":"acknowledgements","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"attendeeCount","description":"Free text, not a number — EMS stores this as a string.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"availability","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TedxEventAvailability","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"bareGroupName","description":"group_name with the leading \\"TEDx\\" stripped, e.g. \\"Sydney\\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"beginAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"Null when currency_id is the EMS \\"unset\\" placeholder.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"editPath","description":"Path on the organize host, e.g. \\"/groups/123/events/456\\". Zenith owns the per-environment organize host.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endAt","description":"Input for the 90-day noindex rule — Zenith computes noindex, not this contract (see NOINDEX_GOVERNANCE).","args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eventSizeName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"flickrTags","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"groupName","description":"e.g. \\"TEDxSydney\\". Null if the tedx_group junction record has not replicated\\nyet — the same eventually-consistent gap venue already accounts for.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hasWebcast","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isFull","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isPast","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"licenseLabel","description":"e.g. \\"Standard\\" or \\"University\\" — TEDxLive suffix stripped.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"links","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TedxEventLink","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"organizers","description":"Visible ted_user/role links, primary organizer first.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TedxEventOrganizer","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"originalImageUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"rsvpEmail","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"rsvpUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"speakers","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TedxEventSpeaker","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"teamMembers","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TedxEventTeamMember","kind":"OBJECT","ofType":null}}},"isDeprecated":true,"deprecationReason":"Not used by anything. tedx_team_members stopped being written in early 2015, so this is empty for every event after then. Current team membership is `organizers`, which returns every visible ted_user role link and not just the organizer. Retained only so pre-2015 events keep a team listing; scheduled for removal at the TEDx cutover if nothing renders it."},{"name":"tedxGroupId","description":"Input for editPath — not a slug or display value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"theme","description":"The associated event theme; null with no event record or a blank theme.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ticketPrice","description":"Null when no price is set. Pair with currencyCode; a price with no real currency does not mean anything.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"timezone","description":"The venue\'s raw EMS timezone string, almost always an IANA name. Measured on\\nstaging: every ems_venues row is IANA, and 50,072 of 51,080 tedx venues are,\\nwith ~1,005 \\"UTC\\" and a couple of unparseable city names. Not normalized here,\\nso parse defensively.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"twitterCodes","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"venue","description":null,"args":[],"type":{"kind":"OBJECT","name":"TedxEventVenue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"webstreamUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"youTubePlaylist","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventAutocomplete","description":"Grouped suggestion terms for the TEDx directory filter box.","isOneOf":null,"fields":[{"name":"events","description":"Matching TEDx group names, e.g. \\"TEDxSydney\\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":"Matching venue cities and countries.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"places","description":"Matching places with their country, limited to ones the directory returns\\nevents for on the requested side of today. Pass one back as `place`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TedxEventPlace","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"Matching event type labels, e.g. \\"University\\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null}
1,{"kind":"ENUM","name":"TedxEventAvailability","description":"The state to display for the availability badge on a TEDx event.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INVITE_ONLY","description":"The event is private.","isDeprecated":false,"deprecationReason":null},{"name":"PAST_EVENT","description":"The event has already ended.","isDeprecated":false,"deprecationReason":null},{"name":"SOLD_OUT","description":"The event is full.","isDeprecated":false,"deprecationReason":null},{"name":"SPACES_AVAILABLE","description":"The event is upcoming, public, and not full.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventDirectory","description":"A page of TEDx events plus its offset pagination metadata.","isOneOf":null,"fields":[{"name":"events","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TedxEvent","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TedxEventDirectoryPageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventDirectoryPageInfo","description":"Offset pagination metadata for the TEDx event directory.","isOneOf":null,"fields":[{"name":"hasNextPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasPreviousPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxPerPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"Real count of matching events. Roadrunner hardcoded zeros here because its EMS counts call was too expensive.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventLink","description":null,"isOneOf":null,"fields":[{"name":"isPrimary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sequence","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventNotFound","description":"No TEDx event matched the requested id.","isOneOf":null,"fields":[{"name":"id","description":"The id that was requested, echoed back for display.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TedxEventNotFoundReason","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"TedxEventNotFoundReason","description":"Why a tedxEvent lookup did not resolve to an event.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INVALID_ID","description":"The id was not numeric — TEDx events have no slug, unlike speakers.","isDeprecated":false,"deprecationReason":null}
1,{"name":"NOT_FOUND","description":"The id was numeric but no TEDx event exists with it.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventOrganizer","description":null,"isOneOf":null,"fields":[{"name":"isPrimary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roleName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roleSlug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tedUserId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":"Federated reference to the Identity User, resolved by remote_id.","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventPlace","description":"A place the TEDx directory can narrow to, e.g. \\"San Jose, United States\\".","isOneOf":null,"fields":[{"name":"city","description":"The city as the event card shows it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The country as the event card shows it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"Display only, e.g. \\"Rochester, New York, United States\\". Send city, country and region back as `place`, not this.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"region","description":"Only set when the country has this city in more than one region.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TedxEventPlaceInput","description":"A place picked from `tedxEventAutocomplete.places`.","isOneOf":false,"fields":null,"inputFields":[{"name":"city","description":"From `TedxEventPlace.city`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"From `TedxEventPlace.country`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"region","description":"Only set when the country has this city in more than one region.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventPoint","description":"A single TEDx event plotted on the directory map.","isOneOf":null,"fields":[{"name":"hasStarted","description":"The event has begun. Roadrunner\'s map calls this \\"past\\", but it tests\\nstart_date, unlike `TedxEvent.isPast` which tests end_date. An event running\\nright now is hasStarted: true and isPast: false.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Look the rest of the marker up with `tedxEvent(id:)`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isFull","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isPast","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null}
1,{"kind":"OBJECT","name":"TedxEventPoints","description":"Map markers for the TEDx directory, matching the same filters as `tedxEvents`.","isOneOf":null,"fields":[{"name":"points","description":"Ordered the same way `tedxEvents` orders its list, so a capped response holds\\nthe markers for the events the list surfaces first. Can be shorter than the\\ncap when a matched event has no venue geocode.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TedxEventPoint","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"truncated","description":"More events matched than the cap allows, so `points` is the leading slice.\\nRoadrunner returns everything, which is ~30.7k markers on the past tab.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"TedxEventResult","description":"The outcome of a tedxEvent(id:) lookup: the event, or why it was not found.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"TedxEvent","ofType":null},{"kind":"OBJECT","name":"TedxEventNotFound","ofType":null}]},{"kind":"OBJECT","name":"TedxEventSpeaker","description":null,"isOneOf":null,"fields":[{"name":"description","description":"The longer bio.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"role","description":"The short line under the name, usually a job title.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventTeamMember","description":null,"isOneOf":null,"fields":[{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TedxEventVenue","description":null,"isOneOf":null,"fields":[{"name":"address1","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"address2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countrySubdivisionName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"TedxEventWhen","description":"Which side of today the TEDx event directory lists.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PAST","description":"Events that have already started, most recent first.","isDeprecated":false,"deprecationReason":null},{"name":"UPCOMING","description":"Events starting today or later, soonest first.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ToggleFavoriteMutationPayload","description":"Autogenerated return type of ToggleFavoriteMutation","isOneOf":null,"fields":[{"name":"updatedFavorites","de
1scription":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Favorite","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ToggleFollowMutationPayload","description":"Autogenerated return type of ToggleFollowMutation","isOneOf":null,"fields":[{"name":"updatedFollows","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Follow","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ToggleSavedPlaylistMutationPayload","description":"Autogenerated return type of ToggleSavedPlaylistMutation","isOneOf":null,"fields":[{"name":"updatedPlaylists","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Playlist","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Topic","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"playlists","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"Results ordering options.","type":{"kind":"INPUT_OBJECT","name":"OrderingOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PlaylistConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"A short human-readable identifier for this Topic. Suitable for building URLs.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"videos","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"VideoConnection","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TopicConnection","description":"The connection type for Topic.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"TopicEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Topic","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TopicCount","description":null,"isOneOf":null,"fields":[{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"topic","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Topic","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TopicEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Topic","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TopicListItem","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"A short human-readable identifier for this TopicListItem. Suitable for building URLs.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TopicListItemConnection","description":"The connection type for TopicListItem.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"TopicListItemEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"TopicListItem","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TopicListItemEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"TopicListItem","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Translation","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"args":[],"type":{"kind":"OBJECT","name":"AcmeLanguage","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"paragraphs","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Paragraph","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"reviewer","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translator","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"URL","description":"A valid URL, transported as a string","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"University","description":"A university a user has listed on their profile.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UnlikeItemPayload","description":"Autogenerated return type of UnlikeItem","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"item","description":null,"args":[],"type":{"kind":"OBJECT","name":"LikedItem","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UnsubscribeFromNewsletterPayload","description":"Autogenerated return type of UnsubscribeFromNewsletter","isOneOf":null,"fields":[{"name":"edition","description":"daily or weekly for TED-Ed; null for single-edition newsletters","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"newsletterId","description":"Registry id of the edition this request unsubscribed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"result","description":"SUCCESS once Sailthru confirms the edition is not subscribed; UNCONFIRMED means try again later","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"NewsletterUnsubscribeResult","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"Delivery status read back after the request","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"NewsletterSubscriptionStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateConferenceBadgePayload","description":"Autogenerated return type of UpdateConferenceBadge.","isOneOf":null,"fields":[{"name":"badge","description":"The saved badge, with warnings recomputed. Null when errors is non-empty.","args":[],"type":{"kind":"OBJECT","name":"ConferenceBadge","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateDefaultPaymentMethodPayload","description":"Autogenerated return type of UpdateDefaultPaymentMethod","isOneOf":null,"fields":[{"name":"status","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateNamePayload","description":"Autogenerated return type of UpdateName","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"NameMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdatePasswordPayload","description":"Autogenerated return type of UpdatePassword","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PasswordMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdatePreferredLanguagePayload","description":"Autogenerated return type of UpdatePreferredLanguage","isOneOf":null,"fields":[{"name":"viewer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdatePrivacySettingPayload","description":"Autogenerated return type of UpdatePrivacySetting","isOneOf":null,"fields":[{"name":"viewer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateProfilePayload","description":"Autogenerated return type of UpdateProfile","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProfileMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"viewer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateSailthruVarsMutationPayload","description":"Autogenerated return type of UpdateSailthruVarsMutation","isOneOf":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateUserMutationPayload","description":"Autogenerated return type of UpdateUserMutation","isOneOf":null,"fields":[{"name":"viewer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateUserPlaylistPayload","description":"Autogenerated return type of UpdateUserPlaylist","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"playlist","description":null,"args":[],"type":{"kind":"OBJECT","name":"UserPlaylist","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpdateUserPlaylistTalkMembershipsPayload","description":"Autogenerated return type of UpdateUserPlaylistTalkMemberships","isOneOf":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"playlists","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"UserPlaylist","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"isOneOf":null,"fields":[{"name":"activities","description":"What a user has done on TED.com.","args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"A String specifying the activity type. This is not an enum but valid values\\ncurrently include: applied, checked_in, commented, messaged, noted_activity,\\nrated, registered replied, reset_password, reviewed, translated, watched","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ActivityConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"avatar","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UserAvatar","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"biographies","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Biography","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"bornOn","description":null,"args":[],"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"byline","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"OBJECT","name":"Company","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultPaymentMethod","description":null,"args":[],"type":{"kind":"OBJECT","name":"PaymentMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"favorites","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FavoritesFilter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\\"desc\\"","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"FavoriteConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"flairs","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Flair","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"follows","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FollowsFilter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"FollowConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":true,"deprecationReason":"Moving responsibility to identity"},{"name":"giftMembership","description":"active gift membership if the user has one","args":[],"type":{"kind":"OBJECT","name":"GiftMembership","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hasMemberNotificationsEnabled","description":"Do not send alerts, notifications, emails, etc to this user if false","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"hasMembersMightyNetworkAccess","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The TED user id, specifically the remote id within Identity","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"industry","description":"The object representation of the Industry the user belongs to, name an all.","args":[],"type":{"kind":"OBJECT","name":"Industry","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"industryId","description":"The id of the industry the user belongs to.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isGiftedMember","description":"True if the users current membership was gifted","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isMember","description":"True if a user is an active TED Member.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isSupporter","description":"True if a user is a paying supporter","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languages","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"IdentityLanguage","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"links","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Link","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"membershipSubscription","description":"membership subscription if user is a paying supporter","args":[],"type":{"kind":"OBJECT","name":"MembershipSubscription","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UserName","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"newsletterSubscriptions","description":"Delivery status per newsletter edition, read from Sailthru. Empty for anyone\\nbut the viewer, and when the viewer has no verified primary email.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"NewsletterSubscription","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"occupation","description":null,"args":[],"type":{"kind":"OBJECT","name":"Occupation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethods","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PaymentMethod","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"personas","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Persona","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"place","description":null,"args":[],"type":{"kind":"OBJECT","name":"Place","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"preferredLanguage","description":null,"args":[],"type":{"kind":"OBJECT","name":"PreferredUserLanguage","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"primaryEmailAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"privacy","description":"The viewer\'s privacy setting. One of: everyone, members_only, conference_only,\\nno_one. Exposed only on the viewer, not on public profile lookups.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"profileCommunities","description":"Community affiliations and display details for the TED profile sidebar.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProfileCommunity","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"profilePath","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"profileUrl","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":true,"deprecationReason":"Use profilePath instead"},{"name":"reviewedCount","description":"Number of talks the user reviewed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"sailthruVars","description":null,"args":[],"type":{"kind":"OBJECT","name":"SailthruVars","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"savedPlaylists","description":null,"args":[{"name":"ids","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Playlist","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"savedTalks","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\\"desc\\"","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PlaylistItemConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"savedUserPlaylists","description":null,"args":[{"name":"ids","description":null,"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"UserPlaylist","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"skills","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Skill","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleContributionCount","description":"Total published subtitle collections credited to this user (author or reviewer).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleContributions","description":"The user\'s published subtitle contributions, newest first.","args":[{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"25","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubtitleContribution","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleContributionsPage","description":"A paginated page of the user\'s published subtitle contributions.","args":[{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"24","isDeprecated":false,"deprecationReason":null},{"name":"role","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"videoType","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubtitleContributionPage","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleLanguageCounts","description":"Per-language breakdown of the user\'s published subtitle contributions, highest-count first.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubtitleLanguageCount","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"transcribedCount","description":"Number of talks the user authored a transcription for (is_transcript = true).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translatedCount","description":"Number of talks the user authored a translation for (is_transcript = false).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"universities","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"University","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"uri","description":null,"args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":true,"deprecationReason":"Use profilePath instead"}
1,{"name":"userPlaylists","description":null,"args":[{"name":"sort","description":null,"type":{"kind":"ENUM","name":"UserPlaylistSort","ofType":null},"defaultValue":"RECENTLY_UPDATED","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"UserPlaylist","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"watchedTalks","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"WatchedTalk","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"watchedTopics","description":"Watch history grouped by learningProductTopic with the distinct watched-video total","args":[{"name":"watchedAfter","description":null,"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"watchedBefore","description":null,"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"WatchedTopicsSummary","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"watchedVideoActivities","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"watchedVideos","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"watchedAfter","description":null,"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"watchedBefore","description":null,"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"VideoConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"watchedVideosByTopic","description":"Paginated watched videos for a single learningProductTopic, optionally date-scoped","args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"topic","description":"The topic slug to filter by (matches learningProductTopic.slug)","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"watchedAfter","description":null,"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"watchedBefore","description":null,"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"VideoConnection","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UserAvatar","description":null,"isOneOf":null,"fields":[{"name":"generatedUrl","description":null,"args":[{"name":"type","description":null,"type":{"kind":"ENUM","name":"GeneratedAvatar","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UserName","description":null,"isOneOf":null,"fields":[{"name":"first","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"full","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UserPlaylist","description":null,"isOneOf":null,"fields":[{"name":"containsTalk","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"coverTalks","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Video","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"owner","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"User","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shareMetadata","description":null,"args":[],"type":{"kind":"OBJECT","name":"UserPlaylistShareMetadata","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"talkCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"talks","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Video","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ISO8601DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"visibility","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UserPlaylistVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UserPlaylistShareMetadata","description":null,"isOneOf":null,"fields":[{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"UserPlaylistSort","description":"Sort options for user-created playlists.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"NEWEST_FIRST","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OLDEST_FIRST","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RECENTLY_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TITLE_ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TITLE_DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"UserPlaylistVisibility","description":"Visibility options for user-created playlists.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PRIVATE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UNLISTED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"UserProfile","description":"A TED user\'s public profile — the fields anyone looking them up by id is allowed to see.","isOneOf":null,"fields":[{"name":"avatar","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UserAvatar","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"biographies","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Biography","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"byline","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"OBJECT","name":"Company","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"flairs","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Flair","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isMember","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"links","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Link","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UserName","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"occupation","description":null,"args":[],"type":{"kind":"OBJECT","name":"Occupation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"personas","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Persona","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"place","description":null,"args":[],"type":{"kind":"OBJECT","name":"Place","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"profileCommunities","description":"Community affiliations and display details for the TED profile sidebar.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProfileCommunity","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"profilePath","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"profileUrl","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":true,"deprecationReason":"Use profilePath instead"},{"name":"reviewedCount","description":"Number of talks the user reviewed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"skills","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Skill","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleContributionCount","description":"Total published subtitle collections credited to this user (author or reviewer).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleContributions","description":"The user\'s published subtitle contributions, newest first.","args":[{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"25","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubtitleContribution","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleContributionsPage","description":"A paginated page of the user\'s published subtitle contributions.","args":[{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"page","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null},{"name":"perPage","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"24","isDeprecated":false,"deprecationReason":null},{"name":"role","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"videoType","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubtitleContributionPage","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtitleLanguageCounts","description":"Per-language breakdown of the user\'s published subtitle contributions, highest-count first.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubtitleLanguageCount","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"transcribedCount","description":"Number of talks the user authored a transcription for (is_transcript = true).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translatedCount","description":"Number of talks the user authored a translation for (is_transcript = false).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Video","description":null,"isOneOf":null,"fields":[{"name":"acmePlayerData","description":"ACME\'s stringified-JSON player payload. Prefer Video.videoPlayerData for structured, typed access to the same data.","args":[{"name":"playlistReferrerSlug","description":"Optional playlist slug included in ad-targeting.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"AcmePlayerData","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"audioDownload","description":"Downloadable audio-only version of the talk (typically AAC).","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"audioInternalLanguageCode","description":"The language the speaker is speaking in.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"canonicalUrl","description":"We\'re not 100% sure this should go here? It could be calculated from the slug. Otoh, it\'s nice to centralize that logic.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"commentsEnabled","description":"Should comments be enabled for this video?","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"commentsLoggedInOnly","description":"If comments are enabled, should they only show for logged-in users?","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"curatorApproved","description":"Has this video been reviewed and approved by TED editorial staff?","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customContentDetails","description":"For custom-content videos, this data overrides the speaker block with partner metadata.","args":[],"type":{"kind":"OBJECT","name":"CustomContentDetails","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customPartnerContent","description":"Custom partner content","args":[],"type":{"kind":"OBJECT","name":"PartnerContent","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Paragraph-length description of the video\'s content. May be blank in some cases.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"displayOrder","description":"Perform a descending-order sort on this value to achieve the ordering\\nintended by TED editors. (Collections will be ordered by this value b
1y\\ndefault.) Actual value is an arbitrary numeric value. Note that this value can vary per channel.","args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":"Duration of the video, in seconds.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eventBadge","description":"These only apply to certain videos. It\'ll be there if it needs to be.","args":[],"type":{"kind":"OBJECT","name":"EventBadge","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fallbackUrl","description":"A fallback URL if the hls URL does not work.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featured","description":"Was this video published to TalkStar\'s \'featured\' channel? ...which also syncs videos to Symfony?","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasDubbedStreams","description":"True when this talk has at least one playable Consus dubbed-audio stream.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasTranslations","description":"Whether this video has any subtitle-collection translations on record.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hlsUrl","description":"HLS URL for the current ProjctMaster media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"internalLanguageCode","description":"The language the title, description, speaker name, and transcripts are in.\\nIt\'s probably what was requested, but not guaranteed...sometimes we fall back\\nto English, or the language the talk was given in.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isPublished","description":"Is the video currently published in the selected channel?\\nIn most cases, non-published videos should not be displayed to clients.\\ntrue or false\\nNote that this value can vary per channel.\\n\'any\' can also be passed to return records of any value for this field","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isSubtitleRequired","description":"Should subtitles be automatically displayed when video playback starts? This\\nvalue is advice from the TED editorial staff, intended for a primarily\\nEnglish-speaking audience. It typically identifies non-English TED Talks or\\nvideos where the speaker\'s speech is difficult to understand.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"learningProductTopic","description":"The single topic that is used by the learning product","args":[],"type":{"kind":"OBJECT","name":"Topic","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nativeDownloads","description":"Downloadable native-language video files at low/medium/high quality.","args":[],"type":{"kind":"OBJECT","name":"NativeDownloads","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"partnerName","description":"For a Salon or Institute talk, this will be the partner name (extracted from\\nthe video\'s context field. For anything else (including a custom-content\\nvideo), it\'ll be null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"playerData","description":"Roadrunner-compatible stringified-JSON player payload. Same shape RR emitted\\nfor backward compatibility. Prefer Video.videoPlayerData for structured, typed access.","args":[{"name":"playlistReferrerSlug","description":"Optional playlist slug included in ad-targeting.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PlayerData","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"podcastsPercentage","description":"Includes podcast platform views","args":[],"type":{"kind":"SCALAR","name":"Decimal","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"presenterDisplayName","description":"A single string describing the speaker(s) in a video. Intended for display\\npurposes only. Use the `speakers` relationship for more detailed information.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"primaryImageSet","description":"A video can have >1 photoset in talkstar. This is its primary one.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PhotoSize","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"primaryTopicCategory","description":"Primary topic category (supertag) set by editorial. One of: Personal Growth,\\nHealth, Science, Education, Business, Technology, Society/Culture, Art/Design,\\nMusic/Performance. May be null for older talks.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"primaryTopics","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TopicConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":"Time at which the video was most recently published. Most\\nvideos are only published once, but in the rare cases where a video is\\nunpublished and then later re-published, this field will contain the\\nmost recent publication date. Note that this value can vary per channel.","args":[],"type":{"kind":"SCALAR","name":"ISO8601DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"publishedSubtitleLanguages","description":"The subtitles that have been published for the talk.","args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AcmeLanguageConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"recordedOn","description":"Date that a video was created. Note this is the date of content creation, not publication. Can be null.","args":[],"type":{"kind":"SCALAR","name":"ISO8601Date","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"relatedVideos","description":"Any curated watch-next videos from talkstar, back-filled from Rae.","args":[{"name":"count","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Video","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"secondaryTopics","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TopicConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"A short human-readable identifier for this video. Suitable for building URLs.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"socialDescription","description":"Use this description when sharing the video to social media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"socialTitle","description":"Use this title when sharing the video to social media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"speakers","description":"Speakers who are associated with this video.","args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"AcmeSpeakerConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtitledDownloads","description":"Downloadable video files with burned-in subtitles, one entry per language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubtitledDownload","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"takeaways","description":null,"args":[{"name":"active","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"all","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TalkTakeawayConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"talkExtras","description":"Editorial content: footnotes, learn modules, recommendations, and take-action modules","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TalkExtras","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tedappsPercentage","description":"Includes React Native app, Apple TV views, etc.","args":[],"type":{"kind":"SCALAR","name":"Decimal","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tedcomPercentage","description":"Includes TED.com and embed player views","args":[],"type":{"kind":"SCALAR","name":"Decimal","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The video title. No speaker name prepended.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"topics","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TopicConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The kind of video record (e.g. TED-Ed, TEDx, Original Content).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"VideoKind","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"userFacingTagsForApp","description":null,"args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TopicConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"versionIdentifier","description":"Unique identifier for the this master\'s current media stream. This value\\nshould be delivered & cached alongside the hls_url and metadata_url. It\\nidentifies unique values of those fields.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"videoContext","description":"Often, the event the talk w
1as given at. It\'s \'TED-Ed\' for TED-Ed videos. We\\npull partner info out of these for Institute and Salon talks. Ultimately, this\\nis controlled by editorial.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"videoDownloads","description":"Zero or more Consus-encoded video downloads for this talk.","args":[{"name":"after","description":"Returns the elements in the list that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements in the list that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns the first _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns the last _n_ elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"VideoDownloadConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"videoPlayerData","description":"Structured player payload consumed by the TED video player. Typed counterpart\\nof Video.playerData / Video.acmePlayerData — prefer this for new clients so\\nGraphQL codegen types the response.","args":[{"name":"playlistReferrerSlug","description":"Optional playlist slug included in ad-targeting.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"VideoPlayerData","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"videometricsVideoId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"viewedCount","description":"The raw count of times the video has been watched. Clients decide if and how to display it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"youtubePercentage","description":"Includes YouTube views","args":[],"type":{"kind":"SCALAR","name":"Decimal","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoConnection","description":"The connection type for Video.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"VideoEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"Video","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoDownload","description":null,"isOneOf":null,"fields":[{"name":"height","description":"Video height in pixels","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"Location of video download","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoDownloadConnection","description":"The connection type for VideoDownload.","isOneOf":null,"fields":[{"name":"edges","de
1scription":"A list of edges.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"VideoDownloadEdge","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of nodes.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":"VideoDownload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoDownloadEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"VideoDownload","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoEdge","description":"An edge in a connection.","isOneOf":null,"fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of the edge.","args":[],"type":{"kind":"OBJECT","name":"Video","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null}
1,{"kind":"OBJECT","name":"VideoKind","description":null,"isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoPlayerData","description":"Structured player payload consumed by the TED video player. Equivalent to\\nVideo.playerData / Video.acmePlayerData, but as typed GraphQL instead of a\\nJSON-in-a-string scalar.","isOneOf":null,"fields":[{"name":"canonical","description":"Canonical web URL for the talk (https://www.ted.com/talks/<slug>).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"dubbedVideoStreams","description":"Consus-sourced dubbed variants of the video, keyed by language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"VideoPlayerDubbedStream","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":"Duration of the video in whole seconds.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"event","description":"Conference or event context (e.g. TED2019, TEDxFoo).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"external","description":"External media reference, currently YouTube only. Null when the video has no external media.","args":[],"type":{"kind":"OBJECT","name":"VideoPlayerExternal","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Video ID (Talkstar talk ID).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isSubtitleRequired","description":"Editorial hint: should subtitles auto-display for non-native speakers.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"languages","description":"Subtitle languages published for this video.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"VideoPlayerLanguage","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"mediaIdentifier","description":"Consus project name identifying the media. Empty string when the video has no Consus project master.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"mediaProjectVersionIdentifier","description":"Unique identifier of the current Consus project-master version.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Display name, typically \'<speaker>: <title>\' when a speaker is set.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nativeLanguage","description":"TED language code the speaker is speaking in.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":"Unix timestamp (seconds) of the latest publication of this video.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"resources","description":"Playable media sources (HLS + H.264 fallback).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"VideoPlayerResources","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":"URL slug for the talk.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"speaker","description":"Speaker display name, if any.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"targeting","description":"Ad-targeting key/value pairs. Opaque JSON; shape depends on the ad integration the player uses.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"JSON","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}
1,{"name":"thumb","description":"Thumbnail URL (closest primary-photo size ≥600px wide). Null when the video has no primary photo.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Talk headline (no speaker prefix).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoPlayerDubbedStream","description":null,"isOneOf":null,"fields":[{"name":"languageCode","description":"TED language code of the dub (e.g. \'fr\', \'pt-br\').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"HLS manifest URL for the dubbed variant.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoPlayerExternal","description":null,"isOneOf":null,"fields":[{"name":"code","description":"Service-specific identifier for the external media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":"Duration of the external media in seconds.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"service","description":"Name of the external service (currently always \'YouTube\').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startTime","description":"Start time offset within the external media in seconds.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoPlayerH264","description":null,"isOneOf":null,"fields":[{"name":"bitrate","description":"Target bitrate of the fallback stream (kbps).","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"file","description":"URL of the MP4 / H.264 fallback file.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoPlayerHls","description":null,"isOneOf":null,"fields":[{"name":"adUrl","description":"Legacy DoubleClick ad URL. Returns an empty string because there\'s no replacement URL.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maiTargeting","description":"Ad-targeting key/value pairs passed through to the player. Opaque JSON on\\npurpose — shape depends on the ad integration the player uses.","args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":"JSON metadata URL accompanying the HLS stream.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stream","description":"HLS manifest URL for the main stream.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoPlayerLanguage","description":null,"isOneOf":null,"fields":[{"name":"endonym","description":"The language name as written in the language itself.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}
1,{"name":"ianaCode","description":"IANA BCP-47 subtag assigned by the Internet Assigned Numbers Authority.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRtl","description":"True if the language is written right-to-left.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":"TED-internal short language code (e.g. \'pt-br\').","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"languageName","description":"English name of the language (e.g. \'Portuguese, Brazilian\').","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoPlayerResources","description":null,"isOneOf":null,"fields":[{"name":"h264","description":"H.264 fallback entries for clients that cannot play HLS.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"VideoPlayerH264","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"hls","description":"HLS stream metadata. Null when neither the stream nor metadata URL is available.","args":[],"type":{"kind":"OBJECT","name":"VideoPlayerHls","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"WatchedTalk","description":null,"isOneOf":null,"fields":[{"name":"autoplayed","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"secondsPlayed","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"talk","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"IdentityTalkType","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"WatchedTalkInput","description":null,"isOneOf":false,"fields":null,"inputFields":[{"name":"autoplayed","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"secondsPlayed","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"talkId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"WatchedTopicsSummary","description":null,"isOneOf":null,"fields":[{"name":"topics","description":"Per-topic counts, highest first","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TopicCount","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalVideoCount","description":"Distinct watched videos in range, including those without a topic tag","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"WithdrawConferenceApplicationPayload","description":"Autogenerated return type of WithdrawConferenceApplication.","isOneOf":null,"fields":[{"name":"capabilities","description":"The viewer\'s capabilities recomputed, so the dashboard can re-render\\nnavigation without a second round trip. Null on error.","args":[],"type":{"kind":"OBJECT","name":"ConferenceCapabilities","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ConferenceMutationError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"withdrawn","description":"True once the application is withdrawn. Null when errors is non-empty.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"YourListItem","description":"An item on a list of a user\'s saved videos & playlists, to watch later.","isOneOf":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"itemId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"itemType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"YourListItemType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"secondsPlayed","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"YourListItemType","description":"Types of things a user can save to their Your-List.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PLAYLIST","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\\n\\nIn some cases, you need to provide options to alter GraphQL\'s execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","isOneOf":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__DirectiveLocation","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__InputValue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null}
1,{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null},{"name":"DIRECTIVE_DEFINITION","description":"Location adjacent to a directive definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","isOneOf":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","isOneOf":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__InputValue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__Type","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","isOneOf":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__Type","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","isOneOf":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this
1server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Type","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__Type","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[{"name":"includeDeprecated","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Directive","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\\n\\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","isOneOf":null,"fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__TypeKind","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Field","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Type","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Type","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__EnumValue","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__InputValue","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isOneOf","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null}
1,{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","isOneOf":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","isRepeatable":false,"isDeprecated":false,"deprecationReason":null,"locations":["ARGUMENT_DEFINITION","DIRECTIVE_DEFINITION","ENUM_VALUE","FIELD_DEFINITION","INPUT_FIELD_DEFINITION"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\\"No longer supported\\"","isDeprecated":false,"deprecationReason":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","isRepeatable":false,"isDeprecated":false,"deprecationReason":null,"locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"oneOf","description":"Indicates exactly one field must be supplied and this field must not be `null`.","isRepeatable":false,"isDeprecated":false,"deprecationReason":null,"locations":["INPUT_OBJECT"],"args":[]},{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","isRepeatable":false,"isDeprecated":false,"deprecationReason":null,"locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","isRepeatable":false,"isDeprecated":false,"deprecationReason":null,"locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]}]}}')},451368,e=>{"use strict";let n,t;var i,a=e.i(348776);e.i(651325);var l=e.i(943910),r=e.i(727526),s=e.i(217361),o=e.i(654156),u=e.i(420040),p=e.i(1231),d=r;class c extends d.ApolloLink{constructor(e){super((n,t)=>{let{...i}=n;return Object.defineProperty(i,"client",{enumerable:!1,value:n.client}),new p.Observable(a=>{let l=!1;return Promise.resolve(i).then(t=>e(n.getContext(),t)).then(n.setContext).then(()=>{l||t(n).subscribe(a)}).catch(a.error.bind(a)),()=>{l=!0}})})}}var f=e.i(139967),m=e.i(827456),y=r,h=e.i(945876),T=e.i(318332);function g(e){return!!e&&("errors"in e||"data"in e)&&Object.keys(e).every(e=>"errors"===e||"data"===e||"extensions"===e)}var k=e.i(314853),N=e.i(397310),L=e.i(166253),R=e.i(166787),S=e.i(759248);function A(e){let n={},t={};
1return(0,R.isNonEmptyArray)(e)&&e.forEach(e=>{n[e.message]=e,"string"==typeof e.extensions?.code&&(t[e.extensions.code]=e)}),{persistedQueryNotSupported:!!(n.PersistedQueryNotSupported||t.PERSISTED_QUERY_NOT_SUPPORTED),persistedQueryNotFound:!!(n.PersistedQueryNotFound||t.PERSISTED_QUERY_NOT_FOUND)}}let O={disable:({meta:e})=>e.persistedQueryNotSupported,retry:({meta:e})=>e.persistedQueryNotSupported||e.persistedQueryNotFound,useGETForHashedQueries:!1};class b extends y.ApolloLink{constructor(e){let n;function t(){n=void 0}(0,S.invariant)(e&&("function"==typeof e.sha256||"function"==typeof e.generateHash),61);const{sha256:i,generateHash:a=e=>Promise.resolve(i((0,h.print)(e))),disable:l,retry:r,useGETForHashedQueries:o}=(0,L.compact)(O,e);let u=!0;const d=e=>new Promise(n=>n(a(e)));super((e,i)=>{(0,S.invariant)(i,62);let{query:a}=e;return new p.Observable(p=>{let c,y,h=!1,k=!1;function L(n,a){if(h)return a();if(h=!0,(u=!l(n))||(delete e.extensions.persistedQuery,t()),r(n)){c&&c.unsubscribe(),e.setContext(({http:e,fetchOptions:n})=>({http:{...e,includeQuery:!0,...u?{includeExtensions:!0}:{}},fetchOptions:{...n,method:"POST"}})),k&&e.setContext({fetchOptions:y}),c=i(e).subscribe(R);return}a()}let R={next:n=>{if(!g(n)||!n.errors)return p.next(n);L({operation:e,error:new s.CombinedGraphQLErrors(n),meta:A(n.errors),result:n},()=>p.next(n))},error:n=>{let t=(0,m.toErrorLike)(n),i=()=>p.error(n);if(f.ServerError.is(t)&&t.bodyText)try{let n=JSON.parse(t.bodyText);if(g(n))return L({error:new s.CombinedGraphQLErrors(n),result:n,operation:e,meta:A(n.errors)},i)}catch{}L({error:t,operation:e,meta:{persistedQueryNotSupported:!1,persistedQueryNotFound:!1}},i)},complete:p.complete.bind(p)};return e.setContext(({http:e})=>({http:u?{...e,includeQuery:!1,includeExtensions:!0}:e})),o&&u&&!e.query.definitions.some(e=>"OperationDefinition"===e.kind&&"mutation"===e.operation)&&(e.setContext(({fetchOptions:e={}})=>(y=e,{fetchOptions:{...e,method:"GET"}})),k=!0),u?(function(e){if(!e||"object"!=typeof e)return d(e);n||(n=new N.AutoCleanedWeakCache(T.cacheSizes["PersistedQueryLink.persistedQueryHashes"]||2e3));let t=n.get(e);return t||n.set(e,t=d(e)),t})(a).then(n=>{e.extensions.persistedQuery={version:1,sha256Hash:n},c=i(e).subscribe(R)}).catch(p.error.bind(p)):c=i(e).subscribe(R),()=>{c&&c.unsubscribe()}})}),k.__DEV__&&Object.assign(this,{getMemoryInternals:()=>({PersistedQueryLink:{persistedQueryHashes:n?.size??0}})}),this.resetHashCache=t}resetHashCache}var D=e.i(924372),v=e.i(429410);let _={watchQuery:{fetchPolicy:"cache-first",nextFetchPolicy:(e,n)=>"variables-changed"===n.reason?n.initialFetchPolicy:"cache-and-network"===e?"cache-first":e,errorPolicy:"all",notifyOnNetworkStatusChange:!1},query:{fetchPolicy:"cache-first",errorPolicy:"all"},mutate:{errorPolicy:"all"}};var E=e.i(295713),C=r;class I extends C.ApolloLink{constructor(e){super((n,t)=>new p.Observable(i=>{let a,l,r;try{a=t(n).subscribe({next:a=>{let o=n.client.queryManager.incrementalHandler,u=o.isIncrementalResult(a)?o.extractErrors(a):a.errors;u?r=e({error:new s.CombinedGraphQLErrors(a,u),result:a,operation:n,forward:t}):(0,m.graphQLResultHasProtocolErrors)(a)&&(r=e({error:a.extensions[m.PROTOCOL_ERRORS_SYMBOL],result:a,operation:n,forward:t})),(l=r?.subscribe(i))||i.next(a)},error:a=>{r=e({operation:n,error:(0,m.toErrorLike)(a),forward:t}),(l=r?.subscribe(i))||i.error(a)},complete:()=>{r||i.complete()}})}catch(a){e({error:(0,m.toErrorLike)(a),operation:n,forward:t}),i.error(a)}return()=>{a&&a.unsubscribe(),l&&l.unsubscribe()}}))}}e.i(692225);let w=(0,e.i(724410).getLogger)("graphql");function U(e){return!!e?.some(e=>e.extensions?.code==="PERSISTED_QUERY_NOT_FOUND"||"provided sha does not match query"===e.message)}let P=new I(({error:e,operation:n})=>{let{variables:t,operationName:i}=n,a=Object.keys(t),{response:l,graphqlErrorTelemetry:r}=n.getContext(),o={operationName:i,response:l,variableNames:a};if(s.CombinedGraphQLErrors.is(e)){if(U(e.errors)&&w.error(`[Persisted query] "${i}" is not in the published manifest; run pnpm pq:manifest and republish.`,Error("persisted query not found"),{context:{metadata:o},forceLog:!0}),"caller"===r&&!U(e.errors))return;
1e.errors.forEach(({message:e,extensions:n})=>{let t=Error(`[GraphQL error]: Message: ${e}, Operation: ${i}, Variables: ${JSON.stringify(a)}`);w.error(e,t,{context:{metadata:{extensions:n,...o}},forceLog:!0})})}else if(E.CombinedProtocolErrors.is(e))e.errors.forEach(({message:e,extensions:n})=>{let t=Error(`[Protocol error]: Message: ${e}, Operation: ${i}`);w.error(e,t,{context:{metadata:{extensions:n,...o}},forceLog:!0})});else if(e){let n=e instanceof Error?e:Error(String(e));w.error(`[Network error]: Operation: ${i}`,n,{context:{metadata:o},forceLog:!0})}}),V=(i=e.i(153864).default,t={},i.__schema.types.forEach(e=>{if("UNION"===e.kind||"INTERFACE"===e.kind){let n=i.__schema.types.filter(n=>"OBJECT"===n.kind&&n.interfaces?.some(n=>n.name===e.name)).map(e=>e.name);"UNION"===e.kind?t[e.name]=e.possibleTypes?.map(e=>e.name)||[]:n.length>0&&(t[e.name]=n)}}),t);var F=e.i(490342);let x=new WeakMap;var B=r;class M{observer;operation;forward;delayFor;retryIf;retryCount=0;currentSubscription=null;timerId;constructor(e,n,t,i,a){this.observer=e,this.operation=n,this.forward=t,this.delayFor=i,this.retryIf=a,this.try()}cancel(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null}try(){this.currentSubscription=this.forward(this.operation).subscribe({next:e=>{if((0,m.graphQLResultHasProtocolErrors)(e)){this.onError(e.extensions[m.PROTOCOL_ERRORS_SYMBOL],()=>this.observer.next(e)),this.currentSubscription?.unsubscribe();return}this.observer.next(e)},error:e=>this.onError(e,()=>this.observer.error(e)),complete:this.observer.complete.bind(this.observer)})}onError=async(e,n)=>{this.retryCount+=1;let t=(0,m.toErrorLike)(e);await this.retryIf(this.retryCount,this.operation,t)?this.scheduleRetry(this.delayFor(this.retryCount,this.operation,t)):n()};scheduleRetry(e){if(this.timerId)throw Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout(()=>{this.timerId=void 0,this.try()},e)}}class J extends B.ApolloLink{delayFor;retryIf;constructor(e){super();const{attempts:n,delay:t}=e||{};this.delayFor="function"==typeof t?t:function(e){let{initial:n=300,jitter:t=!0,max:i=1/0}=e||{},a=t?n:n/2;return function(e){let n=Math.min(i,a*2**e);return t&&(n=Math.random()*n),n}}(t),this.retryIf="function"==typeof n?n:function(e){let{retryIf:n,max:t=5}=e||{};return function(e,i,a){return!(e>=t)&&(n?n(a,i):!!a)}}(n)}request(e,n){return new p.Observable(t=>{let i=new M(t,e,n,this.delayFor,this.retryIf);return()=>{i.cancel()}})}}let j=new Set(["UpdatePassword","RequestPasswordReset","SubscribeToNewsletters","ResubscribeToNewsletters","UnsubscribeFromNewsletter"]),$=new J({delay:{initial:300,max:5e3,jitter:!0},attempts:{max:3,retryIf:(e,n)=>{if(j.has(n.operationName??""))return!1;let t=f.ServerError.is(e)?e.statusCode:void 0;return!!e&&(!t||t>=500)}}}),G=new r.ApolloLink((e,n)=>(e.setContext(({headers:n={}})=>({headers:{...n,"Client-ID":"zenith","apollographql-client-name":"zenith","apollographql-client-version":"release-2026.10.06-14295","X-Operation-Name":e.operationName}})),n(e))),q=new c(({headers:e={}})=>{let n=a.default.env.NEXT_PUBLIC_GRAPHQL_API_KEY;return{headers:{...e,"apollo-require-preflight":"true",...n?{"x-api-key":n}:{}}}});async function K(e){return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(e)))).map(e=>e.toString(16).padStart(2,"0")).join("")}let Q=new b({...(0,D.generatePersistedQueryIdsAtRuntime)({sha256:K}),disable:({meta:e})=>e.persistedQueryNotSupported,retry:({error:e,meta:n})=>{let t;return n.persistedQueryNotSupported||n.persistedQueryNotFound||(t=s.CombinedGraphQLErrors.is(e)?e.errors:void 0,t?.some(({message:e})=>"provided sha does not match query"===e)??!1)},useGETForHashedQueries:!0}),z="on"===a.default.env.SSR_PERSISTED_QUERIES,W=new o.HttpLink({uri:!v.client&&a.default.env.INTERNAL_API_URL?`${a.default.env.INTERNAL_API_URL}/graphql`:"https://gql.ted.com/graphql",credentials:"include",print:(e,n)=>{if(e.kind!==F.Kind.DOCUMENT)return n(e);let t=x.get(e);return t||(t=(0,D.sortTopLevelDefinitions)(e),x.set(e,t)),n(t)},...!v.client&&{fetch:(e,n)=>fetch(e,{...n,signal:AbortSignal.timeout(1e4)})}}),Y={possibleTypes:V,typePolicies:{ConferenceAgendaEntry:{keyFields:!1},Video:{fields:{talkExtras:{merge:(e,n)=>e?n?{...e,...n}:e:n}}}}},H=v.client?new u.InMemoryCache(Y):null;e.s(["initializeApollo",0,function(e=null){let t,i=n??(t=!!globalThis.crypto?.subtle,new l.ApolloClient({ssrMode:!v.client,link:r.ApolloLink.from([G,q,P,$,...(v.client||z)&&t?[Q]:[],W]),ssrForceFetchDelay:1e3,cache:H??new u.InMemoryCache(Y),defaultOptions:_}));if(e){let n=function e(n,...t){for(let i of t)for(let t of Object.keys(i)){let a=n[t],l=i[t];a&&l&&"object"==typeof a&&"object"==typeof l&&!Array.isArray(a)&&!Array.isArray(l)?e(a,l):n[t]=l}return n}(e,i.extract());i.cache.restore(n)}return v.client&&(n||(n=i)),i}],451368)},674690,e=>{"use strict";let n;var t=e.i(464935),i=e.i(429410),a=e.i(496455),l=e.i(167544);e.i(692225);var r=e.i(724410),s=e.i(67976),o=e.i(830081),u=e.i(994297),p=e.i(432343),d=e.i(969744);e.i(898028);var c=e.i(175751),f=e.i(121991),m=e.i(451368);let y=(0,r.getLogger)("watch-history"),h=async(e,n,t,i=0)=>{try{n&&await (0,m.initializeApollo)().mutate({mutation:f.AddWatchedTalkDocument,refetchQueries:[],variables:{talkInput:{talkId:e,secondsPlayed:i,autoplayed:t}}})}catch(e){y.error("Error adding watched talk",e,{context:{metadata:{}},forceLog:!0})}};var T=e.i(510647),g=e.i(170470);let k={hasPlayedSuccessfully:!1,hasInitiallyRequested:!1,hasUnfulfilledRequest:!1},N={},L=(e,n)=>{let{service:t,subtitle:i,playbackRate:a,streamHost:l,autoplayed:r,mixpanelTalk
1Details:{content_discovery_context:s,talk_id:o,talk_slug:u,video_duration:p,video_topics:d,video_post_date:c,talkstar_context:f,talk_language:m,system_language:y,product:h,talk_type:T,playlist_slug:g}}=e;return{service:t,talk_id:o,talk_slug:u,video_duration:p,video_topics:d,video_post_date:c,talkstar_context:f,talk_language:m,system_language:y,product:h,talk_type:T,subtitle_language:i,playlist_slug:g,playback_rate:n?.playbackRate||a,stream_host:l,content_discovery_context:s,autoplay_state:r}},R=e=>{let{talk_position_in_playlist:n}=e.mixpanelTalkDetails;return{...L(e),...null==n?{}:{talk_position_in_playlist:n}}};function S(){delete k.hasPlayedSuccessfully,delete k.hasInitiallyRequested,delete k.hasUnfulfilledRequest}function A(){delete N.talkId,delete N.currentTime,delete N.duration,delete N.hasCompleted,N.remainderPct=[25,50,75,95],N.remainderTime=[10,30]}let O=(0,g.throttle)((e,n)=>{if(!N.is95PercentComplete)return Math.floor(e/n*100)},1e3,{trailing:!1});function b(){k.hasInitiallyRequested=!0}let D=!1;S(),A();let v={ad:{adInfo:{id:null,title:null,advertiserName:null,duration:null,isSkippable:!1,cues:[]},contentSourceId:null,videoId:null,adParams:null,token:null},audio:{mute:!0,volume:.5},autoplayed:!1,shouldAutoplay:!1,buffering:!1,contentTime:0,contentState:"preroll",currentTime:0,convertedTime:0,currentTalk:null,currentTalkDetails:{},downloadFormat:null,dubbingLang:"en",isEnabledFluent:!1,dubbingLanguages:[],dubbingPreviousTime:0,dubbingLanguagesStreams:{},loadingDubLang:!1,duration:0,features:{fullscreen:!1,subtitle:!1,volume:!1,controls:"custom",playbackRate:!1},formattedTime:"00:00",formattedDuration:"00:00",fullscreen:!1,hasAds:!1,isAdBreak:!1,isEmbed:!1,languages:null,mixpanelTalkDetails:{},mode:"none",nativeLanguage:"en",playbackMode:"unstarted",playbackRate:1,playbackRequested:!1,playerZone:null,poppedOut:!1,postrollRemaining:0,postrollDuration:0,prerollRemaining:0,prerollDuration:0,prerollDetails:null,postrollDetails:null,ready:!1,requestedCurrentTime:null,requestedMute:null,requestedPlaybackRate:null,requestedSubtitleLanguage:null,requestedVolume:null,roundedTime:0,roundedDuration:0,service:"unset",streamDuration:0,streamTime:0,subtitle:"OFF",subtitleCue:"",subtitleCues:[],allSubtitles:[],time:0,isTranscriptVisible:!1,transcriptLanguage:"",youTubePlayer:null,isTooltipOpen:!1,pauseCalled:null,playCalled:null,clipStartTime:null,clipEndTime:null,subtitlesEnabled:!0,adPauseFn:null,adResumeFn:null},_=(0,l.pipe)(i.client?e=>(n,t,i)=>e((e,i)=>{let a=e();switch(i){case"onService":D=a?.service==="youtube";break;case"onTalk":A(),a&&(N.talkId=a?.currentTalk)}if(!D)return n(e,i);let l=t();switch(i){case"reset":break;case"requestPlay":b(),k.hasUnfulfilledRequest=!0;break;case"onReady":S();break;case"onPlay":k.hasInitiallyRequested||(T.default.track("player_start",{...R(l),transcriptLanguage:l?.transcriptLanguage||l?.mixpanelTalkDetails?.transcript_language,recommendation_id:l?.mixpanelTalkDetails?.recommendation_id,language_parameter_value:l?.mixpanelTalkDetails?.language_parameter_value,content_state:"content"}),k.hasInitiallyRequested=!0),k.hasUnfulfilledRequest?delete k.hasUnfulfilledRequest:b(),k.hasPlayedSuccessfully&&(T.default.track("player_start",{...R(l),transcriptLanguage:l?.transcriptLanguage||l?.mixpanelTalkDetails?.transcript_language,recommendation_id:l?.mixpanelTalkDetails?.recommendation_id,language_parameter_value:l?.mixpanelTalkDetails?.language_parameter_value,content_state:"content"}),k.hasPlayedSuccessfully=!0);break;case"onPause":T.default.track("player_paused",{...L(l),action_time:a?.roundedTime,recommendation_id:l?.mixpanelTalkDetails?.recommendation_id,media_type:l?.mixpanelTalkDetails?.media_type});break;case"onDuration":N.duration=a.duration;break;case"onCurrentTime":let r,s;N.currentTime=a.time,r=["is25PercentComplete","is50PercentComplete","is75PercentComplete","is95PercentComplete"],s=O(N.currentTime,l.duration),[25,50,75,95].forEach((e,n)=>{let t=r[n];s!==e||N[t]||(T.default.track(`player_${s}
1_progress_time`,{...L(l),recommendation_id:l?.mixpanelTalkDetails?.recommendation_id}),N[t]=!0)});break;case"onPlaybackMode":N.hasCompleted||(T.default.track("player_complete",{...L(l),recommendation_id:l?.mixpanelTalkDetails?.recommendation_id}),N.hasCompleted=!0)}return n(e,i)},t,i):a.identity,(0,p.mixpanelMiddleware)(),(0,d.default)(),e=>(n,t,i)=>e((e,i)=>{let a=e(),l=t();if("onPlay"===i&&l&&a){let{currentTalk:e,autoplayed:n}=l,t=(0,c.getLoggedIn)();t&&h(e,t,n)}return n(e)},t,i),e=>(n,t,i)=>e(n,t,i)),E=()=>(0,u.default)(_((e,n)=>({...v,expressPlaybackIntent:n=>e(()=>({type:"EXPRESS_PLAYBACK_INTENT",playbackRequested:n,autoplayed:n}),"expressPlaybackIntent"),onAd:n=>{e(()=>({ad:n,isAdBreak:!!n.isAdBreak,postrollDuration:n.postrollDuration||0,prerollDuration:n.prerollDuration||0,hasAds:!0}),"onAd")},onAdLoaded:()=>{e(()=>({hasAds:!0}),"onAdLoaded")},onAdSkip:()=>e(i.noop,"onAdSkip"),onAdClick:()=>e(i.noop,"onAdClick"),onAdCenterClick:()=>e(i.noop,"onAdCenterClick"),onAddToList:()=>e(i.noop,"onAddToList"),onAddComment:()=>e(i.noop,"onAddComment"),autoPlay:(n,t=!1)=>e(()=>({autoplayed:n,userInitiated:t}),"autoPlay"),onBufferState:n=>e(()=>({buffering:n}),"onBufferState"),onCanNativeFullScreen:t=>e(()=>({features:{...n().features,fullscreen:t}}),"onCanNativeFullScreen"),onCanPlaybackRate:t=>e(()=>({features:{...n().features,playbackRate:t}}),"onCanPlaybackRate"),onCanSubtitle:t=>e(()=>({features:{...n().features,subtitle:t}}),"onCanSubtitle"),onCanVolume:t=>e(()=>({features:{...n().features,volume:t}}),"onCanVolume"),onContentTime:n=>e(()=>({contentTime:n}),"onContentTime"),onContentState:n=>{e(()=>({contentState:n}),"onContentState")},onControls:t=>e(()=>({features:{...n().features,controls:t}}),"onControls"),onCurrentTime:i=>e(()=>({currentTime:i,dubbingPreviousTime:i,formattedTime:(0,o.formatAsTimestamp)(i),roundedTime:Math.ceil(i),time:i,..."content"===n().contentState&&{convertedTime:(0,t.secondsToMilliseconds)(i)}}),"onCurrentTime"),onDownload:n=>e(()=>({downloadFormat:n}),"onDownload"),onDuration:n=>e(()=>({duration:n,formattedDuration:(0,o.formatAsTimestamp)(Math.ceil(n)),roun
1dedDuration:Math.ceil(n)}),"onDuration"),onEmbed:(n,t)=>e(()=>({isEmbed:n,contentState:"content",playerZone:t}),"onEmbed"),onError:e=>{(0,r.getLogger)("video-player").error("player error:",e,{forceLog:!0})},onLanguages:n=>e(()=>({languages:n}),"onLanguages"),onDubbingLanguages:n=>e(()=>({dubbingLanguages:n}),"onDubbingLanguages"),onDubbingLanguagesStreams:n=>e(()=>({dubbingLanguagesStreams:n}),"onDubbingLanguagesStreams"),onLoadingDubLang:n=>e(()=>({loadingDubLang:n}),"onLoadingDubLang"),onChangeFluentEnabled:n=>e(()=>({isEnabledFluent:n}),"onChangeFluentEnabled"),onLike:()=>e(i.noop,"onLike"),onTakeawaysEntry:()=>e(i.noop,"onTakeawaysEntry"),onMuted:(t,i=!1)=>e(()=>({audio:{...n().audio,mute:t},userInitiated:i}),"onMuted"),onMode:n=>{e(()=>({mode:n}),"onMode")},onNativeLanguage:n=>{e(()=>({nativeLanguage:n}),"onNativeLanguage")},onPause:(n=!1)=>e(()=>({playbackMode:"paused",userInitiated:n}),"onPause"),onPlay:()=>e(()=>({playbackMode:"playing"}),"onPlay"),onPlaybackMode:n=>e(()=>({playbackMode:n}),"onPlaybackMode"),onTalkShareStart:n=>e(()=>({talkShareDetails:n}),"onTalkShareStart"),onPlaybackRate:(n,t=!1)=>e(()=>({playbackRate:n,userInitiated:t}),"onPlaybackRate"),onPopOut:n=>e(()=>({poppedOut:n}),"onPopOut"),onPostrollComplete:n=>{e(()=>({postrollDetails:n,postrollRemaining:0,contentState:"none",playbackMode:"ended",isAdBreak:!1}),"onPostrollComplete")},onPostrollRemaining:n=>{e(()=>({postrollRemaining:n}),"onPostrollRemaining")},onPostrollStart:n=>{e(()=>({postrollDetails:n,contentState:"postroll"}),"onPostrollStart")},onPrerollComplete:n=>{e(()=>({prerollDetails:n,prerollRemaining:0,contentState:"content",isAdBreak:!1}),"onPrerollComplete")},onPrerollRemaining:n=>{e(()=>({prerollRemaining:n}),"onPrerollRemaining")},onPrerollStart:n=>{e(()=>({prerollDetails:n,contentState:"preroll"}),"onPrerollStart")},onReady:n=>e(()=>({ready:n}),"onReady"),onSeek:e=>{let{requestCurrentTime:t}=n();t(e)},onService:n=>{let t=s.service(n?.videoPlayerData??{});return e(()=>({service:t}),"onService")},setService:n=>e(()=>({service:n}),"setService"),onStreamAds:n=>e(()=>({ready:!0,preroll:!!n?.preroll,postroll:!!n?.postroll}),"onStreamAds"),onStreamDuration:n=>e(()=>({streamDuration:n}),"onStreamDuration"),onStreamHost:n=>e(()=>({streamHost:n})),onStreamTime:n=>e(()=>({streamTime:n}),"onStreamTime"),onSubtitle:n=>e(()=>({subtitleCues:n}),"onSubtitle"),onAllSubtitles:n=>e(()=>({allSubtitles:n}),"onSubtitles"),onSubtitleCue:n=>e(()=>({subtitleCue:n}),"onSubtitleCue"),onSubtitleSet:()=>e(i.noop,"onSubtitleSet"),onTalk:n=>e(()=>({currentTalk:n.id,currentTalkDetails:n}),"onTalk"),onTalkComplete:()=>e(i.noop,"onTalkComplete"),onTEDStart:()=>e(i.noop,"onTedStart"),onFullscreen:n=>e(()=>({fullscreen:n}),"onFullscreen"),onTranscriptLanguage:n=>e(()=>({transcriptLanguage:n}),"onTranscriptLanguage"),onTranscriptToggle:n=>e(()=>({isTranscriptVisible:n}),"onTranscriptToggle"),onTranscriptClick:()=>e(i.noop,"onTranscriptClick"),onCloseTranscript:()=>e(i.noop,"onCloseTranscript"),onVolume:(t,i=!1)=>e(()=>({audio:{...n().audio,volume:t},userInitiated:i}),"onVolume"),onDubbingLanguage:n=>e(()=>({dubbingLang:n}),"onDubbingLanguage"),requestDubbingLanguage:()=>e(()=>({}),"requestDubbingLanguage"),onChangeDubbingLang:n=>e(()=>({loadingDubLang:n})),registerPaRappa:n=>{parappaMiddleware.parappa=n,e(()=>({}),"registerPaRappa")},registerYouTubePlayer:n=>{e(()=>({youTubePlayer:n}),"registerYouTubePlayer")},requestCurrentTime:n=>{e(()=>({requestedCurrentTime:n}),"requestCurrentTime")},clearRequestedCurrentTime:()=>{e(()=>({requestedCurrentTime:null}),"clearRequestedCurrentTime")},requestContentTime:n=>{e(()=>({contentTime:n}),"requestContentTime")},requestMute:(t,i=!1)=>e(()=>({audio:{...n().audio,mute:t},userInitiated:i}),"requestMute"),requestPause:()=>{e(()=>({}),"requestPause")},requestPlay:()=>{e(()=>({}),"requestPlay")},requestPlaybackRate:(n,t=!1)=>{e(()=>({requestedPlaybackRate:n,userInitiated:t}),"requestPlaybackRate")},requestSubtitleLanguage:n=>{e(()=>({requestedSubtitleLanguage:n,subtitle:n}),"requestSubtitleLanguage")},requestVolume:(t,i=!1)=>{e(()=>({audio:{...n().audio,volume:t},userInitiated:i}),"requestVolume")},callPause:n=>e(()=>({pauseCalled:n})),callPlay:n=>e(()=>({playCalled:n})),reset:t=>e(()=>({ad:{},contentState:"replay"===t?"content":"preroll",isAdBreak:!1,time:0,buffering:!1,contentTime:0,currentTime:0,formattedTime:"00:00",roundedTime:0,requestedCurrentTime:0,streamTime:0,ready:"nextTalk"!==t&&n().ready,playbackMode:"replay"===t?"replayed":"unstarted",loadingDubLang:"nextTalk"!==t&&n().loadingDubLang,duration:"nextTalk"===t?0:n().duration,streamDuration:"nextTalk"===t?0:n().streamDuration,hasAds:"replay"!==t&&n().hasAds,preroll:!1,postroll:!1,prerollDetails:{},postrollDetails:{},prerollDuration:"nextTalk"===t?0:n().prerollDuration,postrollDuration:"nextTalk"===t?0:n().postrollDuration,subtitleCues:"nextTalk"===t?[]:n().subtitleCues,subtitleCue:"",clipStartTime:"nextTalk"===t?null:n().clipStartTime,clipEndTime:"nextTalk"===t?null:n().clipEndTime,subtitlesEnabled:"nextTalk"===t||n().subtitlesEnabled}
1),"reset"),setMixpanelTalkDetails:n=>{e(()=>({mixpanelTalkDetails:n}),"setMixpanelTalkDetails")},setShouldAutoplay:n=>e(()=>({shouldAutoplay:n,autoplayed:n}),"setShouldAutoplay"),setClipTimes:(n,t)=>e(()=>({clipStartTime:n,clipEndTime:t}),"setClipTimes"),setSubtitlesEnabled:n=>e(()=>({subtitlesEnabled:n,...!n&&{subtitle:"OFF",requestedSubtitleLanguage:"OFF",subtitleCue:""}}),"setSubtitlesEnabled"),registerAdControls:(n,t)=>e(()=>({adPauseFn:n,adResumeFn:t}),"registerAdControls"),pauseAd:()=>{let e=n().adPauseFn;e&&e()},resumeAd:()=>{let e=n().adResumeFn;e&&e()}})));function C(){return i.client?(n||(n=E()),n):E()}function I(e,n){let[t]=C();return t(e,n)}I.subscribe=e=>{let[,n]=C();return n.subscribe(e)},I.getState=()=>{let[,e]=C();return e.getState()},e.s(["default",0,I],674690)},943910,524188,1231,303660,318332,397310,727526,981790,2895,892368,301936,742924,964701,276098,217361,295713,979456,827456,733384,91981,945876,166787,598864,975908,139967,939800,660879,142316,502535,620722,654156,123649,63776,107590,997529,883011,420040,e=>{"use strict";let n,t,i;var a,l,r=e.i(914300),s=e.i(490766),o=e.i(235250);function u(e,n){return(0,s.operate)(function(t,i){var a=0;t.subscribe((0,o.createOperatorSubscriber)(i,function(t){i.next(e.call(n,t,a++))}))})}e.s(["map",0,u],524188);var p=e.i(719420);function d(e,n,t){let i=new Set(e),a=i.size;return(0,p.visit)(n,{Directive(e){if(i.delete(e.name.value)&&(!t||!i.size))return p.BREAK}}),t?!i.size:i.size<a}var c=e.i(759248);class f{isIncrementalResult(e){return!1}prepareRequest(e){return(0,c.invariant)(!d(["defer","stream"],e.query),69),e}extractErrors(){}startRequest=void 0}var m=e.i(247803),y=e.i(420897),h="function"==typeof Symbol&&Symbol.observable||"@@observable";function T(e){return e}var g=e.i(884448),k=e.i(382979),N=e.i(883360),L=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(n){var t=new e;return t.source=this,t.operator=n,t},e.prototype.subscribe=function(e,n,t){var i=this,a=!function(e){return e&&e instanceof m.Subscriber||e&&(0,k.isFunction)(e.next)&&(0,k.isFunction)(e.error)&&(0,k.isFunction)(e.complete)&&(0,y.isSubscription)(e)}(e)?new m.SafeSubscriber(e,n,t):e;return(0,N.errorContext)(function(){var e=i.operator,n=i.source;a.add(e?e.call(a,n):n?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(n){e.error(n)}},e.prototype.forEach=function(e,n){var t=this;return new(n=R(n))(function(n,i){var a=new m.SafeSubscriber({next:function(n){try{e(n)}catch(e){i(e),a.unsubscribe()}},error:i,complete:n});t.subscribe(a)})},e.prototype._subscribe=function(e){var n;return null==(n=this.source)?void 0:n.subscribe(e)},e.prototype[h]=function(){return this},e.prototype.pipe=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===e.length?T:1===e.length?e[0]:function(n){return e.reduce(function(e,n){return n(e)},n)})(this)},e.prototype.toPromise=function(e){var n=this;return new(e=R(e))(function(e,t){var i;n.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},e.create=function(n){return new e(n)},e}();function R(e){var n;return null!=(n=null!=e?e:g.config.Promise)?n:Promise}e.s(["Observable",0,L],1231);var S=new L(function(e){return e.complete()});e.s(["EMPTY",0,S],303660);var A=e.i(490342),O=e.i(314853),b=e.i(548119);let D=Symbol.for("apollo.cacheSize"),v={...b.global[D]};function _(e,n){return e.definitions.find(e=>"OperationDefinition"===e.kind&&!!e.name)?.name.value??n}e.s(["cacheSizes",0,v],318332);let E=()=>Object.create(null),{forEach:C,slice:I}=Array.prototype,{hasOwnProperty:w}=Object.prototype;class U{constructor(e=!0,n=E){this.weakness=e,this.makeData=n}lookup(){return this.lookupArray(arguments)}lookupArray(e){let n=this;return C.call(e,e=>n=n.getChildTrie(e)),w.call(n,"data")?n.data:n.data=this.makeData(I.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let n=this;for(let t=0,i=e.length;n&&t<i;++t){let i=n.mapFor(e[t],!1);n=i&&i.get(e[t])}return n&&n.data}remove(){return this.removeArray(arguments)}removeArray(e){let n;if(e.length){let t=e[0],i=this.mapFor(t,!1),a=i&&i.get(t);a&&(n=a.removeArray(I.call(e,1)),a.data||a.weak||a.strong&&a.strong.size||i.delete(t))}else n=this.data,delete this.data;return n}getChildTrie(e){let n=this.mapFor(e,!0),t=n.get(e);
1return t||n.set(e,t=new U(this.weakness,this.makeData)),t}mapFor(e,n){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(n?this.weak=new WeakMap:void 0):this.strong||(n?this.strong=new Map:void 0)}}function P(){}class V{constructor(e=1/0,n=P){this.max=e,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let n=this.getNode(e);return n&&n.value}get size(){return this.map.size}getNode(e){let n=this.map.get(e);if(n&&n!==this.newest){let{older:e,newer:t}=n;t&&(t.older=e),e&&(e.newer=t),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=t)}return n}set(e,n){let t=this.getNode(e);return t?t.value=n:(t={key:e,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.map.set(e,t),t.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let n=this.map.get(e);return!!n&&(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(e),this.dispose(n.value,e),!0)}}function F(){}let x="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},B="u">typeof WeakMap?WeakMap:Map,M="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:F,unregister:F}};class J{constructor(e=1/0,n=F){this.max=e,this.dispose=n,this.map=new B,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let n=0;n<10024;n++){let n=e.next().value;if(!n)break;this.unfinalizedNodes.delete(n);let t=n.key;delete n.key,n.keyRef=new x(t),this.registry.register(t,n,n)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new M(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let n=this.getNode(e);return n&&n.value}getNode(e){let n=this.map.get(e);if(n&&n!==this.newest){let{older:e,newer:t}=n;t&&(t.older=e),e&&(e.newer=t),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=t)}return n}set(e,n){let t=this.getNode(e);return t?t.value=n:(t={key:e,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.scheduleFinalization(t),this.map.set(e,t),this.size++,t.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let n=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,n),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),n&&this.map.delete(n)}delete(e){let n=this.map.get(e);return!!n&&(this.deleteNode(n),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}let j=new WeakSet;function $(e){!(e.size<=(e.max||-1))&&(j.has(e)||(j.add(e),setTimeout(()=>{e.clean(),j.delete(e)},100)))}let G=function(e,n){let t=new J(e,n);return t.set=function(e,n){let t=J.prototype.set.call(this,e,n);return $(this),t},t},q=function(e,n){let t=new V(e,n);return t.set=function(e,n){let t=V.prototype.set.call(this,e,n);return $(this),t},t};function K(e,{max:n,makeCacheKey:t=e=>e}){let i=new U(!0),a=new G(n);return(...n)=>
1{let l=i.lookupArray(t(n)),r=a.get(l);if(r){if(r.error)throw r.error;return r.result}let s=a.set(l,{});try{return s.result=e(...n)}catch(e){throw s.error=e,e}}}e.s(["AutoCleanedStrongCache",0,q,"AutoCleanedWeakCache",0,G],397310);let Q=K((e,n)=>{(0,c.invariant)(e&&"Document"===e.kind,1);let t=e.definitions.filter(e=>"OperationDefinition"===e.kind);O.__DEV__&&(e.definitions.forEach(e=>{if("OperationDefinition"!==e.kind&&"FragmentDefinition"!==e.kind)throw(0,c.newInvariantError)(2,e.kind)}),(0,c.invariant)(t.length<=1,3,t.length)),n&&(0,c.invariant)(1==t.length&&t[0].operation===n,4,n,n,t[0].operation),(0,p.visit)(e,{Field(n,i,a,l){if(n.alias&&("__typename"===n.alias.value||n.alias.value.startsWith("__ac_"))&&n.alias.value!==n.name.value){let i=e,a=[];for(let e of l)(i=i[e]).kind===A.Kind.FIELD&&a.push(i.alias?.value||i.name.value);throw a.splice(-1,1,n.name.value),(0,c.newInvariantError)(5,n.alias.value,a.join("."),t[0].operation,_(e,"(anonymous)"))}}})},{max:v.checkDocument||2e3});function z(e){return Q(e),e.definitions.filter(e=>"OperationDefinition"===e.kind)[0]}class W{static empty(){return new W(()=>S)}static from(e){if(0===e.length)return W.empty();let[n,...t]=e;return n.concat(...t)}static split(e,n,t=new W((e,n)=>n(e))){return Object.assign(new W((i,a)=>{let l=e(i);return O.__DEV__&&"boolean"!=typeof l&&O.__DEV__&&c.invariant.warn(65,l),l?n.request(i,a):t.request(i,a)}),{left:n,right:t})}static execute(e,n,t){return e.request(function(e,{client:n}){let t={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:_(e.query),operationType:z(e.query).operation},i={...e.context},a=()=>Object.freeze({...i});return Object.defineProperty(t,"setContext",{enumerable:!1,value:e=>{i="function"==typeof e?{...i,...e(a())}:{...i,...e}}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:a}),Object.defineProperty(t,"client",{enumerable:!1,value:n}),t}(n,t),()=>(O.__DEV__&&O.__DEV__&&c.invariant.warn(66),S))}static concat(...e){return W.from(e)}constructor(e){e&&(this.request=e)}split(e,n,t){return this.concat(W.split(e,n,t))}concat(...e){return 0===e.length?this:e.reduce(this.combine.bind(this),this)}combine(e,n){return Object.assign(new W((t,i)=>e.request(t,e=>n.request(e,i))),{left:e,right:n})}request(e,n){throw(0,c.newInvariantError)(67)}left;right}e.s(["ApolloLink",0,W],727526);let Y=W.execute;e.s(["execute",0,Y],981790);let H=null,X={},Z=1;function ee(e){try{return e()}catch(e){}}let en="@wry/context:Slot",et=ee(()=>globalThis)||ee(()=>e.g)||Object.create(null),ei=et[en]||Array[en]||function(e){try{Object.defineProperty(et,en,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",Z++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=H;e;e=e.parent)if(this.id in e.slots){let n=e.slots[this.id];if(n===X)break;return e!==H&&(H.slots[this.id]=n),!0}return H&&(H.slots[this.id]=X),!1}getValue(){if(this.hasValue())return H.slots[this.id]}withValue(e,n,t,i){let a={__proto__:null,[this.id]:e},l=H;H={parent:l,slots:a};try{return n.apply(i,t)}finally{H=l}}static bind(e){let n=H;return function(){let t=H;try{return H=n,e.apply(this,arguments)}finally{H=t}}}static noContext(e,n,t){if(!H)return e.apply(t,n);{let i=H;try{return H=null,e.apply(t,n)}finally{H=i}}}}),{bind:ea,noContext:el}=ei,er=new ei,{hasOwnProperty:es}=Object.prototype,eo=Array.from||function(e){let n=[];return e.forEach(e=>n.push(e)),n};function eu(e){let{unsubscribe:n}=e;"function"==typeof n&&(e.unsubscribe=void 0,n())}let ep=[];function ed(e,n){if(!e)throw Error(n||"assertion failure")}function ec(e,n){let t=e.length;return t>0&&t===n.length&&e[t-1]===n[t-1]}function ef(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class em{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++em.count}peek(){if(1===this.value.length&&!eT(this))return ey(this),this.value[0]}recompute(e){var n,t,i;return ed(!this.recomputing,"already recomputing"),ey(this),eT(this)?(n=this,t=e,eR(n),er.withValue(n,eh,[n,t]),function(e,n){if("function"==typeof e.subscribe)try{eu(e),e.unsubscribe=e.subscribe.apply(null,n)}catch(n){return e.setDirty(),!1}return!0}(n,t)&&((i=n).dirty=!1,eT(i)||function(e){eg(e,eN)}(i)),ef(n.value)):ef(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,eg(e,ek),eu(this))}dispose(){this.setDirty(),eR(this),eg(this,(e,n)=>{e.setDirty(),eS(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=ep.pop()||new Set),this.deps.add(e)}
1forgetDeps(){this.deps&&(eo(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),ep.push(this.deps),this.deps=null)}}function ey(e){let n=er.getValue();if(n)return e.parents.add(n),n.childValues.has(e)||n.childValues.set(e,[]),eT(e)?ek(n,e):eN(n,e),n}function eh(e,n){let t;e.recomputing=!0;let{normalizeResult:i}=e;i&&1===e.value.length&&(t=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,n),i&&t&&!ec(t,e.value))try{e.value[0]=i(e.value[0],t[0])}catch(e){}}catch(n){e.value[1]=n}e.recomputing=!1}function eT(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}em.count=0;function eg(e,n){let t=e.parents.size;if(t){let i=eo(e.parents);for(let a=0;a<t;++a)n(i[a],e)}}function ek(e,n){ed(e.childValues.has(n)),ed(eT(n));let t=!eT(e);if(e.dirtyChildren){if(e.dirtyChildren.has(n))return}else e.dirtyChildren=ep.pop()||new Set;e.dirtyChildren.add(n),t&&eg(e,ek)}function eN(e,n){ed(e.childValues.has(n)),ed(!eT(n));let t=e.childValues.get(n);0===t.length?e.childValues.set(n,n.value.slice(0)):ec(t,n.value)||e.setDirty(),eL(e,n),eT(e)||eg(e,eN)}function eL(e,n){let t=e.dirtyChildren;t&&(t.delete(n),0===t.size&&(ep.length<100&&ep.push(t),e.dirtyChildren=null))}function eR(e){e.childValues.size>0&&e.childValues.forEach((n,t)=>{eS(e,t)}),e.forgetDeps(),ed(null===e.dirtyChildren)}function eS(e,n){n.parents.delete(e),e.childValues.delete(n),eL(e,n)}let eA={setDirty:!0,dispose:!0,forget:!0};function eO(e){let n=new Map,t=e&&e.subscribe;function i(e){let i=er.getValue();if(i){let a=n.get(e);a||n.set(e,a=new Set),i.dependOn(a),"function"==typeof t&&(eu(a),a.unsubscribe=t(e))}}return i.dirty=function(e,t){let i=n.get(e);if(i){let a=t&&es.call(eA,t)?t:"setDirty";
1eo(i).forEach(e=>e[a]()),n.delete(e),eu(i)}},i}function eb(...e){return(n||(n=new U("function"==typeof WeakMap))).lookupArray(e)}let eD=new Set;function ev(e,{max:n=65536,keyArgs:t,makeCacheKey:i=eb,normalizeResult:a,subscribe:l,cache:r=V}=Object.create(null)){let s="function"==typeof r?new r(n,e=>e.dispose()):r,o=function(){let n=i.apply(null,t?t.apply(null,arguments):arguments);if(void 0===n)return e.apply(null,arguments);let r=s.get(n);r||(s.set(n,r=new em(e)),r.normalizeResult=a,r.subscribe=l,r.forget=()=>s.delete(n));let o=r.recompute(Array.prototype.slice.call(arguments));return s.set(n,r),eD.add(s),er.hasValue()||(eD.forEach(e=>e.clean()),eD.clear()),o};function u(e){let n=e&&s.get(e);n&&n.setDirty()}function p(e){let n=e&&s.get(e);if(n)return n.peek()}function d(e){return!!e&&s.delete(e)}return Object.defineProperty(o,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(o.options={max:n,keyArgs:t,makeCacheKey:i,normalizeResult:a,subscribe:l,cache:s}),o.dirtyKey=u,o.dirty=function(){u(i.apply(null,arguments))},o.peekKey=p,o.peek=function(){return p(i.apply(null,arguments))},o.forgetKey=d,o.forget=function(){return d(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=t?function(){return i.apply(null,t.apply(null,arguments))}:i,Object.freeze(o)}function e_(e){return e}class eE{transform;cached;resultCache=new WeakSet;getCacheKey(e){return[e]}static identity(){return new eE(e_,{cache:!1})}static split(e,n,t=eE.identity()){return Object.assign(new eE(i=>(e(i)?n:t).transformDocument(i),{cache:!1}),{left:n,right:t})}constructor(e,n={}){this.transform=e,n.getCacheKey&&(this.getCacheKey=n.getCacheKey),this.cached=!1!==n.cache,this.resetCache()}resetCache(){if(this.cached){let e=new U;this.performWork=ev(eE.prototype.performWork.bind(this),{makeCacheKey:n=>{let t=this.getCacheKey(n);if(t)return(0,c.invariant)(Array.isArray(t),22),e.lookupArray(t)},max:v["documentTransform.cache"],cache:J})}}performWork(e){return Q(e),this.transform(e)}transformDocument(e){if(this.resultCache.has(e))return e;let n=this.performWork(e);return this.resultCache.add(n),n}concat(e){return Object.assign(new eE(n=>e.transformDocument(this.transformDocument(n)),{cache:!1}),{left:this,right:e})}left;right}e.s(["DocumentTransform",0,eE],2895);var eC=e.i(166253);function eI(){throw Error("only supported in development mode")}var ew=e.i(274466),eU=e.i(128606),eP=(0,eU.createErrorClass)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),eV=e.i(133048),eF=function(e){function n(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return(0,ew.__extends)(n,e),n.prototype.lift=function(e){var n=new ex(this,this);return n.operator=e,n},n.prototype._throwIfClosed=function(){if(this.closed)throw new eP},n.prototype.next=function(e){var n=this;(0,N.errorContext)(function(){var t,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=(0,ew.__values)(n.currentObservers),l=a.next();!l.done;l=a.next())l.value.next(e)}catch(e){t={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}}})},n.prototype.error=function(e){var n=this;(0,N.errorContext)(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var t=n.observers;t.length;)t.shift().error(e)}})},n.prototype.complete=function(){var e=this;(0,N.errorContext)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},n.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},n.prototype._innerSubscribe=function(e){var n=this,t=this.hasError,i=this.isStopped,a=this.observers;return t||i?y.EMPTY_SUBSCRIPTION:(this.currentObservers=null,a.push(e),new y.Subscription(function(){n.currentObservers=null,(0,eV.arrRemove)(a,e)}))},n.prototype._checkFinalizedStatuses=function(e){var n=this.hasError,t=this.thrownError,i=this.isStopped;n?e.error(t):i&&e.complete()},n.prototype.asObservable=function(){var e=new L;return e.source=this,e},n.create=function(e,n){return new ex(e,n)},n}(L),ex=function(e){function n(n,t){var i=e.call(this)||this;return i.destination=n,i.source=t,i}return(0,ew.__extends)(n,e),n.prototype.next=function(e){var n,t;null==(t=null==(n=this.destination)?void 0:n.next)||t.call(n,e)},n.prototype.error=function(e){var n,t;null==(t=null==(n=this.destination)?void 0:n.error)||t.call(n,e)},n.prototype.complete=function(){var e,n;null==(n=null==(e=this.destination)?void 0:e.complete)||n.call(e)},n.prototype._subscribe=function(e){var n,t;return null!=(t=null==(n=this.source)?void 0:n.subscribe(e))?t:y.EMPTY_SUBSCRIPTION},n}(eF),eB=e.i(96592),eM=function(e){function n(n,t,i){void 0===n&&(n=1/0),void 0===t&&(t=1/0),void 0===i&&(i=eB.dateTimestampProvider);var a=e.call(this)||this;return a._bufferSize=n,a._windowTime=t,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=t===1/0,a._bufferSize=Math.max(1,n),a._windowTime=Math.max(1,t),a}return(0,ew.__extends)(n,e),n.prototype.next=function(n){var t=this.isStopped,i=this._buffer,a=this._infiniteTimeWindow,l=this._timestampProvider,r=this._windowTime;!t&&(i.push(n),a||i.push(l.now()+r)),this._trimBuffer(),e.prototype.next.call(this,n)},n.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),t=this._infiniteTimeWindow,i=this._buffer.slice(),a=0;a<i.length&&!e.closed;
1a+=t?1:2)e.next(i[a]);return this._checkFinalizedStatuses(e),n},n.prototype._trimBuffer=function(){var e=this._bufferSize,n=this._timestampProvider,t=this._buffer,i=this._infiniteTimeWindow,a=(i?1:2)*e;if(e<1/0&&a<t.length&&t.splice(0,t.length-a),!i){for(var l=n.now(),r=0,s=1;s<t.length&&t[s]<=l;s+=2)r=s;r&&t.splice(0,r+1)}},n}(eF),eJ=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function ej(e){return(0,k.isFunction)(null==e?void 0:e.then)}function e$(e){return(0,k.isFunction)(e[h])}function eG(e){return Symbol.asyncIterator&&(0,k.isFunction)(null==e?void 0:e[Symbol.asyncIterator])}function eq(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}e.s(["isArrayLike",0,eJ],892368);var eK="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function eQ(e){return(0,k.isFunction)(null==e?void 0:e[eK])}function ez(e){return(0,ew.__asyncGenerator)(this,arguments,function(){var n,t,i;return(0,ew.__generator)(this,function(a){switch(a.label){case 0:n=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,(0,ew.__await)(n.read())];case 3:if(i=(t=a.sent()).value,!t.done)return[3,5];return[4,(0,ew.__await)(void 0)];case 4:return[2,a.sent()];case 5:return[4,(0,ew.__await)(i)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function eW(e){return(0,k.isFunction)(null==e?void 0:e.getReader)}var eY=e.i(589440);function eH(e){if(e instanceof L)return e;if(null!=e){var n,t,i,a;if(e$(e)){return n=e,new L(function(e){var t=n[h]();if((0,k.isFunction)(t.subscribe))return t.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if(eJ(e)){return t=e,new L(function(e){for(var n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}if(ej(e)){return i=e,new L(function(e){i.then(function(n){e.closed||(e.next(n),e.complete())},function(n){return e.error(n)}).then(null,eY.reportUnhandledError)})}if(eG(e))return eX(e);if(eQ(e)){return a=e,new L(function(e){var n,t;try{for(var i=(0,ew.__values)(a),l=i.next();!l.done;l=i.next()){var r=l.value;if(e.next(r),e.closed)return}}catch(e){n={error:e}}finally{try{l&&!l.done&&(t=i.return)&&t.call(i)}finally{if(n)throw n.error}}e.complete()})}if(eW(e))return eX(ez(e))}throw eq(e)}function eX(e){return new L(function(n){(function(e,n){var t,i,a,l;return(0,ew.__awaiter)(this,void 0,void 0,function(){var r;return(0,ew.__generator)(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),t=(0,ew.__asyncValues)(e),s.label=1;case 1:return[4,t.next()];case 2:if((i=s.sent()).done)return[3,4];if(r=i.value,n.next(r),n.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a={error:s.sent()},[3,11];case 6:if(s.trys.push([6,,9,10]),!(i&&!i.done&&(l=t.return)))return[3,8];return[4,l.call(t)];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(a)throw a.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})})(e,n).catch(function(e){return n.error(e)})})}function eZ(e){void 0===e&&(e={});var n=e.connector,t=void 0===n?function(){return new eF}:n,i=e.resetOnError,a=void 0===i||i,l=e.resetOnComplete,r=void 0===l||l,o=e.resetOnRefCountZero,u=void 0===o||o;return function(e){var n,i,l,o=0,p=!1,d=!1,c=function(){null==i||i.unsubscribe(),i=void 0},f=function(){c(),n=l=void 0,p=d=!1},y=function(){var e=n;f(),null==e||e.unsubscribe()};return(0,s.operate)(function(e,s){o++,d||p||c();var h=l=null!=l?l:t();s.add(function(){0!=--o||d||p||(i=e0(y,u))}),h.subscribe(s),!n&&o>0&&(n=new m.SafeSubscriber({next:function(e){return h.next(e)},error:function(e){d=!0,c(),i=e0(f,a,e),h.error(e)},complete:function(){p=!0,c(),i=e0(f,r),h.complete()}}),eH(e).subscribe(n))})(e)}}function e0(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];if(!0===n)return void e();if(!1!==n){var a=new m.SafeSubscriber({next:function(){a.unsubscribe(),e()}});return eH(n.apply(void 0,(0,ew.__spreadArray)([],(0,ew.__read)(t)))).subscribe(a)}}function e1(e,n,t){var i,a,l,r,s=!1;return e&&"object"==typeof e?(r=void 0===(i=e.bufferSize)?1/0:i,n=void 0===(a=e.windowTime)?1/0:a,s=void 0!==(l=e.refCount)&&l,t=e.scheduler):r=null!=e?e:1/0,eZ({connector:function(){return new eM(r,n,t)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}e.s(["innerFrom",0,eH],301936);let e2=K(function(e,n,t){let i,a;function l(e){return e!==i&&(a=t(i=e)),a}return Object.assign(e.pipe(u(l),e1({bufferSize:1,refCount:!0})),{getCurrentResult:()=>l(e.getCurrentResult())})},{max:1,makeCacheKey:e=>e.slice(0,2)});var e4=e.i(297364);function e6(e){return(0,p.visit)(e,{FragmentSpread(e){if(!e.directives?.some(({name:e})=>"unmask"===e.value))return null}})}var e3=e.i(112613);function e9(e,n){var t=(0,k.isFunction)(e)?e:function(){return e},i=function(e){return e.error(t())};return new L(n?function(e){return n.schedule(i,0,e)}:i)}function e8(e){return(0,s.operate)(function(n,t){var i,a=null,l=!1;a=n.subscribe((0,o.createOperatorSubscriber)(t,void 0,void 0,function(r){i=eH(e(r,e8(e)(n))),a?(a.unsubscribe(),a=null,i.subscribe(t)):l=!0})),l&&(a.unsubscribe(),a=null,i.subscribe(t))})}var e5=e.i(696676);function e7(e,n,t){return(void 0===t&&(t=1/0),(0,k.isFunction)(n))?e7(function(t,i){return u(function(e,a){return n(t,e,i,a)}
1)(eH(e(t,i)))},t):("number"==typeof n&&(t=n),(0,s.operate)(function(n,i){var a,l,r,s,u,p,d,c;return a=t,l=[],r=0,s=0,u=!1,p=function(){!u||l.length||r||i.complete()},d=function(e){return r<a?c(e):l.push(e)},c=function(n){r++;var t=!1;eH(e(n,s++)).subscribe((0,o.createOperatorSubscriber)(i,function(e){i.next(e)},function(){t=!0},void 0,function(){if(t)try{for(r--;l.length&&r<a;)!function(){var e=l.shift();c(e)}();p()}catch(e){i.error(e)}}))},n.subscribe((0,o.createOperatorSubscriber)(i,d,function(){u=!0,p()})),function(){}}))}e.s(["mergeMap",0,e7],742924);function ne(e){var n;return(n=e[e.length-1])&&(0,k.isFunction)(n.schedule)?e.pop():void 0}var nn=e.i(843229);function nt(e,n){return void 0===n&&(n=0),(0,s.operate)(function(t,i){i.add(e.schedule(function(){return t.subscribe(i)},n))})}function ni(e,n){if(!e)throw Error("Iterable cannot be null");return new L(function(t){(0,e5.executeSchedule)(t,n,function(){var i=e[Symbol.asyncIterator]();(0,e5.executeSchedule)(t,n,function(){i.next().then(function(e){e.done?t.complete():t.next(e.value)})},0,!0)})})}function na(e,n){return n?function(e,n){if(null!=e){if(e$(e))return eH(e).pipe(nt(n),(0,nn.observeOn)(n));if(eJ(e))return new L(function(t){var i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})});if(ej(e))return eH(e).pipe(nt(n),(0,nn.observeOn)(n));if(eG(e))return ni(e,n);if(eQ(e))return new L(function(t){var i;return(0,e5.executeSchedule)(t,n,function(){i=e[eK](),(0,e5.executeSchedule)(t,n,function(){var e,n,a;try{n=(e=i.next()).value,a=e.done}catch(e){t.error(e);return}a?t.complete():t.next(n)},0,!0)}),function(){return(0,k.isFunction)(null==i?void 0:i.return)&&i.return()}});if(eW(e))return ni(ez(e),n)}throw eq(e)}(e,n):eH(e)}function nl(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e7(T,1)(na(e,ne(e)))}function nr(e,n){return(0,s.operate)(function(t,i){var a=0;t.subscribe((0,o.createOperatorSubscriber)(i,function(t){return e.call(n,t,a++)&&i.next(t)}))})}e.s(["filter",0,nr],964701);var ns=(0,eU.createErrorClass)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function no(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=ne(e);return na(e,t)}(a=l||(l={})).NEXT="N",a.ERROR="E",a.COMPLETE="C";var nu=function(){function e(e,n,t){this.kind=e,this.value=n,this.error=t,this.hasValue="N"===e}return e.prototype.observe=function(e){return function(e,n){var t,i,a,l=e.kind,r=e.value,s=e.error;if("string"!=typeof l)throw TypeError('Invalid notification, missing "kind"');"N"===l?null==(t=n.next)||t.call(n,r):"E"===l?null==(i=n.error)||i.call(n,s):null==(a=n.complete)||a.call(n)}(this,e)},e.prototype.do=function(e,n,t){var i=this.kind,a=this.value,l=this.error;return"N"===i?null==e?void 0:e(a):"E"===i?null==n?void 0:n(l):null==t?void 0:t()},e.prototype.accept=function(e,n,t){return(0,k.isFunction)(null==e?void 0:e.next)?this.observe(e):this.do(e,n,t)},e.prototype.toObservable=function(){var e=this.kind,n=this.value,t=this.error,i="N"===e?no(n):"E"===e?e9(function(){return t}):"C"===e?S:0;if(!i)throw TypeError("Unexpected notification kind "+e);return i},e.createNext=function(n){return new e("N",n)},e.createError=function(n){return new e("E",void 0,n)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function np(e,n,t){var i=(0,k.isFunction)(e)||n||t?{next:e,error:n,complete:t}:e;
1return i?(0,s.operate)(function(e,n){null==(t=i.subscribe)||t.call(i);var t,a=!0;e.subscribe((0,o.createOperatorSubscriber)(n,function(e){var t;null==(t=i.next)||t.call(i,e),n.next(e)},function(){var e;a=!1,null==(e=i.complete)||e.call(i),n.complete()},function(e){var t;a=!1,null==(t=i.error)||t.call(i,e),n.error(e)},function(){var e,n;a&&(null==(e=i.unsubscribe)||e.call(i)),null==(n=i.finalize)||n.call(i)}))}):T}let nd={};O.__DEV__,O.__DEV__,O.__DEV__;let nc=Object.assign(function(e){return JSON.stringify(e,nf)},{reset(){t=new q(v.canonicalStringify||1e3)}});function nf(e,n){if(n&&"object"==typeof n){let e=Object.getPrototypeOf(n);if(e===Object.prototype||null===e){let i=Object.keys(n);if(i.every(nm))return n;let a=JSON.stringify(i),l=t.get(a);if(!l){i.sort();let e=JSON.stringify(i);l=t.get(e)||i,t.set(a,l),t.set(e,l)}let r=Object.create(e);return l.forEach(e=>{r[e]=n[e]}),r}}return n}function nm(e,n,t){return 0===n||t[n-1]<=e}function ny(e,n){return"object"==typeof e&&null!==e&&e[Symbol.for("apollo.error")]===n}function nh(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function nT(e){return e.filter(e=>e).map(e=>e.message||"Error message not found.").join("\n")}O.__DEV__&&(nd.canonicalStringify=()=>t.size),nc.reset(),e.s(["brand",0,nh,"isBranded",0,ny],276098);class ng extends Error{static is(e){return ny(e,"CombinedGraphQLErrors")}static formatMessage=nT;errors;data;extensions;constructor(e,n=e.errors||[]){super(ng.formatMessage(n,{result:e,defaultFormatMessage:nT})),this.errors=n,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",nh(this),Object.setPrototypeOf(this,ng.prototype)}}function nk(e){return e.map(e=>e.message||"Error message not found.").join("\n")}e.s(["CombinedGraphQLErrors",0,ng],217361);class nN extends Error{static is(e){return ny(e,"CombinedProtocolErrors")}static formatMessage=nk;errors;constructor(e){super(nN.formatMessage(e,{defaultFormatMessage:nk})),this.name="CombinedProtocolErrors",this.errors=e,nh(this),Object.setPrototypeOf(this,nN.prototype)}}e.s(["CombinedProtocolErrors",0,nN],295713);
1class nL extends Error{static is(e){return ny(e,"UnconventionalError")}constructor(e){super("An error of unexpected shape occurred.",{cause:e}),this.name="UnconventionalError",nh(this),Object.setPrototypeOf(this,nL.prototype)}}e.s(["UnconventionalError",0,nL],979456);let nR=Symbol();function nS(e){return"extensions"in e&&nN.is(e.extensions[nR])}function nA(e){return null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name&&("string"==typeof e.stack||void 0===e.stack)?e:"string"==typeof e?Error(e,{cause:e}):new nL(e)}e.s(["PROTOCOL_ERRORS_SYMBOL",0,nR,"graphQLResultHasProtocolErrors",0,nS,"toErrorLike",0,nA],827456);let nO=new WeakSet;function nb(e){nO.add(e)}e.s(["LinkError",0,{is:e=>nO.has(e)},"registerLinkError",0,nb],733384);var nD=e.i(133160);function nv(e=[]){let n={};return e.forEach(e=>{n[e.name.value]=e}),n}function n_(e){return e.definitions.filter(e=>"FragmentDefinition"===e.kind)}var nE=e.i(908662);function nC(e){return e.alias?e.alias.value:e.name.value}let nI=new ei;function nw(e,n,t){return nI.withValue(!0,()=>{let i=function e(n,t,i,a,l){let{knownChanged:r}=i,s=function(e,n){if(n.has(e))return n.get(e);let t=Array.isArray(e)?[]:{};return n.set(e,t),t}(n,i.mutableTargets);if(Array.isArray(n)){for(let[o,u]of Array.from(n.entries())){if(null===u){s[o]=null;continue}let n=e(u,t,i,a,O.__DEV__?`${l||""}[${o}]`:void 0);r.has(n)&&r.add(s),s[o]=n}return r.has(s)?s:n}for(let o of t.selections){let t;if(a&&r.add(s),o.kind===A.Kind.FIELD){let u=nC(o),p=o.selectionSet;if(void 0===(t=s[u]||n[u]))continue;if(p&&null!==t){let s=e(n[u],p,i,a,O.__DEV__?`${l||""}.${u}`:void 0);r.has(s)&&(t=s)}O.__DEV__||(s[u]=t),O.__DEV__&&(a&&"__typename"!==u&&!Object.getOwnPropertyDescriptor(s,u)?.value?Object.defineProperty(s,u,function(e,n,t,i,a){let l=()=>(nI.getValue()||(O.__DEV__&&c.invariant.warn(42,i?`${a} '${i}'`:`anonymous ${a}`,`${t}.${e}`.replace(/^\./,"")),l=()=>n),n);return{get:()=>l(),set(e){l=()=>e},enumerable:!0,configurable:!0}}(u,t,l||"",i.operationName,i.operationType)):(delete s[u],s[u]=t))}if(o.kind===A.Kind.INLINE_FRAGMENT&&(!o.typeCondition||i.cache.fragmentMatches(o,n.__typename))&&(t=e(n,o.selectionSet,i,a,l)),o.kind===A.Kind.FRAGMENT_SPREAD){let a=o.name.value,r=i.fragmentMap[a]||(i.fragmentMap[a]=i.cache.lookupFragment(a));(0,c.invariant)(r,41,a);let s=function(e){let n=e.directives?.find(({name:e})=>"unmask"===e.value);if(!n)return"mask";let t=n.arguments?.find(({name:e})=>"mode"===e.value);return(O.__DEV__&&t&&(t.value.kind===A.Kind.VARIABLE?O.__DEV__&&c.invariant.warn(46):t.value.kind!==A.Kind.STRING?O.__DEV__&&c.invariant.warn(47):"migrate"!==t.value.value&&O.__DEV__&&c.invariant.warn(48,t.value.value)),t&&"value"in t.value&&"migrate"===t.value.value)?"migrate":"unmask"}(o);"mask"!==s&&(t=e(n,r.selectionSet,i,"migrate"===s,l))}r.has(t)&&r.add(s)}return"__typename"in n&&!("__typename"in s)&&(s.__typename=n.__typename),Object.keys(s).length!==Object.keys(n).length&&r.add(s),r.has(s)?s:n}(e,n,t,!1);return Object.isFrozen(e)&&(0,nE.maybeDeepFreeze)(i),i})}function nU(e){return 7===e||8===e}e.s(["isNetworkRequestSettled",0,nU],91981);var nP=e.i(428456);let nV=Object.assign(e=>{let n=i.get(e);return n||(n=(0,nP.print)(e),i.set(e,n)),n},{reset(){i=new G(v.print||2e3)}});function nF(e,n){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{let t=e.name.value;if("function"==typeof n)return n(t);let i=n&&n[t];return(0,c.invariant)(i,11,t),i}default:return null}}function nx(e){let n;for(let t of(Q(e),e.definitions)){if("OperationDefinition"===t.kind)return t;"FragmentDefinition"!==t.kind||n||(n=t)}if(n)return n;throw(0,c.newInvariantError)(14)}function nB(e){return"Field"===e.kind}function nM(e){return e.match(/^\[(.*)\]$/)}function nJ(e){return e.replace(/[[\]]/g,"")}nV.reset(),O.__DEV__&&(nd.print=()=>i?i.size:0),e.s(["print",0,nV],945876);var nj=e.i(456122);function n$(e,n=()=>void 0){return t=>new L(i=>{let a=n();return t.subscribe({next(n){let t;try{t=e(n,a)}catch(e){i.error(e)}void 0!==t&&i.next(t)},error(e){i.error(e)},complete(){i.complete()}})})}function nG(e,n,t,i){if(t.kind===A.Kind.INT||t.kind===A.Kind.FLOAT)e[n.value]=Number(t.value);else if(t.kind===A.Kind.BOOLEAN||t.kind===A.Kind.STRING)e[n.value]=t.value;else if(t.kind===A.Kind.OBJECT){let a={};t.fields.map(e=>nG(a,e.name,e.value,i)),e[n.value]=a}else if(t.kind===A.Kind.VARIABLE){let a=(i||{}
1)[t.name.value];e[n.value]=a}else if(t.kind===A.Kind.LIST)e[n.value]=t.values.map(e=>{let t={};return nG(t,n,e,i),t[n.value]});else if(t.kind===A.Kind.ENUM)e[n.value]=t.value;else if(t.kind===A.Kind.NULL)e[n.value]=null;else throw(0,c.newInvariantError)(21,n.value,t.kind)}function nq(e){let n={},t=e&&e.variableDefinitions;return t&&t.length&&t.forEach(e=>{e.defaultValue&&nG(n,e.variable.name,e.defaultValue)}),n}function nK(e){return!!e.errors?.length}var nQ=e.i(750597),nz=e.i(739196);function nW(e){(0,c.invariant)("Document"===e.kind,8),(0,c.invariant)(e.definitions.length<=1,9);let n=e.definitions[0];return(0,c.invariant)("FragmentDefinition"===n.kind,10),n}let nY=Array.isArray;function nH(e){return Array.isArray(e)&&e.length>0}function nX(e){let n=new Map;return function(t=e){let i=n.get(t);return i||n.set(t,i={variables:new Set,fragmentSpreads:new Set}),i}}function nZ(e){let n={data:e.data};return e.error&&(n.error=e.error),n}e.s(["isNonEmptyArray",0,nH],166787);let n0=new WeakMap;var n1=e.i(988974),n2=function(e){function n(n){var t=e.call(this)||this;return t._value=n,t}return(0,ew.__extends)(n,e),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),n.prototype._subscribe=function(n){var t=e.prototype._subscribe.call(this,n);return t.closed||n.next(this._value),t},n.prototype.getValue=function(){var e=this.hasError,n=this.thrownError,t=this._value;if(e)throw n;return this._throwIfClosed(),t},n.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},n}(eF);function n4({directives:e},n){var t;let i;return!e||!e.length||(i=[],(t=e)&&t.length&&t.forEach(e=>{if(!function({name:{value:e}}){return"skip"===e||"include"===e}(e))return;let n=e.arguments,t=e.name.value;(0,c.invariant)(n&&1===n.length,18,t);let a=n[0];(0,c.invariant)(a.name&&"if"===a.name.value,19,t);let l=a.value;(0,c.invariant)(l&&("Variable"===l.kind||"BooleanValue"===l.kind),20,t),i.push({directive:e,ifArgument:a})}),i).every(({directive:e,ifArgument:t})=>{let i=!1;return"Variable"===t.value.kind?(i=n&&n[t.value.name.value],(0,c.invariant)(void 0!==i,17,e.name.value)):i=t.value.value,"skip"===e.name.value?!i:i})}function n6(e,{data:n,...t},{data:i,...a},l){return(0,nD.equal)(t,a)&&function e(n,t,i,a){if(t===i)return!0;let l=new Set;return n.selections.every(n=>{if(l.has(n)||(l.add(n),!n4(n,a.variables)||n3(n)))return!0;if(nB(n)){let l=nC(n),r=t&&t[l],s=i&&i[l],o=n.selectionSet;if(!o)return(0,nD.equal)(r,s);let u=Array.isArray(r),p=Array.isArray(s);if(u!==p)return!1;if(u&&p){let n=r.length;if(s.length!==n)return!1;for(let t=0;t<n;++t)if(!e(o,r[t],s[t],a))return!1;return!0}return e(o,r,s,a)}{let l=nF(n,a.fragmentMap);if(l)return!!n3(l)||e(l.selectionSet,t,i,a)}})}(nx(e).selectionSet,n,i,{fragmentMap:nv(n_(e)),variables:l})}function n3(e){return!!e.directives&&e.directives.some(n9)}function n9(e){return"nonreactive"===e.name.value}function n8(e){let n=z(e);return(0,c.invariant)(n&&"query"===n.operation,15),n}var n5=e.i(867564);function n7(e){return"dataState"in e?e:{...e,dataState:e.complete?"complete":null===e.result?"empty":"partial"}}let{assign:te,hasOwnProperty:tn}=Object,tt={loading:!0,networkStatus:n1.NetworkStatus.loading,data:void 0,dataState:"empty",partial:!0},ti={loading:!1,networkStatus:n1.NetworkStatus.ready,data:void 0,dataState:"empty",partial:!0},ta=new WeakMap;function tl(e,n){let t=e[n];"function"==typeof t&&(e[n]=function(){return ta.set(e,(ta.get(e)+1)%1e15),t.apply(this,arguments)})}class tr{options;queryName;variablesUnknown=!1;didWarnOnFeud=!1;lastMissing;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:e,options:n,transformedQuery:t=e.transform(n.query)}){this.queryManager=e;const{cache:i}=e;ta.has(i)||(ta.set(i,0),tl(i,"evict"),tl(i,"modify"),tl(i,"reset")),this.waitForNetworkResult="network-only"===n.fetchPolicy,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:a="cache-first"}={}}=e.defaultOptions,{fetchPolicy:l=a,initialFetchPolicy:r="standby"===l?a:l}=n;n[nj.variablesUnknownSymbol]&&((0,c.invariant)("standby"===l,84),this.variablesUnknown=!0),this.lastQuery=t,this.options={...n,initialFetchPolicy:r,fetchPolicy:l,variables:this.getVariablesWithDefaults(n.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const s=z(this.query);this.queryName=s&&s.name&&s.name.value}
1initializeObservablesQueue(){this.subject=new n2({query:this.query,variables:this.variables,result:tt,meta:{}});let e=this.subject.pipe(np({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),n$(({query:e,variables:n,result:t,meta:i},a)=>{let{shouldEmit:l}=i;if(t===tt&&(a.previous=void 0,a.previousVariables=void 0),"standby"===this.options.fetchPolicy||2===l)return;if(1===l)return o();let{previous:r,previousVariables:s}=a;if(r){let i=this.queryManager.getDocumentInfo(e),a=this.queryManager.dataMasking,l=a?i.nonReactiveQuery:e;if((a||i.hasNonreactiveDirective?n6(l,r,t,n):(0,nD.equal)(r,t))&&(0,nD.equal)(s,n))return}if(!(3===l&&(!this.options.notifyOnNetworkStatusChange||(0,nD.equal)(r,t))))return o();function o(){return a.previous=t,a.previousVariables=n,t}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new eF,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return n7(this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e,[nj.handleIncrementalSymbol]:void 0}))}getInitialResult(e){let n=e||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&("network-only"===n||"cache-and-network"===n)&&(n="cache-first");let t=()=>{let e=this.getCacheDiff(),{dataState:n}=e,t=this.options.returnPartialData||e.complete?e.result??void 0:void 0;return void 0===t&&(n="empty"),this.maskResult({data:t,dataState:n,loading:!e.complete,networkStatus:e.complete?n1.NetworkStatus.ready:n1.NetworkStatus.loading,partial:!e.complete})};switch(n){case"cache-only":return{...t(),loading:!1,networkStatus:n1.NetworkStatus.ready};case"cache-first":return t();case"cache-and-network":return{...t(),loading:!0,networkStatus:n1.NetworkStatus.loading};case"standby":return ti;default:return tt}}resubscribeCache(){let{variables:e,fetchPolicy:n}=this.options,t=this.query,i="standby"===n||"no-cache"===n||this.waitForNetworkResult,a=!to({query:t,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((i||a)&&this.unsubscribeFromCache?.(),i||!a)return;let l={query:t,variables:e,optimistic:!0,watcher:this,callback:e=>{let n=this.queryManager.getDocumentInfo(t);if((n.hasClientExports||n.hasForcedResolvers)&&(l.lastDiff=void 0),l.lastOwnDiff===e)return;let{result:i}=this.subject.getValue();(e.complete||!i.error&&i!==tt&&i!==ti)&&((0,nD.equal)(i.data,e.result)||this.scheduleNotify())}},r=this.cache.watch(l);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,r()},{query:t,variables:e})}stableLastResult;getCurrentResult(){let{result:e}=this.subject.getValue(),n=e.networkStatus===n1.NetworkStatus.error||this.hasObservers()||"no-cache"===this.options.fetchPolicy?e:this.getInitialResult();return n===tt&&(n=this.getInitialResult()),(0,nD.equal)(this.stableLastResult,n)||(this.stableLastResult=n),this.stableLastResult}refetch(e){let{fetchPolicy:n}=this.options,t={pollInterval:0};if("no-cache"===n?t.fetchPolicy="no-cache":t.fetchPolicy="network-only",O.__DEV__&&e&&tn.call(e,"variables")){let n=n8(this.query),t=n.variableDefinitions;t&&t.some(e=>"variables"===e.variable.name.value)||!O.__DEV__||c.invariant.warn(85,e,n.name?.value||n)}return e&&!(0,nD.equal)(this.variables,e)&&(t.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._reobserve(t,{newNetworkStatus:n1.NetworkStatus.refetch})}fetchMore({query:e,variables:n,context:t,errorPolicy:i,updateQuery:a}){(0,c.invariant)("cache-only"!==this.options.fetchPolicy,86,_(this.query,"(anonymous)"));let l={...(0,eC.compact)(this.options,{errorPolicy:"none"},{query:e,context:t,errorPolicy:i}),variables:e?n:{...this.variables,...n},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};l.query=this.transformDocument(l.query),this.lastQuery=e?this.transformDocument(this.options.query):l.query;let r=!1,s="no-cache"!==this.options.fetchPolicy;s||(0,c.invariant)(a,87);let{finalize:o,pushNotification:u}=this.pushOperation(n1.NetworkStatus.fetchMore);u({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});let{promise:p,operator:d}=tu(),{observable:f}=this.queryManager.fetchObservableWithInfo(l,{networkStatus:n1.NetworkStatus.fetchMore,exposeExtensions:!0}),m=f.pipe(d,nr(e=>"N"===e.kind&&"network"===e.source)).subscribe({next:e=>{r=!1;let n=e.value,t=n[nj.extensionsSymbol];if(nU(e.value.networkStatus)&&o(),s){let e=this.getCacheDiff();this.cache.batch({update:e=>{a?e.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:t},e=>a(e,{fetchMoreResult:n.data,variables:l.variables})):e.writeQuery({query:l.query,variables:l.variables,data:n.data,extensions:t})},onWatchUpdated:(t,i)=>{if(t.watcher===this&&!(0,nD.equal)(i.result,e.result)){r=!0;let e=this.getCurrentResult();nU(n.networkStatus)||u({kind:"N",source:"network",value:{...e,networkStatus:n.networkStatus===n1.NetworkStatus.error?n1.NetworkStatus.ready:n.networkStatus,loading:!1,data:i.result,dataState:i.complete?"complete":"streaming"}})}}})}else{let e=this.getCurrentResult(),t=a(e.data,{fetchMoreResult:n.data,variables:l.variables});u({kind:"N",value:{...e,networkStatus:n1.NetworkStatus.ready,loading:!1,data:t,dataState:"streaming"===e.dataState?"streaming":"complete"},source:"network"})}}});return(0,n5.preventUnhandledRejection)(p.then(e=>nZ(this.maskResult(e))).finally(()=>
1{if(m.unsubscribe(),o(),s&&!r){let e=this.getCurrentResult();"streaming"===e.dataState?u({kind:"N",source:"network",value:{...e,dataState:"complete",networkStatus:n1.NetworkStatus.ready}}):u({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(e){let n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:n=>{let{updateQuery:t,onError:i}=e,{error:a}=n;a?i?i(a):c.invariant.error(88,a):t&&this.updateQuery((e,i)=>t(e,{subscriptionData:n,...i}))}});return this.subscriptions.add(n),()=>{this.subscriptions.delete(n)&&n.unsubscribe()}}applyOptions(e){let n=(0,eC.compact)(this.options,e||{});te(this.options,n),this.updatePolling()}async setVariables(e){return(e=this.getVariablesWithDefaults(e),(0,nD.equal)(this.variables,e))?nZ(this.getCurrentResult()):(this.options.variables=e,this.hasObservers())?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:n1.NetworkStatus.setVariables}):nZ(this.getCurrentResult())}updateQuery(e){let{queryManager:n}=this,{result:t,complete:i}=this.getCacheDiff({optimistic:!1}),a=e(t,{variables:this.variables,complete:!!i,previousData:t});a&&(this.cache.writeQuery({query:this.options.query,data:a,variables:this.variables}),n.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,n){if(n.nextFetchPolicy){let{fetchPolicy:t="cache-first",initialFetchPolicy:i=t}=n;"standby"===t||("function"==typeof n.nextFetchPolicy?n.fetchPolicy=n.nextFetchPolicy.call(n,t,{reason:e,options:n,observable:this,initialFetchPolicy:i}):"variables-changed"===e?n.fetchPolicy=i:n.fetchPolicy=n.nextFetchPolicy)}return n.fetchPolicy}fetch(e,n,t,i){let a=this.options.fetchPolicy;e.context??={};let l=!1,r=e=>new L(t=>{try{return e.subscribe({next(e){l=!0,t.next(e)},error:e=>t.error(e),complete:()=>t.complete()})}finally{l||(d.override=n,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:u,variables:p,meta:{shouldEmit:3,fetchPolicy:a}}))}}),{observable:s,fromLink:o}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:n,query:t,onCacheHit:()=>{l=!0},fetchQueryOperator:r,observableQuery:this}),{query:u,variables:p}=this,d={abort:()=>{f.unsubscribe()},query:u,variables:p};this.activeOperations.add(d);let c=n==n1.NetworkStatus.refetch||n==n1.NetworkStatus.setVariables,f=(s=s.pipe(i,eZ())).pipe(np({next:e=>{"newNetworkStatus"===e.source||"N"===e.kind&&e.value.loading?d.override=n:delete d.override},finalize:()=>this.activeOperations.delete(d)})).subscribe({next:e=>{let n={};c&&"N"===e.kind&&"loading"in e.value&&!e.value.loading&&(c=!1,n.shouldEmit=1),this.input.next({...e,query:u,variables:p,meta:n})}});return{fromLink:o,subscription:f,observable:s}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;let{pollingInfo:e,options:{fetchPolicy:n,pollInterval:t}}=this,i=()=>{let{options:e}=this;return!e.pollInterval||!this.hasObservers()||"cache-only"===e.fetchPolicy||"standby"===e.fetchPolicy};if(i()){O.__DEV__&&!this.didWarnCacheOnlyPolling&&t&&"cache-only"===n&&(O.__DEV__&&c.invariant.warn(89,_(this.query,"(anonymous)")),this.didWarnCacheOnlyPolling=!0),this.cancelPolling();return}if(e?.interval===t)return;(e||(this.pollingInfo={})).interval=t;let a=()=>{if(i())return this.cancelPolling();this.pollingInfo&&(!nU(this.networkStatus)||this.options.skipPollAttempt?.()?l():this._reobserve({fetchPolicy:"no-cache"===this.options.initialFetchPolicy?"no-cache":"network-only"},{newNetworkStatus:n1.NetworkStatus.poll}).then(l,l))},l=()=>{let e=this.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(a,e.interval))};l()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,n){this.isTornDown=!1;let{newNetworkStatus:t,keepLastMissing:i}=n||{};i||(this.lastMissing=void 0),this.queryManager.obsQueries.add(this);let a=t===n1.NetworkStatus.refetch||t===n1.NetworkStatus.poll,l=this.variables,r=this.options.fetchPolicy,s=(0,eC.compact)(this.options,e||{});this.variablesUnknown&&="standby"===s.fetchPolicy;
1let o=a?s:te(this.options,s),u=this.transformDocument(o.query);this.lastQuery=u,e&&"variables"in e&&(o.variables=this.getVariablesWithDefaults(e.variables)),!a&&(this.updatePolling(),e&&e.variables&&!(0,nD.equal)(e.variables,l)&&"standby"!==o.fetchPolicy&&(o.fetchPolicy===r||"function"==typeof o.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",o),void 0===t&&(t=n1.NetworkStatus.setVariables)));let p=this.networkStatus;t||(t=n1.NetworkStatus.loading,p!==n1.NetworkStatus.loading&&e?.variables&&!(0,nD.equal)(e.variables,l)&&(t=n1.NetworkStatus.setVariables),"standby"===o.fetchPolicy&&(t=n1.NetworkStatus.ready)),"standby"===o.fetchPolicy&&this.cancelPolling(),this.resubscribeCache();let{promise:d,operator:c}=tu("standby"===o.fetchPolicy?{data:void 0}:void 0),{subscription:f,observable:m,fromLink:y}=this.fetch(o,t,u,c);a||!y&&this.linkSubscription||(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=f);let h=Object.assign((0,n5.preventUnhandledRejection)(d.then(e=>nZ(this.maskResult(e))).finally(()=>{this.hasObservers()||0!==this.activeOperations.size||this.tearDownQuery()})),{retain:()=>{let e=m.subscribe({}),n=()=>e.unsubscribe();return d.then(n,n),h}});return h}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this.lastMissing=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){let n=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return n===e.data?e:{...e,data:n}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(e=!1){if(!e){let e=this.queryManager.getDocumentInfo(this.query);if(e.hasClientExports||e.hasForcedResolvers)return}let{dirty:n,lastMissing:t}=this,{fetchPolicy:i}=this.options;if(this.resetNotifications(),!n||"cache-only"!==i&&"cache-and-network"!==i&&this.activeOperations.size)return;let a=this.getCacheDiff(),l=this.getCurrentResult();if(!(0,nD.equal)(a.result,this.getCacheDiff({optimistic:!1}).result)||!a.complete&&l.networkStatus===n1.NetworkStatus.streaming)return void this.deliverCacheDiff(a);if(a.complete)this.lastMissing=void 0;else if(t&&t.dmCount===ta.get(this.cache)&&(0,nD.equal)(t.variables,this.variables)&&(0,nD.equal)(t.missing,a.missing?.missing)){if("cache-only"!==i){var r,s;"partial"===l.dataState&&this.deliverCacheDiff(a),O.__DEV__&&!this.didWarnOnFeud&&(this.didWarnOnFeud=!0,r=this.query,s=a,O.__DEV__&&c.invariant.warn(91,_(r,"(anonymous)"),s.missing?.missing));return}}else this.didWarnOnFeud=!1,this.lastMissing={variables:this.variables,missing:a.missing?.missing,dmCount:ta.get(this.cache)};this.reobserveCacheFirst()}deliverCacheDiff(e){let n=this.getCurrentResult();this.input.next({kind:"N",value:{data:e.result,dataState:e.dataState,networkStatus:n.networkStatus,loading:n.loading,error:void 0,partial:!e.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}activeOperations=new Set;pushOperation(e){let n=!1,{query:t,variables:i}=this,a=()=>{this.activeOperations.delete(l)},l={override:e,abort:()=>{n=!0,a()},query:t,variables:i};return this.activeOperations.add(l),{finalize:a,pushNotification:(e,a)=>{n||this.input.next({...e,query:t,variables:i,meta:{...a}})}}}calculateNetworkStatus(e){if(e===n1.NetworkStatus.streaming)return e;let n=Array.from(this.activeOperations.values()).reverse().find(e=>to(e,this)&&void 0!==e.override);return n?.override??e}
1abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){let e="cache-only"===this.options.fetchPolicy;this.lastMissing=void 0,this.setResult(e?ti:tt,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,n){this.input.next({source:"setResult",kind:"N",value:e,query:this.query,variables:this.variables,meta:{...n}})}operator=n$(e=>{let n,{query:t,meta:i}=e;if("setResult"===e.source)return{query:t,variables:this.variables,result:e.value,meta:i};if("C"===e.kind)return;let a="resolvedVariables"in e?e.resolvedVariables:void 0;if(e.query!==this.query)return;if(!(0,nD.equal)(a,this.variables)){if(!(0,nD.equal)(e.variables,this.variables))return;a&&(this.options.variables=a,this.resubscribeCache())}let l=this.variables,r=this.subject.getValue();if("cache"===e.source){if((n=e.value).networkStatus===n1.NetworkStatus.ready&&"partial"===n.dataState&&(!this.options.returnPartialData||r.result.networkStatus===n1.NetworkStatus.error)&&"cache-only"!==this.options.fetchPolicy)return}else if("network"===e.source)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),n="E"===e.kind?{...to(r,e)||a&&(0,nD.equal)(a,r.variables)?r.result:{data:void 0,dataState:"empty",partial:!0},error:e.error,networkStatus:n1.NetworkStatus.error,loading:!1}:e.value,"E"===e.kind&&"streaming"===n.dataState&&(n.dataState=n0.get(e.error)??"complete"),n.error&&(i.shouldEmit=1);else if("newNetworkStatus"===e.source){let t=to(r,e)?r.result:this.getInitialResult(i.fetchPolicy),{resetError:a}=e.value,l=a?void 0:t.error,s=l?n1.NetworkStatus.error:n1.NetworkStatus.ready;n={...t,error:l,networkStatus:s}}return(0,c.invariant)(n),n.error||delete n.error,n.networkStatus=this.calculateNetworkStatus(n.networkStatus),n.loading=!nU(n.networkStatus),n=this.maskResult(n),void 0!==r.result.data&&n.data!==r.result.data&&(0,nD.equal)(n.data,r.result.data)&&(n.data=r.result.data),{query:t,variables:l,result:n,meta:i}});reobserveCacheFirst(){let{fetchPolicy:e,nextFetchPolicy:n}=this.options;"cache-and-network"===e||"network-only"===e?this._reobserve({fetchPolicy:"cache-first",nextFetchPolicy(t,i){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(t,i):e}},{keepLastMissing:!0}):this._reobserve(void 0,{keepLastMissing:!0})}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}}function ts(e){O.__DEV__&&e&&O.__DEV__&&c.invariant.debug(90,e)}function to(e,n){return!!(e&&n&&e.query===n.query&&(0,nD.equal)(e.variables,n.variables))}function tu(e){let n=e,t,i;return{promise:new Promise((e,n)=>{t=e,i=n}),operator:np({next(e){if("E"===e.kind)return i(e.error);"N"!==e.kind||"newNetworkStatus"===e.source||e.value.loading||(n=e.value)},finalize:()=>{if(n)t(n);else{let e="The operation was aborted.",n="AbortError";i("u">typeof DOMException?new DOMException(e,n):Object.assign(Error(e),{name:n}))}}})}}e.s(["ObservableQuery",0,tr,"logMissingFieldErrors",0,ts],598864);let tp={},td=new WeakMap;class tc{cache;queryManager;id;observableQuery;incremental;constructor(e,n){this.cache=e.cache;const t=(td.get(e)||0)+1;td.set(e,t),this.id=t+"",this.observableQuery=n,this.queryManager=e}get hasNext(){return!!this.incremental&&this.incremental.hasNext}get incrementalHandler(){return this.queryManager.incrementalHandler}maybeHandleIncrementalResult(e,n,t){return this.incrementalHandler.isIncrementalResult(n)?(this.incremental||=this.incrementalHandler.startRequest({query:t}),this.incremental.handle(e,n)):n}markQueryResult(e,{document:n,variables:t,errorPolicy:i,cacheWriteBehavior:a,returnPartialData:l,fetchPolicy:r,networkStatus:s,prunePendingDeferFragments:o}){let u={query:n,variables:t,optimistic:!0};this.observableQuery?.resetNotifications();let p=0===a,f=p?void 0:this.getDiff({...u,returnPartialData:"none"!==i||!this.incrementalHandler.extractErrors(e)?.length},this.getIncrementalInfo({prune:o})),m=this.maybeHandleIncrementalResult(f?.result,e,n),y={...m,dataState:null==m.data?"empty":"complete"};return(this.incremental?.getPendingWithInfo?.().some(e=>"defer"===e.type&&!e.delivered)||!this.incremental?.getPendingWithInfo&&this.hasNext&&d(["defer"],n))&&(y.dataState="streaming"),p||!tf(y,i)||this.cache.batch({onWatchUpdated:(e,n)=>{e.watcher===this.observableQuery&&(e.lastOwnDiff=n)},update:e=>{var i,p,d;e.writeQuery({query:n,data:y.data,variables:t,overwrite:1===a,extensions:y.extensions});let{dataState:f,result:m}=this.getDiff({...u,returnPartialData:l&&("network-only"!==r||s===n1.NetworkStatus.refetch)},this.getIncrementalInfo({prune:o}));"complete"===f||"streaming"===f||l&&"partial"===f?y={...y,data:m,dataState:f}:O.__DEV__&&!this.hasNext&&(i=n,p=y.data,d=e.diff({...u,returnPartialData:!0}
1),O.__DEV__&&c.invariant.warn(92,_(i,"(anonymous)"),d.missing?.missing,p,d.result))}}),y}getIncrementalInfo({prune:e}){let n=this.incremental?.getPendingWithInfo?.()??[],t=this.incremental?.streamInfo,i={streamInfo:t};if(e)for(let e of n)"defer"!==e.type||e.delivered?t&&"stream"===e.type&&(t.lookupArray(e.path).state.truncate=!0):(i.deferInfo||=new U(!0,()=>!0),i.deferInfo.lookupArray(e.path.concat(e.label||[])));return i}getDiff(e,n){return n7(this.cache.diff({...e,[nj.handleIncrementalSymbol]:n}))}markMutationResult(e,n,t=this.cache){let i=[],a=0===n.cacheWriteBehavior,l=this.maybeHandleIncrementalResult(a?void 0:t.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0}).result,e,n.document);if("ignore"===n.errorPolicy&&(l={...l,errors:[]}),nK(l)&&"none"===n.errorPolicy)return Promise.resolve(l);let r=()=>({...l,dataState:this.hasNext?"streaming":"complete"});if(!a&&tf(l,n.errorPolicy)){i.push({result:l.data,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables,extensions:l.extensions});let{updateQueries:e}=n;e&&this.queryManager.getObservableQueries("all").forEach(n=>{let t=n&&n.queryName;if(!t||!Object.hasOwnProperty.call(e,t))return;let a=e[t],{query:l,variables:s}=n,{result:o,complete:u}=n.getCacheDiff({optimistic:!1});if(u&&o){let e=a(o,{mutationResult:r(),queryName:l&&_(l)||void 0,queryVariables:s});e&&i.push({result:e,dataId:"ROOT_QUERY",query:l,variables:s})}})}let s=n.refetchQueries;if("function"==typeof s&&(s=s(r())),i.length>0||(s||"").length>0||n.update||n.onQueryUpdated||n.removeOptimistic){let e=[];
1if(this.queryManager.refetchQueries({updateCache:e=>{a||i.forEach(n=>e.write(n));let{update:t}=n;if(!a){let t=e.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0});t.complete&&(l={...l,data:t.result})}t&&!this.hasNext&&t(e,l,{context:n.context,variables:n.variables}),a||n.keepRootFields||this.hasNext||e.modify({id:"ROOT_MUTATION",fields:(e,{fieldName:n,DELETE:t})=>"__typename"===n?e:t})},include:s,optimistic:!1,removeOptimistic:n.removeOptimistic,onQueryUpdated:n.onQueryUpdated||null}).forEach(n=>e.push(n)),n.awaitRefetchQueries||n.onQueryUpdated)return Promise.all(e).then(()=>l)}return Promise.resolve(l)}markMutationOptimistic(e,n){let t="function"==typeof e?e(n.variables,{IGNORE:tp}):e;return t!==tp&&(this.cache.recordOptimisticTransaction(e=>{try{this.markMutationResult({data:t},n,e)}catch(e){c.invariant.error(e)}},this.id),!0)}markSubscriptionResult(e,{document:n,variables:t,errorPolicy:i,cacheWriteBehavior:a}){if(0!==a){if(tf(e,i)){this.cache.write({query:n,result:e.data,dataId:"ROOT_SUBSCRIPTION",variables:t,extensions:e.extensions});let i=this.cache.diff({query:this.queryManager.getDocumentInfo(n).asQuery,id:"ROOT_SUBSCRIPTION",variables:t,optimistic:!1,returnPartialData:!0});i.complete&&(e.data=i.result)}this.queryManager.broadcastQueries()}}}function tf(e,n="none"){let t=!nK(e);return!t&&("ignore"===n||"all"===n)&&e.data&&(t=!0),t}class tm{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){const n=new eE(e=>this.cache.transformDocument(e),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;const t=e.documentTransform;this.documentTransform=t?n.concat(t).concat(n):n,this.incrementalHandler.documentTransform&&(this.documentTransform=this.documentTransform.concat(this.incrementalHandler.documentTransform)),this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches((0,c.newInvariantError)(93))}cancelPendingFetches(e){this.fetchCancelFns.forEach(n=>n(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:n,optimisticResponse:t,updateQueries:i,refetchQueries:a=[],awaitRefetchQueries:l=!1,update:r,onQueryUpdated:s,fetchPolicy:o,errorPolicy:p,keepRootFields:d,context:f}){let m=new tc(this);e=this.cache.transformForLink(this.transform(e));let{hasClientExports:y}=this.getDocumentInfo(e);n=this.getVariables(e,n),y&&(O.__DEV__&&(0,c.invariant)(this.localState,94,_(e,"(anonymous)")),n=await this.localState.getExportedVariables({client:this.client,document:e,variables:n,context:f}));let h=this.mutationStore&&(this.mutationStore[m.id]={mutation:e,variables:this.cache.serializeVariables(e,n),loading:!0,error:null}),T=t&&m.markMutationOptimistic(t,{document:e,variables:n,cacheWriteBehavior:2*("no-cache"!==o),errorPolicy:p,context:f,updateQueries:i,update:r,keepRootFields:d});return this.broadcastQueries(),new Promise((c,y)=>{let g={};return this.getObservableFromLink(e,{...f,optimisticResponse:T?t:void 0},n,o,{},!1).observable.pipe(ty(),e7(t=>{let u={...t};return na(m.markMutationResult(u,{document:e,variables:n,cacheWriteBehavior:2*("no-cache"!==o),errorPolicy:p,context:f,update:r,updateQueries:i,awaitRefetchQueries:l,refetchQueries:a,removeOptimistic:T?m.id:void 0,onQueryUpdated:s,keepRootFields:d}))})).pipe(u(e=>{if(nK(e)&&"none"===p)throw new ng(th(e));return h&&(h.loading=!1,h.error=null),e})).subscribe({next:n=>{if(this.broadcastQueries(),!m.hasNext){let t={data:this.maskOperation({document:e,data:n.data,fetchPolicy:o,cause:g})};nK(n)&&(t.error=new ng(n)),Object.keys(n.extensions||{}).length&&(t.extensions=n.extensions),c(t)}},error:e=>(h&&(h.loading=!1,h.error=e),T&&this.cache.removeOptimistic(m.id),this.broadcastQueries(),"ignore"===p)?c({data:void 0}):"all"===p?c({data:void 0,error:e}):void y(e)})})}fetchQuery(e,n){return Q(e.query,r.OperationTypeNode.QUERY),(async()=>{var t,i,a;return t=this.fetchObservableWithInfo(e,{networkStatus:n}).observable.pipe(n$(e=>{switch(e.kind){case"E":throw e.error;case"N":if("newNetworkStatus"!==e.source)return nZ(e.value)}})),a="object"==typeof(i={defaultValue:{data:void 0}}),new Promise(function(e,n){var l,r=!1;t.subscribe({next:function(e){l=e,r=!0},error:n,complete:function(){r?e(l):a?e(i.defaultValue):n(new ns)}})})})()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new G(v["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(e){let{transformCache:n}=this;if(!n.has(e)){var t;let i,a=z(e),l={hasClientExports:d(["client","export"],e,!0),hasForcedResolvers:(i=!1,(0,p.visit)(e,{Directive:{enter(e){if("client"===e.name.value&&e.arguments&&(i=e.arguments.some(e=>"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value)))return p.BREAK}}}),i),hasNonreactiveDirective:d(["nonreactive"],e),hasIncrementalDirective:d(["defer"],e),nonReactiveQuery:(t=e,(0,p.visit)(t,{FragmentSpread:e=>{if(!e.directives?.some(e=>"unmask"===e.name.value))return{...e,directives:[...e.directives||[],{kind:A.Kind.DIRECTIVE,name:{kind:A.Kind.NAME,value:"nonreactive"}}
1]}}})),clientQuery:d(["client"],e)?e:null,serverQuery:function(e,n){var t,i;let a,l;Q(n);let r=nX(""),s=nX(""),o=e=>{for(let n=0,t;n<e.length&&(t=e[n]);++n)if(!nY(t)){if(t.kind===A.Kind.OPERATION_DEFINITION)return r(t.name&&t.name.value);if(t.kind===A.Kind.FRAGMENT_DEFINITION)return s(t.name.value)}return c.invariant.error(16),null},u=0;for(let e=n.definitions.length-1;e>=0;--e)n.definitions[e].kind===A.Kind.OPERATION_DEFINITION&&++u;let d=(t=e,a=new Map,l=new Map,t.forEach(e=>{e&&(e.name?a.set(e.name,e):e.test&&l.set(e.test,e))}),e=>{let n=a.get(e.name.value);return!n&&l.size&&l.forEach((t,i)=>{i(e)&&(n=t)}),n}),f=e=>nH(e)&&e.map(d).some(e=>e&&e.remove),m=new Map,y=!1,h={enter(e){if(f(e.directives))return y=!0,null}},T=(0,p.visit)(n,{Field:h,InlineFragment:h,VariableDefinition:{enter:()=>!1},Variable:{enter(e,n,t,i,a){let l=o(a);l&&l.variables.add(e.name.value)}},FragmentSpread:{enter(e,n,t,i,a){if(f(e.directives))return y=!0,null;let l=o(a);l&&l.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter(e,n,t,i){m.set(JSON.stringify(i),e)},leave:(e,n,t,i)=>e===m.get(JSON.stringify(i))?e:u>0&&e.selectionSet.selections.every(e=>e.kind===A.Kind.FIELD&&"__typename"===e.name.value)?(s(e.name.value).removed=!0,y=!0,null):void 0},Directive:{leave(e){if(d(e))return y=!0,null}}});if(!y)return n;let g=e=>(!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(n=>{g(s(n)).transitiveVars.forEach(n=>{e.transitiveVars.add(n)})})),e),k=new Set;T.definitions.forEach(e=>{e.kind===A.Kind.OPERATION_DEFINITION?g(r(e.name&&e.name.value)).fragmentSpreads.forEach(e=>{k.add(e)}):e.kind!==A.Kind.FRAGMENT_DEFINITION||0!==u||s(e.name.value).removed||k.add(e.name.value)}),k.forEach(e=>{g(s(e)).fragmentSpreads.forEach(e=>{k.add(e)})});let N={enter(e){let n;if(n=e.name.value,!k.has(n)||s(n).removed)return null}};return!function e(n,t){return!n||n.selectionSet.selections.every(n=>n.kind===A.Kind.FRAGMENT_SPREAD&&e(t[n.name.value],t))}(z(i=(0,p.visit)(T,{FragmentSpread:N,FragmentDefinition:N,OperationDefinition:{leave(e){if(e.variableDefinitions){let n=g(r(e.name&&e.name.value)).transitiveVars;if(n.size<e.variableDefinitions.length)return{...e,variableDefinitions:e.variableDefinitions.filter(e=>n.has(e.variable.name.value))}}}}}))||nW(i),nv(n_(i)))?i:null}([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),operationType:a?.operation,defaultVars:nq(a),asQuery:{...e,definitions:e.definitions.map(e=>"OperationDefinition"===e.kind&&"query"!==e.operation?{...e,operation:"query"}:e)}};n.set(e,l)}let i=n.get(e);if(i.violation)throw i.violation;return i}getVariables(e,n){let t=this.getDocumentInfo(e).defaultVars,i=Object.entries(n??{}).map(([e,n])=>[e,void 0===n?t[e]:n]);return{...t,...Object.fromEntries(i)}}watchQuery(e){Q(e.query,r.OperationTypeNode.QUERY);let n=this.transform(e.query);return void 0===(e={...e,variables:this.getVariables(n,e.variables)}).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!0),new tr({queryManager:this,options:e,transformedQuery:n})}query(e){let n=this.transform(e.query);return this.fetchQuery({...e,query:n}).then(t=>({...t,data:this.maskOperation({document:n,data:t?.data,fetchPolicy:e.fetchPolicy})}))}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches((0,c.newInvariantError)(95)),this.obsQueries.forEach(e=>{e.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(e)}getObservableQueries(e="active"){let n=new Set,t=new Map,i=new Map,a=new Set;return Array.isArray(e)&&e.forEach(e=>{if("string"==typeof e)t.set(e,e),i.set(e,!1);else if((0,nQ.isNonNullObject)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)){let n=nV(this.transform(e));t.set(n,_(e)),i.set(n,!1)}else(0,nQ.isNonNullObject)(e)&&e.query&&a.add(e)}),this.obsQueries.forEach(t=>{let a=nV(this.transform(t.options.query));if("all"===e)return void n.add(t);let{queryName:l,options:{fetchPolicy:r}}=t;("active"!==e||"standby"!==r)&&("active"===e||l&&i.has(l)||a&&i.has(a))&&(n.add(t),l&&i.set(l,!0),a&&i.set(a,!0))}),a.size&&a.forEach(e=>{let t=new tr({queryManager:this,options:{...(0,e4.mergeOptions)(this.defaultOptions.watchQuery,e),fetchPolicy:"network-only"}});n.add(t)}
1),O.__DEV__&&i.size&&i.forEach((e,n)=>{if(!e){let e=t.get(n);e?O.__DEV__&&c.invariant.warn(96,e):O.__DEV__&&c.invariant.warn(97)}}),n}refetchObservableQueries(e=!1){let n=[];return this.getObservableQueries(e?"all":"active").forEach(t=>{let{fetchPolicy:i}=t.options;(e||"standby"!==i)&&"cache-only"!==i&&n.push(t.refetch())}),this.broadcastQueries(),Promise.all(n)}startGraphQLSubscription(e){let n,{query:t,variables:i}=e,{fetchPolicy:a="cache-first",errorPolicy:l="none",context:s={},extensions:o={}}=e;return Q(t,r.OperationTypeNode.SUBSCRIPTION),t=this.transform(t),i=this.getVariables(t,i),O.__DEV__&&(0,c.invariant)(!this.getDocumentInfo(t).hasClientExports||this.localState,98,_(t,"(anonymous)")),Object.assign((this.getDocumentInfo(t).hasClientExports?na(this.localState.getExportedVariables({client:this.client,document:t,variables:i,context:s})):no(i)).pipe(e7(e=>{let{observable:i,restart:r}=this.getObservableFromLink(t,s,e,a,o),p=new tc(this);return n=r,i.pipe(u(n=>{p.markSubscriptionResult(n,{document:t,variables:e,errorPolicy:l,cacheWriteBehavior:2*("no-cache"!==a)});let i={data:n.data??void 0};return nK(n)?i.error=new ng(n):nS(n)&&(i.error=n.extensions[nR],delete n.extensions[nR]),n.extensions&&Object.keys(n.extensions).length&&(i.extensions=n.extensions),i.error&&"none"===l&&(i.data=void 0),"ignore"===l&&delete i.error,i}),e8(e=>"ignore"===l?no({data:void 0}):no({data:void 0,error:e})),nr(e=>!!(e.data||e.error)))})),{restart:()=>n?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(e=>e.notify())}inFlightLinkObservables=new U(!1);getObservableFromLink(e,n,t,i,a,l=n?.queryDeduplication??this.queryDeduplication){let o={},{serverQuery:u,clientQuery:p,operationType:d,hasIncrementalDirective:f}=this.getDocumentInfo(e),m=_(e),y={client:this.client};if(t=this.cache.serializeVariables(e,t),u){let{inFlightLinkObservables:e,link:i}=this;try{let p=this.incrementalHandler.prepareRequest({query:u,variables:t,context:{...this.defaultContext,...n,queryDeduplication:l},extensions:a});function h(e){return new L(n=>{function t(){return e.subscribe({next:n.next.bind(n),complete:n.complete.bind(n),error:n.error.bind(n)})}let i=t();return o.restart||=()=>{i.unsubscribe(),i=t()},()=>{i.unsubscribe(),o.restart=void 0}})}if(n=p.context,l){var T;let n=nV(u),a=nc(t);(o=e.lookup(n,a)).observable||(o.observable=Y(i,p,y).pipe(h,(T=()=>{e.peek(n,a)===o&&e.remove(n,a)},(0,s.operate)(function(e,n){try{e.subscribe(n)}finally{n.add(T)}})),d===r.OperationTypeNode.SUBSCRIPTION?eZ():e1({refCount:!0})))}else o.observable=Y(i,p,y).pipe(h)}catch(e){o.observable=e9(()=>e)}}else o.observable=no({data:{}});if(p){let{operation:a}=z(e);O.__DEV__&&(0,c.invariant)(this.localState,99,a[0].toUpperCase()+a.slice(1),m??"(anonymous)"),(0,c.invariant)(!f,100,a[0].toUpperCase()+a.slice(1),m??"(anonymous)"),o.observable=o.observable.pipe(e7(e=>na(this.localState.execute({client:this.client,document:p,remoteResult:e,context:n,variables:t,fetchPolicy:i}))))}return{restart:()=>o.restart?.(),observable:o.observable.pipe(e8(e=>{throw nb(e=nA(e)),e}))}}getResultsFromLink(e,{queryInfo:n,cacheWriteBehavior:t,observableQuery:i,exposeExtensions:a,prunePendingDeferFragments:l}){let{errorPolicy:r}=e,s=this.cache.transformForLink(e.query);return this.getObservableFromLink(s,e.context,e.variables,e.fetchPolicy).observable.pipe(u(o=>{let{dataState:u,...p}=n.markQueryResult(o,{...e,document:s,cacheWriteBehavior:t,returnPartialData:e.returnPartialData,prunePendingDeferFragments:l}),d=nK(p);if(d&&"none"===r){i?.resetNotifications();let e=new ng(th(p));throw n0.set(e,u),e}let c="complete"!==u,f={data:p.data,...n.hasNext?{loading:!0,networkStatus:n1.NetworkStatus.streaming,dataState:u,partial:c}:{dataState:u,loading:!1,networkStatus:n1.NetworkStatus.ready,partial:c}};return a&&"extensions"in p&&(f[nj.extensionsSymbol]=p.extensions),d&&"ignore"!==r&&(f.error=new ng(th(p)),f.networkStatus!==n1.NetworkStatus.streaming&&(f.networkStatus=n1.NetworkStatus.error)),f}),e8(e=>{if("none"===r)throw i?.resetNotifications(),e;let n={data:void 0,dataState:"empty",loading:!1,networkStatus:n1.NetworkStatus.ready,partial:!0};return"ignore"!==r&&(n.error=e,n.networkStatus=n1.NetworkStatus.error),no(n)}))}fetchObservableWithInfo(e,{networkStatus:n=n1.NetworkStatus.loading,query:t=e.query,fetchQueryOperator:i=e=>e,onCacheHit:a=()=>{}
1,observableQuery:l,exposeExtensions:r}){let s,o,u=this.getVariables(t,e.variables),{fetchPolicy:p="cache-first",errorPolicy:d="none",returnPartialData:f=!1,notifyOnNetworkStatusChange:m=!0,context:y={}}=e;this.prioritizeCacheValues&&("network-only"===p||"cache-and-network"===p)&&(p="cache-first");let h=Object.assign({},e,{query:t,variables:u,fetchPolicy:p,errorPolicy:d,returnPartialData:f,networkStatus:n,notifyOnNetworkStatusChange:m,context:y}),T=new tc(this,l),g=t=>{h.variables=t;let s="no-cache"===p?0:n===n1.NetworkStatus.refetch&&"merge"!==h.refetchWritePolicy?1:2,o=this.fetchQueryByPolicy(h,{queryInfo:T,cacheWriteBehavior:s,onCacheHit:a,observableQuery:l,exposeExtensions:r});return o.observable=o.observable.pipe(i),"standby"!==h.fetchPolicy&&l?.applyNextFetchPolicy("after-fetch",e),o},k=()=>{this.fetchCancelFns.delete(T.id)};this.fetchCancelFns.set(T.id,e=>{N.next({kind:"E",error:e,source:"network"})});let N=new eF;if(this.getDocumentInfo(h.query).hasClientExports)O.__DEV__&&(0,c.invariant)(this.localState,101,_(h.query,"(anonymous)")),s=na(this.localState.getExportedVariables({client:this.client,document:h.query,variables:h.variables,context:h.context})).pipe(e7(e=>g(e).observable)),o=!0;else{let e=g(h.variables);o=e.fromLink,s=e.observable}return{observable:new L(e=>{e.add(k),s.subscribe(e),N.subscribe(e)}).pipe(eZ()),fromLink:o}}refetchQueries({updateCache:e,include:n,optimistic:t=!1,removeOptimistic:i=t?(0,nz.makeUniqueId)("refetchQueries"):void 0,onQueryUpdated:a}){let l=new Map;n&&this.getObservableQueries(n).forEach(e=>{if("cache-only"===e.options.fetchPolicy||e.variablesUnknown)return;let n=e.getCurrentResult();l.set(e,{oq:e,lastDiff:{result:n?.data,complete:!n?.partial}})});let r=new Map;if(e){let n=new Set;this.cache.batch({update:e,optimistic:t&&i||!1,removeOptimistic:i,onWatchUpdated(e,t,i){let s=e.watcher;if(s instanceof tr&&!n.has(s)){if(n.add(s),a){l.delete(s);let e=a(s,t,i);return!0===e&&(e=s.refetch().retain()),!1!==e&&r.set(s,e),e}null!==a&&"cache-only"!==s.options.fetchPolicy&&l.set(s,{oq:s,lastDiff:i,diff:t})}}})}return l.size&&l.forEach(({oq:e,lastDiff:n,diff:t})=>{let i;
1a&&(t||(t=e.getCacheDiff()),i=a(e,t,n)),a&&!0!==i||(i=e.refetch().retain()),!1!==i&&r.set(e,i)}),i&&this.cache.removeOptimistic(i),r}noCacheWarningsByCause=new WeakSet;maskOperation(e){var n,t;let i,{document:a,data:l}=e;if(O.__DEV__){let n,{fetchPolicy:i,cause:l={}}=e,r=z(a)?.operation;this.dataMasking&&"no-cache"===i&&(t=a,n=!0,(0,p.visit)(t,{FragmentSpread:e=>{if(!(n=!!e.directives&&e.directives.some(e=>"unmask"===e.name.value)))return p.BREAK}}),!n)&&!this.noCacheWarningsByCause.has(l)&&(this.noCacheWarningsByCause.add(l),O.__DEV__&&c.invariant.warn(102,_(a,`Unnamed ${r??"operation"}`)))}return this.dataMasking?(n=this.cache,i=z(a),((0,c.invariant)(i,45),null==l)?l:nw(l,i.selectionSet,{operationType:i.operation,operationName:i.name?.value,fragmentMap:nv(n_(a)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})):l}maskFragment(e){var n,t;let i,a,{data:l,fragment:r,fragmentName:s}=e;return this.dataMasking?(n=this.cache,t=s,i=r.definitions.filter(e=>e.kind===A.Kind.FRAGMENT_DEFINITION),void 0===t&&((0,c.invariant)(1===i.length,43,i.length),t=i[0].name.value),a=i.find(e=>e.name.value===t),((0,c.invariant)(!!a,44,t),null==l||(0,nD.equal)(l,{}))?l:nw(l,a.selectionSet,{operationType:"fragment",operationName:a.name.value,fragmentMap:nv(n_(r)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})):l}fetchQueryByPolicy({query:e,variables:n,fetchPolicy:t,errorPolicy:i,returnPartialData:a,context:l,networkStatus:r},{cacheWriteBehavior:p,onCacheHit:d,queryInfo:f,observableQuery:m,exposeExtensions:y}){let h=()=>f.getDiff({query:e,variables:n,returnPartialData:!0,optimistic:!0}),T=(r,s)=>{let o=r.result;O.__DEV__&&!a&&null!==o&&ts(r.missing);let u=(e,n=r.dataState)=>(r.complete||a||(e=void 0,n="empty"),{data:e,dataState:n,loading:!nU(s),networkStatus:s,partial:!r.complete}),p=e=>no({kind:"N",value:u(e),resolvedVariables:n,source:"cache"});return(r.complete||a)&&this.getDocumentInfo(e).hasForcedResolvers?(O.__DEV__&&(0,c.invariant)(this.localState,103,_(e,"(anonymous)")),d(),na(this.localState.execute({client:this.client,document:e,remoteResult:o?{data:o}:void 0,context:l,variables:n,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:t}).then(e=>({kind:"N",value:u(e.data||void 0,r.complete?"complete":e.data?"partial":"empty"),resolvedVariables:n,source:"cache"})))):p("none"===i&&s===n1.NetworkStatus.refetch&&r.missing?void 0:o||void 0)},g=({prunePendingDeferFragments:d=!0}={})=>this.getResultsFromLink({query:e,variables:n,context:l,fetchPolicy:t,errorPolicy:i,returnPartialData:a,networkStatus:r},{cacheWriteBehavior:p,queryInfo:f,observableQuery:m,exposeExtensions:y,prunePendingDeferFragments:d}).pipe(ty(),(0,s.operate)(function(e,n){e.subscribe((0,o.createOperatorSubscriber)(n,function(e){n.next(nu.createNext(e))},function(){n.next(nu.createComplete()),n.complete()},function(e){n.next(nu.createError(e)),n.complete()}))}),u(e=>({...e,resolvedVariables:n,source:"network"})));switch(t){default:case"cache-first":{let e=h();if(e.complete)return{fromLink:!1,observable:T(e,n1.NetworkStatus.ready)};if(a)return{fromLink:!0,observable:nl(T(e,n1.NetworkStatus.loading),g())};return{fromLink:!0,observable:g()}}case"cache-and-network":{let e=h();if(e.complete||a)return{fromLink:!0,observable:nl(T(e,n1.NetworkStatus.loading),g({prunePendingDeferFragments:!1}))};return{fromLink:!0,observable:g()}}case"cache-only":return{fromLink:!1,observable:nl(T(h(),n1.NetworkStatus.ready))};case"network-only":return{fromLink:!0,observable:g({prunePendingDeferFragments:r!==n1.NetworkStatus.refetch})};case"no-cache":return{fromLink:!0,observable:g().pipe(u(n=>("N"===n.kind&&null!=n.value.data&&this.cache.configuresScalars()&&(n.value.data=function(e,n,t){let i=z(n)?.operation,a=nv(n_(n));function l(e,n,t,i){let a=!1,l=n.map(n=>{let l=r(e,n,t,i);return a||=l!==n,l});return a?l:n}function r(e,n,i,a){if(Array.isArray(n)&&!a)return l(e,n,i,a);if(e.selectionSet)return s(e.selectionSet,n);if(null===n||!i)return n;if(a){let r=nM(a);if(r)if(Array.isArray(n))return l(e,n,i,r[1]);else O.__DEV__&&O.__DEV__&&c.invariant.warn(7,`${i}.${e.name.value}`,a,nJ(a));let s=t.getScalar(nJ(a));if(s)return s.coerceToParsed(n)}return n}function s(e,n,i){if(null===n||"object"!=typeof n)return n;let l={...n},s=!1;Object.hasOwn(n,"__typename")&&(i=n.__typename);let o=new Set(e.selections);
1return o.forEach(e=>{if(nB(e)){let a=nC(e);if(!Object.hasOwn(n,a))return;let o=n[a],u=r(e,o,i,i?t.getScalarTypeForField(i,e.name.value):void 0);s||=u!==o,l[a]=u}else{let n=nF(e,a);n&&i&&t.fragmentMatches(n,i)&&n.selectionSet.selections.forEach(e=>o.add(e))}}),s?l:n}return(0,c.invariant)(i,6),s(nx(n).selectionSet,e,t.getRootTypename(i))}(n.value.data,e,this.cache)),n)))};case"standby":return{fromLink:!1,observable:S}}}}function ty(){let e=!1;return np({next(){e=!0},complete(){(0,c.invariant)(e,104)}})}function th(e){if(e.extensions?.[nj.streamInfoSymbol]==null)return e;let{extensions:{[nj.streamInfoSymbol]:n,...t},...i}=e;return Object.keys(t).length>0&&(i.extensions=t),i}let tT=!1;class tg{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;refetchEventManager;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){O.__DEV__&&((0,c.invariant)(e.cache,70),(0,c.invariant)(e.link,71));const{cache:n,documentTransform:t,ssrMode:i=!1,ssrForceFetchDelay:a=0,queryDeduplication:l=!0,defaultOptions:r,defaultContext:s,assumeImmutableResults:o=n.assumeImmutableResults,localState:u,devtools:p,dataMasking:d,link:m,incrementalHandler:y=new f,experiments:h=[],refetchEventManager:T}=e;this.link=m,this.cache=n,this.queryDeduplication=l,this.defaultOptions=r||{},this.devtoolsConfig={...p,enabled:p?.enabled??O.__DEV__},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=e3.version,this.queryManager=new tm({client:this,defaultOptions:this.defaultOptions,defaultContext:s,documentTransform:t,queryDeduplication:l,ssrMode:i,dataMasking:!!d,clientOptions:e,incrementalHandler:y,assumeImmutableResults:o,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:u}),this.prioritizeCacheValues=i||a>0,a&&setTimeout(()=>{this.prioritizeCacheValues=!1},a),this.devtoolsConfig.enabled&&this.connectToDevTools(),h.forEach(n=>n.call(this,e)),this.refetchEventManager=T,this.refetchEventManager?.connect(this)}connectToDevTools(){if("u"<typeof window)return;let e=window,n=Symbol.for("apollo.devtools");if((e[n]=e[n]||[]).push(this),e.__APOLLO_CLIENT__=this,!tT&&O.__DEV__){let e;tT=!0;let n=window,t=n.navigator.userAgent;"string"==typeof t&&(t.indexOf("Chrome/")>-1?e="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(e="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n.document&&n.top===n.self&&/^(https?|file):$/.test(n.location.protocol)&&e&&setTimeout(()=>{!n.__APOLLO_DEVTOOLS_GLOBAL_HOOK__&&O.__DEV__&&c.invariant.log("Download the Apollo DevTools for a better development experience: %s",e)},1e4)}}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop(),this.refetchEventManager?.disconnect(this)}watchQuery(e){let{refetchOn:n}=e;if(this.defaultOptions.watchQuery){let t,i=this.defaultOptions.watchQuery.refetchOn;n&&"object"==typeof n&&("object"==typeof i?t={...i,...n}:null!=i&&(t=e=>{let t=n[e.source]??i;return"function"==typeof t?t(e):t})),e=(0,e4.mergeOptions)(this.defaultOptions.watchQuery,e),t&&(e.refetchOn=t)}if(O.__DEV__){let{query:t}=e,{refetchEventManager:i}=this;if(n){let e=_(t,"(anonymous)");i?"object"==typeof n&&Object.keys(n).forEach(n=>{!i.hasSource(n)&&O.__DEV__&&c.invariant.warn(73,n,e)}):O.__DEV__&&c.invariant.warn(72,e)}}return this.queryManager.watchQuery(e)}query=e=>(this.defaultOptions.query&&(e=(0,e4.mergeOptions)(this.defaultOptions.query,e)),O.__DEV__&&((0,c.invariant)("cache-and-network"!==e.fetchPolicy,74),(0,c.invariant)("standby"!==e.fetchPolicy,75),(0,c.invariant)(e.query,76),(0,c.invariant)("Document"===e.query.kind,77),(0,c.invariant)(!e.returnPartialData,78),(0,c.invariant)(!e.pollInterval,79),
1(0,c.invariant)(!e.notifyOnNetworkStatusChange,80)),this.queryManager.query(e));mutate=e=>{let n=(0,e4.mergeOptions)((0,eC.compact)({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),e);return O.__DEV__&&((0,c.invariant)(n.mutation,81),(0,c.invariant)("network-only"===n.fetchPolicy||"no-cache"===n.fetchPolicy,82)),Q(n.mutation,r.OperationTypeNode.MUTATION),this.queryManager.mutate(n)};subscribe(e){let n={},t=this.queryManager.startGraphQLSubscription(e);return Object.assign(t.pipe(u(t=>({...t,data:this.queryManager.maskOperation({document:e.query,data:t.data,fetchPolicy:e.fetchPolicy,cause:n})}))),{restart:t.restart})}readQuery(e,n=!!e.optimistic){return this.cache.readQuery({...e,query:this.transform(e.query)},n)}watchFragment(e){let n=this.queryManager.dataMasking,t=this.cache.watchFragment({...e,fragment:this.transform(e.fragment,n)});return O.__DEV__?e2(t,Symbol.for("apollo.transform.dev.mask"),n=>({...n,data:this.queryManager.maskFragment({...e,data:n.data})})):t}readFragment(e,n=!!e.optimistic){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},n)}writeQuery(e){let n=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),n}writeFragment(e){let n=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),n}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return Y(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(n=>n!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(n=>n!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){let n=this.queryManager.refetchQueries(e),t=[],i=[];n.forEach((e,n)=>{t.push(n),i.push(e)});
1let a=Promise.all(i);return a.queries=t,a.results=i,a.catch(e=>{O.__DEV__&&c.invariant.debug(83,e)}),a}getObservableQueries(e="active"){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new eE(e6);transform(e,n=!1){let t=this.queryManager.transform(e);return n?this.maskedFragmentTransform.transformDocument(t):t}}O.__DEV__&&(tg.prototype.getMemoryInternals=eI),e.s(["ApolloClient",0,tg],943910);class tk extends W{constructor(e={}){super((n,t)=>{let i=n.client,a=i.queryManager.clientOptions,l=n.getContext();{let{name:t,version:i,transport:r="headers"}=(0,eC.compact)({},a.clientAwareness,e.clientAwareness,l.clientAwareness);"headers"===r&&n.setContext(({headers:e})=>({headers:(0,eC.compact)({"apollographql-client-name":t,"apollographql-client-version":i},e)}))}{let{transport:t="extensions"}=(0,eC.compact)({},a.enhancedClientAwareness,e.enhancedClientAwareness);"extensions"===t&&(n.extensions=(0,eC.compact)({clientLibrary:{name:"@apollo/client",version:i.version}},n.extensions)),"headers"===t&&n.setContext(({headers:e})=>({headers:(0,eC.compact)({"apollographql-library-name":"@apollo/client","apollographql-library-version":i.version},e)}))}return t(n)})}}function tN(e,n){return z(e)?.operation===n}var tL=e.i(241583);let tR=e=>{(0,c.invariant)(e||"u">typeof fetch,63)};e.s(["checkFetcher",0,tR],975908);class tS extends Error{static is(e){return ny(e,"ServerError")}response;statusCode;bodyText;constructor(e,n){super(e),this.name="ServerError",this.response=n.response,this.statusCode=n.response.status,this.bodyText=n.bodyText,nh(this),Object.setPrototypeOf(this,tS.prototype)}}e.s(["ServerError",0,tS],139967);class tA extends Error{static is(e){return ny(e,"ServerParseError")}response;statusCode;bodyText;constructor(e,n){super(e instanceof Error?e.message:"Could not parse server response",{cause:e}),this.name="ServerParseError",this.response=n.response,this.statusCode=n.response.status,this.bodyText=n.bodyText,nh(this),Object.setPrototypeOf(this,tA.prototype)}}e.s(["ServerParseError",0,tA],939800);let{hasOwnProperty:tO}=Object.prototype;async function*tb(e){let n,t=new TextDecoder("utf-8"),i=e.headers?.get("content-type"),a=i?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),l="\r\n--"+(a?a[1]??a[2]??a[3]??"-":"-"),r="";(0,c.invariant)(e.body&&"function"==typeof e.body.getReader,64);let s=e.body.getReader(),o=!1,u=!1,p=()=>u&&"-"==r[0]&&"-"==r[1];try{for(;!o;){({value:n,done:o}=await s.read());let e="string"==typeof n?n:t.decode(n,{stream:!o}),i=r.length-l.length+1,a=(r+=e).indexOf(l,i);for(;a>-1&&!p();){let e;u=!0,[e,r]=[r.slice(0,a),r.slice(a+l.length)];let n=e.indexOf("\r\n\r\n"),t=function(e){let n={};return e.split("\n").forEach(e=>{let t=e.indexOf(":");if(t>-1){let i=e.slice(0,t).trim().toLowerCase(),a=e.slice(t+1).trim();n[i]=a}}),n}(e.slice(0,n))["content-type"];if(t&&-1===t.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");let i=e.slice(n);i&&(yield i),a=r.indexOf(l)}if(p())return}throw Error("premature end of multipart body")}finally{s.cancel()}}async function tD(e,n){for await(let t of tb(e)){let i=tv(e,t);if(0!=Object.keys(i).length)if((0,nQ.isNonNullObject)(i)&&"payload"in i){if(1===Object.keys(i).length&&null===i.payload)return;let e={...i.payload};
1"errors"in i&&(e.extensions={...e.extensions,[nR]:new nN(i.errors??[])}),n(e)}else n(i)}}function tv(e,n){if(e.status>=300)throw new tS(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:n});try{return JSON.parse(n)}catch(t){throw new tA(t,{response:e,bodyText:n})}}function t_(e){return n=>n.text().then(t=>{let i=function(e,n){let t=e.headers.get("content-type");if(t?.includes("application/graphql-response+json"))try{return JSON.parse(n)}catch(t){throw new tA(t,{response:e,bodyText:n})}return tv(e,n)}(n,t);if(!Array.isArray(i)&&!tO.call(i,"data")&&!tO.call(i,"errors"))throw new tS(`Server response was malformed for query '${Array.isArray(e)?e.map(e=>e.operationName):e.operationName}'.`,{response:n,bodyText:t});return i})}function tE(e,n){let t=[],i=(e,n)=>{t.push(`${e}=${encodeURIComponent(n)}`)};if("query"in n&&i("query",n.query),n.operationName&&i("operationName",n.operationName),n.variables){let e;try{e=JSON.stringify(n.variables)}catch(e){return{parseError:e}}i("variables",e)}if(n.extensions){let e;try{e=JSON.stringify(n.extensions)}catch(e){return{parseError:e}}i("extensions",e)}let a="",l=e,r=e.indexOf("#");-1!==r&&(a=e.substr(r),l=e.substr(0,r));let s=-1===l.indexOf("?")?"?":"&";return{newURI:l+s+t.join("&")+a}}e.s(["parseAndCheckHttpResponse",0,t_,"readMultipartBody",0,tD],660879),e.s(["rewriteURIForGET",0,tE],142316);let tC={http:{includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},headers:{accept:"application/graphql-response+json,application/json;q=0.9","content-type":"application/json"},options:{method:"POST"}},tI=(e,n)=>n(e);function tw(e,n,...t){let i={},a={};t.forEach(e=>{i={...i,...e.options,headers:{...i.headers,...e.headers}},e.credentials&&(i.credentials=e.credentials),i.headers.accept=(e.http?.accept||[]).concat(i.headers.accept).join(","),a={...a,...e.http}}),i.headers=function(e,n){if(!n){let n={};
1return Object.keys(Object(e)).forEach(t=>{n[t.toLowerCase()]=e[t]}),n}let t={};Object.keys(Object(e)).forEach(n=>{t[n.toLowerCase()]={originalName:n,value:e[n]}});let i={};return Object.keys(t).forEach(e=>{i[t[e].originalName]=t[e].value}),i}(i.headers,a.preserveHeaderCase);let{operationName:l,extensions:r,variables:s,query:o}=e,u={operationName:l,variables:s};return a.includeExtensions&&Object.keys(r||{}).length&&(u.extensions=r),a.includeQuery&&(u.query=n(o,nV)),{options:i,body:u}}e.s(["defaultPrinter",0,tI,"fallbackHttpConfig",0,tC,"selectHttpOptionsAndBody",0,function(e,n,...t){return t.unshift(n),tw(e,tI,...t)},"selectHttpOptionsAndBodyInternal",0,tw],502535);let tU=(e,n)=>{let t=e.getContext().uri;return t||("function"==typeof n?n(e):n||"/graphql")};e.s(["selectURI",0,tU],620722);let tP=(0,tL.maybe)(()=>fetch);function tV(){}class tF extends W{constructor(e={}){let{uri:n="/graphql",fetch:t,print:i=tI,includeExtensions:a,preserveHeaderCase:l,useGETForQueries:r,includeUnusedVariables:s=!1,...o}=e;O.__DEV__&&tR(t||tP);const u={http:(0,eC.compact)({includeExtensions:a,preserveHeaderCase:l}),options:o.fetchOptions,credentials:o.credentials,headers:o.headers};super(e=>{var a,l;let o,d,c=tU(e,n),f=e.getContext(),m={...f.http};tN(e.query,"subscription")&&(m.accept=["multipart/mixed;boundary=graphql;subscriptionSpec=1.0",...m.accept||[]]);let{options:y,body:h}=tw(e,i,tC,u,{http:m,options:f.fetchOptions,credentials:f.credentials,headers:f.headers});h.variables&&!s&&(a=h.variables,l=e.query,o={...a},d=new Set(Object.keys(a)),(0,p.visit)(l,{Variable(e,n,t){t&&"VariableDefinition"!==t.kind&&d.delete(e.name.value)}}),d.forEach(e=>{delete o[e]}),h.variables=o);let T=new AbortController,g=()=>{T=void 0};if(y.signal){let e=y.signal,n=()=>{T?.abort(e.reason)};e.addEventListener("abort",n,{once:!0}),g=()=>{T?.signal.removeEventListener("abort",g),T=void 0,e.removeEventListener("abort",n),g=tV},T.signal.addEventListener("abort",g,{once:!0})}return y.signal=T.signal,r&&!tN(e.query,"mutation")&&(y.method="GET"),new L(n=>{if("GET"===y.method){let{newURI:e,parseError:n}=tE(c,h);if(n)throw n;c=e}else y.body=JSON.stringify(h);let i=t||(0,tL.maybe)(()=>fetch)||tP,a=n.next.bind(n);return i(c,y).then(n=>{e.setContext({response:n});let t=n.headers?.get("content-type");return null!==t&&/^multipart\/mixed/i.test(t)?tD(n,a):t_(e)(n).then(a)}).then(()=>{g(),n.complete()}).catch(e=>{g(),n.error(e)}),()=>{T&&T.abort()}})})}}class tx extends W{constructor(e={}){const{left:n,right:t,request:i}=W.from([new tk(e),new tF(e)]);super(i),Object.assign(this,{left:n,right:t})}}e.s(["HttpLink",0,tx,"createHttpLink",0,(e={})=>new tx(e)],654156);let tB={kind:A.Kind.FIELD,name:{kind:A.Kind.NAME,value:"__typename"}},tM=Object.assign(function(e){return(0,p.visit)(e,{SelectionSet:{enter(e,n,t){if(t&&t.kind===A.Kind.OPERATION_DEFINITION)return;let{selections:i}=e;if(!(!i||i.some(e=>e.kind===A.Kind.FIELD&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))))&&!(t.kind===A.Kind.FIELD&&t.directives&&t.directives.some(e=>"export"===e.name.value)))return{...e,selections:[...i,tB]}}}})},{added:e=>e===tB});function tJ(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function tj(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}function t$(e,n){return e===n}e.s(["isReference",0,tJ],123649);var tG=e.i(538619),tq=new(e.i(443610)).AsyncScheduler(tG.AsyncAction);function tK(e,n){let t=n,i=[];return e.definitions.forEach(e=>{if("OperationDefinition"===e.kind)throw(0,c.newInvariantError)(12,e.operation,e.name?` named '${e.name.value}'`:"");"FragmentDefinition"===e.kind&&i.push(e)}),void 0===t&&((0,c.invariant)(1===i.length,13,i.length),t=i[0].name.value),{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:t}}]}},...e.definitions]}}class tQ{assumeImmutableResults=!1;lookupFragment(e){return null}getRootTypename(e){return e[0].toUpperCase()+e.slice(1)}getScalar(e){}getScalarTypeForField(e,n){}configuresScalars(){return!1}serializeVariables(e,n){return n}
1batch(e){let n,t="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(()=>n=e.update(this),t),n}recordOptimisticTransaction(e,n){this.performTransaction(e,n)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,n=!!e.optimistic){return this.read({...e,rootId:e.id||"ROOT_QUERY",optimistic:n})}fragmentWatches=new U(!0);watchFragment(e){let n,{fragment:t,fragmentName:i,from:a}=e,l=this.getFragmentDoc(t,i),r=(Array.isArray(a)?a:[a]).map(e=>{let n=null==e?e:this.toCacheId(e);if(O.__DEV__){let e=i||nW(t).name.value;void 0===n&&O.__DEV__&&c.invariant.warn(126,e)}return n});if(!Array.isArray(a)){let n=this.watchSingleFragment(r[0],l,e);return null===a?n:e2(n,Symbol.for("apollo.transform.individualResult"),e=>({...e,data:e.data??{}}))}function s(e){let t=e.reduce((e,n,t)=>(e.data.push(n.data),e.complete&&=n.complete,e.dataState=e.complete?"complete":"partial",n.missing&&(e.missing||={},e.missing[t]=n.missing),e),{data:[],dataState:"complete",complete:!0});return(0,nD.equal)(n,t)||(n=t),n}if(0===r.length)return tH;let o=!1,p=r.map(n=>this.watchSingleFragment(n,l,e));return Object.assign((0===p.length?S:new L(e=>{let n,{length:t}=p,i=Array(t),a=new Map;p.forEach((e,n)=>{a.has(e)||a.set(e,new Set),a.get(e).add(n)});let l=a.size,r=a.size;a.forEach((t,a)=>{let s=!1,o=a.subscribe({next:l=>{t.forEach(e=>i[e]=l),!s&&(s=!0,r--),!r&&((n||=new Set(p.filter(e=>e.dirty))).delete(a),n.size||(e.next(i.slice()),n=void 0))},complete:()=>{--l||e.complete()},error:e.error.bind(e)});e.add(o)})})).pipe(u(s),np({subscribe:()=>o=!0,unsubscribe:()=>o=!1}),e1({bufferSize:1,refCount:!0})),{getCurrentResult:()=>o&&n?n:s(p.map(e=>e.getCurrentResult()))})}onAfterBroadcast=e=>e();watchSingleFragment(e,n,t){if(null===e)return tW;let{optimistic:i=!0,variables:a}=t,l=[n,nc({id:e,optimistic:i,variables:a})],r=this.fragmentWatches.lookupArray(l);if(!r.observable){var u,p;let c,f=!1;function d(e){let i=e.result;return c&&n6(n,{data:c.data},{data:i},t.variables)||(c={data:i,dataState:e.complete?"complete":"partial",complete:e.complete},e.missing&&(c.missing=e.missing.missing)),c}let m=new L(t=>{f=!0;let r=this.watch({variables:a,returnPartialData:!0,id:e,query:n,optimistic:i,immediate:!0,callback:e=>{m.dirty=!0,this.onAfterBroadcast(()=>{t.next(d(e)),m.dirty=!1})}});return()=>{f=!1,r(),this.fragmentWatches.removeArray(l)}}).pipe((void 0===p&&(p=T),u=null!=u?u:t$,(0,s.operate)(function(e,n){var t,i=!0;e.subscribe((0,o.createOperatorSubscriber)(n,function(e){var a=p(e);(i||!u(t,a))&&(i=!1,t=a,n.next(e))}))})),eZ({connector:()=>new eM(1),resetOnRefCountZero:()=>{var e;return void 0===e&&(e=tq),new L(function(n){var t=0;t<0&&(t=0);var i=0;return e.schedule(function(){n.closed||(n.next(i++),n.complete())},t)})}}));r.observable=Object.assign(m,{dirty:!1,getCurrentResult:()=>f&&c?c:d(this.diff({id:e,query:n,returnPartialData:!0,optimistic:i,variables:a}))})}return r.observable}getFragmentDoc=ev(tK,{max:v["cache.fragmentQueryDocuments"]||1e3,cache:J,makeCacheKey:function(...e){return eb.bind(null,...e)}(this)});readFragment(e,n=!!e.optimistic){let t=void 0!==e.from?this.toCacheId(e.from):e.id;return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:t,optimistic:n})}writeQuery({id:e,data:n,...t}){return this.write(Object.assign(t,{dataId:e||"ROOT_QUERY",result:n}))}writeFragment({data:e,fragment:n,fragmentName:t,...i}){let a=void 0!==i.from?this.toCacheId(i.from):i.id;return this.write(Object.assign(i,{query:this.getFragmentDoc(n,t),dataId:a,result:e}))}updateQuery(e,n){return this.batch({update(t){let i=t.readQuery(e),a=n(i);return null==a?i:(t.writeQuery({...e,data:a}),a)}})}updateFragment(e,n){return this.batch({update(t){let i=t.readFragment(e),a=n(i);return null==a?i:(t.writeFragment({...e,data:a}),a)}})}toCacheId(e){return"string"==typeof e?e:this.identify(e)}}O.__DEV__&&(tQ.prototype.getMemoryInternals=eI);let tz=Object.freeze({data:null,dataState:"complete",complete:!0}),tW=Object.assign(new L(e=>{e.next(tz)}),{dirty:!1,getCurrentResult:()=>tz}),tY=Object.freeze({data:[],dataState:"complete",complete:!0}),tH=Object.assign(new L(e=>{e.next(tY)}),{getCurrentResult:()=>tY});e.s(["ApolloCache",0,tQ],63776);let{hasOwnProperty:tX}
1=Object.prototype,tZ=function(e,n,t){return this.merge(e[t],n[t])},t0=e=>isNaN(+e)?{}:[];class t1{options;reconciler;constructor(e={}){this.options=e,this.reconciler=e.reconciler||tZ}merge(e,n,t={}){let i=t.atPath;if(i?.length){let[a,...l]=i;void 0===e&&(e=t0(a));let r=e[a];void 0===r&&l.length&&(r=t0(l[0]));let s=this.merge(r,n,{...t,atPath:l});return r!==s&&((e=this.shallowCopyForMerge(e))[a]=s),e}return(Array.isArray(e)&&Array.isArray(n)&&"truncate"===this.options.arrayMerge&&e.length>n.length&&(e=e.slice(0,n.length),this.pastCopies.add(e)),(0,nQ.isNonNullObject)(n)&&(0,nQ.isNonNullObject)(e))?(Object.keys(n).forEach(t=>{if(tX.call(e,t)){let i=e[t];if(n[t]!==i){let a=this.reconciler(e,n,t);a!==i&&((e=this.shallowCopyForMerge(e))[t]=a)}}else(e=this.shallowCopyForMerge(e))[t]=n[t]}),e):n}isObject=nQ.isNonNullObject;pastCopies=new Set;shallowCopyForMerge(e){return(0,nQ.isNonNullObject)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):{__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e)),e}}function t2(e){return{__ref:String(e)}}let{hasOwnProperty:t4}=Object.prototype;function t6({__typename:e,id:n,_id:t},i){if("string"==typeof e&&(i&&(i.keyObject=null!=n?{id:n}:null!=t?{_id:t}:void 0),null==n&&null!=t&&(n=t),null!=n))return`${e}:${"number"==typeof n||"string"==typeof n?n:JSON.stringify(n)}`}let t3={dataIdFromObject:t6,resultCaching:!0};function t9(e){return(0,eC.compact)(t3,e)}function t8(e,n){return tJ(n)?e.get(n.__ref,"__typename"):n&&n.__typename}let t5=/^[_a-z][_0-9a-z]*/i;function t7(e){let n=e.match(t5);return n?n[0]:e}function ie(e,n,t){return!!(0,nQ.isNonNullObject)(n)&&(nY(n)?n.every(n=>ie(e,n,t)):e.selections.every(e=>{if(nB(e)&&n4(e,t)){let i=nC(e);return t4.call(n,i)&&(!e.selectionSet||ie(e.selectionSet,n[i],t))}return!0}))}function it(e){return(0,nQ.isNonNullObject)(e)&&!tJ(e)&&!nY(e)}function ii(){return new t1}function ia(e,n){let t=nv(n_(e));return{fragmentMap:t,lookupFragment(e){let i=t[e];return!i&&n&&(i=n.lookup(e)),i||null}}}function il(e){switch(e.kind){case A.Kind.NAMED_TYPE:return e.name.value;case A.Kind.LIST_TYPE:return`[${il(e.type)}]`;case A.Kind.NON_NULL_TYPE:return il(e.type)}}e.s(["TypeOrFieldNameRegExp",0,t5,"defaultDataIdFromObject",0,t6,"extractFragmentContext",0,ia,"fieldNameFromStoreName",0,t7,"getScalarTypeFromTypeNode",0,il,"getTypenameFromStoreObject",0,t8,"hasOwn",0,t4,"makeProcessedFieldsMerger",0,ii,"normalizeConfig",0,t9,"selectionSetMatchesResult",0,ie,"storeValueIsStoreObject",0,it],107590);let ir={},is=()=>ir,io={};class iu{policies;group;data={};constructor(e,n){this.policies=e,this.group=n}toObject(){return{...this.data}}has(e){return void 0!==this.lookup(e,!0)}get(e,n){if(this.group.depend(e,n),t4.call(this.data,e)){let t=this.data[e];if(t&&t4.call(t,n))return t[n]}return"__typename"===n&&t4.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof im?this.parent.get(e,n):void 0}lookup(e,n){return(n&&this.group.depend(e,"__exists"),t4.call(this.data,e))?this.data[e]:this instanceof im?this.parent.lookup(e,n):this.policies.rootTypenamesById[e]?{}:void 0}merge(e,n){let t;tJ(e)&&(e=e.__ref),tJ(n)&&(n=n.__ref);let i="string"==typeof e?this.lookup(t=e):e,a="string"==typeof n?this.lookup(t=n):n;if(!a)return;(0,c.invariant)("string"==typeof t,108),a=this.coerceStoreObject(a,(e,n)=>e.coerceToParsed(n),a.__typename||i?.__typename||this.policies.rootTypenamesById[t]);let l=new t1({reconciler:ih}).merge(i,a);if(this.data[t]=l,l!==i&&(delete this.refs[t],this.group.caching)){let e={};i||(e.__exists=1),Object.keys(a).forEach(n=>{if(!i||i[n]!==l[n]){e[n]=1;let t=t7(n);t===n||this.policies.hasKeyArgs(l.__typename,t)||(e[t]=1),void 0!==l[n]||this instanceof im||delete l[n]}}),e.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[t]===l.__typename&&delete e.__typename,Object.keys(e).forEach(e=>this.group.dirty(t,e))}}modify(e,n,t){let i=this.lookup(e);if(i){let a={},l=!1,r=!0,s={DELETE:ir,INVALIDATE:io,isReference:tJ,toReference:this.toReference,canRead:this.canRead,readField:(n,t)=>this.policies.readField("string"==typeof n?{fieldName:n,from:t||t2(e)}:n,{store:this})};
1if(Object.keys(i).forEach(o=>{let u=t7(o),p=i[o];if(void 0===p)return;let d="function"==typeof n?n:n[o]||(t?void 0:n[u]);if(d){let n=d===is?ir:d((0,nE.maybeDeepFreeze)(p),{...s,fieldName:u,storeFieldName:o,storage:this.getStorage(e,o)});if(n===io)this.group.dirty(e,o);else if(n===ir&&(n=void 0),n!==p&&(a[o]=n,l=!0,p=n,O.__DEV__)){let e=e=>{if(void 0===this.lookup(e.__ref))return O.__DEV__&&c.invariant.warn(109,e),!0};if(tJ(n))e(n);else if(Array.isArray(n)){let t,i=!1;for(let a of n){if(tJ(a)){if(i=!0,e(a))break}else if("object"==typeof a&&a){let[e]=this.policies.identify(a);e&&(t=a)}if(i&&void 0!==t){O.__DEV__&&c.invariant.warn(110,t);break}}}}}void 0!==p&&(r=!1)}),l)return this.merge(e,a),r&&(this instanceof im?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1}delete(e,n,t){let i=this.lookup(e);if(i){let a=this.getFieldValue(i,"__typename"),l=n&&t?this.policies.getStoreFieldName({typename:a,fieldName:n,args:t}):n;return this.modify(e,l?{[l]:is}:is,!!t)}return!1}evict(e,n){let t=!1;return e.id&&(t4.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof im&&this!==n&&(t=this.parent.evict(e,n)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t}clear(){this.replace(null)}extract(){let e=this.toObject();this.hasScalarConfig()&&(e=Object.fromEntries(Object.entries(e).map(([e,n])=>[e,n&&this.coerceStoreObject(n,(e,n)=>e.coerceToSerialized(n),n?.__typename||this.policies.rootTypenamesById[e])])));let n=[];return this.getRootIdSet().forEach(e=>{t4.call(this.policies.rootTypenamesById,e)||n.push(e)}),n.length&&(e.__META={extraRootIds:n.sort()}),e}hasScalarConfig(){return!!this.policies.cache.config.scalars}coerceStoreObject(e,n,t=e.__typename){if(!t||!this.hasScalarConfig())return e;let i=!1,a=Object.entries(e).map(([e,a])=>{let l=t7(e),r=this.policies.getScalarTypeForField(t,l),s=this.coerceValue(a,n,r,`${t}.${l}`);return i||=s!==a,[e,s]});return i?Object.fromEntries(a):e}coerceValue(e,n,t,i){if(null==e)return e;if(t){let a=nM(t);if(a)if(Array.isArray(e))return e.map(e=>this.coerceValue(e,n,a[1],i));else O.__DEV__&&O.__DEV__&&c.invariant.warn(111,i,t,nJ(t));let l=this.policies.cache.getScalar(nJ(t));if(l)return n(l,e)}return Array.isArray(e)?e.map(e=>this.coerceValue(e,n,t,i)):tj(e)&&"__typename"in e?this.coerceStoreObject(e,n):e}replace(e){if(Object.keys(this.data).forEach(n=>{e&&t4.call(e,n)||this.delete(n)}),e){let{__META:n,...t}=e;Object.keys(t).forEach(e=>{this.merge(e,t[e])}),n&&n.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){let n=--this.rootIds[e];return n||delete this.rootIds[e],n}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof im?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){let e=this.getRootIdSet(),n=this.toObject();e.forEach(t=>{t4.call(n,t)&&(Object.keys(this.findChildRefIds(t)).forEach(e.add,e),delete n[t])});let t=Object.keys(n);if(t.length){let e=this;for(;e instanceof im;)e=e.parent;t.forEach(n=>e.delete(n))}return t}refs={};findChildRefIds(e){if(!t4.call(this.refs,e)){let n=this.refs[e]={},t=this.data[e];if(!t)return n;let i=new Set([t]);i.forEach(e=>{tJ(e)&&(n[e.__ref]=!0),(0,nQ.isNonNullObject)(e)&&Object.keys(e).forEach(n=>{let t=e[n];(0,nQ.isNonNullObject)(t)&&i.add(t)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,n)=>(0,nE.maybeDeepFreeze)(tJ(e)?this.get(e.__ref,n):e&&e[n]);canRead=e=>tJ(e)?this.has(e.__ref):"object"==typeof e;toReference=(e,n)=>{if("string"==typeof e)return t2(e);if(tJ(e))return e;let[t]=this.policies.identify(e);if(t){let i=t2(t);
1return n&&this.merge(t,e),i}};get supportsResultCaching(){return this.group.caching}}class ip{caching;parent;d=null;keyMaker;constructor(e,n=null){this.caching=e,this.parent=n,this.resetCaching()}resetCaching(){this.d=this.caching?eO():null,this.keyMaker=new U}depend(e,n){if(this.d){this.d(n+"#"+e);let t=t7(n);t!==n&&this.d(t+"#"+e),this.parent&&this.parent.depend(e,n)}}dirty(e,n){this.d&&this.d.dirty(n+"#"+e,"__exists"===n?"forget":"setDirty")}}function id(e,n){iT(e)&&e.group.depend(n,"__exists")}class ic extends iu{constructor({policies:e,resultCaching:n=!0,seed:t}){super(e,new ip(n)),t&&this.replace(t)}stump=new iy(this);addLayer(e,n){return this.stump.addLayer(e,n)}removeLayer(){return this}storageTrie=new U;getStorage(){return this.storageTrie.lookupArray(arguments)}}iu.Root=ic;class im extends iu{id;parent;replay;group;constructor(e,n,t,i){super(n.policies,i),this.id=e,this.parent=n,this.replay=t,this.group=i,t(this)}addLayer(e,n){return new im(e,this,n,this.group)}removeLayer(e){let n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(e=>{let t=this.data[e],i=n.lookup(e);i?t?t!==i&&Object.keys(t).forEach(n=>{(0,nD.equal)(t[n],i[n])||this.group.dirty(e,n)}
1):(this.group.dirty(e,"__exists"),Object.keys(i).forEach(n=>{this.group.dirty(e,n)})):this.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(e){let n=this.parent.findChildRefIds(e);return t4.call(this.data,e)?{...n,...super.findChildRefIds(e)}:n}getStorage(...e){let n=this.parent;for(;n.parent;)n=n.parent;return n.getStorage(...e)}}class iy extends im{constructor(e){super("EntityStore.Stump",e,()=>{},new ip(e.group.caching,e.group))}removeLayer(){return this}merge(e,n){return this.parent.merge(e,n)}}function ih(e,n,t){let i=e[t],a=n[t];return(0,nD.equal)(i,a)?i:a}function iT(e){return!!(e&&e.supportsResultCaching)}function ig(e,n){if(e.arguments&&e.arguments.length){let t={};return e.arguments.forEach(({name:e,value:i})=>nG(t,e,i,n)),t}return null}let ik=["connection","include","skip","client","rest","export","nonreactive","stream"],iN=nc,iL=Object.assign(function(e,n,t){if(n&&t&&t.connection&&t.connection.key){if(t.connection.filter&&t.connection.filter.length>0){let e=t.connection.filter?t.connection.filter:[];e.sort();let i={};e.forEach(e=>{i[e]=n[e]});let a=iN(i);if("{}"!==a)return`${t.connection.key}(${a})`}return t.connection.key}let i=e;if(n){let e=iN(n);"{}"!==e&&(i+=`(${e})`)}return t&&Object.keys(t).forEach(e=>{-1===ik.indexOf(e)&&(t[e]&&Object.keys(t[e]).length?i+=`@${e}(${iN(t[e])})`:i+=`@${e}`)}),i},{setStringify(e){let n=iN;return iN=e,n}});var iR=e.i(579975);let iS={};function iA(e){let n=JSON.stringify(e);return iS[n]||(iS[n]={})}function iO(e){let n=iA(e);return n.keyFieldsFn||(n.keyFieldsFn=(n,t)=>{let i=(e,n)=>t.readField(n,e),a=t.keyObject=iD(e,e=>{let a=i_(t.storeObject,e,i);return void 0===a&&n!==t.storeObject&&t4.call(n,e[0])&&(a=i_(n,e,iv)),(0,c.invariant)(void 0!==a,113,e.join("."),n),a});return`${t.typename}:${JSON.stringify(a)}`})}function ib(e){let n=iA(e);return n.keyArgsFn||(n.keyArgsFn=(n,{field:t,variables:i,fieldName:a})=>{let l=JSON.stringify(iD(e,e=>{let a=e[0],l=a.charAt(0);if("@"===l){if(t&&nH(t.directives)){let n=a.slice(1),l=t.directives.find(e=>e.name.value===n),r=l&&ig(l,i);return r&&i_(r,e.slice(1))}return}if("$"===l){let n=a.slice(1);if(i&&t4.call(i,n)){let t=e.slice(0);return t[0]=n,i_(i,t)}return}if(n)return i_(n,e)}));return(n||"{}"!==l)&&(a+=":"+l),a})}function iD(e,n){let t=new t1;return(function e(n){let t=iA(n);if(!t.paths){let i=t.paths=[],a=[];n.forEach((t,l)=>{nY(t)?(e(t).forEach(e=>i.push(a.concat(e))),a.length=0):(a.push(t),nY(n[l+1])||(i.push(a.slice(0)),a.length=0))})}return t.paths})(e).reduce((e,i)=>{let a=n(i);if(void 0!==a){for(let e=i.length-1;e>=0;--e)a={[i[e]]:a};e=t.merge(e,a)}return e},{})}function iv(e,n){return e[n]}function i_(e,n,t){return t=t||iv,function e(n){return(0,nQ.isNonNullObject)(n)?nY(n)?n.map(e):iD(Object.keys(n).sort(),e=>i_(n,e)):n}(n.reduce(function e(n,i){return nY(n)?n.map(n=>e(n,i)):n&&t(n,i)},e))}let iE=new ei,iC=new WeakMap;function iI(e){let n=iC.get(e);return n||iC.set(e,n={vars:new Set,dep:eO()}),n}function iw(e){iI(e).vars.forEach(n=>n.forgetCache(e))}function iU(e){iI(e).vars.forEach(n=>n.attachCache(e))}function iP(e){let n=new Set,t=new Set,i=function(l){if(arguments.length>0){if(e!==l){e=l,n.forEach(e=>{var n;iI(e).dep.dirty(i),(n=e).broadcastWatches&&n.broadcastWatches()});let a=Array.from(t);t.clear(),a.forEach(n=>n(e))}}else{let e=iE.getValue();e&&(a(e),iI(e).dep(i))}return e};i.onNextChange=e=>(t.add(e),()=>{t.delete(e)});let a=i.attachCache=e=>(n.add(e),iI(e).vars.add(i),i);return i.forgetCache=e=>n.delete(e),i}function iV(e){return void 0!==e.args?e.args:e.field?ig(e.field,e.variables):null}e.s(["cacheSlot",0,iE,"forgetCache",0,iw,"makeVar",0,iP,"recallCache",0,iU],997529);let iF=()=>void 0,ix=(e,n)=>n.fieldName,iB=(e,n,{mergeObjects:t})=>t(e,n),iM=(e,n)=>n,iJ=(e,n,{streamFieldInfo:t,existingData:i})=>{if(!e&&!i)return n;let a=[],l=e??i,r=t?.isLastChunk?n.length:Math.max(l.length,n.length);for(let e=0;e<r;e++)a[e]=void 0===n[e]?l[e]:n[e];return a};class ij{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;
1constructor(e){this.config=e,this.config={dataIdFromObject:t6,...e},this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}identify(e,n){let t,i=this,a=n&&(n.typename||n.storeObject?.__typename)||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];let l=n&&n.storeObject||e,r={...n,typename:a,storeObject:l,readField:n&&n.readField||((...e)=>{let n=iG(e,l);return i.readField(n,{store:i.cache.data,variables:n.variables})})},s=a&&this.getTypePolicy(a),o=s&&s.keyFn||this.config.dataIdFromObject;return nI.withValue(!0,()=>{for(;o;){let n=o({...e,...l},r);if(nY(n))o=iO(n);else{t=n;break}}}),t=t?String(t):void 0,r.keyObject?[t,r.keyObject]:[t]}addTypePolicies(e){Object.keys(e).forEach(n=>{let{queryType:t,mutationType:i,subscriptionType:a,...l}=e[n];t&&this.setRootTypename("Query",n),i&&this.setRootTypename("Mutation",n),a&&this.setRootTypename("Subscription",n),t4.call(this.toBeAdded,n)?this.toBeAdded[n].push(l):this.toBeAdded[n]=[l]})}updateTypePolicy(e,n,t){let i=this.getTypePolicy(e),{keyFields:a,fields:l}=n;function r(e,n){e.merge="function"==typeof n?n:!0===n?iB:!1===n?iM:e.merge}r(i,n.merge),i.keyFn=!1===a?iF:nY(a)?iO(a):"function"==typeof a?a:i.keyFn,l&&Object.keys(l).forEach(n=>{let i=t[n];i&&i?.typename===e||(i=t[n]={typename:e});let a=l[n];if("function"==typeof a)i.scalar?O.__DEV__&&iK(e,n,i.scalar,"read"):i.read=a;else{let{keyArgs:t,read:l,merge:s,scalar:o}=a;o&&(i.scalar=o),i.scalar&&(O.__DEV__&&((void 0!==l||void 0!==i.read)&&iK(e,n,i.scalar,"read"),(void 0!==s||void 0!==i.merge)&&iK(e,n,i.scalar,"merge")),i.read=l=void 0,i.merge=s=void 0),i.keyFn=!1===t?ix:nY(t)?ib(t):"function"==typeof t?t:i.keyFn,"function"==typeof l&&(i.read=l),r(i,s)}i.read&&i.merge&&(i.keyFn=i.keyFn||ix)})}setRootTypename(e,n=e){let t="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[t];n!==i&&((0,c.invariant)(!i||i===e,114,e),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=t,this.rootTypenamesById[t]=n)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(n=>{this.getSupertypeSet(n,!0),e[n].forEach(e=>{this.getSupertypeSet(e,!0).add(n);let t=e.match(t5);t&&t[0]===e||this.fuzzySubtypes.set(e,new RegExp(e))})})}getTypePolicy(e){if(!t4.call(this.typePolicies,e)){let n=this.typePolicies[e]={};n.fields={};let t=this.supertypeMap.get(e);!t&&this.fuzzySubtypes.size&&(t=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((n,i)=>{if(n.test(e)){let e=this.supertypeMap.get(i);e&&e.forEach(e=>t.add(e))}})),t&&t.size&&t.forEach(e=>{let{fields:t,...i}=this.getTypePolicy(e);Object.assign(n,i),Object.assign(n.fields,t)})}let n=this.toBeAdded[e];return n&&n.length&&n.splice(0).forEach(n=>{this.updateTypePolicy(e,n,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,n){if(e)return this.getTypePolicy(e).fields[n]}getSupertypeSet(e,n){let t=this.supertypeMap.get(e);return!t&&n&&this.supertypeMap.set(e,t=new Set),t}fragmentMatches(e,n,t,i){if(!e.typeCondition)return!0;if(!n)return!1;let a=e.typeCondition.name.value;if(n===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a)){let l=this.getSupertypeSet(n,!0),r=[l],s=e=>{let n=this.getSupertypeSet(e,!1);n&&n.size&&0>r.indexOf(n)&&r.push(n)},o=!!(t&&this.fuzzySubtypes.size),u=!1;for(let p=0;p<r.length;++p){let d=r[p];if(d.has(a))return l.has(a)||(u&&O.__DEV__&&c.invariant.warn(115,n,a),l.add(a)),!0;d.forEach(s),o&&p===r.length-1&&ie(e.selectionSet,t,i)&&(o=!1,u=!0,this.fuzzySubtypes.forEach((e,t)=>{let i=n.match(e);i&&i[0]===n&&s(t)}))}}return!1}hasKeyArgs(e,n){let t=this.getFieldPolicy(e,n);return!!(t&&t.keyFn)}getStoreFieldName(e){var n,t;let i,a,l,{typename:r,fieldName:s}=e,o=this.getFieldPolicy(r,s),u=o&&o.keyFn;if(u&&r){let n={typename:r,fieldName:s,field:e.field||null,variables:e.variables},t=iV(e);for(;u;){let e=u(t,n);if(nY(e))u=ib(e);else{i=e||s;break}}}return(void 0===i&&(i=e.field?(n=e.field,t=e.variables,a=null,n.directives&&(a={}
1,n.directives.forEach(e=>{a[e.name.value]={},e.arguments&&e.arguments.forEach(({name:n,value:i})=>nG(a[e.name.value],n,i,t))})),l=null,n.arguments&&n.arguments.length&&(l={},n.arguments.forEach(({name:e,value:n})=>nG(l,e,n,t))),iL(n.name.value,l,a)):iL(s,iV(e))),!1===i)?s:s===t7(i)?i:s+":"+i}getScalarTypeForField(e,n){return this.getFieldPolicy(e,n)?.scalar}readField(e,n){let t=e.from;if(!t||!(e.field||e.fieldName))return;if(void 0===e.typename){let i=n.store.getFieldValue(t,"__typename");i&&(e.typename=i)}let i=this.getStoreFieldName(e),a=t7(i),l=n.store.getFieldValue(t,i),r=this.getFieldPolicy(e.typename,a),s=r&&r.read;if(s){let a=i$(this,t,e,n,n.store.getStorage(tJ(t)?t.__ref:t,i));return iE.withValue(this.cache,s,[l,a])}return l}getReadFunction(e,n){let t=this.getFieldPolicy(e,n);return t&&t.read}getMergeFunction(e,n,t){let i=this.getFieldPolicy(e,n),a=i&&i.merge;return!a&&t&&(a=(i=this.getTypePolicy(t))&&i.merge),a}runMergeFunction(e,n,{field:t,typename:i,merge:a,path:l},r,s){let o=e;if(a===iB)return iq(r.store)(e,n);if(a===iM)return n;r.overwrite&&(e=void 0);let u=r.extensions?.[nj.streamInfoSymbol]?.deref()?.peekArray(l);if(u){let{current:e,previous:t}=u;if(t&&(0,nD.equal)(t.incoming,n)&&(0,nD.equal)(t.streamFieldInfo,e))return t.result}let p=a(e,n,function(e,n,t,i,a,l){let r={...i$(e,n,t,i,a),extensions:i.extensions,existingData:l},s=i.extensions;if(s&&nj.streamInfoSymbol in s){let{[nj.streamInfoSymbol]:e,...n}=s,i=e?.deref()?.peekArray(t.path);i&&(r.streamFieldInfo=i.current),r.extensions=0===Object.keys(n).length?void 0:n}return r}(this,void 0,{typename:i,fieldName:t.name.value,field:t,variables:r.variables,path:l},r,s||{},o));return u&&(u.previous={incoming:n,streamFieldInfo:u.current,result:p}),p}}function i$(e,n,t,i,a){let l=e.getStoreFieldName(t),r=t7(l),s=t.variables||i.variables,{toReference:o,canRead:u}=i.store;return{args:iV(t),field:t.field||null,fieldName:r,storeFieldName:l,variables:s,isReference:tJ,toReference:o,storage:a,cache:e.cache,canRead:u,readField:(...t)=>e.readField(iG(t,n,s),i),mergeObjects:iq(i.store)}}function iG(e,n,t){let i,{0:a,1:l,length:r}=e;return"string"==typeof a?i={fieldName:a,from:r>1?l:n}:(i={...a},t4.call(i,"from")||(i.from=n)),O.__DEV__&&void 0===i.from&&O.__DEV__&&c.invariant.warn(116,(0,iR.stringifyForDisplay)(Array.from(e))),void 0===i.variables&&(i.variables=t),i}function iq(e){return function(n,t){if(nY(n)||nY(t))throw(0,c.newInvariantError)(117);if((0,nQ.isNonNullObject)(n)&&(0,nQ.isNonNullObject)(t)){let i=e.getFieldValue(n,"__typename"),a=e.getFieldValue(t,"__typename");if(i&&a&&i!==a)return t;if(tJ(n)&&it(t))return e.merge(n.__ref,t),n;if(it(n)&&tJ(t))return e.merge(n,t.__ref),t;if(it(n)&&it(t))return{...n,...t}}return t}}function iK(e,n,t,i){O.__DEV__&&c.invariant.warn(118,`${e}.${n}`,t,i)}let iQ=K(function(e,n){return!!e.directives?.some(e=>{if("defer"!==e.name.value)return!1;for(let t of e.arguments??[])if("if"===t.name.value)switch(t.value.kind){case A.Kind.BOOLEAN:return t.value.value;case A.Kind.VARIABLE:return!!n?.[t.value.name.value]}return!0})},{max:v.isDeferredFragment||2e3,makeCacheKey:([e,n])=>[e,nc(n)]}),iz=K(function(e,n){return!!e.directives?.some(e=>{if("stream"!==e.name.value)return!1;for(let t of e.arguments??[])if("if"===t.name.value)switch(t.value.kind){case A.Kind.BOOLEAN:return t.value.value;case A.Kind.VARIABLE:return!!n?.[t.value.name.value]}return!0})},{max:v.isStreamField||2e3,makeCacheKey:([e,n])=>[e,nc(n)]});class iW extends Error{message;path;query;variables;constructor(e,n,t,i){if(super(e),this.message=e,this.path=n,this.query=t,this.variables=i,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let e=this.path.length-1;e>=0;--e)this.missing={[this.path[e]]:this.missing}}else this.missing=this.path;this.__proto__=iW.prototype}missing}function iY(e){return[e.selectionSet,e.objectOrReference,e.context]}e.s(["MissingFieldError",0,iW],883011);class iH{executeSelectionSet;executeSubSelectedArray;prunePartialStreamArray;prunePartialBoundaries;config;knownResults=new WeakMap;keyMaker=new U;constructor(e){this.config=e,this.executeSelectionSet=ev(e=>{let n=iY(e),t=this.executeSelectionSet.peek(...n);return t||(id(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:iY,makeCacheKey(e,n,t){if(iT(t.store))return t.store.makeCacheKey(e,tJ(n)?n.__ref:n,t.varStr
1ing)}}),this.executeSubSelectedArray=ev(e=>(id(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:e,array:n,context:t}){if(iT(t.store))return t.store.makeCacheKey(e,n,t.varString)}}),this.prunePartialBoundaries=ev(e=>this.prunePartialBoundariesImpl(e),{max:v["inMemoryCache.prunePartialBoundaries"]||2e4,makeCacheKey:({boundaries:e,context:n,selectionSet:t})=>{if(iT(n.store))return this.keyMaker.lookup(t,e,n.streamInfo,n.deferInfo)}}),this.prunePartialStreamArray=ev(e=>{let{field:n,context:t,path:i}=e;return iz(n,t.variables)&&t.streamInfo?.lookupArray(i).state.depend(),this.prunePartialStreamArrayImpl(e)},{max:v["inMemoryCache.prunePartialStreamArray"]||2e4,makeCacheKey:({field:e,context:n,boundaries:t})=>{if(iT(n.store))return this.keyMaker.lookup(e,t,n.streamInfo,n.deferInfo)}})}diffQueryAgainstStore({store:e,query:n,rootId:t="ROOT_QUERY",variables:i,returnPartialData:a=!0,...l}){let r,s=Object.hasOwn(l,nj.handleIncrementalSymbol),o=this.config.cache.policies;i=(0,eC.compact)(nq(n8(n)),i);let u=t2(t),p={store:e,query:n,policies:o,variables:i,varString:nc(i),...ia(n,this.config.fragments),...l[nj.handleIncrementalSymbol]},d=this.executeSelectionSet({selectionSet:nx(n).selectionSet,objectOrReference:u,enclosingRef:u,context:p});if(s&&function({dataState:e},n){return"deferPartial"===e||"streamPartial"===e||("complete"===e||"streaming"===e)&&!!(n.streamInfo||n.deferInfo)}(d,p)){let e=this.prunePartialBoundaries({selectionSet:nx(n).selectionSet,data:d.result,boundaries:d.partialBoundaries,context:p,path:[]});d.result!==e.result&&a||(d={result:e.result,partialBoundaries:d.partialBoundaries,dataState:e.dataState})}let{result:c,dataState:f,missing:m}=d,y=!!m&&("streaming"!==f||!s);"streaming"===f&&0===Object.keys(c).length&&(f="empty"),"deferPartial"!==f&&"streamPartial"!==f&&("streaming"!==f||s)||(f="partial"),"partial"!==f||a||(f="empty");let h="complete"===f,T={result:h||"streaming"===f||a&&Object.keys(c).length?c:null,complete:h,get missing(){return y&&(r||=new iW(function(e){try{JSON.stringify(e,(e,n)=>{if("string"==typeof n)throw n;return n})}catch(e){return e}}(m),m,n,i)),r}};return s&&(T.dataState=f),T}isFresh(e,n,t,i){if(iT(i.store)&&this.knownResults.get(e)===t){let a=this.executeSelectionSet.peek(t,n,i);if(a&&e===a.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:n,enclosingRef:t,context:i}){let a,l;if(tJ(n)&&!i.policies.rootTypenamesById[n.__ref]&&!i.store.has(n.__ref))return{result:{},dataState:"empty",missing:`Dangling reference to missing ${n.__ref} object`,partialBoundaries:new iX};let{variables:r,policies:s,store:o}=i,u=o.getFieldValue(n,"__typename"),p=[],d=new t1,f=new iX;function m(e,n){return e.missing&&(l=d.merge(l,{[n]:e.missing})),e}"string"!=typeof u||s.rootIdsByTypename[u]||p.push({__typename:u}),new Set(e.selections).forEach(e=>{if(n4(e,r))if(nB(e)){let r=s.readField({fieldName:e.name.value,field:e,variables:i.variables,from:n},i),o=nC(e);if(void 0===r){if(!tM.added(e)){let t=tJ(n)?n.__ref:n?s.identify(n)[0]:void 0;l=d.merge(l,{[o]:`Can't find field '${e.name.value}' on ${t?`${t} object`:`object ${JSON.stringify(n||{},null,2)}`}`}),a=i0(a,"empty")}}else if(nY(r))if(r.length>0){let n=m(this.executeSubSelectedArray({field:e,array:r,enclosingRef:t,context:i}),o);r=n.result,a=i0(a,n.dataState),f.set(o,n.partialBoundaries)}else a=i0(a,"complete");else if(e.selectionSet){if(null!=r){if(O.__DEV__){let n=e.name.value;if(u){let e=s.getFieldPolicy(u,n);e?.scalar&&O.__DEV__&&c.invariant.warn(119,`${u}.${n}`,e.scalar)}}let n=m(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:r,enclosingRef:tJ(r)?r:t,context:i}),o);r=n.result,f.set(o,n.partialBoundaries),a=i0(a,"empty"===n.dataState?"partial":n.dataState)}}else tM.added(e)||(a=i0(a,"complete"));void 0!==r&&p.push({[o]:r})}else{let r=nF(e,i.lookupFragment);if(!r&&e.kind===A.Kind.FRAGMENT_SPREAD)throw(0,c.newInvariantError)(120,e.name.value);if(r&&s.fragmentMatches(r,u)){let s=iQ(e,i.variables),o=this.execSelectionSetImpl({selectionSet:r.selectionSet,objectOrReference:n,enclosingRef:t,context:i}),{result:u,dataState:c}=o;f.merge(o.partialBoundaries),void 0!==u&&p.push(u),o.missing&&(l=d.merge(l,o.missing)),s&&("partial"===c||"empty"===c)&&f.add(e),a=i0(a,s?"empty"===c?"streaming":"partial"===c?"deferPartial":c:c)}}}),a||="complete";let y={result:function(e){let n=e[0]||{},t=e.length;if(t>1){let i=new t1;for(let a=1;a<t;
1++a)n=i.merge(n,e[a])}return n}(p),missing:l,dataState:a,partialBoundaries:f},h=(0,nE.maybeDeepFreeze)(y);return h.result&&this.knownResults.set(h.result,e),h}execSubSelectedArrayImpl({field:e,array:n,enclosingRef:t,context:i}){let a,l="complete",r=new t1,s=new iX,o=iz(e,i.variables);return e.selectionSet&&(n=n.filter(e=>void 0===e||i.store.canRead(e))),{result:n=n.map((n,u)=>{let p;if(null===n)return null;if(nY(n)?p=this.executeSubSelectedArray({field:e,array:n,enclosingRef:t,context:i}):e.selectionSet&&(p=this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:n,enclosingRef:tJ(n)?n:t,context:i})),p){var d;let{dataState:n}=p;return s.set(u,"partial"===n?p.partialBoundaries.clone().add(e):p.partialBoundaries),l=i0(l,o&&"partial"===n?"streamPartial":n),(d=p).missing&&(a=r.merge(a,{[u]:d.missing})),d.result}return O.__DEV__&&function(e,n,t){if(!n.selectionSet){let i=new Set([t]);i.forEach(t=>{(0,nQ.isNonNullObject)(t)&&((0,c.invariant)(!tJ(t),121,t8(e,t),n.name.value),Object.values(t).forEach(i.add,i))})}}(i.store,e,n),n}),dataState:l,missing:a,partialBoundaries:s}}prunePartialBoundariesImpl({boundaries:e,context:n,data:t,path:i,selectionSet:a}){let{variables:l,lookupFragment:r,policies:s}=n;if(null==t||!e)return{result:t,dataState:"complete"};let o=new t1,u=!1,p="complete",d={};Object.hasOwn(t,"__typename")&&(d.__typename=t.__typename);let c=new Set(a.selections);return c.forEach(a=>{if(!n4(a,l))return;if(nB(a)){let l=nC(a);if(!Object.hasOwn(t,l))return;let r=t[l];if(Array.isArray(r)){let t=this.prunePartialStreamArray({field:a,array:r,boundaries:e.getChild(l),context:n,path:i.concat(l)});u||=t.result!==r,d[l]=t.result,p=i0(p,t.dataState)}else if(a.selectionSet){let t=this.prunePartialBoundaries({data:r,selectionSet:a.selectionSet,boundaries:e.getChild(l),context:n,path:i.concat(l)});u||=t.result!==r,p=i0(p,t.dataState),d[l]=Object.hasOwn(d,l)?o.merge(d[l],t.result):t.result}else d[l]=r;return}let f=nF(a,r),m=!1;if(n.deferInfo&&iQ(a,l)){let e=a.directives?.find(e=>"defer"===e.name.value),t=e&&function(e,n,t){let i=e.arguments?.find(e=>e.name.value===n);if(i&&i.value.kind===t&&i.value.kind===A.Kind.STRING)return i.value.value}(e,"label",A.Kind.STRING);m=!!n.deferInfo.peekArray(i.concat(t||[]))}f&&s.fragmentMatches(f,t.__typename)&&(e.has(a)||m?p=i0(p,"streaming"):f.selectionSet.selections.forEach(c.add,c))}),Object.keys(d).length!==Object.keys(t).length?u=!0:u&&e.hasSelections()&&(u=!(0,nD.equal)(d,t)),{result:u?d:t,dataState:p}}prunePartialStreamArrayImpl({field:e,array:n,boundaries:t,context:i,path:a}){if(!t)return{result:n,dataState:"complete"};let l=!1,r="complete",s=[],o=i.streamInfo?.peekArray(a)?.state,u=Math.min(n.length,o?.truncate?o.streamPosition:Number.MAX_SAFE_INTEGER);for(let p=0;p<u;p++){let u=n[p],d={result:u,dataState:"complete"},c=t.getChild(p);if(c?.has(e)){o?(o.truncate=!0,s=s.slice(0,o.streamPosition)):(s=[],r="complete");break}Array.isArray(u)?d=this.prunePartialStreamArray({field:e,array:u,boundaries:t.getChild(p),context:i,path:a.concat(p)}):e.selectionSet&&(d=this.prunePartialBoundaries({data:u,selectionSet:e.selectionSet,boundaries:t.getChild(p),context:i,path:a.concat(p)})),s.push(d.result),l||=d.result!==u,r=i0(r,d.dataState)}return{result:(l||=s.length!==n.length)?s:n,dataState:r}}}class iX{selections=new Set;children=new Map;add(e){return this.selections.add(e),this}has(e){return this.selections.has(e)}hasSelections(){return this.selections.size>0}getChild(e){return this.children.get(e)}clone(){return new iX().merge(this)}set(e,n){let t=this.getChild(e);this.children.set(e,t?t.clone().merge(n):n)}merge(e){return e.selections.forEach(e=>this.add(e)),e.children.forEach((e,n)=>this.set(n,e)),this}}let iZ={empty:{complete:"partial",deferPartial:"partial",streaming:"partial",streamPartial:"partial"},deferPartial:{empty:"partial"},streamPartial:{deferPartial:"deferPartial",empty:"partial"},streaming:{deferPartial:"deferPartial",empty:"partial",streamPartial:"streamPartial"},complete:{deferPartial:"deferPartial",streaming:"streaming",streamPartial:"streamPartial",empty:"partial"},partial:{}};function i0(e,n){return"partial"===n?"partial":e&&e!==n?iZ[e][n]||e:n}let{toString:i1}=Object.prototype;function i2(e,n,t){let i=`${n}${t}`,a=e.flavors.get(i);return a||e.flavors.set(i,a=e.clientOnly===n&&e.deferred===t?e:{...e,clientOnly:n,deferred:t}),a}class i4{cache;reader;fragments;constructor(e,n,t){this.cache=e,this.reader=n,this.fragments=t}writeToStore(e,{query:n,result:t,dataId:i,variables:a,overwrite:l,extensions:r}){let s=z(n),o=ii(),u={store:e,written:{},merge:(e,n)=>o.merge(e,n),variables:a={...nq(s),...a}
1,varString:nc(a),...ia(n,this.fragments),overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:r},p=this.processSelectionSet({result:t||{},dataId:i,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:u,path:[]});if(!tJ(p))throw(0,c.newInvariantError)(122,t);return u.incomingById.forEach(({storeObject:n,mergeTree:t,fieldNodeSet:i},a)=>{let l=t2(a);if(t&&t.map.size){let e=this.applyMerges(t,l,n,u);if(tJ(e))return;n=e}if(O.__DEV__&&!u.overwrite){let e={};i.forEach(n=>{n.selectionSet&&(e[n.name.value]=!0)}),Object.keys(n).forEach(i=>{let a;!0!==e[t7(i)]||(a=t&&t.map.get(i))&&a.info&&a.info.merge||function(e,n,t,i){let a=e=>{let n=i.getFieldValue(e,t);return"object"==typeof n&&n},l=a(e);if(!l)return;let r=a(n);if(!r||tJ(l)||(0,nD.equal)(l,r)||Object.keys(l).every(e=>void 0!==i.getFieldValue(r,e)))return;let s=i.getFieldValue(e,"__typename")||i.getFieldValue(n,"__typename"),o=t7(t),u=`${s}.${o}`;if(i5.has(u))return;i5.add(u);let p=[];nY(l)||nY(r)||[l,r].forEach(e=>{let n=i.getFieldValue(e,"__typename");"string"!=typeof n||p.includes(n)||p.push(n)}),O.__DEV__&&c.invariant.warn(125,o,s,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",u,Array.isArray(l)?[...l]:{...l},Array.isArray(r)?[...r]:{...r})}(l,n,i,u.store)})}e.merge(a,n)}),e.retain(p.__ref),p}processSelectionSet({dataId:e,result:n,selectionSet:t,context:i,mergeTree:a,path:l}){let{policies:r}=this.cache,s={},o=e&&r.rootTypenamesById[e]||i7(n,t,i.fragmentMap)||e&&i.store.get(e,"__typename");"string"==typeof o&&(s.__typename=o);let u=(...e)=>{let n=iG(e,s,i.variables);if(tJ(n.from)){let e=i.incomingById.get(n.from.__ref);if(e){let t=r.readField({...n,from:e.storeObject},i);if(void 0!==t)return t}}return r.readField(n,i)},p=new Set;this.flattenFields(t,n,i,o).forEach((e,t)=>{let i=n[nC(t)],d=[...l,t.name.value];if(p.add(t),void 0!==i){let n,l=r.getStoreFieldName({typename:o,fieldName:t.name.value,field:t,variables:e.variables}),p=i3(a,l),c=this.processFieldValue(i,t,t.selectionSet?i2(e,!1,!1):e,p,d);t.selectionSet&&(tJ(c)||it(c))&&(n=u("__typename",c));let f=r.getMergeFunction(o,t.name.value,n);f?p.info={field:t,typename:o,merge:f,path:d}:e.extensions?.[nj.streamInfoSymbol]&&Array.isArray(c)&&iz(t,e.variables)?p.info={field:t,typename:o,merge:iJ,path:d}:i8(a,l),s=e.merge(s,{[l]:c})}else!O.__DEV__||e.clientOnly||e.deferred||tM.added(t)||r.getReadFunction(o,t.name.value)||c.invariant.error(123,nC(t),n)});try{let[a,l]=r.identify(n,{typename:o,selectionSet:t,fragmentMap:i.fragmentMap,storeObject:s,readField:u});e=e||a,l&&(s=i.merge(s,l))}catch(n){if(!e)throw n}if("string"==typeof e){let l=t2(e),r=i.written[e]||(i.written[e]=[]);if(r.indexOf(t)>=0||(r.push(t),this.reader&&this.reader.isFresh(n,l,t,i)))return l;let o=i.incomingById.get(e);return o?(o.storeObject=i.merge(o.storeObject,s),o.mergeTree=function e(n,t){if(n===t||!t||i9(t))return n;if(!n||i9(n))return t;let i=n.info&&t.info?{...n.info,...t.info}:n.info||t.info,a=n.map.size&&t.map.size,l={info:i,map:a?new Map:n.map.size?n.map:t.map};if(a){let i=new Set(t.map.keys());n.map.forEach((n,a)=>{l.map.set(a,e(n,t.map.get(a))),i.delete(a)}
1),i.forEach(i=>{l.map.set(i,e(t.map.get(i),n.map.get(i)))})}return l}(o.mergeTree,a),p.forEach(e=>o.fieldNodeSet.add(e))):i.incomingById.set(e,{storeObject:s,mergeTree:i9(a)?void 0:a,fieldNodeSet:p}),l}return s}processFieldValue(e,n,t,i,a){return n.selectionSet&&null!==e?nY(e)?e.map((e,l)=>{let r=this.processFieldValue(e,n,t,i3(i,l),[...a,l]);return i8(i,l),r}):this.processSelectionSet({result:e,selectionSet:n.selectionSet,context:t,mergeTree:i,path:a}):O.__DEV__?function e(n,t){switch(i1.call(n)){case"[object Array]":{if((t=t||new Map).has(n))return t.get(n);let i=n.slice(0);return t.set(n,i),i.forEach(function(n,a){i[a]=e(n,t)}),i}case"[object Object]":{if((t=t||new Map).has(n))return t.get(n);let i=Object.create(Object.getPrototypeOf(n));return t.set(n,i),Object.keys(n).forEach(a=>{i[a]=e(n[a],t)}),i}default:return n}}(e):e}flattenFields(e,n,t,i=i7(n,e,t.fragmentMap)){let a=new Map,{policies:l}=this.cache,r=new U(!1);return!function e(s,o){let u=r.lookup(s,o.clientOnly,o.deferred);u.visited||(u.visited=!0,s.selections.forEach(r=>{if(!n4(r,t.variables))return;let{clientOnly:s,deferred:u}=o;if(!(s&&u)&&nH(r.directives)&&r.directives.forEach(e=>{let n=e.name.value;if("client"===n&&(s=!0),"defer"===n){let n=ig(e,t.variables);n&&!1===n.if||(u=!0)}}),nB(r)){let e=a.get(r);e&&(s=s&&e.clientOnly,u=u&&e.deferred),a.set(r,i2(t,s,u))}else{let a=nF(r,t.lookupFragment);if(!a&&r.kind===A.Kind.FRAGMENT_SPREAD)throw(0,c.newInvariantError)(124,r.name.value);a&&l.fragmentMatches(a,i,n,t.variables)&&e(a.selectionSet,i2(t,s,u))}}))}(e,t),a}applyMerges(e,n,t,i,a){if(e.map.size&&!tJ(t)){let l,r=!nY(t)&&(tJ(n)||it(n))?n:void 0,s=t;r&&!a&&(a=[tJ(r)?r.__ref:r]);let o=(e,n)=>nY(e)?"number"==typeof n?e[n]:void 0:i.store.getFieldValue(e,String(n));e.map.forEach((e,n)=>{let t=o(r,n),u=o(s,n);if(void 0===u)return;a&&a.push(n);let p=this.applyMerges(e,t,u,i,a);p!==u&&(l=l||new Map).set(n,p),a&&(0,c.invariant)(a.pop()===n)}),l&&(t=nY(s)?s.slice(0):{...s},l.forEach((e,n)=>{t[n]=e}))}return e.info?this.cache.policies.runMergeFunction(n,t,e.info,i,a&&i.store.getStorage(...a)):t}}let i6=[];function i3({map:e},n){return e.has(n)||e.set(n,i6.pop()||{map:new Map}),e.get(n)}function i9(e){return!e||!(e.info||e.map.size)}function i8({map:e},n){let t=e.get(n);t&&i9(t)&&(i6.push(t),e.delete(n))}let i5=new Set;function i7(e,n,t){let i;for(let t of n.selections)if(nB(t)){if("__typename"===t.name.value)return e[nC(t)]}else i?i.push(t):i=[t];if("string"==typeof e.__typename)return e.__typename;if(i)for(let n of i){let i=i7(e,nF(n,t).selectionSet,t);if("string"==typeof i)return i}}class ae extends tQ{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new eE(tM);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=iP;constructor(...e){super(),this.config=t9(e[0]??{}),this.policies=new ij({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){let e=this.data=new iu.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){let{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new i4(this,this.storeReader=new iH({cache:this,fragments:e}),e),this.maybeBroadcastWatch=ev((e,n)=>this.broadcastWatch(e,n),{max:v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:e=>{let n=e.optimistic?this.optimisticData:this.data;if(iT(n)){let{optimistic:t,id:i,variables:a}=e;return n.makeCacheKey(e.query,e.callback,nc({optimistic:t,id:i,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}getRootTypename(e){return this.policies.rootTypenamesById[`ROOT_${e.toUpperCase()}`]}getScalar(e){return this.config.scalars?.[e]}getScalarTypeForField(e,n){return this.policies.getScalarTypeForField(e,n)}configuresScalars(){return!!this.config.scalars}serializeVariables(e,n){if(!n||0===Object.keys(n).length||!this.config.scalars&&!this.config.inputObjects)return n;let t=z(e)?.variableDefinitions?.reduce((e,n)=>(e[n.variable.name.value]=il(n.type),e),{});return t&&0!==Object.keys(t).length?this.serializeVariablesValue(n,t):n}serializeVariablesValue(e,n,t,i){if(null==e)return e;if(t){let a=nM(t);if(a)if(Array.isArray(e))return this.serializeInputArray(e,n,a[1],i);else O.__DEV__&&O.__DEV__&&c.invariant.warn(112,i,t,nJ(t));let l=this.getScalar(nJ(t));if(l)return l.coerceToSerialized(e)}return Array.isArray(e)?this.serializeInputArray(e,n,void 0,i):tj(e)?this.serializeInputObject(e,n,i):e}serializeInputArray(e,n,t,i){let a=!1,l=e.map(e=>{let l=this.serializeVariablesValue(e,n,t,i);return a||=l!==e,l});return a?l:e}serializeInputObject(e,n,t){let i=!1,a=Object.entries(e).map(([e,a])=>{let l=n[e],r=t?`${t}.${e}`:e;if(!l)return[e,a];let s=this.config.inputObjects?.[nJ(l)];if(s){let n=this.serializeVariablesValue(a,s.fields,void 0,r);return i||=n!==a,[e,n]}let o=this.serializeVariablesValue(a,n,l,r);return i||=o!==a,[e,o]});return i?Object.fromEntries(a):e}restore(e){return this.init(),e&&this.data.replace(e),this}extract(e=!1){return(e?this.optimisticData:this.data).extract()}read(e){let{query:n,variables:t,returnPartialData:i=!1}
1=e;return this.storeReader.diffQueryAgainstStore({...e,variables:this.serializeVariables(n,t),store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i}).result}write(e){let{query:n,variables:t}=e;try{return++this.txCount,this.storeWriter.writeToStore(this.data,{...e,variables:this.serializeVariables(n,t)})}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}modify(e){if(t4.call(e,"id")&&!e.id)return!1;let n=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,n.modify(e.id||"ROOT_QUERY",e.fields,!1)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}diff(e){let{variables:n}=e;return this.storeReader.diffQueryAgainstStore({...e,variables:this.serializeVariables(e.query,n),store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config})}watch(e){return this.watches.size||iU(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&iw(this),this.maybeBroadcastWatch.forget(e)}}gc(e){nc.reset(),nV.reset();let n=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),n}retain(e,n){return(n?this.optimisticData:this.data).retain(e)}release(e,n){return(n?this.optimisticData:this.data).release(e)}identify(e){if(tJ(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){O.__DEV__&&c.invariant.warn(e)}}evict(e){if(!e.id){if(t4.call(e,"id"))return!1;e={...e,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}reset(e){return this.init(),nc.reset(),e&&e.discardWatches?(this.watches.forEach(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),iw(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){let n=this.optimisticData.removeLayer(e);n!==this.optimisticData&&(this.optimisticData=n,this.broadcastWatches())}txCount=0;batch(e){let n,{update:t,optimistic:i=!0,removeOptimistic:a,onWatchUpdated:l}=e,r=e=>{let{data:i,optimisticData:a}=this;++this.txCount,e&&(this.data=this.optimisticData=e);try{return n=t(this)}finally{--this.txCount,this.data=i,this.optimisticData=a}},s=new Set;return l&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated:e=>(s.add(e),!1)}),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,r):!1===i?r(this.data):r(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),l&&s.size?(this.broadcastWatches({...e,onWatchUpdated(e,n){let t=l.call(this,e,n);return!1!==t&&s.delete(e),t}}),s.size&&s.forEach(e=>this.maybeBroadcastWatch.dirty(e))):this.broadcastWatches(e),n}performTransaction(e,n){return this.batch({update:e,optimistic:n||null!==n})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,n){return this.policies.fragmentMatches(e,n)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}resolvesClientField(e,n){return!!this.policies.getReadFunction(e,n)}broadcastWatches(e){if(!this.txCount){let n=this.onAfterBroadcast,t=new Set;this.onAfterBroadcast=e=>{t.add(e)};try{this.watches.forEach(n=>this.maybeBroadcastWatch(n,e)),t.forEach(e=>e())}finally{this.onAfterBroadcast=n}}}addFragmentsToDocument(e){let{fragments:n}=this.config;return n?n.transform(e):e}broadcastWatch(e,n){let{lastDiff:t}=e,i=this.diff(e);(!n||(e.optimistic&&"string"==typeof n.optimistic&&(i.fromOptimisticTransaction=!0),!n.onWatchUpdated||!1!==n.onWatchUpdated.call(this,e,i,t)))&&(t&&(0,nD.equal)(t.result,i.result)||e.callback(e.lastDiff=i,t))}}O.__DEV__&&(ae.prototype.getMemoryInternals=eI),e.s(["InMemoryCache",0,ae],420040)},823858,e=>{"use strict";e.s([],418610),e.i(418610);var n=e.i(943910),t=e.i(598864),i=e.i(314853),a=e.i(759248);let l=({client:e,matchesRefetchOn:n})=>e.refetchQueries({include:"active",onQueryUpdated:n});class r{sources;handlers;subscriptions=new Map;client;defaultHandler;constructor(e={}){this.sources=e.sources??{},this.handlers=e.handlers??{},this.defaultHandler=e.defaultHandler??l}connect(e){this.client!==e&&(this.client&&(i.__DEV__&&i.__DEV__&&a.invariant.warn(105),this.disconnect()),this.client=e,Object.entries(this.sources).forEac
1h(([e,n])=>{"function"==typeof n&&this.subscribeToSource(e,n)}))}disconnect(e){e&&this.client!==e||(this.client=void 0,this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions.clear())}hasSource(e){return Object.hasOwn(this.sources,e)}setEventSource(e,n){this.sources[e]=n,this.subscribeToSource(e,n)}removeEventSource(e){this.subscriptions.get(e)?.unsubscribe(),this.subscriptions.delete(e),delete this.sources[e]}setEventHandler(e,n){this.handlers[e]=n}setDefaultEventHandler(e){this.defaultHandler=e}emit(e,...n){let[t]=n;if(!this.client){i.__DEV__&&i.__DEV__&&a.invariant.warn(106,e);return}if(!this.hasSource(e)){i.__DEV__&&i.__DEV__&&a.invariant.warn(107,e);return}(this.handlers[e]??this.defaultHandler)({client:this.client,source:e,payload:t,matchesRefetchOn:function(n){let i={source:e,payload:t},a=n.options.refetchOn;return"boolean"==typeof a?a:"function"==typeof a?a(i):"function"==typeof a?.[e]?a[e](i):a?.[e]!==!1}})}subscribeToSource(e,n){this.subscriptions.get(e)?.unsubscribe(),this.subscriptions.delete(e),this.client&&this.subscriptions.set(e,n().subscribe(n=>this.emit(e,n)))}}var s=e.i(303660),o=e.i(274466),u=e.i(301936),p=e.i(1231),d=e.i(742924),c=e.i(892368),f=e.i(382979),m=e.i(524188),y=Array.isArray,h=["addListener","removeListener"],T=["addEventListener","removeEventListener"],g=["on","off"];function k(e,n,t,i){if((0,f.isFunction)(t)&&(i=t,t=void 0),i){return k(e,n,t).pipe((a=i,(0,m.map)(function(e){return y(e)?a.apply(void 0,(0,o.__spreadArray)([],(0,o.__read)(e))):a(e)})))}var a,l,r,s,L=(0,o.__read)((l=e,(0,f.isFunction)(l.addEventListener)&&(0,f.isFunction)(l.removeEventListener))?T.map(function(i){return function(a){return e[i](n,a,t)}}):(r=e,(0,f.isFunction)(r.addListener)&&(0,f.isFunction)(r.removeListener))?h.map(N(e,n)):(s=e,(0,f.isFunction)(s.on)&&(0,f.isFunction)(s.off))?g.map(N(e,n)):[],2),R=L[0],S=L[1];if(!R&&(0,c.isArrayLike)(e))return(0,d.mergeMap)(function(e){return k(e,n,t)})((0,u.innerFrom)(e));if(!R)throw TypeError("Invalid event target");return new p.Observable(function(e){var n=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return e.next(1<n.length?n:n[0])};return R(n),function(){return S(n)}})}function N(e,n){return function(t){return function(i){return e[t](n,i)}}}var L=e.i(908370),R=e.i(964701),S=e.i(988974),A=e.i(217361),O=e.i(295713),b=e.i(733384),D=e.i(276098);class v extends Error{static is(e){return(0,D.isBranded)(e,"LocalStateError")}path;constructor(e,n={}){super(e,{cause:n.sourceError}),this.name="LocalStateError",this.path=n.path,(0,D.brand)(this),Object.setPrototypeOf(this,v.prototype)}}var _=e.i(139967),E=e.i(939800),C=e.i(979456),I=e.i(63776),w=e.i(107590),U=e.i(420040),P=e.i(997529),V=e.i(883011),F=e.i(727526);let x=F.ApolloLink.concat,B=F.ApolloLink.empty;var M=e.i(981790);let J=F.ApolloLink.from,j=F.ApolloLink.split;var $=e.i(975908),G=e.i(654156),q=e.i(502535),K=e.i(660879),Q=e.i(142316),z=e.i(620722),W=e.i(2895),Y=e.i(91981),H=e.i(123649),X=e.i(691434),Z=e.i(112613);e.s(["ApolloCache",()=>I.ApolloCache,"ApolloClient",()=>n.ApolloClient,"ApolloLink",()=>F.ApolloLink,"CombinedGraphQLErrors",()=>A.CombinedGraphQLErrors,"CombinedProtocolErrors",()=>O.CombinedProtocolErrors,"DocumentTransform",()=>W.DocumentTransform,"HttpLink",()=>G.HttpLink,"InMemoryCache",()=>U.InMemoryCache,"LinkError",()=>b.LinkError,"LocalStateError",0,v,"MissingFieldError",()=>V.MissingFieldError,"NetworkStatus",()=>S.NetworkStatus,"Observable",()=>p.Observable,"ObservableQuery",()=>t.ObservableQuery,"RefetchEventManager",0,r,"Scalar",0,class e{options;static fromGraphQLScalarType(n,t){return new e({...t,parse:n.parseValue,serialize:n.serialize})}constructor(e){this.options=e}parse(e){return this.options.parse(e)}serialize(e){return this.options.serialize(e)}coerceToParsed(e){return this.is(e)?e:this.parse(e)}coerceToSerialized(e){return this.is(e)?this.serialize(e):e}is(e){return this.options.is?this.options.is(e):"object"==typeof e&&null!==e}},"ServerError",()=>_.ServerError,"ServerParseError",()=>E.ServerParseError,"UnconventionalError",()=>C.UnconventionalError,"build",()=>Z.build,"checkFetcher",()=>$.checkFetcher,"concat",0,x,"createHttpLink",()=>G.createHttpLink,"createSignalIfSupported",0,()=>{if("u"<typeof AbortController)return{controller:!1,signal:!1};let e=new AbortController,n=e.signal;return{controller:e,signal:n}},"defaultDataIdFromObject",()=>w.defaultDataIdFromObject,"defaultPrinter",()=>q.defaultPrinter,"disableExperimentalFragmentVariables",()=>X.disableExperimentalFragmentVariables,"disableFragmentWarnings",()=>X.disableFragmentWarnings,"empty",0,B,"enableExperimentalFragmentVariables",()=>X.enableExperimentalFragmentVariables,"execute",()=>M.execute,"fallbackHttpConfig",()=>q.fallbackHttpConfig,"from",0,J,"gql",()=>
1X.gql,"isNetworkRequestSettled",()=>Y.isNetworkRequestSettled,"isReference",()=>H.isReference,"makeVar",()=>P.makeVar,"onlineSource",0,()=>L.canUseDOM?k(window,"online"):s.EMPTY,"parseAndCheckHttpResponse",()=>K.parseAndCheckHttpResponse,"resetCaches",()=>X.resetCaches,"rewriteURIForGET",()=>Q.rewriteURIForGET,"selectHttpOptionsAndBody",()=>q.selectHttpOptionsAndBody,"selectHttpOptionsAndBodyInternal",()=>q.selectHttpOptionsAndBodyInternal,"selectURI",()=>z.selectURI,"setLogVerbosity",()=>a.setVerbosity,"split",0,j,"version",()=>Z.version,"windowFocusSource",0,()=>L.canUseDOM?k(window,"visibilitychange").pipe((0,R.filter)(()=>"visible"===document.visibilityState)):s.EMPTY],823858)},924372,(e,n,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generatePersistedQueryIdsAtRuntime=function(e){return{generateHash:n=>Promise.resolve(e.sha256((0,i.print)(l(n)))),disable:()=>!1}},t.sortTopLevelDefinitions=l,t.generatePersistedQueryIdsFromManifest=function(e){let n=Promise.resolve(e.loadManifest()).then(e=>{let n=new Map;return e.operations.forEach(({name:e,id:t})=>{n.set(e,t)}),n});return n.catch(()=>{}),{generateHash:async function(e){let t=await n,i=null;for(let n of e.definitions)if("OperationDefinition"===n.kind){if(!n.name)throw Error("Anonymous operations are not supported by generatePersistedQueryIdsFromManifest");if(null!==i)throw Error("Multi-operation GraphQL documents are not supported by generatePersistedQueryIdsFromManifest");i=n.name.value}if(null===i)throw Error("Documents without operations are not supported by generatePersistedQueryIdsFromManifest");let a=t.get(i);if(void 0===a)throw Error(`Operation ${i} not found in manifest`);return a},disable:()=>!1}},t.createPersistedQueryManifestVerificationLink=function(e){let n=Promise.resolve(e.loadManifest()).then(e=>{let n=new Map;return e.operations.forEach(e=>{n.set(e.name,e)}),n});return n.catch(()=>{}),new a.ApolloLink((t,r)=>new a.Observable(a=>{let s,o=!1;return n.then(n=>{!function(n,t){let a=(0,i.print)(l(n.query)),r=null;for(let t of n.query.definitions)if("OperationDefinition"===t.kind){if(!t.name)return void e.onVerificationFailed?.({reason:"AnonymousOperation",operation:n});if(null!==r)return void e.onVerificationFailed?.({reason:"MultipleOperations",operation:n});r=t.name.value}if(null===r)return e.onVerificationFailed?.({reason:"NoOperations",operation:n});let s=t.get(r);void 0===s?e.onVerificationFailed?.({reason:"UnknownOperation",operation:n}):a!==s.body&&e.onVerificationFailed?.({reason:"OperationMismatch",operation:n,manifestOperation:s})}(t,n),o||(s=r(t).subscribe({next:a.next.bind(a),error:a.error.bind(a),complete:a.complete.bind(a)}))}).catch(a.error.bind(a)),()=>{o=!0,s&&s.unsubscribe()}}))};let i=e.r(695639),a=e.r(823858);function l(e){let n=[...e.definitions];return n.sort((e,n)=>{if(e.kind>n.kind)return -1;if(e.kind<n.kind)return 1;let t="OperationDefinition"===e.kind||"FragmentDefinition"===e.kind?e.name?.value??"":"",i="OperationDefinition"===n.kind||"FragmentDefinition"===n.kind?n.name?.value??"":"";return t<i?-1:+(t>i)}),{...e,definitions:n}}},464935,485505,67976,440257,432343,29796,969744,e=>{"use strict";let n=Symbol.for("constructDateFrom");e.s(["constructFromSymbol",0,n,"millisecondsInDay",0,864e5,"millisecondsInHour",0,36e5,"millisecondsInMinute",0,6e4,"millisecondsInSecond",0,1e3,"millisecondsInWeek",0,6048e5,"minutesInDay",0,1440,"minutesInMonth",0,43200,"minutesInYear",0,525600],485505),e.s(["secondsToMilliseconds",0,function(e){return 1e3*e}],464935),e.s(["service",0,e=>e.id?e.resources?.hls?.stream?"internal":(e.external?.service||"unset").toLowerCase():"unset"],67976);var t,i,a,l,r,s,o,u,p,d,c,f,m,y,h,T,g,k,N,L,R,S,A,O=e.i(170470),b=e.i(589067),D=e.i(510647);e.i(692225);let v=(0,e.i(724410).getLogger)("mixpanel-server-client");async function _(e,n,t,i,a,l){let r=performance.now();
1try{let s=await fetch("/api/analytics/player-start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({distinct_id:n,event_properties:e,insert_id:a,event_time:l,consent_status:i})}),o=Math.round(performance.now()-r);if(!s.ok)return v.error("Server-side player_start failed:",{status:s.status,statusText:s.statusText,latencyMs:o}),{success:!1,latencyMs:o,statusCode:s.status,error:s.statusText};return o>1e3&&v.warn("Server-side player_start slow response:",{context:{metadata:{latencyMs:o,talkId:t}}}),{success:!0,latencyMs:o,statusCode:s.status}}catch(n){let e=Math.round(performance.now()-r);return v.error("Error sending player_start via server:",n,{context:{metadata:{latencyMs:e}},forceLog:!1}),{success:!1,latencyMs:e,statusCode:0,error:n instanceof Error?n.message:"Unknown error"}}}e.i(898028);var E=e.i(175751),C=e.i(40228),I=e.i(83549),w=e.i(169214),U=e.i(266046);let P=e=>e?"fullscreen":"inline",V=(e,n)=>{let{subtitle:t,playbackRate:i,streamHost:a,autoplayed:l,dubbingLang:r,mixpanelTalkDetails:{content_discovery_context:s,talk_id:o,talk_slug:u,video_duration:p,video_topics:d,video_post_date:c,talkstar_context:f,talk_language:m,system_language:y,product:h,talk_type:T,playlist_slug:g}}=e;return{talk_id:o,talk_slug:u,video_duration:p,video_topics:d,video_post_date:c,talkstar_context:f,talk_language:m,system_language:y,product:h,talk_type:T,subtitle_language:t,playlist_slug:g,playback_rate:n?.playbackRate||i,stream_host:a,content_discovery_context:s,autoplay_state:l,dubbed_language:r||"en"}},F=(e,n)=>{let t,i,{fullscreen:a,transcriptLanguage:l,contentState:r,isEmbed:s,mixpanelTalkDetails:{recommendation_id:o,language_parameter_value:u,transcript_language:p,talk_id:d,talk_position_in_playlist:c}}=e,f={...V(e),...null==c?{}:{talk_position_in_playlist:c},recommendation_id:o,transcript_language:l||p,language_parameter_value:u,content_state:n??r,player_presentation:P(a),is_embed:s},m="skipped_no_distinct_id",y="unknown";try{let e=(0,w.parseCookies)();(t=D.default.get_distinct_id()||e.mp_uuid)&&(y=(0,b.getConsentStatus)(),m="attempted")}catch{m="skipped_sync_error"}let h=globalThis.crypto?.randomUUID?.()??`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`,T=Math.floor(Date.now()/1e3),g=(i=(0,D.getTrackedMixpanelSuperProperties)(),{...f,...(0,C.expandExperimentProperties)((0,I.filterExperimentProperties)(i,i)),...{$browser:U.browserName,$device:U.deviceType,$os:U.osName,$screen_height:window.screen?.height,$screen_width:window.screen?.width,$current_url:window.location?.href,$referrer:document.referrer||void 0,$user_agent:navigator.userAgent}});D.default.track("player_start",{...f,tracking_source:"client",server_tracking_status:m,$insert_id:h,time:T}),"attempted"===m&&t&&_(g,t,d,y,h,T).then(e=>{D.default.track("player_start_server_timing",{talk_id:d,success:e.success,latency_ms:e.latencyMs,status_code:e.statusCode,error:e.error,latency_bucket:e.latencyMs<100?"<100ms":e.latencyMs<250?"100-250ms":e.latencyMs<500?"250-500ms":e.latencyMs<1e3?"500ms-1s":">1s"})}).catch(()=>{D.default.track("player_start_server_timing",{talk_id:d,success:!1,latency_ms:0,status_code:0,error:"then_handler_threw",latency_bucket:"<100ms"})})},x=(e,n,t)=>{if(Math.random()>.1)return;let{contentState:i,hasAds:a,isEmbed:l,isAdBreak:r,mixpanelTalkDetails:{talk_id:s,talk_slug:o}}=e,u=n??i;D.default.track("player_start_diagnostic",{diagnostic_version:"1.0.0",trigger_source:t,content_state_override:n??"none",content_state_from_store:i??"undefined_in_store",content_state_final:u??"will_be_undefined",content_state_is_missing:!u,has_ads:a,is_ad_break:r,is_embed:l,has_talk_id:!!s,talk_slug:o??"missing",is_browser:!0,user_agent_type:"u">typeof navigator?navigator.userAgent.includes("Mobile")?"mobile":"desktop":"server",timestamp_ms:Date.now()})},B=(0,O.throttle)((e,n)=>{let{audio:{mute:t,volume:i},userInitiated:a}=n,{roundedTime:l,mixpanelTalkDetails:{recommendation_id:r,media_type:s}}=e,o=Math.round(100*i);a&&D.default.track(t?"player_mute":"player_unmute",{...V(e),action_time:l,recommendation_id:r,media_type:s,muted:t,volume:o})},1e3),M=(0,O.throttle)((e,n)=>{let{audio:{mute:t,volume:i},userInitiated:a}=n;if(!a)return;
1let{roundedTime:l,mixpanelTalkDetails:{recommendation_id:r,media_type:s}}=e,o=Math.round(100*i);D.default.track("player_volume_change",{...V(e),action_time:l,recommendation_id:r,media_type:s,muted:t,volume:o})},1e3,{leading:!1}),J=(e,n)=>{let{userInitiated:t}=n;t&&D.default.track("set_autoplay",{...V(e)})},j=(e,n)=>{let{roundedTime:t}=e;D.default.track("talk_downloaded",{...V(e),action_time:t,download_type:n})},$=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t},ad:i}=e,a=i?.adInfo?.creativeId&&i?.adInfo?.lineItemId?`${i?.adInfo?.creativeId}, ${i?.adInfo?.lineItemId}`:"",l=i?.isSkippable;D.default.track("player_learn-more",{...V(e),recommendation_id:t,ad_id:a||null,ad_is_skippable:l,player_presentation:P(n)})},G=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t},ad:i}=e,a=i?.adInfo?.creativeId&&i?.adInfo?.lineItemId?`${i?.adInfo?.creativeId}, ${i?.adInfo?.lineItemId}`:"",l=i?.isSkippable;D.default.track("player_ad-center",{...V(e),recommendation_id:t,ad_id:a||null,ad_is_skippable:l,player_presentation:P(n)})},q=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t},ad:i}=e,a=i?.adInfo?.creativeId&&i?.adInfo?.lineItemId?`${i?.adInfo?.creativeId}, ${i?.adInfo?.lineItemId}`:"",l=i?.isSkippable;D.default.track("player_skip-ad",{...V(e),recommendation_id:t,ad_id:a||null,ad_is_skippable:l,player_presentation:P(n)})},K=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t},ad:i}=e,a=i?.adInfo?.creativeId&&i?.adInfo?.lineItemId?`${i?.adInfo?.creativeId}, ${i?.adInfo?.lineItemId}`:"",l=i?.isSkippable;D.default.track("player_pre_roll_start",{...V(e),recommendation_id:t,ad_id:a||null,ad_is_skippable:l,player_presentation:P(n)})},Q=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t},ad:i}=e,a=i?.adInfo?.creativeId&&i?.adInfo?.lineItemId?`${i?.adInfo?.creativeId}, ${i?.adInfo?.lineItemId}`:"",l=i?.isSkippable;D.default.track("player_pre_roll_complete",{...V(e),recommendation_id:t,ad_id:a||null,ad_is_skippable:l,player_presentation:P(n)})},z=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t},ad:i}=e,a=i?.adInfo?.creativeId&&i?.adInfo?.lineItemId?`${i?.adInfo?.creativeId}, ${i?.adInfo?.lineItemId}`:"",l=i?.isSkippable;D.default.track("player_post_roll_start",{...V(e),recommendation_id:t,ad_id:a||null,ad_is_skippable:l,player_presentation:P(n)})},W=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t},ad:i}=e,a=i?.adInfo?.creativeId&&i?.adInfo?.lineItemId?`${i?.adInfo?.creativeId}, ${i?.adInfo?.lineItemId}`:"",l=i?.isSkippable;D.default.track("player_post_roll_complete",{...V(e),recommendation_id:t,ad_id:a||null,ad_is_skippable:l,player_presentation:P(n)})},Y=e=>{let{fullscreen:n,mixpanelTalkDetails:{recommendation_id:t}}=e;D.default.track("player_complete",{...V(e),recommendation_id:t,player_presentation:P(n)})},H=(e,n)=>{let{fullscreen:t,mixpanelTalkDetails:{recommendation_id:i}}=n;D.default.track(`player_${e}_progress_time`,{...V(n),recommendation_id:i,player_presentation:P(t)})},X=e=>{let{fullscreen:n,roundedTime:t,mixpanelTalkDetails:{media_type:i,recommendation_id:a},contentState:l,userInitiated:r}=e;r&&D.default.track("player_paused",{...V(e),action_time:t,recommendation_id:a,media_type:i,content_state:l,player_presentation:P(n)})},Z=e=>{let{roundedTime:n,transcriptLanguage:t,mixpanelTalkDetails:{transcript_language:i}}=e;D.default.track("talk_read_transcript",{...V(e),action_time:n,transcript_language:t||i})},ee=e=>{let{transcriptLanguage:n,roundedTime:t,mixpanelTalkDetails:{transcript_language:i}}=e;D.default.track("talk_transcript_click",{...V(e),action_time:t,transcript_language:n||i})},en=e=>{let{transcriptLanguage:n,roundedTime:t,mixpanelTalkDetails:{transcript_language:i}}=e;D.default.track("close_transcript",{...V(e),action_time:t,transcript_language:n||i})},et=e=>{let{roundedTime:n,mixpanelTalkDetails:{media_type:t}}=e;return{...V(e),action_time:n,media_type:t,signed_in:(0,E.getLoggedIn)()}},ei=e=>{D.default.track("talk_add_to_list",et(e))},ea=e=>{let{roundedTime:n,mixpanelTalkDetails:{media_type:t,recommendation_id:i}}=e;D.default.track("talk_add_to_like",{...V(e),action_time:n,media_type:t,recommendation_id:i,signed_in:(0,E.getLoggedIn)()})},el=e=>
1{let{roundedTime:n,mixpanelTalkDetails:{media_type:t,recommendation_id:i}}=e;D.default.track("talk_takeaways_click",{...V(e),action_time:n,media_type:t,recommendation_id:i,signed_in:(0,E.getLoggedIn)()})},er=e=>{let{roundedTime:n,mixpanelTalkDetails:{media_type:t}}=e;D.default.track("talk_comment",{...V(e),action_time:n,media_type:t,signed_in:(0,E.getLoggedIn)()})},es=e=>{let{fullscreen:n,roundedTime:t,mixpanelTalkDetails:{recommendation_id:i,media_type:a}}=e;D.default.track("player_enter_full_screen",{...V(e),recommendation_id:i,media_type:a,action_time:t,player_presentation:P(n)})},eo=e=>{let{fullscreen:n,roundedTime:t,mixpanelTalkDetails:{recommendation_id:i,media_type:a}}=e;D.default.track("player_exit_full_screen",{...V(e),recommendation_id:i,media_type:a,action_time:t,player_presentation:P(n)})},eu=e=>{let{fullscreen:n,roundedTime:t,mixpanelTalkDetails:{recommendation_id:i,media_type:a,language_parameter_value:l}}=e;D.default.track("player_set_subtitle_language",{...V(e),related_tags:"",recommendation_id:i,player_presentation:P(n),media_type:a,language_parameter_value:l,action_time:t})},ep=(e,n)=>{let{formattedTime:t,fullscreen:i,mixpanelTalkDetails:{media_type:a,recommendation_id:l,talk_page_view_context:r,language_parameter_value:s}}=e;D.default.track("talk_share_start",{...V(e),action_time:t,recommendation_id:l,media_type:a,talk_page_view_context:r,sharing_service:n,language_parameter_value:s,player_presentation:P(i)})},ed=(e,n)=>{let{fullscreen:t,roundedTime:i,mixpanelTalkDetails:{media_type:a},userInitiated:l}=e;l&&D.default.track("player_set_playback_speed",{...V(e,{playbackRate:n}),action_time:i,media_type:a,player_presentation:P(t)})},ec=e=>{let{fullscreen:n,roundedTime:t,mixpanelTalkDetails:{recommendation_id:i,media_type:a,language_parameter_value:l},dubbingLang:r}=e;D.default.track("set_dubbed_language",{...V(e),dubbed_language:r,related_tags:"",recommendation_id:i,player_presentation:P(n),media_type:a,language_parameter_value:l,action_time:t})},ef=e=>{let{fullscreen:n,roundedTime:t,mixpanelTalkDetails:{recommendation_id:i,media_type:a,language_parameter_value:l},dubbingLang:r,isEnabledFluent:s}=e;D.default.track("fluent_toggle",{...V(e),dubbed_language:r,related_tags:"",recommendation_id:i,player_presentation:P(n),media_type:a,language_parameter_value:l,action_time:t,is_ted_fluent_enabled:s})};e.s(["getTalkAddToListProperties",0,et,"sendCloseTranscript",0,en,"sendDubbingLanguage",0,ec,"sendFluentToggle",0,ef,"sendPlayerAdCenter",0,G,"sendPlayerComplete",0,Y,"sendPlayerEnterFullScreen",0,es,"sendPlayerExitFullScreen",0,eo,"sendPlayerLearnMore",0,$,"sendPlayerPaused",0,X,"sendPlayerPostRollComplete",0,W,"sendPlayerPostRollStart",0,z,"sendPlayerPreRollComplete",0,Q,"sendPlayerPreRollStart",0,K,"sendPlayerProgressTime",0,H,"sendPlayerSetPlaybackSpeed",0,ed,"sendPlayerSkipAd",0,q,"sendPlayerStart",0,F,"sendPlayerStartDiagnostic",0,x,"sendSetSubtitleLanguage",0,eu,"sendTalkAddToLike",0,ea,"sendTalkAddToList",0,ei,"sendTalkClickTranscript",0,ee,"sendTalkComment",0,er,"sendTalkDownloaded",0,j,"sendTalkMuteToggle",0,B,"sendTalkReadTranscript",0,Z,"sendTalkShareStart",0,ep,"sendTalkTakeawayEntry",0,el,"sendTalkVolumeChange",0,M,"sendToggledAutoplay",0,J],440257);let em=!1,ey={hasPlayedSuccessfully:!1,hasInitiallyRequested:!1,hasSentVideoStart:!1},eh={},eT=(0,O.throttle)((e,n)=>{if(!eh.is95PercentComplete)return Math.floor(e/n*100)},1e3,{trailing:!1});e.s(["mixpanelMiddleware",0,()=>e=>(n,t,i)=>e((e,i)=>{let a=e();if("onService"===i&&(em=a?.service==="internal"),!em)return n(e,i);let l=t();switch(i){case"requestPlay":ey.hasInitiallyRequested=!0;break;case"requestMute":B(l,a);break;case"requestVolume":M(l,a);break;case"onAddToList":ei(l);break;case"onAddComment":er(l);break;case"onTakeawaysEntry":el(l);break;case"autoPlay":J(l,a);break;case"onDownload":j(l,a.downloadFormat);break;case"onLike":ea(l);break;case"onPlay":ey.hasSentVideoStart||"content"!==l.contentState||eh.hasPrerollStarted||eh.hasPrerollCompleted||(F(l,"content"),x(l,"content","onPlay"),ey.hasSentVideoStart=!0);break;case"onReady":let r=eh.hasPrerollStarted||eh.hasPrerollCompleted;eh={isPlayerReady:a.ready,...r&&{hasPrerollStarted:eh.hasPrerollStarted,hasPrerollCompleted:eh.hasPrerollCompleted}},ey={hasPlayedSuccessfully:!1,hasInitiallyRequested:!1,hasSentVideoStart:!!r&&ey.hasSentVideoStart};break;case"onPause":{let{currentTime:e,roundedDuration:n}=l;e>=n||X(l);break}case"onDuration":case"onTedStart":case"onSubtitle":case"onError":break;case"onCurrentTime":{let{duration:e}
1=l,n=["is25PercentComplete","is50PercentComplete","is75PercentComplete","is95PercentComplete"],t=eT(a.currentTime,e);[25,50,75,95].forEach((e,i)=>{let a=n[i];t!==e||eh[a]||(H(e,l),eh[a]=!0)})}break;case"onTalk":{let{isPlayerReady:e}=eh;eh=e?{isPlayerReady:!0}:{},ey.hasSentVideoStart=!1}break;case"onTalkComplete":eh.hasCompleted||(Y(l),eh.hasCompleted=!0);break;case"onTranscriptToggle":eh.hasFiredReadTranscript||(Z(l),eh.hasFiredReadTranscript=!0);break;case"onTranscriptClick":ee(l);break;case"onCloseTranscript":en(l);break;case"onSubtitleSet":eu(l);break;case"onPlaybackRate":eh.isPlayerReady&&ed(l,a.playbackRate);break;case"onAdSkip":eh.hasSkippedAd||(q(l),eh.hasSkippedAd=!0);break;case"onAdClick":$(l);break;case"onAdCenterClick":G(l);break;case"onPrerollStart":eh.hasPrerollStarted||(K(l),eh.hasPrerollStarted=!0),ey.hasSentVideoStart||(F(l,"preroll"),x(l,"preroll","onPrerollStart"),ey.hasSentVideoStart=!0);break;case"onPrerollComplete":eh.hasPrerollCompleted||(Q(l),eh.hasPrerollCompleted=!0);break;case"onPostrollStart":eh.hasPostrollStarted||(z(l),eh.hasPostrollStarted=!0);break;case"onPostrollComplete":eh.hasPostrollCompleted||(W(l),eh.hasPostrollCompleted=!0);break;case"onTalkShareStart":ep(l,a.talkShareDetails);break;case"onFullscreen":a.fullscreen?es(l):eo(l);break;case"requestDubbingLanguage":ec(l);break;case"onChangeFluentEnabled":ef(l)}return n(e,i)},t,i)],432343);var eg=e.i(429410);function ek(e){eg.client&&new Promise((e,n)=>{let t=document.createElement("script");t.src="https://sb.scorecardresearch.com/beacon.js",t.addEventListener("error",n,!1),t.addEventListener("load",e,!1),document.body.appendChild(t),setTimeout(e,5e3)}).then(()=>{let e=window.COMSCORE;return e?.beacon?e:Promise.reject(Error("CS lib not loaded"))}).catch(eg.noop).then(n=>n.beacon(e)).catch(eg.noop)}let eN=eg.client?((t=window.ns_=window.ns_||{}).StreamSense=t.StreamSense||(m=a={uid:(i=1,function(){return+new Date+"_"+i++}),filter:function(e,n){var t={};for(var i in n)n.hasOwnProperty(i)&&e(n[i])&&(t[i]=n[i]);return t},extend:function(e){var n,t=arguments.length;e=e||{};for(var i=1;i<t;i++)if(n=arguments[i])for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a]);return e},getString:function(e,n){var t=String(e);return null==e?n||"na":t},getLong:function(e,n){var t=Number(e);return null==e||isNaN(t)?n||0:t},getInteger:function(e,n){var t=Number(e);return null==e||isNaN(t)?n||0:t},getBoolean:function(e,n){var t="true"==String(e).toLowerCase();return null==e?n||!1:t},isNotEmpty:function(e){return void 0!==e&&null!=e&&void 0!==e.length&&e.length>0},indexOf:function(e,n){var t=-1;return a.forEach(n,function(n,i){n==e&&(t=i)}),t},forEach:function(e,n,t){try{if("function"==typeof n)if(t=void 0!==t?t:null,"number"!=typeof e.length||void 0===e[0]){var i=void 0!==e.__proto__;for(var a in e)(!i||i&&void 0===e.__proto__[a])&&"function"!=typeof e[a]&&n.call(t,e[a],a)}else for(var a=0,l=e.length;a<l;a++)n.call(t,e[a],a)}catch(e){}},regionMatches:function(e,n,t,i,a){if(n<0||i<0||n+a>e.length||i+a>t.length)return!1;for(;--a>=0;)if(e.charAt(n++)!=t.charAt(i++))return!1;return!0},size:function(e){var n,t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t},log:function(e,n){if(void 0!==n&&n){var t=new Date;t.getHours(),t.getMinutes(),t.getSeconds()}},isTrue:function(e){return void 0!==e&&("string"==typeof e?"true"===(e=e.toLowerCase())||"1"===e||"on"===e:!!e)},toString:function(e){if(void 0===e)return"undefined";if("string"==typeof e)return e;if("[object Array]"===Object.prototype.toString.call(e))return e.join(",");if(a.size(e)>0){var n="";for(var t in e)e.hasOwnProperty(t)&&(n+=t+":"+e[t]+";");return n}return e.toString()},exists:function(e){return void 0!==e&&null!=e},firstGreaterThan0:function(){for(var e=0,n=arguments.length;e<n;e++){var t=arguments[e];if(t>0)return t}return 0},cloneObject:function(e){if(null==e||"object"!=typeof e)return e;var n=e.constructor();for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},safeGet:function(e,n){return n=a.exists(n)?n:"",a.exists(e)?e:n},getBrowserName:function(){var e,n,t=navigator.userAgent,i=navigator.appName;return -1!=(n=t.indexOf("Opera"))||-1!=(n=t.indexOf("OPR/"))?i="Opera":-1!=(n=t.indexOf("Android"))?i="Android":-1!=(n=t.indexOf("Chrome"))?i="Chrome":-1!=(n=t.indexOf("Safari"))?i="Safari":-1!=(n=t.indexOf("Firefox"))?i="Firefox":-1!=(n=t.indexOf("IEMobile"))?i="Internet Explorer Mobile":"Microsoft Internet Explorer"==i||"Netscape"==i?i="Internet Explorer":(e
1=t.lastIndexOf(" ")+1)<(n=t.lastIndexOf("/"))&&(i=t.substring(e,n)).toLowerCase()==i.toUpperCase()&&(i=navigator.appName),i},getBrowserFullVersion:function(){var e,n,t=navigator.userAgent,i=navigator.appName,a=""+parseFloat(navigator.appVersion);return -1!=(e=t.indexOf("Opera"))?(a=t.substring(e+6),-1!=(e=t.indexOf("Version"))&&(a=t.substring(e+8))):-1!=(e=t.indexOf("OPR/"))?a=t.substring(e+4):-1!=(e=t.indexOf("Android"))?a=t.substring(e+11):-1!=(e=t.indexOf("Chrome"))?a=t.substring(e+7):-1!=(e=t.indexOf("Safari"))?(a=t.substring(e+7),-1!=(e=t.indexOf("Version"))&&(a=t.substring(e+8))):-1!=(e=t.indexOf("Firefox"))?a=t.substring(e+8):"Microsoft Internet Explorer"==i?null!=RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(t)&&(a=parseFloat(RegExp.$1)):"Netscape"==i?null!=RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(t)&&(a=parseFloat(RegExp.$1)):t.lastIndexOf(" ")+1<(e=t.lastIndexOf("/"))&&(a=t.substring(e+1)),-1!=(n=(a=a.toString()).indexOf(";"))&&(a=a.substring(0,n)),-1!=(n=a.indexOf(" "))&&(a=a.substring(0,n)),-1!=(n=a.indexOf(")"))&&(a=a.substring(0,n)),isNaN(parseInt(""+a,10))&&(a=""+parseFloat(navigator.appVersion)),a},browserAcceptsLargeURLs:function(){return null===window.ActiveXObject||!0}},l=function(){var e="u">typeof localStorage?localStorage:{};m.extend(this,{get:function(n){return e["cs_"+n]},set:function(n,t){e["cs_"+n]=t},has:function(n){return"cs_"+n in e},remove:function(n){delete e["cs_"+n]},clear:function(){for(var n in e)e.hasOwnProperty(n)&&delete e[n]}})},r=function(e,n){var t=new Image;t.onload=function(){n&&n(200)},t.onerror=function(){n&&n()},t.src=e},s=function(e,n,t){t&&setTimeout(t,0)},o={dir:function(e){return null},append:function(e,n,t){},write:function(e,n,t){},deleteFile:function(e,n){return!1},read:function(e,n){return null}},u=function(e,n){"u">typeof engine&&n&&setTimeout(n,0),engine.createHttpClient().createRequest("GET",e,null).start(),n&&setTimeout(n,0)},p={PLATFORM:"generic",httpGet:r,httpPost:s,Storage:l,IO:o,getCrossPublisherId:function(){return null},getAppName:function(){return Constants.UNKNOWN_VALUE},getAppVersion:function(e){return Constants.UNKNOWN_VALUE},getVisitorId:function(){return this.getDeviceName()+ +new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceName:function(){return""},getPlatformVersion:function(){return""},getPlatformName:function(){return"js"},getRuntimeName:function(){return""},getRuntimeVersion:function(){return""},getResolution:function(){return""},getLanguage:function(){return""},getPackageName:function(){return""},isConnectionAvailable:function(){return!0},isCompatible:function(){return!0},autoSelect:function(){},isCrossPublisherIdChanged:function(){return!1}},d=function(){function e(){if(null==n){var e=m.isNotEmpty(engine.stats.device.id)?engine.stats.device.id:m.isNotEmpty(engine.stats.network.mac)?engine.stats.network.mac:null;null!=e?(n=e,t="31",i=e):(n=+new Date+~~(1e3*Math.random()),t="72",i=null)}}var n=null,t=null,i=null;return{PLATFORM:"trilithium",httpGet:u,httpPost:s,Storage:l,IO:o,getCrossPublisherId:function(){return e(),i},getAppName:function(){return m.isNotEmpty(engine.stats.application.name)?engine.stats.application.name:Constants.UNKNOWN_VALUE},getAppVersion:function(e){return m.isNotEmpty(engine.stats.application.version)?engine.stats.application.version:Constants.UNKNOWN_VALUE},getVisitorId:function(){return e(),n},getVisitorIdSuffix:function(){return t},getDeviceName:function(){return m.safeGet(engine.stats.device.platform,"")},getPlatformVersion:function(){return m.safeGet(engine.stats.device.version,"")},getPlatformName:function(){return"js"},getRuntimeName:function(){return"trilithium"},getRuntimeVersion:function(){return""},getResolution:function(){return"u">typeof screen&&void 0!==screen.height&&void 0!==screen.width?screen.height+"x"+screen.width:""},getLanguage:function(){return""},getPackageName:function(){return""},isConnectionAvailable:function(){return!0},isCompatible:function(){return"u">typeof engine&&void 0!==engine.stats}}}(),p.autoSelect=function(){d.isCompatible()&&m.extend(p,d)},"u">typeof document?(c=window,f=document):(c={},f={location:{href:""},title:"",URL:"",referrer:"",cookie:""}),(m=m||{}).filterMap=function(e,n){for(var t in e)-1==m.indexOf(t,n)&&delete e[t]},m.getKeys=function(e,n){var t,i=[];for(t in e)(!n||n.test(t))&&e.hasOwnProperty(t)&&(i[i.length]=t);return i},h=[(y=["play","pause","end","buffer","keep-alive","hb","custom","ad_play","ad_pause","ad_end","ad_click"],g={PLAY:0,PAUSE:1,END:2,BUFFER:3,KEEP_ALIVE:4,HEART_BEAT:5,CUSTOM:6,AD_PLAY:7,AD_PAUSE:8,AD_END:9,AD_CLICK:10,toString:function(e){return y[e]}}).END,g.PLAY,g.PAUSE,g.BUFFER],k={IDLE:0,PLAYING:1,PAUSED:2,BUFFERING:3,toEventType:function(e){return h[e]}},N={ADPLAY:g.AD_PLAY,ADPAUSE:g.AD_PAUSE,ADEND:g.AD_END,ADCLICK:g.AD_CLICK},L={STREAMSENSE_VERSION:"4.1412.05",DEFAULT_PLAYERNAME:"streamsense",DEFAULT_HEARTBEAT_INTERVAL:[{playingtime:6e4,interval:1e4},{playingtime:null,interval:6e4}],DEFAULT_KEEP_ALIVE_INTERVAL:12e5,DEFAULT_PAUSED_ON_BUFFERING_INTERVAL:500,PAGE_NAME_LABEL:"name",RESTRICTED_URL_LENGTH_LIMIT:2048,URL_LENGTH_LIMIT:4096,LABELS_ORDER:["c1","c2","ca2","cb2","cc2","cd2","ns_site","ca_ns_site","cb_ns_site","cc_ns_site","cd_ns_site","ns_vsite","ca_ns_vsite","cb_ns_vsite","cc_ns_vsite","cd_ns_vsite","ns_a
1p_an","ca_ns_ap_an","cb_ns_ap_an","cc_ns_ap_an","cd_ns_ap_an","ns_ap_pn","ns_ap_pv","c12","ca12","cb12","cc12","cd12","ns_ak","ns_ns_ap_hw","name","ns_ap_ni","ns_ap_ec","ns_ap_ev","ns_ap_device","ns_ap_id","ns_ap_csf","ns_ap_bi","ns_ap_pfm","ns_ap_pfv","ns_ap_ver","ca_ns_ap_ver","cb_ns_ap_ver","cc_ns_ap_ver","cd_ns_ap_ver","ns_ap_sv","ns_ap_cv","ns_type","ca_ns_type","cb_ns_type","cc_ns_type","cd_ns_type","ns_radio","ns_nc","ns_ap_ui","ca_ns_ap_ui","cb_ns_ap_ui","cc_ns_ap_ui","cd_ns_ap_ui","ns_ap_gs","ns_st_sv","ns_st_pv","ns_st_it","ns_st_id","ns_st_ec","ns_st_sp","ns_st_sq","ns_st_cn","ns_st_ev","ns_st_po","ns_st_cl","ns_st_el","ns_st_pb","ns_st_hc","ns_st_mp","ca_ns_st_mp","cb_ns_st_mp","cc_ns_st_mp","cd_ns_st_mp","ns_st_mv","ca_ns_st_mv","cb_ns_st_mv","cc_ns_st_mv","cd_ns_st_mv","ns_st_pn","ns_st_tp","ns_st_pt","ns_st_pa","ns_st_ad","ns_st_li","ns_st_ci","ns_ap_jb","ns_ap_res","ns_ap_c12m","ns_ap_install","ns_ap_updated","ns_ap_lastrun","ns_ap_cs","ns_ap_runs","ns_ap_usage","ns_ap_fg","ns_ap_ft","ns_ap_dft","ns_ap_bt","ns_ap_dbt","ns_ap_dit","ns_ap_as","ns_ap_das","ns_ap_it","ns_ap_uc","ns_ap_aus","ns_ap_daus","ns_ap_us","ns_ap_dus","ns_ap_ut","ns_ap_oc","ns_ap_uxc","ns_ap_uxs","ns_ap_lang","ns_ap_ar","ns_ap_miss","ns_ts","ns_st_ca","ns_st_cp","ns_st_er","ca_ns_st_er","cb_ns_st_er","cc_ns_st_er","cd_ns_st_er","ns_st_pe","ns_st_ui","ca_ns_st_ui","cb_ns_st_ui","cc_ns_st_ui","cd_ns_st_ui","ns_st_bc","ns_st_bt","ns_st_bp","ns_st_pc","ns_st_pp","ns_st_br","ns_st_ub","ns_st_vo","ns_st_ws","ns_st_pl","ns_st_pr","ns_st_ep","ns_st_ty","ns_st_ct","ns_st_cs","ns_st_ge","ns_st_st","ns_st_dt","ns_st_de","ns_st_pu","ns_st_cu","ns_st_fee","ns_ap_i1","ns_ap_i2","ns_ap_i3","ns_ap_i4","ns_ap_i5","ns_ap_i6","c3","ca3","cb3","cc3","cd3","c4","ca4","cb4","cc4","cd4","c5","ca5","cb5","cc5","cd5","c6","ca6","cb6","cc6","cd6","c10","c11","c13","c14","c15","c16","c7","c8","c9"]},R=function(){function e(e,n){var i=n[e];null!=i&&(t[e]=i)}var n,t,i=this,a=0,l=0,r=0,s=0,o=0,u=0;m.extend(this,{reset:function(e){null!=e&&e.length>0?m.filterMap(t,e):t={},t.hasOwnProperty("ns_st_cl")||(t.ns_st_cl="0"),t.hasOwnProperty("ns_st_pn")||(t.ns_st_pn="1"),t.hasOwnProperty("ns_st_tp")||(t.ns_st_tp="1"),i.setPauses(0),i.setStarts(0),i.setBufferingTime(0),i.setBufferingTimestamp(-1),i.setPlaybackTime(0),i.setPlaybackTimestamp(-1)}
1,setLabels:function(e,n){null!=e&&m.extend(t,e),i.setRegisters(t,n)},getLabels:function(){return t},setLabel:function(e,n){var t={};t[e]=n,i.setLabels(t,null)},getLabel:function(e){return t[e]},getClipId:function(){return(void 0===n||null==n)&&i.setClipId("1"),n},setClipId:function(e){n=e},setRegisters:function(n,t){var s=n.ns_st_cn;null!=s&&(i.setClipId(s),delete n.ns_st_cn),null!=(s=n.ns_st_bt)&&(r=Number(s),delete n.ns_st_bt),e("ns_st_cl",n),e("ns_st_pn",n),e("ns_st_tp",n),e("ns_st_ub",n),e("ns_st_br",n),(t==k.PLAYING||null==t)&&null!=(s=n.ns_st_sq)&&(l=Number(s),delete n.ns_st_sq),t!=k.BUFFERING&&null!=(s=n.ns_st_pt)&&(o=Number(s),delete n.ns_st_pt),(t==k.PAUSED||t==k.IDLE||null==t)&&null!=(s=n.ns_st_pc)&&(a=Number(s),delete n.ns_st_pc)},createLabels:function(e,n){var t=n||{};return t.ns_st_cn=i.getClipId(),t.ns_st_bt=String(i.getBufferingTime()),(e==g.PLAY||null==e)&&(t.ns_st_sq=String(l)),(e==g.PAUSE||e==g.END||e==g.KEEP_ALIVE||e==g.HEART_BEAT||null==e)&&(t.ns_st_pt=String(i.getPlaybackTime()),t.ns_st_pc=String(a)),m.extend(t,i.getLabels()),t},incrementPauses:function(){a++},incrementStarts:function(){l++},getBufferingTime:function(){var e=r;return s>=0&&(e+=new Date-s),e},setBufferingTime:function(e){r=e},getPlaybackTime:function(){var e=o;return u>=0&&(e+=new Date-u),e},setPlaybackTime:function(e){o=e},getPlaybackTimestamp:function(){return u},setPlaybackTimestamp:function(e){u=e},getBufferingTimestamp:function(){return s},setBufferingTimestamp:function(e){s=e},getPauses:function(){return a},setPauses:function(e){a=e},getStarts:function(){return l},setStarts:function(e){l=e}}),t={},i.reset()},S=function(){var e,n,t=this,i=null,a=0,l=0,r=0,s=0,o=0,u=0,p=!1;m.extend(this,{reset:function(e){null!=e&&e.length>0?m.filterMap(n,e):n={},t.setPlaylistId(+new Date+"_"+u),t.setBufferingTime(0),t.setPlaybackTime(0),t.setPauses(0),t.setStarts(0),t.setRebufferCount(0),p=!1},setLabels:function(e,i){null!=e&&m.extend(n,e),t.setRegisters(n,i)},getLabels:function(){return n},setLabel:function(e,n){var i={};i[e]=n,t.setLabels(i,null)},getLabel:function(e){return n[e]},getClip:function(){return i},getPlaylistId:function(){return e},setPlaylistId:function(n){e=n},setRegisters:function(n,t){var i=n.ns_st_sp;null!=i&&(a=Number(i),delete n.ns_st_sp),null!=(i=n.ns_st_bc)&&(r=Number(i),delete n.ns_st_bc),null!=(i=n.ns_st_bp)&&(s=Number(i),delete n.ns_st_bp),null!=(i=n.ns_st_id)&&(e=i,delete n.ns_st_id),t!=k.BUFFERING&&null!=(i=n.ns_st_pa)&&(o=Number(i),delete n.ns_st_pa),(t==k.PAUSED||t==k.IDLE||null==t)&&null!=(i=n.ns_st_pp)&&(l=Number(i),delete n.ns_st_pp)},createLabels:function(n,i){var s=i||{};return s.ns_st_bp=String(t.getBufferingTime()),s.ns_st_sp=String(a),s.ns_st_id=String(e),r>0&&(s.ns_st_bc=String(r)),(n==g.PAUSE||n==g.END||n==g.KEEP_ALIVE||n==g.HEART_BEAT||null==n)&&(s.ns_st_pa=String(t.getPlaybackTime()),s.ns_st_pp=String(l)),(n==g.PLAY||null==n)&&(t.didFirstPlayOccurred()||(s.ns_st_pb="1",t.setFirstPlayOccurred(!0))),m.extend(s,t.getLabels()),s},incrementStarts:function(){a++},incrementPauses:function(){l++,i.incrementPauses()},setPlaylistCounter:function(e){u=e},incrementPlaylistCounter:function(){u++},addPlaybackTime:function(e){if(i.getPlaybackTimestamp()>=0){var n=e-i.getPlaybackTimestamp();i.setPlaybackTimestamp(-1),i.setPlaybackTime(i.getPlaybackTime()+n),t.setPlaybackTime(t.getPlaybackTime()+n)}},addBufferingTime:function(e){if(i.getBufferingTimestamp()>=0){var n=e-i.getBufferingTimestamp();i.setBufferingTimestamp(-1),i.setBufferingTime(i.getBufferingTime()+n),t.setBufferingTime(t.getBufferingTime()+n)}}
1,getBufferingTime:function(){var e=s;return i.getBufferingTimestamp()>=0&&(e+=new Date-i.getBufferingTimestamp()),e},setBufferingTime:function(e){s=e},getPlaybackTime:function(){var e=o;return i.getPlaybackTimestamp()>=0&&(e+=new Date-i.getPlaybackTimestamp()),e},setPlaybackTime:function(e){o=e},getStarts:function(){return a},setStarts:function(e){a=e},getPauses:function(){return l},setPauses:function(e){l=e},getRebufferCount:function(){return r},incrementRebufferCount:function(){r++},setRebufferCount:function(e){r=e},didFirstPlayOccurred:function(){return p},setFirstPlayOccurred:function(e){p=e}}),i=new R,n={},t.reset()},(function(e){function n(e,n){return r[o]||a(e,n)}function i(){o=-1;for(var e=0;e<=s;e++)if(r.hasOwnProperty(e)){o=e;break}return t.StreamSense.activeIndex=o,o}function a(e,n){return n=n||null,(e=e||null)&&"object"==typeof e&&(n=e,e=null),r[++s]=new t.StreamSense(n,e),i(),r[s]}function l(){var e=!1,n=o;if("number"==typeof arguments[0]&&isFinite(arguments[0]))n=arguments[0];else if(arguments[0]instanceof t.StreamSense){for(var a in r)if(r[a]===arguments[0]){n=a;break}}return r.hasOwnProperty(n)&&(e=r[n],delete r[n],e.reset(),i()),e}var r={},s=-1,o=-1;m.extend(e,{activeIndex:o,newInstance:a,new:a,destroyInstance:l,destroy:l,newPlaylist:function(e){return e=e||{},n().setPlaylist(e),n().getPlaylist()},newClip:function(e,t,i){return e=e||{},"number"==typeof t&&(e.ns_st_cn=t),n().setClip(e,i),n().getClip()},notify:function(e,t,i){return void 0!==e&&(i=i||null,t=t||{},n().notify(e,t,i))},setLabels:function(e){void 0!==e&&n().setLabels(e)},getLabels:function(){return n().getLabels()},setPlaylistLabels:function(e){void 0!==e&&n().getPlaylist().setLabels(e)},getPlaylistLabels:function(){return n().getPlaylist().getLabels()},setClipLabels:function(e){void 0!==e&&n().getClip().setLabels(e)},getClipLabels:function(){return n().getClip().getLabels()},resetInstance:function(e){return n().reset(e||{})},resetPlaylist:function(e){return n().getPlaylist().reset(e||{})},resetClip:function(e){return n().getClip().reset(e||{})},viewEvent:function(e){return e=e||{},n().viewNotify(null,e)},customEvent:function(e,t){return arguments.length>2&&(e=arguments[1],t=arguments[2]),e=e||{},"number"==typeof t&&(e.ns_st_po=t),n().customNotify(e,t)},exportState:function(){return n().exportState()},importState:function(e){n().importState(e)}})}(T=function(e,n){function i(e){var n=0;if(null!=H)for(var t=0;t<H.length;t++){var i=H[t],a=i.playingtime;if(!a||e<a){n=i.interval;break}}return n}function a(){o();var e=i(z.getClip().getPlaybackTime());e>0&&(V=setTimeout(s,ee>0?ee:e)),ee=0}function l(){o();var e=i(z.getClip().getPlaybackTime());ee=e-z.getClip().getPlaybackTime()%e,null!=V&&o()}function r(){ee=0,en=0}function s(){en++,b(_(g.HEART_BEAT,null)),ee=0,a()}function o(){null!=V&&(clearTimeout(V),V=null)}function u(){y(),P=setTimeout(d,X)}function d(){b(_(g.KEEP_ALIVE,null)),Q++,u()}function y(){null!=P&&(clearTimeout(P),P=null)}function h(){F==k.PLAYING&&(z.incrementRebufferCount(),z.incrementPauses(),b(_(g.PAUSE,null)),Q++,F=k.PAUSED)}function T(){null!=U&&(clearTimeout(U),U=null)}function N(e){return e==k.PLAYING||e==k.PAUSED}function R(){C&&(clearTimeout(C),C=null)}function A(e,n,t){if(R(),t)C=setTimeout(function(){A(e,n)},t);else{var i;if(null!=(i=e)&&I!=i){var s,o,p,d,c,f=I,g=q,N=v(n),L=g>=0?N-g:0;(function(e,n){var t=v(n);if(e==k.PLAYING)z.addPlaybackTime(t),l(),y();else if(e==k.BUFFERING)z.addBufferingTime(t),T();else if(e==k.IDLE){var i=m.getKeys(z.getClip().getLabels());z.getClip().reset(i)}})(I,n),s=e,p=v(o=n),c=-1,(d=o).hasOwnProperty("ns_st_po")&&(c=m.getInteger(d.ns_st_po)),K=c,s==k.PLAYING?(a(),u(),z.getClip().setPlaybackTimestamp(p),D(s)&&(z.getClip().incrementStarts(),1>z.getStarts()&&z.setStarts(1))):s==k.PAUSED?D(s)&&z.incrementPauses():s==k.BUFFERING?(z.getClip().setBufferingTimestamp(p),Y&&(T(),j.isPauseOnBufferingEnabled()&&D(k.PAUSED)&&(U=setTimeout(h,Z)))):s==k.IDLE&&r(),I=e,q=+new Date;for(var S=0,E=J.length;S<E;S++)J[S](f,e,n,L);O(n),z.setRegisters(n,e),z.getClip().setRegisters(n,e);var w=_(k.toEventType(e),n);m.extend(w,n),D(I)&&(b(w),F=I,Q++)}}}function O(e){var n=e.ns_st_mp;null!=n&&(x=n,delete e.ns_st_mp),null!=(n=e.ns_st_mv)&&(B=n,delete e.ns_st_mv),null!=(n=e.ns_st_ec)&&(Q=Number(n),delete e.ns_st_ec)}function b(e,n){void 0===n&&(n=!0),n&&(t=e,M=_(null),m.extend(M,t));var t,i,a,l,r=j.getPixelURL();if(w){if(i=w.getAppContext(),a=w.getSalt(),l=w.getPixelURL(),null!=i&&null!=a&&0!=a.length&&null!=l&&0!=l.length){var s=ei.am,o=ei.et,u=s.newApplicationMeasurement(w,o.HIDDEN,e,r);w.getQueue().offer(u)}}else r&&p.httpGet(function(e,n){for(var t,i=c.encodeURIComponent||escape,a=[],l=L.LABELS_ORDER,r=e.split("?"),s=r[0],o=r[1].split("&"),u=0,p=o.length;u<p;u++){var d=o[u].split("="),y=unescape(d[0]),h=unescape(d[1]);
1y&&(n[y]=h)}for(var T={},u=0,p=l.length;u<p;u++){var g=l[u];if(n.hasOwnProperty(g)){var k=n[g];void 0!==k&&null!=k&&(T[g]=!0,a.push(i(g)+"="+i(n[g])))}}for(var g in n)if(!T[g]&&n.hasOwnProperty(g)){var k=n[g];void 0!==k&&null!=k&&a.push(i(g)+"="+i(n[g]))}t=(t=s+"?"+a.join("&"))+(0>t.indexOf("&c8=")?"&c8="+i(f.title):"")+(0>t.indexOf("&c7=")?"&c7="+i(f.URL):"")+(0>t.indexOf("&c9=")?"&c9="+i(f.referrer):"");var N=m.browserAcceptsLargeURLs()?L.URL_LENGTH_LIMIT:L.RESTRICTED_URL_LENGTH_LIMIT;if(t.length>N&&t.indexOf("&")>0){var R=t.substr(0,N-8).lastIndexOf("&");t=(t.substring(0,R)+"&ns_cut="+i(t.substring(R+1))).substr(0,N)}return t}(r,e))}function D(e){return(e!=k.PAUSED&&e!=k.IDLE||F!=k.IDLE&&null!=F)&&e!=k.BUFFERING&&F!=e}function v(e){var n=-1;return e.hasOwnProperty("ns_ts")&&(n=Number(e.ns_ts)),n}function _(){1==arguments.length?(e=k.toEventType(I),n=arguments[0]):(e=arguments[0],n=arguments[1]);var e,n,t={};if("u">typeof document){var i=document;t.c7=i.URL,t.c8=i.title,t.c9=i.referrer}return null!=n&&m.extend(t,n),t.hasOwnProperty("ns_ts")||(t.ns_ts=String(+new Date)),null==e||t.hasOwnProperty("ns_st_ev")||(t.ns_st_ev=g.toString(e)),j.isPersistentLabelsShared()&&w&&m.extend(t,w.getLabels()),m.extend(t,j.getLabels()),function(e,n){var t=n||{};if(t.ns_st_ec=String(Q),!t.hasOwnProperty("ns_st_po")){var i=K,a=v(t);(e==g.PLAY||e==g.KEEP_ALIVE||e==g.HEART_BEAT||null==e&&I==k.PLAYING)&&(i+=a-z.getClip().getPlaybackTimestamp()),t.ns_st_po=m.getInteger(i)}e==g.HEART_BEAT&&(t.ns_st_hc=String(en))}(e,t),z.createLabels(e,t),z.getClip().createLabels(e,t),t.hasOwnProperty("ns_st_mp")||(t.ns_st_mp=x),t.hasOwnProperty("ns_st_mv")||(t.ns_st_mv=B),t.hasOwnProperty("ns_st_ub")||(t.ns_st_ub="0"),t.hasOwnProperty("ns_st_br")||(t.ns_st_br="0"),t.hasOwnProperty("ns_st_pn")||(t.ns_st_pn="1"),t.hasOwnProperty("ns_st_tp")||(t.ns_st_tp="1"),t.hasOwnProperty("ns_st_it")||(t.ns_st_it="c"),t.ns_st_sv=L.STREAMSENSE_VERSION,t.ns_type="hidden",t}var E,C,I,w,U,P,V,F,x,B,M,J,j=this,$=500,G=null,q=0,K=0,Q=0,z=null,W=!0,Y=!0,H=L.DEFAULT_HEARTBEAT_INTERVAL,X=L.DEFAULT_KEEP_ALIVE_INTERVAL,Z=L.DEFAULT_PAUSED_ON_BUFFERING_INTERVAL,ee=0,en=0,et=!1,ei={};p.autoSelect(),m.extend(this,{reset:function(e){z.reset(e),z.setPlaylistCounter(0),z.setPlaylistId(+new Date+"_1"),z.getClip().reset(e),null==e||e.isEmpty()?E={}:m.filterMap(E,e),Q=1,en=0,l(),r(),y(),T(),R(),I=k.IDLE,q=-1,F=null,x=L.DEFAULT_PLAYERNAME,B=L.STREAMSENSE_VERSION,M=null},setPauseOnBufferingInterval:function(e){Z=e},getPauseOnBufferingInterval:function(){return Z},setKeepAliveInterval:function(e){X=e},getKeepAliveInterval:function(){return X},setHeartbeatIntervals:function(e){H=e},notify:function(){n=arguments[0],3==arguments.length?(t=arguments[1],i=arguments[2]):(t={},i=arguments[1]),e=n==g.PLAY?k.PLAYING:n==g.PAUSE?k.PAUSED:n==g.BUFFER?k.BUFFERING:n==g.END?k.IDLE:null;var e,n,t,i,a=m.extend({},t);if(0>v(a)&&(a.ns_ts=String(+new Date)),a.hasOwnProperty("ns_st_po")||(a.ns_st_po=m.getInteger(i).toString()),n==g.PLAY||n==g.PAUSE||n==g.BUFFER||n==g.END)j.isPausePlaySwitchDelayEnabled()&&N(I)&&N(e)&&(I!=k.PLAYING||e!=k.PAUSED||C)?A(e,a,$):A(e,a);else{var l=_(n,a);m.extend(l,a),b(l,!1),Q++}},getLabels:function(){return E},getState:function(){return I},setLabels:function(e){null!=e&&(null==E?E=e:m.extend(E,e))},getLabel:function(e){return E[e]}
1,setLabel:function(e,n){null==n?delete E[e]:E[e]=n},setPixelURL:function(e){if(null==e||0==e.length)return null;var n=decodeURIComponent||unescape,t=e.indexOf("?");if(t>=0){if(t<e.length-1){for(var i=e.substring(t+1).split("&"),a=0,l=i.length;a<l;a++){var r=i[a].split("=");2==r.length?j.setLabel(r[0],n(r[1])):1==r.length&&j.setLabel(L.PAGE_NAME_LABEL,n(r[0]))}e=e.substring(0,t+1)}}else e+="?";return G=e},getPixelURL:function(){return G||("u">typeof ns_p&&"string"==typeof ns_p.src?G=ns_p.src.replace(/&/,"&").replace(/&ns__t=\d+/,""):"string"==typeof ns_pixelUrl?G=ns_pixelUrl.replace(/&/,"&").replace(/&ns__t=\d+/,""):null)},isPersistentLabelsShared:function(){return W},setPersistentLabelsShared:function(e){W=e},isPauseOnBufferingEnabled:function(){return Y},setPauseOnBufferingEnabled:function(e){Y=e},isPausePlaySwitchDelayEnabled:function(){return et},setPausePlaySwitchDelayEnabled:function(e){et=e},setPausePlaySwitchDelay:function(e){e&&e>0&&($=e)},getPausePlaySwitchDelay:function(){return $},setClip:function(e,n){var t=!1;return I==k.IDLE&&(z.getClip().reset(),z.getClip().setLabels(e,null),n&&z.incrementStarts(),t=!0),t},setPlaylist:function(e){var n=!1;return I==k.IDLE&&(z.incrementPlaylistCounter(),z.reset(),z.getClip().reset(),z.setLabels(e,null),n=!0),n},importState:function(e){reset();var n=m.extend({},e);z.setRegisters(n,null),z.getClip().setRegisters(n,null),O(n),Q++},exportState:function(){return M},getVersion:function(){return L.STREAMSENSE_VERSION},addListener:function(e){J.push(e)},removeListener:function(e){J.splice(m.indexOf(e,J),1)},getClip:function(){return z.getClip()},getPlaylist:function(){return z}}),m.extend(this,{adNotify:function(e,n,t){(n=n||{}).ns_st_ad=1,e>=g.AD_PLAY&&e<=g.AD_CLICK&&j.notify(e,n,t)},customNotify:function(e,n){j.notify(g.CUSTOM,e,n)},viewNotify:function(e,n){(e=e||j.getPixelURL())&&function(e,n){var t=e||"",i="undefined",a=c.comScore||c.sitestat||function(e){var n,t,a,l,r,s="comScore=",o=f.cookie,u="",d="indexOf",y="length",h=m.browserAcceptsLargeURLs()?L.URL_LENGTH_LIMIT:L.RESTRICTED_URL_LENGTH_LIMIT,T="&ns_",g=c.encodeURIComponent||escape;if(o[d](s)+1)for(l=0,r=(a=o.split(";"))[y];l<r;l++)(t=a[l][d](s))+1&&(u="&"+unescape(a[l].substring(t+s[y])));(e+=T+"_t="+ +new Date+T+"c="+(f.characterSet||f.defaultCharset||"")+u).length>h&&e.indexOf("&")>0&&(n=e.substr(0,h-8).lastIndexOf("&"),e=(e.substring(0,n)+T+"cut="+g(e.substring(n+1))).substr(0,h)),p.httpGet(e),typeof ns_p===i&&(ns_p={src:e}),ns_p.lastMeasurement=e};if(typeof n!==i){var l=[],r=c.encodeURIComponent||escape;for(var s in n)n.hasOwnProperty(s)&&l.push(r(s)+"="+r(n[s]));/[\?\&]$/.test(t)||(t+="&"),t+=l.join("&")}a(t)}(e,n)}}),t.comScore&&(w=(ei=t.comScore.exports).c()),E={},Q=1,I=k.IDLE,z=new S,U=null,Y=!0,V=null,en=0,r(),P=null,C=null,et=!1,F=null,K=0,J=[],j.reset(),e&&j.setLabels(e),n&&j.setPixelURL(n)}),A=T).AdEvents=N,A.PlayerEvents=g,t.StreamingTag=t.StreamingTag||function(e){function n(e){return m.exists(e)||(e={}),m.exists(e.ns_st_ci)||(e.ns_st_ci="0"),m.exists(e.c3)||(e.c3="*null"),m.exists(e.c4)||(e.c4="*null"),m.exists(e.c6)||(e.c6="*null"),e}function i(e){return u>0&&e>=u?p+=e-u:p=0,p}function a(e){f.getState()!=k.IDLE&&f.getState()!=k.PAUSED?f.notify(g.END,i(e)):f.getState()==k.PAUSED&&f.notify(g.END,p)}function l(e,n,t){if(m.exists(e)&&m.exists(n)&&m.exists(t)){var i=n[e],a=t[e];return m.exists(i)&&m.exists(a)&&i===a}return!1}function r(e){var t=+new Date;a(t),o++,e=n(e);var i={ns_st_cn:o,ns_st_pn:"1",ns_st_tp:"1",ns_st_ad:"1"};m.extend(i,e),f.setClip(i),p=0,f.notify(g.PLAY,p),u=t,c=!1}function s(e,t){var i,r,s,y,N=+new Date;e=n(e),T==h.None&&(T=t),c&&T==t&&l("ns_st_ci",d,y=e)&&l("c3",d,y)&&l("c4",d,y)&&l("c6",d,y)?(f.getClip().setLabels(e),f.getState()!=k.PLAYING&&(u=N,f.notify(g.PLAY,p))):(i=N,r=e,a(i),s={ns_st_cn:++o,ns_st_pn:"1",ns_st_tp:"0"},m.extend(s,r),f.setClip(s),d=r,u=i,p=0,f.notify(g.PLAY,p)),c=!0,T=t}var o=0,u=0,p=0,d=null,c=!1,f=new A,y=!1,h={None:0,AudioContent:1,VideoContent:2},T=h.None;m.extend(this,{playAdvertisement:function(){y&&console&&console.warn("Calling deprecated function 'playAdvertisement'. Please call 'playVideoAdvertisement' or 'playAudioAdvertisement' functions instead."),r({ns_st_ct:"va"})},playVideoAdvertisement:function(e){var n={ns_st_ct:"va"};e&&m.extend(n,e),r(n)},playAudioAdvertisement:function(e){var n={ns_st_ct:"aa"};e&&m.extend(n,e),r(n)},playContentPart:function(e){y&&console&&console.warn("Calling deprecated function 'playContentPart'. Please call 'playVideoContentPart' or 'playAudioContentPart' functions instead.");var n={ns_st_ct:"vc"};e&&m.extend(n,e),s(n,h.VideoContent)},playVideoContentPart:function(e){var n={ns_st_ct:"vc"};e&&m.extend(n,e),s(n,h.VideoContent)},playAudioContentPart:function(e){var n={ns_st_ct:"ac"};e&&m.extend(n,e),s(n,h.AudioContent)},stop:function(){var e=+new Date;f.notify(g.PAUSE,i(e))}}),function(){if(!t.comScore&&m.exists(e))if(y=m.isTrue(e.debug),m.exists(e.customerC2)){var n=e.secure?"https://sb":"http"+("s"==document.location.href.charAt(4)?"s://sb":"://b");f.setPixelURL(n+".scorecardresearch.com/p?c1=2"),f.setLabel("c2",e.customerC2)}else f.setPixelURL(""),y&&console.log("Warning: customerC2 is not provided (or incorrect) in the StreamingTag configuration.");f.setLabel("ns_st_it","r")}()},A),t.StreamingTag):class{playVideoAdvertisement=eg.noop;playVideoContentPart=eg.noop;stop=eg.noop};e.s(["StreamingTag",0,eN,"sendBeacon",0,ek],29796);let eL=e=>ek({c1:"1",c2:"7341760",...e});e.s(["default",0,()=>e=>(n,t,i)=>{let a={},l=new eN({customerC2:"7341760"}),r=()=>a.isAd?l.playVideoAdvertisement():l.playVideoContentPart({ns_st_ci:a.talkId});return e(function(e,t){switch(t){case"onTalk":(a={}).talkId=e()?.currentTalk;break;case"onPlay":a.talkId&&!a.isPlayed&&(a.isPlayed=!0,eL({c5:"02",c6:a.talkId})),r();break;case"onPause":case"onComplete":l.stop();break;case"onPrerollStart":case"onPostrollStart":a.isAd=!0,eL({c5:"onPrerollStart"===t?"09":"10"}),r();break;case"onPrerollComplete":case"onPostrollComplete":a.isAd=!1,r()}return n(e,t)},t,i)}],969744)},691434,e=>{"use strict";var n,t=e.i(274466),i=e.i(379424),a=new Map,l=new Map,r=!0,s=!1;function o(e){return e.replace(/[\s,]+/g," ").trim()}function u(e){for(var n=[],u=1;u<arguments.length;u++)n[u-1]=arguments[u];
1"string"==typeof e&&(e=[e]);var p=e[0];return n.forEach(function(n,t){n&&"Document"===n.kind?p+=n.loc.source.body:p+=n,p+=e[t+1]}),function(e){var n=o(e);if(!a.has(n)){var u,p,d,c,f,m=(0,i.parse)(e,{experimentalFragmentVariables:s,allowLegacyFragmentVariables:s,experimentalFragmentArguments:s});if(!m||"Document"!==m.kind)throw Error("Not a valid GraphQL document.");a.set(n,((c=new Set((u=new Set,p=[],m.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var n,t=e.name.value,i=o((n=e.loc).source.body.substring(n.start,n.end)),a=l.get(t);a&&!a.has(i)?r&&console.warn("Warning: fragment with name "+t+" 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"):a||l.set(t,a=new Set),a.add(i),u.has(i)||(u.add(i),p.push(e))}else p.push(e)}),d=(0,t.__assign)((0,t.__assign)({},m),{definitions:p})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var t=e[n];t&&"object"==typeof t&&c.add(t)})}),(f=d.loc)&&(delete f.startToken,delete f.endToken),d))}return a.get(n)}(p)}function p(){a.clear(),l.clear()}function d(){r=!1}function c(){s=!0}function f(){s=!1}var m=u;(n=u||(u={})).gql=m,n.resetCaches=p,n.disableFragmentWarnings=d,n.enableExperimentalFragmentVariables=c,n.disableExperimentalFragmentVariables=f,u.default=u,e.s(["disableExperimentalFragmentVariables",0,f,"disableFragmentWarnings",0,d,"enableExperimentalFragmentVariables",0,c,"gql",0,u,"resetCaches",0,p])},695639,e=>{"use strict";let n;e.s([],971275),e.i(971275);let t=Object.freeze({major:16,minor:14,patch:2,preReleaseTag:null});var i,a,l,r,s,o,u,p=e.i(820065);function d(e){return"function"==typeof(null==e?void 0:e.then)}var c=e.i(379424),f=e.i(871595),m=e.i(764535),y=e.i(914300);function h(e,n){let[t,i]=n?[e,n]:[void 0,e],a=" Did you mean ";t&&(a+=t+" ");let l=i.map(e=>`"${e}"`);switch(l.length){case 0:return"";case 1:return a+l[0]+"?";case 2:return a+l[0]+" or "+l[1]+"?"}let r=l.slice(0,5),s=r.pop();return a+r.join(", ")+", or "+s+"?"}function T(e){return e}var g=e.i(685628),k=e.i(836711);function N(e,n){let t=Object.create(null);for(let i of e)t[n(i)]=i;return t}function L(e,n,t){let i=Object.create(null);for(let a of e)i[n(a)]=t(a);return i}function R(e,n){let t=Object.create(null);for(let i of Object.keys(e))t[i]=n(e[i],i);return t}function S(e,n){let t=0,i=0;for(;t<e.length&&i<n.length;){let a=e.charCodeAt(t),l=n.charCodeAt(i);if(O(a)&&O(l)){let r=0;do++t,r=10*r+a-A,a=e.charCodeAt(t);while(O(a)&&r>0)let s=0;do++i,s=10*s+l-A,l=n.charCodeAt(i);while(O(l)&&s>0)if(r<s)return -1;if(r>s)return 1}else{if(a<l)return -1;if(a>l)return 1;++t,++i}}return e.length-n.length}let A=48;function O(e){return!isNaN(e)&&A<=e&&e<=57}function b(e,n){let t=Object.create(null),i=new D(e),a=Math.floor(.4*e.length)+1;for(let e of n){let n=i.measure(e,a);void 0!==n&&(t[e]=n)}return Object.keys(t).sort((e,n)=>{let i=t[e]-t[n];return 0!==i?i:S(e,n)})}class D{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=v(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,n){if(this._input===e)return 0;let t=e.toLowerCase();if(this._inputLowerCase===t)return 1;let i=v(t),a=this._inputArray;if(i.length<a.length){let e=i;i=a,a=e}let l=i.length,r=a.length;if(l-r>n)return;let s=this._rows;for(let e=0;e<=r;e++)s[0][e]=e;for(let e=1;e<=l;e++){let t=s[(e-1)%3],l=s[e%3],o=l[0]=e;for(let n=1;n<=r;n++){let r=+(i[e-1]!==a[n-1]),u=Math.min(t[n]+1,l[n-1]+1,t[n-1]+r);e>1&&n>1&&i[e-1]===a[n-2]&&i[e-2]===a[n-1]&&(u=Math.min(u,s[(e-2)%3][n-2]+1)),u<o&&(o=u),l[n]=u}if(o>n)return}let o=s[l%3][r];return o<=n?o:void 0}}function v(e){let n=e.length,t=Array(n);for(let i=0;i<n;++i)t[i]=e.charCodeAt(i);return t}function _(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;let n=Object.create(null);for(let[t,i]of Object.entries(e))n[t]=i;return n}var E=e.i(490342),C=e.i(428456);function I(e,n){switch(e.kind){case E.Kind.NULL:return null;case E.Kind.INT:return parseInt(e.value,10);case E.Kind.FLOAT:return parseFloat(e.value);case E.Kind.STRING:case E.Kind.ENUM:case E.Kind.BOOLEAN:return e.value;
1case E.Kind.LIST:return e.values.map(e=>I(e,n));case E.Kind.OBJECT:return L(e.fields,e=>e.name.value,e=>I(e.value,n));case E.Kind.VARIABLE:return null==n?void 0:n[e.name.value]}}var w=e.i(645872);function U(e){if(null!=e||(0,p.devAssert)(!1,"Must provide name."),"string"==typeof e||(0,p.devAssert)(!1,"Expected name to be a string."),0===e.length)throw new m.GraphQLError("Expected name to be a non-empty string.");for(let n=1;n<e.length;++n)if(!(0,w.isNameContinue)(e.charCodeAt(n)))throw new m.GraphQLError(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,w.isNameStart)(e.charCodeAt(0)))throw new m.GraphQLError(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function P(e){if("true"===e||"false"===e||"null"===e)throw new m.GraphQLError(`Enum values cannot be named: ${e}`);return U(e)}function V(e){return F(e)||x(e)||M(e)||j(e)||$(e)||G(e)||q(e)||K(e)}function F(e){return(0,g.instanceOf)(e,eo)}function x(e){return(0,g.instanceOf)(e,eu)}function B(e){if(!x(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL Object type.`);return e}function M(e){return(0,g.instanceOf)(e,eT)}function J(e){if(!M(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL Interface type.`);return e}function j(e){return(0,g.instanceOf)(e,eg)}function $(e){return(0,g.instanceOf)(e,eN)}function G(e){return(0,g.instanceOf)(e,eS)}function q(e){return(0,g.instanceOf)(e,X)}function K(e){return(0,g.instanceOf)(e,Z)}function Q(e){return F(e)||$(e)||G(e)||ee(e)&&Q(e.ofType)}function z(e){return F(e)||x(e)||M(e)||j(e)||$(e)||ee(e)&&z(e.ofType)}function W(e){return F(e)||$(e)}function Y(e){return x(e)||M(e)||j(e)}function H(e){return M(e)||j(e)}class X{constructor(e){V(e)||(0,p.devAssert)(!1,`Expected ${(0,f.inspect)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class Z{constructor(e){en(e)||(0,p.devAssert)(!1,`Expected ${(0,f.inspect)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function ee(e){return q(e)||K(e)}function en(e){return V(e)&&!K(e)}function et(e){if(!en(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL nullable type.`);return e}function ei(e){if(e)return K(e)?e.ofType:e}function ea(e){return F(e)||x(e)||M(e)||j(e)||$(e)||G(e)}function el(e){if(e){let n=e;for(;ee(n);)n=n.ofType;return n}}function er(e){return"function"==typeof e?e():e}function es(e){return"function"==typeof e?e():e}class eo{constructor(e){var n,t,i,a;const l=null!=(n=e.parseValue)?n:T;this.name=U(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!=(t=e.serialize)?t:T,this.parseValue=l,this.parseLiteral=null!=(i=e.parseLiteral)?i:(e,n)=>l(I(e,n)),this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(a=e.extensionASTNodes)?a:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,p.devAssert)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,f.inspect)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,p.devAssert)(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,p.devAssert)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class eu{constructor(e){var n;this.name=U(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(n=e.extensionASTNodes)?n:[],this._fields=()=>ed(e),this._interfaces=()=>ep(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,p.devAssert)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,f.inspect)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}
1getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:em(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ep(e){var n;let t=er(null!=(n=e.interfaces)?n:[]);return Array.isArray(t)||(0,p.devAssert)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),t}function ed(e){let n=es(e.fields);return ef(n)||(0,p.devAssert)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),R(n,(n,t)=>{var i;ef(n)||(0,p.devAssert)(!1,`${e.name}.${t} field config must be an object.`),null==n.resolve||"function"==typeof n.resolve||(0,p.devAssert)(!1,`${e.name}.${t} field resolver must be a function if provided, but got: ${(0,f.inspect)(n.resolve)}.`);let a=null!=(i=n.args)?i:{};return ef(a)||(0,p.devAssert)(!1,`${e.name}.${t} args must be an object with argument names as keys.`),{name:U(t),description:n.description,type:n.type,args:ec(a),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:_(n.extensions),astNode:n.astNode}})}function ec(e){return Object.entries(e).map(([e,n])=>({name:U(e),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:_(n.extensions),astNode:n.astNode}))}function ef(e){return(0,k.isObjectLike)(e)&&!Array.isArray(e)}function em(e){return R(e,e=>({description:e.description,type:e.type,args:ey(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function ey(e){return L(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function eh(e){return K(e.type)&&void 0===e.defaultValue}class eT{constructor(e){var n;this.name=U(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(n=e.extensionASTNodes)?n:[],this._fields=ed.bind(void 0,e),this._interfaces=ep.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,p.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,f.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:em(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class eg{constructor(e){var n;this.name=U(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(n=e.extensionASTNodes)?n:[],this._types=ek.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,p.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,f.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ek(e){let n=er(e.types);return Array.isArray(n)||(0,p.devAssert)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),n}class eN{constructor(e){var n;this.name=U(e.name),this.description=e.description,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(n=e.extensionASTNodes)?n:[],this._values="function"==typeof e.values?e.values:eR(this.name,e.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return"function"==typeof this._values&&(this._values=eR(this.name,this._values())
1),this._values}getValue(e){return null===this._nameLookup&&(this._nameLookup=N(this.getValues(),e=>e.name)),this._nameLookup[e]}serialize(e){null===this._valueLookup&&(this._valueLookup=new Map(this.getValues().map(e=>[e.value,e])));let n=this._valueLookup.get(e);if(void 0===n)throw new m.GraphQLError(`Enum "${this.name}" cannot represent value: ${(0,f.inspect)(e)}`);return n.name}parseValue(e){if("string"!=typeof e){let n=(0,f.inspect)(e);throw new m.GraphQLError(`Enum "${this.name}" cannot represent non-string value: ${n}.`+eL(this,n))}let n=this.getValue(e);if(null==n)throw new m.GraphQLError(`Value "${e}" does not exist in "${this.name}" enum.`+eL(this,e));return n.value}parseLiteral(e,n){if(e.kind!==E.Kind.ENUM){let n=(0,C.print)(e);throw new m.GraphQLError(`Enum "${this.name}" cannot represent non-enum value: ${n}.`+eL(this,n),{nodes:e})}let t=this.getValue(e.value);if(null==t){let n=(0,C.print)(e);throw new m.GraphQLError(`Value "${n}" does not exist in "${this.name}" enum.`+eL(this,n),{nodes:e})}return t.value}toConfig(){let e=L(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eL(e,n){return h("the enum value",b(n,e.getValues().map(e=>e.name)))}function eR(e,n){return ef(n)||(0,p.devAssert)(!1,`${e} values must be an object with value names as keys.`),Object.entries(n).map(([n,t])=>(ef(t)||(0,p.devAssert)(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${(0,f.inspect)(t)}.`),{name:P(n),description:t.description,value:void 0!==t.value?t.value:n,deprecationReason:t.deprecationReason,extensions:_(t.extensions),astNode:t.astNode}))}class eS{constructor(e){var n,t;this.name=U(e.name),this.description=e.description,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(n=e.extensionASTNodes)?n:[],this.isOneOf=null!=(t=e.isOneOf)&&t,this._fields=eA.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){let e=R(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function eA(e){let n=es(e.fields);return ef(n)||(0,p.devAssert)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),R(n,(n,t)=>("resolve"in n&&(0,p.devAssert)(!1,`${e.name}.${t} field has a resolve property, but Input Types cannot define resolvers.`),{name:U(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:_(n.extensions),astNode:n.astNode}))}function eO(e){return K(e.type)&&void 0===e.defaultValue}function eb(e,n){return e===n||!!(K(e)&&K(n)||q(e)&&q(n))&&eb(e.ofType,n.ofType)}function eD(e,n,t){return n===t||(K(t)?!!K(n)&&eD(e,n.ofType,t.ofType):K(n)?eD(e,n.ofType,t):q(t)?!!q(n)&&eD(e,n.ofType,t.ofType):!q(n)&&H(t)&&(M(n)||x(n))&&e.isSubType(t,n))}function ev(e,n,t){return n===t||(H(n)?H(t)?e.getPossibleTypes(n).some(n=>e.isSubType(t,n)):e.isSubType(n,t):!!H(t)&&e.isSubType(t,n))}var e_=e.i(527129);let eE=new eo({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let n=eF(e);if("boolean"==typeof n)return+!!n;let t=n;if("string"==typeof n&&""!==n&&(t=Number(n)),"number"!=typeof t||!Number.isInteger(t))throw new m.GraphQLError(`Int cannot represent non-integer value: ${(0,f.inspect)(n)}`);if(t>0x7fffffff||t<-0x80000000)throw new m.GraphQLError("Int cannot represent non 32-bit signed integer value: "+(0,f.inspect)(n));return t},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new m.GraphQLError(`Int cannot represent non-integer value: ${(0,f.inspect)(e)}`);
1if(e>0x7fffffff||e<-0x80000000)throw new m.GraphQLError(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==E.Kind.INT)throw new m.GraphQLError(`Int cannot represent non-integer value: ${(0,C.print)(e)}`,{nodes:e});let n=parseInt(e.value,10);if(n>0x7fffffff||n<-0x80000000)throw new m.GraphQLError(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return n}}),eC=new eo({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let n=eF(e);if("boolean"==typeof n)return+!!n;let t=n;if("string"==typeof n&&""!==n&&(t=Number(n)),"number"!=typeof t||!Number.isFinite(t))throw new m.GraphQLError(`Float cannot represent non numeric value: ${(0,f.inspect)(n)}`);return t},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new m.GraphQLError(`Float cannot represent non numeric value: ${(0,f.inspect)(e)}`);return e},parseLiteral(e){if(e.kind!==E.Kind.FLOAT&&e.kind!==E.Kind.INT)throw new m.GraphQLError(`Float cannot represent non numeric value: ${(0,C.print)(e)}`,e);return parseFloat(e.value)}}),eI=new eo({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){let n=eF(e);if("string"==typeof n)return n;if("boolean"==typeof n)return n?"true":"false";if("number"==typeof n&&Number.isFinite(n))return n.toString();throw new m.GraphQLError(`String cannot represent value: ${(0,f.inspect)(e)}`)},parseValue(e){if("string"!=typeof e)throw new m.GraphQLError(`String cannot represent a non string value: ${(0,f.inspect)(e)}`);return e},parseLiteral(e){if(e.kind!==E.Kind.STRING)throw new m.GraphQLError(`String cannot represent a non string value: ${(0,C.print)(e)}`,{nodes:e});return e.value}}),ew=new eo({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let n=eF(e);if("boolean"==typeof n)return n;if(Number.isFinite(n))return 0!==n;throw new m.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,f.inspect)(n)}`)},parseValue(e){if("boolean"!=typeof e)throw new m.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,f.inspect)(e)}`);return e},parseLiteral(e){if(e.kind!==E.Kind.BOOLEAN)throw new m.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,C.print)(e)}`,{nodes:e});return e.value}}),eU=new eo({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){let n=eF(e);if("string"==typeof n)return n;if(Number.isInteger(n))return String(n);throw new m.GraphQLError(`ID cannot represent value: ${(0,f.inspect)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new m.GraphQLError(`ID cannot represent value: ${(0,f.inspect)(e)}`)},parseLiteral(e){if(e.kind!==E.Kind.STRING&&e.kind!==E.Kind.INT)throw new m.GraphQLError("ID cannot represent a non-string and non-integer value: "+(0,C.print)(e),{nodes:e});return e.value}}),eP=Object.freeze([eI,eE,eC,ew,eU]);function eV(e){return eP.some(({name:n})=>e.name===n)}function eF(e){if((0,k.isObjectLike)(e)){if("function"==typeof e.valueOf){let n=e.valueOf();if(!(0,k.isObjectLike)(n))return n}if("function"==typeof e.toJSON)return e.toJSON()}return e}function ex(e){return(0,g.instanceOf)(e,eB)}class eB{constructor(e){var n,t,i;this.name=U(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=(n=e.isRepeatable)&&n,this.deprecationReason=e.deprecationReason,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],Array.isArray(e.locations)||(0,p.devAssert)(!1,`@${e.name} locations must be an Array.`);const a=null!=(i=e.args)?i:{};(0,k.isObjectLike)(a)&&!Array.isArray(a)||(0,p.devAssert)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=ec(a)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:ey(this.args),isRepeatable:this.isRepeatable,deprecationReason:this.deprecationReason,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return"@"+this.name}toJSON(){return this.toString()}}let eM=new eB({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[e_.DirectiveLocation.FIELD,e_.DirectiveLocation.FRAGMENT_SPREAD,e_.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new Z(ew),description:"Included when true."}}}),eJ=new eB({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[e_.DirectiveLocation.FIELD,e_.DirectiveLocation.FRAGMENT_SPREAD,e_.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new Z(ew),description:"Skipped when true."}}}),ej="No longer supported",e$=new eB({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[e_.DirectiveLocation.FIELD_DEFINITION,e_.DirectiveLocation.ARGUMENT_DEFINITION,e_.DirectiveLocation.INPUT_FIELD_DEFINITION,e_.DirectiveLocation.ENUM_VALUE,e_.DirectiveLocation.DIRECTIVE_DEFINITION],args:{reason:{type:eI,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:ej}}}),eG=new eB({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[e_.DirectiveLocation.SCALAR],args:{url:{type:new Z(eI),description:"The URL that specifies the behavior of this scalar."}}}),eq=new eB({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[e_.DirectiveLocation.INPUT_OBJECT],args:{}}),eK=Object.freeze([eM,eJ,e$,eG,eq]);function eQ(e){return eK.some(({name:n})=>n===e.name)}var ez=e.i(272203);function eW(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function eY(e,n){if(K(n)){let t=eY(e,n.ofType);return(null==t?void 0:t.kind)===E.Kind.NULL?null:t}if(null===e)return{kind:E.Kind.NULL};if(void 0===e)return null;if(q(n)){let t=n.ofType;if(eW(e)){let n=[];for(let i of e){let e=eY(i,t);null!=e&&n.push(e)}return{kind:E.Kind.LIST,values:n}}return eY(e,t)}
1if(G(n)){if(!(0,k.isObjectLike)(e))return null;let t=[];for(let i of Object.values(n.getFields())){let n=eY(e[i.name],i.type);n&&t.push({kind:E.Kind.OBJECT_FIELD,name:{kind:E.Kind.NAME,value:i.name},value:n})}return{kind:E.Kind.OBJECT,fields:t}}if(W(n)){let t=n.serialize(e);if(null==t)return null;if("boolean"==typeof t)return{kind:E.Kind.BOOLEAN,value:t};if("number"==typeof t&&Number.isFinite(t)){let e=String(t);return eH.test(e)?{kind:E.Kind.INT,value:e}:{kind:E.Kind.FLOAT,value:e}}if("string"==typeof t)return $(n)?{kind:E.Kind.ENUM,value:t}:n===eU&&eH.test(t)?{kind:E.Kind.INT,value:t}:{kind:E.Kind.STRING,value:t};throw TypeError(`Cannot convert value to AST: ${(0,f.inspect)(t)}.`)}(0,ez.invariant)(!1,"Unexpected input type: "+(0,f.inspect)(n))}let eH=/^-?(?:0|[1-9][0-9]*)$/,eX=new eu({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:eI,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new Z(new X(new Z(e1))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new Z(e1),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:e1,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:e1,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new Z(new X(new Z(eZ))),args:{includeDeprecated:{type:new Z(ew),defaultValue:!1}},resolve:(e,{includeDeprecated:n})=>n?e.getDirectives():e.getDirectives().filter(e=>null==e.deprecationReason)}})}),eZ=new eu({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new Z(eI),resolve:e=>e.name},description:{type:eI,resolve:e=>e.description},isRepeatable:{type:new Z(ew),resolve:e=>e.isRepeatable},locations:{type:new Z(new X(new Z(e0))),resolve:e=>e.locations},args:{type:new Z(new X(new Z(e4))),args:{includeDeprecated:{type:ew,defaultValue:!1}},resolve:(e,{includeDeprecated:n})=>n?e.args:e.args.filter(e=>null==e.deprecationReason)},isDeprecated:{type:new Z(ew),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:eI,resolve:e=>e.deprecationReason}})}),e0=new eN({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:e_.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:e_.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:e_.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:e_.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:e_.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:e_.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:e_.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:e_.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:e_.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:e_.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:e_.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:e_.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:e_.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."}
1,INTERFACE:{value:e_.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:e_.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:e_.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:e_.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:e_.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:e_.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."},DIRECTIVE_DEFINITION:{value:e_.DirectiveLocation.DIRECTIVE_DEFINITION,description:"Location adjacent to a directive definition."}}}),e1=new eu({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new Z(e3),resolve:e=>F(e)?s.SCALAR:x(e)?s.OBJECT:M(e)?s.INTERFACE:j(e)?s.UNION:$(e)?s.ENUM:G(e)?s.INPUT_OBJECT:q(e)?s.LIST:K(e)?s.NON_NULL:void(0,ez.invariant)(!1,`Unexpected type: "${(0,f.inspect)(e)}".`)},name:{type:eI,resolve:e=>"name"in e?e.name:void 0},description:{type:eI,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:eI,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new X(new Z(e2)),args:{includeDeprecated:{type:ew,defaultValue:!1}},resolve(e,{includeDeprecated:n}){if(x(e)||M(e)){let t=Object.values(e.getFields());return n?t:t.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new X(new Z(e1)),resolve(e){if(x(e)||M(e))return e.getInterfaces()}},possibleTypes:{type:new X(new Z(e1)),resolve(e,n,t,{schema:i}){if(H(e))return i.getPossibleTypes(e)}},enumValues:{type:new X(new Z(e6)),args:{includeDeprecated:{type:ew,defaultValue:!1}},resolve(e,{includeDeprecated:n}){if($(e)){let t=e.getValues();return n?t:t.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new X(new Z(e4)),args:{includeDeprecated:{type:ew,defaultValue:!1}},resolve(e,{includeDeprecated:n}){if(G(e)){let t=Object.values(e.getFields());return n?t:t.filter(e=>null==e.deprecationReason)}}},ofType:{type:e1,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:ew,resolve:e=>{if(G(e))return e.isOneOf}}})}),e2=new eu({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new Z(eI),resolve:e=>e.name},description:{type:eI,resolve:e=>e.description},args:{type:new Z(new X(new Z(e4))),args:{includeDeprecated:{type:ew,defaultValue:!1}},resolve:(e,{includeDeprecated:n})=>n?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new Z(e1),resolve:e=>e.type},isDeprecated:{type:new Z(ew),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:eI,resolve:e=>e.deprecationReason}})}),e4=new eu({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new Z(eI),resolve:e=>e.name},description:{type:eI,resolve:e=>e.description},type:{type:new Z(e1),resolve:e=>e.type},defaultValue:{type:eI,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:n,defaultValue:t}=e,i=eY(t,n);return i?(0,C.print)(i):null}},isDeprecated:{type:new Z(ew),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:eI,resolve:e=>e.deprecationReason}})}),e6=new eu({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new Z(eI),resolve:e=>e.name},description:{type:eI,resolve:e=>e.description},isDeprecated:{type:new Z(ew),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:eI,resolve:e=>e.deprecationReason}})});(i=s||(s={})).SCALAR="SCALAR",i.OBJECT="OBJECT",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.INPUT_OBJECT="INPUT_OBJECT",i.LIST="LIST",i.NON_NULL="NON_NULL";let e3=new eN({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:s.SCALAR,description:"Indicates this type is a scalar."}
1,OBJECT:{value:s.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:s.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:s.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:s.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:s.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:s.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:s.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),e9={name:"__schema",type:new Z(eX),description:"Access the current type schema of this server.",args:[],resolve:(e,n,t,{schema:i})=>i,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},e8={name:"__type",type:e1,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new Z(eI),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:n},t,{schema:i})=>i.getType(n),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},e5={name:"__typename",type:new Z(eI),description:"The name of the current Object type at runtime.",args:[],resolve:(e,n,t,{parentType:i})=>i.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},e7=Object.freeze([eX,eZ,e0,e1,e2,e4,e6,e3]);function ne(e){return e7.some(({name:n})=>e.name===n)}function nn(e){return(0,g.instanceOf)(e,ni)}function nt(e){if(!nn(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL schema.`);return e}class ni{constructor(e){var n,t;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,k.isObjectLike)(e)||(0,p.devAssert)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,p.devAssert)(!1,`"types" must be Array if provided but got: ${(0,f.inspect)(e.types)}.`),!e.directives||Array.isArray(e.directives)||(0,p.devAssert)(!1,`"directives" must be Array if provided but got: ${(0,f.inspect)(e.directives)}.`),this.description=e.description,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(n=e.extensionASTNodes)?n:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!=(t=e.directives)?t:eK;const i=new Set(e.types);if(null!=e.types)for(const n of e.types)i.delete(n),na(n,i);for(const e of(null!=this._queryType&&na(this._queryType,i),null!=this._mutationType&&na(this._mutationType,i),null!=this._subscriptionType&&na(this._subscriptionType,i),this._directives))if(ex(e))for(const n of e.args)na(n.type,i);for(const e of(na(eX,i),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null),i)){if(null==e)continue;const n=e.name;if(n||(0,p.devAssert)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[n])throw Error(`Schema must contain uniquely named types but contains multiple types named "${n}".`);if(this._typeMap[n]=e,M(e)){for(const n of e.getInterfaces())if(M(n)){let t=this._implementationsMap[n.name];void 0===t&&(t=this._implementationsMap[n.name]={objects:[],interfaces:[]}),t.interfaces.push(e)}}else if(x(e)){for(const n of e.getInterfaces())if(M(n)){let t=this._implementationsMap[n.name];void 0===t&&(t=this._implementationsMap[n.name]={objects:[],interfaces:[]}),t.objects.push(e)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case y.OperationTypeNode.QUERY:return this.getQueryType();case y.OperationTypeNode.MUTATION:return this.getMutationType();case y.OperationTypeNode.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return j(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let n=this._implementationsMap[e.name];return null!=n?n:{objects:[],interfaces:[]}}isSubType(e,n){let t=this._subTypeMap[e.name];if(void 0===t){if(t=Object.create(null),j(e))for(let n of e.getTypes())t[n.name]=!0;else{let n=this.getImplementations(e);for(let e of n.objects)t[e.name]=!0;for(let e of n.interfaces)t[e.name]=!0}this._subTypeMap[e.name]=t}return void 0!==t[n.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(n=>n.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function na(e,n){let t=el(e);
1if(!n.has(t)){if(n.add(t),j(t))for(let e of t.getTypes())na(e,n);else if(x(t)||M(t)){for(let e of t.getInterfaces())na(e,n);for(let e of Object.values(t.getFields()))for(let t of(na(e.type,n),e.args))na(t.type,n)}else if(G(t))for(let e of Object.values(t.getFields()))na(e.type,n)}return n}function nl(e){var n,t,i,a;let l,r,s,o;if(nt(e),e.__validationErrors)return e.__validationErrors;let u=new ns(e);(r=(l=(n=u).schema).getQueryType())?x(r)||n.reportError(`Query root type must be Object type, it cannot be ${(0,f.inspect)(r)}.`,null!=(t=no(l,y.OperationTypeNode.QUERY))?t:r.astNode):n.reportError("Query root type must be provided.",l.astNode),(s=l.getMutationType())&&!x(s)&&n.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,f.inspect)(s)}.`,null!=(i=no(l,y.OperationTypeNode.MUTATION))?i:s.astNode),(o=l.getSubscriptionType())&&!x(o)&&n.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,f.inspect)(o)}.`,null!=(a=no(l,y.OperationTypeNode.SUBSCRIPTION))?a:o.astNode),function(e){for(let t of e.schema.getDirectives()){if(!ex(t)){e.reportError(`Expected directive but got: ${(0,f.inspect)(t)}.`,null==t?void 0:t.astNode);continue}for(let i of(nu(e,t),0===t.locations.length&&e.reportError(`Directive @${t.name} must include 1 or more locations.`,t.astNode),t.args))if(nu(e,i),Q(i.type)||e.reportError(`The type of @${t.name}(${i.name}:) must be Input Type but got: ${(0,f.inspect)(i.type)}.`,i.astNode),eh(i)&&null!=i.deprecationReason){var n;e.reportError(`Required argument @${t.name}(${i.name}:) cannot be deprecated.`,[nc(i.astNode),null==(n=i.astNode)?void 0:n.type])}}}(u),function(e){var n;let t,i,a,l=(n=e,t=Object.create(null),i=[],a=Object.create(null),function e(l){if(!t[l.name]){for(let r of(t[l.name]=!0,a[l.name]=i.length,Object.values(l.getFields())))if(K(r.type)&&G(r.type.ofType)){let t=r.type.ofType,l=a[t.name];if(i.push(r),void 0===l)e(t);else{let e=i.slice(l),a=e.map(e=>e.name).join(".");n.reportError(`Cannot reference Input Object "${t.name}" within itself through a series of non-null fields: "${a}".`,e.map(e=>e.astNode))}i.pop()}a[l.name]=void 0}});for(let n of Object.values(e.schema.getTypeMap())){if(!ea(n)){e.reportError(`Expected GraphQL named type but got: ${(0,f.inspect)(n)}.`,n.astNode);continue}ne(n)||nu(e,n),x(n)||M(n)?(function(e,n){let t=Object.values(n.getFields());for(let r of(0===t.length&&e.reportError(`Type ${n.name} must define one or more fields.`,[n.astNode,...n.extensionASTNodes]),t)){var i,a,l;for(let t of(nu(e,r),z(r.type)||e.reportError(`The type of ${n.name}.${r.name} must be Output Type but got: ${(0,f.inspect)(r.type)}.`,null==(i=r.astNode)?void 0:i.type),r.args)){let i=t.name;nu(e,t),Q(t.type)||e.reportError(`The type of ${n.name}.${r.name}(${i}:) must be Input Type but got: ${(0,f.inspect)(t.type)}.`,null==(a=t.astNode)?void 0:a.type),eh(t)&&null!=t.deprecationReason&&e.reportError(`Required argument ${n.name}.${r.name}(${i}:) cannot be deprecated.`,[nc(t.astNode),null==(l=t.astNode)?void 0:l.type])}}}(e,n),function(e,n){let t=Object.create(null);for(let i of n.getInterfaces()){if(!M(i)){e.reportError(`Type ${(0,f.inspect)(n)} must only implement Interface types, it cannot implement ${(0,f.inspect)(i)}.`,np(n,i));continue}if(n===i){e.reportError(`Type ${n.name} cannot implement itself because it would create a circular reference.`,np(n,i));continue}if(t[i.name]){e.reportError(`Type ${n.name} can only implement ${i.name} once.`,np(n,i));continue}t[i.name]=!0,function(e,n,t){let i=n.getInterfaces();for(let a of t.getInterfaces())i.includes(a)||e.reportError(a===n?`Type ${n.name} cannot implement ${t.name} because it would create a circular reference.`:`Type ${n.name} must implement ${a.name} because it is implemented by ${t.name}.`,[...np(t,a),...np(n,t)])}(e,n,i),function(e,n,t){let i=n.getFields();for(let o of Object.values(t.getFields())){var a,l,r,s;let u=o.name,p=i[u];if(!p){e.reportError(`Interface field ${t.name}.${u} expected but ${n.name} does not provide it.`,[o.astNode,n.astNode,...n.extensionASTNodes]);continue}for(let i of(eD(e.schema,p.type,o.type)||e.reportError(`Interface field ${t.name}.${u} expects type ${(0,f.inspect)(o.type)} but ${n.name}.${u} is type ${(0,f.inspect)(p.type)}.`,[null==(a=o.astNode)?void 0:a.type,null==(l=p.astNode)?void 0:l.type]),o.args)){let a=i.name,l=p.args.find(e=>e.name===a);if(!l){e.reportError(`Interface field argument ${t.name}.${u}(${a}:) expected but ${n.name}.${u} does not provide it.`,[i.astNode,p.astNode]);continue}eb(i.type,l.type)||e.reportError(`Interface field argument ${t.name}.${u}(${a}:) expects type ${(0,f.inspect)(i.type)} but ${n.name}.${u}(${a}:) is type ${(0,f.inspect)(l.type)}.`,[null==(r=i.astNode)?void 0:r.type,null==(s=l.astNode)?void 0:s.type])}for(let i of p.args){let a=i.name;!o.args.find(e=>e.name===a)&&eh(i)&&e.reportError(`Object field ${n.name}.${u} includes required argument ${a} that is missing from the Interface field ${t.name}.${u}
1.`,[i.astNode,o.astNode])}}}(e,n,i)}}(e,n)):j(n)?function(e,n){let t=n.getTypes();0===t.length&&e.reportError(`Union type ${n.name} must define one or more member types.`,[n.astNode,...n.extensionASTNodes]);let i=Object.create(null);for(let a of t){if(i[a.name]){e.reportError(`Union type ${n.name} can only include type ${a.name} once.`,nd(n,a.name));continue}i[a.name]=!0,x(a)||e.reportError(`Union type ${n.name} can only include Object types, it cannot include ${(0,f.inspect)(a)}.`,nd(n,String(a)))}}(e,n):$(n)?function(e,n){let t=n.getValues();for(let i of(0===t.length&&e.reportError(`Enum type ${n.name} must define one or more values.`,[n.astNode,...n.extensionASTNodes]),t))nu(e,i)}(e,n):G(n)&&(function(e,n){let t=Object.values(n.getFields());for(let l of(0===t.length&&e.reportError(`Input Object type ${n.name} must define one or more fields.`,[n.astNode,...n.extensionASTNodes]),t)){var i,a;nu(e,l),Q(l.type)||e.reportError(`The type of ${n.name}.${l.name} must be Input Type but got: ${(0,f.inspect)(l.type)}.`,null==(i=l.astNode)?void 0:i.type),eO(l)&&null!=l.deprecationReason&&e.reportError(`Required input field ${n.name}.${l.name} cannot be deprecated.`,[nc(l.astNode),null==(a=l.astNode)?void 0:a.type]),n.isOneOf&&function(e,n,t){if(K(n.type)){var i;t.reportError(`OneOf input field ${e.name}.${n.name} must be nullable.`,null==(i=n.astNode)?void 0:i.type)}void 0!==n.defaultValue&&t.reportError(`OneOf input field ${e.name}.${n.name} cannot have a default value.`,n.astNode)}(n,l,e)}}(e,n),l(n))}}(u);let p=u.getErrors();return e.__validationErrors=p,p}function nr(e){let n=nl(e);if(0!==n.length)throw Error(n.map(e=>e.message).join("\n\n"))}class ns{constructor(e){this._errors=[],this.schema=e}reportError(e,n){let t=Array.isArray(n)?n.filter(Boolean):n;this._errors.push(new m.GraphQLError(e,{nodes:t}))}getErrors(){return this._errors}}function no(e,n){var t;return null==(t=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var n;return null!=(n=null==e?void 0:e.operationTypes)?n:[]}).find(e=>e.operation===n))?void 0:t.type}function nu(e,n){n.name.startsWith("__")&&e.reportError(`Name "${n.name}" must not begin with "__", which is reserved by GraphQL introspection.`,n.astNode)}function np(e,n){let{astNode:t,extensionASTNodes:i}=e;return(null!=t?[t,...i]:i).flatMap(e=>{var n;return null!=(n=e.interfaces)?n:[]}).filter(e=>e.name.value===n.name)}function nd(e,n){let{astNode:t,extensionASTNodes:i}=e;return(null!=t?[t,...i]:i).flatMap(e=>{var n;return null!=(n=e.types)?n:[]}).filter(e=>e.name.value===n)}function nc(e){var n;return null==e||null==(n=e.directives)?void 0:n.find(e=>e.name.value===e$.name)}var nf=e.i(719420);function nm(e,n){switch(n.kind){case E.Kind.LIST_TYPE:{let t=nm(e,n.type);return t&&new X(t)}case E.Kind.NON_NULL_TYPE:{let t=nm(e,n.type);return t&&new Z(t)}case E.Kind.NAMED_TYPE:return e.getType(n.name.value)}}class ny{constructor(e,n,t){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=t?t:nh,n&&(Q(n)&&this._inputTypeStack.push(n),Y(n)&&this._parentTypeStack.push(n),z(n)&&this._typeStack.push(n))}get[Symbol.toStringTag](){return"TypeInfo"}
1getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){let n=this._schema;switch(e.kind){case E.Kind.SELECTION_SET:{let e=el(this.getType());this._parentTypeStack.push(Y(e)?e:void 0);break}case E.Kind.FIELD:{let t,i,a=this.getParentType();a&&(t=this._getFieldDef(n,a,e))&&(i=t.type),this._fieldDefStack.push(t),this._typeStack.push(z(i)?i:void 0);break}case E.Kind.DIRECTIVE:this._directive=n.getDirective(e.name.value);break;case E.Kind.OPERATION_DEFINITION:{let t=n.getRootType(e.operation);this._typeStack.push(x(t)?t:void 0);break}case E.Kind.INLINE_FRAGMENT:case E.Kind.FRAGMENT_DEFINITION:{let t=e.typeCondition,i=t?nm(n,t):el(this.getType());this._typeStack.push(z(i)?i:void 0);break}case E.Kind.VARIABLE_DEFINITION:{let t=nm(n,e.type);this._inputTypeStack.push(Q(t)?t:void 0);break}case E.Kind.ARGUMENT:{var t;let n,i,a=null!=(t=this.getDirective())?t:this.getFieldDef();a&&(n=a.args.find(n=>n.name===e.name.value))&&(i=n.type),this._argument=n,this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push(Q(i)?i:void 0);break}case E.Kind.LIST:{let e=ei(this.getInputType()),n=q(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Q(n)?n:void 0);break}case E.Kind.OBJECT_FIELD:{let n,t,i=el(this.getInputType());G(i)&&(t=i.getFields()[e.name.value])&&(n=t.type),this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push(Q(n)?n:void 0);break}case E.Kind.ENUM:{let n,t=el(this.getInputType());$(t)&&(n=t.getValue(e.value)),this._enumValue=n}}}leave(e){switch(e.kind){case E.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case E.Kind.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case E.Kind.DIRECTIVE:this._directive=null;break;case E.Kind.OPERATION_DEFINITION:case E.Kind.INLINE_FRAGMENT:case E.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case E.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case E.Kind.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case E.Kind.LIST:case E.Kind.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case E.Kind.ENUM:this._enumValue=null}}}function nh(e,n,t){let i=t.name.value;return i===e9.name&&e.getQueryType()===n?e9:i===e8.name&&e.getQueryType()===n?e8:i===e5.name&&Y(n)?e5:x(n)||M(n)?n.getFields()[i]:void 0}function nT(e,n){return{enter(...t){let i=t[0];e.enter(i);let a=(0,nf.getEnterLeaveForKind)(n,i.kind).enter;if(a){let l=a.apply(n,t);return void 0!==l&&(e.leave(i),(0,y.isNode)(l)&&e.enter(l)),l}},leave(...t){let i,a=t[0],l=(0,nf.getEnterLeaveForKind)(n,a.kind).leave;return l&&(i=l.apply(n,t)),e.leave(a),i}}}function ng(e){return e.kind===E.Kind.OPERATION_DEFINITION||e.kind===E.Kind.FRAGMENT_DEFINITION}function nk(e){return e.kind===E.Kind.VARIABLE||e.kind===E.Kind.INT||e.kind===E.Kind.FLOAT||e.kind===E.Kind.STRING||e.kind===E.Kind.BOOLEAN||e.kind===E.Kind.NULL||e.kind===E.Kind.ENUM||e.kind===E.Kind.LIST||e.kind===E.Kind.OBJECT}function nN(e){return e.kind===E.Kind.SCHEMA_DEFINITION||nL(e)||e.kind===E.Kind.DIRECTIVE_DEFINITION}function nL(e){return e.kind===E.Kind.SCALAR_TYPE_DEFINITION||e.kind===E.Kind.OBJECT_TYPE_DEFINITION||e.kind===E.Kind.INTERFACE_TYPE_DEFINITION||e.kind===E.Kind.UNION_TYPE_DEFINITION||e.kind===E.Kind.ENUM_TYPE_DEFINITION||e.kind===E.Kind.INPUT_OBJECT_TYPE_DEFINITION}function nR(e){return e.kind===E.Kind.SCHEMA_EXTENSION||e.kind===E.Kind.DIRECTIVE_EXTENSION||nS(e)}function nS(e){return e.kind===E.Kind.SCALAR_TYPE_EXTENSION||e.kind===E.Kind.OBJECT_TYPE_EXTENSION||e.kind===E.Kind.INTERFACE_TYPE_EXTENSION||e.kind===E.Kind.UNION_TYPE_EXTENSION||e.kind===E.Kind.ENUM_TYPE_EXTENSION||e.kind===E.Kind.INPUT_OBJECT_TYPE_EXTENSION}function nA(e){return{Document(n){for(let t of n.definitions)if(!ng(t)){let n=t.kind===E.Kind.SCHEMA_DEFINITION||t.kind===E.Kind.SCHEMA_EXTENSION?"schema":'"'+t.name.value+'"';e.reportError(new m.GraphQLError(`The ${n} definition is not executable.`,{nodes:t}))}return!1}}}function nO(e){return{Field(n){let t=e.getParentType();if(t&&!e.getFieldDef()){var i,a;let l=e.getSchema(),r=n.name.value,s=h("to use an inline fragment on",function(e,n,t){if(!H(n))return[];let i=new Set,a=Object.create(null);for(let r of e.getPossibleTypes(n))if(r.getFields()[t])for(let e of(i.add(r),a[r.name]=1,r.getInterfaces())){var l;e.getFields()[t]&&(i.add(e),a[e.name]=(null!=(l=a[e.name])?l:0)+1)}return[...i].sort((n,t)=>{let i=a[t.name]-a[n.name];return 0!==i?i:M(n)&&e.isSubType(n,t)?-1:M(t)&&e.isSubType(t,n)?1:S(n.name,t.name)}).map(e=>e.name)}
1(l,t,r));""===s&&(s=h((i=t,a=r,x(i)||M(i)?b(a,Object.keys(i.getFields())):[]))),e.reportError(new m.GraphQLError(`Cannot query field "${r}" on type "${t.name}".`+s,{nodes:n}))}}}}function nb(e){return{InlineFragment(n){let t=n.typeCondition;if(t){let n=nm(e.getSchema(),t);if(n&&!Y(n)){let n=(0,C.print)(t);e.reportError(new m.GraphQLError(`Fragment cannot condition on non composite type "${n}".`,{nodes:t}))}}},FragmentDefinition(n){let t=nm(e.getSchema(),n.typeCondition);if(t&&!Y(t)){let t=(0,C.print)(n.typeCondition);e.reportError(new m.GraphQLError(`Fragment "${n.name.value}" cannot condition on non composite type "${t}".`,{nodes:n.typeCondition}))}}}}function nD(e){return{...nv(e),Argument(n){let t=e.getArgument(),i=e.getFieldDef(),a=e.getParentType();if(!t&&i&&a){let t=n.name.value,l=b(t,i.args.map(e=>e.name));e.reportError(new m.GraphQLError(`Unknown argument "${t}" on field "${a.name}.${i.name}".`+h(l),{nodes:n}))}}}}function nv(e){let n=Object.create(null),t=e.getSchema();for(let e of t?t.getDirectives():eK)n[e.name]=e.args.map(e=>e.name);for(let t of e.getDocument().definitions)if(t.kind===E.Kind.DIRECTIVE_DEFINITION){var i;let e=null!=(i=t.arguments)?i:[];n[t.name.value]=e.map(e=>e.name.value)}return{Directive(t){let i=t.name.value,a=n[i];if(t.arguments&&a)for(let n of t.arguments){let t=n.name.value;if(!a.includes(t)){let l=b(t,a);e.reportError(new m.GraphQLError(`Unknown argument "${t}" on directive "@${i}".`+h(l),{nodes:n}))}}return!1}}}function n_(e){let n=Object.create(null),t=e.getSchema();for(let e of t?t.getDirectives():eK)n[e.name]=e.locations;for(let t of e.getDocument().definitions)t.kind===E.Kind.DIRECTIVE_DEFINITION&&(n[t.name.value]=t.locations.map(e=>e.value));return{Directive(t,i,a,l,r){let s=t.name.value,o=n[s];if(!o)return void e.reportError(new m.GraphQLError(`Unknown directive "@${s}".`,{nodes:t}));let u=function(e){let n=e[e.length-1];switch("kind"in n||(0,ez.invariant)(!1),n.kind){case E.Kind.OPERATION_DEFINITION:var t=n.operation;switch(t){case y.OperationTypeNode.QUERY:return e_.DirectiveLocation.QUERY;case y.OperationTypeNode.MUTATION:return e_.DirectiveLocation.MUTATION;case y.OperationTypeNode.SUBSCRIPTION:return e_.DirectiveLocation.SUBSCRIPTION}return;case E.Kind.FIELD:return e_.DirectiveLocation.FIELD;case E.Kind.FRAGMENT_SPREAD:return e_.DirectiveLocation.FRAGMENT_SPREAD;case E.Kind.INLINE_FRAGMENT:return e_.DirectiveLocation.INLINE_FRAGMENT;case E.Kind.FRAGMENT_DEFINITION:return e_.DirectiveLocation.FRAGMENT_DEFINITION;case E.Kind.VARIABLE_DEFINITION:return e_.DirectiveLocation.VARIABLE_DEFINITION;case E.Kind.SCHEMA_DEFINITION:case E.Kind.SCHEMA_EXTENSION:return e_.DirectiveLocation.SCHEMA;case E.Kind.SCALAR_TYPE_DEFINITION:case E.Kind.SCALAR_TYPE_EXTENSION:return e_.DirectiveLocation.SCALAR;case E.Kind.OBJECT_TYPE_DEFINITION:case E.Kind.OBJECT_TYPE_EXTENSION:return e_.DirectiveLocation.OBJECT;case E.Kind.FIELD_DEFINITION:return e_.DirectiveLocation.FIELD_DEFINITION;case E.Kind.INTERFACE_TYPE_DEFINITION:case E.Kind.INTERFACE_TYPE_EXTENSION:return e_.DirectiveLocation.INTERFACE;case E.Kind.UNION_TYPE_DEFINITION:case E.Kind.UNION_TYPE_EXTENSION:return e_.DirectiveLocation.UNION;case E.Kind.ENUM_TYPE_DEFINITION:case E.Kind.ENUM_TYPE_EXTENSION:return e_.DirectiveLocation.ENUM;case E.Kind.ENUM_VALUE_DEFINITION:return e_.DirectiveLocation.ENUM_VALUE;case E.Kind.INPUT_OBJECT_TYPE_DEFINITION:case E.Kind.INPUT_OBJECT_TYPE_EXTENSION:return e_.DirectiveLocation.INPUT_OBJECT;case E.Kind.INPUT_VALUE_DEFINITION:{let n=e[e.length-3];return"kind"in n||(0,ez.invariant)(!1),n.kind===E.Kind.INPUT_OBJECT_TYPE_DEFINITION?e_.DirectiveLocation.INPUT_FIELD_DEFINITION:e_.DirectiveLocation.ARGUMENT_DEFINITION}case E.Kind.DIRECTIVE_DEFINITION:case E.Kind.DIRECTIVE_EXTENSION:return e_.DirectiveLocation.DIRECTIVE_DEFINITION;default:(0,ez.invariant)(!1,"Unexpected kind: "+(0,f.inspect)(n.kind))}}(r);u&&!o.includes(u)&&e.reportError(new m.GraphQLError(`Directive "@${s}" may not be used on ${u}.`,{nodes:t}))}}}function nE(e){return{FragmentSpread(n){let t=n.name.value;e.getFragment(t)||e.reportError(new m.GraphQLError(`Unknown fragment "${t}".`,{nodes:n.name}))}}}function nC(e){let n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),i=Object.create(null);for(let n of e.getDocument().definitions)nL(n)&&(i[n.name.value]=!0);let a=[...Object.keys(t),...Object.keys(i)];return{NamedType(n,l,r,s,o){let u=n.name.value;if(!t[u]&&!i[u]){var p,d;
1let t=null!=(p=o[2])?p:r,i=null!=t&&"kind"in(d=t)&&(nN(d)||nR(d));if(i&&nI.includes(u))return;let l=b(u,i?nI.concat(a):a);e.reportError(new m.GraphQLError(`Unknown type "${u}".`+h(l),{nodes:n}))}}}}let nI=[...eP,...e7].map(e=>e.name);function nw(e){let n=0;return{Document(e){n=e.definitions.filter(e=>e.kind===E.Kind.OPERATION_DEFINITION).length},OperationDefinition(t){!t.name&&n>1&&e.reportError(new m.GraphQLError("This anonymous operation must be the only defined operation.",{nodes:t}))}}}function nU(e){var n,t,i;let a=e.getSchema(),l=null!=(n=null!=(t=null!=(i=null==a?void 0:a.astNode)?i:null==a?void 0:a.getQueryType())?t:null==a?void 0:a.getMutationType())?n:null==a?void 0:a.getSubscriptionType(),r=0;return{SchemaDefinition(n){l?e.reportError(new m.GraphQLError("Cannot define a new schema within a schema extension.",{nodes:n})):(r>0&&e.reportError(new m.GraphQLError("Must provide only one schema definition.",{nodes:n})),++r)}}}function nP(e){return{Field(n){if(("__schema"===n.name.value||"__type"===n.name.value)&&function n(t,i=Object.create(null),a=0){if(t.kind===E.Kind.FRAGMENT_SPREAD){let l=t.name.value;if(!0===i[l])return!1;let r=e.getFragment(l);if(!r)return!1;try{return i[l]=!0,n(r,i,a)}finally{i[l]=void 0}}if(t.kind===E.Kind.FIELD&&("fields"===t.name.value||"interfaces"===t.name.value||"possibleTypes"===t.name.value||"inputFields"===t.name.value)&&++a>=3)return!0;if("selectionSet"in t&&t.selectionSet){for(let e of t.selectionSet.selections)if(n(e,i,a))return!0}return!1}(n))return e.reportError(new m.GraphQLError("Maximum introspection depth exceeded",{nodes:[n]})),!1}}}function nV(e){let n=Object.create(null),t=[],i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:a=>((function a(l){if(n[l.name.value])return;let r=l.name.value;n[r]=!0;let s=e.getFragmentSpreads(l.selectionSet);if(0!==s.length){for(let n of(i[r]=t.length,s)){let l=n.name.value,r=i[l];if(t.push(n),void 0===r){let n=e.getFragment(l);n&&a(n)}else{let n=t.slice(r),i=n.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new m.GraphQLError(`Cannot spread fragment "${l}" within itself`+(""!==i?` via ${i}.`:"."),{nodes:n}))}t.pop()}i[r]=void 0}})(a),!1)}}function nF(e){let n=Object.create(null);return{OperationDefinition:{enter(){n=Object.create(null)},leave(t){for(let{node:i}of e.getRecursiveVariableUsages(t)){let a=i.name.value;!0!==n[a]&&e.reportError(new m.GraphQLError(t.name?`Variable "$${a}" is not defined by operation "${t.name.value}".`:`Variable "$${a}" is not defined.`,{nodes:[i,t]}))}}},VariableDefinition(e){n[e.variable.name.value]=!0}}}function nx(e){let n=[],t=[];return{OperationDefinition:e=>(n.push(e),!1),FragmentDefinition:e=>(t.push(e),!1),Document:{leave(){let i=Object.create(null);for(let t of n)for(let n of e.getRecursivelyReferencedFragments(t))i[n.name.value]=!0;for(let n of t){let t=n.name.value;!0!==i[t]&&e.reportError(new m.GraphQLError(`Fragment "${t}" is never used.`,{nodes:n}))}}}}}function nB(e){let n=[];return{OperationDefinition:{enter(){n=[]},leave(t){let i=Object.create(null);for(let{node:n}of e.getRecursiveVariableUsages(t))i[n.name.value]=!0;for(let a of n){let n=a.variable.name.value;!0!==i[n]&&e.reportError(new m.GraphQLError(t.name?`Variable "$${n}" is never used in operation "${t.name.value}".`:`Variable "$${n}" is never used.`,{nodes:a}))}}},VariableDefinition(e){n.push(e)}}}function nM(e){switch(e.kind){case E.Kind.OBJECT:return{...e,fields:e.fields.map(e=>({...e,value:nM(e.value)})).sort((e,n)=>S(e.name.value,n.name.value))};case E.Kind.LIST:return{...e,values:e.values.map(nM)};case E.Kind.INT:case E.Kind.FLOAT:case E.Kind.STRING:case E.Kind.BOOLEAN:case E.Kind.NULL:case E.Kind.ENUM:case E.Kind.VARIABLE:return e}}function nJ(e){let n=new nW,t=new nY,i=new Map;return{SelectionSet(a){for(let[[l,r],s,o]of function(e,n,t,i,a,l){let r=[],[s,o]=nQ(e,n,a,l);if(function(e,n,t,i,a,l){for(let[r,s]of Object.entries(l))if(s.length>1)for(let l=0;l<s.length;l++)for(let o=l+1;o<s.length;o++){let u=nq(e,t,i,a,!1,r,s[l],s[o]);u&&n.push(u)}}(e,r,n,t,i,s),0!==o.length)for(let a=0;a<o.length;a++){nj(e,r,n,t,i,!1,s,o[a]);for(let l=a+1;l<o.length;l++)n$(e,r,n,t,i,!1,o[a],o[l])}return r}(e,i,n,t,e.getParentType(),a)){let n=function e(n){return Array.isArray(n)?n.map(([n,t])=>`subfields "${n}" conflict because `+e(t)).join(" and "):n}(r);e.reportError(new m.GraphQLError(`Fields "${l}" conflict because ${n}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:s.concat(o)}))}}}}function nj(e,n,t,i,a,l,r,s){if(i.has(r,s,l))return;i.add(r,s,l);let o=e.getFragment(s);if(!o)return;let[u,p]=nz(e,t,o);if(r!==u)for(let s of(nG(e,n,t,i,a,l,r,u),p))nj(e,n,t,i,a,l,r,s)}function n$(e,n,t,i,a,l,r,s){if(r===s||a.has(r,s,l))return;a.add(r,s,l);let o=e.getFragment(r),u=e.getFragment(s);if(!o||!u)return;let[p,d]=nz(e,t,o),[c,f]=nz(e,t,u);for(let s of(nG(e,n,t,i,a,l,p,c),f))n$(e,n,t,i,a,l,r,s);for(let r of d)n$(e,n,t,i,a,l,r,s)}function nG(e,n,t,i,a,l,r,s){for(let[o,u]of Object.entries(r)){let r=s[o];if(r)for(let s of u)for(let u of r){let r=nq(e,t,i,a,l,o,s,u);r&&n.push(r)}}}function nq(e,n,t,i,a,l,r,s){let[o,u,p]=r,[d,c,m]=s,y=a||o!==d&&x(o)&&x(d);if(!y){let e=u.name.value,n=c.name.value;if(e!==n)return[[l,`"${e}" and "${n}" are different fields`],[u],[c]];if(!function(e,n){let t=e.arguments,i=n.arguments;if(void 0===t||0===t.length)return void 0===i||0===i.length;if(void 0===i||0===i.length||t.length!==i.length)return!1;let a=new Map(i.map(({name:e,value:n})=>[e.value,n]));return t.every(e=>{let n=e.value,t=a.get(e.name.value);return void 0!==t&&nK(n)===nK(t)})}(u,c))return[[l,"they have differing arguments"],[u],[c]]}let h=null==p?void 0:p.type,T=null==m?void 0:m.type;if(h&&T&&function e(n,t){return q(n)?!q(t)||e(n.ofType,t.ofType):!!q(t)||(K(n)?!K(t)||e(n.ofType,t.ofType):!!K(t)||!!(W(n)||W(t))&&n!==t)}
1(h,T))return[[l,`they return conflicting types "${(0,f.inspect)(h)}" and "${(0,f.inspect)(T)}"`],[u],[c]];let g=u.selectionSet,k=c.selectionSet;if(g&&k){var N=function(e,n,t,i,a,l,r,s,o){let u=[],[p,d]=nQ(e,n,l,r),[c,f]=nQ(e,n,s,o);for(let l of(nG(e,u,n,t,i,a,p,c),f))nj(e,u,n,t,i,a,p,l);for(let l of d)nj(e,u,n,t,i,a,c,l);for(let l of d)for(let r of f)n$(e,u,n,t,i,a,l,r);return u}(e,n,t,i,y,el(h),g,el(T),k),L=l,R=u,S=c;return N.length>0?[[L,N.map(([e])=>e)],[R,...N.map(([,e])=>e).flat()],[S,...N.map(([,,e])=>e).flat()]]:void 0}}function nK(e){return(0,C.print)(nM(e))}function nQ(e,n,t,i){let a=n.get(i);if(a)return a;let l=Object.create(null),r=Object.create(null);!function e(n,t,i,a,l){for(let r of i.selections)switch(r.kind){case E.Kind.FIELD:{let e,n=r.name.value;(x(t)||M(t))&&(e=t.getFields()[n]);let i=r.alias?r.alias.value:n;a[i]||(a[i]=[]),a[i].push([t,r,e]);break}case E.Kind.FRAGMENT_SPREAD:l[r.name.value]=!0;break;case E.Kind.INLINE_FRAGMENT:{let i=r.typeCondition,s=i?nm(n.getSchema(),i):t;e(n,s,r.selectionSet,a,l)}}}(e,t,i,l,r);let s=[l,Object.keys(r)];return n.set(i,s),s}function nz(e,n,t){let i=n.get(t.selectionSet);if(i)return i;let a=nm(e.getSchema(),t.typeCondition);return nQ(e,n,a,t.selectionSet)}class nW{constructor(){this._data=new Map}has(e,n,t){var i;let a=null==(i=this._data.get(e))?void 0:i.get(n);return void 0!==a&&(!!t||t===a)}add(e,n,t){let i=this._data.get(e);void 0===i?this._data.set(e,new Map([[n,t]])):i.set(n,t)}}class nY{constructor(){this._orderedPairSet=new nW}has(e,n,t){return e<n?this._orderedPairSet.has(e,n,t):this._orderedPairSet.has(n,e,t)}add(e,n,t){e<n?this._orderedPairSet.add(e,n,t):this._orderedPairSet.add(n,e,t)}}function nH(e){return{InlineFragment(n){let t=e.getType(),i=e.getParentType();if(Y(t)&&Y(i)&&!ev(e.getSchema(),t,i)){let a=(0,f.inspect)(i),l=(0,f.inspect)(t);e.reportError(new m.GraphQLError(`Fragment cannot be spread here as objects of type "${a}" can never be of type "${l}".`,{nodes:n}))}},FragmentSpread(n){let t=n.name.value,i=function(e,n){let t=e.getFragment(n);if(t){let n=nm(e.getSchema(),t.typeCondition);if(Y(n))return n}}(e,t),a=e.getParentType();if(i&&a&&!ev(e.getSchema(),i,a)){let l=(0,f.inspect)(a),r=(0,f.inspect)(i);e.reportError(new m.GraphQLError(`Fragment "${t}" cannot be spread here as objects of type "${l}" can never be of type "${r}".`,{nodes:n}))}}}}function nX(e){let n=e.getSchema(),t=Object.create(null);for(let n of e.getDocument().definitions)nL(n)&&(t[n.name.value]=n);return{ScalarTypeExtension:i,ObjectTypeExtension:i,InterfaceTypeExtension:i,UnionTypeExtension:i,EnumTypeExtension:i,InputObjectTypeExtension:i};function i(i){var a;let l,r=i.name.value,s=t[r],o=null==n?void 0:n.getType(r);if(s?l=nZ[s.kind]:o&&(l=F(a=o)?E.Kind.SCALAR_TYPE_EXTENSION:x(a)?E.Kind.OBJECT_TYPE_EXTENSION:M(a)?E.Kind.INTERFACE_TYPE_EXTENSION:j(a)?E.Kind.UNION_TYPE_EXTENSION:$(a)?E.Kind.ENUM_TYPE_EXTENSION:G(a)?E.Kind.INPUT_OBJECT_TYPE_EXTENSION:void(0,ez.invariant)(!1,"Unexpected type: "+(0,f.inspect)(a))),l){if(l!==i.kind){let n=function(e){switch(e){case E.Kind.SCALAR_TYPE_EXTENSION:return"scalar";case E.Kind.OBJECT_TYPE_EXTENSION:return"object";case E.Kind.INTERFACE_TYPE_EXTENSION:return"interface";case E.Kind.UNION_TYPE_EXTENSION:return"union";case E.Kind.ENUM_TYPE_EXTENSION:return"enum";case E.Kind.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,ez.invariant)(!1,"Unexpected kind: "+(0,f.inspect)(e))}}(i.kind);e.reportError(new m.GraphQLError(`Cannot extend non-${n} type "${r}".`,{nodes:s?[s,i]:i}))}}else{let a=b(r,Object.keys({...t,...null==n?void 0:n.getTypeMap()}));e.reportError(new m.GraphQLError(`Cannot extend type "${r}" because it is not defined.`+h(a),{nodes:i.name}))}}}let nZ={[E.Kind.SCALAR_TYPE_DEFINITION]:E.Kind.SCALAR_TYPE_EXTENSION,[E.Kind.OBJECT_TYPE_DEFINITION]:E.Kind.OBJECT_TYPE_EXTENSION,[E.Kind.INTERFACE_TYPE_DEFINITION]:E.Kind.INTERFACE_TYPE_EXTENSION,[E.Kind.UNION_TYPE_DEFINITION]:E.Kind.UNION_TYPE_EXTENSION,[E.Kind.ENUM_TYPE_DEFINITION]:E.Kind.ENUM_TYPE_EXTENSION,[E.Kind.INPUT_OBJECT_TYPE_DEFINITION]:E.Kind.INPUT_OBJECT_TYPE_EXTENSION};function n0(e){return{...n1(e),Field:{leave(n){var t;let i=e.getFieldDef();if(!i)return!1;let a=new Set(null==(t=n.arguments)?void 0:t.map(e=>e.name.value));for(let t of i.args)if(!a.has(t.name)&&eh(t)){let a=(0,f.inspect)(t.type);e.reportError(new m.GraphQLError(`Field "${i.name}" argument "${t.name}" of type "${a}" is required, but it was not provided.`,{nodes:n}))}}}}}function n1(e){var n,t;let i=Object.create(null),a=e.getSchema();for(let e of null!=(n=null==a?void 0:a.getDirectives())?n:eK)i[e.name]=N(e.args.filter(eh),e=>e.name);for(let n of e.getDocument().definitions)if(n.kind===E.Kind.DIRECTIVE_DEFINITION){let e=null!=(t=n.arguments)?t:[];i[n.name.value]=N(e.filter(n2),e=>e.name.value)}return{Directive:{leave(n){let t=n.name.value,a=i[t];if(a){var l;let i=new Set((null!=(l=n.arguments)?l:[]).map(e=>e.name.value));for(let[l,r]of Object.entries(a))if(!i.has(l)){let i=V(r.type)?(0,f.inspect)(r.type):(0,C.print)(r.type);e.reportError(new m.GraphQLError(`Directive "@${t}" argument "${l}" of type "${i}" is required, but it was not provided.`,{nodes:n}))}}}}}}function n2(e){return e.type.kind===E.Kind.NON_NULL_TYPE&&null==e.defaultValue}function n4(e){return{Field(n){let t=e.getType(),i=n.selectionSet;
1if(t)if(W(el(t))){if(i){let a=n.name.value,l=(0,f.inspect)(t);e.reportError(new m.GraphQLError(`Field "${a}" must not have a selection since type "${l}" has no subfields.`,{nodes:i}))}}else if(i){if(0===i.selections.length){let i=n.name.value,a=(0,f.inspect)(t);e.reportError(new m.GraphQLError(`Field "${i}" of type "${a}" must have at least one field selected.`,{nodes:n}))}}else{let i=n.name.value,a=(0,f.inspect)(t);e.reportError(new m.GraphQLError(`Field "${i}" of type "${a}" must have a selection of subfields. Did you mean "${i} { ... }"?`,{nodes:n}))}}}}function n6(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}function n3(e,n,t){return{prev:e,key:n,typename:t}}function n9(e){let n=[],t=e;for(;t;)n.push(t.key),t=t.prev;return n.reverse()}function n8(e,n,t=n5){return function e(n,t,i,a){if(K(t))return null!=n?e(n,t.ofType,i,a):void i(n9(a),n,new m.GraphQLError(`Expected non-nullable type "${(0,f.inspect)(t)}" not to be null.`));if(null==n)return null;if(q(t)){let l=t.ofType;return eW(n)?Array.from(n,(n,t)=>e(n,l,i,n3(a,t,void 0))):[e(n,l,i,a)]}if(G(t)){if(!(0,k.isObjectLike)(n)||Array.isArray(n))return void i(n9(a),n,new m.GraphQLError(`Expected type "${t.name}" to be an object.`));let l=Object.create(null),r=t.getFields();for(let s of Object.values(r)){let r=n[s.name];if(void 0===r){if(void 0!==s.defaultValue)l[s.name]=s.defaultValue;else if(K(s.type)){let e=(0,f.inspect)(s.type);i(n9(a),n,new m.GraphQLError(`Field "${s.name}" of required type "${e}" was not provided.`))}continue}l[s.name]=e(r,s.type,i,n3(a,s.name,t.name))}for(let e of Object.keys(n))if(!r[e]){let l=b(e,Object.keys(t.getFields()));i(n9(a),n,new m.GraphQLError(`Field "${e}" is not defined by type "${t.name}".`+h(l)))}if(t.isOneOf){let e=Object.keys(l);1!==e.length&&i(n9(a),n,new m.GraphQLError(`Exactly one key must be specified for OneOf type "${t.name}".`));let r=e[0],s=l[r];null===s&&i(n9(a).concat(r),s,new m.GraphQLError(`Field "${r}" must be non-null.`))}return{...l}}if(W(t)){let e;try{e=t.parseValue(n)}catch(e){e instanceof m.GraphQLError?i(n9(a),n,e):i(n9(a),n,new m.GraphQLError(`Expected type "${t.name}". `+e.message,{originalError:e}));return}return void 0===e&&i(n9(a),n,new m.GraphQLError(`Expected type "${t.name}".`)),e}(0,ez.invariant)(!1,"Unexpected input type: "+(0,f.inspect)(t))}(e,n,t,void 0)}function n5(e,n,t){let i="Invalid value "+(0,f.inspect)(n);throw e.length>0&&(i+=` at "value${n6(e)}"`),t.message=i+": "+t.message,t}function n7(e,n,t){if(e){if(e.kind===E.Kind.VARIABLE){let i=e.name.value;if(null==t||void 0===t[i]||!tn(t,i))return;let a=t[i];if(null===a&&K(n))return;return a}if(K(n)){if(e.kind===E.Kind.NULL)return;return n7(e,n.ofType,t)}if(e.kind===E.Kind.NULL)return null;if(q(n)){let i=n.ofType;if(e.kind===E.Kind.LIST){let n=[];for(let a of e.values)if(te(a,t)){if(K(i))return;n.push(null)}else{let e=n7(a,i,t);if(void 0===e)return;n.push(e)}return n}let a=n7(e,i,t);if(void 0===a)return;return[a]}if(G(n)){if(e.kind!==E.Kind.OBJECT)return;let i=Object.create(null),a=N(e.fields,e=>e.name.value);for(let e of Object.values(n.getFields())){let n=a[e.name];if(!n||te(n.value,t)){if(void 0!==e.defaultValue)i[e.name]=e.defaultValue;else if(K(e.type))return;continue}let l=n7(n.value,e.type,t);if(void 0===l)return;i[e.name]=l}if(n.isOneOf){let e=Object.keys(i);if(1!==e.length||null===i[e[0]])return}return i}if(W(n)){let i;try{i=n.parseLiteral(e,t)}catch(e){return}if(void 0===i)return;return i}(0,ez.invariant)(!1,"Unexpected input type: "+(0,f.inspect)(n))}}function te(e,n){return e.kind===E.Kind.VARIABLE&&(null==n||void 0===n[e.name.value]||!tn(n,e.name.value))}function tn(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function tt(e,n,t,i){let a=[],l=null==i?void 0:i.maxErrors;try{let i=function(e,n,t,i){let a=Object.create(null);for(let l of n){let n=l.variable.name.value,r=nm(e,l.type);if(!Q(r)){let e=(0,C.print)(l.type);i(new m.GraphQLError(`Variable "$${n}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:l.type}));continue}if(!tl(t,n)){if(l.defaultValue)a[n]=n7(l.defaultValue,r);else if(K(r)){let e=(0,f.inspect)(r);i(new m.GraphQLError(`Variable "$${n}" of required type "${e}" was not provided.`,{nodes:l}))}continue}let s=t[n];if(null===s&&K(r)){let e=(0,f.inspect)(r);i(new m.GraphQLError(`Variable "$${n}" of non-null type "${e}" must not be null.`,{nodes:l}));continue}a[n]=n8(s,r,(e,t,a)=>{let r=`Variable "$${n}" got invalid value `+(0,f.inspect)(t);e.length>0&&(r+=` at "${n}${n6(e)}"`),i(new m.GraphQLError(r+"; "+a.message,{nodes:l,originalError:a}))})}return{...a}}(e,n,t,e=>{if(null!=l&&a.length>=l)throw new m.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");a.push(e)});if(0===a.length)return{coerced:i}}catch(e){a.push(e)}return{errors:a}}function ti(e,n,t){var i;let a=Object.create(null),l=N(null!=(i=n.arguments)?i:[],e=>e.name.value);for(let i of e.args){let e=i.name,r=i.type,s=l[e];
1if(!s){if(void 0!==i.defaultValue)a[e]=i.defaultValue;else if(K(r))throw new m.GraphQLError(`Argument "${e}" of required type "${(0,f.inspect)(r)}" was not provided.`,{nodes:n});continue}let o=s.value,u=o.kind===E.Kind.NULL;if(o.kind===E.Kind.VARIABLE){let n=o.name.value;if(null==t||!tl(t,n)){if(void 0!==i.defaultValue)a[e]=i.defaultValue;else if(K(r))throw new m.GraphQLError(`Argument "${e}" of required type "${(0,f.inspect)(r)}" was provided the variable "$${n}" which was not provided a runtime value.`,{nodes:o});continue}u=null==t[n]}if(u&&K(r))throw new m.GraphQLError(`Argument "${e}" of non-null type "${(0,f.inspect)(r)}" must not be null.`,{nodes:o});let p=n7(o,r,t);if(void 0===p)throw new m.GraphQLError(`Argument "${e}" has invalid value ${(0,C.print)(o)}.`,{nodes:o});a[e]=p}return{...a}}function ta(e,n,t){var i;let a=null==(i=n.directives)?void 0:i.find(n=>n.name.value===e.name);if(a)return ti(e,a,t)}function tl(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function tr(e,n,t,i,a){let l=new Map;return ts(e,n,t,i,a,l,new Set),l}function ts(e,n,t,i,a,l,r){for(let o of a.selections)switch(o.kind){case E.Kind.FIELD:{var s;if(!to(t,o))continue;let e=(s=o).alias?s.alias.value:s.name.value,n=l.get(e);void 0!==n?n.push(o):l.set(e,[o]);break}case E.Kind.INLINE_FRAGMENT:if(!to(t,o)||!tu(e,o,i))continue;ts(e,n,t,i,o.selectionSet,l,r);break;case E.Kind.FRAGMENT_SPREAD:{let a=o.name.value;if(r.has(a)||!to(t,o))continue;r.add(a);let s=n[a];if(!s||!tu(e,s,i))continue;ts(e,n,t,i,s.selectionSet,l,r)}}}function to(e,n){let t=ta(eJ,n,e);if((null==t?void 0:t.if)===!0)return!1;let i=ta(eM,n,e);return(null==i?void 0:i.if)!==!1}function tu(e,n,t){let i=n.typeCondition;if(!i)return!0;let a=nm(e,i);return a===t||!!H(a)&&e.isSubType(a,t)}function tp(e){return{OperationDefinition(n){if("subscription"===n.operation){let t=e.getSchema(),i=t.getSubscriptionType();if(i){let a=n.name?n.name.value:null,l=Object.create(null),r=e.getDocument(),s=Object.create(null);for(let e of r.definitions)e.kind===E.Kind.FRAGMENT_DEFINITION&&(s[e.name.value]=e);let o=tr(t,s,l,i,n.selectionSet);if(o.size>1){let n=[...o.values()].slice(1).flat();e.reportError(new m.GraphQLError(null!=a?`Subscription "${a}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:n}))}for(let n of o.values())n[0].name.value.startsWith("__")&&e.reportError(new m.GraphQLError(null!=a?`Subscription "${a}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:n}))}}}}}function td(e,n){let t=new Map;for(let i of e){let e=n(i),a=t.get(e);void 0===a?t.set(e,[i]):a.push(i)}return t}function tc(e){return{DirectiveDefinition(e){var n;let i=null!=(n=e.arguments)?n:[];return t(`@${e.name.value}`,i)},InterfaceTypeDefinition:n,InterfaceTypeExtension:n,ObjectTypeDefinition:n,ObjectTypeExtension:n};function n(e){var n,i;let a=e.name.value;for(let l of null!=(n=e.fields)?n:[]){let e=l.name.value;t(`${a}.${e}`,null!=(i=l.arguments)?i:[])}return!1}function t(n,t){for(let[i,a]of td(t,e=>e.name.value))a.length>1&&e.reportError(new m.GraphQLError(`Argument "${n}(${i}:)" can only be defined once.`,{nodes:a.map(e=>e.name)}));return!1}}function tf(e){return{Field:n,Directive:n};function n(n){var t;for(let[i,a]of td(null!=(t=n.arguments)?t:[],e=>e.name.value))a.length>1&&e.reportError(new m.GraphQLError(`There can be only one argument named "${i}".`,{nodes:a.map(e=>e.name)}))}}function tm(e){let n=Object.create(null),t=e.getSchema();return{DirectiveDefinition(i){let a=i.name.value;return null!=t&&t.getDirective(a)?void e.reportError(new m.GraphQLError(`Directive "@${a}" already exists in the schema. It cannot be redefined.`,{nodes:i.name})):(n[a]?e.reportError(new m.GraphQLError(`There can be only one directive named "@${a}".`,{nodes:[n[a],i.name]})):n[a]=i.name,!1)}}}function ty(e){let n=Object.create(null),t=e.getSchema();for(let e of t?t.getDirectives():eK)n[e.name]=!e.isRepeatable;for(let t of e.getDocument().definitions)t.kind===E.Kind.DIRECTIVE_DEFINITION&&(n[t.name.value]=!t.repeatable);let i=Object.create(null),a=Object.create(null),l=Object.create(null);return{enter(t){let r;
1if("directives"in t&&t.directives){if(t.kind===E.Kind.SCHEMA_DEFINITION||t.kind===E.Kind.SCHEMA_EXTENSION)r=i;else if(nL(t)||nS(t)){let e=t.name.value;void 0===(r=a[e])&&(a[e]=r=Object.create(null))}else if(t.kind===E.Kind.DIRECTIVE_DEFINITION||t.kind===E.Kind.DIRECTIVE_EXTENSION){let e=t.name.value;void 0===(r=l[e])&&(l[e]=r=Object.create(null))}else r=Object.create(null);for(let i of t.directives){let t=i.name.value;n[t]&&(r[t]?e.reportError(new m.GraphQLError(`The directive "@${t}" can only be used once at this location.`,{nodes:[r[t],i]})):r[t]=i)}}}}}function th(e){let n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),i=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(n){var a;let l=n.name.value;i[l]||(i[l]=Object.create(null));let r=null!=(a=n.values)?a:[],s=i[l];for(let n of r){let i=n.name.value,a=t[l];$(a)&&a.getValue(i)?e.reportError(new m.GraphQLError(`Enum value "${l}.${i}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:n.name})):s[i]?e.reportError(new m.GraphQLError(`Enum value "${l}.${i}" can only be defined once.`,{nodes:[s[i],n.name]})):s[i]=n.name}return!1}}function tT(e){let n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:a,InputObjectTypeExtension:a,InterfaceTypeDefinition:a,InterfaceTypeExtension:a,ObjectTypeDefinition:a,ObjectTypeExtension:a};function a(n){var a,l,r;let s=n.name.value;i[s]||(i[s]=Object.create(null));let o=null!=(a=n.fields)?a:[],u=i[s];for(let n of o){let i=n.name.value;(l=t[s],r=i,(x(l)||M(l)||G(l))&&null!=l.getFields()[r])?e.reportError(new m.GraphQLError(`Field "${s}.${i}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:n.name})):u[i]?e.reportError(new m.GraphQLError(`Field "${s}.${i}" can only be defined once.`,{nodes:[u[i],n.name]})):u[i]=n.name}return!1}}function tg(e){let n=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(t){let i=t.name.value;return n[i]?e.reportError(new m.GraphQLError(`There can be only one fragment named "${i}".`,{nodes:[n[i],t.name]})):n[i]=t.name,!1}}}function tk(e){let n=[],t=Object.create(null);return{ObjectValue:{enter(){n.push(t),t=Object.create(null)},leave(){let e=n.pop();e||(0,ez.invariant)(!1),t=e}},ObjectField(n){let i=n.name.value;t[i]?e.reportError(new m.GraphQLError(`There can be only one input field named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name}}}function tN(e){let n=Object.create(null);return{OperationDefinition(t){let i=t.name;return i&&(n[i.value]?e.reportError(new m.GraphQLError(`There can be only one operation named "${i.value}".`,{nodes:[n[i.value],i]})):n[i.value]=i),!1},FragmentDefinition:()=>!1}}function tL(e){let n=e.getSchema(),t=Object.create(null),i=n?{query:n.getQueryType(),mutation:n.getMutationType(),subscription:n.getSubscriptionType()}:{};return{SchemaDefinition:a,SchemaExtension:a};function a(n){var a;for(let l of null!=(a=n.operationTypes)?a:[]){let n=l.operation,a=t[n];i[n]?e.reportError(new m.GraphQLError(`Type for ${n} already defined in the schema. It cannot be redefined.`,{nodes:l})):a?e.reportError(new m.GraphQLError(`There can be only one ${n} type in schema.`,{nodes:[a,l]})):t[n]=l}return!1}}function tR(e){let n=Object.create(null),t=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){let a=i.name.value;return null!=t&&t.getType(a)?void e.reportError(new m.GraphQLError(`Type "${a}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:i.name})):(n[a]?e.reportError(new m.GraphQLError(`There can be only one type named "${a}".`,{nodes:[n[a],i.name]})):n[a]=i.name,!1)}}function tS(e){return{OperationDefinition(n){var t;for(let[i,a]of td(null!=(t=n.variableDefinitions)?t:[],e=>e.variable.name.value))a.length>1&&e.reportError(new m.GraphQLError(`There can be only one variable named "$${i}".`,{nodes:a.map(e=>e.variable.name)}))}}}function tA(e){return{ListValue(n){if(!q(ei(e.getParentInputType())))return tO(e,n),!1},ObjectValue(n){let t=el(e.getInputType());if(!G(t))return tO(e,n),!1;let i=N(n.fields,e=>e.name.value);for(let a of Object.values(t.getFields()))if(!i[a.name]&&eO(a)){let i=(0,f.inspect)(a.type);e.reportError(new m.GraphQLError(`Field "${t.name}.${a.name}" of required type "${i}" was not provided.`,{nodes:n}))}t.isOneOf&&function(e,n,t,i){var a;let l=Object.keys(i);if(1!==l.length)return e.reportError(new m.GraphQLError(`OneOf Input Object "${t.name}" must specify exactly one key.`,{nodes:[n]}));let r=null==(a=i[l[0]])?void 0:a.value;r&&r.kind!==E.Kind.NULL||e.reportError(new m.GraphQLError(`Field "${t.name}.${l[0]}" must be non-null.`,{nodes:[n]}))}(e,n,t,i)},ObjectField(n){let t=el(e.getParentInputType());if(!e.getInputType()&&G(t)){let i=b(n.name.value,Object.keys(t.getFields()));e.reportError(new m.GraphQLError(`Field "${n.name.value}" is not defined by type "${t.name}".`+h(i),{nodes:n}))}}
1,NullValue(n){let t=e.getInputType();K(t)&&e.reportError(new m.GraphQLError(`Expected value of type "${(0,f.inspect)(t)}", found ${(0,C.print)(n)}.`,{nodes:n}))},EnumValue:n=>tO(e,n),IntValue:n=>tO(e,n),FloatValue:n=>tO(e,n),StringValue:n=>tO(e,n),BooleanValue:n=>tO(e,n)}}function tO(e,n){let t=e.getInputType();if(!t)return;let i=el(t);if(!W(i)){let i=(0,f.inspect)(t);e.reportError(new m.GraphQLError(`Expected value of type "${i}", found ${(0,C.print)(n)}.`,{nodes:n}));return}try{let a=i.parseLiteral(n,void 0);if(void 0===a){let i=(0,f.inspect)(t);e.reportError(new m.GraphQLError(`Expected value of type "${i}", found ${(0,C.print)(n)}.`,{nodes:n}))}}catch(a){let i=(0,f.inspect)(t);a instanceof m.GraphQLError?e.reportError(a):e.reportError(new m.GraphQLError(`Expected value of type "${i}", found ${(0,C.print)(n)}; `+a.message,{nodes:n,originalError:a}))}}function tb(e){return{VariableDefinition(n){let t=nm(e.getSchema(),n.type);if(void 0!==t&&!Q(t)){let t=n.variable.name.value,i=(0,C.print)(n.type);e.reportError(new m.GraphQLError(`Variable "$${t}" cannot be non-input type "${i}".`,{nodes:n.type}))}}}}function tD(e){let n=Object.create(null);return{OperationDefinition:{enter(){n=Object.create(null)},leave(t){for(let{node:o,type:u,defaultValue:p,parentType:d}of e.getRecursiveVariableUsages(t)){let t=o.name.value,c=n[t];if(c&&u){var i,a,l,r,s;let n=e.getSchema(),y=nm(n,c.type);if(y&&(i=n,a=y,l=c.defaultValue,r=u,s=p,K(r)&&!K(a)?!((null!=l&&l.kind!==E.Kind.NULL||void 0!==s)&&eD(i,a,r.ofType)):!eD(i,a,r))){let n=(0,f.inspect)(y),i=(0,f.inspect)(u);e.reportError(new m.GraphQLError(`Variable "$${t}" of type "${n}" used in position expecting type "${i}".`,{nodes:[c,o]}))}G(d)&&d.isOneOf&&en(y)&&e.reportError(new m.GraphQLError(`Variable "$${t}" is of type "${y}" but must be non-nullable to be used for OneOf Input Object "${d}".`,{nodes:[c,o]}))}}}},VariableDefinition(e){n[e.variable.name.value]=e}}}let tv=Object.freeze([nP]),t_=Object.freeze([nA,tN,nw,tp,nC,nb,tb,n4,nO,tg,nE,nx,nH,nV,tS,nF,nB,n_,ty,nD,tf,tA,n0,tD,nJ,tk,...tv]),tE=Object.freeze([nU,tL,tR,th,tT,tc,tm,nC,n_,ty,nX,nv,tf,tk,n1]);class tC{constructor(e,n){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let n;if(this._fragments)n=this._fragments;else{for(let e of(n=Object.create(null),this.getDocument().definitions))e.kind===E.Kind.FRAGMENT_DEFINITION&&(n[e.name.value]=e);this._fragments=n}return n[e]}getFragmentSpreads(e){let n=this._fragmentSpreads.get(e);if(!n){let t;n=[];let i=[e];for(;t=i.pop();)for(let e of t.selections)e.kind===E.Kind.FRAGMENT_SPREAD?n.push(e):e.selectionSet&&i.push(e.selectionSet);this._fragmentSpreads.set(e,n)}return n}getRecursivelyReferencedFragments(e){let n=this._recursivelyReferencedFragments.get(e);if(!n){let t;n=[];let i=Object.create(null),a=[e.selectionSet];for(;t=a.pop();)for(let e of this.getFragmentSpreads(t)){let t=e.name.value;if(!0!==i[t]){i[t]=!0;let e=this.getFragment(t);e&&(n.push(e),a.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,n)}return n}}class tI extends tC{constructor(e,n,t){super(e,t),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class tw extends tC{constructor(e,n,t,i){super(n,i),this._schema=e,this._typeInfo=t,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let n=this._variableUsages.get(e);if(!n){let t=[],i=new ny(this._schema);(0,nf.visit)(e,nT(i,{VariableDefinition:()=>!1,Variable(e){t.push({node:e,type:i.getInputType(),defaultValue:i.getDefaultValue(),parentType:i.getParentInputType()})}})),n=t,this._variableUsages.set(e,n)}return n}getRecursiveVariableUsages(e){let n=this._recursiveVariableUsages.get(e);if(!n){for(let t of(n=this.getVariableUsages(e),this.getRecursivelyReferencedFragments(e)))n=n.concat(this.getVariableUsages(t));this._recursiveVariableUsages.set(e,n)}return n}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}let tU=R(y.QueryDocumentKeys,e=>e.filter(e=>"description"!==e));function tP(e,n,t=t_,i,a=new ny(e)){var l;let r=null!=(l=null==i?void 0:i.maxErrors)?l:100;n||(0,p.devAssert)(!1,"Must provide document."),nr(e);let s=Object.freeze({}),o=[],u=new tw(e,n,a,e=>{if(o.length>=r)throw o.push(new m.GraphQLError("Too many validation errors, error limit reached. Validation aborted.")),s;o.push(e)}),d=(0,nf.visitInParallel)(t.map(e=>e(u)));try{(0,nf.visit)(n,nT(a,d),tU)}catch(e){if(e!==s)throw e}return o}function tV(e,n,t=tE){let i=[],a=new tI(e,n,e=>{i.push(e)}),l=t.map(e=>e(a));return(0,nf.visit)(e,(0,nf.visitInParallel)(l)),i}function tF(e){return Promise.all(Object.values(e)).then(n=>{let t=Object.create(null);for(let[i,a]of Object.keys(e).entries())t[a]=n[i];return t})}
1class tx extends Error{constructor(e){super("Unexpected error value: "+(0,f.inspect)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function tB(e,n,t){var i;let a=e instanceof Error?e:new tx(e);return Array.isArray(a.path)?a:new m.GraphQLError(a.message,{nodes:null!=(i=a.nodes)?i:n,source:a.source,positions:a.positions,path:t,originalError:a})}let tM=(a=(e,n,t)=>(function(e,n,t,i,a){let l=new Map,r=new Set;for(let s of a)s.selectionSet&&ts(e,n,t,i,s.selectionSet,l,r);return l})(e.schema,e.fragments,e.variableValues,n,t),function(e,t,i){void 0===n&&(n=new WeakMap);let l=n.get(e);void 0===l&&(l=new WeakMap,n.set(e,l));let r=l.get(t);void 0===r&&(r=new WeakMap,l.set(t,r));let s=r.get(i);return void 0===s&&(s=a(e,t,i),r.set(i,s)),s});class tJ{constructor(){this._errorPositions=new Set,this._errors=[]}get errors(){return this._errors}add(e,n){this._hasNulledPosition(n)||(this._errorPositions.add(n),this._errors.push(e))}_hasNulledPosition(e){let n=e;for(;void 0!==n;){if(this._errorPositions.has(n))return!0;n=n.prev}return this._errorPositions.has(void 0)}}function tj(e){arguments.length<2||(0,p.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:n,document:t,variableValues:i,rootValue:a}=e;tq(n,t,i);let l=tK(e);if(!("schema"in l))return{errors:l};try{let{operation:e}
1=l,n=function(e,n,t){let i=e.schema.getRootType(n.operation);if(null==i)throw new m.GraphQLError(`Schema is not configured to execute ${n.operation} operation.`,{nodes:n});let a=tr(e.schema,e.fragments,e.variableValues,i,n.selectionSet),l;switch(n.operation){case y.OperationTypeNode.QUERY:return tQ(e,i,t,l,a);case y.OperationTypeNode.MUTATION:var r,s,o,u,p;return r=e,s=i,o=t,u=l,p=a,function(e,n,t){let i=t;for(let t of e)i=d(i)?i.then(e=>n(e,t)):n(i,t);return i}(p.entries(),(e,[n,t])=>{let i=n3(u,n,s.name),a=tz(r,s,o,t,i);return void 0===a?e:d(a)?a.then(t=>(e[n]=t,e)):(e[n]=a,e)},Object.create(null));case y.OperationTypeNode.SUBSCRIPTION:return tQ(e,i,t,l,a)}}(l,e,a);if(d(n))return n.then(e=>tG(e,l.collectedErrors.errors),e=>(l.collectedErrors.add(e,void 0),tG(null,l.collectedErrors.errors)));return tG(n,l.collectedErrors.errors)}catch(e){return l.collectedErrors.add(e,void 0),tG(null,l.collectedErrors.errors)}}function t$(e){let n=tj(e);if(d(n))throw Error("GraphQL execution failed to complete synchronously.");return n}function tG(e,n){return 0===n.length?{data:e}:{errors:n,data:e}}function tq(e,n,t){n||(0,p.devAssert)(!1,"Must provide document."),nr(e),null==t||(0,k.isObjectLike)(t)||(0,p.devAssert)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function tK(e){var n,t,i;let a,{schema:l,document:r,rootValue:s,contextValue:o,variableValues:u,operationName:p,fieldResolver:d,typeResolver:c,subscribeFieldResolver:f,options:y}=e,h=Object.create(null);for(let e of r.definitions)switch(e.kind){case E.Kind.OPERATION_DEFINITION:if(null==p){if(void 0!==a)return[new m.GraphQLError("Must provide operation name if query contains multiple operations.")];a=e}else(null==(n=e.name)?void 0:n.value)===p&&(a=e);break;case E.Kind.FRAGMENT_DEFINITION:h[e.name.value]=e}if(!a)return null!=p?[new m.GraphQLError(`Unknown operation named "${p}".`)]:[new m.GraphQLError("Must provide an operation.")];let T=tt(l,null!=(t=a.variableDefinitions)?t:[],null!=u?u:{},{maxErrors:null!=(i=null==y?void 0:y.maxCoercionErrors)?i:50});return T.errors?T.errors:{schema:l,fragments:h,rootValue:s,contextValue:o,operation:a,variableValues:T.coerced,fieldResolver:null!=d?d:t2,typeResolver:null!=c?c:t1,subscribeFieldResolver:null!=f?f:t2,collectedErrors:new tJ}}function tQ(e,n,t,i,a){let l=Object.create(null),r=!1;try{for(let[s,o]of a.entries()){let a=n3(i,s,n.name),u=tz(e,n,t,o,a);void 0!==u&&(l[s]=u,d(u)&&(r=!0))}}catch(e){if(r)return tF(l).finally(()=>{throw e});throw e}return r?tF(l):l}function tz(e,n,t,i,a){var l;let r=t4(e.schema,n,i[0]);if(!r)return;let s=r.type,o=null!=(l=r.resolve)?l:e.fieldResolver,u=tW(e,r,i,n,a);try{let n,l=ti(r,i[0],e.variableValues),p=e.contextValue,c=o(t,l,p,u);if(n=d(c)?c.then(n=>tH(e,s,i,u,a,n)):tH(e,s,i,u,a,c),d(n))return n.then(void 0,n=>{let t=tB(n,i,n9(a));return tY(t,s,a,e)});return n}catch(n){return tY(tB(n,i,n9(a)),s,a,e)}}function tW(e,n,t,i,a){return{fieldName:n.name,fieldNodes:t,returnType:n.type,parentType:i,path:a,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function tY(e,n,t,i){if(K(n))throw e;return i.collectedErrors.add(e,t),null}function tH(e,n,t,i,a,l){var r,s,o,u,p,c,y;let h;if(l instanceof Error)throw l;if(K(n)){let r=tH(e,n.ofType,t,i,a,l);if(null===r)throw Error(`Cannot return null for non-nullable field ${i.parentType.name}.${i.fieldName}.`);return r}return null==l?null:q(n)?function(e,n,t,i,a,l){if(!eW(l))throw new m.GraphQLError(`Expected Iterable, but did not find one for field "${i.parentType.name}.${i.fieldName}".`);let r=n.ofType,s=!1,o=Array.from(l,(n,l)=>{let o=n3(a,l,void 0);try{let a;if(a=d(n)?n.then(n=>tH(e,r,t,i,o,n)):tH(e,r,t,i,o,n),d(a))return s=!0,a.then(void 0,n=>{let i=tB(n,t,n9(o));return tY(i,r,o,e)});return a}catch(n){return tY(tB(n,t,n9(o)),r,o,e)}});return s?Promise.all(o):o}(e,n,t,i,a,l):W(n)?function(e,n){let t=e.serialize(n);if(null==t)throw Error(`Expected \`${(0,f.inspect)(e)}.serialize(${(0,f.inspect)(n)})\` to return non-nullable value, returned: ${(0,f.inspect)(t)}`);return t}(n,l):H(n)?(r=e,s=n,o=t,u=i,p=a,c=l,d(h=(null!=(y=s.resolveType)?y:r.typeResolver)(c,r.contextValue,u,s))?h.then(e=>tZ(r,tX(e,r,s,o,u,c),o,u,p,c)):tZ(r,tX(h,r,s,o,u,c),o,u,p,c)):x(n)?tZ(e,n,t,i,a,l):void(0,ez.invariant)(!1,"Cannot complete value of unexpected output type: "+(0,f.inspect)(n))}function tX(e,n,t,i,a,l){if(null==e)throw new m.GraphQLError(`Abstract type "${t.name}" must resolve to an Object type at runtime for field "${a.parentType.name}.${a.fieldName}". Either the "${t.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,i);if(x(e))throw new m.GraphQLError("Support for returning GraphQLObjectType from resolveType was removed in [email protected] please return type name instead.");if("string"!=typeof e)throw new m.GraphQLError(`Abstract type "${t.name}" must resolve to an Object type at runtime for field "${a.parentType.name}.${a.fieldName}" with value ${(0,f.inspect)(l)}, received "${(0,f.inspect)(e)}".`);let r=n.schema.getType(e);if(null==r)throw new m.GraphQLError(`Abstract type "${t.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:i});if(!x(r))throw new m.GraphQLError(`Abstract type "${t.name}" was resolved to a non-object type "${e}".`,{nodes:i});if(!n.schema.isSubType(t,r))throw new m.GraphQLError(`Runtime Object type "${r.name}" is not a possible type for "${t.name}".`,{nodes:i});return r}function tZ(e,n,t,i,a,l){let r=tM(e,n,t);if(n.isTypeOf){let s=n.isTypeOf(l,e.contextValue,i);if(d(s))return s.then(i=>{if(!i)throw t0(n,l,t);return tQ(e,n,l,a,r)});if(!s)throw t0(n,l,t)}return tQ(e,n,l,a,r)}function t0(e,n,t){return new m.GraphQLError(`Expected value of type "${e.name}" but got: ${(0,f.inspect)(n)}.`,{nodes:t})}let t1=function(e,n,t,i){if((0,k.isObjectLike)(e)&&"string"==typeof e.__typename)return e.__typename;let a=t.schema.getPossibleTypes(i),l=[];for(let i=0;i<a.length;i++){let r=a[i];if(r.isTypeOf){let a=r.isTypeOf(e,n,t);if(d(a))l[i]=a;else if(a)return l.length&&Promise.allSettled(l).catch(()=>{}),r.name}}if(l.length)return Promise.all(l).then(e=>{for(let n=0;n<e.length;n++)if(e[n])return a[n].name})},t2=function(e,n,t,i){if((0,k.isObjectLike)(e)||"function"==typeof e){let a=e[i.fieldName];return"function"==typeof a?e[i.fieldName](n,t,i):a}};function t4(e,n,t){let i=t.name.value;return i===e9.name&&e.getQueryType()===n?e9:i===e8.name&&e.getQueryType()===n?e8:i===e5.name?e5:n.getFields()[i]}function t6(e){let n;arguments.length<2||(0,p.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");
1let{schema:t,source:i,rootValue:a,contextValue:l,variableValues:r,operationName:s,fieldResolver:o,typeResolver:u}=e,d=nl(t);if(d.length>0)return{errors:d};try{n=(0,c.parse)(i)}catch(e){return{errors:[e]}}let f=tP(t,n);return f.length>0?{errors:f}:tj({schema:t,document:n,rootValue:a,contextValue:l,variableValues:r,operationName:s,fieldResolver:o,typeResolver:u})}var t3=e.i(993064),t9=e.i(555443),t8=e.i(418472),t5=e.i(458111),t7=e.i(374753);function ie(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function it(e){arguments.length<2||(0,p.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let n=await ii(e);if(!ie(n))return n;let t=n[Symbol.asyncIterator]();async function i(n){if(n.done)return n;try{let t;return{value:await (t=n.value,tj({...e,rootValue:t})),done:!1}}catch(e){if("function"==typeof t.return)try{await t.return()}catch(e){}throw e}}return{next:async()=>i(await t.next()),return:async()=>"function"==typeof t.return?i(await t.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof t.throw)return i(await t.throw(e));throw e},[Symbol.asyncIterator](){return this}}}async function ii(...e){let n,t=(n=e[0])&&"document"in n?n:{schema:n,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]},{schema:i,document:a,variableValues:l}=t;tq(i,a,l);let r=tK(t);if(!("schema"in r))return{errors:r};try{let e=await ia(r);if(!ie(e))throw Error(`Subscription field must return Async Iterable. Received: ${(0,f.inspect)(e)}.`);return e}catch(e){if(e instanceof m.GraphQLError)return{errors:[e]};throw e}}async function ia(e){let{schema:n,fragments:t,operation:i,variableValues:a,rootValue:l}=e,r=n.getSubscriptionType();if(null==r)throw new m.GraphQLError("Schema is not configured to execute subscription operation.",{nodes:i});let[s,o]=[...tr(n,t,a,r,i.selectionSet).entries()][0],u=t4(n,r,o[0]);if(!u){let e=o[0].name.value;throw new m.GraphQLError(`The subscription field "${e}" is not defined.`,{nodes:o})}let p=n3(void 0,s,r.name),d=tW(e,u,o,r,p);try{var c;let n=ti(u,o[0],a),t=e.contextValue,i=null!=(c=u.subscribe)?c:e.subscribeFieldResolver,r=await i(l,n,t,d);if(r instanceof Error)throw r;return r}catch(e){throw tB(e,o,n9(p))}}var il=e.i(960229);function ir(e){let n={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,experimentalDirectiveDeprecation:!1,oneOf:!1,typeDepth:9,...e},t=n.descriptions?"description":"",i=n.specifiedByUrl?"specifiedByURL":"",a=n.directiveIsRepeatable?"isRepeatable":"",l=n.schemaDescription?t:"";function r(e){return n.inputValueDeprecation?e:""}function s(e){return n.experimentalDirectiveDeprecation?e:""}let o=n.oneOf?"isOneOf":"";return` 2 query IntrospectionQuery { 3 __schema { 4 ${l} 5 queryType { name kind } 6 mutationType { name kind } 7 subscriptionType { name kind } 8 types { 9 ...FullType 10 } 11 directives${s("(includeDeprecated: true)")} { 12 name 13 ${t} 14 ${a} 15 ${s("isDeprecated")} 16 ${s("deprecationReason")} 17 locations 18 args${r("(includeDeprecated: true)")} { 19 ...InputValue 20 } 21 } 22 } 23 } 24 25 fragment FullType on __Type { 26 kind 27 name 28 ${t} 29 ${i} 30 ${o} 31 fields(includeDeprecated: true) { 32 name 33 ${t} 34 args${r("(includeDeprecated: true)")} { 35 ...InputValue 36 } 37 type { 38 ...TypeRef 39 } 40 isDeprecated 41 deprecationReason 42 } 43 inputFields${r("(includeDeprecated: true)")} { 44 ...InputValue 45 } 46 interfaces { 47 ...TypeRef 48 } 49 enumValues(includeDeprecated: true) { 50 name 51 ${t} 52 isDeprecated 53 deprecationReason 54 } 55 possibleTypes { 56 ...TypeRef 57 } 58 } 59 60 fragment InputValue on __InputValue { 61 name 62 ${t} 63 type { ...TypeRef } 64 defaultValue 65 ${r("isDeprecated")} 66 ${r("deprecationReason")} 67 } 68 69 fragment TypeRef on __Type { 70 kind 71 name${function e(n,t){if(n<=0)return"";if(n>100)throw Error("Please set typeDepth to a reasonable value between 0 and 100; the default is 9.");return` 72${t}ofType { 73${t} name 74${t} kind${e(n-1,t+" ")} 75${t}}`}(n.typeDepth," ")} 76 } 77 `}function is(e,n,t){var i,a,l,r,s,o;let u,p=[],d=Object.create(null),c=Object.create(null),m=[],y=[];for(let e of n.definitions)if(e.kind===E.Kind.SCHEMA_DEFINITION)u=e;else if(e.kind===E.Kind.SCHEMA_EXTENSION)y.push(e);else if(nL(e))p.push(e);else if(nS(e)){let n=e.name.value,t=d[n];d[n]=t?t.concat([e]):[e]}else if(e.kind===E.Kind.DIRECTIVE_DEFINITION)m.push(e);else if(e.kind===E.Kind.DIRECTIVE_EXTENSION){let n=e.name.value,t=c[n];c[n]=t?t.concat([e]):[e]}if(0===Object.keys(d).length&&0===p.length&&0===Object.keys(c).length&&0===m.length&&0===y.length&&null==u)return e;let h=Object.create(null);for(let n of e.types){h[n.name]=ne(o=n)||eV(o)?o:F(o)?function(e){var n,t;let i=e.toConfig(),a=null!=(n=d[i.name])?n:[],l=i.specifiedByURL;for(let e of a)l=null!=(t=ip(e))?t:l;return new eo({...i,specifiedByURL:l,extensionASTNodes:i.extensionASTNodes.concat(a)})}(o):x(o)?function(e){var n;let t=e.toConfig(),i=null!=(n=d[t.name])?n:[];return new eu({...t,interfaces:()=>[...e.getInterfaces().map(L),...w(i)],fields:()=>({...R(t.fields,S),...v(i)}),extensionASTNodes:t.extensionASTNodes.concat(i)})}(o):M(o)?function(e){var n;let t=e.toConfig(),i=null!=(n=d[t.name])?n:[];return new eT({...t,interfaces:()=>[...e.getInterfaces().map(L),...w(i)],fields:()=>({...R(t.fields,S),...v(i)}),extensionASTNodes:t.extensionASTNodes.concat(i)})}(o):j(o)?function(e){var n;let t=e.toConfig(),i=null!=(n=d[t.name])?n:[];return new eg({...t,types:()=>[...e.getTypes().map(L),...U(i)],extensionASTNodes:t.extensionASTNodes.concat(i)})}(o):$(o)?function(e){var n;let t=e.toConfig(),i=null!=(n=d[e.name])?n:[];return new eN({...t,values:{...t.values,...I(i)},extensionASTNodes:t.extensionASTNodes.concat(i)})}(o):G(o)?function(e){var n;let t=e.toConfig(),i=null!=(n=d[t.name])?n:[];return new eS({...t,fields:()=>({...R(t.fields,e=>({...e,type:N(e.type)})),...C(i)}),extensionASTNodes:t.extensionASTNodes.concat(i)})}(o):void(0,ez.invariant)(!1,"Unexpected type: "+(0,f.inspect)(o))}for(let e of p){let n=e.name.value;h[n]=null!=(s=io[n])?s:function(e){var n,t,i,a,l,r,s;let o=e.name.value,u=null!=(n=d[o])?n:[];switch(e.kind){case E.Kind.OBJECT_TYPE_DEFINITION:{let n=[e,...u];return new eu({name:o,description:null==(t=e.description)?void 0:t.value,interfaces:()=>w(n),fields:()=>v(n),astNode:e,extensionASTNodes:u})}case E.Kind.INTERFACE_TYPE_DEFINITION:{let n=[e,...u];return new eT({name:o,description:null==(i=e.description)?void 0:i.value,interfaces:()=>w(n),fields:()=>v(n),astNode:e,extensionASTNodes:u})}case E.Kind.ENUM_TYPE_DEFINITION:{let n=[e,...u];return new eN({name:o,description:null==(a=e.description)?void 0:a.value,values:I(n),astNode:e,extensionASTNodes:u})}case E.Kind.UNION_TYPE_DEFINITION:{let n=[e,...u];return new eg({name:o,description:null==(l=e.description)?void 0:l.value,types:()=>U(n),astNode:e,extensionASTNodes:u})}case E.Kind.SCALAR_TYPE_DEFINITION:return new eo({name:o,description:null==(r=e.description)?void 0:r.value,specifiedByURL:ip(e),astNode:e,extensionASTNodes:u});case E.Kind.INPUT_OBJECT_TYPE_DEFINITION:{let n=[e,...u];return new eS({name:o,description:null==(s=e.description)?void 0:s.value,fields:()=>C(n),astNode:e,extensionASTNodes:u,isOneOf:!!ta(eq,e)})}}}(e)}let T=Object.create(null);for(let n of e.directives)T[n.name]=function(e){var n,t;let i=e.toConfig(),a=null!=(n=c[i.name])?n:[],l=null!=(t=i.deprecationReason)?t:a.map(e=>iu(e)).find(e=>null!=e);return new eB({...i,deprecationReason:l,extensionASTNodes:i.extensionASTNodes.concat(a)})}(n);let g={query:e.query&&L(e.query),mutation:e.mutation&&L(e.mutation),subscription:e.subscription&&L(e.subscription),...u&&O([u]),...O(y)},k=Object.values(T);return{description:null==(i=u)||null==(a=i.description)?void 0:a.value,...g,types:Object.values(h),directives:[...k.map(function(e){let n=e.toConfig();return new eB({...n,args:R(n.args,A)})}),...m.map(function(e){var n,t,i;let a=null!=(n=c[e.name.value])?n:[],l=null!=(t=iu(e))?t:a.map(e=>iu(e)).find(e=>null!=e);return new eB({name:e.name.value,description:null==(i=e.description)?void 0:i.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:_(e.arguments),deprecationReason:l,astNode:e,extensionASTNodes:a})})],extensions:Object.create(null),astNode:null!=(l=u)?l:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(y),assumeValid:null!=(r=null==t?void 0:t.assumeValid)&&r};function N(e){return q(e)?new X(N(e.ofType)):K(e)?new Z(N(e.ofType)):L(e)}function L(e){return h[e.name]}function S(e){return{...e,type:N(e.type),args:e.args&&R(e.args,A)}}function A(e){return{...e,type:N(e.type)}}function O(e){let n={};for(let i of e){var t;for(let e of null!=(t=i.operationTypes)?t:[])n[e.operation]=b(e.type)}return n}function b(e){var n;let t=e.name.value,i=null!=(n=io[t])?n:h[t];
77if(void 0===i)throw Error(`Unknown type: "${t}".`);return i}function D(e){return e.kind===E.Kind.LIST_TYPE?new X(D(e.type)):e.kind===E.Kind.NON_NULL_TYPE?new Z(D(e.type)):b(e)}function v(e){let n=Object.create(null);for(let a of e){var t,i;for(let e of null!=(t=a.fields)?t:[])n[e.name.value]={type:D(e.type),description:null==(i=e.description)?void 0:i.value,args:_(e.arguments),deprecationReason:iu(e),astNode:e}}return n}function _(e){let n=Object.create(null);for(let i of null!=e?e:[]){var t;let e=D(i.type);n[i.name.value]={type:e,description:null==(t=i.description)?void 0:t.value,defaultValue:n7(i.defaultValue,e),deprecationReason:iu(i),astNode:i}}return n}function C(e){let n=Object.create(null);for(let a of e){var t,i;for(let e of null!=(t=a.fields)?t:[]){let t=D(e.type);n[e.name.value]={type:t,description:null==(i=e.description)?void 0:i.value,defaultValue:n7(e.defaultValue,t),deprecationReason:iu(e),astNode:e}}}return n}function I(e){let n=Object.create(null);for(let a of e){var t,i;for(let e of null!=(t=a.values)?t:[])n[e.name.value]={description:null==(i=e.description)?void 0:i.value,deprecationReason:iu(e),astNode:e}}return n}function w(e){return e.flatMap(e=>{var n,t;return null!=(n=null==(t=e.interfaces)?void 0:t.map(b))?n:[]})}function U(e){return e.flatMap(e=>{var n,t;return null!=(n=null==(t=e.types)?void 0:t.map(b))?n:[]})}}let io=N([...eP,...e7],e=>e.name);function iu(e){let n=ta(e$,e);return null==n?void 0:n.reason}function ip(e){let n=ta(eG,e);return null==n?void 0:n.url}function id(e,n){null!=e&&e.kind===E.Kind.DOCUMENT||(0,p.devAssert)(!1,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&function(e){let n=tV(e);if(0!==n.length)throw Error(n.map(e=>e.message).join("\n\n"))}(e);let t=is({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,n);if(null==t.astNode)for(let e of t.types)switch(e.name){case"Query":t.query=e;break;case"Mutation":t.mutation=e;break;case"Subscription":t.subscription=e}let i=[...t.directives,...eK.filter(e=>t.directives.every(n=>n.name!==e.name))];return new ni({...t,directives:i})}function ic(e,n){let t=Object.create(null);for(let i of Object.keys(e).sort(S))t[i]=n(e[i]);return t}function im(e){return iy(e,e=>e.name)}function iy(e,n){return e.slice().sort((e,t)=>S(n(e),n(t)))}var ih=e.i(828589);function iT(e){return!eV(e)&&!ne(e)}function ig(e,n,t){let i=e.getDirectives().filter(n),a=Object.values(e.getTypeMap()).filter(t);return[function(e){if(null==e.description&&function(e){let n=e.getQueryType();if(n&&"Query"!==n.name)return!1;let t=e.getMutationType();if(t&&"Mutation"!==t.name)return!1;let i=e.getSubscriptionType();return!i||"Subscription"===i.name}(e))return;let n=[],t=e.getQueryType();t&&n.push(` query: ${t.name}`);let i=e.getMutationType();i&&n.push(` mutation: ${i.name}`);let a=e.getSubscriptionType();return a&&n.push(` subscription: ${a.name}`),ib(e)+`schema { 78${n.join("\n")} 79}`}(e),...i.map(e=>{var n;return ib(n=e)+"directive @"+n.name+iS(n.args)+iO(n.deprecationReason)+(n.isRepeatable?" repeatable":"")+" on "+n.locations.join(" | ")}),...a.map(e=>ik(e))].filter(Boolean).join("\n\n")}function ik(e){var n,t,i,a,l,r;let s,o,u,p;return F(e)?ib(n=e)+`scalar ${n.name}`+function(e){if(null==e.specifiedByURL)return"";let n=(0,C.print)({kind:E.Kind.STRING,value:e.specifiedByURL});return` @specifiedBy(url: ${n})`}(n):x(e)?ib(t=e)+`type ${t.name}`+iN(t)+iL(t):M(e)?ib(i=e)+`interface ${i.name}`+iN(i)+iL(i):j(e)?(o=(s=(a=e).getTypes()).length?" = "+s.join(" | "):"",ib(a)+"union "+a.name+o):$(e)?(u=(l=e).getValues().map((e,n)=>ib(e," ",!n)+" "+e.name+iO(e.deprecationReason)),ib(l)+`enum ${l.name}`+iR(u)):G(e)?(p=Object.values((r=e).getFields()).map((e,n)=>ib(e," ",!n)+" "+iA(e)),ib(r)+`input ${r.name}`+(r.isOneOf?" @oneOf":"")+iR(p)):void(0,ez.invariant)(!1,"Unexpected type: "+(0,f.inspect)(e))}function iN(e){let n=e.getInterfaces();return n.length?" implements "+n.map(e=>e.name).join(" & "):""}function iL(e){return iR(Object.values(e.getFields()).map((e,n)=>ib(e," ",!n)+" "+e.name+iS(e.args," ")+": "+String(e.type)+iO(e.deprecationReason)))}function iR(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function iS(e,n=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(iA).join(", ")+")":"(\n"+e.map((e,t)=>ib(e," "+n,!t)+" "+n+iA(e)).join("\n")+"\n"+n+")"}function iA(e){let n=eY(e.defaultValue,e.type),t=e.name+": "+String(e.type);return n&&(t+=` = ${(0,C.print)(n)}`),t+iO(e.deprecationReason)}function iO(e){if(null==e)return"";if(e!==ej){let n=(0,C.print)({kind:E.Kind.STRING,value:e});return` @deprecated(reason: ${n})`}return" @deprecated"}function ib(e,n="",t=!0){let{description:i}=e;return null==i?"":(n&&!t?"\n"+n:n)+(0,C.print)({kind:E.Kind.STRING,value:i,block:(0,ih.isPrintableAsBlockString)(i)}).replace(/\n/g,"\n"+n)+"\n"}function iD(e){let n=[];return(0,nf.visit)(e,{FragmentSpread(e){n.push(e.name.value)}}),n}function iv(e){if("string"==typeof e||(0,p.devAssert)(!1,"Expected name to be a string."),e.startsWith("__"))return new m.GraphQLError(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{U(e)}catch(e){return e}}function i_(e,n){return[...function(e,n){let t=[],i=iw(Object.values(e.getTypeMap()),Object.values(n.getTypeMap()));for(let e of i.removed)t.push({type:o.TYPE_REMOVED,description:eV(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(let[e,n]of i.persisted)$(e)&&$(n)?t.push(...function(e,n){let t=[],i=iw(e.getValues(),n.getValues());for(let n of i.added)t.push({type:u.VALUE_ADDED_TO_ENUM,description:`${n.name} was added to enum type ${e.name}.`});for(let n of i.removed)t.push({type:o.VALUE_REMOVED_FROM_ENUM,description:`${n.name} was removed from enum type ${e.name}.`});return t}(e,n)):j(e)&&j(n)?t.push(...function(e,n){let t=[],i=iw(e.getTypes(),n.getTypes());for(let n of i.added)t.push({type:u.TYPE_ADDED_TO_UNION,description:`${n.name} was added to union type ${e.name}.`});for(let n of i.removed)t.push({type:o.TYPE_REMOVED_FROM_UNION,description:`${n.name} was removed from union type ${e.name}.`});return t}(e,n)):G(e)&&G(n)?t.push(...function(e,n){let t=[],i=iw(Object.values(e.getFields()),Object.values(n.getFields()));for(let n of i.added)eO(n)?t.push({type:o.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${n.name} on input type ${e.name} was added.`}):t.push({type:u.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${n.name} on input type ${e.name} was added.`});for(let n of i.removed)t.push({type:o.FIELD_REMOVED,description:`${e.name}.${n.name} was removed.`});for(let[n,a]of i.persisted)iE(n.type,a.type)||t.push({type:o.FIELD_CHANGED_KIND,description:`${e.name}.${n.name} changed type from ${String(n.type)} to ${String(a.type)}.`});return t}(e,n)):x(e)&&x(n)||M(e)&&M(n)?t.push(...function(e,n){let t=[],i=iw(Object.values(e.getFields()),Object.values(n.getFields()));for(let n of i.removed)t.push({type:o.FIELD_REMOVED,description:`${e.name}.${n.name} was removed.`});for(let[n,a]of i.persisted)t.push(...function(e,n,t){let i=[],a=iw(n.args,t.args);for(let t of a.removed)i.push({type:o.ARG_REMOVED,description:`${e.name}.${n.name} arg ${t.name} was removed.`});for(let[t,l]of a.persisted)if(iE(t.type,l.type)){if(void 0!==t.defaultValue)if(void 0===l.defaultValue)i.push({type:u.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${n.name} arg ${t.name} defaultValue was removed.`});else{let a=iI(t.defaultValue,t.type),r=iI(l.defaultValue,l.type);a!==r&&i.push({type:u.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${n.name} arg ${t.name} has changed defaultValue from ${a} to ${r}.`})}}else i.push({type:o.ARG_CHANGED_KIND,description:`${e.name}.${n.name} arg ${t.name} has changed type from ${String(t.type)} to ${String(l.type)}.`});for(let t of a.added)eh(t)?i.push({type:o.REQUIRED_ARG_ADDED,description:`A required arg ${t.name} on ${e.name}.${n.name} was added.`}):i.push({type:u.OPTIONAL_ARG_ADDED,description:`An optional arg ${t.name} on ${e.name}.${n.name} was added.`});return i}(e,n,a)),!function e(n,t){return q(n)?q(t)&&e(n.ofType,t.ofType)||K(t)&&e(n,t.ofType):K(n)?K(t)&&e(n.ofType,t.ofType):ea(t)&&n.name===t.name||K(t)&&e(n,t.ofType)}(n.type,a.type)&&t.push({type:o.FIELD_CHANGED_KIND,description:`${e.name}.${n.name} changed type from ${String(n.type)} to ${String(a.type)}.`});return t}(e,n),...function(e,n){let t=[],i=iw(e.getInterfaces(),n.getInterfaces());
79for(let n of i.added)t.push({type:u.IMPLEMENTED_INTERFACE_ADDED,description:`${n.name} added to interfaces implemented by ${e.name}.`});for(let n of i.removed)t.push({type:o.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${n.name}.`});return t}(e,n)):e.constructor!==n.constructor&&t.push({type:o.TYPE_CHANGED_KIND,description:`${e.name} changed from ${iC(e)} to ${iC(n)}.`});return t}(e,n),...function(e,n){let t=[],i=iw(e.getDirectives(),n.getDirectives());for(let e of i.removed)t.push({type:o.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(let[e,n]of i.persisted){let i=iw(e.args,n.args);for(let n of i.added)eh(n)&&t.push({type:o.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${n.name} on directive ${e.name} was added.`});for(let n of i.removed)t.push({type:o.DIRECTIVE_ARG_REMOVED,description:`${n.name} was removed from ${e.name}.`});for(let i of(e.isRepeatable&&!n.isRepeatable&&t.push({type:o.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`}),e.locations))n.locations.includes(i)||t.push({type:o.DIRECTIVE_LOCATION_REMOVED,description:`${i} was removed from ${e.name}.`})}return t}(e,n)]}(l=o||(o={})).TYPE_REMOVED="TYPE_REMOVED",l.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",l.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",l.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",l.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",l.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",l.FIELD_REMOVED="FIELD_REMOVED",l.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",l.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",l.ARG_REMOVED="ARG_REMOVED",l.ARG_CHANGED_KIND="ARG_CHANGED_KIND",l.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",l.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",l.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",l.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",l.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED",(r=u||(u={})).VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",r.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",r.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",r.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",r.IMPLEMENT
79ED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",r.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE";function iE(e,n){return q(e)?q(n)&&iE(e.ofType,n.ofType):K(e)?K(n)&&iE(e.ofType,n.ofType)||!K(n)&&iE(e.ofType,n):ea(n)&&e.name===n.name}function iC(e){return F(e)?"a Scalar type":x(e)?"an Object type":M(e)?"an Interface type":j(e)?"a Union type":$(e)?"an Enum type":G(e)?"an Input type":void(0,ez.invariant)(!1,"Unexpected type: "+(0,f.inspect)(e))}function iI(e,n){let t=eY(e,n);return null!=t||(0,ez.invariant)(!1),(0,C.print)(nM(t))}function iw(e,n){let t=[],i=[],a=[],l=N(e,({name:e})=>e),r=N(n,({name:e})=>e);for(let n of e){let e=r[n.name];void 0===e?i.push(n):a.push([n,e])}for(let e of n)void 0===l[e.name]&&t.push(e);return{added:t,persisted:a,removed:i}}function iU(e,n){switch(n.kind){case E.Kind.TYPE_COORDINATE:let t=n.name.value,i=e.getType(t);if(null!=i)return{kind:"NamedType",type:i};return;case E.Kind.MEMBER_COORDINATE:return function(e,n){let t=n.name.value,i=e.getType(t);if(!i)throw Error(`Expected ${(0,f.inspect)(t)} to be defined as a type in the schema.`);
79if(!$(i)&&!G(i)&&!x(i)&&!M(i))throw Error(`Expected ${(0,f.inspect)(t)} to be an Enum, Input Object, Object or Interface type.`);if($(i)){let e=n.memberName.value,t=i.getValue(e);if(null==t)return;return{kind:"EnumValue",type:i,enumValue:t}}if(G(i)){let e=n.memberName.value,t=i.getFields()[e];if(null==t)return;return{kind:"InputField",type:i,inputField:t}}let a=n.memberName.value,l=i.getFields()[a];if(null!=l)return{kind:"Field",type:i,field:l}}(e,n);case E.Kind.ARGUMENT_COORDINATE:return function(e,n){let t=n.name.value,i=e.getType(t);if(null==i)throw Error(`Expected ${(0,f.inspect)(t)} to be defined as a type in the schema.`);if(!x(i)&&!M(i))throw Error(`Expected ${(0,f.inspect)(t)} to be an object type or interface type.`);let a=n.fieldName.value,l=i.getFields()[a];if(null==l)throw Error(`Expected ${(0,f.inspect)(a)} to exist as a field of type ${(0,f.inspect)(t)} in the schema.`);let r=n.argumentName.value,s=l.args.find(e=>e.name===r);if(null!=s)return{kind:"FieldArgument",type:i,field:l,fieldArgument:s}}(e,n);case E.Kind.DIRECTIVE_COORDINATE:let a=n.name.value,l=e.getDirective(a);if(l)return{kind:"Directive",directive:l};return;case E.Kind.DIRECTIVE_ARGUMENT_COORDINATE:return function(e,n){let t=n.name.value,i=e.getDirective(t);if(!i)throw Error(`Expected ${(0,f.inspect)(t)} to be defined as a directive in the schema.`);let{argumentName:{value:a}}=n,l=i.args.find(e=>e.name===a);if(l)return{kind:"DirectiveArgument",directive:i,directiveArgument:l}}(e,n)}}e.s(["BREAK",()=>nf.BREAK,"BreakingChangeType",0,o,"DEFAULT_DEPRECATION_REASON",0,ej,"DangerousChangeType",0,u,"DirectiveLocation",()=>e_.DirectiveLocation,"ExecutableDefinitionsRule",0,nA,"FieldsOnCorrectTypeRule",0,nO,"FragmentsOnCompositeTypesRule",0,nb,"GRAPHQL_MAX_INT",0,0x7fffffff,"GRAPHQL_MIN_INT",0,-0x80000000,"GraphQLBoolean",0,ew,"GraphQLDeprecatedDirective",0,e$,"GraphQLDirective",0,eB,"GraphQLEnumType",0,eN,"GraphQLError",()=>m.GraphQLError,"GraphQLFloat",0,eC,"GraphQLID",0,eU,"GraphQLIncludeDirective",0,eM,"GraphQLInputObjectType",0,eS,"GraphQLInt",0,eE,"GraphQLInterfaceType",0,eT,"GraphQLList",0,X,"GraphQLNonNull",0,Z,"GraphQLObjectType",0,eu,"GraphQLOneOfDirective",0,eq,"GraphQLScalarType",0,eo,"GraphQLSchema",0,ni,"GraphQLSkipDirective",0,eJ,"GraphQLSpecifiedByDirective",0,eG,"GraphQLString",0,eI,"GraphQLUnionType",0,eg,"Kind",()=>E.Kind,"KnownArgumentNamesRule",0,nD,"KnownDirectivesRule",0,n_,"KnownFragmentNamesRule",0,nE,"KnownTypeNamesRule",0,nC,"Lexer",()=>t5.Lexer,"Location",()=>y.Location,"LoneAnonymousOperationRule",0,nw,"LoneSchemaDefinitionRule",0,nU,"MaxIntrospectionDepthRule",0,nP,"NoDeprecatedCustomRule",0,function(e){return{Field(n){let t=e.getFieldDef(),i=null==t?void 0:t.deprecationReason;if(t&&null!=i){let a=e.getParentType();null!=a||(0,ez.invariant)(!1),e.reportError(new m.GraphQLError(`The field ${a.name}.${t.name} is deprecated. ${i}`,{nodes:n}))}},Argument(n){let t=e.getArgument(),i=null==t?void 0:t.deprecationReason;if(t&&null!=i){let a=e.getDirective();if(null!=a)e.reportError(new m.GraphQLError(`Directive "@${a.name}" argument "${t.name}" is deprecated. ${i}`,{nodes:n}));else{let a=e.getParentType(),l=e.getFieldDef();null!=a&&null!=l||(0,ez.invariant)(!1),e.reportError(new m.GraphQLError(`Field "${a.name}.${l.name}" argument "${t.name}" is deprecated. ${i}`,{nodes:n}))}}},ObjectField(n){let t=el(e.getParentInputType());if(G(t)){let i=t.getFields()[n.name.value],a=null==i?void 0:i.deprecationReason;null!=a&&e.reportError(new m.GraphQLError(`The input field ${t.name}.${i.name} is deprecated. ${a}`,{nodes:n}))}},EnumValue(n){let t=e.getEnumValue(),i=null==t?void 0:t.deprecationReason;if(t&&null!=i){let a=el(e.getInputType());null!=a||(0,ez.invariant)(!1),e.reportError(new m.GraphQLError(`The enum value "${a.name}.${t.name}" is deprecated. ${i}`,{nodes:n}))}}}},"NoFragmentCyclesRule",0,nV,"NoSchemaIntrospectionCustomRule",0,function(e){return{Field(n){let t=el(e.getType());t&&ne(t)&&e.reportError(new m.GraphQLError(`GraphQL introspection has been disabled, but the requested query contained the field "${n.name.value}".`,{nodes:n}))}}},"NoUndefinedVariablesRule",0,nF,"NoUnusedFragmentsRule",0,nx,"NoUnusedVariablesRule",0,nB,"OperationTypeNode",()=>y.OperationTypeNode,"OverlappingFieldsCanBeMergedRule",0,nJ,"PossibleFragmentSpreadsRule",0,nH,"PossibleTypeExtensionsRule",0,nX,"ProvidedRequiredArgumentsRule",0,n0,"ScalarLeafsRule",0,n4,"SchemaMetaFieldDef",0,e9,"SingleFieldSubscriptionsRule",0,tp,"Source",()=>t3.Source,"Token",()=>y.Token,"TokenKind",()=>t7.TokenKind,"TypeInfo",0,ny,"TypeKind",0,s,"TypeMetaFieldDef",0,e8,"TypeNameMetaFieldDef",0,e5,"UniqueArgumentDefinitionNamesRule",0,tc,"UniqueArgumentNamesRule",0,tf,"UniqueDirectiveNamesRule",0,tm,"UniqueDirectivesPerLocationRule",0,ty,"UniqueEnumValueNamesRule",0,th,"UniqueFieldDefinitionNamesRule",0,tT,"UniqueFragmentNamesRule",0,tg,"UniqueInputFieldNamesRule",0,tk,"UniqueOperationNamesRule",0,tN,"UniqueOperationTypesRule",0,tL,"UniqueTypeNamesRule",0,tR,"UniqueVariableNamesRule",0,tS,"ValidationContext",0,tw,"ValuesOfCorrectTypeRule",0,tA,"VariablesAreInputTypesRule",0,tb,"VariablesInAllowedPositionRule",0,tD,"__Directive",0,eZ,"__DirectiveLocation",0,e0,"__EnumValue",0,e6,"__Field",0,e2,"__InputValue",0,e4,"__Schema",0,eX,"__Type",0,e1,"__TypeKind",0,e3,"assertAbstractType",0,function(e){if(!H(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL abstract type.`);return e},"assertCompositeType",0,function(e){if(!Y(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL composite type.`);return e},"assertDirective",0,function(e){if(!ex(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL directive.`);return e},"assertEnumType",0,function(e){if(!$(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL Enum type.`);return e},"assertEnumValueName",0,P,"assertInputObjectType",0,function(e){if(!G(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL Input Object type.`);return e},"assertInputType",0,function(e){if(!Q(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL input type.`);return e},"assertInterfaceType",0,J,"assertLeafType",0,function(e){if(!W(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL leaf type.`);return e},"assertListType",0,function(e){if(!q(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL List type.`);return e},"assertName",0,U,"assertNamedType",0,function(e){if(!ea(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL named type.`);return e},"assertNonNullType",0,function(e){if(!K(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL Non-Null type.`);return e},"assertNullableType",0,et,"assertObjectType",0,B,"assertOutputType",0,function(e){if(!z(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL output type.`);return e},"assertScalarType",0,function(e){if(!F(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL Scalar type.`);return e},"assertSchema",0,nt,"assertType",0,function(e){if(!V(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL type.`);return e},"assertUnionType",0,function(e){if(!j(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL Union type.`);return e},"assertValidName",0,function(e){let n=iv(e);if(n)throw n;return e},"assertValidSchema",0,nr,"assertWrappingType",0,function(e){if(!ee(e))throw Error(`Expected ${(0,f.inspect)(e)} to be a GraphQL wrapping type.`);return e},"astFromValue",0,eY,"buildASTSchema",0,id,"buildClientSchema",0,function(e,n){(0,k.isObjectLike)(e)&&(0,k.isObjectLike)(e.__schema)||(0,p.devAssert)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,f.inspect)(e)}.`);let t=e.__schema,i=L(t.types,e=>e.name,e=>(function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case s.SCALAR:return new eo({name:(n=e).name,description:n.description,specifiedByURL:n.specifiedByURL});case s.OBJECT:return new eu({name:(t=e).name,description:t.description,interfaces:()=>h(t),fields:()=>T(t)});case s.INTERFACE:return new eT({name:(i=e).name,description:i.description,interfaces:()=>h(i),fields:()=>T(i)});case s.UNION:var n,t,i,a=e;if(!a.possibleTypes){let e=(0,f.inspect)(a);throw Error(`Introspection result missing possibleTypes: ${e}.`)}return new eg({name:a.name,description:a.description,types:()=>a.possibleTypes.map(m)});case s.ENUM:var l=e;if(!l.enumValues){let e=(0,f.inspect)(l);throw Error(`Introspection result missing enumValues: ${e}.`)}return new eN({name:l.name,description:l.description,values:L(l.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))});case s.INPUT_OBJECT:var r=e;if(!r.inputFields){let e=(0,f.inspect)(r);throw Error(`Introspection result missing inputFields: ${e}.`)}return new eS({name:r.name,description:r.description,fields:()=>N(r.inputFields),isOneOf:r.isOneOf})}let o=(0,f.inspect)(e);throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${o}.`)})(e));for(let e of[...eP,...e7])i[e.name]&&(i[e.name]=e);let a=t.queryType?m(t.queryType):null,l=t.mutationType?m(t.mutationType):null,r=t.subscriptionType?m(t.subscriptionType):null,o=t.directives?t.directives.map(function(e){if(!e.args){let n=(0,f.inspect)(e);throw Error(`Introspection result missing directive args: ${n}.`)}if(!e.locations){let n=(0,f.inspect)(e);throw Error(`Introspection result missing directive locations: ${n}.`)}return new eB({name:e.name,description:e.description,isRepeatable:e.isRepeatable,deprecationReason:e.deprecationReason,locations:e.locations.slice(),args:N(e.args)})}):[];return new ni({description:t.description,query:a,mutation:l,subscription:r,types:Object.values(i),directives:o,assumeValid:null==n?void 0:n.assumeValid});function u(e){if(e.kind===s.LIST){let n=e.ofType;
79if(!n)throw Error("Decorated type deeper than introspection query.");return new X(u(n))}if(e.kind===s.NON_NULL){let n=e.ofType;if(!n)throw Error("Decorated type deeper than introspection query.");return new Z(et(u(n)))}return d(e)}function d(e){let n=e.name;if(!n)throw Error(`Unknown type reference: ${(0,f.inspect)(e)}.`);let t=i[n];if(!t)throw Error(`Invalid or incomplete schema, unknown type: ${n}. Ensure that a full introspection query is used in order to build a client schema.`);return t}function m(e){return B(d(e))}function y(e){return J(d(e))}function h(e){if(null===e.interfaces&&e.kind===s.INTERFACE)return[];if(!e.interfaces){let n=(0,f.inspect)(e);throw Error(`Introspection result missing interfaces: ${n}.`)}return e.interfaces.map(y)}function T(e){if(!e.fields)throw Error(`Introspection result missing fields: ${(0,f.inspect)(e)}.`);return L(e.fields,e=>e.name,g)}function g(e){let n=u(e.type);if(!z(n)){let e=(0,f.inspect)(n);throw Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){let n=(0,f.inspect)(e);throw Error(`Introspection result missing field args: ${n}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:n,args:N(e.args)}}function N(e){return L(e,e=>e.name,R)}function R(e){let n=u(e.type);if(!Q(n)){let e=(0,f.inspect)(n);throw Error(`Introspection must provide input type for arguments, but received: ${e}.`)}let t=null!=e.defaultValue?n7((0,c.parseValue)(e.defaultValue),n):void 0;return{description:e.description,type:n,defaultValue:t,deprecationReason:e.deprecationReason}}},"buildSchema",0,function(e,n){return id((0,c.parse)(e,{noLocation:null==n?void 0:n.noLocation,allowLegacyFragmentVariables:null==n?void 0:n.allowLegacyFragmentVariables,experimentalDirectivesOnDirectiveDefinitions:null==n?void 0:n.experimentalDirectivesOnDirectiveDefinitions}),{assumeValidSDL:null==n?void 0:n.assumeValidSDL,assumeValid:null==n?void 0:n.assumeValid})},"coerceInputValue",0,n8,"concatAST",0,function(e){let n=[];for(let t of e)n.push(...t.definitions);return{kind:E.Kind.DOCUMENT,definitions:n}},"createSourceEventStream",0,ii,"defaultFieldResolver",0,t2,"defaultTypeResolver",0,t1,"doTypesOverlap",0,ev,"execute",0,tj,"executeSync",0,t$,"extendSchema",0,function(e,n,t){nt(e),null!=n&&n.kind===E.Kind.DOCUMENT||(0,p.devAssert)(!1,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&function(e,n){let t=tV(e,n);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}(n,e);let i=e.toConfig(),a=is(i,n,t);return i===a?e:new ni(a)},"findBreakingChanges",0,function(e,n){return i_(e,n).filter(e=>e.type in o)},"findDangerousChanges",0,function(e,n){return i_(e,n).filter(e=>e.type in u)},"formatError",()=>m.formatError,"getArgumentValues",0,ti,"getDirectiveValues",0,ta,"getEnterLeaveForKind",()=>nf.getEnterLeaveForKind,"getIntrospectionQuery",0,ir,"getLocation",()=>t9.getLocation,"getNamedType",0,el,"getNullableType",0,ei,"getOperationAST",0,function(e,n){let t=null;for(let a of e.definitions)if(a.kind===E.Kind.OPERATION_DEFINITION){var i;if(null==n){if(t)return null;t=a}else if((null==(i=a.name)?void 0:i.value)===n)return a}return t},"getOperationRootType",0,function(e,n){if("query"===n.operation){let t=e.getQueryType();if(!t)throw new m.GraphQLError("Schema does not define the required query root type.",{nodes:n});return t}if("mutation"===n.operation){let t=e.getMutationType();if(!t)throw new m.GraphQLError("Schema is not configured for mutations.",{nodes:n});return t}if("subscription"===n.operation){let t=e.getSubscriptionType();if(!t)throw new m.GraphQLError("Schema is not configured for subscriptions.",{nodes:n});return t}throw new m.GraphQLError("Can only have query, mutation and subscription operations.",{nodes:n})},"getVariableValues",0,tt,"getVisitFn",()=>nf.getVisitFn,"graphql",0,function(e){return new Promise(n=>n(t6(e)))},"graphqlSync",0,function(e){let n=t6(e);if(d(n))throw Error("GraphQL execution failed to complete synchronously.");return n},"introspectionFromSchema",0,function(e,n){let t={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,experimentalDirectiveDeprecation:!0,oneOf:!0,...n},i=t$({schema:e,document:(0,c.parse)(ir(t))});return!i.errors&&i.data||(0,ez.invariant)(!1),i.data},"introspectionTypes",0,e7,"isAbstractType",0,H,"isCompositeType",0,Y,"isConstValueNode",0,function e(n){return nk(n)&&(n.kind===E.Kind.LIST?n.values.some(e):n.kind===E.Kind.OBJECT?n.fields.some(n=>e(n.value)):n.kind!==E.Kind.VARIABLE)},"isDefinitionNode",0,function(e){return ng(e)||nN(e)||nR(e)},"isDirective",0,ex,"isEnumType",0,$,"isEqualType",0,eb,"isExecutableDefinitionNode",0,ng,"isInputObjectType",0,G,"isInputType",0,Q,"isInterfaceType",0,M,"isIntrospectionType",0,ne,"isLeafType",0,W,"isListType",0,q,"isNamedType",0,ea,"isNonNullType",0,K,"isNullableType",0,en,"isObjectType",0,x,"isOutputType",0,z,"isRequiredArgument",0,eh,"isRequiredInputField",0,eO,"isScalarType",0,F,"isSchema",0,nn,"isSchemaCoordinateNode",0,function(e){return e.kind===E.Kind.TYPE_COORDINATE||e.kind===E.Kind.MEMBER_COORDINATE||e.kind===E.Kind.ARGUMENT_COORDINATE||e.kind===E.Kind.DIRECTIVE_COORDINATE||e.kind===E.Kind.DIRECTIVE_ARGUMENT_COORDINATE},"isSelectionNode",0,function(e){return e.kind===E.Kind.FIELD||e.kind===E.Kind.FRAGMENT_SPREAD||e.kind===E.Kind.INLINE_FRAGMENT},"isSpecifiedDirective",0,eQ,"isSpecifiedScalarType",0,eV,"isType",0,V,"isTypeDefinitionNode",0,nL,"isTypeExtensionNode",0,nS,"isTypeNode",0,function(e){return e.kind===E.Kind.NAMED_TYPE||e.kind===E.Kind.LIST_TYPE||e.kind===E.Kind.NON_NULL_TYPE},"isTypeSubTypeOf",0,eD,"isTypeSystemDefinitionNode",0,nN,"isTypeSystemExtensionNode",0,nR,"isUnionType",0,j,"isValidNameError",0,iv,"isValueNode",0,nk,"isWrappingType",0,ee,"lexicographicSortSchema",0,function(e){var n,t,i;let a=e.toConfig(),l=L(im(a.types),e=>e.name,function(e){if(F(e)||ne(e))return e;if(x(e)){let n=e.toConfig();return new eu({...n,interfaces:()=>p(n.interfaces),fields:()=>u(n.fields)})}if(M(e)){let n=e.toConfig();return new eT({...n,interfaces:()=>p(n.interfaces),fields:()=>u(n.fields)})}if(j(e)){let n=e.toConfig();return new eg({...n,types:()=>p(n.types)})}if($(e)){let n=e.toConfig();return new eN({...n,values:ic(n.values,e=>e)})}if(G(e)){let n=e.toConfig();return new eS({...n,fields:()=>ic(n.fields,e=>({...e,type:r(e.type)}))})}(0,ez.invariant)(!1,"Unexpected type: "+(0,f.inspect)(e))});return new ni({...a,types:Object.values(l),directives:im(a.directives).map(function(e){let n=e.toConfig();return new eB({...n,locations:iy(n.locations,e=>e),args:o(n.args)})}),query:(n=a.query)&&s(n),mutation:(t=a.mutation)&&s(t),subscription:(i=a.subscription)&&s(i)});function r(e){return q(e)?new X(r(e.ofType)):K(e)?new Z(r(e.ofType)):s(e)}function s(e){return l[e.name]}function o(e){return ic(e,e=>({...e,type:r(e.type)}))}function u(e){return ic(e,e=>({...e,type:r(e.type),args:e.args&&o(e.args)}))}function p(e){return im(e).map(s)}},"locatedError",0,tB,"parse",()=>c.parse,"parseConstValue",()=>c.parseConstValue,"parseSchemaCoordinate",()=>c.parseSchemaCoordinate,"parseType",()=>c.parseType,"parseValue",()=>c.parseValue,"print",()=>C.print,"printError",()=>m.printError,"printIntrospectionSchema",0,function(e){return ig(e,eQ,ne)},"printLocation",()=>t8.printLocation,"printSchema",0,function(e){return ig(e,e=>!eQ(e),iT)},"printSourceLocation",()=>t8.printSourceLocation,"printType",0,ik,"recommendedRules",0,tv,"resolveASTSchemaCoordinate",0,iU,"resolveObjMapThunk",0,es,"resolveReadonlyArrayThunk",0,er,"resolveSchemaCoordinate",0,function(e,n){return iU(e,(0,c.parseSchemaCoordinate)(n))},"responsePathAsArray",0,n9,"separateOperations",0,function(e){let n=[],t=Object.create(null);for(let i of e.definitions)switch(i.kind){case E.Kind.OPERATION_DEFINITION:n.push(i);break;case E.Kind.FRAGMENT_DEFINITION:t[i.name.value]=iD(i.selectionSet)}let i=Object.create(null);for(let a of n){let n=new Set;for(let e of iD(a.selectionSet))!function e(n,t,i){if(!n.has(i)){n.add(i);let a=t[i];
79if(void 0!==a)for(let i of a)e(n,t,i)}}(n,t,e);i[a.name?a.name.value:""]={kind:E.Kind.DOCUMENT,definitions:e.definitions.filter(e=>e===a||e.kind===E.Kind.FRAGMENT_DEFINITION&&n.has(e.name.value))}}return i},"specifiedDirectives",0,eK,"specifiedRules",0,t_,"specifiedScalarTypes",0,eP,"stripIgnoredCharacters",0,function(e){let n=(0,t3.isSource)(e)?e:new t3.Source(e),t=n.body,i=new t5.Lexer(n),a="",l=!1;for(;i.advance().kind!==t7.TokenKind.EOF;){let e=i.token,n=e.kind,r=!(0,t5.isPunctuatorTokenKind)(e.kind);l&&(r||e.kind===t7.TokenKind.SPREAD)&&(a+=" ");let s=t.slice(e.start,e.end);n===t7.TokenKind.BLOCK_STRING?a+=(0,ih.printBlockString)(e.value,{minimize:!0}):a+=s,l=r}return a},"subscribe",0,it,"syntaxError",()=>il.syntaxError,"typeFromAST",0,nm,"validate",0,tP,"validateSchema",0,nl,"valueFromAST",0,n7,"valueFromASTUntyped",0,I,"version",0,"16.14.2","versionInfo",0,t,"visit",()=>nf.visit,"visitInParallel",()=>nf.visitInParallel,"visitWithTypeInfo",0,nT],695639)},914300,820065,871595,490342,719420,645872,828589,428456,e=>{"use strict";var n,t,i,a;class l{constructor(e,n,t){this.start=e.start,this.end=n.end,this.startToken=e,this.endToken=n,this.source=t}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}
79class r{constructor(e,n,t,i,a,l){this.kind=e,this.start=n,this.end=t,this.line=i,this.column=a,this.value=l,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},o=new Set(Object.keys(s));function u(e){let n=null==e?void 0:e.kind;return"string"==typeof n&&o.has(n)}function p(e,n){if(!e)throw Error(n)}function d(e){return function e(n,t){switch(typeof n){case"string":return JSON.stringify(n);case"function":return n.name?`[function ${n.name}]`:"[function]";case"object":return function(n,t){let i;if(null===n)return"null";if(t.includes(n))return"[Circular]";let a=[...t,n];if("function"==typeof n.toJSON){let t=n.toJSON();if(t!==n)return"string"==typeof t?t:e(t,a)}else if(Array.isArray(n)){var l,r,s=n,o=a;if(0===s.length)return"[]";if(o.length>2)return"[Array]";let t=Math.min(10,s.length),i=s.length-t,u=[];for(let n=0;n<t;++n)u.push(e(s[n],o));return 1===i?u.push("... 1 more item"):i>1&&u.push(`... ${i} more items`),"["+u.join(", ")+"]"}return l=n,r=a,0===(i=Object.entries(l)).length?"{}":r.length>2?"["+function(e){let n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){let n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return n}(l)+"]":"{ "+i.map(([n,t])=>n+": "+e(t,r)).join(", ")+" }"}(n,t);default:return String(n)}}(e,[])}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",e.s(["Location",0,l,"OperationTypeNode",0,n,"QueryDocumentKeys",0,s,"Token",0,r,"isNode",0,u],914300),e.s(["devAssert",0,p],820065);e.s(["inspect",0,d],871595),(a=t||(t={})).NAME="Name",a.DOCUMENT="Document",a.OPERATION_DEFINITION="OperationDefinition",a.VARIABLE_DEFINITION="VariableDefinition",a.SELECTION_SET="SelectionSet",a.FIELD="Field",a.ARGUMENT="Argument",a.FRAGMENT_SPREAD="FragmentSpread",a.INLINE_FRAGMENT="InlineFragment",a.FRAGMENT_DEFINITION="FragmentDefinition",a.VARIABLE="Variable",a.INT="IntValue",a.FLOAT="FloatValue",a.STRING="Str
79ingValue",a.BOOLEAN="BooleanValue",a.NULL="NullValue",a.ENUM="EnumValue",a.LIST="ListValue",a.OBJECT="ObjectValue",a.OBJECT_FIELD="ObjectField",a.DIRECTIVE="Directive",a.NAMED_TYPE="NamedType",a.LIST_TYPE="ListType",a.NON_NULL_TYPE="NonNullType",a.SCHEMA_DEFINITION="SchemaDefinition",a.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",a.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",a.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",a.FIELD_DEFINITION="FieldDefinition",a.INPUT_VALUE_DEFINITION="InputValueDefinition",a.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",a.UNION_TYPE_DEFINITION="UnionTypeDefinition",a.ENUM_TYPE_DEFINITION="EnumTypeDefinition",a.ENUM_VALUE_DEFINITION="EnumValueDefinition",a.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",a.DIRECTIVE_DEFINITION="DirectiveDefinition",a.SCHEMA_EXTENSION="SchemaExtension",a.DIRECTIVE_EXTENSION="DirectiveExtension",a.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",a.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",a.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",a.UNION_TYPE_EXTENSION="UnionTypeExtension",a.ENUM_TYPE_EXTENSION="EnumTypeExtension",a.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",a.TYPE_COORDINATE="TypeCoordinate",a.MEMBER_COORDINATE="MemberCoordinate",a.ARGUMENT_COORDINATE="ArgumentCoordinate",a.DIRECTIVE_COORDINATE="DirectiveCoordinate",a.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate",e.s(["Kind",0,t],490342);let c=Object.freeze({});function f(e,n,i=s){let a,l,r,o=new Map;for(let e of Object.values(t))o.set(e,m(n,e));let y=Array.isArray(e),h=[e],T=-1,g=[],k=e,N=[],L=[];do{var R,S,A;let e,t=++T===h.length,s=t&&0!==g.length;if(t){if(l=0===L.length?void 0:N[N.length-1],k=r,r=L.pop(),s)if(y){k=k.slice();let e=0;for(let[n,t]of g){let i=n-e;null===t?(k.splice(i,1),e++):k[i]=t}}else for(let[e,n]of(k={...k},g))k[e]=n;T=a.index,h=a.keys,g=a.edits,y=a.inArray,a=a.prev}else if(r){if(null==(k=r[l=y?T:h[T]]))continue;N.push(l)}if(!Array.isArray(k)){u(k)||p(!1,`Invalid AST Node: ${d(k)}.`);let i=t?null==(R=o.get(k.kind))?void 0:R.leave:null==(S=o.get(k.kind))?void 0:S.enter;if((e=null==i?void 0:i.call(n,k,l,r,N,L))===c)break;if(!1===e){if(!t){N.pop();continue}}else if(void 0!==e&&(g.push([l,e]),!t))if(u(e))k=e;else{N.pop();continue}}void 0===e&&s&&g.push([l,k]),t?N.pop():(a={inArray:y,index:T,keys:h,edits:g,prev:a},h=(y=Array.isArray(k))?k:null!=(A=i[k.kind])?A:[],T=-1,g=[],r&&L.push(r),r=k)}while(void 0!==a)return 0!==g.length?g[g.length-1][1]:e}function m(e,n){let t=e[n];return"object"==typeof t?t:"function"==typeof t?{enter:t,leave:void 0}:{enter:e.enter,leave:e.leave}}function y(e){return 9===e||32===e}function h(e){return e>=48&&e<=57}function T(e){return e>=97&&e<=122||e>=65&&e<=90}function g(e,n){let t=e.replace(/"""/g,'\\"""'),i=t.split(/\r\n|[\n\r]/g),a=1===i.length,l=i.length>1&&i.slice(1).every(e=>0===e.length||y(e.charCodeAt(0))),r=t.endsWith('\\"""'),s=e.endsWith('"')&&!r,o=e.endsWith("\\"),u=s||o,p=!(null!=n&&n.minimize)&&(!a||e.length>70||u||l||r),d="",c=a&&y(e.charCodeAt(0));
79return(p&&!c||l)&&(d+="\n"),d+=t,(p||u)&&(d+="\n"),'"""'+d+'"""'}e.s(["BREAK",0,c,"getEnterLeaveForKind",0,m,"getVisitFn",0,function(e,n,t){let{enter:i,leave:a}=m(e,n);return t?a:i},"visit",0,f,"visitInParallel",0,function(e){let n=Array(e.length).fill(null),i=Object.create(null);for(let a of Object.values(t)){let t=!1,l=Array(e.length).fill(void 0),r=Array(e.length).fill(void 0);for(let n=0;n<e.length;++n){let{enter:i,leave:s}=m(e[n],a);t||(t=null!=i||null!=s),l[n]=i,r[n]=s}if(!t)continue;let s={enter(...t){let i=t[0];for(let r=0;r<e.length;r++)if(null===n[r]){var a;let s=null==(a=l[r])?void 0:a.apply(e[r],t);if(!1===s)n[r]=i;else if(s===c)n[r]=c;else if(void 0!==s)return s}},leave(...t){let i=t[0];for(let l=0;l<e.length;l++)if(null===n[l]){var a;let i=null==(a=r[l])?void 0:a.apply(e[l],t);if(i===c)n[l]=c;else if(void 0!==i&&!1!==i)return i}else n[l]===i&&(n[l]=null)}};i[a]=s}return i}],719420),e.s(["isDigit",0,h,"isNameContinue",0,function(e){return T(e)||h(e)||95===e},"isNameStart",0,function(e){return T(e)||95===e},"isWhiteSpace",0,y],645872),e.s(["dedentBlockStringLines",0,function(e){var n,t;let i=Number.MAX_SAFE_INTEGER,a=null,l=-1;for(let n=0;n<e.length;++n){let r=e[n],s=function(e){let n=0;for(;n<e.length&&y(e.charCodeAt(n));)++n;return n}(r);s!==r.length&&(a=null!=(t=a)?t:n,l=n,0!==n&&s<i&&(i=s))}return e.map((e,n)=>0===n?e:e.slice(i)).slice(null!=(n=a)?n:0,l+1)},"isPrintableAsBlockString",0,function(e){if(""===e)return!0;let n=!0,t=!1,i=!0,a=!1;for(let l=0;l<e.length;++l)switch(e.codePointAt(l)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(n&&!a)return!1;a=!0,n=!0,t=!1;break;case 9:case 32:t||(t=n);break;default:i&&(i=t),n=!1}return!n&&(!i||!a)},"printBlockString",0,g],828589);let k=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function N(e){return L[e.charCodeAt(0)]}let L=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],R={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>S(e.definitions,"\n\n")},OperationDefinition:{leave(e){let n=D(e.variableDefinitions)?O("(\n",S(e.variableDefinitions,"\n"),"\n)"):O("(",S(e.variableDefinitions,", "),")"),t=O("",e.description,"\n")+S([e.operation,S([e.name,n]),S(e.directives," ")]," ");return("query"===t?"":t+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:n,defaultValue:t,directives:i,description:a})=>O("",a,"\n")+e+": "+n+O(" = ",t)+O(" ",S(i," "))},SelectionSet:{leave:({selections:e})=>A(e)},Field:{leave({alias:e,name:n,arguments:t,directives:i,selectionSet:a}){let l=O("",e,": ")+n,r=l+O("(",S(t,", "),")");return r.length>80&&(r=l+O("(\n",b(S(t,"\n")),"\n)")),S([r,S(i," "),a]," ")}},Argument:{leave:({name:e,value:n})=>e+": "+n},FragmentSpread:{leave:({name:e,directives:n})=>"..."+e+O(" ",S(n," "))},InlineFragment:{leave:({typeCondition:e,directives:n,selectionSet:t})=>S(["...",O("on ",e),S(n," "),t]," ")},FragmentDefinition:{leave:({name:e,typeCondition:n,variableDefinitions:t,directives:i,selectionSet:a,description:l})=>O("",l,"\n")+`fragment ${e}${O("(",S(t,", "),")")} `+`on ${n} ${O("",S(i," ")," ")}`+a},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:n})=>n?g(e):`"${e.replace(k,N)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+S(e,", ")+"]"}
79,ObjectValue:{leave:({fields:e})=>"{"+S(e,", ")+"}"},ObjectField:{leave:({name:e,value:n})=>e+": "+n},Directive:{leave:({name:e,arguments:n})=>"@"+e+O("(",S(n,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:n,operationTypes:t})=>O("",e,"\n")+S(["schema",S(n," "),A(t)]," ")},OperationTypeDefinition:{leave:({operation:e,type:n})=>e+": "+n},ScalarTypeDefinition:{leave:({description:e,name:n,directives:t})=>O("",e,"\n")+S(["scalar",n,S(t," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:n,interfaces:t,directives:i,fields:a})=>O("",e,"\n")+S(["type",n,O("implements ",S(t," & ")),S(i," "),A(a)]," ")},FieldDefinition:{leave:({description:e,name:n,arguments:t,type:i,directives:a})=>O("",e,"\n")+n+(D(t)?O("(\n",b(S(t,"\n")),"\n)"):O("(",S(t,", "),")"))+": "+i+O(" ",S(a," "))},InputValueDefinition:{leave:({description:e,name:n,type:t,defaultValue:i,directives:a})=>O("",e,"\n")+S([n+": "+t,O("= ",i),S(a," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:n,interfaces:t,directives:i,fields:a})=>O("",e,"\n")+S(["interface",n,O("implements ",S(t," & ")),S(i," "),A(a)]," ")},UnionTypeDefinition:{leave:({description:e,name:n,directives:t,types:i})=>O("",e,"\n")+S(["union",n,S(t," "),O("= ",S(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:n,directives:t,values:i})=>O("",e,"\n")+S(["enum",n,S(t," "),A(i)]," ")},EnumValueDefinition:{leave:({description:e,name:n,directives:t})=>O("",e,"\n")+S([n,S(t," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:n,directives:t,fields:i})=>O("",e,"\n")+S(["input",n,S(t," "),A(i)]," ")},DirectiveDefinition:{leave:({description:e,name:n,arguments:t,directives:i,repeatable:a,locations:l})=>O("",e,"\n")+"directive @"+n+(D(t)?O("(\n",b(S(t,"\n")),"\n)"):O("(",S(t,", "),")"))+O(" ",S(i," "))+(a?" repeatable":"")+" on "+S(l," | ")},SchemaExtension:{leave:({directives:e,operationTypes:n})=>S(["extend schema",S(e," "),A(n)]," ")},ScalarTypeExtension:{leave:({name:e,directives:n})=>S(["extend scalar",e,S(n," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:n,directives:t,fields:i})=>S(["extend type",e,O("implements ",S(n," & ")),S(t," "),A(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:n,directives:t,fields:i})=>S(["extend interface",e,O("implements ",S(n," & ")),S(t," "),A(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:n,types:t})=>S(["extend union",e,S(n," "),O("= ",S(t," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:n,values:t})=>S(["extend enum",e,S(n," "),A(t)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:n,fields:t})=>S(["extend input",e,S(n," "),A(t)]," ")},DirectiveExtension:{leave:({name:e,directives:n})=>S(["extend directive @"+e,S(n," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:n})=>S([e,O(".",n)])},ArgumentCoordinate:{leave:({name:e,fieldName:n,argumentName:t})=>S([e,O(".",n),O("(",t,":)")])},DirectiveCoordinate:{leave:({name:e})=>S(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:n})=>S(["@",e,O("(",n,":)")])}};function S(e,n=""){var t;return null!=(t=null==e?void 0:e.filter(e=>e).join(n))?t:""}function A(e){return O("{\n",b(S(e,"\n")),"\n}")}function O(e,n,t=""){return null!=n&&""!==n?e+n+t:""}function b(e){return O(" ",e.replace(/\n/g,"\n "))}function D(e){var n;return null!=(n=null==e?void 0:e.some(e=>e.includes("\n")))&&n}e.s(["print",0,function(e){return f(e,R)}],428456)},379424,836711,272203,555443,418472,764535,960229,527129,374753,458111,685628,993064,e=>{"use strict";function n(e){return"object"==typeof e&&null!==e}function t(e,n){if(!e)throw Error(null!=n?n:"Unexpected invariant triggered.")}e.s(["isObjectLike",0,n],836711),e.s(["invariant",0,t],272203);let i=/\r\n|[\n\r]/g;function a(e,n){let a=0,l=1;
79for(let r of e.body.matchAll(i)){if("number"==typeof r.index||t(!1),r.index>=n)break;a=r.index+r[0].length,l+=1}return{line:l,column:n+1-a}}function l(e){return r(e.source,a(e.source,e.start))}function r(e,n){let t=e.locationOffset.column-1,i="".padStart(t)+e.body,a=n.line-1,l=e.locationOffset.line-1,r=n.line+l,o=1===n.line?t:0,u=n.column+o,p=`${e.name}:${r}:${u} 80`,d=i.split(/\r\n|[\n\r]/g),c=d[a];if(c.length>120){let e=Math.floor(u/80),n=[];for(let e=0;e<c.length;e+=80)n.push(c.slice(e,e+80));return p+s([[`${r} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",n[e+1]]])}return p+s([[`${r-1} |`,d[a-1]],[`${r} |`,c],["|","^".padStart(u)],[`${r+1} |`,d[a+1]]])}function s(e){let n=e.filter(([e,n])=>void 0!==n),t=Math.max(...n.map(([e])=>e.length));return n.map(([e,n])=>e.padStart(t)+(n?" "+n:"")).join("\n")}e.s(["getLocation",0,a],555443),e.s(["printLocation",0,l,"printSourceLocation",0,r],418472);class o extends Error{constructor(e,...t){var i,l,r;const{nodes:s,source:p,positions:d,path:c,originalError:f,extensions:m}=function(e){let n=e[0];return null==n||"kind"in n||"length"in n?{nodes:n,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:n}(t);super(e),this.name="GraphQLError",this.path=null!=c?c:void 0,this.originalError=null!=f?f:void 0,this.nodes=u(Array.isArray(s)?s:s?[s]:void 0);const y=u(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=null!=p?p:null==y||null==(l=y[0])?void 0:l.source,this.positions=null!=d?d:null==y?void 0:y.map(e=>e.start),this.locations=d&&p?d.map(e=>a(p,e)):null==y?void 0:y.map(e=>a(e.source,e.start));const h=n(null==f?void 0:f.extensions)?null==f?void 0:f.extensions:void 0;this.extensions=null!=(r=null!=m?m:h)?r: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!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,o):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 n of this.nodes)n.loc&&(e+="\n\n"+l(n.loc));else if(this.source&&this.locations)for(let n of this.locations)e+="\n\n"+r(this.source,n);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 u(e){return void 0===e||0===e.length?void 0:e}function p(e,n,t){return new o(`Syntax Error: ${t}`,{source:e,positions:[n]})}e.s(["GraphQLError",0,o,"formatError",0,function(e){return e.toJSON()},"printError",0,function(e){return e.toString()}],764535),e.s(["syntaxError",0,p],960229);var d,c,f,m,y=e.i(914300);(d=f||(f={})).QUERY="QUERY",d.MUTATION="MUTATION",d.SUBSCRIPTION="SUBSCRIPTION",d.FIELD="FIELD",d.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",d.FRAGMENT_SPREAD="FRAGMENT_SPREAD",d.INLINE_FRAGMENT="INLINE_FRAGMENT",d.VARIABLE_DEFINITION="VARIABLE_DEFINITION",d.SCHEMA="SCHEMA",d.SCALAR="SCALAR",d.OBJECT="OBJECT",d.FIELD_DEFINITION="FIELD_DEFINITION",d.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",d.INTERFACE="INTERFACE",d.UNION="UNION",d.ENUM="ENUM",d.ENUM_VALUE="ENUM_VALUE",d.INPUT_OBJECT="INPUT_OBJECT",d.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",d.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION",e.s(["DirectiveLocation",0,f],527129);var h=e.i(490342),T=e.i(828589),g=e.i(645872);(c=m||(m={})).SOF="<SOF>",c.EOF="<EOF>",c.BANG="!",c.DOLLAR="$",c.AMP="&",c.PAREN_L="(",c.PAREN_R=")",c.DOT=".",c.SPREAD="...",c.COLON=":",c.EQUALS="=",c.AT="@",c.BRACKET_L="[",c.BRACKET_R="]",c.BRACE_L="{",c.PIPE="|",c.BRACE_R="}",c.NAME="Name",c.INT="Int",c.FLOAT="Float",c.STRING="String",c.BLOCK_STRING="BlockString",c.COMMENT="Comment",e.s(["TokenKind",0,m],374753);class k{constructor(e){const n=new y.Token(m.SOF,0,0,0,0);this.source=e,this.lastToken=n,this.token=n,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!==m.EOF)do if(e.next)e=e.next;else{let n=function(e,n){let t=e.source.body,i=t.length,a=n;for(;a<i;){let n=t.charCodeAt(a);switch(n){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++e.line,e.lineStart=a;continue;case 13:10===t.charCodeAt(a+1)?a+=2:++a,++e.line,e.lineStart=a;continue;case 35:return function(e,n){let t=e.source.body,i=t.length,a=n+1;for(;a<i;){let e=t.charCodeAt(a);if(10===e||13===e)break;if(L(e))++a;else if(R(t,a))a+=2;else break}return b(e,m.COMMENT,n,a,t.slice(n+1,a))}(e,a);case 33:return b(e,m.BANG,a,a+1);case 36:return b(e,m.DOLLAR,a,a+1);case 38:return b(e,m.AMP,a,a+1);case 40:return b(e,m.PAREN_L,a,a+1);case 41:return b(e,m.PAREN_R,a,a+1);case 46:if(46===t.charCodeAt(a+1)&&46===t.charCodeAt(a+2))return b(e,m.SPREAD,a,a+3);break;case 58:return b(e,m.COLON,a,a+1);case 61:return b(e,m.EQUALS,a,a+1);case 64:return b(e,m.AT,a,a+1);case 91:return b(e,m.BRACKET_L,a,a+1);case 93:return b(e,m.BRACKET_R,a,a+1);case 123:return b(e,m.BRACE_L,a,a+1);case 124:return b(e,m.PIPE,a,a+1);case 125:return b(e,m.BRACE_R,a,a+1);case 34:if(34===t.charCodeAt(a+1)&&34===t.charCodeAt(a+2))return function(e,n){let t=e.source.body,i=t.length,a=e.lineStart,l=n+3,r=l,s="",o=[];for(;l<i;){let i=t.charCodeAt(l);if(34===i&&34===t.charCodeAt(l+1)&&34===t.charCodeAt(l+2)){s+=t.slice(r,l),o.push(s);let i=b(e,m.BLOCK_STRING,n,l+3,(0,T.dedentBlockStringLines)(o).join("\n"));return e.line+=o.length-1,e.lineStart=a,i}if(92===i&&34===t.charCodeAt(l+1)&&34===t.charCodeAt(l+2)&&34===t.charCodeAt(l+3)){s+=t.slice(r,l),r=l+1,l+=4;continue}if(10===i||13===i){s+=t.slice(r,l),o.push(s),13===i&&10===t.charCodeAt(l+1)?l+=2:++l,s="",r=l,a=l;continue}if(L(i))++l;else if(R(t,l))l+=2;else throw p(e.source,l,`Invalid character within String: ${O(e,l)}.`)}throw p(e.source,l,"Unterminated string.")}(e,a);return function(e,n){let t=e.source.body,i=t.length,a=n+1,l=a,r="";for(;a<i;){let i=t.charCodeAt(a);if(34===i)return r+=t.slice(l,a),b(e,m.STRING,n,a+1,r);if(92===i){r+=t.slice(l,a);let n=117===t.charCodeAt(a+1)?123===t.charCodeAt(a+2)?function(e,n){let t=e.source.body,i=0,a=3;for(;a<12;){let e=t.charCodeAt(n+a++);if(125===e){if(a<5||!L(i))break;return{value:String.fromCodePoint(i),size:a}}if((i=i<<4|_(e))<0)break}throw p(e.source,n,`Invalid Unicode escape sequence: "${t.slice(n,n+a)}".`)}(e,a):function(e,n){let t=e.source.body,i=v(t,n+2);if(L(i))return{value:String.fromCodePoint(i),size:6};if(S(i)&&92===t.charCodeAt(n+6)&&117===t.charCodeAt(n+7)){let e=v(t,n+8);if(A(e))return{value:String.fromCodePoint(i,e),size:12}}throw p(e.source,n,`Invalid Unicode escape sequence: "${t.slice(n,n+6)}".`)}(e,a):function(e,n){let t=e.source.body;switch(t.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw p(e.source,n,`Invalid character escape sequence: "${t.slice(n,n+2)}".`)}(e,a);r+=n.value,a+=n.size,l=a;continue}if(10===i||13===i)break;if(L(i))++a;else if(R(t,a))a+=2;else throw p(e.source,a,`Invalid character within String: ${O(e,a)}.`)}throw p(e.source,a,"Unterminated string.")}(e,a)}if((0,g.isDigit)(n)||45===n)return function(e,n,t){let i=e.source.body,a=n,l=t,r=!1;
80if(45===l&&(l=i.charCodeAt(++a)),48===l){if(l=i.charCodeAt(++a),(0,g.isDigit)(l))throw p(e.source,a,`Invalid number, unexpected digit after 0: ${O(e,a)}.`)}else a=D(e,a,l),l=i.charCodeAt(a);if(46===l&&(r=!0,l=i.charCodeAt(++a),a=D(e,a,l),l=i.charCodeAt(a)),(69===l||101===l)&&(r=!0,(43===(l=i.charCodeAt(++a))||45===l)&&(l=i.charCodeAt(++a)),a=D(e,a,l),l=i.charCodeAt(a)),46===l||(0,g.isNameStart)(l))throw p(e.source,a,`Invalid number, expected digit but got: ${O(e,a)}.`);return b(e,r?m.FLOAT:m.INT,n,a,i.slice(n,a))}(e,a,n);if((0,g.isNameStart)(n))return E(e,a);throw p(e.source,a,39===n?"Unexpected single quote character ('), did you mean to use a double quote (\")?":L(n)||R(t,a)?`Unexpected character: ${O(e,a)}.`:`Invalid character: ${O(e,a)}.`)}return b(e,m.EOF,i,i)}(this,e.end);e.next=n,n.prev=e,e=n}while(e.kind===m.COMMENT)return e}}function N(e){return e===m.BANG||e===m.DOLLAR||e===m.AMP||e===m.PAREN_L||e===m.PAREN_R||e===m.DOT||e===m.SPREAD||e===m.COLON||e===m.EQUALS||e===m.AT||e===m.BRACKET_L||e===m.BRACKET_R||e===m.BRACE_L||e===m.PIPE||e===m.BRACE_R}function L(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function R(e,n){return S(e.charCodeAt(n))&&A(e.charCodeAt(n+1))}function S(e){return e>=55296&&e<=56319}function A(e){return e>=56320&&e<=57343}function O(e,n){let t=e.source.body.codePointAt(n);if(void 0===t)return m.EOF;if(t>=32&&t<=126){let e=String.fromCodePoint(t);return'"'===e?"'\"'":`"${e}"`}return"U+"+t.toString(16).toUpperCase().padStart(4,"0")}function b(e,n,t,i,a){let l=e.line,r=1+t-e.lineStart;return new y.Token(n,t,i,l,r,a)}function D(e,n,t){if(!(0,g.isDigit)(t))throw p(e.source,n,`Invalid number, expected digit but got: ${O(e,n)}.`);let i=e.source.body,a=n+1;for(;(0,g.isDigit)(i.charCodeAt(a));)++a;return a}function v(e,n){return _(e.charCodeAt(n))<<12|_(e.charCodeAt(n+1))<<8|_(e.charCodeAt(n+2))<<4|_(e.charCodeAt(n+3))}function _(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function E(e,n){let t=e.source.body,i=t.length,a=n+1;for(;a<i;){let e=t.charCodeAt(a);if((0,g.isNameContinue)(e))++a;else break}return b(e,m.NAME,n,a,t.slice(n,a))}e.s(["Lexer",0,k,"createToken",0,b,"isPunctuatorTokenKind",0,N,"printCodePointAt",0,O,"readName",0,E],458111);class C{line=1;lineStart=0;constructor(e){const n=new y.Token(m.SOF,0,0,0,0);this.source=e,this.lastToken=n,this.token=n}get[Symbol.toStringTag](){return"SchemaCoordinateLexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==m.EOF){let n=function(e,n){let t=e.source.body,i=t.length;if(n<i){let i=t.charCodeAt(n);switch(i){case 46:return b(e,m.DOT,n,n+1);case 40:return b(e,m.PAREN_L,n,n+1);case 41:return b(e,m.PAREN_R,n,n+1);case 58:return b(e,m.COLON,n,n+1);case 64:return b(e,m.AT,n,n+1)}if((0,g.isNameStart)(i))return E(e,n);throw p(e.source,n,`Invalid character: ${O(e,n)}.`)}return b(e,m.EOF,i,i)}(this,e.end);e.next=n,n.prev=e,e=n}return e}}var I=e.i(820065),w=e.i(871595);let U=globalThis.process&&1?function(e,n){return e instanceof n}:function(e,n){if(e instanceof n)return!0;if("object"==typeof e&&null!==e){var t;let i=n.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(t=e.constructor)?void 0:t.name)){let n=(0,w.inspect)(e);throw Error(`Cannot use ${i} "${n}" from another module or realm. 81 82Ensure that there is only one instance of "graphql" in the node_modules 83directory. If different versions of "graphql" are the dependencies of other 84relied on modules, use "resolutions" to ensure only one version is installed. 85 86https://yarnpkg.com/en/docs/selective-version-resolutions 87 88Duplicate "graphql" modules cannot be used at the same time since different 89versions may have different capabilities and behavior. The data from one 90version used in the function from another could produce confusing and 91spurious results.`)}}return!1};e.s(["instanceOf",0,U],685628);class P{constructor(e,n="GraphQL request",t={line:1,column:1}){"string"==typeof e||(0,I.devAssert)(!1,`Body must be a string. Received: ${(0,w.inspect)(e)}.`),this.body=e,this.name=n,this.locationOffset=t,this.locationOffset.line>0||(0,I.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,I.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function V(e){return U(e,P)}e.s(["Source",0,P,"isSource",0,V],993064);class F{constructor(e,n={}){const{lexer:t,...i}=n;
91if(t)this._lexer=t;else{const n=V(e)?e:new P(e);this._lexer=new k(n)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(m.NAME);return this.node(e,{kind:h.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:h.Kind.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF)})}parseDefinition(){if(this.peek(m.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),n=e?this._lexer.lookahead():this._lexer.token;if(e&&n.kind===m.BRACE_L)throw p(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(n.kind===m.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw p(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===n.value)return this.parseTypeSystemExtension()}throw this.unexpected(n)}parseOperationDefinition(){let e,n=this._lexer.token;if(this.peek(m.BRACE_L))return this.node(n,{kind:h.Kind.OPERATION_DEFINITION,operation:y.OperationTypeNode.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseDescription(),i=this.parseOperationType();return this.peek(m.NAME)&&(e=this.parseName()),this.node(n,{kind:h.Kind.OPERATION_DEFINITION,operation:i,description:t,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(m.NAME);switch(e.value){case"query":return y.OperationTypeNode.QUERY;case"mutation":return y.OperationTypeNode.MUTATION;case"subscription":return y.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:h.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(m.DOLLAR),this.node(e,{kind:h.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:h.Kind.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R)})}parseSelection(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,n,t=this._lexer.token,i=this.parseName();return this.expectOptionalToken(m.COLON)?(e=i,n=this.parseName()):n=i,this.node(t,{kind:h.Kind.FIELD,alias:e,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let n=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,n,m.PAREN_R)}parseArgument(e=!1){let n=this._lexer.token,t=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:h.Kind.ARGUMENT,name:t,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(m.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(m.NAME)?this.node(e,{kind:h.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:h.Kind.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,n=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:h.Kind.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:h.Kind.FRAGMENT_DEFINITION,description:n,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 n=this._lexer.token;switch(n.kind){case m.BRACKET_L:return this.parseList(e);case m.BRACE_L:return this.parseObject(e);case m.INT:return this.advanceLexer(),this.node(n,{kind:h.Kind.INT,value:n.value});case m.FLOAT:return this.advanceLexer(),this.node(n,{kind:h.Kind.FLOAT,value:n.value});case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:h.Kind.BOOLEAN,value:!0});case"false":return this.node(n,{kind:h.Kind.BOOLEAN,value:!1});case"null":return this.node(n,{kind:h.Kind.NULL});default:return this.node(n,{kind:h.Kind.ENUM,value:n.value})}case m.DOLLAR:if(e){if(this.expectToken(m.DOLLAR),this._lexer.token.kind===m.NAME){let e=this._lexer.token.value;throw p(this._lexer.source,n.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(n)}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:h.Kind.STRING,value:e.value,block:e.kind===m.BLOCK_STRING})}parseList(e){let n=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:h.Kind.LIST,values:this.any(m.BRACKET_L,n,m.BRACKET_R)})}parseObject(e){let n=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:h.Kind.OBJECT,fields:this.any(m.BRACE_L,n,m.BRACE_R)})}parseObjectField(e){let n=this._lexer.token,t=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:h.Kind.OBJECT_FIELD,name:t,value:this.parseValueLiteral(e)})}parseDirectives(e){let n=[];for(;this.peek(m.AT);)n.push(this.parseDirective(e));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let n=this._lexer.token;return this.expectToken(m.AT),this.node(n,{kind:h.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,n=this._lexer.token;if(this.expectOptionalToken(m.BRACKET_L)){let t=this.parseTypeReference();this.expectToken(m.BRACKET_R),e=this.node(n,{kind:h.Kind.LIST_TYPE,type:t})}else e=this.parseNamedType();return this.expectOptionalToken(m.BANG)?this.node(n,{kind:h.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:h.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let t=this.parseConstDirectives(),i=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return this.node(e,{kind:h.Kind.SCHEMA_DEFINITION,description:n,directives:t,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,n=this.parseOperationType();this.expectToken(m.COLON);let t=this.parseNamedType();return this.node(e,{kind:h.Kind.OPERATION_TYPE_DEFINITION,operation:n,type:t})}parseScalarTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:h.Kind.SCALAR_TYPE_DEFINITION,description:n,name:t,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(e,{kind:h.Kind.OBJECT_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:a,fields:l})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(m.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseArgumentDefs();this.expectToken(m.COLON);let a=this.parseTypeReference(),l=this.parseConstDirectives();return this.node(e,{kind:h.Kind.FIELD_DEFINITION,description:n,name:t,arguments:i,type:a,directives:l})}parseArgumentDefs(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)}parseInputValueDef(){let e,n=this._lexer.token,t=this.parseDescription(),i=this.parseName();this.expectToken(m.COLON);let a=this.parseTypeReference();this.expectOptionalToken(m.EQUALS)&&(e=this.parseConstValueLiteral());let l=this.parseConstDirectives();return this.node(n,{kind:h.Kind.INPUT_VALUE_DEFINITION,description:t,name:i,type:a,defaultValue:e,directives:l})}parseInterfaceTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(e,{kind:h.Kind.INTERFACE_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:a,fields:l})}parseUnionTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),a=this.parseUnionMemberTypes();return this.node(e,{kind:h.Kind.UNION_TYPE_DEFINITION,description:n,name:t,directives:i,types:a})}parseUnionMemberTypes(){return this.expectOptionalToken(m.EQUALS)?this.delimitedMany(m.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();return this.node(e,{kind:h.Kind.ENUM_TYPE_DEFINITION,description:n,name:t,directives:i,values:a})}parseEnumValuesDefinition(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,n=this.parseDescription(),t=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:h.Kind.ENUM_VALUE_DEFINITION,description:n,name:t,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw p(this._lexer.source,this._lexer.token.start,`${x(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();return this.node(e,{kind:h.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:t,directives:i,fields:a})}parseInputFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===m.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();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),t=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(0===n.length&&0===t.length)throw this.unexpected();return this.node(e,{kind:h.Kind.SCHEMA_EXTENSION,directives:n,operationTypes:t})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),t=this.parseConstDirectives();if(0===t.length)throw this.unexpected();return this.node(e,{kind:h.Kind.SCALAR_TYPE_EXTENSION,name:n,directives:t})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:h.Kind.OBJECT_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:a})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:h.Kind.INTERFACE_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:a})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),t=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:h.Kind.UNION_TYPE_EXTENSION,name:n,directives:t,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),t=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:h.Kind.ENUM_TYPE_EXTENSION,name:n,directives:t,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),t=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:h.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:t,fields:i})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(m.AT);let n=this.parseName(),t=this.parseConstDirectives();if(0===t.length)throw this.unexpected();return this.node(e,{kind:h.Kind.DIRECTIVE_EXTENSION,name:n,directives:t})}parseDirectiveDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(m.AT);let t=this.parseName(),i=this.parseArgumentDefs(),a=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],l=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let r=this.parseDirectiveLocations();return this.node(e,{kind:h.Kind.DIRECTIVE_DEFINITION,description:n,name:t,arguments:i,directives:a,repeatable:l,locations:r})}parseDirectiveLocations(){return this.delimitedMany(m.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(f,n.value))return n;throw this.unexpected(e)}parseSchemaCoordinate(){let e,n,t=this._lexer.token,i=this.expectOptionalToken(m.AT),a=this.parseName();return(!i&&this.expectOptionalToken(m.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(m.PAREN_L)&&(n=this.parseName(),this.expectToken(m.COLON),this.expectToken(m.PAREN_R)),i)?n?this.node(t,{kind:h.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:a,argumentName:n}):this.node(t,{kind:h.Kind.DIRECTIVE_COORDINATE,name:a}):e?n?this.node(t,{kind:h.Kind.ARGUMENT_COORDINATE,name:a,fieldName:e,argumentName:n}):this.node(t,{kind:h.Kind.MEMBER_COORDINATE,name:a,memberName:e}):this.node(t,{kind:h.Kind.TYPE_COORDINATE,name:a})}node(e,n){return!0!==this._opt
91ions.noLocation&&(n.loc=new y.Location(e,this._lexer.lastToken,this._lexer.source)),n}peek(e){return this._lexer.token.kind===e}expectToken(e){let n=this._lexer.token;if(n.kind===e)return this.advanceLexer(),n;throw p(this._lexer.source,n.start,`Expected ${B(e)}, found ${x(n)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let n=this._lexer.token;if(n.kind===m.NAME&&n.value===e)this.advanceLexer();else throw p(this._lexer.source,n.start,`Expected "${e}", found ${x(n)}.`)}expectOptionalKeyword(e){let n=this._lexer.token;return n.kind===m.NAME&&n.value===e&&(this.advanceLexer(),!0)}unexpected(e){let n=null!=e?e:this._lexer.token;return p(this._lexer.source,n.start,`Unexpected ${x(n)}.`)}any(e,n,t){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(t);)i.push(n.call(this));return i}optionalMany(e,n,t){if(this.expectOptionalToken(e)){let e=[];do e.push(n.call(this));while(!this.expectOptionalToken(t))return e}return[]}many(e,n,t){this.expectToken(e);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(t))return i}delimitedMany(e,n){this.expectOptionalToken(e);let t=[];do t.push(n.call(this));while(this.expectOptionalToken(e))return t}advanceLexer(){let{maxTokens:e}=this._options,n=this._lexer.advance();if(n.kind!==m.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw p(this._lexer.source,n.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function x(e){let n=e.value;return B(e.kind)+(null!=n?` "${n}"`:"")}function B(e){return N(e)?`"${e}"`:e}e.s(["parse",0,function(e,n){let t=new F(e,n),i=t.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:t.tokenCount}),i},"parseConstValue",0,function(e,n){let t=new F(e,n);t.expectToken(m.SOF);let i=t.parseConstValueLiteral();return t.expectToken(m.EOF),i},"parseSchemaCoordinate",0,function(e){let n=new C(V(e)?e:new P(e)),t=new F(e,{lexer:n});t.expectToken(m.SOF);let i=t.parseSchemaCoordinate();return t.expectToken(m.EOF),i},"parseType",0,function(e,n){let t=new F(e,n);t.expectToken(m.SOF);let i=t.parseTypeReference();return t.expectToken(m.EOF),i},"parseValue",0,function(e,n){let t=new F(e,n);t.expectToken(m.SOF);let i=t.parseValueLiteral(!1);return t.expectToken(m.EOF),i}],379424)}]); 92
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.