PageSourceSearch

https://lv-production-portal-root.s3.delfi.lv/1.23.83/BAtaIoUs.js

js delfi.lv collected 2026-09-24 07:56:26 UTC 31,783 bytes, 21 lines download raw bytes

1import{n as e}from"./B3agJVTC.js";import{_ as t,a as n,c as r,d as i,f as a,g as o,h as s,l as c,m as l,o as u,p as d,u as f}from"./CPC2uGyy.js";import{t as p}from"./HclGiUj8.js";function ee(e){return typeof e==`object`&&!!e}function te(e,t){if(!e)throw Error(t??`Unexpected invariant triggered.`)}var m=/\r\n|[\n\r]/g;function h(e,t){let n=0,r=1;for(let i of e.body.matchAll(m)){if(typeof i.index==`number`||te(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function ne(e){return g(e.source,h(e.source,e.start))}function g(e,t){let n=e.locationOffset.column-1,r=``.padStart(n)+e.body,i=t.line-1,a=e.locationOffset.line-1,o=t.line+a,s=t.line===1?n:0,c=t.column+s,l=`${e.name}:${o}:${c}\n`,u=r.split(/\r\n|[\n\r]/g),d=u[i];if(d.length>120){let e=Math.floor(c/80),t=c%80,n=[];for(let e=0;e<d.length;e+=80)n.push(d.slice(e,e+80));return l+_([[`${o} |`,n[0]],...n.slice(1,e+1).map(e=>[`|`,e]),[`|`,`^`.padStart(t)],[`|`,n[e+1]]])}return l+_([[`${o-1} |`,u[i-1]],[`${o} |`,d],[`|`,`^`.padStart(c)],[`${o+1} |`,u[i+1]]])}function _(e){let t=e.filter(([e,t])=>t!==void 0),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?` `+t:``)).join(`
2`)}function v(e){let t=e[0];return t==null||`kind`in t||`length`in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var y=class e extends Error{constructor(t,...n){let{nodes:r,source:i,positions:a,path:o,originalError:s,extensions:c}=v(n);super(t),this.name=`GraphQLError`,this.path=o??void 0,this.originalError=s??void 0,this.nodes=b(Array.isArray(r)?r:r?[r]:void 0);let l=b(this.nodes?.map(e=>e.loc).filter(e=>e!=null));this.source=i??l?.[0]?.source,this.positions=a??l?.map(e=>e.start),this.locations=a&&i?a.map(e=>h(i,e)):l?.map(e=>h(e.source,e.start));let u=ee(s?.extensions)?s?.extensions:void 0;this.extensions=c??u??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}}),s!=null&&s.stack?Object.defineProperty(this,"stack",{value:s.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):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 t of this.nodes)t.loc&&(e+=`
3
4`+ne(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+=`
5
6`+g(this.source,t);return e}toJSON(){let e={message:this.message};return this.locations!=null&&(e.locations=this.locations),this.path!=null&&(e.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}};function b(e){return e===void 0||e.length===0?void 0:e}function x(e,t,n){return new y(`Syntax Error: ${n}`,{source:e,positions:[t]})}var S;(function(e){e.QUERY=`QUERY`,e.MUTATION=`MUTATION`,e.SUBSCRIPTION=`SUBSCRIPTION`,e.FIELD=`FIELD`,e.FRAGMENT_DEFINITION=`FRAGMENT_DEFINITION`,e.FRAGMENT_SPREAD=`FRAGMENT_SPREAD`,e.INLINE_FRAGMENT=`INLINE_FRAGMENT`,e.VARIABLE_DEFINITION=`VARIABLE_DEFINITION`,e.SCHEMA=`SCHEMA`,e.SCALAR=`SCALAR`,e.OBJECT=`OBJECT`,e.FIELD_DEFINITION=`FIELD_DEFINITION`,e.ARGUMENT_DEFINITION=`ARGUMENT_DEFINITION`,e.INTERFACE=`INTERFACE`,e.UNION=`UNION`,e.ENUM=`ENUM`,e.ENUM_VALUE=`ENUM_VALUE`,e.INPUT_OBJECT=`INPUT_OBJECT`,e.INPUT_FIELD_DEFINITION=`INPUT_FIELD_DEFINITION`,e.DIRECTIVE_DEFINITION=`DIRECTIVE_DEFINITION`})(S||={});var C;(function(e){e.SOF=`<SOF>`,e.EOF=`<EOF>`,e.BANG=`!`,e.DOLLAR=`$`,e.AMP=`&`,e.PAREN_L=`(`,e.PAREN_R=`)`,e.DOT=`.`,e.SPREAD=`...`,e.COLON=`:`,e.EQUALS=`=`,e.AT=`@`,e.BRACKET_L=`[`,e.BRACKET_R=`]`,e.BRACE_L=`{`,e.PIPE=`|`,e.BRACE_R=`}`,e.NAME=`Name`,e.INT=`Int`,e.FLOAT=`Float`,e.STRING=`String`,e.BLOCK_STRING=`BlockString`,e.COMMENT=`Comment`})(C||={});var re=class{constructor(e){let t=new o(C.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return`Lexer`}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==C.EOF)do if(e.next)e=e.next;else{let t=A(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===C.COMMENT);return e}};function ie(e){return e===C.BANG||e===C.DOLLAR||e===C.AMP||e===C.PAREN_L||e===C.PAREN_R||e===C.DOT||e===C.SPREAD||e===C.COLON||e===C.EQUALS||e===C.AT||e===C.BRACKET_L||e===C.BRACKET_R||e===C.BRACE_L||e===C.PIPE||e===C.BRACE_R}function w(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function T(e,t){return E(e.charCodeAt(t))&&D(e.charCodeAt(t+1))}function E(e){return e>=55296&&e<=56319}function D(e){return e>=56320&&e<=57343}function O(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return C.EOF;
6if(n>=32&&n<=126){let e=String.fromCodePoint(n);return e===`"`?`'"'`:`"${e}"`}return`U+`+n.toString(16).toUpperCase().padStart(4,`0`)}function k(e,t,n,r,i){let a=e.line,s=1+n-e.lineStart;return new o(t,n,r,a,s,i)}function A(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return j(e,i);case 33:return k(e,C.BANG,i,i+1);case 36:return k(e,C.DOLLAR,i,i+1);case 38:return k(e,C.AMP,i,i+1);case 40:return k(e,C.PAREN_L,i,i+1);case 41:return k(e,C.PAREN_R,i,i+1);case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return k(e,C.SPREAD,i,i+3);break;case 58:return k(e,C.COLON,i,i+1);case 61:return k(e,C.EQUALS,i,i+1);case 64:return k(e,C.AT,i,i+1);case 91:return k(e,C.BRACKET_L,i,i+1);case 93:return k(e,C.BRACKET_R,i,i+1);case 123:return k(e,C.BRACE_L,i,i+1);case 124:return k(e,C.PIPE,i,i+1);case 125:return k(e,C.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?R(e,i):ae(e,i)}if(f(t)||t===45)return M(e,i,t);if(a(t))return z(e,i);throw x(e.source,i,t===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:w(t)||T(n,i)?`Unexpected character: ${O(e,i)}.`:`Invalid character: ${O(e,i)}.`)}return k(e,C.EOF,r,r)}function j(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(e===10||e===13)break;if(w(e))++i;else if(T(n,i))i+=2;else break}
6return k(e,C.COMMENT,t,i,n.slice(t+1,i))}function M(e,t,n){let r=e.source.body,i=t,o=n,s=!1;if(o===45&&(o=r.charCodeAt(++i)),o===48){if(o=r.charCodeAt(++i),f(o))throw x(e.source,i,`Invalid number, unexpected digit after 0: ${O(e,i)}.`)}else i=N(e,i,o),o=r.charCodeAt(i);if(o===46&&(s=!0,o=r.charCodeAt(++i),i=N(e,i,o),o=r.charCodeAt(i)),(o===69||o===101)&&(s=!0,o=r.charCodeAt(++i),(o===43||o===45)&&(o=r.charCodeAt(++i)),i=N(e,i,o),o=r.charCodeAt(i)),o===46||a(o))throw x(e.source,i,`Invalid number, expected digit but got: ${O(e,i)}.`);return k(e,s?C.FLOAT:C.INT,t,i,r.slice(t,i))}function N(e,t,n){if(!f(n))throw x(e.source,t,`Invalid number, expected digit but got: ${O(e,t)}.`);let r=e.source.body,i=t+1;for(;f(r.charCodeAt(i));)++i;return i}function ae(e,t){let n=e.source.body,r=n.length,i=t+1,a=i,o=``;for(;i<r;){let r=n.charCodeAt(i);if(r===34)return o+=n.slice(a,i),k(e,C.STRING,t,i+1,o);if(r===92){o+=n.slice(a,i);let t=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?oe(e,i):P(e,i):L(e,i);o+=t.value,i+=t.size,a=i;continue}if(r===10||r===13)break;if(w(r))++i;else if(T(n,i))i+=2;else throw x(e.source,i,`Invalid character within String: ${O(e,i)}.`)}throw x(e.source,i,`Unterminated string.`)}function oe(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(e===125){if(i<5||!w(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|I(e),r<0)break}throw x(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function P(e,t){let n=e.source.body,r=F(n,t+2);if(w(r))return{value:String.fromCodePoint(r),size:6};if(E(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){let e=F(n,t+8);if(D(e))return{value:String.fromCodePoint(r,e),size:12}}throw x(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function F(e,t){return I(e.charCodeAt(t))<<12|I(e.charCodeAt(t+1))<<8|I(e.charCodeAt(t+2))<<4|I(e.charCodeAt(t+3))}function I(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function L(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:`"`,size:2};case 92:return{value:`\\`,size:2};case 47:return{value:`/`,size:2};case 98:return{value:`\b`,size:2};case 102:return{value:`\f`,size:2};case 110:return{value:`
7`,size:2};case 114:return{value:`\r`,size:2};case 116:return{value:`	`,size:2}}throw x(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function R(e,t){let n=e.source.body,r=n.length,i=e.lineStart,a=t+3,o=a,s=``,l=[];for(;a<r;){let r=n.charCodeAt(a);if(r===34&&n.charCodeAt(a+1)===34&&n.charCodeAt(a+2)===34){s+=n.slice(o,a),l.push(s);let r=k(e,C.BLOCK_STRING,t,a+3,c(l).join(`
8`));return e.line+=l.length-1,e.lineStart=i,r}if(r===92&&n.charCodeAt(a+1)===34&&n.charCodeAt(a+2)===34&&n.charCodeAt(a+3)===34){s+=n.slice(o,a),o=a+1,a+=4;continue}if(r===10||r===13){s+=n.slice(o,a),l.push(s),r===13&&n.charCodeAt(a+1)===10?a+=2:++a,s=``,o=a,i=a;continue}if(w(r))++a;else if(T(n,a))a+=2;else throw x(e.source,a,`Invalid character within String: ${O(e,a)}.`)}throw x(e.source,a,`Unterminated string.`)}function z(e,t){let n=e.source.body,r=n.length,a=t+1;for(;a<r;){let e=n.charCodeAt(a);if(i(e))++a;else break}return k(e,C.NAME,t,a,n.slice(t,a))}var B=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e==`object`&&e){let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:e.constructor?.name)){let t=r(e);throw Error(`Cannot use ${n} "${t}" from another module or realm.
9
10Ensure that there is only one instance of "graphql" in the node_modules
11directory. If different versions of "graphql" are the dependencies of other
12relied on modules, use "resolutions" to ensure only one version is installed.
13
14https://yarnpkg.com/en/docs/selective-version-resolutions
15
16Duplicate "graphql" modules cannot be used at the same time since different
17versions may have different capabilities and behavior. The data from one
18version used in the function from another could produce confusing and
19spurious results.`)}}return!1},V=class{constructor(e,n=`GraphQL request`,i={line:1,column:1}){typeof e==`string`||t(!1,`Body must be a string. Received: ${r(e)}.`),this.body=e,this.name=n,this.locationOffset=i,this.locationOffset.line>0||t(!1,`line in locationOffset is 1-indexed and must be positive.`),this.locationOffset.column>0||t(!1,`column in locationOffset is 1-indexed and must be positive.`)}get[Symbol.toStringTag](){return`Source`}};function H(e){return B(e,V)}function U(e,t){let n=new W(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}var W=class{constructor(e,t={}){let{lexer:n,...r}=t;if(n)this._lexer=n;else{let t=H(e)?e:new V(e);this._lexer=new re(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(C.NAME);return this.node(e,{kind:d.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:d.DOCUMENT,definitions:this.many(C.SOF,this.parseDefinition,C.EOF)})}parseDefinition(){if(this.peek(C.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===C.BRACE_L)throw x(this._lexer.source,this._lexer.token.start,`Unexpected description, descriptions are not supported on shorthand queries.`);
19if(t.kind===C.NAME){switch(t.value){case`schema`:return this.parseSchemaDefinition();case`scalar`:return this.parseScalarTypeDefinition();case`type`:return this.parseObjectTypeDefinition();case`interface`:return this.parseInterfaceTypeDefinition();case`union`:return this.parseUnionTypeDefinition();case`enum`:return this.parseEnumTypeDefinition();case`input`:return this.parseInputObjectTypeDefinition();case`directive`:return this.parseDirectiveDefinition()}switch(t.value){case`query`:case`mutation`:case`subscription`:return this.parseOperationDefinition();case`fragment`:return this.parseFragmentDefinition()}if(e)throw x(this._lexer.source,this._lexer.token.start,`Unexpected description, only GraphQL definitions support descriptions.`);if(t.value===`extend`)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(C.BRACE_L))return this.node(e,{kind:d.OPERATION_DEFINITION,operation:s.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseDescription(),n=this.parseOperationType(),r;return this.peek(C.NAME)&&(r=this.parseName()),this.node(e,{kind:d.OPERATION_DEFINITION,operation:n,description:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(C.NAME);switch(e.value){case`query`:return s.QUERY;case`mutation`:return s.MUTATION;case`subscription`:return s.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(C.PAREN_L,this.parseVariableDefinition,C.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:d.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(C.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(C.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(C.DOLLAR),this.node(e,{kind:d.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:d.SELECTION_SET,selections:this.many(C.BRACE_L,this.parseSelection,C.BRACE_R)})}parseSelection(){return this.peek(C.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,r;return this.expectOptionalToken(C.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:d.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(C.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(C.PAREN_L,t,C.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(C.COLON),this.node(t,{kind:d.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(C.SPREAD);let t=this.expectOptionalKeyword(`on`);return!t&&this.peek(C.NAME)?this.node(e,{kind:d.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:d.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return this.expectKeyword(`fragment`),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:d.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword(`on`),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:d.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword(`on`),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value===`on`)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case C.BRACKET_L:return this.parseList(e);case C.BRACE_L:return this.parseObject(e);case C.INT:return this.advanceLexer(),this.node(t,{kind:d.INT,value:t.value});case C.FLOAT:return this.advanceLexer(),this.node(t,{kind:d.FLOAT,value:t.value});case C.STRING:case C.BLOCK_STRING:return this.parseStringLiteral();case C.NAME:switch(this.advanceLexer(),t.value){case`true`:return this.node(t,{kind:d.BOOLEAN,value:!0});case`false`:return this.node(t,{kind:d.BOOLEAN,value:!1});case`null`:return this.node(t,{kind:d.NULL});default:return this.node(t,{kind:d.ENUM,value:t.value})}case C.DOLLAR:if(e){if(this.expectToken(C.DOLLAR),this._lexer.token.kind===C.NAME){let e=this._lexer.token.value;throw x(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:d.STRING,value:e.value,block:e.kind===C.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:d.LIST,values:this.any(C.BRACKET_L,()=>this.parseValueLiteral(e),C.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:d.OBJECT,fields:this.any(C.BRACE_L,()=>this.parseObjectField(e),C.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(C.COLON),this.node(t,{kind:d.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(C.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(C.AT),this.node(t,{kind:d.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(C.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(C.BRACKET_R),t=this.node(e,{kind:d.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(C.BANG)?this.node(e,{kind:d.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:d.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(C.STRING)||this.peek(C.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`schema`);let n=this.parseConstDirectives(),r=this.many(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);return this.node(e,{kind:d.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(C.COLON);let n=this.parseNamedType();return this.node(e,{kind:d.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`scalar`);let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:d.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`type`);let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:d.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword(`implements`)?this.delimitedMany(C.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseFieldDefinition,C.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(C.COLON);let i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:d.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(C.PAREN_L,this.parseInputValueDef,C.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(C.COLON);let r=this.parseTypeReference(),i;this.expectOptionalToken(C.EQUALS)&&(i=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(e,{kind:d.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`interface`);let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:d.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`union`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:d.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(C.EQUALS)?this.delimitedMany(C.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`enum`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:d.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(C.BRACE_L,this.parseEnumValueDefinition,C.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:d.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if(this._lexer.token.value===`true`||this._lexer.token.value===`fal
19se`||this._lexer.token.value===`null`)throw x(this._lexer.source,this._lexer.token.start,`${G(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`input`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:d.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseInputValueDef,C.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===C.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 t=this.parseConstDirectives(),n=this.optionalMany(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);if(t.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:d.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`scalar`);let t=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:d.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`type`);let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:d.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`interface`);let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:d.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`union`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:d.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`enum`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:d.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`input`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:d.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`directive`),this.expectToken(C.AT);let t=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:d.DIRECTIVE_EXTENSION,name:t,directives:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`directive`),this.expectToken(C.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],a=this.expectOptionalKeyword(`repeatable`);this.expectKeyword(`on`);let o=this.parseDirectiveLocations();return this.node(e,{kind:d.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,directives:i,repeatable:a,locations:o})}parseDirectiveLocations(){return this.delimitedMany(C.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(S,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e=this._lexer.token,t=this.expectOptionalToken(C.AT),n=this.parseName(),r;!t&&this.expectOptionalToken(C.DOT)&&(r=this.parseName());let i;return(t||r)&&this.expectOptionalToken(C.PAREN_L)&&(i=this.parseName(),this.expectToken(C.COLON),this.expectToken(C.PAREN_R)),t?i?this.node(e,{kind:d.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:i}):this.node(e,{kind:d.DIRECTIVE_COORDINATE,name:n}):r?i?this.node(e,{kind:d.ARGUMENT_COORDINATE,name:n,fieldName:r,argumentName:i}):this.node(e,{kind:d.MEMBER_COORDINATE,name:n,memberName:r}):this.node(e,{kind:d.TYPE_COORDINATE,name:n})}node(e,t){return this._options.noLocation!==!0&&(t.loc=new l(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw x(this._lexer.source,t.start,`Expected ${K(e)}, found ${G(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===C.NAME&&t.value===e)this.advanceLexer();else throw x(this._lexer.source,t.start,`Expected "${e}", found ${G(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===C.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return x(this._lexer.source,t.start,`Unexpected ${G(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==C.EOF&&(++this._tokenCounter,e!==void 0&&this._tokenCounter>e))throw x(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function G(e){let t=e.value;return K(e.kind)+(t==null?``:` "${t}"`)}function K(e){return ie(e)?`"${e}"`:e}u();var q=new Map,J=new Map,Y=!0,X=!1;function Z(e){return e.replace(/[\s,]+/g,` `).trim()}function se(e){return Z(e.source.body.substring(e.start,e.end))}function ce(e){var t=new Set,r=[];return e.definitions.forEach(function(e){if(e.kind===`FragmentDefinition`){var n=e.name.value,i=se(e.loc),a=J.get(n);a&&!a.has(i)?Y&&console.warn(`Warning: fragment with name `+n+` already exists.
20graphql-tag enforces all fragment names across your application to be unique; read more about
21this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||J.set(n,a=new Set),a.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e)}),n(n({},e),{definitions:r})}function le(e){var t=new Set(e.definitions);t.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var r=e[n];r&&typeof r==`object`&&t.add(r)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function ue(e){var t=Z(e);if(!q.has(t)){var n=U(e,{experimentalFragmentVariables:X,allowLegacyFragmentVariables:X,experimentalFragmentArguments:X});if(!n||n.kind!==`Document`)throw Error(`Not a valid GraphQL document.`);q.set(t,le(ce(n)))}return q.get(t)}function Q(e){var t=[...arguments].slice(1);typeof e==`string`&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&t.kind===`Document`?n+=t.loc.source.body:n+=t,n+=e[r+1]}),ue(n)}function de(){q.clear(),J.clear()}function fe(){Y=!1}function pe(){X=!0}function me(){X=!1}var $={gql:Q,resetCaches:de,disableFragmentWarnings:fe,enableExperimentalFragmentVariables:pe,disableExperimentalFragmentVariables:me};(function(e){e.gql=$.gql,e.resetCaches=$.resetCaches,e.disableFragmentWarnings=$.disableFragmentWarnings,e.enableExperimentalFragmentVariables=$.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=$.disableExperimentalFragmentVariables})(Q||={}),Q.default=Q;var he=Q,ge=e(`rootLocale`,{state:()=>({locale:`lv`,currentLocaleData:{},cache:{},dataLoaded:!1}),getters:{getLocale:e=>e.locale},actions:{setLocale(e=`lv`){this.locale=e},async loadTranslations(){try{this.currentLocaleData=await this.loadUseTranslations(this.locale),this.dataLoaded=!0}catch{console.warn(`Failed to set localization: ${this.locale}`)}},async loadUseTranslations(e){if(!this.cache[e]){let t;switch(e){case`ru`:t=await p(()=>import(`./DjHl3rNx.js`),[],import.meta.url);break;default:t=await p(()=>import(`./DGeFiT4e.js`),[],import.meta.url)}this.cache[e]=JSON.parse(JSON.stringify(t.default||t))}return this.cache[e]},getNestedValue(e,t){return t.split(`.`).reduce((e,t)=>
21e&&e[t],e)},inlineElementReplace(e,t){if(typeof t==`object`){for(let[n,r]of Object.entries(t))e=e.replace(RegExp(`{${n}}`,`g`),`${r}`);return e}return e.replace(/{(\w+)}/g,`${t}`)},useTranslations(){return{t:(e,t)=>{let n=e,r=this.getNestedValue(this.currentLocaleData,e);if(r!==void 0&&(n=r),e===n&&e.includes(`[`)&&e.includes(`]`)){let[t,r]=e.split(/[\[\]]/).filter(Boolean);n=(this.getNestedValue(this.currentLocaleData,t)||[])[parseInt(r,10)]}return t?this.inlineElementReplace(n,t):n},te:e=>!!this.getNestedValue(this.currentLocaleData,e),tm:e=>{let t=this.getNestedValue(this.currentLocaleData,e);return Array.isArray(t)?t:[]},getLocale:this.locale}}}});export{he as n,ge as t};

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.