PageSourceSearch

https://graphql.org/_next/static/chunks/1256-868c78ba28cc61ba.js

js graphql.org collected 2026-09-24 06:58:56 UTC 14,544 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1256],{85131:function(n,t,e){e.d(t,{Z:function(){return o},s:function(){return i}});var r=e(17175),u=e(65815);let o=u.createContext(void 0);function i(n=!1){let t=u.useContext(o);if(void 0===t&&!n)throw Error((0,r.Z)(16));return t}},378:function(n,t,e){e.d(t,{Ez:function(){return s},QK:function(){return a},dG:function(){return o},wu:function(){return i}});var r=e(72702);let u={};function o(n,t,e,r,o){let i={...f(n,u)};return t&&(i=c(i,t)),e&&(i=c(i,e)),r&&(i=c(i,r)),o&&(i=c(i,o)),i}function i(n){if(0===n.length)return u;if(1===n.length)return f(n[0],u);let t={...f(n[0],u)};for(let e=1;e<n.length;e+=1)t=c(t,n[e]);return t}function c(n,t){return l(t)?t(n):function(n,t){if(!t)return n;for(let e in t){let u=t[e];switch(e){case"style":n[e]=(0,r.P)(n.style,u);break;case"className":n[e]=s(n.className,u);break;default:!function(n,t){let e=n.charCodeAt(0),r=n.charCodeAt(1),u=n.charCodeAt(2);return 111===e&&110===r&&u>=65&&u<=90&&("function"==typeof t||void 0===t)}(e,u)?n[e]=u:n[e]=function(n,t){return t?n?e=>{if(null!=e&&"object"==typeof e&&"nativeEvent"in e){a(e);let r=t(e);return e.baseUIHandlerPrevented||n?.(e),r}let r=t(e);return n?.(e),r}:t:n}(n[e],u)}}return n}(n,t)}function l(n){return"function"==typeof n}function f(n,t){return l(n)?n(t):n??u}function a(n){return n.preventBaseUIHandler=()=>{n.baseUIHandlerPrevented=!0},n}function s(n,t){return t?n?t+" "+n:t:n}},7500:function(n,t,e){e.d(t,{U:function(){return f}});var r=e(65815),u=e(2180),o=e(38439),i=e(93756),c=e(378),l=e(85131);function f(n={}){let{disabled:t=!1,focusableWhenDisabled:e,tabIndex:f=0,native:a=!0}=n,s=r.useRef(null),d=void 0!==(0,l.s)(!0),h=(0,o.R)(()=>{let n=s.current;return!!(n?.tagName==="A"&&n?.href)}),{props:p}=function(n){let{focusableWhenDisabled:t,disabled:e,composite:u=!1,tabIndex:o=0,isNativeButton:i}=n,c=u&&!1!==t,l=u&&!1===t;return{props:r.useMemo(()=>{let n={onKeyDown(n){e&&t&&"Tab"!==n.key&&n.preventDefault()}};return u||(n.tabIndex=o,i||!e||(n.tabIndex=t?o:-1)),(i&&(t||c)||!i&&e)&&(n["aria-disabled"]=e),i&&(!t||l)&&(n.disabled=e),n},[u,e,t,c,l,i,o])}}({focusableWhenDisabled:e,disabled:t,composite:d,tabIndex:f,isNativeButton:a}),b=r.useCallback(()=>{let n=s.current;(0,u.Re)(n)&&"BUTTON"===n.tagName&&d&&t&&void 0===p.disabled&&n.disabled&&(n.disabled=!1)},[t,p.disabled,d]);return(0,i.W)(b,[b]),{getButtonProps:r.useCallback((n={})=>{let{onClick:e,onMouseDown:r,onKeyUp:u,onKeyDown:o,onPointerDown:i,...l}=n,f=a?"button":void 0;return(0,c.dG)({type:f,onClick(n){if(t){n.preventDefault();return}e?.(n)},onMouseDown(n){t||r?.(n)},onKeyDown(n){if(t||((0,c.QK)(n),o?.(n)),n.baseUIHandlerPrevented)return;let r=n.target===n.currentTarget&&!a&&!h()&&!t,u="Enter"===n.key,i=" "===n.key;r&&((i||u)&&n.preventDefault(),u&&e?.(n))},onKeyUp(n){t||((0,c.QK)(n),u?.(n)),!n.baseUIHandlerPrevented&&(n.target!==n.currentTarget||a||t||" "!==n.key||e?.(n))},onPointerDown(n){if(t){n.preventDefault();return}i?.(n)}},a?void 0:{role:"button"},p,l)},[t,p,a,h]),buttonRef:(0,o.R)(n=>{s.current=n,b()})}}},15925:function(n,t,e){e.d(t,{e:function(){return u}});var r=e(37760);function u(n,t,e,u){let o=!1,i=!1,c=u??r.Nu;return{reason:n,event:t??new Event("base-ui"),cancel(){o=!0},allowPropagation(){i=!0},get isCanceled(){return o},get isPropagationAllowed(){return i},trigger:e,...c}}},59163:function(n,t,e){e.d(t,{Fh:function(){return i},Qr:function(){return h},YP:function(){return r},_j:function(){return u},fT:function(){return c},rC:function(){return o},su:function(){return f},tv:function(){return a},u$:function(){return l},x_:function(){return d},xx:function(){return s}});let r="none",u="trigger-press",o="trigger-hover",i="outside-press",c="item-press",l="link-press",f="focus-out",a="escape-key",s="list-navigation",d="cancel-open",h="window-resize"},37269:function(n,t,e){e.d(t,{q:function(){return r}});function r(n){return null==n?n:"current"in n?n.current:n}},86077:function(n,t,e){var r;e.d(t,{C:function(){return u},l:function(){return c}});let u=((r={}).startingStyle="data-starting-style",r.endingStyle="data-ending-style",r),o={[u.startingStyle]:""},i={[u.endingStyle]:""},c={transitionStatus:n=>"starting"===n?o:"ending"===n?i:null}},58670:function(n,t,e){e.d(t,{P:function(){return c}});var r=e(77163),u=e(53626),o=e(38439),i=e(37269);function c(n,t=!1,e=!0){let c=(0,u.p)();return(0,o.R)((u,o=null)=>{c.cancel();let l=(0,i.q)(n);null!=l&&("function"!=typeof l.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?u():c.request(()=>{function n(){l&&Promise.all(l.getAnimations().map(n=>n.finished)).then(()=>{null!=o&&o.aborted||r.flushSync(u)}).catch(()=>{e?null!=o&&o.aborted||r.flushSync(u):l.getAnimations().length>0&&l.getAnimations().some(n=>n.pending||"finished"!==n.playState)&&n()})}t?c.request(n):n()}))})}},54996:function(n,t,e){e.d(t,{L:function(){return u}});var r=e(67161);function u(n){return(0,r.M)(n,"base-ui")}},86731:function(n,t,e){e.d(t,{s:function(){return c}});var r=e(65815),u=e(38439),o=e(35437),i=e(58670);function c(n){let{enabled:t=!0,open:e,ref:c,onComplete:l}=n,f=(0,o.B)(e),a=(0,u.R)(l),s=(0,i.P)(c,e);r.useEffect(()=>{t&&s(()=>{e===f.current&&a()})},[t,e,a,s,f])}},94184:function(n,t,e){e.d(t,{E:function(){return s}});var r=e(17175),u=e(65815),o=e(58818),i=e(65876);function c(n){if(!u.isValidElement(n))return null;let t=n.props;return((0,i.c)(19)?t?.ref:n.ref)??null}var l=e(72702),f=e(378),a=e(37760);function s(n,t,e={}){let i=t.render,s=function(n,t={}){let{className:e,style:r,render:u}=n,{state:i=a.Nu,ref:s,props:d,stateAttributesMapping:h,enabled:p=!0}=t,b=p?"function"==typeof e?e(i):e:void 0,v=p?"function"==typeof r?r(i):r:void 0,m=p?function(n,t){let e={};for(let r in n){let u=n[r];if(t?.hasOwnProperty(r)){let n=t[r](u);null!=n&&Object.assign(e,n);continue}!0===u?e[`data-${r.toLowerCase()}`]="":u&&(e[`data-${r.toLowerCase()}`]=u.toString())}return e}(i,h):a.Nu,y=p?(0,l.P)(m,Array.isArray(d)?(0,f.wu)(d):d)??a.Nu:a.Nu;return("undefined"!=typeof document&&(p?Array.isArray(s)?y.ref=(0,o.j)([y.ref,c(u),...s]):y.ref=(0,o.r)(y.ref,c(u),s):(0,o.r)(null,null)),p)?(void 0!==b&&(y.className=(0,f.Ez)(y.className,b)),void 0!==v&&(y.style=(0,l.P)(y.style,v)),y):a.Nu}(t,e);return!1===e.enabled?null:function(n,t,e,o){if(t){if("function"==typeof t)return t(e,o);let n=(0,f.dG)(e,t.props);return n.ref=e.ref,u.cloneElement(t,n)}if(n&&"string"==typeof n)return"button"===n?(0,u.createElement)("button",{type:"button",...e,key:e.key}):"img"===n?(0,u.createElement)("img",{alt:"",...e,key:e.key}):u.createElement(n,e);throw Error((0,r.Z)(8))}(n,i,s,e.state??a.Nu)}},90607:function(n,t,e){e.d(t,{h:function(){return c}});var r=e(65815),u=e(77163),o=e(93756),i=e(53626);function c(n,t=!1,e=!1){let[c,l]=r.useState(n&&t?"idle":void 0),[f,a]=r.useState(n);return n&&!f&&(a(!0),l("starting")),n||!f||"ending"===c||e||l("ending"),n||f||"ending"!==c||l(void 0),(0,o.W)(()=>
1{if(!n&&f&&"ending"!==c&&e){let n=i.$.request(()=>{l("ending")});return()=>{i.$.cancel(n)}}},[n,f,c,e]),(0,o.W)(()=>{if(!n||t)return;let e=i.$.request(()=>{u.flushSync(()=>{l(void 0)})});return()=>{i.$.cancel(e)}},[t,n]),(0,o.W)(()=>{if(!n||!t)return;n&&f&&"idle"!==c&&l("starting");let e=i.$.request(()=>{l("idle")});return()=>{i.$.cancel(e)}},[t,n,f,l,c]),r.useMemo(()=>({mounted:f,setMounted:a,transitionStatus:c}),[f,c])}},37760:function(n,t,e){function r(){}e.d(t,{LZ:function(){return u},Nu:function(){return o},dG:function(){return r}});let u=Object.freeze([]),o=Object.freeze({})},17175:function(n,t,e){e.d(t,{Z:function(){return r}});function r(n,...t){let e=new URL(`https://base-ui.com/production-error/${n}`);return t.forEach(n=>e.searchParams.append("args[]",n)),`Base UI error #${n}; visit ${e} for the full message.`}},72702:function(n,t,e){e.d(t,{P:function(){return r}});function r(n,t){return n&&!t?n:!n&&t?t:n||t?{...n,...t}:void 0}},65876:function(n,t,e){e.d(t,{c:function(){return u}});let r=parseInt(e(65815).version,10);function u(n){return r>=n}},53626:function(n,t,e){e.d(t,{$:function(){return c},p:function(){return l}});var r=e(41691),u=e(2773);class o{request(n){let t=this.nextId;return this.nextId+=1,this.callbacks.push(n),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(n){let t=n-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}constructor(){this.callbacks=[],this.callbacksCount=0,this.nextId=1,this.startId=1,this.isScheduled=!1,this.tick=n=>{this.isScheduled=!1;let t=this.callbacks,e=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,e>0)for(let e=0;e<t.length;e+=1)t[e]?.(n)}}}let i=new o;class c{static create(){return new c}static request(n){return i.request(n)}static cancel(n){return i.cancel(n)}request(n){this.cancel(),this.currentId=i.request(()=>{this.currentId=null,n()})}constructor(){this.currentId=null,this.cancel=()=>{null!==this.currentId&&(i.cancel(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.cancel}}function l(){let n=(0,r.B)(c.create).current;return(0,u.F)(n.disposeEffect),n}},62818:function(n,t,e){e.d(t,{u:function(){return u}});var r=e(65815);function u({controlled:n,default:t,name:e,state:u="value"}){let{current:o}=r.useRef(void 0!==n),[i,c]=r.useState(t),l=r.useCallback(n=>{o||c(n)},[]);return[o?n:i,l]}},67161:function(n,t,e){e.d(t,{M:function(){return c}});var r=e(65815);let u={...e.t(r,2)},o=0,i=u.useId;function c(n,t){if(void 0!==i){let e=i();return n??(t?`${t}-${e}`:e)}return function(n,t="mui"){let[e,u]=r.useState(n),i=n||e;return r.useEffect(()=>{null==e&&(o+=1,u(`${t}-${o}`))},[e,t]),i}(n,t)}},93756:function(n,t,e){e.d(t,{W:function(){return u}});var r=e(65815);let u="undefined"!=typeof document?r.useLayoutEffect:()=>{}},58818:function(n,t,e){e.d(t,{j:function(){return o},r:function(){return u}});var r=e(41691);function u(n,t,e,u){let o=(0,r.B)(i).current;return(o.refs[0]!==n||o.refs[1]!==t||o.refs[2]!==e||o.refs[3]!==u)&&c(o,[n,t,e,u]),o.callback}function o(n){let t=(0,r.B)(i).current;return(t.refs.length!==n.length||t.refs.some((t,e)=>t!==n[e]))&&c(t,n),t.callback}function i(){return{callback:null,cleanup:null,refs:[]}}function c(n,t){if(n.refs=t,t.every(n=>null==n)){n.callback=null;return}n.callback=e=>{if(n.cleanup&&(n.cleanup(),n.cleanup=null),null!=e){let r=Array(t.length).fill(null);for(let n=0;n<t.length;n+=1){let u=t[n];if(null!=u)switch(typeof u){case"function":{let t=u(e);"function"==typeof t&&(r[n]=t);break}case"object":u.current=e}}n.cleanup=()=>{for(let n=0;n<t.length;n+=1){let e=t[n];if(null!=e)switch(typeof e){case"function":{let t=r[n];"function"==typeof t?t():e(null);break}case"object":e.current=null}}}}}}},2773:function(n,t,e){e.d(t,{F:function(){return o}});var r=e(65815);let u=[];function o(n){r.useEffect(n,u)}},41691:function(n,t,e){e.d(t,{B:function(){return o}});var r=e(65815);let u={};function o(n,t){let e=r.useRef(u);return e.current===u&&(e.current=n(t)),e}},38439:function(n,t,e){e.d(t,{R:function(){return l}});var r,u=e(65815),o=e(41691);let i=(r||(r=e.t(u,2)))[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],c=i&&i!==u.useLayoutEffect?i:n=>n();function l(n){let t=(0,o.B)(f).current;return t.next=n,c(t.effect),t.trampoline}function f(){let n={next:void 0,callback:a,trampoline:(...t)=>n.callback?.(...t),effect:()=>{n.callback=n.next}};return n}function a(){}},35437:function(n,t,e){e.d(t,{B:function(){return o}});var r=e(93756),u=e(41691);function o(n){let t=(0,u.B)(i,n).current;return t.next=n,(0,r.W)(t.effect),t}function i(n){let t={current:n,next:n,effect:()=>{t.current=t.next}};return t}},2180:function(n,t,e){function r(){return"undefined"!=typeof window}function u(n){return c(n)?(n.nodeName||"").toLowerCase():"#document"}function o(n){var t;return(null==n||null==(t=n.ownerDocument)?void 0:t.defaultView)||window}function i(n){var t;return null==(t=(c(n)?n.ownerDocument:n.document)||window.document)?void 0:t.documentElement}function c(n){return!!r()&&(n instanceof Node||n instanceof o(n).Node)}function l(n){return!!r()&&(n instanceof Element||n instanceof o(n).Element)}function f(n){return!!r()&&(n instanceof HTMLElement||n instanceof o(n).HTMLElement)}function a(n){return!!r()&&"undefined"!=typeof ShadowRoot&&(n instanceof ShadowRoot||n instanceof o(n).ShadowRoot)}e.d(t,{Dx:function(){return I},Jj:function(){return o},Kx:function(){return function n(t,e,r){var u;void 0===e&&(e=[]),void 0===r&&(r=!0);let i=function n(t){let e=P(t);return C(e)?t.ownerDocument?t.ownerDocument.body:t.body:f(e)&&d(e)?e:n(e)}(t),c=i===(null==(u=t.ownerDocument)?void 0:u.body),l=o(i);if(c){let t=x(l);
1return e.concat(l,l.visualViewport||[],d(i)?i:[],t&&r?n(t):[])}return e.concat(i,n(i,[],r))}},Lw:function(){return N},Ow:function(){return P},Pf:function(){return S},Py:function(){return C},Re:function(){return f},UG:function(){return c},Ze:function(){return p},Zq:function(){return a},ao:function(){return d},gQ:function(){return k},hT:function(){return w},kK:function(){return l},tF:function(){return i},tR:function(){return v},wK:function(){return x},wk:function(){return u}});let s=new Set(["inline","contents"]);function d(n){let{overflow:t,overflowX:e,overflowY:r,display:u}=I(n);return/auto|scroll|overlay|hidden|clip/.test(t+r+e)&&!s.has(u)}let h=new Set(["table","td","th"]);function p(n){return h.has(u(n))}let b=[":popover-open",":modal"];function v(n){return b.some(t=>{try{return n.matches(t)}catch(n){return!1}})}let m=["transform","translate","scale","rotate","perspective"],y=["transform","translate","scale","rotate","perspective","filter"],g=["paint","layout","strict","content"];function w(n){let t=S(),e=l(n)?I(n):n;return m.some(n=>!!e[n]&&"none"!==e[n])||!!e.containerType&&"normal"!==e.containerType||!t&&!!e.backdropFilter&&"none"!==e.backdropFilter||!t&&!!e.filter&&"none"!==e.filter||y.some(n=>(e.willChange||"").includes(n))||g.some(n=>(e.contain||"").includes(n))}function k(n){let t=P(n);for(;f(t)&&!C(t);){if(w(t))return t;if(v(t))break;t=P(t)}return null}function S(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let E=new Set(["html","body","#document"]);function C(n){return E.has(u(n))}function I(n){return o(n).getComputedStyle(n)}function N(n){return l(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function P(n){if("html"===u(n))return n;let t=n.assignedSlot||n.parentNode||a(n)&&n.host||i(n);return a(t)?t.host:t}function x(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}}}]);

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.