PageSourceSearch

https://www.cuidadoconelperro.com.mx/_next/static/chunks/2736-c7149e7e21d8920e.js

js cuidadoconelperro.com.mx collected 2026-09-24 13:07:38 UTC 25,968 bytes, 20 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2736],{46723:function(e,t,r){(()=>{"use strict";var t={3890:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});let o={"b-grid":"b-grid____lDEW"}},3179:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});let o={breakpoints:'\'{"xxs": 0, "xs": "375px", "sm": "480px", "md": "768px", "lg": "1020px", "xl": "1280px", "xxl": "1480px", "xxxl": "1920px"}\''}},3263:function(e,t,r){var o=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)0>t.indexOf(o[s])&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(r[o[s]]=e[o[s]])}return r},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let a=s(r(258)),i=s(r(3890)),n=r(2335),l={colSpan:"data-col-span",colEnd:"data-col-end",colStart:"data-col-start",rowEnd:"data-row-end",rowSpan:"data-row-span",rowStart:"data-row-start",display:"data-display"},u=e=>{var{children:t,decorators:r,className:s}=e,u=o(e,["children","decorators","className"]);let d=(0,n.useDataAttributes)({decorators:r||{},attributesMap:l});return a.default.createElement("div",Object.assign({className:`${i.default.item} ${s}`},d,u),t)};u.displayName="Grid.Cell";let d={cols:"data-cols",rows:"data-rows",flow:"data-flow",autoCols:"data-auto-cols",autoRows:"data-auto-rows",gap:"data-gap",columnGap:"data-column-gap",rowGap:"data-row-gap"},c=e=>{var{children:t,decorators:r,className:s,gutter:l="default"}=e,u=o(e,["children","decorators","className","gutter"]);let c=(0,n.useDataAttributes)({decorators:r||{},attributesMap:d});return a.default.createElement("div",Object.assign({className:`${i.default["b-grid"]} ${s}`,"data-gutter":l},c,u),t)};c.displayName="Grid",c.Cell=u,t.default=c},3375:function(e,t,r){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Grid=void 0;let s=o(r(3263));t.Grid=s.default,t.default=s.default},2335:function(e,t,r){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useIsBrowser=t.useIsMobile=t.useDataAttributes=void 0;let s=o(r(8438));t.useDataAttributes=s.default;let a=o(r(3655));t.useIsMobile=a.default;let i=o(r(4196));t.useIsBrowser=i.default},8438:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=({decorators:e,attributesMap:t})=>{let r=Object.entries(e||{}).map(([e,r])=>((e,r)=>{let o={};return"object"==typeof r?Object.keys(t).forEach(s=>{let a=r[s];(a||0===a)&&(o[t[s]]=`${e}-${a}`)}):e&&(r||0===r)&&(o[t[e]]=r),o})(e,r)),o={};return r.forEach(e=>{for(let t in e)o.hasOwnProperty(t)?o[t]+=` ${e[t]}`:o[t]=e[t]}),o}},4196:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let o=r(258);t.default=()=>{let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{t(!0)},[]),e}},3655:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let o=r(258),s=r(1825).breakpoints.lg;t.default=()=>{let[e,t]=(0,o.useState)(!1),r=()=>{t(window.innerWidth<parseInt(s.replace("px","")))};return(0,o.useEffect)(()=>(r(),"undefined"!=typeof window&&window.addEventListener("resize",r),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",r)}),[]),e}},1825:function(e,t,r){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.breakpoints=void 0;let{breakpoints:s}=o(r(3179)).default;t.breakpoints=s?JSON.parse(s.replace(/'/g,"")):""},258:e=>{e.exports=r(67294)}},o={};function s(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e].call(a.exports,a,a.exports,s),a.exports}s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})};var a=s(3375);e.exports=a})()},54098:function(e,t){var r="undefined"!=typeof self?self:this,o=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();(function(e){var t={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};if(t.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&r.indexOf(Object.prototype.toString.call(e))>-1};function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw TypeError("Invalid character in header field name");return e.toLowerCase()}function i(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var r={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(r[Symbol.iterator]=function(){return r}),r}function l(e){this.map={},e instanceof l?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function u(e){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}function d(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function c(e){var t=new FileReader,r=d(t);return t.readAsArrayBuffer(e),r}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e){if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var r;t.arrayBuffer&&t.blob&&(r=e)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):t.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=p(e):this._bodyText=e=Object.prototype.toString.call(e)}}else this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")},this.arrayBuffer=function(){return this._bodyArrayBuffer?u(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(c)}),this.text=function(){var e,t,r,o=u(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,r=d(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},t.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(e,t){e=a(e),t=i(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[a(e)]},l.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},l.prototype.set=function(e,t){this.map[a(e)]=i(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),n(e)},l.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},l.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),n(e)},t.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);
1var h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(e,t){var r,o,s=(t=t||{}).body;if(e instanceof y){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,s||null==e._bodyInit||(s=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new l(t.headers)),this.method=(o=(r=t.method||this.method||"GET").toUpperCase(),h.indexOf(o)>-1?o:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&s)throw TypeError("Body not allowed for GET or HEAD requests");this._initBody(s)}function b(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),o=r.shift().replace(/\+/g," "),s=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(s))}}),t}function m(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},f.call(y.prototype),f.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},m.error=function(){var e=new m(null,{status:0,statusText:""});return e.type="error",e};var g=[301,302,303,307,308];m.redirect=function(e,t){if(-1===g.indexOf(t))throw RangeError("Invalid status code");return new m(null,{status:t,headers:{location:e}})},e.DOMException=o.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function w(r,o){return new Promise(function(s,a){var i=new y(r,o);if(i.signal&&i.signal.aborted)return a(new e.DOMException("Aborted","AbortError"));var n=new XMLHttpRequest;function u(){n.abort()}n.onload=function(){var e,t,r={status:n.status,statusText:n.statusText,headers:(e=n.getAllResponseHeaders()||"",t=new l,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var r=e.split(":"),o=r.shift().trim();if(o){var s=r.join(":").trim();t.append(o,s)}}),t)};r.url="responseURL"in n?n.responseURL:r.headers.get("X-Request-URL"),s(new m("response"in n?n.response:n.responseText,r))},n.onerror=function(){a(TypeError("Network request failed"))},n.ontimeout=function(){a(TypeError("Network request failed"))},n.onabort=function(){a(new e.DOMException("Aborted","AbortError"))},n.open(i.method,i.url,!0),"include"===i.credentials?n.withCredentials=!0:"omit"===i.credentials&&(n.withCredentials=!1),"responseType"in n&&t.blob&&(n.responseType="blob"),i.headers.forEach(function(e,t){n.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",u),n.onreadystatechange=function(){4===n.readyState&&i.signal.removeEventListener("abort",u)}),n.send(void 0===i._bodyInit?null:i._bodyInit)})}w.polyfill=!0,o.fetch||(o.fetch=w,o.Headers=l,o.Request=y,o.Response=m),e.Headers=l,e.Request=y,e.Response=m,e.fetch=w,Object.defineProperty(e,"__esModule",{value:!0})})({}),o.fetch.ponyfill=!0,delete o.fetch.polyfill,(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},28864:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},noSSR:function(){return i}});let o=r(38754);r(85893),r(67294);let s=o._(r(56016));function a(e){return{default:(null==e?void 0:e.default)||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function n(e,t){let r=s.default,o={loading:e=>{let{error:t,isLoading:r,pastDelay:o}=e;return null}};e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o={...o,...e});let n=(o={...o,...t}).loader;return(o.loadableGenerated&&(o={...o,...o.loadableGenerated}
1,delete o.loadableGenerated),"boolean"!=typeof o.ssr||o.ssr)?r({...o,loader:()=>null!=n?n().then(a):Promise.resolve(a(()=>null))}):(delete o.webpack,delete o.modules,i(r,o))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},60572:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let o=r(38754)._(r(67294)).default.createContext(null)},56016:function(e,t,r){"use strict";/**
2@copyright (c) 2017-present James Kyle <[email protected]>
3 MIT License
4 Permission is hereby granted, free of charge, to any person obtaining
5a copy of this software and associated documentation files (the
6"Software"), to deal in the Software without restriction, including
7without limitation the rights to use, copy, modify, merge, publish,
8distribute, sublicense, and/or sell copies of the Software, and to
9permit persons to whom the Software is furnished to do so, subject to
10the following conditions:
11 The above copyright notice and this permission notice shall be
12included in all copies or substantial portions of the Software.
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
17LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
19WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
20*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let o=r(38754)._(r(67294)),s=r(60572),a=[],i=[],n=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),a=null;function l(){if(!a){let t=new u(e,r);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!n){let e=r.webpack?r.webpack():r.modules;e&&i.push(t=>{for(let r of e)if(t.includes(r))return l()})}function d(e,t){!function(){l();let e=o.default.useContext(s.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let i=o.default.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),o.default.useMemo(()=>{var t;return i.loading||i.error?o.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:a.retry}):i.loaded?o.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return d.preload=()=>l(),d.displayName="LoadableComponent",o.default.forwardRef(d)}(l,e)}function c(e,t){let r=[];for(;e.length;){let o=e.pop();r.push(o(t))}return Promise.all(r).then(()=>
20{if(e.length)return c(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{c(a).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(n=!0,t());c(i,e).then(r,r)})),window.__NEXT_PRELOADREADY=d.preloadReady;let p=d},5152:function(e,t,r){e.exports=r(28864)},20984:function(e,t,r){"use strict";r.d(t,{g6:function(){return A},Ps:function(){return C}});let o=JSON,s=e=>e.toUpperCase(),a=e=>{let t={};return e.forEach((e,r)=>{t[r]=e}),t},i=(e,t,r)=>e.document?e:{document:e,variables:t,requestHeaders:r,signal:void 0},n=(e,t,r)=>e.query?e:{query:e,variables:t,requestHeaders:r,signal:void 0},l=(e,t)=>e.documents?e:{documents:e,requestHeaders:t,signal:void 0};var u=r(88877),d=r(16918);let c=e=>{let t;let r=e.definitions.filter(e=>"OperationDefinition"===e.kind);return 1===r.length&&(t=r[0]?.name?.value),t},p=e=>{if("string"==typeof e){let t;try{let r=(0,u.Qc)(e);t=c(r)}catch(e){}return{query:e,operationName:t}}let t=c(e);return{query:(0,d.S)(e),operationName:t}};class f extends Error{constructor(e,t){super(`${f.extractMessage(e)}: ${JSON.stringify({response:e,request:t})}`),Object.setPrototypeOf(this,f.prototype),this.response=e,this.request=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,f)}static extractMessage(e){return e.errors?.[0]?.message??`GraphQL Error (Code: ${e.status})`}}var h=r(54098),y=r.t(h,2);let b="ping",m="pong",g="complete";class w{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(e,t,r){this._type=e,this._payload=t,this._id=r}get text(){let e={type:this.type};return null!=this.id&&void 0!=this.id&&(e.id=this.id),null!=this.payload&&void 0!=this.payload&&(e.payload=this.payload),JSON.stringify(e)}static parse(e,t){let{type:r,payload:o,id:s}=JSON.parse(e);return new w(r,t(o),s)}}class _{constructor(e,{onInit:t,onAcknowledged:r,onPing:o,onPong:s}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e,e.addEventListener("open",async r=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={},e.send(new w("connection_init",t?await t():null).text)}),e.addEventListener("close",e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),e.addEventListener("error",e=>{console.error(e)}),e.addEventListener("message",t=>{try{let a=function(e,t=e=>e){return w.parse(e,t)}(t.data);switch(a.type){case"connection_ack":this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,r&&r(a.payload));return;case b:o?o(a.payload).then(t=>e.send(v(t).text)):e.send(v(null).text);return;case m:s&&s(a.payload);return}if(!this.socketState.acknowledged||void 0===a.id||null===a.id||!this.socketState.subscriptions[a.id])return;let{query:i,variables:n,subscriber:l}=this.socketState.subscriptions[a.id];switch(a.type){case"next":!a.payload.errors&&a.payload.data&&l.next&&l.next(a.payload.data),a.payload.errors&&l.error&&l.error(new f({...a.payload,status:200},{query:i,variables:n}));return;case"error":l.error&&l.error(new f({errors:a.payload,status:200},{query:i,variables:n}));return;case g:l.complete&&l.complete(),delete this.socketState.subscriptions[a.id];return}}catch(t){console.error(t),e.close(1006)}e.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(e,t,r,o){let s=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[s]={query:e,variables:o,subscriber:r},this.socket.send(new w("subscribe",{query:e,operationName:t,variables:o},s).text),()=>{this.socket.send(new w(g,void 0,s).text),delete this.socketState.subscriptions[s]}}rawRequest(e,t){return new Promise((r,o)=>{let s;this.rawSubscribe(e,{next:(e,t)=>s={data:e,extensions:t},error:o,complete:()=>r(s)},t)})}request(e,t){return new Promise((r,o)=>{let s;this.subscribe(e,{next:e=>s=e,error:o,complete:()=>r(s)},t)})}subscribe(e,t,r){let{query:o,operationName:s}=p(e);return this.makeSubscribe(o,s,t,r)}rawSubscribe(e,t,r){return this.makeSubscribe(e,void 0,t,r)}ping(e){this.socket.send(new w(b,e,void 0).text)}close(){this.socket.close(1e3)}}function v(e){return new w(m,e,void 0)}_.PROTOCOL="graphql-transport-ws";let x=e=>{let t={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||y&&h.Headers&&e instanceof h.Headers?t=a(e):Array.isArray(e)?e.forEach(([e,r])=>{e&&void 0!==r&&(t[e]=r)}):t=e),t},O=e=>e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),E=e=>{if(!Array.isArray(e.query)){let t=[`query=${encodeURIComponent(O(e.query))}`];return e.variables&&t.push(`variables=${encodeURIComponent(e.jsonSerializer.stringify(e.variables))}`),e.operationName&&t.push(`operationName=${encodeURIComponent(e.operationName)}`),t.join("&")}if(void 0!==e.variables&&!Array.isArray(e.variables))throw Error("Cannot create query with given variable type, array expected");let t=e.query.reduce((t,r,o)=>(t.push({query:O(r),variables:e.variables?e.jsonSerializer.stringify(e.variables[o]):void 0}),t),[]);return`query=${encodeURIComponent(e.jsonSerializer.stringify(t))}`},S=e=>async t=>{let r;let{url:s,query:a,variables:i,operationName:n,fetch:l,fetchOptions:u,middleware:d}=t,c={...t.headers},p="";"POST"===e?"string"==typeof(r=j(a,i,n,u.jsonSerializer))&&(c["Content-Type"]="application/json"):p=E({query:a,variables:i,operationName:n,jsonSerializer:u.jsonSerializer??o});let f={method:e,headers:c,body:r,...u},h=s,y=f;if(d){let{url:e,...t}=await Promise.resolve(d({...f,url:s,operationName:n,variables:i}));h=e,y=t}return p&&(h=`${h}?${p}`),await l(h,y)};class A{constructor(e,t={}){this.url=e,this.requestConfig=t,this.rawRequest=async(...e)=>{let[t,r,o]=e,s=n(t,r,o),{headers:a,fetch:i=h,method:l="POST",requestMiddleware:u,responseMiddleware:d,...c}=this.requestConfig,{url:f}=this;void 0!==s.signal&&(c.signal=s.signal);let{operationName:y}=p(s.query);return P({url:f,query:s.query,variables:s.variables,headers:{...x(k(a)),...x(s.requestHeaders)},operationName:y,fetch:i,method:l,fetchOptions:c,middleware:u}).then(e=>(d&&d(e),e)).catch(e=>{throw d&&d(e),e})}}async request(e,...t){let[r,o]=t,s=i(e,r,o),{headers:a,fetch:n=h,method:l="POST",requestMiddleware:u,responseMiddleware:d,...c}=this.requestConfig,{url:f}=this;void 0!==s.signal&&(c.signal=s.signal);let{query:y,operationName:b}=p(s.document);return P({url:f,query:y,variables:s.variables,headers:{...x(k(a)),...x(s.requestHeaders)},operationName:b,fetch:n,method:l,fetchOptions:c,middleware:u}).then(e=>(d&&d(e),e.data)).catch(e=>{throw d&&d(e),e})}batchRequests(e,t){let r=l(e,t),{headers:o,...s}=this.requestConfig;void 0!==r.signal&&(s.signal=r.signal);let a=r.documents.map(({document:e})=>p(e).query),i=r.documents.map(({variables:e})=>e);return P({url:this.url,query:a,variables:i,headers:{...x(k(o)),...x(r.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??h,method:this.requestConfig.method||"POST",fetchOptions:s,middleware:this.requestConfig.requestMiddleware}).then(e=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e.data)).catch(e=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e),e})}setHeaders(e){return this.requestConfig.headers=e,this}setHeader(e,t){let{headers:r}=this.requestConfig;return r?r[e]=t:this.requestConfig.headers={[e]:t},this}setEndpoint(e){return this.url=e,this}}let P=async e=>{let{query:t,variables:r,fetchOptions:a}=e,i=S(s(e.method??"post")),n=Array.isArray(e.query),l=await i(e),u=await q(l,a.jsonSerializer??o),d=Array.isArray(u)?!u.some(({data:e})=>!e):!!u.data,c=Array.isArray(u)||!u.errors||Array.isArray(u.errors)&&!u.errors.length||"all"===a.errorPolicy||"ignore"===a.errorPolicy;if(l.ok&&c&&d){let{errors:e,...t}=(Array.isArray(u),u),r="ignore"===a.errorPolicy?t:u;return{...n?{data:r}:r,headers:l.headers,status:l.status}}throw new f({..."string"==typeof u?{error:u}:u,status:l.status,headers:l.headers},{query:t,variables:r})},j=(e,t,r,s)=>{let a=s??o;if(!Array.isArray(e))return a.stringify({query:e,variables:t,operationName:r});if(void 0!==t&&!Array.isArray(t))throw Error("Cannot create request body with given variable type, array expected");let i=e.reduce((e,r,o)=>(e.push({query:r,variables:t?t[o]:void 0}),e),[]);return a.stringify(i)},q=async(e,t)=>{let r;
20return(e.headers.forEach((e,t)=>{"content-type"===t.toLowerCase()&&(r=e)}),r&&(r.toLowerCase().startsWith("application/json")||r.toLowerCase().startsWith("application/graphql+json")||r.toLowerCase().startsWith("application/graphql-response+json")))?t.parse(await e.text()):e.text()},k=e=>"function"==typeof e?e():e,C=(e,...t)=>e.reduce((e,r,o)=>`${e}${r}${o in t?String(t[o]):""}`,"")}}]);

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.