parse-dashboard 4.1.3 → 4.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/Parse-Dashboard/public/bundles/128.bundle.js +1 -0
  2. package/Parse-Dashboard/public/bundles/269.bundle.js +1 -0
  3. package/Parse-Dashboard/public/bundles/290.bundle.js +1 -0
  4. package/Parse-Dashboard/public/bundles/31.bundle.js +1 -0
  5. package/Parse-Dashboard/public/bundles/339.bundle.js +1 -0
  6. package/Parse-Dashboard/public/bundles/341.bundle.js +1 -0
  7. package/Parse-Dashboard/public/bundles/410.bundle.js +1 -0
  8. package/Parse-Dashboard/public/bundles/539.bundle.js +1 -0
  9. package/Parse-Dashboard/public/bundles/550.bundle.js +1 -0
  10. package/Parse-Dashboard/public/bundles/590.bundle.js +1 -0
  11. package/Parse-Dashboard/public/bundles/655.bundle.js +1 -0
  12. package/Parse-Dashboard/public/bundles/688.bundle.js +1 -0
  13. package/Parse-Dashboard/public/bundles/722.bundle.js +1 -0
  14. package/Parse-Dashboard/public/bundles/725.bundle.js +1 -0
  15. package/Parse-Dashboard/public/bundles/729.bundle.js +1 -0
  16. package/Parse-Dashboard/public/bundles/732.bundle.js +1 -0
  17. package/Parse-Dashboard/public/bundles/772.bundle.js +1 -0
  18. package/Parse-Dashboard/public/bundles/773.bundle.js +1 -0
  19. package/Parse-Dashboard/public/bundles/783.bundle.js +1 -0
  20. package/Parse-Dashboard/public/bundles/817.bundle.js +1 -0
  21. package/Parse-Dashboard/public/bundles/820.bundle.js +1 -0
  22. package/Parse-Dashboard/public/bundles/829.bundle.js +1 -0
  23. package/Parse-Dashboard/public/bundles/906.bundle.js +1 -0
  24. package/Parse-Dashboard/public/bundles/974.bundle.js +1 -0
  25. package/Parse-Dashboard/public/bundles/977.bundle.js +1 -0
  26. package/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
  27. package/Parse-Dashboard/public/bundles/dashboard.bundle.js.LICENSE.txt +14 -19
  28. package/package.json +6 -6
  29. package/Parse-Dashboard/public/bundles/143.bundle.js +0 -1
  30. package/Parse-Dashboard/public/bundles/169.bundle.js +0 -1
  31. package/Parse-Dashboard/public/bundles/191.bundle.js +0 -1
  32. package/Parse-Dashboard/public/bundles/208.bundle.js +0 -1
  33. package/Parse-Dashboard/public/bundles/220.bundle.js +0 -1
  34. package/Parse-Dashboard/public/bundles/253.bundle.js +0 -1
  35. package/Parse-Dashboard/public/bundles/280.bundle.js +0 -1
  36. package/Parse-Dashboard/public/bundles/287.bundle.js +0 -1
  37. package/Parse-Dashboard/public/bundles/36.bundle.js +0 -1
  38. package/Parse-Dashboard/public/bundles/370.bundle.js +0 -1
  39. package/Parse-Dashboard/public/bundles/41.bundle.js +0 -1
  40. package/Parse-Dashboard/public/bundles/453.bundle.js +0 -1
  41. package/Parse-Dashboard/public/bundles/468.bundle.js +0 -1
  42. package/Parse-Dashboard/public/bundles/500.bundle.js +0 -1
  43. package/Parse-Dashboard/public/bundles/556.bundle.js +0 -1
  44. package/Parse-Dashboard/public/bundles/620.bundle.js +0 -1
  45. package/Parse-Dashboard/public/bundles/633.bundle.js +0 -1
  46. package/Parse-Dashboard/public/bundles/67.bundle.js +0 -1
  47. package/Parse-Dashboard/public/bundles/677.bundle.js +0 -1
  48. package/Parse-Dashboard/public/bundles/736.bundle.js +0 -1
  49. package/Parse-Dashboard/public/bundles/798.bundle.js +0 -1
  50. package/Parse-Dashboard/public/bundles/83.bundle.js +0 -1
  51. package/Parse-Dashboard/public/bundles/930.bundle.js +0 -1
  52. package/Parse-Dashboard/public/bundles/952.bundle.js +0 -1
  53. package/Parse-Dashboard/public/bundles/963.bundle.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[677,83],{21677:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(24798),r=i(n(11036)),o=i(n(50844)),u=n(50503);function l(e,t,n){var i,a=(null===(i=t.fieldDef)||void 0===i?void 0:i.name)||"";"__"!==a.slice(0,2)&&(c(e,t,n,t.parentType),m(e,".")),m(e,a,"field-name",n,u.getFieldReference(t))}function f(e,t,n){var i;m(e,"@"+((null===(i=t.directiveDef)||void 0===i?void 0:i.name)||""),"directive-name",n,u.getDirectiveReference(t))}function d(e,t,n,i){m(e,": "),c(e,t,n,i)}function c(e,t,n,i){i instanceof a.GraphQLNonNull?(c(e,t,n,i.ofType),m(e,"!")):i instanceof a.GraphQLList?(m(e,"["),c(e,t,n,i.ofType),m(e,"]")):m(e,(null==i?void 0:i.name)||"","type-name",n,u.getTypeReference(t,i))}function p(e,t,n){var i=n.description;if(i){var a=document.createElement("div");a.className="info-description",t.renderDescription?a.innerHTML=t.renderDescription(i):a.appendChild(document.createTextNode(i)),e.appendChild(a)}!function(e,t,n){var i=n.deprecationReason;if(i){var a=document.createElement("div");a.className="info-deprecation",t.renderDescription?a.innerHTML=t.renderDescription(i):a.appendChild(document.createTextNode(i));var r=document.createElement("span");r.className="info-deprecation-label",r.appendChild(document.createTextNode("Deprecated: ")),a.insertBefore(r,a.firstChild),e.appendChild(a)}}(e,t,n)}function m(e,t,n,i,a){if(void 0===n&&(n=""),void 0===i&&(i={onClick:null}),void 0===a&&(a=null),n){var r=i.onClick,o=void 0;r?((o=document.createElement("a")).href="javascript:void 0",o.addEventListener("click",(function(e){r(a,e)}))):o=document.createElement("span"),o.className=n,o.appendChild(document.createTextNode(t)),e.appendChild(o)}else e.appendChild(document.createTextNode(t))}n(22083),r.default.registerHelper("info","graphql",(function(e,t){if(t.schema&&e.state){var n,i=e.state,a=i.kind,r=i.step,s=o.default(t.schema,e.state);return"Field"===a&&0===r&&s.fieldDef||"AliasedField"===a&&2===r&&s.fieldDef?(function(e,t,n){l(e,t,n),d(e,t,n,t.type)}(n=document.createElement("div"),s,t),p(n,t,s.fieldDef),n):"Directive"===a&&1===r&&s.directiveDef?(f(n=document.createElement("div"),s,t),p(n,t,s.directiveDef),n):"Argument"===a&&0===r&&s.argDef?(function(e,t,n){var i;t.directiveDef?f(e,t,n):t.fieldDef&&l(e,t,n);var a=(null===(i=t.argDef)||void 0===i?void 0:i.name)||"";m(e,"("),m(e,a,"arg-name",n,u.getArgumentReference(t)),d(e,t,n,t.inputType),m(e,")")}(n=document.createElement("div"),s,t),p(n,t,s.argDef),n):"EnumValue"===a&&s.enumValue&&s.enumValue.description?(function(e,t,n){var i,a=(null===(i=t.enumValue)||void 0===i?void 0:i.name)||"";c(e,t,n,t.inputType),m(e,"."),m(e,a,"enum-value",n,u.getEnumValueReference(t))}(n=document.createElement("div"),s,t),p(n,t,s.enumValue),n):"NamedType"===a&&s.type&&s.type.description?(c(n=document.createElement("div"),s,t,s.type),p(n,t,s.type),n):void 0}}))},50503:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeReference=t.getEnumValueReference=t.getArgumentReference=t.getDirectiveReference=t.getFieldReference=void 0;var i=n(24798);function a(e){return"__"===e.name.slice(0,2)}t.getFieldReference=function(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:a(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:a(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?i.getNamedType(e.inputType):void 0}},t.getTypeReference=function(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}},10921:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=[],i=e;i&&i.kind;)n.push(i),i=i.prevState;for(var a=n.length-1;a>=0;a--)t(n[a])}},50844:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(24798),r=n(87587),o=i(n(10921));function u(e,t,n){return n===r.SchemaMetaFieldDef.name&&e.getQueryType()===t?r.SchemaMetaFieldDef:n===r.TypeMetaFieldDef.name&&e.getQueryType()===t?r.TypeMetaFieldDef:n===r.TypeNameMetaFieldDef.name&&a.isCompositeType(t)?r.TypeNameMetaFieldDef:t&&t.getFields?t.getFields()[n]:void 0}t.default=function(e,t){var n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return o.default(t,(function(t){switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?u(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case"SelectionSet":n.parentType=n.type?a.getNamedType(n.type):null;break;case"Directive":n.directiveDef=t.name?e.getDirective(t.name):null;break;case"Arguments":var i=t.prevState?"Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&u(e,n.parentType,t.prevState.name):null:null;n.argDefs=i?i.args:null;break;case"Argument":if(n.argDef=null,n.argDefs)for(var r=0;r<n.argDefs.length;r++)if(n.argDefs[r].name===t.name){n.argDef=n.argDefs[r];break}n.inputType=n.argDef&&n.argDef.type;break;case"EnumValue":var o=n.inputType?a.getNamedType(n.inputType):null;n.enumValue=o instanceof a.GraphQLEnumType?function(e,n){for(var i=0;i<e.length;i++)if(e[i].value===t.name)return e[i]}(o.getValues()):null;break;case"ListValue":var l=n.inputType?a.getNullableType(n.inputType):null;n.inputType=l instanceof a.GraphQLList?l.ofType:null;break;case"ObjectValue":var f=n.inputType?a.getNamedType(n.inputType):null;n.objectFieldDefs=f instanceof a.GraphQLInputObjectType?f.getFields():null;break;case"ObjectField":var d=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=d&&d.type;break;case"NamedType":n.type=t.name?e.getType(t.name):null}})),n}},22083:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(11036));function r(e,t){var n=e.state.info,i=t.target||t.srcElement;if(i instanceof HTMLElement&&"SPAN"===i.nodeName&&void 0===n.hoverTimeout){var r=i.getBoundingClientRect(),o=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(l,f)},u=function(){a.default.off(document,"mousemove",o),a.default.off(e.getWrapperElement(),"mouseout",u),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},l=function(){a.default.off(document,"mousemove",o),a.default.off(e.getWrapperElement(),"mouseout",u),n.hoverTimeout=void 0,function(e,t){var n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),i=e.state.info.options,r=i.render||e.getHelper(n,"info");if(r){var o=e.getTokenAt(n,!0);if(o){var u=r(o,i,e,n);u&&function(e,t,n){var i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(n),document.body.appendChild(i);var r=i.getBoundingClientRect(),o=window.getComputedStyle(i),u=r.right-r.left+parseFloat(o.marginLeft)+parseFloat(o.marginRight),l=r.bottom-r.top+parseFloat(o.marginTop)+parseFloat(o.marginBottom),f=t.bottom;l>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(f=t.top-l),f<0&&(f=t.bottom);var d,c=Math.max(0,window.innerWidth-u-15);c>t.left&&(c=t.left),i.style.opacity="1",i.style.top=f+"px",i.style.left=c+"px";var p=function(){clearTimeout(d)},m=function(){clearTimeout(d),d=setTimeout(s,200)},s=function(){a.default.off(i,"mouseover",p),a.default.off(i,"mouseout",m),a.default.off(e.getWrapperElement(),"mouseout",m),i.style.opacity?(i.style.opacity="0",setTimeout((function(){i.parentNode&&i.parentNode.removeChild(i)}),600)):i.parentNode&&i.parentNode.removeChild(i)};a.default.on(i,"mouseover",p),a.default.on(i,"mouseout",m),a.default.on(e.getWrapperElement(),"mouseout",m)}(e,t,u)}}}(e,r)},f=function(e){var t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(l,f),a.default.on(document,"mousemove",o),a.default.on(e.getWrapperElement(),"mouseout",u)}}a.default.defineOption("info",!1,(function(e,t,n){if(n&&n!==a.default.Init){var i=e.state.info.onMouseOver;a.default.off(e.getWrapperElement(),"mouseover",i),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var o=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);o.onMouseOver=r.bind(null,e),a.default.on(e.getWrapperElement(),"mouseover",o.onMouseOver)}}))}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk=self.webpackChunk||[]).push([[736],{78736:(t,e,n)=>{!function(t){var e=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=t.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function a(t){return t&&t.bracketRegex||/[(){}[\]]/}function c(t,e,c){var o=t.getLineHandle(e.line),h=e.ch-1,l=c&&c.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var s=a(c),u=!l&&h>=0&&s.test(o.text.charAt(h))&&r[o.text.charAt(h)]||s.test(o.text.charAt(h+1))&&r[o.text.charAt(++h)];if(!u)return null;var f=">"==u.charAt(1)?1:-1;if(c&&c.strict&&f>0!=(h==e.ch))return null;var g=t.getTokenTypeAt(n(e.line,h+1)),m=i(t,n(e.line,h+(f>0?1:0)),f,g,c);return null==m?null:{from:n(e.line,h),to:m&&m.pos,match:m&&m.ch==u.charAt(0),forward:f>0}}function i(t,e,c,i,o){for(var h=o&&o.maxScanLineLength||1e4,l=o&&o.maxScanLines||1e3,s=[],u=a(o),f=c>0?Math.min(e.line+l,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-l),g=e.line;g!=f;g+=c){var m=t.getLine(g);if(m){var d=c>0?0:m.length-1,k=c>0?m.length:-1;if(!(m.length>h))for(g==e.line&&(d=e.ch-(c<0?1:0));d!=k;d+=c){var p=m.charAt(d);if(u.test(p)&&(void 0===i||(t.getTokenTypeAt(n(g,d+1))||"")==(i||""))){var v=r[p];if(v&&">"==v.charAt(1)==c>0)s.push(p);else{if(!s.length)return{pos:n(g,d),ch:p};s.pop()}}}}}return g-c!=(c>0?t.lastLine():t.firstLine())&&null}function o(t,r,a){for(var i=t.state.matchBrackets.maxHighlightLineLength||1e3,o=a&&a.highlightNonMatching,h=[],l=t.listSelections(),s=0;s<l.length;s++){var u=l[s].empty()&&c(t,l[s].head,a);if(u&&(u.match||!1!==o)&&t.getLine(u.from.line).length<=i){var f=u.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";h.push(t.markText(u.from,n(u.from.line,u.from.ch+1),{className:f})),u.to&&t.getLine(u.to.line).length<=i&&h.push(t.markText(u.to,n(u.to.line,u.to.ch+1),{className:f}))}}if(h.length){e&&t.state.focused&&t.focus();var g=function(){t.operation((function(){for(var t=0;t<h.length;t++)h[t].clear()}))};if(!r)return g;setTimeout(g,800)}}function h(t){t.operation((function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=o(t,!1,t.state.matchBrackets)}))}function l(t){t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)}t.defineOption("matchBrackets",!1,(function(e,n,r){r&&r!=t.Init&&(e.off("cursorActivity",h),e.off("focus",h),e.off("blur",l),l(e)),n&&(e.state.matchBrackets="object"==typeof n?n:{},e.on("cursorActivity",h),e.on("focus",h),e.on("blur",l))})),t.defineExtension("matchBrackets",(function(){o(this,!0)})),t.defineExtension("findMatchingBracket",(function(t,e,n){return(n||"boolean"==typeof e)&&(n?(n.strict=e,e=n):e=e?{strict:!0}:null),c(this,t,e)})),t.defineExtension("scanForBracket",(function(t,e,n,r){return i(this,t,e,n,r)}))}(n(11036))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[798],{24798:(e,n,t)=>{t.r(n),t.d(n,{BREAK:()=>ne.$_,BreakingChangeType:()=>Cn,DEFAULT_DEPRECATION_REASON:()=>K.SY,DangerousChangeType:()=>Gn,DirectiveLocation:()=>te.B,ExecutableDefinitionsRule:()=>pe.i,FieldsOnCorrectTypeRule:()=>de.A,FragmentsOnCompositeTypesRule:()=>fe.T,GRAPHQL_MAX_INT:()=>z.HI,GRAPHQL_MIN_INT:()=>z.st,GraphQLBoolean:()=>z.EZ,GraphQLDeprecatedDirective:()=>K.fg,GraphQLDirective:()=>K.NZ,GraphQLEnumType:()=>_.mR,GraphQLError:()=>y.__,GraphQLFloat:()=>z.av,GraphQLID:()=>z.km,GraphQLIncludeDirective:()=>K.Yf,GraphQLInputObjectType:()=>_.sR,GraphQLInt:()=>z._o,GraphQLInterfaceType:()=>_.oW,GraphQLList:()=>_.p2,GraphQLNonNull:()=>_.bM,GraphQLObjectType:()=>_.h6,GraphQLScalarType:()=>_.n2,GraphQLSchema:()=>H.XO,GraphQLSkipDirective:()=>K.QE,GraphQLSpecifiedByDirective:()=>K.df,GraphQLString:()=>z.kH,GraphQLUnionType:()=>_.Gp,Kind:()=>h.h,KnownArgumentNamesRule:()=>me.e,KnownDirectivesRule:()=>ye.J,KnownFragmentNamesRule:()=>Ee.a,KnownTypeNamesRule:()=>ve.I,Lexer:()=>W.h,Location:()=>T.Ye,LoneAnonymousOperationRule:()=>Te.F,LoneSchemaDefinitionRule:()=>Ce.t,NoDeprecatedCustomRule:()=>He.r,NoFragmentCyclesRule:()=>he.H,NoSchemaIntrospectionCustomRule:()=>ue,NoUndefinedVariablesRule:()=>_e.$,NoUnusedFragmentsRule:()=>Ne.J,NoUnusedVariablesRule:()=>De.p,OperationTypeNode:()=>T.ku,OverlappingFieldsCanBeMergedRule:()=>Re.y,PossibleFragmentSpreadsRule:()=>ge.a,PossibleTypeExtensionsRule:()=>qe.g,ProvidedRequiredArgumentsRule:()=>Ie.s,ScalarLeafsRule:()=>Ae.O,SchemaMetaFieldDef:()=>N.Az,SingleFieldSubscriptionsRule:()=>Oe.Z,Source:()=>Y.H,Token:()=>T.WU,TokenKind:()=>J.T,TypeInfo:()=>rt.a,TypeKind:()=>N.zU,TypeMetaFieldDef:()=>N.tF,TypeNameMetaFieldDef:()=>N.hU,UniqueArgumentDefinitionNamesRule:()=>ke.L,UniqueArgumentNamesRule:()=>be.L,UniqueDirectiveNamesRule:()=>Qe.o,UniqueDirectivesPerLocationRule:()=>we.k,UniqueEnumValueNamesRule:()=>xe.L,UniqueFieldDefinitionNamesRule:()=>je.y,UniqueFragmentNamesRule:()=>Ve.N,UniqueInputFieldNamesRule:()=>Se.P,UniqueOperationNamesRule:()=>Le.H,UniqueOperationTypesRule:()=>Ge.q,UniqueTypeNamesRule:()=>Pe.P,UniqueVariableNamesRule:()=>Me.H,ValidationContext:()=>ce._t,ValuesOfCorrectTypeRule:()=>$e.j,VariablesAreInputTypesRule:()=>Fe.I,VariablesInAllowedPositionRule:()=>Ue.w,__Directive:()=>N.l3,__DirectiveLocation:()=>N.x2,__EnumValue:()=>N.jT,__Field:()=>N.e_,__InputValue:()=>N.XQ,__Schema:()=>N.TK,__Type:()=>N.qz,__TypeKind:()=>N.PX,assertAbstractType:()=>_.fU,assertCompositeType:()=>_.M_,assertDirective:()=>K.CO,assertEnumType:()=>_.Zu,assertEnumValueName:()=>X.g,assertInputObjectType:()=>_.U8,assertInputType:()=>_.qT,assertInterfaceType:()=>_.k2,assertLeafType:()=>_.H5,assertListType:()=>_.kS,assertName:()=>X.i,assertNamedType:()=>_.rM,assertNonNullType:()=>_.E$,assertNullableType:()=>_.i_,assertObjectType:()=>_.Z6,assertOutputType:()=>_.Gt,assertScalarType:()=>_.Pt,assertSchema:()=>H.EO,assertType:()=>_.p_,assertUnionType:()=>_.rc,assertValidName:()=>$n,assertValidSchema:()=>u.J,assertWrappingType:()=>_.vX,astFromValue:()=>yn.J,buildASTSchema:()=>an,buildClientSchema:()=>nt.Z,buildSchema:()=>sn,coerceInputValue:()=>it.K,concatAST:()=>wn,createSourceEventStream:()=>se,defaultFieldResolver:()=>x,defaultTypeResolver:()=>P,doTypesOverlap:()=>at.zR,execute:()=>I,executeSync:()=>A,extendSchema:()=>en,findBreakingChanges:()=>Pn,findDangerousChanges:()=>xn,formatError:()=>y.Z,getArgumentValues:()=>R.LX,getDirectiveValues:()=>R.zu,getEnterLeaveForKind:()=>ne.Eu,getIntrospectionQuery:()=>Ye.K,getLocation:()=>B.k,getNamedType:()=>_.xC,getNullableType:()=>_.tf,getOperationAST:()=>ze,getOperationRootType:()=>Xe,getVariableValues:()=>R.QF,getVisitFn:()=>ne.CK,graphql:()=>k,graphqlSync:()=>Q,introspectionFromSchema:()=>Be,introspectionTypes:()=>N.nL,isAbstractType:()=>_.m0,isCompositeType:()=>_.Gv,isConstValueNode:()=>oe.Of,isDefinitionNode:()=>oe.Ir,isDirective:()=>K.wX,isEnumType:()=>_.EM,isEqualType:()=>at._7,isExecutableDefinitionNode:()=>oe.Wk,isInputObjectType:()=>_.hL,isInputType:()=>_.j$,isInterfaceType:()=>_.oT,isIntrospectionType:()=>N.s9,isLeafType:()=>_.UT,isListType:()=>_.HG,isNamedType:()=>_.Zs,isNonNullType:()=>_.zM,isNullableType:()=>_.zP,isObjectType:()=>_.lp,isOutputType:()=>_.SZ,isRequiredArgument:()=>_.dK,isRequiredInputField:()=>_.Wd,isScalarType:()=>_.KA,isSchema:()=>H.nN,isSelectionNode:()=>oe.pO,isSpecifiedDirective:()=>K.xg,isSpecifiedScalarType:()=>z.u1,isType:()=>_.P9,isTypeDefinitionNode:()=>oe.zT,isTypeExtensionNode:()=>oe.D$,isTypeNode:()=>oe.VB,isTypeSubTypeOf:()=>at.uJ,isTypeSystemDefinitionNode:()=>oe.G4,isTypeSystemExtensionNode:()=>oe.aU,isUnionType:()=>_.EN,isValidNameError:()=>Fn,isValueNode:()=>oe.nr,isWrappingType:()=>_.fw,lexicographicSortSchema:()=>ln,locatedError:()=>v,parse:()=>s.Qc,parseConstValue:()=>s.tl,parseType:()=>s.gZ,parseValue:()=>s.H2,print:()=>ee.S,printError:()=>y.OS,printIntrospectionSchema:()=>vn,printLocation:()=>Z.Q,printSchema:()=>En,printSourceLocation:()=>Z.z,printType:()=>Nn,resolveObjMapThunk:()=>_.WB,resolveReadonlyArrayThunk:()=>_._9,responsePathAsArray:()=>m.N,separateOperations:()=>Vn,specifiedDirectives:()=>K.V4,specifiedRules:()=>le.i,specifiedScalarTypes:()=>z.HS,stripIgnoredCharacters:()=>Mn,subscribe:()=>ae,syntaxError:()=>Ke.h,typeFromAST:()=>tt._,validate:()=>c.Gu,validateSchema:()=>u.F,valueFromAST:()=>Je.u,valueFromASTUntyped:()=>ot.M,version:()=>o,versionInfo:()=>r,visit:()=>ne.Vn,visitInParallel:()=>ne.j1,visitWithTypeInfo:()=>rt.y});const o="16.5.0",r=Object.freeze({major:16,minor:5,patch:0,preReleaseTag:null});var i=t(34317);function a(e){return"function"==typeof(null==e?void 0:e.then)}var s=t(65449),u=t(96374),c=t(59047),l=t(57493),p=t(87021),d=t(98130),f=t(52689),m=t(88274),y=t(7990);class E extends Error{constructor(e){super("Unexpected error value: "+(0,l.X)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function v(e,n,t){var o;const r=(i=e)instanceof Error?i:new E(i);var i,a;return a=r,Array.isArray(a.path)?r:new y.__(r.message,{nodes:null!==(o=r.nodes)&&void 0!==o?o:n,source:r.source,positions:r.positions,path:t,originalError:r})}var T=t(35239),h=t(57554),_=t(84553),N=t(82299),D=t(36819),R=t(93059);const g=function(e){let n;return function(e,t,o){void 0===n&&(n=new WeakMap);let r=n.get(e);void 0===r&&(r=new WeakMap,n.set(e,r));let i=r.get(t);void 0===i&&(i=new WeakMap,r.set(t,i));let a=i.get(o);return void 0===a&&(s=e,u=t,c=o,a=(0,D.w)(s.schema,s.fragments,s.variableValues,u,c),i.set(o,a)),a;var s,u,c}}();function I(e){arguments.length<2||(0,i.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:n,document:t,variableValues:o,rootValue:r}=e;b(n,t,o);const s=w(e);if(!("schema"in s))return{errors:s};try{const{operation:e}=s,n=V(s,e,r);return a(n)?n.then((e=>O(e,s.errors)),(e=>(s.errors.push(e),O(null,s.errors)))):O(n,s.errors)}catch(e){return s.errors.push(e),O(null,s.errors)}}function A(e){const n=I(e);if(a(n))throw new Error("GraphQL execution failed to complete synchronously.");return n}function O(e,n){return 0===n.length?{data:e}:{errors:n,data:e}}function b(e,n,t){n||(0,i.a)(!1,"Must provide document."),(0,u.J)(e),null==t||(0,f.y)(t)||(0,i.a)(!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 w(e){var n,t;const{schema:o,document:r,rootValue:i,contextValue:a,variableValues:s,operationName:u,fieldResolver:c,typeResolver:l,subscribeFieldResolver:p}=e;let d;const f=Object.create(null);for(const e of r.definitions)switch(e.kind){case h.h.OPERATION_DEFINITION:if(null==u){if(void 0!==d)return[new y.__("Must provide operation name if query contains multiple operations.")];d=e}else(null===(n=e.name)||void 0===n?void 0:n.value)===u&&(d=e);break;case h.h.FRAGMENT_DEFINITION:f[e.name.value]=e}if(!d)return null!=u?[new y.__(`Unknown operation named "${u}".`)]:[new y.__("Must provide an operation.")];const m=null!==(t=d.variableDefinitions)&&void 0!==t?t:[],E=(0,R.QF)(o,m,null!=s?s:{},{maxErrors:50});return E.errors?E.errors:{schema:o,fragments:f,rootValue:i,contextValue:a,operation:d,variableValues:E.coerced,fieldResolver:null!=c?c:x,typeResolver:null!=l?l:P,subscribeFieldResolver:null!=p?p:x,errors:[]}}function V(e,n,t){const o=e.schema.getRootType(n.operation);if(null==o)throw new y.__(`Schema is not configured to execute ${n.operation} operation.`,{nodes:n});const r=(0,D.g)(e.schema,e.fragments,e.variableValues,o,n.selectionSet),i=void 0;switch(n.operation){case T.ku.QUERY:return S(e,o,t,i,r);case T.ku.MUTATION:return function(e,n,t,o,r){return function(e,n,t){let o=Object.create(null);for(const t of e)o=a(o)?o.then((e=>n(e,t))):n(o,t);return o}(r.entries(),((o,[r,i])=>{const s=(0,m.Q)(undefined,r,n.name),u=L(e,n,t,i,s);return void 0===u?o:a(u)?u.then((e=>(o[r]=e,o))):(o[r]=u,o)}))}(e,o,t,0,r);case T.ku.SUBSCRIPTION:return S(e,o,t,i,r)}}function S(e,n,t,o,r){const i=Object.create(null);let s=!1;for(const[u,c]of r.entries()){const r=L(e,n,t,c,(0,m.Q)(o,u,n.name));void 0!==r&&(i[u]=r,a(r)&&(s=!0))}return s?(u=i,Promise.all(Object.values(u)).then((e=>{const n=Object.create(null);for(const[t,o]of Object.keys(u).entries())n[o]=e[t];return n}))):i;var u}function L(e,n,t,o,r){var i;const s=j(e.schema,n,o[0]);if(!s)return;const u=s.type,c=null!==(i=s.resolve)&&void 0!==i?i:e.fieldResolver,l=M(e,s,o,n,r);try{const n=c(t,(0,R.LX)(s,o[0],e.variableValues),e.contextValue,l);let i;return i=a(n)?n.then((n=>F(e,u,o,l,r,n))):F(e,u,o,l,r,n),a(i)?i.then(void 0,(n=>$(v(n,o,(0,m.N)(r)),u,e))):i}catch(n){return $(v(n,o,(0,m.N)(r)),u,e)}}function M(e,n,t,o,r){return{fieldName:n.name,fieldNodes:t,returnType:n.type,parentType:o,path:r,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function $(e,n,t){if((0,_.zM)(n))throw e;return t.errors.push(e),null}function F(e,n,t,o,r,i){if(i instanceof Error)throw i;if((0,_.zM)(n)){const a=F(e,n.ofType,t,o,r,i);if(null===a)throw new Error(`Cannot return null for non-nullable field ${o.parentType.name}.${o.fieldName}.`);return a}return null==i?null:(0,_.HG)(n)?function(e,n,t,o,r,i){if(!(0,d.i)(i))throw new y.__(`Expected Iterable, but did not find one for field "${o.parentType.name}.${o.fieldName}".`);const s=n.ofType;let u=!1;const c=Array.from(i,((n,i)=>{const c=(0,m.Q)(r,i,void 0);try{let r;return r=a(n)?n.then((n=>F(e,s,t,o,c,n))):F(e,s,t,o,c,n),a(r)?(u=!0,r.then(void 0,(n=>$(v(n,t,(0,m.N)(c)),s,e)))):r}catch(n){return $(v(n,t,(0,m.N)(c)),s,e)}}));return u?Promise.all(c):c}(e,n,t,o,r,i):(0,_.UT)(n)?function(e,n){const t=e.serialize(n);if(null==t)throw new Error(`Expected \`${(0,l.X)(e)}.serialize(${(0,l.X)(n)})\` to return non-nullable value, returned: ${(0,l.X)(t)}`);return t}(n,i):(0,_.m0)(n)?function(e,n,t,o,r,i){var s;const u=null!==(s=n.resolveType)&&void 0!==s?s:e.typeResolver,c=e.contextValue,l=u(i,c,o,n);return a(l)?l.then((a=>C(e,U(a,e,n,t,o,i),t,o,r,i))):C(e,U(l,e,n,t,o,i),t,o,r,i)}(e,n,t,o,r,i):(0,_.lp)(n)?C(e,n,t,o,r,i):void(0,p.k)(!1,"Cannot complete value of unexpected output type: "+(0,l.X)(n))}function U(e,n,t,o,r,i){if(null==e)throw new y.__(`Abstract type "${t.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}". Either the "${t.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,o);if((0,_.lp)(e))throw new y.__("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if("string"!=typeof e)throw new y.__(`Abstract type "${t.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}" with value ${(0,l.X)(i)}, received "${(0,l.X)(e)}".`);const a=n.schema.getType(e);if(null==a)throw new y.__(`Abstract type "${t.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:o});if(!(0,_.lp)(a))throw new y.__(`Abstract type "${t.name}" was resolved to a non-object type "${e}".`,{nodes:o});if(!n.schema.isSubType(t,a))throw new y.__(`Runtime Object type "${a.name}" is not a possible type for "${t.name}".`,{nodes:o});return a}function C(e,n,t,o,r,i){const s=g(e,n,t);if(n.isTypeOf){const u=n.isTypeOf(i,e.contextValue,o);if(a(u))return u.then((o=>{if(!o)throw G(n,i,t);return S(e,n,i,r,s)}));if(!u)throw G(n,i,t)}return S(e,n,i,r,s)}function G(e,n,t){return new y.__(`Expected value of type "${e.name}" but got: ${(0,l.X)(n)}.`,{nodes:t})}const P=function(e,n,t,o){if((0,f.y)(e)&&"string"==typeof e.__typename)return e.__typename;const r=t.schema.getPossibleTypes(o),i=[];for(let o=0;o<r.length;o++){const s=r[o];if(s.isTypeOf){const r=s.isTypeOf(e,n,t);if(a(r))i[o]=r;else if(r)return s.name}}return i.length?Promise.all(i).then((e=>{for(let n=0;n<e.length;n++)if(e[n])return r[n].name})):void 0},x=function(e,n,t,o){if((0,f.y)(e)||"function"==typeof e){const r=e[o.fieldName];return"function"==typeof r?e[o.fieldName](n,t,o):r}};function j(e,n,t){const o=t.name.value;return o===N.Az.name&&e.getQueryType()===n?N.Az:o===N.tF.name&&e.getQueryType()===n?N.tF:o===N.hU.name?N.hU:n.getFields()[o]}function k(e){return new Promise((n=>n(q(e))))}function Q(e){const n=q(e);if(a(n))throw new Error("GraphQL execution failed to complete synchronously.");return n}function q(e){arguments.length<2||(0,i.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:n,source:t,rootValue:o,contextValue:r,variableValues:a,operationName:l,fieldResolver:p,typeResolver:d}=e,f=(0,u.F)(n);if(f.length>0)return{errors:f};let m;try{m=(0,s.Qc)(t)}catch(e){return{errors:[e]}}const y=(0,c.Gu)(n,m);return y.length>0?{errors:y}:I({schema:n,document:m,rootValue:o,contextValue:r,variableValues:a,operationName:l,fieldResolver:p,typeResolver:d})}var H=t(12640),K=t(73798),z=t(62697),X=t(82293),Y=t(23476),B=t(31472),Z=t(56403),W=t(78636),J=t(20471),ee=t(54785),ne=t(43165),te=t(65916),oe=t(14734);function re(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}function ie(e,n){const t=e[Symbol.asyncIterator]();async function o(e){if(e.done)return e;try{return{value:await n(e.value),done:!1}}catch(e){if("function"==typeof t.return)try{await t.return()}catch(e){}throw e}}return{next:async()=>o(await t.next()),return:async()=>"function"==typeof t.return?o(await t.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof t.throw)return o(await t.throw(e));throw e},[Symbol.asyncIterator](){return this}}}async function ae(e){arguments.length<2||(0,i.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:n,document:t,rootValue:o,contextValue:r,variableValues:a,operationName:s,fieldResolver:u,subscribeFieldResolver:c}=e,l=await se(n,t,o,r,a,s,c);if(!re(l))return l;const p=e=>I({schema:n,document:t,rootValue:e,contextValue:r,variableValues:a,operationName:s,fieldResolver:u});return ie(l,p)}async function se(e,n,t,o,r,i,a){b(e,n,r);const s=w({schema:e,document:n,rootValue:t,contextValue:o,variableValues:r,operationName:i,subscribeFieldResolver:a});if(!("schema"in s))return{errors:s};try{const e=await async function(e){const{schema:n,fragments:t,operation:o,variableValues:r,rootValue:i}=e,a=n.getSubscriptionType();if(null==a)throw new y.__("Schema is not configured to execute subscription operation.",{nodes:o});const s=(0,D.g)(n,t,r,a,o.selectionSet),[u,c]=[...s.entries()][0],l=j(n,a,c[0]);if(!l){const e=c[0].name.value;throw new y.__(`The subscription field "${e}" is not defined.`,{nodes:c})}const p=(0,m.Q)(void 0,u,a.name),d=M(e,l,c,a,p);try{var f;const n=(0,R.LX)(l,c[0],r),t=e.contextValue,o=null!==(f=l.subscribe)&&void 0!==f?f:e.subscribeFieldResolver,a=await o(i,n,t,d);if(a instanceof Error)throw a;return a}catch(e){throw v(e,c,(0,m.N)(p))}}(s);if(!re(e))throw new Error(`Subscription field must return Async Iterable. Received: ${(0,l.X)(e)}.`);return e}catch(e){if(e instanceof y.__)return{errors:[e]};throw e}}function ue(e){return{Field(n){const t=(0,_.xC)(e.getType());t&&(0,N.s9)(t)&&e.reportError(new y.__(`GraphQL introspection has been disabled, but the requested query contained the field "${n.name.value}".`,{nodes:n}))}}}var ce=t(81931),le=t(49159),pe=t(33023),de=t(78781),fe=t(38494),me=t(61479),ye=t(16125),Ee=t(85612),ve=t(30265),Te=t(15607),he=t(94736),_e=t(22795),Ne=t(1742),De=t(17839),Re=t(11504),ge=t(88191),Ie=t(35410),Ae=t(18748),Oe=t(57342),be=t(56092),we=t(89421),Ve=t(41941),Se=t(41267),Le=t(5754),Me=t(76890),$e=t(73254),Fe=t(40516),Ue=t(52244),Ce=t(6575),Ge=t(14510),Pe=t(48888),xe=t(50666),je=t(86608),ke=t(68305),Qe=t(76362),qe=t(90297),He=t(33034),Ke=t(23445);function ze(e,n){let t=null;for(const r of e.definitions){var o;if(r.kind===h.h.OPERATION_DEFINITION)if(null==n){if(t)return null;t=r}else if((null===(o=r.name)||void 0===o?void 0:o.value)===n)return r}return t}function Xe(e,n){if("query"===n.operation){const t=e.getQueryType();if(!t)throw new y.__("Schema does not define the required query root type.",{nodes:n});return t}if("mutation"===n.operation){const t=e.getMutationType();if(!t)throw new y.__("Schema is not configured for mutations.",{nodes:n});return t}if("subscription"===n.operation){const t=e.getSubscriptionType();if(!t)throw new y.__("Schema is not configured for subscriptions.",{nodes:n});return t}throw new y.__("Can only have query, mutation and subscription operations.",{nodes:n})}var Ye=t(90724);function Be(e,n){const t={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...n},o=A({schema:e,document:(0,s.Qc)((0,Ye.K)(t))});return!o.errors&&o.data||(0,p.k)(!1),o.data}var Ze=t(6981),We=t(58037),Je=t(83178);function en(e,n,t){(0,H.EO)(e),null!=n&&n.kind===h.h.DOCUMENT||(0,i.a)(!1,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&(0,c.ED)(n,e);const o=e.toConfig(),r=nn(o,n,t);return o===r?e:new H.XO(r)}function nn(e,n,t){var o,r,i,a;const s=[],u=Object.create(null),c=[];let d;const f=[];for(const e of n.definitions)if(e.kind===h.h.SCHEMA_DEFINITION)d=e;else if(e.kind===h.h.SCHEMA_EXTENSION)f.push(e);else if((0,oe.zT)(e))s.push(e);else if((0,oe.D$)(e)){const n=e.name.value,t=u[n];u[n]=t?t.concat([e]):[e]}else e.kind===h.h.DIRECTIVE_DEFINITION&&c.push(e);if(0===Object.keys(u).length&&0===s.length&&0===c.length&&0===f.length&&null==d)return e;const m=Object.create(null);for(const n of e.types)m[n.name]=(y=n,(0,N.s9)(y)||(0,z.u1)(y)?y:(0,_.KA)(y)?function(e){var n;const t=e.toConfig(),o=null!==(n=u[t.name])&&void 0!==n?n:[];let r=t.specifiedByURL;for(const e of o){var i;r=null!==(i=rn(e))&&void 0!==i?i:r}return new _.n2({...t,specifiedByURL:r,extensionASTNodes:t.extensionASTNodes.concat(o)})}(y):(0,_.lp)(y)?function(e){var n;const t=e.toConfig(),o=null!==(n=u[t.name])&&void 0!==n?n:[];return new _.h6({...t,interfaces:()=>[...e.getInterfaces().map(D),...L(o)],fields:()=>({...(0,We.j)(t.fields,R),...b(o)}),extensionASTNodes:t.extensionASTNodes.concat(o)})}(y):(0,_.oT)(y)?function(e){var n;const t=e.toConfig(),o=null!==(n=u[t.name])&&void 0!==n?n:[];return new _.oW({...t,interfaces:()=>[...e.getInterfaces().map(D),...L(o)],fields:()=>({...(0,We.j)(t.fields,R),...b(o)}),extensionASTNodes:t.extensionASTNodes.concat(o)})}(y):(0,_.EN)(y)?function(e){var n;const t=e.toConfig(),o=null!==(n=u[t.name])&&void 0!==n?n:[];return new _.Gp({...t,types:()=>[...e.getTypes().map(D),...M(o)],extensionASTNodes:t.extensionASTNodes.concat(o)})}(y):(0,_.EM)(y)?function(e){var n;const t=e.toConfig(),o=null!==(n=u[e.name])&&void 0!==n?n:[];return new _.mR({...t,values:{...t.values,...S(o)},extensionASTNodes:t.extensionASTNodes.concat(o)})}(y):(0,_.hL)(y)?function(e){var n;const t=e.toConfig(),o=null!==(n=u[t.name])&&void 0!==n?n:[];return new _.sR({...t,fields:()=>({...(0,We.j)(t.fields,(e=>({...e,type:T(e.type)}))),...V(o)}),extensionASTNodes:t.extensionASTNodes.concat(o)})}(y):void(0,p.k)(!1,"Unexpected type: "+(0,l.X)(y)));var y;for(const e of s){var E;const n=e.name.value;m[n]=null!==(E=tn[n])&&void 0!==E?E:$(e)}const v={query:e.query&&D(e.query),mutation:e.mutation&&D(e.mutation),subscription:e.subscription&&D(e.subscription),...d&&I([d]),...I(f)};return{description:null===(o=d)||void 0===o||null===(r=o.description)||void 0===r?void 0:r.value,...v,types:Object.values(m),directives:[...e.directives.map((function(e){const n=e.toConfig();return new K.NZ({...n,args:(0,We.j)(n.args,g)})})),...c.map((function(e){var n;return new K.NZ({name:e.name.value,description:null===(n=e.description)||void 0===n?void 0:n.value,locations:e.locations.map((({value:e})=>e)),isRepeatable:e.repeatable,args:w(e.arguments),astNode:e})}))],extensions:Object.create(null),astNode:null!==(i=d)&&void 0!==i?i:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(f),assumeValid:null!==(a=null==t?void 0:t.assumeValid)&&void 0!==a&&a};function T(e){return(0,_.HG)(e)?new _.p2(T(e.ofType)):(0,_.zM)(e)?new _.bM(T(e.ofType)):D(e)}function D(e){return m[e.name]}function R(e){return{...e,type:T(e.type),args:e.args&&(0,We.j)(e.args,g)}}function g(e){return{...e,type:T(e.type)}}function I(e){const n={};for(const o of e){var t;const e=null!==(t=o.operationTypes)&&void 0!==t?t:[];for(const t of e)n[t.operation]=A(t.type)}return n}function A(e){var n;const t=e.name.value,o=null!==(n=tn[t])&&void 0!==n?n:m[t];if(void 0===o)throw new Error(`Unknown type: "${t}".`);return o}function O(e){return e.kind===h.h.LIST_TYPE?new _.p2(O(e.type)):e.kind===h.h.NON_NULL_TYPE?new _.bM(O(e.type)):A(e)}function b(e){const n=Object.create(null);for(const r of e){var t;const e=null!==(t=r.fields)&&void 0!==t?t:[];for(const t of e){var o;n[t.name.value]={type:O(t.type),description:null===(o=t.description)||void 0===o?void 0:o.value,args:w(t.arguments),deprecationReason:on(t),astNode:t}}}return n}function w(e){const n=null!=e?e:[],t=Object.create(null);for(const e of n){var o;const n=O(e.type);t[e.name.value]={type:n,description:null===(o=e.description)||void 0===o?void 0:o.value,defaultValue:(0,Je.u)(e.defaultValue,n),deprecationReason:on(e),astNode:e}}return t}function V(e){const n=Object.create(null);for(const r of e){var t;const e=null!==(t=r.fields)&&void 0!==t?t:[];for(const t of e){var o;const e=O(t.type);n[t.name.value]={type:e,description:null===(o=t.description)||void 0===o?void 0:o.value,defaultValue:(0,Je.u)(t.defaultValue,e),deprecationReason:on(t),astNode:t}}}return n}function S(e){const n=Object.create(null);for(const r of e){var t;const e=null!==(t=r.values)&&void 0!==t?t:[];for(const t of e){var o;n[t.name.value]={description:null===(o=t.description)||void 0===o?void 0:o.value,deprecationReason:on(t),astNode:t}}}return n}function L(e){return e.flatMap((e=>{var n,t;return null!==(n=null===(t=e.interfaces)||void 0===t?void 0:t.map(A))&&void 0!==n?n:[]}))}function M(e){return e.flatMap((e=>{var n,t;return null!==(n=null===(t=e.types)||void 0===t?void 0:t.map(A))&&void 0!==n?n:[]}))}function $(e){var n;const t=e.name.value,o=null!==(n=u[t])&&void 0!==n?n:[];switch(e.kind){case h.h.OBJECT_TYPE_DEFINITION:{var r;const n=[e,...o];return new _.h6({name:t,description:null===(r=e.description)||void 0===r?void 0:r.value,interfaces:()=>L(n),fields:()=>b(n),astNode:e,extensionASTNodes:o})}case h.h.INTERFACE_TYPE_DEFINITION:{var i;const n=[e,...o];return new _.oW({name:t,description:null===(i=e.description)||void 0===i?void 0:i.value,interfaces:()=>L(n),fields:()=>b(n),astNode:e,extensionASTNodes:o})}case h.h.ENUM_TYPE_DEFINITION:{var a;const n=[e,...o];return new _.mR({name:t,description:null===(a=e.description)||void 0===a?void 0:a.value,values:S(n),astNode:e,extensionASTNodes:o})}case h.h.UNION_TYPE_DEFINITION:{var s;const n=[e,...o];return new _.Gp({name:t,description:null===(s=e.description)||void 0===s?void 0:s.value,types:()=>M(n),astNode:e,extensionASTNodes:o})}case h.h.SCALAR_TYPE_DEFINITION:var c;return new _.n2({name:t,description:null===(c=e.description)||void 0===c?void 0:c.value,specifiedByURL:rn(e),astNode:e,extensionASTNodes:o});case h.h.INPUT_OBJECT_TYPE_DEFINITION:{var l;const n=[e,...o];return new _.sR({name:t,description:null===(l=e.description)||void 0===l?void 0:l.value,fields:()=>V(n),astNode:e,extensionASTNodes:o})}}}}const tn=(0,Ze.P)([...z.HS,...N.nL],(e=>e.name));function on(e){const n=(0,R.zu)(K.fg,e);return null==n?void 0:n.reason}function rn(e){const n=(0,R.zu)(K.df,e);return null==n?void 0:n.url}function an(e,n){null!=e&&e.kind===h.h.DOCUMENT||(0,i.a)(!1,"Must provide valid Document AST."),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&(0,c.zo)(e);const t=nn({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,n);if(null==t.astNode)for(const e of t.types)switch(e.name){case"Query":t.query=e;break;case"Mutation":t.mutation=e;break;case"Subscription":t.subscription=e}const o=[...t.directives,...K.V4.filter((e=>t.directives.every((n=>n.name!==e.name))))];return new H.XO({...t,directives:o})}function sn(e,n){return an((0,s.Qc)(e,{noLocation:null==n?void 0:n.noLocation,allowLegacyFragmentVariables:null==n?void 0:n.allowLegacyFragmentVariables}),{assumeValidSDL:null==n?void 0:n.assumeValidSDL,assumeValid:null==n?void 0:n.assumeValid})}var un=t(51195),cn=t(81403);function ln(e){const n=e.toConfig(),t=(0,un.w)(dn(n.types),(e=>e.name),(function(e){if((0,_.KA)(e)||(0,N.s9)(e))return e;if((0,_.lp)(e)){const n=e.toConfig();return new _.h6({...n,interfaces:()=>u(n.interfaces),fields:()=>s(n.fields)})}if((0,_.oT)(e)){const n=e.toConfig();return new _.oW({...n,interfaces:()=>u(n.interfaces),fields:()=>s(n.fields)})}if((0,_.EN)(e)){const n=e.toConfig();return new _.Gp({...n,types:()=>u(n.types)})}if((0,_.EM)(e)){const n=e.toConfig();return new _.mR({...n,values:pn(n.values,(e=>e))})}if((0,_.hL)(e)){const n=e.toConfig();return new _.sR({...n,fields:()=>pn(n.fields,(e=>({...e,type:o(e.type)})))})}(0,p.k)(!1,"Unexpected type: "+(0,l.X)(e))}));return new H.XO({...n,types:Object.values(t),directives:dn(n.directives).map((function(e){const n=e.toConfig();return new K.NZ({...n,locations:fn(n.locations,(e=>e)),args:a(n.args)})})),query:i(n.query),mutation:i(n.mutation),subscription:i(n.subscription)});function o(e){return(0,_.HG)(e)?new _.p2(o(e.ofType)):(0,_.zM)(e)?new _.bM(o(e.ofType)):r(e)}function r(e){return t[e.name]}function i(e){return e&&r(e)}function a(e){return pn(e,(e=>({...e,type:o(e.type)})))}function s(e){return pn(e,(e=>({...e,type:o(e.type),args:e.args&&a(e.args)})))}function u(e){return dn(e).map(r)}}function pn(e,n){const t=Object.create(null);for(const o of Object.keys(e).sort(cn.K))t[o]=n(e[o]);return t}function dn(e){return fn(e,(e=>e.name))}function fn(e,n){return e.slice().sort(((e,t)=>{const o=n(e),r=n(t);return(0,cn.K)(o,r)}))}var mn=t(25965),yn=t(29936);function En(e){return hn(e,(e=>!(0,K.xg)(e)),Tn)}function vn(e){return hn(e,K.xg,N.s9)}function Tn(e){return!(0,z.u1)(e)&&!(0,N.s9)(e)}function hn(e,n,t){const o=e.getDirectives().filter(n),r=Object.values(e.getTypeMap()).filter(t);return[_n(e),...o.map((e=>function(e){return bn(e)+"directive @"+e.name+In(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e))),...r.map((e=>Nn(e)))].filter(Boolean).join("\n\n")}function _n(e){if(null==e.description&&function(e){const n=e.getQueryType();if(n&&"Query"!==n.name)return!1;const t=e.getMutationType();if(t&&"Mutation"!==t.name)return!1;const o=e.getSubscriptionType();return!o||"Subscription"===o.name}(e))return;const n=[],t=e.getQueryType();t&&n.push(` query: ${t.name}`);const o=e.getMutationType();o&&n.push(` mutation: ${o.name}`);const r=e.getSubscriptionType();return r&&n.push(` subscription: ${r.name}`),bn(e)+`schema {\n${n.join("\n")}\n}`}function Nn(e){return(0,_.KA)(e)?function(e){return bn(e)+`scalar ${e.name}`+(null==(n=e).specifiedByURL?"":` @specifiedBy(url: ${(0,ee.S)({kind:h.h.STRING,value:n.specifiedByURL})})`);var n}(e):(0,_.lp)(e)?function(e){return bn(e)+`type ${e.name}`+Dn(e)+Rn(e)}(e):(0,_.oT)(e)?function(e){return bn(e)+`interface ${e.name}`+Dn(e)+Rn(e)}(e):(0,_.EN)(e)?function(e){const n=e.getTypes(),t=n.length?" = "+n.join(" | "):"";return bn(e)+"union "+e.name+t}(e):(0,_.EM)(e)?function(e){const n=e.getValues().map(((e,n)=>bn(e," ",!n)+" "+e.name+On(e.deprecationReason)));return bn(e)+`enum ${e.name}`+gn(n)}(e):(0,_.hL)(e)?function(e){const n=Object.values(e.getFields()).map(((e,n)=>bn(e," ",!n)+" "+An(e)));return bn(e)+`input ${e.name}`+gn(n)}(e):void(0,p.k)(!1,"Unexpected type: "+(0,l.X)(e))}function Dn(e){const n=e.getInterfaces();return n.length?" implements "+n.map((e=>e.name)).join(" & "):""}function Rn(e){return gn(Object.values(e.getFields()).map(((e,n)=>bn(e," ",!n)+" "+e.name+In(e.args," ")+": "+String(e.type)+On(e.deprecationReason))))}function gn(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function In(e,n=""){return 0===e.length?"":e.every((e=>!e.description))?"("+e.map(An).join(", ")+")":"(\n"+e.map(((e,t)=>bn(e," "+n,!t)+" "+n+An(e))).join("\n")+"\n"+n+")"}function An(e){const n=(0,yn.J)(e.defaultValue,e.type);let t=e.name+": "+String(e.type);return n&&(t+=` = ${(0,ee.S)(n)}`),t+On(e.deprecationReason)}function On(e){return null==e?"":e!==K.SY?` @deprecated(reason: ${(0,ee.S)({kind:h.h.STRING,value:e})})`:" @deprecated"}function bn(e,n="",t=!0){const{description:o}=e;return null==o?"":(n&&!t?"\n"+n:n)+(0,ee.S)({kind:h.h.STRING,value:o,block:(0,mn.MZ)(o)}).replace(/\n/g,"\n"+n)+"\n"}function wn(e){const n=[];for(const t of e)n.push(...t.definitions);return{kind:h.h.DOCUMENT,definitions:n}}function Vn(e){const n=[],t=Object.create(null);for(const o of e.definitions)switch(o.kind){case h.h.OPERATION_DEFINITION:n.push(o);break;case h.h.FRAGMENT_DEFINITION:t[o.name.value]=Ln(o.selectionSet)}const o=Object.create(null);for(const r of n){const n=new Set;for(const e of Ln(r.selectionSet))Sn(n,t,e);o[r.name?r.name.value:""]={kind:h.h.DOCUMENT,definitions:e.definitions.filter((e=>e===r||e.kind===h.h.FRAGMENT_DEFINITION&&n.has(e.name.value)))}}return o}function Sn(e,n,t){if(!e.has(t)){e.add(t);const o=n[t];if(void 0!==o)for(const t of o)Sn(e,n,t)}}function Ln(e){const n=[];return(0,ne.Vn)(e,{FragmentSpread(e){n.push(e.name.value)}}),n}function Mn(e){const n=(0,Y.T)(e)?e:new Y.H(e),t=n.body,o=new W.h(n);let r="",i=!1;for(;o.advance().kind!==J.T.EOF;){const e=o.token,n=e.kind,a=!(0,W.u)(e.kind);i&&(a||e.kind===J.T.SPREAD)&&(r+=" ");const s=t.slice(e.start,e.end);n===J.T.BLOCK_STRING?r+=(0,mn.LZ)(e.value,{minimize:!0}):r+=s,i=a}return r}function $n(e){const n=Fn(e);if(n)throw n;return e}function Fn(e){if("string"==typeof e||(0,i.a)(!1,"Expected name to be a string."),e.startsWith("__"))return new y.__(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{(0,X.i)(e)}catch(e){return e}}var Un=t(57488);let Cn,Gn;function Pn(e,n){return jn(e,n).filter((e=>e.type in Cn))}function xn(e,n){return jn(e,n).filter((e=>e.type in Gn))}function jn(e,n){return[...Qn(e,n),...kn(e,n)]}function kn(e,n){const t=[],o=et(e.getDirectives(),n.getDirectives());for(const e of o.removed)t.push({type:Cn.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(const[e,n]of o.persisted){const o=et(e.args,n.args);for(const n of o.added)(0,_.dK)(n)&&t.push({type:Cn.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${n.name} on directive ${e.name} was added.`});for(const n of o.removed)t.push({type:Cn.DIRECTIVE_ARG_REMOVED,description:`${n.name} was removed from ${e.name}.`});e.isRepeatable&&!n.isRepeatable&&t.push({type:Cn.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`});for(const o of e.locations)n.locations.includes(o)||t.push({type:Cn.DIRECTIVE_LOCATION_REMOVED,description:`${o} was removed from ${e.name}.`})}return t}function Qn(e,n){const t=[],o=et(Object.values(e.getTypeMap()),Object.values(n.getTypeMap()));for(const e of o.removed)t.push({type:Cn.TYPE_REMOVED,description:(0,z.u1)(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(const[e,n]of o.persisted)(0,_.EM)(e)&&(0,_.EM)(n)?t.push(...Kn(e,n)):(0,_.EN)(e)&&(0,_.EN)(n)?t.push(...Hn(e,n)):(0,_.hL)(e)&&(0,_.hL)(n)?t.push(...qn(e,n)):(0,_.lp)(e)&&(0,_.lp)(n)||(0,_.oT)(e)&&(0,_.oT)(n)?t.push(...Xn(e,n),...zn(e,n)):e.constructor!==n.constructor&&t.push({type:Cn.TYPE_CHANGED_KIND,description:`${e.name} changed from ${Wn(e)} to ${Wn(n)}.`});return t}function qn(e,n){const t=[],o=et(Object.values(e.getFields()),Object.values(n.getFields()));for(const n of o.added)(0,_.Wd)(n)?t.push({type:Cn.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${n.name} on input type ${e.name} was added.`}):t.push({type:Gn.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${n.name} on input type ${e.name} was added.`});for(const n of o.removed)t.push({type:Cn.FIELD_REMOVED,description:`${e.name}.${n.name} was removed.`});for(const[n,r]of o.persisted)Zn(n.type,r.type)||t.push({type:Cn.FIELD_CHANGED_KIND,description:`${e.name}.${n.name} changed type from ${String(n.type)} to ${String(r.type)}.`});return t}function Hn(e,n){const t=[],o=et(e.getTypes(),n.getTypes());for(const n of o.added)t.push({type:Gn.TYPE_ADDED_TO_UNION,description:`${n.name} was added to union type ${e.name}.`});for(const n of o.removed)t.push({type:Cn.TYPE_REMOVED_FROM_UNION,description:`${n.name} was removed from union type ${e.name}.`});return t}function Kn(e,n){const t=[],o=et(e.getValues(),n.getValues());for(const n of o.added)t.push({type:Gn.VALUE_ADDED_TO_ENUM,description:`${n.name} was added to enum type ${e.name}.`});for(const n of o.removed)t.push({type:Cn.VALUE_REMOVED_FROM_ENUM,description:`${n.name} was removed from enum type ${e.name}.`});return t}function zn(e,n){const t=[],o=et(e.getInterfaces(),n.getInterfaces());for(const n of o.added)t.push({type:Gn.IMPLEMENTED_INTERFACE_ADDED,description:`${n.name} added to interfaces implemented by ${e.name}.`});for(const n of o.removed)t.push({type:Cn.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${n.name}.`});return t}function Xn(e,n){const t=[],o=et(Object.values(e.getFields()),Object.values(n.getFields()));for(const n of o.removed)t.push({type:Cn.FIELD_REMOVED,description:`${e.name}.${n.name} was removed.`});for(const[n,r]of o.persisted)t.push(...Yn(e,n,r)),Bn(n.type,r.type)||t.push({type:Cn.FIELD_CHANGED_KIND,description:`${e.name}.${n.name} changed type from ${String(n.type)} to ${String(r.type)}.`});return t}function Yn(e,n,t){const o=[],r=et(n.args,t.args);for(const t of r.removed)o.push({type:Cn.ARG_REMOVED,description:`${e.name}.${n.name} arg ${t.name} was removed.`});for(const[t,i]of r.persisted)if(Zn(t.type,i.type)){if(void 0!==t.defaultValue)if(void 0===i.defaultValue)o.push({type:Gn.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${n.name} arg ${t.name} defaultValue was removed.`});else{const r=Jn(t.defaultValue,t.type),a=Jn(i.defaultValue,i.type);r!==a&&o.push({type:Gn.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${n.name} arg ${t.name} has changed defaultValue from ${r} to ${a}.`})}}else o.push({type:Cn.ARG_CHANGED_KIND,description:`${e.name}.${n.name} arg ${t.name} has changed type from ${String(t.type)} to ${String(i.type)}.`});for(const t of r.added)(0,_.dK)(t)?o.push({type:Cn.REQUIRED_ARG_ADDED,description:`A required arg ${t.name} on ${e.name}.${n.name} was added.`}):o.push({type:Gn.OPTIONAL_ARG_ADDED,description:`An optional arg ${t.name} on ${e.name}.${n.name} was added.`});return o}function Bn(e,n){return(0,_.HG)(e)?(0,_.HG)(n)&&Bn(e.ofType,n.ofType)||(0,_.zM)(n)&&Bn(e,n.ofType):(0,_.zM)(e)?(0,_.zM)(n)&&Bn(e.ofType,n.ofType):(0,_.Zs)(n)&&e.name===n.name||(0,_.zM)(n)&&Bn(e,n.ofType)}function Zn(e,n){return(0,_.HG)(e)?(0,_.HG)(n)&&Zn(e.ofType,n.ofType):(0,_.zM)(e)?(0,_.zM)(n)&&Zn(e.ofType,n.ofType)||!(0,_.zM)(n)&&Zn(e.ofType,n):(0,_.Zs)(n)&&e.name===n.name}function Wn(e){return(0,_.KA)(e)?"a Scalar type":(0,_.lp)(e)?"an Object type":(0,_.oT)(e)?"an Interface type":(0,_.EN)(e)?"a Union type":(0,_.EM)(e)?"an Enum type":(0,_.hL)(e)?"an Input type":void(0,p.k)(!1,"Unexpected type: "+(0,l.X)(e))}function Jn(e,n){const t=(0,yn.J)(e,n);return null!=t||(0,p.k)(!1),(0,ee.S)((0,Un.n)(t))}function et(e,n){const t=[],o=[],r=[],i=(0,Ze.P)(e,(({name:e})=>e)),a=(0,Ze.P)(n,(({name:e})=>e));for(const n of e){const e=a[n.name];void 0===e?o.push(n):r.push([n,e])}for(const e of n)void 0===i[e.name]&&t.push(e);return{added:t,persisted:r,removed:o}}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(Cn||(Cn={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(Gn||(Gn={}));var nt=t(80707),tt=t(39842),ot=t(81532),rt=t(95335),it=t(79392),at=t(63459)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[83],{22083:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(o(11036));function u(e,t){var o=e.state.info,n=t.target||t.srcElement;if(n instanceof HTMLElement&&"SPAN"===n.nodeName&&void 0===o.hoverTimeout){var u=n.getBoundingClientRect(),r=function(){clearTimeout(o.hoverTimeout),o.hoverTimeout=setTimeout(f,m)},a=function(){i.default.off(document,"mousemove",r),i.default.off(e.getWrapperElement(),"mouseout",a),clearTimeout(o.hoverTimeout),o.hoverTimeout=void 0},f=function(){i.default.off(document,"mousemove",r),i.default.off(e.getWrapperElement(),"mouseout",a),o.hoverTimeout=void 0,function(e,t){var o=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),n=e.state.info.options,u=n.render||e.getHelper(o,"info");if(u){var r=e.getTokenAt(o,!0);if(r){var a=u(r,n,e,o);a&&function(e,t,o){var n=document.createElement("div");n.className="CodeMirror-info",n.appendChild(o),document.body.appendChild(n);var u=n.getBoundingClientRect(),r=window.getComputedStyle(n),a=u.right-u.left+parseFloat(r.marginLeft)+parseFloat(r.marginRight),f=u.bottom-u.top+parseFloat(r.marginTop)+parseFloat(r.marginBottom),m=t.bottom;f>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(m=t.top-f),m<0&&(m=t.bottom);var l,d=Math.max(0,window.innerWidth-a-15);d>t.left&&(d=t.left),n.style.opacity="1",n.style.top=m+"px",n.style.left=d+"px";var s=function(){clearTimeout(l)},p=function(){clearTimeout(l),l=setTimeout(c,200)},c=function(){i.default.off(n,"mouseover",s),i.default.off(n,"mouseout",p),i.default.off(e.getWrapperElement(),"mouseout",p),n.style.opacity?(n.style.opacity="0",setTimeout((function(){n.parentNode&&n.parentNode.removeChild(n)}),600)):n.parentNode&&n.parentNode.removeChild(n)};i.default.on(n,"mouseover",s),i.default.on(n,"mouseout",p),i.default.on(e.getWrapperElement(),"mouseout",p)}(e,t,a)}}}(e,u)},m=function(e){var t=e.state.info.options;return t&&t.hoverTime||500}(e);o.hoverTimeout=setTimeout(f,m),i.default.on(document,"mousemove",r),i.default.on(e.getWrapperElement(),"mouseout",a)}}i.default.defineOption("info",!1,(function(e,t,o){if(o&&o!==i.default.Init){var n=e.state.info.onMouseOver;i.default.off(e.getWrapperElement(),"mouseover",n),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var r=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);r.onMouseOver=u.bind(null,e),i.default.on(e.getWrapperElement(),"mouseover",r.onMouseOver)}}))}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk=self.webpackChunk||[]).push([[930],{85930:(e,n,o)=>{!function(e){function n(n,o,t){var i,u=n.getWrapperElement();return(i=u.appendChild(document.createElement("div"))).className=t?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof o?i.innerHTML=o:i.appendChild(o),e.addClass(u,"dialog-opened"),i}function o(e,n){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=n}e.defineExtension("openDialog",(function(t,i,u){u||(u={}),o(this,null);var r=n(this,t,u.bottom),l=!1,a=this;function s(n){if("string"==typeof n)f.value=n;else{if(l)return;l=!0,e.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),a.focus(),u.onClose&&u.onClose(r)}}var c,f=r.getElementsByTagName("input")[0];return f?(f.focus(),u.value&&(f.value=u.value,!1!==u.selectValueOnOpen&&f.select()),u.onInput&&e.on(f,"input",(function(e){u.onInput(e,f.value,s)})),u.onKeyUp&&e.on(f,"keyup",(function(e){u.onKeyUp(e,f.value,s)})),e.on(f,"keydown",(function(n){u&&u.onKeyDown&&u.onKeyDown(n,f.value,s)||((27==n.keyCode||!1!==u.closeOnEnter&&13==n.keyCode)&&(f.blur(),e.e_stop(n),s()),13==n.keyCode&&i(f.value,n))})),!1!==u.closeOnBlur&&e.on(r,"focusout",(function(e){null!==e.relatedTarget&&s()}))):(c=r.getElementsByTagName("button")[0])&&(e.on(c,"click",(function(){s(),a.focus()})),!1!==u.closeOnBlur&&e.on(c,"blur",s),c.focus()),s})),e.defineExtension("openConfirm",(function(t,i,u){o(this,null);var r=n(this,t,u&&u.bottom),l=r.getElementsByTagName("button"),a=!1,s=this,c=1;function f(){a||(a=!0,e.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),s.focus())}l[0].focus();for(var d=0;d<l.length;++d){var p=l[d];!function(n){e.on(p,"click",(function(o){e.e_preventDefault(o),f(),n&&n(s)}))}(i[d]),e.on(p,"blur",(function(){--c,setTimeout((function(){c<=0&&f()}),200)})),e.on(p,"focus",(function(){++c}))}})),e.defineExtension("openNotification",(function(t,i){o(this,s);var u,r=n(this,t,i&&i.bottom),l=!1,a=i&&void 0!==i.duration?i.duration:5e3;function s(){l||(l=!0,clearTimeout(u),e.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r))}return e.on(r,"click",(function(n){e.e_preventDefault(n),s()})),a&&(u=setTimeout(s,a)),s}))}(o(11036))}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk=self.webpackChunk||[]).push([[952],{24952:(e,t,r)=>{!function(e){"use strict";e.defineMode("javascript",(function(t,r){var n,a,i=t.indentUnit,o=r.statementIndent,c=r.jsonld,s=r.json||c,u=!1!==r.trackScope,l=r.typescript,f=r.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),a=e("keyword d"),i=e("operator"),o={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:a,break:a,continue:a,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:i,typeof:i,instanceof:i,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n}}(),p=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function k(e,t,r){return n=e,a=r,t}function v(e,t){var r,n=e.next();if('"'==n||"'"==n)return t.tokenize=(r=n,function(e,t){var n,a=!1;if(c&&"@"==e.peek()&&e.match(m))return t.tokenize=v,k("jsonld-keyword","meta");for(;null!=(n=e.next())&&(n!=r||a);)a=!a&&"\\"==n;return a||(t.tokenize=v),k("string","string")}),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return k("number","number");if("."==n&&e.match(".."))return k("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return k(n);if("="==n&&e.eat(">"))return k("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return k("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),k("number","number");if("/"==n)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),k("comment","comment")):Ze(e,t,1)?(function(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),k("regexp","string-2")):(e.eat("="),k("operator","operator",e.current()));if("`"==n)return t.tokenize=w,w(e,t);if("#"==n&&"!"==e.peek())return e.skipToEnd(),k("meta","meta");if("#"==n&&e.eatWhile(f))return k("variable","property");if("<"==n&&e.match("!--")||"-"==n&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),k("comment","comment");if(p.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-|&?]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),"?"==n&&e.eat(".")?k("."):k("operator","operator",e.current());if(f.test(n)){e.eatWhile(f);var a=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(a)){var i=d[a];return k(i.type,i.style,a)}if("async"==a&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return k("async","keyword",a)}return k("variable","variable",a)}}function y(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=v;break}n="*"==r}return k("comment","comment")}function w(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=v;break}n=!n&&"\\"==r}return k("quasi","string-2",e.current())}function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(l){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var a=0,i=!1,o=r-1;o>=0;--o){var c=e.string.charAt(o),s="([{}])".indexOf(c);if(s>=0&&s<3){if(!a){++o;break}if(0==--a){"("==c&&(i=!0);break}}else if(s>=3&&s<6)++a;else if(f.test(c))i=!0;else if(/["'\/`]/.test(c))for(;;--o){if(0==o)return;if(e.string.charAt(o-1)==c&&"\\"!=e.string.charAt(o-2)){o--;break}}else if(i&&!a){++o;break}}i&&!a&&(t.fatArrowAt=o)}}var h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function x(e,t,r,n,a,i){this.indented=e,this.column=t,this.type=r,this.prev=a,this.info=i,null!=n&&(this.align=n)}function g(e,t){if(!u)return!1;for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function j(e,t,r,n,a){var i=e.cc;for(M.state=e,M.stream=a,M.marked=null,M.cc=i,M.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((i.length?i.pop():s?F:W)(r,n)){for(;i.length&&i[i.length-1].lex;)i.pop()();return M.marked?M.marked:"variable"==r&&g(e,n)?"variable-2":t}}var M={state:null,column:null,marked:null,cc:null};function A(){for(var e=arguments.length-1;e>=0;e--)M.cc.push(arguments[e])}function V(){return A.apply(null,arguments),!0}function E(e,t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}function z(e){var t=M.state;if(M.marked="def",u){if(t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var n=I(e,t.context);if(null!=n)return void(t.context=n)}else if(!E(e,t.localVars))return void(t.localVars=new C(e,t.localVars));r.globalVars&&!E(e,t.globalVars)&&(t.globalVars=new C(e,t.globalVars))}}function I(e,t){if(t){if(t.block){var r=I(e,t.prev);return r?r==t.prev?t:new $(r,t.vars,!0):null}return E(e,t.vars)?t:new $(t.prev,new C(e,t.vars),!1)}return null}function T(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function $(e,t,r){this.prev=e,this.vars=t,this.block=r}function C(e,t){this.name=e,this.next=t}var S=new C("this",new C("arguments",null));function _(){M.state.context=new $(M.state.context,M.state.localVars,!1),M.state.localVars=S}function q(){M.state.context=new $(M.state.context,M.state.localVars,!0),M.state.localVars=null}function O(){M.state.localVars=M.state.context.vars,M.state.context=M.state.context.prev}function P(e,t){var r=function(){var r=M.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var a=r.lexical;a&&")"==a.type&&a.align;a=a.prev)n=a.indented;r.lexical=new x(n,M.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function N(){var e=M.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function U(e){return function t(r){return r==e?V():";"==e||"}"==r||")"==r||"]"==r?A():V(t)}}function W(e,t){return"var"==e?V(P("vardef",t),Me,U(";"),N):"keyword a"==e?V(P("form"),D,W,N):"keyword b"==e?V(P("form"),W,N):"keyword d"==e?M.stream.match(/^\s*$/,!1)?V():V(P("stat"),J,U(";"),N):"debugger"==e?V(U(";")):"{"==e?V(P("}"),q,se,N,O):";"==e?V():"if"==e?("else"==M.state.lexical.info&&M.state.cc[M.state.cc.length-1]==N&&M.state.cc.pop()(),V(P("form"),D,W,N,Te)):"function"==e?V(_e):"for"==e?V(P("form"),q,$e,W,O,N):"class"==e||l&&"interface"==t?(M.marked="keyword",V(P("form","class"==e?e:t),Ue,N)):"variable"==e?l&&"declare"==t?(M.marked="keyword",V(W)):l&&("module"==t||"enum"==t||"type"==t)&&M.stream.match(/^\s*\w/,!1)?(M.marked="keyword","enum"==t?V(Xe):"type"==t?V(Oe,U("operator"),pe,U(";")):V(P("form"),Ae,U("{"),P("}"),se,N,N)):l&&"namespace"==t?(M.marked="keyword",V(P("form"),F,W,N)):l&&"abstract"==t?(M.marked="keyword",V(W)):V(P("stat"),te):"switch"==e?V(P("form"),D,U("{"),P("}","switch"),q,se,N,N,O):"case"==e?V(F,U(":")):"default"==e?V(U(":")):"catch"==e?V(P("form"),_,B,W,N,O):"export"==e?V(P("stat"),He,N):"import"==e?V(P("stat"),Ge,N):"async"==e?V(W):"@"==t?V(F,W):A(P("stat"),F,U(";"),N)}function B(e){if("("==e)return V(Pe,U(")"))}function F(e,t){return G(e,t,!1)}function H(e,t){return G(e,t,!0)}function D(e){return"("!=e?A():V(P(")"),J,U(")"),N)}function G(e,t,r){if(M.state.fatArrowAt==M.stream.start){var n=r?Y:X;if("("==e)return V(_,P(")"),oe(Pe,")"),N,U("=>"),n,O);if("variable"==e)return A(_,Ae,U("=>"),n,O)}var a=r?L:K;return h.hasOwnProperty(e)?V(a):"function"==e?V(_e,a):"class"==e||l&&"interface"==t?(M.marked="keyword",V(P("form"),Ne,N)):"keyword c"==e||"async"==e?V(r?H:F):"("==e?V(P(")"),J,U(")"),N,a):"operator"==e||"spread"==e?V(r?H:F):"["==e?V(P("]"),Re,N,a):"{"==e?ce(ne,"}",null,a):"quasi"==e?A(Q,a):"new"==e?V(function(e){return function(t){return"."==t?V(e?ee:Z):"variable"==t&&l?V(xe,e?L:K):A(e?H:F)}}(r)):V()}function J(e){return e.match(/[;\}\)\],]/)?A():A(F)}function K(e,t){return","==e?V(J):L(e,t,!1)}function L(e,t,r){var n=0==r?K:L,a=0==r?F:H;return"=>"==e?V(_,r?Y:X,O):"operator"==e?/\+\+|--/.test(t)||l&&"!"==t?V(n):l&&"<"==t&&M.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?V(P(">"),oe(pe,">"),N,n):"?"==t?V(F,U(":"),a):V(a):"quasi"==e?A(Q,n):";"!=e?"("==e?ce(H,")","call",n):"."==e?V(re,n):"["==e?V(P("]"),J,U("]"),N,n):l&&"as"==t?(M.marked="keyword",V(pe,n)):"regexp"==e?(M.state.lastType=M.marked="operator",M.stream.backUp(M.stream.pos-M.stream.start-1),V(a)):void 0:void 0}function Q(e,t){return"quasi"!=e?A():"${"!=t.slice(t.length-2)?V(Q):V(J,R)}function R(e){if("}"==e)return M.marked="string-2",M.state.tokenize=w,V(Q)}function X(e){return b(M.stream,M.state),A("{"==e?W:F)}function Y(e){return b(M.stream,M.state),A("{"==e?W:H)}function Z(e,t){if("target"==t)return M.marked="keyword",V(K)}function ee(e,t){if("target"==t)return M.marked="keyword",V(L)}function te(e){return":"==e?V(N,W):A(K,U(";"),N)}function re(e){if("variable"==e)return M.marked="property",V()}function ne(e,t){return"async"==e?(M.marked="property",V(ne)):"variable"==e||"keyword"==M.style?(M.marked="property","get"==t||"set"==t?V(ae):(l&&M.state.fatArrowAt==M.stream.start&&(r=M.stream.match(/^\s*:\s*/,!1))&&(M.state.fatArrowAt=M.stream.pos+r[0].length),V(ie))):"number"==e||"string"==e?(M.marked=c?"property":M.style+" property",V(ie)):"jsonld-keyword"==e?V(ie):l&&T(t)?(M.marked="keyword",V(ne)):"["==e?V(F,ue,U("]"),ie):"spread"==e?V(H,ie):"*"==t?(M.marked="keyword",V(ne)):":"==e?A(ie):void 0;var r}function ae(e){return"variable"!=e?A(ie):(M.marked="property",V(_e))}function ie(e){return":"==e?V(H):"("==e?A(_e):void 0}function oe(e,t,r){function n(a,i){if(r?r.indexOf(a)>-1:","==a){var o=M.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),V((function(r,n){return r==t||n==t?A():A(e)}),n)}return a==t||i==t?V():r&&r.indexOf(";")>-1?A(e):V(U(t))}return function(r,a){return r==t||a==t?V():A(e,n)}}function ce(e,t,r){for(var n=3;n<arguments.length;n++)M.cc.push(arguments[n]);return V(P(t,r),oe(e,t),N)}function se(e){return"}"==e?V():A(W,se)}function ue(e,t){if(l){if(":"==e)return V(pe);if("?"==t)return V(ue)}}function le(e,t){if(l&&(":"==e||"in"==t))return V(pe)}function fe(e){if(l&&":"==e)return M.stream.match(/^\s*\w+\s+is\b/,!1)?V(F,de,pe):V(pe)}function de(e,t){if("is"==t)return M.marked="keyword",V()}function pe(e,t){return"keyof"==t||"typeof"==t||"infer"==t||"readonly"==t?(M.marked="keyword",V("typeof"==t?H:pe)):"variable"==e||"void"==t?(M.marked="type",V(he)):"|"==t||"&"==t?V(pe):"string"==e||"number"==e||"atom"==e?V(he):"["==e?V(P("]"),oe(pe,"]",","),N,he):"{"==e?V(P("}"),ke,N,he):"("==e?V(oe(be,")"),me,he):"<"==e?V(oe(pe,">"),pe):"quasi"==e?A(ye,he):void 0}function me(e){if("=>"==e)return V(pe)}function ke(e){return e.match(/[\}\)\]]/)?V():","==e||";"==e?V(ke):A(ve,ke)}function ve(e,t){return"variable"==e||"keyword"==M.style?(M.marked="property",V(ve)):"?"==t||"number"==e||"string"==e?V(ve):":"==e?V(pe):"["==e?V(U("variable"),le,U("]"),ve):"("==e?A(qe,ve):e.match(/[;\}\)\],]/)?void 0:V()}function ye(e,t){return"quasi"!=e?A():"${"!=t.slice(t.length-2)?V(ye):V(pe,we)}function we(e){if("}"==e)return M.marked="string-2",M.state.tokenize=w,V(ye)}function be(e,t){return"variable"==e&&M.stream.match(/^\s*[?:]/,!1)||"?"==t?V(be):":"==e?V(pe):"spread"==e?V(be):A(pe)}function he(e,t){return"<"==t?V(P(">"),oe(pe,">"),N,he):"|"==t||"."==e||"&"==t?V(pe):"["==e?V(pe,U("]"),he):"extends"==t||"implements"==t?(M.marked="keyword",V(pe)):"?"==t?V(pe,U(":"),pe):void 0}function xe(e,t){if("<"==t)return V(P(">"),oe(pe,">"),N,he)}function ge(){return A(pe,je)}function je(e,t){if("="==t)return V(pe)}function Me(e,t){return"enum"==t?(M.marked="keyword",V(Xe)):A(Ae,ue,ze,Ie)}function Ae(e,t){return l&&T(t)?(M.marked="keyword",V(Ae)):"variable"==e?(z(t),V()):"spread"==e?V(Ae):"["==e?ce(Ee,"]"):"{"==e?ce(Ve,"}"):void 0}function Ve(e,t){return"variable"!=e||M.stream.match(/^\s*:/,!1)?("variable"==e&&(M.marked="property"),"spread"==e?V(Ae):"}"==e?A():"["==e?V(F,U("]"),U(":"),Ve):V(U(":"),Ae,ze)):(z(t),V(ze))}function Ee(){return A(Ae,ze)}function ze(e,t){if("="==t)return V(H)}function Ie(e){if(","==e)return V(Me)}function Te(e,t){if("keyword b"==e&&"else"==t)return V(P("form","else"),W,N)}function $e(e,t){return"await"==t?V($e):"("==e?V(P(")"),Ce,N):void 0}function Ce(e){return"var"==e?V(Me,Se):"variable"==e?V(Se):A(Se)}function Se(e,t){return")"==e?V():";"==e?V(Se):"in"==t||"of"==t?(M.marked="keyword",V(F,Se)):A(F,Se)}function _e(e,t){return"*"==t?(M.marked="keyword",V(_e)):"variable"==e?(z(t),V(_e)):"("==e?V(_,P(")"),oe(Pe,")"),N,fe,W,O):l&&"<"==t?V(P(">"),oe(ge,">"),N,_e):void 0}function qe(e,t){return"*"==t?(M.marked="keyword",V(qe)):"variable"==e?(z(t),V(qe)):"("==e?V(_,P(")"),oe(Pe,")"),N,fe,O):l&&"<"==t?V(P(">"),oe(ge,">"),N,qe):void 0}function Oe(e,t){return"keyword"==e||"variable"==e?(M.marked="type",V(Oe)):"<"==t?V(P(">"),oe(ge,">"),N):void 0}function Pe(e,t){return"@"==t&&V(F,Pe),"spread"==e?V(Pe):l&&T(t)?(M.marked="keyword",V(Pe)):l&&"this"==e?V(ue,ze):A(Ae,ue,ze)}function Ne(e,t){return"variable"==e?Ue(e,t):We(e,t)}function Ue(e,t){if("variable"==e)return z(t),V(We)}function We(e,t){return"<"==t?V(P(">"),oe(ge,">"),N,We):"extends"==t||"implements"==t||l&&","==e?("implements"==t&&(M.marked="keyword"),V(l?pe:F,We)):"{"==e?V(P("}"),Be,N):void 0}function Be(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||l&&T(t))&&M.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(M.marked="keyword",V(Be)):"variable"==e||"keyword"==M.style?(M.marked="property",V(Fe,Be)):"number"==e||"string"==e?V(Fe,Be):"["==e?V(F,ue,U("]"),Fe,Be):"*"==t?(M.marked="keyword",V(Be)):l&&"("==e?A(qe,Be):";"==e||","==e?V(Be):"}"==e?V():"@"==t?V(F,Be):void 0}function Fe(e,t){if("!"==t)return V(Fe);if("?"==t)return V(Fe);if(":"==e)return V(pe,ze);if("="==t)return V(H);var r=M.state.lexical.prev;return A(r&&"interface"==r.info?qe:_e)}function He(e,t){return"*"==t?(M.marked="keyword",V(Qe,U(";"))):"default"==t?(M.marked="keyword",V(F,U(";"))):"{"==e?V(oe(De,"}"),Qe,U(";")):A(W)}function De(e,t){return"as"==t?(M.marked="keyword",V(U("variable"))):"variable"==e?A(H,De):void 0}function Ge(e){return"string"==e?V():"("==e?A(F):"."==e?A(K):A(Je,Ke,Qe)}function Je(e,t){return"{"==e?ce(Je,"}"):("variable"==e&&z(t),"*"==t&&(M.marked="keyword"),V(Le))}function Ke(e){if(","==e)return V(Je,Ke)}function Le(e,t){if("as"==t)return M.marked="keyword",V(Je)}function Qe(e,t){if("from"==t)return M.marked="keyword",V(F)}function Re(e){return"]"==e?V():A(oe(H,"]"))}function Xe(){return A(P("form"),Ae,U("{"),P("}"),oe(Ye,"}"),N,N)}function Ye(){return A(Ae,ze)}function Ze(e,t,r){return t.tokenize==v&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}return _.lex=q.lex=!0,O.lex=!0,N.lex=!0,{startState:function(e){var t={tokenize:v,lastType:"sof",cc:[],lexical:new x((e||0)-i,0,"block",!1),localVars:r.localVars,context:r.localVars&&new $(null,null,!1),indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=y&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=a&&"--"!=a?n:"incdec",j(t,r,n,a,e))},indent:function(t,n){if(t.tokenize==y||t.tokenize==w)return e.Pass;if(t.tokenize!=v)return 0;var a,c=n&&n.charAt(0),s=t.lexical;if(!/^\s*else\b/.test(n))for(var u=t.cc.length-1;u>=0;--u){var l=t.cc[u];if(l==N)s=s.prev;else if(l!=Te&&l!=O)break}for(;("stat"==s.type||"form"==s.type)&&("}"==c||(a=t.cc[t.cc.length-1])&&(a==K||a==L)&&!/^[,\.=+\-*:?[\(]/.test(n));)s=s.prev;o&&")"==s.type&&"stat"==s.prev.type&&(s=s.prev);var f=s.type,d=c==f;return"vardef"==f?s.indented+("operator"==t.lastType||","==t.lastType?s.info.length+1:0):"form"==f&&"{"==c?s.indented:"form"==f?s.indented+i:"stat"==f?s.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?o||i:0):"switch"!=s.info||d||0==r.doubleIndentSwitch?s.align?s.column+(d?0:1):s.indented+(d?0:i):s.indented+(/^(?:case|default)\b/.test(n)?i:2*i)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:s?null:"/*",blockCommentEnd:s?null:"*/",blockCommentContinue:s?null:" * ",lineComment:s?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:s?"json":"javascript",jsonldMode:c,jsonMode:s,expressionAllowed:Ze,skipExpression:function(t){j(t,"atom","atom","true",new e.StringStream("",2,null))}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/manifest+json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(r(11036))}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk=self.webpackChunk||[]).push([[963,736,191],{78736:(e,t,n)=>{!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function i(e){return e&&e.bracketRegex||/[(){}[\]]/}function o(e,t,o){var a=e.getLineHandle(t.line),s=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var f=i(o),h=!c&&s>=0&&f.test(a.text.charAt(s))&&r[a.text.charAt(s)]||f.test(a.text.charAt(s+1))&&r[a.text.charAt(++s)];if(!h)return null;var u=">"==h.charAt(1)?1:-1;if(o&&o.strict&&u>0!=(s==t.ch))return null;var m=e.getTokenTypeAt(n(t.line,s+1)),d=l(e,n(t.line,s+(u>0?1:0)),u,m,o);return null==d?null:{from:n(t.line,s),to:d&&d.pos,match:d&&d.ch==h.charAt(0),forward:u>0}}function l(e,t,o,l,a){for(var s=a&&a.maxScanLineLength||1e4,c=a&&a.maxScanLines||1e3,f=[],h=i(a),u=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),m=t.line;m!=u;m+=o){var d=e.getLine(m);if(d){var g=o>0?0:d.length-1,p=o>0?d.length:-1;if(!(d.length>s))for(m==t.line&&(g=t.ch-(o<0?1:0));g!=p;g+=o){var C=d.charAt(g);if(h.test(C)&&(void 0===l||(e.getTokenTypeAt(n(m,g+1))||"")==(l||""))){var v=r[C];if(v&&">"==v.charAt(1)==o>0)f.push(C);else{if(!f.length)return{pos:n(m,g),ch:C};f.pop()}}}}}return m-o!=(o>0?e.lastLine():e.firstLine())&&null}function a(e,r,i){for(var l=e.state.matchBrackets.maxHighlightLineLength||1e3,a=i&&i.highlightNonMatching,s=[],c=e.listSelections(),f=0;f<c.length;f++){var h=c[f].empty()&&o(e,c[f].head,i);if(h&&(h.match||!1!==a)&&e.getLine(h.from.line).length<=l){var u=h.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";s.push(e.markText(h.from,n(h.from.line,h.from.ch+1),{className:u})),h.to&&e.getLine(h.to.line).length<=l&&s.push(e.markText(h.to,n(h.to.line,h.to.ch+1),{className:u}))}}if(s.length){t&&e.state.focused&&e.focus();var m=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!r)return m;setTimeout(m,800)}}function s(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=a(e,!1,e.state.matchBrackets)}))}function c(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}e.defineOption("matchBrackets",!1,(function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",s),t.off("focus",s),t.off("blur",c),c(t)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",s),t.on("focus",s),t.on("blur",c))})),e.defineExtension("matchBrackets",(function(){a(this,!0)})),e.defineExtension("findMatchingBracket",(function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),o(this,e,t)})),e.defineExtension("scanForBracket",(function(e,t,n,r){return l(this,e,t,n,r)}))}(n(11036))},60191:(e,t,n)=>{!function(e){"use strict";var t,n,r=e.Pos;function i(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function o(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function l(e,t,n){t=i(t,"g");for(var o=n.line,l=n.ch,a=e.lastLine();o<=a;o++,l=0){t.lastIndex=l;var s=e.getLine(o),c=t.exec(s);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function a(e,t,n){if(!o(t))return l(e,t,n);t=i(t,"gm");for(var a,s=1,c=n.line,f=e.lastLine();c<=f;){for(var h=0;h<s&&!(c>f);h++){var u=e.getLine(c++);a=null==a?u:a+"\n"+u}s*=2,t.lastIndex=n.ch;var m=t.exec(a);if(m){var d=a.slice(0,m.index).split("\n"),g=m[0].split("\n"),p=n.line+d.length-1,C=d[d.length-1].length;return{from:r(p,C),to:r(p+g.length-1,1==g.length?C+g[0].length:g[g.length-1].length),match:m}}}}function s(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var l=o.index+o[0].length;if(l>e.length-n)break;(!r||l>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function c(e,t,n){t=i(t,"g");for(var o=n.line,l=n.ch,a=e.firstLine();o>=a;o--,l=-1){var c=e.getLine(o),f=s(c,t,l<0?0:c.length-l);if(f)return{from:r(o,f.index),to:r(o,f.index+f[0].length),match:f}}}function f(e,t,n){if(!o(t))return c(e,t,n);t=i(t,"gm");for(var l,a=1,f=e.getLine(n.line).length-n.ch,h=n.line,u=e.firstLine();h>=u;){for(var m=0;m<a&&h>=u;m++){var d=e.getLine(h--);l=null==l?d:d+"\n"+l}a*=2;var g=s(l,t,f);if(g){var p=l.slice(0,g.index).split("\n"),C=g[0].split("\n"),v=h+p.length,S=p[p.length-1].length;return{from:r(v,S),to:r(v+C.length-1,1==C.length?S+C[0].length:C[C.length-1].length),match:g}}}}function h(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var l=i+o>>1,a=r(e.slice(0,l)).length;if(a==n)return l;a>n?o=l:i=l+1}}function u(e,i,o,l){if(!i.length)return null;var a=l?t:n,s=a(i).split(/\r|\n\r?/);e:for(var c=o.line,f=o.ch,u=e.lastLine()+1-s.length;c<=u;c++,f=0){var m=e.getLine(c).slice(f),d=a(m);if(1==s.length){var g=d.indexOf(s[0]);if(-1==g)continue e;return o=h(m,d,g,a)+f,{from:r(c,h(m,d,g,a)+f),to:r(c,h(m,d,g+s[0].length,a)+f)}}var p=d.length-s[0].length;if(d.slice(p)==s[0]){for(var C=1;C<s.length-1;C++)if(a(e.getLine(c+C))!=s[C])continue e;var v=e.getLine(c+s.length-1),S=a(v),L=s[s.length-1];if(S.slice(0,L.length)==L)return{from:r(c,h(m,d,p,a)+f),to:r(c+s.length-1,h(v,S,L.length,a))}}}}function m(e,i,o,l){if(!i.length)return null;var a=l?t:n,s=a(i).split(/\r|\n\r?/);e:for(var c=o.line,f=o.ch,u=e.firstLine()-1+s.length;c>=u;c--,f=-1){var m=e.getLine(c);f>-1&&(m=m.slice(0,f));var d=a(m);if(1==s.length){var g=d.lastIndexOf(s[0]);if(-1==g)continue e;return{from:r(c,h(m,d,g,a)),to:r(c,h(m,d,g+s[0].length,a))}}var p=s[s.length-1];if(d.slice(0,p.length)==p){var C=1;for(o=c-s.length+1;C<s.length-1;C++)if(a(e.getLine(o+C))!=s[C])continue e;var v=e.getLine(c+1-s.length),S=a(v);if(S.slice(S.length-s[0].length)==s[0])return{from:r(c+1-s.length,h(v,S,v.length-s[0].length,a)),to:r(c,h(m,d,p.length,a))}}}}function d(e,t,n,o){var s;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof o?s=o.caseFold:(s=o,o=null),"string"==typeof t?(null==s&&(s=!1),this.matches=function(n,r){return(n?m:u)(e,t,r,s)}):(t=i(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?c:l)(e,t,r)}:this.matches=function(n,r){return(n?f:a)(e,t,r)})}String.prototype.normalize?(t=function(e){return e.normalize("NFD").toLowerCase()},n=function(e){return e.normalize("NFD")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),d.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=r(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||"").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var i=this.matches(t,n);if(this.afterEmptyMatch=i&&0==e.cmpPos(i.from,i.to),i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var o=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,n){return new d(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new d(this,e,t,n)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor("from"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(11036))},16963:(e,t,n)=>{!function(e){"use strict";var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var l,a="start",s=r.ch,c=s,f=i<0?0:o.length,h=0;c!=f;c+=i,h++){var u=o.charAt(i<0?c-1:c),m="_"!=u&&e.isWordChar(u)?"w":"o";if("w"==m&&u.toUpperCase()==u&&(m="W"),"start"==a)"o"!=m?(a="in",l=m):s=c+i;else if("in"==a&&l!=m){if("w"==l&&"W"==m&&i<0&&c--,"W"==l&&"w"==m&&i>0){if(c==s+1){l="w";continue}c--}break}}return n(r.line,c)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,l=0;l<e;l++){var a=t.listSelections()[l].head;if(!(a.line<=o)){var s=n(a.line+(r?0:1),0);t.replaceRange("\n",s,null,"+insertLine"),t.indentLine(s.line,null,!0),i.push({head:s,anchor:s}),o=a.line+1}}t.setSelections(i)})),t.execCommand("indentAuto")}function o(t,r){for(var i=r.ch,o=i,l=t.getLine(r.line);i&&e.isWordChar(l.charAt(i-1));)--i;for(;o<l.length&&e.isWordChar(l.charAt(o));)++o;return{from:n(r.line,i),to:n(r.line,o),word:l.slice(i,o)}}function l(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],l=e.findPosV(o.anchor,t,"line",o.anchor.goalColumn),a=e.findPosV(o.head,t,"line",o.head.goalColumn);l.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,"div").left,a.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,"div").left;var s={anchor:l,head:a};r.push(o),r.push(s)}e.setSelections(r)}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++)for(var o=t[i].from(),l=t[i].to(),a=o.line;a<=l.line;++a)l.line>o.line&&a==l.line&&0==l.ch||r.push({anchor:a==o.line?o:n(a,0),head:a==l.line?l:n(a)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){var o=t[i];r.push({anchor:n(o.from().line,0),head:n(o.to().line+1,0)})}e.setSelections(r)},t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor("from"),i=t.getCursor("to"),l=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,i)){var a=o(t,r);if(!a.word)return;t.setSelection(a.from,a.to),l=!0}else{var s=t.getRange(r,i),c=l?new RegExp("\\b"+s+"\\b"):s,f=t.getSearchCursor(c,i),h=f.findNext();if(h||(h=(f=t.getSearchCursor(c,n(t.firstLine(),0))).findNext()),!h||function(t,n,r){for(var i=0;i<t.length;i++)if(0==e.cmpPos(t[i].from(),n)&&0==e.cmpPos(t[i].to(),r))return!0;return!1}(t.listSelections(),f.from(),f.to()))return;t.addSelection(f.from(),f.to())}l&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),i=n.getCursor("head");t.selectNextOccurrence(n),0!=e.cmpPos(r,i)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=i})))},t.addCursorToPrevLine=function(e){l(e,-1)},t.addCursorToNextLine=function(e){l(e,1)};var a="(){}[]";function s(t){for(var r=t.listSelections(),i=[],o=0;o<r.length;o++){var l=r[o],s=l.head,c=t.scanForBracket(s,-1);if(!c)return!1;for(;;){var f=t.scanForBracket(s,1);if(!f)return!1;if(f.ch==a.charAt(a.indexOf(c.ch)+1)){var h=n(c.pos.line,c.pos.ch+1);if(0!=e.cmpPos(h,l.from())||0!=e.cmpPos(f.pos,l.to())){i.push({anchor:h,head:f.pos});break}if(!(c=t.scanForBracket(c.pos,-1)))return!1}s=n(f.pos.line,f.pos.ch+1)}}return t.setSelections(i),!0}function c(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function f(t,r,i){if(t.isReadOnly())return e.Pass;for(var o,l=t.listSelections(),a=[],s=0;s<l.length;s++){var c=l[s];if(!c.empty()){for(var f=c.from().line,h=c.to().line;s<l.length-1&&l[s+1].from().line==h;)h=l[++s].to().line;l[s].to().ch||h--,a.push(f,h)}}a.length?o=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],l=0;l<a.length;l+=2){var s=a[l],c=a[l+1],f=n(s,0),h=n(c),u=t.getRange(f,h,!1);r?u.sort((function(e,t){return e<t?-i:e==t?0:i})):u.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-i:e==t?0:i})),t.replaceRange(u,f,h),o&&e.push({anchor:f,head:n(c+1,0)})}o&&t.setSelections(e,0)}))}function h(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],l=[],a=0;a<r.length;a++)(c=r[a]).empty()?(i.push(a),l.push("")):l.push(n(t.getRange(c.from(),c.to())));var s;for(t.replaceSelections(l,"around","case"),a=i.length-1;a>=0;a--){var c=r[i[a]];if(!(s&&e.cmpPos(c.head,s)>0)){var f=o(t,c.head);s=f.from,t.replaceRange(n(f.word),f.from,f.to)}}}))}function u(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function m(e,t){var r=u(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.selectScope=function(e){s(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!s(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy((function(r){var i=t.scanForBracket(r.head,1,c(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,c(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return o&&n(o.pos.line,o.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.firstLine()-1,l=[],a=0;a<r.length;a++){var s=r[a],c=s.from().line-1,f=s.to().line;l.push({anchor:n(s.anchor.line-1,s.anchor.ch),head:n(s.head.line-1,s.head.ch)}),0!=s.to().ch||s.empty()||--f,c>o?i.push(c,f):i.length&&(i[i.length-1]=f),o=f}t.operation((function(){for(var e=0;e<i.length;e+=2){var r=i[e],o=i[e+1],a=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),o>t.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(o,0),null,"+swapLine")}t.setSelections(l),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,l=r.length-1;l>=0;l--){var a=r[l],s=a.to().line+1,c=a.from().line;0!=a.to().ch||a.empty()||s--,s<o?i.push(s,c):i.length&&(i[i.length-1]=c),o=c}t.operation((function(){for(var e=i.length-2;e>=0;e-=2){var r=i[e],o=i[e+1],l=t.getLine(r);r==t.lastLine()?t.replaceRange("",n(r-1),n(r),"+swapLine"):t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),t.replaceRange(l+"\n",n(o,0),null,"+swapLine")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){for(var o=t[i],l=o.from(),a=l.line,s=o.to().line;i<t.length-1&&t[i+1].from().line==s;)s=t[++i].to().line;r.push({start:a,end:s,anchor:!o.empty()&&l})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var l,a=r[o],s=a.anchor&&n(a.anchor.line-t,a.anchor.ch),c=a.start;c<=a.end;c++){var f=c-t;c==a.end&&(l=n(f,e.getLine(f).length+1)),f<e.lastLine()&&(e.replaceRange(" ",n(f),n(f+1,/^\s*/.exec(e.getLine(f+1))[0].length)),++t)}i.push({anchor:s||l,head:l})}e.setSelections(i,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var i=e.listSelections()[r];i.empty()?e.replaceRange(e.getLine(i.head.line)+"\n",n(i.head.line,0)):e.replaceRange(e.getRange(i.from(),i.to()),i.from())}e.scrollIntoView()}))},t.sortLines=function(e){f(e,!0,1)},t.reverseSortLines=function(e){f(e,!0,-1)},t.sortLinesInsensitive=function(e){f(e,!1,1)},t.reverseSortLinesInsensitive=function(e){f(e,!1,-1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var i=t[r].from(),o=t[r].to(),l=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),a=0;a<l.length;a++)if(l[a].sublimeBookmark){l[a].clear();for(var s=0;s<n.length;s++)n[s]==l[a]&&n.splice(s--,1);break}a==l.length&&n.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].find();i?n.push({anchor:i.from,head:i.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),i=t.getOption("indentUnit"),o=r.length-1;o>=0;o--){var l=r[o].head,a=t.getRange({line:l.line,ch:0},l),s=e.countColumn(a,null,t.getOption("tabSize")),c=t.findPosH(l,-1,"char",!1);if(a&&!/\S/.test(a)&&s%i==0){var f=new n(l.line,e.findColumn(a,s-i,i));f.ch!=l.ch&&(c=f)}t.replaceRange("",c,l,"+delete")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange("",t[r].anchor,n(t[r].to().line),"+delete");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){h(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){h(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange("",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){m(e,!0)},t.findUnderPrevious=function(e){m(e,!1)},t.findAllUnder=function(e){var t=u(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(d.macSublime),d.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(d.pcSublime);var g=d.default==d.macDefault;d.sublime=g?d.macSublime:d.pcSublime}(n(11036),n(60191),n(78736))}}]);