(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,209595,t=>{"use strict";function n(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(t){if("graphql"===t.language)for(var n=t.tokens.filter(function(t){return"string"!=typeof t&&"comment"!==t.type&&"scalar"!==t.type}),e=0;e<n.length;){var a=n[e++];if("keyword"===a.type&&"mutation"===a.content){var i=[];if(l(["definition-mutation","punctuation"])&&"("===n[e+1].content){e+=2;var r=c(/^\($/,/^\)$/);if(-1===r)continue;for(;e<r;e++){var o=n[e+0];"variable"===o.type&&(f(o,"variable-input"),i.push(o.content))}e=r+1}if(l(["punctuation","property-query"])&&"{"===n[e+0].content&&(f(n[++e+0],"property-mutation"),i.length>0)){var s=c(/^\{$/,/^\}$/);if(-1===s)continue;for(var u=e;u<s;u++){var p=n[u];"variable"===p.type&&i.indexOf(p.content)>=0&&f(p,"variable-input")}}}}function l(t,a){a=a||0;for(var i=0;i<t.length;i++){var r=n[e+(i+a)];if(!r||r.type!==t[i])return!1}return!0}function c(t,a){for(var i=1,r=e;r<n.length;r++){var o=n[r],s=o.content;if("punctuation"===o.type&&"string"==typeof s){if(t.test(s))i++;else if(a.test(s)&&0==--i)return r}}return -1}function f(t,n){var e=t.alias;e?Array.isArray(e)||(t.alias=e=[e]):t.alias=e=[],e.push(n)}})}n.displayName="graphql",n.aliases=[],t.s(["default",0,n])}]);