{"version":3,"sources":["webpack:///./node_modules/redoc/bundles/redoc.lib.js"],"names":["factory","modules","installedModules","__webpack_require__","moduleId","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","undefined","g","this","Function","e","window","process","normalizeArray","parts","allowAboveRoot","up","length","last","splice","unshift","filter","xs","f","res","push","resolve","resolvedPath","resolvedAbsolute","arguments","path","cwd","TypeError","charAt","split","join","normalize","isAbsolute","trailingSlash","substr","paths","Array","slice","index","relative","from","to","trim","arr","start","end","fromParts","toParts","Math","min","samePartsLength","outputParts","concat","sep","delimiter","dirname","code","charCodeAt","hasRoot","matchedSlash","basename","ext","extname","startDot","startPart","preDotState","str","len","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","Error","defaultClearTimeout","runTimeout","fun","setTimeout","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","array","noop","nextTick","args","apply","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","chdir","dir","umask","jpunescape","replace","jptr","obj","prop","newValue","indexOf","decodeURIComponent","startsWith","components","setAndLast","parseInt","isArray","isNaN","toString","jpescape","tslib_1","nop","clone","JSON","parse","stringify","shallowClone","result","deepClone","fastClone","assign","circularClone","hash","WeakMap","has","constructor","getPrototypeOf","set","__spreadArrays","keys","map","_a","isRef","recurse","state","callback","depth","pkey","parent","payload","seen","identity","identityDetection","oPath","encodeURIComponent","identityPath","newState","___CSS_LOADER_API_IMPORT___","sjs","colour","NODE_DISABLE_COLORS","red","yellow","green","normal","compressArray","_loop_1","candidate","find","a","obj1","obj2","_equals","deepEquals","_i","arr_1","sanitise","String","toCamelCase","toLowerCase","match","group1","toUpperCase","uniqueOnly","self","hasDuplicates","Set","size","allSame","distinctArray","firstDupe","parameterTypeProperties","arrayProperties","httpMethods","sanitiseAll","global","base64","ieee754","kMaxLength","Buffer","TYPED_ARRAY_SUPPORT","createBuffer","that","RangeError","Uint8Array","__proto__","arg","encodingOrOffset","allocUnsafe","ArrayBuffer","byteOffset","byteLength","fromArrayLike","fromArrayBuffer","string","encoding","isEncoding","actual","write","fromString","isBuffer","checked","copy","buffer","val","type","data","fromObject","assertSize","isView","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","b","bidirectionalIndexOf","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","read","buf","readUInt16BE","foundIndex","found","j","hexWrite","offset","Number","remaining","strLen","parsed","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","fromByteArray","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","fromCharCode","decodeCodePointsArray","ret","out","bytes","checkOffset","checkInt","max","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","writeDouble","SlowBuffer","alloc","INSPECT_MAX_BYTES","foo","subarray","typedArraySupport","poolSize","_augment","species","configurable","fill","allocUnsafeSlow","_isBuffer","compare","x","y","list","pos","swap16","swap32","swap64","equals","inspect","target","thisStart","thisEnd","thisCopy","targetCopy","includes","isFinite","toJSON","_arr","newBuf","sliceLen","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","floor","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","limit","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","INVALID_BASE64_RE","Infinity","leadSurrogate","toByteArray","stringtrim","base64clean","src","dst","fetch","isFunction","ReadableStream","writableStream","WritableStream","abortController","AbortController","blobConstructor","Blob","xhr","getXHR","XMLHttpRequest","open","XDomainRequest","checkTypeSupport","responseType","haveArrayBuffer","haveSlice","arraybuffer","msstream","mozchunkedarraybuffer","overrideMimeType","vbArray","VBArray","capability","inherits","stream","rStates","readyStates","UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE","IncomingMessage","response","fetchTimer","Readable","_mode","headers","rawHeaders","trailers","rawTrailers","_fetchResponse","url","statusCode","status","statusMessage","statusText","forEach","header","writable","chunk","Promise","reject","_destroyed","_resumeFetch","close","abort","err","body","pipeTo","catch","reader","getReader","then","done","_xhr","_pos","responseURL","getAllResponseHeaders","matches","_charset","mimeType","charsetMatch","_read","_onXHRProgress","readyState","responseBody","toArray","responseText","newData","MSStreamReader","onprogress","onload","readAsArrayBuffer","__webpack_exports__","add","toJS","load","search","tslib__WEBPACK_IMPORTED_MODULE_0__","lunr__WEBPACK_IMPORTED_MODULE_1__","_","Worker","store","resolveIndex","separator","builder","description","meta","ref","item","build","_b","label","sent","q","searchResults","query","term","exp","expandTerm","score","field","pipeline","componentNames","fs","maybe","yaml","resolveInternal","cclone","resolver","sw","common","statusCodes","ourVersion","S2OError","_super","message","_this","__extends","throwError","options","promise","throwOrWarn","container","warnOnly","warnProperty","fixUpSchema","schema","walkSchema","required","anyOf","oneOf","not","nullable","propertyName","entry","discriminator","mapping","schemaOrRef","fixUpSubSchemaExtensions","items","patch","newSchema","_c","xml","namespace","fixUpSubSchema","fixupRefs","newKey","openapi","consumes","produces","schemas","refmap","oldRef","schemaIndex","prefix","suffix","pop","getMiroComponentName","newRef","refSuffix","tmpRef","inSchema","refSiblings","$ref","allOf","processSecurity","securityObject","k","sname","processSecurityScheme","scheme","flow","flowName","authorizationUrl","tokenUrl","scopes","flows","keepParameters","processHeader","collectionFormat","explode","style","fixParamRef","param","refComponents","processParameter","op","method","originalType","singularRequestBody","ptr","rbody","parameters","newParam","in","deprecated","example","oldCollectionFormat_1","allowReserved","content","contentType","properties","default","format","copyExtensions","operationId","rbname","_d","consumes_1","mimetype","requestBody","newOp","attachRequestBody","_e","_f","tgt","processResponse","produces_1","examples","h","processPaths","containerName","requestBodyCache","trace","summary","servers","debug","security","responses","defaultResp","schemes","_g","server","newServer","serverUrl","protocol","se","p_1","_h","_j","rh","ct","effectiveOperationId","rbName","rbStr","rbHash","refs","p2","main","securitySchemes","dedupeRefs","requestBodies","rb","rbNamesGenerated","counter","extractServerParameters","variables","fixInfo","info","logo","termsOfService","URL","whatwg","ex","fixPaths","convertObj","swagger","original","text","externals","externalRefs","rewriteRefs","preserveMiro","cache","source","optionalResolve","direct","console","warn","targetVersion","origin","converter","host","basePath","xMsPHost","server_1","msp","hostTemplate","enum","useSchemePrefix","callbacks","links","securityDefinitions","definitions","convertStr","error","prettyErrors","sourceYaml","convert","convertUrl","verbose","agent","convertFile","filename","readFile","sourceFile","convertStream","readable","areInputsEqual","newInputs","lastInputs","resultFn","isEqual","lastThis","lastResult","lastArgs","calledOnce","newArgs","deRef","dereference","resolveAllFragment","context","parentPath","base","attachPoint","baseUrl","changes","$fixed","fatal","filterData","filters","resolveExternal","root","pointer","u","fragment","fnComponents","input","backup","u2","effectiveProtocol","externalRef","handlers","findExternalRefs","rej","inner","$ref_1","$extra","potential","resolved","extras","resolvedAt","scanExternalRefs","actions","external","updated","localOptions","pointers","pointers_1","sort","aComp","bComp","cdata","loopReferences","funcs","reduce","func","setupOptions","srcUrl","defs","master","logger","getLogger","getDefaultState","top","combine","allowRefSiblings","temp","additionalItems","additionalProperties","subSchema","patternProperties","http","STATUS_CODES","ClientRequest","extend","request","opts","cb","defaultProtocol","location","hostname","port","req","Agent","defaultMaxSockets","globalAgent","METHODS","toArrayBuffer","preferBinary","Writable","_opts","_body","_headers","auth","setHeader","useFetch","decideMode","_fetchTimer","_onFinish","lowerName","unsafeHeaders","getHeader","removeHeader","headersObj","headersList","keyName","v","signal","controller","_fetchAbortController","requestTimeout","credentials","withCredentials","_connect","reason","ontimeout","setRequestHeader","_response","onreadystatechange","onerror","send","statusValid","_write","destroy","flushHeaders","setNoDelay","setSocketKeepAlive","addMethods","methods","w","createObjectURL","worker","addEventListener","id","evt","document","createEvent","initEvent","params","dispatchEvent","postMessage","useSourceMap","sourceMap","cssMapping","btoa","sourceMapping","unescape","sourceURLs","sources","sourceRoot","cssWithMappingToString","mediaQuery","dedupe","alreadyImportedModules","external_tslib_","external_prop_types_","external_react_","external_polished_","defaultTheme","spacing","unit","sectionHorizontal","sectionVertical","breakpoints","small","medium","large","colors","tonalOffset","primary","light","dark","contrastText","success","warning","gray","50","100","secondary","border","color","backgroundColor","redirect","post","put","delete","basic","link","head","linesColor","theme","defaultDetailsWidth","typeNameColor","typeTitleColor","requireLabelColor","labelsTextSize","nestingSpacing","nestedBackground","arrow","typography","fontSize","lineHeight","fontWeightRegular","fontWeightBold","fontWeightLight","fontFamily","smoothing","optimizeSpeed","headings","fontWeight","wrap","visited","hover","sidebar","width","textColor","activeTextColor","groupItems","textTransform","level1Items","maxHeight","maxWidth","gutter","rightPanel","codeBlock","src_theme","IS_BROWSER","querySelector","selector","html2Str","html","trimmedChunk","Element","scrollIntoViewIfNeeded","centerIfNeeded","parentNode","parentComputedStyle","getComputedStyle","parentBorderTopWidth","getPropertyValue","parentBorderLeftWidth","overTop","offsetTop","scrollTop","overBottom","clientHeight","overLeft","offsetLeft","scrollLeft","overRight","clientWidth","alignWithTop","scrollIntoView","external_slugify_","external_slugify_default","external_url_","mapWithLast","iteratee","mapValues","flattenByProp","collectionItems","iterate","items_1","stripTrailingSlash","endsWith","substring","isNumeric","parseFloat","appendToMdHeading","md","heading","testRegex","RegExp","replaceRegex","test","br","mergeObjects","shift","isMergebleObject","isObject","safeSlugify","isAbsoluteUrl","resolveUrl","urlObj","pathname","getBasePath","parseURL","titleize","removeQueryString","unescapeHTMLChars","_m","labels","enumSingleValue","enumArray","recursive","arrayOf","idx","argValueToBoolean","defaultValue","templateObject_1","templateObject_2","templateObject_3","RedocNormalizedOptions_RedocNormalizedOptions","RedocNormalizedOptions","raw","defaults","resolvedValues","_labels","hook","extensionsHook","menu","codeSample","setProxy","currentPath","scrollYOffset","normalizeScrollYOffset","hideHostname","normalizeHideHostname","expandResponses","normalizeExpandResponses","requiredPropsFirst","sortPropsAlphabetically","noAutoAuth","nativeScrollbars","pathInMiddlePanel","untrustedSpec","hideDownloadButton","disableSearch","onlyRequiredInSamples","showExtensions","normalizeShowExtensions","hideSingleRequestSampleTab","menuToggle","jsonSampleExpandLevel","normalizeJsonSampleExpandLevel","enumSkipQuotes","hideSchemaTitles","payloadSampleIdx","normalizePayloadSampleIdx","expandSingleSchemaField","unstable_ignoreMimeParameters","allowedMdComponents","expandDefaultServerVariables","res_1","el","bottom_1","getBoundingClientRect","bottom","level","ceil","styled_components_a","styled","css","createGlobalStyle","keyframes","ThemeProvider","media","lessThan","breakpoint","print","props","greaterThan","between","firstBreakpoint","secondBreakpoint","styled_components","styledName","ErrorBoundary_templateObject_1","Spinner_svg_templateObject_1","Spinner_svg_templateObject_2","Loading_templateObject_1","ErrorWrapper","div","ErrorBoundary_ErrorBoundary","ErrorBoundary","componentDidCatch","setState","render","stack","only","children","rotate","Spinner","className","height","viewBox","LoadingMessage","Loading_Loading","Loading","textAlign","OptionsContext","OptionsProvider","Provider","OptionsConsumer","Consumer","external_mobx_","external_json_schema_ref_parser_","swagger2openapi","loadAndBundleSpec","specUrlOrObject","spec","bundle","convertSwagger2OpenAPI","external_decko_","external_eventemitter3_","external_json_pointer_","origParse","JsonPointer_JsonPointer","JsonPointer","baseName","tokens","dirName","fromTokens","resTokens","compile","escape","path_browserify","external_url_template_","isWildcardStatusCode","isStatusCode","getStatusCodeType","defaultAsError","operationNames","isOperationName","getOperationSummary","operation","schemaKeywordTypes","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxProperties","minProperties","detectType","keywords_1","keyword","isPrimitiveType","isJsonLike","isFormUrlEncoded","delimitedEncodeField","fieldVal","fieldName","deepObjectEncodeField","serializeFormValue","expand","urlFormEncodePayload","serializeParameterValueWithMime","mime","serializeParameterValue","parameter","serializationMime","serializePathParameter","serializeQueryParameter","name_1","template","serializeHeaderParameter","serializeCookieParameter","langFromMime","isNamedDefinition","humanizeRangeConstraint","stringRange","humanizeConstraints","arrayRange","numberRange","multipleOfConstraint","strigifiedMultipleOf","humanizeMultipleOfConstraint","sortByRequired","fields","order","unrequiredFields","orderedFields","unorderedFields","sortByField","localeCompare","mergeParams","parser","pathParams","operationParams","operationParamNames","shalowDeref","mergeSimilarMediaTypes","types","mergedTypes","normalizedMimeName","normalizeServers","specUrl","href","getHref","SECURITY_DEFINITIONS_COMPONENT_NAME","SECURITY_DEFINITIONS_JSX_NAME","SCHEMA_DEFINITION_JSX_NAME","SECURITY_SCHEMES_SECTION_PREFIX","setSecuritySchemePrefix","shortenHTTPVerb","verb","isRedocExtension","extractExtensions","acc","pluralizeType","displayType","external_prismjs_","mapLang","lang","json","shell","viml","_highlight","grammar","Throttle","delay","_2","desc","wait","previous","later","Date","getTime","now","debugTime","debugTimeEnd","insertBefore","lookbehind","SENTINEL","memoize","descriptor","memoizedName","_value","_memoizeMethod","_get","_memoizeGetter","EVENT","HistoryService_HistoryService","HistoryService","_emiter","currentId","linkForId","subscribe","emmiter","dispose","removeEventListener","rewriteHistory","history","replaceState","pushState","HistoryService_history","external_mark_js_","MarkerService_MarkerService","MarkerService","Map","prevTerm","addOnly","elements","inst","elem","unmark","elements_1","clearAll","clear","mark","external_marked_","MarkdownRenderer_renderer","renderer","highlight","LEGACY_REGEXP","MDX_COMPONENT_REGEXP","COMPONENT_REGEXP","buildComponentComment","MarkdownRenderer_MarkdownRenderer","MarkdownRenderer","headingRule","slugger","currentTopHeading","saveHeading","originalHeadingRule","headingEnhanceRenderer","containsComponent","rawText","componentName","getTextBeforeHading","headingLinePos","parentId","flattenHeadings","container_1","attachHeadingsDescriptions","buildRegexp","flatHeadings","prevHeading","prevRegexp","prevPos","regexp","currentPos","renderMd","extractHeadings","renderMdWithComponents","names","componentsRegexp","htmlParts","componentDefs","exec","lasxtIdx","lastIndex","componentMeta","component","propsSelector","parseProps","htmlPart","regex","ApiInfo_ApiInfoModel","ApiInfoModel","firstHeadingLinePos","downloadLink","getDownloadLink","downloadFileName","getDownloadFileName","blob","SecuritySchemes_SecuritySchemeModel","deref","sectionId","apiKey","bearerFormat","openId","connectUrl","openIdConnectUrl","SecuritySchemesModel","RefCounter","_counter","reset","visit","exit","OpenAPIParser_OpenAPIParser","OpenAPIParser","_refCounter","byRef","validate","preprocess","mergeRefs","comment","resetVisited","exitRef","forceCircular","mergeAllOf","used$Refs","hoistOneOfs","receiver","parentRefs","allOfSchemas_1","subRef","subMerged","child","subSchemaRef","findDerived","$refs","defName","def","exitParents","shema","parent$ref","beforeAllOf_1","afterAllOf_1","part","merged","state_1","SpecStore_SpecStore","externalDocs","contentItems","MenuBuilder_MenuBuilder","buildStructure","Group_model_GroupModel","GroupModel","tagOrGroup","active","expanded","activate","collapse","deactivate","SecurityRequirement_SecurityRequirementModel","requirement","Callback_CallbackModel","CallbackModel","infoOrRef","operations","pathName","operations_1","operationName","operationInfo","Operation_OperationModel","httpVerb","pathParameters","pathServers","toggle","Schema_SchemaModel","SchemaModel","isChild","typePrefix","isCircular","activeOneOf","rawSchema","init","extensions","activateOneOf","constraints","displayFormat","isPrimitive","readOnly","writeOnly","getDiscriminator","initOneOf","oneOfType","additionalProps","Field_FieldModel","kind","buildFields","initDiscriminator","variant","derefVariant","discriminatorProp","implicitInversedMapping","isLimitedToMapping","explicitInversedMapping","name_2","inversedMapping","names_2","names_1","name_3","left","right","indexLeft","indexRight","innerSchema","FieldModel","fieldSchema","parameterLocation","getDefaultStyleValue","external_openapi_sampler_","externalExamplesCache","Example_ExampleModel","ExampleModel","externalValue","externalValueUrl","getExternalValue","txt","ok","MediaType_MediaTypeModel","MediaTypeModel","isRequestType","generateExample","samplerOptions","skipReadOnly","skipNonRequired","skipWriteOnly","sample","MediaContent_MediaContentModel","MediaContentModel","activeMimeIdx","mediaTypes","RequestBody_RequestBodyModel","Response_ResponseModel","ResponseModel","isPayloadSample","requestBodyContent","panels_templateObject_1","panels_templateObject_2","panels_templateObject_3","templateObject_4","templateObject_5","templateObject_6","templateObject_7","templateObject_8","templateObject_9","headers_templateObject_1","headers_templateObject_2","headers_templateObject_3","headers_templateObject_4","headers_templateObject_5","headers_templateObject_6","linkify_templateObject_1","linkify_templateObject_2","isCodeSamplesWarningPrinted","OperationModel","operationSpec","isCallback","ready","samples","hasSample","insertInx","_parameters","paramOrRef","hasSuccessResponses","callbackEventName","GROUP_DEPTH","MenuBuilder","tagsMap","getTagsWithOperations","addMarkdownItems","getTagGroupsItems","getTagsItems","initialDepth","mapHeadingsDeep","_parent","group","groups","tags","groups_1","tags_1","tagName","used","tag","getOperationsItems","operationTags","operationTags_1","SECTION_ATTR","MenuStore_MenuStore","MenuStore","scroll","activeItemIdx","sideBarOpened","updateOnScroll","isScrolledDown","step","itemIdx","flatItems","getElementAtOrFirstChild","isElementBellow","getElementAt","isElementAbove","updateOnHistory","activateAndScroll","scrollIntoViewBySelector","getItemById","absoluteIdx","_unsubscribe","_hashUnsubscribe","toggleSidebar","closeSidebar","updateLocation","activeItem","menuItem","scrollToActive","bound","ScrollService_ScrollService","ScrollService","_prevOffsetY","_scrollParent","scrollY","handleScroll","HTMLElement","pageYOffset","element","scrollBy","SearchStore_SearchStore","SearchStore","searchWorker","getWorker","indexItems","terminate","MiddlePanel","compact","Section","attrs","underlined","RightPanel","DarkRightPanel","Row","headerFontSize","1","2","3","headerCommonMixin","H1","h1","H2","h2","RightPanelHeader","h3","UnderlinedHeader","h5","memoize_one_cjs","StoreBuilder_a","StoreBuilder_StoreBuilder","StoreBuilder","loading","resolvedSpec","getDerivedStateFromProps","nextProps","prevState","prevSpecUrl","prevSpec","makeStore","AppStore_AppStore","onLoaded","componentDidMount","componentDidUpdate","e_1","trys","linkifyMixin","isModifiedEvent","event","metaKey","altKey","ctrlKey","shiftKey","linkify_Link","Link","navigate","defaultPrevented","button","preventDefault","onClick","StyledShareLink","ShareLink","shelfs_templateObject_1","shelfs_templateObject_2","mixins_templateObject_1","fields_layout_templateObject_1","fields_layout_templateObject_2","fields_layout_templateObject_3","fields_layout_templateObject_4","fields_layout_templateObject_5","fields_layout_templateObject_6","fields_layout_templateObject_7","fields_layout_templateObject_8","schema_templateObject_1","schema_templateObject_2","schema_templateObject_3","schema_templateObject_4","schema_templateObject_5","dropdown_templateObject_1","dropdown_templateObject_2","dropdown_templateObject_3","tabs_templateObject_1","tabs_templateObject_2","PrismDiv_templateObject_1","samples_templateObject_1","samples_templateObject_2","samples_templateObject_3","perfect_scrollbar_templateObject_1","perfect_scrollbar_templateObject_2","directionMap","down","shelfs_IntShelfIcon","IntShelfIcon","xmlns","points","ShelfIcon","float","direction","Badge","span","deprecatedCss","PropertiesTableCaption","caption","PropertyCell","td","PropertyCellWithInner","PropertyNameCell","PropertyDetailsCell","PropertyBullet","InnerPropertiesWrap","PropertiesTable","table","OneOfList","ul","OneOfLabel","schema_OneOfButton","li","ArrayOpenningLabel","ArrayClosingLabel","external_react_dropdown_","StyledDropdown","SimpleDropdown","MimeLabel","external_react_tabs_","Tabs","PrismDiv","SampleControls","SampleControlsWrap","StyledPre","withComponent","external_perfect_scrollbar_","external_perfect_scrollbar_default","perfect_scrollbar","perfect_scrollbar_default","PerfectScrollbarConstructor","PSStyling","StyledScrollWrapper","perfect_scrollbar_PerfectScrollbar","PerfectScrollbar","handleRef","_container","parentElement","scrollTo","update","componentWillUnmount","updateFn","PerfectScrollbarWrap","overflow","msOverflowStyle","DropdownOrLabel","Label","Dropdown","styled_elements_templateObject_1","styled_elements_templateObject_2","external_dompurify_","linksCss","StyledMarkdownBlock","inline","StyledMarkdownSpan","SanitizedMarkdownHTML","Wrap","dangerouslySetInnerHTML","__html","Tooltip_templateObject_1","Tooltip_templateObject_2","Tooltip_templateObject_3","Tooltip_templateObject_4","Tooltip_templateObject_5","Markdown_Markdown","Markdown","dataRole","Tooltip_Wrapper","Tip","Content","Arrow","Gap","Tooltip_Tooltip","Tooltip","isSupported","queryCommandSupported","ClipboardService","selectElement","range","selection","createTextRange","moveToElementText","select","createRange","getSelection","selectNodeContents","removeAllRanges","addRange","deselect","empty","copySelected","execCommand","copyElement","copyCustom","textArea","createElement","position","padding","outline","boxShadow","background","appendChild","removeChild","CopyButtonWrapper_CopyButtonWrapper","CopyButtonWrapper","showTooltip","renderCopyButton","tooltipShown","jsonToHtml_level","jsonToHTML","maxExpandLevel","output","valueToHTML","htmlEncode","stringifyStringLiteral","decorateWithSpan","punctuation","valueType","collapsed","hasContents","arrayToHTML","toISOString","objectToHTML","encodeURI","style_templateObject_1","JsonViewer_templateObject_1","JsonViewer_templateObject_2","jsonStyles","JsonViewerWrap","JsonViewer_Json","Json","renderInner","expandAll","collapseAll","node","getElementsByClassName","classList","remove","elementsArr_1","clickListener","contains","JsonViewer","SourceCode_SourceCode","SourceCode","SourceCode_SourceCodeWithCopy","SourceCodeWithCopy","ExampleValue","Example","ExternalExample","setIsLoading","prevRef","current","useExternalExample","rel","PayloadSamples_styled_elements_templateObject_1","PayloadSamples_styled_elements_templateObject_2","styled_elements_templateObject_3","styled_elements_templateObject_4","styled_elements_templateObject_5","MediaTypeSamples_templateObject_1","fields_templateObject_1","fields_templateObject_2","fields_templateObject_3","fields_templateObject_4","fields_templateObject_5","fields_templateObject_6","fields_templateObject_7","fields_templateObject_8","fields_templateObject_9","templateObject_10","templateObject_11","templateObject_12","ExternalDocumentation_templateObject_1","Extensions_templateObject_1","ArraySchema_templateObject_1","SchemaDefinition_templateObject_1","AppStore_a","styled_elements_MimeLabel","DropdownLabel","DropdownWrapper","InvertedSimpleDropdown","NoSampleLabel","MediaTypeSamples_MediaTypeSamples","MediaTypeSamples","activeIdx","switchMedia","mediaType","noSample","examplesNames","SamplesWrapper","renderDropdown","onChange","external_mobx_react_","ClickablePropertyNameCell","FieldLabel","TypePrefix","TypeName","TypeTitle","TypeFormat","RequiredLabel","RecursiveLabel","NullableLabel","PatternLabel","fields_ExampleValue","ExtensionValue","ConstraintItem","LinkWrap","ExternalDocumentation_ExternalDocumentation","ExternalDocumentation","EnumValues_EnumValues","EnumValues","values","exampleValue","contextType","Extension","Extensions_Extensions","Extensions","exts","FieldContstraints_ConstraintsView","ConstraintsView","constraint","FieldDetail_FieldDetail","FieldDetail","FieldDetails_FieldDetails","FieldDetails","showExamples","renderDiscriminatorSwitch","rawDefault","exampleField","serializedValue","PaddedSchema","ArraySchema_ArraySchema","ArraySchema","itemsSchema","Schema_Schema","Field_Field","Field","expandByDefault","isLast","withSubSchema","paramName","colSpan","showTitle","DiscriminatorDropdown_DiscriminatorDropdown","DiscriminatorDropdown","changeActiveChild","sortOptions","enumValues","enumOrder","enumItem","ObjectSchema_ObjectSchema","ObjectSchema","parentSchema","filteredFields","OneOfSchema_OneOfButton","OneOfButton","OneOfSchema_OneOfSchema","OneOfSchema","Schema","SchemaDefinition_SchemaDefinition","SchemaDefinition","getMediaType","schemaRef","exampleRef","_mediaModel","showReadOnly","showWriteOnly","mediaModel","MediaSamplesWrap","AUTH_TYPES","oauth2","openIdConnect","SecuritySchemes_OAuthFlow","OAuthFlow","refreshUrl","scope","SecuritySchemes_SecurityDefs","SecurityDefs","createStore","ApiInfo_styled_elements_templateObject_1","ApiInfo_styled_elements_templateObject_2","ApiInfo_styled_elements_templateObject_3","ApiInfo_styled_elements_templateObject_4","ApiInfo_styled_elements_templateObject_5","ApiLogo_styled_elements_templateObject_1","ApiLogo_styled_elements_templateObject_2","ApiLogo_styled_elements_templateObject_3","AppStore","createSearchIndex","disposer","rawOptions","DEFAULT_OPTIONS","change","updateMarkOnMenu","fromJS","searchIndex","onDidMount","$description","ApiHeader","DownloadButton","InfoSpan","InfoSpanBoxWrap","InfoSpanBox","ApiInfo_ApiInfo","ApiInfo","handleDownloadClick","downloadFilename","license","website","contact","email","terms","download","LogoImgEl","img","LogoWrap","styled_elements_Link","ApiLogo_ApiLogo","ApiLogo","logoInfo","logoHref","altText","alt","Component","AdvancedMarkdown_AdvancedMarkdown","AdvancedMarkdown","renderWithOptionsAndStore","htmlWrap","external_classnames_","OperationBadge","SideMenu_styled_elements_templateObject_1","menuItemActiveBg","SideMenu_styled_elements_templateObject_2","SideMenu_styled_elements_templateObject_3","SideMenu_styled_elements_templateObject_4","SideMenu_styled_elements_templateObject_5","styled_elements_templateObject_6","styled_elements_templateObject_7","styled_elements_templateObject_8","styled_elements_templateObject_9","CallbackTitle_templateObject_1","CallbackTitle_templateObject_2","CallbackTitle_templateObject_3","Callbacks_styled_elements_templateObject_1","Callbacks_styled_elements_templateObject_2","Endpoint_styled_elements_templateObject_1","Endpoint_styled_elements_templateObject_2","Endpoint_styled_elements_templateObject_3","Endpoint_styled_elements_templateObject_4","Endpoint_styled_elements_templateObject_5","Endpoint_styled_elements_templateObject_6","Endpoint_styled_elements_templateObject_7","MenuItemUl","MenuItemLi","menuItemDepth","0","MenuItemLabel","role","MenuItemTitle","RedocAttribution","CallbackTitle_CallbackTitle","CallbackTitle","opened","CallbackTitleWrapper","OperationBadgeStyled","CallbackName","StyledCallbackTitle","CallbackDetailsWrap","SelectOnClick_SelectOnClick","SelectOnClick","handleClick","OperationEndpointWrap","ServerRelativeURL","EndpointInfo","inverted","HttpVerb","ServersOverlay","ServerItem","ServerUrl","Endpoint_Endpoint","Endpoint","marginRight","normalizedUrl","ParametersGroup_ParametersGroup","ParametersGroup","place","MediaTypesSwitch_MediaTypesSwitch","MediaTypesSwitch","withLabel","PARAM_PLACES","Parameters_Parameters","Parameters","orderParams","paramsMap","paramsPlaces","bodyContent","bodyDescription","BodyContent","DropdownWithinHeader","Responses_styled_elements_templateObject_1","Responses_styled_elements_templateObject_2","Responses_styled_elements_templateObject_3","ResponsesList_templateObject_1","SecurityRequirement_templateObject_1","SecurityRequirement_templateObject_2","SecurityRequirement_templateObject_3","SecurityRequirement_templateObject_4","SecurityRequirement_templateObject_5","SecurityRequirement_templateObject_6","SecurityRequirement_templateObject_7","CallbackDetails_templateObject_1","CallbacksList_templateObject_1","CallbackReqSamples_templateObject_1","CallbackSamples_templateObject_1","Operation_templateObject_1","Operation_templateObject_2","ChevronSvg_templateObject_1","Stickyfill","ResponseTitle_ResponseTitle","ResponseTitle","StyledResponseTitle","ResponseDetailsWrap","HeadersCaption","ResponseHeaders_ResponseHeaders","ResponseHeaders","ResponseDetails_ResponseDetails","ResponseDetails","Response_ResponseView","ResponseView","mimes","ResponsesHeader","ResponsesList_ResponsesList","ResponsesList","ScopeName","SecurityRequirementAndWrap","SecurityRequirementOrWrap","SecurityRequirement_SecurityRequirement","SecurityRequirement","AuthHeaderColumn","SecuritiesColumn","AuthHeader","SecurityRequirement_Wrap","SecurityRequirement_SecurityRequirements","SecurityRequirements","securities","CallbackDetails_CallbackDetails","CallbackDetails","hasDescription","Description","CallbackOperation_CallbackOperation","CallbackOperation","callbackOperation","CallbacksList_CallbacksList","CallbacksList","CallbacksHeader","GenericChildrenSwitcher_GenericChildrenSwitcher","GenericChildrenSwitcher","switchItem","PayloadSamples_PayloadSamples","PayloadSamples","mimeContent","CallbackReqSamples_CallbackPayloadSample","CallbackPayloadSample","payloadSample","codeSamples","PayloadSampleWrapper","CallbackSamples_CallbackSamples","CallbackSamples","some","dropdownOptions","CallbackSamples_SamplesWrapper","RequestSamples_RequestSamples","RequestSamples","hasSamples","hideTabList","defaultIndex","hidden","ResponseSamples_ResponseSamples","ResponseSamples","OperationRow","Operation_Description","Operation_Operation","Operation","ContentItems_ContentItems","ContentItems","ContentItems_ContentItem","ContentItem","ContentItems_SectionItem","ContentItems_OperationItem","middlePanelWrap","SectionItem","Header","OperationItem","MenuItem_MenuItem","MenuItem","onActivate","stopPropagation","scrollIntoViewIfActive","withoutChildren","MenuItem_OperationMenuItemContent","MenuItems_MenuItems","OperationMenuItemContent","MenuItems","SideMenu_SideMenu","SideMenu","_updateScroll","saveScrollUpdate","upd","wheelPropagation","AnimatedChevronButton","iconOffset","ChevronContainer","ChevronSvg","transform","transition","StickyResponsiveSidebar_templateObject_1","StickyResponsiveSidebar_templateObject_2","StickyResponsiveSidebar_templateObject_3","StickyResponsiveSidebar_templateObject_4","Redoc_styled_elements_templateObject_1","Redoc_styled_elements_templateObject_2","Redoc_styled_elements_templateObject_3","Redoc_styled_elements_templateObject_4","Redoc_styled_elements_templateObject_5","SearchBox_styled_elements_templateObject_1","SearchBox_styled_elements_templateObject_2","SearchBox_styled_elements_templateObject_3","SearchBox_styled_elements_templateObject_4","SearchBox_styled_elements_templateObject_5","stickyfill","StyledStickySidebar","FloatingButton","StickyResponsiveSidebar_StickyResponsiveSidebar","StickyResponsiveSidebar","toggleNavMenu","stickyElement","getScrollYOffset","RedocWrap","ApiContentWrap","BackgroundStub","percents","SearchWrap","SearchInput","SearchIcon","SearchResultsBox","ClearIcon","SearchBox_SearchBox","SearchBox","activeItemRef","results","handleKeyDown","keyCode","activeResult","clearResults","searchCallback","setResults","searchTerm","onKeyDown","placeholder","Redoc_Redoc","Redoc","propTypes","isRequired","RedocStandalone_RedocStandalone","RedocStandalone","hideLoading","normalizedOpts"],"mappings":";gFAMA,IAAiDA,IAExC,WACP,OAEE,SAAUC,GAOR,IAAIC,EAAmB,GAQvB,SAASC,EAAoBC,GAO3B,GAAIF,EAAiBE,GAEnB,OAAOF,EAAiBE,GAAUC,QASpC,IAAIC,EAASJ,EAAiBE,GAAY,CAExCG,EAAGH,EAGHI,GAAG,EAGHH,QAAS,IA2BX,OAhBAJ,EAAQG,GAAUK,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAQ/DG,EAAOE,GAAI,EAQJF,EAAOD,QAkLhB,OArKAF,EAAoBO,EAAIT,EAQxBE,EAAoBQ,EAAIT,EAQxBC,EAAoBS,EAAI,SAAUP,EAASQ,EAAMC,GAE1CX,EAAoBY,EA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,EAA+B,cAAEuO,GAAiB,CAC1E/M,MAAOk0C,EAAexzC,MAAMvB,OAAOE,QAAQxO,OAH3B2N,EAA+B,cAAEm1C,GAAa,CAC9DttD,MAAOA,SAOb2tD,EAAgBH,UAAY,CAC1BjmC,KAAM,SAAcxC,EAAOjlB,EAAGkzB,GAC5B,OAAKjO,EAAMwC,MAASxC,EAAMqI,QAInB,KAHE,IAAIhnC,MAAM,0DAA4D4sC,EAAgB,OAKjG5F,QAAS,SAAiBrI,EAAOjlB,EAAGkzB,GAClC,OAAKjO,EAAMwC,MAASxC,EAAMqI,QAInB,KAHE,IAAIhnC,MAAM,0DAA4D4sC,EAAgB,OAKjG1wB,QAAS4V,EAA0B,IACnCsuB,SAAUtuB,EAA0B,KAE/By1C,EAlDT,CAmDEx1C,EAA+B,mBAjjiB0Br4B,EAAOD,QAAUL","file":"0abf01d3-4b2aca8762d03734eba4.js","sourcesContent":["/*!\n * ReDoc - OpenAPI/Swagger-generated API Reference Documentation\n * -------------------------------------------------------------\n * Version: \"2.0.0-rc.29\"\n * Repo: https://github.com/Redocly/redoc\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n if (typeof exports === 'object' && typeof module === 'object') module.exports = factory();else if (typeof define === 'function' && define.amd) define([], factory);else if (typeof exports === 'object') exports[\"Redoc\"] = factory();else root[\"Redoc\"] = factory();\n})(this, function () {\n return (\n /******/\n function (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && typeof value === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 82);\n /******/\n }(\n /************************************************************************/\n\n /******/\n [\n /* 0 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"react\");\n /***/\n },\n /* 1 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"tslib\");\n /***/\n },\n /* 2 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"mobx-react\");\n /***/\n },\n /* 3 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"polished\");\n /***/\n },\n /* 4 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"mobx\");\n /***/\n },\n /* 5 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"url\");\n /***/\n },\n /* 6 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"json-pointer\");\n /***/\n },\n /* 7 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"lunr\");\n /***/\n },\n /* 8 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"decko\");\n /***/\n },\n /* 9 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"react-tabs\");\n /***/\n },\n /* 10 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs\");\n /***/\n },\n /* 11 */\n\n /***/\n function (module, exports) {\n module.exports = undefined;\n /***/\n },\n /* 12 */\n\n /***/\n function (module, exports) {\n var g; // This works in non-strict mode\n\n g = function () {\n return this;\n }();\n\n try {\n // This works if eval is allowed (see CSP)\n g = g || new Function(\"return this\")();\n } catch (e) {\n // This works if the window reference is available\n if (typeof window === \"object\") g = window;\n } // g can still be undefined, but nothing to do about it...\n // We return undefined, instead of nothing here, so it's\n // easier to handle this case. if(!global) { ...}\n\n\n module.exports = g;\n /***/\n },\n /* 13 */\n\n /***/\n function (module, exports, __webpack_require__) {\n /* WEBPACK VAR INJECTION */\n (function (process) {\n // .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n // backported and transplited with Babel, with backwards-compat fixes\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n // resolves . and .. elements in a path array with directory names there\n // must be no slashes, empty elements, or device names (c:\\) in the array\n // (so also no leading and trailing slashes - it does not distinguish\n // relative and absolute paths)\n function normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n } // if the path is allowed to go above the root, restore leading ..s\n\n\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n } // path.resolve([from ...], to)\n // posix version\n\n\n exports.resolve = function () {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = i >= 0 ? arguments[i] : process.cwd(); // Skip empty and invalid entries\n\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n } // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n // Normalize the path\n\n\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function (p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n return (resolvedAbsolute ? '/' : '') + resolvedPath || '.';\n }; // path.normalize(path)\n // posix version\n\n\n exports.normalize = function (path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/'; // Normalize the path\n\n path = normalizeArray(filter(path.split('/'), function (p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n }; // posix version\n\n\n exports.isAbsolute = function (path) {\n return path.charAt(0) === '/';\n }; // posix version\n\n\n exports.join = function () {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function (p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n\n return p;\n }).join('/'));\n }; // path.relative(from, to)\n // posix version\n\n\n exports.relative = function (from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n return outputParts.join('/');\n };\n\n exports.sep = '/';\n exports.delimiter = ':';\n\n exports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47\n /*/*/\n ;\n var end = -1;\n var matchedSlash = true;\n\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n\n if (code === 47\n /*/*/\n ) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n\n return path.slice(0, end);\n };\n\n function basename(path) {\n if (typeof path !== 'string') path = path + '';\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47\n /*/*/\n ) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n } // Uses a mixed approach for backwards-compatibility, as ext behavior changed\n // in new Node.js versions, so only basename() above is backported here\n\n\n exports.basename = function (path, ext) {\n var f = basename(path);\n\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n\n return f;\n };\n\n exports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true; // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n\n var preDotState = 0;\n\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n\n if (code === 47\n /*/*/\n ) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n\n continue;\n }\n\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n\n if (code === 46\n /*.*/\n ) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n\n return path.slice(startDot, end);\n };\n\n function filter(xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n\n return res;\n } // String.prototype.substr - negative index don't work in IE8\n\n\n var substr = 'ab'.substr(-1) === 'b' ? function (str, start, len) {\n return str.substr(start, len);\n } : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n };\n /* WEBPACK VAR INJECTION */\n }).call(this, __webpack_require__(16));\n /***/\n },\n /* 14 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prop-types\");\n /***/\n },\n /* 15 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"marked\");\n /***/\n },\n /* 16 */\n\n /***/\n function (module, exports) {\n // shim for using process in browser\n var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n // don't break things. But we need to wrap it in a try catch in case it is\n // wrapped in strict mode code which doesn't define any globals. It's inside a\n // function because try/catches deoptimize in certain engines.\n\n var cachedSetTimeout;\n var cachedClearTimeout;\n\n function defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n }\n\n function defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n }\n\n (function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n })();\n\n function runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n }\n\n function runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n }\n\n var queue = [];\n var draining = false;\n var currentQueue;\n var queueIndex = -1;\n\n function cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n }\n\n function drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n }\n\n process.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n }; // v8 likes predictible objects\n\n\n function Item(fun, array) {\n this.fun = fun;\n this.array = array;\n }\n\n Item.prototype.run = function () {\n this.fun.apply(null, this.array);\n };\n\n process.title = 'browser';\n process.browser = true;\n process.env = {};\n process.argv = [];\n process.version = ''; // empty string to avoid regexp issues\n\n process.versions = {};\n\n function noop() {}\n\n process.on = noop;\n process.addListener = noop;\n process.once = noop;\n process.off = noop;\n process.removeListener = noop;\n process.removeAllListeners = noop;\n process.emit = noop;\n process.prependListener = noop;\n process.prependOnceListener = noop;\n\n process.listeners = function (name) {\n return [];\n };\n\n process.binding = function (name) {\n throw new Error('process.binding is not supported');\n };\n\n process.cwd = function () {\n return '/';\n };\n\n process.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n };\n\n process.umask = function () {\n return 0;\n };\n /***/\n\n },\n /* 17 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n /**\n * escapes JSON Pointer using ~0 for ~ and ~1 for /\n * @param s the string to escape\n * @return the escaped string\n */\n\n function jpescape(s) {\n return s.replace(/\\~/g, '~0').replace(/\\//g, '~1');\n }\n /**\n * unescapes JSON Pointer using ~0 for ~ and ~1 for /\n * @param s the string to unescape\n * @return the unescaped string\n */\n\n\n function jpunescape(s) {\n return s.replace(/\\~1/g, '/').replace(/~0/g, '~');\n } // JSON Pointer specification: http://tools.ietf.org/html/rfc6901\n\n /**\n * from obj, return the property with a JSON Pointer prop, optionally setting it\n * to newValue\n * @param obj the object to point into\n * @param prop the JSON Pointer or JSON Reference\n * @param newValue optional value to set the property to\n * @return the found property, or false\n */\n\n\n function jptr(obj, prop, newValue) {\n if (typeof obj === 'undefined') return false;\n if (!prop || typeof prop !== 'string' || prop === '#') return typeof newValue !== 'undefined' ? newValue : obj;\n\n if (prop.indexOf('#') >= 0) {\n var parts = prop.split('#');\n var uri = parts[0];\n if (uri) return false; // we do internal resolution only\n\n prop = parts[1];\n prop = decodeURIComponent(prop.slice(1).split('+').join(' '));\n }\n\n if (prop.startsWith('/')) prop = prop.slice(1);\n var components = prop.split('/');\n\n for (var i = 0; i < components.length; i++) {\n components[i] = jpunescape(components[i]);\n var setAndLast = typeof newValue !== 'undefined' && i == components.length - 1;\n var index = parseInt(components[i], 10);\n\n if (!Array.isArray(obj) || isNaN(index) || index.toString() !== components[i]) {\n index = Array.isArray(obj) && components[i] === '-' ? -2 : -1;\n } else {\n components[i] = i > 0 ? components[i - 1] : ''; // backtrack to indexed property name\n }\n\n if (index != -1 || obj.hasOwnProperty(components[i])) {\n if (index >= 0) {\n if (setAndLast) {\n obj[index] = newValue;\n }\n\n obj = obj[index];\n } else if (index === -2) {\n if (setAndLast) {\n if (Array.isArray(obj)) {\n obj.push(newValue);\n }\n\n return newValue;\n } else return undefined;\n } else {\n if (setAndLast) {\n obj[components[i]] = newValue;\n }\n\n obj = obj[components[i]];\n }\n } else {\n if (typeof newValue !== 'undefined' && typeof obj === 'object' && !Array.isArray(obj)) {\n obj[components[i]] = setAndLast ? newValue : components[i + 1] === '0' || components[i + 1] === '-' ? [] : {};\n obj = obj[components[i]];\n } else return false;\n }\n }\n\n return obj;\n }\n\n module.exports = {\n jptr: jptr,\n jpescape: jpescape,\n jpunescape: jpunescape\n };\n /***/\n },\n /* 18 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n\n var tslib_1 = __webpack_require__(1);\n /**\n * a collection of cloning functions\n */\n\n /**\n * a no-op placeholder which returns the given object unchanged\n * useful for when a clone function needs to be passed but cloning is not\n * required\n * @param obj the input object\n * @return the input object, unchanged\n */\n\n\n function nop(obj) {\n return obj;\n }\n /**\n * clones the given object using JSON.parse and JSON.stringify\n * @param obj the object to clone\n * @return the cloned object\n */\n\n\n function clone(obj) {\n return JSON.parse(JSON.stringify(obj));\n }\n /**\n * clones the given object's properties shallowly, ignores properties from prototype\n * @param obj the object to clone\n * @return the cloned object\n */\n\n\n function shallowClone(obj) {\n var result = {};\n\n for (var p in obj) {\n if (obj.hasOwnProperty(p)) {\n result[p] = obj[p];\n }\n }\n\n return result;\n }\n /**\n * clones the given object's properties deeply, ignores properties from prototype\n * @param obj the object to clone\n * @return the cloned object\n */\n\n\n function deepClone(obj) {\n var result = Array.isArray(obj) ? [] : {};\n\n for (var p in obj) {\n if (obj.hasOwnProperty(p) || Array.isArray(obj)) {\n result[p] = typeof obj[p] === 'object' ? deepClone(obj[p]) : obj[p];\n }\n }\n\n return result;\n }\n /**\n * clones the given object's properties shallowly, using Object.assign\n * @param obj the object to clone\n * @return the cloned object\n */\n\n\n function fastClone(obj) {\n return Object.assign({}, obj);\n }\n /**\n * Source: stackoverflow http://bit.ly/2A1Kha6\n */\n\n\n function circularClone(obj, hash) {\n if (!hash) hash = new WeakMap(); // Do not try to clone primitives or functions\n\n if (Object(obj) !== obj || obj instanceof Function) return obj;\n if (hash.has(obj)) return hash.get(obj); // Cyclic reference\n\n try {\n // Try to run constructor (without arguments, as we don't know them)\n var result = new obj.constructor();\n } catch (e) {\n // Constructor failed, create object without running the constructor\n result = Object.create(Object.getPrototypeOf(obj));\n } // Optional: support for some standard constructors (extend as desired)\n\n /*if (obj instanceof Map)\n Array.from(obj, ([key, val]) => result.set(circularClone(key, hash),\n circularClone(val, hash)) );\n else if (obj instanceof Set)\n Array.from(obj, (key) => result.add(circularClone(key, hash)) );\n */\n // Register in hash\n\n\n hash.set(obj, result); // Clone and assign enumerable own properties recursively\n\n return Object.assign.apply(Object, tslib_1.__spreadArrays([result], Object.keys(obj).map(function (key) {\n var _a;\n\n return _a = {}, _a[key] = circularClone(obj[key], hash), _a;\n })));\n }\n\n module.exports = {\n nop: nop,\n clone: clone,\n shallowClone: shallowClone,\n deepClone: deepClone,\n fastClone: fastClone,\n circularClone: circularClone\n };\n /***/\n },\n /* 19 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"eventemitter3\");\n /***/\n },\n /* 20 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"url-template\");\n /***/\n },\n /* 21 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n\n function isRef(obj, key) {\n return key === '$ref' && !!obj && typeof obj[key] === 'string';\n }\n\n module.exports = {\n isRef: isRef\n };\n /***/\n },\n /* 22 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n\n var jpescape = __webpack_require__(17).jpescape;\n\n function defaultState() {\n return {\n path: '#',\n depth: 0,\n pkey: '',\n parent: {},\n payload: {},\n seen: new WeakMap(),\n identity: false,\n identityDetection: false\n };\n }\n /**\n * recurses through the properties of an object, given an optional starting state\n * anything you pass in state.payload is passed to the callback each time\n * @param object the object to recurse through\n * @param state optional starting state, can be set to null or {}\n * @param callback the function which receives object,key,state on each property\n */\n\n\n function recurse(object, state, callback) {\n if (!state) state = {\n depth: 0\n };\n\n if (!state.depth) {\n state = Object.assign({}, defaultState(), state);\n }\n\n if (typeof object !== 'object') return;\n var oPath = state.path;\n\n for (var key in object) {\n state.key = key;\n state.path = state.path + '/' + encodeURIComponent(jpescape(key));\n state.identityPath = state.seen.get(object[key]);\n state.identity = typeof state.identityPath !== 'undefined';\n\n if (object.hasOwnProperty(key)) {\n callback(object, key, state);\n }\n\n if (typeof object[key] === 'object' && !state.identity) {\n if (state.identityDetection && !Array.isArray(object[key]) && object[key] !== null) {\n state.seen.set(object[key], state.path);\n }\n\n var newState = {};\n newState.parent = object;\n newState.path = state.path;\n newState.depth = state.depth ? state.depth + 1 : 1;\n newState.pkey = key;\n newState.payload = state.payload;\n newState.seen = state.seen;\n newState.identity = false;\n newState.identityDetection = state.identityDetection;\n recurse(object[key], newState, callback);\n }\n\n state.path = oPath;\n }\n }\n\n module.exports = {\n recurse: recurse\n };\n /***/\n },\n /* 23 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"mark.js\");\n /***/\n },\n /* 24 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"openapi-sampler\");\n /***/\n },\n /* 25 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"perfect-scrollbar\");\n /***/\n },\n /* 26 */\n\n /***/\n function (module, exports, __webpack_require__) {\n // Imports\n var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(80);\n\n exports = ___CSS_LOADER_API_IMPORT___(false); // Module\n\n exports.push([module.i, \"/*\\n * Container style\\n */\\n.ps {\\n overflow: hidden !important;\\n overflow-anchor: none;\\n -ms-overflow-style: none;\\n touch-action: auto;\\n -ms-touch-action: auto;\\n}\\n\\n/*\\n * Scrollbar rail styles\\n */\\n.ps__rail-x {\\n display: none;\\n opacity: 0;\\n transition: background-color .2s linear, opacity .2s linear;\\n -webkit-transition: background-color .2s linear, opacity .2s linear;\\n height: 15px;\\n /* there must be 'bottom' or 'top' for ps__rail-x */\\n bottom: 0px;\\n /* please don't change 'position' */\\n position: absolute;\\n}\\n\\n.ps__rail-y {\\n display: none;\\n opacity: 0;\\n transition: background-color .2s linear, opacity .2s linear;\\n -webkit-transition: background-color .2s linear, opacity .2s linear;\\n width: 15px;\\n /* there must be 'right' or 'left' for ps__rail-y */\\n right: 0;\\n /* please don't change 'position' */\\n position: absolute;\\n}\\n\\n.ps--active-x > .ps__rail-x,\\n.ps--active-y > .ps__rail-y {\\n display: block;\\n background-color: transparent;\\n}\\n\\n.ps:hover > .ps__rail-x,\\n.ps:hover > .ps__rail-y,\\n.ps--focus > .ps__rail-x,\\n.ps--focus > .ps__rail-y,\\n.ps--scrolling-x > .ps__rail-x,\\n.ps--scrolling-y > .ps__rail-y {\\n opacity: 0.6;\\n}\\n\\n.ps .ps__rail-x:hover,\\n.ps .ps__rail-y:hover,\\n.ps .ps__rail-x:focus,\\n.ps .ps__rail-y:focus,\\n.ps .ps__rail-x.ps--clicking,\\n.ps .ps__rail-y.ps--clicking {\\n background-color: #eee;\\n opacity: 0.9;\\n}\\n\\n/*\\n * Scrollbar thumb styles\\n */\\n.ps__thumb-x {\\n background-color: #aaa;\\n border-radius: 6px;\\n transition: background-color .2s linear, height .2s ease-in-out;\\n -webkit-transition: background-color .2s linear, height .2s ease-in-out;\\n height: 6px;\\n /* there must be 'bottom' for ps__thumb-x */\\n bottom: 2px;\\n /* please don't change 'position' */\\n position: absolute;\\n}\\n\\n.ps__thumb-y {\\n background-color: #aaa;\\n border-radius: 6px;\\n transition: background-color .2s linear, width .2s ease-in-out;\\n -webkit-transition: background-color .2s linear, width .2s ease-in-out;\\n width: 6px;\\n /* there must be 'right' for ps__thumb-y */\\n right: 2px;\\n /* please don't change 'position' */\\n position: absolute;\\n}\\n\\n.ps__rail-x:hover > .ps__thumb-x,\\n.ps__rail-x:focus > .ps__thumb-x,\\n.ps__rail-x.ps--clicking .ps__thumb-x {\\n background-color: #999;\\n height: 11px;\\n}\\n\\n.ps__rail-y:hover > .ps__thumb-y,\\n.ps__rail-y:focus > .ps__thumb-y,\\n.ps__rail-y.ps--clicking .ps__thumb-y {\\n background-color: #999;\\n width: 11px;\\n}\\n\\n/* MS supports */\\n@supports (-ms-overflow-style: none) {\\n .ps {\\n overflow: auto !important;\\n }\\n}\\n\\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\\n .ps {\\n overflow: auto !important;\\n }\\n}\\n\", \"\"]); // Exports\n\n module.exports = exports;\n /***/\n },\n /* 27 */\n\n /***/\n function (module, exports) {\n /***/\n },\n /* 28 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n /* WEBPACK VAR INJECTION */\n\n (function (process) {\n var sjs = __webpack_require__(11);\n\n var colour = process.env.NODE_DISABLE_COLORS ? {\n red: '',\n yellow: '',\n green: '',\n normal: ''\n } : {\n red: '\\x1b[31m',\n yellow: '\\x1b[33;1m',\n green: '\\x1b[32m',\n normal: '\\x1b[0m'\n };\n\n function uniqueOnly(value, index, self) {\n return self.indexOf(value) === index;\n }\n\n function hasDuplicates(array) {\n return new Set(array).size !== array.length;\n }\n\n function allSame(array) {\n return new Set(array).size <= 1;\n }\n\n function deepEquals(obj1, obj2) {\n function _equals(obj1, obj2) {\n return sjs.stringify(obj1) === sjs.stringify(Object.assign({}, obj1, obj2));\n }\n\n return _equals(obj1, obj2) && _equals(obj2, obj1);\n }\n\n function compressArray(arr) {\n var result = [];\n\n var _loop_1 = function _loop_1(candidate) {\n var dupe = result.find(function (e, i, a) {\n return deepEquals(e, candidate);\n });\n if (!dupe) result.push(candidate);\n };\n\n for (var _i = 0, arr_1 = arr; _i < arr_1.length; _i++) {\n var candidate = arr_1[_i];\n\n _loop_1(candidate);\n }\n\n return result;\n }\n\n function distinctArray(arr) {\n return arr.length === compressArray(arr).length;\n }\n\n function firstDupe(arr) {\n return arr.find(function (e, i, a) {\n return arr.indexOf(e) < i;\n });\n }\n /**\n * simple hash implementation based on https://stackoverflow.com/a/7616484/1749888\n * @param {string} s - string to hash\n * @returns {number} numerical hash code\n */\n\n\n function hash(s) {\n var hash = 0;\n var chr;\n if (s.length === 0) return hash;\n\n for (var i = 0; i < s.length; i++) {\n chr = s.charCodeAt(i);\n hash = (hash << 5) - hash + chr;\n hash |= 0; // Convert to 32bit integer\n }\n\n return hash;\n }\n\n String.prototype.toCamelCase = function camelize() {\n return this.toLowerCase().replace(/[-_ \\/\\.](.)/g, function (match, group1) {\n return group1.toUpperCase();\n });\n };\n\n var parameterTypeProperties = ['format', 'minimum', 'maximum', 'exclusiveMinimum', 'exclusiveMaximum', 'minLength', 'maxLength', 'multipleOf', 'minItems', 'maxItems', 'uniqueItems', 'minProperties', 'maxProperties', 'additionalProperties', 'pattern', 'enum', 'default'];\n var arrayProperties = ['items', 'minItems', 'maxItems', 'uniqueItems'];\n var httpMethods = ['get', 'post', 'put', 'delete', 'patch', 'head', 'options', 'trace'];\n\n function sanitise(s) {\n s = s.replace('[]', 'Array');\n var components = s.split('/');\n components[0] = components[0].replace(/[^A-Za-z0-9_\\-\\.]+|\\s+/gm, '_');\n return components.join('/');\n }\n\n function sanitiseAll(s) {\n return sanitise(s.split('/').join('_'));\n }\n\n module.exports = {\n colour: colour,\n uniqueOnly: uniqueOnly,\n hasDuplicates: hasDuplicates,\n allSame: allSame,\n distinctArray: distinctArray,\n firstDupe: firstDupe,\n hash: hash,\n parameterTypeProperties: parameterTypeProperties,\n arrayProperties: arrayProperties,\n httpMethods: httpMethods,\n sanitise: sanitise,\n sanitiseAll: sanitiseAll\n };\n /* WEBPACK VAR INJECTION */\n }).call(this, __webpack_require__(16));\n /***/\n },\n /* 29 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n /* WEBPACK VAR INJECTION */\n\n (function (global) {\n /*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n\n /* eslint-disable no-proto */\n var base64 = __webpack_require__(50);\n\n var ieee754 = __webpack_require__(51);\n\n var isArray = __webpack_require__(52);\n\n exports.Buffer = Buffer;\n exports.SlowBuffer = SlowBuffer;\n exports.INSPECT_MAX_BYTES = 50;\n /**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n \n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\n\n Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined ? global.TYPED_ARRAY_SUPPORT : typedArraySupport();\n /*\n * Export kMaxLength after typed array support is determined.\n */\n\n exports.kMaxLength = kMaxLength();\n\n function typedArraySupport() {\n try {\n var arr = new Uint8Array(1);\n arr.__proto__ = {\n __proto__: Uint8Array.prototype,\n foo: function foo() {\n return 42;\n }\n };\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0; // ie10 has broken `subarray`\n } catch (e) {\n return false;\n }\n }\n\n function kMaxLength() {\n return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff;\n }\n\n function createBuffer(that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length');\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length);\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length);\n }\n\n that.length = length;\n }\n\n return that;\n }\n /**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\n\n function Buffer(arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length);\n } // Common case.\n\n\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error('If encoding is specified then the first argument must be a string');\n }\n\n return allocUnsafe(this, arg);\n }\n\n return from(this, arg, encodingOrOffset, length);\n }\n\n Buffer.poolSize = 8192; // not used by this implementation\n // TODO: Legacy, not needed anymore. Remove in next major version.\n\n Buffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype;\n return arr;\n };\n\n function from(that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number');\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length);\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset);\n }\n\n return fromObject(that, value);\n }\n /**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\n\n\n Buffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length);\n };\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype;\n Buffer.__proto__ = Uint8Array;\n\n if (typeof Symbol !== 'undefined' && Symbol.species && Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n });\n }\n }\n\n function assertSize(size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number');\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative');\n }\n }\n\n function alloc(that, size, fill, encoding) {\n assertSize(size);\n\n if (size <= 0) {\n return createBuffer(that, size);\n }\n\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill);\n }\n\n return createBuffer(that, size);\n }\n /**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\n\n\n Buffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding);\n };\n\n function allocUnsafe(that, size) {\n assertSize(size);\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0);\n\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0;\n }\n }\n\n return that;\n }\n /**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\n\n\n Buffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size);\n };\n /**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\n\n\n Buffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size);\n };\n\n function fromString(that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8';\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding');\n }\n\n var length = byteLength(string, encoding) | 0;\n that = createBuffer(that, length);\n var actual = that.write(string, encoding);\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual);\n }\n\n return that;\n }\n\n function fromArrayLike(that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0;\n that = createBuffer(that, length);\n\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255;\n }\n\n return that;\n }\n\n function fromArrayBuffer(that, array, byteOffset, length) {\n array.byteLength; // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds');\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds');\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array);\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset);\n } else {\n array = new Uint8Array(array, byteOffset, length);\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array;\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array);\n }\n\n return that;\n }\n\n function fromObject(that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0;\n that = createBuffer(that, len);\n\n if (that.length === 0) {\n return that;\n }\n\n obj.copy(that, 0, 0, len);\n return that;\n }\n\n if (obj) {\n if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0);\n }\n\n return fromArrayLike(that, obj);\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data);\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.');\n }\n\n function checked(length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes');\n }\n\n return length | 0;\n }\n\n function SlowBuffer(length) {\n if (+length != length) {\n // eslint-disable-line eqeqeq\n length = 0;\n }\n\n return Buffer.alloc(+length);\n }\n\n Buffer.isBuffer = function isBuffer(b) {\n return !!(b != null && b._isBuffer);\n };\n\n Buffer.compare = function compare(a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers');\n }\n\n if (a === b) return 0;\n var x = a.length;\n var y = b.length;\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break;\n }\n }\n\n if (x < y) return -1;\n if (y < x) return 1;\n return 0;\n };\n\n Buffer.isEncoding = function isEncoding(encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true;\n\n default:\n return false;\n }\n };\n\n Buffer.concat = function concat(list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers');\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0);\n }\n\n var i;\n\n if (length === undefined) {\n length = 0;\n\n for (i = 0; i < list.length; ++i) {\n length += list[i].length;\n }\n }\n\n var buffer = Buffer.allocUnsafe(length);\n var pos = 0;\n\n for (i = 0; i < list.length; ++i) {\n var buf = list[i];\n\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers');\n }\n\n buf.copy(buffer, pos);\n pos += buf.length;\n }\n\n return buffer;\n };\n\n function byteLength(string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length;\n }\n\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength;\n }\n\n if (typeof string !== 'string') {\n string = '' + string;\n }\n\n var len = string.length;\n if (len === 0) return 0; // Use a for loop to avoid recursion\n\n var loweredCase = false;\n\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len;\n\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length;\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2;\n\n case 'hex':\n return len >>> 1;\n\n case 'base64':\n return base64ToBytes(string).length;\n\n default:\n if (loweredCase) return utf8ToBytes(string).length; // assume utf8\n\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n }\n\n Buffer.byteLength = byteLength;\n\n function slowToString(encoding, start, end) {\n var loweredCase = false; // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n\n if (start === undefined || start < 0) {\n start = 0;\n } // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n\n\n if (start > this.length) {\n return '';\n }\n\n if (end === undefined || end > this.length) {\n end = this.length;\n }\n\n if (end <= 0) {\n return '';\n } // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n\n\n end >>>= 0;\n start >>>= 0;\n\n if (end <= start) {\n return '';\n }\n\n if (!encoding) encoding = 'utf8';\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end);\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end);\n\n case 'ascii':\n return asciiSlice(this, start, end);\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end);\n\n case 'base64':\n return base64Slice(this, start, end);\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end);\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);\n encoding = (encoding + '').toLowerCase();\n loweredCase = true;\n }\n }\n } // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n // Buffer instances.\n\n\n Buffer.prototype._isBuffer = true;\n\n function swap(b, n, m) {\n var i = b[n];\n b[n] = b[m];\n b[m] = i;\n }\n\n Buffer.prototype.swap16 = function swap16() {\n var len = this.length;\n\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits');\n }\n\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1);\n }\n\n return this;\n };\n\n Buffer.prototype.swap32 = function swap32() {\n var len = this.length;\n\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits');\n }\n\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3);\n swap(this, i + 1, i + 2);\n }\n\n return this;\n };\n\n Buffer.prototype.swap64 = function swap64() {\n var len = this.length;\n\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits');\n }\n\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7);\n swap(this, i + 1, i + 6);\n swap(this, i + 2, i + 5);\n swap(this, i + 3, i + 4);\n }\n\n return this;\n };\n\n Buffer.prototype.toString = function toString() {\n var length = this.length | 0;\n if (length === 0) return '';\n if (arguments.length === 0) return utf8Slice(this, 0, length);\n return slowToString.apply(this, arguments);\n };\n\n Buffer.prototype.equals = function equals(b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer');\n if (this === b) return true;\n return Buffer.compare(this, b) === 0;\n };\n\n Buffer.prototype.inspect = function inspect() {\n var str = '';\n var max = exports.INSPECT_MAX_BYTES;\n\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ');\n if (this.length > max) str += ' ... ';\n }\n\n return '';\n };\n\n Buffer.prototype.compare = function compare(target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer');\n }\n\n if (start === undefined) {\n start = 0;\n }\n\n if (end === undefined) {\n end = target ? target.length : 0;\n }\n\n if (thisStart === undefined) {\n thisStart = 0;\n }\n\n if (thisEnd === undefined) {\n thisEnd = this.length;\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index');\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0;\n }\n\n if (thisStart >= thisEnd) {\n return -1;\n }\n\n if (start >= end) {\n return 1;\n }\n\n start >>>= 0;\n end >>>= 0;\n thisStart >>>= 0;\n thisEnd >>>= 0;\n if (this === target) return 0;\n var x = thisEnd - thisStart;\n var y = end - start;\n var len = Math.min(x, y);\n var thisCopy = this.slice(thisStart, thisEnd);\n var targetCopy = target.slice(start, end);\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i];\n y = targetCopy[i];\n break;\n }\n }\n\n if (x < y) return -1;\n if (y < x) return 1;\n return 0;\n }; // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n // OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n //\n // Arguments:\n // - buffer - a Buffer to search\n // - val - a string, Buffer, or number\n // - byteOffset - an index into `buffer`; will be clamped to an int32\n // - encoding - an optional encoding, relevant is val is a string\n // - dir - true for indexOf, false for lastIndexOf\n\n\n function bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1; // Normalize byteOffset\n\n if (typeof byteOffset === 'string') {\n encoding = byteOffset;\n byteOffset = 0;\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff;\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000;\n }\n\n byteOffset = +byteOffset; // Coerce to Number.\n\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : buffer.length - 1;\n } // Normalize byteOffset: negative offsets start from the end of the buffer\n\n\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset;\n\n if (byteOffset >= buffer.length) {\n if (dir) return -1;else byteOffset = buffer.length - 1;\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0;else return -1;\n } // Normalize val\n\n\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding);\n } // Finally, search either indexOf (if dir is true) or lastIndexOf\n\n\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1;\n }\n\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir);\n } else if (typeof val === 'number') {\n val = val & 0xFF; // Search for a byte value [0-255]\n\n if (Buffer.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset);\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset);\n }\n }\n\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir);\n }\n\n throw new TypeError('val must be string, number or Buffer');\n }\n\n function arrayIndexOf(arr, val, byteOffset, encoding, dir) {\n var indexSize = 1;\n var arrLength = arr.length;\n var valLength = val.length;\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase();\n\n if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1;\n }\n\n indexSize = 2;\n arrLength /= 2;\n valLength /= 2;\n byteOffset /= 2;\n }\n }\n\n function read(buf, i) {\n if (indexSize === 1) {\n return buf[i];\n } else {\n return buf.readUInt16BE(i * indexSize);\n }\n }\n\n var i;\n\n if (dir) {\n var foundIndex = -1;\n\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i;\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize;\n } else {\n if (foundIndex !== -1) i -= i - foundIndex;\n foundIndex = -1;\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;\n\n for (i = byteOffset; i >= 0; i--) {\n var found = true;\n\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false;\n break;\n }\n }\n\n if (found) return i;\n }\n }\n\n return -1;\n }\n\n Buffer.prototype.includes = function includes(val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1;\n };\n\n Buffer.prototype.indexOf = function indexOf(val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true);\n };\n\n Buffer.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false);\n };\n\n function hexWrite(buf, string, offset, length) {\n offset = Number(offset) || 0;\n var remaining = buf.length - offset;\n\n if (!length) {\n length = remaining;\n } else {\n length = Number(length);\n\n if (length > remaining) {\n length = remaining;\n }\n } // must be an even number of digits\n\n\n var strLen = string.length;\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string');\n\n if (length > strLen / 2) {\n length = strLen / 2;\n }\n\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16);\n if (isNaN(parsed)) return i;\n buf[offset + i] = parsed;\n }\n\n return i;\n }\n\n function utf8Write(buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length);\n }\n\n function asciiWrite(buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length);\n }\n\n function latin1Write(buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length);\n }\n\n function base64Write(buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length);\n }\n\n function ucs2Write(buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length);\n }\n\n Buffer.prototype.write = function write(string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8';\n length = this.length;\n offset = 0; // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset;\n length = this.length;\n offset = 0; // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0;\n\n if (isFinite(length)) {\n length = length | 0;\n if (encoding === undefined) encoding = 'utf8';\n } else {\n encoding = length;\n length = undefined;\n } // legacy write(string, encoding, offset, length) - remove in v0.13\n\n } else {\n throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');\n }\n\n var remaining = this.length - offset;\n if (length === undefined || length > remaining) length = remaining;\n\n if (string.length > 0 && (length < 0 || offset < 0) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds');\n }\n\n if (!encoding) encoding = 'utf8';\n var loweredCase = false;\n\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length);\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length);\n\n case 'ascii':\n return asciiWrite(this, string, offset, length);\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length);\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length);\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length);\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n };\n\n Buffer.prototype.toJSON = function toJSON() {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n };\n };\n\n function base64Slice(buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf);\n } else {\n return base64.fromByteArray(buf.slice(start, end));\n }\n }\n\n function utf8Slice(buf, start, end) {\n end = Math.min(buf.length, end);\n var res = [];\n var i = start;\n\n while (i < end) {\n var firstByte = buf[i];\n var codePoint = null;\n var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1;\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint;\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte;\n }\n\n break;\n\n case 2:\n secondByte = buf[i + 1];\n\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F;\n\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint;\n }\n }\n\n break;\n\n case 3:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F;\n\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint;\n }\n }\n\n break;\n\n case 4:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n fourthByte = buf[i + 3];\n\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F;\n\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint;\n }\n }\n\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD;\n bytesPerSequence = 1;\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000;\n res.push(codePoint >>> 10 & 0x3FF | 0xD800);\n codePoint = 0xDC00 | codePoint & 0x3FF;\n }\n\n res.push(codePoint);\n i += bytesPerSequence;\n }\n\n return decodeCodePointsArray(res);\n } // Based on http://stackoverflow.com/a/22747272/680742, the browser with\n // the lowest limit is Chrome, with 0x10000 args.\n // We go 1 magnitude less, for safety\n\n\n var MAX_ARGUMENTS_LENGTH = 0x1000;\n\n function decodeCodePointsArray(codePoints) {\n var len = codePoints.length;\n\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints); // avoid extra slice()\n } // Decode in chunks to avoid \"call stack size exceeded\".\n\n\n var res = '';\n var i = 0;\n\n while (i < len) {\n res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH));\n }\n\n return res;\n }\n\n function asciiSlice(buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F);\n }\n\n return ret;\n }\n\n function latin1Slice(buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i]);\n }\n\n return ret;\n }\n\n function hexSlice(buf, start, end) {\n var len = buf.length;\n if (!start || start < 0) start = 0;\n if (!end || end < 0 || end > len) end = len;\n var out = '';\n\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i]);\n }\n\n return out;\n }\n\n function utf16leSlice(buf, start, end) {\n var bytes = buf.slice(start, end);\n var res = '';\n\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256);\n }\n\n return res;\n }\n\n Buffer.prototype.slice = function slice(start, end) {\n var len = this.length;\n start = ~~start;\n end = end === undefined ? len : ~~end;\n\n if (start < 0) {\n start += len;\n if (start < 0) start = 0;\n } else if (start > len) {\n start = len;\n }\n\n if (end < 0) {\n end += len;\n if (end < 0) end = 0;\n } else if (end > len) {\n end = len;\n }\n\n if (end < start) end = start;\n var newBuf;\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end);\n newBuf.__proto__ = Buffer.prototype;\n } else {\n var sliceLen = end - start;\n newBuf = new Buffer(sliceLen, undefined);\n\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start];\n }\n }\n\n return newBuf;\n };\n /*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\n\n\n function checkOffset(offset, ext, length) {\n if (offset % 1 !== 0 || offset < 0) throw new RangeError('offset is not uint');\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length');\n }\n\n Buffer.prototype.readUIntLE = function readUIntLE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var val = this[offset];\n var mul = 1;\n var i = 0;\n\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n\n return val;\n };\n\n Buffer.prototype.readUIntBE = function readUIntBE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length);\n }\n\n var val = this[offset + --byteLength];\n var mul = 1;\n\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul;\n }\n\n return val;\n };\n\n Buffer.prototype.readUInt8 = function readUInt8(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n return this[offset];\n };\n\n Buffer.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] | this[offset + 1] << 8;\n };\n\n Buffer.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] << 8 | this[offset + 1];\n };\n\n Buffer.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000;\n };\n\n Buffer.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]);\n };\n\n Buffer.prototype.readIntLE = function readIntLE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var val = this[offset];\n var mul = 1;\n var i = 0;\n\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n\n mul *= 0x80;\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n return val;\n };\n\n Buffer.prototype.readIntBE = function readIntBE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var i = byteLength;\n var mul = 1;\n var val = this[offset + --i];\n\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul;\n }\n\n mul *= 0x80;\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n return val;\n };\n\n Buffer.prototype.readInt8 = function readInt8(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n if (!(this[offset] & 0x80)) return this[offset];\n return (0xff - this[offset] + 1) * -1;\n };\n\n Buffer.prototype.readInt16LE = function readInt16LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset] | this[offset + 1] << 8;\n return val & 0x8000 ? val | 0xFFFF0000 : val;\n };\n\n Buffer.prototype.readInt16BE = function readInt16BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset + 1] | this[offset] << 8;\n return val & 0x8000 ? val | 0xFFFF0000 : val;\n };\n\n Buffer.prototype.readInt32LE = function readInt32LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24;\n };\n\n Buffer.prototype.readInt32BE = function readInt32BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3];\n };\n\n Buffer.prototype.readFloatLE = function readFloatLE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return ieee754.read(this, offset, true, 23, 4);\n };\n\n Buffer.prototype.readFloatBE = function readFloatBE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return ieee754.read(this, offset, false, 23, 4);\n };\n\n Buffer.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return ieee754.read(this, offset, true, 52, 8);\n };\n\n Buffer.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return ieee754.read(this, offset, false, 52, 8);\n };\n\n function checkInt(buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance');\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds');\n if (offset + ext > buf.length) throw new RangeError('Index out of range');\n }\n\n Buffer.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var mul = 1;\n var i = 0;\n this[offset] = value & 0xFF;\n\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = value / mul & 0xFF;\n }\n\n return offset + byteLength;\n };\n\n Buffer.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n this[offset + i] = value & 0xFF;\n\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = value / mul & 0xFF;\n }\n\n return offset + byteLength;\n };\n\n Buffer.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n this[offset] = value & 0xff;\n return offset + 1;\n };\n\n function objectWriteUInt16(buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1;\n\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8;\n }\n }\n\n Buffer.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n\n return offset + 2;\n };\n\n Buffer.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 8;\n this[offset + 1] = value & 0xff;\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n\n return offset + 2;\n };\n\n function objectWriteUInt32(buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1;\n\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff;\n }\n }\n\n Buffer.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = value >>> 24;\n this[offset + 2] = value >>> 16;\n this[offset + 1] = value >>> 8;\n this[offset] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n\n return offset + 4;\n };\n\n Buffer.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 24;\n this[offset + 1] = value >>> 16;\n this[offset + 2] = value >>> 8;\n this[offset + 3] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n\n return offset + 4;\n };\n\n Buffer.prototype.writeIntLE = function writeIntLE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = 0;\n var mul = 1;\n var sub = 0;\n this[offset] = value & 0xFF;\n\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1;\n }\n\n this[offset + i] = (value / mul >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength;\n };\n\n Buffer.prototype.writeIntBE = function writeIntBE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n var sub = 0;\n this[offset + i] = value & 0xFF;\n\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1;\n }\n\n this[offset + i] = (value / mul >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength;\n };\n\n Buffer.prototype.writeInt8 = function writeInt8(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n if (value < 0) value = 0xff + value + 1;\n this[offset] = value & 0xff;\n return offset + 1;\n };\n\n Buffer.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n\n return offset + 2;\n };\n\n Buffer.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 8;\n this[offset + 1] = value & 0xff;\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n\n return offset + 2;\n };\n\n Buffer.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n this[offset + 2] = value >>> 16;\n this[offset + 3] = value >>> 24;\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n\n return offset + 4;\n };\n\n Buffer.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (value < 0) value = 0xffffffff + value + 1;\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 24;\n this[offset + 1] = value >>> 16;\n this[offset + 2] = value >>> 8;\n this[offset + 3] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n\n return offset + 4;\n };\n\n function checkIEEE754(buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range');\n if (offset < 0) throw new RangeError('Index out of range');\n }\n\n function writeFloat(buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38);\n }\n\n ieee754.write(buf, value, offset, littleEndian, 23, 4);\n return offset + 4;\n }\n\n Buffer.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert);\n };\n\n Buffer.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert);\n };\n\n function writeDouble(buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308);\n }\n\n ieee754.write(buf, value, offset, littleEndian, 52, 8);\n return offset + 8;\n }\n\n Buffer.prototype.writeDoubleLE = function writeDoubleLE(value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert);\n };\n\n Buffer.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert);\n }; // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\n\n\n Buffer.prototype.copy = function copy(target, targetStart, start, end) {\n if (!start) start = 0;\n if (!end && end !== 0) end = this.length;\n if (targetStart >= target.length) targetStart = target.length;\n if (!targetStart) targetStart = 0;\n if (end > 0 && end < start) end = start; // Copy 0 bytes; we're done\n\n if (end === start) return 0;\n if (target.length === 0 || this.length === 0) return 0; // Fatal error conditions\n\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds');\n }\n\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds');\n if (end < 0) throw new RangeError('sourceEnd out of bounds'); // Are we oob?\n\n if (end > this.length) end = this.length;\n\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start;\n }\n\n var len = end - start;\n var i;\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start];\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start];\n }\n } else {\n Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart);\n }\n\n return len;\n }; // Usage:\n // buffer.fill(number[, offset[, end]])\n // buffer.fill(buffer[, offset[, end]])\n // buffer.fill(string[, offset[, end]][, encoding])\n\n\n Buffer.prototype.fill = function fill(val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start;\n start = 0;\n end = this.length;\n } else if (typeof end === 'string') {\n encoding = end;\n end = this.length;\n }\n\n if (val.length === 1) {\n var code = val.charCodeAt(0);\n\n if (code < 256) {\n val = code;\n }\n }\n\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string');\n }\n\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding);\n }\n } else if (typeof val === 'number') {\n val = val & 255;\n } // Invalid ranges are not set to a default, so can range check early.\n\n\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index');\n }\n\n if (end <= start) {\n return this;\n }\n\n start = start >>> 0;\n end = end === undefined ? this.length : end >>> 0;\n if (!val) val = 0;\n var i;\n\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val;\n }\n } else {\n var bytes = Buffer.isBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString());\n var len = bytes.length;\n\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len];\n }\n }\n\n return this;\n }; // HELPER FUNCTIONS\n // ================\n\n\n var INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g;\n\n function base64clean(str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, ''); // Node converts strings with length < 2 to ''\n\n if (str.length < 2) return ''; // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n\n while (str.length % 4 !== 0) {\n str = str + '=';\n }\n\n return str;\n }\n\n function stringtrim(str) {\n if (str.trim) return str.trim();\n return str.replace(/^\\s+|\\s+$/g, '');\n }\n\n function toHex(n) {\n if (n < 16) return '0' + n.toString(16);\n return n.toString(16);\n }\n\n function utf8ToBytes(string, units) {\n units = units || Infinity;\n var codePoint;\n var length = string.length;\n var leadSurrogate = null;\n var bytes = [];\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i); // is surrogate component\n\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue;\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue;\n } // valid lead\n\n\n leadSurrogate = codePoint;\n continue;\n } // 2 leads in a row\n\n\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n leadSurrogate = codePoint;\n continue;\n } // valid surrogate pair\n\n\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n }\n\n leadSurrogate = null; // encode utf8\n\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break;\n bytes.push(codePoint);\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break;\n bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80);\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break;\n bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80);\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break;\n bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80);\n } else {\n throw new Error('Invalid code point');\n }\n }\n\n return bytes;\n }\n\n function asciiToBytes(str) {\n var byteArray = [];\n\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF);\n }\n\n return byteArray;\n }\n\n function utf16leToBytes(str, units) {\n var c, hi, lo;\n var byteArray = [];\n\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break;\n c = str.charCodeAt(i);\n hi = c >> 8;\n lo = c % 256;\n byteArray.push(lo);\n byteArray.push(hi);\n }\n\n return byteArray;\n }\n\n function base64ToBytes(str) {\n return base64.toByteArray(base64clean(str));\n }\n\n function blitBuffer(src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if (i + offset >= dst.length || i >= src.length) break;\n dst[i + offset] = src[i];\n }\n\n return i;\n }\n\n function isnan(val) {\n return val !== val; // eslint-disable-line no-self-compare\n }\n /* WEBPACK VAR INJECTION */\n\n }).call(this, __webpack_require__(12));\n /***/\n },\n /* 30 */\n\n /***/\n function (module, exports, __webpack_require__) {\n /* WEBPACK VAR INJECTION */\n (function (global) {\n exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream);\n exports.writableStream = isFunction(global.WritableStream);\n exports.abortController = isFunction(global.AbortController);\n exports.blobConstructor = false;\n\n try {\n new Blob([new ArrayBuffer(1)]);\n exports.blobConstructor = true;\n } catch (e) {} // The xhr request to example.com may violate some restrictive CSP configurations,\n // so if we're running in a browser that supports `fetch`, avoid calling getXHR()\n // and assume support for certain features below.\n\n\n var xhr;\n\n function getXHR() {\n // Cache the xhr value\n if (xhr !== undefined) return xhr;\n\n if (global.XMLHttpRequest) {\n xhr = new global.XMLHttpRequest(); // If XDomainRequest is available (ie only, where xhr might not work\n // cross domain), use the page location. Otherwise use example.com\n // Note: this doesn't actually make an http request.\n\n try {\n xhr.open('GET', global.XDomainRequest ? '/' : 'https://example.com');\n } catch (e) {\n xhr = null;\n }\n } else {\n // Service workers don't have XHR\n xhr = null;\n }\n\n return xhr;\n }\n\n function checkTypeSupport(type) {\n var xhr = getXHR();\n if (!xhr) return false;\n\n try {\n xhr.responseType = type;\n return xhr.responseType === type;\n } catch (e) {}\n\n return false;\n } // For some strange reason, Safari 7.0 reports typeof global.ArrayBuffer === 'object'.\n // Safari 7.1 appears to have fixed this bug.\n\n\n var haveArrayBuffer = typeof global.ArrayBuffer !== 'undefined';\n var haveSlice = haveArrayBuffer && isFunction(global.ArrayBuffer.prototype.slice); // If fetch is supported, then arraybuffer will be supported too. Skip calling\n // checkTypeSupport(), since that calls getXHR().\n\n exports.arraybuffer = exports.fetch || haveArrayBuffer && checkTypeSupport('arraybuffer'); // These next two tests unavoidably show warnings in Chrome. Since fetch will always\n // be used if it's available, just return false for these to avoid the warnings.\n\n exports.msstream = !exports.fetch && haveSlice && checkTypeSupport('ms-stream');\n exports.mozchunkedarraybuffer = !exports.fetch && haveArrayBuffer && checkTypeSupport('moz-chunked-arraybuffer'); // If fetch is supported, then overrideMimeType will be supported too. Skip calling\n // getXHR().\n\n exports.overrideMimeType = exports.fetch || (getXHR() ? isFunction(getXHR().overrideMimeType) : false);\n exports.vbArray = isFunction(global.VBArray);\n\n function isFunction(value) {\n return typeof value === 'function';\n }\n\n xhr = null; // Help gc\n\n /* WEBPACK VAR INJECTION */\n }).call(this, __webpack_require__(12));\n /***/\n },\n /* 31 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"inherits\");\n /***/\n },\n /* 32 */\n\n /***/\n function (module, exports, __webpack_require__) {\n /* WEBPACK VAR INJECTION */\n (function (process, Buffer, global) {\n var capability = __webpack_require__(30);\n\n var inherits = __webpack_require__(31);\n\n var stream = __webpack_require__(33);\n\n var rStates = exports.readyStates = {\n UNSENT: 0,\n OPENED: 1,\n HEADERS_RECEIVED: 2,\n LOADING: 3,\n DONE: 4\n };\n\n var IncomingMessage = exports.IncomingMessage = function (xhr, response, mode, fetchTimer) {\n var self = this;\n stream.Readable.call(self);\n self._mode = mode;\n self.headers = {};\n self.rawHeaders = [];\n self.trailers = {};\n self.rawTrailers = []; // Fake the 'close' event, but only once 'end' fires\n\n self.on('end', function () {\n // The nextTick is necessary to prevent the 'request' module from causing an infinite loop\n process.nextTick(function () {\n self.emit('close');\n });\n });\n\n if (mode === 'fetch') {\n self._fetchResponse = response;\n self.url = response.url;\n self.statusCode = response.status;\n self.statusMessage = response.statusText;\n response.headers.forEach(function (header, key) {\n self.headers[key.toLowerCase()] = header;\n self.rawHeaders.push(key, header);\n });\n\n if (capability.writableStream) {\n var writable = new WritableStream({\n write: function write(chunk) {\n return new Promise(function (resolve, reject) {\n if (self._destroyed) {\n reject();\n } else if (self.push(new Buffer(chunk))) {\n resolve();\n } else {\n self._resumeFetch = resolve;\n }\n });\n },\n close: function close() {\n global.clearTimeout(fetchTimer);\n if (!self._destroyed) self.push(null);\n },\n abort: function abort(err) {\n if (!self._destroyed) self.emit('error', err);\n }\n });\n\n try {\n response.body.pipeTo(writable).catch(function (err) {\n global.clearTimeout(fetchTimer);\n if (!self._destroyed) self.emit('error', err);\n });\n return;\n } catch (e) {} // pipeTo method isn't defined. Can't find a better way to feature test this\n\n } // fallback for when writableStream or pipeTo aren't available\n\n\n var reader = response.body.getReader();\n\n function read() {\n reader.read().then(function (result) {\n if (self._destroyed) return;\n\n if (result.done) {\n global.clearTimeout(fetchTimer);\n self.push(null);\n return;\n }\n\n self.push(new Buffer(result.value));\n read();\n }).catch(function (err) {\n global.clearTimeout(fetchTimer);\n if (!self._destroyed) self.emit('error', err);\n });\n }\n\n read();\n } else {\n self._xhr = xhr;\n self._pos = 0;\n self.url = xhr.responseURL;\n self.statusCode = xhr.status;\n self.statusMessage = xhr.statusText;\n var headers = xhr.getAllResponseHeaders().split(/\\r?\\n/);\n headers.forEach(function (header) {\n var matches = header.match(/^([^:]+):\\s*(.*)/);\n\n if (matches) {\n var key = matches[1].toLowerCase();\n\n if (key === 'set-cookie') {\n if (self.headers[key] === undefined) {\n self.headers[key] = [];\n }\n\n self.headers[key].push(matches[2]);\n } else if (self.headers[key] !== undefined) {\n self.headers[key] += ', ' + matches[2];\n } else {\n self.headers[key] = matches[2];\n }\n\n self.rawHeaders.push(matches[1], matches[2]);\n }\n });\n self._charset = 'x-user-defined';\n\n if (!capability.overrideMimeType) {\n var mimeType = self.rawHeaders['mime-type'];\n\n if (mimeType) {\n var charsetMatch = mimeType.match(/;\\s*charset=([^;])(;|$)/);\n\n if (charsetMatch) {\n self._charset = charsetMatch[1].toLowerCase();\n }\n }\n\n if (!self._charset) self._charset = 'utf-8'; // best guess\n }\n }\n };\n\n inherits(IncomingMessage, stream.Readable);\n\n IncomingMessage.prototype._read = function () {\n var self = this;\n var resolve = self._resumeFetch;\n\n if (resolve) {\n self._resumeFetch = null;\n resolve();\n }\n };\n\n IncomingMessage.prototype._onXHRProgress = function () {\n var self = this;\n var xhr = self._xhr;\n var response = null;\n\n switch (self._mode) {\n case 'text:vbarray':\n // For IE9\n if (xhr.readyState !== rStates.DONE) break;\n\n try {\n // This fails in IE8\n response = new global.VBArray(xhr.responseBody).toArray();\n } catch (e) {}\n\n if (response !== null) {\n self.push(new Buffer(response));\n break;\n }\n\n // Falls through in IE8\t\n\n case 'text':\n try {\n // This will fail when readyState = 3 in IE9. Switch mode and wait for readyState = 4\n response = xhr.responseText;\n } catch (e) {\n self._mode = 'text:vbarray';\n break;\n }\n\n if (response.length > self._pos) {\n var newData = response.substr(self._pos);\n\n if (self._charset === 'x-user-defined') {\n var buffer = new Buffer(newData.length);\n\n for (var i = 0; i < newData.length; i++) {\n buffer[i] = newData.charCodeAt(i) & 0xff;\n }\n\n self.push(buffer);\n } else {\n self.push(newData, self._charset);\n }\n\n self._pos = response.length;\n }\n\n break;\n\n case 'arraybuffer':\n if (xhr.readyState !== rStates.DONE || !xhr.response) break;\n response = xhr.response;\n self.push(new Buffer(new Uint8Array(response)));\n break;\n\n case 'moz-chunked-arraybuffer':\n // take whole\n response = xhr.response;\n if (xhr.readyState !== rStates.LOADING || !response) break;\n self.push(new Buffer(new Uint8Array(response)));\n break;\n\n case 'ms-stream':\n response = xhr.response;\n if (xhr.readyState !== rStates.LOADING) break;\n var reader = new global.MSStreamReader();\n\n reader.onprogress = function () {\n if (reader.result.byteLength > self._pos) {\n self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos))));\n self._pos = reader.result.byteLength;\n }\n };\n\n reader.onload = function () {\n self.push(null);\n }; // reader.onerror = ??? // TODO: this\n\n\n reader.readAsArrayBuffer(response);\n break;\n } // The ms-stream case handles end separately in reader.onload()\n\n\n if (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') {\n self.push(null);\n }\n };\n /* WEBPACK VAR INJECTION */\n\n }).call(this, __webpack_require__(16), __webpack_require__(29).Buffer, __webpack_require__(12));\n /***/\n },\n /* 33 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"readable-stream\");\n /***/\n },\n /* 34 */\n\n /***/\n function (module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__);\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"add\", function () {\n return add;\n });\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"done\", function () {\n return done;\n });\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"toJS\", function () {\n return toJS;\n });\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"load\", function () {\n return load;\n });\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"search\", function () {\n return search;\n });\n /* harmony import */\n\n\n var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);\n /* harmony import */\n\n\n var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);\n /* harmony import */\n\n\n var lunr__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);\n /* harmony import */\n\n\n var lunr__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lunr__WEBPACK_IMPORTED_MODULE_1__);\n\n try {\n // tslint:disable-next-line\n __webpack_require__(79); // bundle into worker\n\n } catch (_) {} // nope\n\n /* just for better typings */\n\n\n var Worker =\n /** @class */\n function () {\n function Worker() {\n this.add = add;\n this.done = done;\n this.search = search;\n this.toJS = toJS;\n this.load = load;\n }\n\n return Worker;\n }();\n /* harmony default export */\n\n\n __webpack_exports__[\"default\"] = Worker;\n var store = [];\n\n var resolveIndex = function resolveIndex() {\n throw new Error('Should not be called');\n };\n\n var index = new Promise(function (resolve) {\n resolveIndex = resolve;\n });\n lunr__WEBPACK_IMPORTED_MODULE_1__[\"tokenizer\"].separator = /\\s+/;\n var builder = new lunr__WEBPACK_IMPORTED_MODULE_1__[\"Builder\"]();\n builder.field('title');\n builder.field('description');\n builder.ref('ref');\n builder.pipeline.add(lunr__WEBPACK_IMPORTED_MODULE_1__[\"trimmer\"], lunr__WEBPACK_IMPORTED_MODULE_1__[\"stopWordFilter\"], lunr__WEBPACK_IMPORTED_MODULE_1__[\"stemmer\"]);\n\n var expandTerm = function expandTerm(term) {\n return '*' + lunr__WEBPACK_IMPORTED_MODULE_1__[\"stemmer\"](new lunr__WEBPACK_IMPORTED_MODULE_1__[\"Token\"](term, {})) + '*';\n };\n\n function add(title, description, meta) {\n var ref = store.push(meta) - 1;\n var item = {\n title: title.toLowerCase(),\n description: description.toLowerCase(),\n ref: ref\n };\n builder.add(item);\n }\n\n function done() {\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__awaiter\"])(this, void 0, void 0, function () {\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__generator\"])(this, function (_a) {\n resolveIndex(builder.build());\n return [2\n /*return*/\n ];\n });\n });\n }\n\n function toJS() {\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__awaiter\"])(this, void 0, void 0, function () {\n var _a;\n\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__generator\"])(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = {\n store: store\n };\n return [4\n /*yield*/\n , index];\n\n case 1:\n return [2\n /*return*/\n , (_a.index = _b.sent().toJSON(), _a)];\n }\n });\n });\n }\n\n function load(state) {\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__awaiter\"])(this, void 0, void 0, function () {\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__generator\"])(this, function (_a) {\n store = state.store;\n resolveIndex(lunr__WEBPACK_IMPORTED_MODULE_1__[\"Index\"].load(state.index));\n return [2\n /*return*/\n ];\n });\n });\n }\n\n function search(q, limit) {\n if (limit === void 0) {\n limit = 0;\n }\n\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__awaiter\"])(this, void 0, void 0, function () {\n var searchResults;\n return Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__generator\"])(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (q.trim().length === 0) {\n return [2\n /*return*/\n , []];\n }\n\n return [4\n /*yield*/\n , index];\n\n case 1:\n searchResults = _a.sent().query(function (t) {\n q.trim().toLowerCase().split(/\\s+/).forEach(function (term) {\n var exp = expandTerm(term);\n t.term(exp, {});\n });\n });\n\n if (limit > 0) {\n searchResults = searchResults.slice(0, limit);\n }\n\n return [2\n /*return*/\n , searchResults.map(function (res) {\n return {\n meta: store[res.ref],\n score: res.score\n };\n })];\n }\n });\n });\n }\n /***/\n\n },\n /* 35 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"slugify\");\n /***/\n },\n /* 36 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"styled-components\");\n /***/\n },\n /* 37 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"json-schema-ref-parser\");\n /***/\n },\n /* 38 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\"; // @ts-check\n\n var tslib_1 = __webpack_require__(1);\n\n var fs = __webpack_require__(27);\n\n var url = __webpack_require__(5);\n\n var pathlib = __webpack_require__(13);\n\n var maybe = __webpack_require__(43);\n\n var fetch = __webpack_require__(11);\n\n var yaml = __webpack_require__(11);\n\n var jptr = __webpack_require__(17);\n\n var resolveInternal = jptr.jptr;\n\n var isRef = __webpack_require__(21).isRef;\n\n var clone = __webpack_require__(18).clone;\n\n var cclone = __webpack_require__(18).circularClone;\n\n var recurse = __webpack_require__(22).recurse;\n\n var resolver = __webpack_require__(44);\n\n var sw = __webpack_require__(46);\n\n var common = __webpack_require__(28);\n\n var statusCodes = __webpack_require__(47).statusCodes;\n\n var ourVersion = __webpack_require__(56).version; // TODO handle specification-extensions with plugins?\n\n\n var targetVersion = '3.0.0';\n var componentNames; // initialised in main\n\n var S2OError =\n /** @class */\n function (_super) {\n tslib_1.__extends(S2OError, _super);\n\n function S2OError(message) {\n var _this = _super.call(this, message) || this;\n\n _this.name = 'S2OError';\n return _this;\n }\n\n return S2OError;\n }(Error);\n\n function throwError(message, options) {\n var err = new S2OError(message);\n err.options = options;\n\n if (options.promise) {\n options.promise.reject(err);\n } else {\n throw err;\n }\n }\n\n function throwOrWarn(message, container, options) {\n if (options.warnOnly) {\n container[options.warnProperty || 'x-s2o-warning'] = message;\n } else {\n throwError(message, options);\n }\n }\n\n function fixUpSubSchema(schema, parent, options) {\n if (schema.discriminator && typeof schema.discriminator === 'string') {\n schema.discriminator = {\n propertyName: schema.discriminator\n };\n }\n\n if (schema.items && Array.isArray(schema.items)) {\n if (schema.items.length === 0) {\n schema.items = {};\n } else if (schema.items.length === 1) {\n schema.items = schema.items[0];\n } else schema.items = {\n anyOf: schema.items\n };\n }\n\n if (schema.type && Array.isArray(schema.type)) {\n if (options.patch) {\n if (schema.type.length === 0) {\n delete schema.type;\n } else {\n if (!schema.oneOf) schema.oneOf = [];\n\n for (var _i = 0, _a = schema.type; _i < _a.length; _i++) {\n var type = _a[_i];\n var newSchema = {};\n\n if (type === 'null') {\n schema.nullable = true;\n } else {\n newSchema.type = type;\n\n for (var _b = 0, _c = common.arrayProperties; _b < _c.length; _b++) {\n var prop = _c[_b];\n\n if (typeof schema.prop !== 'undefined') {\n newSchema[prop] = schema[prop];\n delete schema[prop];\n }\n }\n }\n\n if (newSchema.type) {\n schema.oneOf.push(newSchema);\n }\n }\n\n delete schema.type;\n\n if (schema.oneOf.length === 0) {\n delete schema.oneOf; // means was just null => nullable\n } else if (schema.oneOf.length < 2) {\n schema.type = schema.oneOf[0].type;\n\n if (Object.keys(schema.oneOf[0]).length > 1) {\n throwOrWarn('Lost properties from oneOf', schema, options);\n }\n\n delete schema.oneOf;\n }\n } // do not else this\n\n\n if (schema.type && Array.isArray(schema.type) && schema.type.length === 1) {\n schema.type = schema.type[0];\n }\n } else {\n throwError('(Patchable) schema type must not be an array', options);\n }\n }\n\n if (schema.type && schema.type === 'null') {\n delete schema.type;\n schema.nullable = true;\n }\n\n if (schema.type === 'array' && !schema.items) {\n schema.items = {};\n }\n\n if (typeof schema.required === 'boolean') {\n if (schema.required && schema.name) {\n if (typeof parent.required === 'undefined') {\n parent.required = [];\n }\n\n if (Array.isArray(parent.required)) parent.required.push(schema.name);\n }\n\n delete schema.required;\n } // TODO if we have a nested properties (object inside an object) and the\n // *parent* type is not set, force it to object\n // TODO if default is set but type is not set, force type to typeof default\n\n\n if (schema.xml && typeof schema.xml.namespace === 'string') {\n if (!schema.xml.namespace) delete schema.xml.namespace;\n }\n }\n\n function fixUpSubSchemaExtensions(schema, parent) {\n if (schema[\"x-required\"] && Array.isArray(schema[\"x-required\"])) {\n if (!schema.required) schema.required = [];\n schema.required = schema.required.concat(schema[\"x-required\"]);\n delete schema[\"x-required\"];\n }\n\n if (schema[\"x-anyOf\"]) {\n schema.anyOf = schema[\"x-anyOf\"];\n delete schema[\"x-anyOf\"];\n }\n\n if (schema[\"x-oneOf\"]) {\n schema.oneOf = schema[\"x-oneOf\"];\n delete schema[\"x-oneOf\"];\n }\n\n if (schema[\"x-not\"]) {\n schema.not = schema[\"x-not\"];\n delete schema[\"x-not\"];\n }\n\n if (typeof schema[\"x-nullable\"] === 'boolean') {\n schema.nullable = schema[\"x-nullable\"];\n delete schema[\"x-nullable\"];\n }\n\n if (typeof schema[\"x-discriminator\"] === 'object' && typeof schema[\"x-discriminator\"].propertyName === 'string') {\n schema.discriminator = schema[\"x-discriminator\"];\n delete schema[\"x-discriminator\"];\n\n for (var entry in schema.discriminator.mapping) {\n var schemaOrRef = schema.discriminator.mapping[entry];\n\n if (schemaOrRef.startsWith('#/definitions/')) {\n schema.discriminator.mapping[entry] = schemaOrRef.replace('#/definitions/', '#/components/schemas/');\n }\n }\n }\n }\n\n function fixUpSchema(schema, options) {\n sw.walkSchema(schema, {}, {}, function (schema, parent, state) {\n fixUpSubSchemaExtensions(schema, parent);\n fixUpSubSchema(schema, parent, options);\n });\n }\n\n function getMiroComponentName(ref) {\n if (ref.indexOf('#') >= 0) {\n ref = ref.split('#')[1].split('/').pop();\n } else {\n ref = ref.split('/').pop().split('.')[0];\n }\n\n return encodeURIComponent(common.sanitise(ref));\n }\n\n function fixupRefs(obj, key, state) {\n var options = state.payload.options;\n\n if (isRef(obj, key)) {\n if (obj[key].startsWith('#/components/')) {// no-op\n } else if (obj[key] === '#/consumes') {\n // people are *so* creative\n delete obj[key];\n state.parent[state.pkey] = clone(options.openapi.consumes);\n } else if (obj[key] === '#/produces') {\n // and by creative, I mean devious\n delete obj[key];\n state.parent[state.pkey] = clone(options.openapi.produces);\n } else if (obj[key].startsWith('#/definitions/')) {\n //only the first part of a schema component name must be sanitised\n var keys = obj[key].replace('#/definitions/', '').split('/');\n var ref = jptr.jpunescape(keys[0]);\n var newKey = componentNames.schemas[decodeURIComponent(ref)]; // lookup, resolves a $ref\n\n if (newKey) {\n keys[0] = newKey;\n } else {\n throwOrWarn('Could not resolve reference ' + obj[key], obj, options);\n }\n\n obj[key] = '#/components/schemas/' + keys.join('/');\n } else if (obj[key].startsWith('#/parameters/')) {\n // for extensions like Apigee's x-templates\n obj[key] = '#/components/parameters/' + common.sanitise(obj[key].replace('#/parameters/', ''));\n } else if (obj[key].startsWith('#/responses/')) {\n // for extensions like Apigee's x-templates\n obj[key] = '#/components/responses/' + common.sanitise(obj[key].replace('#/responses/', ''));\n } else if (obj[key].startsWith('#')) {\n // fixes up direct $refs or those created by resolvers\n var target = clone(jptr.jptr(options.openapi, obj[key]));\n if (target === false) throwOrWarn('direct $ref not found ' + obj[key], obj, options);else if (options.refmap[obj[key]]) {\n obj[key] = options.refmap[obj[key]];\n } else {\n // we use a heuristic to determine what kind of thing is being referenced\n var oldRef = obj[key];\n oldRef = oldRef.replace('/properties/headers/', '');\n oldRef = oldRef.replace('/properties/responses/', '');\n oldRef = oldRef.replace('/properties/parameters/', '');\n oldRef = oldRef.replace('/properties/schemas/', '');\n var type = 'schemas';\n var schemaIndex = oldRef.lastIndexOf('/schema');\n type = oldRef.indexOf('/headers/') > schemaIndex ? 'headers' : oldRef.indexOf('/responses/') > schemaIndex ? 'responses' : oldRef.indexOf('/example') > schemaIndex ? 'examples' : oldRef.indexOf('/x-') > schemaIndex ? 'extensions' : oldRef.indexOf('/parameters/') > schemaIndex ? 'parameters' : 'schemas'; // non-body/form parameters have not moved in the overall structure (like responses)\n // but extracting the requestBodies can cause the *number* of parameters to change\n\n if (type === 'schemas') {\n fixUpSchema(target, options);\n }\n\n if (type !== 'responses' && type !== 'extensions') {\n var prefix = type.substr(0, type.length - 1);\n\n if (prefix === 'parameter' && target.name && target.name === common.sanitise(target.name)) {\n prefix = encodeURIComponent(target.name);\n }\n\n var suffix = 1;\n\n if (obj['x-miro']) {\n prefix = getMiroComponentName(obj['x-miro']);\n suffix = '';\n }\n\n while (jptr.jptr(options.openapi, '#/components/' + type + '/' + prefix + suffix)) {\n suffix = suffix === '' ? 2 : ++suffix;\n }\n\n var newRef = '#/components/' + type + '/' + prefix + suffix;\n var refSuffix = '';\n\n if (type === 'examples') {\n target = {\n value: target\n };\n refSuffix = '/value';\n }\n\n jptr.jptr(options.openapi, newRef, target);\n options.refmap[obj[key]] = newRef + refSuffix;\n obj[key] = newRef + refSuffix;\n }\n }\n }\n\n delete obj['x-miro']; // do this last - rework cases where $ref object has sibling properties\n\n if (Object.keys(obj).length > 1) {\n var tmpRef = obj[key];\n var inSchema = state.path.indexOf('/schema') >= 0; // not perfect, but in the absence of a reasonably-sized and complete OAS 2.0 parser...\n\n if (options.refSiblings === 'preserve') {// no-op\n } else if (inSchema && options.refSiblings === 'allOf') {\n delete obj.$ref;\n state.parent[state.pkey] = {\n allOf: [{\n $ref: tmpRef\n }, obj]\n };\n } else {\n // remove, or not 'preserve' and not in a schema\n state.parent[state.pkey] = {\n $ref: tmpRef\n };\n }\n }\n }\n\n if (key === 'x-ms-odata' && typeof obj[key] === 'string' && obj[key].startsWith('#/')) {\n var keys = obj[key].replace('#/definitions/', '').replace('#/components/schemas/', '').split('/');\n var newKey = componentNames.schemas[decodeURIComponent(keys[0])]; // lookup, resolves a $ref\n\n if (newKey) {\n keys[0] = newKey;\n } else {\n throwOrWarn('Could not resolve reference ' + obj[key], obj, options);\n }\n\n obj[key] = '#/components/schemas/' + keys.join('/');\n }\n }\n /*\n * This has to happen as a separate pass because multiple $refs may point\n * through elements of the same path\n */\n\n\n function dedupeRefs(openapi, options) {\n for (var ref in options.refmap) {\n jptr.jptr(openapi, ref, {\n $ref: options.refmap[ref]\n });\n }\n }\n\n function processSecurity(securityObject) {\n for (var s in securityObject) {\n for (var k in securityObject[s]) {\n var sname = common.sanitise(k);\n\n if (k != sname) {\n securityObject[s][sname] = securityObject[s][k];\n delete securityObject[s][k];\n }\n }\n }\n }\n\n function processSecurityScheme(scheme, options) {\n if (scheme.type === 'basic') {\n scheme.type = 'http';\n scheme.scheme = 'basic';\n }\n\n if (scheme.type === 'oauth2') {\n var flow = {};\n var flowName = scheme.flow;\n if (scheme.flow === 'application') flowName = 'clientCredentials';\n if (scheme.flow === 'accessCode') flowName = 'authorizationCode';\n if (typeof scheme.authorizationUrl !== 'undefined') flow.authorizationUrl = scheme.authorizationUrl.split('?')[0].trim() || '/';\n if (typeof scheme.tokenUrl === 'string') flow.tokenUrl = scheme.tokenUrl.split('?')[0].trim() || '/';\n flow.scopes = scheme.scopes || {};\n scheme.flows = {};\n scheme.flows[flowName] = flow;\n delete scheme.flow;\n delete scheme.authorizationUrl;\n delete scheme.tokenUrl;\n delete scheme.scopes;\n\n if (typeof scheme.name !== 'undefined') {\n if (options.patch) {\n delete scheme.name;\n } else {\n throwError('(Patchable) oauth2 securitySchemes should not have name property', options);\n }\n }\n }\n }\n\n function keepParameters(value) {\n return value && !value[\"x-s2o-delete\"];\n }\n\n function processHeader(header, options) {\n if (header.$ref) {\n header.$ref = header.$ref.replace('#/responses/', '#/components/responses/');\n } else {\n if (header.type && !header.schema) {\n header.schema = {};\n }\n\n if (header.type) header.schema.type = header.type;\n\n if (header.items && header.items.type !== 'array') {\n if (header.items.collectionFormat !== header.collectionFormat) {\n throwOrWarn('Nested collectionFormats are not supported', header, options);\n }\n\n delete header.items.collectionFormat;\n }\n\n if (header.type === 'array') {\n if (header.collectionFormat === 'ssv') {\n throwOrWarn('collectionFormat:ssv is no longer supported for headers', header, options); // not lossless\n } else if (header.collectionFormat === 'pipes') {\n throwOrWarn('collectionFormat:pipes is no longer supported for headers', header, options); // not lossless\n } else if (header.collectionFormat === 'multi') {\n header.explode = true;\n } else if (header.collectionFormat === 'tsv') {\n throwOrWarn('collectionFormat:tsv is no longer supported', header, options); // not lossless\n\n header[\"x-collectionFormat\"] = 'tsv';\n } else {\n // 'csv'\n header.style = 'simple';\n }\n\n delete header.collectionFormat;\n } else if (header.collectionFormat) {\n if (options.patch) {\n delete header.collectionFormat;\n } else {\n throwError('(Patchable) collectionFormat is only applicable to header.type array', options);\n }\n }\n\n delete header.type;\n\n for (var _i = 0, _a = common.parameterTypeProperties; _i < _a.length; _i++) {\n var prop = _a[_i];\n\n if (typeof header[prop] !== 'undefined') {\n header.schema[prop] = header[prop];\n delete header[prop];\n }\n }\n\n for (var _b = 0, _c = common.arrayProperties; _b < _c.length; _b++) {\n var prop = _c[_b];\n\n if (typeof header[prop] !== 'undefined') {\n header.schema[prop] = header[prop];\n delete header[prop];\n }\n }\n }\n }\n\n function fixParamRef(param, options) {\n if (param.$ref.indexOf('#/parameters/') >= 0) {\n var refComponents = param.$ref.split('#/parameters/');\n param.$ref = refComponents[0] + '#/components/parameters/' + common.sanitise(refComponents[1]);\n }\n\n if (param.$ref.indexOf('#/definitions/') >= 0) {\n throwOrWarn('Definition used as parameter', param, options);\n }\n }\n\n function attachRequestBody(op, options) {\n var newOp = {};\n\n for (var _i = 0, _a = Object.keys(op); _i < _a.length; _i++) {\n var key = _a[_i];\n newOp[key] = op[key];\n\n if (key === 'parameters') {\n newOp.requestBody = {};\n if (options.rbname) newOp[options.rbname] = '';\n }\n }\n\n newOp.requestBody = {}; // just in case there are no parameters\n\n return newOp;\n }\n /**\n * @returns op, as it may have changed\n */\n\n\n function processParameter(param, op, path, method, index, openapi, options) {\n var result = {};\n var singularRequestBody = true;\n var originalType;\n\n if (op && op.consumes && typeof op.consumes === 'string') {\n if (options.patch) {\n op.consumes = [op.consumes];\n } else {\n return throwError('(Patchable) operation.consumes must be an array', options);\n }\n }\n\n if (!Array.isArray(openapi.consumes)) delete openapi.consumes;\n var consumes = ((op ? op.consumes : null) || openapi.consumes || []).filter(common.uniqueOnly);\n\n if (param && param.$ref && typeof param.$ref === 'string') {\n // if we still have a ref here, it must be an internal one\n fixParamRef(param, options);\n var ptr = decodeURIComponent(param.$ref.replace('#/components/parameters/', ''));\n var rbody = false;\n var target = openapi.components.parameters[ptr]; // resolves a $ref, must have been sanitised already\n\n if ((!target || target[\"x-s2o-delete\"]) && param.$ref.startsWith('#/')) {\n // if it's gone, chances are it's a requestBody component now unless spec was broken\n param[\"x-s2o-delete\"] = true;\n rbody = true;\n } // shared formData parameters from swagger or path level could be used in any combination.\n // we dereference all op.requestBody's then hash them and pull out common ones later\n\n\n if (rbody) {\n var ref = param.$ref;\n var newParam = resolveInternal(openapi, param.$ref);\n\n if (!newParam && ref.startsWith('#/')) {\n throwOrWarn('Could not resolve reference ' + ref, param, options);\n } else {\n if (newParam) param = newParam; // preserve reference\n }\n }\n }\n\n if (param && (param.name || param.in)) {\n // if it's a real parameter OR we've dereferenced it\n if (typeof param['x-deprecated'] === 'boolean') {\n param.deprecated = param['x-deprecated'];\n delete param['x-deprecated'];\n }\n\n if (typeof param['x-example'] !== 'undefined') {\n param.example = param['x-example'];\n delete param['x-example'];\n }\n\n if (param.in != 'body' && !param.type) {\n if (options.patch) {\n param.type = 'string';\n } else {\n throwError('(Patchable) parameter.type is mandatory for non-body parameters', options);\n }\n }\n\n if (param.type && typeof param.type === 'object' && param.type.$ref) {\n // $ref anywhere sensibility\n param.type = resolveInternal(openapi, param.type.$ref);\n }\n\n if (param.type === 'file') {\n param['x-s2o-originalType'] = param.type;\n originalType = param.type;\n }\n\n if (param.description && typeof param.description === 'object' && param.description.$ref) {\n // $ref anywhere sensibility\n param.description = resolveInternal(openapi, param.description.$ref);\n }\n\n if (param.description === null) delete param.description;\n var oldCollectionFormat_1 = param.collectionFormat;\n\n if (param.type === 'array' && !oldCollectionFormat_1) {\n oldCollectionFormat_1 = 'csv';\n }\n\n if (oldCollectionFormat_1) {\n if (param.type != 'array') {\n if (options.patch) {\n delete param.collectionFormat;\n } else {\n throwError('(Patchable) collectionFormat is only applicable to param.type array', options);\n }\n }\n\n if (oldCollectionFormat_1 === 'csv' && (param.in === 'query' || param.in === 'cookie')) {\n param.style = 'form';\n param.explode = false;\n }\n\n if (oldCollectionFormat_1 === 'csv' && (param.in === 'path' || param.in === 'header')) {\n param.style = 'simple';\n }\n\n if (oldCollectionFormat_1 === 'ssv') {\n if (param.in === 'query') {\n param.style = 'spaceDelimited';\n } else {\n throwOrWarn('collectionFormat:ssv is no longer supported except for in:query parameters', param, options); // not lossless\n }\n }\n\n if (oldCollectionFormat_1 === 'pipes') {\n if (param.in === 'query') {\n param.style = 'pipeDelimited';\n } else {\n throwOrWarn('collectionFormat:pipes is no longer supported except for in:query parameters', param, options); // not lossless\n }\n }\n\n if (oldCollectionFormat_1 === 'multi') {\n param.explode = true;\n }\n\n if (oldCollectionFormat_1 === 'tsv') {\n throwOrWarn('collectionFormat:tsv is no longer supported', param, options); // not lossless\n\n param[\"x-collectionFormat\"] = 'tsv';\n }\n\n delete param.collectionFormat;\n }\n\n if (param.type && param.type != 'object' && param.type != 'body' && param.in != 'formData') {\n if (param.items && param.schema) {\n throwOrWarn('parameter has array,items and schema', param, options);\n } else {\n if (!param.schema || typeof param.schema !== 'object') param.schema = {};\n param.schema.type = param.type;\n\n if (param.items) {\n param.schema.items = param.items;\n delete param.items;\n recurse(param.schema.items, null, function (obj, key, state) {\n if (key === 'collectionFormat' && typeof obj[key] === 'string') {\n if (oldCollectionFormat_1 && obj[key] !== oldCollectionFormat_1) {\n throwOrWarn('Nested collectionFormats are not supported', param, options);\n }\n\n delete obj[key]; // not lossless\n } // items in 2.0 was a subset of the JSON-Schema items\n // object, it gets fixed up below\n\n });\n }\n\n for (var _i = 0, _a = common.parameterTypeProperties; _i < _a.length; _i++) {\n var prop = _a[_i];\n if (typeof param[prop] !== 'undefined') param.schema[prop] = param[prop];\n delete param[prop];\n }\n }\n }\n\n if (param.schema) {\n fixUpSchema(param.schema, options);\n }\n\n if (param[\"x-ms-skip-url-encoding\"]) {\n if (param.in === 'query') {\n // might be in:path, not allowed in OAS3\n param.allowReserved = true;\n delete param[\"x-ms-skip-url-encoding\"];\n }\n }\n }\n\n if (param && param.in === 'formData') {\n // convert to requestBody component\n singularRequestBody = false;\n result.content = {};\n var contentType = 'application/x-www-form-urlencoded';\n\n if (consumes.length && consumes.indexOf('multipart/form-data') >= 0) {\n contentType = 'multipart/form-data';\n }\n\n result.content[contentType] = {};\n\n if (param.schema) {\n result.content[contentType].schema = param.schema;\n\n if (param.schema.$ref) {\n result['x-s2o-name'] = decodeURIComponent(param.schema.$ref.replace('#/components/schemas/', ''));\n }\n } else {\n result.content[contentType].schema = {};\n result.content[contentType].schema.type = 'object';\n result.content[contentType].schema.properties = {};\n result.content[contentType].schema.properties[param.name] = {};\n var schema = result.content[contentType].schema;\n var target = result.content[contentType].schema.properties[param.name];\n if (param.description) target.description = param.description;\n if (param.example) target.example = param.example;\n if (param.type) target.type = param.type;\n\n for (var _b = 0, _c = common.parameterTypeProperties; _b < _c.length; _b++) {\n var prop = _c[_b];\n if (typeof param[prop] !== 'undefined') target[prop] = param[prop];\n }\n\n if (param.required === true) {\n if (!schema.required) schema.required = [];\n schema.required.push(param.name);\n }\n\n if (typeof param.default !== 'undefined') target.default = param.default;\n if (target.properties) target.properties = param.properties;\n if (param.allOf) target.allOf = param.allOf; // new are anyOf, oneOf, not\n\n if (param.type === 'array' && param.items) {\n target.items = param.items;\n if (target.items.collectionFormat) delete target.items.collectionFormat;\n }\n\n if (originalType === 'file' || param['x-s2o-originalType'] === 'file') {\n target.type = 'string';\n target.format = 'binary';\n } // Copy any extensions on the form param to the target schema property.\n\n\n copyExtensions(param, target);\n }\n } else if (param && param.type === 'file') {\n // convert to requestBody\n if (param.required) result.required = param.required;\n result.content = {};\n result.content[\"application/octet-stream\"] = {};\n result.content[\"application/octet-stream\"].schema = {};\n result.content[\"application/octet-stream\"].schema.type = 'string';\n result.content[\"application/octet-stream\"].schema.format = 'binary';\n copyExtensions(param, result);\n }\n\n if (param && param.in === 'body') {\n result.content = {};\n if (param.name) result['x-s2o-name'] = (op && op.operationId ? common.sanitiseAll(op.operationId) : '') + ('_' + param.name).toCamelCase();\n if (param.description) result.description = param.description;\n if (param.required) result.required = param.required; // Set the \"request body name\" extension on the operation if requested.\n\n if (op && options.rbname && param.name) {\n op[options.rbname] = param.name;\n }\n\n if (param.schema && param.schema.$ref) {\n result['x-s2o-name'] = decodeURIComponent(param.schema.$ref.replace('#/components/schemas/', ''));\n } else if (param.schema && param.schema.type === 'array' && param.schema.items && param.schema.items.$ref) {\n result['x-s2o-name'] = decodeURIComponent(param.schema.items.$ref.replace('#/components/schemas/', '')) + 'Array';\n }\n\n if (!consumes.length) {\n consumes.push('application/json'); // TODO verify default\n }\n\n for (var _d = 0, consumes_1 = consumes; _d < consumes_1.length; _d++) {\n var mimetype = consumes_1[_d];\n result.content[mimetype] = {};\n result.content[mimetype].schema = clone(param.schema || {});\n fixUpSchema(result.content[mimetype].schema, options);\n } // Copy any extensions from the original parameter to the new requestBody\n\n\n copyExtensions(param, result);\n }\n\n if (Object.keys(result).length > 0) {\n param[\"x-s2o-delete\"] = true; // work out where to attach the requestBody\n\n if (op) {\n if (op.requestBody && singularRequestBody) {\n op.requestBody[\"x-s2o-overloaded\"] = true;\n var opId = op.operationId || index;\n throwOrWarn('Operation ' + opId + ' has multiple requestBodies', op, options);\n } else {\n if (!op.requestBody) {\n op = path[method] = attachRequestBody(op, options); // make sure we have one\n }\n\n if (op.requestBody.content && op.requestBody.content[\"multipart/form-data\"] && op.requestBody.content[\"multipart/form-data\"].schema && op.requestBody.content[\"multipart/form-data\"].schema.properties && result.content[\"multipart/form-data\"] && result.content[\"multipart/form-data\"].schema && result.content[\"multipart/form-data\"].schema.properties) {\n op.requestBody.content[\"multipart/form-data\"].schema.properties = Object.assign(op.requestBody.content[\"multipart/form-data\"].schema.properties, result.content[\"multipart/form-data\"].schema.properties);\n op.requestBody.content[\"multipart/form-data\"].schema.required = (op.requestBody.content[\"multipart/form-data\"].schema.required || []).concat(result.content[\"multipart/form-data\"].schema.required || []);\n\n if (!op.requestBody.content[\"multipart/form-data\"].schema.required.length) {\n delete op.requestBody.content[\"multipart/form-data\"].schema.required;\n }\n } else if (op.requestBody.content && op.requestBody.content[\"application/x-www-form-urlencoded\"] && op.requestBody.content[\"application/x-www-form-urlencoded\"].schema && op.requestBody.content[\"application/x-www-form-urlencoded\"].schema.properties && result.content[\"application/x-www-form-urlencoded\"] && result.content[\"application/x-www-form-urlencoded\"].schema && result.content[\"application/x-www-form-urlencoded\"].schema.properties) {\n op.requestBody.content[\"application/x-www-form-urlencoded\"].schema.properties = Object.assign(op.requestBody.content[\"application/x-www-form-urlencoded\"].schema.properties, result.content[\"application/x-www-form-urlencoded\"].schema.properties);\n op.requestBody.content[\"application/x-www-form-urlencoded\"].schema.required = (op.requestBody.content[\"application/x-www-form-urlencoded\"].schema.required || []).concat(result.content[\"application/x-www-form-urlencoded\"].schema.required || []);\n\n if (!op.requestBody.content[\"application/x-www-form-urlencoded\"].schema.required.length) {\n delete op.requestBody.content[\"application/x-www-form-urlencoded\"].schema.required;\n }\n } else {\n op.requestBody = Object.assign(op.requestBody, result);\n\n if (!op.requestBody['x-s2o-name']) {\n if (op.requestBody.schema && op.requestBody.schema.$ref) {\n op.requestBody['x-s2o-name'] = decodeURIComponent(op.requestBody.schema.$ref.replace('#/components/schemas/', '')).split('/').join('');\n } else if (op.operationId) {\n op.requestBody['x-s2o-name'] = common.sanitiseAll(op.operationId);\n }\n }\n }\n }\n }\n } // tidy up\n\n\n if (param && !param['x-s2o-delete']) {\n delete param.type;\n\n for (var _e = 0, _f = common.parameterTypeProperties; _e < _f.length; _e++) {\n var prop = _f[_e];\n delete param[prop];\n }\n\n if (param.in === 'path' && (typeof param.required === 'undefined' || param.required !== true)) {\n if (options.patch) {\n param.required = true;\n } else {\n throwError('(Patchable) path parameters must be required:true [' + param.name + ' in ' + index + ']', options);\n }\n }\n }\n\n return op;\n }\n\n function copyExtensions(src, tgt) {\n for (var prop in src) {\n if (prop.startsWith('x-') && !prop.startsWith('x-s2o')) {\n tgt[prop] = src[prop];\n }\n }\n }\n\n function processResponse(response, name, op, openapi, options) {\n if (!response) return false;\n\n if (response.$ref && typeof response.$ref === 'string') {\n if (response.$ref.indexOf('#/definitions/') >= 0) {\n //response.$ref = '#/components/schemas/'+common.sanitise(response.$ref.replace('#/definitions/',''));\n throwOrWarn('definition used as response: ' + response.$ref, response, options);\n } else {\n if (response.$ref.startsWith('#/responses/')) {\n response.$ref = '#/components/responses/' + common.sanitise(decodeURIComponent(response.$ref.replace('#/responses/', '')));\n }\n }\n } else {\n if (typeof response.description === 'undefined' || response.description === null || response.description === '' && options.patch) {\n if (options.patch) {\n if (typeof response === 'object' && !Array.isArray(response)) {\n response.description = statusCodes[response] || '';\n }\n } else {\n throwError('(Patchable) response.description is mandatory', options);\n }\n }\n\n if (typeof response.schema !== 'undefined') {\n fixUpSchema(response.schema, options);\n\n if (response.schema.$ref && typeof response.schema.$ref === 'string' && response.schema.$ref.startsWith('#/responses/')) {\n response.schema.$ref = '#/components/responses/' + common.sanitise(decodeURIComponent(response.schema.$ref.replace('#/responses/', '')));\n }\n\n if (op && op.produces && typeof op.produces === 'string') {\n if (options.patch) {\n op.produces = [op.produces];\n } else {\n return throwError('(Patchable) operation.produces must be an array', options);\n }\n }\n\n if (openapi.produces && !Array.isArray(openapi.produces)) delete openapi.produces;\n var produces = ((op ? op.produces : null) || openapi.produces || []).filter(common.uniqueOnly);\n if (!produces.length) produces.push('*/*'); // TODO verify default\n\n response.content = {};\n\n for (var _i = 0, produces_1 = produces; _i < produces_1.length; _i++) {\n var mimetype = produces_1[_i];\n response.content[mimetype] = {};\n response.content[mimetype].schema = clone(response.schema);\n\n if (response.examples && response.examples[mimetype]) {\n var example = {};\n example.value = response.examples[mimetype];\n response.content[mimetype].examples = {};\n response.content[mimetype].examples.response = example;\n delete response.examples[mimetype];\n }\n\n if (response.content[mimetype].schema.type === 'file') {\n response.content[mimetype].schema = {\n type: 'string',\n format: 'binary'\n };\n }\n }\n\n delete response.schema;\n } // examples for content-types not listed in produces\n\n\n for (var mimetype in response.examples) {\n if (!response.content) response.content = {};\n if (!response.content[mimetype]) response.content[mimetype] = {};\n response.content[mimetype].examples = {};\n response.content[mimetype].examples.response = {};\n response.content[mimetype].examples.response.value = response.examples[mimetype];\n }\n\n delete response.examples;\n\n if (response.headers) {\n for (var h in response.headers) {\n if (h.toLowerCase() === 'status code') {\n if (options.patch) {\n delete response.headers[h];\n } else {\n throwError('(Patchable) \"Status Code\" is not a valid header', options);\n }\n } else {\n processHeader(response.headers[h], options);\n }\n }\n }\n }\n }\n\n function processPaths(container, containerName, options, requestBodyCache, openapi) {\n for (var p in container) {\n var path = container[p]; // path.$ref is external only\n\n if (path && path['x-trace'] && typeof path['x-trace'] === 'object') {\n path.trace = path['x-trace'];\n delete path['x-trace'];\n }\n\n if (path && path['x-summary'] && typeof path['x-summary'] === 'string') {\n path.summary = path['x-summary'];\n delete path['x-summary'];\n }\n\n if (path && path['x-description'] && typeof path['x-description'] === 'string') {\n path.description = path['x-description'];\n delete path['x-description'];\n }\n\n if (path && path['x-servers'] && Array.isArray(path['x-servers'])) {\n path.servers = path['x-servers'];\n delete path['x-servers'];\n }\n\n for (var method in path) {\n if (common.httpMethods.indexOf(method) >= 0 || method === 'x-amazon-apigateway-any-method') {\n var op = path[method];\n\n if (op && op.parameters && Array.isArray(op.parameters)) {\n if (path.parameters) {\n var _loop_1 = function _loop_1(param) {\n if (typeof param.$ref === 'string') {\n fixParamRef(param, options);\n param = resolveInternal(openapi, param.$ref);\n }\n\n var match = op.parameters.find(function (e, i, a) {\n return e.name === param.name && e.in === param.in;\n });\n\n if (!match && (param.in === 'formData' || param.in === 'body' || param.type === 'file')) {\n op = processParameter(param, op, path, method, p, openapi, options);\n\n if (options.rbname && op[options.rbname] === '') {\n delete op[options.rbname];\n }\n }\n };\n\n for (var _i = 0, _a = path.parameters; _i < _a.length; _i++) {\n var param = _a[_i];\n\n _loop_1(param);\n }\n }\n\n for (var _b = 0, _c = op.parameters; _b < _c.length; _b++) {\n var param = _c[_b];\n op = processParameter(param, op, path, method, method + ':' + p, openapi, options);\n }\n\n if (options.rbname && op[options.rbname] === '') {\n delete op[options.rbname];\n }\n\n if (!options.debug) {\n op.parameters = op.parameters.filter(keepParameters);\n }\n }\n\n if (op && op.security) processSecurity(op.security); //don't need to remove requestBody for non-supported ops as they \"SHALL be ignored\"\n // responses\n\n if (typeof op === 'object') {\n if (!op.responses) {\n var defaultResp = {};\n defaultResp.description = 'Default response';\n op.responses = {\n default: defaultResp\n };\n }\n\n for (var r in op.responses) {\n var response = op.responses[r];\n processResponse(response, r, op, openapi, options);\n }\n }\n\n if (op && op['x-servers'] && Array.isArray(op['x-servers'])) {\n op.servers = op['x-servers'];\n delete op['x-servers'];\n } else if (op && op.schemes && op.schemes.length) {\n for (var _d = 0, _e = op.schemes; _d < _e.length; _d++) {\n var scheme = _e[_d];\n\n if (!openapi.schemes || openapi.schemes.indexOf(scheme) < 0) {\n if (!op.servers) {\n op.servers = [];\n }\n\n if (Array.isArray(openapi.servers)) {\n for (var _f = 0, _g = openapi.servers; _f < _g.length; _f++) {\n var server = _g[_f];\n var newServer = clone(server);\n var serverUrl = url.parse(newServer.url);\n serverUrl.protocol = scheme;\n newServer.url = serverUrl.format();\n op.servers.push(newServer);\n }\n }\n }\n }\n }\n\n if (options.debug) {\n op[\"x-s2o-consumes\"] = op.consumes || [];\n op[\"x-s2o-produces\"] = op.produces || [];\n }\n\n if (op) {\n delete op.consumes;\n delete op.produces;\n delete op.schemes;\n\n if (op[\"x-ms-examples\"]) {\n for (var e in op[\"x-ms-examples\"]) {\n var example = op[\"x-ms-examples\"][e];\n var se = common.sanitiseAll(e);\n\n if (example.parameters) {\n for (var p_1 in example.parameters) {\n var value = example.parameters[p_1];\n\n for (var _h = 0, _j = (op.parameters || []).concat(path.parameters || []); _h < _j.length; _h++) {\n var param = _j[_h];\n\n if (param.$ref) {\n param = jptr.jptr(openapi, param.$ref);\n }\n\n if (param.name === p_1 && !param.example) {\n if (!param.examples) {\n param.examples = {};\n }\n\n param.examples[e] = {\n value: value\n };\n }\n }\n }\n }\n\n if (example.responses) {\n for (var r in example.responses) {\n if (example.responses[r].headers) {\n for (var h in example.responses[r].headers) {\n var value = example.responses[r].headers[h];\n\n for (var rh in op.responses[r].headers) {\n if (rh === h) {\n var header = op.responses[r].headers[rh];\n header.example = value;\n }\n }\n }\n }\n\n if (example.responses[r].body) {\n openapi.components.examples[se] = {\n value: clone(example.responses[r].body)\n };\n\n if (op.responses[r] && op.responses[r].content) {\n for (var ct in op.responses[r].content) {\n var contentType = op.responses[r].content[ct];\n\n if (!contentType.examples) {\n contentType.examples = {};\n }\n\n contentType.examples[e] = {\n $ref: '#/components/examples/' + se\n };\n }\n }\n }\n }\n }\n }\n\n delete op[\"x-ms-examples\"];\n }\n\n if (op.parameters && op.parameters.length === 0) delete op.parameters;\n\n if (op.requestBody) {\n var effectiveOperationId = op.operationId ? common.sanitiseAll(op.operationId) : common.sanitiseAll(method + p).toCamelCase();\n var rbName = common.sanitise(op.requestBody['x-s2o-name'] || effectiveOperationId || '');\n delete op.requestBody['x-s2o-name'];\n var rbStr = JSON.stringify(op.requestBody);\n var rbHash = common.hash(rbStr);\n\n if (!requestBodyCache[rbHash]) {\n var entry = {};\n entry.name = rbName;\n entry.body = op.requestBody;\n entry.refs = [];\n requestBodyCache[rbHash] = entry;\n }\n\n var ptr = '#/' + containerName + '/' + encodeURIComponent(jptr.jpescape(p)) + '/' + method + '/requestBody';\n requestBodyCache[rbHash].refs.push(ptr);\n }\n }\n }\n }\n\n if (path && path.parameters) {\n for (var p2 in path.parameters) {\n var param = path.parameters[p2];\n processParameter(param, null, path, null, p, openapi, options); // index here is the path string\n }\n\n if (!options.debug && Array.isArray(path.parameters)) {\n path.parameters = path.parameters.filter(keepParameters);\n }\n }\n }\n }\n\n function main(openapi, options) {\n var requestBodyCache = {};\n componentNames = {\n schemas: {}\n };\n if (openapi.security) processSecurity(openapi.security);\n\n for (var s in openapi.components.securitySchemes) {\n var sname = common.sanitise(s);\n\n if (s != sname) {\n if (openapi.components.securitySchemes[sname]) {\n throwError('Duplicate sanitised securityScheme name ' + sname, options);\n }\n\n openapi.components.securitySchemes[sname] = openapi.components.securitySchemes[s];\n delete openapi.components.securitySchemes[s];\n }\n\n processSecurityScheme(openapi.components.securitySchemes[sname], options);\n }\n\n for (var s in openapi.components.schemas) {\n var sname = common.sanitiseAll(s);\n var suffix = '';\n\n if (s != sname) {\n while (openapi.components.schemas[sname + suffix]) {\n // @ts-ignore\n suffix = suffix ? ++suffix : 2;\n }\n\n openapi.components.schemas[sname + suffix] = openapi.components.schemas[s];\n delete openapi.components.schemas[s];\n }\n\n componentNames.schemas[s] = sname + suffix;\n fixUpSchema(openapi.components.schemas[sname + suffix], options);\n } // fix all $refs to their new locations (and potentially new names)\n\n\n options.refmap = {};\n recurse(openapi, {\n payload: {\n options: options\n }\n }, fixupRefs);\n dedupeRefs(openapi, options);\n\n for (var p in openapi.components.parameters) {\n var sname = common.sanitise(p);\n\n if (p != sname) {\n if (openapi.components.parameters[sname]) {\n throwError('Duplicate sanitised parameter name ' + sname, options);\n }\n\n openapi.components.parameters[sname] = openapi.components.parameters[p];\n delete openapi.components.parameters[p];\n }\n\n var param = openapi.components.parameters[sname];\n processParameter(param, null, null, null, sname, openapi, options);\n }\n\n for (var r in openapi.components.responses) {\n var sname = common.sanitise(r);\n\n if (r != sname) {\n if (openapi.components.responses[sname]) {\n throwError('Duplicate sanitised response name ' + sname, options);\n }\n\n openapi.components.responses[sname] = openapi.components.responses[r];\n delete openapi.components.responses[r];\n }\n\n var response = openapi.components.responses[sname];\n processResponse(response, sname, null, openapi, options);\n\n if (response.headers) {\n for (var h in response.headers) {\n if (h.toLowerCase() === 'status code') {\n if (options.patch) {\n delete response.headers[h];\n } else {\n throwError('(Patchable) \"Status Code\" is not a valid header', options);\n }\n } else {\n processHeader(response.headers[h], options);\n }\n }\n }\n }\n\n for (var r in openapi.components.requestBodies) {\n // converted ones\n var rb = openapi.components.requestBodies[r];\n var rbStr = JSON.stringify(rb);\n var rbHash = common.hash(rbStr);\n var entry = {};\n entry.name = r;\n entry.body = rb;\n entry.refs = [];\n requestBodyCache[rbHash] = entry;\n }\n\n processPaths(openapi.paths, 'paths', options, requestBodyCache, openapi);\n\n if (openapi[\"x-ms-paths\"]) {\n processPaths(openapi[\"x-ms-paths\"], 'x-ms-paths', options, requestBodyCache, openapi);\n }\n\n if (!options.debug) {\n for (var p in openapi.components.parameters) {\n var param = openapi.components.parameters[p];\n\n if (param[\"x-s2o-delete\"]) {\n delete openapi.components.parameters[p];\n }\n }\n }\n\n if (options.debug) {\n openapi[\"x-s2o-consumes\"] = openapi.consumes || [];\n openapi[\"x-s2o-produces\"] = openapi.produces || [];\n }\n\n delete openapi.consumes;\n delete openapi.produces;\n delete openapi.schemes;\n var rbNamesGenerated = [];\n openapi.components.requestBodies = {}; // for now as we've dereffed them\n\n if (!options.resolveInternal) {\n var counter = 1;\n\n for (var e in requestBodyCache) {\n var entry = requestBodyCache[e];\n\n if (entry.refs.length > 1) {\n // create a shared requestBody\n var suffix = '';\n\n if (!entry.name) {\n entry.name = 'requestBody'; // @ts-ignore\n\n suffix = counter++;\n }\n\n while (rbNamesGenerated.indexOf(entry.name + suffix) >= 0) {\n // @ts-ignore - this can happen if descriptions are not exactly the same (e.g. bitbucket)\n suffix = suffix ? ++suffix : 2;\n }\n\n entry.name = entry.name + suffix;\n rbNamesGenerated.push(entry.name);\n openapi.components.requestBodies[entry.name] = clone(entry.body);\n\n for (var r in entry.refs) {\n var ref = {};\n ref.$ref = '#/components/requestBodies/' + entry.name;\n jptr.jptr(openapi, entry.refs[r], ref);\n }\n }\n }\n }\n\n if (openapi.components.responses && Object.keys(openapi.components.responses).length === 0) {\n delete openapi.components.responses;\n }\n\n if (openapi.components.parameters && Object.keys(openapi.components.parameters).length === 0) {\n delete openapi.components.parameters;\n }\n\n if (openapi.components.examples && Object.keys(openapi.components.examples).length === 0) {\n delete openapi.components.examples;\n }\n\n if (openapi.components.requestBodies && Object.keys(openapi.components.requestBodies).length === 0) {\n delete openapi.components.requestBodies;\n }\n\n if (openapi.components.securitySchemes && Object.keys(openapi.components.securitySchemes).length === 0) {\n delete openapi.components.securitySchemes;\n }\n\n if (openapi.components.headers && Object.keys(openapi.components.headers).length === 0) {\n delete openapi.components.headers;\n }\n\n if (openapi.components.schemas && Object.keys(openapi.components.schemas).length === 0) {\n delete openapi.components.schemas;\n }\n\n if (openapi.components && Object.keys(openapi.components).length === 0) {\n delete openapi.components;\n }\n\n return openapi;\n }\n\n function extractServerParameters(server) {\n if (!server || !server.url || typeof server.url !== 'string') return server;\n server.url = server.url.split('{{').join('{');\n server.url = server.url.split('}}').join('}');\n server.url.replace(/\\{(.+?)\\}/g, function (match, group1) {\n if (!server.variables) {\n server.variables = {};\n }\n\n server.variables[group1] = {\n default: 'unknown'\n };\n });\n return server;\n }\n\n function fixInfo(openapi, options, reject) {\n if (typeof openapi.info === 'undefined' || openapi.info === null) {\n if (options.patch) {\n openapi.info = {\n version: '',\n title: ''\n };\n } else {\n return reject(new S2OError('(Patchable) info object is mandatory'));\n }\n }\n\n if (typeof openapi.info !== 'object' || Array.isArray(openapi.info)) {\n return reject(new S2OError('info must be an object'));\n }\n\n if (typeof openapi.info.title === 'undefined' || openapi.info.title === null) {\n if (options.patch) {\n openapi.info.title = '';\n } else {\n return reject(new S2OError('(Patchable) info.title cannot be null'));\n }\n }\n\n if (typeof openapi.info.version === 'undefined' || openapi.info.version === null) {\n if (options.patch) {\n openapi.info.version = '';\n } else {\n return reject(new S2OError('(Patchable) info.version cannot be null'));\n }\n }\n\n if (typeof openapi.info.version !== 'string') {\n if (options.patch) {\n openapi.info.version = openapi.info.version.toString();\n } else {\n return reject(new S2OError('(Patchable) info.version must be a string'));\n }\n }\n\n if (typeof openapi.info.logo !== 'undefined') {\n if (options.patch) {\n openapi.info['x-logo'] = openapi.info.logo;\n delete openapi.info.logo;\n } else return reject(new S2OError('(Patchable) info should not have logo property'));\n }\n\n if (typeof openapi.info.termsOfService !== 'undefined') {\n if (openapi.info.termsOfService === null) {\n if (options.patch) {\n openapi.info.termsOfService = '';\n } else {\n return reject(new S2OError('(Patchable) info.termsOfService cannot be null'));\n }\n }\n\n if (url.URL && options.whatwg) {\n try {\n url.URL.parse(openapi.info.termsOfService);\n } catch (ex) {\n if (options.patch) {\n delete openapi.info.termsOfService;\n } else return reject(new S2OError('(Patchable) info.termsOfService must be a URL'));\n }\n }\n }\n }\n\n function fixPaths(openapi, options, reject) {\n if (typeof openapi.paths === 'undefined') {\n if (options.patch) {\n openapi.paths = {};\n } else {\n return reject(new S2OError('(Patchable) paths object is mandatory'));\n }\n }\n }\n\n function convertObj(swagger, options, callback) {\n return maybe(callback, new Promise(function (resolve, reject) {\n if (!swagger) swagger = {};\n options.original = swagger;\n if (!options.text) options.text = yaml.stringify(swagger);\n options.externals = [];\n options.externalRefs = {};\n options.rewriteRefs = true; // avoids stack explosions\n\n options.preserveMiro = true;\n options.promise = {};\n options.promise.resolve = resolve;\n options.promise.reject = reject;\n if (!options.cache) options.cache = {};\n if (options.source) options.cache[options.source] = options.original;\n\n if (swagger.openapi && typeof swagger.openapi === 'string' && swagger.openapi.startsWith('3.')) {\n options.openapi = cclone(swagger);\n fixInfo(options.openapi, options, reject);\n fixPaths(options.openapi, options, reject);\n resolver.optionalResolve(options) // is a no-op if options.resolve is not set\n .then(function () {\n if (options.direct) {\n return resolve(options.openapi);\n } else {\n return resolve(options);\n }\n }).catch(function (ex) {\n console.warn(ex);\n reject(ex);\n });\n return; // we should have resolved or rejected by now\n }\n\n if (!swagger.swagger || swagger.swagger != \"2.0\") {\n return reject(new S2OError('Unsupported swagger/OpenAPI version: ' + (swagger.openapi ? swagger.openapi : swagger.swagger)));\n }\n\n var openapi = options.openapi = {};\n openapi.openapi = typeof options.targetVersion === 'string' && options.targetVersion.startsWith('3.') ? options.targetVersion : targetVersion; // semver\n\n if (options.origin) {\n if (!openapi[\"x-origin\"]) {\n openapi[\"x-origin\"] = [];\n }\n\n var origin = {};\n origin.url = options.source || options.origin;\n origin.format = 'swagger';\n origin.version = swagger.swagger;\n origin.converter = {};\n origin.converter.url = 'https://github.com/mermade/oas-kit';\n origin.converter.version = ourVersion;\n openapi[\"x-origin\"].push(origin);\n } // we want the new and existing properties to appear in a sensible order. Not guaranteed\n\n\n openapi = Object.assign(openapi, cclone(swagger));\n delete openapi.swagger;\n recurse(openapi, {}, function (obj, key, state) {\n if (obj[key] === null && !key.startsWith('x-') && key !== 'default' && state.path.indexOf('/example') < 0) delete obj[key]; // this saves *so* much grief later\n });\n\n if (swagger.host) {\n for (var _i = 0, _a = Array.isArray(swagger.schemes) ? swagger.schemes : ['']; _i < _a.length; _i++) {\n var s = _a[_i];\n var server = {};\n server.url = (s ? s + ':' : '') + '//' + swagger.host + (swagger.basePath ? swagger.basePath : '');\n extractServerParameters(server);\n if (!openapi.servers) openapi.servers = [];\n openapi.servers.push(server);\n }\n } else if (swagger.basePath) {\n var server = {};\n server.url = swagger.basePath;\n extractServerParameters(server);\n if (!openapi.servers) openapi.servers = [];\n openapi.servers.push(server);\n }\n\n delete openapi.host;\n delete openapi.basePath;\n\n if (openapi['x-servers'] && Array.isArray(openapi['x-servers'])) {\n openapi.servers = openapi['x-servers'];\n delete openapi['x-servers'];\n } // TODO APIMatic extensions (x-server-configuration) ?\n\n\n if (swagger['x-ms-parameterized-host']) {\n var xMsPHost = swagger['x-ms-parameterized-host'];\n var server_1 = {};\n server_1.url = xMsPHost.hostTemplate + (swagger.basePath ? swagger.basePath : '');\n server_1.variables = {};\n\n for (var msp in xMsPHost.parameters) {\n var param = xMsPHost.parameters[msp];\n\n if (param.$ref) {\n param = clone(resolveInternal(openapi, param.$ref));\n }\n\n if (!msp.startsWith('x-')) {\n delete param.required; // all true\n\n delete param.type; // all strings\n\n delete param.in; // all 'host'\n\n if (typeof param.default === 'undefined') {\n if (param.enum) {\n param.default = param.enum[0];\n } else {\n param.default = '';\n }\n }\n\n server_1.variables[param.name] = param;\n delete param.name;\n }\n }\n\n if (!openapi.servers) openapi.servers = [];\n\n if (xMsPHost.useSchemePrefix === false) {\n // The server URL already includes a protocol scheme\n openapi.servers.push(server_1);\n } else {\n // Define this server once for each given protocol scheme\n swagger.schemes.forEach(function (scheme) {\n openapi.servers.push(Object.assign({}, server_1, {\n url: scheme + '://' + server_1.url\n }));\n });\n }\n\n delete openapi['x-ms-parameterized-host'];\n }\n\n fixInfo(openapi, options, reject);\n fixPaths(openapi, options, reject);\n\n if (typeof openapi.consumes === 'string') {\n openapi.consumes = [openapi.consumes];\n }\n\n if (typeof openapi.produces === 'string') {\n openapi.produces = [openapi.produces];\n }\n\n openapi.components = {};\n\n if (openapi['x-callbacks']) {\n openapi.components.callbacks = openapi['x-callbacks'];\n delete openapi['x-callbacks'];\n }\n\n openapi.components.examples = {};\n openapi.components.headers = {};\n\n if (openapi['x-links']) {\n openapi.components.links = openapi['x-links'];\n delete openapi['x-links'];\n }\n\n openapi.components.parameters = openapi.parameters || {};\n openapi.components.responses = openapi.responses || {};\n openapi.components.requestBodies = {};\n openapi.components.securitySchemes = openapi.securityDefinitions || {};\n openapi.components.schemas = openapi.definitions || {};\n delete openapi.definitions;\n delete openapi.responses;\n delete openapi.parameters;\n delete openapi.securityDefinitions;\n resolver.optionalResolve(options) // is a no-op if options.resolve is not set\n .then(function () {\n main(options.openapi, options);\n\n if (options.direct) {\n resolve(options.openapi);\n } else {\n resolve(options);\n }\n }).catch(function (ex) {\n console.warn(ex);\n reject(ex);\n });\n }));\n }\n\n function convertStr(str, options, callback) {\n return maybe(callback, new Promise(function (resolve, reject) {\n var obj = null;\n var error = null;\n\n try {\n obj = JSON.parse(str);\n options.text = JSON.stringify(obj, null, 2);\n } catch (ex) {\n error = ex;\n\n try {\n obj = yaml.parse(str, {\n schema: 'core',\n prettyErrors: true\n });\n options.sourceYaml = true;\n options.text = str;\n } catch (ex) {\n error = ex;\n }\n }\n\n if (obj) {\n convertObj(obj, options).then(function (options) {\n return resolve(options);\n }).catch(function (ex) {\n return reject(ex);\n });\n } else {\n reject(new S2OError(error ? error.message : 'Could not parse string'));\n }\n }));\n }\n\n function convertUrl(url, options, callback) {\n return maybe(callback, new Promise(function (resolve, reject) {\n options.origin = true;\n\n if (!options.source) {\n options.source = url;\n }\n\n if (options.verbose) {\n console.warn('GET ' + url);\n }\n\n fetch(url, {\n agent: options.agent\n }).then(function (res) {\n if (res.status !== 200) throw new S2OError(\"Received status code \" + res.status);\n return res.text();\n }).then(function (body) {\n convertStr(body, options).then(function (options) {\n return resolve(options);\n }).catch(function (ex) {\n return reject(ex);\n });\n }).catch(function (err) {\n reject(err);\n });\n }));\n }\n\n function convertFile(filename, options, callback) {\n return maybe(callback, new Promise(function (resolve, reject) {\n fs.readFile(filename, options.encoding || 'utf8', function (err, s) {\n if (err) {\n reject(err);\n } else {\n options.sourceFile = filename;\n convertStr(s, options).then(function (options) {\n return resolve(options);\n }).catch(function (ex) {\n return reject(ex);\n });\n }\n });\n }));\n }\n\n function convertStream(readable, options, callback) {\n return maybe(callback, new Promise(function (resolve, reject) {\n var data = '';\n readable.on('data', function (chunk) {\n data += chunk;\n }).on('end', function () {\n convertStr(data, options).then(function (options) {\n return resolve(options);\n }).catch(function (ex) {\n return reject(ex);\n });\n });\n }));\n }\n\n module.exports = {\n S2OError: S2OError,\n targetVersion: targetVersion,\n convert: convertObj,\n convertObj: convertObj,\n convertUrl: convertUrl,\n convertStr: convertStr,\n convertFile: convertFile,\n convertStream: convertStream\n };\n /***/\n },\n /* 39 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n\n function areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n\n for (var i = 0; i < newInputs.length; i++) {\n if (newInputs[i] !== lastInputs[i]) {\n return false;\n }\n }\n\n return true;\n }\n\n function memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) {\n isEqual = areInputsEqual;\n }\n\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n\n function memoized() {\n var newArgs = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n\n return memoized;\n }\n\n module.exports = memoizeOne;\n /***/\n },\n /* 40 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"react-dropdown\");\n /***/\n },\n /* 41 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"dompurify\");\n /***/\n },\n /* 42 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"classnames\");\n /***/\n },\n /* 43 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"call-me-maybe\");\n /***/\n },\n /* 44 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n\n var tslib_1 = __webpack_require__(1);\n\n var fs = __webpack_require__(27);\n\n var path = __webpack_require__(13);\n\n var url = __webpack_require__(5);\n\n var fetch = __webpack_require__(11);\n\n var yaml = __webpack_require__(11);\n\n var jptr = __webpack_require__(17).jptr;\n\n var recurse = __webpack_require__(22).recurse;\n\n var clone = __webpack_require__(18).clone;\n\n var deRef = __webpack_require__(45).dereference;\n\n var isRef = __webpack_require__(21).isRef;\n\n var common = __webpack_require__(28);\n\n function unique(arr) {\n return tslib_1.__spreadArrays(new Set(arr));\n }\n\n function readFileAsync(filename, encoding) {\n return new Promise(function (resolve, reject) {\n fs.readFile(filename, encoding, function (err, data) {\n if (err) reject(err);else resolve(data);\n });\n });\n }\n\n function resolveAllFragment(obj, context, src, parentPath, base, options) {\n var attachPoint = options.externalRefs[src + parentPath].paths[0];\n var baseUrl = url.parse(base);\n var seen = {}; // seen is indexed by the $ref value and contains path replacements\n\n var changes = 1;\n\n while (changes) {\n changes = 0;\n recurse(obj, {\n identityDetection: true\n }, function (obj, key, state) {\n if (isRef(obj, key)) {\n if (obj[key].startsWith('#')) {\n if (!seen[obj[key]] && !obj.$fixed) {\n var target = clone(jptr(context, obj[key]));\n if (options.verbose > 1) console.warn((target === false ? common.colour.red : common.colour.green) + 'Fragment resolution', obj[key], common.colour.normal);\n /*\n ResolutionCase:A is where there is a local reference in an externally\n referenced document, and we have not seen it before. The reference\n is replaced by a copy of the data pointed to, which may be outside this fragment\n but within the context of the external document\n */\n\n if (target === false) {\n state.parent[state.pkey] = {};\n /* case:A(2) where the resolution fails */\n\n if (options.fatal) {\n var ex = new Error('Fragment $ref resolution failed ' + obj[key]);\n if (options.promise) options.promise.reject(ex);else throw ex;\n }\n } else {\n changes++;\n state.parent[state.pkey] = target;\n seen[obj[key]] = state.path.replace('/%24ref', '');\n }\n } else {\n if (!obj.$fixed) {\n var newRef = (attachPoint + '/' + seen[obj[key]]).split('/#/').join('/');\n state.parent[state.pkey] = {\n $ref: newRef,\n 'x-miro': obj[key],\n $fixed: true\n };\n if (options.verbose > 1) console.warn('Replacing with', newRef);\n changes++;\n }\n /*\n ResolutionCase:B is where there is a local reference in an externally\n referenced document, and we have seen this reference before and resolved it.\n We create a new object containing the (immutable) $ref string\n */\n\n }\n } else if (baseUrl.protocol) {\n var newRef = url.resolve(base, obj[key]).toString();\n if (options.verbose > 1) console.warn(common.colour.yellow + 'Rewriting external url ref', obj[key], 'as', newRef, common.colour.normal);\n obj['x-miro'] = obj[key];\n obj[key] = newRef;\n } else if (!obj['x-miro']) {\n var newRef = url.resolve(base, obj[key]).toString();\n if (options.verbose > 1) console.warn(common.colour.yellow + 'Rewriting external ref', obj[key], 'as', newRef, common.colour.normal);\n obj['x-miro'] = obj[key]; // we use x-miro as a flag so we don't do this > once\n\n obj[key] = newRef;\n }\n }\n });\n }\n\n recurse(obj, {}, function (obj, key, state) {\n if (isRef(obj, key)) {\n if (typeof obj.$fixed !== 'undefined') delete obj.$fixed;\n }\n });\n if (options.verbose > 1) console.warn('Finished fragment resolution');\n return obj;\n }\n\n function filterData(data, options) {\n if (!options.filters || !options.filters.length) return data;\n\n for (var _i = 0, _a = options.filters; _i < _a.length; _i++) {\n var filter = _a[_i];\n data = filter(data, options);\n }\n\n return data;\n }\n\n function testProtocol(input, backup) {\n if (input && input.length > 2) return input;\n if (backup && backup.length > 2) return backup;\n return 'file:';\n }\n\n function resolveExternal(root, pointer, options, callback) {\n var u = url.parse(options.source);\n var base = options.source.split('\\\\').join('/').split('/');\n var doc = base.pop(); // drop the actual filename\n\n if (!doc) base.pop(); // in case it ended with a /\n\n var fragment = '';\n var fnComponents = pointer.split('#');\n\n if (fnComponents.length > 1) {\n fragment = '#' + fnComponents[1];\n pointer = fnComponents[0];\n }\n\n base = base.join('/');\n var u2 = url.parse(pointer);\n var effectiveProtocol = testProtocol(u2.protocol, u.protocol);\n var target;\n\n if (effectiveProtocol === 'file:') {\n target = path.resolve(base ? base + '/' : '', pointer);\n } else {\n target = url.resolve(base ? base + '/' : '', pointer);\n }\n\n if (options.cache[target]) {\n if (options.verbose) console.warn('CACHED', target, fragment);\n /*\n resolutionSource:A this is where we have cached the externally-referenced document from a\n file, http or custom handler\n */\n\n var context = clone(options.cache[target]);\n var data = options.externalRef = context;\n\n if (fragment) {\n data = jptr(data, fragment);\n\n if (data === false) {\n data = {}; // case:A(2) where the resolution fails\n\n if (options.fatal) {\n var ex = new Error('Cached $ref resolution failed ' + target + fragment);\n if (options.promise) options.promise.reject(ex);else throw ex;\n }\n }\n }\n\n data = resolveAllFragment(data, context, pointer, fragment, target, options);\n data = filterData(data, options);\n callback(clone(data), target, options);\n return Promise.resolve(data);\n }\n\n if (options.verbose) console.warn('GET', target, fragment);\n\n if (options.handlers && options.handlers[effectiveProtocol]) {\n return options.handlers[effectiveProtocol](base, pointer, fragment, options).then(function (data) {\n options.externalRef = data;\n data = filterData(data, options);\n options.cache[target] = data;\n callback(data, target, options);\n return data;\n }).catch(function (ex) {\n if (options.verbose) console.warn(ex);\n throw ex;\n });\n } else if (effectiveProtocol && effectiveProtocol.startsWith('http')) {\n return fetch(target, {\n agent: options.agent\n }).then(function (res) {\n if (res.status !== 200) throw new Error(\"Received status code \" + res.status);\n return res.text();\n }).then(function (data) {\n try {\n var context = yaml.parse(data, {\n schema: 'core',\n prettyErrors: true\n });\n data = options.externalRef = context;\n options.cache[target] = clone(data);\n /* resolutionSource:B, from the network, data is fresh, but we clone it into the cache */\n\n if (fragment) {\n data = jptr(data, fragment);\n\n if (data === false) {\n data = {};\n /* case:B(2) where the resolution fails */\n\n if (options.fatal) {\n var ex = new Error('Remote $ref resolution failed ' + target + fragment);\n if (options.promise) options.promise.reject(ex);else throw ex;\n }\n }\n }\n\n data = resolveAllFragment(data, context, pointer, fragment, target, options);\n data = filterData(data, options);\n } catch (ex) {\n if (options.verbose) console.warn(ex);\n if (options.promise && options.fatal) options.promise.reject(ex);else throw ex;\n }\n\n callback(data, target, options);\n return data;\n }).catch(function (err) {\n if (options.verbose) console.warn(err);\n options.cache[target] = {};\n if (options.promise && options.fatal) options.promise.reject(err);else throw err;\n });\n } else {\n return readFileAsync(target, options.encoding || 'utf8').then(function (data) {\n try {\n var context = yaml.parse(data, {\n schema: 'core',\n prettyErrors: true\n });\n data = options.externalRef = context;\n /*\n resolutionSource:C from a file, data is fresh but we clone it into the cache\n */\n\n options.cache[target] = clone(data);\n\n if (fragment) {\n data = jptr(data, fragment);\n\n if (data === false) {\n data = {};\n /* case:C(2) where the resolution fails */\n\n if (options.fatal) {\n var ex = new Error('File $ref resolution failed ' + target + fragment);\n if (options.promise) options.promise.reject(ex);else throw ex;\n }\n }\n }\n\n data = resolveAllFragment(data, context, pointer, fragment, target, options);\n data = filterData(data, options);\n } catch (ex) {\n if (options.verbose) console.warn(ex);\n if (options.promise && options.fatal) options.promise.reject(ex);else throw ex;\n }\n\n callback(data, target, options);\n return data;\n }).catch(function (err) {\n if (options.verbose) console.warn(err);\n if (options.promise && options.fatal) options.promise.reject(err);else throw err;\n });\n }\n }\n\n function scanExternalRefs(options) {\n return new Promise(function (res, rej) {\n function inner(obj, key, state) {\n if (obj[key] && isRef(obj[key], '$ref')) {\n var $ref_1 = obj[key].$ref;\n\n if (!$ref_1.startsWith('#')) {\n // is external\n var $extra = '';\n\n if (!refs[$ref_1]) {\n var potential = Object.keys(refs).find(function (e, i, a) {\n return $ref_1.startsWith(e + '/');\n });\n\n if (potential) {\n if (options.verbose) console.warn('Found potential subschema at', potential);\n $extra = '/' + ($ref_1.split('#')[1] || '').replace(potential.split('#')[1] || '');\n $extra = $extra.split('/undefined').join(''); // FIXME\n\n $ref_1 = potential;\n }\n }\n\n if (!refs[$ref_1]) {\n refs[$ref_1] = {\n resolved: false,\n paths: [],\n extras: {},\n description: obj[key].description\n };\n }\n\n if (refs[$ref_1].resolved) {\n if (options.rewriteRefs) {\n // we've already seen it\n var newRef = refs[$ref_1].resolvedAt;\n if (options.verbose > 1) console.warn('Rewriting ref', $ref_1, newRef);\n obj[key]['x-miro'] = $ref_1;\n obj[key].$ref = newRef + $extra; // resolutionCase:C (new string)\n } else {\n obj[key] = clone(refs[$ref_1].data); // resolutionCase:D (cloned:yes)\n }\n } else {\n refs[$ref_1].paths.push(state.path);\n refs[$ref_1].extras[state.path] = $extra;\n }\n }\n }\n }\n\n var refs = options.externalRefs;\n\n if (options.resolver.depth > 0 && options.source === options.resolver.base) {\n // we only need to do any of this when called directly on pass #1\n return res(refs);\n }\n\n recurse(options.openapi.definitions, {\n identityDetection: true,\n path: '#/definitions'\n }, inner);\n recurse(options.openapi.components, {\n identityDetection: true,\n path: '#/components'\n }, inner);\n recurse(options.openapi, {\n identityDetection: true\n }, inner);\n res(refs);\n });\n }\n\n function findExternalRefs(options) {\n return new Promise(function (res, rej) {\n scanExternalRefs(options).then(function (refs) {\n var _loop_1 = function _loop_1(ref) {\n if (!refs[ref].resolved) {\n var depth = options.resolver.depth;\n if (depth > 0) depth++;\n options.resolver.actions[depth].push(function () {\n return resolveExternal(options.openapi, ref, options, function (data, source, options) {\n if (!refs[ref].resolved) {\n var external = {};\n external.context = refs[ref];\n external.$ref = ref;\n external.original = clone(data);\n external.updated = data;\n external.source = source;\n options.externals.push(external);\n refs[ref].resolved = true;\n }\n\n var localOptions = Object.assign({}, options, {\n source: '',\n resolver: {\n actions: options.resolver.actions,\n depth: options.resolver.actions.length - 1,\n base: options.resolver.base\n }\n });\n\n if (options.patch && refs[ref].description && !data.description && typeof data === 'object') {\n data.description = refs[ref].description;\n }\n\n refs[ref].data = data; // sorting $refs by length causes bugs (due to overlapping regions?)\n\n var pointers = unique(refs[ref].paths);\n pointers = pointers.sort(function (a, b) {\n var aComp = a.startsWith('#/components/') || a.startsWith('#/definitions/');\n var bComp = b.startsWith('#/components/') || b.startsWith('#/definitions/');\n if (aComp && !bComp) return -1;\n if (bComp && !aComp) return +1;\n return 0;\n });\n\n for (var _i = 0, pointers_1 = pointers; _i < pointers_1.length; _i++) {\n var ptr = pointers_1[_i]; // shared x-ms-examples $refs confuse the fixupRefs heuristic in index.js\n\n if (refs[ref].resolvedAt && ptr !== refs[ref].resolvedAt && ptr.indexOf('x-ms-examples/') < 0) {\n if (options.verbose > 1) console.warn('Creating pointer to data at', ptr);\n jptr(options.openapi, ptr, {\n $ref: refs[ref].resolvedAt + refs[ref].extras[ptr],\n 'x-miro': ref + refs[ref].extras[ptr]\n }); // resolutionCase:E (new object)\n } else {\n if (refs[ref].resolvedAt) {\n if (options.verbose > 1) console.warn('Avoiding circular reference');\n } else {\n refs[ref].resolvedAt = ptr;\n if (options.verbose > 1) console.warn('Creating initial clone of data at', ptr);\n }\n\n var cdata = clone(data);\n jptr(options.openapi, ptr, cdata); // resolutionCase:F (cloned:yes)\n }\n }\n\n if (options.resolver.actions[localOptions.resolver.depth].length === 0) {\n //options.resolver.actions[localOptions.resolver.depth].push(function () { return scanExternalRefs(localOptions) });\n options.resolver.actions[localOptions.resolver.depth].push(function () {\n return findExternalRefs(localOptions);\n }); // findExternalRefs calls scanExternalRefs\n }\n });\n });\n }\n };\n\n for (var ref in refs) {\n _loop_1(ref);\n }\n }).catch(function (ex) {\n if (options.verbose) console.warn(ex);\n rej(ex);\n });\n var result = {\n options: options\n };\n result.actions = options.resolver.actions[options.resolver.depth];\n res(result);\n });\n }\n\n var serial = function serial(funcs) {\n return funcs.reduce(function (promise, func) {\n return promise.then(function (result) {\n return func().then(Array.prototype.concat.bind(result));\n });\n }, Promise.resolve([]));\n };\n\n function loopReferences(options, res, rej) {\n options.resolver.actions.push([]);\n findExternalRefs(options).then(function (data) {\n serial(data.actions).then(function () {\n if (options.resolver.depth >= options.resolver.actions.length) {\n console.warn('Ran off the end of resolver actions');\n return res(true);\n } else {\n options.resolver.depth++;\n\n if (options.resolver.actions[options.resolver.depth].length) {\n setTimeout(function () {\n loopReferences(data.options, res, rej);\n }, 0);\n } else {\n if (options.verbose > 1) console.warn(common.colour.yellow + 'Finished external resolution!', common.colour.normal);\n\n if (options.resolveInternal) {\n if (options.verbose > 1) console.warn(common.colour.yellow + 'Starting internal resolution!', common.colour.normal);\n options.openapi = deRef(options.openapi, options.original, {\n verbose: options.verbose - 1\n });\n if (options.verbose > 1) console.warn(common.colour.yellow + 'Finished internal resolution!', common.colour.normal);\n }\n\n recurse(options.openapi, {}, function (obj, key, state) {\n if (isRef(obj, key)) {\n if (!options.preserveMiro) delete obj['x-miro'];\n }\n });\n res(options);\n }\n }\n }).catch(function (ex) {\n if (options.verbose) console.warn(ex);\n rej(ex);\n });\n }).catch(function (ex) {\n if (options.verbose) console.warn(ex);\n rej(ex);\n });\n }\n\n function setupOptions(options) {\n if (!options.cache) options.cache = {};\n\n if (options.source) {\n var srcUrl = url.parse(options.source);\n\n if (!srcUrl.protocol || srcUrl.protocol.length <= 2) {\n // windows drive-letters\n options.source = path.resolve(options.source);\n }\n }\n\n if (!options.externals) options.externals = [];\n if (!options.externalRefs) options.externalRefs = {};\n options.rewriteRefs = true;\n options.resolver = {};\n options.resolver.depth = 0;\n options.resolver.base = options.source;\n options.resolver.actions = [[]];\n }\n /** compatibility function for swagger2openapi */\n\n\n function optionalResolve(options) {\n setupOptions(options);\n return new Promise(function (res, rej) {\n if (options.resolve) loopReferences(options, res, rej);else res(options);\n });\n }\n\n function resolve(openapi, source, options) {\n if (!options) options = {};\n options.openapi = openapi;\n options.source = source;\n options.resolve = true;\n setupOptions(options);\n return new Promise(function (res, rej) {\n loopReferences(options, res, rej);\n });\n }\n\n module.exports = {\n optionalResolve: optionalResolve,\n resolve: resolve\n };\n /***/\n },\n /* 45 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n\n var recurse = __webpack_require__(22).recurse;\n\n var clone = __webpack_require__(18).shallowClone;\n\n var jptr = __webpack_require__(17).jptr;\n\n var isRef = __webpack_require__(21).isRef;\n\n var getLogger = function getLogger(options) {\n if (options && options.verbose) {\n return {\n warn: function warn() {\n var args = Array.prototype.slice.call(arguments);\n console.warn.apply(console, args);\n }\n };\n } else {\n return {\n warn: function warn() {//nop\n }\n };\n }\n };\n /**\n * dereferences the given object\n * @param o the object to dereference\n * @definitions a source of definitions to reference\n * @options optional settings (used recursively)\n * @return the dereferenced object\n */\n\n\n function dereference(o, definitions, options) {\n if (!options) options = {};\n if (!options.cache) options.cache = {};\n if (!options.state) options.state = {};\n options.state.identityDetection = true; // options.depth allows us to limit cloning to the first invocation\n\n options.depth = options.depth ? options.depth + 1 : 1;\n var obj = options.depth > 1 ? o : clone(o);\n var container = {\n data: obj\n };\n var defs = options.depth > 1 ? definitions : clone(definitions); // options.master is the top level object, regardless of depth\n\n if (!options.master) options.master = obj;\n var logger = getLogger(options);\n var changes = 1;\n\n while (changes > 0) {\n changes = 0;\n recurse(container, options.state, function (obj, key, state) {\n if (isRef(obj, key)) {\n var $ref = obj[key]; // immutable\n\n changes++;\n\n if (!options.cache[$ref]) {\n var entry = {};\n entry.path = state.path.split('/$ref')[0];\n entry.key = $ref;\n logger.warn('Dereffing %s at %s', $ref, entry.path);\n entry.source = defs;\n entry.data = jptr(entry.source, entry.key);\n\n if (entry.data === false) {\n entry.data = jptr(options.master, entry.key);\n entry.source = options.master;\n }\n\n if (entry.data === false) {\n logger.warn('Missing $ref target', entry.key);\n }\n\n options.cache[$ref] = entry;\n entry.data = state.parent[state.pkey] = dereference(jptr(entry.source, entry.key), entry.source, options);\n if (options.$ref && typeof state.parent[state.pkey] === 'object') state.parent[state.pkey][options.$ref] = $ref;\n entry.resolved = true;\n } else {\n var entry = options.cache[$ref];\n\n if (entry.resolved) {\n // we have already seen and resolved this reference\n logger.warn('Patching %s for %s', $ref, entry.path);\n state.parent[state.pkey] = entry.data;\n if (options.$ref && typeof state.parent[state.pkey] === 'object') state.parent[state.pkey][options.$ref] = $ref;\n } else if ($ref === entry.path) {\n // reference to itself, throw\n throw new Error(\"Tight circle at \" + entry.path);\n } else {\n // we're dealing with a circular reference here\n logger.warn('Unresolved ref');\n state.parent[state.pkey] = jptr(entry.source, entry.path);\n\n if (state.parent[state.pkey] === false) {\n state.parent[state.pkey] = jptr(entry.source, entry.key);\n }\n\n if (options.$ref && typeof state.parent[state.pkey] === 'object') state.parent[options.$ref] = $ref;\n }\n }\n }\n });\n }\n\n return container.data;\n }\n\n module.exports = {\n dereference: dereference\n };\n /***/\n },\n /* 46 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n /**\n * functions to walk an OpenAPI schema object and traverse all subschemas\n * calling a callback function on each one\n */\n\n /**\n * obtains the default starting state for the `state` object used\n * by walkSchema\n * @return the state object suitable for use in walkSchema\n */\n\n function getDefaultState() {\n return {\n depth: 0,\n seen: new WeakMap(),\n top: true,\n combine: false,\n allowRefSiblings: false\n };\n }\n /**\n * begins the walk of a schema object\n * @param parent the parent schema, if any. Use empty object if none\n * @param state the initial starting state of the walker, usually obtained from `getDefaultState`. Use empty object to auto-initialise\n * @param callback a function taking a schema, parent and state to be called on this and all subschemas\n * @return the schema object\n */\n\n\n function walkSchema(schema, parent, state, callback) {\n if (typeof state.depth === 'undefined') state = getDefaultState();\n if (schema === null || typeof schema === 'undefined') return schema;\n\n if (typeof schema.$ref !== 'undefined') {\n var temp = {\n $ref: schema.$ref\n };\n\n if (state.allowRefSiblings && schema.description) {\n temp.description = schema.description;\n }\n\n callback(temp, parent, state);\n return temp; // all other properties SHALL be ignored\n }\n\n if (state.combine) {\n if (schema.allOf && Array.isArray(schema.allOf) && schema.allOf.length === 1) {\n schema = Object.assign({}, schema.allOf[0], schema);\n delete schema.allOf;\n }\n\n if (schema.anyOf && Array.isArray(schema.anyOf) && schema.anyOf.length === 1) {\n schema = Object.assign({}, schema.anyOf[0], schema);\n delete schema.anyOf;\n }\n\n if (schema.oneOf && Array.isArray(schema.oneOf) && schema.oneOf.length === 1) {\n schema = Object.assign({}, schema.oneOf[0], schema);\n delete schema.oneOf;\n }\n }\n\n callback(schema, parent, state);\n\n if (state.seen.has(schema)) {\n return schema;\n } //else\n\n\n if (typeof schema === 'object' && schema !== null) state.seen.set(schema, true);\n state.top = false;\n state.depth++;\n\n if (typeof schema.items !== 'undefined') {\n state.property = 'items';\n walkSchema(schema.items, schema, state, callback);\n }\n\n if (schema.additionalItems) {\n if (typeof schema.additionalItems === 'object') {\n state.property = 'additionalItems';\n walkSchema(schema.additionalItems, schema, state, callback);\n }\n }\n\n if (schema.additionalProperties) {\n if (typeof schema.additionalProperties === 'object') {\n state.property = 'additionalProperties';\n walkSchema(schema.additionalProperties, schema, state, callback);\n }\n }\n\n if (schema.properties) {\n for (var prop in schema.properties) {\n var subSchema = schema.properties[prop];\n state.property = 'properties/' + prop;\n walkSchema(subSchema, schema, state, callback);\n }\n }\n\n if (schema.patternProperties) {\n for (var prop in schema.patternProperties) {\n var subSchema = schema.patternProperties[prop];\n state.property = 'patternProperties/' + prop;\n walkSchema(subSchema, schema, state, callback);\n }\n }\n\n if (schema.allOf) {\n for (var index in schema.allOf) {\n var subSchema = schema.allOf[index];\n state.property = 'allOf/' + index;\n walkSchema(subSchema, schema, state, callback);\n }\n }\n\n if (schema.anyOf) {\n for (var index in schema.anyOf) {\n var subSchema = schema.anyOf[index];\n state.property = 'anyOf/' + index;\n walkSchema(subSchema, schema, state, callback);\n }\n }\n\n if (schema.oneOf) {\n for (var index in schema.oneOf) {\n var subSchema = schema.oneOf[index];\n state.property = 'oneOf/' + index;\n walkSchema(subSchema, schema, state, callback);\n }\n }\n\n if (schema.not) {\n state.property = 'not';\n walkSchema(schema.not, schema, state, callback);\n }\n\n state.depth--;\n return schema;\n }\n\n module.exports = {\n getDefaultState: getDefaultState,\n walkSchema: walkSchema\n };\n /***/\n },\n /* 47 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n\n var http = __webpack_require__(48);\n\n var ours = {\n \"default\": \"Default response\",\n \"1XX\": \"Informational\",\n \"103\": \"Early hints\",\n \"2XX\": \"Successful\",\n \"3XX\": \"Redirection\",\n \"4XX\": \"Client Error\",\n \"5XX\": \"Server Error\",\n \"7XX\": \"Developer Error\" // April fools RFC\n\n };\n module.exports = {\n statusCodes: Object.assign({}, ours, http.STATUS_CODES)\n };\n /***/\n },\n /* 48 */\n\n /***/\n function (module, exports, __webpack_require__) {\n /* WEBPACK VAR INJECTION */\n (function (global) {\n var ClientRequest = __webpack_require__(49);\n\n var response = __webpack_require__(32);\n\n var extend = __webpack_require__(54);\n\n var statusCodes = __webpack_require__(55);\n\n var url = __webpack_require__(5);\n\n var http = exports;\n\n http.request = function (opts, cb) {\n if (typeof opts === 'string') opts = url.parse(opts);else opts = extend(opts); // Normally, the page is loaded from http or https, so not specifying a protocol\n // will result in a (valid) protocol-relative url. However, this won't work if\n // the protocol is something else, like 'file:'\n\n var defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : '';\n var protocol = opts.protocol || defaultProtocol;\n var host = opts.hostname || opts.host;\n var port = opts.port;\n var path = opts.path || '/'; // Necessary for IPv6 addresses\n\n if (host && host.indexOf(':') !== -1) host = '[' + host + ']'; // This may be a relative url. The browser should always be able to interpret it correctly.\n\n opts.url = (host ? protocol + '//' + host : '') + (port ? ':' + port : '') + path;\n opts.method = (opts.method || 'GET').toUpperCase();\n opts.headers = opts.headers || {}; // Also valid opts.auth, opts.mode\n\n var req = new ClientRequest(opts);\n if (cb) req.on('response', cb);\n return req;\n };\n\n http.get = function get(opts, cb) {\n var req = http.request(opts, cb);\n req.end();\n return req;\n };\n\n http.ClientRequest = ClientRequest;\n http.IncomingMessage = response.IncomingMessage;\n\n http.Agent = function () {};\n\n http.Agent.defaultMaxSockets = 4;\n http.globalAgent = new http.Agent();\n http.STATUS_CODES = statusCodes;\n http.METHODS = ['CHECKOUT', 'CONNECT', 'COPY', 'DELETE', 'GET', 'HEAD', 'LOCK', 'M-SEARCH', 'MERGE', 'MKACTIVITY', 'MKCOL', 'MOVE', 'NOTIFY', 'OPTIONS', 'PATCH', 'POST', 'PROPFIND', 'PROPPATCH', 'PURGE', 'PUT', 'REPORT', 'SEARCH', 'SUBSCRIBE', 'TRACE', 'UNLOCK', 'UNSUBSCRIBE'];\n /* WEBPACK VAR INJECTION */\n }).call(this, __webpack_require__(12));\n /***/\n },\n /* 49 */\n\n /***/\n function (module, exports, __webpack_require__) {\n /* WEBPACK VAR INJECTION */\n (function (Buffer, global, process) {\n var capability = __webpack_require__(30);\n\n var inherits = __webpack_require__(31);\n\n var response = __webpack_require__(32);\n\n var stream = __webpack_require__(33);\n\n var toArrayBuffer = __webpack_require__(53);\n\n var IncomingMessage = response.IncomingMessage;\n var rStates = response.readyStates;\n\n function decideMode(preferBinary, useFetch) {\n if (capability.fetch && useFetch) {\n return 'fetch';\n } else if (capability.mozchunkedarraybuffer) {\n return 'moz-chunked-arraybuffer';\n } else if (capability.msstream) {\n return 'ms-stream';\n } else if (capability.arraybuffer && preferBinary) {\n return 'arraybuffer';\n } else if (capability.vbArray && preferBinary) {\n return 'text:vbarray';\n } else {\n return 'text';\n }\n }\n\n var ClientRequest = module.exports = function (opts) {\n var self = this;\n stream.Writable.call(self);\n self._opts = opts;\n self._body = [];\n self._headers = {};\n if (opts.auth) self.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64'));\n Object.keys(opts.headers).forEach(function (name) {\n self.setHeader(name, opts.headers[name]);\n });\n var preferBinary;\n var useFetch = true;\n\n if (opts.mode === 'disable-fetch' || 'requestTimeout' in opts && !capability.abortController) {\n // If the use of XHR should be preferred. Not typically needed.\n useFetch = false;\n preferBinary = true;\n } else if (opts.mode === 'prefer-streaming') {\n // If streaming is a high priority but binary compatibility and\n // the accuracy of the 'content-type' header aren't\n preferBinary = false;\n } else if (opts.mode === 'allow-wrong-content-type') {\n // If streaming is more important than preserving the 'content-type' header\n preferBinary = !capability.overrideMimeType;\n } else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') {\n // Use binary if text streaming may corrupt data or the content-type header, or for speed\n preferBinary = true;\n } else {\n throw new Error('Invalid value for opts.mode');\n }\n\n self._mode = decideMode(preferBinary, useFetch);\n self._fetchTimer = null;\n self.on('finish', function () {\n self._onFinish();\n });\n };\n\n inherits(ClientRequest, stream.Writable);\n\n ClientRequest.prototype.setHeader = function (name, value) {\n var self = this;\n var lowerName = name.toLowerCase(); // This check is not necessary, but it prevents warnings from browsers about setting unsafe\n // headers. To be honest I'm not entirely sure hiding these warnings is a good thing, but\n // http-browserify did it, so I will too.\n\n if (unsafeHeaders.indexOf(lowerName) !== -1) return;\n self._headers[lowerName] = {\n name: name,\n value: value\n };\n };\n\n ClientRequest.prototype.getHeader = function (name) {\n var header = this._headers[name.toLowerCase()];\n\n if (header) return header.value;\n return null;\n };\n\n ClientRequest.prototype.removeHeader = function (name) {\n var self = this;\n delete self._headers[name.toLowerCase()];\n };\n\n ClientRequest.prototype._onFinish = function () {\n var self = this;\n if (self._destroyed) return;\n var opts = self._opts;\n var headersObj = self._headers;\n var body = null;\n\n if (opts.method !== 'GET' && opts.method !== 'HEAD') {\n if (capability.arraybuffer) {\n body = toArrayBuffer(Buffer.concat(self._body));\n } else if (capability.blobConstructor) {\n body = new global.Blob(self._body.map(function (buffer) {\n return toArrayBuffer(buffer);\n }), {\n type: (headersObj['content-type'] || {}).value || ''\n });\n } else {\n // get utf8 string\n body = Buffer.concat(self._body).toString();\n }\n } // create flattened list of headers\n\n\n var headersList = [];\n Object.keys(headersObj).forEach(function (keyName) {\n var name = headersObj[keyName].name;\n var value = headersObj[keyName].value;\n\n if (Array.isArray(value)) {\n value.forEach(function (v) {\n headersList.push([name, v]);\n });\n } else {\n headersList.push([name, value]);\n }\n });\n\n if (self._mode === 'fetch') {\n var signal = null;\n var fetchTimer = null;\n\n if (capability.abortController) {\n var controller = new AbortController();\n signal = controller.signal;\n self._fetchAbortController = controller;\n\n if ('requestTimeout' in opts && opts.requestTimeout !== 0) {\n self._fetchTimer = global.setTimeout(function () {\n self.emit('requestTimeout');\n if (self._fetchAbortController) self._fetchAbortController.abort();\n }, opts.requestTimeout);\n }\n }\n\n global.fetch(self._opts.url, {\n method: self._opts.method,\n headers: headersList,\n body: body || undefined,\n mode: 'cors',\n credentials: opts.withCredentials ? 'include' : 'same-origin',\n signal: signal\n }).then(function (response) {\n self._fetchResponse = response;\n\n self._connect();\n }, function (reason) {\n global.clearTimeout(self._fetchTimer);\n if (!self._destroyed) self.emit('error', reason);\n });\n } else {\n var xhr = self._xhr = new global.XMLHttpRequest();\n\n try {\n xhr.open(self._opts.method, self._opts.url, true);\n } catch (err) {\n process.nextTick(function () {\n self.emit('error', err);\n });\n return;\n } // Can't set responseType on really old browsers\n\n\n if ('responseType' in xhr) xhr.responseType = self._mode.split(':')[0];\n if ('withCredentials' in xhr) xhr.withCredentials = !!opts.withCredentials;\n if (self._mode === 'text' && 'overrideMimeType' in xhr) xhr.overrideMimeType('text/plain; charset=x-user-defined');\n\n if ('requestTimeout' in opts) {\n xhr.timeout = opts.requestTimeout;\n\n xhr.ontimeout = function () {\n self.emit('requestTimeout');\n };\n }\n\n headersList.forEach(function (header) {\n xhr.setRequestHeader(header[0], header[1]);\n });\n self._response = null;\n\n xhr.onreadystatechange = function () {\n switch (xhr.readyState) {\n case rStates.LOADING:\n case rStates.DONE:\n self._onXHRProgress();\n\n break;\n }\n }; // Necessary for streaming in Firefox, since xhr.response is ONLY defined\n // in onprogress, not in onreadystatechange with xhr.readyState = 3\n\n\n if (self._mode === 'moz-chunked-arraybuffer') {\n xhr.onprogress = function () {\n self._onXHRProgress();\n };\n }\n\n xhr.onerror = function () {\n if (self._destroyed) return;\n self.emit('error', new Error('XHR error'));\n };\n\n try {\n xhr.send(body);\n } catch (err) {\n process.nextTick(function () {\n self.emit('error', err);\n });\n return;\n }\n }\n };\n /**\n * Checks if xhr.status is readable and non-zero, indicating no error.\n * Even though the spec says it should be available in readyState 3,\n * accessing it throws an exception in IE8\n */\n\n\n function statusValid(xhr) {\n try {\n var status = xhr.status;\n return status !== null && status !== 0;\n } catch (e) {\n return false;\n }\n }\n\n ClientRequest.prototype._onXHRProgress = function () {\n var self = this;\n if (!statusValid(self._xhr) || self._destroyed) return;\n if (!self._response) self._connect();\n\n self._response._onXHRProgress();\n };\n\n ClientRequest.prototype._connect = function () {\n var self = this;\n if (self._destroyed) return;\n self._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode, self._fetchTimer);\n\n self._response.on('error', function (err) {\n self.emit('error', err);\n });\n\n self.emit('response', self._response);\n };\n\n ClientRequest.prototype._write = function (chunk, encoding, cb) {\n var self = this;\n\n self._body.push(chunk);\n\n cb();\n };\n\n ClientRequest.prototype.abort = ClientRequest.prototype.destroy = function () {\n var self = this;\n self._destroyed = true;\n global.clearTimeout(self._fetchTimer);\n if (self._response) self._response._destroyed = true;\n if (self._xhr) self._xhr.abort();else if (self._fetchAbortController) self._fetchAbortController.abort();\n };\n\n ClientRequest.prototype.end = function (data, encoding, cb) {\n var self = this;\n\n if (typeof data === 'function') {\n cb = data;\n data = undefined;\n }\n\n stream.Writable.prototype.end.call(self, data, encoding, cb);\n };\n\n ClientRequest.prototype.flushHeaders = function () {};\n\n ClientRequest.prototype.setTimeout = function () {};\n\n ClientRequest.prototype.setNoDelay = function () {};\n\n ClientRequest.prototype.setSocketKeepAlive = function () {}; // Taken from http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method\n\n\n var unsafeHeaders = ['accept-charset', 'accept-encoding', 'access-control-request-headers', 'access-control-request-method', 'connection', 'content-length', 'cookie', 'cookie2', 'date', 'dnt', 'expect', 'host', 'keep-alive', 'origin', 'referer', 'te', 'trailer', 'transfer-encoding', 'upgrade', 'via'];\n /* WEBPACK VAR INJECTION */\n }).call(this, __webpack_require__(29).Buffer, __webpack_require__(12), __webpack_require__(16));\n /***/\n },\n /* 50 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"base64-js\");\n /***/\n },\n /* 51 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"ieee754\");\n /***/\n },\n /* 52 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"isarray\");\n /***/\n },\n /* 53 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"to-arraybuffer\");\n /***/\n },\n /* 54 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"xtend\");\n /***/\n },\n /* 55 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"builtin-status-codes\");\n /***/\n },\n /* 56 */\n\n /***/\n function (module) {\n module.exports = JSON.parse(\"{\\\"name\\\":\\\"swagger2openapi\\\",\\\"version\\\":\\\"5.3.4\\\",\\\"description\\\":\\\"Convert Swagger 2.0 definitions to OpenApi 3.0 and validate\\\",\\\"main\\\":\\\"index.js\\\",\\\"bin\\\":{\\\"swagger2openapi\\\":\\\"./swagger2openapi.js\\\",\\\"oas-validate\\\":\\\"./oas-validate.js\\\",\\\"boast\\\":\\\"./boast.js\\\"},\\\"scripts\\\":{\\\"test\\\":\\\"mocha\\\"},\\\"browserify\\\":{\\\"transform\\\":[[\\\"babelify\\\",{\\\"presets\\\":[\\\"es2015\\\"]}]]},\\\"repository\\\":{\\\"url\\\":\\\"https://github.com/Mermade/oas-kit.git\\\",\\\"type\\\":\\\"git\\\"},\\\"bugs\\\":{\\\"url\\\":\\\"https://github.com/mermade/oas-kit/issues\\\"},\\\"author\\\":\\\"Mike Ralphson \\\",\\\"license\\\":\\\"BSD-3-Clause\\\",\\\"dependencies\\\":{\\\"better-ajv-errors\\\":\\\"^0.6.1\\\",\\\"call-me-maybe\\\":\\\"^1.0.1\\\",\\\"node-fetch-h2\\\":\\\"^2.3.0\\\",\\\"node-readfiles\\\":\\\"^0.2.0\\\",\\\"oas-kit-common\\\":\\\"^1.0.7\\\",\\\"oas-resolver\\\":\\\"^2.2.8\\\",\\\"oas-schema-walker\\\":\\\"^1.1.3\\\",\\\"oas-validator\\\":\\\"^3.3.4\\\",\\\"reftools\\\":\\\"^1.0.11\\\",\\\"yaml\\\":\\\"^1.8.0\\\",\\\"yargs\\\":\\\"^12.0.5\\\"},\\\"keywords\\\":[\\\"swagger\\\",\\\"openapi\\\",\\\"openapi2\\\",\\\"openapi3\\\",\\\"converter\\\",\\\"conversion\\\",\\\"validator\\\",\\\"validation\\\",\\\"resolver\\\",\\\"lint\\\",\\\"linter\\\"],\\\"gitHead\\\":\\\"3c04d8c190507d806746d45042fcb8d579dfb237\\\",\\\"_resolved\\\":\\\"https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-5.3.4.tgz\\\",\\\"_integrity\\\":\\\"sha512-4LSutujtmehQFkRG4MAObjnI414S8VHSZ2tDAT88XxK6LhgYWUcYGZ0LNDecx5mkxAn0gOdfCJY0MCUPKJDqlw==\\\",\\\"_from\\\":\\\"swagger2openapi@5.3.4\\\"}\");\n /***/\n },\n /* 57 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-bash.js\");\n /***/\n },\n /* 58 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-c.js\");\n /***/\n },\n /* 59 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-clike.js\");\n /***/\n },\n /* 60 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-coffeescript.js\");\n /***/\n },\n /* 61 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-cpp.js\");\n /***/\n },\n /* 62 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-csharp.js\");\n /***/\n },\n /* 63 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-go.js\");\n /***/\n },\n /* 64 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-http.js\");\n /***/\n },\n /* 65 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-java.js\");\n /***/\n },\n /* 66 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-lua.js\");\n /***/\n },\n /* 67 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-markup-templating.js\");\n /***/\n },\n /* 68 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-markup.js\");\n /***/\n },\n /* 69 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-objectivec.js\");\n /***/\n },\n /* 70 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-perl.js\");\n /***/\n },\n /* 71 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-php.js\");\n /***/\n },\n /* 72 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-python.js\");\n /***/\n },\n /* 73 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-ruby.js\");\n /***/\n },\n /* 74 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-scala.js\");\n /***/\n },\n /* 75 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-sql.js\");\n /***/\n },\n /* 76 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"prismjs/components/prism-swift.js\");\n /***/\n },\n /* 77 */\n\n /***/\n function (module, exports, __webpack_require__) {\n var addMethods = __webpack_require__(78);\n\n var methods = [\"add\", \"done\", \"toJS\", \"load\", \"search\"];\n\n module.exports = function () {\n var w = new Worker(URL.createObjectURL(new Blob([\"/*!\\n * ReDoc - OpenAPI/Swagger-generated API Reference Documentation\\n * -------------------------------------------------------------\\n * Version: \\\"2.0.0-rc.29\\\"\\n * Repo: https://github.com/Redocly/redoc\\n */\\n/******/ (function(modules) { // webpackBootstrap\\n/******/ \\t// The module cache\\n/******/ \\tvar installedModules = {};\\n/******/\\n/******/ \\t// The require function\\n/******/ \\tfunction __webpack_require__(moduleId) {\\n/******/\\n/******/ \\t\\t// Check if module is in cache\\n/******/ \\t\\tif(installedModules[moduleId]) {\\n/******/ \\t\\t\\treturn installedModules[moduleId].exports;\\n/******/ \\t\\t}\\n/******/ \\t\\t// Create a new module (and put it into the cache)\\n/******/ \\t\\tvar module = installedModules[moduleId] = {\\n/******/ \\t\\t\\ti: moduleId,\\n/******/ \\t\\t\\tl: false,\\n/******/ \\t\\t\\texports: {}\\n/******/ \\t\\t};\\n/******/\\n/******/ \\t\\t// Execute the module function\\n/******/ \\t\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\n/******/\\n/******/ \\t\\t// Flag the module as loaded\\n/******/ \\t\\tmodule.l = true;\\n/******/\\n/******/ \\t\\t// Return the exports of the module\\n/******/ \\t\\treturn module.exports;\\n/******/ \\t}\\n/******/\\n/******/\\n/******/ \\t// expose the modules object (__webpack_modules__)\\n/******/ \\t__webpack_require__.m = modules;\\n/******/\\n/******/ \\t// expose the module cache\\n/******/ \\t__webpack_require__.c = installedModules;\\n/******/\\n/******/ \\t// define getter function for harmony exports\\n/******/ \\t__webpack_require__.d = function(exports, name, getter) {\\n/******/ \\t\\tif(!__webpack_require__.o(exports, name)) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\n/******/ \\t\\t}\\n/******/ \\t};\\n/******/\\n/******/ \\t// define __esModule on exports\\n/******/ \\t__webpack_require__.r = function(exports) {\\n/******/ \\t\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\n/******/ \\t\\t}\\n/******/ \\t\\tObject.defineProperty(exports, '__esModule', { value: true });\\n/******/ \\t};\\n/******/\\n/******/ \\t// create a fake namespace object\\n/******/ \\t// mode & 1: value is a module id, require it\\n/******/ \\t// mode & 2: merge all properties of value into the ns\\n/******/ \\t// mode & 4: return value when already ns object\\n/******/ \\t// mode & 8|1: behave like require\\n/******/ \\t__webpack_require__.t = function(value, mode) {\\n/******/ \\t\\tif(mode & 1) value = __webpack_require__(value);\\n/******/ \\t\\tif(mode & 8) return value;\\n/******/ \\t\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\n/******/ \\t\\tvar ns = Object.create(null);\\n/******/ \\t\\t__webpack_require__.r(ns);\\n/******/ \\t\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\n/******/ \\t\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\n/******/ \\t\\treturn ns;\\n/******/ \\t};\\n/******/\\n/******/ \\t// getDefaultExport function for compatibility with non-harmony modules\\n/******/ \\t__webpack_require__.n = function(module) {\\n/******/ \\t\\tvar getter = module && module.__esModule ?\\n/******/ \\t\\t\\tfunction getDefault() { return module['default']; } :\\n/******/ \\t\\t\\tfunction getModuleExports() { return module; };\\n/******/ \\t\\t__webpack_require__.d(getter, 'a', getter);\\n/******/ \\t\\treturn getter;\\n/******/ \\t};\\n/******/\\n/******/ \\t// Object.prototype.hasOwnProperty.call\\n/******/ \\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\n/******/\\n/******/ \\t// __webpack_public_path__\\n/******/ \\t__webpack_require__.p = \\\"\\\";\\n/******/\\n/******/\\n/******/ \\t// Load entry module and return exports\\n/******/ \\treturn __webpack_require__(__webpack_require__.s = 97);\\n/******/ })\\n/************************************************************************/\\n/******/ ([\\n/* 0 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n/* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {\\n return it && it.Math == Math && it;\\n};\\n\\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\\nmodule.exports =\\n // eslint-disable-next-line no-undef\\n check(typeof globalThis == 'object' && globalThis) ||\\n check(typeof window == 'object' && window) ||\\n check(typeof self == 'object' && self) ||\\n check(typeof global == 'object' && global) ||\\n // eslint-disable-next-line no-new-func\\n Function('return this')();\\n\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(59)))\\n\\n/***/ }),\\n/* 1 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar shared = __webpack_require__(32);\\nvar has = __webpack_require__(3);\\nvar uid = __webpack_require__(36);\\nvar NATIVE_SYMBOL = __webpack_require__(37);\\nvar USE_SYMBOL_AS_UID = __webpack_require__(60);\\n\\nvar WellKnownSymbolsStore = shared('wks');\\nvar Symbol = global.Symbol;\\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\\n\\nmodule.exports = function (name) {\\n if (!has(WellKnownSymbolsStore, name)) {\\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\\n } return WellKnownSymbolsStore[name];\\n};\\n\\n\\n/***/ }),\\n/* 2 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar isObject = __webpack_require__(7);\\n\\nmodule.exports = function (it) {\\n if (!isObject(it)) {\\n throw TypeError(String(it) + ' is not an object');\\n } return it;\\n};\\n\\n\\n/***/ }),\\n/* 3 */\\n/***/ (function(module, exports) {\\n\\nvar hasOwnProperty = {}.hasOwnProperty;\\n\\nmodule.exports = function (it, key) {\\n return hasOwnProperty.call(it, key);\\n};\\n\\n\\n/***/ }),\\n/* 4 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\\n * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.8\\n * Copyright (C) 2019 Oliver Nightingale\\n * @license MIT\\n */\\n\\n;(function(){\\n\\n/**\\n * A convenience function for configuring and constructing\\n * a new lunr Index.\\n *\\n * A lunr.Builder instance is created and the pipeline setup\\n * with a trimmer, stop word filter and stemmer.\\n *\\n * This builder object is yielded to the configuration function\\n * that is passed as a parameter, allowing the list of fields\\n * and other builder parameters to be customised.\\n *\\n * All documents _must_ be added within the passed config function.\\n *\\n * @example\\n * var idx = lunr(function () {\\n * this.field('title')\\n * this.field('body')\\n * this.ref('id')\\n *\\n * documents.forEach(function (doc) {\\n * this.add(doc)\\n * }, this)\\n * })\\n *\\n * @see {@link lunr.Builder}\\n * @see {@link lunr.Pipeline}\\n * @see {@link lunr.trimmer}\\n * @see {@link lunr.stopWordFilter}\\n * @see {@link lunr.stemmer}\\n * @namespace {function} lunr\\n */\\nvar lunr = function (config) {\\n var builder = new lunr.Builder\\n\\n builder.pipeline.add(\\n lunr.trimmer,\\n lunr.stopWordFilter,\\n lunr.stemmer\\n )\\n\\n builder.searchPipeline.add(\\n lunr.stemmer\\n )\\n\\n config.call(builder, builder)\\n return builder.build()\\n}\\n\\nlunr.version = \\\"2.3.8\\\"\\n/*!\\n * lunr.utils\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * A namespace containing utils for the rest of the lunr library\\n * @namespace lunr.utils\\n */\\nlunr.utils = {}\\n\\n/**\\n * Print a warning message to the console.\\n *\\n * @param {String} message The message to be printed.\\n * @memberOf lunr.utils\\n * @function\\n */\\nlunr.utils.warn = (function (global) {\\n /* eslint-disable no-console */\\n return function (message) {\\n if (global.console && console.warn) {\\n console.warn(message)\\n }\\n }\\n /* eslint-enable no-console */\\n})(this)\\n\\n/**\\n * Convert an object to a string.\\n *\\n * In the case of `null` and `undefined` the function returns\\n * the empty string, in all other cases the result of calling\\n * `toString` on the passed object is returned.\\n *\\n * @param {Any} obj The object to convert to a string.\\n * @return {String} string representation of the passed object.\\n * @memberOf lunr.utils\\n */\\nlunr.utils.asString = function (obj) {\\n if (obj === void 0 || obj === null) {\\n return \\\"\\\"\\n } else {\\n return obj.toString()\\n }\\n}\\n\\n/**\\n * Clones an object.\\n *\\n * Will create a copy of an existing object such that any mutations\\n * on the copy cannot affect the original.\\n *\\n * Only shallow objects are supported, passing a nested object to this\\n * function will cause a TypeError.\\n *\\n * Objects with primitives, and arrays of primitives are supported.\\n *\\n * @param {Object} obj The object to clone.\\n * @return {Object} a clone of the passed object.\\n * @throws {TypeError} when a nested object is passed.\\n * @memberOf Utils\\n */\\nlunr.utils.clone = function (obj) {\\n if (obj === null || obj === undefined) {\\n return obj\\n }\\n\\n var clone = Object.create(null),\\n keys = Object.keys(obj)\\n\\n for (var i = 0; i < keys.length; i++) {\\n var key = keys[i],\\n val = obj[key]\\n\\n if (Array.isArray(val)) {\\n clone[key] = val.slice()\\n continue\\n }\\n\\n if (typeof val === 'string' ||\\n typeof val === 'number' ||\\n typeof val === 'boolean') {\\n clone[key] = val\\n continue\\n }\\n\\n throw new TypeError(\\\"clone is not deep and does not support nested objects\\\")\\n }\\n\\n return clone\\n}\\nlunr.FieldRef = function (docRef, fieldName, stringValue) {\\n this.docRef = docRef\\n this.fieldName = fieldName\\n this._stringValue = stringValue\\n}\\n\\nlunr.FieldRef.joiner = \\\"/\\\"\\n\\nlunr.FieldRef.fromString = function (s) {\\n var n = s.indexOf(lunr.FieldRef.joiner)\\n\\n if (n === -1) {\\n throw \\\"malformed field ref string\\\"\\n }\\n\\n var fieldRef = s.slice(0, n),\\n docRef = s.slice(n + 1)\\n\\n return new lunr.FieldRef (docRef, fieldRef, s)\\n}\\n\\nlunr.FieldRef.prototype.toString = function () {\\n if (this._stringValue == undefined) {\\n this._stringValue = this.fieldName + lunr.FieldRef.joiner + this.docRef\\n }\\n\\n return this._stringValue\\n}\\n/*!\\n * lunr.Set\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * A lunr set.\\n *\\n * @constructor\\n */\\nlunr.Set = function (elements) {\\n this.elements = Object.create(null)\\n\\n if (elements) {\\n this.length = elements.length\\n\\n for (var i = 0; i < this.length; i++) {\\n this.elements[elements[i]] = true\\n }\\n } else {\\n this.length = 0\\n }\\n}\\n\\n/**\\n * A complete set that contains all elements.\\n *\\n * @static\\n * @readonly\\n * @type {lunr.Set}\\n */\\nlunr.Set.complete = {\\n intersect: function (other) {\\n return other\\n },\\n\\n union: function (other) {\\n return other\\n },\\n\\n contains: function () {\\n return true\\n }\\n}\\n\\n/**\\n * An empty set that contains no elements.\\n *\\n * @static\\n * @readonly\\n * @type {lunr.Set}\\n */\\nlunr.Set.empty = {\\n intersect: function () {\\n return this\\n },\\n\\n union: function (other) {\\n return other\\n },\\n\\n contains: function () {\\n return false\\n }\\n}\\n\\n/**\\n * Returns true if this set contains the specified object.\\n *\\n * @param {object} object - Object whose presence in this set is to be tested.\\n * @returns {boolean} - True if this set contains the specified object.\\n */\\nlunr.Set.prototype.contains = function (object) {\\n return !!this.elements[object]\\n}\\n\\n/**\\n * Returns a new set containing only the elements that are present in both\\n * this set and the specified set.\\n *\\n * @param {lunr.Set} other - set to intersect with this set.\\n * @returns {lunr.Set} a new set that is the intersection of this and the specified set.\\n */\\n\\nlunr.Set.prototype.intersect = function (other) {\\n var a, b, elements, intersection = []\\n\\n if (other === lunr.Set.complete) {\\n return this\\n }\\n\\n if (other === lunr.Set.empty) {\\n return other\\n }\\n\\n if (this.length < other.length) {\\n a = this\\n b = other\\n } else {\\n a = other\\n b = this\\n }\\n\\n elements = Object.keys(a.elements)\\n\\n for (var i = 0; i < elements.length; i++) {\\n var element = elements[i]\\n if (element in b.elements) {\\n intersection.push(element)\\n }\\n }\\n\\n return new lunr.Set (intersection)\\n}\\n\\n/**\\n * Returns a new set combining the elements of this and the specified set.\\n *\\n * @param {lunr.Set} other - set to union with this set.\\n * @return {lunr.Set} a new set that is the union of this and the specified set.\\n */\\n\\nlunr.Set.prototype.union = function (other) {\\n if (other === lunr.Set.complete) {\\n return lunr.Set.complete\\n }\\n\\n if (other === lunr.Set.empty) {\\n return this\\n }\\n\\n return new lunr.Set(Object.keys(this.elements).concat(Object.keys(other.elements)))\\n}\\n/**\\n * A function to calculate the inverse document frequency for\\n * a posting. This is shared between the builder and the index\\n *\\n * @private\\n * @param {object} posting - The posting for a given term\\n * @param {number} documentCount - The total number of documents.\\n */\\nlunr.idf = function (posting, documentCount) {\\n var documentsWithTerm = 0\\n\\n for (var fieldName in posting) {\\n if (fieldName == '_index') continue // Ignore the term index, its not a field\\n documentsWithTerm += Object.keys(posting[fieldName]).length\\n }\\n\\n var x = (documentCount - documentsWithTerm + 0.5) / (documentsWithTerm + 0.5)\\n\\n return Math.log(1 + Math.abs(x))\\n}\\n\\n/**\\n * A token wraps a string representation of a token\\n * as it is passed through the text processing pipeline.\\n *\\n * @constructor\\n * @param {string} [str=''] - The string token being wrapped.\\n * @param {object} [metadata={}] - Metadata associated with this token.\\n */\\nlunr.Token = function (str, metadata) {\\n this.str = str || \\\"\\\"\\n this.metadata = metadata || {}\\n}\\n\\n/**\\n * Returns the token string that is being wrapped by this object.\\n *\\n * @returns {string}\\n */\\nlunr.Token.prototype.toString = function () {\\n return this.str\\n}\\n\\n/**\\n * A token update function is used when updating or optionally\\n * when cloning a token.\\n *\\n * @callback lunr.Token~updateFunction\\n * @param {string} str - The string representation of the token.\\n * @param {Object} metadata - All metadata associated with this token.\\n */\\n\\n/**\\n * Applies the given function to the wrapped string token.\\n *\\n * @example\\n * token.update(function (str, metadata) {\\n * return str.toUpperCase()\\n * })\\n *\\n * @param {lunr.Token~updateFunction} fn - A function to apply to the token string.\\n * @returns {lunr.Token}\\n */\\nlunr.Token.prototype.update = function (fn) {\\n this.str = fn(this.str, this.metadata)\\n return this\\n}\\n\\n/**\\n * Creates a clone of this token. Optionally a function can be\\n * applied to the cloned token.\\n *\\n * @param {lunr.Token~updateFunction} [fn] - An optional function to apply to the cloned token.\\n * @returns {lunr.Token}\\n */\\nlunr.Token.prototype.clone = function (fn) {\\n fn = fn || function (s) { return s }\\n return new lunr.Token (fn(this.str, this.metadata), this.metadata)\\n}\\n/*!\\n * lunr.tokenizer\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * A function for splitting a string into tokens ready to be inserted into\\n * the search index. Uses `lunr.tokenizer.separator` to split strings, change\\n * the value of this property to change how strings are split into tokens.\\n *\\n * This tokenizer will convert its parameter to a string by calling `toString` and\\n * then will split this string on the character in `lunr.tokenizer.separator`.\\n * Arrays will have their elements converted to strings and wrapped in a lunr.Token.\\n *\\n * Optional metadata can be passed to the tokenizer, this metadata will be cloned and\\n * added as metadata to every token that is created from the object to be tokenized.\\n *\\n * @static\\n * @param {?(string|object|object[])} obj - The object to convert into tokens\\n * @param {?object} metadata - Optional metadata to associate with every token\\n * @returns {lunr.Token[]}\\n * @see {@link lunr.Pipeline}\\n */\\nlunr.tokenizer = function (obj, metadata) {\\n if (obj == null || obj == undefined) {\\n return []\\n }\\n\\n if (Array.isArray(obj)) {\\n return obj.map(function (t) {\\n return new lunr.Token(\\n lunr.utils.asString(t).toLowerCase(),\\n lunr.utils.clone(metadata)\\n )\\n })\\n }\\n\\n var str = obj.toString().toLowerCase(),\\n len = str.length,\\n tokens = []\\n\\n for (var sliceEnd = 0, sliceStart = 0; sliceEnd <= len; sliceEnd++) {\\n var char = str.charAt(sliceEnd),\\n sliceLength = sliceEnd - sliceStart\\n\\n if ((char.match(lunr.tokenizer.separator) || sliceEnd == len)) {\\n\\n if (sliceLength > 0) {\\n var tokenMetadata = lunr.utils.clone(metadata) || {}\\n tokenMetadata[\\\"position\\\"] = [sliceStart, sliceLength]\\n tokenMetadata[\\\"index\\\"] = tokens.length\\n\\n tokens.push(\\n new lunr.Token (\\n str.slice(sliceStart, sliceEnd),\\n tokenMetadata\\n )\\n )\\n }\\n\\n sliceStart = sliceEnd + 1\\n }\\n\\n }\\n\\n return tokens\\n}\\n\\n/**\\n * The separator used to split a string into tokens. Override this property to change the behaviour of\\n * `lunr.tokenizer` behaviour when tokenizing strings. By default this splits on whitespace and hyphens.\\n *\\n * @static\\n * @see lunr.tokenizer\\n */\\nlunr.tokenizer.separator = /[\\\\s\\\\-]+/\\n/*!\\n * lunr.Pipeline\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * lunr.Pipelines maintain an ordered list of functions to be applied to all\\n * tokens in documents entering the search index and queries being ran against\\n * the index.\\n *\\n * An instance of lunr.Index created with the lunr shortcut will contain a\\n * pipeline with a stop word filter and an English language stemmer. Extra\\n * functions can be added before or after either of these functions or these\\n * default functions can be removed.\\n *\\n * When run the pipeline will call each function in turn, passing a token, the\\n * index of that token in the original list of all tokens and finally a list of\\n * all the original tokens.\\n *\\n * The output of functions in the pipeline will be passed to the next function\\n * in the pipeline. To exclude a token from entering the index the function\\n * should return undefined, the rest of the pipeline will not be called with\\n * this token.\\n *\\n * For serialisation of pipelines to work, all functions used in an instance of\\n * a pipeline should be registered with lunr.Pipeline. Registered functions can\\n * then be loaded. If trying to load a serialised pipeline that uses functions\\n * that are not registered an error will be thrown.\\n *\\n * If not planning on serialising the pipeline then registering pipeline functions\\n * is not necessary.\\n *\\n * @constructor\\n */\\nlunr.Pipeline = function () {\\n this._stack = []\\n}\\n\\nlunr.Pipeline.registeredFunctions = Object.create(null)\\n\\n/**\\n * A pipeline function maps lunr.Token to lunr.Token. A lunr.Token contains the token\\n * string as well as all known metadata. A pipeline function can mutate the token string\\n * or mutate (or add) metadata for a given token.\\n *\\n * A pipeline function can indicate that the passed token should be discarded by returning\\n * null, undefined or an empty string. This token will not be passed to any downstream pipeline\\n * functions and will not be added to the index.\\n *\\n * Multiple tokens can be returned by returning an array of tokens. Each token will be passed\\n * to any downstream pipeline functions and all will returned tokens will be added to the index.\\n *\\n * Any number of pipeline functions may be chained together using a lunr.Pipeline.\\n *\\n * @interface lunr.PipelineFunction\\n * @param {lunr.Token} token - A token from the document being processed.\\n * @param {number} i - The index of this token in the complete list of tokens for this document/field.\\n * @param {lunr.Token[]} tokens - All tokens for this document/field.\\n * @returns {(?lunr.Token|lunr.Token[])}\\n */\\n\\n/**\\n * Register a function with the pipeline.\\n *\\n * Functions that are used in the pipeline should be registered if the pipeline\\n * needs to be serialised, or a serialised pipeline needs to be loaded.\\n *\\n * Registering a function does not add it to a pipeline, functions must still be\\n * added to instances of the pipeline for them to be used when running a pipeline.\\n *\\n * @param {lunr.PipelineFunction} fn - The function to check for.\\n * @param {String} label - The label to register this function with\\n */\\nlunr.Pipeline.registerFunction = function (fn, label) {\\n if (label in this.registeredFunctions) {\\n lunr.utils.warn('Overwriting existing registered function: ' + label)\\n }\\n\\n fn.label = label\\n lunr.Pipeline.registeredFunctions[fn.label] = fn\\n}\\n\\n/**\\n * Warns if the function is not registered as a Pipeline function.\\n *\\n * @param {lunr.PipelineFunction} fn - The function to check for.\\n * @private\\n */\\nlunr.Pipeline.warnIfFunctionNotRegistered = function (fn) {\\n var isRegistered = fn.label && (fn.label in this.registeredFunctions)\\n\\n if (!isRegistered) {\\n lunr.utils.warn('Function is not registered with pipeline. This may cause problems when serialising the index.\\\\n', fn)\\n }\\n}\\n\\n/**\\n * Loads a previously serialised pipeline.\\n *\\n * All functions to be loaded must already be registered with lunr.Pipeline.\\n * If any function from the serialised data has not been registered then an\\n * error will be thrown.\\n *\\n * @param {Object} serialised - The serialised pipeline to load.\\n * @returns {lunr.Pipeline}\\n */\\nlunr.Pipeline.load = function (serialised) {\\n var pipeline = new lunr.Pipeline\\n\\n serialised.forEach(function (fnName) {\\n var fn = lunr.Pipeline.registeredFunctions[fnName]\\n\\n if (fn) {\\n pipeline.add(fn)\\n } else {\\n throw new Error('Cannot load unregistered function: ' + fnName)\\n }\\n })\\n\\n return pipeline\\n}\\n\\n/**\\n * Adds new functions to the end of the pipeline.\\n *\\n * Logs a warning if the function has not been registered.\\n *\\n * @param {lunr.PipelineFunction[]} functions - Any number of functions to add to the pipeline.\\n */\\nlunr.Pipeline.prototype.add = function () {\\n var fns = Array.prototype.slice.call(arguments)\\n\\n fns.forEach(function (fn) {\\n lunr.Pipeline.warnIfFunctionNotRegistered(fn)\\n this._stack.push(fn)\\n }, this)\\n}\\n\\n/**\\n * Adds a single function after a function that already exists in the\\n * pipeline.\\n *\\n * Logs a warning if the function has not been registered.\\n *\\n * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline.\\n * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline.\\n */\\nlunr.Pipeline.prototype.after = function (existingFn, newFn) {\\n lunr.Pipeline.warnIfFunctionNotRegistered(newFn)\\n\\n var pos = this._stack.indexOf(existingFn)\\n if (pos == -1) {\\n throw new Error('Cannot find existingFn')\\n }\\n\\n pos = pos + 1\\n this._stack.splice(pos, 0, newFn)\\n}\\n\\n/**\\n * Adds a single function before a function that already exists in the\\n * pipeline.\\n *\\n * Logs a warning if the function has not been registered.\\n *\\n * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline.\\n * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline.\\n */\\nlunr.Pipeline.prototype.before = function (existingFn, newFn) {\\n lunr.Pipeline.warnIfFunctionNotRegistered(newFn)\\n\\n var pos = this._stack.indexOf(existingFn)\\n if (pos == -1) {\\n throw new Error('Cannot find existingFn')\\n }\\n\\n this._stack.splice(pos, 0, newFn)\\n}\\n\\n/**\\n * Removes a function from the pipeline.\\n *\\n * @param {lunr.PipelineFunction} fn The function to remove from the pipeline.\\n */\\nlunr.Pipeline.prototype.remove = function (fn) {\\n var pos = this._stack.indexOf(fn)\\n if (pos == -1) {\\n return\\n }\\n\\n this._stack.splice(pos, 1)\\n}\\n\\n/**\\n * Runs the current list of functions that make up the pipeline against the\\n * passed tokens.\\n *\\n * @param {Array} tokens The tokens to run through the pipeline.\\n * @returns {Array}\\n */\\nlunr.Pipeline.prototype.run = function (tokens) {\\n var stackLength = this._stack.length\\n\\n for (var i = 0; i < stackLength; i++) {\\n var fn = this._stack[i]\\n var memo = []\\n\\n for (var j = 0; j < tokens.length; j++) {\\n var result = fn(tokens[j], j, tokens)\\n\\n if (result === null || result === void 0 || result === '') continue\\n\\n if (Array.isArray(result)) {\\n for (var k = 0; k < result.length; k++) {\\n memo.push(result[k])\\n }\\n } else {\\n memo.push(result)\\n }\\n }\\n\\n tokens = memo\\n }\\n\\n return tokens\\n}\\n\\n/**\\n * Convenience method for passing a string through a pipeline and getting\\n * strings out. This method takes care of wrapping the passed string in a\\n * token and mapping the resulting tokens back to strings.\\n *\\n * @param {string} str - The string to pass through the pipeline.\\n * @param {?object} metadata - Optional metadata to associate with the token\\n * passed to the pipeline.\\n * @returns {string[]}\\n */\\nlunr.Pipeline.prototype.runString = function (str, metadata) {\\n var token = new lunr.Token (str, metadata)\\n\\n return this.run([token]).map(function (t) {\\n return t.toString()\\n })\\n}\\n\\n/**\\n * Resets the pipeline by removing any existing processors.\\n *\\n */\\nlunr.Pipeline.prototype.reset = function () {\\n this._stack = []\\n}\\n\\n/**\\n * Returns a representation of the pipeline ready for serialisation.\\n *\\n * Logs a warning if the function has not been registered.\\n *\\n * @returns {Array}\\n */\\nlunr.Pipeline.prototype.toJSON = function () {\\n return this._stack.map(function (fn) {\\n lunr.Pipeline.warnIfFunctionNotRegistered(fn)\\n\\n return fn.label\\n })\\n}\\n/*!\\n * lunr.Vector\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * A vector is used to construct the vector space of documents and queries. These\\n * vectors support operations to determine the similarity between two documents or\\n * a document and a query.\\n *\\n * Normally no parameters are required for initializing a vector, but in the case of\\n * loading a previously dumped vector the raw elements can be provided to the constructor.\\n *\\n * For performance reasons vectors are implemented with a flat array, where an elements\\n * index is immediately followed by its value. E.g. [index, value, index, value]. This\\n * allows the underlying array to be as sparse as possible and still offer decent\\n * performance when being used for vector calculations.\\n *\\n * @constructor\\n * @param {Number[]} [elements] - The flat list of element index and element value pairs.\\n */\\nlunr.Vector = function (elements) {\\n this._magnitude = 0\\n this.elements = elements || []\\n}\\n\\n\\n/**\\n * Calculates the position within the vector to insert a given index.\\n *\\n * This is used internally by insert and upsert. If there are duplicate indexes then\\n * the position is returned as if the value for that index were to be updated, but it\\n * is the callers responsibility to check whether there is a duplicate at that index\\n *\\n * @param {Number} insertIdx - The index at which the element should be inserted.\\n * @returns {Number}\\n */\\nlunr.Vector.prototype.positionForIndex = function (index) {\\n // For an empty vector the tuple can be inserted at the beginning\\n if (this.elements.length == 0) {\\n return 0\\n }\\n\\n var start = 0,\\n end = this.elements.length / 2,\\n sliceLength = end - start,\\n pivotPoint = Math.floor(sliceLength / 2),\\n pivotIndex = this.elements[pivotPoint * 2]\\n\\n while (sliceLength > 1) {\\n if (pivotIndex < index) {\\n start = pivotPoint\\n }\\n\\n if (pivotIndex > index) {\\n end = pivotPoint\\n }\\n\\n if (pivotIndex == index) {\\n break\\n }\\n\\n sliceLength = end - start\\n pivotPoint = start + Math.floor(sliceLength / 2)\\n pivotIndex = this.elements[pivotPoint * 2]\\n }\\n\\n if (pivotIndex == index) {\\n return pivotPoint * 2\\n }\\n\\n if (pivotIndex > index) {\\n return pivotPoint * 2\\n }\\n\\n if (pivotIndex < index) {\\n return (pivotPoint + 1) * 2\\n }\\n}\\n\\n/**\\n * Inserts an element at an index within the vector.\\n *\\n * Does not allow duplicates, will throw an error if there is already an entry\\n * for this index.\\n *\\n * @param {Number} insertIdx - The index at which the element should be inserted.\\n * @param {Number} val - The value to be inserted into the vector.\\n */\\nlunr.Vector.prototype.insert = function (insertIdx, val) {\\n this.upsert(insertIdx, val, function () {\\n throw \\\"duplicate index\\\"\\n })\\n}\\n\\n/**\\n * Inserts or updates an existing index within the vector.\\n *\\n * @param {Number} insertIdx - The index at which the element should be inserted.\\n * @param {Number} val - The value to be inserted into the vector.\\n * @param {function} fn - A function that is called for updates, the existing value and the\\n * requested value are passed as arguments\\n */\\nlunr.Vector.prototype.upsert = function (insertIdx, val, fn) {\\n this._magnitude = 0\\n var position = this.positionForIndex(insertIdx)\\n\\n if (this.elements[position] == insertIdx) {\\n this.elements[position + 1] = fn(this.elements[position + 1], val)\\n } else {\\n this.elements.splice(position, 0, insertIdx, val)\\n }\\n}\\n\\n/**\\n * Calculates the magnitude of this vector.\\n *\\n * @returns {Number}\\n */\\nlunr.Vector.prototype.magnitude = function () {\\n if (this._magnitude) return this._magnitude\\n\\n var sumOfSquares = 0,\\n elementsLength = this.elements.length\\n\\n for (var i = 1; i < elementsLength; i += 2) {\\n var val = this.elements[i]\\n sumOfSquares += val * val\\n }\\n\\n return this._magnitude = Math.sqrt(sumOfSquares)\\n}\\n\\n/**\\n * Calculates the dot product of this vector and another vector.\\n *\\n * @param {lunr.Vector} otherVector - The vector to compute the dot product with.\\n * @returns {Number}\\n */\\nlunr.Vector.prototype.dot = function (otherVector) {\\n var dotProduct = 0,\\n a = this.elements, b = otherVector.elements,\\n aLen = a.length, bLen = b.length,\\n aVal = 0, bVal = 0,\\n i = 0, j = 0\\n\\n while (i < aLen && j < bLen) {\\n aVal = a[i], bVal = b[j]\\n if (aVal < bVal) {\\n i += 2\\n } else if (aVal > bVal) {\\n j += 2\\n } else if (aVal == bVal) {\\n dotProduct += a[i + 1] * b[j + 1]\\n i += 2\\n j += 2\\n }\\n }\\n\\n return dotProduct\\n}\\n\\n/**\\n * Calculates the similarity between this vector and another vector.\\n *\\n * @param {lunr.Vector} otherVector - The other vector to calculate the\\n * similarity with.\\n * @returns {Number}\\n */\\nlunr.Vector.prototype.similarity = function (otherVector) {\\n return this.dot(otherVector) / this.magnitude() || 0\\n}\\n\\n/**\\n * Converts the vector to an array of the elements within the vector.\\n *\\n * @returns {Number[]}\\n */\\nlunr.Vector.prototype.toArray = function () {\\n var output = new Array (this.elements.length / 2)\\n\\n for (var i = 1, j = 0; i < this.elements.length; i += 2, j++) {\\n output[j] = this.elements[i]\\n }\\n\\n return output\\n}\\n\\n/**\\n * A JSON serializable representation of the vector.\\n *\\n * @returns {Number[]}\\n */\\nlunr.Vector.prototype.toJSON = function () {\\n return this.elements\\n}\\n/* eslint-disable */\\n/*!\\n * lunr.stemmer\\n * Copyright (C) 2019 Oliver Nightingale\\n * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt\\n */\\n\\n/**\\n * lunr.stemmer is an english language stemmer, this is a JavaScript\\n * implementation of the PorterStemmer taken from http://tartarus.org/~martin\\n *\\n * @static\\n * @implements {lunr.PipelineFunction}\\n * @param {lunr.Token} token - The string to stem\\n * @returns {lunr.Token}\\n * @see {@link lunr.Pipeline}\\n * @function\\n */\\nlunr.stemmer = (function(){\\n var step2list = {\\n \\\"ational\\\" : \\\"ate\\\",\\n \\\"tional\\\" : \\\"tion\\\",\\n \\\"enci\\\" : \\\"ence\\\",\\n \\\"anci\\\" : \\\"ance\\\",\\n \\\"izer\\\" : \\\"ize\\\",\\n \\\"bli\\\" : \\\"ble\\\",\\n \\\"alli\\\" : \\\"al\\\",\\n \\\"entli\\\" : \\\"ent\\\",\\n \\\"eli\\\" : \\\"e\\\",\\n \\\"ousli\\\" : \\\"ous\\\",\\n \\\"ization\\\" : \\\"ize\\\",\\n \\\"ation\\\" : \\\"ate\\\",\\n \\\"ator\\\" : \\\"ate\\\",\\n \\\"alism\\\" : \\\"al\\\",\\n \\\"iveness\\\" : \\\"ive\\\",\\n \\\"fulness\\\" : \\\"ful\\\",\\n \\\"ousness\\\" : \\\"ous\\\",\\n \\\"aliti\\\" : \\\"al\\\",\\n \\\"iviti\\\" : \\\"ive\\\",\\n \\\"biliti\\\" : \\\"ble\\\",\\n \\\"logi\\\" : \\\"log\\\"\\n },\\n\\n step3list = {\\n \\\"icate\\\" : \\\"ic\\\",\\n \\\"ative\\\" : \\\"\\\",\\n \\\"alize\\\" : \\\"al\\\",\\n \\\"iciti\\\" : \\\"ic\\\",\\n \\\"ical\\\" : \\\"ic\\\",\\n \\\"ful\\\" : \\\"\\\",\\n \\\"ness\\\" : \\\"\\\"\\n },\\n\\n c = \\\"[^aeiou]\\\", // consonant\\n v = \\\"[aeiouy]\\\", // vowel\\n C = c + \\\"[^aeiouy]*\\\", // consonant sequence\\n V = v + \\\"[aeiou]*\\\", // vowel sequence\\n\\n mgr0 = \\\"^(\\\" + C + \\\")?\\\" + V + C, // [C]VC... is m>0\\n meq1 = \\\"^(\\\" + C + \\\")?\\\" + V + C + \\\"(\\\" + V + \\\")?$\\\", // [C]VC[V] is m=1\\n mgr1 = \\\"^(\\\" + C + \\\")?\\\" + V + C + V + C, // [C]VCVC... is m>1\\n s_v = \\\"^(\\\" + C + \\\")?\\\" + v; // vowel in stem\\n\\n var re_mgr0 = new RegExp(mgr0);\\n var re_mgr1 = new RegExp(mgr1);\\n var re_meq1 = new RegExp(meq1);\\n var re_s_v = new RegExp(s_v);\\n\\n var re_1a = /^(.+?)(ss|i)es$/;\\n var re2_1a = /^(.+?)([^s])s$/;\\n var re_1b = /^(.+?)eed$/;\\n var re2_1b = /^(.+?)(ed|ing)$/;\\n var re_1b_2 = /.$/;\\n var re2_1b_2 = /(at|bl|iz)$/;\\n var re3_1b_2 = new RegExp(\\\"([^aeiouylsz])\\\\\\\\1$\\\");\\n var re4_1b_2 = new RegExp(\\\"^\\\" + C + v + \\\"[^aeiouwxy]$\\\");\\n\\n var re_1c = /^(.+?[^aeiou])y$/;\\n var re_2 = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;\\n\\n var re_3 = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;\\n\\n var re_4 = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;\\n var re2_4 = /^(.+?)(s|t)(ion)$/;\\n\\n var re_5 = /^(.+?)e$/;\\n var re_5_1 = /ll$/;\\n var re3_5 = new RegExp(\\\"^\\\" + C + v + \\\"[^aeiouwxy]$\\\");\\n\\n var porterStemmer = function porterStemmer(w) {\\n var stem,\\n suffix,\\n firstch,\\n re,\\n re2,\\n re3,\\n re4;\\n\\n if (w.length < 3) { return w; }\\n\\n firstch = w.substr(0,1);\\n if (firstch == \\\"y\\\") {\\n w = firstch.toUpperCase() + w.substr(1);\\n }\\n\\n // Step 1a\\n re = re_1a\\n re2 = re2_1a;\\n\\n if (re.test(w)) { w = w.replace(re,\\\"$1$2\\\"); }\\n else if (re2.test(w)) { w = w.replace(re2,\\\"$1$2\\\"); }\\n\\n // Step 1b\\n re = re_1b;\\n re2 = re2_1b;\\n if (re.test(w)) {\\n var fp = re.exec(w);\\n re = re_mgr0;\\n if (re.test(fp[1])) {\\n re = re_1b_2;\\n w = w.replace(re,\\\"\\\");\\n }\\n } else if (re2.test(w)) {\\n var fp = re2.exec(w);\\n stem = fp[1];\\n re2 = re_s_v;\\n if (re2.test(stem)) {\\n w = stem;\\n re2 = re2_1b_2;\\n re3 = re3_1b_2;\\n re4 = re4_1b_2;\\n if (re2.test(w)) { w = w + \\\"e\\\"; }\\n else if (re3.test(w)) { re = re_1b_2; w = w.replace(re,\\\"\\\"); }\\n else if (re4.test(w)) { w = w + \\\"e\\\"; }\\n }\\n }\\n\\n // Step 1c - replace suffix y or Y by i if preceded by a non-vowel which is not the first letter of the word (so cry -> cri, by -> by, say -> say)\\n re = re_1c;\\n if (re.test(w)) {\\n var fp = re.exec(w);\\n stem = fp[1];\\n w = stem + \\\"i\\\";\\n }\\n\\n // Step 2\\n re = re_2;\\n if (re.test(w)) {\\n var fp = re.exec(w);\\n stem = fp[1];\\n suffix = fp[2];\\n re = re_mgr0;\\n if (re.test(stem)) {\\n w = stem + step2list[suffix];\\n }\\n }\\n\\n // Step 3\\n re = re_3;\\n if (re.test(w)) {\\n var fp = re.exec(w);\\n stem = fp[1];\\n suffix = fp[2];\\n re = re_mgr0;\\n if (re.test(stem)) {\\n w = stem + step3list[suffix];\\n }\\n }\\n\\n // Step 4\\n re = re_4;\\n re2 = re2_4;\\n if (re.test(w)) {\\n var fp = re.exec(w);\\n stem = fp[1];\\n re = re_mgr1;\\n if (re.test(stem)) {\\n w = stem;\\n }\\n } else if (re2.test(w)) {\\n var fp = re2.exec(w);\\n stem = fp[1] + fp[2];\\n re2 = re_mgr1;\\n if (re2.test(stem)) {\\n w = stem;\\n }\\n }\\n\\n // Step 5\\n re = re_5;\\n if (re.test(w)) {\\n var fp = re.exec(w);\\n stem = fp[1];\\n re = re_mgr1;\\n re2 = re_meq1;\\n re3 = re3_5;\\n if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) {\\n w = stem;\\n }\\n }\\n\\n re = re_5_1;\\n re2 = re_mgr1;\\n if (re.test(w) && re2.test(w)) {\\n re = re_1b_2;\\n w = w.replace(re,\\\"\\\");\\n }\\n\\n // and turn initial Y back to y\\n\\n if (firstch == \\\"y\\\") {\\n w = firstch.toLowerCase() + w.substr(1);\\n }\\n\\n return w;\\n };\\n\\n return function (token) {\\n return token.update(porterStemmer);\\n }\\n})();\\n\\nlunr.Pipeline.registerFunction(lunr.stemmer, 'stemmer')\\n/*!\\n * lunr.stopWordFilter\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * lunr.generateStopWordFilter builds a stopWordFilter function from the provided\\n * list of stop words.\\n *\\n * The built in lunr.stopWordFilter is built using this generator and can be used\\n * to generate custom stopWordFilters for applications or non English languages.\\n *\\n * @function\\n * @param {Array} token The token to pass through the filter\\n * @returns {lunr.PipelineFunction}\\n * @see lunr.Pipeline\\n * @see lunr.stopWordFilter\\n */\\nlunr.generateStopWordFilter = function (stopWords) {\\n var words = stopWords.reduce(function (memo, stopWord) {\\n memo[stopWord] = stopWord\\n return memo\\n }, {})\\n\\n return function (token) {\\n if (token && words[token.toString()] !== token.toString()) return token\\n }\\n}\\n\\n/**\\n * lunr.stopWordFilter is an English language stop word list filter, any words\\n * contained in the list will not be passed through the filter.\\n *\\n * This is intended to be used in the Pipeline. If the token does not pass the\\n * filter then undefined will be returned.\\n *\\n * @function\\n * @implements {lunr.PipelineFunction}\\n * @params {lunr.Token} token - A token to check for being a stop word.\\n * @returns {lunr.Token}\\n * @see {@link lunr.Pipeline}\\n */\\nlunr.stopWordFilter = lunr.generateStopWordFilter([\\n 'a',\\n 'able',\\n 'about',\\n 'across',\\n 'after',\\n 'all',\\n 'almost',\\n 'also',\\n 'am',\\n 'among',\\n 'an',\\n 'and',\\n 'any',\\n 'are',\\n 'as',\\n 'at',\\n 'be',\\n 'because',\\n 'been',\\n 'but',\\n 'by',\\n 'can',\\n 'cannot',\\n 'could',\\n 'dear',\\n 'did',\\n 'do',\\n 'does',\\n 'either',\\n 'else',\\n 'ever',\\n 'every',\\n 'for',\\n 'from',\\n 'get',\\n 'got',\\n 'had',\\n 'has',\\n 'have',\\n 'he',\\n 'her',\\n 'hers',\\n 'him',\\n 'his',\\n 'how',\\n 'however',\\n 'i',\\n 'if',\\n 'in',\\n 'into',\\n 'is',\\n 'it',\\n 'its',\\n 'just',\\n 'least',\\n 'let',\\n 'like',\\n 'likely',\\n 'may',\\n 'me',\\n 'might',\\n 'most',\\n 'must',\\n 'my',\\n 'neither',\\n 'no',\\n 'nor',\\n 'not',\\n 'of',\\n 'off',\\n 'often',\\n 'on',\\n 'only',\\n 'or',\\n 'other',\\n 'our',\\n 'own',\\n 'rather',\\n 'said',\\n 'say',\\n 'says',\\n 'she',\\n 'should',\\n 'since',\\n 'so',\\n 'some',\\n 'than',\\n 'that',\\n 'the',\\n 'their',\\n 'them',\\n 'then',\\n 'there',\\n 'these',\\n 'they',\\n 'this',\\n 'tis',\\n 'to',\\n 'too',\\n 'twas',\\n 'us',\\n 'wants',\\n 'was',\\n 'we',\\n 'were',\\n 'what',\\n 'when',\\n 'where',\\n 'which',\\n 'while',\\n 'who',\\n 'whom',\\n 'why',\\n 'will',\\n 'with',\\n 'would',\\n 'yet',\\n 'you',\\n 'your'\\n])\\n\\nlunr.Pipeline.registerFunction(lunr.stopWordFilter, 'stopWordFilter')\\n/*!\\n * lunr.trimmer\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * lunr.trimmer is a pipeline function for trimming non word\\n * characters from the beginning and end of tokens before they\\n * enter the index.\\n *\\n * This implementation may not work correctly for non latin\\n * characters and should either be removed or adapted for use\\n * with languages with non-latin characters.\\n *\\n * @static\\n * @implements {lunr.PipelineFunction}\\n * @param {lunr.Token} token The token to pass through the filter\\n * @returns {lunr.Token}\\n * @see lunr.Pipeline\\n */\\nlunr.trimmer = function (token) {\\n return token.update(function (s) {\\n return s.replace(/^\\\\W+/, '').replace(/\\\\W+$/, '')\\n })\\n}\\n\\nlunr.Pipeline.registerFunction(lunr.trimmer, 'trimmer')\\n/*!\\n * lunr.TokenSet\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * A token set is used to store the unique list of all tokens\\n * within an index. Token sets are also used to represent an\\n * incoming query to the index, this query token set and index\\n * token set are then intersected to find which tokens to look\\n * up in the inverted index.\\n *\\n * A token set can hold multiple tokens, as in the case of the\\n * index token set, or it can hold a single token as in the\\n * case of a simple query token set.\\n *\\n * Additionally token sets are used to perform wildcard matching.\\n * Leading, contained and trailing wildcards are supported, and\\n * from this edit distance matching can also be provided.\\n *\\n * Token sets are implemented as a minimal finite state automata,\\n * where both common prefixes and suffixes are shared between tokens.\\n * This helps to reduce the space used for storing the token set.\\n *\\n * @constructor\\n */\\nlunr.TokenSet = function () {\\n this.final = false\\n this.edges = {}\\n this.id = lunr.TokenSet._nextId\\n lunr.TokenSet._nextId += 1\\n}\\n\\n/**\\n * Keeps track of the next, auto increment, identifier to assign\\n * to a new tokenSet.\\n *\\n * TokenSets require a unique identifier to be correctly minimised.\\n *\\n * @private\\n */\\nlunr.TokenSet._nextId = 1\\n\\n/**\\n * Creates a TokenSet instance from the given sorted array of words.\\n *\\n * @param {String[]} arr - A sorted array of strings to create the set from.\\n * @returns {lunr.TokenSet}\\n * @throws Will throw an error if the input array is not sorted.\\n */\\nlunr.TokenSet.fromArray = function (arr) {\\n var builder = new lunr.TokenSet.Builder\\n\\n for (var i = 0, len = arr.length; i < len; i++) {\\n builder.insert(arr[i])\\n }\\n\\n builder.finish()\\n return builder.root\\n}\\n\\n/**\\n * Creates a token set from a query clause.\\n *\\n * @private\\n * @param {Object} clause - A single clause from lunr.Query.\\n * @param {string} clause.term - The query clause term.\\n * @param {number} [clause.editDistance] - The optional edit distance for the term.\\n * @returns {lunr.TokenSet}\\n */\\nlunr.TokenSet.fromClause = function (clause) {\\n if ('editDistance' in clause) {\\n return lunr.TokenSet.fromFuzzyString(clause.term, clause.editDistance)\\n } else {\\n return lunr.TokenSet.fromString(clause.term)\\n }\\n}\\n\\n/**\\n * Creates a token set representing a single string with a specified\\n * edit distance.\\n *\\n * Insertions, deletions, substitutions and transpositions are each\\n * treated as an edit distance of 1.\\n *\\n * Increasing the allowed edit distance will have a dramatic impact\\n * on the performance of both creating and intersecting these TokenSets.\\n * It is advised to keep the edit distance less than 3.\\n *\\n * @param {string} str - The string to create the token set from.\\n * @param {number} editDistance - The allowed edit distance to match.\\n * @returns {lunr.Vector}\\n */\\nlunr.TokenSet.fromFuzzyString = function (str, editDistance) {\\n var root = new lunr.TokenSet\\n\\n var stack = [{\\n node: root,\\n editsRemaining: editDistance,\\n str: str\\n }]\\n\\n while (stack.length) {\\n var frame = stack.pop()\\n\\n // no edit\\n if (frame.str.length > 0) {\\n var char = frame.str.charAt(0),\\n noEditNode\\n\\n if (char in frame.node.edges) {\\n noEditNode = frame.node.edges[char]\\n } else {\\n noEditNode = new lunr.TokenSet\\n frame.node.edges[char] = noEditNode\\n }\\n\\n if (frame.str.length == 1) {\\n noEditNode.final = true\\n }\\n\\n stack.push({\\n node: noEditNode,\\n editsRemaining: frame.editsRemaining,\\n str: frame.str.slice(1)\\n })\\n }\\n\\n if (frame.editsRemaining == 0) {\\n continue\\n }\\n\\n // insertion\\n if (\\\"*\\\" in frame.node.edges) {\\n var insertionNode = frame.node.edges[\\\"*\\\"]\\n } else {\\n var insertionNode = new lunr.TokenSet\\n frame.node.edges[\\\"*\\\"] = insertionNode\\n }\\n\\n if (frame.str.length == 0) {\\n insertionNode.final = true\\n }\\n\\n stack.push({\\n node: insertionNode,\\n editsRemaining: frame.editsRemaining - 1,\\n str: frame.str\\n })\\n\\n // deletion\\n // can only do a deletion if we have enough edits remaining\\n // and if there are characters left to delete in the string\\n if (frame.str.length > 1) {\\n stack.push({\\n node: frame.node,\\n editsRemaining: frame.editsRemaining - 1,\\n str: frame.str.slice(1)\\n })\\n }\\n\\n // deletion\\n // just removing the last character from the str\\n if (frame.str.length == 1) {\\n frame.node.final = true\\n }\\n\\n // substitution\\n // can only do a substitution if we have enough edits remaining\\n // and if there are characters left to substitute\\n if (frame.str.length >= 1) {\\n if (\\\"*\\\" in frame.node.edges) {\\n var substitutionNode = frame.node.edges[\\\"*\\\"]\\n } else {\\n var substitutionNode = new lunr.TokenSet\\n frame.node.edges[\\\"*\\\"] = substitutionNode\\n }\\n\\n if (frame.str.length == 1) {\\n substitutionNode.final = true\\n }\\n\\n stack.push({\\n node: substitutionNode,\\n editsRemaining: frame.editsRemaining - 1,\\n str: frame.str.slice(1)\\n })\\n }\\n\\n // transposition\\n // can only do a transposition if there are edits remaining\\n // and there are enough characters to transpose\\n if (frame.str.length > 1) {\\n var charA = frame.str.charAt(0),\\n charB = frame.str.charAt(1),\\n transposeNode\\n\\n if (charB in frame.node.edges) {\\n transposeNode = frame.node.edges[charB]\\n } else {\\n transposeNode = new lunr.TokenSet\\n frame.node.edges[charB] = transposeNode\\n }\\n\\n if (frame.str.length == 1) {\\n transposeNode.final = true\\n }\\n\\n stack.push({\\n node: transposeNode,\\n editsRemaining: frame.editsRemaining - 1,\\n str: charA + frame.str.slice(2)\\n })\\n }\\n }\\n\\n return root\\n}\\n\\n/**\\n * Creates a TokenSet from a string.\\n *\\n * The string may contain one or more wildcard characters (*)\\n * that will allow wildcard matching when intersecting with\\n * another TokenSet.\\n *\\n * @param {string} str - The string to create a TokenSet from.\\n * @returns {lunr.TokenSet}\\n */\\nlunr.TokenSet.fromString = function (str) {\\n var node = new lunr.TokenSet,\\n root = node\\n\\n /*\\n * Iterates through all characters within the passed string\\n * appending a node for each character.\\n *\\n * When a wildcard character is found then a self\\n * referencing edge is introduced to continually match\\n * any number of any characters.\\n */\\n for (var i = 0, len = str.length; i < len; i++) {\\n var char = str[i],\\n final = (i == len - 1)\\n\\n if (char == \\\"*\\\") {\\n node.edges[char] = node\\n node.final = final\\n\\n } else {\\n var next = new lunr.TokenSet\\n next.final = final\\n\\n node.edges[char] = next\\n node = next\\n }\\n }\\n\\n return root\\n}\\n\\n/**\\n * Converts this TokenSet into an array of strings\\n * contained within the TokenSet.\\n *\\n * This is not intended to be used on a TokenSet that\\n * contains wildcards, in these cases the results are\\n * undefined and are likely to cause an infinite loop.\\n *\\n * @returns {string[]}\\n */\\nlunr.TokenSet.prototype.toArray = function () {\\n var words = []\\n\\n var stack = [{\\n prefix: \\\"\\\",\\n node: this\\n }]\\n\\n while (stack.length) {\\n var frame = stack.pop(),\\n edges = Object.keys(frame.node.edges),\\n len = edges.length\\n\\n if (frame.node.final) {\\n /* In Safari, at this point the prefix is sometimes corrupted, see:\\n * https://github.com/olivernn/lunr.js/issues/279 Calling any\\n * String.prototype method forces Safari to \\\"cast\\\" this string to what\\n * it's supposed to be, fixing the bug. */\\n frame.prefix.charAt(0)\\n words.push(frame.prefix)\\n }\\n\\n for (var i = 0; i < len; i++) {\\n var edge = edges[i]\\n\\n stack.push({\\n prefix: frame.prefix.concat(edge),\\n node: frame.node.edges[edge]\\n })\\n }\\n }\\n\\n return words\\n}\\n\\n/**\\n * Generates a string representation of a TokenSet.\\n *\\n * This is intended to allow TokenSets to be used as keys\\n * in objects, largely to aid the construction and minimisation\\n * of a TokenSet. As such it is not designed to be a human\\n * friendly representation of the TokenSet.\\n *\\n * @returns {string}\\n */\\nlunr.TokenSet.prototype.toString = function () {\\n // NOTE: Using Object.keys here as this.edges is very likely\\n // to enter 'hash-mode' with many keys being added\\n //\\n // avoiding a for-in loop here as it leads to the function\\n // being de-optimised (at least in V8). From some simple\\n // benchmarks the performance is comparable, but allowing\\n // V8 to optimize may mean easy performance wins in the future.\\n\\n if (this._str) {\\n return this._str\\n }\\n\\n var str = this.final ? '1' : '0',\\n labels = Object.keys(this.edges).sort(),\\n len = labels.length\\n\\n for (var i = 0; i < len; i++) {\\n var label = labels[i],\\n node = this.edges[label]\\n\\n str = str + label + node.id\\n }\\n\\n return str\\n}\\n\\n/**\\n * Returns a new TokenSet that is the intersection of\\n * this TokenSet and the passed TokenSet.\\n *\\n * This intersection will take into account any wildcards\\n * contained within the TokenSet.\\n *\\n * @param {lunr.TokenSet} b - An other TokenSet to intersect with.\\n * @returns {lunr.TokenSet}\\n */\\nlunr.TokenSet.prototype.intersect = function (b) {\\n var output = new lunr.TokenSet,\\n frame = undefined\\n\\n var stack = [{\\n qNode: b,\\n output: output,\\n node: this\\n }]\\n\\n while (stack.length) {\\n frame = stack.pop()\\n\\n // NOTE: As with the #toString method, we are using\\n // Object.keys and a for loop instead of a for-in loop\\n // as both of these objects enter 'hash' mode, causing\\n // the function to be de-optimised in V8\\n var qEdges = Object.keys(frame.qNode.edges),\\n qLen = qEdges.length,\\n nEdges = Object.keys(frame.node.edges),\\n nLen = nEdges.length\\n\\n for (var q = 0; q < qLen; q++) {\\n var qEdge = qEdges[q]\\n\\n for (var n = 0; n < nLen; n++) {\\n var nEdge = nEdges[n]\\n\\n if (nEdge == qEdge || qEdge == '*') {\\n var node = frame.node.edges[nEdge],\\n qNode = frame.qNode.edges[qEdge],\\n final = node.final && qNode.final,\\n next = undefined\\n\\n if (nEdge in frame.output.edges) {\\n // an edge already exists for this character\\n // no need to create a new node, just set the finality\\n // bit unless this node is already final\\n next = frame.output.edges[nEdge]\\n next.final = next.final || final\\n\\n } else {\\n // no edge exists yet, must create one\\n // set the finality bit and insert it\\n // into the output\\n next = new lunr.TokenSet\\n next.final = final\\n frame.output.edges[nEdge] = next\\n }\\n\\n stack.push({\\n qNode: qNode,\\n output: next,\\n node: node\\n })\\n }\\n }\\n }\\n }\\n\\n return output\\n}\\nlunr.TokenSet.Builder = function () {\\n this.previousWord = \\\"\\\"\\n this.root = new lunr.TokenSet\\n this.uncheckedNodes = []\\n this.minimizedNodes = {}\\n}\\n\\nlunr.TokenSet.Builder.prototype.insert = function (word) {\\n var node,\\n commonPrefix = 0\\n\\n if (word < this.previousWord) {\\n throw new Error (\\\"Out of order word insertion\\\")\\n }\\n\\n for (var i = 0; i < word.length && i < this.previousWord.length; i++) {\\n if (word[i] != this.previousWord[i]) break\\n commonPrefix++\\n }\\n\\n this.minimize(commonPrefix)\\n\\n if (this.uncheckedNodes.length == 0) {\\n node = this.root\\n } else {\\n node = this.uncheckedNodes[this.uncheckedNodes.length - 1].child\\n }\\n\\n for (var i = commonPrefix; i < word.length; i++) {\\n var nextNode = new lunr.TokenSet,\\n char = word[i]\\n\\n node.edges[char] = nextNode\\n\\n this.uncheckedNodes.push({\\n parent: node,\\n char: char,\\n child: nextNode\\n })\\n\\n node = nextNode\\n }\\n\\n node.final = true\\n this.previousWord = word\\n}\\n\\nlunr.TokenSet.Builder.prototype.finish = function () {\\n this.minimize(0)\\n}\\n\\nlunr.TokenSet.Builder.prototype.minimize = function (downTo) {\\n for (var i = this.uncheckedNodes.length - 1; i >= downTo; i--) {\\n var node = this.uncheckedNodes[i],\\n childKey = node.child.toString()\\n\\n if (childKey in this.minimizedNodes) {\\n node.parent.edges[node.char] = this.minimizedNodes[childKey]\\n } else {\\n // Cache the key for this node since\\n // we know it can't change anymore\\n node.child._str = childKey\\n\\n this.minimizedNodes[childKey] = node.child\\n }\\n\\n this.uncheckedNodes.pop()\\n }\\n}\\n/*!\\n * lunr.Index\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * An index contains the built index of all documents and provides a query interface\\n * to the index.\\n *\\n * Usually instances of lunr.Index will not be created using this constructor, instead\\n * lunr.Builder should be used to construct new indexes, or lunr.Index.load should be\\n * used to load previously built and serialized indexes.\\n *\\n * @constructor\\n * @param {Object} attrs - The attributes of the built search index.\\n * @param {Object} attrs.invertedIndex - An index of term/field to document reference.\\n * @param {Object} attrs.fieldVectors - Field vectors\\n * @param {lunr.TokenSet} attrs.tokenSet - An set of all corpus tokens.\\n * @param {string[]} attrs.fields - The names of indexed document fields.\\n * @param {lunr.Pipeline} attrs.pipeline - The pipeline to use for search terms.\\n */\\nlunr.Index = function (attrs) {\\n this.invertedIndex = attrs.invertedIndex\\n this.fieldVectors = attrs.fieldVectors\\n this.tokenSet = attrs.tokenSet\\n this.fields = attrs.fields\\n this.pipeline = attrs.pipeline\\n}\\n\\n/**\\n * A result contains details of a document matching a search query.\\n * @typedef {Object} lunr.Index~Result\\n * @property {string} ref - The reference of the document this result represents.\\n * @property {number} score - A number between 0 and 1 representing how similar this document is to the query.\\n * @property {lunr.MatchData} matchData - Contains metadata about this match including which term(s) caused the match.\\n */\\n\\n/**\\n * Although lunr provides the ability to create queries using lunr.Query, it also provides a simple\\n * query language which itself is parsed into an instance of lunr.Query.\\n *\\n * For programmatically building queries it is advised to directly use lunr.Query, the query language\\n * is best used for human entered text rather than program generated text.\\n *\\n * At its simplest queries can just be a single term, e.g. `hello`, multiple terms are also supported\\n * and will be combined with OR, e.g `hello world` will match documents that contain either 'hello'\\n * or 'world', though those that contain both will rank higher in the results.\\n *\\n * Wildcards can be included in terms to match one or more unspecified characters, these wildcards can\\n * be inserted anywhere within the term, and more than one wildcard can exist in a single term. Adding\\n * wildcards will increase the number of documents that will be found but can also have a negative\\n * impact on query performance, especially with wildcards at the beginning of a term.\\n *\\n * Terms can be restricted to specific fields, e.g. `title:hello`, only documents with the term\\n * hello in the title field will match this query. Using a field not present in the index will lead\\n * to an error being thrown.\\n *\\n * Modifiers can also be added to terms, lunr supports edit distance and boost modifiers on terms. A term\\n * boost will make documents matching that term score higher, e.g. `foo^5`. Edit distance is also supported\\n * to provide fuzzy matching, e.g. 'hello~2' will match documents with hello with an edit distance of 2.\\n * Avoid large values for edit distance to improve query performance.\\n *\\n * Each term also supports a presence modifier. By default a term's presence in document is optional, however\\n * this can be changed to either required or prohibited. For a term's presence to be required in a document the\\n * term should be prefixed with a '+', e.g. `+foo bar` is a search for documents that must contain 'foo' and\\n * optionally contain 'bar'. Conversely a leading '-' sets the terms presence to prohibited, i.e. it must not\\n * appear in a document, e.g. `-foo bar` is a search for documents that do not contain 'foo' but may contain 'bar'.\\n *\\n * To escape special characters the backslash character '\\\\' can be used, this allows searches to include\\n * characters that would normally be considered modifiers, e.g. `foo\\\\~2` will search for a term \\\"foo~2\\\" instead\\n * of attempting to apply a boost of 2 to the search term \\\"foo\\\".\\n *\\n * @typedef {string} lunr.Index~QueryString\\n * @example Simple single term query\\n * hello\\n * @example Multiple term query\\n * hello world\\n * @example term scoped to a field\\n * title:hello\\n * @example term with a boost of 10\\n * hello^10\\n * @example term with an edit distance of 2\\n * hello~2\\n * @example terms with presence modifiers\\n * -foo +bar baz\\n */\\n\\n/**\\n * Performs a search against the index using lunr query syntax.\\n *\\n * Results will be returned sorted by their score, the most relevant results\\n * will be returned first. For details on how the score is calculated, please see\\n * the {@link https://lunrjs.com/guides/searching.html#scoring|guide}.\\n *\\n * For more programmatic querying use lunr.Index#query.\\n *\\n * @param {lunr.Index~QueryString} queryString - A string containing a lunr query.\\n * @throws {lunr.QueryParseError} If the passed query string cannot be parsed.\\n * @returns {lunr.Index~Result[]}\\n */\\nlunr.Index.prototype.search = function (queryString) {\\n return this.query(function (query) {\\n var parser = new lunr.QueryParser(queryString, query)\\n parser.parse()\\n })\\n}\\n\\n/**\\n * A query builder callback provides a query object to be used to express\\n * the query to perform on the index.\\n *\\n * @callback lunr.Index~queryBuilder\\n * @param {lunr.Query} query - The query object to build up.\\n * @this lunr.Query\\n */\\n\\n/**\\n * Performs a query against the index using the yielded lunr.Query object.\\n *\\n * If performing programmatic queries against the index, this method is preferred\\n * over lunr.Index#search so as to avoid the additional query parsing overhead.\\n *\\n * A query object is yielded to the supplied function which should be used to\\n * express the query to be run against the index.\\n *\\n * Note that although this function takes a callback parameter it is _not_ an\\n * asynchronous operation, the callback is just yielded a query object to be\\n * customized.\\n *\\n * @param {lunr.Index~queryBuilder} fn - A function that is used to build the query.\\n * @returns {lunr.Index~Result[]}\\n */\\nlunr.Index.prototype.query = function (fn) {\\n // for each query clause\\n // * process terms\\n // * expand terms from token set\\n // * find matching documents and metadata\\n // * get document vectors\\n // * score documents\\n\\n var query = new lunr.Query(this.fields),\\n matchingFields = Object.create(null),\\n queryVectors = Object.create(null),\\n termFieldCache = Object.create(null),\\n requiredMatches = Object.create(null),\\n prohibitedMatches = Object.create(null)\\n\\n /*\\n * To support field level boosts a query vector is created per\\n * field. An empty vector is eagerly created to support negated\\n * queries.\\n */\\n for (var i = 0; i < this.fields.length; i++) {\\n queryVectors[this.fields[i]] = new lunr.Vector\\n }\\n\\n fn.call(query, query)\\n\\n for (var i = 0; i < query.clauses.length; i++) {\\n /*\\n * Unless the pipeline has been disabled for this term, which is\\n * the case for terms with wildcards, we need to pass the clause\\n * term through the search pipeline. A pipeline returns an array\\n * of processed terms. Pipeline functions may expand the passed\\n * term, which means we may end up performing multiple index lookups\\n * for a single query term.\\n */\\n var clause = query.clauses[i],\\n terms = null,\\n clauseMatches = lunr.Set.complete\\n\\n if (clause.usePipeline) {\\n terms = this.pipeline.runString(clause.term, {\\n fields: clause.fields\\n })\\n } else {\\n terms = [clause.term]\\n }\\n\\n for (var m = 0; m < terms.length; m++) {\\n var term = terms[m]\\n\\n /*\\n * Each term returned from the pipeline needs to use the same query\\n * clause object, e.g. the same boost and or edit distance. The\\n * simplest way to do this is to re-use the clause object but mutate\\n * its term property.\\n */\\n clause.term = term\\n\\n /*\\n * From the term in the clause we create a token set which will then\\n * be used to intersect the indexes token set to get a list of terms\\n * to lookup in the inverted index\\n */\\n var termTokenSet = lunr.TokenSet.fromClause(clause),\\n expandedTerms = this.tokenSet.intersect(termTokenSet).toArray()\\n\\n /*\\n * If a term marked as required does not exist in the tokenSet it is\\n * impossible for the search to return any matches. We set all the field\\n * scoped required matches set to empty and stop examining any further\\n * clauses.\\n */\\n if (expandedTerms.length === 0 && clause.presence === lunr.Query.presence.REQUIRED) {\\n for (var k = 0; k < clause.fields.length; k++) {\\n var field = clause.fields[k]\\n requiredMatches[field] = lunr.Set.empty\\n }\\n\\n break\\n }\\n\\n for (var j = 0; j < expandedTerms.length; j++) {\\n /*\\n * For each term get the posting and termIndex, this is required for\\n * building the query vector.\\n */\\n var expandedTerm = expandedTerms[j],\\n posting = this.invertedIndex[expandedTerm],\\n termIndex = posting._index\\n\\n for (var k = 0; k < clause.fields.length; k++) {\\n /*\\n * For each field that this query term is scoped by (by default\\n * all fields are in scope) we need to get all the document refs\\n * that have this term in that field.\\n *\\n * The posting is the entry in the invertedIndex for the matching\\n * term from above.\\n */\\n var field = clause.fields[k],\\n fieldPosting = posting[field],\\n matchingDocumentRefs = Object.keys(fieldPosting),\\n termField = expandedTerm + \\\"/\\\" + field,\\n matchingDocumentsSet = new lunr.Set(matchingDocumentRefs)\\n\\n /*\\n * if the presence of this term is required ensure that the matching\\n * documents are added to the set of required matches for this clause.\\n *\\n */\\n if (clause.presence == lunr.Query.presence.REQUIRED) {\\n clauseMatches = clauseMatches.union(matchingDocumentsSet)\\n\\n if (requiredMatches[field] === undefined) {\\n requiredMatches[field] = lunr.Set.complete\\n }\\n }\\n\\n /*\\n * if the presence of this term is prohibited ensure that the matching\\n * documents are added to the set of prohibited matches for this field,\\n * creating that set if it does not yet exist.\\n */\\n if (clause.presence == lunr.Query.presence.PROHIBITED) {\\n if (prohibitedMatches[field] === undefined) {\\n prohibitedMatches[field] = lunr.Set.empty\\n }\\n\\n prohibitedMatches[field] = prohibitedMatches[field].union(matchingDocumentsSet)\\n\\n /*\\n * Prohibited matches should not be part of the query vector used for\\n * similarity scoring and no metadata should be extracted so we continue\\n * to the next field\\n */\\n continue\\n }\\n\\n /*\\n * The query field vector is populated using the termIndex found for\\n * the term and a unit value with the appropriate boost applied.\\n * Using upsert because there could already be an entry in the vector\\n * for the term we are working with. In that case we just add the scores\\n * together.\\n */\\n queryVectors[field].upsert(termIndex, clause.boost, function (a, b) { return a + b })\\n\\n /**\\n * If we've already seen this term, field combo then we've already collected\\n * the matching documents and metadata, no need to go through all that again\\n */\\n if (termFieldCache[termField]) {\\n continue\\n }\\n\\n for (var l = 0; l < matchingDocumentRefs.length; l++) {\\n /*\\n * All metadata for this term/field/document triple\\n * are then extracted and collected into an instance\\n * of lunr.MatchData ready to be returned in the query\\n * results\\n */\\n var matchingDocumentRef = matchingDocumentRefs[l],\\n matchingFieldRef = new lunr.FieldRef (matchingDocumentRef, field),\\n metadata = fieldPosting[matchingDocumentRef],\\n fieldMatch\\n\\n if ((fieldMatch = matchingFields[matchingFieldRef]) === undefined) {\\n matchingFields[matchingFieldRef] = new lunr.MatchData (expandedTerm, field, metadata)\\n } else {\\n fieldMatch.add(expandedTerm, field, metadata)\\n }\\n\\n }\\n\\n termFieldCache[termField] = true\\n }\\n }\\n }\\n\\n /**\\n * If the presence was required we need to update the requiredMatches field sets.\\n * We do this after all fields for the term have collected their matches because\\n * the clause terms presence is required in _any_ of the fields not _all_ of the\\n * fields.\\n */\\n if (clause.presence === lunr.Query.presence.REQUIRED) {\\n for (var k = 0; k < clause.fields.length; k++) {\\n var field = clause.fields[k]\\n requiredMatches[field] = requiredMatches[field].intersect(clauseMatches)\\n }\\n }\\n }\\n\\n /**\\n * Need to combine the field scoped required and prohibited\\n * matching documents into a global set of required and prohibited\\n * matches\\n */\\n var allRequiredMatches = lunr.Set.complete,\\n allProhibitedMatches = lunr.Set.empty\\n\\n for (var i = 0; i < this.fields.length; i++) {\\n var field = this.fields[i]\\n\\n if (requiredMatches[field]) {\\n allRequiredMatches = allRequiredMatches.intersect(requiredMatches[field])\\n }\\n\\n if (prohibitedMatches[field]) {\\n allProhibitedMatches = allProhibitedMatches.union(prohibitedMatches[field])\\n }\\n }\\n\\n var matchingFieldRefs = Object.keys(matchingFields),\\n results = [],\\n matches = Object.create(null)\\n\\n /*\\n * If the query is negated (contains only prohibited terms)\\n * we need to get _all_ fieldRefs currently existing in the\\n * index. This is only done when we know that the query is\\n * entirely prohibited terms to avoid any cost of getting all\\n * fieldRefs unnecessarily.\\n *\\n * Additionally, blank MatchData must be created to correctly\\n * populate the results.\\n */\\n if (query.isNegated()) {\\n matchingFieldRefs = Object.keys(this.fieldVectors)\\n\\n for (var i = 0; i < matchingFieldRefs.length; i++) {\\n var matchingFieldRef = matchingFieldRefs[i]\\n var fieldRef = lunr.FieldRef.fromString(matchingFieldRef)\\n matchingFields[matchingFieldRef] = new lunr.MatchData\\n }\\n }\\n\\n for (var i = 0; i < matchingFieldRefs.length; i++) {\\n /*\\n * Currently we have document fields that match the query, but we\\n * need to return documents. The matchData and scores are combined\\n * from multiple fields belonging to the same document.\\n *\\n * Scores are calculated by field, using the query vectors created\\n * above, and combined into a final document score using addition.\\n */\\n var fieldRef = lunr.FieldRef.fromString(matchingFieldRefs[i]),\\n docRef = fieldRef.docRef\\n\\n if (!allRequiredMatches.contains(docRef)) {\\n continue\\n }\\n\\n if (allProhibitedMatches.contains(docRef)) {\\n continue\\n }\\n\\n var fieldVector = this.fieldVectors[fieldRef],\\n score = queryVectors[fieldRef.fieldName].similarity(fieldVector),\\n docMatch\\n\\n if ((docMatch = matches[docRef]) !== undefined) {\\n docMatch.score += score\\n docMatch.matchData.combine(matchingFields[fieldRef])\\n } else {\\n var match = {\\n ref: docRef,\\n score: score,\\n matchData: matchingFields[fieldRef]\\n }\\n matches[docRef] = match\\n results.push(match)\\n }\\n }\\n\\n /*\\n * Sort the results objects by score, highest first.\\n */\\n return results.sort(function (a, b) {\\n return b.score - a.score\\n })\\n}\\n\\n/**\\n * Prepares the index for JSON serialization.\\n *\\n * The schema for this JSON blob will be described in a\\n * separate JSON schema file.\\n *\\n * @returns {Object}\\n */\\nlunr.Index.prototype.toJSON = function () {\\n var invertedIndex = Object.keys(this.invertedIndex)\\n .sort()\\n .map(function (term) {\\n return [term, this.invertedIndex[term]]\\n }, this)\\n\\n var fieldVectors = Object.keys(this.fieldVectors)\\n .map(function (ref) {\\n return [ref, this.fieldVectors[ref].toJSON()]\\n }, this)\\n\\n return {\\n version: lunr.version,\\n fields: this.fields,\\n fieldVectors: fieldVectors,\\n invertedIndex: invertedIndex,\\n pipeline: this.pipeline.toJSON()\\n }\\n}\\n\\n/**\\n * Loads a previously serialized lunr.Index\\n *\\n * @param {Object} serializedIndex - A previously serialized lunr.Index\\n * @returns {lunr.Index}\\n */\\nlunr.Index.load = function (serializedIndex) {\\n var attrs = {},\\n fieldVectors = {},\\n serializedVectors = serializedIndex.fieldVectors,\\n invertedIndex = Object.create(null),\\n serializedInvertedIndex = serializedIndex.invertedIndex,\\n tokenSetBuilder = new lunr.TokenSet.Builder,\\n pipeline = lunr.Pipeline.load(serializedIndex.pipeline)\\n\\n if (serializedIndex.version != lunr.version) {\\n lunr.utils.warn(\\\"Version mismatch when loading serialised index. Current version of lunr '\\\" + lunr.version + \\\"' does not match serialized index '\\\" + serializedIndex.version + \\\"'\\\")\\n }\\n\\n for (var i = 0; i < serializedVectors.length; i++) {\\n var tuple = serializedVectors[i],\\n ref = tuple[0],\\n elements = tuple[1]\\n\\n fieldVectors[ref] = new lunr.Vector(elements)\\n }\\n\\n for (var i = 0; i < serializedInvertedIndex.length; i++) {\\n var tuple = serializedInvertedIndex[i],\\n term = tuple[0],\\n posting = tuple[1]\\n\\n tokenSetBuilder.insert(term)\\n invertedIndex[term] = posting\\n }\\n\\n tokenSetBuilder.finish()\\n\\n attrs.fields = serializedIndex.fields\\n\\n attrs.fieldVectors = fieldVectors\\n attrs.invertedIndex = invertedIndex\\n attrs.tokenSet = tokenSetBuilder.root\\n attrs.pipeline = pipeline\\n\\n return new lunr.Index(attrs)\\n}\\n/*!\\n * lunr.Builder\\n * Copyright (C) 2019 Oliver Nightingale\\n */\\n\\n/**\\n * lunr.Builder performs indexing on a set of documents and\\n * returns instances of lunr.Index ready for querying.\\n *\\n * All configuration of the index is done via the builder, the\\n * fields to index, the document reference, the text processing\\n * pipeline and document scoring parameters are all set on the\\n * builder before indexing.\\n *\\n * @constructor\\n * @property {string} _ref - Internal reference to the document reference field.\\n * @property {string[]} _fields - Internal reference to the document fields to index.\\n * @property {object} invertedIndex - The inverted index maps terms to document fields.\\n * @property {object} documentTermFrequencies - Keeps track of document term frequencies.\\n * @property {object} documentLengths - Keeps track of the length of documents added to the index.\\n * @property {lunr.tokenizer} tokenizer - Function for splitting strings into tokens for indexing.\\n * @property {lunr.Pipeline} pipeline - The pipeline performs text processing on tokens before indexing.\\n * @property {lunr.Pipeline} searchPipeline - A pipeline for processing search terms before querying the index.\\n * @property {number} documentCount - Keeps track of the total number of documents indexed.\\n * @property {number} _b - A parameter to control field length normalization, setting this to 0 disabled normalization, 1 fully normalizes field lengths, the default value is 0.75.\\n * @property {number} _k1 - A parameter to control how quickly an increase in term frequency results in term frequency saturation, the default value is 1.2.\\n * @property {number} termIndex - A counter incremented for each unique term, used to identify a terms position in the vector space.\\n * @property {array} metadataWhitelist - A list of metadata keys that have been whitelisted for entry in the index.\\n */\\nlunr.Builder = function () {\\n this._ref = \\\"id\\\"\\n this._fields = Object.create(null)\\n this._documents = Object.create(null)\\n this.invertedIndex = Object.create(null)\\n this.fieldTermFrequencies = {}\\n this.fieldLengths = {}\\n this.tokenizer = lunr.tokenizer\\n this.pipeline = new lunr.Pipeline\\n this.searchPipeline = new lunr.Pipeline\\n this.documentCount = 0\\n this._b = 0.75\\n this._k1 = 1.2\\n this.termIndex = 0\\n this.metadataWhitelist = []\\n}\\n\\n/**\\n * Sets the document field used as the document reference. Every document must have this field.\\n * The type of this field in the document should be a string, if it is not a string it will be\\n * coerced into a string by calling toString.\\n *\\n * The default ref is 'id'.\\n *\\n * The ref should _not_ be changed during indexing, it should be set before any documents are\\n * added to the index. Changing it during indexing can lead to inconsistent results.\\n *\\n * @param {string} ref - The name of the reference field in the document.\\n */\\nlunr.Builder.prototype.ref = function (ref) {\\n this._ref = ref\\n}\\n\\n/**\\n * A function that is used to extract a field from a document.\\n *\\n * Lunr expects a field to be at the top level of a document, if however the field\\n * is deeply nested within a document an extractor function can be used to extract\\n * the right field for indexing.\\n *\\n * @callback fieldExtractor\\n * @param {object} doc - The document being added to the index.\\n * @returns {?(string|object|object[])} obj - The object that will be indexed for this field.\\n * @example Extracting a nested field\\n * function (doc) { return doc.nested.field }\\n */\\n\\n/**\\n * Adds a field to the list of document fields that will be indexed. Every document being\\n * indexed should have this field. Null values for this field in indexed documents will\\n * not cause errors but will limit the chance of that document being retrieved by searches.\\n *\\n * All fields should be added before adding documents to the index. Adding fields after\\n * a document has been indexed will have no effect on already indexed documents.\\n *\\n * Fields can be boosted at build time. This allows terms within that field to have more\\n * importance when ranking search results. Use a field boost to specify that matches within\\n * one field are more important than other fields.\\n *\\n * @param {string} fieldName - The name of a field to index in all documents.\\n * @param {object} attributes - Optional attributes associated with this field.\\n * @param {number} [attributes.boost=1] - Boost applied to all terms within this field.\\n * @param {fieldExtractor} [attributes.extractor] - Function to extract a field from a document.\\n * @throws {RangeError} fieldName cannot contain unsupported characters '/'\\n */\\nlunr.Builder.prototype.field = function (fieldName, attributes) {\\n if (/\\\\//.test(fieldName)) {\\n throw new RangeError (\\\"Field '\\\" + fieldName + \\\"' contains illegal character '/'\\\")\\n }\\n\\n this._fields[fieldName] = attributes || {}\\n}\\n\\n/**\\n * A parameter to tune the amount of field length normalisation that is applied when\\n * calculating relevance scores. A value of 0 will completely disable any normalisation\\n * and a value of 1 will fully normalise field lengths. The default is 0.75. Values of b\\n * will be clamped to the range 0 - 1.\\n *\\n * @param {number} number - The value to set for this tuning parameter.\\n */\\nlunr.Builder.prototype.b = function (number) {\\n if (number < 0) {\\n this._b = 0\\n } else if (number > 1) {\\n this._b = 1\\n } else {\\n this._b = number\\n }\\n}\\n\\n/**\\n * A parameter that controls the speed at which a rise in term frequency results in term\\n * frequency saturation. The default value is 1.2. Setting this to a higher value will give\\n * slower saturation levels, a lower value will result in quicker saturation.\\n *\\n * @param {number} number - The value to set for this tuning parameter.\\n */\\nlunr.Builder.prototype.k1 = function (number) {\\n this._k1 = number\\n}\\n\\n/**\\n * Adds a document to the index.\\n *\\n * Before adding fields to the index the index should have been fully setup, with the document\\n * ref and all fields to index already having been specified.\\n *\\n * The document must have a field name as specified by the ref (by default this is 'id') and\\n * it should have all fields defined for indexing, though null or undefined values will not\\n * cause errors.\\n *\\n * Entire documents can be boosted at build time. Applying a boost to a document indicates that\\n * this document should rank higher in search results than other documents.\\n *\\n * @param {object} doc - The document to add to the index.\\n * @param {object} attributes - Optional attributes associated with this document.\\n * @param {number} [attributes.boost=1] - Boost applied to all terms within this document.\\n */\\nlunr.Builder.prototype.add = function (doc, attributes) {\\n var docRef = doc[this._ref],\\n fields = Object.keys(this._fields)\\n\\n this._documents[docRef] = attributes || {}\\n this.documentCount += 1\\n\\n for (var i = 0; i < fields.length; i++) {\\n var fieldName = fields[i],\\n extractor = this._fields[fieldName].extractor,\\n field = extractor ? extractor(doc) : doc[fieldName],\\n tokens = this.tokenizer(field, {\\n fields: [fieldName]\\n }),\\n terms = this.pipeline.run(tokens),\\n fieldRef = new lunr.FieldRef (docRef, fieldName),\\n fieldTerms = Object.create(null)\\n\\n this.fieldTermFrequencies[fieldRef] = fieldTerms\\n this.fieldLengths[fieldRef] = 0\\n\\n // store the length of this field for this document\\n this.fieldLengths[fieldRef] += terms.length\\n\\n // calculate term frequencies for this field\\n for (var j = 0; j < terms.length; j++) {\\n var term = terms[j]\\n\\n if (fieldTerms[term] == undefined) {\\n fieldTerms[term] = 0\\n }\\n\\n fieldTerms[term] += 1\\n\\n // add to inverted index\\n // create an initial posting if one doesn't exist\\n if (this.invertedIndex[term] == undefined) {\\n var posting = Object.create(null)\\n posting[\\\"_index\\\"] = this.termIndex\\n this.termIndex += 1\\n\\n for (var k = 0; k < fields.length; k++) {\\n posting[fields[k]] = Object.create(null)\\n }\\n\\n this.invertedIndex[term] = posting\\n }\\n\\n // add an entry for this term/fieldName/docRef to the invertedIndex\\n if (this.invertedIndex[term][fieldName][docRef] == undefined) {\\n this.invertedIndex[term][fieldName][docRef] = Object.create(null)\\n }\\n\\n // store all whitelisted metadata about this token in the\\n // inverted index\\n for (var l = 0; l < this.metadataWhitelist.length; l++) {\\n var metadataKey = this.metadataWhitelist[l],\\n metadata = term.metadata[metadataKey]\\n\\n if (this.invertedIndex[term][fieldName][docRef][metadataKey] == undefined) {\\n this.invertedIndex[term][fieldName][docRef][metadataKey] = []\\n }\\n\\n this.invertedIndex[term][fieldName][docRef][metadataKey].push(metadata)\\n }\\n }\\n\\n }\\n}\\n\\n/**\\n * Calculates the average document length for this index\\n *\\n * @private\\n */\\nlunr.Builder.prototype.calculateAverageFieldLengths = function () {\\n\\n var fieldRefs = Object.keys(this.fieldLengths),\\n numberOfFields = fieldRefs.length,\\n accumulator = {},\\n documentsWithField = {}\\n\\n for (var i = 0; i < numberOfFields; i++) {\\n var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]),\\n field = fieldRef.fieldName\\n\\n documentsWithField[field] || (documentsWithField[field] = 0)\\n documentsWithField[field] += 1\\n\\n accumulator[field] || (accumulator[field] = 0)\\n accumulator[field] += this.fieldLengths[fieldRef]\\n }\\n\\n var fields = Object.keys(this._fields)\\n\\n for (var i = 0; i < fields.length; i++) {\\n var fieldName = fields[i]\\n accumulator[fieldName] = accumulator[fieldName] / documentsWithField[fieldName]\\n }\\n\\n this.averageFieldLength = accumulator\\n}\\n\\n/**\\n * Builds a vector space model of every document using lunr.Vector\\n *\\n * @private\\n */\\nlunr.Builder.prototype.createFieldVectors = function () {\\n var fieldVectors = {},\\n fieldRefs = Object.keys(this.fieldTermFrequencies),\\n fieldRefsLength = fieldRefs.length,\\n termIdfCache = Object.create(null)\\n\\n for (var i = 0; i < fieldRefsLength; i++) {\\n var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]),\\n fieldName = fieldRef.fieldName,\\n fieldLength = this.fieldLengths[fieldRef],\\n fieldVector = new lunr.Vector,\\n termFrequencies = this.fieldTermFrequencies[fieldRef],\\n terms = Object.keys(termFrequencies),\\n termsLength = terms.length\\n\\n\\n var fieldBoost = this._fields[fieldName].boost || 1,\\n docBoost = this._documents[fieldRef.docRef].boost || 1\\n\\n for (var j = 0; j < termsLength; j++) {\\n var term = terms[j],\\n tf = termFrequencies[term],\\n termIndex = this.invertedIndex[term]._index,\\n idf, score, scoreWithPrecision\\n\\n if (termIdfCache[term] === undefined) {\\n idf = lunr.idf(this.invertedIndex[term], this.documentCount)\\n termIdfCache[term] = idf\\n } else {\\n idf = termIdfCache[term]\\n }\\n\\n score = idf * ((this._k1 + 1) * tf) / (this._k1 * (1 - this._b + this._b * (fieldLength / this.averageFieldLength[fieldName])) + tf)\\n score *= fieldBoost\\n score *= docBoost\\n scoreWithPrecision = Math.round(score * 1000) / 1000\\n // Converts 1.23456789 to 1.234.\\n // Reducing the precision so that the vectors take up less\\n // space when serialised. Doing it now so that they behave\\n // the same before and after serialisation. Also, this is\\n // the fastest approach to reducing a number's precision in\\n // JavaScript.\\n\\n fieldVector.insert(termIndex, scoreWithPrecision)\\n }\\n\\n fieldVectors[fieldRef] = fieldVector\\n }\\n\\n this.fieldVectors = fieldVectors\\n}\\n\\n/**\\n * Creates a token set of all tokens in the index using lunr.TokenSet\\n *\\n * @private\\n */\\nlunr.Builder.prototype.createTokenSet = function () {\\n this.tokenSet = lunr.TokenSet.fromArray(\\n Object.keys(this.invertedIndex).sort()\\n )\\n}\\n\\n/**\\n * Builds the index, creating an instance of lunr.Index.\\n *\\n * This completes the indexing process and should only be called\\n * once all documents have been added to the index.\\n *\\n * @returns {lunr.Index}\\n */\\nlunr.Builder.prototype.build = function () {\\n this.calculateAverageFieldLengths()\\n this.createFieldVectors()\\n this.createTokenSet()\\n\\n return new lunr.Index({\\n invertedIndex: this.invertedIndex,\\n fieldVectors: this.fieldVectors,\\n tokenSet: this.tokenSet,\\n fields: Object.keys(this._fields),\\n pipeline: this.searchPipeline\\n })\\n}\\n\\n/**\\n * Applies a plugin to the index builder.\\n *\\n * A plugin is a function that is called with the index builder as its context.\\n * Plugins can be used to customise or extend the behaviour of the index\\n * in some way. A plugin is just a function, that encapsulated the custom\\n * behaviour that should be applied when building the index.\\n *\\n * The plugin function will be called with the index builder as its argument, additional\\n * arguments can also be passed when calling use. The function will be called\\n * with the index builder as its context.\\n *\\n * @param {Function} plugin The plugin to apply.\\n */\\nlunr.Builder.prototype.use = function (fn) {\\n var args = Array.prototype.slice.call(arguments, 1)\\n args.unshift(this)\\n fn.apply(this, args)\\n}\\n/**\\n * Contains and collects metadata about a matching document.\\n * A single instance of lunr.MatchData is returned as part of every\\n * lunr.Index~Result.\\n *\\n * @constructor\\n * @param {string} term - The term this match data is associated with\\n * @param {string} field - The field in which the term was found\\n * @param {object} metadata - The metadata recorded about this term in this field\\n * @property {object} metadata - A cloned collection of metadata associated with this document.\\n * @see {@link lunr.Index~Result}\\n */\\nlunr.MatchData = function (term, field, metadata) {\\n var clonedMetadata = Object.create(null),\\n metadataKeys = Object.keys(metadata || {})\\n\\n // Cloning the metadata to prevent the original\\n // being mutated during match data combination.\\n // Metadata is kept in an array within the inverted\\n // index so cloning the data can be done with\\n // Array#slice\\n for (var i = 0; i < metadataKeys.length; i++) {\\n var key = metadataKeys[i]\\n clonedMetadata[key] = metadata[key].slice()\\n }\\n\\n this.metadata = Object.create(null)\\n\\n if (term !== undefined) {\\n this.metadata[term] = Object.create(null)\\n this.metadata[term][field] = clonedMetadata\\n }\\n}\\n\\n/**\\n * An instance of lunr.MatchData will be created for every term that matches a\\n * document. However only one instance is required in a lunr.Index~Result. This\\n * method combines metadata from another instance of lunr.MatchData with this\\n * objects metadata.\\n *\\n * @param {lunr.MatchData} otherMatchData - Another instance of match data to merge with this one.\\n * @see {@link lunr.Index~Result}\\n */\\nlunr.MatchData.prototype.combine = function (otherMatchData) {\\n var terms = Object.keys(otherMatchData.metadata)\\n\\n for (var i = 0; i < terms.length; i++) {\\n var term = terms[i],\\n fields = Object.keys(otherMatchData.metadata[term])\\n\\n if (this.metadata[term] == undefined) {\\n this.metadata[term] = Object.create(null)\\n }\\n\\n for (var j = 0; j < fields.length; j++) {\\n var field = fields[j],\\n keys = Object.keys(otherMatchData.metadata[term][field])\\n\\n if (this.metadata[term][field] == undefined) {\\n this.metadata[term][field] = Object.create(null)\\n }\\n\\n for (var k = 0; k < keys.length; k++) {\\n var key = keys[k]\\n\\n if (this.metadata[term][field][key] == undefined) {\\n this.metadata[term][field][key] = otherMatchData.metadata[term][field][key]\\n } else {\\n this.metadata[term][field][key] = this.metadata[term][field][key].concat(otherMatchData.metadata[term][field][key])\\n }\\n\\n }\\n }\\n }\\n}\\n\\n/**\\n * Add metadata for a term/field pair to this instance of match data.\\n *\\n * @param {string} term - The term this match data is associated with\\n * @param {string} field - The field in which the term was found\\n * @param {object} metadata - The metadata recorded about this term in this field\\n */\\nlunr.MatchData.prototype.add = function (term, field, metadata) {\\n if (!(term in this.metadata)) {\\n this.metadata[term] = Object.create(null)\\n this.metadata[term][field] = metadata\\n return\\n }\\n\\n if (!(field in this.metadata[term])) {\\n this.metadata[term][field] = metadata\\n return\\n }\\n\\n var metadataKeys = Object.keys(metadata)\\n\\n for (var i = 0; i < metadataKeys.length; i++) {\\n var key = metadataKeys[i]\\n\\n if (key in this.metadata[term][field]) {\\n this.metadata[term][field][key] = this.metadata[term][field][key].concat(metadata[key])\\n } else {\\n this.metadata[term][field][key] = metadata[key]\\n }\\n }\\n}\\n/**\\n * A lunr.Query provides a programmatic way of defining queries to be performed\\n * against a {@link lunr.Index}.\\n *\\n * Prefer constructing a lunr.Query using the {@link lunr.Index#query} method\\n * so the query object is pre-initialized with the right index fields.\\n *\\n * @constructor\\n * @property {lunr.Query~Clause[]} clauses - An array of query clauses.\\n * @property {string[]} allFields - An array of all available fields in a lunr.Index.\\n */\\nlunr.Query = function (allFields) {\\n this.clauses = []\\n this.allFields = allFields\\n}\\n\\n/**\\n * Constants for indicating what kind of automatic wildcard insertion will be used when constructing a query clause.\\n *\\n * This allows wildcards to be added to the beginning and end of a term without having to manually do any string\\n * concatenation.\\n *\\n * The wildcard constants can be bitwise combined to select both leading and trailing wildcards.\\n *\\n * @constant\\n * @default\\n * @property {number} wildcard.NONE - The term will have no wildcards inserted, this is the default behaviour\\n * @property {number} wildcard.LEADING - Prepend the term with a wildcard, unless a leading wildcard already exists\\n * @property {number} wildcard.TRAILING - Append a wildcard to the term, unless a trailing wildcard already exists\\n * @see lunr.Query~Clause\\n * @see lunr.Query#clause\\n * @see lunr.Query#term\\n * @example query term with trailing wildcard\\n * query.term('foo', { wildcard: lunr.Query.wildcard.TRAILING })\\n * @example query term with leading and trailing wildcard\\n * query.term('foo', {\\n * wildcard: lunr.Query.wildcard.LEADING | lunr.Query.wildcard.TRAILING\\n * })\\n */\\n\\nlunr.Query.wildcard = new String (\\\"*\\\")\\nlunr.Query.wildcard.NONE = 0\\nlunr.Query.wildcard.LEADING = 1\\nlunr.Query.wildcard.TRAILING = 2\\n\\n/**\\n * Constants for indicating what kind of presence a term must have in matching documents.\\n *\\n * @constant\\n * @enum {number}\\n * @see lunr.Query~Clause\\n * @see lunr.Query#clause\\n * @see lunr.Query#term\\n * @example query term with required presence\\n * query.term('foo', { presence: lunr.Query.presence.REQUIRED })\\n */\\nlunr.Query.presence = {\\n /**\\n * Term's presence in a document is optional, this is the default value.\\n */\\n OPTIONAL: 1,\\n\\n /**\\n * Term's presence in a document is required, documents that do not contain\\n * this term will not be returned.\\n */\\n REQUIRED: 2,\\n\\n /**\\n * Term's presence in a document is prohibited, documents that do contain\\n * this term will not be returned.\\n */\\n PROHIBITED: 3\\n}\\n\\n/**\\n * A single clause in a {@link lunr.Query} contains a term and details on how to\\n * match that term against a {@link lunr.Index}.\\n *\\n * @typedef {Object} lunr.Query~Clause\\n * @property {string[]} fields - The fields in an index this clause should be matched against.\\n * @property {number} [boost=1] - Any boost that should be applied when matching this clause.\\n * @property {number} [editDistance] - Whether the term should have fuzzy matching applied, and how fuzzy the match should be.\\n * @property {boolean} [usePipeline] - Whether the term should be passed through the search pipeline.\\n * @property {number} [wildcard=lunr.Query.wildcard.NONE] - Whether the term should have wildcards appended or prepended.\\n * @property {number} [presence=lunr.Query.presence.OPTIONAL] - The terms presence in any matching documents.\\n */\\n\\n/**\\n * Adds a {@link lunr.Query~Clause} to this query.\\n *\\n * Unless the clause contains the fields to be matched all fields will be matched. In addition\\n * a default boost of 1 is applied to the clause.\\n *\\n * @param {lunr.Query~Clause} clause - The clause to add to this query.\\n * @see lunr.Query~Clause\\n * @returns {lunr.Query}\\n */\\nlunr.Query.prototype.clause = function (clause) {\\n if (!('fields' in clause)) {\\n clause.fields = this.allFields\\n }\\n\\n if (!('boost' in clause)) {\\n clause.boost = 1\\n }\\n\\n if (!('usePipeline' in clause)) {\\n clause.usePipeline = true\\n }\\n\\n if (!('wildcard' in clause)) {\\n clause.wildcard = lunr.Query.wildcard.NONE\\n }\\n\\n if ((clause.wildcard & lunr.Query.wildcard.LEADING) && (clause.term.charAt(0) != lunr.Query.wildcard)) {\\n clause.term = \\\"*\\\" + clause.term\\n }\\n\\n if ((clause.wildcard & lunr.Query.wildcard.TRAILING) && (clause.term.slice(-1) != lunr.Query.wildcard)) {\\n clause.term = \\\"\\\" + clause.term + \\\"*\\\"\\n }\\n\\n if (!('presence' in clause)) {\\n clause.presence = lunr.Query.presence.OPTIONAL\\n }\\n\\n this.clauses.push(clause)\\n\\n return this\\n}\\n\\n/**\\n * A negated query is one in which every clause has a presence of\\n * prohibited. These queries require some special processing to return\\n * the expected results.\\n *\\n * @returns boolean\\n */\\nlunr.Query.prototype.isNegated = function () {\\n for (var i = 0; i < this.clauses.length; i++) {\\n if (this.clauses[i].presence != lunr.Query.presence.PROHIBITED) {\\n return false\\n }\\n }\\n\\n return true\\n}\\n\\n/**\\n * Adds a term to the current query, under the covers this will create a {@link lunr.Query~Clause}\\n * to the list of clauses that make up this query.\\n *\\n * The term is used as is, i.e. no tokenization will be performed by this method. Instead conversion\\n * to a token or token-like string should be done before calling this method.\\n *\\n * The term will be converted to a string by calling `toString`. Multiple terms can be passed as an\\n * array, each term in the array will share the same options.\\n *\\n * @param {object|object[]} term - The term(s) to add to the query.\\n * @param {object} [options] - Any additional properties to add to the query clause.\\n * @returns {lunr.Query}\\n * @see lunr.Query#clause\\n * @see lunr.Query~Clause\\n * @example adding a single term to a query\\n * query.term(\\\"foo\\\")\\n * @example adding a single term to a query and specifying search fields, term boost and automatic trailing wildcard\\n * query.term(\\\"foo\\\", {\\n * fields: [\\\"title\\\"],\\n * boost: 10,\\n * wildcard: lunr.Query.wildcard.TRAILING\\n * })\\n * @example using lunr.tokenizer to convert a string to tokens before using them as terms\\n * query.term(lunr.tokenizer(\\\"foo bar\\\"))\\n */\\nlunr.Query.prototype.term = function (term, options) {\\n if (Array.isArray(term)) {\\n term.forEach(function (t) { this.term(t, lunr.utils.clone(options)) }, this)\\n return this\\n }\\n\\n var clause = options || {}\\n clause.term = term.toString()\\n\\n this.clause(clause)\\n\\n return this\\n}\\nlunr.QueryParseError = function (message, start, end) {\\n this.name = \\\"QueryParseError\\\"\\n this.message = message\\n this.start = start\\n this.end = end\\n}\\n\\nlunr.QueryParseError.prototype = new Error\\nlunr.QueryLexer = function (str) {\\n this.lexemes = []\\n this.str = str\\n this.length = str.length\\n this.pos = 0\\n this.start = 0\\n this.escapeCharPositions = []\\n}\\n\\nlunr.QueryLexer.prototype.run = function () {\\n var state = lunr.QueryLexer.lexText\\n\\n while (state) {\\n state = state(this)\\n }\\n}\\n\\nlunr.QueryLexer.prototype.sliceString = function () {\\n var subSlices = [],\\n sliceStart = this.start,\\n sliceEnd = this.pos\\n\\n for (var i = 0; i < this.escapeCharPositions.length; i++) {\\n sliceEnd = this.escapeCharPositions[i]\\n subSlices.push(this.str.slice(sliceStart, sliceEnd))\\n sliceStart = sliceEnd + 1\\n }\\n\\n subSlices.push(this.str.slice(sliceStart, this.pos))\\n this.escapeCharPositions.length = 0\\n\\n return subSlices.join('')\\n}\\n\\nlunr.QueryLexer.prototype.emit = function (type) {\\n this.lexemes.push({\\n type: type,\\n str: this.sliceString(),\\n start: this.start,\\n end: this.pos\\n })\\n\\n this.start = this.pos\\n}\\n\\nlunr.QueryLexer.prototype.escapeCharacter = function () {\\n this.escapeCharPositions.push(this.pos - 1)\\n this.pos += 1\\n}\\n\\nlunr.QueryLexer.prototype.next = function () {\\n if (this.pos >= this.length) {\\n return lunr.QueryLexer.EOS\\n }\\n\\n var char = this.str.charAt(this.pos)\\n this.pos += 1\\n return char\\n}\\n\\nlunr.QueryLexer.prototype.width = function () {\\n return this.pos - this.start\\n}\\n\\nlunr.QueryLexer.prototype.ignore = function () {\\n if (this.start == this.pos) {\\n this.pos += 1\\n }\\n\\n this.start = this.pos\\n}\\n\\nlunr.QueryLexer.prototype.backup = function () {\\n this.pos -= 1\\n}\\n\\nlunr.QueryLexer.prototype.acceptDigitRun = function () {\\n var char, charCode\\n\\n do {\\n char = this.next()\\n charCode = char.charCodeAt(0)\\n } while (charCode > 47 && charCode < 58)\\n\\n if (char != lunr.QueryLexer.EOS) {\\n this.backup()\\n }\\n}\\n\\nlunr.QueryLexer.prototype.more = function () {\\n return this.pos < this.length\\n}\\n\\nlunr.QueryLexer.EOS = 'EOS'\\nlunr.QueryLexer.FIELD = 'FIELD'\\nlunr.QueryLexer.TERM = 'TERM'\\nlunr.QueryLexer.EDIT_DISTANCE = 'EDIT_DISTANCE'\\nlunr.QueryLexer.BOOST = 'BOOST'\\nlunr.QueryLexer.PRESENCE = 'PRESENCE'\\n\\nlunr.QueryLexer.lexField = function (lexer) {\\n lexer.backup()\\n lexer.emit(lunr.QueryLexer.FIELD)\\n lexer.ignore()\\n return lunr.QueryLexer.lexText\\n}\\n\\nlunr.QueryLexer.lexTerm = function (lexer) {\\n if (lexer.width() > 1) {\\n lexer.backup()\\n lexer.emit(lunr.QueryLexer.TERM)\\n }\\n\\n lexer.ignore()\\n\\n if (lexer.more()) {\\n return lunr.QueryLexer.lexText\\n }\\n}\\n\\nlunr.QueryLexer.lexEditDistance = function (lexer) {\\n lexer.ignore()\\n lexer.acceptDigitRun()\\n lexer.emit(lunr.QueryLexer.EDIT_DISTANCE)\\n return lunr.QueryLexer.lexText\\n}\\n\\nlunr.QueryLexer.lexBoost = function (lexer) {\\n lexer.ignore()\\n lexer.acceptDigitRun()\\n lexer.emit(lunr.QueryLexer.BOOST)\\n return lunr.QueryLexer.lexText\\n}\\n\\nlunr.QueryLexer.lexEOS = function (lexer) {\\n if (lexer.width() > 0) {\\n lexer.emit(lunr.QueryLexer.TERM)\\n }\\n}\\n\\n// This matches the separator used when tokenising fields\\n// within a document. These should match otherwise it is\\n// not possible to search for some tokens within a document.\\n//\\n// It is possible for the user to change the separator on the\\n// tokenizer so it _might_ clash with any other of the special\\n// characters already used within the search string, e.g. :.\\n//\\n// This means that it is possible to change the separator in\\n// such a way that makes some words unsearchable using a search\\n// string.\\nlunr.QueryLexer.termSeparator = lunr.tokenizer.separator\\n\\nlunr.QueryLexer.lexText = function (lexer) {\\n while (true) {\\n var char = lexer.next()\\n\\n if (char == lunr.QueryLexer.EOS) {\\n return lunr.QueryLexer.lexEOS\\n }\\n\\n // Escape character is '\\\\'\\n if (char.charCodeAt(0) == 92) {\\n lexer.escapeCharacter()\\n continue\\n }\\n\\n if (char == \\\":\\\") {\\n return lunr.QueryLexer.lexField\\n }\\n\\n if (char == \\\"~\\\") {\\n lexer.backup()\\n if (lexer.width() > 0) {\\n lexer.emit(lunr.QueryLexer.TERM)\\n }\\n return lunr.QueryLexer.lexEditDistance\\n }\\n\\n if (char == \\\"^\\\") {\\n lexer.backup()\\n if (lexer.width() > 0) {\\n lexer.emit(lunr.QueryLexer.TERM)\\n }\\n return lunr.QueryLexer.lexBoost\\n }\\n\\n // \\\"+\\\" indicates term presence is required\\n // checking for length to ensure that only\\n // leading \\\"+\\\" are considered\\n if (char == \\\"+\\\" && lexer.width() === 1) {\\n lexer.emit(lunr.QueryLexer.PRESENCE)\\n return lunr.QueryLexer.lexText\\n }\\n\\n // \\\"-\\\" indicates term presence is prohibited\\n // checking for length to ensure that only\\n // leading \\\"-\\\" are considered\\n if (char == \\\"-\\\" && lexer.width() === 1) {\\n lexer.emit(lunr.QueryLexer.PRESENCE)\\n return lunr.QueryLexer.lexText\\n }\\n\\n if (char.match(lunr.QueryLexer.termSeparator)) {\\n return lunr.QueryLexer.lexTerm\\n }\\n }\\n}\\n\\nlunr.QueryParser = function (str, query) {\\n this.lexer = new lunr.QueryLexer (str)\\n this.query = query\\n this.currentClause = {}\\n this.lexemeIdx = 0\\n}\\n\\nlunr.QueryParser.prototype.parse = function () {\\n this.lexer.run()\\n this.lexemes = this.lexer.lexemes\\n\\n var state = lunr.QueryParser.parseClause\\n\\n while (state) {\\n state = state(this)\\n }\\n\\n return this.query\\n}\\n\\nlunr.QueryParser.prototype.peekLexeme = function () {\\n return this.lexemes[this.lexemeIdx]\\n}\\n\\nlunr.QueryParser.prototype.consumeLexeme = function () {\\n var lexeme = this.peekLexeme()\\n this.lexemeIdx += 1\\n return lexeme\\n}\\n\\nlunr.QueryParser.prototype.nextClause = function () {\\n var completedClause = this.currentClause\\n this.query.clause(completedClause)\\n this.currentClause = {}\\n}\\n\\nlunr.QueryParser.parseClause = function (parser) {\\n var lexeme = parser.peekLexeme()\\n\\n if (lexeme == undefined) {\\n return\\n }\\n\\n switch (lexeme.type) {\\n case lunr.QueryLexer.PRESENCE:\\n return lunr.QueryParser.parsePresence\\n case lunr.QueryLexer.FIELD:\\n return lunr.QueryParser.parseField\\n case lunr.QueryLexer.TERM:\\n return lunr.QueryParser.parseTerm\\n default:\\n var errorMessage = \\\"expected either a field or a term, found \\\" + lexeme.type\\n\\n if (lexeme.str.length >= 1) {\\n errorMessage += \\\" with value '\\\" + lexeme.str + \\\"'\\\"\\n }\\n\\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\\n }\\n}\\n\\nlunr.QueryParser.parsePresence = function (parser) {\\n var lexeme = parser.consumeLexeme()\\n\\n if (lexeme == undefined) {\\n return\\n }\\n\\n switch (lexeme.str) {\\n case \\\"-\\\":\\n parser.currentClause.presence = lunr.Query.presence.PROHIBITED\\n break\\n case \\\"+\\\":\\n parser.currentClause.presence = lunr.Query.presence.REQUIRED\\n break\\n default:\\n var errorMessage = \\\"unrecognised presence operator'\\\" + lexeme.str + \\\"'\\\"\\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\\n }\\n\\n var nextLexeme = parser.peekLexeme()\\n\\n if (nextLexeme == undefined) {\\n var errorMessage = \\\"expecting term or field, found nothing\\\"\\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\\n }\\n\\n switch (nextLexeme.type) {\\n case lunr.QueryLexer.FIELD:\\n return lunr.QueryParser.parseField\\n case lunr.QueryLexer.TERM:\\n return lunr.QueryParser.parseTerm\\n default:\\n var errorMessage = \\\"expecting term or field, found '\\\" + nextLexeme.type + \\\"'\\\"\\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\\n }\\n}\\n\\nlunr.QueryParser.parseField = function (parser) {\\n var lexeme = parser.consumeLexeme()\\n\\n if (lexeme == undefined) {\\n return\\n }\\n\\n if (parser.query.allFields.indexOf(lexeme.str) == -1) {\\n var possibleFields = parser.query.allFields.map(function (f) { return \\\"'\\\" + f + \\\"'\\\" }).join(', '),\\n errorMessage = \\\"unrecognised field '\\\" + lexeme.str + \\\"', possible fields: \\\" + possibleFields\\n\\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\\n }\\n\\n parser.currentClause.fields = [lexeme.str]\\n\\n var nextLexeme = parser.peekLexeme()\\n\\n if (nextLexeme == undefined) {\\n var errorMessage = \\\"expecting term, found nothing\\\"\\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\\n }\\n\\n switch (nextLexeme.type) {\\n case lunr.QueryLexer.TERM:\\n return lunr.QueryParser.parseTerm\\n default:\\n var errorMessage = \\\"expecting term, found '\\\" + nextLexeme.type + \\\"'\\\"\\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\\n }\\n}\\n\\nlunr.QueryParser.parseTerm = function (parser) {\\n var lexeme = parser.consumeLexeme()\\n\\n if (lexeme == undefined) {\\n return\\n }\\n\\n parser.currentClause.term = lexeme.str.toLowerCase()\\n\\n if (lexeme.str.indexOf(\\\"*\\\") != -1) {\\n parser.currentClause.usePipeline = false\\n }\\n\\n var nextLexeme = parser.peekLexeme()\\n\\n if (nextLexeme == undefined) {\\n parser.nextClause()\\n return\\n }\\n\\n switch (nextLexeme.type) {\\n case lunr.QueryLexer.TERM:\\n parser.nextClause()\\n return lunr.QueryParser.parseTerm\\n case lunr.QueryLexer.FIELD:\\n parser.nextClause()\\n return lunr.QueryParser.parseField\\n case lunr.QueryLexer.EDIT_DISTANCE:\\n return lunr.QueryParser.parseEditDistance\\n case lunr.QueryLexer.BOOST:\\n return lunr.QueryParser.parseBoost\\n case lunr.QueryLexer.PRESENCE:\\n parser.nextClause()\\n return lunr.QueryParser.parsePresence\\n default:\\n var errorMessage = \\\"Unexpected lexeme type '\\\" + nextLexeme.type + \\\"'\\\"\\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\\n }\\n}\\n\\nlunr.QueryParser.parseEditDistance = function (parser) {\\n var lexeme = parser.consumeLexeme()\\n\\n if (lexeme == undefined) {\\n return\\n }\\n\\n var editDistance = parseInt(lexeme.str, 10)\\n\\n if (isNaN(editDistance)) {\\n var errorMessage = \\\"edit distance must be numeric\\\"\\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\\n }\\n\\n parser.currentClause.editDistance = editDistance\\n\\n var nextLexeme = parser.peekLexeme()\\n\\n if (nextLexeme == undefined) {\\n parser.nextClause()\\n return\\n }\\n\\n switch (nextLexeme.type) {\\n case lunr.QueryLexer.TERM:\\n parser.nextClause()\\n return lunr.QueryParser.parseTerm\\n case lunr.QueryLexer.FIELD:\\n parser.nextClause()\\n return lunr.QueryParser.parseField\\n case lunr.QueryLexer.EDIT_DISTANCE:\\n return lunr.QueryParser.parseEditDistance\\n case lunr.QueryLexer.BOOST:\\n return lunr.QueryParser.parseBoost\\n case lunr.QueryLexer.PRESENCE:\\n parser.nextClause()\\n return lunr.QueryParser.parsePresence\\n default:\\n var errorMessage = \\\"Unexpected lexeme type '\\\" + nextLexeme.type + \\\"'\\\"\\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\\n }\\n}\\n\\nlunr.QueryParser.parseBoost = function (parser) {\\n var lexeme = parser.consumeLexeme()\\n\\n if (lexeme == undefined) {\\n return\\n }\\n\\n var boost = parseInt(lexeme.str, 10)\\n\\n if (isNaN(boost)) {\\n var errorMessage = \\\"boost must be numeric\\\"\\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\\n }\\n\\n parser.currentClause.boost = boost\\n\\n var nextLexeme = parser.peekLexeme()\\n\\n if (nextLexeme == undefined) {\\n parser.nextClause()\\n return\\n }\\n\\n switch (nextLexeme.type) {\\n case lunr.QueryLexer.TERM:\\n parser.nextClause()\\n return lunr.QueryParser.parseTerm\\n case lunr.QueryLexer.FIELD:\\n parser.nextClause()\\n return lunr.QueryParser.parseField\\n case lunr.QueryLexer.EDIT_DISTANCE:\\n return lunr.QueryParser.parseEditDistance\\n case lunr.QueryLexer.BOOST:\\n return lunr.QueryParser.parseBoost\\n case lunr.QueryLexer.PRESENCE:\\n parser.nextClause()\\n return lunr.QueryParser.parsePresence\\n default:\\n var errorMessage = \\\"Unexpected lexeme type '\\\" + nextLexeme.type + \\\"'\\\"\\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\\n }\\n}\\n\\n /**\\n * export the module via AMD, CommonJS or as a browser global\\n * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js\\n */\\n ;(function (root, factory) {\\n if (true) {\\n // AMD. Register as an anonymous module.\\n !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\\n\\t\\t\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\\n\\t\\t\\t\\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\\n\\t\\t\\t\\t__WEBPACK_AMD_DEFINE_FACTORY__),\\n\\t\\t\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))\\n } else {}\\n }(this, function () {\\n /**\\n * Just return a value to define the module export.\\n * This example returns an object, but the module\\n * can return a function as the exported value.\\n */\\n return lunr\\n }))\\n})();\\n\\n\\n/***/ }),\\n/* 5 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = function (exec) {\\n try {\\n return !!exec();\\n } catch (error) {\\n return true;\\n }\\n};\\n\\n\\n/***/ }),\\n/* 6 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar DESCRIPTORS = __webpack_require__(8);\\nvar definePropertyModule = __webpack_require__(9);\\nvar createPropertyDescriptor = __webpack_require__(22);\\n\\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\\n} : function (object, key, value) {\\n object[key] = value;\\n return object;\\n};\\n\\n\\n/***/ }),\\n/* 7 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = function (it) {\\n return typeof it === 'object' ? it !== null : typeof it === 'function';\\n};\\n\\n\\n/***/ }),\\n/* 8 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar fails = __webpack_require__(5);\\n\\n// Thank's IE8 for his funny defineProperty\\nmodule.exports = !fails(function () {\\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\\n});\\n\\n\\n/***/ }),\\n/* 9 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar DESCRIPTORS = __webpack_require__(8);\\nvar IE8_DOM_DEFINE = __webpack_require__(34);\\nvar anObject = __webpack_require__(2);\\nvar toPrimitive = __webpack_require__(35);\\n\\nvar nativeDefineProperty = Object.defineProperty;\\n\\n// `Object.defineProperty` method\\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\\n anObject(O);\\n P = toPrimitive(P, true);\\n anObject(Attributes);\\n if (IE8_DOM_DEFINE) try {\\n return nativeDefineProperty(O, P, Attributes);\\n } catch (error) { /* empty */ }\\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\\n if ('value' in Attributes) O[P] = Attributes.value;\\n return O;\\n};\\n\\n\\n/***/ }),\\n/* 10 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar createNonEnumerableProperty = __webpack_require__(6);\\nvar has = __webpack_require__(3);\\nvar setGlobal = __webpack_require__(20);\\nvar inspectSource = __webpack_require__(23);\\nvar InternalStateModule = __webpack_require__(16);\\n\\nvar getInternalState = InternalStateModule.get;\\nvar enforceInternalState = InternalStateModule.enforce;\\nvar TEMPLATE = String(String).split('String');\\n\\n(module.exports = function (O, key, value, options) {\\n var unsafe = options ? !!options.unsafe : false;\\n var simple = options ? !!options.enumerable : false;\\n var noTargetGet = options ? !!options.noTargetGet : false;\\n if (typeof value == 'function') {\\n if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);\\n enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\\n }\\n if (O === global) {\\n if (simple) O[key] = value;\\n else setGlobal(key, value);\\n return;\\n } else if (!unsafe) {\\n delete O[key];\\n } else if (!noTargetGet && O[key]) {\\n simple = true;\\n }\\n if (simple) O[key] = value;\\n else createNonEnumerableProperty(O, key, value);\\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\\n})(Function.prototype, 'toString', function toString() {\\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\\n});\\n\\n\\n/***/ }),\\n/* 11 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar path = __webpack_require__(40);\\nvar global = __webpack_require__(0);\\n\\nvar aFunction = function (variable) {\\n return typeof variable == 'function' ? variable : undefined;\\n};\\n\\nmodule.exports = function (namespace, method) {\\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\\n};\\n\\n\\n/***/ }),\\n/* 12 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = false;\\n\\n\\n/***/ }),\\n/* 13 */\\n/***/ (function(module, exports) {\\n\\nvar toString = {}.toString;\\n\\nmodule.exports = function (it) {\\n return toString.call(it).slice(8, -1);\\n};\\n\\n\\n/***/ }),\\n/* 14 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = {};\\n\\n\\n/***/ }),\\n/* 15 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = function (it) {\\n if (typeof it != 'function') {\\n throw TypeError(String(it) + ' is not a function');\\n } return it;\\n};\\n\\n\\n/***/ }),\\n/* 16 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar NATIVE_WEAK_MAP = __webpack_require__(61);\\nvar global = __webpack_require__(0);\\nvar isObject = __webpack_require__(7);\\nvar createNonEnumerableProperty = __webpack_require__(6);\\nvar objectHas = __webpack_require__(3);\\nvar sharedKey = __webpack_require__(24);\\nvar hiddenKeys = __webpack_require__(25);\\n\\nvar WeakMap = global.WeakMap;\\nvar set, get, has;\\n\\nvar enforce = function (it) {\\n return has(it) ? get(it) : set(it, {});\\n};\\n\\nvar getterFor = function (TYPE) {\\n return function (it) {\\n var state;\\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\\n } return state;\\n };\\n};\\n\\nif (NATIVE_WEAK_MAP) {\\n var store = new WeakMap();\\n var wmget = store.get;\\n var wmhas = store.has;\\n var wmset = store.set;\\n set = function (it, metadata) {\\n wmset.call(store, it, metadata);\\n return metadata;\\n };\\n get = function (it) {\\n return wmget.call(store, it) || {};\\n };\\n has = function (it) {\\n return wmhas.call(store, it);\\n };\\n} else {\\n var STATE = sharedKey('state');\\n hiddenKeys[STATE] = true;\\n set = function (it, metadata) {\\n createNonEnumerableProperty(it, STATE, metadata);\\n return metadata;\\n };\\n get = function (it) {\\n return objectHas(it, STATE) ? it[STATE] : {};\\n };\\n has = function (it) {\\n return objectHas(it, STATE);\\n };\\n}\\n\\nmodule.exports = {\\n set: set,\\n get: get,\\n has: has,\\n enforce: enforce,\\n getterFor: getterFor\\n};\\n\\n\\n/***/ }),\\n/* 17 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar getOwnPropertyDescriptor = __webpack_require__(28).f;\\nvar createNonEnumerableProperty = __webpack_require__(6);\\nvar redefine = __webpack_require__(10);\\nvar setGlobal = __webpack_require__(20);\\nvar copyConstructorProperties = __webpack_require__(67);\\nvar isForced = __webpack_require__(43);\\n\\n/*\\n options.target - name of the target object\\n options.global - target is the global object\\n options.stat - export as static methods of target\\n options.proto - export as prototype methods of target\\n options.real - real prototype method for the `pure` version\\n options.forced - export even if the native feature is available\\n options.bind - bind methods to the target, required for the `pure` version\\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\\n options.sham - add a flag to not completely full polyfills\\n options.enumerable - export as enumerable property\\n options.noTargetGet - prevent calling a getter on target\\n*/\\nmodule.exports = function (options, source) {\\n var TARGET = options.target;\\n var GLOBAL = options.global;\\n var STATIC = options.stat;\\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\\n if (GLOBAL) {\\n target = global;\\n } else if (STATIC) {\\n target = global[TARGET] || setGlobal(TARGET, {});\\n } else {\\n target = (global[TARGET] || {}).prototype;\\n }\\n if (target) for (key in source) {\\n sourceProperty = source[key];\\n if (options.noTargetGet) {\\n descriptor = getOwnPropertyDescriptor(target, key);\\n targetProperty = descriptor && descriptor.value;\\n } else targetProperty = target[key];\\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\\n // contained in target\\n if (!FORCED && targetProperty !== undefined) {\\n if (typeof sourceProperty === typeof targetProperty) continue;\\n copyConstructorProperties(sourceProperty, targetProperty);\\n }\\n // add a flag to not completely full polyfills\\n if (options.sham || (targetProperty && targetProperty.sham)) {\\n createNonEnumerableProperty(sourceProperty, 'sham', true);\\n }\\n // extend global\\n redefine(target, key, sourceProperty, options);\\n }\\n};\\n\\n\\n/***/ }),\\n/* 18 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n// toObject with fallback for non-array-like ES3 strings\\nvar IndexedObject = __webpack_require__(66);\\nvar requireObjectCoercible = __webpack_require__(27);\\n\\nmodule.exports = function (it) {\\n return IndexedObject(requireObjectCoercible(it));\\n};\\n\\n\\n/***/ }),\\n/* 19 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar wellKnownSymbol = __webpack_require__(1);\\n\\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\\nvar test = {};\\n\\ntest[TO_STRING_TAG] = 'z';\\n\\nmodule.exports = String(test) === '[object z]';\\n\\n\\n/***/ }),\\n/* 20 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar createNonEnumerableProperty = __webpack_require__(6);\\n\\nmodule.exports = function (key, value) {\\n try {\\n createNonEnumerableProperty(global, key, value);\\n } catch (error) {\\n global[key] = value;\\n } return value;\\n};\\n\\n\\n/***/ }),\\n/* 21 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar isObject = __webpack_require__(7);\\n\\nvar document = global.document;\\n// typeof document.createElement is 'object' in old IE\\nvar EXISTS = isObject(document) && isObject(document.createElement);\\n\\nmodule.exports = function (it) {\\n return EXISTS ? document.createElement(it) : {};\\n};\\n\\n\\n/***/ }),\\n/* 22 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = function (bitmap, value) {\\n return {\\n enumerable: !(bitmap & 1),\\n configurable: !(bitmap & 2),\\n writable: !(bitmap & 4),\\n value: value\\n };\\n};\\n\\n\\n/***/ }),\\n/* 23 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar store = __webpack_require__(33);\\n\\nvar functionToString = Function.toString;\\n\\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\\nif (typeof store.inspectSource != 'function') {\\n store.inspectSource = function (it) {\\n return functionToString.call(it);\\n };\\n}\\n\\nmodule.exports = store.inspectSource;\\n\\n\\n/***/ }),\\n/* 24 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar shared = __webpack_require__(32);\\nvar uid = __webpack_require__(36);\\n\\nvar keys = shared('keys');\\n\\nmodule.exports = function (key) {\\n return keys[key] || (keys[key] = uid(key));\\n};\\n\\n\\n/***/ }),\\n/* 25 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = {};\\n\\n\\n/***/ }),\\n/* 26 */\\n/***/ (function(module, exports) {\\n\\nvar ceil = Math.ceil;\\nvar floor = Math.floor;\\n\\n// `ToInteger` abstract operation\\n// https://tc39.github.io/ecma262/#sec-tointeger\\nmodule.exports = function (argument) {\\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\\n};\\n\\n\\n/***/ }),\\n/* 27 */\\n/***/ (function(module, exports) {\\n\\n// `RequireObjectCoercible` abstract operation\\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\\nmodule.exports = function (it) {\\n if (it == undefined) throw TypeError(\\\"Can't call method on \\\" + it);\\n return it;\\n};\\n\\n\\n/***/ }),\\n/* 28 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar DESCRIPTORS = __webpack_require__(8);\\nvar propertyIsEnumerableModule = __webpack_require__(65);\\nvar createPropertyDescriptor = __webpack_require__(22);\\nvar toIndexedObject = __webpack_require__(18);\\nvar toPrimitive = __webpack_require__(35);\\nvar has = __webpack_require__(3);\\nvar IE8_DOM_DEFINE = __webpack_require__(34);\\n\\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\\n\\n// `Object.getOwnPropertyDescriptor` method\\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\\n O = toIndexedObject(O);\\n P = toPrimitive(P, true);\\n if (IE8_DOM_DEFINE) try {\\n return nativeGetOwnPropertyDescriptor(O, P);\\n } catch (error) { /* empty */ }\\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\\n};\\n\\n\\n/***/ }),\\n/* 29 */\\n/***/ (function(module, exports) {\\n\\n// IE8- don't enum bug keys\\nmodule.exports = [\\n 'constructor',\\n 'hasOwnProperty',\\n 'isPrototypeOf',\\n 'propertyIsEnumerable',\\n 'toLocaleString',\\n 'toString',\\n 'valueOf'\\n];\\n\\n\\n/***/ }),\\n/* 30 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar defineProperty = __webpack_require__(9).f;\\nvar has = __webpack_require__(3);\\nvar wellKnownSymbol = __webpack_require__(1);\\n\\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\\n\\nmodule.exports = function (it, TAG, STATIC) {\\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\\n }\\n};\\n\\n\\n/***/ }),\\n/* 31 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar aFunction = __webpack_require__(15);\\n\\nvar PromiseCapability = function (C) {\\n var resolve, reject;\\n this.promise = new C(function ($$resolve, $$reject) {\\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\\n resolve = $$resolve;\\n reject = $$reject;\\n });\\n this.resolve = aFunction(resolve);\\n this.reject = aFunction(reject);\\n};\\n\\n// 25.4.1.5 NewPromiseCapability(C)\\nmodule.exports.f = function (C) {\\n return new PromiseCapability(C);\\n};\\n\\n\\n/***/ }),\\n/* 32 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar IS_PURE = __webpack_require__(12);\\nvar store = __webpack_require__(33);\\n\\n(module.exports = function (key, value) {\\n return store[key] || (store[key] = value !== undefined ? value : {});\\n})('versions', []).push({\\n version: '3.6.4',\\n mode: IS_PURE ? 'pure' : 'global',\\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\\n});\\n\\n\\n/***/ }),\\n/* 33 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar setGlobal = __webpack_require__(20);\\n\\nvar SHARED = '__core-js_shared__';\\nvar store = global[SHARED] || setGlobal(SHARED, {});\\n\\nmodule.exports = store;\\n\\n\\n/***/ }),\\n/* 34 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar DESCRIPTORS = __webpack_require__(8);\\nvar fails = __webpack_require__(5);\\nvar createElement = __webpack_require__(21);\\n\\n// Thank's IE8 for his funny defineProperty\\nmodule.exports = !DESCRIPTORS && !fails(function () {\\n return Object.defineProperty(createElement('div'), 'a', {\\n get: function () { return 7; }\\n }).a != 7;\\n});\\n\\n\\n/***/ }),\\n/* 35 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar isObject = __webpack_require__(7);\\n\\n// `ToPrimitive` abstract operation\\n// https://tc39.github.io/ecma262/#sec-toprimitive\\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\\n// and the second argument - flag - preferred type is a string\\nmodule.exports = function (input, PREFERRED_STRING) {\\n if (!isObject(input)) return input;\\n var fn, val;\\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\\n throw TypeError(\\\"Can't convert object to primitive value\\\");\\n};\\n\\n\\n/***/ }),\\n/* 36 */\\n/***/ (function(module, exports) {\\n\\nvar id = 0;\\nvar postfix = Math.random();\\n\\nmodule.exports = function (key) {\\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\\n};\\n\\n\\n/***/ }),\\n/* 37 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar fails = __webpack_require__(5);\\n\\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\\n // Chrome 38 Symbol has incorrect toString conversion\\n // eslint-disable-next-line no-undef\\n return !String(Symbol());\\n});\\n\\n\\n/***/ }),\\n/* 38 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(19);\\nvar classofRaw = __webpack_require__(13);\\nvar wellKnownSymbol = __webpack_require__(1);\\n\\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\\n// ES3 wrong here\\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\\n\\n// fallback for IE11 Script Access Denied error\\nvar tryGet = function (it, key) {\\n try {\\n return it[key];\\n } catch (error) { /* empty */ }\\n};\\n\\n// getting tag from ES6+ `Object.prototype.toString`\\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\\n var O, tag, result;\\n return it === undefined ? 'Undefined' : it === null ? 'Null'\\n // @@toStringTag case\\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\\n // builtinTag case\\n : CORRECT_ARGUMENTS ? classofRaw(O)\\n // ES3 arguments fallback\\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\\n};\\n\\n\\n/***/ }),\\n/* 39 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar $ = __webpack_require__(17);\\nvar createIteratorConstructor = __webpack_require__(73);\\nvar getPrototypeOf = __webpack_require__(45);\\nvar setPrototypeOf = __webpack_require__(78);\\nvar setToStringTag = __webpack_require__(30);\\nvar createNonEnumerableProperty = __webpack_require__(6);\\nvar redefine = __webpack_require__(10);\\nvar wellKnownSymbol = __webpack_require__(1);\\nvar IS_PURE = __webpack_require__(12);\\nvar Iterators = __webpack_require__(14);\\nvar IteratorsCore = __webpack_require__(44);\\n\\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\\nvar ITERATOR = wellKnownSymbol('iterator');\\nvar KEYS = 'keys';\\nvar VALUES = 'values';\\nvar ENTRIES = 'entries';\\n\\nvar returnThis = function () { return this; };\\n\\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\\n createIteratorConstructor(IteratorConstructor, NAME, next);\\n\\n var getIterationMethod = function (KIND) {\\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\\n switch (KIND) {\\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\\n } return function () { return new IteratorConstructor(this); };\\n };\\n\\n var TO_STRING_TAG = NAME + ' Iterator';\\n var INCORRECT_VALUES_NAME = false;\\n var IterablePrototype = Iterable.prototype;\\n var nativeIterator = IterablePrototype[ITERATOR]\\n || IterablePrototype['@@iterator']\\n || DEFAULT && IterablePrototype[DEFAULT];\\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\\n var CurrentIteratorPrototype, methods, KEY;\\n\\n // fix native\\n if (anyNativeIterator) {\\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\\n if (setPrototypeOf) {\\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\\n }\\n }\\n // Set @@toStringTag to native iterators\\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\\n }\\n }\\n\\n // fix Array#{values, @@iterator}.name in V8 / FF\\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\\n INCORRECT_VALUES_NAME = true;\\n defaultIterator = function values() { return nativeIterator.call(this); };\\n }\\n\\n // define iterator\\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\\n }\\n Iterators[NAME] = defaultIterator;\\n\\n // export additional methods\\n if (DEFAULT) {\\n methods = {\\n values: getIterationMethod(VALUES),\\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\\n entries: getIterationMethod(ENTRIES)\\n };\\n if (FORCED) for (KEY in methods) {\\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\\n redefine(IterablePrototype, KEY, methods[KEY]);\\n }\\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\\n }\\n\\n return methods;\\n};\\n\\n\\n/***/ }),\\n/* 40 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\n\\nmodule.exports = global;\\n\\n\\n/***/ }),\\n/* 41 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar has = __webpack_require__(3);\\nvar toIndexedObject = __webpack_require__(18);\\nvar indexOf = __webpack_require__(70).indexOf;\\nvar hiddenKeys = __webpack_require__(25);\\n\\nmodule.exports = function (object, names) {\\n var O = toIndexedObject(object);\\n var i = 0;\\n var result = [];\\n var key;\\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\\n // Don't enum bug & hidden keys\\n while (names.length > i) if (has(O, key = names[i++])) {\\n ~indexOf(result, key) || result.push(key);\\n }\\n return result;\\n};\\n\\n\\n/***/ }),\\n/* 42 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar toInteger = __webpack_require__(26);\\n\\nvar min = Math.min;\\n\\n// `ToLength` abstract operation\\n// https://tc39.github.io/ecma262/#sec-tolength\\nmodule.exports = function (argument) {\\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\\n};\\n\\n\\n/***/ }),\\n/* 43 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar fails = __webpack_require__(5);\\n\\nvar replacement = /#|\\\\.prototype\\\\./;\\n\\nvar isForced = function (feature, detection) {\\n var value = data[normalize(feature)];\\n return value == POLYFILL ? true\\n : value == NATIVE ? false\\n : typeof detection == 'function' ? fails(detection)\\n : !!detection;\\n};\\n\\nvar normalize = isForced.normalize = function (string) {\\n return String(string).replace(replacement, '.').toLowerCase();\\n};\\n\\nvar data = isForced.data = {};\\nvar NATIVE = isForced.NATIVE = 'N';\\nvar POLYFILL = isForced.POLYFILL = 'P';\\n\\nmodule.exports = isForced;\\n\\n\\n/***/ }),\\n/* 44 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar getPrototypeOf = __webpack_require__(45);\\nvar createNonEnumerableProperty = __webpack_require__(6);\\nvar has = __webpack_require__(3);\\nvar wellKnownSymbol = __webpack_require__(1);\\nvar IS_PURE = __webpack_require__(12);\\n\\nvar ITERATOR = wellKnownSymbol('iterator');\\nvar BUGGY_SAFARI_ITERATORS = false;\\n\\nvar returnThis = function () { return this; };\\n\\n// `%IteratorPrototype%` object\\n// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\\n\\nif ([].keys) {\\n arrayIterator = [].keys();\\n // Safari 8 has buggy iterators w/o `next`\\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\\n else {\\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\\n }\\n}\\n\\nif (IteratorPrototype == undefined) IteratorPrototype = {};\\n\\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\\nif (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {\\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\\n}\\n\\nmodule.exports = {\\n IteratorPrototype: IteratorPrototype,\\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\\n};\\n\\n\\n/***/ }),\\n/* 45 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar has = __webpack_require__(3);\\nvar toObject = __webpack_require__(74);\\nvar sharedKey = __webpack_require__(24);\\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(75);\\n\\nvar IE_PROTO = sharedKey('IE_PROTO');\\nvar ObjectPrototype = Object.prototype;\\n\\n// `Object.getPrototypeOf` method\\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\\n O = toObject(O);\\n if (has(O, IE_PROTO)) return O[IE_PROTO];\\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\\n return O.constructor.prototype;\\n } return O instanceof Object ? ObjectPrototype : null;\\n};\\n\\n\\n/***/ }),\\n/* 46 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar anObject = __webpack_require__(2);\\nvar defineProperties = __webpack_require__(76);\\nvar enumBugKeys = __webpack_require__(29);\\nvar hiddenKeys = __webpack_require__(25);\\nvar html = __webpack_require__(47);\\nvar documentCreateElement = __webpack_require__(21);\\nvar sharedKey = __webpack_require__(24);\\n\\nvar GT = '>';\\nvar LT = '<';\\nvar PROTOTYPE = 'prototype';\\nvar SCRIPT = 'script';\\nvar IE_PROTO = sharedKey('IE_PROTO');\\n\\nvar EmptyConstructor = function () { /* empty */ };\\n\\nvar scriptTag = function (content) {\\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\\n};\\n\\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\\n activeXDocument.write(scriptTag(''));\\n activeXDocument.close();\\n var temp = activeXDocument.parentWindow.Object;\\n activeXDocument = null; // avoid memory leak\\n return temp;\\n};\\n\\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\\nvar NullProtoObjectViaIFrame = function () {\\n // Thrash, waste and sodomy: IE GC bug\\n var iframe = documentCreateElement('iframe');\\n var JS = 'java' + SCRIPT + ':';\\n var iframeDocument;\\n iframe.style.display = 'none';\\n html.appendChild(iframe);\\n // https://github.com/zloirock/core-js/issues/475\\n iframe.src = String(JS);\\n iframeDocument = iframe.contentWindow.document;\\n iframeDocument.open();\\n iframeDocument.write(scriptTag('document.F=Object'));\\n iframeDocument.close();\\n return iframeDocument.F;\\n};\\n\\n// Check for document.domain and active x support\\n// No need to use active x approach when document.domain is not set\\n// see https://github.com/es-shims/es5-shim/issues/150\\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\\n// avoid IE GC bug\\nvar activeXDocument;\\nvar NullProtoObject = function () {\\n try {\\n /* global ActiveXObject */\\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\\n } catch (error) { /* ignore */ }\\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\\n var length = enumBugKeys.length;\\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\\n return NullProtoObject();\\n};\\n\\nhiddenKeys[IE_PROTO] = true;\\n\\n// `Object.create` method\\n// https://tc39.github.io/ecma262/#sec-object.create\\nmodule.exports = Object.create || function create(O, Properties) {\\n var result;\\n if (O !== null) {\\n EmptyConstructor[PROTOTYPE] = anObject(O);\\n result = new EmptyConstructor();\\n EmptyConstructor[PROTOTYPE] = null;\\n // add \\\"__proto__\\\" for Object.getPrototypeOf polyfill\\n result[IE_PROTO] = O;\\n } else result = NullProtoObject();\\n return Properties === undefined ? result : defineProperties(result, Properties);\\n};\\n\\n\\n/***/ }),\\n/* 47 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar getBuiltIn = __webpack_require__(11);\\n\\nmodule.exports = getBuiltIn('document', 'documentElement');\\n\\n\\n/***/ }),\\n/* 48 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\n\\nmodule.exports = global.Promise;\\n\\n\\n/***/ }),\\n/* 49 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar anObject = __webpack_require__(2);\\nvar isArrayIteratorMethod = __webpack_require__(88);\\nvar toLength = __webpack_require__(42);\\nvar bind = __webpack_require__(50);\\nvar getIteratorMethod = __webpack_require__(89);\\nvar callWithSafeIterationClosing = __webpack_require__(90);\\n\\nvar Result = function (stopped, result) {\\n this.stopped = stopped;\\n this.result = result;\\n};\\n\\nvar iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {\\n var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);\\n var iterator, iterFn, index, length, result, next, step;\\n\\n if (IS_ITERATOR) {\\n iterator = iterable;\\n } else {\\n iterFn = getIteratorMethod(iterable);\\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\\n // optimisation for array iterators\\n if (isArrayIteratorMethod(iterFn)) {\\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\\n result = AS_ENTRIES\\n ? boundFunction(anObject(step = iterable[index])[0], step[1])\\n : boundFunction(iterable[index]);\\n if (result && result instanceof Result) return result;\\n } return new Result(false);\\n }\\n iterator = iterFn.call(iterable);\\n }\\n\\n next = iterator.next;\\n while (!(step = next.call(iterator)).done) {\\n result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);\\n if (typeof result == 'object' && result && result instanceof Result) return result;\\n } return new Result(false);\\n};\\n\\niterate.stop = function (result) {\\n return new Result(true, result);\\n};\\n\\n\\n/***/ }),\\n/* 50 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar aFunction = __webpack_require__(15);\\n\\n// optional / simple context binding\\nmodule.exports = function (fn, that, length) {\\n aFunction(fn);\\n if (that === undefined) return fn;\\n switch (length) {\\n case 0: return function () {\\n return fn.call(that);\\n };\\n case 1: return function (a) {\\n return fn.call(that, a);\\n };\\n case 2: return function (a, b) {\\n return fn.call(that, a, b);\\n };\\n case 3: return function (a, b, c) {\\n return fn.call(that, a, b, c);\\n };\\n }\\n return function (/* ...args */) {\\n return fn.apply(that, arguments);\\n };\\n};\\n\\n\\n/***/ }),\\n/* 51 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar anObject = __webpack_require__(2);\\nvar aFunction = __webpack_require__(15);\\nvar wellKnownSymbol = __webpack_require__(1);\\n\\nvar SPECIES = wellKnownSymbol('species');\\n\\n// `SpeciesConstructor` abstract operation\\n// https://tc39.github.io/ecma262/#sec-speciesconstructor\\nmodule.exports = function (O, defaultConstructor) {\\n var C = anObject(O).constructor;\\n var S;\\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\\n};\\n\\n\\n/***/ }),\\n/* 52 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar fails = __webpack_require__(5);\\nvar classof = __webpack_require__(13);\\nvar bind = __webpack_require__(50);\\nvar html = __webpack_require__(47);\\nvar createElement = __webpack_require__(21);\\nvar IS_IOS = __webpack_require__(53);\\n\\nvar location = global.location;\\nvar set = global.setImmediate;\\nvar clear = global.clearImmediate;\\nvar process = global.process;\\nvar MessageChannel = global.MessageChannel;\\nvar Dispatch = global.Dispatch;\\nvar counter = 0;\\nvar queue = {};\\nvar ONREADYSTATECHANGE = 'onreadystatechange';\\nvar defer, channel, port;\\n\\nvar run = function (id) {\\n // eslint-disable-next-line no-prototype-builtins\\n if (queue.hasOwnProperty(id)) {\\n var fn = queue[id];\\n delete queue[id];\\n fn();\\n }\\n};\\n\\nvar runner = function (id) {\\n return function () {\\n run(id);\\n };\\n};\\n\\nvar listener = function (event) {\\n run(event.data);\\n};\\n\\nvar post = function (id) {\\n // old engines have not location.origin\\n global.postMessage(id + '', location.protocol + '//' + location.host);\\n};\\n\\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\\nif (!set || !clear) {\\n set = function setImmediate(fn) {\\n var args = [];\\n var i = 1;\\n while (arguments.length > i) args.push(arguments[i++]);\\n queue[++counter] = function () {\\n // eslint-disable-next-line no-new-func\\n (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);\\n };\\n defer(counter);\\n return counter;\\n };\\n clear = function clearImmediate(id) {\\n delete queue[id];\\n };\\n // Node.js 0.8-\\n if (classof(process) == 'process') {\\n defer = function (id) {\\n process.nextTick(runner(id));\\n };\\n // Sphere (JS game engine) Dispatch API\\n } else if (Dispatch && Dispatch.now) {\\n defer = function (id) {\\n Dispatch.now(runner(id));\\n };\\n // Browsers with MessageChannel, includes WebWorkers\\n // except iOS - https://github.com/zloirock/core-js/issues/624\\n } else if (MessageChannel && !IS_IOS) {\\n channel = new MessageChannel();\\n port = channel.port2;\\n channel.port1.onmessage = listener;\\n defer = bind(port.postMessage, port, 1);\\n // Browsers with postMessage, skip WebWorkers\\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts && !fails(post)) {\\n defer = post;\\n global.addEventListener('message', listener, false);\\n // IE8-\\n } else if (ONREADYSTATECHANGE in createElement('script')) {\\n defer = function (id) {\\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\\n html.removeChild(this);\\n run(id);\\n };\\n };\\n // Rest old browsers\\n } else {\\n defer = function (id) {\\n setTimeout(runner(id), 0);\\n };\\n }\\n}\\n\\nmodule.exports = {\\n set: set,\\n clear: clear\\n};\\n\\n\\n/***/ }),\\n/* 53 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar userAgent = __webpack_require__(54);\\n\\nmodule.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);\\n\\n\\n/***/ }),\\n/* 54 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar getBuiltIn = __webpack_require__(11);\\n\\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\\n\\n\\n/***/ }),\\n/* 55 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar anObject = __webpack_require__(2);\\nvar isObject = __webpack_require__(7);\\nvar newPromiseCapability = __webpack_require__(31);\\n\\nmodule.exports = function (C, x) {\\n anObject(C);\\n if (isObject(x) && x.constructor === C) return x;\\n var promiseCapability = newPromiseCapability.f(C);\\n var resolve = promiseCapability.resolve;\\n resolve(x);\\n return promiseCapability.promise;\\n};\\n\\n\\n/***/ }),\\n/* 56 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = function (exec) {\\n try {\\n return { error: false, value: exec() };\\n } catch (error) {\\n return { error: true, value: error };\\n }\\n};\\n\\n\\n/***/ }),\\n/* 57 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n__webpack_require__(58);\\n__webpack_require__(63);\\n__webpack_require__(80);\\n__webpack_require__(84);\\n__webpack_require__(95);\\n__webpack_require__(96);\\nvar path = __webpack_require__(40);\\n\\nmodule.exports = path.Promise;\\n\\n\\n/***/ }),\\n/* 58 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(19);\\nvar redefine = __webpack_require__(10);\\nvar toString = __webpack_require__(62);\\n\\n// `Object.prototype.toString` method\\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\\nif (!TO_STRING_TAG_SUPPORT) {\\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\\n}\\n\\n\\n/***/ }),\\n/* 59 */\\n/***/ (function(module, exports) {\\n\\nvar g;\\n\\n// This works in non-strict mode\\ng = (function() {\\n\\treturn this;\\n})();\\n\\ntry {\\n\\t// This works if eval is allowed (see CSP)\\n\\tg = g || new Function(\\\"return this\\\")();\\n} catch (e) {\\n\\t// This works if the window reference is available\\n\\tif (typeof window === \\\"object\\\") g = window;\\n}\\n\\n// g can still be undefined, but nothing to do about it...\\n// We return undefined, instead of nothing here, so it's\\n// easier to handle this case. if(!global) { ...}\\n\\nmodule.exports = g;\\n\\n\\n/***/ }),\\n/* 60 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar NATIVE_SYMBOL = __webpack_require__(37);\\n\\nmodule.exports = NATIVE_SYMBOL\\n // eslint-disable-next-line no-undef\\n && !Symbol.sham\\n // eslint-disable-next-line no-undef\\n && typeof Symbol.iterator == 'symbol';\\n\\n\\n/***/ }),\\n/* 61 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar inspectSource = __webpack_require__(23);\\n\\nvar WeakMap = global.WeakMap;\\n\\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\\n\\n\\n/***/ }),\\n/* 62 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(19);\\nvar classof = __webpack_require__(38);\\n\\n// `Object.prototype.toString` method implementation\\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\\n return '[object ' + classof(this) + ']';\\n};\\n\\n\\n/***/ }),\\n/* 63 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar charAt = __webpack_require__(64).charAt;\\nvar InternalStateModule = __webpack_require__(16);\\nvar defineIterator = __webpack_require__(39);\\n\\nvar STRING_ITERATOR = 'String Iterator';\\nvar setInternalState = InternalStateModule.set;\\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\\n\\n// `String.prototype[@@iterator]` method\\n// https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator\\ndefineIterator(String, 'String', function (iterated) {\\n setInternalState(this, {\\n type: STRING_ITERATOR,\\n string: String(iterated),\\n index: 0\\n });\\n// `%StringIteratorPrototype%.next` method\\n// https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next\\n}, function next() {\\n var state = getInternalState(this);\\n var string = state.string;\\n var index = state.index;\\n var point;\\n if (index >= string.length) return { value: undefined, done: true };\\n point = charAt(string, index);\\n state.index += point.length;\\n return { value: point, done: false };\\n});\\n\\n\\n/***/ }),\\n/* 64 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar toInteger = __webpack_require__(26);\\nvar requireObjectCoercible = __webpack_require__(27);\\n\\n// `String.prototype.{ codePointAt, at }` methods implementation\\nvar createMethod = function (CONVERT_TO_STRING) {\\n return function ($this, pos) {\\n var S = String(requireObjectCoercible($this));\\n var position = toInteger(pos);\\n var size = S.length;\\n var first, second;\\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\\n first = S.charCodeAt(position);\\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\\n ? CONVERT_TO_STRING ? S.charAt(position) : first\\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\\n };\\n};\\n\\nmodule.exports = {\\n // `String.prototype.codePointAt` method\\n // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\\n codeAt: createMethod(false),\\n // `String.prototype.at` method\\n // https://github.com/mathiasbynens/String.prototype.at\\n charAt: createMethod(true)\\n};\\n\\n\\n/***/ }),\\n/* 65 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\\n\\n// Nashorn ~ JDK8 bug\\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\\n\\n// `Object.prototype.propertyIsEnumerable` method implementation\\n// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\\n var descriptor = getOwnPropertyDescriptor(this, V);\\n return !!descriptor && descriptor.enumerable;\\n} : nativePropertyIsEnumerable;\\n\\n\\n/***/ }),\\n/* 66 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar fails = __webpack_require__(5);\\nvar classof = __webpack_require__(13);\\n\\nvar split = ''.split;\\n\\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\\nmodule.exports = fails(function () {\\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\\n // eslint-disable-next-line no-prototype-builtins\\n return !Object('z').propertyIsEnumerable(0);\\n}) ? function (it) {\\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\\n} : Object;\\n\\n\\n/***/ }),\\n/* 67 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar has = __webpack_require__(3);\\nvar ownKeys = __webpack_require__(68);\\nvar getOwnPropertyDescriptorModule = __webpack_require__(28);\\nvar definePropertyModule = __webpack_require__(9);\\n\\nmodule.exports = function (target, source) {\\n var keys = ownKeys(source);\\n var defineProperty = definePropertyModule.f;\\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\\n for (var i = 0; i < keys.length; i++) {\\n var key = keys[i];\\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\\n }\\n};\\n\\n\\n/***/ }),\\n/* 68 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar getBuiltIn = __webpack_require__(11);\\nvar getOwnPropertyNamesModule = __webpack_require__(69);\\nvar getOwnPropertySymbolsModule = __webpack_require__(72);\\nvar anObject = __webpack_require__(2);\\n\\n// all object keys, includes non-enumerable and symbols\\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\\n var keys = getOwnPropertyNamesModule.f(anObject(it));\\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\\n};\\n\\n\\n/***/ }),\\n/* 69 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar internalObjectKeys = __webpack_require__(41);\\nvar enumBugKeys = __webpack_require__(29);\\n\\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\\n\\n// `Object.getOwnPropertyNames` method\\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\\n return internalObjectKeys(O, hiddenKeys);\\n};\\n\\n\\n/***/ }),\\n/* 70 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar toIndexedObject = __webpack_require__(18);\\nvar toLength = __webpack_require__(42);\\nvar toAbsoluteIndex = __webpack_require__(71);\\n\\n// `Array.prototype.{ indexOf, includes }` methods implementation\\nvar createMethod = function (IS_INCLUDES) {\\n return function ($this, el, fromIndex) {\\n var O = toIndexedObject($this);\\n var length = toLength(O.length);\\n var index = toAbsoluteIndex(fromIndex, length);\\n var value;\\n // Array#includes uses SameValueZero equality algorithm\\n // eslint-disable-next-line no-self-compare\\n if (IS_INCLUDES && el != el) while (length > index) {\\n value = O[index++];\\n // eslint-disable-next-line no-self-compare\\n if (value != value) return true;\\n // Array#indexOf ignores holes, Array#includes - not\\n } else for (;length > index; index++) {\\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\\n } return !IS_INCLUDES && -1;\\n };\\n};\\n\\nmodule.exports = {\\n // `Array.prototype.includes` method\\n // https://tc39.github.io/ecma262/#sec-array.prototype.includes\\n includes: createMethod(true),\\n // `Array.prototype.indexOf` method\\n // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\\n indexOf: createMethod(false)\\n};\\n\\n\\n/***/ }),\\n/* 71 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar toInteger = __webpack_require__(26);\\n\\nvar max = Math.max;\\nvar min = Math.min;\\n\\n// Helper for a popular repeating case of the spec:\\n// Let integer be ? ToInteger(index).\\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\\nmodule.exports = function (index, length) {\\n var integer = toInteger(index);\\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\\n};\\n\\n\\n/***/ }),\\n/* 72 */\\n/***/ (function(module, exports) {\\n\\nexports.f = Object.getOwnPropertySymbols;\\n\\n\\n/***/ }),\\n/* 73 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar IteratorPrototype = __webpack_require__(44).IteratorPrototype;\\nvar create = __webpack_require__(46);\\nvar createPropertyDescriptor = __webpack_require__(22);\\nvar setToStringTag = __webpack_require__(30);\\nvar Iterators = __webpack_require__(14);\\n\\nvar returnThis = function () { return this; };\\n\\nmodule.exports = function (IteratorConstructor, NAME, next) {\\n var TO_STRING_TAG = NAME + ' Iterator';\\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\\n Iterators[TO_STRING_TAG] = returnThis;\\n return IteratorConstructor;\\n};\\n\\n\\n/***/ }),\\n/* 74 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar requireObjectCoercible = __webpack_require__(27);\\n\\n// `ToObject` abstract operation\\n// https://tc39.github.io/ecma262/#sec-toobject\\nmodule.exports = function (argument) {\\n return Object(requireObjectCoercible(argument));\\n};\\n\\n\\n/***/ }),\\n/* 75 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar fails = __webpack_require__(5);\\n\\nmodule.exports = !fails(function () {\\n function F() { /* empty */ }\\n F.prototype.constructor = null;\\n return Object.getPrototypeOf(new F()) !== F.prototype;\\n});\\n\\n\\n/***/ }),\\n/* 76 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar DESCRIPTORS = __webpack_require__(8);\\nvar definePropertyModule = __webpack_require__(9);\\nvar anObject = __webpack_require__(2);\\nvar objectKeys = __webpack_require__(77);\\n\\n// `Object.defineProperties` method\\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\\n anObject(O);\\n var keys = objectKeys(Properties);\\n var length = keys.length;\\n var index = 0;\\n var key;\\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\\n return O;\\n};\\n\\n\\n/***/ }),\\n/* 77 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar internalObjectKeys = __webpack_require__(41);\\nvar enumBugKeys = __webpack_require__(29);\\n\\n// `Object.keys` method\\n// https://tc39.github.io/ecma262/#sec-object.keys\\nmodule.exports = Object.keys || function keys(O) {\\n return internalObjectKeys(O, enumBugKeys);\\n};\\n\\n\\n/***/ }),\\n/* 78 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar anObject = __webpack_require__(2);\\nvar aPossiblePrototype = __webpack_require__(79);\\n\\n// `Object.setPrototypeOf` method\\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\\n// Works with __proto__ only. Old v8 can't work with null proto objects.\\n/* eslint-disable no-proto */\\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\\n var CORRECT_SETTER = false;\\n var test = {};\\n var setter;\\n try {\\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\\n setter.call(test, []);\\n CORRECT_SETTER = test instanceof Array;\\n } catch (error) { /* empty */ }\\n return function setPrototypeOf(O, proto) {\\n anObject(O);\\n aPossiblePrototype(proto);\\n if (CORRECT_SETTER) setter.call(O, proto);\\n else O.__proto__ = proto;\\n return O;\\n };\\n}() : undefined);\\n\\n\\n/***/ }),\\n/* 79 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar isObject = __webpack_require__(7);\\n\\nmodule.exports = function (it) {\\n if (!isObject(it) && it !== null) {\\n throw TypeError(\\\"Can't set \\\" + String(it) + ' as a prototype');\\n } return it;\\n};\\n\\n\\n/***/ }),\\n/* 80 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar DOMIterables = __webpack_require__(81);\\nvar ArrayIteratorMethods = __webpack_require__(82);\\nvar createNonEnumerableProperty = __webpack_require__(6);\\nvar wellKnownSymbol = __webpack_require__(1);\\n\\nvar ITERATOR = wellKnownSymbol('iterator');\\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\\nvar ArrayValues = ArrayIteratorMethods.values;\\n\\nfor (var COLLECTION_NAME in DOMIterables) {\\n var Collection = global[COLLECTION_NAME];\\n var CollectionPrototype = Collection && Collection.prototype;\\n if (CollectionPrototype) {\\n // some Chrome versions have non-configurable methods on DOMTokenList\\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\\n } catch (error) {\\n CollectionPrototype[ITERATOR] = ArrayValues;\\n }\\n if (!CollectionPrototype[TO_STRING_TAG]) {\\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\\n }\\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\\n // some Chrome versions have non-configurable methods on DOMTokenList\\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\\n } catch (error) {\\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\\n }\\n }\\n }\\n}\\n\\n\\n/***/ }),\\n/* 81 */\\n/***/ (function(module, exports) {\\n\\n// iterable DOM collections\\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\\nmodule.exports = {\\n CSSRuleList: 0,\\n CSSStyleDeclaration: 0,\\n CSSValueList: 0,\\n ClientRectList: 0,\\n DOMRectList: 0,\\n DOMStringList: 0,\\n DOMTokenList: 1,\\n DataTransferItemList: 0,\\n FileList: 0,\\n HTMLAllCollection: 0,\\n HTMLCollection: 0,\\n HTMLFormElement: 0,\\n HTMLSelectElement: 0,\\n MediaList: 0,\\n MimeTypeArray: 0,\\n NamedNodeMap: 0,\\n NodeList: 1,\\n PaintRequestList: 0,\\n Plugin: 0,\\n PluginArray: 0,\\n SVGLengthList: 0,\\n SVGNumberList: 0,\\n SVGPathSegList: 0,\\n SVGPointList: 0,\\n SVGStringList: 0,\\n SVGTransformList: 0,\\n SourceBufferList: 0,\\n StyleSheetList: 0,\\n TextTrackCueList: 0,\\n TextTrackList: 0,\\n TouchList: 0\\n};\\n\\n\\n/***/ }),\\n/* 82 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar toIndexedObject = __webpack_require__(18);\\nvar addToUnscopables = __webpack_require__(83);\\nvar Iterators = __webpack_require__(14);\\nvar InternalStateModule = __webpack_require__(16);\\nvar defineIterator = __webpack_require__(39);\\n\\nvar ARRAY_ITERATOR = 'Array Iterator';\\nvar setInternalState = InternalStateModule.set;\\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\\n\\n// `Array.prototype.entries` method\\n// https://tc39.github.io/ecma262/#sec-array.prototype.entries\\n// `Array.prototype.keys` method\\n// https://tc39.github.io/ecma262/#sec-array.prototype.keys\\n// `Array.prototype.values` method\\n// https://tc39.github.io/ecma262/#sec-array.prototype.values\\n// `Array.prototype[@@iterator]` method\\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator\\n// `CreateArrayIterator` internal method\\n// https://tc39.github.io/ecma262/#sec-createarrayiterator\\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\\n setInternalState(this, {\\n type: ARRAY_ITERATOR,\\n target: toIndexedObject(iterated), // target\\n index: 0, // next index\\n kind: kind // kind\\n });\\n// `%ArrayIteratorPrototype%.next` method\\n// https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next\\n}, function () {\\n var state = getInternalState(this);\\n var target = state.target;\\n var kind = state.kind;\\n var index = state.index++;\\n if (!target || index >= target.length) {\\n state.target = undefined;\\n return { value: undefined, done: true };\\n }\\n if (kind == 'keys') return { value: index, done: false };\\n if (kind == 'values') return { value: target[index], done: false };\\n return { value: [index, target[index]], done: false };\\n}, 'values');\\n\\n// argumentsList[@@iterator] is %ArrayProto_values%\\n// https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject\\n// https://tc39.github.io/ecma262/#sec-createmappedargumentsobject\\nIterators.Arguments = Iterators.Array;\\n\\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\\naddToUnscopables('keys');\\naddToUnscopables('values');\\naddToUnscopables('entries');\\n\\n\\n/***/ }),\\n/* 83 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar wellKnownSymbol = __webpack_require__(1);\\nvar create = __webpack_require__(46);\\nvar definePropertyModule = __webpack_require__(9);\\n\\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\\nvar ArrayPrototype = Array.prototype;\\n\\n// Array.prototype[@@unscopables]\\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\\n configurable: true,\\n value: create(null)\\n });\\n}\\n\\n// add a key to Array.prototype[@@unscopables]\\nmodule.exports = function (key) {\\n ArrayPrototype[UNSCOPABLES][key] = true;\\n};\\n\\n\\n/***/ }),\\n/* 84 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar $ = __webpack_require__(17);\\nvar IS_PURE = __webpack_require__(12);\\nvar global = __webpack_require__(0);\\nvar getBuiltIn = __webpack_require__(11);\\nvar NativePromise = __webpack_require__(48);\\nvar redefine = __webpack_require__(10);\\nvar redefineAll = __webpack_require__(85);\\nvar setToStringTag = __webpack_require__(30);\\nvar setSpecies = __webpack_require__(86);\\nvar isObject = __webpack_require__(7);\\nvar aFunction = __webpack_require__(15);\\nvar anInstance = __webpack_require__(87);\\nvar classof = __webpack_require__(13);\\nvar inspectSource = __webpack_require__(23);\\nvar iterate = __webpack_require__(49);\\nvar checkCorrectnessOfIteration = __webpack_require__(91);\\nvar speciesConstructor = __webpack_require__(51);\\nvar task = __webpack_require__(52).set;\\nvar microtask = __webpack_require__(92);\\nvar promiseResolve = __webpack_require__(55);\\nvar hostReportErrors = __webpack_require__(93);\\nvar newPromiseCapabilityModule = __webpack_require__(31);\\nvar perform = __webpack_require__(56);\\nvar InternalStateModule = __webpack_require__(16);\\nvar isForced = __webpack_require__(43);\\nvar wellKnownSymbol = __webpack_require__(1);\\nvar V8_VERSION = __webpack_require__(94);\\n\\nvar SPECIES = wellKnownSymbol('species');\\nvar PROMISE = 'Promise';\\nvar getInternalState = InternalStateModule.get;\\nvar setInternalState = InternalStateModule.set;\\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\\nvar PromiseConstructor = NativePromise;\\nvar TypeError = global.TypeError;\\nvar document = global.document;\\nvar process = global.process;\\nvar $fetch = getBuiltIn('fetch');\\nvar newPromiseCapability = newPromiseCapabilityModule.f;\\nvar newGenericPromiseCapability = newPromiseCapability;\\nvar IS_NODE = classof(process) == 'process';\\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\\nvar UNHANDLED_REJECTION = 'unhandledrejection';\\nvar REJECTION_HANDLED = 'rejectionhandled';\\nvar PENDING = 0;\\nvar FULFILLED = 1;\\nvar REJECTED = 2;\\nvar HANDLED = 1;\\nvar UNHANDLED = 2;\\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\\n\\nvar FORCED = isForced(PROMISE, function () {\\n var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);\\n if (!GLOBAL_CORE_JS_PROMISE) {\\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\\n // We can't detect it synchronously, so just check versions\\n if (V8_VERSION === 66) return true;\\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\\n if (!IS_NODE && typeof PromiseRejectionEvent != 'function') return true;\\n }\\n // We need Promise#finally in the pure version for preventing prototype pollution\\n if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;\\n // We can't use @@species feature detection in V8 since it causes\\n // deoptimization and performance degradation\\n // https://github.com/zloirock/core-js/issues/679\\n if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;\\n // Detect correctness of subclassing with @@species support\\n var promise = PromiseConstructor.resolve(1);\\n var FakePromise = function (exec) {\\n exec(function () { /* empty */ }, function () { /* empty */ });\\n };\\n var constructor = promise.constructor = {};\\n constructor[SPECIES] = FakePromise;\\n return !(promise.then(function () { /* empty */ }) instanceof FakePromise);\\n});\\n\\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\\n});\\n\\n// helpers\\nvar isThenable = function (it) {\\n var then;\\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\\n};\\n\\nvar notify = function (promise, state, isReject) {\\n if (state.notified) return;\\n state.notified = true;\\n var chain = state.reactions;\\n microtask(function () {\\n var value = state.value;\\n var ok = state.state == FULFILLED;\\n var index = 0;\\n // variable length - can't use forEach\\n while (chain.length > index) {\\n var reaction = chain[index++];\\n var handler = ok ? reaction.ok : reaction.fail;\\n var resolve = reaction.resolve;\\n var reject = reaction.reject;\\n var domain = reaction.domain;\\n var result, then, exited;\\n try {\\n if (handler) {\\n if (!ok) {\\n if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state);\\n state.rejection = HANDLED;\\n }\\n if (handler === true) result = value;\\n else {\\n if (domain) domain.enter();\\n result = handler(value); // can throw\\n if (domain) {\\n domain.exit();\\n exited = true;\\n }\\n }\\n if (result === reaction.promise) {\\n reject(TypeError('Promise-chain cycle'));\\n } else if (then = isThenable(result)) {\\n then.call(result, resolve, reject);\\n } else resolve(result);\\n } else reject(value);\\n } catch (error) {\\n if (domain && !exited) domain.exit();\\n reject(error);\\n }\\n }\\n state.reactions = [];\\n state.notified = false;\\n if (isReject && !state.rejection) onUnhandled(promise, state);\\n });\\n};\\n\\nvar dispatchEvent = function (name, promise, reason) {\\n var event, handler;\\n if (DISPATCH_EVENT) {\\n event = document.createEvent('Event');\\n event.promise = promise;\\n event.reason = reason;\\n event.initEvent(name, false, true);\\n global.dispatchEvent(event);\\n } else event = { promise: promise, reason: reason };\\n if (handler = global['on' + name]) handler(event);\\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\\n};\\n\\nvar onUnhandled = function (promise, state) {\\n task.call(global, function () {\\n var value = state.value;\\n var IS_UNHANDLED = isUnhandled(state);\\n var result;\\n if (IS_UNHANDLED) {\\n result = perform(function () {\\n if (IS_NODE) {\\n process.emit('unhandledRejection', value, promise);\\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\\n });\\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\\n if (result.error) throw result.value;\\n }\\n });\\n};\\n\\nvar isUnhandled = function (state) {\\n return state.rejection !== HANDLED && !state.parent;\\n};\\n\\nvar onHandleUnhandled = function (promise, state) {\\n task.call(global, function () {\\n if (IS_NODE) {\\n process.emit('rejectionHandled', promise);\\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\\n });\\n};\\n\\nvar bind = function (fn, promise, state, unwrap) {\\n return function (value) {\\n fn(promise, state, value, unwrap);\\n };\\n};\\n\\nvar internalReject = function (promise, state, value, unwrap) {\\n if (state.done) return;\\n state.done = true;\\n if (unwrap) state = unwrap;\\n state.value = value;\\n state.state = REJECTED;\\n notify(promise, state, true);\\n};\\n\\nvar internalResolve = function (promise, state, value, unwrap) {\\n if (state.done) return;\\n state.done = true;\\n if (unwrap) state = unwrap;\\n try {\\n if (promise === value) throw TypeError(\\\"Promise can't be resolved itself\\\");\\n var then = isThenable(value);\\n if (then) {\\n microtask(function () {\\n var wrapper = { done: false };\\n try {\\n then.call(value,\\n bind(internalResolve, promise, wrapper, state),\\n bind(internalReject, promise, wrapper, state)\\n );\\n } catch (error) {\\n internalReject(promise, wrapper, error, state);\\n }\\n });\\n } else {\\n state.value = value;\\n state.state = FULFILLED;\\n notify(promise, state, false);\\n }\\n } catch (error) {\\n internalReject(promise, { done: false }, error, state);\\n }\\n};\\n\\n// constructor polyfill\\nif (FORCED) {\\n // 25.4.3.1 Promise(executor)\\n PromiseConstructor = function Promise(executor) {\\n anInstance(this, PromiseConstructor, PROMISE);\\n aFunction(executor);\\n Internal.call(this);\\n var state = getInternalState(this);\\n try {\\n executor(bind(internalResolve, this, state), bind(internalReject, this, state));\\n } catch (error) {\\n internalReject(this, state, error);\\n }\\n };\\n // eslint-disable-next-line no-unused-vars\\n Internal = function Promise(executor) {\\n setInternalState(this, {\\n type: PROMISE,\\n done: false,\\n notified: false,\\n parent: false,\\n reactions: [],\\n rejection: false,\\n state: PENDING,\\n value: undefined\\n });\\n };\\n Internal.prototype = redefineAll(PromiseConstructor.prototype, {\\n // `Promise.prototype.then` method\\n // https://tc39.github.io/ecma262/#sec-promise.prototype.then\\n then: function then(onFulfilled, onRejected) {\\n var state = getInternalPromiseState(this);\\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\\n reaction.fail = typeof onRejected == 'function' && onRejected;\\n reaction.domain = IS_NODE ? process.domain : undefined;\\n state.parent = true;\\n state.reactions.push(reaction);\\n if (state.state != PENDING) notify(this, state, false);\\n return reaction.promise;\\n },\\n // `Promise.prototype.catch` method\\n // https://tc39.github.io/ecma262/#sec-promise.prototype.catch\\n 'catch': function (onRejected) {\\n return this.then(undefined, onRejected);\\n }\\n });\\n OwnPromiseCapability = function () {\\n var promise = new Internal();\\n var state = getInternalState(promise);\\n this.promise = promise;\\n this.resolve = bind(internalResolve, promise, state);\\n this.reject = bind(internalReject, promise, state);\\n };\\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\\n return C === PromiseConstructor || C === PromiseWrapper\\n ? new OwnPromiseCapability(C)\\n : newGenericPromiseCapability(C);\\n };\\n\\n if (!IS_PURE && typeof NativePromise == 'function') {\\n nativeThen = NativePromise.prototype.then;\\n\\n // wrap native Promise#then for native async functions\\n redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {\\n var that = this;\\n return new PromiseConstructor(function (resolve, reject) {\\n nativeThen.call(that, resolve, reject);\\n }).then(onFulfilled, onRejected);\\n // https://github.com/zloirock/core-js/issues/640\\n }, { unsafe: true });\\n\\n // wrap fetch result\\n if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {\\n // eslint-disable-next-line no-unused-vars\\n fetch: function fetch(input /* , init */) {\\n return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));\\n }\\n });\\n }\\n}\\n\\n$({ global: true, wrap: true, forced: FORCED }, {\\n Promise: PromiseConstructor\\n});\\n\\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\\nsetSpecies(PROMISE);\\n\\nPromiseWrapper = getBuiltIn(PROMISE);\\n\\n// statics\\n$({ target: PROMISE, stat: true, forced: FORCED }, {\\n // `Promise.reject` method\\n // https://tc39.github.io/ecma262/#sec-promise.reject\\n reject: function reject(r) {\\n var capability = newPromiseCapability(this);\\n capability.reject.call(undefined, r);\\n return capability.promise;\\n }\\n});\\n\\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\\n // `Promise.resolve` method\\n // https://tc39.github.io/ecma262/#sec-promise.resolve\\n resolve: function resolve(x) {\\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\\n }\\n});\\n\\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\\n // `Promise.all` method\\n // https://tc39.github.io/ecma262/#sec-promise.all\\n all: function all(iterable) {\\n var C = this;\\n var capability = newPromiseCapability(C);\\n var resolve = capability.resolve;\\n var reject = capability.reject;\\n var result = perform(function () {\\n var $promiseResolve = aFunction(C.resolve);\\n var values = [];\\n var counter = 0;\\n var remaining = 1;\\n iterate(iterable, function (promise) {\\n var index = counter++;\\n var alreadyCalled = false;\\n values.push(undefined);\\n remaining++;\\n $promiseResolve.call(C, promise).then(function (value) {\\n if (alreadyCalled) return;\\n alreadyCalled = true;\\n values[index] = value;\\n --remaining || resolve(values);\\n }, reject);\\n });\\n --remaining || resolve(values);\\n });\\n if (result.error) reject(result.value);\\n return capability.promise;\\n },\\n // `Promise.race` method\\n // https://tc39.github.io/ecma262/#sec-promise.race\\n race: function race(iterable) {\\n var C = this;\\n var capability = newPromiseCapability(C);\\n var reject = capability.reject;\\n var result = perform(function () {\\n var $promiseResolve = aFunction(C.resolve);\\n iterate(iterable, function (promise) {\\n $promiseResolve.call(C, promise).then(capability.resolve, reject);\\n });\\n });\\n if (result.error) reject(result.value);\\n return capability.promise;\\n }\\n});\\n\\n\\n/***/ }),\\n/* 85 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar redefine = __webpack_require__(10);\\n\\nmodule.exports = function (target, src, options) {\\n for (var key in src) redefine(target, key, src[key], options);\\n return target;\\n};\\n\\n\\n/***/ }),\\n/* 86 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar getBuiltIn = __webpack_require__(11);\\nvar definePropertyModule = __webpack_require__(9);\\nvar wellKnownSymbol = __webpack_require__(1);\\nvar DESCRIPTORS = __webpack_require__(8);\\n\\nvar SPECIES = wellKnownSymbol('species');\\n\\nmodule.exports = function (CONSTRUCTOR_NAME) {\\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\\n var defineProperty = definePropertyModule.f;\\n\\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\\n defineProperty(Constructor, SPECIES, {\\n configurable: true,\\n get: function () { return this; }\\n });\\n }\\n};\\n\\n\\n/***/ }),\\n/* 87 */\\n/***/ (function(module, exports) {\\n\\nmodule.exports = function (it, Constructor, name) {\\n if (!(it instanceof Constructor)) {\\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\\n } return it;\\n};\\n\\n\\n/***/ }),\\n/* 88 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar wellKnownSymbol = __webpack_require__(1);\\nvar Iterators = __webpack_require__(14);\\n\\nvar ITERATOR = wellKnownSymbol('iterator');\\nvar ArrayPrototype = Array.prototype;\\n\\n// check on default Array iterator\\nmodule.exports = function (it) {\\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\\n};\\n\\n\\n/***/ }),\\n/* 89 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar classof = __webpack_require__(38);\\nvar Iterators = __webpack_require__(14);\\nvar wellKnownSymbol = __webpack_require__(1);\\n\\nvar ITERATOR = wellKnownSymbol('iterator');\\n\\nmodule.exports = function (it) {\\n if (it != undefined) return it[ITERATOR]\\n || it['@@iterator']\\n || Iterators[classof(it)];\\n};\\n\\n\\n/***/ }),\\n/* 90 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar anObject = __webpack_require__(2);\\n\\n// call something on iterator step with safe closing on error\\nmodule.exports = function (iterator, fn, value, ENTRIES) {\\n try {\\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\\n // 7.4.6 IteratorClose(iterator, completion)\\n } catch (error) {\\n var returnMethod = iterator['return'];\\n if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\\n throw error;\\n }\\n};\\n\\n\\n/***/ }),\\n/* 91 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar wellKnownSymbol = __webpack_require__(1);\\n\\nvar ITERATOR = wellKnownSymbol('iterator');\\nvar SAFE_CLOSING = false;\\n\\ntry {\\n var called = 0;\\n var iteratorWithReturn = {\\n next: function () {\\n return { done: !!called++ };\\n },\\n 'return': function () {\\n SAFE_CLOSING = true;\\n }\\n };\\n iteratorWithReturn[ITERATOR] = function () {\\n return this;\\n };\\n // eslint-disable-next-line no-throw-literal\\n Array.from(iteratorWithReturn, function () { throw 2; });\\n} catch (error) { /* empty */ }\\n\\nmodule.exports = function (exec, SKIP_CLOSING) {\\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\\n var ITERATION_SUPPORT = false;\\n try {\\n var object = {};\\n object[ITERATOR] = function () {\\n return {\\n next: function () {\\n return { done: ITERATION_SUPPORT = true };\\n }\\n };\\n };\\n exec(object);\\n } catch (error) { /* empty */ }\\n return ITERATION_SUPPORT;\\n};\\n\\n\\n/***/ }),\\n/* 92 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar getOwnPropertyDescriptor = __webpack_require__(28).f;\\nvar classof = __webpack_require__(13);\\nvar macrotask = __webpack_require__(52).set;\\nvar IS_IOS = __webpack_require__(53);\\n\\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\\nvar process = global.process;\\nvar Promise = global.Promise;\\nvar IS_NODE = classof(process) == 'process';\\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\\n\\nvar flush, head, last, notify, toggle, node, promise, then;\\n\\n// modern engines have queueMicrotask method\\nif (!queueMicrotask) {\\n flush = function () {\\n var parent, fn;\\n if (IS_NODE && (parent = process.domain)) parent.exit();\\n while (head) {\\n fn = head.fn;\\n head = head.next;\\n try {\\n fn();\\n } catch (error) {\\n if (head) notify();\\n else last = undefined;\\n throw error;\\n }\\n } last = undefined;\\n if (parent) parent.enter();\\n };\\n\\n // Node.js\\n if (IS_NODE) {\\n notify = function () {\\n process.nextTick(flush);\\n };\\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\\n } else if (MutationObserver && !IS_IOS) {\\n toggle = true;\\n node = document.createTextNode('');\\n new MutationObserver(flush).observe(node, { characterData: true });\\n notify = function () {\\n node.data = toggle = !toggle;\\n };\\n // environments with maybe non-completely correct, but existent Promise\\n } else if (Promise && Promise.resolve) {\\n // Promise.resolve without an argument throws an error in LG WebOS 2\\n promise = Promise.resolve(undefined);\\n then = promise.then;\\n notify = function () {\\n then.call(promise, flush);\\n };\\n // for other environments - macrotask based on:\\n // - setImmediate\\n // - MessageChannel\\n // - window.postMessag\\n // - onreadystatechange\\n // - setTimeout\\n } else {\\n notify = function () {\\n // strange IE + webpack dev server bug - use .call(global)\\n macrotask.call(global, flush);\\n };\\n }\\n}\\n\\nmodule.exports = queueMicrotask || function (fn) {\\n var task = { fn: fn, next: undefined };\\n if (last) last.next = task;\\n if (!head) {\\n head = task;\\n notify();\\n } last = task;\\n};\\n\\n\\n/***/ }),\\n/* 93 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\n\\nmodule.exports = function (a, b) {\\n var console = global.console;\\n if (console && console.error) {\\n arguments.length === 1 ? console.error(a) : console.error(a, b);\\n }\\n};\\n\\n\\n/***/ }),\\n/* 94 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\nvar global = __webpack_require__(0);\\nvar userAgent = __webpack_require__(54);\\n\\nvar process = global.process;\\nvar versions = process && process.versions;\\nvar v8 = versions && versions.v8;\\nvar match, version;\\n\\nif (v8) {\\n match = v8.split('.');\\n version = match[0] + match[1];\\n} else if (userAgent) {\\n match = userAgent.match(/Edge\\\\/(\\\\d+)/);\\n if (!match || match[1] >= 74) {\\n match = userAgent.match(/Chrome\\\\/(\\\\d+)/);\\n if (match) version = match[1];\\n }\\n}\\n\\nmodule.exports = version && +version;\\n\\n\\n/***/ }),\\n/* 95 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar $ = __webpack_require__(17);\\nvar aFunction = __webpack_require__(15);\\nvar newPromiseCapabilityModule = __webpack_require__(31);\\nvar perform = __webpack_require__(56);\\nvar iterate = __webpack_require__(49);\\n\\n// `Promise.allSettled` method\\n// https://github.com/tc39/proposal-promise-allSettled\\n$({ target: 'Promise', stat: true }, {\\n allSettled: function allSettled(iterable) {\\n var C = this;\\n var capability = newPromiseCapabilityModule.f(C);\\n var resolve = capability.resolve;\\n var reject = capability.reject;\\n var result = perform(function () {\\n var promiseResolve = aFunction(C.resolve);\\n var values = [];\\n var counter = 0;\\n var remaining = 1;\\n iterate(iterable, function (promise) {\\n var index = counter++;\\n var alreadyCalled = false;\\n values.push(undefined);\\n remaining++;\\n promiseResolve.call(C, promise).then(function (value) {\\n if (alreadyCalled) return;\\n alreadyCalled = true;\\n values[index] = { status: 'fulfilled', value: value };\\n --remaining || resolve(values);\\n }, function (e) {\\n if (alreadyCalled) return;\\n alreadyCalled = true;\\n values[index] = { status: 'rejected', reason: e };\\n --remaining || resolve(values);\\n });\\n });\\n --remaining || resolve(values);\\n });\\n if (result.error) reject(result.value);\\n return capability.promise;\\n }\\n});\\n\\n\\n/***/ }),\\n/* 96 */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n\\nvar $ = __webpack_require__(17);\\nvar IS_PURE = __webpack_require__(12);\\nvar NativePromise = __webpack_require__(48);\\nvar fails = __webpack_require__(5);\\nvar getBuiltIn = __webpack_require__(11);\\nvar speciesConstructor = __webpack_require__(51);\\nvar promiseResolve = __webpack_require__(55);\\nvar redefine = __webpack_require__(10);\\n\\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\\nvar NON_GENERIC = !!NativePromise && fails(function () {\\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\\n});\\n\\n// `Promise.prototype.finally` method\\n// https://tc39.github.io/ecma262/#sec-promise.prototype.finally\\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\\n 'finally': function (onFinally) {\\n var C = speciesConstructor(this, getBuiltIn('Promise'));\\n var isFunction = typeof onFinally == 'function';\\n return this.then(\\n isFunction ? function (x) {\\n return promiseResolve(C, onFinally()).then(function () { return x; });\\n } : onFinally,\\n isFunction ? function (e) {\\n return promiseResolve(C, onFinally()).then(function () { throw e; });\\n } : onFinally\\n );\\n }\\n});\\n\\n// patch native Promise.prototype for native async functions\\nif (!IS_PURE && typeof NativePromise == 'function' && !NativePromise.prototype['finally']) {\\n redefine(NativePromise.prototype, 'finally', getBuiltIn('Promise').prototype['finally']);\\n}\\n\\n\\n/***/ }),\\n/* 97 */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\n// ESM COMPAT FLAG\\n__webpack_require__.r(__webpack_exports__);\\n\\n// EXPORTS\\n__webpack_require__.d(__webpack_exports__, \\\"add\\\", function() { return /* binding */ add; });\\n__webpack_require__.d(__webpack_exports__, \\\"done\\\", function() { return /* binding */ done; });\\n__webpack_require__.d(__webpack_exports__, \\\"toJS\\\", function() { return /* binding */ toJS; });\\n__webpack_require__.d(__webpack_exports__, \\\"load\\\", function() { return /* binding */ load; });\\n__webpack_require__.d(__webpack_exports__, \\\"search\\\", function() { return /* binding */ search; });\\n\\n// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.js\\n/*! *****************************************************************************\\r\\nCopyright (c) Microsoft Corporation. All rights reserved.\\r\\nLicensed under the Apache License, Version 2.0 (the \\\"License\\\"); you may not use\\r\\nthis file except in compliance with the License. You may obtain a copy of the\\r\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\r\\n\\r\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\r\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\r\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\r\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\r\\n\\r\\nSee the Apache Version 2.0 License for specific language governing permissions\\r\\nand limitations under the License.\\r\\n***************************************************************************** */\\r\\n/* global Reflect, Promise */\\r\\n\\r\\nvar extendStatics = function(d, b) {\\r\\n extendStatics = Object.setPrototypeOf ||\\r\\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\\r\\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\\r\\n return extendStatics(d, b);\\r\\n};\\r\\n\\r\\nfunction __extends(d, b) {\\r\\n extendStatics(d, b);\\r\\n function __() { this.constructor = d; }\\r\\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\\r\\n}\\r\\n\\r\\nvar __assign = function() {\\r\\n __assign = Object.assign || function __assign(t) {\\r\\n for (var s, i = 1, n = arguments.length; i < n; i++) {\\r\\n s = arguments[i];\\r\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\\r\\n }\\r\\n return t;\\r\\n }\\r\\n return __assign.apply(this, arguments);\\r\\n}\\r\\n\\r\\nfunction __rest(s, e) {\\r\\n var t = {};\\r\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\\r\\n t[p] = s[p];\\r\\n if (s != null && typeof Object.getOwnPropertySymbols === \\\"function\\\")\\r\\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\\r\\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\\r\\n t[p[i]] = s[p[i]];\\r\\n }\\r\\n return t;\\r\\n}\\r\\n\\r\\nfunction __decorate(decorators, target, key, desc) {\\r\\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\\r\\n if (typeof Reflect === \\\"object\\\" && typeof Reflect.decorate === \\\"function\\\") r = Reflect.decorate(decorators, target, key, desc);\\r\\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\\r\\n return c > 3 && r && Object.defineProperty(target, key, r), r;\\r\\n}\\r\\n\\r\\nfunction __param(paramIndex, decorator) {\\r\\n return function (target, key) { decorator(target, key, paramIndex); }\\r\\n}\\r\\n\\r\\nfunction __metadata(metadataKey, metadataValue) {\\r\\n if (typeof Reflect === \\\"object\\\" && typeof Reflect.metadata === \\\"function\\\") return Reflect.metadata(metadataKey, metadataValue);\\r\\n}\\r\\n\\r\\nfunction __awaiter(thisArg, _arguments, P, generator) {\\r\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\r\\n return new (P || (P = Promise))(function (resolve, reject) {\\r\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\r\\n function rejected(value) { try { step(generator[\\\"throw\\\"](value)); } catch (e) { reject(e); } }\\r\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\r\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\r\\n });\\r\\n}\\r\\n\\r\\nfunction __generator(thisArg, body) {\\r\\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\\r\\n return g = { next: verb(0), \\\"throw\\\": verb(1), \\\"return\\\": verb(2) }, typeof Symbol === \\\"function\\\" && (g[Symbol.iterator] = function() { return this; }), g;\\r\\n function verb(n) { return function (v) { return step([n, v]); }; }\\r\\n function step(op) {\\r\\n if (f) throw new TypeError(\\\"Generator is already executing.\\\");\\r\\n while (_) try {\\r\\n if (f = 1, y && (t = op[0] & 2 ? y[\\\"return\\\"] : op[0] ? y[\\\"throw\\\"] || ((t = y[\\\"return\\\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\\r\\n if (y = 0, t) op = [op[0] & 2, t.value];\\r\\n switch (op[0]) {\\r\\n case 0: case 1: t = op; break;\\r\\n case 4: _.label++; return { value: op[1], done: false };\\r\\n case 5: _.label++; y = op[1]; op = [0]; continue;\\r\\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\\r\\n default:\\r\\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\\r\\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\\r\\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\\r\\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\\r\\n if (t[2]) _.ops.pop();\\r\\n _.trys.pop(); continue;\\r\\n }\\r\\n op = body.call(thisArg, _);\\r\\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\\r\\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\\r\\n }\\r\\n}\\r\\n\\r\\nfunction __exportStar(m, exports) {\\r\\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\\r\\n}\\r\\n\\r\\nfunction __values(o) {\\r\\n var s = typeof Symbol === \\\"function\\\" && Symbol.iterator, m = s && o[s], i = 0;\\r\\n if (m) return m.call(o);\\r\\n if (o && typeof o.length === \\\"number\\\") return {\\r\\n next: function () {\\r\\n if (o && i >= o.length) o = void 0;\\r\\n return { value: o && o[i++], done: !o };\\r\\n }\\r\\n };\\r\\n throw new TypeError(s ? \\\"Object is not iterable.\\\" : \\\"Symbol.iterator is not defined.\\\");\\r\\n}\\r\\n\\r\\nfunction __read(o, n) {\\r\\n var m = typeof Symbol === \\\"function\\\" && o[Symbol.iterator];\\r\\n if (!m) return o;\\r\\n var i = m.call(o), r, ar = [], e;\\r\\n try {\\r\\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\\r\\n }\\r\\n catch (error) { e = { error: error }; }\\r\\n finally {\\r\\n try {\\r\\n if (r && !r.done && (m = i[\\\"return\\\"])) m.call(i);\\r\\n }\\r\\n finally { if (e) throw e.error; }\\r\\n }\\r\\n return ar;\\r\\n}\\r\\n\\r\\nfunction __spread() {\\r\\n for (var ar = [], i = 0; i < arguments.length; i++)\\r\\n ar = ar.concat(__read(arguments[i]));\\r\\n return ar;\\r\\n}\\r\\n\\r\\nfunction __spreadArrays() {\\r\\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\\r\\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\\r\\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\\r\\n r[k] = a[j];\\r\\n return r;\\r\\n};\\r\\n\\r\\nfunction __await(v) {\\r\\n return this instanceof __await ? (this.v = v, this) : new __await(v);\\r\\n}\\r\\n\\r\\nfunction __asyncGenerator(thisArg, _arguments, generator) {\\r\\n if (!Symbol.asyncIterator) throw new TypeError(\\\"Symbol.asyncIterator is not defined.\\\");\\r\\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\\r\\n return i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\"), verb(\\\"return\\\"), i[Symbol.asyncIterator] = function () { return this; }, i;\\r\\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\\r\\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\\r\\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\\r\\n function fulfill(value) { resume(\\\"next\\\", value); }\\r\\n function reject(value) { resume(\\\"throw\\\", value); }\\r\\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\\r\\n}\\r\\n\\r\\nfunction __asyncDelegator(o) {\\r\\n var i, p;\\r\\n return i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\", function (e) { throw e; }), verb(\\\"return\\\"), i[Symbol.iterator] = function () { return this; }, i;\\r\\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \\\"return\\\" } : f ? f(v) : v; } : f; }\\r\\n}\\r\\n\\r\\nfunction __asyncValues(o) {\\r\\n if (!Symbol.asyncIterator) throw new TypeError(\\\"Symbol.asyncIterator is not defined.\\\");\\r\\n var m = o[Symbol.asyncIterator], i;\\r\\n return m ? m.call(o) : (o = typeof __values === \\\"function\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\"), verb(\\\"return\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\r\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\r\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\r\\n}\\r\\n\\r\\nfunction __makeTemplateObject(cooked, raw) {\\r\\n if (Object.defineProperty) { Object.defineProperty(cooked, \\\"raw\\\", { value: raw }); } else { cooked.raw = raw; }\\r\\n return cooked;\\r\\n};\\r\\n\\r\\nfunction __importStar(mod) {\\r\\n if (mod && mod.__esModule) return mod;\\r\\n var result = {};\\r\\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\\r\\n result.default = mod;\\r\\n return result;\\r\\n}\\r\\n\\r\\nfunction __importDefault(mod) {\\r\\n return (mod && mod.__esModule) ? mod : { default: mod };\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldGet(receiver, privateMap) {\\r\\n if (!privateMap.has(receiver)) {\\r\\n throw new TypeError(\\\"attempted to get private field on non-instance\\\");\\r\\n }\\r\\n return privateMap.get(receiver);\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldSet(receiver, privateMap, value) {\\r\\n if (!privateMap.has(receiver)) {\\r\\n throw new TypeError(\\\"attempted to set private field on non-instance\\\");\\r\\n }\\r\\n privateMap.set(receiver, value);\\r\\n return value;\\r\\n}\\r\\n\\n// EXTERNAL MODULE: ./node_modules/lunr/lunr.js\\nvar lunr = __webpack_require__(4);\\n\\n// CONCATENATED MODULE: ./node_modules/workerize-loader/dist/rpc-worker-loader.js!./node_modules/ts-loader??ref--4-0!./node_modules/babel-loader/lib??ref--4-1!./src/services/SearchWorker.worker.ts\\n\\n\\ntry {\\n // tslint:disable-next-line\\n __webpack_require__(57); // bundle into worker\\n}\\ncatch (_) { } // nope\\n/* just for better typings */\\nvar Worker = /** @class */ (function () {\\n function Worker() {\\n this.add = add;\\n this.done = done;\\n this.search = search;\\n this.toJS = toJS;\\n this.load = load;\\n }\\n return Worker;\\n}());\\n/* harmony default export */ var SearchWorker_worker = __webpack_exports__[\\\"default\\\"] = (Worker);\\nvar store = [];\\nvar resolveIndex = function () {\\n throw new Error('Should not be called');\\n};\\nvar index = new Promise(function (resolve) {\\n resolveIndex = resolve;\\n});\\nlunr[\\\"tokenizer\\\"].separator = /\\\\s+/;\\nvar builder = new lunr[\\\"Builder\\\"]();\\nbuilder.field('title');\\nbuilder.field('description');\\nbuilder.ref('ref');\\nbuilder.pipeline.add(lunr[\\\"trimmer\\\"], lunr[\\\"stopWordFilter\\\"], lunr[\\\"stemmer\\\"]);\\nvar expandTerm = function (term) { return '*' + lunr[\\\"stemmer\\\"](new lunr[\\\"Token\\\"](term, {})) + '*'; };\\nfunction add(title, description, meta) {\\n var ref = store.push(meta) - 1;\\n var item = {\\n title: title.toLowerCase(),\\n description: description.toLowerCase(),\\n ref: ref\\n };\\n builder.add(item);\\n}\\nfunction done() {\\n return __awaiter(this, void 0, void 0, function () {\\n return __generator(this, function (_a) {\\n resolveIndex(builder.build());\\n return [2 /*return*/];\\n });\\n });\\n}\\nfunction toJS() {\\n return __awaiter(this, void 0, void 0, function () {\\n var _a;\\n return __generator(this, function (_b) {\\n switch (_b.label) {\\n case 0:\\n _a = {\\n store: store\\n };\\n return [4 /*yield*/, index];\\n case 1: return [2 /*return*/, (_a.index = (_b.sent()).toJSON(),\\n _a)];\\n }\\n });\\n });\\n}\\nfunction load(state) {\\n return __awaiter(this, void 0, void 0, function () {\\n return __generator(this, function (_a) {\\n store = state.store;\\n resolveIndex(lunr[\\\"Index\\\"].load(state.index));\\n return [2 /*return*/];\\n });\\n });\\n}\\nfunction search(q, limit) {\\n if (limit === void 0) { limit = 0; }\\n return __awaiter(this, void 0, void 0, function () {\\n var searchResults;\\n return __generator(this, function (_a) {\\n switch (_a.label) {\\n case 0:\\n if (q.trim().length === 0) {\\n return [2 /*return*/, []];\\n }\\n return [4 /*yield*/, index];\\n case 1:\\n searchResults = (_a.sent()).query(function (t) {\\n q.trim().toLowerCase().split(/\\\\s+/).forEach(function (term) {\\n var exp = expandTerm(term);\\n t.term(exp, {});\\n });\\n });\\n if (limit > 0) {\\n searchResults = searchResults.slice(0, limit);\\n }\\n return [2 /*return*/, searchResults.map(function (res) { return ({\\n meta: store[res.ref],\\n score: res.score\\n }); })];\\n }\\n });\\n });\\n}\\n\\naddEventListener('message', function (e) {var ref = e.data;var type = ref.type;var method = ref.method;var id = ref.id;var params = ref.params;var f,p;if (type === 'RPC' && method) {if (f = __webpack_exports__[method]) {p = Promise.resolve().then(function () { return f.apply(__webpack_exports__, params); });} else {p = Promise.reject('No such method');}p.then(function (result) {postMessage({type: 'RPC',id: id,result: result});}).catch(function (e) {var error = {message: e};if (e.stack) {error.message = e.message;error.stack = e.stack;error.name = e.name;}postMessage({type: 'RPC',id: id,error: error});});}});postMessage({type: 'RPC',method: 'ready'});\\n\\n/***/ })\\n/******/ ]);\\n//# sourceMappingURL=9bfd118e9284deb14028.worker.js.map\"])), {\n name: \"[hash].worker.js\"\n });\n addMethods(w, methods);\n return w;\n };\n /***/\n\n },\n /* 78 */\n\n /***/\n function (module, exports) {\n function addMethods(worker, methods) {\n var c = 0;\n var callbacks = {};\n worker.addEventListener('message', function (e) {\n var d = e.data;\n\n if (d.type !== 'RPC') {\n return;\n }\n\n if (d.id) {\n var f = callbacks[d.id];\n\n if (f) {\n delete callbacks[d.id];\n\n if (d.error) {\n f[1](Object.assign(Error(d.error.message), d.error));\n } else {\n f[0](d.result);\n }\n }\n } else {\n var evt = document.createEvent('Event');\n evt.initEvent(d.method, false, false);\n evt.data = d.params;\n worker.dispatchEvent(evt);\n }\n });\n methods.forEach(function (method) {\n worker[method] = function () {\n var params = [],\n len = arguments.length;\n\n while (len--) {\n params[len] = arguments[len];\n }\n\n return new Promise(function (a, b) {\n var id = ++c;\n callbacks[id] = [a, b];\n worker.postMessage({\n type: 'RPC',\n id: id,\n method: method,\n params: params\n });\n });\n };\n });\n }\n\n module.exports = addMethods;\n /***/\n },\n /* 79 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"core-js/es6/promise\");\n /***/\n },\n /* 80 */\n\n /***/\n function (module, exports, __webpack_require__) {\n \"use strict\";\n /*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n */\n // css base code, injected by the css-loader\n // eslint-disable-next-line func-names\n\n module.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n };\n\n function cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n } // Adapted from convert-source-map (MIT)\n\n\n function toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n }\n /***/\n\n },\n /* 81 */\n\n /***/\n function (module, exports) {\n module.exports = require(\"stickyfill\");\n /***/\n },\n /* 82 */\n\n /***/\n function (module, __webpack_exports__, __webpack_require__) {\n \"use strict\"; // ESM COMPAT FLAG\n\n __webpack_require__.r(__webpack_exports__); // EXPORTS\n\n\n __webpack_require__.d(__webpack_exports__, \"RedocStandalone\", function () {\n return (\n /* reexport */\n RedocStandalone_RedocStandalone\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Redoc\", function () {\n return (\n /* reexport */\n Redoc_Redoc\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ApiInfo\", function () {\n return (\n /* reexport */\n ApiInfo_ApiInfo\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ApiLogo\", function () {\n return (\n /* reexport */\n ApiLogo_ApiLogo\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ContentItems\", function () {\n return (\n /* reexport */\n ContentItems_ContentItems\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ContentItem\", function () {\n return (\n /* reexport */\n ContentItems_ContentItem\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SectionItem\", function () {\n return (\n /* reexport */\n ContentItems_SectionItem\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OperationItem\", function () {\n return (\n /* reexport */\n ContentItems_OperationItem\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ApiContentWrap\", function () {\n return (\n /* reexport */\n ApiContentWrap\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"BackgroundStub\", function () {\n return (\n /* reexport */\n BackgroundStub\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"RedocWrap\", function () {\n return (\n /* reexport */\n RedocWrap\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Schema\", function () {\n return (\n /* reexport */\n Schema_Schema\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ObjectSchema\", function () {\n return (\n /* reexport */\n ObjectSchema_ObjectSchema\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OneOfButton\", function () {\n return (\n /* reexport */\n OneOfSchema_OneOfButton\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OneOfSchema\", function () {\n return (\n /* reexport */\n OneOfSchema_OneOfSchema\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ArraySchema\", function () {\n return (\n /* reexport */\n ArraySchema_ArraySchema\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"DiscriminatorDropdown\", function () {\n return (\n /* reexport */\n DiscriminatorDropdown_DiscriminatorDropdown\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SearchBox\", function () {\n return (\n /* reexport */\n SearchBox_SearchBox\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Operation\", function () {\n return (\n /* reexport */\n Operation_Operation\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Loading\", function () {\n return (\n /* reexport */\n Loading_Loading\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"JsonViewer\", function () {\n return (\n /* reexport */\n JsonViewer\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Markdown\", function () {\n return (\n /* reexport */\n Markdown_Markdown\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"StyledMarkdownBlock\", function () {\n return (\n /* reexport */\n StyledMarkdownBlock\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OAuthFlow\", function () {\n return (\n /* reexport */\n SecuritySchemes_OAuthFlow\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SecurityDefs\", function () {\n return (\n /* reexport */\n SecuritySchemes_SecurityDefs\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ResponseView\", function () {\n return (\n /* reexport */\n Response_ResponseView\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ResponseDetails\", function () {\n return (\n /* reexport */\n ResponseDetails_ResponseDetails\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ResponseHeaders\", function () {\n return (\n /* reexport */\n ResponseHeaders_ResponseHeaders\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ResponsesList\", function () {\n return (\n /* reexport */\n ResponsesList_ResponsesList\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ResponseTitle\", function () {\n return (\n /* reexport */\n ResponseTitle_ResponseTitle\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ResponseSamples\", function () {\n return (\n /* reexport */\n ResponseSamples_ResponseSamples\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"PayloadSamples\", function () {\n return (\n /* reexport */\n PayloadSamples_PayloadSamples\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MediaTypesSwitch\", function () {\n return (\n /* reexport */\n MediaTypesSwitch_MediaTypesSwitch\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ErrorBoundary\", function () {\n return (\n /* reexport */\n ErrorBoundary_ErrorBoundary\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"StoreProvider\", function () {\n return (\n /* reexport */\n Provider\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"StoreConsumer\", function () {\n return (\n /* reexport */\n Consumer\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"StoreBuilder\", function () {\n return (\n /* reexport */\n StoreBuilder_StoreBuilder\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OptionsContext\", function () {\n return (\n /* reexport */\n OptionsContext\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OptionsProvider\", function () {\n return (\n /* reexport */\n OptionsProvider\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OptionsConsumer\", function () {\n return (\n /* reexport */\n OptionsConsumer\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuItem\", function () {\n return (\n /* reexport */\n MenuItem_MenuItem\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OperationMenuItemContent\", function () {\n return (\n /* reexport */\n MenuItem_OperationMenuItemContent\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuItems\", function () {\n return (\n /* reexport */\n MenuItems_MenuItems\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SideMenu\", function () {\n return (\n /* reexport */\n SideMenu_SideMenu\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OperationBadge\", function () {\n return (\n /* reexport */\n OperationBadge\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuItemUl\", function () {\n return (\n /* reexport */\n MenuItemUl\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuItemLi\", function () {\n return (\n /* reexport */\n MenuItemLi\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"menuItemDepth\", function () {\n return (\n /* reexport */\n menuItemDepth\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuItemLabel\", function () {\n return (\n /* reexport */\n MenuItemLabel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuItemTitle\", function () {\n return (\n /* reexport */\n MenuItemTitle\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"RedocAttribution\", function () {\n return (\n /* reexport */\n RedocAttribution\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"StickyResponsiveSidebar\", function () {\n return (\n /* reexport */\n StickyResponsiveSidebar_StickyResponsiveSidebar\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SchemaDefinition\", function () {\n return (\n /* reexport */\n SchemaDefinition_SchemaDefinition\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SourceCode\", function () {\n return (\n /* reexport */\n SourceCode_SourceCode\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SourceCodeWithCopy\", function () {\n return (\n /* reexport */\n SourceCode_SourceCodeWithCopy\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MiddlePanel\", function () {\n return (\n /* reexport */\n MiddlePanel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Row\", function () {\n return (\n /* reexport */\n Row\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"RightPanel\", function () {\n return (\n /* reexport */\n RightPanel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Section\", function () {\n return (\n /* reexport */\n Section\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"createStore\", function () {\n return (\n /* reexport */\n createStore\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"AppStore\", function () {\n return (\n /* reexport */\n AppStore_AppStore\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OpenAPIParser\", function () {\n return (\n /* reexport */\n OpenAPIParser_OpenAPIParser\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"LEGACY_REGEXP\", function () {\n return (\n /* reexport */\n LEGACY_REGEXP\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MDX_COMPONENT_REGEXP\", function () {\n return (\n /* reexport */\n MDX_COMPONENT_REGEXP\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"COMPONENT_REGEXP\", function () {\n return (\n /* reexport */\n COMPONENT_REGEXP\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"buildComponentComment\", function () {\n return (\n /* reexport */\n buildComponentComment\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MarkdownRenderer\", function () {\n return (\n /* reexport */\n MarkdownRenderer_MarkdownRenderer\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SECTION_ATTR\", function () {\n return (\n /* reexport */\n SECTION_ATTR\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuStore\", function () {\n return (\n /* reexport */\n MenuStore_MenuStore\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ScrollService\", function () {\n return (\n /* reexport */\n ScrollService_ScrollService\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SpecStore\", function () {\n return (\n /* reexport */\n SpecStore_SpecStore\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ClipboardService\", function () {\n return (\n /* reexport */\n ClipboardService\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"HistoryService\", function () {\n return (\n /* reexport */\n HistoryService_HistoryService\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"history\", function () {\n return (\n /* reexport */\n HistoryService_history\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"GroupModel\", function () {\n return (\n /* reexport */\n Group_model_GroupModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isPayloadSample\", function () {\n return (\n /* reexport */\n isPayloadSample\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"OperationModel\", function () {\n return (\n /* reexport */\n Operation_OperationModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"RequestBodyModel\", function () {\n return (\n /* reexport */\n RequestBody_RequestBodyModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ExampleModel\", function () {\n return (\n /* reexport */\n Example_ExampleModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MediaContentModel\", function () {\n return (\n /* reexport */\n MediaContent_MediaContentModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MediaTypeModel\", function () {\n return (\n /* reexport */\n MediaType_MediaTypeModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ResponseModel\", function () {\n return (\n /* reexport */\n Response_ResponseModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SchemaModel\", function () {\n return (\n /* reexport */\n Schema_SchemaModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"FieldModel\", function () {\n return (\n /* reexport */\n Field_FieldModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ApiInfoModel\", function () {\n return (\n /* reexport */\n ApiInfo_ApiInfoModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SecuritySchemeModel\", function () {\n return (\n /* reexport */\n SecuritySchemes_SecuritySchemeModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SecuritySchemesModel\", function () {\n return (\n /* reexport */\n SecuritySchemesModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"CallbackModel\", function () {\n return (\n /* reexport */\n Callback_CallbackModel\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"RedocNormalizedOptions\", function () {\n return (\n /* reexport */\n RedocNormalizedOptions_RedocNormalizedOptions\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"GROUP_DEPTH\", function () {\n return (\n /* reexport */\n GROUP_DEPTH\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MenuBuilder\", function () {\n return (\n /* reexport */\n MenuBuilder_MenuBuilder\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SearchStore\", function () {\n return (\n /* reexport */\n SearchStore_SearchStore\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"MarkerService\", function () {\n return (\n /* reexport */\n MarkerService_MarkerService\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"JsonPointer\", function () {\n return (\n /* reexport */\n JsonPointer_JsonPointer\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isStatusCode\", function () {\n return (\n /* reexport */\n isStatusCode\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"getStatusCodeType\", function () {\n return (\n /* reexport */\n getStatusCodeType\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isOperationName\", function () {\n return (\n /* reexport */\n isOperationName\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"getOperationSummary\", function () {\n return (\n /* reexport */\n getOperationSummary\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"detectType\", function () {\n return (\n /* reexport */\n detectType\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isPrimitiveType\", function () {\n return (\n /* reexport */\n isPrimitiveType\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isJsonLike\", function () {\n return (\n /* reexport */\n isJsonLike\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isFormUrlEncoded\", function () {\n return (\n /* reexport */\n isFormUrlEncoded\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"urlFormEncodePayload\", function () {\n return (\n /* reexport */\n urlFormEncodePayload\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"serializeParameterValueWithMime\", function () {\n return (\n /* reexport */\n serializeParameterValueWithMime\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"serializeParameterValue\", function () {\n return (\n /* reexport */\n serializeParameterValue\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"langFromMime\", function () {\n return (\n /* reexport */\n langFromMime\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isNamedDefinition\", function () {\n return (\n /* reexport */\n isNamedDefinition\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"humanizeConstraints\", function () {\n return (\n /* reexport */\n humanizeConstraints\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"sortByRequired\", function () {\n return (\n /* reexport */\n sortByRequired\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"sortByField\", function () {\n return (\n /* reexport */\n sortByField\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"mergeParams\", function () {\n return (\n /* reexport */\n mergeParams\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"mergeSimilarMediaTypes\", function () {\n return (\n /* reexport */\n mergeSimilarMediaTypes\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"expandDefaultServerVariables\", function () {\n return (\n /* reexport */\n expandDefaultServerVariables\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"normalizeServers\", function () {\n return (\n /* reexport */\n normalizeServers\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SECURITY_DEFINITIONS_COMPONENT_NAME\", function () {\n return (\n /* reexport */\n SECURITY_DEFINITIONS_COMPONENT_NAME\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SECURITY_DEFINITIONS_JSX_NAME\", function () {\n return (\n /* reexport */\n SECURITY_DEFINITIONS_JSX_NAME\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SCHEMA_DEFINITION_JSX_NAME\", function () {\n return (\n /* reexport */\n SCHEMA_DEFINITION_JSX_NAME\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"SECURITY_SCHEMES_SECTION_PREFIX\", function () {\n return (\n /* reexport */\n SECURITY_SCHEMES_SECTION_PREFIX\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"setSecuritySchemePrefix\", function () {\n return (\n /* reexport */\n setSecuritySchemePrefix\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"shortenHTTPVerb\", function () {\n return (\n /* reexport */\n shortenHTTPVerb\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isRedocExtension\", function () {\n return (\n /* reexport */\n isRedocExtension\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"extractExtensions\", function () {\n return (\n /* reexport */\n extractExtensions\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"pluralizeType\", function () {\n return (\n /* reexport */\n pluralizeType\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"mapWithLast\", function () {\n return (\n /* reexport */\n mapWithLast\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"mapValues\", function () {\n return (\n /* reexport */\n mapValues\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"flattenByProp\", function () {\n return (\n /* reexport */\n flattenByProp\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"stripTrailingSlash\", function () {\n return (\n /* reexport */\n stripTrailingSlash\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isNumeric\", function () {\n return (\n /* reexport */\n isNumeric\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"appendToMdHeading\", function () {\n return (\n /* reexport */\n appendToMdHeading\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"mergeObjects\", function () {\n return (\n /* reexport */\n mergeObjects\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"safeSlugify\", function () {\n return (\n /* reexport */\n safeSlugify\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"isAbsoluteUrl\", function () {\n return (\n /* reexport */\n isAbsoluteUrl\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"resolveUrl\", function () {\n return (\n /* reexport */\n resolveUrl\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"getBasePath\", function () {\n return (\n /* reexport */\n getBasePath\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"titleize\", function () {\n return (\n /* reexport */\n titleize\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"removeQueryString\", function () {\n return (\n /* reexport */\n removeQueryString\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"unescapeHTMLChars\", function () {\n return (\n /* reexport */\n unescapeHTMLChars\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"mapLang\", function () {\n return (\n /* reexport */\n mapLang\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"highlight\", function () {\n return (\n /* reexport */\n _highlight\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"loadAndBundleSpec\", function () {\n return (\n /* reexport */\n loadAndBundleSpec\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"convertSwagger2OpenAPI\", function () {\n return (\n /* reexport */\n convertSwagger2OpenAPI\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"IS_BROWSER\", function () {\n return (\n /* reexport */\n IS_BROWSER\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"querySelector\", function () {\n return (\n /* reexport */\n querySelector\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"html2Str\", function () {\n return (\n /* reexport */\n html2Str\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"Throttle\", function () {\n return (\n /* reexport */\n Throttle\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"debugTime\", function () {\n return (\n /* reexport */\n debugTime\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"debugTimeEnd\", function () {\n return (\n /* reexport */\n debugTimeEnd\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"memoize\", function () {\n return (\n /* reexport */\n memoize\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"media\", function () {\n return (\n /* reexport */\n media\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"css\", function () {\n return (\n /* reexport */\n css\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"createGlobalStyle\", function () {\n return (\n /* reexport */\n createGlobalStyle\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"keyframes\", function () {\n return (\n /* reexport */\n keyframes\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"ThemeProvider\", function () {\n return (\n /* reexport */\n ThemeProvider\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"extensionsHook\", function () {\n return (\n /* reexport */\n extensionsHook\n );\n });\n\n __webpack_require__.d(__webpack_exports__, \"styled\", function () {\n return (\n /* reexport */\n styled_components\n );\n }); // EXTERNAL MODULE: external \"tslib\"\n\n\n var external_tslib_ = __webpack_require__(1); // EXTERNAL MODULE: external \"prop-types\"\n\n\n var external_prop_types_ = __webpack_require__(14); // EXTERNAL MODULE: external \"react\"\n\n\n var external_react_ = __webpack_require__(0); // EXTERNAL MODULE: external \"polished\"\n\n\n var external_polished_ = __webpack_require__(3); // CONCATENATED MODULE: ./src/theme.ts\n\n\n var defaultTheme = {\n spacing: {\n unit: 5,\n sectionHorizontal: function sectionHorizontal(_a) {\n var spacing = _a.spacing;\n return spacing.unit * 8;\n },\n sectionVertical: function sectionVertical(_a) {\n var spacing = _a.spacing;\n return spacing.unit * 8;\n }\n },\n breakpoints: {\n small: '50rem',\n medium: '85rem',\n large: '105rem'\n },\n colors: {\n tonalOffset: 0.3,\n primary: {\n main: '#32329f',\n light: function light(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"lighten\"])(colors.tonalOffset, colors.primary.main);\n },\n dark: function dark(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"darken\"])(colors.tonalOffset, colors.primary.main);\n },\n contrastText: function contrastText(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"readableColor\"])(colors.primary.main);\n }\n },\n success: {\n main: '#37d247',\n light: function light(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"lighten\"])(colors.tonalOffset * 2, colors.success.main);\n },\n dark: function dark(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"darken\"])(colors.tonalOffset, colors.success.main);\n },\n contrastText: function contrastText(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"readableColor\"])(colors.success.main);\n }\n },\n warning: {\n main: '#ffa500',\n light: function light(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"lighten\"])(colors.tonalOffset, colors.warning.main);\n },\n dark: function dark(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"darken\"])(colors.tonalOffset, colors.warning.main);\n },\n contrastText: '#ffffff'\n },\n error: {\n main: '#e53935',\n light: function light(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"lighten\"])(colors.tonalOffset, colors.error.main);\n },\n dark: function dark(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"darken\"])(colors.tonalOffset, colors.error.main);\n },\n contrastText: function contrastText(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"readableColor\"])(colors.error.main);\n }\n },\n gray: {\n 50: '#FAFAFA',\n 100: '#F5F5F5'\n },\n text: {\n primary: '#333333',\n secondary: function secondary(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"lighten\"])(colors.tonalOffset, colors.text.primary);\n }\n },\n border: {\n dark: 'rgba(0,0,0, 0.1)',\n light: '#ffffff'\n },\n responses: {\n success: {\n color: function color(_a) {\n var colors = _a.colors;\n return colors.success.main;\n },\n backgroundColor: function backgroundColor(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"transparentize\"])(0.9, colors.success.main);\n }\n },\n error: {\n color: function color(_a) {\n var colors = _a.colors;\n return colors.error.main;\n },\n backgroundColor: function backgroundColor(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"transparentize\"])(0.9, colors.error.main);\n }\n },\n redirect: {\n color: function color(_a) {\n var colors = _a.colors;\n return colors.warning.main;\n },\n backgroundColor: function backgroundColor(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"transparentize\"])(0.9, colors.responses.redirect.color);\n }\n },\n info: {\n color: '#87ceeb',\n backgroundColor: function backgroundColor(_a) {\n var colors = _a.colors;\n return Object(external_polished_[\"transparentize\"])(0.9, colors.responses.info.color);\n }\n }\n },\n http: {\n get: '#6bbd5b',\n post: '#248fb2',\n put: '#9b708b',\n options: '#d3ca12',\n patch: '#e09d43',\n delete: '#e27a7a',\n basic: '#999',\n link: '#31bbb6',\n head: '#c167e4'\n }\n },\n schema: {\n linesColor: function linesColor(theme) {\n return Object(external_polished_[\"lighten\"])(theme.colors.tonalOffset, Object(external_polished_[\"desaturate\"])(theme.colors.tonalOffset, theme.colors.primary.main));\n },\n defaultDetailsWidth: '75%',\n typeNameColor: function typeNameColor(theme) {\n return theme.colors.text.secondary;\n },\n typeTitleColor: function typeTitleColor(theme) {\n return theme.schema.typeNameColor;\n },\n requireLabelColor: function requireLabelColor(theme) {\n return theme.colors.error.main;\n },\n labelsTextSize: '0.9em',\n nestingSpacing: '1em',\n nestedBackground: '#fafafa',\n arrow: {\n size: '1.1em',\n color: function color(theme) {\n return theme.colors.text.secondary;\n }\n }\n },\n typography: {\n fontSize: '14px',\n lineHeight: '1.5em',\n fontWeightRegular: '400',\n fontWeightBold: '600',\n fontWeightLight: '300',\n fontFamily: 'Roboto, sans-serif',\n smoothing: 'antialiased',\n optimizeSpeed: true,\n headings: {\n fontFamily: 'Montserrat, sans-serif',\n fontWeight: '400',\n lineHeight: '1.6em'\n },\n code: {\n fontSize: '13px',\n fontFamily: 'Courier, monospace',\n lineHeight: function lineHeight(_a) {\n var typography = _a.typography;\n return typography.lineHeight;\n },\n fontWeight: function fontWeight(_a) {\n var typography = _a.typography;\n return typography.fontWeightRegular;\n },\n color: '#e53935',\n backgroundColor: 'rgba(38, 50, 56, 0.05)',\n wrap: false\n },\n links: {\n color: function color(_a) {\n var colors = _a.colors;\n return colors.primary.main;\n },\n visited: function visited(_a) {\n var typography = _a.typography;\n return typography.links.color;\n },\n hover: function hover(_a) {\n var typography = _a.typography;\n return Object(external_polished_[\"lighten\"])(0.2, typography.links.color);\n }\n }\n },\n sidebar: {\n width: '260px',\n backgroundColor: '#fafafa',\n textColor: '#333333',\n activeTextColor: function activeTextColor(theme) {\n return theme.sidebar.textColor !== defaultTheme.sidebar.textColor ? theme.sidebar.textColor : theme.colors.primary.main;\n },\n groupItems: {\n textTransform: 'uppercase'\n },\n level1Items: {\n textTransform: 'none'\n },\n arrow: {\n size: '1.5em',\n color: function color(theme) {\n return theme.sidebar.textColor;\n }\n }\n },\n logo: {\n maxHeight: function maxHeight(_a) {\n var menu = _a.sidebar;\n return menu.width;\n },\n maxWidth: function maxWidth(_a) {\n var menu = _a.sidebar;\n return menu.width;\n },\n gutter: '2px'\n },\n rightPanel: {\n backgroundColor: '#263238',\n width: '40%',\n textColor: '#ffffff'\n },\n codeBlock: {\n backgroundColor: function backgroundColor(_a) {\n var rightPanel = _a.rightPanel;\n return Object(external_polished_[\"darken\"])(0.1, rightPanel.backgroundColor);\n }\n }\n };\n /* harmony default export */\n\n var src_theme = defaultTheme;\n\n function resolveTheme(theme) {\n var resolvedValues = {};\n var counter = 0;\n\n var setProxy = function setProxy(obj, path) {\n Object.keys(obj).forEach(function (k) {\n var currentPath = (path ? path + '.' : '') + k;\n var val = obj[k];\n\n if (typeof val === 'function') {\n Object.defineProperty(obj, k, {\n get: function get() {\n if (!resolvedValues[currentPath]) {\n counter++;\n\n if (counter > 1000) {\n throw new Error(\"Theme probably contains circular dependency at \" + currentPath + \": \" + val.toString());\n }\n\n resolvedValues[currentPath] = val(theme);\n }\n\n return resolvedValues[currentPath];\n },\n enumerable: true\n });\n } else if (typeof val === 'object') {\n setProxy(val, currentPath);\n }\n });\n };\n\n setProxy(theme, '');\n return JSON.parse(JSON.stringify(theme));\n } // CONCATENATED MODULE: ./src/utils/dom.ts\n\n\n var IS_BROWSER = typeof window !== 'undefined' && 'HTMLElement' in window;\n\n function querySelector(selector) {\n if (typeof document !== 'undefined') {\n return document.querySelector(selector);\n }\n\n return null;\n }\n /**\n * Drop everything inside <...> (i.e., tags/elements), and keep the text.\n * Unlike browser innerText, this removes newlines; it also doesn't handle\n * un-encoded `<` or `>` characters very well, so don't feed it malformed HTML\n */\n\n\n function html2Str(html) {\n return html.split(/<[^>]+>/).map(function (chunk) {\n return chunk.trim();\n }).filter(function (trimmedChunk) {\n return trimmedChunk.length > 0;\n }).join(' ');\n } // scrollIntoViewIfNeeded polyfill\n\n\n if (typeof Element !== 'undefined' && !Element.prototype.scrollIntoViewIfNeeded) {\n Element.prototype.scrollIntoViewIfNeeded = function (centerIfNeeded) {\n centerIfNeeded = arguments.length === 0 ? true : !!centerIfNeeded;\n var parent = this.parentNode;\n var parentComputedStyle = window.getComputedStyle(parent, undefined);\n var parentBorderTopWidth = parseInt(parentComputedStyle.getPropertyValue('border-top-width'), 10);\n var parentBorderLeftWidth = parseInt(parentComputedStyle.getPropertyValue('border-left-width'), 10);\n var overTop = this.offsetTop - parent.offsetTop < parent.scrollTop;\n var overBottom = this.offsetTop - parent.offsetTop + this.clientHeight - parentBorderTopWidth > parent.scrollTop + parent.clientHeight;\n var overLeft = this.offsetLeft - parent.offsetLeft < parent.scrollLeft;\n var overRight = this.offsetLeft - parent.offsetLeft + this.clientWidth - parentBorderLeftWidth > parent.scrollLeft + parent.clientWidth;\n var alignWithTop = overTop && !overBottom;\n\n if ((overTop || overBottom) && centerIfNeeded) {\n parent.scrollTop = this.offsetTop - parent.offsetTop - parent.clientHeight / 2 - parentBorderTopWidth + this.clientHeight / 2;\n }\n\n if ((overLeft || overRight) && centerIfNeeded) {\n parent.scrollLeft = this.offsetLeft - parent.offsetLeft - parent.clientWidth / 2 - parentBorderLeftWidth + this.clientWidth / 2;\n }\n\n if ((overTop || overBottom || overLeft || overRight) && !centerIfNeeded) {\n this.scrollIntoView(alignWithTop);\n }\n };\n } // EXTERNAL MODULE: external \"slugify\"\n\n\n var external_slugify_ = __webpack_require__(35);\n\n var external_slugify_default = /*#__PURE__*/__webpack_require__.n(external_slugify_); // EXTERNAL MODULE: external \"url\"\n\n\n var external_url_ = __webpack_require__(5); // CONCATENATED MODULE: ./src/utils/helpers.ts\n\n /**\n * Maps over array passing `isLast` bool to iterator as the second argument\n */\n\n\n function mapWithLast(array, iteratee) {\n var res = [];\n\n for (var i = 0; i < array.length - 1; i++) {\n res.push(iteratee(array[i], false));\n }\n\n if (array.length !== 0) {\n res.push(iteratee(array[array.length - 1], true));\n }\n\n return res;\n }\n /**\n * Creates an object with the same keys as object and values generated by running each\n * own enumerable string keyed property of object thru iteratee.\n * The iteratee is invoked with three arguments: (value, key, object).\n *\n * @param object the object to iterate over\n * @param iteratee the function invoked per iteration.\n */\n\n\n function mapValues(object, iteratee) {\n var res = {};\n\n for (var key in object) {\n if (object.hasOwnProperty(key)) {\n res[key] = iteratee(object[key], key, object);\n }\n }\n\n return res;\n }\n /**\n * flattens collection using `prop` field as a children\n * @param collectionItems collection items\n * @param prop item property with child elements\n */\n\n\n function flattenByProp(collectionItems, prop) {\n var res = [];\n\n var iterate = function iterate(items) {\n for (var _i = 0, items_1 = items; _i < items_1.length; _i++) {\n var item = items_1[_i];\n res.push(item);\n\n if (item[prop]) {\n iterate(item[prop]);\n }\n }\n };\n\n iterate(collectionItems);\n return res;\n }\n\n function stripTrailingSlash(path) {\n if (path.endsWith('/')) {\n return path.substring(0, path.length - 1);\n }\n\n return path;\n }\n\n function isNumeric(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n }\n\n function appendToMdHeading(md, heading, content) {\n // if heading is already in md and append to the end of it\n var testRegex = new RegExp(\"(^|\\\\n)#\\\\s?\" + heading + \"\\\\s*\\\\n\", 'i');\n var replaceRegex = new RegExp(\"((\\\\n|^)#\\\\s*\" + heading + \"\\\\s*(\\\\n|$)(?:.|\\\\n)*?)(\\\\n#|$)\", 'i');\n\n if (testRegex.test(md)) {\n return md.replace(replaceRegex, \"$1\\n\\n\" + content + \"\\n$4\");\n } else {\n // else append heading itself\n var br = md === '' || md.endsWith('\\n\\n') ? '' : md.endsWith('\\n') ? '\\n' : '\\n\\n';\n return \"\" + md + br + \"# \" + heading + \"\\n\\n\" + content;\n }\n } // credits https://stackoverflow.com/a/46973278/1749888\n\n\n var mergeObjects = function mergeObjects(target) {\n var sources = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n sources[_i - 1] = arguments[_i];\n }\n\n if (!sources.length) {\n return target;\n }\n\n var source = sources.shift();\n\n if (source === undefined) {\n return target;\n }\n\n if (isMergebleObject(target) && isMergebleObject(source)) {\n Object.keys(source).forEach(function (key) {\n if (isMergebleObject(source[key])) {\n if (!target[key]) {\n target[key] = {};\n }\n\n mergeObjects(target[key], source[key]);\n } else {\n target[key] = source[key];\n }\n });\n }\n\n return mergeObjects.apply(void 0, Object(external_tslib_[\"__spreadArrays\"])([target], sources));\n };\n\n var isObject = function isObject(item) {\n return item !== null && typeof item === 'object';\n };\n\n var isMergebleObject = function isMergebleObject(item) {\n return isObject(item) && !Array.isArray(item);\n };\n /**\n * slugify() returns empty string when failed to slugify.\n * so try to return minimum slugified-string with failed one which keeps original value\n * the regex codes are referenced with https://gist.github.com/mathewbyrne/1280286\n */\n\n\n function safeSlugify(value) {\n return external_slugify_default()(value) || value.toString().toLowerCase().replace(/\\s+/g, '-') // Replace spaces with -\n .replace(/&/g, '-and-') // Replace & with 'and'\n .replace(/\\--+/g, '-') // Replace multiple - with single -\n .replace(/^-+/, '') // Trim - from start of text\n .replace(/-+$/, ''); // Trim - from end of text\n }\n\n function isAbsoluteUrl(url) {\n return /(?:^[a-z][a-z0-9+.-]*:|\\/\\/)/i.test(url);\n }\n /**\n * simple resolve URL which doesn't break on strings with url fragments\n * e.g. resolveUrl('http://test.com:{port}', 'path') results in http://test.com:{port}/path\n */\n\n\n function resolveUrl(url, to) {\n var res;\n\n if (to.startsWith('//')) {\n var specProtocol = Object(external_url_[\"parse\"])(url).protocol;\n res = \"\" + (specProtocol || 'https:') + to;\n } else if (isAbsoluteUrl(to)) {\n res = to;\n } else if (!to.startsWith('/')) {\n res = stripTrailingSlash(url) + '/' + to;\n } else {\n var urlObj = Object(external_url_[\"parse\"])(url);\n res = Object(external_url_[\"format\"])(Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, urlObj), {\n pathname: to\n }));\n }\n\n return stripTrailingSlash(res);\n }\n\n function getBasePath(serverUrl) {\n try {\n return parseURL(serverUrl).pathname;\n } catch (e) {\n // when using with redoc-cli serverUrl can be empty resulting in crash\n return serverUrl;\n }\n }\n\n function titleize(text) {\n return text.charAt(0).toUpperCase() + text.slice(1);\n }\n\n function removeQueryString(serverUrl) {\n try {\n var url = parseURL(serverUrl);\n url.search = '';\n return url.toString();\n } catch (e) {\n // when using with redoc-cli serverUrl can be empty resulting in crash\n return serverUrl;\n }\n }\n\n function parseURL(url) {\n if (typeof URL === 'undefined') {\n // node\n return new (__webpack_require__(5).URL)(url);\n } else {\n return new URL(url);\n }\n }\n\n function unescapeHTMLChars(str) {\n return str.replace(/&#(\\d+);/g, function (_m, code) {\n return String.fromCharCode(parseInt(code, 10));\n }).replace(/&/g, '&');\n } // CONCATENATED MODULE: ./src/services/Labels.ts\n\n\n var labels = {\n enum: 'Enum',\n enumSingleValue: 'Value',\n enumArray: 'Items',\n default: 'Default',\n deprecated: 'Deprecated',\n example: 'Example',\n nullable: 'Nullable',\n recursive: 'Recursive',\n arrayOf: 'Array of '\n };\n\n function setRedocLabels(_labels) {\n Object.assign(labels, _labels);\n }\n\n function l(key, idx) {\n var label = labels[key];\n\n if (idx !== undefined) {\n return label[idx];\n }\n\n return label;\n } // CONCATENATED MODULE: ./src/services/RedocNormalizedOptions.ts\n\n\n function argValueToBoolean(val, defaultValue) {\n if (val === undefined) {\n return defaultValue || false;\n }\n\n if (typeof val === 'string') {\n return val === 'false' ? false : true;\n }\n\n return val;\n }\n\n var RedocNormalizedOptions_RedocNormalizedOptions =\n /** @class */\n function () {\n function RedocNormalizedOptions(raw, defaults) {\n if (defaults === void 0) {\n defaults = {};\n }\n\n var _a, _b, _c, _d;\n\n raw = Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, defaults), raw);\n var hook = raw.theme && raw.theme.extensionsHook; // migrate from old theme\n\n if (((_a = raw.theme) === null || _a === void 0 ? void 0 : _a.menu) && !((_b = raw.theme) === null || _b === void 0 ? void 0 : _b.sidebar)) {\n console.warn('Theme setting \"menu\" is deprecated. Rename to \"sidebar\"');\n raw.theme.sidebar = raw.theme.menu;\n }\n\n if (((_c = raw.theme) === null || _c === void 0 ? void 0 : _c.codeSample) && !((_d = raw.theme) === null || _d === void 0 ? void 0 : _d.codeBlock)) {\n console.warn('Theme setting \"codeSample\" is deprecated. Rename to \"codeBlock\"');\n raw.theme.codeBlock = raw.theme.codeSample;\n }\n\n this.theme = resolveTheme(mergeObjects({}, src_theme, Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, raw.theme), {\n extensionsHook: undefined\n })));\n this.theme.extensionsHook = hook; // do not support dynamic labels changes. Labels should be configured before\n\n setRedocLabels(raw.labels);\n this.scrollYOffset = RedocNormalizedOptions.normalizeScrollYOffset(raw.scrollYOffset);\n this.hideHostname = RedocNormalizedOptions.normalizeHideHostname(raw.hideHostname);\n this.expandResponses = RedocNormalizedOptions.normalizeExpandResponses(raw.expandResponses);\n this.requiredPropsFirst = argValueToBoolean(raw.requiredPropsFirst);\n this.sortPropsAlphabetically = argValueToBoolean(raw.sortPropsAlphabetically);\n this.noAutoAuth = argValueToBoolean(raw.noAutoAuth);\n this.nativeScrollbars = argValueToBoolean(raw.nativeScrollbars);\n this.pathInMiddlePanel = argValueToBoolean(raw.pathInMiddlePanel);\n this.untrustedSpec = argValueToBoolean(raw.untrustedSpec);\n this.hideDownloadButton = argValueToBoolean(raw.hideDownloadButton);\n this.disableSearch = argValueToBoolean(raw.disableSearch);\n this.onlyRequiredInSamples = argValueToBoolean(raw.onlyRequiredInSamples);\n this.showExtensions = RedocNormalizedOptions.normalizeShowExtensions(raw.showExtensions);\n this.hideSingleRequestSampleTab = argValueToBoolean(raw.hideSingleRequestSampleTab);\n this.menuToggle = argValueToBoolean(raw.menuToggle, true);\n this.jsonSampleExpandLevel = RedocNormalizedOptions.normalizeJsonSampleExpandLevel(raw.jsonSampleExpandLevel);\n this.enumSkipQuotes = argValueToBoolean(raw.enumSkipQuotes);\n this.hideSchemaTitles = argValueToBoolean(raw.hideSchemaTitles);\n this.payloadSampleIdx = RedocNormalizedOptions.normalizePayloadSampleIdx(raw.payloadSampleIdx);\n this.expandSingleSchemaField = argValueToBoolean(raw.expandSingleSchemaField); // eslint-disable-next-line @typescript-eslint/camelcase\n\n this.unstable_ignoreMimeParameters = argValueToBoolean(raw.unstable_ignoreMimeParameters);\n this.allowedMdComponents = raw.allowedMdComponents || {};\n this.expandDefaultServerVariables = argValueToBoolean(raw.expandDefaultServerVariables);\n }\n\n RedocNormalizedOptions.normalizeExpandResponses = function (value) {\n if (value === 'all') {\n return 'all';\n }\n\n if (typeof value === 'string') {\n var res_1 = {};\n value.split(',').forEach(function (code) {\n res_1[code.trim()] = true;\n });\n return res_1;\n } else if (value !== undefined) {\n console.warn(\"expandResponses must be a string but received value \\\"\" + value + \"\\\" of type \" + typeof value);\n }\n\n return {};\n };\n\n RedocNormalizedOptions.normalizeHideHostname = function (value) {\n return !!value;\n };\n\n RedocNormalizedOptions.normalizeScrollYOffset = function (value) {\n // just number is not valid selector and leads to crash so checking if isNumeric here\n if (typeof value === 'string' && !isNumeric(value)) {\n var el = querySelector(value);\n\n if (!el) {\n console.warn('scrollYOffset value is a selector to non-existing element. Using offset 0 by default');\n }\n\n var bottom_1 = el && el.getBoundingClientRect().bottom || 0;\n return function () {\n return bottom_1;\n };\n } else if (typeof value === 'number' || isNumeric(value)) {\n return function () {\n return typeof value === 'number' ? value : parseFloat(value);\n };\n } else if (typeof value === 'function') {\n return function () {\n var res = value();\n\n if (typeof res !== 'number') {\n console.warn(\"scrollYOffset should return number but returned value \\\"\" + res + \"\\\" of type \" + typeof res);\n }\n\n return res;\n };\n } else if (value !== undefined) {\n console.warn('Wrong value for scrollYOffset ReDoc option: should be string, number or function');\n }\n\n return function () {\n return 0;\n };\n };\n\n RedocNormalizedOptions.normalizeShowExtensions = function (value) {\n if (typeof value === 'undefined') {\n return false;\n }\n\n if (value === '') {\n return true;\n }\n\n if (typeof value !== 'string') {\n return value;\n }\n\n switch (value) {\n case 'true':\n return true;\n\n case 'false':\n return false;\n\n default:\n return value.split(',').map(function (ext) {\n return ext.trim();\n });\n }\n };\n\n RedocNormalizedOptions.normalizePayloadSampleIdx = function (value) {\n if (typeof value === 'number') {\n return Math.max(0, value); // always greater or equal than 0\n }\n\n if (typeof value === 'string') {\n return isFinite(value) ? parseInt(value, 10) : 0;\n }\n\n return 0;\n };\n\n RedocNormalizedOptions.normalizeJsonSampleExpandLevel = function (level) {\n if (level === 'all') {\n return +Infinity;\n }\n\n if (!isNaN(Number(level))) {\n return Math.ceil(Number(level));\n }\n\n return 2;\n };\n\n return RedocNormalizedOptions;\n }(); // EXTERNAL MODULE: external \"styled-components\"\n\n\n var external_styled_components_ = __webpack_require__(36); // CONCATENATED MODULE: ./src/styled-components.ts\n\n\n var styled_components_a = external_styled_components_,\n styled = styled_components_a.default,\n css = styled_components_a.css,\n createGlobalStyle = styled_components_a.createGlobalStyle,\n keyframes = styled_components_a.keyframes,\n ThemeProvider = styled_components_a.ThemeProvider;\n var media = {\n lessThan: function lessThan(breakpoint, print) {\n return function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n return css(templateObject_1 || (templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n @media \", \" screen and (max-width: \", \") {\\n \", \";\\n }\\n \"], [\"\\n @media \", \" screen and (max-width: \", \") {\\n \", \";\\n }\\n \"])), print ? 'print, ' : '', function (props) {\n return props.theme.breakpoints[breakpoint];\n }, css.apply(void 0, args));\n };\n },\n greaterThan: function greaterThan(breakpoint) {\n return function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n return css(templateObject_2 || (templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n @media (min-width: \", \") {\\n \", \";\\n }\\n \"], [\"\\n @media (min-width: \", \") {\\n \", \";\\n }\\n \"])), function (props) {\n return props.theme.breakpoints[breakpoint];\n }, css.apply(void 0, args));\n };\n },\n between: function between(firstBreakpoint, secondBreakpoint) {\n return function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n return css(templateObject_3 || (templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n @media (min-width: \", \") and (max-width: \", \") {\\n \", \";\\n }\\n \"], [\"\\n @media (min-width: \", \") and (max-width: \", \") {\\n \", \";\\n }\\n \"])), function (props) {\n return props.theme.breakpoints[firstBreakpoint];\n }, function (props) {\n return props.theme.breakpoints[secondBreakpoint];\n }, css.apply(void 0, args));\n };\n }\n };\n /* harmony default export */\n\n var styled_components = styled;\n\n function extensionsHook(styledName) {\n return function (props) {\n if (!props.theme.extensionsHook) {\n return;\n }\n\n return props.theme.extensionsHook(styledName, props);\n };\n }\n\n var templateObject_1, templateObject_2, templateObject_3; // CONCATENATED MODULE: ./src/components/ErrorBoundary.tsx\n\n var ErrorWrapper = styled_components.div(ErrorBoundary_templateObject_1 || (ErrorBoundary_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 20px;\\n color: red;\\n\"], [\"\\n padding: 20px;\\n color: red;\\n\"])));\n\n var ErrorBoundary_ErrorBoundary =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ErrorBoundary, _super);\n\n function ErrorBoundary(props) {\n var _this = _super.call(this, props) || this;\n\n _this.state = {\n error: undefined\n };\n return _this;\n }\n\n ErrorBoundary.prototype.componentDidCatch = function (error) {\n this.setState({\n error: error\n });\n return false;\n };\n\n ErrorBoundary.prototype.render = function () {\n if (this.state.error) {\n return external_react_[\"createElement\"](ErrorWrapper, null, external_react_[\"createElement\"](\"h1\", null, \"Something went wrong...\"), external_react_[\"createElement\"](\"small\", null, \" \", this.state.error.message, \" \"), external_react_[\"createElement\"](\"p\", null, external_react_[\"createElement\"](\"details\", null, external_react_[\"createElement\"](\"summary\", null, \"Stack trace\"), external_react_[\"createElement\"](\"pre\", null, this.state.error.stack))), external_react_[\"createElement\"](\"small\", null, \" ReDoc Version: \", \"2.0.0-rc.29\"), \" \", external_react_[\"createElement\"](\"br\", null), external_react_[\"createElement\"](\"small\", null, \" Commit: \", \"2c6e3b6\"));\n }\n\n return external_react_[\"Children\"].only(this.props.children);\n };\n\n return ErrorBoundary;\n }(external_react_[\"Component\"]);\n\n var ErrorBoundary_templateObject_1; // CONCATENATED MODULE: ./src/components/Loading/Spinner.svg.tsx\n\n var _Spinner = function _Spinner(props) {\n return external_react_[\"createElement\"](\"svg\", {\n className: props.className,\n version: \"1.1\",\n width: \"512\",\n height: \"512\",\n viewBox: \"0 0 512 512\"\n }, external_react_[\"createElement\"](\"path\", {\n d: \"M275.682 147.999c0 10.864-8.837 19.661-19.682 19.661v0c-10.875 0-19.681-8.796-19.681-19.661v-96.635c0-10.885 8.806-19.661 19.681-19.661v0c10.844 0 19.682 8.776 19.682 19.661v96.635z\"\n }), external_react_[\"createElement\"](\"path\", {\n d: \"M275.682 460.615c0 10.865-8.837 19.682-19.682 19.682v0c-10.875 0-19.681-8.817-19.681-19.682v-96.604c0-10.885 8.806-19.681 19.681-19.681v0c10.844 0 19.682 8.796 19.682 19.682v96.604z\"\n }), external_react_[\"createElement\"](\"path\", {\n d: \"M147.978 236.339c10.885 0 19.681 8.755 19.681 19.641v0c0 10.885-8.796 19.702-19.681 19.702h-96.624c-10.864 0-19.661-8.817-19.661-19.702v0c0-10.885 8.796-19.641 19.661-19.641h96.624z\"\n }), external_react_[\"createElement\"](\"path\", {\n d: \"M460.615 236.339c10.865 0 19.682 8.755 19.682 19.641v0c0 10.885-8.817 19.702-19.682 19.702h-96.584c-10.885 0-19.722-8.817-19.722-19.702v0c0-10.885 8.837-19.641 19.722-19.641h96.584z\"\n }), external_react_[\"createElement\"](\"path\", {\n d: \"M193.546 165.703c7.69 7.66 7.68 20.142 0 27.822v0c-7.701 7.701-20.162 7.701-27.853 0.020l-68.311-68.322c-7.68-7.701-7.68-20.142 0-27.863v0c7.68-7.68 20.121-7.68 27.822 0l68.342 68.342z\"\n }), external_react_[\"createElement\"](\"path\", {\n d: \"M414.597 386.775c7.7 7.68 7.7 20.163 0.021 27.863v0c-7.7 7.659-20.142 7.659-27.843-0.062l-68.311-68.26c-7.68-7.7-7.68-20.204 0-27.863v0c7.68-7.7 20.163-7.7 27.842 0l68.291 68.322z\"\n }), external_react_[\"createElement\"](\"path\", {\n d: \"M165.694 318.464c7.69-7.7 20.153-7.7 27.853 0v0c7.68 7.659 7.69 20.163 0 27.863l-68.342 68.322c-7.67 7.659-20.142 7.659-27.822-0.062v0c-7.68-7.68-7.68-20.122 0-27.801l68.311-68.322z\"\n }), external_react_[\"createElement\"](\"path\", {\n d: \"M386.775 97.362c7.7-7.68 20.142-7.68 27.822 0v0c7.7 7.68 7.7 20.183 0.021 27.863l-68.322 68.311c-7.68 7.68-20.163 7.68-27.843-0.020v0c-7.68-7.68-7.68-20.162 0-27.822l68.322-68.332z\"\n }));\n };\n\n var rotate = keyframes(Spinner_svg_templateObject_1 || (Spinner_svg_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n 0% {\\n transform: rotate(0deg); }\\n 100% {\\n transform: rotate(360deg);\\n }\\n\"], [\"\\n 0% {\\n transform: rotate(0deg); }\\n 100% {\\n transform: rotate(360deg);\\n }\\n\"])));\n var Spinner = styled_components(_Spinner)(Spinner_svg_templateObject_2 || (Spinner_svg_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n animation: 2s \", \" linear infinite;\\n width: 50px;\\n height: 50px;\\n content: '';\\n display: inline-block;\\n margin-left: -25px;\\n\\n path {\\n fill: \", \";\\n }\\n\"], [\"\\n animation: 2s \", \" linear infinite;\\n width: 50px;\\n height: 50px;\\n content: '';\\n display: inline-block;\\n margin-left: -25px;\\n\\n path {\\n fill: \", \";\\n }\\n\"])), rotate, function (props) {\n return props.color;\n });\n var Spinner_svg_templateObject_1, Spinner_svg_templateObject_2; // CONCATENATED MODULE: ./src/components/Loading/Loading.tsx\n\n var LoadingMessage = styled_components.div(Loading_templateObject_1 || (Loading_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-family: helvetica, sans;\\n width: 100%;\\n text-align: center;\\n font-size: 25px;\\n margin: 30px 0 20px 0;\\n color: \", \";\\n\"], [\"\\n font-family: helvetica, sans;\\n width: 100%;\\n text-align: center;\\n font-size: 25px;\\n margin: 30px 0 20px 0;\\n color: \", \";\\n\"])), function (props) {\n return props.color;\n });\n\n var Loading_Loading =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Loading, _super);\n\n function Loading() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Loading.prototype.render = function () {\n return external_react_[\"createElement\"](\"div\", {\n style: {\n textAlign: 'center'\n }\n }, external_react_[\"createElement\"](LoadingMessage, {\n color: this.props.color\n }, \"Loading ...\"), external_react_[\"createElement\"](Spinner, {\n color: this.props.color\n }));\n };\n\n return Loading;\n }(external_react_[\"PureComponent\"]);\n\n var Loading_templateObject_1; // CONCATENATED MODULE: ./src/components/OptionsProvider.ts\n\n var OptionsContext = external_react_[\"createContext\"](new RedocNormalizedOptions_RedocNormalizedOptions({}));\n var OptionsProvider = OptionsContext.Provider;\n var OptionsConsumer = OptionsContext.Consumer; // EXTERNAL MODULE: external \"mobx\"\n\n var external_mobx_ = __webpack_require__(4); // EXTERNAL MODULE: external \"json-schema-ref-parser\"\n\n\n var external_json_schema_ref_parser_ = __webpack_require__(37); // EXTERNAL MODULE: ./node_modules/swagger2openapi/index.js\n\n\n var swagger2openapi = __webpack_require__(38); // CONCATENATED MODULE: ./src/utils/loadAndBundleSpec.ts\n\n /* tslint:disable-next-line:no-implicit-dependencies */\n\n\n function loadAndBundleSpec(specUrlOrObject) {\n return Object(external_tslib_[\"__awaiter\"])(this, void 0, void 0, function () {\n var parser, spec;\n return Object(external_tslib_[\"__generator\"])(this, function (_a) {\n switch (_a.label) {\n case 0:\n parser = new external_json_schema_ref_parser_();\n return [4\n /*yield*/\n , parser.bundle(specUrlOrObject, {\n resolve: {\n http: {\n withCredentials: false\n }\n }\n })];\n\n case 1:\n spec = _a.sent();\n\n if (spec.swagger !== undefined) {\n return [2\n /*return*/\n , convertSwagger2OpenAPI(spec)];\n } else {\n return [2\n /*return*/\n , spec];\n }\n\n return [2\n /*return*/\n ];\n }\n });\n });\n }\n\n function convertSwagger2OpenAPI(spec) {\n console.warn('[ReDoc Compatibility mode]: Converting OpenAPI 2.0 to OpenAPI 3.0');\n return new Promise(function (resolve, reject) {\n return Object(swagger2openapi[\"convertObj\"])(spec, {\n patch: true,\n warnOnly: true,\n text: '{}'\n }, function (err, res) {\n // TODO: log any warnings\n if (err) {\n return reject(err);\n }\n\n resolve(res && res.openapi);\n });\n });\n } // EXTERNAL MODULE: external \"decko\"\n\n\n var external_decko_ = __webpack_require__(8); // EXTERNAL MODULE: external \"eventemitter3\"\n\n\n var external_eventemitter3_ = __webpack_require__(19); // EXTERNAL MODULE: external \"json-pointer\"\n\n\n var external_json_pointer_ = __webpack_require__(6); // CONCATENATED MODULE: ./src/utils/JsonPointer.ts\n\n\n var origParse = external_json_pointer_[\"parse\"];\n /**\n * Wrapper for JsonPointer. Provides common operations\n */\n\n var JsonPointer_JsonPointer =\n /** @class */\n function () {\n function JsonPointer() {}\n /**\n * returns last JsonPointer token\n * if level > 1 returns levels last (second last/third last)\n * @example\n * // returns subpath\n * JsonPointerHelper.baseName('/path/0/subpath')\n * // returns foo\n * JsonPointerHelper.baseName('/path/foo/subpath', 2)\n */\n\n\n JsonPointer.baseName = function (pointer, level) {\n if (level === void 0) {\n level = 1;\n }\n\n var tokens = JsonPointer.parse(pointer);\n return tokens[tokens.length - level];\n };\n /**\n * returns dirname of pointer\n * if level > 1 returns corresponding dirname in the hierarchy\n * @example\n * // returns /path/0\n * JsonPointerHelper.dirName('/path/0/subpath')\n * // returns /path\n * JsonPointerHelper.dirName('/path/foo/subpath', 2)\n */\n\n\n JsonPointer.dirName = function (pointer, level) {\n if (level === void 0) {\n level = 1;\n }\n\n var tokens = JsonPointer.parse(pointer);\n return external_json_pointer_[\"compile\"](tokens.slice(0, tokens.length - level));\n };\n /**\n * returns relative path tokens\n * @example\n * // returns ['subpath']\n * JsonPointerHelper.relative('/path/0', '/path/0/subpath')\n * // returns ['foo', 'subpath']\n * JsonPointerHelper.relative('/path', '/path/foo/subpath')\n */\n\n\n JsonPointer.relative = function (from, to) {\n var fromTokens = JsonPointer.parse(from);\n var toTokens = JsonPointer.parse(to);\n return toTokens.slice(fromTokens.length);\n };\n /**\n * overridden JsonPointer original parse to take care of prefixing '#' symbol\n * that is not valid JsonPointer\n */\n\n\n JsonPointer.parse = function (pointer) {\n var ptr = pointer;\n\n if (ptr.charAt(0) === '#') {\n ptr = ptr.substring(1);\n }\n\n return origParse(ptr);\n };\n /**\n * Creates a JSON pointer path, by joining one or more tokens to a base path.\n *\n * @param {string} base - The base path\n * @param {string|string[]} tokens - The token(s) to append (e.g. [\"name\", \"first\"])\n * @returns {string}\n */\n\n\n JsonPointer.join = function (base, tokens) {\n // TODO: optimize\n var baseTokens = JsonPointer.parse(base);\n var resTokens = baseTokens.concat(tokens);\n return external_json_pointer_[\"compile\"](resTokens);\n };\n\n JsonPointer.get = function (object, pointer) {\n return external_json_pointer_[\"get\"](object, pointer);\n };\n\n JsonPointer.compile = function (tokens) {\n return external_json_pointer_[\"compile\"](tokens);\n };\n\n JsonPointer.escape = function (pointer) {\n return external_json_pointer_[\"escape\"](pointer);\n };\n\n return JsonPointer;\n }();\n\n external_json_pointer_[\"parse\"] = JsonPointer_JsonPointer.parse;\n Object.assign(JsonPointer_JsonPointer, external_json_pointer_);\n /* harmony default export */\n\n var utils_JsonPointer = JsonPointer_JsonPointer; // EXTERNAL MODULE: ./node_modules/path-browserify/index.js\n\n var path_browserify = __webpack_require__(13); // EXTERNAL MODULE: external \"url-template\"\n\n\n var external_url_template_ = __webpack_require__(20); // CONCATENATED MODULE: ./src/utils/openapi.ts\n\n\n function isWildcardStatusCode(statusCode) {\n return typeof statusCode === 'string' && /\\dxx/i.test(statusCode);\n }\n\n function isStatusCode(statusCode) {\n return statusCode === 'default' || isNumeric(statusCode) || isWildcardStatusCode(statusCode);\n }\n\n function getStatusCodeType(statusCode, defaultAsError) {\n if (defaultAsError === void 0) {\n defaultAsError = false;\n }\n\n if (statusCode === 'default') {\n return defaultAsError ? 'error' : 'success';\n }\n\n var code = typeof statusCode === 'string' ? parseInt(statusCode, 10) : statusCode;\n\n if (isWildcardStatusCode(statusCode)) {\n code *= 100; // parseInt('2xx') parses to 2\n }\n\n if (code < 100 || code > 599) {\n throw new Error('invalid HTTP code');\n }\n\n var res = 'success';\n\n if (code >= 300 && code < 400) {\n res = 'redirect';\n } else if (code >= 400) {\n res = 'error';\n } else if (code < 200) {\n res = 'info';\n }\n\n return res;\n }\n\n var operationNames = {\n get: true,\n post: true,\n put: true,\n head: true,\n patch: true,\n delete: true,\n options: true\n };\n\n function isOperationName(key) {\n return key in operationNames;\n }\n\n function getOperationSummary(operation) {\n return operation.summary || operation.operationId || operation.description && operation.description.substring(0, 50) || '';\n }\n\n var schemaKeywordTypes = {\n multipleOf: 'number',\n maximum: 'number',\n exclusiveMaximum: 'number',\n minimum: 'number',\n exclusiveMinimum: 'number',\n maxLength: 'string',\n minLength: 'string',\n pattern: 'string',\n items: 'array',\n maxItems: 'array',\n minItems: 'array',\n uniqueItems: 'array',\n maxProperties: 'object',\n minProperties: 'object',\n required: 'object',\n additionalProperties: 'object',\n properties: 'object'\n };\n\n function detectType(schema) {\n if (schema.type !== undefined) {\n return schema.type;\n }\n\n var keywords = Object.keys(schemaKeywordTypes);\n\n for (var _i = 0, keywords_1 = keywords; _i < keywords_1.length; _i++) {\n var keyword = keywords_1[_i];\n var type = schemaKeywordTypes[keyword];\n\n if (schema[keyword] !== undefined) {\n return type;\n }\n }\n\n return 'any';\n }\n\n function isPrimitiveType(schema, type) {\n if (type === void 0) {\n type = schema.type;\n }\n\n if (schema.oneOf !== undefined || schema.anyOf !== undefined) {\n return false;\n }\n\n if (type === 'object') {\n return schema.properties !== undefined ? Object.keys(schema.properties).length === 0 : schema.additionalProperties === undefined;\n }\n\n if (type === 'array') {\n if (schema.items === undefined) {\n return true;\n }\n\n return false;\n }\n\n return true;\n }\n\n function isJsonLike(contentType) {\n return contentType.search(/json/i) !== -1;\n }\n\n function isFormUrlEncoded(contentType) {\n return contentType === 'application/x-www-form-urlencoded';\n }\n\n function delimitedEncodeField(fieldVal, fieldName, delimiter) {\n if (Array.isArray(fieldVal)) {\n return fieldVal.map(function (v) {\n return v.toString();\n }).join(delimiter);\n } else if (typeof fieldVal === 'object') {\n return Object.keys(fieldVal).map(function (k) {\n return \"\" + k + delimiter + fieldVal[k];\n }).join(delimiter);\n } else {\n return fieldName + '=' + fieldVal.toString();\n }\n }\n\n function deepObjectEncodeField(fieldVal, fieldName) {\n if (Array.isArray(fieldVal)) {\n console.warn('deepObject style cannot be used with array value:' + fieldVal.toString());\n return '';\n } else if (typeof fieldVal === 'object') {\n return Object.keys(fieldVal).map(function (k) {\n return fieldName + \"[\" + k + \"]=\" + fieldVal[k];\n }).join('&');\n } else {\n console.warn('deepObject style cannot be used with non-object value:' + fieldVal.toString());\n return '';\n }\n }\n\n function serializeFormValue(name, explode, value) {\n var _a; // Use RFC6570 safe name ([a-zA-Z0-9_]) and replace with our name later\n // e.g. URI.template doesn't parse names with hyphen (-) which are valid query param names\n\n\n var safeName = '__redoc_param_name__';\n var suffix = explode ? '*' : '';\n var template = external_url_template_[\"parse\"](\"{?\" + safeName + suffix + \"}\");\n return template.expand((_a = {}, _a[safeName] = value, _a)).substring(1).replace(/__redoc_param_name__/g, name);\n }\n /*\n * Should be used only for url-form-encoded body payloads\n * To be used for parameters should be extended with other style values\n */\n\n\n function urlFormEncodePayload(payload, encoding) {\n if (encoding === void 0) {\n encoding = {};\n }\n\n if (Array.isArray(payload)) {\n throw new Error('Payload must have fields: ' + payload.toString());\n } else {\n return Object.keys(payload).map(function (fieldName) {\n var fieldVal = payload[fieldName];\n\n var _a = encoding[fieldName] || {},\n _b = _a.style,\n style = _b === void 0 ? 'form' : _b,\n _c = _a.explode,\n explode = _c === void 0 ? true : _c;\n\n switch (style) {\n case 'form':\n return serializeFormValue(fieldName, explode, fieldVal);\n\n case 'spaceDelimited':\n return delimitedEncodeField(fieldVal, fieldName, '%20');\n\n case 'pipeDelimited':\n return delimitedEncodeField(fieldVal, fieldName, '|');\n\n case 'deepObject':\n return deepObjectEncodeField(fieldVal, fieldName);\n\n default:\n // TODO implement rest of styles for path parameters\n console.warn('Incorrect or unsupported encoding style: ' + style);\n return '';\n }\n }).join('&');\n }\n }\n\n function serializePathParameter(name, style, explode, value) {\n var _a;\n\n var suffix = explode ? '*' : '';\n var prefix = '';\n\n if (style === 'label') {\n prefix = '.';\n } else if (style === 'matrix') {\n prefix = ';';\n } // Use RFC6570 safe name ([a-zA-Z0-9_]) and replace with our name later\n // e.g. URI.template doesn't parse names with hyphen (-) which are valid query param names\n\n\n var safeName = '__redoc_param_name__';\n var template = external_url_template_[\"parse\"](\"{\" + prefix + safeName + suffix + \"}\");\n return template.expand((_a = {}, _a[safeName] = value, _a)).replace(/__redoc_param_name__/g, name);\n }\n\n function serializeQueryParameter(name, style, explode, value) {\n switch (style) {\n case 'form':\n return serializeFormValue(name, explode, value);\n\n case 'spaceDelimited':\n if (!Array.isArray(value)) {\n console.warn('The style spaceDelimited is only applicable to arrays');\n return '';\n }\n\n if (explode) {\n return serializeFormValue(name, explode, value);\n }\n\n return name + \"=\" + value.join('%20');\n\n case 'pipeDelimited':\n if (!Array.isArray(value)) {\n console.warn('The style pipeDelimited is only applicable to arrays');\n return '';\n }\n\n if (explode) {\n return serializeFormValue(name, explode, value);\n }\n\n return name + \"=\" + value.join('|');\n\n case 'deepObject':\n if (!explode || Array.isArray(value) || typeof value !== 'object') {\n console.warn('The style deepObject is only applicable for objects with explode=true');\n return '';\n }\n\n return deepObjectEncodeField(value, name);\n\n default:\n console.warn('Unexpected style for query: ' + style);\n return '';\n }\n }\n\n function serializeHeaderParameter(style, explode, value) {\n var _a;\n\n switch (style) {\n case 'simple':\n var suffix = explode ? '*' : ''; // name is not important here, so use RFC6570 safe name ([a-zA-Z0-9_])\n\n var name_1 = '__redoc_param_name__';\n var template = external_url_template_[\"parse\"](\"{\" + name_1 + suffix + \"}\");\n return decodeURIComponent(template.expand((_a = {}, _a[name_1] = value, _a)));\n\n default:\n console.warn('Unexpected style for header: ' + style);\n return '';\n }\n }\n\n function serializeCookieParameter(name, style, explode, value) {\n switch (style) {\n case 'form':\n return serializeFormValue(name, explode, value);\n\n default:\n console.warn('Unexpected style for cookie: ' + style);\n return '';\n }\n }\n\n function serializeParameterValueWithMime(value, mime) {\n if (isJsonLike(mime)) {\n return JSON.stringify(value);\n } else {\n console.warn(\"Parameter serialization as \" + mime + \" is not supported\");\n return '';\n }\n }\n\n function serializeParameterValue(parameter, value) {\n var name = parameter.name,\n style = parameter.style,\n _a = parameter.explode,\n explode = _a === void 0 ? false : _a,\n serializationMime = parameter.serializationMime;\n\n if (serializationMime) {\n switch (parameter.in) {\n case 'path':\n case 'header':\n return serializeParameterValueWithMime(value, serializationMime);\n\n case 'cookie':\n case 'query':\n return name + \"=\" + serializeParameterValueWithMime(value, serializationMime);\n\n default:\n console.warn('Unexpected parameter location: ' + parameter.in);\n return '';\n }\n }\n\n if (!style) {\n console.warn(\"Missing style attribute or content for parameter \" + name);\n return '';\n }\n\n switch (parameter.in) {\n case 'path':\n return serializePathParameter(name, style, explode, value);\n\n case 'query':\n return serializeQueryParameter(name, style, explode, value);\n\n case 'header':\n return serializeHeaderParameter(style, explode, value);\n\n case 'cookie':\n return serializeCookieParameter(name, style, explode, value);\n\n default:\n console.warn('Unexpected parameter location: ' + parameter.in);\n return '';\n }\n }\n\n function langFromMime(contentType) {\n if (contentType.search(/xml/i) !== -1) {\n return 'xml';\n }\n\n return 'clike';\n }\n\n function isNamedDefinition(pointer) {\n return /^#\\/components\\/schemas\\/[^\\/]+$/.test(pointer || '');\n }\n\n function humanizeMultipleOfConstraint(multipleOf) {\n if (multipleOf === undefined) {\n return;\n }\n\n var strigifiedMultipleOf = multipleOf.toString(10);\n\n if (!/^0\\.0*1$/.test(strigifiedMultipleOf)) {\n return \"multiple of \" + strigifiedMultipleOf;\n }\n\n return \"decimal places <= \" + strigifiedMultipleOf.split('.')[1].length;\n }\n\n function humanizeRangeConstraint(description, min, max) {\n var stringRange;\n\n if (min !== undefined && max !== undefined) {\n if (min === max) {\n stringRange = min + \" \" + description;\n } else {\n stringRange = \"[ \" + min + \" .. \" + max + \" ] \" + description;\n }\n } else if (max !== undefined) {\n stringRange = \"<= \" + max + \" \" + description;\n } else if (min !== undefined) {\n if (min === 1) {\n stringRange = 'non-empty';\n } else {\n stringRange = \">= \" + min + \" \" + description;\n }\n }\n\n return stringRange;\n }\n\n function humanizeConstraints(schema) {\n var res = [];\n var stringRange = humanizeRangeConstraint('characters', schema.minLength, schema.maxLength);\n\n if (stringRange !== undefined) {\n res.push(stringRange);\n }\n\n var arrayRange = humanizeRangeConstraint('items', schema.minItems, schema.maxItems);\n\n if (arrayRange !== undefined) {\n res.push(arrayRange);\n }\n\n var multipleOfConstraint = humanizeMultipleOfConstraint(schema.multipleOf);\n\n if (multipleOfConstraint !== undefined) {\n res.push(multipleOfConstraint);\n }\n\n var numberRange;\n\n if (schema.minimum !== undefined && schema.maximum !== undefined) {\n numberRange = schema.exclusiveMinimum ? '( ' : '[ ';\n numberRange += schema.minimum;\n numberRange += ' .. ';\n numberRange += schema.maximum;\n numberRange += schema.exclusiveMaximum ? ' )' : ' ]';\n } else if (schema.maximum !== undefined) {\n numberRange = schema.exclusiveMaximum ? '< ' : '<= ';\n numberRange += schema.maximum;\n } else if (schema.minimum !== undefined) {\n numberRange = schema.exclusiveMinimum ? '> ' : '>= ';\n numberRange += schema.minimum;\n }\n\n if (numberRange !== undefined) {\n res.push(numberRange);\n }\n\n return res;\n }\n\n function sortByRequired(fields, order) {\n if (order === void 0) {\n order = [];\n }\n\n var unrequiredFields = [];\n var orderedFields = [];\n var unorderedFields = [];\n fields.forEach(function (field) {\n if (field.required) {\n order.includes(field.name) ? orderedFields.push(field) : unorderedFields.push(field);\n } else {\n unrequiredFields.push(field);\n }\n });\n orderedFields.sort(function (a, b) {\n return order.indexOf(a.name) - order.indexOf(b.name);\n });\n return Object(external_tslib_[\"__spreadArrays\"])(orderedFields, unorderedFields, unrequiredFields);\n }\n\n function sortByField(fields, param) {\n return Object(external_tslib_[\"__spreadArrays\"])(fields).sort(function (a, b) {\n return a[param].localeCompare(b[param]);\n });\n }\n\n function mergeParams(parser, pathParams, operationParams) {\n if (pathParams === void 0) {\n pathParams = [];\n }\n\n if (operationParams === void 0) {\n operationParams = [];\n }\n\n var operationParamNames = {};\n operationParams.forEach(function (param) {\n param = parser.shalowDeref(param);\n operationParamNames[param.name + '_' + param.in] = true;\n }); // filter out path params overridden by operation ones with the same name\n\n pathParams = pathParams.filter(function (param) {\n param = parser.shalowDeref(param);\n return !operationParamNames[param.name + '_' + param.in];\n });\n return pathParams.concat(operationParams);\n }\n\n function mergeSimilarMediaTypes(types) {\n var mergedTypes = {};\n Object.keys(types).forEach(function (name) {\n var mime = types[name]; // ignore content type parameters (e.g. charset) and merge\n\n var normalizedMimeName = name.split(';')[0].trim();\n\n if (!mergedTypes[normalizedMimeName]) {\n mergedTypes[normalizedMimeName] = mime;\n return;\n }\n\n mergedTypes[normalizedMimeName] = Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, mergedTypes[normalizedMimeName]), mime);\n });\n return mergedTypes;\n }\n\n function expandDefaultServerVariables(url, variables) {\n if (variables === void 0) {\n variables = {};\n }\n\n return url.replace(/(?:{)(\\w+)(?:})/g, function (match, name) {\n return variables[name] && variables[name].default || match;\n });\n }\n\n function normalizeServers(specUrl, servers) {\n var getHref = function getHref() {\n if (!IS_BROWSER) {\n return '';\n }\n\n var href = window.location.href;\n return href.endsWith('.html') ? Object(path_browserify[\"dirname\"])(href) : href;\n };\n\n var baseUrl = specUrl === undefined ? removeQueryString(getHref()) : Object(path_browserify[\"dirname\"])(specUrl);\n\n if (servers.length === 0) {\n // Behaviour defined in OpenAPI spec: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#openapi-object\n servers = [{\n url: '/'\n }];\n }\n\n function normalizeUrl(url) {\n return resolveUrl(baseUrl, url);\n }\n\n return servers.map(function (server) {\n return Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, server), {\n url: normalizeUrl(server.url),\n description: server.description || ''\n });\n });\n }\n\n var SECURITY_DEFINITIONS_COMPONENT_NAME = 'security-definitions';\n var SECURITY_DEFINITIONS_JSX_NAME = 'SecurityDefinitions';\n var SCHEMA_DEFINITION_JSX_NAME = 'SchemaDefinition';\n var SECURITY_SCHEMES_SECTION_PREFIX = 'section/Authentication/';\n\n function setSecuritySchemePrefix(prefix) {\n SECURITY_SCHEMES_SECTION_PREFIX = prefix;\n }\n\n var shortenHTTPVerb = function shortenHTTPVerb(verb) {\n return {\n delete: 'del',\n options: 'opts'\n }[verb] || verb;\n };\n\n function isRedocExtension(key) {\n var redocExtensions = {\n 'x-circular-ref': true,\n 'x-code-samples': true,\n // deprecated\n 'x-codeSamples': true,\n 'x-displayName': true,\n 'x-examples': true,\n 'x-ignoredHeaderParameters': true,\n 'x-logo': true,\n 'x-nullable': true,\n 'x-servers': true,\n 'x-tagGroups': true,\n 'x-traitTag': true,\n 'x-additionalPropertiesName': true,\n 'x-explicitMappingOnly': true\n };\n return key in redocExtensions;\n }\n\n function extractExtensions(obj, showExtensions) {\n return Object.keys(obj).filter(function (key) {\n if (showExtensions === true) {\n return key.startsWith('x-') && !isRedocExtension(key);\n }\n\n return key.startsWith('x-') && showExtensions.indexOf(key) > -1;\n }).reduce(function (acc, key) {\n acc[key] = obj[key];\n return acc;\n }, {});\n }\n\n function pluralizeType(displayType) {\n return displayType.split(' or ').map(function (type) {\n return type.replace(/^(string|object|number|integer|array|boolean)s?( ?.*)/, '$1s$2');\n }).join(' or ');\n } // EXTERNAL MODULE: external \"prismjs\"\n\n\n var external_prismjs_ = __webpack_require__(10); // EXTERNAL MODULE: external \"prismjs/components/prism-bash.js\"\n\n\n var prism_bash_js_ = __webpack_require__(57); // EXTERNAL MODULE: external \"prismjs/components/prism-c.js\"\n\n\n var prism_c_js_ = __webpack_require__(58); // EXTERNAL MODULE: external \"prismjs/components/prism-clike.js\"\n\n\n var prism_clike_js_ = __webpack_require__(59); // EXTERNAL MODULE: external \"prismjs/components/prism-coffeescript.js\"\n\n\n var prism_coffeescript_js_ = __webpack_require__(60); // EXTERNAL MODULE: external \"prismjs/components/prism-cpp.js\"\n\n\n var prism_cpp_js_ = __webpack_require__(61); // EXTERNAL MODULE: external \"prismjs/components/prism-csharp.js\"\n\n\n var prism_csharp_js_ = __webpack_require__(62); // EXTERNAL MODULE: external \"prismjs/components/prism-go.js\"\n\n\n var prism_go_js_ = __webpack_require__(63); // EXTERNAL MODULE: external \"prismjs/components/prism-http.js\"\n\n\n var prism_http_js_ = __webpack_require__(64); // EXTERNAL MODULE: external \"prismjs/components/prism-java.js\"\n\n\n var prism_java_js_ = __webpack_require__(65); // EXTERNAL MODULE: external \"prismjs/components/prism-lua.js\"\n\n\n var prism_lua_js_ = __webpack_require__(66); // EXTERNAL MODULE: external \"prismjs/components/prism-markup-templating.js\"\n\n\n var prism_markup_templating_js_ = __webpack_require__(67); // EXTERNAL MODULE: external \"prismjs/components/prism-markup.js\"\n\n\n var prism_markup_js_ = __webpack_require__(68); // EXTERNAL MODULE: external \"prismjs/components/prism-objectivec.js\"\n\n\n var prism_objectivec_js_ = __webpack_require__(69); // EXTERNAL MODULE: external \"prismjs/components/prism-perl.js\"\n\n\n var prism_perl_js_ = __webpack_require__(70); // EXTERNAL MODULE: external \"prismjs/components/prism-php.js\"\n\n\n var prism_php_js_ = __webpack_require__(71); // EXTERNAL MODULE: external \"prismjs/components/prism-python.js\"\n\n\n var prism_python_js_ = __webpack_require__(72); // EXTERNAL MODULE: external \"prismjs/components/prism-ruby.js\"\n\n\n var prism_ruby_js_ = __webpack_require__(73); // EXTERNAL MODULE: external \"prismjs/components/prism-scala.js\"\n\n\n var prism_scala_js_ = __webpack_require__(74); // EXTERNAL MODULE: external \"prismjs/components/prism-sql.js\"\n\n\n var prism_sql_js_ = __webpack_require__(75); // EXTERNAL MODULE: external \"prismjs/components/prism-swift.js\"\n\n\n var prism_swift_js_ = __webpack_require__(76); // CONCATENATED MODULE: ./src/utils/highlight.ts\n // dep of php\n // xml\n\n\n var DEFAULT_LANG = 'clike';\n external_prismjs_[\"languages\"].insertBefore('javascript', 'string', {\n 'property string': {\n pattern: /([{,]\\s*)\"(?:\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/i,\n lookbehind: true\n }\n }, undefined);\n external_prismjs_[\"languages\"].insertBefore('javascript', 'punctuation', {\n property: {\n pattern: /([{,]\\s*)[a-z]\\w*(?=\\s*:)/i,\n lookbehind: true\n }\n }, undefined);\n /**\n * map language names to Prism.js names\n */\n\n function mapLang(lang) {\n return {\n json: 'js',\n 'c++': 'cpp',\n 'c#': 'csharp',\n 'objective-c': 'objectivec',\n shell: 'bash',\n viml: 'vim'\n }[lang] || DEFAULT_LANG;\n }\n /**\n * Highlight source code string using Prism.js\n * @param source source code to highlight\n * @param lang highlight language\n * @return highlighted source code as **html string**\n */\n\n\n function _highlight(source, lang) {\n if (lang === void 0) {\n lang = DEFAULT_LANG;\n }\n\n lang = lang.toLowerCase();\n var grammar = external_prismjs_[\"languages\"][lang];\n\n if (!grammar) {\n grammar = external_prismjs_[\"languages\"][mapLang(lang)];\n }\n\n return external_prismjs_[\"highlight\"](source, grammar, lang);\n } // CONCATENATED MODULE: ./src/utils/decorators.ts\n\n\n function throttle(func, wait) {\n var context;\n var args;\n var result;\n var timeout = null;\n var previous = 0;\n\n var later = function later() {\n previous = new Date().getTime();\n timeout = null;\n result = func.apply(context, args);\n\n if (!timeout) {\n context = args = null;\n }\n };\n\n return function () {\n var now = new Date().getTime();\n var remaining = wait - (now - previous);\n context = this; // eslint-disable-next-line prefer-rest-params\n\n args = arguments;\n\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n\n previous = now;\n result = func.apply(context, args);\n\n if (!timeout) {\n context = args = null;\n }\n } else if (!timeout) {\n timeout = setTimeout(later, remaining);\n }\n\n return result;\n };\n }\n\n function Throttle(delay) {\n return function (_, _2, desc) {\n desc.value = throttle(desc.value, delay);\n };\n } // CONCATENATED MODULE: ./src/utils/debug.ts\n\n\n function debugTime(label) {\n if (false) {}\n }\n\n function debugTimeEnd(label) {\n if (false) {}\n } // CONCATENATED MODULE: ./src/utils/memoize.ts\n // source: https://github.com/andreypopp/memoize-decorator\n\n\n var SENTINEL = {};\n\n function memoize(target, name, descriptor) {\n if (typeof descriptor.value === 'function') {\n return _memoizeMethod(target, name, descriptor);\n } else if (typeof descriptor.get === 'function') {\n return _memoizeGetter(target, name, descriptor);\n } else {\n throw new Error('@memoize decorator can be applied to methods or getters, got ' + String(descriptor.value) + ' instead');\n }\n }\n\n function _memoizeGetter(target, name, descriptor) {\n var memoizedName = \"_memoized_\" + name;\n var _get = descriptor.get;\n target[memoizedName] = SENTINEL;\n return Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, descriptor), {\n get: function get() {\n if (this[memoizedName] === SENTINEL) {\n this[memoizedName] = _get.call(this);\n }\n\n return this[memoizedName];\n }\n });\n }\n\n function _memoizeMethod(target, name, descriptor) {\n if (!descriptor.value || descriptor.value.length > 0) {\n throw new Error('@memoize decorator can only be applied to methods of zero arguments');\n }\n\n var memoizedName = \"_memoized_\" + name;\n var _value = descriptor.value;\n target[memoizedName] = SENTINEL;\n return Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, descriptor), {\n value: function value() {\n if (this[memoizedName] === SENTINEL) {\n this[memoizedName] = _value.call(this);\n }\n\n return this[memoizedName];\n }\n });\n } // CONCATENATED MODULE: ./src/utils/index.ts\n // CONCATENATED MODULE: ./src/services/HistoryService.ts\n\n\n var EVENT = 'hashchange';\n\n var HistoryService_HistoryService =\n /** @class */\n function () {\n function HistoryService() {\n var _this = this;\n\n this.emit = function () {\n _this._emiter.emit(EVENT, _this.currentId);\n };\n\n this._emiter = new external_eventemitter3_[\"EventEmitter\"]();\n this.bind();\n }\n\n Object.defineProperty(HistoryService.prototype, \"currentId\", {\n get: function get() {\n return IS_BROWSER ? decodeURIComponent(window.location.hash.substring(1)) : '';\n },\n enumerable: true,\n configurable: true\n });\n\n HistoryService.prototype.linkForId = function (id) {\n if (!id) {\n return '';\n }\n\n return '#' + id;\n };\n\n HistoryService.prototype.subscribe = function (cb) {\n var emmiter = this._emiter.addListener(EVENT, cb);\n\n return function () {\n return emmiter.removeListener(EVENT, cb);\n };\n };\n\n HistoryService.prototype.bind = function () {\n if (IS_BROWSER) {\n window.addEventListener('hashchange', this.emit, false);\n }\n };\n\n HistoryService.prototype.dispose = function () {\n if (IS_BROWSER) {\n window.removeEventListener('hashchange', this.emit);\n }\n };\n\n HistoryService.prototype.replace = function (id, rewriteHistory) {\n if (rewriteHistory === void 0) {\n rewriteHistory = false;\n }\n\n if (!IS_BROWSER) {\n return;\n }\n\n if (id == null || id === this.currentId) {\n return;\n }\n\n if (rewriteHistory) {\n window.history.replaceState(null, '', window.location.href.split('#')[0] + this.linkForId(id));\n return;\n }\n\n window.history.pushState(null, '', window.location.href.split('#')[0] + this.linkForId(id));\n this.emit();\n };\n\n Object(external_tslib_[\"__decorate\"])([external_decko_[\"bind\"], external_decko_[\"debounce\"]], HistoryService.prototype, \"replace\", null);\n return HistoryService;\n }();\n\n var HistoryService_history = new HistoryService_HistoryService();\n\n if (false) {} // EXTERNAL MODULE: external \"mark.js\"\n\n\n var external_mark_js_ = __webpack_require__(23); // CONCATENATED MODULE: ./src/services/MarkerService.ts\n\n\n var MarkerService_MarkerService =\n /** @class */\n function () {\n function MarkerService() {\n this.map = new Map();\n this.prevTerm = '';\n }\n\n MarkerService.prototype.add = function (el) {\n this.map.set(el, new external_mark_js_(el));\n };\n\n MarkerService.prototype.delete = function (el) {\n this.map.delete(el);\n };\n\n MarkerService.prototype.addOnly = function (elements) {\n var _this = this;\n\n this.map.forEach(function (inst, elem) {\n if (elements.indexOf(elem) === -1) {\n inst.unmark();\n\n _this.map.delete(elem);\n }\n });\n\n for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) {\n var el = elements_1[_i];\n\n if (!this.map.has(el)) {\n this.map.set(el, new external_mark_js_(el));\n }\n }\n };\n\n MarkerService.prototype.clearAll = function () {\n this.unmark();\n this.map.clear();\n };\n\n MarkerService.prototype.mark = function (term) {\n var _this = this;\n\n if (!term && !this.prevTerm) {\n return;\n }\n\n this.map.forEach(function (val) {\n val.unmark();\n val.mark(term || _this.prevTerm);\n });\n this.prevTerm = term || this.prevTerm;\n };\n\n MarkerService.prototype.unmark = function () {\n this.map.forEach(function (val) {\n return val.unmark();\n });\n this.prevTerm = '';\n };\n\n return MarkerService;\n }(); // EXTERNAL MODULE: external \"marked\"\n\n\n var external_marked_ = __webpack_require__(15); // CONCATENATED MODULE: ./src/services/MarkdownRenderer.ts\n\n\n var MarkdownRenderer_renderer = new external_marked_[\"Renderer\"]();\n external_marked_[\"setOptions\"]({\n renderer: MarkdownRenderer_renderer,\n highlight: function highlight(str, lang) {\n return _highlight(str, lang);\n }\n });\n var LEGACY_REGEXP = '^ {0,3}\\\\s*$'; // prettier-ignore\n\n var MDX_COMPONENT_REGEXP = '(?:^ {0,3}<({component})([\\\\s\\\\S]*?)>([\\\\s\\\\S]*?)' // with children\n + '|^ {0,3}<({component})([\\\\s\\\\S]*?)(?:/>|\\\\n{2,}))'; // self-closing\n\n var COMPONENT_REGEXP = '(?:' + LEGACY_REGEXP + '|' + MDX_COMPONENT_REGEXP + ')';\n\n function buildComponentComment(name) {\n return \"\";\n }\n\n var MarkdownRenderer_MarkdownRenderer =\n /** @class */\n function () {\n function MarkdownRenderer(options) {\n var _this = this;\n\n this.options = options;\n this.headings = [];\n\n this.headingRule = function (text, level, raw, slugger) {\n if (level === 1) {\n _this.currentTopHeading = _this.saveHeading(text, level);\n } else if (level === 2) {\n _this.saveHeading(text, level, _this.currentTopHeading && _this.currentTopHeading.items, _this.currentTopHeading && _this.currentTopHeading.id);\n }\n\n return _this.originalHeadingRule(text, level, raw, slugger);\n };\n\n this.headingEnhanceRenderer = new external_marked_[\"Renderer\"]();\n this.originalHeadingRule = this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer);\n this.headingEnhanceRenderer.heading = this.headingRule;\n }\n\n MarkdownRenderer.containsComponent = function (rawText, componentName) {\n var compRegexp = new RegExp(COMPONENT_REGEXP.replace(/{component}/g, componentName), 'gmi');\n return compRegexp.test(rawText);\n };\n\n MarkdownRenderer.getTextBeforeHading = function (md, heading) {\n var headingLinePos = md.search(new RegExp(\"^##?\\\\s+\" + heading, 'm'));\n\n if (headingLinePos > -1) {\n return md.substring(0, headingLinePos);\n }\n\n return md;\n };\n\n MarkdownRenderer.prototype.saveHeading = function (name, level, container, parentId) {\n if (container === void 0) {\n container = this.headings;\n }\n\n name = unescapeHTMLChars(name);\n var item = {\n id: parentId ? parentId + \"/\" + safeSlugify(name) : \"section/\" + safeSlugify(name),\n name: name,\n level: level,\n items: []\n };\n container.push(item);\n return item;\n };\n\n MarkdownRenderer.prototype.flattenHeadings = function (container) {\n if (container === undefined) {\n return [];\n }\n\n var res = [];\n\n for (var _i = 0, container_1 = container; _i < container_1.length; _i++) {\n var heading = container_1[_i];\n res.push(heading);\n res.push.apply(res, this.flattenHeadings(heading.items));\n }\n\n return res;\n };\n\n MarkdownRenderer.prototype.attachHeadingsDescriptions = function (rawText) {\n var buildRegexp = function buildRegexp(heading) {\n return new RegExp(\"##?\\\\s+\" + heading.name.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n };\n\n var flatHeadings = this.flattenHeadings(this.headings);\n\n if (flatHeadings.length < 1) {\n return;\n }\n\n var prevHeading = flatHeadings[0];\n var prevRegexp = buildRegexp(prevHeading);\n var prevPos = rawText.search(prevRegexp);\n\n for (var i = 1; i < flatHeadings.length; i++) {\n var heading = flatHeadings[i];\n var regexp = buildRegexp(heading);\n var currentPos = rawText.substr(prevPos + 1).search(regexp) + prevPos + 1;\n prevHeading.description = rawText.substring(prevPos, currentPos).replace(prevRegexp, '').trim();\n prevHeading = heading;\n prevRegexp = regexp;\n prevPos = currentPos;\n }\n\n prevHeading.description = rawText.substring(prevPos).replace(prevRegexp, '').trim();\n };\n\n MarkdownRenderer.prototype.renderMd = function (rawText, extractHeadings) {\n if (extractHeadings === void 0) {\n extractHeadings = false;\n }\n\n var opts = extractHeadings ? {\n renderer: this.headingEnhanceRenderer\n } : undefined;\n var res = external_marked_(rawText.toString(), opts);\n return res;\n };\n\n MarkdownRenderer.prototype.extractHeadings = function (rawText) {\n this.renderMd(rawText, true);\n this.attachHeadingsDescriptions(rawText);\n var res = this.headings;\n this.headings = [];\n return res;\n }; // regexp-based 👎: remark is slow and too big so for now using marked + regexps soup\n\n\n MarkdownRenderer.prototype.renderMdWithComponents = function (rawText) {\n var components = this.options && this.options.allowedMdComponents;\n\n if (!components || Object.keys(components).length === 0) {\n return [this.renderMd(rawText)];\n }\n\n var names = Object.keys(components).join('|');\n var componentsRegexp = new RegExp(COMPONENT_REGEXP.replace(/{component}/g, names), 'mig');\n var htmlParts = [];\n var componentDefs = [];\n var match = componentsRegexp.exec(rawText);\n var lasxtIdx = 0;\n\n while (match) {\n htmlParts.push(rawText.substring(lasxtIdx, match.index));\n lasxtIdx = componentsRegexp.lastIndex;\n var compName = match[1] || match[2] || match[5];\n var componentMeta = components[compName];\n var props = match[3] || match[6];\n var children = match[4];\n\n if (componentMeta) {\n componentDefs.push({\n component: componentMeta.component,\n propsSelector: componentMeta.propsSelector,\n props: Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, parseProps(props)), componentMeta.props), {\n children: children\n })\n });\n }\n\n match = componentsRegexp.exec(rawText);\n }\n\n htmlParts.push(rawText.substring(lasxtIdx));\n var res = [];\n\n for (var i = 0; i < htmlParts.length; i++) {\n var htmlPart = htmlParts[i];\n\n if (htmlPart) {\n res.push(this.renderMd(htmlPart));\n }\n\n if (componentDefs[i]) {\n res.push(componentDefs[i]);\n }\n }\n\n return res;\n };\n\n return MarkdownRenderer;\n }();\n\n function parseProps(props) {\n if (!props) {\n return {};\n }\n\n var regex = /([\\w-]+)\\s*=\\s*(?:{([^}]+?)}|\"([^\"]+?)\")/gim;\n var parsed = {};\n var match; // tslint:disable-next-line\n\n while ((match = regex.exec(props)) !== null) {\n if (match[3]) {\n // string prop match (in double quotes)\n parsed[match[1]] = match[3];\n } else if (match[2]) {\n // jsx prop match (in curly braces)\n var val = void 0;\n\n try {\n val = JSON.parse(match[2]);\n } catch (e) {\n /* noop */\n }\n\n parsed[match[1]] = val;\n }\n }\n\n return parsed;\n } // CONCATENATED MODULE: ./src/services/models/ApiInfo.ts\n\n\n var ApiInfo_ApiInfoModel =\n /** @class */\n function () {\n function ApiInfoModel(parser) {\n this.parser = parser;\n Object.assign(this, parser.spec.info);\n this.description = parser.spec.info.description || '';\n var firstHeadingLinePos = this.description.search(/^##?\\s+/m);\n\n if (firstHeadingLinePos > -1) {\n this.description = this.description.substring(0, firstHeadingLinePos);\n }\n\n this.downloadLink = this.getDownloadLink();\n this.downloadFileName = this.getDownloadFileName();\n }\n\n ApiInfoModel.prototype.getDownloadLink = function () {\n if (this.parser.specUrl) {\n return this.parser.specUrl;\n }\n\n if (IS_BROWSER && window.Blob && window.URL && window.URL.createObjectURL) {\n var blob = new Blob([JSON.stringify(this.parser.spec, null, 2)], {\n type: 'application/json'\n });\n return window.URL.createObjectURL(blob);\n }\n };\n\n ApiInfoModel.prototype.getDownloadFileName = function () {\n if (!this.parser.specUrl) {\n return 'swagger.json';\n }\n\n return undefined;\n };\n\n return ApiInfoModel;\n }(); // CONCATENATED MODULE: ./src/services/models/SecuritySchemes.ts\n\n\n var SecuritySchemes_SecuritySchemeModel =\n /** @class */\n function () {\n function SecuritySchemeModel(parser, id, scheme) {\n var info = parser.deref(scheme);\n this.id = id;\n this.sectionId = SECURITY_SCHEMES_SECTION_PREFIX + id;\n this.type = info.type;\n this.description = info.description || '';\n\n if (info.type === 'apiKey') {\n this.apiKey = {\n name: info.name,\n in: info.in\n };\n }\n\n if (info.type === 'http') {\n this.http = {\n scheme: info.scheme,\n bearerFormat: info.bearerFormat\n };\n }\n\n if (info.type === 'openIdConnect') {\n this.openId = {\n connectUrl: info.openIdConnectUrl\n };\n }\n\n if (info.type === 'oauth2' && info.flows) {\n this.flows = info.flows;\n }\n }\n\n return SecuritySchemeModel;\n }();\n\n var SecuritySchemesModel =\n /** @class */\n function () {\n function SecuritySchemesModel(parser) {\n var schemes = parser.spec.components && parser.spec.components.securitySchemes || {};\n this.schemes = Object.keys(schemes).map(function (name) {\n return new SecuritySchemes_SecuritySchemeModel(parser, name, schemes[name]);\n });\n }\n\n return SecuritySchemesModel;\n }(); // CONCATENATED MODULE: ./src/services/OpenAPIParser.ts\n\n /**\n * Helper class to keep track of visited references to avoid\n * endless recursion because of circular refs\n */\n\n\n var RefCounter =\n /** @class */\n function () {\n function RefCounter() {\n this._counter = {};\n }\n\n RefCounter.prototype.reset = function () {\n this._counter = {};\n };\n\n RefCounter.prototype.visit = function (ref) {\n this._counter[ref] = this._counter[ref] ? this._counter[ref] + 1 : 1;\n };\n\n RefCounter.prototype.exit = function (ref) {\n this._counter[ref] = this._counter[ref] && this._counter[ref] - 1;\n };\n\n RefCounter.prototype.visited = function (ref) {\n return !!this._counter[ref];\n };\n\n return RefCounter;\n }();\n /**\n * Loads and keeps spec. Provides raw spec operations\n */\n\n\n var OpenAPIParser_OpenAPIParser =\n /** @class */\n function () {\n function OpenAPIParser(spec, specUrl, options) {\n var _this = this;\n\n if (options === void 0) {\n options = new RedocNormalizedOptions_RedocNormalizedOptions({});\n }\n\n this.options = options;\n this._refCounter = new RefCounter();\n /**\n * get spec part by JsonPointer ($ref)\n */\n\n this.byRef = function (ref) {\n var res;\n\n if (!_this.spec) {\n return;\n }\n\n if (ref.charAt(0) !== '#') {\n ref = '#' + ref;\n }\n\n ref = decodeURIComponent(ref);\n\n try {\n res = JsonPointer_JsonPointer.get(_this.spec, ref);\n } catch (e) {// do nothing\n }\n\n return res || {};\n };\n\n this.validate(spec);\n this.preprocess(spec);\n this.spec = spec;\n this.mergeRefs = new Set();\n var href = IS_BROWSER ? window.location.href : '';\n\n if (typeof specUrl === 'string') {\n this.specUrl = Object(external_url_[\"resolve\"])(href, specUrl);\n }\n }\n\n OpenAPIParser.prototype.validate = function (spec) {\n if (spec.openapi === undefined) {\n throw new Error('Document must be valid OpenAPI 3.0.0 definition');\n }\n };\n\n OpenAPIParser.prototype.preprocess = function (spec) {\n if (!this.options.noAutoAuth && spec.info && spec.components && spec.components.securitySchemes) {\n // Automatically inject Authentication section with SecurityDefinitions component\n var description = spec.info.description || '';\n\n if (!MarkdownRenderer_MarkdownRenderer.containsComponent(description, SECURITY_DEFINITIONS_COMPONENT_NAME) && !MarkdownRenderer_MarkdownRenderer.containsComponent(description, SECURITY_DEFINITIONS_JSX_NAME)) {\n var comment = buildComponentComment(SECURITY_DEFINITIONS_COMPONENT_NAME);\n spec.info.description = appendToMdHeading(description, 'Authentication', comment);\n }\n }\n };\n /**\n * checks if the object is OpenAPI reference (contains $ref property)\n */\n\n\n OpenAPIParser.prototype.isRef = function (obj) {\n if (!obj) {\n return false;\n }\n\n return obj.$ref !== undefined && obj.$ref !== null;\n };\n /**\n * resets visited endpoints. should be run after\n */\n\n\n OpenAPIParser.prototype.resetVisited = function () {\n if (false) {\n var k;\n }\n\n this._refCounter = new RefCounter();\n };\n\n OpenAPIParser.prototype.exitRef = function (ref) {\n if (!this.isRef(ref)) {\n return;\n }\n\n this._refCounter.exit(ref.$ref);\n };\n /**\n * Resolve given reference object or return as is if it is not a reference\n * @param obj object to dereference\n * @param forceCircular whether to dereference even if it is circular ref\n */\n\n\n OpenAPIParser.prototype.deref = function (obj, forceCircular) {\n if (forceCircular === void 0) {\n forceCircular = false;\n }\n\n if (this.isRef(obj)) {\n var resolved = this.byRef(obj.$ref);\n\n var visited = this._refCounter.visited(obj.$ref);\n\n this._refCounter.visit(obj.$ref);\n\n if (visited && !forceCircular) {\n // circular reference detected\n // tslint:disable-next-line\n return Object.assign({}, resolved, {\n 'x-circular-ref': true\n });\n } // deref again in case one more $ref is here\n\n\n if (this.isRef(resolved)) {\n var res = this.deref(resolved);\n this.exitRef(resolved);\n return res;\n }\n\n return resolved;\n }\n\n return obj;\n };\n\n OpenAPIParser.prototype.shalowDeref = function (obj) {\n if (this.isRef(obj)) {\n return this.byRef(obj.$ref);\n }\n\n return obj;\n };\n /**\n * Merge allOf constraints.\n * @param schema schema with allOF\n * @param $ref pointer of the schema\n * @param forceCircular whether to dereference children even if it is a circular ref\n */\n\n\n OpenAPIParser.prototype.mergeAllOf = function (schema, $ref, forceCircular, used$Refs) {\n var _this = this;\n\n if (forceCircular === void 0) {\n forceCircular = false;\n }\n\n if (used$Refs === void 0) {\n used$Refs = new Set();\n }\n\n if ($ref) {\n used$Refs.add($ref);\n }\n\n schema = this.hoistOneOfs(schema);\n\n if (schema.allOf === undefined) {\n return schema;\n }\n\n var receiver = Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, schema), {\n allOf: undefined,\n parentRefs: [],\n title: schema.title || (isNamedDefinition($ref) ? JsonPointer_JsonPointer.baseName($ref) : undefined)\n }); // avoid mutating inner objects\n\n if (receiver.properties !== undefined && typeof receiver.properties === 'object') {\n receiver.properties = Object(external_tslib_[\"__assign\"])({}, receiver.properties);\n }\n\n if (receiver.items !== undefined && typeof receiver.items === 'object') {\n receiver.items = Object(external_tslib_[\"__assign\"])({}, receiver.items);\n }\n\n var allOfSchemas = schema.allOf.map(function (subSchema) {\n var _a;\n\n if (subSchema && subSchema.$ref && used$Refs.has(subSchema.$ref)) {\n return undefined;\n }\n\n var resolved = _this.deref(subSchema, forceCircular);\n\n var subRef = subSchema.$ref || undefined;\n\n var subMerged = _this.mergeAllOf(resolved, subRef, forceCircular, used$Refs);\n\n (_a = receiver.parentRefs).push.apply(_a, subMerged.parentRefs || []);\n\n return {\n $ref: subRef,\n schema: subMerged\n };\n }).filter(function (child) {\n return child !== undefined;\n });\n\n for (var _i = 0, allOfSchemas_1 = allOfSchemas; _i < allOfSchemas_1.length; _i++) {\n var _a = allOfSchemas_1[_i],\n subSchemaRef = _a.$ref,\n subSchema = _a.schema;\n\n if (receiver.type !== subSchema.type && receiver.type !== undefined && subSchema.type !== undefined) {\n console.warn(\"Incompatible types in allOf at \\\"\" + $ref + \"\\\": \\\"\" + receiver.type + \"\\\" and \\\"\" + subSchema.type + \"\\\"\");\n }\n\n if (subSchema.type !== undefined) {\n receiver.type = subSchema.type;\n }\n\n if (subSchema.properties !== undefined) {\n receiver.properties = receiver.properties || {};\n\n for (var prop in subSchema.properties) {\n if (!receiver.properties[prop]) {\n receiver.properties[prop] = subSchema.properties[prop];\n } else {\n // merge inner properties\n receiver.properties[prop] = this.mergeAllOf({\n allOf: [receiver.properties[prop], subSchema.properties[prop]]\n }, $ref + '/properties/' + prop);\n }\n }\n }\n\n if (subSchema.items !== undefined) {\n receiver.items = receiver.items || {}; // merge inner properties\n\n receiver.items = this.mergeAllOf({\n allOf: [receiver.items, subSchema.items]\n }, $ref + '/items');\n }\n\n if (subSchema.required !== undefined) {\n receiver.required = (receiver.required || []).concat(subSchema.required);\n } // merge rest of constraints\n // TODO: do more intelligent merge\n\n\n receiver = Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, subSchema), receiver);\n\n if (subSchemaRef) {\n receiver.parentRefs.push(subSchemaRef);\n\n if (receiver.title === undefined && isNamedDefinition(subSchemaRef)) {// this is not so correct behaviour. commented out for now\n // ref: https://github.com/Redocly/redoc/issues/601\n // receiver.title = JsonPointer.baseName(subSchemaRef);\n }\n }\n }\n\n return receiver;\n };\n /**\n * Find all derived definitions among #/components/schemas from any of $refs\n * returns map of definition pointer to definition name\n * @param $refs array of references to find derived from\n */\n\n\n OpenAPIParser.prototype.findDerived = function ($refs) {\n var res = {};\n var schemas = this.spec.components && this.spec.components.schemas || {};\n\n for (var defName in schemas) {\n var def = this.deref(schemas[defName]);\n\n if (def.allOf !== undefined && def.allOf.find(function (obj) {\n return obj.$ref !== undefined && $refs.indexOf(obj.$ref) > -1;\n })) {\n res['#/components/schemas/' + defName] = [def['x-discriminator-value'] || defName];\n }\n }\n\n return res;\n };\n\n OpenAPIParser.prototype.exitParents = function (shema) {\n for (var _i = 0, _a = shema.parentRefs || []; _i < _a.length; _i++) {\n var parent$ref = _a[_i];\n this.exitRef({\n $ref: parent$ref\n });\n }\n };\n\n OpenAPIParser.prototype.hoistOneOfs = function (schema) {\n var _this = this;\n\n if (schema.allOf === undefined) {\n return schema;\n }\n\n var allOf = schema.allOf;\n\n var _loop_1 = function _loop_1(i) {\n var sub = allOf[i];\n\n if (Array.isArray(sub.oneOf)) {\n var beforeAllOf_1 = allOf.slice(0, i);\n var afterAllOf_1 = allOf.slice(i + 1);\n return {\n value: {\n oneOf: sub.oneOf.map(function (part) {\n var merged = _this.mergeAllOf({\n allOf: Object(external_tslib_[\"__spreadArrays\"])(beforeAllOf_1, [part], afterAllOf_1)\n }); // each oneOf should be independent so exiting all the parent refs\n // otherwise it will cause false-positive recursive detection\n\n\n _this.exitParents(merged);\n\n return merged;\n })\n }\n };\n }\n };\n\n for (var i = 0; i < allOf.length; i++) {\n var state_1 = _loop_1(i);\n\n if (typeof state_1 === \"object\") return state_1.value;\n }\n\n return schema;\n };\n\n return OpenAPIParser;\n }(); // CONCATENATED MODULE: ./src/services/SpecStore.ts\n\n /**\n * Store that contains all the specification related information in the form of tree\n */\n\n\n var SpecStore_SpecStore =\n /** @class */\n function () {\n function SpecStore(spec, specUrl, options) {\n this.options = options;\n this.parser = new OpenAPIParser_OpenAPIParser(spec, specUrl, options);\n this.info = new ApiInfo_ApiInfoModel(this.parser);\n this.externalDocs = this.parser.spec.externalDocs;\n this.contentItems = MenuBuilder_MenuBuilder.buildStructure(this.parser, this.options);\n this.securitySchemes = new SecuritySchemesModel(this.parser);\n }\n\n return SpecStore;\n }(); // CONCATENATED MODULE: ./src/services/models/Group.model.ts\n\n /**\n * Operations Group model ready to be used by components\n */\n\n\n var Group_model_GroupModel =\n /** @class */\n function () {\n function GroupModel(type, tagOrGroup, parent) {\n this.items = [];\n this.active = false;\n this.expanded = false; // markdown headings already have ids calculated as they are needed for heading anchors\n\n this.id = tagOrGroup.id || type + '/' + safeSlugify(tagOrGroup.name);\n this.type = type;\n this.name = tagOrGroup['x-displayName'] || tagOrGroup.name;\n this.level = tagOrGroup.level || 1; // remove sections from markdown, same as in ApiInfo\n\n this.description = tagOrGroup.description || '';\n var items = tagOrGroup.items;\n\n if (items && items.length) {\n this.description = MarkdownRenderer_MarkdownRenderer.getTextBeforeHading(this.description, items[0].name);\n }\n\n this.parent = parent;\n this.externalDocs = tagOrGroup.externalDocs; // groups are active (expanded) by default\n\n if (this.type === 'group') {\n this.expanded = true;\n }\n }\n\n GroupModel.prototype.activate = function () {\n this.active = true;\n };\n\n GroupModel.prototype.expand = function () {\n if (this.parent) {\n this.parent.expand();\n }\n\n this.expanded = true;\n };\n\n GroupModel.prototype.collapse = function () {\n // disallow collapsing groups\n if (this.type === 'group') {\n return;\n }\n\n this.expanded = false;\n };\n\n GroupModel.prototype.deactivate = function () {\n this.active = false;\n };\n\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], GroupModel.prototype, \"active\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], GroupModel.prototype, \"expanded\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], GroupModel.prototype, \"activate\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], GroupModel.prototype, \"expand\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], GroupModel.prototype, \"collapse\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], GroupModel.prototype, \"deactivate\", null);\n return GroupModel;\n }(); // CONCATENATED MODULE: ./src/services/models/SecurityRequirement.ts\n\n\n var SecurityRequirement_SecurityRequirementModel =\n /** @class */\n function () {\n function SecurityRequirementModel(requirement, parser) {\n var schemes = parser.spec.components && parser.spec.components.securitySchemes || {};\n this.schemes = Object.keys(requirement || {}).map(function (id) {\n var scheme = parser.deref(schemes[id]);\n var scopes = requirement[id] || [];\n\n if (!scheme) {\n console.warn(\"Non existing security scheme referenced: \" + id + \". Skipping\");\n return undefined;\n }\n\n return Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, scheme), {\n id: id,\n sectionId: SECURITY_SCHEMES_SECTION_PREFIX + id,\n scopes: scopes\n });\n }).filter(function (scheme) {\n return scheme !== undefined;\n });\n }\n\n return SecurityRequirementModel;\n }(); // CONCATENATED MODULE: ./src/services/models/Callback.ts\n\n\n var Callback_CallbackModel =\n /** @class */\n function () {\n function CallbackModel(parser, name, infoOrRef, pointer, options) {\n this.operations = [];\n this.name = name;\n var paths = parser.deref(infoOrRef);\n parser.exitRef(infoOrRef);\n\n for (var _i = 0, _a = Object.keys(paths); _i < _a.length; _i++) {\n var pathName = _a[_i];\n var path = paths[pathName];\n var operations = Object.keys(path).filter(isOperationName);\n\n for (var _b = 0, operations_1 = operations; _b < operations_1.length; _b++) {\n var operationName = operations_1[_b];\n var operationInfo = path[operationName];\n var operation = new Operation_OperationModel(parser, Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, operationInfo), {\n pathName: pathName,\n pointer: JsonPointer_JsonPointer.compile([pointer, name, pathName, operationName]),\n httpVerb: operationName,\n pathParameters: path.parameters || [],\n pathServers: path.servers\n }), undefined, options, true);\n this.operations.push(operation);\n }\n }\n }\n\n CallbackModel.prototype.toggle = function () {\n this.expanded = !this.expanded;\n };\n\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], CallbackModel.prototype, \"expanded\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], CallbackModel.prototype, \"toggle\", null);\n return CallbackModel;\n }(); // CONCATENATED MODULE: ./src/services/models/Schema.ts\n // TODO: refactor this model, maybe use getters instead of copying all the values\n\n\n var Schema_SchemaModel =\n /** @class */\n function () {\n /**\n * @param isChild if schema discriminator Child\n * When true forces dereferencing in allOfs even if circular\n */\n function SchemaModel(parser, schemaOrRef, pointer, options, isChild) {\n if (isChild === void 0) {\n isChild = false;\n }\n\n this.options = options;\n this.typePrefix = '';\n this.isCircular = false;\n this.activeOneOf = 0;\n this.pointer = schemaOrRef.$ref || pointer || '';\n this.rawSchema = parser.deref(schemaOrRef);\n this.schema = parser.mergeAllOf(this.rawSchema, this.pointer, isChild);\n this.init(parser, isChild);\n parser.exitRef(schemaOrRef);\n parser.exitParents(this.schema);\n\n if (options.showExtensions) {\n this.extensions = extractExtensions(this.schema, options.showExtensions);\n }\n }\n /**\n * Set specified alternative schema as active\n * @param idx oneOf index\n */\n\n\n SchemaModel.prototype.activateOneOf = function (idx) {\n this.activeOneOf = idx;\n };\n\n SchemaModel.prototype.init = function (parser, isChild) {\n var _this = this;\n\n var schema = this.schema;\n this.isCircular = schema['x-circular-ref'];\n this.title = schema.title || isNamedDefinition(this.pointer) && JsonPointer_JsonPointer.baseName(this.pointer) || '';\n this.description = schema.description || '';\n this.type = schema.type || detectType(schema);\n this.format = schema.format;\n this.nullable = !!schema.nullable;\n this.enum = schema.enum || [];\n this.example = schema.example;\n this.deprecated = !!schema.deprecated;\n this.pattern = schema.pattern;\n this.externalDocs = schema.externalDocs;\n this.constraints = humanizeConstraints(schema);\n this.displayType = this.type;\n this.displayFormat = this.format;\n this.isPrimitive = isPrimitiveType(schema, this.type);\n this.default = schema.default;\n this.readOnly = !!schema.readOnly;\n this.writeOnly = !!schema.writeOnly;\n\n if (this.isCircular) {\n return;\n }\n\n if (!isChild && getDiscriminator(schema) !== undefined) {\n this.initDiscriminator(schema, parser);\n return;\n } else if (isChild && Array.isArray(schema.oneOf) && schema.oneOf.find(function (s) {\n return s.$ref === _this.pointer;\n })) {\n // we hit allOf of the schema with the parent discriminator\n delete schema.oneOf;\n }\n\n if (schema.oneOf !== undefined) {\n this.initOneOf(schema.oneOf, parser);\n this.oneOfType = 'One of';\n\n if (schema.anyOf !== undefined) {\n console.warn(\"oneOf and anyOf are not supported on the same level. Skipping anyOf at \" + this.pointer);\n }\n\n return;\n }\n\n if (schema.anyOf !== undefined) {\n this.initOneOf(schema.anyOf, parser);\n this.oneOfType = 'Any of';\n return;\n }\n\n if (this.type === 'object') {\n this.fields = buildFields(parser, schema, this.pointer, this.options);\n } else if (this.type === 'array' && schema.items) {\n this.items = new SchemaModel(parser, schema.items, this.pointer + '/items', this.options);\n this.displayType = pluralizeType(this.items.displayType);\n this.displayFormat = this.items.format;\n this.typePrefix = this.items.typePrefix + l('arrayOf');\n this.title = this.title || this.items.title;\n this.isPrimitive = this.items.isPrimitive;\n\n if (this.example === undefined && this.items.example !== undefined) {\n this.example = [this.items.example];\n }\n\n if (this.items.isPrimitive) {\n this.enum = this.items.enum;\n }\n }\n };\n\n SchemaModel.prototype.initOneOf = function (oneOf, parser) {\n var _this = this;\n\n this.oneOf = oneOf.map(function (variant, idx) {\n var derefVariant = parser.deref(variant);\n var merged = parser.mergeAllOf(derefVariant, _this.pointer + '/oneOf/' + idx); // try to infer title\n\n var title = isNamedDefinition(variant.$ref) && !merged.title ? JsonPointer_JsonPointer.baseName(variant.$ref) : merged.title;\n var schema = new SchemaModel(parser, Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, merged), {\n title: title,\n allOf: [Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, _this.schema), {\n oneOf: undefined,\n anyOf: undefined\n })]\n }), _this.pointer + '/oneOf/' + idx, _this.options);\n parser.exitRef(variant); // each oneOf should be independent so exiting all the parent refs\n // otherwise it will cause false-positive recursive detection\n\n parser.exitParents(merged);\n return schema;\n });\n this.displayType = this.oneOf.map(function (schema) {\n var name = schema.typePrefix + (schema.title ? schema.title + \" (\" + schema.displayType + \")\" : schema.displayType);\n\n if (name.indexOf(' or ') > -1) {\n name = \"(\" + name + \")\";\n }\n\n return name;\n }).join(' or ');\n };\n\n SchemaModel.prototype.initDiscriminator = function (schema, parser) {\n var _this = this;\n\n var discriminator = getDiscriminator(schema);\n this.discriminatorProp = discriminator.propertyName;\n var implicitInversedMapping = parser.findDerived(Object(external_tslib_[\"__spreadArrays\"])(schema.parentRefs || [], [this.pointer]));\n\n if (schema.oneOf) {\n for (var _i = 0, _a = schema.oneOf; _i < _a.length; _i++) {\n var variant = _a[_i];\n\n if (variant.$ref === undefined) {\n continue;\n }\n\n var name_1 = JsonPointer_JsonPointer.baseName(variant.$ref);\n implicitInversedMapping[variant.$ref] = name_1;\n }\n }\n\n var mapping = discriminator.mapping || {}; // Defines if the mapping is exhaustive. This avoids having references\n // that overlap with the mapping entries\n\n var isLimitedToMapping = discriminator['x-explicitMappingOnly'] || false; // if there are no mappings, assume non-exhaustive\n\n if (Object.keys(mapping).length === 0) {\n isLimitedToMapping = false;\n }\n\n var explicitInversedMapping = {};\n\n for (var name_2 in mapping) {\n var $ref = mapping[name_2];\n\n if (Array.isArray(explicitInversedMapping[$ref])) {\n explicitInversedMapping[$ref].push(name_2);\n } else {\n // overrides implicit mapping here\n explicitInversedMapping[$ref] = [name_2];\n }\n }\n\n var inversedMapping = isLimitedToMapping ? Object(external_tslib_[\"__assign\"])({}, explicitInversedMapping) : Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, implicitInversedMapping), explicitInversedMapping);\n var refs = [];\n\n for (var _b = 0, _c = Object.keys(inversedMapping); _b < _c.length; _b++) {\n var $ref = _c[_b];\n var names_2 = inversedMapping[$ref];\n\n if (Array.isArray(names_2)) {\n for (var _d = 0, names_1 = names_2; _d < names_1.length; _d++) {\n var name_3 = names_1[_d];\n refs.push({\n $ref: $ref,\n name: name_3\n });\n }\n } else {\n refs.push({\n $ref: $ref,\n name: names_2\n });\n }\n } // Make the listing respects the mapping\n // in case a mapping is defined, the user usually wants to have the order shown\n // as it was defined in the yaml. This will sort the names given the provided\n // mapping (if provided).\n // The logic is:\n // - If a name is among the mapping, promote it to first\n // - Names among the mapping are sorted by their order in the mapping\n // - Names outside the mapping are sorted alphabetically\n\n\n var names = Object.keys(mapping);\n\n if (names.length !== 0) {\n refs = refs.sort(function (left, right) {\n var indexLeft = names.indexOf(left.name);\n var indexRight = names.indexOf(right.name);\n\n if (indexLeft < 0 && indexRight < 0) {\n // out of mapping, order by name\n return left.name.localeCompare(right.name);\n } else if (indexLeft < 0) {\n // the right is found, so mapping wins\n return 1;\n } else if (indexRight < 0) {\n // left wins as it's in mapping\n return -1;\n } else {\n return indexLeft - indexRight;\n }\n });\n }\n\n this.oneOf = refs.map(function (_a) {\n var $ref = _a.$ref,\n name = _a.name;\n var innerSchema = new SchemaModel(parser, parser.byRef($ref), $ref, _this.options, true);\n innerSchema.title = name;\n return innerSchema;\n });\n };\n\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], SchemaModel.prototype, \"activeOneOf\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], SchemaModel.prototype, \"activateOneOf\", null);\n return SchemaModel;\n }();\n\n function buildFields(parser, schema, $ref, options) {\n var props = schema.properties || {};\n var additionalProps = schema.additionalProperties;\n var defaults = schema.default || {};\n var fields = Object.keys(props || []).map(function (fieldName) {\n var field = props[fieldName];\n\n if (!field) {\n console.warn(\"Field \\\"\" + fieldName + \"\\\" is invalid, skipping.\\n Field must be an object but got \" + typeof field + \" at \\\"\" + $ref + \"\\\"\");\n field = {};\n }\n\n var required = schema.required === undefined ? false : schema.required.indexOf(fieldName) > -1;\n return new Field_FieldModel(parser, {\n name: fieldName,\n required: required,\n schema: Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, field), {\n default: field.default === undefined ? defaults[fieldName] : field.default\n })\n }, $ref + '/properties/' + fieldName, options);\n });\n\n if (options.sortPropsAlphabetically) {\n fields = sortByField(fields, 'name');\n }\n\n if (options.requiredPropsFirst) {\n // if not sort alphabetically sort in the order from required keyword\n fields = sortByRequired(fields, !options.sortPropsAlphabetically ? schema.required : undefined);\n }\n\n if (typeof additionalProps === 'object' || additionalProps === true) {\n fields.push(new Field_FieldModel(parser, {\n name: (typeof additionalProps === 'object' ? additionalProps['x-additionalPropertiesName'] || 'property name' : 'property name').concat('*'),\n required: false,\n schema: additionalProps === true ? {} : additionalProps,\n kind: 'additionalProperties'\n }, $ref + '/additionalProperties', options));\n }\n\n return fields;\n }\n\n function getDiscriminator(schema) {\n return schema.discriminator || schema['x-discriminator'];\n } // CONCATENATED MODULE: ./src/services/models/Field.ts\n\n\n function getDefaultStyleValue(parameterLocation) {\n switch (parameterLocation) {\n case 'header':\n return 'simple';\n\n case 'query':\n return 'form';\n\n case 'path':\n return 'simple';\n\n default:\n return 'form';\n }\n }\n /**\n * Field or Parameter model ready to be used by components\n */\n\n\n var Field_FieldModel =\n /** @class */\n function () {\n function FieldModel(parser, infoOrRef, pointer, options) {\n var info = parser.deref(infoOrRef);\n this.kind = infoOrRef.kind || 'field';\n this.name = infoOrRef.name || info.name;\n this.in = info.in;\n this.required = !!info.required;\n var fieldSchema = info.schema;\n var serializationMime = '';\n\n if (!fieldSchema && info.in && info.content) {\n serializationMime = Object.keys(info.content)[0];\n fieldSchema = info.content[serializationMime] && info.content[serializationMime].schema;\n }\n\n this.schema = new Schema_SchemaModel(parser, fieldSchema || {}, pointer, options);\n this.description = info.description === undefined ? this.schema.description || '' : info.description;\n this.example = info.example || this.schema.example;\n\n if (serializationMime) {\n this.serializationMime = serializationMime;\n } else if (info.style) {\n this.style = info.style;\n } else if (this.in) {\n this.style = getDefaultStyleValue(this.in);\n }\n\n this.explode = !!info.explode;\n this.deprecated = info.deprecated === undefined ? !!this.schema.deprecated : info.deprecated;\n parser.exitRef(infoOrRef);\n\n if (options.showExtensions) {\n this.extensions = extractExtensions(info, options.showExtensions);\n }\n }\n\n FieldModel.prototype.toggle = function () {\n this.expanded = !this.expanded;\n };\n\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], FieldModel.prototype, \"expanded\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], FieldModel.prototype, \"toggle\", null);\n return FieldModel;\n }(); // EXTERNAL MODULE: external \"openapi-sampler\"\n\n\n var external_openapi_sampler_ = __webpack_require__(24); // CONCATENATED MODULE: ./src/services/models/Example.ts\n\n\n var externalExamplesCache = {};\n\n var Example_ExampleModel =\n /** @class */\n function () {\n function ExampleModel(parser, infoOrRef, mime, encoding) {\n this.mime = mime;\n var example = parser.deref(infoOrRef);\n this.value = example.value;\n this.summary = example.summary;\n this.description = example.description;\n\n if (example.externalValue) {\n this.externalValueUrl = Object(external_url_[\"resolve\"])(parser.specUrl || '', example.externalValue);\n }\n\n parser.exitRef(infoOrRef);\n\n if (isFormUrlEncoded(mime) && this.value && typeof this.value === 'object') {\n this.value = urlFormEncodePayload(this.value, encoding);\n }\n }\n\n ExampleModel.prototype.getExternalValue = function (mimeType) {\n if (!this.externalValueUrl) {\n return Promise.resolve(undefined);\n }\n\n if (externalExamplesCache[this.externalValueUrl]) {\n return externalExamplesCache[this.externalValueUrl];\n }\n\n externalExamplesCache[this.externalValueUrl] = fetch(this.externalValueUrl).then(function (res) {\n return res.text().then(function (txt) {\n if (!res.ok) {\n return Promise.reject(new Error(txt));\n }\n\n if (isJsonLike(mimeType)) {\n try {\n return JSON.parse(txt);\n } catch (e) {\n return txt;\n }\n } else {\n return txt;\n }\n });\n });\n return externalExamplesCache[this.externalValueUrl];\n };\n\n return ExampleModel;\n }(); // CONCATENATED MODULE: ./src/services/models/MediaType.ts\n\n\n var MediaType_MediaTypeModel =\n /** @class */\n function () {\n /**\n * @param isRequestType needed to know if skipe RO/RW fields in objects\n */\n function MediaTypeModel(parser, name, isRequestType, info, options) {\n this.name = name;\n this.isRequestType = isRequestType;\n this.schema = info.schema && new Schema_SchemaModel(parser, info.schema, '', options);\n this.onlyRequiredInSamples = options.onlyRequiredInSamples;\n\n if (info.examples !== undefined) {\n this.examples = mapValues(info.examples, function (example) {\n return new Example_ExampleModel(parser, example, name, info.encoding);\n });\n } else if (info.example !== undefined) {\n this.examples = {\n default: new Example_ExampleModel(parser, {\n value: parser.shalowDeref(info.example)\n }, name, info.encoding)\n };\n } else if (isJsonLike(name)) {\n this.generateExample(parser, info);\n }\n }\n\n MediaTypeModel.prototype.generateExample = function (parser, info) {\n var samplerOptions = {\n skipReadOnly: this.isRequestType,\n skipNonRequired: this.isRequestType && this.onlyRequiredInSamples,\n skipWriteOnly: !this.isRequestType\n };\n\n if (this.schema && this.schema.oneOf) {\n this.examples = {};\n\n for (var _i = 0, _a = this.schema.oneOf; _i < _a.length; _i++) {\n var subSchema = _a[_i];\n var sample = external_openapi_sampler_[\"sample\"](subSchema.rawSchema, samplerOptions, parser.spec);\n\n if (this.schema.discriminatorProp && typeof sample === 'object' && sample) {\n sample[this.schema.discriminatorProp] = subSchema.title;\n }\n\n this.examples[subSchema.title] = new Example_ExampleModel(parser, {\n value: sample\n }, this.name, info.encoding);\n }\n } else if (this.schema) {\n this.examples = {\n default: new Example_ExampleModel(parser, {\n value: external_openapi_sampler_[\"sample\"](info.schema, samplerOptions, parser.spec)\n }, this.name, info.encoding)\n };\n }\n };\n\n return MediaTypeModel;\n }(); // CONCATENATED MODULE: ./src/services/models/MediaContent.ts\n\n /**\n * MediaContent model ready to be sued by React components\n * Contains multiple MediaTypes and keeps track of the currently active one\n */\n\n\n var MediaContent_MediaContentModel =\n /** @class */\n function () {\n /**\n * @param isRequestType needed to know if skipe RO/RW fields in objects\n */\n function MediaContentModel(parser, info, isRequestType, options) {\n this.isRequestType = isRequestType;\n this.activeMimeIdx = 0;\n\n if (options.unstable_ignoreMimeParameters) {\n info = mergeSimilarMediaTypes(info);\n }\n\n this.mediaTypes = Object.keys(info).map(function (name) {\n var mime = info[name]; // reset deref cache just in case something is left there\n\n parser.resetVisited();\n return new MediaType_MediaTypeModel(parser, name, isRequestType, mime, options);\n });\n }\n /**\n * Set active media type by index\n * @param idx media type index\n */\n\n\n MediaContentModel.prototype.activate = function (idx) {\n this.activeMimeIdx = idx;\n };\n\n Object.defineProperty(MediaContentModel.prototype, \"active\", {\n get: function get() {\n return this.mediaTypes[this.activeMimeIdx];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MediaContentModel.prototype, \"hasSample\", {\n get: function get() {\n return this.mediaTypes.filter(function (mime) {\n return !!mime.examples;\n }).length > 0;\n },\n enumerable: true,\n configurable: true\n });\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], MediaContentModel.prototype, \"activeMimeIdx\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], MediaContentModel.prototype, \"activate\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"computed\"]], MediaContentModel.prototype, \"active\", null);\n return MediaContentModel;\n }(); // CONCATENATED MODULE: ./src/services/models/RequestBody.ts\n\n\n var RequestBody_RequestBodyModel =\n /** @class */\n function () {\n function RequestBodyModel(parser, infoOrRef, options) {\n var info = parser.deref(infoOrRef);\n this.description = info.description || '';\n this.required = !!info.required;\n parser.exitRef(infoOrRef);\n\n if (info.content !== undefined) {\n this.content = new MediaContent_MediaContentModel(parser, info.content, true, options);\n }\n }\n\n return RequestBodyModel;\n }(); // CONCATENATED MODULE: ./src/services/models/Response.ts\n\n\n var Response_ResponseModel =\n /** @class */\n function () {\n function ResponseModel(parser, code, defaultAsError, infoOrRef, options) {\n this.headers = [];\n this.expanded = options.expandResponses === 'all' || options.expandResponses[code];\n var info = parser.deref(infoOrRef);\n parser.exitRef(infoOrRef);\n this.code = code;\n\n if (info.content !== undefined) {\n this.content = new MediaContent_MediaContentModel(parser, info.content, false, options);\n }\n\n if (info['x-summary'] !== undefined) {\n this.summary = info['x-summary'];\n this.description = info.description || '';\n } else {\n this.summary = info.description || '';\n this.description = '';\n }\n\n this.type = getStatusCodeType(code, defaultAsError);\n var headers = info.headers;\n\n if (headers !== undefined) {\n this.headers = Object.keys(headers).map(function (name) {\n var header = headers[name];\n return new Field_FieldModel(parser, Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, header), {\n name: name\n }), '', options);\n });\n }\n }\n\n ResponseModel.prototype.toggle = function () {\n this.expanded = !this.expanded;\n };\n\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], ResponseModel.prototype, \"expanded\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], ResponseModel.prototype, \"toggle\", null);\n return ResponseModel;\n }(); // CONCATENATED MODULE: ./src/services/models/Operation.ts\n\n\n function isPayloadSample(sample) {\n return sample.lang === 'payload' && sample.requestBodyContent;\n }\n\n var isCodeSamplesWarningPrinted = false;\n /**\n * Operation model ready to be used by components\n */\n\n var Operation_OperationModel =\n /** @class */\n function () {\n function OperationModel(parser, operationSpec, parent, options, isCallback) {\n if (isCallback === void 0) {\n isCallback = false;\n }\n\n this.parser = parser;\n this.operationSpec = operationSpec;\n this.options = options;\n this.type = 'operation';\n this.items = [];\n this.ready = true;\n this.active = false;\n this.expanded = false; //#endregion\n\n this.pointer = operationSpec.pointer;\n this.description = operationSpec.description;\n this.parent = parent;\n this.externalDocs = operationSpec.externalDocs;\n this.deprecated = !!operationSpec.deprecated;\n this.httpVerb = operationSpec.httpVerb;\n this.deprecated = !!operationSpec.deprecated;\n this.operationId = operationSpec.operationId;\n this.path = operationSpec.pathName;\n this.isCallback = isCallback;\n this.name = getOperationSummary(operationSpec);\n\n if (this.isCallback) {\n // NOTE: Callbacks by default should not inherit the specification's global `security` definition.\n // Can be defined individually per-callback in the specification. Defaults to none.\n this.security = (operationSpec.security || []).map(function (security) {\n return new SecurityRequirement_SecurityRequirementModel(security, parser);\n }); // TODO: update getting pathInfo for overriding servers on path level\n\n this.servers = normalizeServers('', operationSpec.servers || operationSpec.pathServers || []);\n } else {\n this.id = operationSpec.operationId !== undefined ? 'operation/' + operationSpec.operationId : parent !== undefined ? parent.id + this.pointer : this.pointer;\n this.security = (operationSpec.security || parser.spec.security || []).map(function (security) {\n return new SecurityRequirement_SecurityRequirementModel(security, parser);\n });\n this.servers = normalizeServers(parser.specUrl, operationSpec.servers || operationSpec.pathServers || parser.spec.servers || []);\n }\n\n if (options.showExtensions) {\n this.extensions = extractExtensions(operationSpec, options.showExtensions);\n }\n }\n /**\n * set operation as active (used by side menu)\n */\n\n\n OperationModel.prototype.activate = function () {\n this.active = true;\n };\n /**\n * set operation as inactive (used by side menu)\n */\n\n\n OperationModel.prototype.deactivate = function () {\n this.active = false;\n };\n /**\n * Toggle expansion in middle panel (for callbacks, which are operations)\n */\n\n\n OperationModel.prototype.toggle = function () {\n this.expanded = !this.expanded;\n };\n\n OperationModel.prototype.expand = function () {\n if (this.parent) {\n this.parent.expand();\n }\n };\n\n OperationModel.prototype.collapse = function () {\n /* do nothing */\n };\n\n Object.defineProperty(OperationModel.prototype, \"requestBody\", {\n get: function get() {\n return this.operationSpec.requestBody && new RequestBody_RequestBodyModel(this.parser, this.operationSpec.requestBody, this.options);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(OperationModel.prototype, \"codeSamples\", {\n get: function get() {\n var samples = this.operationSpec['x-codeSamples'] || this.operationSpec['x-code-samples'] || [];\n\n if (this.operationSpec['x-code-samples'] && !isCodeSamplesWarningPrinted) {\n isCodeSamplesWarningPrinted = true;\n console.warn('\"x-code-samples\" is deprecated. Use \"x-codeSamples\" instead');\n }\n\n var requestBodyContent = this.requestBody && this.requestBody.content;\n\n if (requestBodyContent && requestBodyContent.hasSample) {\n var insertInx = Math.min(samples.length, this.options.payloadSampleIdx);\n samples = Object(external_tslib_[\"__spreadArrays\"])(samples.slice(0, insertInx), [{\n lang: 'payload',\n label: 'Payload',\n source: '',\n requestBodyContent: requestBodyContent\n }], samples.slice(insertInx));\n }\n\n return samples;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(OperationModel.prototype, \"parameters\", {\n get: function get() {\n var _this = this;\n\n var _parameters = mergeParams(this.parser, this.operationSpec.pathParameters, this.operationSpec.parameters // TODO: fix pointer\n ).map(function (paramOrRef) {\n return new Field_FieldModel(_this.parser, paramOrRef, _this.pointer, _this.options);\n });\n\n if (this.options.sortPropsAlphabetically) {\n return sortByField(_parameters, 'name');\n }\n\n if (this.options.requiredPropsFirst) {\n return sortByRequired(_parameters);\n }\n\n return _parameters;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(OperationModel.prototype, \"responses\", {\n get: function get() {\n var _this = this;\n\n var hasSuccessResponses = false;\n return Object.keys(this.operationSpec.responses || []).filter(function (code) {\n if (code === 'default') {\n return true;\n }\n\n if (getStatusCodeType(code) === 'success') {\n hasSuccessResponses = true;\n }\n\n return isStatusCode(code);\n }) // filter out other props (e.g. x-props)\n .map(function (code) {\n return new Response_ResponseModel(_this.parser, code, hasSuccessResponses, _this.operationSpec.responses[code], _this.options);\n });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(OperationModel.prototype, \"callbacks\", {\n get: function get() {\n var _this = this;\n\n return Object.keys(this.operationSpec.callbacks || []).map(function (callbackEventName) {\n return new Callback_CallbackModel(_this.parser, callbackEventName, _this.operationSpec.callbacks[callbackEventName], _this.pointer, _this.options);\n });\n },\n enumerable: true,\n configurable: true\n });\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], OperationModel.prototype, \"ready\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], OperationModel.prototype, \"active\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], OperationModel.prototype, \"expanded\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], OperationModel.prototype, \"activate\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], OperationModel.prototype, \"deactivate\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], OperationModel.prototype, \"toggle\", null);\n Object(external_tslib_[\"__decorate\"])([memoize], OperationModel.prototype, \"requestBody\", null);\n Object(external_tslib_[\"__decorate\"])([memoize], OperationModel.prototype, \"codeSamples\", null);\n Object(external_tslib_[\"__decorate\"])([memoize], OperationModel.prototype, \"parameters\", null);\n Object(external_tslib_[\"__decorate\"])([memoize], OperationModel.prototype, \"responses\", null);\n Object(external_tslib_[\"__decorate\"])([memoize], OperationModel.prototype, \"callbacks\", null);\n return OperationModel;\n }(); // CONCATENATED MODULE: ./src/services/models/index.ts\n // CONCATENATED MODULE: ./src/services/MenuBuilder.ts\n\n\n var GROUP_DEPTH = 0;\n\n var MenuBuilder_MenuBuilder =\n /** @class */\n function () {\n function MenuBuilder() {}\n /**\n * Builds page content structure based on tags\n */\n\n\n MenuBuilder.buildStructure = function (parser, options) {\n var spec = parser.spec;\n var items = [];\n var tagsMap = MenuBuilder.getTagsWithOperations(spec);\n items.push.apply(items, MenuBuilder.addMarkdownItems(spec.info.description || '', undefined, 1, options));\n\n if (spec['x-tagGroups'] && spec['x-tagGroups'].length > 0) {\n items.push.apply(items, MenuBuilder.getTagGroupsItems(parser, undefined, spec['x-tagGroups'], tagsMap, options));\n } else {\n items.push.apply(items, MenuBuilder.getTagsItems(parser, tagsMap, undefined, undefined, options));\n }\n\n return items;\n };\n /**\n * extracts items from markdown description\n * @param description - markdown source\n */\n\n\n MenuBuilder.addMarkdownItems = function (description, parent, initialDepth, options) {\n var renderer = new MarkdownRenderer_MarkdownRenderer(options);\n var headings = renderer.extractHeadings(description || '');\n\n if (headings.length && parent && parent.description) {\n parent.description = MarkdownRenderer_MarkdownRenderer.getTextBeforeHading(parent.description, headings[0].name);\n }\n\n var mapHeadingsDeep = function mapHeadingsDeep(_parent, items, depth) {\n if (depth === void 0) {\n depth = 1;\n }\n\n return items.map(function (heading) {\n var group = new Group_model_GroupModel('section', heading, _parent);\n group.depth = depth;\n\n if (heading.items) {\n group.items = mapHeadingsDeep(group, heading.items, depth + 1);\n }\n\n if (MarkdownRenderer_MarkdownRenderer.containsComponent(group.description || '', SECURITY_DEFINITIONS_COMPONENT_NAME)) {\n setSecuritySchemePrefix(group.id + '/');\n }\n\n return group;\n });\n };\n\n return mapHeadingsDeep(parent, headings, initialDepth);\n };\n /**\n * Returns array of OperationsGroup items for the tag groups (x-tagGroups vendor extension)\n * @param tags value of `x-tagGroups` vendor extension\n */\n\n\n MenuBuilder.getTagGroupsItems = function (parser, parent, groups, tags, options) {\n var res = [];\n\n for (var _i = 0, groups_1 = groups; _i < groups_1.length; _i++) {\n var group = groups_1[_i];\n var item = new Group_model_GroupModel('group', group, parent);\n item.depth = GROUP_DEPTH;\n item.items = MenuBuilder.getTagsItems(parser, tags, item, group, options);\n res.push(item);\n } // TODO checkAllTagsUsedInGroups\n\n\n return res;\n };\n /**\n * Returns array of OperationsGroup items for the tags of the group or for all tags\n * @param tagsMap tags info returned from `getTagsWithOperations`\n * @param parent parent item\n * @param group group which this tag belongs to. if not provided gets all tags\n */\n\n\n MenuBuilder.getTagsItems = function (parser, tagsMap, parent, group, options) {\n var tagNames;\n\n if (group === undefined) {\n tagNames = Object.keys(tagsMap); // all tags\n } else {\n tagNames = group.tags;\n }\n\n var tags = tagNames.map(function (tagName) {\n if (!tagsMap[tagName]) {\n console.warn(\"Non-existing tag \\\"\" + tagName + \"\\\" is added to the group \\\"\" + group.name + \"\\\"\");\n return null;\n }\n\n tagsMap[tagName].used = true;\n return tagsMap[tagName];\n });\n var res = [];\n\n for (var _i = 0, tags_1 = tags; _i < tags_1.length; _i++) {\n var tag = tags_1[_i];\n\n if (!tag) {\n continue;\n }\n\n var item = new Group_model_GroupModel('tag', tag, parent);\n item.depth = GROUP_DEPTH + 1; // don't put empty tag into content, instead put its operations\n\n if (tag.name === '') {\n var items = Object(external_tslib_[\"__spreadArrays\"])(MenuBuilder.addMarkdownItems(tag.description || '', item, item.depth + 1, options), this.getOperationsItems(parser, undefined, tag, item.depth + 1, options));\n res.push.apply(res, items);\n continue;\n }\n\n item.items = Object(external_tslib_[\"__spreadArrays\"])(MenuBuilder.addMarkdownItems(tag.description || '', item, item.depth + 1, options), this.getOperationsItems(parser, item, tag, item.depth + 1, options));\n res.push(item);\n }\n\n return res;\n };\n /**\n * Returns array of Operation items for the tag\n * @param parent parent OperationsGroup\n * @param tag tag info returned from `getTagsWithOperations`\n * @param depth items depth\n */\n\n\n MenuBuilder.getOperationsItems = function (parser, parent, tag, depth, options) {\n if (tag.operations.length === 0) {\n return [];\n }\n\n var res = [];\n\n for (var _i = 0, _a = tag.operations; _i < _a.length; _i++) {\n var operationInfo = _a[_i];\n var operation = new Operation_OperationModel(parser, operationInfo, parent, options);\n operation.depth = depth;\n res.push(operation);\n }\n\n return res;\n };\n /**\n * collects tags and maps each tag to list of operations belonging to this tag\n */\n\n\n MenuBuilder.getTagsWithOperations = function (spec) {\n var tags = {};\n\n for (var _i = 0, _a = spec.tags || []; _i < _a.length; _i++) {\n var tag = _a[_i];\n tags[tag.name] = Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, tag), {\n operations: []\n });\n }\n\n var paths = spec.paths;\n\n for (var _b = 0, _c = Object.keys(paths); _b < _c.length; _b++) {\n var pathName = _c[_b];\n var path = paths[pathName];\n var operations = Object.keys(path).filter(isOperationName);\n\n for (var _d = 0, operations_1 = operations; _d < operations_1.length; _d++) {\n var operationName = operations_1[_d];\n var operationInfo = path[operationName];\n var operationTags = operationInfo.tags;\n\n if (!operationTags || !operationTags.length) {\n // empty tag\n operationTags = [''];\n }\n\n for (var _e = 0, operationTags_1 = operationTags; _e < operationTags_1.length; _e++) {\n var tagName = operationTags_1[_e];\n var tag = tags[tagName];\n\n if (tag === undefined) {\n tag = {\n name: tagName,\n operations: []\n };\n tags[tagName] = tag;\n }\n\n if (tag['x-traitTag']) {\n continue;\n }\n\n tag.operations.push(Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, operationInfo), {\n pathName: pathName,\n pointer: JsonPointer_JsonPointer.compile(['paths', pathName, operationName]),\n httpVerb: operationName,\n pathParameters: path.parameters || [],\n pathServers: path.servers\n }));\n }\n }\n }\n\n return tags;\n };\n\n return MenuBuilder;\n }(); // CONCATENATED MODULE: ./src/services/MenuStore.ts\n\n\n var SECTION_ATTR = 'data-section-id';\n /**\n * Stores all side-menu related information\n */\n\n var MenuStore_MenuStore =\n /** @class */\n function () {\n /**\n *\n * @param spec [SpecStore](#SpecStore) which contains page content structure\n * @param scroll scroll service instance used by this menu\n */\n function MenuStore(spec, scroll, history) {\n var _this = this;\n\n this.scroll = scroll;\n this.history = history;\n /**\n * active item absolute index (when flattened). -1 means nothing is selected\n */\n\n this.activeItemIdx = -1;\n /**\n * whether sidebar with menu is opened or not\n */\n\n this.sideBarOpened = false;\n /**\n * update active items on scroll\n * @param isScrolledDown whether last scroll was downside\n */\n\n this.updateOnScroll = function (isScrolledDown) {\n var step = isScrolledDown ? 1 : -1;\n var itemIdx = _this.activeItemIdx;\n\n while (true) {\n if (itemIdx === -1 && !isScrolledDown) {\n break;\n }\n\n if (itemIdx >= _this.flatItems.length - 1 && isScrolledDown) {\n break;\n }\n\n if (isScrolledDown) {\n var el = _this.getElementAtOrFirstChild(itemIdx + 1);\n\n if (_this.scroll.isElementBellow(el)) {\n break;\n }\n } else {\n var el = _this.getElementAt(itemIdx);\n\n if (_this.scroll.isElementAbove(el)) {\n break;\n }\n }\n\n itemIdx += step;\n }\n\n _this.activate(_this.flatItems[itemIdx], true, true);\n };\n /**\n * update active items on hash change\n * @param id current hash\n */\n\n\n this.updateOnHistory = function (id) {\n if (id === void 0) {\n id = _this.history.currentId;\n }\n\n if (!id) {\n return;\n }\n\n var item;\n item = _this.flatItems.find(function (i) {\n return i.id === id;\n });\n\n if (item) {\n _this.activateAndScroll(item, false);\n } else {\n if (id.startsWith(SECURITY_SCHEMES_SECTION_PREFIX)) {\n item = _this.flatItems.find(function (i) {\n return SECURITY_SCHEMES_SECTION_PREFIX.startsWith(i.id);\n });\n\n _this.activate(item);\n }\n\n _this.scroll.scrollIntoViewBySelector(\"[\" + SECTION_ATTR + \"=\\\"\" + id + \"\\\"]\");\n }\n };\n\n this.getItemById = function (id) {\n return _this.flatItems.find(function (item) {\n return item.id === id;\n });\n };\n\n this.items = spec.contentItems;\n this.flatItems = flattenByProp(this.items || [], 'items');\n this.flatItems.forEach(function (item, idx) {\n return item.absoluteIdx = idx;\n });\n this.subscribe();\n }\n /**\n * Statically try update scroll position\n * Used before hydrating from server-side rendered html to scroll page faster\n */\n\n\n MenuStore.updateOnHistory = function (id, scroll) {\n if (id === void 0) {\n id = HistoryService_history.currentId;\n }\n\n if (!id) {\n return;\n }\n\n scroll.scrollIntoViewBySelector(\"[\" + SECTION_ATTR + \"=\\\"\" + id + \"\\\"]\");\n };\n\n MenuStore.prototype.subscribe = function () {\n this._unsubscribe = this.scroll.subscribe(this.updateOnScroll);\n this._hashUnsubscribe = this.history.subscribe(this.updateOnHistory);\n };\n\n MenuStore.prototype.toggleSidebar = function () {\n this.sideBarOpened = this.sideBarOpened ? false : true;\n };\n\n MenuStore.prototype.closeSidebar = function () {\n this.sideBarOpened = false;\n };\n /**\n * get section/operation DOM Node related to the item or null if it doesn't exist\n * @param idx item absolute index\n */\n\n\n MenuStore.prototype.getElementAt = function (idx) {\n var item = this.flatItems[idx];\n return item && querySelector(\"[\" + SECTION_ATTR + \"=\\\"\" + item.id + \"\\\"]\") || null;\n };\n /**\n * get section/operation DOM Node related to the item or if it is group item, returns first item of the group\n * @param idx item absolute index\n */\n\n\n MenuStore.prototype.getElementAtOrFirstChild = function (idx) {\n var item = this.flatItems[idx];\n\n if (item && item.type === 'group') {\n item = item.items[0];\n }\n\n return item && querySelector(\"[\" + SECTION_ATTR + \"=\\\"\" + item.id + \"\\\"]\") || null;\n };\n\n Object.defineProperty(MenuStore.prototype, \"activeItem\", {\n /**\n * current active item\n */\n get: function get() {\n return this.flatItems[this.activeItemIdx] || undefined;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * activate menu item\n * @param item item to activate\n * @param updateLocation [true] whether to update location\n * @param rewriteHistory [false] whether to rewrite browser history (do not create new entry)\n */\n\n MenuStore.prototype.activate = function (item, updateLocation, rewriteHistory) {\n if (updateLocation === void 0) {\n updateLocation = true;\n }\n\n if (rewriteHistory === void 0) {\n rewriteHistory = false;\n }\n\n if ((this.activeItem && this.activeItem.id) === (item && item.id)) {\n return;\n }\n\n if (item && item.type === 'group') {\n return;\n }\n\n this.deactivate(this.activeItem);\n\n if (!item) {\n this.history.replace('', rewriteHistory);\n return;\n } // do not allow activating group items\n // TODO: control over options\n\n\n if (item.depth <= GROUP_DEPTH) {\n return;\n }\n\n this.activeItemIdx = item.absoluteIdx;\n\n if (updateLocation) {\n this.history.replace(item.id, rewriteHistory);\n }\n\n item.activate();\n item.expand();\n };\n /**\n * makes item and all the parents not active\n * @param item item to deactivate\n */\n\n\n MenuStore.prototype.deactivate = function (item) {\n if (item === undefined) {\n return;\n }\n\n item.deactivate();\n\n while (item !== undefined) {\n item.collapse();\n item = item.parent;\n }\n };\n /**\n * activate menu item and scroll to it\n * @see MenuStore.activate\n */\n\n\n MenuStore.prototype.activateAndScroll = function (item, updateLocation, rewriteHistory) {\n // item here can be a copy from search results so find corresponding item from menu\n var menuItem = item && this.getItemById(item.id) || item;\n this.activate(menuItem, updateLocation, rewriteHistory);\n this.scrollToActive();\n\n if (!menuItem || !menuItem.items.length) {\n this.closeSidebar();\n }\n };\n /**\n * scrolls to active section\n */\n\n\n MenuStore.prototype.scrollToActive = function () {\n this.scroll.scrollIntoView(this.getElementAt(this.activeItemIdx));\n };\n\n MenuStore.prototype.dispose = function () {\n this._unsubscribe();\n\n this._hashUnsubscribe();\n };\n\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], MenuStore.prototype, \"activeItemIdx\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"observable\"]], MenuStore.prototype, \"sideBarOpened\", void 0);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], MenuStore.prototype, \"toggleSidebar\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], MenuStore.prototype, \"closeSidebar\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"]], MenuStore.prototype, \"activate\", null);\n Object(external_tslib_[\"__decorate\"])([external_mobx_[\"action\"].bound], MenuStore.prototype, \"activateAndScroll\", null);\n return MenuStore;\n }(); // CONCATENATED MODULE: ./src/services/ScrollService.ts\n\n\n var ScrollService_EVENT = 'scroll';\n\n var ScrollService_ScrollService =\n /** @class */\n function () {\n function ScrollService(options) {\n this.options = options;\n this._prevOffsetY = 0;\n this._scrollParent = IS_BROWSER ? window : undefined;\n this._emiter = new external_eventemitter3_();\n this.bind();\n }\n\n ScrollService.prototype.bind = function () {\n this._prevOffsetY = this.scrollY();\n\n if (this._scrollParent) {\n this._scrollParent.addEventListener('scroll', this.handleScroll);\n }\n };\n\n ScrollService.prototype.dispose = function () {\n if (this._scrollParent) {\n this._scrollParent.removeEventListener('scroll', this.handleScroll);\n }\n\n this._emiter.removeAllListeners(ScrollService_EVENT);\n };\n\n ScrollService.prototype.scrollY = function () {\n if (typeof HTMLElement !== 'undefined' && this._scrollParent instanceof HTMLElement) {\n return this._scrollParent.scrollTop;\n } else if (this._scrollParent !== undefined) {\n return this._scrollParent.pageYOffset;\n } else {\n return 0;\n }\n };\n\n ScrollService.prototype.isElementBellow = function (el) {\n if (el === null) {\n return;\n }\n\n return el.getBoundingClientRect().top > this.options.scrollYOffset();\n };\n\n ScrollService.prototype.isElementAbove = function (el) {\n if (el === null) {\n return;\n }\n\n var top = el.getBoundingClientRect().top;\n return (top > 0 ? Math.floor(top) : Math.ceil(top)) <= this.options.scrollYOffset();\n };\n\n ScrollService.prototype.subscribe = function (cb) {\n var emmiter = this._emiter.addListener(ScrollService_EVENT, cb);\n\n return function () {\n return emmiter.removeListener(ScrollService_EVENT, cb);\n };\n };\n\n ScrollService.prototype.scrollIntoView = function (element) {\n if (element === null) {\n return;\n }\n\n element.scrollIntoView();\n\n if (this._scrollParent && this._scrollParent.scrollBy) {\n // adding 1 account rounding errors in case scrollYOffset is float-number\n this._scrollParent.scrollBy(0, -this.options.scrollYOffset() + 1);\n }\n };\n\n ScrollService.prototype.scrollIntoViewBySelector = function (selector) {\n var element = querySelector(selector);\n this.scrollIntoView(element);\n };\n\n ScrollService.prototype.handleScroll = function () {\n var scrollY = this.scrollY();\n var isScrolledDown = scrollY - this._prevOffsetY > 0;\n this._prevOffsetY = this.scrollY();\n\n this._emiter.emit(ScrollService_EVENT, isScrolledDown);\n };\n\n Object(external_tslib_[\"__decorate\"])([external_decko_[\"bind\"], Throttle(100)], ScrollService.prototype, \"handleScroll\", null);\n return ScrollService;\n }(); // CONCATENATED MODULE: ./src/services/SearchStore.ts\n\n\n function getWorker() {\n var worker;\n\n if (IS_BROWSER) {\n try {\n // tslint:disable-next-line\n worker = __webpack_require__(77);\n } catch (e) {\n worker = __webpack_require__(34).default;\n }\n } else {\n worker = __webpack_require__(34).default;\n }\n\n return new worker();\n }\n\n var SearchStore_SearchStore =\n /** @class */\n function () {\n function SearchStore() {\n this.searchWorker = getWorker();\n }\n\n SearchStore.prototype.indexItems = function (groups) {\n var _this = this;\n\n var recurse = function recurse(items) {\n items.forEach(function (group) {\n if (group.type !== 'group') {\n _this.add(group.name, group.description || '', group.id);\n }\n\n recurse(group.items);\n });\n };\n\n recurse(groups);\n this.searchWorker.done();\n };\n\n SearchStore.prototype.add = function (title, body, meta) {\n this.searchWorker.add(title, body, meta);\n };\n\n SearchStore.prototype.dispose = function () {\n this.searchWorker.terminate();\n };\n\n SearchStore.prototype.search = function (q) {\n return this.searchWorker.search(q);\n };\n\n SearchStore.prototype.toJS = function () {\n return Object(external_tslib_[\"__awaiter\"])(this, void 0, void 0, function () {\n return Object(external_tslib_[\"__generator\"])(this, function (_a) {\n return [2\n /*return*/\n , this.searchWorker.toJS()];\n });\n });\n };\n\n SearchStore.prototype.load = function (state) {\n this.searchWorker.load(state);\n };\n\n return SearchStore;\n }(); // CONCATENATED MODULE: ./src/common-elements/panels.ts\n\n\n var MiddlePanel = styled_components.div(panels_templateObject_2 || (panels_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: calc(100% - \", \");\\n padding: 0 \", \"px;\\n\\n \", \";\\n\"], [\"\\n width: calc(100% - \", \");\\n padding: 0 \", \"px;\\n\\n \", \";\\n\"])), function (props) {\n return props.theme.rightPanel.width;\n }, function (props) {\n return props.theme.spacing.sectionHorizontal;\n }, function (_a) {\n var compact = _a.compact,\n theme = _a.theme;\n return media.lessThan('medium', true)(panels_templateObject_1 || (panels_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: 100%;\\n padding: \", \";\\n \"], [\"\\n width: 100%;\\n padding: \", \";\\n \"])), (compact ? 0 : theme.spacing.sectionVertical) + \"px \" + theme.spacing.sectionHorizontal + \"px\");\n });\n var Section = styled_components.div.attrs(function (props) {\n var _a;\n\n return _a = {}, _a[SECTION_ATTR] = props.id, _a;\n })(templateObject_4 || (templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: \", \"px 0;\\n\\n &:last-child {\\n min-height: calc(100vh + 1px);\\n }\\n\\n & > &:last-child {\\n min-height: initial;\\n }\\n\\n \", \"\\n \", \"\\n\"], [\"\\n padding: \", \"px 0;\\n\\n &:last-child {\\n min-height: calc(100vh + 1px);\\n }\\n\\n & > &:last-child {\\n min-height: initial;\\n }\\n\\n \", \"\\n \", \"\\n\"])), function (props) {\n return props.theme.spacing.sectionVertical;\n }, media.lessThan('medium', true)(panels_templateObject_3 || (panels_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 0;\\n \"], [\"\\n padding: 0;\\n \"]))), function (props) {\n return props.underlined && \"\\n position: relative;\\n\\n &:not(:last-of-type):after {\\n position: absolute;\\n bottom: 0;\\n width: 100%;\\n display: block;\\n content: '';\\n border-bottom: 1px solid rgba(0, 0, 0, 0.2);\\n }\\n \" || '';\n });\n var RightPanel = styled_components.div(templateObject_6 || (templateObject_6 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: \", \";\\n color: \", \";\\n background-color: \", \";\\n padding: 0 \", \"px;\\n\\n \", \";\\n\"], [\"\\n width: \", \";\\n color: \", \";\\n background-color: \", \";\\n padding: 0 \", \"px;\\n\\n \", \";\\n\"])), function (props) {\n return props.theme.rightPanel.width;\n }, function (_a) {\n var theme = _a.theme;\n return theme.rightPanel.textColor;\n }, function (props) {\n return props.theme.rightPanel.backgroundColor;\n }, function (props) {\n return props.theme.spacing.sectionHorizontal;\n }, media.lessThan('medium', true)(templateObject_5 || (templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: 100%;\\n padding: \", \";\\n \"], [\"\\n width: 100%;\\n padding: \", \";\\n \"])), function (props) {\n return props.theme.spacing.sectionVertical + \"px \" + props.theme.spacing.sectionHorizontal + \"px\";\n }));\n var DarkRightPanel = styled_components(RightPanel)(templateObject_7 || (templateObject_7 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n background-color: \", \";\\n\"], [\"\\n background-color: \", \";\\n\"])), function (props) {\n return props.theme.rightPanel.backgroundColor;\n });\n var Row = styled_components.div(templateObject_9 || (templateObject_9 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: flex;\\n width: 100%;\\n padding: 0;\\n\\n \", \";\\n\"], [\"\\n display: flex;\\n width: 100%;\\n padding: 0;\\n\\n \", \";\\n\"])), media.lessThan('medium', true)(templateObject_8 || (templateObject_8 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n flex-direction: column;\\n \"], [\"\\n flex-direction: column;\\n \"]))));\n var panels_templateObject_1, panels_templateObject_2, panels_templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9; // CONCATENATED MODULE: ./src/common-elements/headers.ts\n\n var headerFontSize = {\n 1: '1.85714em',\n 2: '1.57143em',\n 3: '1.27em'\n };\n\n var headerCommonMixin = function headerCommonMixin(level) {\n return css(headers_templateObject_1 || (headers_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-family: \", \";\\n font-weight: \", \";\\n font-size: \", \";\\n line-height: \", \";\\n\"], [\"\\n font-family: \", \";\\n font-weight: \", \";\\n font-size: \", \";\\n line-height: \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.typography.headings.fontFamily;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.headings.fontWeight;\n }, headerFontSize[level], function (_a) {\n var theme = _a.theme;\n return theme.typography.headings.lineHeight;\n });\n };\n\n var H1 = styled_components.h1(headers_templateObject_2 || (headers_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n color: \", \";\\n\\n \", \";\\n\"], [\"\\n \", \";\\n color: \", \";\\n\\n \", \";\\n\"])), headerCommonMixin(1), function (_a) {\n var theme = _a.theme;\n return theme.colors.primary.main;\n }, extensionsHook('H1'));\n var H2 = styled_components.h2(headers_templateObject_3 || (headers_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n color: black;\\n\\n \", \";\\n\"], [\"\\n \", \";\\n color: black;\\n\\n \", \";\\n\"])), headerCommonMixin(2), extensionsHook('H2'));\n var H3 = styled_components.h2(headers_templateObject_4 || (headers_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n color: black;\\n\\n \", \";\\n\"], [\"\\n \", \";\\n color: black;\\n\\n \", \";\\n\"])), headerCommonMixin(3), extensionsHook('H3'));\n var RightPanelHeader = styled_components.h3(headers_templateObject_5 || (headers_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n\\n \", \";\\n\"], [\"\\n color: \", \";\\n\\n \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.rightPanel.textColor;\n }, extensionsHook('RightPanelHeader'));\n var UnderlinedHeader = styled_components.h5(headers_templateObject_6 || (headers_templateObject_6 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n border-bottom: 1px solid rgba(38, 50, 56, 0.3);\\n margin: 1em 0 1em 0;\\n color: rgba(38, 50, 56, 0.5);\\n font-weight: normal;\\n text-transform: uppercase;\\n font-size: 0.929em;\\n line-height: 20px;\\n\\n \", \";\\n\"], [\"\\n border-bottom: 1px solid rgba(38, 50, 56, 0.3);\\n margin: 1em 0 1em 0;\\n color: rgba(38, 50, 56, 0.5);\\n font-weight: normal;\\n text-transform: uppercase;\\n font-size: 0.929em;\\n line-height: 20px;\\n\\n \", \";\\n\"])), extensionsHook('UnderlinedHeader'));\n var headers_templateObject_1, headers_templateObject_2, headers_templateObject_3, headers_templateObject_4, headers_templateObject_5, headers_templateObject_6; // EXTERNAL MODULE: ./node_modules/memoize-one/dist/memoize-one.cjs.js\n\n var memoize_one_cjs = __webpack_require__(39); // CONCATENATED MODULE: ./src/components/StoreBuilder.ts\n // fixme: https://github.com/alexreardon/memoize-one/issues/37\n\n\n var StoreBuilder_a = Object(external_react_[\"createContext\"])(undefined),\n Provider = StoreBuilder_a.Provider,\n Consumer = StoreBuilder_a.Consumer;\n\n var StoreBuilder_StoreBuilder =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(StoreBuilder, _super);\n\n function StoreBuilder() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.state = {\n loading: true,\n resolvedSpec: null\n };\n return _this;\n }\n\n StoreBuilder.getDerivedStateFromProps = function (nextProps, prevState) {\n if (nextProps.specUrl !== prevState.prevSpecUrl || nextProps.spec !== prevState.prevSpec) {\n return {\n loading: true,\n resolvedSpec: null,\n prevSpec: nextProps.spec,\n prevSpecUrl: nextProps.specUrl\n };\n }\n\n return null;\n };\n\n StoreBuilder.prototype.makeStore = function (spec, specUrl, options) {\n if (!spec) {\n return undefined;\n }\n\n try {\n return new AppStore_AppStore(spec, specUrl, options);\n } catch (e) {\n if (this.props.onLoaded) {\n this.props.onLoaded(e);\n }\n\n throw e;\n }\n };\n\n StoreBuilder.prototype.componentDidMount = function () {\n this.load();\n };\n\n StoreBuilder.prototype.componentDidUpdate = function () {\n if (this.state.resolvedSpec === null) {\n this.load();\n } else if (!this.state.loading && this.props.onLoaded) {\n // may run multiple time\n this.props.onLoaded();\n }\n };\n\n StoreBuilder.prototype.load = function () {\n return Object(external_tslib_[\"__awaiter\"])(this, void 0, void 0, function () {\n var _a, specUrl, spec, resolvedSpec, e_1;\n\n return Object(external_tslib_[\"__generator\"])(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = this.props, specUrl = _a.specUrl, spec = _a.spec;\n _b.label = 1;\n\n case 1:\n _b.trys.push([1, 3,, 4]);\n\n return [4\n /*yield*/\n , loadAndBundleSpec(spec || specUrl)];\n\n case 2:\n resolvedSpec = _b.sent();\n this.setState({\n resolvedSpec: resolvedSpec,\n loading: false\n });\n return [3\n /*break*/\n , 4];\n\n case 3:\n e_1 = _b.sent();\n\n if (this.props.onLoaded) {\n this.props.onLoaded(e_1);\n }\n\n this.setState({\n error: e_1\n });\n return [3\n /*break*/\n , 4];\n\n case 4:\n return [2\n /*return*/\n ];\n }\n });\n });\n };\n\n StoreBuilder.prototype.render = function () {\n if (this.state.error) {\n throw this.state.error;\n }\n\n var _a = this.props,\n specUrl = _a.specUrl,\n options = _a.options;\n var _b = this.state,\n loading = _b.loading,\n resolvedSpec = _b.resolvedSpec;\n return this.props.children({\n loading: loading,\n store: this.makeStore(resolvedSpec, specUrl, options)\n });\n };\n\n Object(external_tslib_[\"__decorate\"])([memoize_one_cjs], StoreBuilder.prototype, \"makeStore\", null);\n return StoreBuilder;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/common-elements/linkify.tsx\n\n\n var linkifyMixin = function linkifyMixin(className) {\n return css(linkify_templateObject_1 || (linkify_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \" {\\n cursor: pointer;\\n margin-left: -20px;\\n padding: 0;\\n line-height: 1;\\n width: 20px;\\n display: inline-block;\\n }\\n \", \":before {\\n content: '';\\n width: 15px;\\n height: 15px;\\n background-size: contain;\\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy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+Cg==');\\n opacity: 0.5;\\n visibility: hidden;\\n display: inline-block;\\n vertical-align: middle;\\n }\\n\\n h1:hover > \", \"::before, h2:hover > \", \"::before, \", \":hover::before {\\n visibility: visible;\\n }\\n\"], [\"\\n \", \" {\\n cursor: pointer;\\n margin-left: -20px;\\n padding: 0;\\n line-height: 1;\\n width: 20px;\\n display: inline-block;\\n }\\n \", \":before {\\n content: '';\\n width: 15px;\\n height: 15px;\\n background-size: contain;\\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==');\\n opacity: 0.5;\\n visibility: hidden;\\n display: inline-block;\\n vertical-align: middle;\\n }\\n\\n h1:hover > \", \"::before, h2:hover > \", \"::before, \", \":hover::before {\\n visibility: visible;\\n }\\n\"])), className, className, className, className, className);\n };\n\n var isModifiedEvent = function isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n };\n\n var linkify_Link =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Link, _super);\n\n function Link() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.navigate = function (history, event) {\n if (!event.defaultPrevented && // onClick prevented default\n event.button === 0 && // ignore everything but left clicks\n !isModifiedEvent(event) // ignore clicks with modifier keys\n ) {\n event.preventDefault();\n history.replace(_this.props.to);\n }\n };\n\n return _this;\n }\n\n Link.prototype.render = function () {\n var _this = this;\n\n return external_react_[\"createElement\"](Consumer, null, function (store) {\n return external_react_[\"createElement\"](\"a\", {\n className: _this.props.className,\n href: store.menu.history.linkForId(_this.props.to),\n onClick: _this.navigate.bind(_this, store.menu.history)\n }, _this.props.children);\n });\n };\n\n return Link;\n }(external_react_[\"Component\"]);\n\n var StyledShareLink = styled_components(linkify_Link)(linkify_templateObject_2 || (linkify_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n\"], [\"\\n \", \";\\n\"])), linkifyMixin('&'));\n\n function ShareLink(props) {\n return external_react_[\"createElement\"](StyledShareLink, {\n to: props.to\n });\n }\n\n var linkify_templateObject_1, linkify_templateObject_2; // CONCATENATED MODULE: ./src/common-elements/shelfs.tsx\n\n var directionMap = {\n left: '90deg',\n right: '-90deg',\n up: '-180deg',\n down: '0'\n };\n\n var shelfs_IntShelfIcon =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(IntShelfIcon, _super);\n\n function IntShelfIcon() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n IntShelfIcon.prototype.render = function () {\n return external_react_[\"createElement\"](\"svg\", {\n className: this.props.className,\n style: this.props.style,\n version: \"1.1\",\n viewBox: \"0 0 24 24\",\n x: \"0\",\n xmlns: \"http://www.w3.org/2000/svg\",\n y: \"0\"\n }, external_react_[\"createElement\"](\"polygon\", {\n points: \"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 \"\n }));\n };\n\n return IntShelfIcon;\n }(external_react_[\"PureComponent\"]);\n\n var ShelfIcon = styled_components(shelfs_IntShelfIcon)(shelfs_templateObject_1 || (shelfs_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n height: \", \";\\n width: \", \";\\n vertical-align: middle;\\n float: \", \";\\n transition: transform 0.2s ease-out;\\n transform: rotateZ(\", \");\\n\\n polygon {\\n fill: \", \";\\n }\\n\"], [\"\\n height: \", \";\\n width: \", \";\\n vertical-align: middle;\\n float: \", \";\\n transition: transform 0.2s ease-out;\\n transform: rotateZ(\", \");\\n\\n polygon {\\n fill: \", \";\\n }\\n\"])), function (props) {\n return props.size || '18px';\n }, function (props) {\n return props.size || '18px';\n }, function (props) {\n return props.float || '';\n }, function (props) {\n return directionMap[props.direction || 'down'];\n }, function (props) {\n return props.color && props.theme.colors[props.color] && props.theme.colors[props.color].main || props.color;\n });\n var Badge = styled_components.span(shelfs_templateObject_2 || (shelfs_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: inline-block;\\n padding: 0 5px;\\n margin: 0;\\n background-color: \", \";\\n color: \", \";\\n font-size: \", \";\\n vertical-align: text-top;\\n\"], [\"\\n display: inline-block;\\n padding: 0 5px;\\n margin: 0;\\n background-color: \", \";\\n color: \", \";\\n font-size: \", \";\\n vertical-align: text-top;\\n\"])), function (props) {\n return props.theme.colors[props.type].main;\n }, function (props) {\n return props.theme.colors[props.type].contrastText;\n }, function (props) {\n return props.theme.typography.code.fontSize;\n });\n var shelfs_templateObject_1, shelfs_templateObject_2; // CONCATENATED MODULE: ./src/common-elements/mixins.ts\n\n var deprecatedCss = css(mixins_templateObject_1 || (mixins_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n text-decoration: line-through;\\n color: #bdccd3;\\n\"], [\"\\n text-decoration: line-through;\\n color: #bdccd3;\\n\"])));\n var mixins_templateObject_1; // CONCATENATED MODULE: ./src/common-elements/fields-layout.ts\n // import { transparentize } from 'polished';\n\n var PropertiesTableCaption = styled_components.caption(fields_layout_templateObject_1 || (fields_layout_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n text-align: right;\\n font-size: 0.9em;\\n font-weight: normal;\\n color: \", \";\\n\"], [\"\\n text-align: right;\\n font-size: 0.9em;\\n font-weight: normal;\\n color: \", \";\\n\"])), function (props) {\n return props.theme.colors.text.secondary;\n });\n var PropertyCell = styled_components.td(fields_layout_templateObject_2 || (fields_layout_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n border-left: 1px solid \", \";\\n box-sizing: border-box;\\n position: relative;\\n padding: 10px 10px 10px 0;\\n\\n tr:first-of-type > &,\\n tr.last > & {\\n border-left-width: 0;\\n background-position: top left;\\n background-repeat: no-repeat;\\n background-size: 1px 100%;\\n }\\n\\n tr:first-of-type > & {\\n background-image: linear-gradient(\\n to bottom,\\n transparent 0%,\\n transparent 22px,\\n \", \" 22px,\\n \", \" 100%\\n );\\n }\\n\\n tr.last > & {\\n background-image: linear-gradient(\\n to bottom,\\n \", \" 0%,\\n \", \" 22px,\\n transparent 22px,\\n transparent 100%\\n );\\n }\\n\\n tr.last + tr > & {\\n border-left-color: transparent;\\n }\\n\\n tr.last:first-child > & {\\n background: none;\\n border-left-color: transparent;\\n }\\n\"], [\"\\n border-left: 1px solid \", \";\\n box-sizing: border-box;\\n position: relative;\\n padding: 10px 10px 10px 0;\\n\\n tr:first-of-type > &,\\n tr.last > & {\\n border-left-width: 0;\\n background-position: top left;\\n background-repeat: no-repeat;\\n background-size: 1px 100%;\\n }\\n\\n tr:first-of-type > & {\\n background-image: linear-gradient(\\n to bottom,\\n transparent 0%,\\n transparent 22px,\\n \", \" 22px,\\n \", \" 100%\\n );\\n }\\n\\n tr.last > & {\\n background-image: linear-gradient(\\n to bottom,\\n \", \" 0%,\\n \", \" 22px,\\n transparent 22px,\\n transparent 100%\\n );\\n }\\n\\n tr.last + tr > & {\\n border-left-color: transparent;\\n }\\n\\n tr.last:first-child > & {\\n background: none;\\n border-left-color: transparent;\\n }\\n\"])), function (props) {\n return props.theme.schema.linesColor;\n }, function (props) {\n return props.theme.schema.linesColor;\n }, function (props) {\n return props.theme.schema.linesColor;\n }, function (props) {\n return props.theme.schema.linesColor;\n }, function (props) {\n return props.theme.schema.linesColor;\n });\n var PropertyCellWithInner = styled_components(PropertyCell)(fields_layout_templateObject_3 || (fields_layout_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 0;\\n\"], [\"\\n padding: 0;\\n\"])));\n var PropertyNameCell = styled_components(PropertyCell)(fields_layout_templateObject_4 || (fields_layout_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n vertical-align: top;\\n line-height: 20px;\\n white-space: nowrap;\\n font-size: 0.929em;\\n font-family: \", \";\\n\\n &.deprecated {\\n \", \";\\n }\\n\\n \", \";\\n\\n \", \";\\n\"], [\"\\n vertical-align: top;\\n line-height: 20px;\\n white-space: nowrap;\\n font-size: 0.929em;\\n font-family: \", \";\\n\\n &.deprecated {\\n \", \";\\n }\\n\\n \", \";\\n\\n \", \";\\n\"])), function (props) {\n return props.theme.typography.code.fontFamily;\n }, deprecatedCss, function (_a) {\n var kind = _a.kind;\n return kind !== 'field' ? 'font-style: italic' : '';\n }, extensionsHook('PropertyNameCell'));\n var PropertyDetailsCell = styled_components.td(fields_layout_templateObject_5 || (fields_layout_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n border-bottom: 1px solid #9fb4be;\\n padding: 10px 0;\\n width: \", \";\\n box-sizing: border-box;\\n\\n tr.expanded & {\\n border-bottom: none;\\n }\\n\"], [\"\\n border-bottom: 1px solid #9fb4be;\\n padding: 10px 0;\\n width: \", \";\\n box-sizing: border-box;\\n\\n tr.expanded & {\\n border-bottom: none;\\n }\\n\"])), function (props) {\n return props.theme.schema.defaultDetailsWidth;\n });\n var PropertyBullet = styled_components.span(fields_layout_templateObject_6 || (fields_layout_templateObject_6 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n font-family: \", \";\\n margin-right: 10px;\\n\\n &::before {\\n content: '';\\n display: inline-block;\\n vertical-align: middle;\\n width: 10px;\\n height: 1px;\\n background: \", \";\\n }\\n\\n &::after {\\n content: '';\\n display: inline-block;\\n vertical-align: middle;\\n width: 1px;\\n background: \", \";\\n height: 7px;\\n }\\n\"], [\"\\n color: \", \";\\n font-family: \", \";\\n margin-right: 10px;\\n\\n &::before {\\n content: '';\\n display: inline-block;\\n vertical-align: middle;\\n width: 10px;\\n height: 1px;\\n background: \", \";\\n }\\n\\n &::after {\\n content: '';\\n display: inline-block;\\n vertical-align: middle;\\n width: 1px;\\n background: \", \";\\n height: 7px;\\n }\\n\"])), function (props) {\n return props.theme.schema.linesColor;\n }, function (props) {\n return props.theme.typography.code.fontFamily;\n }, function (props) {\n return props.theme.schema.linesColor;\n }, function (props) {\n return props.theme.schema.linesColor;\n });\n var InnerPropertiesWrap = styled_components.div(fields_layout_templateObject_7 || (fields_layout_templateObject_7 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: \", \";\\n\"], [\"\\n padding: \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.schema.nestingSpacing;\n });\n var PropertiesTable = styled_components.table(fields_layout_templateObject_8 || (fields_layout_templateObject_8 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n border-collapse: separate;\\n border-radius: 3px;\\n font-size: \", \";\\n\\n border-spacing: 0;\\n width: 100%;\\n\\n > tr {\\n vertical-align: middle;\\n }\\n\\n &\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \"\\n \", \"\\n \", \" {\\n margin: \", \";\\n margin-right: 0;\\n background: \", \";\\n }\\n\\n &\\n \", \"\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \"\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \"\\n \", \"\\n \", \"\\n \", \" {\\n background: #ffffff;\\n }\\n\"], [\"\\n border-collapse: separate;\\n border-radius: 3px;\\n font-size: \", \";\\n\\n border-spacing: 0;\\n width: 100%;\\n\\n > tr {\\n vertical-align: middle;\\n }\\n\\n &\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \"\\n \", \"\\n \", \" {\\n margin: \", \";\\n margin-right: 0;\\n background: \", \";\\n }\\n\\n &\\n \", \"\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \"\\n \", \",\\n &\\n \", \"\\n \", \"\\n \", \"\\n \", \"\\n \", \"\\n \", \" {\\n background: #ffffff;\\n }\\n\"])), function (props) {\n return props.theme.typography.fontSize;\n }, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, function (_a) {\n var theme = _a.theme;\n return theme.schema.nestingSpacing;\n }, function (_a) {\n var theme = _a.theme;\n return theme.schema.nestedBackground;\n }, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap, InnerPropertiesWrap);\n var fields_layout_templateObject_1, fields_layout_templateObject_2, fields_layout_templateObject_3, fields_layout_templateObject_4, fields_layout_templateObject_5, fields_layout_templateObject_6, fields_layout_templateObject_7, fields_layout_templateObject_8; // CONCATENATED MODULE: ./src/common-elements/schema.ts\n\n var OneOfList = styled_components.ul(schema_templateObject_1 || (schema_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin: 0 0 3px 0;\\n padding: 0;\\n list-style: none;\\n display: inline-block;\\n\"], [\"\\n margin: 0 0 3px 0;\\n padding: 0;\\n list-style: none;\\n display: inline-block;\\n\"])));\n var OneOfLabel = styled_components.span(schema_templateObject_2 || (schema_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: 0.9em;\\n margin-right: 10px;\\n color: \", \";\\n font-family: \", \";\\n}\\n\"], [\"\\n font-size: 0.9em;\\n margin-right: 10px;\\n color: \", \";\\n font-family: \", \";\\n}\\n\"])), function (props) {\n return props.theme.colors.primary.main;\n }, function (props) {\n return props.theme.typography.headings.fontFamily;\n });\n var schema_OneOfButton = styled_components.li(schema_templateObject_3 || (schema_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: inline-block;\\n margin-right: 10px;\\n margin-bottom: 5px;\\n font-size: 0.8em;\\n cursor: pointer;\\n border: 1px solid \", \";\\n padding: 2px 10px;\\n\\n \", \"\\n\"], [\"\\n display: inline-block;\\n margin-right: 10px;\\n margin-bottom: 5px;\\n font-size: 0.8em;\\n cursor: pointer;\\n border: 1px solid \", \";\\n padding: 2px 10px;\\n\\n \", \"\\n\"])), function (props) {\n return props.theme.colors.primary.main;\n }, function (props) {\n if (props.active) {\n return \"\\n color: white;\\n background-color: \" + props.theme.colors.primary.main + \";\\n \";\n } else {\n return \"\\n color: \" + props.theme.colors.primary.main + \";\\n background-color: white;\\n \";\n }\n });\n var ArrayOpenningLabel = styled_components.div(schema_templateObject_4 || (schema_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: 0.9em;\\n font-family: \", \";\\n &::after {\\n content: ' [';\\n }\\n\"], [\"\\n font-size: 0.9em;\\n font-family: \", \";\\n &::after {\\n content: ' [';\\n }\\n\"])), function (props) {\n return props.theme.typography.code.fontFamily;\n });\n var ArrayClosingLabel = styled_components.div(schema_templateObject_5 || (schema_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: 0.9em;\\n font-family: \", \";\\n &::after {\\n content: ']';\\n }\\n\"], [\"\\n font-size: 0.9em;\\n font-family: \", \";\\n &::after {\\n content: ']';\\n }\\n\"])), function (props) {\n return props.theme.typography.code.fontFamily;\n });\n var schema_templateObject_1, schema_templateObject_2, schema_templateObject_3, schema_templateObject_4, schema_templateObject_5; // EXTERNAL MODULE: external \"react-dropdown\"\n\n var external_react_dropdown_ = __webpack_require__(40);\n\n var external_react_dropdown_default = /*#__PURE__*/__webpack_require__.n(external_react_dropdown_); // CONCATENATED MODULE: ./src/common-elements/dropdown.ts\n\n\n var StyledDropdown = styled_components(external_react_dropdown_default.a)(dropdown_templateObject_1 || (dropdown_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n min-width: 100px;\\n display: inline-block;\\n position: relative;\\n width: auto;\\n font-family: \", \";\\n\\n .Dropdown-control {\\n font-family: \", \";\\n position: relative;\\n font-size: 0.929em;\\n width: 100%;\\n line-height: 1.5em;\\n vertical-align: middle;\\n cursor: pointer;\\n border-color: rgba(38, 50, 56, 0.5);\\n color: #263238;\\n outline: none;\\n padding: 0.15em 1.5em 0.2em 0.5em;\\n border-radius: 2px;\\n border-width: 1px;\\n border-style: solid;\\n margin-top: 5px;\\n background: white;\\n\\n box-sizing: border-box;\\n\\n &:hover {\\n border-color: \", \";\\n color: \", \";\\n box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12);\\n }\\n }\\n\\n .Dropdown-arrow {\\n border-color: \", \" transparent transparent;\\n border-style: solid;\\n border-width: 0.35em 0.35em 0;\\n content: ' ';\\n display: block;\\n height: 0;\\n position: absolute;\\n right: 0.3em;\\n top: 50%;\\n margin-top: -0.125em;\\n width: 0;\\n }\\n\\n .Dropdown-menu {\\n position: absolute;\\n margin-top: 2px;\\n left: 0;\\n right: 0;\\n\\n z-index: 10;\\n min-width: 100px;\\n\\n background: white;\\n border: 1px solid rgba(38, 50, 56, 0.2);\\n box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);\\n\\n max-height: 220px;\\n overflow: auto;\\n }\\n\\n .Dropdown-option {\\n font-size: 0.9em;\\n color: #263238;\\n cursor: pointer;\\n padding: 0.4em;\\n\\n &.is-selected {\\n background-color: rgba(0, 0, 0, 0.05);\\n }\\n\\n &:hover {\\n background-color: rgba(38, 50, 56, 0.12);\\n }\\n }\\n\"], [\"\\n min-width: 100px;\\n display: inline-block;\\n position: relative;\\n width: auto;\\n font-family: \", \";\\n\\n .Dropdown-control {\\n font-family: \", \";\\n position: relative;\\n font-size: 0.929em;\\n width: 100%;\\n line-height: 1.5em;\\n vertical-align: middle;\\n cursor: pointer;\\n border-color: rgba(38, 50, 56, 0.5);\\n color: #263238;\\n outline: none;\\n padding: 0.15em 1.5em 0.2em 0.5em;\\n border-radius: 2px;\\n border-width: 1px;\\n border-style: solid;\\n margin-top: 5px;\\n background: white;\\n\\n box-sizing: border-box;\\n\\n &:hover {\\n border-color: \", \";\\n color: \", \";\\n box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12);\\n }\\n }\\n\\n .Dropdown-arrow {\\n border-color: \", \" transparent transparent;\\n border-style: solid;\\n border-width: 0.35em 0.35em 0;\\n content: ' ';\\n display: block;\\n height: 0;\\n position: absolute;\\n right: 0.3em;\\n top: 50%;\\n margin-top: -0.125em;\\n width: 0;\\n }\\n\\n .Dropdown-menu {\\n position: absolute;\\n margin-top: 2px;\\n left: 0;\\n right: 0;\\n\\n z-index: 10;\\n min-width: 100px;\\n\\n background: white;\\n border: 1px solid rgba(38, 50, 56, 0.2);\\n box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);\\n\\n max-height: 220px;\\n overflow: auto;\\n }\\n\\n .Dropdown-option {\\n font-size: 0.9em;\\n color: #263238;\\n cursor: pointer;\\n padding: 0.4em;\\n\\n &.is-selected {\\n background-color: rgba(0, 0, 0, 0.05);\\n }\\n\\n &:hover {\\n background-color: rgba(38, 50, 56, 0.12);\\n }\\n }\\n\"])), function (props) {\n return props.theme.typography.headings.fontFamily;\n }, function (props) {\n return props.theme.typography.headings.fontFamily;\n }, function (props) {\n return props.theme.colors.primary.main;\n }, function (props) {\n return props.theme.colors.primary.main;\n }, function (props) {\n return props.theme.colors.primary.main;\n });\n var SimpleDropdown = styled_components(StyledDropdown)(dropdown_templateObject_2 || (dropdown_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-left: 10px;\\n text-transform: none;\\n font-size: 0.969em;\\n\\n .Dropdown-control {\\n font-size: 1em;\\n border: none;\\n padding: 0 1.2em 0 0;\\n background: transparent;\\n\\n &:hover {\\n color: \", \";\\n box-shadow: none;\\n }\\n }\\n\"], [\"\\n margin-left: 10px;\\n text-transform: none;\\n font-size: 0.969em;\\n\\n .Dropdown-control {\\n font-size: 1em;\\n border: none;\\n padding: 0 1.2em 0 0;\\n background: transparent;\\n\\n &:hover {\\n color: \", \";\\n box-shadow: none;\\n }\\n }\\n\"])), function (props) {\n return props.theme.colors.primary.main;\n });\n var MimeLabel = styled_components.span(dropdown_templateObject_3 || (dropdown_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-left: 10px;\\n text-transform: none;\\n font-size: 0.929em;\\n color: black;\\n\"], [\"\\n margin-left: 10px;\\n text-transform: none;\\n font-size: 0.929em;\\n color: black;\\n\"])));\n var dropdown_templateObject_1, dropdown_templateObject_2, dropdown_templateObject_3; // EXTERNAL MODULE: external \"react-tabs\"\n\n var external_react_tabs_ = __webpack_require__(9); // CONCATENATED MODULE: ./src/common-elements/tabs.ts\n\n\n var Tabs = styled_components(external_react_tabs_[\"Tabs\"])(tabs_templateObject_1 || (tabs_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n > ul {\\n list-style: none;\\n padding: 0;\\n margin: 0;\\n margin: 0 -5px;\\n\\n > li {\\n padding: 5px 10px;\\n display: inline-block;\\n\\n background-color: \", \";\\n border-bottom: 1px solid rgba(0, 0, 0, 0.5);\\n cursor: pointer;\\n text-align: center;\\n outline: none;\\n color: \", \";\\n margin: 0\\n \", \";\\n border: 1px solid \", \";\\n border-radius: 5px;\\n min-width: 60px;\\n font-size: 0.9em;\\n font-weight: bold;\\n\\n &.react-tabs__tab--selected {\\n color: \", \";\\n background: \", \";\\n }\\n\\n &:only-child {\\n flex: none;\\n min-width: 100px;\\n }\\n\\n &.tab-success {\\n color: \", \";\\n }\\n\\n &.tab-redirect {\\n color: \", \";\\n }\\n\\n &.tab-info {\\n color: \", \";\\n }\\n\\n &.tab-error {\\n color: \", \";\\n }\\n }\\n }\\n > .react-tabs__tab-panel {\\n background: \", \";\\n & > div,\\n & > pre {\\n padding: \", \"px;\\n margin: 0;\\n }\\n\\n & > div > pre {\\n padding: 0;\\n }\\n }\\n\"], [\"\\n > ul {\\n list-style: none;\\n padding: 0;\\n margin: 0;\\n margin: 0 -5px;\\n\\n > li {\\n padding: 5px 10px;\\n display: inline-block;\\n\\n background-color: \", \";\\n border-bottom: 1px solid rgba(0, 0, 0, 0.5);\\n cursor: pointer;\\n text-align: center;\\n outline: none;\\n color: \", \";\\n margin: 0\\n \", \";\\n border: 1px solid \", \";\\n border-radius: 5px;\\n min-width: 60px;\\n font-size: 0.9em;\\n font-weight: bold;\\n\\n &.react-tabs__tab--selected {\\n color: \", \";\\n background: \", \";\\n }\\n\\n &:only-child {\\n flex: none;\\n min-width: 100px;\\n }\\n\\n &.tab-success {\\n color: \", \";\\n }\\n\\n &.tab-redirect {\\n color: \", \";\\n }\\n\\n &.tab-info {\\n color: \", \";\\n }\\n\\n &.tab-error {\\n color: \", \";\\n }\\n }\\n }\\n > .react-tabs__tab-panel {\\n background: \", \";\\n & > div,\\n & > pre {\\n padding: \", \"px;\\n margin: 0;\\n }\\n\\n & > div > pre {\\n padding: 0;\\n }\\n }\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.codeBlock.backgroundColor;\n }, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(theme.colors.tonalOffset, theme.rightPanel.textColor);\n }, function (_a) {\n var theme = _a.theme;\n return theme.spacing.unit + \"px \" + theme.spacing.unit + \"px \" + theme.spacing.unit + \"px\";\n }, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(0.05, theme.codeBlock.backgroundColor);\n }, function (props) {\n return props.theme.colors.text.primary;\n }, function (_a) {\n var theme = _a.theme;\n return theme.rightPanel.textColor;\n }, function (props) {\n return props.theme.colors.responses.success.color;\n }, function (props) {\n return props.theme.colors.responses.redirect.color;\n }, function (props) {\n return props.theme.colors.responses.info.color;\n }, function (props) {\n return props.theme.colors.responses.error.color;\n }, function (_a) {\n var theme = _a.theme;\n return theme.codeBlock.backgroundColor;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n });\n var SmallTabs = styled_components(Tabs)(tabs_templateObject_2 || (tabs_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n > ul {\\n display: block;\\n > li {\\n padding: 2px 5px;\\n min-width: auto;\\n margin: 0 15px 0 0;\\n font-size: 13px;\\n font-weight: normal;\\n border-bottom: 1px dashed;\\n color: \", \";\\n border-radius: 0;\\n background: none;\\n\\n &:last-child {\\n margin-right: 0;\\n }\\n\\n &.react-tabs__tab--selected {\\n color: \", \";\\n background: none;\\n }\\n }\\n }\\n > .react-tabs__tab-panel {\\n & > div,\\n & > pre {\\n padding: \", \"px 0;\\n }\\n }\\n\"], [\"\\n > ul {\\n display: block;\\n > li {\\n padding: 2px 5px;\\n min-width: auto;\\n margin: 0 15px 0 0;\\n font-size: 13px;\\n font-weight: normal;\\n border-bottom: 1px dashed;\\n color: \", \";\\n border-radius: 0;\\n background: none;\\n\\n &:last-child {\\n margin-right: 0;\\n }\\n\\n &.react-tabs__tab--selected {\\n color: \", \";\\n background: none;\\n }\\n }\\n }\\n > .react-tabs__tab-panel {\\n & > div,\\n & > pre {\\n padding: \", \"px 0;\\n }\\n }\\n\"])), function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(theme.colors.tonalOffset, theme.rightPanel.textColor);\n }, function (_a) {\n var theme = _a.theme;\n return theme.rightPanel.textColor;\n }, function (props) {\n return props.theme.spacing.unit * 2;\n });\n var tabs_templateObject_1, tabs_templateObject_2; // CONCATENATED MODULE: ./src/common-elements/PrismDiv.tsx\n\n var PrismDiv = styled_components.div(PrismDiv_templateObject_1 || (PrismDiv_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n /**\\n * Based on prism-dark.css\\n */\\n\\n code[class*='language-'],\\n pre[class*='language-'] {\\n /* color: white;\\n background: none; */\\n text-shadow: 0 -0.1em 0.2em black;\\n text-align: left;\\n white-space: pre;\\n word-spacing: normal;\\n word-break: normal;\\n word-wrap: normal;\\n line-height: 1.5;\\n\\n -moz-tab-size: 4;\\n -o-tab-size: 4;\\n tab-size: 4;\\n\\n -webkit-hyphens: none;\\n -moz-hyphens: none;\\n -ms-hyphens: none;\\n hyphens: none;\\n }\\n\\n @media print {\\n code[class*='language-'],\\n pre[class*='language-'] {\\n text-shadow: none;\\n }\\n }\\n\\n /* Code blocks */\\n pre[class*='language-'] {\\n padding: 1em;\\n margin: 0.5em 0;\\n overflow: auto;\\n }\\n\\n .token.comment,\\n .token.prolog,\\n .token.doctype,\\n .token.cdata {\\n color: hsl(30, 20%, 50%);\\n }\\n\\n .token.punctuation {\\n opacity: 0.7;\\n }\\n\\n .namespace {\\n opacity: 0.7;\\n }\\n\\n .token.property,\\n .token.tag,\\n .token.number,\\n .token.constant,\\n .token.symbol {\\n color: #4a8bb3;\\n }\\n\\n .token.boolean {\\n color: firebrick;\\n }\\n\\n .token.selector,\\n .token.attr-name,\\n .token.string,\\n .token.char,\\n .token.builtin,\\n .token.inserted {\\n color: #a0fbaa;\\n & + a,\\n & + a:visited {\\n color: #4ed2ba;\\n text-decoration: underline;\\n }\\n }\\n\\n /* .property.token.string {\\n color: white;\\n } */\\n\\n .token.operator,\\n .token.entity,\\n .token.url,\\n .token.variable {\\n color: hsl(40, 90%, 60%);\\n }\\n\\n .token.atrule,\\n .token.attr-value,\\n .token.keyword {\\n color: hsl(350, 40%, 70%);\\n }\\n\\n .token.regex,\\n .token.important {\\n color: #e90;\\n }\\n\\n .token.important,\\n .token.bold {\\n font-weight: bold;\\n }\\n .token.italic {\\n font-style: italic;\\n }\\n\\n .token.entity {\\n cursor: help;\\n }\\n\\n .token.deleted {\\n color: red;\\n }\\n\\n \", \";\\n\"], [\"\\n /**\\n * Based on prism-dark.css\\n */\\n\\n code[class*='language-'],\\n pre[class*='language-'] {\\n /* color: white;\\n background: none; */\\n text-shadow: 0 -0.1em 0.2em black;\\n text-align: left;\\n white-space: pre;\\n word-spacing: normal;\\n word-break: normal;\\n word-wrap: normal;\\n line-height: 1.5;\\n\\n -moz-tab-size: 4;\\n -o-tab-size: 4;\\n tab-size: 4;\\n\\n -webkit-hyphens: none;\\n -moz-hyphens: none;\\n -ms-hyphens: none;\\n hyphens: none;\\n }\\n\\n @media print {\\n code[class*='language-'],\\n pre[class*='language-'] {\\n text-shadow: none;\\n }\\n }\\n\\n /* Code blocks */\\n pre[class*='language-'] {\\n padding: 1em;\\n margin: 0.5em 0;\\n overflow: auto;\\n }\\n\\n .token.comment,\\n .token.prolog,\\n .token.doctype,\\n .token.cdata {\\n color: hsl(30, 20%, 50%);\\n }\\n\\n .token.punctuation {\\n opacity: 0.7;\\n }\\n\\n .namespace {\\n opacity: 0.7;\\n }\\n\\n .token.property,\\n .token.tag,\\n .token.number,\\n .token.constant,\\n .token.symbol {\\n color: #4a8bb3;\\n }\\n\\n .token.boolean {\\n color: firebrick;\\n }\\n\\n .token.selector,\\n .token.attr-name,\\n .token.string,\\n .token.char,\\n .token.builtin,\\n .token.inserted {\\n color: #a0fbaa;\\n & + a,\\n & + a:visited {\\n color: #4ed2ba;\\n text-decoration: underline;\\n }\\n }\\n\\n /* .property.token.string {\\n color: white;\\n } */\\n\\n .token.operator,\\n .token.entity,\\n .token.url,\\n .token.variable {\\n color: hsl(40, 90%, 60%);\\n }\\n\\n .token.atrule,\\n .token.attr-value,\\n .token.keyword {\\n color: hsl(350, 40%, 70%);\\n }\\n\\n .token.regex,\\n .token.important {\\n color: #e90;\\n }\\n\\n .token.important,\\n .token.bold {\\n font-weight: bold;\\n }\\n .token.italic {\\n font-style: italic;\\n }\\n\\n .token.entity {\\n cursor: help;\\n }\\n\\n .token.deleted {\\n color: red;\\n }\\n\\n \", \";\\n\"])), extensionsHook('Prism'));\n var PrismDiv_templateObject_1; // CONCATENATED MODULE: ./src/common-elements/samples.tsx\n\n var SampleControls = styled_components.div(samples_templateObject_1 || (samples_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n opacity: 0.4;\\n transition: opacity 0.3s ease;\\n text-align: right;\\n\\n > span {\\n display: inline-block;\\n padding: 2px 10px;\\n cursor: pointer;\\n\\n :hover {\\n background: rgba(255, 255, 255, 0.1);\\n }\\n }\\n\"], [\"\\n opacity: 0.4;\\n transition: opacity 0.3s ease;\\n text-align: right;\\n\\n > span {\\n display: inline-block;\\n padding: 2px 10px;\\n cursor: pointer;\\n\\n :hover {\\n background: rgba(255, 255, 255, 0.1);\\n }\\n }\\n\"])));\n var SampleControlsWrap = styled_components.div(samples_templateObject_2 || (samples_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n &:hover \", \" {\\n opacity: 1;\\n }\\n\"], [\"\\n &:hover \", \" {\\n opacity: 1;\\n }\\n\"])), SampleControls);\n var StyledPre = styled_components(PrismDiv.withComponent('pre'))(samples_templateObject_3 || (samples_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-family: \", \";\\n font-size: \", \";\\n overflow-x: auto;\\n margin: 0;\\n\\n white-space: \", \";\\n\"], [\"\\n font-family: \", \";\\n font-size: \", \";\\n overflow-x: auto;\\n margin: 0;\\n\\n white-space: \", \";\\n\"])), function (props) {\n return props.theme.typography.code.fontFamily;\n }, function (props) {\n return props.theme.typography.code.fontSize;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.code.wrap ? 'pre-wrap' : 'pre';\n });\n var samples_templateObject_1, samples_templateObject_2, samples_templateObject_3; // EXTERNAL MODULE: external \"perfect-scrollbar\"\n\n var external_perfect_scrollbar_ = __webpack_require__(25);\n\n var external_perfect_scrollbar_default = /*#__PURE__*/__webpack_require__.n(external_perfect_scrollbar_); // EXTERNAL MODULE: ./node_modules/perfect-scrollbar/css/perfect-scrollbar.css\n\n\n var perfect_scrollbar = __webpack_require__(26);\n\n var perfect_scrollbar_default = /*#__PURE__*/__webpack_require__.n(perfect_scrollbar); // CONCATENATED MODULE: ./src/common-elements/perfect-scrollbar.tsx\n\n /*\n * perfect scrollbar umd bundle uses exports assignment while module uses default export\n * so when bundled with webpack default export works but with jest it crashes\n * That's why the following ugly fix is required\n */\n\n\n var PerfectScrollbarConstructor = external_perfect_scrollbar_default.a || external_perfect_scrollbar_;\n var PSStyling = createGlobalStyle(perfect_scrollbar_templateObject_1 || (perfect_scrollbar_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\", \"\"], [\"\", \"\"])), perfect_scrollbar_default.a && perfect_scrollbar_default.a.toString());\n var StyledScrollWrapper = styled_components.div(perfect_scrollbar_templateObject_2 || (perfect_scrollbar_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: relative;\\n\"], [\"\\n position: relative;\\n\"])));\n\n var perfect_scrollbar_PerfectScrollbar =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(PerfectScrollbar, _super);\n\n function PerfectScrollbar() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.handleRef = function (ref) {\n _this._container = ref;\n };\n\n return _this;\n }\n\n PerfectScrollbar.prototype.componentDidMount = function () {\n var offset = this._container.parentElement && this._container.parentElement.scrollTop || 0;\n this.inst = new PerfectScrollbarConstructor(this._container, this.props.options || {});\n\n if (this._container.scrollTo) {\n this._container.scrollTo(0, offset);\n }\n };\n\n PerfectScrollbar.prototype.componentDidUpdate = function () {\n this.inst.update();\n };\n\n PerfectScrollbar.prototype.componentWillUnmount = function () {\n this.inst.destroy();\n };\n\n PerfectScrollbar.prototype.render = function () {\n var _a = this.props,\n children = _a.children,\n className = _a.className,\n updateFn = _a.updateFn;\n\n if (updateFn) {\n updateFn(this.componentDidUpdate.bind(this));\n }\n\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, external_react_[\"createElement\"](PSStyling, null), external_react_[\"createElement\"](StyledScrollWrapper, {\n className: \"scrollbar-container \" + className,\n ref: this.handleRef\n }, children));\n };\n\n return PerfectScrollbar;\n }(external_react_[\"Component\"]);\n\n function PerfectScrollbarWrap(props) {\n return external_react_[\"createElement\"](OptionsContext.Consumer, null, function (options) {\n return !options.nativeScrollbars ? external_react_[\"createElement\"](perfect_scrollbar_PerfectScrollbar, Object(external_tslib_[\"__assign\"])({}, props), props.children) : external_react_[\"createElement\"](\"div\", {\n style: {\n overflow: 'auto',\n msOverflowStyle: '-ms-autohiding-scrollbar'\n }\n }, props.children);\n });\n }\n\n var perfect_scrollbar_templateObject_1, perfect_scrollbar_templateObject_2; // CONCATENATED MODULE: ./src/common-elements/index.ts\n // CONCATENATED MODULE: ./src/components/DropdownOrLabel/DropdownOrLabel.tsx\n\n function DropdownOrLabel(props) {\n var _a = props.Label,\n Label = _a === void 0 ? MimeLabel : _a,\n _b = props.Dropdown,\n Dropdown = _b === void 0 ? SimpleDropdown : _b;\n\n if (props.options.length === 1) {\n return external_react_[\"createElement\"](Label, null, props.options[0].label);\n }\n\n return external_react_[\"createElement\"](Dropdown, Object(external_tslib_[\"__assign\"])({}, props));\n } // EXTERNAL MODULE: external \"dompurify\"\n\n\n var external_dompurify_ = __webpack_require__(41); // CONCATENATED MODULE: ./src/components/Markdown/styled.elements.tsx\n\n\n var linksCss = css(styled_elements_templateObject_1 || (styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n a {\\n text-decoration: none;\\n color: \", \";\\n\\n &:visited {\\n color: \", \";\\n }\\n\\n &:hover {\\n color: \", \";\\n }\\n }\\n\"], [\"\\n a {\\n text-decoration: none;\\n color: \", \";\\n\\n &:visited {\\n color: \", \";\\n }\\n\\n &:hover {\\n color: \", \";\\n }\\n }\\n\"])), function (props) {\n return props.theme.typography.links.color;\n }, function (props) {\n return props.theme.typography.links.visited;\n }, function (props) {\n return props.theme.typography.links.hover;\n });\n var StyledMarkdownBlock = styled_components(PrismDiv)(styled_elements_templateObject_2 || (styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n\\n font-family: \", \";\\n font-weight: \", \";\\n line-height: \", \";\\n\\n p {\\n &:last-child {\\n margin-bottom: 0;\\n }\\n }\\n\\n \", \"\\n\\n \", \"\\n\\n h1 {\\n \", \";\\n color: \", \";\\n margin-top: 0;\\n }\\n\\n h2 {\\n \", \";\\n color: \", \";\\n }\\n\\n code {\\n color: \", \";\\n background-color: \", \";\\n\\n font-family: \", \";\\n border-radius: 2px;\\n border: 1px solid rgba(38, 50, 56, 0.1);\\n padding: 0 \", \"px;\\n font-size: \", \";\\n font-weight: \", \";\\n\\n word-break: break-word;\\n }\\n\\n pre {\\n font-family: \", \";\\n white-space:\", \";\\n background-color: \", \";\\n color: white;\\n padding: \", \"px;\\n overflow-x: auto;\\n line-height: normal;\\n border-radius: 0px\\n border: 1px solid rgba(38, 50, 56, 0.1);\\n\\n code {\\n background-color: transparent;\\n color: white;\\n padding: 0;\\n\\n &:before,\\n &:after {\\n content: none;\\n }\\n }\\n }\\n\\n blockquote {\\n margin: 0;\\n margin-bottom: 1em;\\n padding: 0 15px;\\n color: #777;\\n border-left: 4px solid #ddd;\\n }\\n\\n img {\\n max-width: 100%;\\n box-sizing: content-box;\\n }\\n\\n ul,\\n ol {\\n padding-left: 2em;\\n margin: 0;\\n margin-bottom: 1em;\\n\\n ul, ol {\\n margin-bottom: 0;\\n margin-top: 0;\\n }\\n }\\n\\n table {\\n display: block;\\n width: 100%;\\n overflow: auto;\\n word-break: normal;\\n word-break: keep-all;\\n border-collapse: collapse;\\n border-spacing: 0;\\n margin-top: 1.5em;\\n margin-bottom: 1.5em;\\n }\\n\\n table tr {\\n background-color: #fff;\\n border-top: 1px solid #ccc;\\n\\n &:nth-child(2n) {\\n background-color: \", \";\\n }\\n }\\n\\n table th,\\n table td {\\n padding: 6px 13px;\\n border: 1px solid #ddd;\\n }\\n\\n table th {\\n text-align: left;\\n font-weight: bold;\\n }\\n\\n \", \";\\n\\n \", \"\\n\\n \", \";\\n\"], [\"\\n\\n font-family: \", \";\\n font-weight: \", \";\\n line-height: \", \";\\n\\n p {\\n &:last-child {\\n margin-bottom: 0;\\n }\\n }\\n\\n \", \"\\n\\n \", \"\\n\\n h1 {\\n \", \";\\n color: \", \";\\n margin-top: 0;\\n }\\n\\n h2 {\\n \", \";\\n color: \", \";\\n }\\n\\n code {\\n color: \", \";\\n background-color: \", \";\\n\\n font-family: \", \";\\n border-radius: 2px;\\n border: 1px solid rgba(38, 50, 56, 0.1);\\n padding: 0 \", \"px;\\n font-size: \", \";\\n font-weight: \", \";\\n\\n word-break: break-word;\\n }\\n\\n pre {\\n font-family: \", \";\\n white-space:\", \";\\n background-color: \", \";\\n color: white;\\n padding: \", \"px;\\n overflow-x: auto;\\n line-height: normal;\\n border-radius: 0px\\n border: 1px solid rgba(38, 50, 56, 0.1);\\n\\n code {\\n background-color: transparent;\\n color: white;\\n padding: 0;\\n\\n &:before,\\n &:after {\\n content: none;\\n }\\n }\\n }\\n\\n blockquote {\\n margin: 0;\\n margin-bottom: 1em;\\n padding: 0 15px;\\n color: #777;\\n border-left: 4px solid #ddd;\\n }\\n\\n img {\\n max-width: 100%;\\n box-sizing: content-box;\\n }\\n\\n ul,\\n ol {\\n padding-left: 2em;\\n margin: 0;\\n margin-bottom: 1em;\\n\\n ul, ol {\\n margin-bottom: 0;\\n margin-top: 0;\\n }\\n }\\n\\n table {\\n display: block;\\n width: 100%;\\n overflow: auto;\\n word-break: normal;\\n word-break: keep-all;\\n border-collapse: collapse;\\n border-spacing: 0;\\n margin-top: 1.5em;\\n margin-bottom: 1.5em;\\n }\\n\\n table tr {\\n background-color: #fff;\\n border-top: 1px solid #ccc;\\n\\n &:nth-child(2n) {\\n background-color: \", \";\\n }\\n }\\n\\n table th,\\n table td {\\n padding: 6px 13px;\\n border: 1px solid #ddd;\\n }\\n\\n table th {\\n text-align: left;\\n font-weight: bold;\\n }\\n\\n \", \";\\n\\n \", \"\\n\\n \", \";\\n\"])), function (props) {\n return props.theme.typography.fontFamily;\n }, function (props) {\n return props.theme.typography.fontWeightRegular;\n }, function (props) {\n return props.theme.typography.lineHeight;\n }, function (_a) {\n var compact = _a.compact;\n return compact && \"\\n p:first-child {\\n margin-top: 0;\\n }\\n p:last-child {\\n margin-bottom: 0;\\n }\\n \";\n }, function (_a) {\n var inline = _a.inline;\n return inline && \" p {\\n display: inline-block;\\n }\";\n }, headerCommonMixin(1), function (props) {\n return props.theme.colors.primary.main;\n }, headerCommonMixin(2), function (props) {\n return props.theme.colors.text.primary;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.code.color;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.code.backgroundColor;\n }, function (props) {\n return props.theme.typography.code.fontFamily;\n }, function (_a) {\n var theme = _a.theme;\n return theme.spacing.unit;\n }, function (props) {\n return props.theme.typography.code.fontSize;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.code.fontWeight;\n }, function (props) {\n return props.theme.typography.code.fontFamily;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.code.wrap ? 'pre-wrap' : 'pre';\n }, function (_a) {\n var theme = _a.theme;\n return theme.codeBlock.backgroundColor;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n }, function (_a) {\n var theme = _a.theme;\n return theme.schema.nestedBackground;\n }, linkifyMixin('.share-link'), linksCss, extensionsHook('Markdown'));\n var styled_elements_templateObject_1, styled_elements_templateObject_2; // CONCATENATED MODULE: ./src/components/Markdown/SanitizedMdBlock.tsx\n\n var StyledMarkdownSpan = StyledMarkdownBlock.withComponent('span');\n\n var sanitize = function sanitize(untrustedSpec, html) {\n return untrustedSpec ? external_dompurify_[\"sanitize\"](html) : html;\n };\n\n function SanitizedMarkdownHTML(props) {\n var Wrap = props.inline ? StyledMarkdownSpan : StyledMarkdownBlock;\n return external_react_[\"createElement\"](OptionsConsumer, null, function (options) {\n return external_react_[\"createElement\"](Wrap, Object(external_tslib_[\"__assign\"])({\n className: 'redoc-markdown ' + (props.className || ''),\n dangerouslySetInnerHTML: {\n __html: sanitize(options.untrustedSpec, props.html)\n },\n \"data-role\": props['data-role']\n }, props));\n });\n } // CONCATENATED MODULE: ./src/components/Markdown/Markdown.tsx\n\n\n var Markdown_Markdown =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Markdown, _super);\n\n function Markdown() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Markdown.prototype.render = function () {\n var _a = this.props,\n source = _a.source,\n inline = _a.inline,\n compact = _a.compact,\n className = _a.className,\n dataRole = _a[\"data-role\"];\n var renderer = new MarkdownRenderer_MarkdownRenderer();\n return external_react_[\"createElement\"](SanitizedMarkdownHTML, {\n html: renderer.renderMd(source),\n inline: inline,\n compact: compact,\n className: className,\n \"data-role\": dataRole\n });\n };\n\n return Markdown;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/common-elements/Tooltip.tsx\n\n\n var Tooltip_Wrapper = styled_components.div(Tooltip_templateObject_1 || (Tooltip_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: relative;\\n\"], [\"\\n position: relative;\\n\"])));\n var Tip = styled_components.div(Tooltip_templateObject_2 || (Tooltip_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: absolute;\\n min-width: 80px;\\n max-width: 500px;\\n background: #fff;\\n bottom: 100%;\\n left: 50%;\\n margin-bottom: 10px;\\n transform: translateX(-50%);\\n\\n border-radius: 4px;\\n padding: 0.3em 0.6em;\\n text-align: center;\\n box-shadow: 0px 0px 5px 0px rgba(204, 204, 204, 1);\\n\"], [\"\\n position: absolute;\\n min-width: 80px;\\n max-width: 500px;\\n background: #fff;\\n bottom: 100%;\\n left: 50%;\\n margin-bottom: 10px;\\n transform: translateX(-50%);\\n\\n border-radius: 4px;\\n padding: 0.3em 0.6em;\\n text-align: center;\\n box-shadow: 0px 0px 5px 0px rgba(204, 204, 204, 1);\\n\"])));\n var Content = styled_components.div(Tooltip_templateObject_3 || (Tooltip_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n background: #fff;\\n color: #000;\\n display: inline;\\n font-size: 0.85em;\\n white-space: nowrap;\\n\"], [\"\\n background: #fff;\\n color: #000;\\n display: inline;\\n font-size: 0.85em;\\n white-space: nowrap;\\n\"])));\n var Arrow = styled_components.div(Tooltip_templateObject_4 || (Tooltip_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: absolute;\\n width: 0;\\n height: 0;\\n bottom: -5px;\\n left: 50%;\\n margin-left: -5px;\\n border-left: solid transparent 5px;\\n border-right: solid transparent 5px;\\n border-top: solid #fff 5px;\\n\"], [\"\\n position: absolute;\\n width: 0;\\n height: 0;\\n bottom: -5px;\\n left: 50%;\\n margin-left: -5px;\\n border-left: solid transparent 5px;\\n border-right: solid transparent 5px;\\n border-top: solid #fff 5px;\\n\"])));\n var Gap = styled_components.div(Tooltip_templateObject_5 || (Tooltip_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: absolute;\\n width: 100%;\\n height: 20px;\\n bottom: -20px;\\n\"], [\"\\n position: absolute;\\n width: 100%;\\n height: 20px;\\n bottom: -20px;\\n\"])));\n\n var Tooltip_Tooltip =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Tooltip, _super);\n\n function Tooltip() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Tooltip.prototype.render = function () {\n var _a = this.props,\n open = _a.open,\n title = _a.title,\n children = _a.children;\n return external_react_[\"createElement\"](Tooltip_Wrapper, null, children, open && external_react_[\"createElement\"](Tip, null, external_react_[\"createElement\"](Content, null, title), external_react_[\"createElement\"](Arrow, null), external_react_[\"createElement\"](Gap, null)));\n };\n\n return Tooltip;\n }(external_react_[\"Component\"]);\n\n var Tooltip_templateObject_1, Tooltip_templateObject_2, Tooltip_templateObject_3, Tooltip_templateObject_4, Tooltip_templateObject_5; // CONCATENATED MODULE: ./src/services/ClipboardService.ts\n\n var isSupported = typeof document !== 'undefined' && document.queryCommandSupported && document.queryCommandSupported('copy');\n\n var ClipboardService =\n /** @class */\n function () {\n function ClipboardService() {}\n\n ClipboardService.isSupported = function () {\n return isSupported;\n };\n\n ClipboardService.selectElement = function (element) {\n var range;\n var selection;\n\n if (document.body.createTextRange) {\n range = document.body.createTextRange();\n range.moveToElementText(element);\n range.select();\n } else if (document.createRange && window.getSelection) {\n selection = window.getSelection();\n range = document.createRange();\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n }\n };\n\n ClipboardService.deselect = function () {\n if (document.selection) {\n document.selection.empty();\n } else if (window.getSelection) {\n var selection = window.getSelection();\n\n if (selection) {\n selection.removeAllRanges();\n }\n }\n };\n\n ClipboardService.copySelected = function () {\n var result;\n\n try {\n result = document.execCommand('copy');\n } catch (err) {\n result = false;\n }\n\n return result;\n };\n\n ClipboardService.copyElement = function (element) {\n ClipboardService.selectElement(element);\n var res = ClipboardService.copySelected();\n\n if (res) {\n ClipboardService.deselect();\n }\n\n return res;\n };\n\n ClipboardService.copyCustom = function (text) {\n var textArea = document.createElement('textarea');\n textArea.style.position = 'fixed';\n textArea.style.top = '0';\n textArea.style.left = '0'; // Ensure it has a small width and height. Setting to 1px / 1em\n // doesn't work as this gives a negative w/h on some browsers.\n\n textArea.style.width = '2em';\n textArea.style.height = '2em'; // We don't need padding, reducing the size if it does flash render.\n\n textArea.style.padding = '0'; // Clean up any borders.\n\n textArea.style.border = 'none';\n textArea.style.outline = 'none';\n textArea.style.boxShadow = 'none'; // Avoid flash of white box if rendered for any reason.\n\n textArea.style.background = 'transparent';\n textArea.value = text;\n document.body.appendChild(textArea);\n textArea.select();\n var res = ClipboardService.copySelected();\n document.body.removeChild(textArea);\n return res;\n };\n\n return ClipboardService;\n }(); // CONCATENATED MODULE: ./src/common-elements/CopyButtonWrapper.tsx\n\n\n var CopyButtonWrapper_CopyButtonWrapper =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(CopyButtonWrapper, _super);\n\n function CopyButtonWrapper(props) {\n var _this = _super.call(this, props) || this;\n\n _this.copy = function () {\n var content = typeof _this.props.data === 'string' ? _this.props.data : JSON.stringify(_this.props.data, null, 2);\n ClipboardService.copyCustom(content);\n\n _this.showTooltip();\n };\n\n _this.renderCopyButton = function () {\n return external_react_[\"createElement\"](\"span\", {\n onClick: _this.copy\n }, external_react_[\"createElement\"](Tooltip_Tooltip, {\n title: ClipboardService.isSupported() ? 'Copied' : 'Not supported in your browser',\n open: _this.state.tooltipShown\n }, \"Copy\"));\n };\n\n _this.state = {\n tooltipShown: false\n };\n return _this;\n }\n\n CopyButtonWrapper.prototype.render = function () {\n return this.props.children({\n renderCopyButton: this.renderCopyButton\n });\n };\n\n CopyButtonWrapper.prototype.showTooltip = function () {\n var _this = this;\n\n this.setState({\n tooltipShown: true\n });\n setTimeout(function () {\n _this.setState({\n tooltipShown: false\n });\n }, 1500);\n };\n\n return CopyButtonWrapper;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/utils/jsonToHtml.ts\n\n\n var jsonToHtml_level = 1;\n\n function jsonToHTML(json, maxExpandLevel) {\n jsonToHtml_level = 1;\n var output = '';\n output += '
';\n output += '';\n output += valueToHTML(json, maxExpandLevel);\n output += '';\n output += '
';\n return output;\n }\n\n function htmlEncode(t) {\n return t !== undefined ? t.toString().replace(/&/g, '&').replace(/\"/g, '"').replace(//g, '>') : '';\n }\n\n function stringifyStringLiteral(str) {\n return JSON.stringify(str).slice(1, -1);\n }\n\n function decorateWithSpan(value, className) {\n return '' + htmlEncode(value) + '';\n }\n\n function punctuation(val) {\n return '' + val + '';\n }\n\n function valueToHTML(value, maxExpandLevel) {\n var valueType = typeof value;\n var output = '';\n\n if (value === undefined || value === null) {\n output += decorateWithSpan('null', 'token keyword');\n } else if (value && value.constructor === Array) {\n jsonToHtml_level++;\n output += arrayToHTML(value, maxExpandLevel);\n jsonToHtml_level--;\n } else if (value && value.constructor === Date) {\n output += decorateWithSpan('\"' + value.toISOString() + '\"', 'token string');\n } else if (valueType === 'object') {\n jsonToHtml_level++;\n output += objectToHTML(value, maxExpandLevel);\n jsonToHtml_level--;\n } else if (valueType === 'number') {\n output += decorateWithSpan(value, 'token number');\n } else if (valueType === 'string') {\n if (/^(http|https):\\/\\/[^\\s]+$/.test(value)) {\n output += decorateWithSpan('\"', 'token string') + '' + htmlEncode(stringifyStringLiteral(value)) + '' + decorateWithSpan('\"', 'token string');\n } else {\n output += decorateWithSpan('\"' + stringifyStringLiteral(value) + '\"', 'token string');\n }\n } else if (valueType === 'boolean') {\n output += decorateWithSpan(value, 'token boolean');\n }\n\n return output;\n }\n\n function arrayToHTML(json, maxExpandLevel) {\n var collapsed = jsonToHtml_level > maxExpandLevel ? 'collapsed' : '';\n var output = \"
\" + punctuation('[') + \"
    \";\n var hasContents = false;\n var length = json.length;\n\n for (var i = 0; i < length; i++) {\n hasContents = true;\n output += '
  • ';\n output += valueToHTML(json[i], maxExpandLevel);\n\n if (i < length - 1) {\n output += ',';\n }\n\n output += '
  • ';\n }\n\n output += \"
\" + punctuation(']');\n\n if (!hasContents) {\n output = punctuation('[ ]');\n }\n\n return output;\n }\n\n function objectToHTML(json, maxExpandLevel) {\n var collapsed = jsonToHtml_level > maxExpandLevel ? 'collapsed' : '';\n var keys = Object.keys(json);\n var length = keys.length;\n var output = \"
\" + punctuation('{') + \"
    \";\n var hasContents = false;\n\n for (var i = 0; i < length; i++) {\n var key = keys[i];\n hasContents = true;\n output += '
  • ';\n output += '\"' + htmlEncode(key) + '\": ';\n output += valueToHTML(json[key], maxExpandLevel);\n\n if (i < length - 1) {\n output += punctuation(',');\n }\n\n output += '
  • ';\n }\n\n output += \"
\" + punctuation('}');\n\n if (!hasContents) {\n output = punctuation('{ }');\n }\n\n return output;\n } // CONCATENATED MODULE: ./src/components/JsonViewer/style.ts\n\n\n var jsonStyles = css(style_templateObject_1 || (style_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n .redoc-json > .collapser {\\n display: none;\\n }\\n\\n font-family: \", \";\\n font-size: \", \";\\n\\n white-space: \", \";\\n contain: content;\\n overflow-x: auto;\\n\\n .callback-function {\\n color: gray;\\n }\\n\\n .collapser:after {\\n content: '-';\\n cursor: pointer;\\n }\\n\\n .collapsed > .collapser:after {\\n content: '+';\\n cursor: pointer;\\n }\\n\\n .ellipsis:after {\\n content: ' \\u2026 ';\\n }\\n\\n .collapsible {\\n margin-left: 2em;\\n }\\n\\n .hoverable {\\n padding-top: 1px;\\n padding-bottom: 1px;\\n padding-left: 2px;\\n padding-right: 2px;\\n border-radius: 2px;\\n }\\n\\n .hovered {\\n background-color: rgba(235, 238, 249, 1);\\n }\\n\\n .collapser {\\n padding-right: 6px;\\n padding-left: 6px;\\n }\\n\\n ul {\\n list-style-type: none;\\n padding: 0px;\\n margin: 0px 0px 0px 26px;\\n }\\n\\n li {\\n position: relative;\\n display: block;\\n }\\n\\n .hoverable {\\n display: inline-block;\\n }\\n\\n .selected {\\n outline-style: solid;\\n outline-width: 1px;\\n outline-style: dotted;\\n }\\n\\n .collapsed > .collapsible {\\n display: none;\\n }\\n\\n .ellipsis {\\n display: none;\\n }\\n\\n .collapsed > .ellipsis {\\n display: inherit;\\n }\\n\\n .collapser {\\n position: absolute;\\n top: 1px;\\n left: -1.5em;\\n cursor: default;\\n user-select: none;\\n -webkit-user-select: none;\\n }\\n\"], [\"\\n .redoc-json > .collapser {\\n display: none;\\n }\\n\\n font-family: \", \";\\n font-size: \", \";\\n\\n white-space: \", \";\\n contain: content;\\n overflow-x: auto;\\n\\n .callback-function {\\n color: gray;\\n }\\n\\n .collapser:after {\\n content: '-';\\n cursor: pointer;\\n }\\n\\n .collapsed > .collapser:after {\\n content: '+';\\n cursor: pointer;\\n }\\n\\n .ellipsis:after {\\n content: ' \\u2026 ';\\n }\\n\\n .collapsible {\\n margin-left: 2em;\\n }\\n\\n .hoverable {\\n padding-top: 1px;\\n padding-bottom: 1px;\\n padding-left: 2px;\\n padding-right: 2px;\\n border-radius: 2px;\\n }\\n\\n .hovered {\\n background-color: rgba(235, 238, 249, 1);\\n }\\n\\n .collapser {\\n padding-right: 6px;\\n padding-left: 6px;\\n }\\n\\n ul {\\n list-style-type: none;\\n padding: 0px;\\n margin: 0px 0px 0px 26px;\\n }\\n\\n li {\\n position: relative;\\n display: block;\\n }\\n\\n .hoverable {\\n display: inline-block;\\n }\\n\\n .selected {\\n outline-style: solid;\\n outline-width: 1px;\\n outline-style: dotted;\\n }\\n\\n .collapsed > .collapsible {\\n display: none;\\n }\\n\\n .ellipsis {\\n display: none;\\n }\\n\\n .collapsed > .ellipsis {\\n display: inherit;\\n }\\n\\n .collapser {\\n position: absolute;\\n top: 1px;\\n left: -1.5em;\\n cursor: default;\\n user-select: none;\\n -webkit-user-select: none;\\n }\\n\"])), function (props) {\n return props.theme.typography.code.fontFamily;\n }, function (props) {\n return props.theme.typography.code.fontSize;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.code.wrap ? 'pre-wrap' : 'pre';\n });\n var style_templateObject_1; // CONCATENATED MODULE: ./src/components/JsonViewer/JsonViewer.tsx\n\n var JsonViewerWrap = styled_components.div(JsonViewer_templateObject_1 || (JsonViewer_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n &:hover > \", \" {\\n opacity: 1;\\n }\\n\"], [\"\\n &:hover > \", \" {\\n opacity: 1;\\n }\\n\"])), SampleControls);\n\n var JsonViewer_Json =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Json, _super);\n\n function Json() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.renderInner = function (_a) {\n var renderCopyButton = _a.renderCopyButton;\n return external_react_[\"createElement\"](JsonViewerWrap, null, external_react_[\"createElement\"](SampleControls, null, renderCopyButton(), external_react_[\"createElement\"](\"span\", {\n onClick: _this.expandAll\n }, \" Expand all \"), external_react_[\"createElement\"](\"span\", {\n onClick: _this.collapseAll\n }, \" Collapse all \")), external_react_[\"createElement\"](OptionsContext.Consumer, null, function (options) {\n return external_react_[\"createElement\"](PrismDiv, {\n className: _this.props.className,\n ref: function ref(node) {\n return _this.node = node;\n },\n dangerouslySetInnerHTML: {\n __html: jsonToHTML(_this.props.data, options.jsonSampleExpandLevel)\n }\n });\n }));\n };\n\n _this.expandAll = function () {\n var elements = _this.node.getElementsByClassName('collapsible');\n\n for (var _i = 0, _a = Array.prototype.slice.call(elements); _i < _a.length; _i++) {\n var collapsed = _a[_i];\n collapsed.parentNode.classList.remove('collapsed');\n }\n };\n\n _this.collapseAll = function () {\n var elements = _this.node.getElementsByClassName('collapsible'); // skip first item to avoid collapsing whole object/array\n\n\n var elementsArr = Array.prototype.slice.call(elements, 1);\n\n for (var _i = 0, elementsArr_1 = elementsArr; _i < elementsArr_1.length; _i++) {\n var expanded = elementsArr_1[_i];\n expanded.parentNode.classList.add('collapsed');\n }\n };\n\n _this.clickListener = function (event) {\n var collapsed;\n var target = event.target;\n\n if (target.className === 'collapser') {\n collapsed = target.parentElement.getElementsByClassName('collapsible')[0];\n\n if (collapsed.parentElement.classList.contains('collapsed')) {\n collapsed.parentElement.classList.remove('collapsed');\n } else {\n collapsed.parentElement.classList.add('collapsed');\n }\n }\n };\n\n return _this;\n }\n\n Json.prototype.render = function () {\n return external_react_[\"createElement\"](CopyButtonWrapper_CopyButtonWrapper, {\n data: this.props.data\n }, this.renderInner);\n };\n\n Json.prototype.componentDidMount = function () {\n this.node.addEventListener('click', this.clickListener);\n };\n\n Json.prototype.componentWillUnmount = function () {\n this.node.removeEventListener('click', this.clickListener);\n };\n\n return Json;\n }(external_react_[\"PureComponent\"]);\n\n var JsonViewer = styled_components(JsonViewer_Json)(JsonViewer_templateObject_2 || (JsonViewer_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n\"], [\"\\n \", \";\\n\"])), jsonStyles);\n var JsonViewer_templateObject_1, JsonViewer_templateObject_2; // CONCATENATED MODULE: ./src/components/SourceCode/SourceCode.tsx\n\n var SourceCode_SourceCode =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SourceCode, _super);\n\n function SourceCode() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n SourceCode.prototype.render = function () {\n var _a = this.props,\n source = _a.source,\n lang = _a.lang;\n return external_react_[\"createElement\"](StyledPre, {\n dangerouslySetInnerHTML: {\n __html: _highlight(source, lang)\n }\n });\n };\n\n return SourceCode;\n }(external_react_[\"PureComponent\"]);\n\n var SourceCode_SourceCodeWithCopy =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SourceCodeWithCopy, _super);\n\n function SourceCodeWithCopy() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n SourceCodeWithCopy.prototype.render = function () {\n var _this = this;\n\n return external_react_[\"createElement\"](CopyButtonWrapper_CopyButtonWrapper, {\n data: this.props.source\n }, function (_a) {\n var renderCopyButton = _a.renderCopyButton;\n return external_react_[\"createElement\"](SampleControlsWrap, null, external_react_[\"createElement\"](SampleControls, null, renderCopyButton()), external_react_[\"createElement\"](SourceCode_SourceCode, {\n lang: _this.props.lang,\n source: _this.props.source\n }));\n });\n };\n\n return SourceCodeWithCopy;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/PayloadSamples/ExampleValue.tsx\n\n\n function ExampleValue(_a) {\n var value = _a.value,\n mimeType = _a.mimeType;\n\n if (isJsonLike(mimeType)) {\n return external_react_[\"createElement\"](JsonViewer, {\n data: value\n });\n } else {\n if (typeof value === 'object') {\n // just in case example was cached as json but used as non-json\n value = JSON.stringify(value, null, 2);\n }\n\n return external_react_[\"createElement\"](SourceCode_SourceCodeWithCopy, {\n lang: langFromMime(mimeType),\n source: value\n });\n }\n } // CONCATENATED MODULE: ./src/components/PayloadSamples/exernalExampleHook.ts\n\n\n function useExternalExample(example, mimeType) {\n var _this = this;\n\n var _a = Object(external_react_[\"useState\"])(true),\n setIsLoading = _a[1]; // to trigger component reload\n\n\n var value = Object(external_react_[\"useRef\"])(undefined);\n var prevRef = Object(external_react_[\"useRef\"])(undefined);\n\n if (prevRef.current !== example) {\n value.current = undefined;\n }\n\n prevRef.current = example;\n Object(external_react_[\"useEffect\"])(function () {\n var load = function load() {\n return Object(external_tslib_[\"__awaiter\"])(_this, void 0, void 0, function () {\n var _a, e_1;\n\n return Object(external_tslib_[\"__generator\"])(this, function (_b) {\n switch (_b.label) {\n case 0:\n setIsLoading(true);\n _b.label = 1;\n\n case 1:\n _b.trys.push([1, 3,, 4]);\n\n _a = value;\n return [4\n /*yield*/\n , example.getExternalValue(mimeType)];\n\n case 2:\n _a.current = _b.sent();\n return [3\n /*break*/\n , 4];\n\n case 3:\n e_1 = _b.sent();\n value.current = e_1;\n return [3\n /*break*/\n , 4];\n\n case 4:\n setIsLoading(false);\n return [2\n /*return*/\n ];\n }\n });\n });\n };\n\n load();\n }, [example, mimeType]);\n return value.current;\n } // CONCATENATED MODULE: ./src/components/PayloadSamples/Example.tsx\n\n\n function Example(_a) {\n var example = _a.example,\n mimeType = _a.mimeType;\n\n if (example.value === undefined && example.externalValueUrl) {\n return external_react_[\"createElement\"](ExternalExample, {\n example: example,\n mimeType: mimeType\n });\n } else {\n return external_react_[\"createElement\"](ExampleValue, {\n value: example.value,\n mimeType: mimeType\n });\n }\n }\n\n function ExternalExample(_a) {\n var example = _a.example,\n mimeType = _a.mimeType;\n var value = useExternalExample(example, mimeType);\n\n if (value === undefined) {\n return external_react_[\"createElement\"](\"span\", null, \"Loading...\");\n }\n\n if (value instanceof Error) {\n return external_react_[\"createElement\"](StyledPre, null, \"Error loading external example: \", external_react_[\"createElement\"](\"br\", null), external_react_[\"createElement\"](\"a\", {\n className: 'token string',\n href: example.externalValueUrl,\n target: \"_blank\",\n rel: \"noopener noreferrer\"\n }, example.externalValueUrl));\n }\n\n return external_react_[\"createElement\"](ExampleValue, {\n value: value,\n mimeType: mimeType\n });\n } // CONCATENATED MODULE: ./src/components/PayloadSamples/styled.elements.ts\n\n\n var styled_elements_MimeLabel = styled_components.div(PayloadSamples_styled_elements_templateObject_1 || (PayloadSamples_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 0.9em;\\n background-color: \", \";\\n margin: 0 0 10px 0;\\n display: block;\\n font-family: \", \";\\n font-size: 0.929em;\\n line-height: 1.5em;\\n\"], [\"\\n padding: 0.9em;\\n background-color: \", \";\\n margin: 0 0 10px 0;\\n display: block;\\n font-family: \", \";\\n font-size: 0.929em;\\n line-height: 1.5em;\\n\"])), function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"transparentize\"])(0.6, theme.rightPanel.backgroundColor);\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.headings.fontFamily;\n });\n var DropdownLabel = styled_components.span(PayloadSamples_styled_elements_templateObject_2 || (PayloadSamples_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-family: \", \";\\n font-size: 12px;\\n position: absolute;\\n z-index: 1;\\n top: -11px;\\n left: 12px;\\n font-weight: \", \";\\n color: \", \";\\n\"], [\"\\n font-family: \", \";\\n font-size: 12px;\\n position: absolute;\\n z-index: 1;\\n top: -11px;\\n left: 12px;\\n font-weight: \", \";\\n color: \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.typography.headings.fontFamily;\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.fontWeightBold;\n }, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"transparentize\"])(0.6, theme.rightPanel.textColor);\n });\n var DropdownWrapper = styled_components.div(styled_elements_templateObject_3 || (styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: relative;\\n\"], [\"\\n position: relative;\\n\"])));\n var InvertedSimpleDropdown = styled_components(StyledDropdown)(styled_elements_templateObject_4 || (styled_elements_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-left: 10px;\\n text-transform: none;\\n font-size: 0.929em;\\n margin: 0 0 10px 0;\\n display: block;\\n background-color: \", \";\\n .Dropdown-placeholder {\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n }\\n .Dropdown-control {\\n margin-top: 0;\\n }\\n .Dropdown-control,\\n .Dropdown-control:hover {\\n font-size: 1em;\\n border: none;\\n padding: 0.9em 1.6em 0.9em 0.9em;\\n background: transparent;\\n color: \", \";\\n box-shadow: none;\\n\\n .Dropdown-arrow {\\n border-top-color: \", \";\\n }\\n }\\n .Dropdown-menu {\\n margin: 0;\\n margin-top: 2px;\\n .Dropdown-option {\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n }\\n }\\n\"], [\"\\n margin-left: 10px;\\n text-transform: none;\\n font-size: 0.929em;\\n margin: 0 0 10px 0;\\n display: block;\\n background-color: \", \";\\n .Dropdown-placeholder {\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n }\\n .Dropdown-control {\\n margin-top: 0;\\n }\\n .Dropdown-control,\\n .Dropdown-control:hover {\\n font-size: 1em;\\n border: none;\\n padding: 0.9em 1.6em 0.9em 0.9em;\\n background: transparent;\\n color: \", \";\\n box-shadow: none;\\n\\n .Dropdown-arrow {\\n border-top-color: \", \";\\n }\\n }\\n .Dropdown-menu {\\n margin: 0;\\n margin-top: 2px;\\n .Dropdown-option {\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n }\\n }\\n\"])), function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"transparentize\"])(0.6, theme.rightPanel.backgroundColor);\n }, function (_a) {\n var theme = _a.theme;\n return theme.rightPanel.textColor;\n }, function (_a) {\n var theme = _a.theme;\n return theme.rightPanel.textColor;\n });\n var NoSampleLabel = styled_components.div(styled_elements_templateObject_5 || (styled_elements_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-family: \", \";\\n font-size: 12px;\\n color: #ee807f;\\n\"], [\"\\n font-family: \", \";\\n font-size: 12px;\\n color: #ee807f;\\n\"])), function (props) {\n return props.theme.typography.code.fontFamily;\n });\n var PayloadSamples_styled_elements_templateObject_1, PayloadSamples_styled_elements_templateObject_2, styled_elements_templateObject_3, styled_elements_templateObject_4, styled_elements_templateObject_5; // CONCATENATED MODULE: ./src/components/PayloadSamples/MediaTypeSamples.tsx\n\n var MediaTypeSamples_MediaTypeSamples =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(MediaTypeSamples, _super);\n\n function MediaTypeSamples() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.state = {\n activeIdx: 0\n };\n\n _this.switchMedia = function (_a) {\n var value = _a.value;\n\n _this.setState({\n activeIdx: parseInt(value, 10)\n });\n };\n\n return _this;\n }\n\n MediaTypeSamples.prototype.render = function () {\n var activeIdx = this.state.activeIdx;\n var examples = this.props.mediaType.examples || {};\n var mimeType = this.props.mediaType.name;\n var noSample = external_react_[\"createElement\"](NoSampleLabel, null, \"No sample\");\n var examplesNames = Object.keys(examples);\n\n if (examplesNames.length === 0) {\n return noSample;\n }\n\n if (examplesNames.length > 1) {\n var options = examplesNames.map(function (name, idx) {\n return {\n label: examples[name].summary || name,\n value: idx.toString()\n };\n });\n var example = examples[examplesNames[activeIdx]];\n var description = example.description;\n return external_react_[\"createElement\"](SamplesWrapper, null, external_react_[\"createElement\"](DropdownWrapper, null, external_react_[\"createElement\"](DropdownLabel, null, \"Example\"), this.props.renderDropdown({\n value: options[activeIdx],\n options: options,\n onChange: this.switchMedia\n })), external_react_[\"createElement\"](\"div\", null, description && external_react_[\"createElement\"](Markdown_Markdown, {\n source: description\n }), external_react_[\"createElement\"](Example, {\n example: example,\n mimeType: mimeType\n })));\n } else {\n var example = examples[examplesNames[0]];\n return external_react_[\"createElement\"](SamplesWrapper, null, example.description && external_react_[\"createElement\"](Markdown_Markdown, {\n source: example.description\n }), external_react_[\"createElement\"](Example, {\n example: example,\n mimeType: mimeType\n }));\n }\n };\n\n return MediaTypeSamples;\n }(external_react_[\"Component\"]);\n\n var SamplesWrapper = styled_components.div(MediaTypeSamples_templateObject_1 || (MediaTypeSamples_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-top: 15px;\\n\"], [\"\\n margin-top: 15px;\\n\"])));\n var MediaTypeSamples_templateObject_1; // EXTERNAL MODULE: external \"mobx-react\"\n\n var external_mobx_react_ = __webpack_require__(2); // CONCATENATED MODULE: ./src/common-elements/fields.ts\n\n\n var ClickablePropertyNameCell = styled_components(PropertyNameCell)(fields_templateObject_1 || (fields_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n cursor: pointer;\\n\\n \", \" {\\n height: \", \";\\n width: \", \";\\n polygon {\\n fill: \", \";\\n }\\n }\\n\"], [\"\\n cursor: pointer;\\n\\n \", \" {\\n height: \", \";\\n width: \", \";\\n polygon {\\n fill: \", \";\\n }\\n }\\n\"])), ShelfIcon, function (_a) {\n var theme = _a.theme;\n return theme.schema.arrow.size;\n }, function (_a) {\n var theme = _a.theme;\n return theme.schema.arrow.size;\n }, function (_a) {\n var theme = _a.theme;\n return theme.schema.arrow.color;\n });\n var FieldLabel = styled_components.span(fields_templateObject_2 || (fields_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n vertical-align: middle;\\n font-size: \", \";\\n line-height: 20px;\\n\"], [\"\\n vertical-align: middle;\\n font-size: \", \";\\n line-height: 20px;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.typography.code.fontSize;\n });\n var TypePrefix = styled_components(FieldLabel)(fields_templateObject_3 || (fields_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n\"], [\"\\n color: \", \";\\n\"])), function (props) {\n return Object(external_polished_[\"transparentize\"])(0.2, props.theme.schema.typeNameColor);\n });\n var TypeName = styled_components(FieldLabel)(fields_templateObject_4 || (fields_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n\"], [\"\\n color: \", \";\\n\"])), function (props) {\n return props.theme.schema.typeNameColor;\n });\n var TypeTitle = styled_components(FieldLabel)(fields_templateObject_5 || (fields_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n word-break: break-word;\\n\"], [\"\\n color: \", \";\\n word-break: break-word;\\n\"])), function (props) {\n return props.theme.schema.typeTitleColor;\n });\n var TypeFormat = TypeName;\n var RequiredLabel = styled_components(FieldLabel.withComponent('div'))(fields_templateObject_6 || (fields_templateObject_6 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n font-size: \", \";\\n font-weight: normal;\\n margin-left: 20px;\\n line-height: 1;\\n\"], [\"\\n color: \", \";\\n font-size: \", \";\\n font-weight: normal;\\n margin-left: 20px;\\n line-height: 1;\\n\"])), function (props) {\n return props.theme.schema.requireLabelColor;\n }, function (props) {\n return props.theme.schema.labelsTextSize;\n });\n var RecursiveLabel = styled_components(FieldLabel)(fields_templateObject_7 || (fields_templateObject_7 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n font-size: 13px;\\n\"], [\"\\n color: \", \";\\n font-size: 13px;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.colors.warning.main;\n });\n var NullableLabel = styled_components(FieldLabel)(fields_templateObject_8 || (fields_templateObject_8 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: #3195a6;\\n font-size: 13px;\\n\"], [\"\\n color: #3195a6;\\n font-size: 13px;\\n\"])));\n var PatternLabel = styled_components(FieldLabel)(fields_templateObject_9 || (fields_templateObject_9 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: #3195a6;\\n &::before,\\n &::after {\\n font-weight: bold;\\n }\\n\"], [\"\\n color: #3195a6;\\n &::before,\\n &::after {\\n font-weight: bold;\\n }\\n\"])));\n var fields_ExampleValue = styled_components(FieldLabel)(templateObject_10 || (templateObject_10 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n border-radius: 2px;\\n \", \";\\n & + & {\\n margin-left: 0;\\n }\\n \", \";\\n\"], [\"\\n border-radius: 2px;\\n \", \";\\n & + & {\\n margin-left: 0;\\n }\\n \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return \"\\n background-color: \" + Object(external_polished_[\"transparentize\"])(0.95, theme.colors.text.primary) + \";\\n color: \" + Object(external_polished_[\"transparentize\"])(0.1, theme.colors.text.primary) + \";\\n\\n padding: 0 \" + theme.spacing.unit + \"px;\\n border: 1px solid \" + Object(external_polished_[\"transparentize\"])(0.9, theme.colors.text.primary) + \";\\n font-family: \" + theme.typography.code.fontFamily + \";\\n}\";\n }, extensionsHook('ExampleValue'));\n var ExtensionValue = styled_components(fields_ExampleValue)(templateObject_11 || (templateObject_11 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\"], [\"\"])));\n var ConstraintItem = styled_components(FieldLabel)(templateObject_12 || (templateObject_12 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n border-radius: 2px;\\n \", \";\\n & + & {\\n margin-left: 0;\\n }\\n \", \";\\n\"], [\"\\n border-radius: 2px;\\n \", \";\\n & + & {\\n margin-left: 0;\\n }\\n \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return \"\\n background-color: \" + Object(external_polished_[\"transparentize\"])(0.95, theme.colors.primary.light) + \";\\n color: \" + Object(external_polished_[\"transparentize\"])(0.1, theme.colors.primary.main) + \";\\n\\n margin: 0 \" + theme.spacing.unit + \"px;\\n padding: 0 \" + theme.spacing.unit + \"px;\\n border: 1px solid \" + Object(external_polished_[\"transparentize\"])(0.9, theme.colors.primary.main) + \";\\n font-family: \" + theme.typography.code.fontFamily + \";\\n}\";\n }, extensionsHook('ConstraintItem'));\n var fields_templateObject_1, fields_templateObject_2, fields_templateObject_3, fields_templateObject_4, fields_templateObject_5, fields_templateObject_6, fields_templateObject_7, fields_templateObject_8, fields_templateObject_9, templateObject_10, templateObject_11, templateObject_12; // CONCATENATED MODULE: ./src/components/ExternalDocumentation/ExternalDocumentation.tsx\n\n var LinkWrap = styled_components.div(ExternalDocumentation_templateObject_1 || (ExternalDocumentation_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n \", \"\\n\"], [\"\\n \", \";\\n \", \"\\n\"])), linksCss, function (_a) {\n var compact = _a.compact;\n return !compact ? 'margin: 1em 0' : '';\n });\n\n var ExternalDocumentation_ExternalDocumentation =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ExternalDocumentation, _super);\n\n function ExternalDocumentation() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ExternalDocumentation.prototype.render = function () {\n var externalDocs = this.props.externalDocs;\n\n if (!externalDocs || !externalDocs.url) {\n return null;\n }\n\n return external_react_[\"createElement\"](LinkWrap, {\n compact: this.props.compact\n }, external_react_[\"createElement\"](\"a\", {\n href: externalDocs.url\n }, externalDocs.description || externalDocs.url));\n };\n\n ExternalDocumentation = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ExternalDocumentation);\n return ExternalDocumentation;\n }(external_react_[\"Component\"]);\n\n var ExternalDocumentation_templateObject_1; // CONCATENATED MODULE: ./src/components/Fields/EnumValues.tsx\n\n var EnumValues_EnumValues =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(EnumValues, _super);\n\n function EnumValues() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n EnumValues.prototype.render = function () {\n var _a = this.props,\n values = _a.values,\n type = _a.type;\n var enumSkipQuotes = this.context.enumSkipQuotes;\n\n if (!values.length) {\n return null;\n }\n\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](FieldLabel, null, type === 'array' ? l('enumArray') : '', ' ', values.length === 1 ? l('enumSingleValue') : l('enum'), \":\"), ' ', values.map(function (value, idx) {\n var exampleValue = enumSkipQuotes ? value : JSON.stringify(value);\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], {\n key: idx\n }, external_react_[\"createElement\"](fields_ExampleValue, null, exampleValue), ' ');\n }));\n };\n\n EnumValues.contextType = OptionsContext;\n return EnumValues;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Fields/Extensions.tsx\n\n\n var Extension = styled_components(StyledMarkdownBlock)(Extensions_templateObject_1 || (Extensions_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin: 2px 0;\\n\"], [\"\\n margin: 2px 0;\\n\"])));\n\n var Extensions_Extensions =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Extensions, _super);\n\n function Extensions() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Extensions.prototype.render = function () {\n var exts = this.props.extensions;\n return external_react_[\"createElement\"](OptionsContext.Consumer, null, function (options) {\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, options.showExtensions && Object.keys(exts).map(function (key) {\n return external_react_[\"createElement\"](Extension, {\n key: key\n }, external_react_[\"createElement\"](FieldLabel, null, \" \", key.substring(2), \": \"), ' ', external_react_[\"createElement\"](ExtensionValue, null, typeof exts[key] === 'string' ? exts[key] : JSON.stringify(exts[key])));\n }));\n });\n };\n\n return Extensions;\n }(external_react_[\"PureComponent\"]);\n\n var Extensions_templateObject_1; // CONCATENATED MODULE: ./src/components/Fields/FieldContstraints.tsx\n\n var FieldContstraints_ConstraintsView =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ConstraintsView, _super);\n\n function ConstraintsView() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ConstraintsView.prototype.render = function () {\n if (this.props.constraints.length === 0) {\n return null;\n }\n\n return external_react_[\"createElement\"](\"span\", null, ' ', this.props.constraints.map(function (constraint) {\n return external_react_[\"createElement\"](ConstraintItem, {\n key: constraint\n }, \" \", constraint, \" \");\n }));\n };\n\n return ConstraintsView;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Fields/FieldDetail.tsx\n\n\n var FieldDetail_FieldDetail =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(FieldDetail, _super);\n\n function FieldDetail() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n FieldDetail.prototype.render = function () {\n if (this.props.value === undefined) {\n return null;\n }\n\n var value = this.props.raw ? this.props.value : JSON.stringify(this.props.value);\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](FieldLabel, null, \" \", this.props.label, \" \"), \" \", external_react_[\"createElement\"](fields_ExampleValue, null, value));\n };\n\n return FieldDetail;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Fields/FieldDetails.tsx\n\n\n var FieldDetails_FieldDetails =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(FieldDetails, _super);\n\n function FieldDetails() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n FieldDetails.prototype.render = function () {\n var _a = this.props,\n showExamples = _a.showExamples,\n field = _a.field,\n renderDiscriminatorSwitch = _a.renderDiscriminatorSwitch;\n var _b = this.context,\n enumSkipQuotes = _b.enumSkipQuotes,\n hideSchemaTitles = _b.hideSchemaTitles;\n var schema = field.schema,\n description = field.description,\n example = field.example,\n deprecated = field.deprecated;\n var rawDefault = !!enumSkipQuotes || field.in === 'header'; // having quotes around header field default values is confusing and inappropriate\n\n var exampleField = null;\n\n if (showExamples && example !== undefined) {\n var label = l('example') + ':';\n\n if (field.in && (field.style || field.serializationMime)) {\n // decode for better readability in examples: see https://github.com/Redocly/redoc/issues/1138\n var serializedValue = decodeURIComponent(serializeParameterValue(field, example));\n exampleField = external_react_[\"createElement\"](FieldDetail_FieldDetail, {\n label: label,\n value: serializedValue,\n raw: true\n });\n } else {\n exampleField = external_react_[\"createElement\"](FieldDetail_FieldDetail, {\n label: label,\n value: example\n });\n }\n }\n\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](TypePrefix, null, schema.typePrefix), external_react_[\"createElement\"](TypeName, null, schema.displayType), schema.displayFormat && external_react_[\"createElement\"](TypeFormat, null, ' ', \"<\", schema.displayFormat, \">\", ' '), schema.title && !hideSchemaTitles && external_react_[\"createElement\"](TypeTitle, null, \" (\", schema.title, \") \"), external_react_[\"createElement\"](FieldContstraints_ConstraintsView, {\n constraints: schema.constraints\n }), schema.nullable && external_react_[\"createElement\"](NullableLabel, null, \" \", l('nullable'), \" \"), schema.pattern && external_react_[\"createElement\"](PatternLabel, null, \" \", schema.pattern, \" \"), schema.isCircular && external_react_[\"createElement\"](RecursiveLabel, null, \" \", l('recursive'), \" \")), deprecated && external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](Badge, {\n type: \"warning\"\n }, \" \", l('deprecated'), \" \")), external_react_[\"createElement\"](FieldDetail_FieldDetail, {\n raw: rawDefault,\n label: l('default') + ':',\n value: schema.default\n }), !renderDiscriminatorSwitch && external_react_[\"createElement\"](EnumValues_EnumValues, {\n type: schema.type,\n values: schema.enum\n }), ' ', exampleField, external_react_[\"createElement\"](Extensions_Extensions, {\n extensions: Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, field.extensions), schema.extensions)\n }), external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](Markdown_Markdown, {\n compact: true,\n source: description\n })), schema.externalDocs && external_react_[\"createElement\"](ExternalDocumentation_ExternalDocumentation, {\n externalDocs: schema.externalDocs,\n compact: true\n }), renderDiscriminatorSwitch && renderDiscriminatorSwitch(this.props) || null);\n };\n\n FieldDetails.contextType = OptionsContext;\n return FieldDetails;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Schema/ArraySchema.tsx\n\n\n var PaddedSchema = styled_components.div(ArraySchema_templateObject_1 || (ArraySchema_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding-left: \", \"px;\\n\"], [\"\\n padding-left: \", \"px;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.spacing.unit * 2;\n });\n\n var ArraySchema_ArraySchema =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ArraySchema, _super);\n\n function ArraySchema() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ArraySchema.prototype.render = function () {\n var itemsSchema = this.props.schema.items;\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](ArrayOpenningLabel, null, \" Array \"), external_react_[\"createElement\"](PaddedSchema, null, external_react_[\"createElement\"](Schema_Schema, Object(external_tslib_[\"__assign\"])({}, this.props, {\n schema: itemsSchema\n }))), external_react_[\"createElement\"](ArrayClosingLabel, null));\n };\n\n return ArraySchema;\n }(external_react_[\"PureComponent\"]);\n\n var ArraySchema_templateObject_1; // CONCATENATED MODULE: ./src/components/Fields/Field.tsx\n\n var Field_Field =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Field, _super);\n\n function Field() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.toggle = function () {\n if (_this.props.field.expanded === undefined && _this.props.expandByDefault) {\n _this.props.field.expanded = false;\n } else {\n _this.props.field.toggle();\n }\n };\n\n return _this;\n }\n\n Field.prototype.render = function () {\n var _a = this.props,\n className = _a.className,\n field = _a.field,\n isLast = _a.isLast,\n expandByDefault = _a.expandByDefault;\n var name = field.name,\n deprecated = field.deprecated,\n required = field.required,\n kind = field.kind;\n var withSubSchema = !field.schema.isPrimitive && !field.schema.isCircular;\n var expanded = field.expanded === undefined ? expandByDefault : field.expanded;\n var paramName = withSubSchema ? external_react_[\"createElement\"](ClickablePropertyNameCell, {\n onClick: this.toggle,\n className: deprecated ? 'deprecated' : '',\n kind: kind,\n title: name\n }, external_react_[\"createElement\"](PropertyBullet, null), name, external_react_[\"createElement\"](ShelfIcon, {\n direction: expanded ? 'down' : 'right'\n }), required && external_react_[\"createElement\"](RequiredLabel, null, \" required \")) : external_react_[\"createElement\"](PropertyNameCell, {\n className: deprecated ? 'deprecated' : undefined,\n kind: kind,\n title: name\n }, external_react_[\"createElement\"](PropertyBullet, null), name, required && external_react_[\"createElement\"](RequiredLabel, null, \" required \"));\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, external_react_[\"createElement\"](\"tr\", {\n className: isLast ? 'last ' + className : className\n }, paramName, external_react_[\"createElement\"](PropertyDetailsCell, null, external_react_[\"createElement\"](FieldDetails_FieldDetails, Object(external_tslib_[\"__assign\"])({}, this.props)))), expanded && withSubSchema && external_react_[\"createElement\"](\"tr\", {\n key: field.name + 'inner'\n }, external_react_[\"createElement\"](PropertyCellWithInner, {\n colSpan: 2\n }, external_react_[\"createElement\"](InnerPropertiesWrap, null, external_react_[\"createElement\"](Schema_Schema, {\n schema: field.schema,\n skipReadOnly: this.props.skipReadOnly,\n skipWriteOnly: this.props.skipWriteOnly,\n showTitle: this.props.showTitle\n })))));\n };\n\n Field = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], Field);\n return Field;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Schema/DiscriminatorDropdown.tsx\n\n\n var DiscriminatorDropdown_DiscriminatorDropdown =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(DiscriminatorDropdown, _super);\n\n function DiscriminatorDropdown() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.changeActiveChild = function (_a) {\n var value = _a.value;\n var idx = parseInt(value, 10);\n\n _this.props.parent.activateOneOf(idx);\n };\n\n return _this;\n }\n\n DiscriminatorDropdown.prototype.sortOptions = function (options, enumValues) {\n if (enumValues.length === 0) {\n return;\n }\n\n var enumOrder = {};\n enumValues.forEach(function (enumItem, idx) {\n enumOrder[enumItem] = idx;\n });\n options.sort(function (a, b) {\n return enumOrder[a.label] > enumOrder[b.label] ? 1 : -1;\n });\n };\n\n DiscriminatorDropdown.prototype.render = function () {\n var _a = this.props,\n parent = _a.parent,\n enumValues = _a.enumValues;\n\n if (parent.oneOf === undefined) {\n return null;\n }\n\n var options = parent.oneOf.map(function (subSchema, idx) {\n return {\n value: idx.toString(),\n label: subSchema.title\n };\n });\n var activeItem = options[parent.activeOneOf];\n this.sortOptions(options, enumValues);\n return external_react_[\"createElement\"](StyledDropdown, {\n value: activeItem,\n options: options,\n onChange: this.changeActiveChild\n });\n };\n\n DiscriminatorDropdown = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], DiscriminatorDropdown);\n return DiscriminatorDropdown;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Schema/ObjectSchema.tsx\n\n\n var ObjectSchema_ObjectSchema =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ObjectSchema, _super);\n\n function ObjectSchema() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Object.defineProperty(ObjectSchema.prototype, \"parentSchema\", {\n get: function get() {\n return this.props.discriminator.parentSchema;\n },\n enumerable: true,\n configurable: true\n });\n\n ObjectSchema.prototype.render = function () {\n var _this = this;\n\n var _a = this.props,\n _b = _a.schema.fields,\n fields = _b === void 0 ? [] : _b,\n showTitle = _a.showTitle,\n discriminator = _a.discriminator;\n var needFilter = this.props.skipReadOnly || this.props.skipWriteOnly;\n var filteredFields = needFilter ? fields.filter(function (item) {\n return !(_this.props.skipReadOnly && item.schema.readOnly || _this.props.skipWriteOnly && item.schema.writeOnly);\n }) : fields;\n var expandByDefault = this.context.expandSingleSchemaField && filteredFields.length === 1;\n return external_react_[\"createElement\"](PropertiesTable, null, showTitle && external_react_[\"createElement\"](PropertiesTableCaption, null, this.props.schema.title), external_react_[\"createElement\"](\"tbody\", null, mapWithLast(filteredFields, function (field, isLast) {\n return external_react_[\"createElement\"](Field_Field, {\n key: field.name,\n isLast: isLast,\n field: field,\n expandByDefault: expandByDefault,\n renderDiscriminatorSwitch: discriminator && discriminator.fieldName === field.name && function () {\n return external_react_[\"createElement\"](DiscriminatorDropdown_DiscriminatorDropdown, {\n parent: _this.parentSchema,\n enumValues: field.schema.enum\n });\n } || undefined,\n className: field.expanded ? 'expanded' : undefined,\n showExamples: false,\n skipReadOnly: _this.props.skipReadOnly,\n skipWriteOnly: _this.props.skipWriteOnly,\n showTitle: _this.props.showTitle\n });\n })));\n };\n\n ObjectSchema.contextType = OptionsContext;\n ObjectSchema = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ObjectSchema);\n return ObjectSchema;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Schema/OneOfSchema.tsx\n\n\n var OneOfSchema_OneOfButton =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(OneOfButton, _super);\n\n function OneOfButton() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.activateOneOf = function () {\n _this.props.schema.activateOneOf(_this.props.idx);\n };\n\n return _this;\n }\n\n OneOfButton.prototype.render = function () {\n var _a = this.props,\n idx = _a.idx,\n schema = _a.schema,\n subSchema = _a.subSchema;\n return external_react_[\"createElement\"](schema_OneOfButton, {\n active: idx === schema.activeOneOf,\n onClick: this.activateOneOf\n }, subSchema.title || subSchema.typePrefix + subSchema.displayType);\n };\n\n OneOfButton = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], OneOfButton);\n return OneOfButton;\n }(external_react_[\"Component\"]);\n\n var OneOfSchema_OneOfSchema =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(OneOfSchema, _super);\n\n function OneOfSchema() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n OneOfSchema.prototype.render = function () {\n var _a = this.props,\n oneOf = _a.schema.oneOf,\n schema = _a.schema;\n\n if (oneOf === undefined) {\n return null;\n }\n\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](OneOfLabel, null, \" \", schema.oneOfType, \" \"), external_react_[\"createElement\"](OneOfList, null, oneOf.map(function (subSchema, idx) {\n return external_react_[\"createElement\"](OneOfSchema_OneOfButton, {\n key: subSchema.pointer,\n schema: schema,\n subSchema: subSchema,\n idx: idx\n });\n })), external_react_[\"createElement\"](Schema_Schema, Object(external_tslib_[\"__assign\"])({}, this.props, {\n schema: oneOf[schema.activeOneOf]\n })));\n };\n\n OneOfSchema = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], OneOfSchema);\n return OneOfSchema;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Schema/Schema.tsx\n\n\n var Schema_Schema =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Schema, _super);\n\n function Schema() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Schema.prototype.render = function () {\n var schema = this.props.schema;\n\n if (!schema) {\n return external_react_[\"createElement\"](\"em\", null, \" Schema not provided \");\n }\n\n var type = schema.type,\n oneOf = schema.oneOf,\n discriminatorProp = schema.discriminatorProp,\n isCircular = schema.isCircular;\n\n if (isCircular) {\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](TypeName, null, schema.displayType), schema.title && external_react_[\"createElement\"](TypeTitle, null, \" \", schema.title, \" \"), external_react_[\"createElement\"](RecursiveLabel, null, \" \", l('recursive'), \" \"));\n }\n\n if (discriminatorProp !== undefined) {\n if (!oneOf || !oneOf.length) {\n console.warn(\"Looks like you are using discriminator wrong: you don't have any definition inherited from the \" + schema.title);\n return null;\n }\n\n return external_react_[\"createElement\"](ObjectSchema_ObjectSchema, Object(external_tslib_[\"__assign\"])({}, Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, this.props), {\n schema: oneOf[schema.activeOneOf]\n }), {\n discriminator: {\n fieldName: discriminatorProp,\n parentSchema: schema\n }\n }));\n }\n\n if (oneOf !== undefined) {\n return external_react_[\"createElement\"](OneOfSchema_OneOfSchema, Object(external_tslib_[\"__assign\"])({\n schema: schema\n }, this.props));\n }\n\n switch (type) {\n case 'object':\n return external_react_[\"createElement\"](ObjectSchema_ObjectSchema, Object(external_tslib_[\"__assign\"])({}, this.props));\n\n case 'array':\n return external_react_[\"createElement\"](ArraySchema_ArraySchema, Object(external_tslib_[\"__assign\"])({}, this.props));\n } // TODO: maybe adjust FieldDetails to accept schema\n\n\n var field = {\n schema: schema,\n name: '',\n required: false,\n description: schema.description,\n externalDocs: schema.externalDocs,\n deprecated: false,\n toggle: function toggle() {\n return null;\n },\n expanded: false\n }; // cast needed for hot-loader to not fail\n\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](FieldDetails_FieldDetails, {\n field: field\n }));\n };\n\n Schema = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], Schema);\n return Schema;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Schema/index.ts\n // CONCATENATED MODULE: ./src/components/SchemaDefinition/SchemaDefinition.tsx\n\n\n var SchemaDefinition_SchemaDefinition =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SchemaDefinition, _super);\n\n function SchemaDefinition() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.renderDropdown = function (props) {\n return external_react_[\"createElement\"](DropdownOrLabel, Object(external_tslib_[\"__assign\"])({\n Label: MimeLabel,\n Dropdown: InvertedSimpleDropdown\n }, props));\n };\n\n return _this;\n }\n\n SchemaDefinition.getMediaType = function (schemaRef, exampleRef) {\n if (!schemaRef) {\n return {};\n }\n\n var info = {\n schema: {\n $ref: schemaRef\n }\n };\n\n if (exampleRef) {\n info.examples = {\n example: {\n $ref: exampleRef\n }\n };\n }\n\n return info;\n };\n\n Object.defineProperty(SchemaDefinition.prototype, \"mediaModel\", {\n get: function get() {\n var _a = this.props,\n parser = _a.parser,\n schemaRef = _a.schemaRef,\n exampleRef = _a.exampleRef,\n options = _a.options;\n\n if (!this._mediaModel) {\n this._mediaModel = new MediaType_MediaTypeModel(parser, 'json', false, SchemaDefinition.getMediaType(schemaRef, exampleRef), options);\n }\n\n return this._mediaModel;\n },\n enumerable: true,\n configurable: true\n });\n\n SchemaDefinition.prototype.render = function () {\n var _a = this.props,\n _b = _a.showReadOnly,\n showReadOnly = _b === void 0 ? true : _b,\n _c = _a.showWriteOnly,\n showWriteOnly = _c === void 0 ? false : _c;\n return external_react_[\"createElement\"](Section, null, external_react_[\"createElement\"](Row, null, external_react_[\"createElement\"](MiddlePanel, null, external_react_[\"createElement\"](Schema_Schema, {\n skipWriteOnly: !showWriteOnly,\n skipReadOnly: !showReadOnly,\n schema: this.mediaModel.schema\n })), external_react_[\"createElement\"](DarkRightPanel, null, external_react_[\"createElement\"](MediaSamplesWrap, null, external_react_[\"createElement\"](MediaTypeSamples_MediaTypeSamples, {\n renderDropdown: this.renderDropdown,\n mediaType: this.mediaModel\n })))));\n };\n\n return SchemaDefinition;\n }(external_react_[\"PureComponent\"]);\n\n var MediaSamplesWrap = styled_components.div(SchemaDefinition_templateObject_1 || (SchemaDefinition_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n background: \", \";\\n & > div,\\n & > pre {\\n padding: \", \"px;\\n margin: 0;\\n }\\n\\n & > div > pre {\\n padding: 0;\\n }\\n\"], [\"\\n background: \", \";\\n & > div,\\n & > pre {\\n padding: \", \"px;\\n margin: 0;\\n }\\n\\n & > div > pre {\\n padding: 0;\\n }\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.codeBlock.backgroundColor;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n });\n var SchemaDefinition_templateObject_1; // CONCATENATED MODULE: ./src/components/SecuritySchemes/SecuritySchemes.tsx\n\n var AUTH_TYPES = {\n oauth2: 'OAuth2',\n apiKey: 'API Key',\n http: 'HTTP',\n openIdConnect: 'Open ID Connect'\n };\n\n var SecuritySchemes_OAuthFlow =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(OAuthFlow, _super);\n\n function OAuthFlow() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n OAuthFlow.prototype.render = function () {\n var _a = this.props,\n type = _a.type,\n flow = _a.flow;\n return external_react_[\"createElement\"](\"tr\", null, external_react_[\"createElement\"](\"th\", null, \" \", type, \" OAuth Flow \"), external_react_[\"createElement\"](\"td\", null, type === 'implicit' || type === 'authorizationCode' ? external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](\"strong\", null, \" Authorization URL: \"), flow.authorizationUrl) : null, type === 'password' || type === 'clientCredentials' || type === 'authorizationCode' ? external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](\"strong\", null, \" Token URL: \"), flow.tokenUrl) : null, flow.refreshUrl && external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](\"strong\", null, \" Refresh URL: \"), flow.refreshUrl), external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](\"strong\", null, \" Scopes: \")), external_react_[\"createElement\"](\"ul\", null, Object.keys(flow.scopes || {}).map(function (scope) {\n return external_react_[\"createElement\"](\"li\", {\n key: scope\n }, external_react_[\"createElement\"](\"code\", null, scope), \" - \", external_react_[\"createElement\"](Markdown_Markdown, {\n inline: true,\n source: flow.scopes[scope] || ''\n }));\n }))));\n };\n\n return OAuthFlow;\n }(external_react_[\"PureComponent\"]);\n\n var SecuritySchemes_SecurityDefs =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SecurityDefs, _super);\n\n function SecurityDefs() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n SecurityDefs.prototype.render = function () {\n return this.props.securitySchemes.schemes.map(function (scheme) {\n return external_react_[\"createElement\"](Section, {\n id: scheme.sectionId,\n key: scheme.id\n }, external_react_[\"createElement\"](Row, null, external_react_[\"createElement\"](MiddlePanel, null, external_react_[\"createElement\"](H2, null, external_react_[\"createElement\"](ShareLink, {\n to: scheme.sectionId\n }), scheme.id), external_react_[\"createElement\"](Markdown_Markdown, {\n source: scheme.description || ''\n }), external_react_[\"createElement\"](StyledMarkdownBlock, null, external_react_[\"createElement\"](\"table\", {\n className: \"security-details\"\n }, external_react_[\"createElement\"](\"tbody\", null, external_react_[\"createElement\"](\"tr\", null, external_react_[\"createElement\"](\"th\", null, \" Security Scheme Type \"), external_react_[\"createElement\"](\"td\", null, \" \", AUTH_TYPES[scheme.type] || scheme.type, \" \")), scheme.apiKey ? external_react_[\"createElement\"](\"tr\", null, external_react_[\"createElement\"](\"th\", null, \" \", titleize(scheme.apiKey.in || ''), \" parameter name:\"), external_react_[\"createElement\"](\"td\", null, \" \", scheme.apiKey.name, \" \")) : scheme.http ? [external_react_[\"createElement\"](\"tr\", {\n key: \"scheme\"\n }, external_react_[\"createElement\"](\"th\", null, \" HTTP Authorization Scheme \"), external_react_[\"createElement\"](\"td\", null, \" \", scheme.http.scheme, \" \")), scheme.http.scheme === 'bearer' && scheme.http.bearerFormat && external_react_[\"createElement\"](\"tr\", {\n key: \"bearer\"\n }, external_react_[\"createElement\"](\"th\", null, \" Bearer format \"), external_react_[\"createElement\"](\"td\", null, \" \\\"\", scheme.http.bearerFormat, \"\\\" \"))] : scheme.openId ? external_react_[\"createElement\"](\"tr\", null, external_react_[\"createElement\"](\"th\", null, \" Connect URL \"), external_react_[\"createElement\"](\"td\", null, external_react_[\"createElement\"](\"a\", {\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n href: scheme.openId.connectUrl\n }, scheme.openId.connectUrl))) : scheme.flows ? Object.keys(scheme.flows).map(function (type) {\n return external_react_[\"createElement\"](SecuritySchemes_OAuthFlow, {\n key: type,\n type: type,\n flow: scheme.flows[type]\n });\n }) : null))))));\n });\n };\n\n return SecurityDefs;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/services/AppStore.ts\n\n\n var AppStore_a;\n\n function createStore(spec, specUrl, options) {\n if (options === void 0) {\n options = {};\n }\n\n return Object(external_tslib_[\"__awaiter\"])(this, void 0, void 0, function () {\n var resolvedSpec;\n return Object(external_tslib_[\"__generator\"])(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4\n /*yield*/\n , loadAndBundleSpec(spec || specUrl)];\n\n case 1:\n resolvedSpec = _a.sent();\n return [2\n /*return*/\n , new AppStore_AppStore(resolvedSpec, specUrl, options)];\n }\n });\n });\n }\n\n var AppStore_AppStore =\n /** @class */\n function () {\n function AppStore(spec, specUrl, options, createSearchIndex) {\n var _this = this;\n\n if (options === void 0) {\n options = {};\n }\n\n if (createSearchIndex === void 0) {\n createSearchIndex = true;\n }\n\n this.marker = new MarkerService_MarkerService();\n this.disposer = null;\n this.rawOptions = options;\n this.options = new RedocNormalizedOptions_RedocNormalizedOptions(options, DEFAULT_OPTIONS);\n this.scroll = new ScrollService_ScrollService(this.options); // update position statically based on hash (in case of SSR)\n\n MenuStore_MenuStore.updateOnHistory(HistoryService_history.currentId, this.scroll);\n this.spec = new SpecStore_SpecStore(spec, specUrl, this.options);\n this.menu = new MenuStore_MenuStore(this.spec, this.scroll, HistoryService_history);\n\n if (!this.options.disableSearch) {\n this.search = new SearchStore_SearchStore();\n\n if (createSearchIndex) {\n this.search.indexItems(this.menu.items);\n }\n\n this.disposer = Object(external_mobx_[\"observe\"])(this.menu, 'activeItemIdx', function (change) {\n _this.updateMarkOnMenu(change.newValue);\n });\n }\n }\n /**\n * deserialize store\n * **SUPER HACKY AND NOT OPTIMAL IMPLEMENTATION**\n */\n // TODO:\n\n\n AppStore.fromJS = function (state) {\n var inst = new AppStore(state.spec.data, state.spec.url, state.options, false);\n inst.menu.activeItemIdx = state.menu.activeItemIdx || 0;\n inst.menu.activate(inst.menu.flatItems[inst.menu.activeItemIdx]);\n\n if (!inst.options.disableSearch) {\n inst.search.load(state.searchIndex);\n }\n\n return inst;\n };\n\n AppStore.prototype.onDidMount = function () {\n this.menu.updateOnHistory();\n this.updateMarkOnMenu(this.menu.activeItemIdx);\n };\n\n AppStore.prototype.dispose = function () {\n this.scroll.dispose();\n this.menu.dispose();\n\n if (this.search) {\n this.search.dispose();\n }\n\n if (this.disposer != null) {\n this.disposer();\n }\n };\n /**\n * serializes store\n * **SUPER HACKY AND NOT OPTIMAL IMPLEMENTATION**\n */\n // TODO: improve\n\n\n AppStore.prototype.toJS = function () {\n return Object(external_tslib_[\"__awaiter\"])(this, void 0, void 0, function () {\n var _a, _b;\n\n return Object(external_tslib_[\"__generator\"])(this, function (_c) {\n switch (_c.label) {\n case 0:\n _a = {\n menu: {\n activeItemIdx: this.menu.activeItemIdx\n },\n spec: {\n url: this.spec.parser.specUrl,\n data: this.spec.parser.spec\n }\n };\n if (!this.search) return [3\n /*break*/\n , 2];\n return [4\n /*yield*/\n , this.search.toJS()];\n\n case 1:\n _b = _c.sent();\n return [3\n /*break*/\n , 3];\n\n case 2:\n _b = undefined;\n _c.label = 3;\n\n case 3:\n return [2\n /*return*/\n , (_a.searchIndex = _b, _a.options = this.rawOptions, _a)];\n }\n });\n });\n };\n\n AppStore.prototype.updateMarkOnMenu = function (idx) {\n var start = Math.max(0, idx);\n var end = Math.min(this.menu.flatItems.length, start + 5);\n var elements = [];\n\n for (var i = start; i < end; i++) {\n var elem = this.menu.getElementAt(i);\n\n if (!elem) {\n continue;\n }\n\n elements.push(elem);\n }\n\n if (idx === -1 && IS_BROWSER) {\n var $description = document.querySelector('[data-role=\"redoc-description\"]');\n if ($description) elements.push($description);\n }\n\n this.marker.addOnly(elements);\n this.marker.mark();\n };\n\n return AppStore;\n }();\n\n var DEFAULT_OPTIONS = {\n allowedMdComponents: (AppStore_a = {}, AppStore_a[SECURITY_DEFINITIONS_COMPONENT_NAME] = {\n component: SecuritySchemes_SecurityDefs,\n propsSelector: function propsSelector(store) {\n return {\n securitySchemes: store.spec.securitySchemes\n };\n }\n }, AppStore_a[SECURITY_DEFINITIONS_JSX_NAME] = {\n component: SecuritySchemes_SecurityDefs,\n propsSelector: function propsSelector(store) {\n return {\n securitySchemes: store.spec.securitySchemes\n };\n }\n }, AppStore_a[SCHEMA_DEFINITION_JSX_NAME] = {\n component: SchemaDefinition_SchemaDefinition,\n propsSelector: function propsSelector(store) {\n return {\n parser: store.spec.parser,\n options: store.options\n };\n }\n }, AppStore_a)\n }; // CONCATENATED MODULE: ./src/services/index.ts\n // CONCATENATED MODULE: ./src/components/ApiInfo/styled.elements.ts\n\n var delimiterWidth = 15;\n var ApiInfoWrap = MiddlePanel;\n var ApiHeader = styled_components(H1)(ApiInfo_styled_elements_templateObject_1 || (ApiInfo_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-top: 0;\\n margin-bottom: 0.5em;\\n\\n \", \";\\n\"], [\"\\n margin-top: 0;\\n margin-bottom: 0.5em;\\n\\n \", \";\\n\"])), extensionsHook('ApiHeader'));\n var DownloadButton = styled_components.a(ApiInfo_styled_elements_templateObject_2 || (ApiInfo_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n border: 1px solid \", \";\\n color: \", \";\\n font-weight: normal;\\n margin-left: 0.5em;\\n padding: 4px 8px 4px;\\n display: inline-block;\\n text-decoration: none;\\n cursor: pointer;\\n\\n \", \";\\n\"], [\"\\n border: 1px solid \", \";\\n color: \", \";\\n font-weight: normal;\\n margin-left: 0.5em;\\n padding: 4px 8px 4px;\\n display: inline-block;\\n text-decoration: none;\\n cursor: pointer;\\n\\n \", \";\\n\"])), function (props) {\n return props.theme.colors.primary.main;\n }, function (props) {\n return props.theme.colors.primary.main;\n }, extensionsHook('DownloadButton'));\n var InfoSpan = styled_components.span(ApiInfo_styled_elements_templateObject_3 || (ApiInfo_styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n &::before {\\n content: '|';\\n display: inline-block;\\n opacity: 0.5;\\n width: \", \"px;\\n text-align: center;\\n }\\n\\n &:last-child::after {\\n display: none;\\n }\\n\"], [\"\\n &::before {\\n content: '|';\\n display: inline-block;\\n opacity: 0.5;\\n width: \", \"px;\\n text-align: center;\\n }\\n\\n &:last-child::after {\\n display: none;\\n }\\n\"])), delimiterWidth);\n var InfoSpanBoxWrap = styled_components.div(ApiInfo_styled_elements_templateObject_4 || (ApiInfo_styled_elements_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n overflow: hidden;\\n\"], [\"\\n overflow: hidden;\\n\"])));\n var InfoSpanBox = styled_components.div(ApiInfo_styled_elements_templateObject_5 || (ApiInfo_styled_elements_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: flex;\\n flex-wrap: wrap;\\n // hide separator on new lines: idea from https://stackoverflow.com/a/31732902/1749888\\n margin-left: -\", \"px;\\n\"], [\"\\n display: flex;\\n flex-wrap: wrap;\\n // hide separator on new lines: idea from https://stackoverflow.com/a/31732902/1749888\\n margin-left: -\", \"px;\\n\"])), delimiterWidth);\n var ApiInfo_styled_elements_templateObject_1, ApiInfo_styled_elements_templateObject_2, ApiInfo_styled_elements_templateObject_3, ApiInfo_styled_elements_templateObject_4, ApiInfo_styled_elements_templateObject_5; // CONCATENATED MODULE: ./src/components/ApiInfo/ApiInfo.tsx\n\n var ApiInfo_ApiInfo =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ApiInfo, _super);\n\n function ApiInfo() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.handleDownloadClick = function (e) {\n if (!e.target.href) {\n e.target.href = _this.props.store.spec.info.downloadLink;\n }\n };\n\n return _this;\n }\n\n ApiInfo.prototype.render = function () {\n var store = this.props.store;\n var _a = store.spec,\n info = _a.info,\n externalDocs = _a.externalDocs;\n var hideDownloadButton = store.options.hideDownloadButton;\n var downloadFilename = info.downloadFileName;\n var downloadLink = info.downloadLink;\n var license = info.license && external_react_[\"createElement\"](InfoSpan, null, \"License: \", external_react_[\"createElement\"](\"a\", {\n href: info.license.url\n }, info.license.name)) || null;\n var website = info.contact && info.contact.url && external_react_[\"createElement\"](InfoSpan, null, \"URL: \", external_react_[\"createElement\"](\"a\", {\n href: info.contact.url\n }, info.contact.url)) || null;\n var email = info.contact && info.contact.email && external_react_[\"createElement\"](InfoSpan, null, info.contact.name || 'E-mail', \":\", ' ', external_react_[\"createElement\"](\"a\", {\n href: 'mailto:' + info.contact.email\n }, info.contact.email)) || null;\n var terms = info.termsOfService && external_react_[\"createElement\"](InfoSpan, null, external_react_[\"createElement\"](\"a\", {\n href: info.termsOfService\n }, \"Terms of Service\")) || null;\n var version = info.version && external_react_[\"createElement\"](\"span\", null, \"(\", info.version, \")\") || null;\n return external_react_[\"createElement\"](Section, null, external_react_[\"createElement\"](Row, null, external_react_[\"createElement\"](MiddlePanel, {\n className: \"api-info\"\n }, external_react_[\"createElement\"](ApiHeader, null, info.title, \" \", version), !hideDownloadButton && external_react_[\"createElement\"](\"p\", null, \"Download OpenAPI specification:\", external_react_[\"createElement\"](DownloadButton, {\n download: downloadFilename || true,\n target: \"_blank\",\n href: downloadLink,\n onClick: this.handleDownloadClick\n }, \"Download\")), external_react_[\"createElement\"](StyledMarkdownBlock, null, (info.license || info.contact || info.termsOfService) && external_react_[\"createElement\"](InfoSpanBoxWrap, null, external_react_[\"createElement\"](InfoSpanBox, null, email, \" \", website, \" \", license, \" \", terms)) || null), external_react_[\"createElement\"](Markdown_Markdown, {\n source: store.spec.info.description,\n \"data-role\": \"redoc-description\"\n }), externalDocs && external_react_[\"createElement\"](ExternalDocumentation_ExternalDocumentation, {\n externalDocs: externalDocs\n }))));\n };\n\n ApiInfo = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ApiInfo);\n return ApiInfo;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/ApiInfo/index.ts\n // CONCATENATED MODULE: ./src/components/ApiLogo/styled.elements.tsx\n\n\n var LogoImgEl = styled_components.img(ApiLogo_styled_elements_templateObject_1 || (ApiLogo_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n max-height: \", \";\\n max-width: \", \";\\n padding: \", \";\\n width: 100%;\\n display: block;\\n\"], [\"\\n max-height: \", \";\\n max-width: \", \";\\n padding: \", \";\\n width: 100%;\\n display: block;\\n\"])), function (props) {\n return props.theme.logo.maxHeight;\n }, function (props) {\n return props.theme.logo.maxWidth;\n }, function (props) {\n return props.theme.logo.gutter;\n });\n var LogoWrap = styled_components.div(ApiLogo_styled_elements_templateObject_2 || (ApiLogo_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n text-align: center;\\n\"], [\"\\n text-align: center;\\n\"])));\n var styled_elements_Link = styled_components.a(ApiLogo_styled_elements_templateObject_3 || (ApiLogo_styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: inline-block;\\n\"], [\"\\n display: inline-block;\\n\"])));\n\n var styled_elements_LinkWrap = function styled_elements_LinkWrap(url) {\n return function (Component) {\n return external_react_[\"createElement\"](styled_elements_Link, {\n href: url\n }, Component);\n };\n };\n\n var ApiLogo_styled_elements_templateObject_1, ApiLogo_styled_elements_templateObject_2, ApiLogo_styled_elements_templateObject_3; // CONCATENATED MODULE: ./src/components/ApiLogo/ApiLogo.tsx\n\n var ApiLogo_ApiLogo =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ApiLogo, _super);\n\n function ApiLogo() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ApiLogo.prototype.render = function () {\n var info = this.props.info;\n var logoInfo = info['x-logo'];\n\n if (!logoInfo || !logoInfo.url) {\n return null;\n }\n\n var logoHref = logoInfo.href || info.contact && info.contact.url; // Use the english word logo if no alt text is provided\n\n var altText = logoInfo.altText ? logoInfo.altText : 'logo';\n var logo = external_react_[\"createElement\"](LogoImgEl, {\n src: logoInfo.url,\n alt: altText\n });\n return external_react_[\"createElement\"](LogoWrap, {\n style: {\n backgroundColor: logoInfo.backgroundColor\n }\n }, logoHref ? styled_elements_LinkWrap(logoHref)(logo) : logo);\n };\n\n ApiLogo = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ApiLogo);\n return ApiLogo;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Markdown/AdvancedMarkdown.tsx\n\n\n var AdvancedMarkdown_AdvancedMarkdown =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(AdvancedMarkdown, _super);\n\n function AdvancedMarkdown() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n AdvancedMarkdown.prototype.render = function () {\n var _this = this;\n\n return external_react_[\"createElement\"](OptionsConsumer, null, function (options) {\n return external_react_[\"createElement\"](Consumer, null, function (store) {\n return _this.renderWithOptionsAndStore(options, store);\n });\n });\n };\n\n AdvancedMarkdown.prototype.renderWithOptionsAndStore = function (options, store) {\n var _a = this.props,\n source = _a.source,\n _b = _a.htmlWrap,\n htmlWrap = _b === void 0 ? function (i) {\n return i;\n } : _b;\n\n if (!store) {\n throw new Error('When using components in markdown, store prop must be provided');\n }\n\n var renderer = new MarkdownRenderer_MarkdownRenderer(options);\n var parts = renderer.renderMdWithComponents(source);\n\n if (!parts.length) {\n return null;\n }\n\n return parts.map(function (part, idx) {\n if (typeof part === 'string') {\n return external_react_[\"cloneElement\"](htmlWrap(external_react_[\"createElement\"](SanitizedMarkdownHTML, {\n html: part,\n inline: false,\n compact: false\n })), {\n key: idx\n });\n }\n\n return external_react_[\"createElement\"](part.component, Object(external_tslib_[\"__assign\"])({\n key: idx\n }, Object(external_tslib_[\"__assign\"])(Object(external_tslib_[\"__assign\"])({}, part.props), part.propsSelector(store))));\n });\n };\n\n return AdvancedMarkdown;\n }(external_react_[\"Component\"]); // EXTERNAL MODULE: external \"classnames\"\n\n\n var external_classnames_ = __webpack_require__(42); // CONCATENATED MODULE: ./src/components/SideMenu/styled.elements.ts\n\n\n var OperationBadge = styled_components.span.attrs(function (props) {\n return {\n className: \"operation-type \" + props.type\n };\n })(SideMenu_styled_elements_templateObject_1 || (SideMenu_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: 32px;\\n display: inline-block;\\n height: \", \";\\n line-height: \", \";\\n background-color: #333;\\n border-radius: 3px;\\n background-repeat: no-repeat;\\n background-position: 6px 4px;\\n font-size: 7px;\\n font-family: Verdana; // web-safe\\n color: white;\\n text-transform: uppercase;\\n text-align: center;\\n font-weight: bold;\\n vertical-align: middle;\\n margin-right: 6px;\\n margin-top: 2px;\\n\\n &.get {\\n background-color: \", \";\\n }\\n\\n &.post {\\n background-color: \", \";\\n }\\n\\n &.put {\\n background-color: \", \";\\n }\\n\\n &.options {\\n background-color: \", \";\\n }\\n\\n &.patch {\\n background-color: \", \";\\n }\\n\\n &.delete {\\n background-color: \", \";\\n }\\n\\n &.basic {\\n background-color: \", \";\\n }\\n\\n &.link {\\n background-color: \", \";\\n }\\n\\n &.head {\\n background-color: \", \";\\n }\\n\"], [\"\\n width: 32px;\\n display: inline-block;\\n height: \", \";\\n line-height: \", \";\\n background-color: #333;\\n border-radius: 3px;\\n background-repeat: no-repeat;\\n background-position: 6px 4px;\\n font-size: 7px;\\n font-family: Verdana; // web-safe\\n color: white;\\n text-transform: uppercase;\\n text-align: center;\\n font-weight: bold;\\n vertical-align: middle;\\n margin-right: 6px;\\n margin-top: 2px;\\n\\n &.get {\\n background-color: \", \";\\n }\\n\\n &.post {\\n background-color: \", \";\\n }\\n\\n &.put {\\n background-color: \", \";\\n }\\n\\n &.options {\\n background-color: \", \";\\n }\\n\\n &.patch {\\n background-color: \", \";\\n }\\n\\n &.delete {\\n background-color: \", \";\\n }\\n\\n &.basic {\\n background-color: \", \";\\n }\\n\\n &.link {\\n background-color: \", \";\\n }\\n\\n &.head {\\n background-color: \", \";\\n }\\n\"])), function (props) {\n return props.theme.typography.code.fontSize;\n }, function (props) {\n return props.theme.typography.code.fontSize;\n }, function (props) {\n return props.theme.colors.http.get;\n }, function (props) {\n return props.theme.colors.http.post;\n }, function (props) {\n return props.theme.colors.http.put;\n }, function (props) {\n return props.theme.colors.http.options;\n }, function (props) {\n return props.theme.colors.http.patch;\n }, function (props) {\n return props.theme.colors.http.delete;\n }, function (props) {\n return props.theme.colors.http.basic;\n }, function (props) {\n return props.theme.colors.http.link;\n }, function (props) {\n return props.theme.colors.http.head;\n });\n\n function menuItemActiveBg(depth, _a) {\n var theme = _a.theme;\n\n if (depth > 1) {\n return Object(external_polished_[\"darken\"])(0.1, theme.sidebar.backgroundColor);\n } else if (depth === 1) {\n return Object(external_polished_[\"darken\"])(0.05, theme.sidebar.backgroundColor);\n } else {\n return '';\n }\n }\n\n var MenuItemUl = styled_components.ul(SideMenu_styled_elements_templateObject_2 || (SideMenu_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin: 0;\\n padding: 0;\\n\\n & & {\\n font-size: 0.929em;\\n }\\n\\n \", \";\\n\"], [\"\\n margin: 0;\\n padding: 0;\\n\\n & & {\\n font-size: 0.929em;\\n }\\n\\n \", \";\\n\"])), function (props) {\n return props.expanded ? '' : 'display: none;';\n });\n var MenuItemLi = styled_components.li(SideMenu_styled_elements_templateObject_3 || (SideMenu_styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n list-style: none inside none;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n padding: 0;\\n \", \";\\n\"], [\"\\n list-style: none inside none;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n padding: 0;\\n \", \";\\n\"])), function (props) {\n return props.depth === 0 ? 'margin-top: 15px' : '';\n });\n var menuItemDepth = {\n 0: css(SideMenu_styled_elements_templateObject_4 || (SideMenu_styled_elements_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n opacity: 0.7;\\n text-transform: \", \";\\n font-size: 0.8em;\\n padding-bottom: 0;\\n cursor: default;\\n color: \", \";\\n \"], [\"\\n opacity: 0.7;\\n text-transform: \", \";\\n font-size: 0.8em;\\n padding-bottom: 0;\\n cursor: default;\\n color: \", \";\\n \"])), function (_a) {\n var theme = _a.theme;\n return theme.sidebar.groupItems.textTransform;\n }, function (props) {\n return props.theme.sidebar.textColor;\n }),\n 1: css(SideMenu_styled_elements_templateObject_5 || (SideMenu_styled_elements_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: 0.929em;\\n text-transform: \", \";\\n &:hover {\\n color: \", \";\\n }\\n \"], [\"\\n font-size: 0.929em;\\n text-transform: \", \";\\n &:hover {\\n color: \", \";\\n }\\n \"])), function (_a) {\n var theme = _a.theme;\n return theme.sidebar.level1Items.textTransform;\n }, function (props) {\n return props.theme.sidebar.activeTextColor;\n }),\n 2: css(styled_elements_templateObject_6 || (styled_elements_templateObject_6 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n color: \", \";\\n \"], [\"\\n color: \", \";\\n \"])), function (props) {\n return props.theme.sidebar.textColor;\n })\n };\n var MenuItemLabel = styled_components.label.attrs(function (props) {\n return {\n role: 'menuitem',\n className: external_classnames_('-depth' + props.depth, {\n active: props.active\n })\n };\n })(styled_elements_templateObject_7 || (styled_elements_templateObject_7 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n cursor: pointer;\\n color: \", \";\\n margin: 0;\\n padding: 12.5px \", \"px;\\n \", \"\\n display: flex;\\n justify-content: space-between;\\n font-family: \", \";\\n \", \";\\n background-color: \", \";\\n\\n \", \";\\n\\n &:hover {\\n background-color: \", \";\\n }\\n\\n \", \" {\\n height: \", \";\\n width: \", \";\\n polygon {\\n fill: \", \";\\n }\\n }\\n\"], [\"\\n cursor: pointer;\\n color: \", \";\\n margin: 0;\\n padding: 12.5px \", \"px;\\n \", \"\\n display: flex;\\n justify-content: space-between;\\n font-family: \", \";\\n \", \";\\n background-color: \", \";\\n\\n \", \";\\n\\n &:hover {\\n background-color: \", \";\\n }\\n\\n \", \" {\\n height: \", \";\\n width: \", \";\\n polygon {\\n fill: \", \";\\n }\\n }\\n\"])), function (props) {\n return props.active ? props.theme.sidebar.activeTextColor : props.theme.sidebar.textColor;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n }, function (_a) {\n var depth = _a.depth,\n type = _a.type,\n theme = _a.theme;\n return type === 'section' && depth > 1 && 'padding-left: ' + theme.spacing.unit * 8 + 'px;' || '';\n }, function (props) {\n return props.theme.typography.headings.fontFamily;\n }, function (props) {\n return menuItemDepth[props.depth];\n }, function (props) {\n return props.active ? menuItemActiveBg(props.depth, props) : '';\n }, function (props) {\n return props.deprecated && deprecatedCss || '';\n }, function (props) {\n return menuItemActiveBg(props.depth, props);\n }, ShelfIcon, function (_a) {\n var theme = _a.theme;\n return theme.sidebar.arrow.size;\n }, function (_a) {\n var theme = _a.theme;\n return theme.sidebar.arrow.size;\n }, function (_a) {\n var theme = _a.theme;\n return theme.sidebar.arrow.color;\n });\n var MenuItemTitle = styled_components.span(styled_elements_templateObject_8 || (styled_elements_templateObject_8 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: inline-block;\\n vertical-align: middle;\\n width: \", \";\\n overflow: hidden;\\n text-overflow: ellipsis;\\n\"], [\"\\n display: inline-block;\\n vertical-align: middle;\\n width: \", \";\\n overflow: hidden;\\n text-overflow: ellipsis;\\n\"])), function (props) {\n return props.width ? props.width : 'auto';\n });\n var RedocAttribution = styled_components.div(styled_elements_templateObject_9 || (styled_elements_templateObject_9 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n\"], [\"\\n \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return \"\\n font-size: 0.8em;\\n margin-top: \" + theme.spacing.unit * 2 + \"px;\\n padding: 0 \" + theme.spacing.unit * 4 + \"px;\\n text-align: left;\\n\\n opacity: 0.7;\\n\\n a,\\n a:visited,\\n a:hover {\\n color: \" + theme.sidebar.textColor + \" !important;\\n border-top: 1px solid \" + Object(external_polished_[\"darken\"])(0.1, theme.sidebar.backgroundColor) + \";\\n padding: \" + theme.spacing.unit + \"px 0;\\n display: block;\\n }\\n\";\n });\n var SideMenu_styled_elements_templateObject_1, SideMenu_styled_elements_templateObject_2, SideMenu_styled_elements_templateObject_3, SideMenu_styled_elements_templateObject_4, SideMenu_styled_elements_templateObject_5, styled_elements_templateObject_6, styled_elements_templateObject_7, styled_elements_templateObject_8, styled_elements_templateObject_9; // CONCATENATED MODULE: ./src/components/Callbacks/CallbackTitle.tsx\n\n var CallbackTitle_CallbackTitle =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(CallbackTitle, _super);\n\n function CallbackTitle() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n CallbackTitle.prototype.render = function () {\n var _a = this.props,\n name = _a.name,\n opened = _a.opened,\n className = _a.className,\n onClick = _a.onClick,\n httpVerb = _a.httpVerb,\n deprecated = _a.deprecated;\n return external_react_[\"createElement\"](CallbackTitleWrapper, {\n className: className,\n onClick: onClick || undefined\n }, external_react_[\"createElement\"](OperationBadgeStyled, {\n type: httpVerb\n }, shortenHTTPVerb(httpVerb)), external_react_[\"createElement\"](ShelfIcon, {\n size: '1.5em',\n direction: opened ? 'down' : 'right',\n float: 'left'\n }), external_react_[\"createElement\"](CallbackName, {\n deprecated: deprecated\n }, name), deprecated ? external_react_[\"createElement\"](Badge, {\n type: \"warning\"\n }, \" \", l('deprecated'), \" \") : null);\n };\n\n return CallbackTitle;\n }(external_react_[\"PureComponent\"]);\n\n var CallbackTitleWrapper = styled_components.div(CallbackTitle_templateObject_1 || (CallbackTitle_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n & > * {\\n vertical-align: middle;\\n }\\n\\n \", \" {\\n polygon {\\n fill: \", \";\\n }\\n }\\n\"], [\"\\n & > * {\\n vertical-align: middle;\\n }\\n\\n \", \" {\\n polygon {\\n fill: \", \";\\n }\\n }\\n\"])), ShelfIcon, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(theme.colors.tonalOffset, theme.colors.gray[100]);\n });\n var CallbackName = styled_components.span(CallbackTitle_templateObject_2 || (CallbackTitle_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n text-decoration: \", \";\\n margin-right: 8px;\\n\"], [\"\\n text-decoration: \", \";\\n margin-right: 8px;\\n\"])), function (props) {\n return props.deprecated ? 'line-through' : 'none';\n });\n var OperationBadgeStyled = styled_components(OperationBadge)(CallbackTitle_templateObject_3 || (CallbackTitle_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin: 0px 5px 0px 0px;\\n\"], [\"\\n margin: 0px 5px 0px 0px;\\n\"])));\n var CallbackTitle_templateObject_1, CallbackTitle_templateObject_2, CallbackTitle_templateObject_3; // CONCATENATED MODULE: ./src/components/Callbacks/styled.elements.ts\n\n var StyledCallbackTitle = styled_components(CallbackTitle_CallbackTitle)(Callbacks_styled_elements_templateObject_1 || (Callbacks_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 10px;\\n border-radius: 2px;\\n margin-bottom: 4px;\\n line-height: 1.5em;\\n background-color: \", \";\\n cursor: pointer;\\n\"], [\"\\n padding: 10px;\\n border-radius: 2px;\\n margin-bottom: 4px;\\n line-height: 1.5em;\\n background-color: \", \";\\n cursor: pointer;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.colors.gray[100];\n });\n var CallbackDetailsWrap = styled_components.div(Callbacks_styled_elements_templateObject_2 || (Callbacks_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 10px 25px;\\n background-color: \", \";\\n margin-bottom: 5px;\\n margin-top: 5px;\\n\"], [\"\\n padding: 10px 25px;\\n background-color: \", \";\\n margin-bottom: 5px;\\n margin-top: 5px;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.colors.gray[50];\n });\n var Callbacks_styled_elements_templateObject_1, Callbacks_styled_elements_templateObject_2; // CONCATENATED MODULE: ./src/components/SelectOnClick/SelectOnClick.tsx\n\n var SelectOnClick_SelectOnClick =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SelectOnClick, _super);\n\n function SelectOnClick() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.handleClick = function () {\n ClipboardService.selectElement(_this.child);\n };\n\n return _this;\n }\n\n SelectOnClick.prototype.render = function () {\n var _this = this;\n\n var children = this.props.children;\n return external_react_[\"createElement\"](\"div\", {\n ref: function ref(el) {\n return _this.child = el;\n },\n onClick: this.handleClick\n }, children);\n };\n\n return SelectOnClick;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Endpoint/styled.elements.ts\n\n\n var OperationEndpointWrap = styled_components.div(Endpoint_styled_elements_templateObject_1 || (Endpoint_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n cursor: pointer;\\n position: relative;\\n margin-bottom: 5px;\\n\"], [\"\\n cursor: pointer;\\n position: relative;\\n margin-bottom: 5px;\\n\"])));\n var ServerRelativeURL = styled_components.span(Endpoint_styled_elements_templateObject_2 || (Endpoint_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-family: \", \";\\n margin-left: 10px;\\n flex: 1;\\n overflow-x: hidden;\\n text-overflow: ellipsis;\\n\"], [\"\\n font-family: \", \";\\n margin-left: 10px;\\n flex: 1;\\n overflow-x: hidden;\\n text-overflow: ellipsis;\\n\"])), function (props) {\n return props.theme.typography.code.fontFamily;\n });\n var EndpointInfo = styled_components.div(Endpoint_styled_elements_templateObject_3 || (Endpoint_styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 10px 30px 10px \", \";\\n border-radius: \", \";\\n background-color: \", \";\\n display: flex;\\n white-space: nowrap;\\n align-items: center;\\n border: \", \";\\n border-bottom: \", \";\\n transition: border-color 0.25s ease;\\n\\n \", \"\\n\\n .\", \" {\\n color: \", \"\\n }\\n\"], [\"\\n padding: 10px 30px 10px \", \";\\n border-radius: \", \";\\n background-color: \", \";\\n display: flex;\\n white-space: nowrap;\\n align-items: center;\\n border: \", \";\\n border-bottom: \", \";\\n transition: border-color 0.25s ease;\\n\\n \", \"\\n\\n .\", \" {\\n color: \", \"\\n }\\n\"])), function (props) {\n return props.inverted ? '10px' : '20px';\n }, function (props) {\n return props.inverted ? '0' : '4px 4px 0 0';\n }, function (props) {\n return props.inverted ? 'transparent' : props.theme.codeBlock.backgroundColor;\n }, function (props) {\n return props.inverted ? '0' : '1px solid transparent';\n }, function (props) {\n return props.inverted ? '1px solid #ccc' : '0';\n }, function (props) {\n return props.expanded && !props.inverted && \"border-color: \" + props.theme.colors.border.dark + \";\" || '';\n }, ServerRelativeURL, function (props) {\n return props.inverted ? props.theme.colors.text.primary : '#ffffff';\n });\n var HttpVerb = styled_components.span.attrs(function (props) {\n return {\n className: \"http-verb \" + props.type\n };\n })(Endpoint_styled_elements_templateObject_4 || (Endpoint_styled_elements_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: \", \";\\n line-height: \", \";\\n background-color: \", \";\\n color: #ffffff;\\n padding: \", \";\\n text-transform: uppercase;\\n font-family: \", \";\\n margin: 0;\\n\"], [\"\\n font-size: \", \";\\n line-height: \", \";\\n background-color: \", \";\\n color: #ffffff;\\n padding: \", \";\\n text-transform: uppercase;\\n font-family: \", \";\\n margin: 0;\\n\"])), function (props) {\n return props.compact ? '0.8em' : '0.929em';\n }, function (props) {\n return props.compact ? '18px' : '20px';\n }, function (props) {\n return props.theme.colors.http[props.type] || '#999999';\n }, function (props) {\n return props.compact ? '2px 8px' : '3px 10px';\n }, function (props) {\n return props.theme.typography.headings.fontFamily;\n });\n var ServersOverlay = styled_components.div(Endpoint_styled_elements_templateObject_5 || (Endpoint_styled_elements_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: absolute;\\n width: 100%;\\n z-index: 100;\\n background: #fafafa;\\n color: #263238;\\n box-sizing: border-box;\\n box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.33);\\n overflow: hidden;\\n border-bottom-left-radius: 4px;\\n border-bottom-right-radius: 4px;\\n transition: all 0.25s ease;\\n \", \"\\n\"], [\"\\n position: absolute;\\n width: 100%;\\n z-index: 100;\\n background: #fafafa;\\n color: #263238;\\n box-sizing: border-box;\\n box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.33);\\n overflow: hidden;\\n border-bottom-left-radius: 4px;\\n border-bottom-right-radius: 4px;\\n transition: all 0.25s ease;\\n \", \"\\n\"])), function (props) {\n return props.expanded ? '' : 'transform: translateY(-50%) scaleY(0);';\n });\n var ServerItem = styled_components.div(Endpoint_styled_elements_templateObject_6 || (Endpoint_styled_elements_templateObject_6 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 10px;\\n\"], [\"\\n padding: 10px;\\n\"])));\n var ServerUrl = styled_components.div(Endpoint_styled_elements_templateObject_7 || (Endpoint_styled_elements_templateObject_7 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 5px;\\n border: 1px solid #ccc;\\n background: #fff;\\n word-break: break-all;\\n color: \", \";\\n > span {\\n color: \", \";\\n }\\n\"], [\"\\n padding: 5px;\\n border: 1px solid #ccc;\\n background: #fff;\\n word-break: break-all;\\n color: \", \";\\n > span {\\n color: \", \";\\n }\\n\"])), function (props) {\n return props.theme.colors.primary.main;\n }, function (props) {\n return props.theme.colors.text.primary;\n });\n var Endpoint_styled_elements_templateObject_1, Endpoint_styled_elements_templateObject_2, Endpoint_styled_elements_templateObject_3, Endpoint_styled_elements_templateObject_4, Endpoint_styled_elements_templateObject_5, Endpoint_styled_elements_templateObject_6, Endpoint_styled_elements_templateObject_7; // CONCATENATED MODULE: ./src/components/Endpoint/Endpoint.tsx\n\n var Endpoint_Endpoint =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Endpoint, _super);\n\n function Endpoint(props) {\n var _this = _super.call(this, props) || this;\n\n _this.toggle = function () {\n _this.setState({\n expanded: !_this.state.expanded\n });\n };\n\n _this.state = {\n expanded: false\n };\n return _this;\n }\n\n Endpoint.prototype.render = function () {\n var _this = this;\n\n var _a = this.props,\n operation = _a.operation,\n inverted = _a.inverted,\n hideHostname = _a.hideHostname;\n var expanded = this.state.expanded; // TODO: highlight server variables, e.g. https://{user}.test.com\n\n return external_react_[\"createElement\"](OptionsContext.Consumer, null, function (options) {\n return external_react_[\"createElement\"](OperationEndpointWrap, null, external_react_[\"createElement\"](EndpointInfo, {\n onClick: _this.toggle,\n expanded: expanded,\n inverted: inverted\n }, external_react_[\"createElement\"](HttpVerb, {\n type: operation.httpVerb,\n compact: _this.props.compact\n }, operation.httpVerb), external_react_[\"createElement\"](ServerRelativeURL, null, operation.path), external_react_[\"createElement\"](ShelfIcon, {\n float: 'right',\n color: inverted ? 'black' : 'white',\n size: '20px',\n direction: expanded ? 'up' : 'down',\n style: {\n marginRight: '-25px'\n }\n })), external_react_[\"createElement\"](ServersOverlay, {\n expanded: expanded\n }, operation.servers.map(function (server) {\n var normalizedUrl = options.expandDefaultServerVariables ? expandDefaultServerVariables(server.url, server.variables) : server.url;\n return external_react_[\"createElement\"](ServerItem, {\n key: normalizedUrl\n }, external_react_[\"createElement\"](Markdown_Markdown, {\n source: server.description || '',\n compact: true\n }), external_react_[\"createElement\"](SelectOnClick_SelectOnClick, null, external_react_[\"createElement\"](ServerUrl, null, external_react_[\"createElement\"](\"span\", null, hideHostname || options.hideHostname ? getBasePath(normalizedUrl) : normalizedUrl), operation.path)));\n })));\n });\n };\n\n return Endpoint;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Parameters/ParametersGroup.tsx\n\n\n var ParametersGroup_ParametersGroup =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ParametersGroup, _super);\n\n function ParametersGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ParametersGroup.prototype.render = function () {\n var _a = this.props,\n place = _a.place,\n parameters = _a.parameters;\n\n if (!parameters || !parameters.length) {\n return null;\n }\n\n return external_react_[\"createElement\"](\"div\", {\n key: place\n }, external_react_[\"createElement\"](UnderlinedHeader, null, place, \" Parameters\"), external_react_[\"createElement\"](PropertiesTable, null, external_react_[\"createElement\"](\"tbody\", null, mapWithLast(parameters, function (field, isLast) {\n return external_react_[\"createElement\"](Field_Field, {\n key: field.name,\n isLast: isLast,\n field: field,\n showExamples: true\n });\n }))));\n };\n\n return ParametersGroup;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/MediaTypeSwitch/MediaTypesSwitch.tsx\n\n\n var MediaTypesSwitch_MediaTypesSwitch =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(MediaTypesSwitch, _super);\n\n function MediaTypesSwitch() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.switchMedia = function (_a) {\n var value = _a.value;\n\n if (_this.props.content) {\n _this.props.content.activate(parseInt(value, 10));\n }\n };\n\n return _this;\n }\n\n MediaTypesSwitch.prototype.render = function () {\n var _this = this;\n\n var content = this.props.content;\n\n if (!content || !content.mediaTypes || !content.mediaTypes.length) {\n return null;\n }\n\n var activeMimeIdx = content.activeMimeIdx;\n var options = content.mediaTypes.map(function (mime, idx) {\n return {\n label: mime.name,\n value: idx.toString()\n };\n });\n\n var Wrapper = function Wrapper(_a) {\n var children = _a.children;\n return _this.props.withLabel ? external_react_[\"createElement\"](DropdownWrapper, null, external_react_[\"createElement\"](DropdownLabel, null, \"Content type\"), children) : children;\n };\n\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, external_react_[\"createElement\"](Wrapper, null, this.props.renderDropdown({\n value: options[activeMimeIdx],\n options: options,\n onChange: this.switchMedia\n })), this.props.children(content.active));\n };\n\n MediaTypesSwitch = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], MediaTypesSwitch);\n return MediaTypesSwitch;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Parameters/Parameters.tsx\n\n\n function safePush(obj, prop, item) {\n if (!obj[prop]) {\n obj[prop] = [];\n }\n\n obj[prop].push(item);\n }\n\n var PARAM_PLACES = ['path', 'query', 'cookie', 'header'];\n\n var Parameters_Parameters =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Parameters, _super);\n\n function Parameters() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Parameters.prototype.orderParams = function (params) {\n var res = {};\n params.forEach(function (param) {\n safePush(res, param.in, param);\n });\n return res;\n };\n\n Parameters.prototype.render = function () {\n var _a = this.props,\n body = _a.body,\n _b = _a.parameters,\n parameters = _b === void 0 ? [] : _b;\n\n if (body === undefined && parameters === undefined) {\n return null;\n }\n\n var paramsMap = this.orderParams(parameters);\n var paramsPlaces = parameters.length > 0 ? PARAM_PLACES : [];\n var bodyContent = body && body.content;\n var bodyDescription = body && body.description;\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, paramsPlaces.map(function (place) {\n return external_react_[\"createElement\"](ParametersGroup_ParametersGroup, {\n key: place,\n place: place,\n parameters: paramsMap[place]\n });\n }), bodyContent && external_react_[\"createElement\"](BodyContent, {\n content: bodyContent,\n description: bodyDescription\n }));\n };\n\n return Parameters;\n }(external_react_[\"PureComponent\"]);\n\n function DropdownWithinHeader(props) {\n return external_react_[\"createElement\"](UnderlinedHeader, {\n key: \"header\"\n }, \"Request Body schema: \", external_react_[\"createElement\"](DropdownOrLabel, Object(external_tslib_[\"__assign\"])({}, props)));\n }\n\n function BodyContent(props) {\n var content = props.content,\n description = props.description;\n return external_react_[\"createElement\"](MediaTypesSwitch_MediaTypesSwitch, {\n content: content,\n renderDropdown: DropdownWithinHeader\n }, function (_a) {\n var schema = _a.schema;\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, description !== undefined && external_react_[\"createElement\"](Markdown_Markdown, {\n source: description\n }), external_react_[\"createElement\"](Schema_Schema, {\n skipReadOnly: true,\n key: \"schema\",\n schema: schema\n }));\n });\n } // CONCATENATED MODULE: ./src/components/Responses/ResponseTitle.tsx\n\n\n var ResponseTitle_ResponseTitle =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ResponseTitle, _super);\n\n function ResponseTitle() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ResponseTitle.prototype.render = function () {\n var _a = this.props,\n title = _a.title,\n type = _a.type,\n empty = _a.empty,\n code = _a.code,\n opened = _a.opened,\n className = _a.className,\n onClick = _a.onClick;\n return external_react_[\"createElement\"](\"div\", {\n className: className,\n onClick: !empty && onClick || undefined\n }, !empty && external_react_[\"createElement\"](ShelfIcon, {\n size: '1.5em',\n color: type,\n direction: opened ? 'down' : 'right',\n float: 'left'\n }), external_react_[\"createElement\"](\"strong\", null, code, \" \"), external_react_[\"createElement\"](Markdown_Markdown, {\n compact: true,\n inline: true,\n source: title\n }));\n };\n\n return ResponseTitle;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Responses/styled.elements.ts\n // import { transparentize } from 'polished';\n\n\n var StyledResponseTitle = styled_components(ResponseTitle_ResponseTitle)(Responses_styled_elements_templateObject_1 || (Responses_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 10px;\\n border-radius: 2px;\\n margin-bottom: 4px;\\n line-height: 1.5em;\\n background-color: #f2f2f2;\\n cursor: pointer;\\n\\n color: \", \";\\n background-color: \", \";\\n\\n \", \";\\n\"], [\"\\n padding: 10px;\\n border-radius: 2px;\\n margin-bottom: 4px;\\n line-height: 1.5em;\\n background-color: #f2f2f2;\\n cursor: pointer;\\n\\n color: \", \";\\n background-color: \", \";\\n\\n \", \";\\n\"])), function (props) {\n return props.theme.colors.responses[props.type].color;\n }, function (props) {\n return props.theme.colors.responses[props.type].backgroundColor;\n }, function (props) {\n return props.empty && \"\\ncursor: default;\\n&::before {\\n content: \\\"\\u2014\\\";\\n font-weight: bold;\\n width: 1.5em;\\n text-align: center;\\n display: inline-block;\\n}\\n\" || '';\n });\n var ResponseDetailsWrap = styled_components.div(Responses_styled_elements_templateObject_2 || (Responses_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 10px;\\n\"], [\"\\n padding: 10px;\\n\"])));\n var HeadersCaption = styled_components(UnderlinedHeader.withComponent('caption'))(Responses_styled_elements_templateObject_3 || (Responses_styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n text-align: left;\\n margin-top: 1em;\\n caption-side: top;\\n\"], [\"\\n text-align: left;\\n margin-top: 1em;\\n caption-side: top;\\n\"])));\n var Responses_styled_elements_templateObject_1, Responses_styled_elements_templateObject_2, Responses_styled_elements_templateObject_3; // CONCATENATED MODULE: ./src/components/Responses/ResponseHeaders.tsx\n\n var ResponseHeaders_ResponseHeaders =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ResponseHeaders, _super);\n\n function ResponseHeaders() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ResponseHeaders.prototype.render = function () {\n var headers = this.props.headers;\n\n if (headers === undefined || headers.length === 0) {\n return null;\n }\n\n return external_react_[\"createElement\"](PropertiesTable, null, external_react_[\"createElement\"](HeadersCaption, null, \" Response Headers \"), external_react_[\"createElement\"](\"tbody\", null, mapWithLast(headers, function (header, isLast) {\n return external_react_[\"createElement\"](Field_Field, {\n isLast: isLast,\n key: header.name,\n field: header,\n showExamples: true\n });\n })));\n };\n\n return ResponseHeaders;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Responses/ResponseDetails.tsx\n\n\n var ResponseDetails_ResponseDetails =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ResponseDetails, _super);\n\n function ResponseDetails() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.renderDropdown = function (props) {\n return external_react_[\"createElement\"](UnderlinedHeader, {\n key: \"header\"\n }, \"Response Schema: \", external_react_[\"createElement\"](DropdownOrLabel, Object(external_tslib_[\"__assign\"])({}, props)));\n };\n\n return _this;\n }\n\n ResponseDetails.prototype.render = function () {\n var _a = this.props.response,\n description = _a.description,\n headers = _a.headers,\n content = _a.content;\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, description && external_react_[\"createElement\"](Markdown_Markdown, {\n source: description\n }), external_react_[\"createElement\"](ResponseHeaders_ResponseHeaders, {\n headers: headers\n }), external_react_[\"createElement\"](MediaTypesSwitch_MediaTypesSwitch, {\n content: content,\n renderDropdown: this.renderDropdown\n }, function (_a) {\n var schema = _a.schema;\n return external_react_[\"createElement\"](Schema_Schema, {\n skipWriteOnly: true,\n key: \"schema\",\n schema: schema\n });\n }));\n };\n\n return ResponseDetails;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Responses/Response.tsx\n\n\n var Response_ResponseView =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ResponseView, _super);\n\n function ResponseView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.toggle = function () {\n _this.props.response.toggle();\n };\n\n return _this;\n }\n\n ResponseView.prototype.render = function () {\n var _a = this.props.response,\n headers = _a.headers,\n type = _a.type,\n summary = _a.summary,\n description = _a.description,\n code = _a.code,\n expanded = _a.expanded,\n content = _a.content;\n var mimes = content === undefined ? [] : content.mediaTypes.filter(function (mime) {\n return mime.schema !== undefined;\n });\n var empty = headers.length === 0 && mimes.length === 0 && !description;\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](StyledResponseTitle, {\n onClick: this.toggle,\n type: type,\n empty: empty,\n title: summary || '',\n code: code,\n opened: expanded\n }), expanded && !empty && external_react_[\"createElement\"](ResponseDetailsWrap, null, external_react_[\"createElement\"](ResponseDetails_ResponseDetails, {\n response: this.props.response\n })));\n };\n\n ResponseView = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ResponseView);\n return ResponseView;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Responses/ResponsesList.tsx\n\n\n var ResponsesHeader = styled_components.h3(ResponsesList_templateObject_1 || (ResponsesList_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: 1.3em;\\n padding: 0.2em 0;\\n margin: 3em 0 1.1em;\\n color: \", \";\\n font-weight: normal;\\n\"], [\"\\n font-size: 1.3em;\\n padding: 0.2em 0;\\n margin: 3em 0 1.1em;\\n color: \", \";\\n font-weight: normal;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.colors.text.primary;\n });\n\n var ResponsesList_ResponsesList =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ResponsesList, _super);\n\n function ResponsesList() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ResponsesList.prototype.render = function () {\n var _a = this.props,\n responses = _a.responses,\n isCallback = _a.isCallback;\n\n if (!responses || responses.length === 0) {\n return null;\n }\n\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](ResponsesHeader, null, isCallback ? 'Callback responses' : 'Responses'), responses.map(function (response) {\n return external_react_[\"createElement\"](Response_ResponseView, {\n key: response.code,\n response: response\n });\n }));\n };\n\n return ResponsesList;\n }(external_react_[\"PureComponent\"]);\n\n var ResponsesList_templateObject_1; // CONCATENATED MODULE: ./src/components/SecurityRequirement/SecurityRequirement.tsx\n // import { transparentize } from 'polished';\n\n var ScopeName = styled_components.code(SecurityRequirement_templateObject_1 || (SecurityRequirement_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: \", \";\\n font-family: \", \";\\n border: 1px solid \", \";\\n margin: 0 3px;\\n padding: 0.2em;\\n display: inline-block;\\n line-height: 1;\\n\\n &:after {\\n content: ',';\\n }\\n &:last-child:after {\\n content: none;\\n }\\n\"], [\"\\n font-size: \", \";\\n font-family: \", \";\\n border: 1px solid \", \";\\n margin: 0 3px;\\n padding: 0.2em;\\n display: inline-block;\\n line-height: 1;\\n\\n &:after {\\n content: ',';\\n }\\n &:last-child:after {\\n content: none;\\n }\\n\"])), function (props) {\n return props.theme.typography.code.fontSize;\n }, function (props) {\n return props.theme.typography.code.fontFamily;\n }, function (_a) {\n var theme = _a.theme;\n return theme.colors.border.dark;\n });\n var SecurityRequirementAndWrap = styled_components.span(SecurityRequirement_templateObject_2 || (SecurityRequirement_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n &:after {\\n content: ' AND ';\\n font-weight: bold;\\n }\\n\\n &:last-child:after {\\n content: none;\\n }\\n\\n \", \";\\n\"], [\"\\n &:after {\\n content: ' AND ';\\n font-weight: bold;\\n }\\n\\n &:last-child:after {\\n content: none;\\n }\\n\\n \", \";\\n\"])), linksCss);\n var SecurityRequirementOrWrap = styled_components.span(SecurityRequirement_templateObject_3 || (SecurityRequirement_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n &:before {\\n content: '( ';\\n font-weight: bold;\\n }\\n &:after {\\n content: ' ) OR ';\\n font-weight: bold;\\n }\\n &:last-child:after {\\n content: ' )';\\n }\\n\\n &:only-child:before,\\n &:only-child:after {\\n content: none;\\n }\\n\\n \", \";\\n\"], [\"\\n &:before {\\n content: '( ';\\n font-weight: bold;\\n }\\n &:after {\\n content: ' ) OR ';\\n font-weight: bold;\\n }\\n &:last-child:after {\\n content: ' )';\\n }\\n\\n &:only-child:before,\\n &:only-child:after {\\n content: none;\\n }\\n\\n \", \";\\n\"])), linksCss);\n\n var SecurityRequirement_SecurityRequirement =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SecurityRequirement, _super);\n\n function SecurityRequirement() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n SecurityRequirement.prototype.render = function () {\n var security = this.props.security;\n return external_react_[\"createElement\"](SecurityRequirementOrWrap, null, security.schemes.map(function (scheme) {\n return external_react_[\"createElement\"](SecurityRequirementAndWrap, {\n key: scheme.id\n }, external_react_[\"createElement\"](linkify_Link, {\n to: scheme.sectionId\n }, scheme.id), scheme.scopes.length > 0 && ' (', scheme.scopes.map(function (scope) {\n return external_react_[\"createElement\"](ScopeName, {\n key: scope\n }, scope);\n }), scheme.scopes.length > 0 && ') ');\n }));\n };\n\n return SecurityRequirement;\n }(external_react_[\"PureComponent\"]);\n\n var AuthHeaderColumn = styled_components.div(SecurityRequirement_templateObject_4 || (SecurityRequirement_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n flex: 1;\\n\"], [\"\\n flex: 1;\\n\"])));\n var SecuritiesColumn = styled_components.div(SecurityRequirement_templateObject_5 || (SecurityRequirement_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: \", \";\\n\"], [\"\\n width: \", \";\\n\"])), function (props) {\n return props.theme.schema.defaultDetailsWidth;\n });\n var AuthHeader = styled_components(UnderlinedHeader)(SecurityRequirement_templateObject_6 || (SecurityRequirement_templateObject_6 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: inline-block;\\n margin: 0;\\n\"], [\"\\n display: inline-block;\\n margin: 0;\\n\"])));\n var SecurityRequirement_Wrap = styled_components.div(SecurityRequirement_templateObject_7 || (SecurityRequirement_templateObject_7 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: 100%;\\n display: flex;\\n margin: 1em 0;\\n\"], [\"\\n width: 100%;\\n display: flex;\\n margin: 1em 0;\\n\"])));\n\n var SecurityRequirement_SecurityRequirements =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SecurityRequirements, _super);\n\n function SecurityRequirements() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n SecurityRequirements.prototype.render = function () {\n var securities = this.props.securities;\n\n if (!securities.length) {\n return null;\n }\n\n return external_react_[\"createElement\"](SecurityRequirement_Wrap, null, external_react_[\"createElement\"](AuthHeaderColumn, null, external_react_[\"createElement\"](AuthHeader, null, \"Authorizations: \")), external_react_[\"createElement\"](SecuritiesColumn, null, securities.map(function (security, idx) {\n return external_react_[\"createElement\"](SecurityRequirement_SecurityRequirement, {\n key: idx,\n security: security\n });\n })));\n };\n\n return SecurityRequirements;\n }(external_react_[\"PureComponent\"]);\n\n var SecurityRequirement_templateObject_1, SecurityRequirement_templateObject_2, SecurityRequirement_templateObject_3, SecurityRequirement_templateObject_4, SecurityRequirement_templateObject_5, SecurityRequirement_templateObject_6, SecurityRequirement_templateObject_7; // CONCATENATED MODULE: ./src/components/Callbacks/CallbackDetails.tsx\n\n var CallbackDetails_CallbackDetails =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(CallbackDetails, _super);\n\n function CallbackDetails() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n CallbackDetails.prototype.render = function () {\n var operation = this.props.operation;\n var description = operation.description,\n externalDocs = operation.externalDocs;\n var hasDescription = !!(description || externalDocs);\n return external_react_[\"createElement\"](CallbackDetailsWrap, null, hasDescription && external_react_[\"createElement\"](Description, null, description !== undefined && external_react_[\"createElement\"](Markdown_Markdown, {\n source: description\n }), externalDocs && external_react_[\"createElement\"](ExternalDocumentation_ExternalDocumentation, {\n externalDocs: externalDocs\n })), external_react_[\"createElement\"](Endpoint_Endpoint, {\n operation: this.props.operation,\n inverted: true,\n compact: true\n }), external_react_[\"createElement\"](Extensions_Extensions, {\n extensions: operation.extensions\n }), external_react_[\"createElement\"](SecurityRequirement_SecurityRequirements, {\n securities: operation.security\n }), external_react_[\"createElement\"](Parameters_Parameters, {\n parameters: operation.parameters,\n body: operation.requestBody\n }), external_react_[\"createElement\"](ResponsesList_ResponsesList, {\n responses: operation.responses,\n isCallback: operation.isCallback\n }));\n };\n\n CallbackDetails = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], CallbackDetails);\n return CallbackDetails;\n }(external_react_[\"Component\"]);\n\n var Description = styled_components.div(CallbackDetails_templateObject_1 || (CallbackDetails_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-bottom: \", \"px;\\n\"], [\"\\n margin-bottom: \", \"px;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.spacing.unit * 3;\n });\n var CallbackDetails_templateObject_1; // CONCATENATED MODULE: ./src/components/Callbacks/CallbackOperation.tsx\n\n var CallbackOperation_CallbackOperation =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(CallbackOperation, _super);\n\n function CallbackOperation() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.toggle = function () {\n _this.props.callbackOperation.toggle();\n };\n\n return _this;\n }\n\n CallbackOperation.prototype.render = function () {\n var _a = this.props.callbackOperation,\n name = _a.name,\n expanded = _a.expanded,\n httpVerb = _a.httpVerb,\n deprecated = _a.deprecated;\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, external_react_[\"createElement\"](StyledCallbackTitle, {\n onClick: this.toggle,\n name: name,\n opened: expanded,\n httpVerb: httpVerb,\n deprecated: deprecated\n }), expanded && external_react_[\"createElement\"](CallbackDetails_CallbackDetails, {\n operation: this.props.callbackOperation\n }));\n };\n\n CallbackOperation = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], CallbackOperation);\n return CallbackOperation;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Callbacks/CallbacksList.tsx\n\n\n var CallbacksList_CallbacksList =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(CallbacksList, _super);\n\n function CallbacksList() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n CallbacksList.prototype.render = function () {\n var callbacks = this.props.callbacks;\n\n if (!callbacks || callbacks.length === 0) {\n return null;\n }\n\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](CallbacksHeader, null, \" Callbacks \"), callbacks.map(function (callback) {\n return callback.operations.map(function (operation, index) {\n return external_react_[\"createElement\"](CallbackOperation_CallbackOperation, {\n key: callback.name + \"_\" + index,\n callbackOperation: operation\n });\n });\n }));\n };\n\n return CallbacksList;\n }(external_react_[\"PureComponent\"]);\n\n var CallbacksHeader = styled_components.h3(CallbacksList_templateObject_1 || (CallbacksList_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n font-size: 1.3em;\\n padding: 0.2em 0;\\n margin: 3em 0 1.1em;\\n color: \", \";\\n font-weight: normal;\\n\"], [\"\\n font-size: 1.3em;\\n padding: 0.2em 0;\\n margin: 3em 0 1.1em;\\n color: \", \";\\n font-weight: normal;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.colors.text.primary;\n });\n var CallbacksList_templateObject_1; // CONCATENATED MODULE: ./src/components/Callbacks/index.ts\n // CONCATENATED MODULE: ./src/components/GenericChildrenSwitcher/GenericChildrenSwitcher.tsx\n\n /**\n * TODO: Refactor this component:\n * Implement rendering dropdown/label directly in this component\n * Accept as a parameter mapper-function for building dropdown option labels\n */\n\n var GenericChildrenSwitcher_GenericChildrenSwitcher =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(GenericChildrenSwitcher, _super);\n\n function GenericChildrenSwitcher(props) {\n var _this = _super.call(this, props) || this;\n\n _this.switchItem = function (_a) {\n var value = _a.value;\n\n if (_this.props.items) {\n _this.setState({\n activeItemIdx: parseInt(value, 10)\n });\n }\n };\n\n _this.state = {\n activeItemIdx: 0\n };\n return _this;\n }\n\n GenericChildrenSwitcher.prototype.render = function () {\n var _this = this;\n\n var items = this.props.items;\n\n if (!items || !items.length) {\n return null;\n }\n\n var Wrapper = function Wrapper(_a) {\n var children = _a.children;\n return _this.props.label ? external_react_[\"createElement\"](DropdownWrapper, null, external_react_[\"createElement\"](DropdownLabel, null, _this.props.label), children) : children;\n };\n\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, external_react_[\"createElement\"](Wrapper, null, this.props.renderDropdown({\n value: this.props.options[this.state.activeItemIdx],\n options: this.props.options,\n onChange: this.switchItem\n })), this.props.children(items[this.state.activeItemIdx]));\n };\n\n GenericChildrenSwitcher = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], GenericChildrenSwitcher);\n return GenericChildrenSwitcher;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/PayloadSamples/PayloadSamples.tsx\n\n\n var PayloadSamples_PayloadSamples =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(PayloadSamples, _super);\n\n function PayloadSamples() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.renderDropdown = function (props) {\n return external_react_[\"createElement\"](DropdownOrLabel, Object(external_tslib_[\"__assign\"])({\n Label: styled_elements_MimeLabel,\n Dropdown: InvertedSimpleDropdown\n }, props));\n };\n\n return _this;\n }\n\n PayloadSamples.prototype.render = function () {\n var _this = this;\n\n var mimeContent = this.props.content;\n\n if (mimeContent === undefined) {\n return null;\n }\n\n return external_react_[\"createElement\"](MediaTypesSwitch_MediaTypesSwitch, {\n content: mimeContent,\n renderDropdown: this.renderDropdown,\n withLabel: true\n }, function (mediaType) {\n return external_react_[\"createElement\"](MediaTypeSamples_MediaTypeSamples, {\n key: \"samples\",\n mediaType: mediaType,\n renderDropdown: _this.renderDropdown\n });\n });\n };\n\n PayloadSamples = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], PayloadSamples);\n return PayloadSamples;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/CallbackSamples/CallbackReqSamples.tsx\n\n\n var CallbackReqSamples_CallbackPayloadSample =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(CallbackPayloadSample, _super);\n\n function CallbackPayloadSample() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n CallbackPayloadSample.prototype.render = function () {\n var payloadSample = this.props.callback.codeSamples.find(function (sample) {\n return isPayloadSample(sample);\n });\n\n if (!payloadSample) {\n return null;\n }\n\n return external_react_[\"createElement\"](PayloadSampleWrapper, null, external_react_[\"createElement\"](PayloadSamples_PayloadSamples, {\n content: payloadSample.requestBodyContent\n }));\n };\n\n return CallbackPayloadSample;\n }(external_react_[\"Component\"]);\n\n var PayloadSampleWrapper = styled_components.div(CallbackReqSamples_templateObject_1 || (CallbackReqSamples_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-top: 15px;\\n\"], [\"\\n margin-top: 15px;\\n\"])));\n var CallbackReqSamples_templateObject_1; // CONCATENATED MODULE: ./src/components/CallbackSamples/CallbackSamples.tsx\n\n var CallbackSamples_CallbackSamples =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(CallbackSamples, _super);\n\n function CallbackSamples() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.renderDropdown = function (props) {\n return external_react_[\"createElement\"](DropdownOrLabel, Object(external_tslib_[\"__assign\"])({\n Label: styled_elements_MimeLabel,\n Dropdown: InvertedSimpleDropdown\n }, props));\n };\n\n return _this;\n }\n\n CallbackSamples.prototype.render = function () {\n var _this = this;\n\n var callbacks = this.props.callbacks;\n\n if (!callbacks || callbacks.length === 0) {\n return null;\n }\n\n var operations = callbacks.map(function (callback) {\n return callback.operations.map(function (operation) {\n return operation;\n });\n }).reduce(function (a, b) {\n return a.concat(b);\n }, []);\n var hasSamples = operations.some(function (operation) {\n return operation.codeSamples.length > 0;\n });\n\n if (!hasSamples) {\n return null;\n }\n\n var dropdownOptions = operations.map(function (callback, idx) {\n return {\n label: callback.httpVerb.toUpperCase() + \": \" + callback.name,\n value: idx.toString()\n };\n });\n return external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](RightPanelHeader, null, \" Callback payload samples \"), external_react_[\"createElement\"](CallbackSamples_SamplesWrapper, null, external_react_[\"createElement\"](GenericChildrenSwitcher_GenericChildrenSwitcher, {\n items: operations,\n renderDropdown: this.renderDropdown,\n label: 'Callback',\n options: dropdownOptions\n }, function (callback) {\n return external_react_[\"createElement\"](CallbackReqSamples_CallbackPayloadSample, {\n key: \"callbackPayloadSample\",\n callback: callback,\n renderDropdown: _this.renderDropdown\n });\n })));\n };\n\n CallbackSamples.contextType = OptionsContext;\n CallbackSamples = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], CallbackSamples);\n return CallbackSamples;\n }(external_react_[\"Component\"]);\n\n var CallbackSamples_SamplesWrapper = styled_components.div(CallbackSamples_templateObject_1 || (CallbackSamples_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n background: \", \";\\n padding: \", \"px;\\n\"], [\"\\n background: \", \";\\n padding: \", \"px;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.codeBlock.backgroundColor;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n });\n var CallbackSamples_templateObject_1; // CONCATENATED MODULE: ./src/components/RequestSamples/RequestSamples.tsx\n\n var RequestSamples_RequestSamples =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(RequestSamples, _super);\n\n function RequestSamples() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n RequestSamples.prototype.render = function () {\n var operation = this.props.operation;\n var samples = operation.codeSamples;\n var hasSamples = samples.length > 0;\n var hideTabList = samples.length === 1 ? this.context.hideSingleRequestSampleTab : false;\n return hasSamples && external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](RightPanelHeader, null, \" Request samples \"), external_react_[\"createElement\"](Tabs, {\n defaultIndex: 0\n }, external_react_[\"createElement\"](external_react_tabs_[\"TabList\"], {\n hidden: hideTabList\n }, samples.map(function (sample) {\n return external_react_[\"createElement\"](external_react_tabs_[\"Tab\"], {\n key: sample.lang + '_' + (sample.label || '')\n }, sample.label !== undefined ? sample.label : sample.lang);\n })), samples.map(function (sample) {\n return external_react_[\"createElement\"](external_react_tabs_[\"TabPanel\"], {\n key: sample.lang + '_' + (sample.label || '')\n }, isPayloadSample(sample) ? external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](PayloadSamples_PayloadSamples, {\n content: sample.requestBodyContent\n })) : external_react_[\"createElement\"](SourceCode_SourceCodeWithCopy, {\n lang: sample.lang,\n source: sample.source\n }));\n }))) || null;\n };\n\n RequestSamples.contextType = OptionsContext;\n RequestSamples = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], RequestSamples);\n return RequestSamples;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/ResponseSamples/ResponseSamples.tsx\n\n\n var ResponseSamples_ResponseSamples =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ResponseSamples, _super);\n\n function ResponseSamples() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ResponseSamples.prototype.render = function () {\n var operation = this.props.operation;\n var responses = operation.responses.filter(function (response) {\n return response.content && response.content.hasSample;\n });\n return responses.length > 0 && external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](RightPanelHeader, null, \" Response samples \"), external_react_[\"createElement\"](Tabs, {\n defaultIndex: 0\n }, external_react_[\"createElement\"](external_react_tabs_[\"TabList\"], null, responses.map(function (response) {\n return external_react_[\"createElement\"](external_react_tabs_[\"Tab\"], {\n className: 'tab-' + response.type,\n key: response.code\n }, response.code);\n })), responses.map(function (response) {\n return external_react_[\"createElement\"](external_react_tabs_[\"TabPanel\"], {\n key: response.code\n }, external_react_[\"createElement\"](\"div\", null, external_react_[\"createElement\"](PayloadSamples_PayloadSamples, {\n content: response.content\n })));\n }))) || null;\n };\n\n ResponseSamples = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ResponseSamples);\n return ResponseSamples;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/Operation/Operation.tsx\n\n\n var OperationRow = styled_components(Row)(Operation_templateObject_1 || (Operation_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n backface-visibility: hidden;\\n contain: content;\\n overflow: hidden;\\n\"], [\"\\n backface-visibility: hidden;\\n contain: content;\\n overflow: hidden;\\n\"])));\n var Operation_Description = styled_components.div(Operation_templateObject_2 || (Operation_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n margin-bottom: \", \"px;\\n\"], [\"\\n margin-bottom: \", \"px;\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.spacing.unit * 6;\n });\n\n var Operation_Operation =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Operation, _super);\n\n function Operation() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Operation.prototype.render = function () {\n var operation = this.props.operation;\n var summary = operation.name,\n description = operation.description,\n deprecated = operation.deprecated,\n externalDocs = operation.externalDocs;\n var hasDescription = !!(description || externalDocs);\n return external_react_[\"createElement\"](OptionsContext.Consumer, null, function (options) {\n return external_react_[\"createElement\"](OperationRow, null, external_react_[\"createElement\"](MiddlePanel, null, external_react_[\"createElement\"](H2, null, external_react_[\"createElement\"](ShareLink, {\n to: operation.id\n }), summary, \" \", deprecated && external_react_[\"createElement\"](Badge, {\n type: \"warning\"\n }, \" Deprecated \")), options.pathInMiddlePanel && external_react_[\"createElement\"](Endpoint_Endpoint, {\n operation: operation,\n inverted: true\n }), hasDescription && external_react_[\"createElement\"](Operation_Description, null, description !== undefined && external_react_[\"createElement\"](Markdown_Markdown, {\n source: description\n }), externalDocs && external_react_[\"createElement\"](ExternalDocumentation_ExternalDocumentation, {\n externalDocs: externalDocs\n })), external_react_[\"createElement\"](Extensions_Extensions, {\n extensions: operation.extensions\n }), external_react_[\"createElement\"](SecurityRequirement_SecurityRequirements, {\n securities: operation.security\n }), external_react_[\"createElement\"](Parameters_Parameters, {\n parameters: operation.parameters,\n body: operation.requestBody\n }), external_react_[\"createElement\"](ResponsesList_ResponsesList, {\n responses: operation.responses\n }), external_react_[\"createElement\"](CallbacksList_CallbacksList, {\n callbacks: operation.callbacks\n })), external_react_[\"createElement\"](DarkRightPanel, null, !options.pathInMiddlePanel && external_react_[\"createElement\"](Endpoint_Endpoint, {\n operation: operation\n }), external_react_[\"createElement\"](RequestSamples_RequestSamples, {\n operation: operation\n }), external_react_[\"createElement\"](ResponseSamples_ResponseSamples, {\n operation: operation\n }), external_react_[\"createElement\"](CallbackSamples_CallbackSamples, {\n callbacks: operation.callbacks\n })));\n });\n };\n\n Operation = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], Operation);\n return Operation;\n }(external_react_[\"Component\"]);\n\n var Operation_templateObject_1, Operation_templateObject_2; // CONCATENATED MODULE: ./src/components/ContentItems/ContentItems.tsx\n\n var ContentItems_ContentItems =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ContentItems, _super);\n\n function ContentItems() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ContentItems.prototype.render = function () {\n var items = this.props.items;\n\n if (items.length === 0) {\n return null;\n }\n\n return items.map(function (item) {\n return external_react_[\"createElement\"](ContentItems_ContentItem, {\n key: item.id,\n item: item\n });\n });\n };\n\n ContentItems = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ContentItems);\n return ContentItems;\n }(external_react_[\"Component\"]);\n\n var ContentItems_ContentItem =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(ContentItem, _super);\n\n function ContentItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n ContentItem.prototype.render = function () {\n var item = this.props.item;\n var content;\n var type = item.type;\n\n switch (type) {\n case 'group':\n content = null;\n break;\n\n case 'tag':\n case 'section':\n content = external_react_[\"createElement\"](ContentItems_SectionItem, Object(external_tslib_[\"__assign\"])({}, this.props));\n break;\n\n case 'operation':\n content = external_react_[\"createElement\"](ContentItems_OperationItem, {\n item: item\n });\n break;\n\n default:\n content = external_react_[\"createElement\"](ContentItems_SectionItem, Object(external_tslib_[\"__assign\"])({}, this.props));\n }\n\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, content && external_react_[\"createElement\"](Section, {\n id: item.id,\n underlined: item.type === 'operation'\n }, content), item.items && external_react_[\"createElement\"](ContentItems_ContentItems, {\n items: item.items\n }));\n };\n\n ContentItem = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], ContentItem);\n return ContentItem;\n }(external_react_[\"Component\"]);\n\n var middlePanelWrap = function middlePanelWrap(component) {\n return external_react_[\"createElement\"](MiddlePanel, {\n compact: true\n }, component);\n };\n\n var ContentItems_SectionItem =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SectionItem, _super);\n\n function SectionItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n SectionItem.prototype.render = function () {\n var _a = this.props.item,\n name = _a.name,\n description = _a.description,\n externalDocs = _a.externalDocs,\n level = _a.level;\n var Header = level === 2 ? H2 : H1;\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, external_react_[\"createElement\"](Row, null, external_react_[\"createElement\"](MiddlePanel, {\n compact: false\n }, external_react_[\"createElement\"](Header, null, external_react_[\"createElement\"](ShareLink, {\n to: this.props.item.id\n }), name))), external_react_[\"createElement\"](AdvancedMarkdown_AdvancedMarkdown, {\n source: description || '',\n htmlWrap: middlePanelWrap\n }), externalDocs && external_react_[\"createElement\"](Row, null, external_react_[\"createElement\"](MiddlePanel, null, external_react_[\"createElement\"](ExternalDocumentation_ExternalDocumentation, {\n externalDocs: externalDocs\n }))));\n };\n\n SectionItem = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], SectionItem);\n return SectionItem;\n }(external_react_[\"Component\"]);\n\n var ContentItems_OperationItem =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(OperationItem, _super);\n\n function OperationItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n OperationItem.prototype.render = function () {\n return external_react_[\"createElement\"](Operation_Operation, {\n operation: this.props.item\n });\n };\n\n OperationItem = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], OperationItem);\n return OperationItem;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/SideMenu/MenuItem.tsx\n // import { observe } from 'mobx';\n\n\n var MenuItem_MenuItem =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(MenuItem, _super);\n\n function MenuItem() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.ref = external_react_[\"createRef\"]();\n\n _this.activate = function (evt) {\n _this.props.onActivate(_this.props.item);\n\n evt.stopPropagation();\n };\n\n return _this;\n }\n\n MenuItem.prototype.componentDidMount = function () {\n this.scrollIntoViewIfActive();\n };\n\n MenuItem.prototype.componentDidUpdate = function () {\n this.scrollIntoViewIfActive();\n };\n\n MenuItem.prototype.scrollIntoViewIfActive = function () {\n if (this.props.item.active && this.ref.current) {\n this.ref.current.scrollIntoViewIfNeeded();\n }\n };\n\n MenuItem.prototype.render = function () {\n var _a = this.props,\n item = _a.item,\n withoutChildren = _a.withoutChildren;\n return external_react_[\"createElement\"](MenuItemLi, {\n onClick: this.activate,\n depth: item.depth,\n \"data-item-id\": item.id\n }, item.type === 'operation' ? external_react_[\"createElement\"](MenuItem_OperationMenuItemContent, Object(external_tslib_[\"__assign\"])({}, this.props, {\n item: item\n })) : external_react_[\"createElement\"](MenuItemLabel, {\n depth: item.depth,\n active: item.active,\n type: item.type,\n ref: this.ref\n }, external_react_[\"createElement\"](MenuItemTitle, {\n title: item.name\n }, item.name, this.props.children), item.depth > 0 && item.items.length > 0 && external_react_[\"createElement\"](ShelfIcon, {\n float: 'right',\n direction: item.expanded ? 'down' : 'right'\n }) || null), !withoutChildren && item.items && item.items.length > 0 && external_react_[\"createElement\"](MenuItems_MenuItems, {\n expanded: item.expanded,\n items: item.items,\n onActivate: this.props.onActivate\n }));\n };\n\n MenuItem = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], MenuItem);\n return MenuItem;\n }(external_react_[\"Component\"]);\n\n var MenuItem_OperationMenuItemContent =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(OperationMenuItemContent, _super);\n\n function OperationMenuItemContent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.ref = external_react_[\"createRef\"]();\n return _this;\n }\n\n OperationMenuItemContent.prototype.componentDidUpdate = function () {\n if (this.props.item.active && this.ref.current) {\n this.ref.current.scrollIntoViewIfNeeded();\n }\n };\n\n OperationMenuItemContent.prototype.render = function () {\n var item = this.props.item;\n return external_react_[\"createElement\"](MenuItemLabel, {\n depth: item.depth,\n active: item.active,\n deprecated: item.deprecated,\n ref: this.ref\n }, external_react_[\"createElement\"](OperationBadge, {\n type: item.httpVerb\n }, shortenHTTPVerb(item.httpVerb)), external_react_[\"createElement\"](MenuItemTitle, {\n width: \"calc(100% - 38px)\"\n }, item.name, this.props.children));\n };\n\n OperationMenuItemContent = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], OperationMenuItemContent);\n return OperationMenuItemContent;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/SideMenu/MenuItems.tsx\n\n\n var MenuItems_MenuItems =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(MenuItems, _super);\n\n function MenuItems() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n MenuItems.prototype.render = function () {\n var _this = this;\n\n var _a = this.props,\n items = _a.items,\n root = _a.root,\n className = _a.className;\n var expanded = this.props.expanded == null ? true : this.props.expanded;\n return external_react_[\"createElement\"](MenuItemUl, Object(external_tslib_[\"__assign\"])({\n className: className,\n style: this.props.style,\n expanded: expanded\n }, root ? {\n role: 'navigation'\n } : {}), items.map(function (item, idx) {\n return external_react_[\"createElement\"](MenuItem_MenuItem, {\n key: idx,\n item: item,\n onActivate: _this.props.onActivate\n });\n }));\n };\n\n MenuItems = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], MenuItems);\n return MenuItems;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/SideMenu/SideMenu.tsx\n\n\n var SideMenu_SideMenu =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SideMenu, _super);\n\n function SideMenu() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.activate = function (item) {\n if (item && item.active && _this.context.menuToggle) {\n return item.expanded ? item.collapse() : item.expand();\n }\n\n _this.props.menu.activateAndScroll(item, true);\n\n setTimeout(function () {\n if (_this._updateScroll) {\n _this._updateScroll();\n }\n });\n };\n\n _this.saveScrollUpdate = function (upd) {\n _this._updateScroll = upd;\n };\n\n return _this;\n }\n\n SideMenu.prototype.render = function () {\n var store = this.props.menu;\n return external_react_[\"createElement\"](PerfectScrollbarWrap, {\n updateFn: this.saveScrollUpdate,\n className: this.props.className,\n options: {\n wheelPropagation: false\n }\n }, external_react_[\"createElement\"](MenuItems_MenuItems, {\n items: store.items,\n onActivate: this.activate,\n root: true\n }), external_react_[\"createElement\"](RedocAttribution, null, external_react_[\"createElement\"](\"a\", {\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n href: \"https://github.com/Redocly/redoc\"\n }, \"Documentation Powered by ReDoc\")));\n };\n\n SideMenu.contextType = OptionsContext;\n SideMenu = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], SideMenu);\n return SideMenu;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/StickySidebar/ChevronSvg.tsx\n\n\n var AnimatedChevronButton = function AnimatedChevronButton(_a) {\n var open = _a.open;\n var iconOffset = open ? 8 : -4;\n return external_react_[\"createElement\"](ChevronContainer, null, external_react_[\"createElement\"](ChevronSvg, {\n size: 15,\n style: {\n transform: \"translate(2px, \" + iconOffset + \"px) rotate(180deg)\",\n transition: 'transform 0.2s ease'\n }\n }), external_react_[\"createElement\"](ChevronSvg, {\n size: 15,\n style: {\n transform: \"translate(2px, \" + (0 - iconOffset) + \"px)\",\n transition: 'transform 0.2s ease'\n }\n }));\n }; // adapted from reactjs.org\n\n\n var ChevronSvg = function ChevronSvg(_a) {\n var _b = _a.size,\n size = _b === void 0 ? 10 : _b,\n _c = _a.className,\n className = _c === void 0 ? '' : _c,\n style = _a.style;\n return external_react_[\"createElement\"](\"svg\", {\n className: className,\n style: style || {},\n viewBox: \"0 0 926.23699 573.74994\",\n version: \"1.1\",\n x: \"0px\",\n y: \"0px\",\n width: size,\n height: size\n }, external_react_[\"createElement\"](\"g\", {\n transform: \"translate(904.92214,-879.1482)\"\n }, external_react_[\"createElement\"](\"path\", {\n d: \"\\n m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,\\n -55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,\\n 0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,\\n -174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,\\n -174.68583 0.6895,0 26.281,25.03215 56.8701,\\n 55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864\\n -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,\\n -104.0616 -231.873,-231.248 z\\n \",\n fill: \"currentColor\"\n })));\n };\n\n var ChevronContainer = styled_components.div(ChevronSvg_templateObject_1 || (ChevronSvg_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n user-select: none;\\n width: 20px;\\n height: 20px;\\n align-self: center;\\n display: flex;\\n flex-direction: column;\\n color: \", \";\\n\"], [\"\\n user-select: none;\\n width: 20px;\\n height: 20px;\\n align-self: center;\\n display: flex;\\n flex-direction: column;\\n color: \", \";\\n\"])), function (props) {\n return props.theme.colors.primary.main;\n });\n var ChevronSvg_templateObject_1; // CONCATENATED MODULE: ./src/components/StickySidebar/StickyResponsiveSidebar.tsx\n\n var Stickyfill;\n\n if (IS_BROWSER) {\n Stickyfill = __webpack_require__(81);\n }\n\n var stickyfill = Stickyfill && Stickyfill();\n var StyledStickySidebar = styled_components.div(StickyResponsiveSidebar_templateObject_2 || (StickyResponsiveSidebar_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: \", \";\\n background-color: \", \";\\n overflow: hidden;\\n display: flex;\\n flex-direction: column;\\n\\n backface-visibility: hidden;\\n /* contain: strict; TODO: breaks layout since Chrome 80*/\\n\\n height: 100vh;\\n position: sticky;\\n position: -webkit-sticky;\\n top: 0;\\n\\n \", \";\\n\\n @media print {\\n display: none;\\n }\\n\"], [\"\\n width: \", \";\\n background-color: \", \";\\n overflow: hidden;\\n display: flex;\\n flex-direction: column;\\n\\n backface-visibility: hidden;\\n /* contain: strict; TODO: breaks layout since Chrome 80*/\\n\\n height: 100vh;\\n position: sticky;\\n position: -webkit-sticky;\\n top: 0;\\n\\n \", \";\\n\\n @media print {\\n display: none;\\n }\\n\"])), function (props) {\n return props.theme.sidebar.width;\n }, function (props) {\n return props.theme.sidebar.backgroundColor;\n }, media.lessThan('small')(StickyResponsiveSidebar_templateObject_1 || (StickyResponsiveSidebar_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: fixed;\\n z-index: 20;\\n width: 100%;\\n background: \", \";\\n display: \", \";\\n \"], [\"\\n position: fixed;\\n z-index: 20;\\n width: 100%;\\n background: \", \";\\n display: \", \";\\n \"])), function (_a) {\n var theme = _a.theme;\n return theme.sidebar.backgroundColor;\n }, function (props) {\n return props.open ? 'flex' : 'none';\n }));\n var FloatingButton = styled_components.div(StickyResponsiveSidebar_templateObject_4 || (StickyResponsiveSidebar_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n outline: none;\\n user-select: none;\\n background-color: #f2f2f2;\\n color: \", \";\\n display: none;\\n cursor: pointer;\\n position: fixed;\\n right: 20px;\\n z-index: 100;\\n border-radius: 50%;\\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);\\n \", \";\\n\\n bottom: 44px;\\n\\n width: 60px;\\n height: 60px;\\n padding: 0 20px;\\n\\n @media print {\\n display: none;\\n }\\n\"], [\"\\n outline: none;\\n user-select: none;\\n background-color: #f2f2f2;\\n color: \", \";\\n display: none;\\n cursor: pointer;\\n position: fixed;\\n right: 20px;\\n z-index: 100;\\n border-radius: 50%;\\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);\\n \", \";\\n\\n bottom: 44px;\\n\\n width: 60px;\\n height: 60px;\\n padding: 0 20px;\\n\\n @media print {\\n display: none;\\n }\\n\"])), function (props) {\n return props.theme.colors.primary.main;\n }, media.lessThan('small')(StickyResponsiveSidebar_templateObject_3 || (StickyResponsiveSidebar_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: flex;\\n \"], [\"\\n display: flex;\\n \"]))));\n\n var StickyResponsiveSidebar_StickyResponsiveSidebar =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(StickyResponsiveSidebar, _super);\n\n function StickyResponsiveSidebar() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.state = {\n offsetTop: '0px'\n };\n\n _this.toggleNavMenu = function () {\n _this.props.menu.toggleSidebar();\n };\n\n return _this;\n }\n\n StickyResponsiveSidebar.prototype.componentDidMount = function () {\n if (stickyfill) {\n stickyfill.add(this.stickyElement);\n } // rerender when hydrating from SSR\n // see https://github.com/facebook/react/issues/8017#issuecomment-256351955\n\n\n this.setState({\n offsetTop: this.getScrollYOffset(this.context)\n });\n };\n\n StickyResponsiveSidebar.prototype.componentWillUnmount = function () {\n if (stickyfill) {\n stickyfill.remove(this.stickyElement);\n }\n };\n\n StickyResponsiveSidebar.prototype.getScrollYOffset = function (options) {\n var top;\n\n if (this.props.scrollYOffset !== undefined) {\n top = RedocNormalizedOptions_RedocNormalizedOptions.normalizeScrollYOffset(this.props.scrollYOffset)();\n } else {\n top = options.scrollYOffset();\n }\n\n return top + 'px';\n };\n\n StickyResponsiveSidebar.prototype.render = function () {\n var _this = this;\n\n var open = this.props.menu.sideBarOpened;\n var top = this.state.offsetTop;\n return external_react_[\"createElement\"](external_react_[\"Fragment\"], null, external_react_[\"createElement\"](StyledStickySidebar, {\n open: open,\n className: this.props.className,\n style: {\n top: top,\n height: \"calc(100vh - \" + top + \")\"\n },\n ref: function ref(el) {\n _this.stickyElement = el;\n }\n }, this.props.children), external_react_[\"createElement\"](FloatingButton, {\n onClick: this.toggleNavMenu\n }, external_react_[\"createElement\"](AnimatedChevronButton, {\n open: open\n })));\n };\n\n StickyResponsiveSidebar.contextType = OptionsContext;\n StickyResponsiveSidebar = Object(external_tslib_[\"__decorate\"])([external_mobx_react_[\"observer\"]], StickyResponsiveSidebar);\n return StickyResponsiveSidebar;\n }(external_react_[\"Component\"]);\n\n var StickyResponsiveSidebar_templateObject_1, StickyResponsiveSidebar_templateObject_2, StickyResponsiveSidebar_templateObject_3, StickyResponsiveSidebar_templateObject_4; // CONCATENATED MODULE: ./src/components/Redoc/styled.elements.tsx\n\n var RedocWrap = styled_components.div(Redoc_styled_elements_templateObject_1 || (Redoc_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n \", \";\\n\"], [\"\\n \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return \"\\n font-family: \" + theme.typography.fontFamily + \";\\n font-size: \" + theme.typography.fontSize + \";\\n font-weight: \" + theme.typography.fontWeightRegular + \";\\n line-height: \" + theme.typography.lineHeight + \";\\n color: \" + theme.colors.text.primary + \";\\n display: flex;\\n position: relative;\\n text-align: left;\\n\\n -webkit-font-smoothing: \" + theme.typography.smoothing + \";\\n font-smoothing: \" + theme.typography.smoothing + \";\\n \" + (theme.typography.optimizeSpeed && 'text-rendering: optimizeSpeed !important' || '') + \";\\n\\n tap-highlight-color: rgba(0, 0, 0, 0);\\n text-size-adjust: 100%;\\n\\n * {\\n box-sizing: border-box;\\n -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\\n }\\n\";\n });\n var ApiContentWrap = styled_components.div(Redoc_styled_elements_templateObject_3 || (Redoc_styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n z-index: 1;\\n position: relative;\\n overflow: hidden;\\n width: calc(100% - \", \");\\n \", \";\\n\\n contain: layout;\\n\"], [\"\\n z-index: 1;\\n position: relative;\\n overflow: hidden;\\n width: calc(100% - \", \");\\n \", \";\\n\\n contain: layout;\\n\"])), function (props) {\n return props.theme.sidebar.width;\n }, media.lessThan('small', true)(Redoc_styled_elements_templateObject_2 || (Redoc_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: 100%;\\n \"], [\"\\n width: 100%;\\n \"]))));\n var BackgroundStub = styled_components.div(Redoc_styled_elements_templateObject_5 || (Redoc_styled_elements_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n background: \", \";\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n right: 0;\\n width: \", \";\\n \", \";\\n\"], [\"\\n background: \", \";\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n right: 0;\\n width: \", \";\\n \", \";\\n\"])), function (_a) {\n var theme = _a.theme;\n return theme.rightPanel.backgroundColor;\n }, function (_a) {\n var theme = _a.theme;\n\n if (theme.rightPanel.width.endsWith('%')) {\n var percents = parseInt(theme.rightPanel.width, 10);\n return \"calc((100% - \" + theme.sidebar.width + \") * \" + percents / 100 + \")\";\n } else {\n return theme.rightPanel.width;\n }\n }, media.lessThan('medium', true)(Redoc_styled_elements_templateObject_4 || (Redoc_styled_elements_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n display: none;\\n \"], [\"\\n display: none;\\n \"]))));\n var Redoc_styled_elements_templateObject_1, Redoc_styled_elements_templateObject_2, Redoc_styled_elements_templateObject_3, Redoc_styled_elements_templateObject_4, Redoc_styled_elements_templateObject_5; // CONCATENATED MODULE: ./src/components/SearchBox/styled.elements.tsx\n\n var SearchWrap = styled_components.div(SearchBox_styled_elements_templateObject_1 || (SearchBox_styled_elements_templateObject_1 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: 5px 0;\\n\"], [\"\\n padding: 5px 0;\\n\"])));\n var SearchInput = styled_components.input.attrs(function () {\n return {\n className: 'search-input'\n };\n })(SearchBox_styled_elements_templateObject_2 || (SearchBox_styled_elements_templateObject_2 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n width: calc(100% - \", \"px);\\n box-sizing: border-box;\\n margin: 0 \", \"px;\\n padding: 5px \", \"px 5px\\n \", \"px;\\n border: 0;\\n border-bottom: 1px solid\\n \", \";\\n font-family: \", \";\\n font-weight: bold;\\n font-size: 13px;\\n color: \", \";\\n background-color: transparent;\\n outline: none;\\n\"], [\"\\n width: calc(100% - \", \"px);\\n box-sizing: border-box;\\n margin: 0 \", \"px;\\n padding: 5px \", \"px 5px\\n \", \"px;\\n border: 0;\\n border-bottom: 1px solid\\n \", \";\\n font-family: \", \";\\n font-weight: bold;\\n font-size: 13px;\\n color: \", \";\\n background-color: transparent;\\n outline: none;\\n\"])), function (props) {\n return props.theme.spacing.unit * 8;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n }, function (props) {\n return props.theme.spacing.unit * 2;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n }, function (_a) {\n var theme = _a.theme;\n return (Object(external_polished_[\"getLuminance\"])(theme.sidebar.backgroundColor) > 0.5 ? external_polished_[\"darken\"] : external_polished_[\"lighten\"])(0.1, theme.sidebar.backgroundColor);\n }, function (_a) {\n var theme = _a.theme;\n return theme.typography.fontFamily;\n }, function (props) {\n return props.theme.sidebar.textColor;\n });\n var SearchIcon = styled_components(function (props) {\n return external_react_[\"createElement\"](\"svg\", {\n className: props.className,\n version: \"1.1\",\n viewBox: \"0 0 1000 1000\",\n x: \"0px\",\n xmlns: \"http://www.w3.org/2000/svg\",\n y: \"0px\"\n }, external_react_[\"createElement\"](\"path\", {\n d: \"M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z\"\n }));\n }).attrs({\n className: 'search-icon'\n })(SearchBox_styled_elements_templateObject_3 || (SearchBox_styled_elements_templateObject_3 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: absolute;\\n left: \", \"px;\\n height: 1.8em;\\n width: 0.9em;\\n\\n path {\\n fill: \", \";\\n }\\n\"], [\"\\n position: absolute;\\n left: \", \"px;\\n height: 1.8em;\\n width: 0.9em;\\n\\n path {\\n fill: \", \";\\n }\\n\"])), function (props) {\n return props.theme.spacing.unit * 4;\n }, function (props) {\n return props.theme.sidebar.textColor;\n });\n var SearchResultsBox = styled_components.div(SearchBox_styled_elements_templateObject_4 || (SearchBox_styled_elements_templateObject_4 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n padding: \", \"px 0;\\n background-color: \", \"};\\n color: \", \";\\n min-height: 150px;\\n max-height: 250px;\\n border-top: \", \"};\\n border-bottom: \", \"};\\n margin-top: 10px;\\n line-height: 1.4;\\n font-size: 0.9em;\\n\\n \", \" {\\n padding-top: 6px;\\n padding-bottom: 6px;\\n\\n &:hover,\\n &.active {\\n background-color: \", \";\\n }\\n\\n > svg {\\n display: none;\\n }\\n }\\n\"], [\"\\n padding: \", \"px 0;\\n background-color: \", \"};\\n color: \", \";\\n min-height: 150px;\\n max-height: 250px;\\n border-top: \", \"};\\n border-bottom: \", \"};\\n margin-top: 10px;\\n line-height: 1.4;\\n font-size: 0.9em;\\n\\n \", \" {\\n padding-top: 6px;\\n padding-bottom: 6px;\\n\\n &:hover,\\n &.active {\\n background-color: \", \";\\n }\\n\\n > svg {\\n display: none;\\n }\\n }\\n\"])), function (props) {\n return props.theme.spacing.unit;\n }, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(0.05, theme.sidebar.backgroundColor);\n }, function (props) {\n return props.theme.sidebar.textColor;\n }, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(0.1, theme.sidebar.backgroundColor);\n }, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(0.1, theme.sidebar.backgroundColor);\n }, MenuItemLabel, function (_a) {\n var theme = _a.theme;\n return Object(external_polished_[\"darken\"])(0.1, theme.sidebar.backgroundColor);\n });\n var ClearIcon = styled_components.i(SearchBox_styled_elements_templateObject_5 || (SearchBox_styled_elements_templateObject_5 = Object(external_tslib_[\"__makeTemplateObject\"])([\"\\n position: absolute;\\n display: inline-block;\\n width: \", \"px;\\n text-align: center;\\n right: \", \"px;\\n line-height: 2em;\\n vertical-align: middle;\\n margin-right: 2px;\\n cursor: pointer;\\n font-style: normal;\\n color: '#666';\\n\"], [\"\\n position: absolute;\\n display: inline-block;\\n width: \", \"px;\\n text-align: center;\\n right: \", \"px;\\n line-height: 2em;\\n vertical-align: middle;\\n margin-right: 2px;\\n cursor: pointer;\\n font-style: normal;\\n color: '#666';\\n\"])), function (props) {\n return props.theme.spacing.unit * 2;\n }, function (props) {\n return props.theme.spacing.unit * 4;\n });\n var SearchBox_styled_elements_templateObject_1, SearchBox_styled_elements_templateObject_2, SearchBox_styled_elements_templateObject_3, SearchBox_styled_elements_templateObject_4, SearchBox_styled_elements_templateObject_5; // CONCATENATED MODULE: ./src/components/SearchBox/SearchBox.tsx\n\n var SearchBox_SearchBox =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(SearchBox, _super);\n\n function SearchBox(props) {\n var _this = _super.call(this, props) || this;\n\n _this.activeItemRef = null;\n\n _this.clear = function () {\n _this.setState({\n results: [],\n term: '',\n activeItemIdx: -1\n });\n\n _this.props.marker.unmark();\n };\n\n _this.handleKeyDown = function (event) {\n if (event.keyCode === 27) {\n // ESQ\n _this.clear();\n }\n\n if (event.keyCode === 40) {\n // Arrow down\n _this.setState({\n activeItemIdx: Math.min(_this.state.activeItemIdx + 1, _this.state.results.length - 1)\n });\n\n event.preventDefault();\n }\n\n if (event.keyCode === 38) {\n // Arrow up\n _this.setState({\n activeItemIdx: Math.max(0, _this.state.activeItemIdx - 1)\n });\n\n event.preventDefault();\n }\n\n if (event.keyCode === 13) {\n // enter\n var activeResult = _this.state.results[_this.state.activeItemIdx];\n\n if (activeResult) {\n var item = _this.props.getItemById(activeResult.meta);\n\n if (item) {\n _this.props.onActivate(item);\n }\n }\n }\n };\n\n _this.search = function (event) {\n var q = event.target.value;\n\n if (q.length < 3) {\n _this.clearResults(q);\n\n return;\n }\n\n _this.setState({\n term: q\n }, function () {\n return _this.searchCallback(_this.state.term);\n });\n };\n\n _this.state = {\n results: [],\n term: '',\n activeItemIdx: -1\n };\n return _this;\n }\n\n SearchBox.prototype.clearResults = function (term) {\n this.setState({\n results: [],\n term: term\n });\n this.props.marker.unmark();\n };\n\n SearchBox.prototype.setResults = function (results, term) {\n this.setState({\n results: results\n });\n this.props.marker.mark(term);\n };\n\n SearchBox.prototype.searchCallback = function (searchTerm) {\n var _this = this;\n\n this.props.search.search(searchTerm).then(function (res) {\n _this.setResults(res, searchTerm);\n });\n };\n\n SearchBox.prototype.render = function () {\n var _this = this;\n\n var activeItemIdx = this.state.activeItemIdx;\n var results = this.state.results.map(function (res) {\n return {\n item: _this.props.getItemById(res.meta),\n score: res.score\n };\n });\n results.sort(function (a, b) {\n return b.score - a.score;\n });\n return external_react_[\"createElement\"](SearchWrap, {\n role: \"search\"\n }, this.state.term && external_react_[\"createElement\"](ClearIcon, {\n onClick: this.clear\n }, \"\\xD7\"), external_react_[\"createElement\"](SearchIcon, null), external_react_[\"createElement\"](SearchInput, {\n value: this.state.term,\n onKeyDown: this.handleKeyDown,\n placeholder: \"Search...\",\n type: \"text\",\n onChange: this.search\n }), results.length > 0 && external_react_[\"createElement\"](PerfectScrollbarWrap, {\n options: {\n wheelPropagation: false\n }\n }, external_react_[\"createElement\"](SearchResultsBox, {\n \"data-role\": \"search:results\"\n }, results.map(function (res, idx) {\n return external_react_[\"createElement\"](MenuItem_MenuItem, {\n item: Object.create(res.item, {\n active: {\n value: idx === activeItemIdx\n }\n }),\n onActivate: _this.props.onActivate,\n withoutChildren: true,\n key: res.item.id,\n \"data-role\": \"search:result\"\n });\n }))));\n };\n\n Object(external_tslib_[\"__decorate\"])([external_decko_[\"bind\"], Object(external_decko_[\"debounce\"])(400)], SearchBox.prototype, \"searchCallback\", null);\n return SearchBox;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/Redoc/Redoc.tsx\n\n\n var Redoc_Redoc =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(Redoc, _super);\n\n function Redoc() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Redoc.prototype.componentDidMount = function () {\n this.props.store.onDidMount();\n };\n\n Redoc.prototype.componentWillUnmount = function () {\n this.props.store.dispose();\n };\n\n Redoc.prototype.render = function () {\n var _a = this.props.store,\n spec = _a.spec,\n menu = _a.menu,\n options = _a.options,\n search = _a.search,\n marker = _a.marker;\n var store = this.props.store;\n return external_react_[\"createElement\"](ThemeProvider, {\n theme: options.theme\n }, external_react_[\"createElement\"](Provider, {\n value: this.props.store\n }, external_react_[\"createElement\"](OptionsProvider, {\n value: options\n }, external_react_[\"createElement\"](RedocWrap, {\n className: \"redoc-wrap\"\n }, external_react_[\"createElement\"](StickyResponsiveSidebar_StickyResponsiveSidebar, {\n menu: menu,\n className: \"menu-content\"\n }, external_react_[\"createElement\"](ApiLogo_ApiLogo, {\n info: spec.info\n }), !options.disableSearch && external_react_[\"createElement\"](SearchBox_SearchBox, {\n search: search,\n marker: marker,\n getItemById: menu.getItemById,\n onActivate: menu.activateAndScroll\n }) || null, external_react_[\"createElement\"](SideMenu_SideMenu, {\n menu: menu\n })), external_react_[\"createElement\"](ApiContentWrap, {\n className: \"api-content\"\n }, external_react_[\"createElement\"](ApiInfo_ApiInfo, {\n store: store\n }), external_react_[\"createElement\"](ContentItems_ContentItems, {\n items: menu.items\n })), external_react_[\"createElement\"](BackgroundStub, null)))));\n };\n\n Redoc.propTypes = {\n store: external_prop_types_[\"instanceOf\"](AppStore_AppStore).isRequired\n };\n return Redoc;\n }(external_react_[\"Component\"]); // CONCATENATED MODULE: ./src/components/RedocStandalone.tsx\n\n\n var RedocStandalone_RedocStandalone =\n /** @class */\n function (_super) {\n Object(external_tslib_[\"__extends\"])(RedocStandalone, _super);\n\n function RedocStandalone() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n RedocStandalone.prototype.render = function () {\n var _a = this.props,\n spec = _a.spec,\n specUrl = _a.specUrl,\n _b = _a.options,\n options = _b === void 0 ? {} : _b,\n onLoaded = _a.onLoaded;\n var hideLoading = options.hideLoading !== undefined;\n var normalizedOpts = new RedocNormalizedOptions_RedocNormalizedOptions(options);\n return external_react_[\"createElement\"](ErrorBoundary_ErrorBoundary, null, external_react_[\"createElement\"](StoreBuilder_StoreBuilder, {\n spec: spec,\n specUrl: specUrl,\n options: options,\n onLoaded: onLoaded\n }, function (_a) {\n var loading = _a.loading,\n store = _a.store;\n return !loading ? external_react_[\"createElement\"](Redoc_Redoc, {\n store: store\n }) : hideLoading ? null : external_react_[\"createElement\"](Loading_Loading, {\n color: normalizedOpts.theme.colors.primary.main\n });\n }));\n };\n\n RedocStandalone.propTypes = {\n spec: function spec(props, _, componentName) {\n if (!props.spec && !props.specUrl) {\n return new Error(\"One of props 'spec' or 'specUrl' was not specified in '\" + componentName + \"'.\");\n }\n\n return null;\n },\n specUrl: function specUrl(props, _, componentName) {\n if (!props.spec && !props.specUrl) {\n return new Error(\"One of props 'spec' or 'specUrl' was not specified in '\" + componentName + \"'.\");\n }\n\n return null;\n },\n options: external_prop_types_[\"any\"],\n onLoaded: external_prop_types_[\"any\"]\n };\n return RedocStandalone;\n }(external_react_[\"PureComponent\"]); // CONCATENATED MODULE: ./src/components/JsonViewer/index.tsx\n // CONCATENATED MODULE: ./src/components/SideMenu/index.ts\n // CONCATENATED MODULE: ./src/components/index.ts\n // CONCATENATED MODULE: ./src/index.ts\n\n /***/\n\n }\n /******/\n ])\n );\n});"],"sourceRoot":""}