Mercurial > gemma
annotate api/server/ui/swagger-ui.js @ 172:a422471db08a
Automate running DB-tests with an extra database
run_tests.sh allows to run database tests easily without
affecting other existing databases and on a clean basis.
Because roles are cluster-wide, they cannot be easily droped
and recreated without affecting other databases. Thus,
moved their creation to roles.sql and in passing removed
unnecessary role 'gemma'.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 12 Jul 2018 16:30:01 +0200 |
parents | 9fcfccb18b16 |
children |
rev | line source |
---|---|
169
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
1 !function webpackUniversalModuleDefinition(root,factory){"object"==typeof exports&&"object"==typeof module?module.exports=factory():"function"==typeof define&&define.amd?define([],factory):"object"==typeof exports?exports.SwaggerUICore=factory():root.SwaggerUICore=factory()}("undefined"!=typeof self?self:this,function(){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="/dist",__webpack_require__(__webpack_require__.s=285)}([function(module,exports){module.exports=require("react")},function(module,exports){module.exports=require("prop-types")},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0,exports.default=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _defineProperty2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(173));exports.default=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),(0,_defineProperty2.default)(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}()},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(504),__esModule:!0}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _typeof3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(31));exports.default=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==(void 0===call?"undefined":(0,_typeof3.default)(call))&&"function"!=typeof call?self:call}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _setPrototypeOf2=_interopRequireDefault(__webpack_require__(506)),_create2=_interopRequireDefault(__webpack_require__(510)),_typeof3=_interopRequireDefault(__webpack_require__(31));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+(void 0===superClass?"undefined":(0,_typeof3.default)(superClass)));subClass.prototype=(0,_create2.default)(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(_setPrototypeOf2.default?(0,_setPrototypeOf2.default)(subClass,superClass):subClass.__proto__=superClass)}},function(module,exports){module.exports=require("immutable")},function(module,exports,__webpack_require__){"use strict";(function(Buffer){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getCommonExtensions=exports.getExtensions=exports.escapeDeepLinkPath=exports.createDeepLinkPath=exports.shallowEqualKeys=exports.buildFormData=exports.sorters=exports.btoa=exports.serializeSearch=exports.parseSearch=exports.getSampleSchema=exports.validateParam=exports.validatePattern=exports.validateMinLength=exports.validateMaxLength=exports.validateGuid=exports.validateDateTime=exports.validateString=exports.validateBoolean=exports.validateFile=exports.validateInteger=exports.validateNumber=exports.validateMinimum=exports.validateMaximum=exports.propChecker=exports.memoize=exports.isImmutable=void 0;var _stringify2=_interopRequireDefault(__webpack_require__(27)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_getIterator3=_interopRequireDefault(__webpack_require__(70)),_assign2=_interopRequireDefault(__webpack_require__(20)),_keys2=_interopRequireDefault(__webpack_require__(30)),_typeof3=_interopRequireDefault(__webpack_require__(31));exports.isJSONObject=function isJSONObject(str){try{var o=JSON.parse(str);if(o&&"object"===(void 0===o?"undefined":(0,_typeof3.default)(o)))return o}catch(e){}return!1},exports.objectify=function objectify(thing){return isObject(thing)?isImmutable(thing)?thing.toJS():thing:{}},exports.arrayify=function arrayify(thing){return thing?thing.toArray?thing.toArray():normalizeArray(thing):[]},exports.fromJSOrdered=function fromJSOrdered(js){if(isImmutable(js))return js;if(js instanceof _window2.default.File)return js;return isObject(js)?Array.isArray(js)?_immutable2.default.Seq(js).map(fromJSOrdered).toList():_immutable2.default.OrderedMap(js).map(fromJSOrdered):js},exports.bindToState=function bindToState(obj,state){var newObj={};return(0,_keys2.default)(obj).filter(function(key){return"function"==typeof obj[key]}).forEach(function(key){return newObj[key]=obj[key].bind(null,state)}),newObj},exports.normalizeArray=normalizeArray,exports.isFn=function isFn(fn){return"function"==typeof fn},exports.isObject=isObject,exports.isFunc=function isFunc(thing){return"function"==typeof thing},exports.isArray=function isArray(thing){return Array.isArray(thing)},exports.objMap=function objMap(obj,fn){return(0,_keys2.default)(obj).reduce(function(newObj,key){return newObj[key]=fn(obj[key],key),newObj},{})},exports.objReduce=function objReduce(obj,fn){return(0,_keys2.default)(obj).reduce(function(newObj,key){var res=fn(obj[key],key);return res&&"object"===(void 0===res?"undefined":(0,_typeof3.default)(res))&&(0,_assign2.default)(newObj,res),newObj},{})},exports.systemThunkMiddleware=function systemThunkMiddleware(getSystem){return function(_ref){_ref.dispatch,_ref.getState;return function(next){return function(action){return"function"==typeof action?action(getSystem()):next(action)}}}},exports.defaultStatusCode=function defaultStatusCode(responses){var codes=responses.keySeq();return codes.contains(DEFAULT_RESPONSE_KEY)?DEFAULT_RESPONSE_KEY:codes.filter(function(key){return"2"===(key+"")[0]}).sort().first()},exports.getList=function getList(iterable,keys){if(!_immutable2.default.Iterable.isIterable(iterable))return _immutable2.default.List();var val=iterable.getIn(Array.isArray(keys)?keys:[keys]);return _immutable2.default.List.isList(val)?val:_immutable2.default.List()},exports.highlight=function highlight(el){var _document=document;if(!el)return"";if(el.textContent.length>5e3)return el.textContent;return function reset(el){for(var prev1,prev2,lastTokenType,multichar,node,text=el.textContent,pos=0,next1=text[0],chr=1,token=el.innerHTML="",tokenType=0;prev2=prev1,prev1=tokenType<7&&"\\"==prev1?1:chr;){if(chr=next1,next1=text[++pos],multichar=token.length>1,!chr||tokenType>8&&"\n"==chr||[/\S/.test(chr),1,1,!/[$\w]/.test(chr),("/"==prev1||"\n"==prev1)&&multichar,'"'==prev1&&multichar,"'"==prev1&&multichar,text[pos-4]+prev2+prev1=="--\x3e",prev2+prev1=="*/"][tokenType])for(token&&(el.appendChild(node=_document.createElement("span")).setAttribute("style",["color: #555; font-weight: bold;","","","color: #555;",""][tokenType?tokenType<3?2:tokenType>6?4:tokenType>3?3:+/^(a(bstract|lias|nd|rguments|rray|s(m|sert)?|uto)|b(ase|egin|ool(ean)?|reak|yte)|c(ase|atch|har|hecked|lass|lone|ompl|onst|ontinue)|de(bugger|cimal|clare|f(ault|er)?|init|l(egate|ete)?)|do|double|e(cho|ls?if|lse(if)?|nd|nsure|num|vent|x(cept|ec|p(licit|ort)|te(nds|nsion|rn)))|f(allthrough|alse|inal(ly)?|ixed|loat|or(each)?|riend|rom|unc(tion)?)|global|goto|guard|i(f|mp(lements|licit|ort)|n(it|clude(_once)?|line|out|stanceof|t(erface|ernal)?)?|s)|l(ambda|et|ock|ong)|m(icrolight|odule|utable)|NaN|n(amespace|ative|ext|ew|il|ot|ull)|o(bject|perator|r|ut|verride)|p(ackage|arams|rivate|rotected|rotocol|ublic)|r(aise|e(adonly|do|f|gister|peat|quire(_once)?|scue|strict|try|turn))|s(byte|ealed|elf|hort|igned|izeof|tatic|tring|truct|ubscript|uper|ynchronized|witch)|t(emplate|hen|his|hrows?|ransient|rue|ry|ype(alias|def|id|name|of))|u(n(checked|def(ined)?|ion|less|signed|til)|se|sing)|v(ar|irtual|oid|olatile)|w(char_t|hen|here|hile|ith)|xor|yield)$/.test(token):0]),node.appendChild(_document.createTextNode(token))),lastTokenType=tokenType&&tokenType<7?tokenType:lastTokenType,token="",tokenType=11;![1,/[\/{}[(\-+*=<>:;|\\.,?!&@~]/.test(chr),/[\])]/.test(chr),/[$\w]/.test(chr),"/"==chr&&lastTokenType<2&&"<"!=prev1,'"'==chr,"'"==chr,chr+next1+text[pos+1]+text[pos+2]=="\x3c!--",chr+next1=="/*",chr+next1=="//","#"==chr][--tokenType];);token+=chr}}(el)},exports.mapToList=function mapToList(map){var keyNames=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";var collectedKeys=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_immutable2.default.Map();if(!_immutable2.default.Map.isMap(map)||!map.size)return _immutable2.default.List();Array.isArray(keyNames)||(keyNames=[keyNames]);if(keyNames.length<1)return map.merge(collectedKeys);var list=_immutable2.default.List();var keyName=keyNames[0];var _iteratorNormalCompletion=!0;var _didIteratorError=!1;var _iteratorError=void 0;try{for(var _step,_iterator=(0,_getIterator3.default)(map.entries());!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var entry=_step.value,_entry=(0,_slicedToArray3.default)(entry,2),key=_entry[0],val=_entry[1],nextList=mapToList(val,keyNames.slice(1),collectedKeys.set(keyName,key));list=_immutable2.default.List.isList(nextList)?list.concat(nextList):list.push(nextList)}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{!_iteratorNormalCompletion&&_iterator.return&&_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}return list},exports.extractFileNameFromContentDispositionHeader=function extractFileNameFromContentDispositionHeader(value){var responseFilename=/filename="([^;]*);?"/i.exec(value);null===responseFilename&&(responseFilename=/filename=([^;]*);?/i.exec(value));if(null!==responseFilename&&responseFilename.length>1)return responseFilename[1];return null},exports.pascalCase=pascalCase,exports.pascalCaseFilename=function pascalCaseFilename(filename){return pascalCase(filename.replace(/\.[^./]*$/,""))},exports.sanitizeUrl=function sanitizeUrl(url){if("string"!=typeof url||""===url)return"";return(0,_sanitizeUrl.sanitizeUrl)(url)},exports.getAcceptControllingResponse=function getAcceptControllingResponse(responses){if(!_immutable2.default.OrderedMap.isOrderedMap(responses))return null;if(!responses.size)return null;var suitable2xxResponse=responses.find(function(res,k){return k.startsWith("2")&&(0,_keys2.default)(res.get("content")||{}).length>0}),defaultResponse=responses.get("default")||_immutable2.default.OrderedMap(),suitableDefaultResponse=(defaultResponse.get("content")||_immutable2.default.OrderedMap()).keySeq().toJS().length?defaultResponse:null;return suitable2xxResponse||suitableDefaultResponse},exports.deeplyStripKey=function deeplyStripKey(input,keyToStrip){var predicate=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==(void 0===input?"undefined":(0,_typeof3.default)(input))||Array.isArray(input)||null===input||!keyToStrip)return input;var obj=(0,_assign2.default)({},input);(0,_keys2.default)(obj).forEach(function(k){k===keyToStrip&&predicate(obj[k],k)?delete obj[k]:obj[k]=deeplyStripKey(obj[k],keyToStrip,predicate)});return obj};var _immutable2=_interopRequireDefault(__webpack_require__(7)),_sanitizeUrl=__webpack_require__(387),_camelCase2=_interopRequireDefault(__webpack_require__(388)),_upperFirst2=_interopRequireDefault(__webpack_require__(177)),_memoize3=_interopRequireDefault(__webpack_require__(182)),_find2=_interopRequireDefault(__webpack_require__(185)),_some2=_interopRequireDefault(__webpack_require__(468)),_eq2=_interopRequireDefault(__webpack_require__(64)),_fn=__webpack_require__(133),_window2=_interopRequireDefault(__webpack_require__(22)),_css2=_interopRequireDefault(__webpack_require__(477));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var DEFAULT_RESPONSE_KEY="default",isImmutable=exports.isImmutable=function isImmutable(maybe){return _immutable2.default.Iterable.isIterable(maybe)};function normalizeArray(arr){return Array.isArray(arr)?arr:[arr]}function isObject(obj){return!!obj&&"object"===(void 0===obj?"undefined":(0,_typeof3.default)(obj))}exports.memoize=_memoize3.default;function pascalCase(str){return(0,_upperFirst2.default)((0,_camelCase2.default)(str))}exports.propChecker=function propChecker(props,nextProps){var objectList=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],ignoreList=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return(0,_keys2.default)(props).length!==(0,_keys2.default)(nextProps).length||((0,_some2.default)(props,function(a,name){if(ignoreList.includes(name))return!1;var b=nextProps[name];return _immutable2.default.Iterable.isIterable(a)?!_immutable2.default.is(a,b):("object"!==(void 0===a?"undefined":(0,_typeof3.default)(a))||"object"!==(void 0===b?"undefined":(0,_typeof3.default)(b)))&&a!==b})||objectList.some(function(objectPropName){return!(0,_eq2.default)(props[objectPropName],nextProps[objectPropName])}))};var validateMaximum=exports.validateMaximum=function validateMaximum(val,max){if(val>max)return"Value must be less than Maximum"},validateMinimum=exports.validateMinimum=function validateMinimum(val,min){if(val<min)return"Value must be greater than Minimum"},validateNumber=exports.validateNumber=function validateNumber(val){if(!/^-?\d+(\.?\d+)?$/.test(val))return"Value must be a number"},validateInteger=exports.validateInteger=function validateInteger(val){if(!/^-?\d+$/.test(val))return"Value must be an integer"},validateFile=exports.validateFile=function validateFile(val){if(val&&!(val instanceof _window2.default.File))return"Value must be a file"},validateBoolean=exports.validateBoolean=function validateBoolean(val){if("true"!==val&&"false"!==val&&!0!==val&&!1!==val)return"Value must be a boolean"},validateString=exports.validateString=function validateString(val){if(val&&"string"!=typeof val)return"Value must be a string"},validateDateTime=exports.validateDateTime=function validateDateTime(val){if(isNaN(Date.parse(val)))return"Value must be a DateTime"},validateGuid=exports.validateGuid=function validateGuid(val){if(val=val.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(val))return"Value must be a Guid"},validateMaxLength=exports.validateMaxLength=function validateMaxLength(val,max){if(val.length>max)return"Value must be less than MaxLength"},validateMinLength=exports.validateMinLength=function validateMinLength(val,min){if(val.length<min)return"Value must be greater than MinLength"},validatePattern=exports.validatePattern=function validatePattern(val,rxPattern){if(!new RegExp(rxPattern).test(val))return"Value must follow pattern "+rxPattern};exports.validateParam=function validateParam(param,isXml){var isOAS3=arguments.length>2&&void 0!==arguments[2]&&arguments[2],errors=[],value=isXml&&"body"===param.get("in")?param.get("value_xml"):param.get("value"),required=param.get("required"),paramDetails=isOAS3?param.get("schema"):param;if(!paramDetails)return errors;var maximum=paramDetails.get("maximum"),minimum=paramDetails.get("minimum"),type=paramDetails.get("type"),format=paramDetails.get("format"),maxLength=paramDetails.get("maxLength"),minLength=paramDetails.get("minLength"),pattern=paramDetails.get("pattern");if(type&&(required||value)){var stringCheck="string"===type&&value,arrayCheck="array"===type&&Array.isArray(value)&&value.length,listCheck="array"===type&&_immutable2.default.List.isList(value)&&value.count(),fileCheck="file"===type&&value instanceof _window2.default.File,booleanCheck="boolean"===type&&(value||!1===value),numberCheck="number"===type&&(value||0===value),integerCheck="integer"===type&&(value||0===value),oas3ObjectCheck=!1;if(isOAS3&&"object"===type)if("object"===(void 0===value?"undefined":(0,_typeof3.default)(value)))oas3ObjectCheck=!0;else if("string"==typeof value)try{JSON.parse(value),oas3ObjectCheck=!0}catch(e){return errors.push("Parameter string value must be valid JSON"),errors}var passedAnyCheck=[stringCheck,arrayCheck,listCheck,fileCheck,booleanCheck,numberCheck,integerCheck,oas3ObjectCheck].some(function(v){return!!v});if(required&&!passedAnyCheck)return errors.push("Required field is not provided"),errors;if(pattern){var err=validatePattern(value,pattern);err&&errors.push(err)}if(maxLength||0===maxLength){var _err=validateMaxLength(value,maxLength);_err&&errors.push(_err)}if(minLength){var _err2=validateMinLength(value,minLength);_err2&&errors.push(_err2)}if(maximum||0===maximum){var _err3=validateMaximum(value,maximum);_err3&&errors.push(_err3)}if(minimum||0===minimum){var _err4=validateMinimum(value,minimum);_err4&&errors.push(_err4)}if("string"===type){var _err5=void 0;if(!(_err5="date-time"===format?validateDateTime(value):"uuid"===format?validateGuid(value):validateString(value)))return errors;errors.push(_err5)}else if("boolean"===type){var _err6=validateBoolean(value);if(!_err6)return errors;errors.push(_err6)}else if("number"===type){var _err7=validateNumber(value);if(!_err7)return errors;errors.push(_err7)}else if("integer"===type){var _err8=validateInteger(value);if(!_err8)return errors;errors.push(_err8)}else if("array"===type){var itemType;if(!listCheck||!value.count())return errors;itemType=paramDetails.getIn(["items","type"]),value.forEach(function(item,index){var err=void 0;"number"===itemType?err=validateNumber(item):"integer"===itemType?err=validateInteger(item):"string"===itemType&&(err=validateString(item)),err&&errors.push({index:index,error:err})})}else if("file"===type){var _err9=validateFile(value);if(!_err9)return errors;errors.push(_err9)}}return errors},exports.getSampleSchema=function getSampleSchema(schema){var contentType=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",config=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(/xml/.test(contentType)){if(!schema.xml||!schema.xml.name){if(schema.xml=schema.xml||{},!schema.$$ref)return schema.type||schema.items||schema.properties||schema.additionalProperties?'<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated --\x3e':null;var match=schema.$$ref.match(/\S*\/(\S+)$/);schema.xml.name=match[1]}return(0,_fn.memoizedCreateXMLExample)(schema,config)}var res=(0,_fn.memoizedSampleFromSchema)(schema,config);return"object"===(void 0===res?"undefined":(0,_typeof3.default)(res))?(0,_stringify2.default)(res,null,2):res},exports.parseSearch=function parseSearch(){var map={},search=_window2.default.location.search;if(!search)return{};if(""!=search){var params=search.substr(1).split("&");for(var i in params)params.hasOwnProperty(i)&&(i=params[i].split("="),map[decodeURIComponent(i[0])]=i[1]&&decodeURIComponent(i[1])||"")}return map},exports.serializeSearch=function serializeSearch(searchMap){return(0,_keys2.default)(searchMap).map(function(k){return encodeURIComponent(k)+"="+encodeURIComponent(searchMap[k])}).join("&")},exports.btoa=function btoa(str){return(str instanceof Buffer?str:new Buffer(str.toString(),"utf-8")).toString("base64")},exports.sorters={operationsSorter:{alpha:function alpha(a,b){return a.get("path").localeCompare(b.get("path"))},method:function method(a,b){return a.get("method").localeCompare(b.get("method"))}},tagsSorter:{alpha:function alpha(a,b){return a.localeCompare(b)}}},exports.buildFormData=function buildFormData(data){var formArr=[];for(var name in data){var val=data[name];void 0!==val&&""!==val&&formArr.push([name,"=",encodeURIComponent(val).replace(/%20/g,"+")].join(""))}return formArr.join("&")},exports.shallowEqualKeys=function shallowEqualKeys(a,b,keys){return!!(0,_find2.default)(keys,function(key){return(0,_eq2.default)(a[key],b[key])})};var createDeepLinkPath=exports.createDeepLinkPath=function createDeepLinkPath(str){return"string"==typeof str||str instanceof String?str.trim().replace(/\s/g,"_"):""};exports.escapeDeepLinkPath=function escapeDeepLinkPath(str){return(0,_css2.default)(createDeepLinkPath(str))},exports.getExtensions=function getExtensions(defObj){return defObj.filter(function(v,k){return/^x-/.test(k)})},exports.getCommonExtensions=function getCommonExtensions(defObj){return defObj.filter(function(v,k){return/^pattern|maxLength|minLength|maximum|minimum/.test(k)})}}).call(exports,__webpack_require__(380).Buffer)},function(module,exports){module.exports=require("react-immutable-proptypes")},function(module,exports){var core=module.exports={version:"2.5.1"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){var store=__webpack_require__(154)("wks"),uid=__webpack_require__(107),Symbol=__webpack_require__(16).Symbol,USE_SYMBOL="function"==typeof Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))}).store=store},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _isIterable3=_interopRequireDefault(__webpack_require__(384)),_getIterator3=_interopRequireDefault(__webpack_require__(70));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(){return function(arr,i){if(Array.isArray(arr))return arr;if((0,_isIterable3.default)(Object(arr)))return function sliceIterator(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=(0,_getIterator3.default)(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(module,exports,__webpack_require__){var store=__webpack_require__(101)("wks"),uid=__webpack_require__(74),Symbol=__webpack_require__(15).Symbol,USE_SYMBOL="function"==typeof Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))}).store=store},function(module,exports){var isArray=Array.isArray;module.exports=isArray},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports,__webpack_require__){var global=__webpack_require__(16),core=__webpack_require__(34),hide=__webpack_require__(40),redefine=__webpack_require__(48),ctx=__webpack_require__(79),$export=function(type,name,source){var key,own,out,exp,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,target=IS_GLOBAL?global:IS_STATIC?global[name]||(global[name]={}):(global[name]||{}).prototype,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype||(exports.prototype={});for(key in IS_GLOBAL&&(source=name),source)out=((own=!IS_FORCED&&target&&void 0!==target[key])?target:source)[key],exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,target&&redefine(target,key,out,type&$export.U),exports[key]!=out&&hide(exports,key,exp),IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)};global.core=core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},function(module,exports,__webpack_require__){var $export=__webpack_require__(17),fails=__webpack_require__(60),defined=__webpack_require__(35),quot=/"/g,createHTML=function(string,tag,attribute,value){var S=String(defined(string)),p1="<"+tag;return""!==attribute&&(p1+=" "+attribute+'="'+String(value).replace(quot,""")+'"'),p1+">"+S+"</"+tag+">"};module.exports=function(NAME,exec){var O={};O[NAME]=exec(createHTML),$export($export.P+$export.F*fails(function(){var test=""[NAME]('"');return test!==test.toLowerCase()||test.split('"').length>3}),"String",O)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _defineProperty2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(173));exports.default=function(obj,key,value){return key in obj?(0,_defineProperty2.default)(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(375),__esModule:!0}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _assign2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(20));exports.default=_assign2.default||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}},function(module,exports,__webpack_require__){"use strict";var _getIterator3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(70));module.exports=function makeWindow(){var win={location:{},history:{},open:function open(){},close:function close(){},File:function File(){}};if("undefined"==typeof window)return win;try{win=window;var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=(0,_getIterator3.default)(["File","Blob","FormData"]);!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var prop=_step.value;prop in window&&(win[prop]=window[prop])}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{!_iteratorNormalCompletion&&_iterator.return&&_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}}catch(e){console.error(e)}return win}()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends3=_interopRequireDefault(__webpack_require__(21));exports.isOAS3=isOAS3,exports.isSwagger2=function isSwagger2(jsSpec){var swaggerVersion=jsSpec.get("swagger");if("string"!=typeof swaggerVersion)return!1;return swaggerVersion.startsWith("2.0")},exports.OAS3ComponentWrapFactory=function OAS3ComponentWrapFactory(Component){return function(Ori,system){return function(props){if(system&&system.specSelectors&&system.specSelectors.specJson){var spec=system.specSelectors.specJson();return isOAS3(spec)?_react2.default.createElement(Component,(0,_extends3.default)({},props,system,{Ori:Ori})):_react2.default.createElement(Ori,props)}return console.warn("OAS3 wrapper: couldn't get spec"),null}}};var _react2=_interopRequireDefault(__webpack_require__(0));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function isOAS3(jsSpec){var oasVersion=jsSpec.get("openapi");return"string"==typeof oasVersion&&(oasVersion.startsWith("3.0.")&&oasVersion.length>4)}},function(module,exports,__webpack_require__){var global=__webpack_require__(15),core=__webpack_require__(10),ctx=__webpack_require__(46),hide=__webpack_require__(37),$export=function(type,name,source){var key,own,out,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,IS_WRAP=type&$export.W,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype,target=IS_GLOBAL?global:IS_STATIC?global[name]:(global[name]||{}).prototype;for(key in IS_GLOBAL&&(source=name),source)(own=!IS_FORCED&&target&&void 0!==target[key])&&key in exports||(out=own?target[key]:source[key],exports[key]=IS_GLOBAL&&"function"!=typeof target[key]?source[key]:IS_BIND&&own?ctx(out,global):IS_WRAP&&target[key]==out?function(C){var F=function(a,b,c){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(a);case 2:return new C(a,b)}return new C(a,b,c)}return C.apply(this,arguments)};return F.prototype=C.prototype,F}(out):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,IS_PROTO&&((exports.virtual||(exports.virtual={}))[key]=out,type&$export.R&&expProto&&!expProto[key]&&hide(expProto,key,out)))};$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(175),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports,__webpack_require__){var isObject=__webpack_require__(38);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(358),__esModule:!0}},function(module,exports){module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(26),IE8_DOM_DEFINE=__webpack_require__(149),toPrimitive=__webpack_require__(96),dP=Object.defineProperty;exports.f=__webpack_require__(33)?Object.defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(359),__esModule:!0}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _iterator2=_interopRequireDefault(__webpack_require__(361)),_symbol2=_interopRequireDefault(__webpack_require__(363)),_typeof="function"==typeof _symbol2.default&&"symbol"==typeof _iterator2.default?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":typeof obj};function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default="function"==typeof _symbol2.default&&"symbol"===_typeof(_iterator2.default)?function(obj){return void 0===obj?"undefined":_typeof(obj)}:function(obj){return obj&&"function"==typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":void 0===obj?"undefined":_typeof(obj)}},function(module,exports){module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(47)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports){var core=module.exports={version:"2.5.7"};"number"==typeof __e&&(__e=core)},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports){module.exports=require("reselect")},function(module,exports,__webpack_require__){var dP=__webpack_require__(29),createDesc=__webpack_require__(54);module.exports=__webpack_require__(33)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__webpack_require__){var dP=__webpack_require__(76),createDesc=__webpack_require__(155);module.exports=__webpack_require__(59)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(49);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(50),getRawTag=__webpack_require__(391),objectToString=__webpack_require__(392),nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},function(module,exports,__webpack_require__){var baseIsNative=__webpack_require__(408),getValue=__webpack_require__(411);module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},function(module,exports){module.exports={}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(147),defined=__webpack_require__(94);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(73);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports,__webpack_require__){var global=__webpack_require__(16),hide=__webpack_require__(40),has=__webpack_require__(77),SRC=__webpack_require__(107)("src"),$toString=Function.toString,TPL=(""+$toString).split("toString");__webpack_require__(34).inspectSource=function(it){return $toString.call(it)},(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key)),O[key]!==val&&(isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key)))),O===global?O[key]=val:safe?O[key]?O[key]=val:hide(O,key,val):(delete O[key],hide(O,key,val)))})(Function.prototype,"toString",function toString(){return"function"==typeof this&&this[SRC]||$toString.call(this)})},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(25).Symbol;module.exports=Symbol},function(module,exports,__webpack_require__){var arrayLikeKeys=__webpack_require__(193),baseKeys=__webpack_require__(448),isArrayLike=__webpack_require__(65);module.exports=function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}},function(module,exports,__webpack_require__){var isSymbol=__webpack_require__(85),INFINITY=1/0;module.exports=function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(151),enumBugKeys=__webpack_require__(102);module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},function(module,exports,__webpack_require__){var defined=__webpack_require__(94);module.exports=function(it){return Object(defined(it))}},function(module,exports,__webpack_require__){"use strict";var $at=__webpack_require__(296)(!0);__webpack_require__(148)(String,"String",function(iterated){this._t=String(iterated),this._i=0},function(){var point,O=this._t,index=this._i;return index>=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})})},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(60)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports){module.exports={}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(78),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__webpack_require__){var baseToString=__webpack_require__(390);module.exports=function toString(value){return null==value?"":baseToString(value)}},function(module,exports){module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(183),isLength=__webpack_require__(126);module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},function(module,exports,__webpack_require__){var isArray=__webpack_require__(14),isKey=__webpack_require__(132),stringToPath=__webpack_require__(456),toString=__webpack_require__(63);module.exports=function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _from2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(482));exports.default=function(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return(0,_from2.default)(arr)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0,exports.default=function(obj,keys){var target={};for(var i in obj)keys.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}},function(module,exports,__webpack_require__){var assignValue=__webpack_require__(140),baseAssignValue=__webpack_require__(221);module.exports=function copyObject(source,props,object,customizer){var isNew=!object;object||(object={});for(var index=-1,length=props.length;++index<length;){var key=props[index],newValue=customizer?customizer(object[key],source[key],key,object,source):void 0;void 0===newValue&&(newValue=source[key]),isNew?baseAssignValue(object,key,newValue):assignValue(object,key,newValue)}return object}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(288),__esModule:!0}},function(module,exports,__webpack_require__){__webpack_require__(289);for(var global=__webpack_require__(15),hide=__webpack_require__(37),Iterators=__webpack_require__(44),TO_STRING_TAG=__webpack_require__(13)("toStringTag"),DOMIterables="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),i=0;i<DOMIterables.length;i++){var NAME=DOMIterables[i],Collection=global[NAME],proto=Collection&&Collection.prototype;proto&&!proto[TO_STRING_TAG]&&hide(proto,TO_STRING_TAG,NAME),Iterators[NAME]=Iterators.Array}},function(module,exports){module.exports=!0},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports,__webpack_require__){var def=__webpack_require__(29).f,has=__webpack_require__(39),TAG=__webpack_require__(13)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(41),IE8_DOM_DEFINE=__webpack_require__(300),toPrimitive=__webpack_require__(301),dP=Object.defineProperty;exports.f=__webpack_require__(59)?Object.defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(80);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(306),defined=__webpack_require__(35);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__webpack_require__){"use strict";var hide=__webpack_require__(40),redefine=__webpack_require__(48),fails=__webpack_require__(60),defined=__webpack_require__(35),wks=__webpack_require__(11);module.exports=function(KEY,length,exec){var SYMBOL=wks(KEY),fns=exec(defined,SYMBOL,""[KEY]),strfn=fns[0],rxfn=fns[1];fails(function(){var O={};return O[SYMBOL]=function(){return 7},7!=""[KEY](O)})&&(redefine(String.prototype,KEY,strfn),hide(RegExp.prototype,SYMBOL,2==length?function(string,arg){return rxfn.call(string,this,arg)}:function(string){return rxfn.call(string,this)}))}},function(module,exports){exports.f={}.propertyIsEnumerable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CLEAR_BY=exports.CLEAR=exports.NEW_AUTH_ERR=exports.NEW_SPEC_ERR_BATCH=exports.NEW_SPEC_ERR=exports.NEW_THROWN_ERR_BATCH=exports.NEW_THROWN_ERR=void 0,exports.newThrownErr=function newThrownErr(err){return{type:NEW_THROWN_ERR,payload:(0,_serializeError2.default)(err)}},exports.newThrownErrBatch=function newThrownErrBatch(errors){return{type:NEW_THROWN_ERR_BATCH,payload:errors}},exports.newSpecErr=function newSpecErr(err){return{type:NEW_SPEC_ERR,payload:err}},exports.newSpecErrBatch=function newSpecErrBatch(errArray){return{type:NEW_SPEC_ERR_BATCH,payload:errArray}},exports.newAuthErr=function newAuthErr(err){return{type:NEW_AUTH_ERR,payload:err}},exports.clear=function clear(){var filter=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:CLEAR,payload:filter}},exports.clearBy=function clearBy(){var filter=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:CLEAR_BY,payload:filter}};var _serializeError2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(117));var NEW_THROWN_ERR=exports.NEW_THROWN_ERR="err_new_thrown_err",NEW_THROWN_ERR_BATCH=exports.NEW_THROWN_ERR_BATCH="err_new_thrown_err_batch",NEW_SPEC_ERR=exports.NEW_SPEC_ERR="err_new_spec_err",NEW_SPEC_ERR_BATCH=exports.NEW_SPEC_ERR_BATCH="err_new_spec_err_batch",NEW_AUTH_ERR=exports.NEW_AUTH_ERR="err_new_auth_err",CLEAR=exports.CLEAR="err_clear",CLEAR_BY=exports.CLEAR_BY="err_clear_by"},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(42),isObjectLike=__webpack_require__(32),symbolTag="[object Symbol]";module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(43)(Object,"create");module.exports=nativeCreate},function(module,exports,__webpack_require__){var listCacheClear=__webpack_require__(416),listCacheDelete=__webpack_require__(417),listCacheGet=__webpack_require__(418),listCacheHas=__webpack_require__(419),listCacheSet=__webpack_require__(420);function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet,module.exports=ListCache},function(module,exports,__webpack_require__){var eq=__webpack_require__(64);module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},function(module,exports,__webpack_require__){var isKeyable=__webpack_require__(422);module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},function(module,exports,__webpack_require__){var baseMatches=__webpack_require__(427),baseMatchesProperty=__webpack_require__(455),identity=__webpack_require__(198),isArray=__webpack_require__(14),property=__webpack_require__(461);module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?MAX_SAFE_INTEGER:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}},function(module,exports,__webpack_require__){var DataView=__webpack_require__(450),Map=__webpack_require__(119),Promise=__webpack_require__(451),Set=__webpack_require__(452),WeakMap=__webpack_require__(453),baseGetTag=__webpack_require__(42),toSource=__webpack_require__(184),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&"[object DataView]"!=getTag(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=getTag(new Map)||Promise&&"[object Promise]"!=getTag(Promise.resolve())||Set&&"[object Set]"!=getTag(new Set)||WeakMap&&"[object WeakMap]"!=getTag(new WeakMap))&&(getTag=function(value){var result=baseGetTag(value),Ctor="[object Object]"==result?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=getTag},function(module,exports){module.exports=require("classnames")},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(38),document=__webpack_require__(15).document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(38);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(26),dPs=__webpack_require__(293),enumBugKeys=__webpack_require__(102),IE_PROTO=__webpack_require__(100)("IE_PROTO"),Empty=function(){},createDict=function(){var iframeDocument,iframe=__webpack_require__(95)("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__webpack_require__(152).appendChild(iframe),iframe.src="javascript:",(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("<script>document.F=Object<\/script>"),iframeDocument.close(),createDict=iframeDocument.F;i--;)delete createDict.prototype[enumBugKeys[i]];return createDict()};module.exports=Object.create||function create(O,Properties){var result;return null!==O?(Empty.prototype=anObject(O),result=new Empty,Empty.prototype=null,result[IE_PROTO]=O):result=createDict(),void 0===Properties?result:dPs(result,Properties)}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(99),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var shared=__webpack_require__(101)("keys"),uid=__webpack_require__(74);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports,__webpack_require__){var global=__webpack_require__(15),store=global["__core-js_shared__"]||(global["__core-js_shared__"]={});module.exports=function(key){return store[key]||(store[key]={})}},function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports,__webpack_require__){var classof=__webpack_require__(104),ITERATOR=__webpack_require__(13)("iterator"),Iterators=__webpack_require__(44);module.exports=__webpack_require__(10).getIteratorMethod=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__webpack_require__){var cof=__webpack_require__(53),TAG=__webpack_require__(13)("toStringTag"),ARG="Arguments"==cof(function(){return arguments}());module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=function(it,key){try{return it[key]}catch(e){}}(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},function(module,exports,__webpack_require__){var cof=__webpack_require__(58),TAG=__webpack_require__(11)("toStringTag"),ARG="Arguments"==cof(function(){return arguments}());module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=function(it,key){try{return it[key]}catch(e){}}(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},function(module,exports){module.exports=!1},function(module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(49),document=__webpack_require__(16).document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__webpack_require__){var shared=__webpack_require__(154)("keys"),uid=__webpack_require__(107);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports,__webpack_require__){var def=__webpack_require__(76).f,has=__webpack_require__(77),TAG=__webpack_require__(11)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__(80);module.exports.f=function(C){return new function PromiseCapability(C){var resolve,reject;this.promise=new C(function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject}),this.resolve=aFunction(resolve),this.reject=aFunction(reject)}(C)}},function(module,exports,__webpack_require__){var isRegExp=__webpack_require__(167),defined=__webpack_require__(35);module.exports=function(that,searchString,NAME){if(isRegExp(searchString))throw TypeError("String#"+NAME+" doesn't accept regex!");return String(defined(that))}},function(module,exports,__webpack_require__){var MATCH=__webpack_require__(11)("match");module.exports=function(KEY){var re=/./;try{"/./"[KEY](re)}catch(e){try{return re[MATCH]=!1,!"/./"[KEY](re)}catch(f){}}return!0}},function(module,exports,__webpack_require__){exports.f=__webpack_require__(13)},function(module,exports,__webpack_require__){var global=__webpack_require__(15),core=__webpack_require__(10),LIBRARY=__webpack_require__(72),wksExt=__webpack_require__(114),defineProperty=__webpack_require__(29).f;module.exports=function(name){var $Symbol=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty($Symbol,name,{value:wksExt.f(name)})}},function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports){module.exports=require("serialize-error")},function(module,exports,__webpack_require__){var mapCacheClear=__webpack_require__(405),mapCacheDelete=__webpack_require__(421),mapCacheGet=__webpack_require__(423),mapCacheHas=__webpack_require__(424),mapCacheSet=__webpack_require__(425);function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet,module.exports=MapCache},function(module,exports,__webpack_require__){var Map=__webpack_require__(43)(__webpack_require__(25),"Map");module.exports=Map},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(87),stackClear=__webpack_require__(429),stackDelete=__webpack_require__(430),stackGet=__webpack_require__(431),stackHas=__webpack_require__(432),stackSet=__webpack_require__(433);function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},function(module,exports){module.exports=function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}},function(module,exports,__webpack_require__){var arrayFilter=__webpack_require__(443),stubArray=__webpack_require__(192),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable.call(object,symbol)}))}:stubArray;module.exports=getSymbols},function(module,exports,__webpack_require__){var baseIsArguments=__webpack_require__(445),isObjectLike=__webpack_require__(32),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},function(module,exports,__webpack_require__){(function(module){var root=__webpack_require__(25),stubFalse=__webpack_require__(446),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer}).call(exports,__webpack_require__(125)(module))},function(module,exports){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;module.exports=function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}},function(module,exports){module.exports=function baseUnary(func){return function(value){return func(value)}}},function(module,exports,__webpack_require__){(function(module){var freeGlobal=__webpack_require__(175),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil}).call(exports,__webpack_require__(125)(module))},function(module,exports){var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(131);module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},function(module,exports,__webpack_require__){var castPath=__webpack_require__(66),toKey=__webpack_require__(52);module.exports=function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&index<length;)object=object[toKey(path[index++])];return index&&index==length?object:void 0}},function(module,exports,__webpack_require__){var isArray=__webpack_require__(14),isSymbol=__webpack_require__(85),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;module.exports=function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return!("number"!=type&&"symbol"!=type&&"boolean"!=type&&null!=value&&!isSymbol(value))||reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.memoizedSampleFromSchema=exports.memoizedCreateXMLExample=exports.sampleXmlFromSchema=exports.inferSchema=exports.sampleFromSchema=void 0,exports.createXMLExample=createXMLExample;var _utils=__webpack_require__(8),_xml2=_interopRequireDefault(__webpack_require__(475)),_memoizee2=_interopRequireDefault(__webpack_require__(476));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var primitives={string:function string(){return"string"},string_email:function string_email(){return"user@example.com"},"string_date-time":function string_dateTime(){return(new Date).toISOString()},number:function number(){return 0},number_float:function number_float(){return 0},integer:function integer(){return 0},boolean:function boolean(schema){return"boolean"!=typeof schema.default||schema.default}},primitive=function primitive(schema){var _schema=schema=(0,_utils.objectify)(schema),type=_schema.type,format=_schema.format,fn=primitives[type+"_"+format]||primitives[type];return(0,_utils.isFunc)(fn)?fn(schema):"Unknown Type: "+schema.type},sampleFromSchema=exports.sampleFromSchema=function sampleFromSchema(schema){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_objectify=(0,_utils.objectify)(schema),type=_objectify.type,example=_objectify.example,properties=_objectify.properties,additionalProperties=_objectify.additionalProperties,items=_objectify.items,includeReadOnly=config.includeReadOnly,includeWriteOnly=config.includeWriteOnly;if(void 0!==example)return(0,_utils.deeplyStripKey)(example,"$$ref",function(val){return"string"==typeof val&&val.indexOf("#")>-1});if(!type)if(properties)type="object";else{if(!items)return;type="array"}if("object"===type){var props=(0,_utils.objectify)(properties),obj={};for(var name in props)props[name].readOnly&&!includeReadOnly||props[name].writeOnly&&!includeWriteOnly||(obj[name]=sampleFromSchema(props[name],config));if(!0===additionalProperties)obj.additionalProp1={};else if(additionalProperties)for(var additionalProps=(0,_utils.objectify)(additionalProperties),additionalPropVal=sampleFromSchema(additionalProps,config),i=1;i<4;i++)obj["additionalProp"+i]=additionalPropVal;return obj}return"array"===type?Array.isArray(items.anyOf)?items.anyOf.map(function(i){return sampleFromSchema(i,config)}):Array.isArray(items.oneOf)?items.oneOf.map(function(i){return sampleFromSchema(i,config)}):[sampleFromSchema(items,config)]:schema.enum?schema.default?schema.default:(0,_utils.normalizeArray)(schema.enum)[0]:"file"!==type?primitive(schema):void 0},sampleXmlFromSchema=(exports.inferSchema=function inferSchema(thing){return thing.schema&&(thing=thing.schema),thing.properties&&(thing.type="object"),thing},exports.sampleXmlFromSchema=function sampleXmlFromSchema(schema){var displayName,config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},objectifySchema=(0,_utils.objectify)(schema),type=objectifySchema.type,properties=objectifySchema.properties,additionalProperties=objectifySchema.additionalProperties,items=objectifySchema.items,example=objectifySchema.example,includeReadOnly=config.includeReadOnly,includeWriteOnly=config.includeWriteOnly,defaultValue=objectifySchema.default,res={},_attr={},xml=schema.xml,name=xml.name,prefix=xml.prefix,namespace=xml.namespace,enumValue=objectifySchema.enum,value=void 0;if(!type)if(properties||additionalProperties)type="object";else{if(!items)return;type="array"}(name=name||"notagname",displayName=(prefix?prefix+":":"")+name,namespace)&&(_attr[prefix?"xmlns:"+prefix:"xmlns"]=namespace);if("array"===type&&items){if(items.xml=items.xml||xml||{},items.xml.name=items.xml.name||xml.name,xml.wrapped)return res[displayName]=[],Array.isArray(example)?example.forEach(function(v){items.example=v,res[displayName].push(sampleXmlFromSchema(items,config))}):Array.isArray(defaultValue)?defaultValue.forEach(function(v){items.default=v,res[displayName].push(sampleXmlFromSchema(items,config))}):res[displayName]=[sampleXmlFromSchema(items,config)],_attr&&res[displayName].push({_attr:_attr}),res;var _res=[];return Array.isArray(example)?(example.forEach(function(v){items.example=v,_res.push(sampleXmlFromSchema(items,config))}),_res):Array.isArray(defaultValue)?(defaultValue.forEach(function(v){items.default=v,_res.push(sampleXmlFromSchema(items,config))}),_res):sampleXmlFromSchema(items,config)}if("object"===type){var props=(0,_utils.objectify)(properties);for(var propName in res[displayName]=[],example=example||{},props)if(props.hasOwnProperty(propName)&&(!props[propName].readOnly||includeReadOnly)&&(!props[propName].writeOnly||includeWriteOnly))if(props[propName].xml=props[propName].xml||{},props[propName].xml.attribute){var enumAttrVal=Array.isArray(props[propName].enum)&&props[propName].enum[0],attrExample=props[propName].example,attrDefault=props[propName].default;_attr[props[propName].xml.name||propName]=void 0!==attrExample&&attrExample||void 0!==example[propName]&&example[propName]||void 0!==attrDefault&&attrDefault||enumAttrVal||primitive(props[propName])}else{props[propName].xml.name=props[propName].xml.name||propName,void 0===props[propName].example&&void 0!==example[propName]&&(props[propName].example=example[propName]);var t=sampleXmlFromSchema(props[propName]);Array.isArray(t)?res[displayName]=res[displayName].concat(t):res[displayName].push(t)}return!0===additionalProperties?res[displayName].push({additionalProp:"Anything can be here"}):additionalProperties&&res[displayName].push({additionalProp:primitive(additionalProperties)}),_attr&&res[displayName].push({_attr:_attr}),res}return value=void 0!==example?example:void 0!==defaultValue?defaultValue:Array.isArray(enumValue)?enumValue[0]:primitive(schema),res[displayName]=_attr?[{_attr:_attr},value]:value,res});function createXMLExample(schema,config){var json=sampleXmlFromSchema(schema,config);if(json)return(0,_xml2.default)(json,{declaration:!0,indent:"\t"})}exports.memoizedCreateXMLExample=(0,_memoizee2.default)(createXMLExample),exports.memoizedSampleFromSchema=(0,_memoizee2.default)(sampleFromSchema)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SHOW=exports.UPDATE_MODE=exports.UPDATE_FILTER=exports.UPDATE_LAYOUT=void 0,exports.updateLayout=function updateLayout(layout){return{type:UPDATE_LAYOUT,payload:layout}},exports.updateFilter=function updateFilter(filter){return{type:UPDATE_FILTER,payload:filter}},exports.show=function show(thing){var shown=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return thing=(0,_utils.normalizeArray)(thing),{type:SHOW,payload:{thing:thing,shown:shown}}},exports.changeMode=function changeMode(thing){var mode=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return thing=(0,_utils.normalizeArray)(thing),{type:UPDATE_MODE,payload:{thing:thing,mode:mode}}};var _utils=__webpack_require__(8),UPDATE_LAYOUT=exports.UPDATE_LAYOUT="layout_update_layout",UPDATE_FILTER=exports.UPDATE_FILTER="layout_update_filter",UPDATE_MODE=exports.UPDATE_MODE="layout_update_mode",SHOW=exports.SHOW="layout_show"},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.validateBeforeExecute=exports.canExecuteScheme=exports.operationScheme=exports.hasHost=exports.operationWithMeta=exports.parameterWithMeta=exports.parameterWithMetaByIdentity=exports.allowTryItOutFor=exports.mutatedRequestFor=exports.requestFor=exports.responseFor=exports.mutatedRequests=exports.requests=exports.responses=exports.taggedOperations=exports.operationsWithTags=exports.tagDetails=exports.tags=exports.operationsWithRootInherited=exports.schemes=exports.host=exports.basePath=exports.definitions=exports.findDefinition=exports.securityDefinitions=exports.security=exports.produces=exports.consumes=exports.operations=exports.paths=exports.semver=exports.version=exports.externalDocs=exports.info=exports.isOAS3=exports.spec=exports.specJsonWithResolvedSubtrees=exports.specResolvedSubtree=exports.specResolved=exports.specJson=exports.specSource=exports.specStr=exports.url=exports.lastError=void 0;var _toConsumableArray3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(67));exports.getParameter=function getParameter(state,pathMethod,name,inType){return pathMethod=pathMethod||[],state.getIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters"]),(0,_immutable.fromJS)([])).find(function(p){return _immutable.Map.isMap(p)&&p.get("name")===name&&p.get("in")===inType})||(0,_immutable.Map)()},exports.parameterValues=function parameterValues(state,pathMethod,isXml){return pathMethod=pathMethod||[],operationWithMeta.apply(void 0,[state].concat((0,_toConsumableArray3.default)(pathMethod))).get("parameters",(0,_immutable.List)()).reduce(function(hash,p){var value=isXml&&"body"===p.get("in")?p.get("value_xml"):p.get("value");return hash.set(p.get("in")+"."+p.get("name"),value)},(0,_immutable.fromJS)({}))},exports.parametersIncludeIn=function parametersIncludeIn(parameters){var inValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(_immutable.List.isList(parameters))return parameters.some(function(p){return _immutable.Map.isMap(p)&&p.get("in")===inValue})},exports.parametersIncludeType=parametersIncludeType,exports.contentTypeValues=function contentTypeValues(state,pathMethod){pathMethod=pathMethod||[];var op=specJsonWithResolvedSubtrees(state).getIn(["paths"].concat((0,_toConsumableArray3.default)(pathMethod)),(0,_immutable.fromJS)({})),meta=state.getIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod)),(0,_immutable.fromJS)({})),producesValue=currentProducesFor(state,pathMethod),parameters=op.get("parameters")||new _immutable.List,requestContentType=meta.get("consumes_value")?meta.get("consumes_value"):parametersIncludeType(parameters,"file")?"multipart/form-data":parametersIncludeType(parameters,"formData")?"application/x-www-form-urlencoded":void 0;return(0,_immutable.fromJS)({requestContentType:requestContentType,responseContentType:producesValue})},exports.operationConsumes=function operationConsumes(state,pathMethod){return pathMethod=pathMethod||[],specJsonWithResolvedSubtrees(state).getIn(["paths"].concat((0,_toConsumableArray3.default)(pathMethod),["consumes"]),(0,_immutable.fromJS)({}))},exports.currentProducesFor=currentProducesFor;var _reselect=__webpack_require__(36),_utils=__webpack_require__(8),_immutable=__webpack_require__(7);var OPERATION_METHODS=["get","put","post","delete","options","head","patch","trace"],state=function state(_state){return _state||(0,_immutable.Map)()},specJson=(exports.lastError=(0,_reselect.createSelector)(state,function(spec){return spec.get("lastError")}),exports.url=(0,_reselect.createSelector)(state,function(spec){return spec.get("url")}),exports.specStr=(0,_reselect.createSelector)(state,function(spec){return spec.get("spec")||""}),exports.specSource=(0,_reselect.createSelector)(state,function(spec){return spec.get("specSource")||"not-editor"}),exports.specJson=(0,_reselect.createSelector)(state,function(spec){return spec.get("json",(0,_immutable.Map)())})),mergerFn=(exports.specResolved=(0,_reselect.createSelector)(state,function(spec){return spec.get("resolved",(0,_immutable.Map)())}),exports.specResolvedSubtree=function specResolvedSubtree(state,path){return state.getIn(["resolvedSubtrees"].concat((0,_toConsumableArray3.default)(path)),void 0)},function mergerFn(oldVal,newVal){return _immutable.Map.isMap(oldVal)&&_immutable.Map.isMap(newVal)?newVal.get("$$ref")?newVal:(0,_immutable.OrderedMap)().mergeWith(mergerFn,oldVal,newVal):newVal}),specJsonWithResolvedSubtrees=exports.specJsonWithResolvedSubtrees=(0,_reselect.createSelector)(state,function(spec){return(0,_immutable.OrderedMap)().mergeWith(mergerFn,spec.get("json"),spec.get("resolvedSubtrees"))}),spec=exports.spec=function spec(state){return specJson(state)},info=(exports.isOAS3=(0,_reselect.createSelector)(spec,function(){return!1}),exports.info=(0,_reselect.createSelector)(spec,function(spec){return returnSelfOrNewMap(spec&&spec.get("info"))})),version=(exports.externalDocs=(0,_reselect.createSelector)(spec,function(spec){return returnSelfOrNewMap(spec&&spec.get("externalDocs"))}),exports.version=(0,_reselect.createSelector)(info,function(info){return info&&info.get("version")})),paths=(exports.semver=(0,_reselect.createSelector)(version,function(version){return/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(version).slice(1)}),exports.paths=(0,_reselect.createSelector)(specJsonWithResolvedSubtrees,function(spec){return spec.get("paths")})),operations=exports.operations=(0,_reselect.createSelector)(paths,function(paths){if(!paths||paths.size<1)return(0,_immutable.List)();var list=(0,_immutable.List)();return paths&&paths.forEach?(paths.forEach(function(path,pathName){if(!path||!path.forEach)return{};path.forEach(function(operation,method){OPERATION_METHODS.indexOf(method)<0||(list=list.push((0,_immutable.fromJS)({path:pathName,method:method,operation:operation,id:method+"-"+pathName})))})}),list):(0,_immutable.List)()}),consumes=exports.consumes=(0,_reselect.createSelector)(spec,function(spec){return(0,_immutable.Set)(spec.get("consumes"))}),produces=exports.produces=(0,_reselect.createSelector)(spec,function(spec){return(0,_immutable.Set)(spec.get("produces"))}),operationsWithRootInherited=(exports.security=(0,_reselect.createSelector)(spec,function(spec){return spec.get("security",(0,_immutable.List)())}),exports.securityDefinitions=(0,_reselect.createSelector)(spec,function(spec){return spec.get("securityDefinitions")}),exports.findDefinition=function findDefinition(state,name){var resolvedRes=state.getIn(["resolvedSubtrees","definitions",name],null),unresolvedRes=state.getIn(["json","definitions",name],null);return resolvedRes||unresolvedRes||null},exports.definitions=(0,_reselect.createSelector)(spec,function(spec){return spec.get("definitions")||(0,_immutable.Map)()}),exports.basePath=(0,_reselect.createSelector)(spec,function(spec){return spec.get("basePath")}),exports.host=(0,_reselect.createSelector)(spec,function(spec){return spec.get("host")}),exports.schemes=(0,_reselect.createSelector)(spec,function(spec){return spec.get("schemes",(0,_immutable.Map)())}),exports.operationsWithRootInherited=(0,_reselect.createSelector)(operations,consumes,produces,function(operations,consumes,produces){return operations.map(function(ops){return ops.update("operation",function(op){if(op){if(!_immutable.Map.isMap(op))return;return op.withMutations(function(op){return op.get("consumes")||op.update("consumes",function(a){return(0,_immutable.Set)(a).merge(consumes)}),op.get("produces")||op.update("produces",function(a){return(0,_immutable.Set)(a).merge(produces)}),op})}return(0,_immutable.Map)()})})})),tags=exports.tags=(0,_reselect.createSelector)(spec,function(json){return json.get("tags",(0,_immutable.List)())}),tagDetails=exports.tagDetails=function tagDetails(state,tag){return(tags(state)||(0,_immutable.List)()).filter(_immutable.Map.isMap).find(function(t){return t.get("name")===tag},(0,_immutable.Map)())},operationsWithTags=exports.operationsWithTags=(0,_reselect.createSelector)(operationsWithRootInherited,tags,function(operations,tags){return operations.reduce(function(taggedMap,op){var tags=(0,_immutable.Set)(op.getIn(["operation","tags"]));return tags.count()<1?taggedMap.update("default",(0,_immutable.List)(),function(ar){return ar.push(op)}):tags.reduce(function(res,tag){return res.update(tag,(0,_immutable.List)(),function(ar){return ar.push(op)})},taggedMap)},tags.reduce(function(taggedMap,tag){return taggedMap.set(tag.get("name"),(0,_immutable.List)())},(0,_immutable.OrderedMap)()))}),responses=(exports.taggedOperations=function taggedOperations(state){return function(_ref){var _getConfigs=(0,_ref.getConfigs)(),tagsSorter=_getConfigs.tagsSorter,operationsSorter=_getConfigs.operationsSorter;return operationsWithTags(state).sortBy(function(val,key){return key},function(tagA,tagB){var sortFn="function"==typeof tagsSorter?tagsSorter:_utils.sorters.tagsSorter[tagsSorter];return sortFn?sortFn(tagA,tagB):null}).map(function(ops,tag){var sortFn="function"==typeof operationsSorter?operationsSorter:_utils.sorters.operationsSorter[operationsSorter],operations=sortFn?ops.sort(sortFn):ops;return(0,_immutable.Map)({tagDetails:tagDetails(state,tag),operations:operations})})}},exports.responses=(0,_reselect.createSelector)(state,function(state){return state.get("responses",(0,_immutable.Map)())})),requests=exports.requests=(0,_reselect.createSelector)(state,function(state){return state.get("requests",(0,_immutable.Map)())}),mutatedRequests=exports.mutatedRequests=(0,_reselect.createSelector)(state,function(state){return state.get("mutatedRequests",(0,_immutable.Map)())}),parameterWithMetaByIdentity=(exports.responseFor=function responseFor(state,path,method){return responses(state).getIn([path,method],null)},exports.requestFor=function requestFor(state,path,method){return requests(state).getIn([path,method],null)},exports.mutatedRequestFor=function mutatedRequestFor(state,path,method){return mutatedRequests(state).getIn([path,method],null)},exports.allowTryItOutFor=function allowTryItOutFor(){return!0},exports.parameterWithMetaByIdentity=function parameterWithMetaByIdentity(state,pathMethod,param){var opParams=specJsonWithResolvedSubtrees(state).getIn(["paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters"]),(0,_immutable.OrderedMap)()),metaParams=state.getIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters"]),(0,_immutable.OrderedMap)());return opParams.map(function(currentParam){var nameInKeyedMeta=metaParams.get(param.get("name")+"."+param.get("in")),hashKeyedMeta=metaParams.get(param.get("name")+"."+param.get("in")+".hash-"+param.hashCode());return(0,_immutable.OrderedMap)().merge(currentParam,nameInKeyedMeta,hashKeyedMeta)}).find(function(curr){return curr.get("in")===param.get("in")&&curr.get("name")===param.get("name")},(0,_immutable.OrderedMap)())}),operationWithMeta=(exports.parameterWithMeta=function parameterWithMeta(state,pathMethod,paramName,paramIn){var currentParam=specJsonWithResolvedSubtrees(state).getIn(["paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters"]),(0,_immutable.OrderedMap)()).find(function(param){return param.get("in")===paramIn&¶m.get("name")===paramName},(0,_immutable.OrderedMap)());return parameterWithMetaByIdentity(state,pathMethod,currentParam)},exports.operationWithMeta=function operationWithMeta(state,path,method){var op=specJsonWithResolvedSubtrees(state).getIn(["paths",path,method],(0,_immutable.OrderedMap)()),meta=state.getIn(["meta","paths",path,method],(0,_immutable.OrderedMap)()),mergedParams=op.get("parameters",(0,_immutable.List)()).map(function(param){return parameterWithMetaByIdentity(state,[path,method],param)});return(0,_immutable.OrderedMap)().merge(op,meta).set("parameters",mergedParams)});exports.hasHost=(0,_reselect.createSelector)(spec,function(spec){var host=spec.get("host");return"string"==typeof host&&host.length>0&&"/"!==host[0]});function parametersIncludeType(parameters){var typeValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(_immutable.List.isList(parameters))return parameters.some(function(p){return _immutable.Map.isMap(p)&&p.get("type")===typeValue})}function currentProducesFor(state,pathMethod){pathMethod=pathMethod||[];var operation=specJsonWithResolvedSubtrees(state).getIn(["paths"].concat((0,_toConsumableArray3.default)(pathMethod)),null);if(null!==operation){var currentProducesValue=state.getIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod),["produces_value"]),null),firstProducesArrayItem=operation.getIn(["produces",0],null);return currentProducesValue||firstProducesArrayItem||"application/json"}}var operationScheme=exports.operationScheme=function operationScheme(state,path,method){var matchResult=state.get("url").match(/^([a-z][a-z0-9+\-.]*):/),urlScheme=Array.isArray(matchResult)?matchResult[1]:null;return state.getIn(["scheme",path,method])||state.getIn(["scheme","_defaultScheme"])||urlScheme||""};exports.canExecuteScheme=function canExecuteScheme(state,path,method){return["http","https"].indexOf(operationScheme(state,path,method))>-1},exports.validateBeforeExecute=function validateBeforeExecute(state,pathMethod){pathMethod=pathMethod||[];var isValid=!0;return state.getIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters"]),(0,_immutable.fromJS)([])).forEach(function(p){var errors=p.get("errors");errors&&errors.count()&&(isValid=!1)}),isValid};function returnSelfOrNewMap(obj){return _immutable.Map.isMap(obj)?obj:new _immutable.Map}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.execute=exports.executeRequest=exports.logRequest=exports.setMutatedRequest=exports.setRequest=exports.setResponse=exports.validateParams=exports.invalidateResolvedSubtreeCache=exports.updateResolvedSubtree=exports.requestResolvedSubtree=exports.resolveSpec=exports.parseToJson=exports.SET_SCHEME=exports.UPDATE_RESOLVED_SUBTREE=exports.UPDATE_RESOLVED=exports.UPDATE_OPERATION_META_VALUE=exports.CLEAR_VALIDATE_PARAMS=exports.CLEAR_REQUEST=exports.CLEAR_RESPONSE=exports.LOG_REQUEST=exports.SET_MUTATED_REQUEST=exports.SET_REQUEST=exports.SET_RESPONSE=exports.VALIDATE_PARAMS=exports.UPDATE_PARAM=exports.UPDATE_JSON=exports.UPDATE_URL=exports.UPDATE_SPEC=void 0;var _extends3=_interopRequireDefault(__webpack_require__(21)),_objectWithoutProperties3=_interopRequireDefault(__webpack_require__(68)),_assign2=_interopRequireDefault(__webpack_require__(20)),_keys2=_interopRequireDefault(__webpack_require__(30)),_promise2=_interopRequireDefault(__webpack_require__(137)),_regenerator2=_interopRequireDefault(__webpack_require__(496)),_asyncToGenerator3=_interopRequireDefault(__webpack_require__(498)),_typeof3=_interopRequireDefault(__webpack_require__(31));exports.updateSpec=function updateSpec(spec){var cleanSpec=toStr(spec).replace(/\t/g," ");if("string"==typeof spec)return{type:UPDATE_SPEC,payload:cleanSpec}},exports.updateResolved=function updateResolved(spec){return{type:UPDATE_RESOLVED,payload:spec}},exports.updateUrl=function updateUrl(url){return{type:UPDATE_URL,payload:url}},exports.updateJsonSpec=function updateJsonSpec(json){return{type:UPDATE_JSON,payload:json}},exports.changeParam=function changeParam(path,paramName,paramIn,value,isXml){return{type:UPDATE_PARAM,payload:{path:path,value:value,paramName:paramName,paramIn:paramIn,isXml:isXml}}},exports.changeParamByIdentity=function changeParamByIdentity(pathMethod,param,value,isXml){return{type:UPDATE_PARAM,payload:{path:pathMethod,param:param,value:value,isXml:isXml}}},exports.clearValidateParams=function clearValidateParams(payload){return{type:CLEAR_VALIDATE_PARAMS,payload:{pathMethod:payload}}},exports.changeConsumesValue=function changeConsumesValue(path,value){return{type:UPDATE_OPERATION_META_VALUE,payload:{path:path,value:value,key:"consumes_value"}}},exports.changeProducesValue=function changeProducesValue(path,value){return{type:UPDATE_OPERATION_META_VALUE,payload:{path:path,value:value,key:"produces_value"}}},exports.clearResponse=function clearResponse(path,method){return{type:CLEAR_RESPONSE,payload:{path:path,method:method}}},exports.clearRequest=function clearRequest(path,method){return{type:CLEAR_REQUEST,payload:{path:path,method:method}}},exports.setScheme=function setScheme(scheme,path,method){return{type:SET_SCHEME,payload:{scheme:scheme,path:path,method:method}}};var _jsYaml2=_interopRequireDefault(__webpack_require__(220)),_immutable=__webpack_require__(7),_urlParse2=_interopRequireDefault(__webpack_require__(139)),_serializeError2=_interopRequireDefault(__webpack_require__(117)),_isString2=_interopRequireDefault(__webpack_require__(499)),_debounce2=_interopRequireDefault(__webpack_require__(500)),_set2=_interopRequireDefault(__webpack_require__(502)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var UPDATE_SPEC=exports.UPDATE_SPEC="spec_update_spec",UPDATE_URL=exports.UPDATE_URL="spec_update_url",UPDATE_JSON=exports.UPDATE_JSON="spec_update_json",UPDATE_PARAM=exports.UPDATE_PARAM="spec_update_param",VALIDATE_PARAMS=exports.VALIDATE_PARAMS="spec_validate_param",SET_RESPONSE=exports.SET_RESPONSE="spec_set_response",SET_REQUEST=exports.SET_REQUEST="spec_set_request",SET_MUTATED_REQUEST=exports.SET_MUTATED_REQUEST="spec_set_mutated_request",LOG_REQUEST=exports.LOG_REQUEST="spec_log_request",CLEAR_RESPONSE=exports.CLEAR_RESPONSE="spec_clear_response",CLEAR_REQUEST=exports.CLEAR_REQUEST="spec_clear_request",CLEAR_VALIDATE_PARAMS=exports.CLEAR_VALIDATE_PARAMS="spec_clear_validate_param",UPDATE_OPERATION_META_VALUE=exports.UPDATE_OPERATION_META_VALUE="spec_update_operation_meta_value",UPDATE_RESOLVED=exports.UPDATE_RESOLVED="spec_update_resolved",UPDATE_RESOLVED_SUBTREE=exports.UPDATE_RESOLVED_SUBTREE="spec_update_resolved_subtree",SET_SCHEME=exports.SET_SCHEME="set_scheme",toStr=function toStr(str){return(0,_isString2.default)(str)?str:""};exports.parseToJson=function parseToJson(str){return function(_ref){var specActions=_ref.specActions,specSelectors=_ref.specSelectors,errActions=_ref.errActions,specStr=specSelectors.specStr,json=null;try{str=str||specStr(),errActions.clear({source:"parser"}),json=_jsYaml2.default.safeLoad(str)}catch(e){return console.error(e),errActions.newSpecErr({source:"parser",level:"error",message:e.reason,line:e.mark&&e.mark.line?e.mark.line+1:void 0})}return json&&"object"===(void 0===json?"undefined":(0,_typeof3.default)(json))?specActions.updateJsonSpec(json):{}}};var hasWarnedAboutResolveSpecDeprecation=!1,requestBatch=(exports.resolveSpec=function resolveSpec(json,url){return function(_ref2){var specActions=_ref2.specActions,specSelectors=_ref2.specSelectors,errActions=_ref2.errActions,_ref2$fn=_ref2.fn,fetch=_ref2$fn.fetch,resolve=_ref2$fn.resolve,AST=_ref2$fn.AST,getConfigs=_ref2.getConfigs;hasWarnedAboutResolveSpecDeprecation||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),hasWarnedAboutResolveSpecDeprecation=!0);var _getConfigs=getConfigs(),modelPropertyMacro=_getConfigs.modelPropertyMacro,parameterMacro=_getConfigs.parameterMacro,requestInterceptor=_getConfigs.requestInterceptor,responseInterceptor=_getConfigs.responseInterceptor;void 0===json&&(json=specSelectors.specJson()),void 0===url&&(url=specSelectors.url());var getLineNumberForPath=AST.getLineNumberForPath,specStr=specSelectors.specStr();return resolve({fetch:fetch,spec:json,baseDoc:url,modelPropertyMacro:modelPropertyMacro,parameterMacro:parameterMacro,requestInterceptor:requestInterceptor,responseInterceptor:responseInterceptor}).then(function(_ref3){var spec=_ref3.spec,errors=_ref3.errors;if(errActions.clear({type:"thrown"}),Array.isArray(errors)&&errors.length>0){var preparedErrors=errors.map(function(err){return console.error(err),err.line=err.fullPath?getLineNumberForPath(specStr,err.fullPath):null,err.path=err.fullPath?err.fullPath.join("."):null,err.level="error",err.type="thrown",err.source="resolver",Object.defineProperty(err,"message",{enumerable:!0,value:err.message}),err});errActions.newThrownErrBatch(preparedErrors)}return specActions.updateResolved(spec)})}},[]),debResolveSubtrees=(0,_debounce2.default)((0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2(){var system,errActions,errSelectors,_system$fn,resolveSubtree,getLineNumberForPath,specSelectors,specActions,specStr,_system$getConfigs,modelPropertyMacro,parameterMacro,requestInterceptor,responseInterceptor,batchResult;return _regenerator2.default.wrap(function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(system=requestBatch.system){_context2.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),_context2.abrupt("return");case 4:if(errActions=system.errActions,errSelectors=system.errSelectors,_system$fn=system.fn,resolveSubtree=_system$fn.resolveSubtree,getLineNumberForPath=_system$fn.AST.getLineNumberForPath,specSelectors=system.specSelectors,specActions=system.specActions,resolveSubtree){_context2.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),_context2.abrupt("return");case 8:return specStr=specSelectors.specStr(),_system$getConfigs=system.getConfigs(),modelPropertyMacro=_system$getConfigs.modelPropertyMacro,parameterMacro=_system$getConfigs.parameterMacro,requestInterceptor=_system$getConfigs.requestInterceptor,responseInterceptor=_system$getConfigs.responseInterceptor,_context2.prev=10,_context2.next=13,requestBatch.reduce(function(){var _ref5=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(prev,path){var _ref6,resultMap,specWithCurrentSubtrees,_ref7,errors,spec,preparedErrors;return _regenerator2.default.wrap(function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,prev;case 2:return _ref6=_context.sent,resultMap=_ref6.resultMap,specWithCurrentSubtrees=_ref6.specWithCurrentSubtrees,_context.next=7,resolveSubtree(specWithCurrentSubtrees,path,{baseDoc:specSelectors.url(),modelPropertyMacro:modelPropertyMacro,parameterMacro:parameterMacro,requestInterceptor:requestInterceptor,responseInterceptor:responseInterceptor});case 7:return _ref7=_context.sent,errors=_ref7.errors,spec=_ref7.spec,errSelectors.allErrors().size&&errActions.clear({type:"thrown"}),Array.isArray(errors)&&errors.length>0&&(preparedErrors=errors.map(function(err){return err.line=err.fullPath?getLineNumberForPath(specStr,err.fullPath):null,err.path=err.fullPath?err.fullPath.join("."):null,err.level="error",err.type="thrown",err.source="resolver",Object.defineProperty(err,"message",{enumerable:!0,value:err.message}),err}),errActions.newThrownErrBatch(preparedErrors)),(0,_set2.default)(resultMap,path,spec),(0,_set2.default)(specWithCurrentSubtrees,path,spec),_context.abrupt("return",{resultMap:resultMap,specWithCurrentSubtrees:specWithCurrentSubtrees});case 15:case"end":return _context.stop()}},_callee,void 0)}));return function(_x,_x2){return _ref5.apply(this,arguments)}}(),_promise2.default.resolve({resultMap:(specSelectors.specResolvedSubtree([])||(0,_immutable.Map)()).toJS(),specWithCurrentSubtrees:specSelectors.specJson().toJS()}));case 13:batchResult=_context2.sent,delete requestBatch.system,requestBatch=[],_context2.next=21;break;case 18:_context2.prev=18,_context2.t0=_context2.catch(10),console.error(_context2.t0);case 21:specActions.updateResolvedSubtree([],batchResult.resultMap);case 22:case"end":return _context2.stop()}},_callee2,void 0,[[10,18]])})),35);exports.requestResolvedSubtree=function requestResolvedSubtree(path){return function(system){requestBatch.push(path),requestBatch.system=system,debResolveSubtrees()}};exports.updateResolvedSubtree=function updateResolvedSubtree(path,value){return{type:UPDATE_RESOLVED_SUBTREE,payload:{path:path,value:value}}},exports.invalidateResolvedSubtreeCache=function invalidateResolvedSubtreeCache(){return{type:UPDATE_RESOLVED_SUBTREE,payload:{path:[],value:(0,_immutable.Map)()}}},exports.validateParams=function validateParams(payload,isOAS3){return{type:VALIDATE_PARAMS,payload:{pathMethod:payload,isOAS3:isOAS3}}};exports.setResponse=function setResponse(path,method,res){return{payload:{path:path,method:method,res:res},type:SET_RESPONSE}},exports.setRequest=function setRequest(path,method,req){return{payload:{path:path,method:method,req:req},type:SET_REQUEST}},exports.setMutatedRequest=function setMutatedRequest(path,method,req){return{payload:{path:path,method:method,req:req},type:SET_MUTATED_REQUEST}},exports.logRequest=function logRequest(req){return{payload:req,type:LOG_REQUEST}},exports.executeRequest=function executeRequest(req){return function(_ref8){var fn=_ref8.fn,specActions=_ref8.specActions,specSelectors=_ref8.specSelectors,getConfigs=_ref8.getConfigs,oas3Selectors=_ref8.oas3Selectors,pathName=req.pathName,method=req.method,operation=req.operation,_getConfigs2=getConfigs(),requestInterceptor=_getConfigs2.requestInterceptor,responseInterceptor=_getConfigs2.responseInterceptor,op=operation.toJS();if(req.contextUrl=(0,_urlParse2.default)(specSelectors.url()).toString(),op&&op.operationId?req.operationId=op.operationId:op&&pathName&&method&&(req.operationId=fn.opId(op,pathName,method)),specSelectors.isOAS3()){var namespace=pathName+":"+method;req.server=oas3Selectors.selectedServer(namespace)||oas3Selectors.selectedServer();var namespaceVariables=oas3Selectors.serverVariables({server:req.server,namespace:namespace}).toJS(),globalVariables=oas3Selectors.serverVariables({server:req.server}).toJS();req.serverVariables=(0,_keys2.default)(namespaceVariables).length?namespaceVariables:globalVariables,req.requestContentType=oas3Selectors.requestContentType(pathName,method),req.responseContentType=oas3Selectors.responseContentType(pathName,method)||"*/*";var requestBody=oas3Selectors.requestBodyValue(pathName,method);(0,_utils.isJSONObject)(requestBody)?req.requestBody=JSON.parse(requestBody):requestBody&&requestBody.toJS?req.requestBody=requestBody.toJS():req.requestBody=requestBody}var parsedRequest=(0,_assign2.default)({},req);parsedRequest=fn.buildRequest(parsedRequest),specActions.setRequest(req.pathName,req.method,parsedRequest);req.requestInterceptor=function requestInterceptorWrapper(r){var mutatedRequest=requestInterceptor.apply(this,[r]),parsedMutatedRequest=(0,_assign2.default)({},mutatedRequest);return specActions.setMutatedRequest(req.pathName,req.method,parsedMutatedRequest),mutatedRequest},req.responseInterceptor=responseInterceptor;var startTime=Date.now();return fn.execute(req).then(function(res){res.duration=Date.now()-startTime,specActions.setResponse(req.pathName,req.method,res)}).catch(function(err){return specActions.setResponse(req.pathName,req.method,{error:!0,err:(0,_serializeError2.default)(err)})})}};exports.execute=function execute(){var _ref9=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},path=_ref9.path,method=_ref9.method,extras=(0,_objectWithoutProperties3.default)(_ref9,["path","method"]);return function(system){var fetch=system.fn.fetch,specSelectors=system.specSelectors,specActions=system.specActions,spec=specSelectors.specJsonWithResolvedSubtrees().toJS(),scheme=specSelectors.operationScheme(path,method),_specSelectors$conten=specSelectors.contentTypeValues([path,method]).toJS(),requestContentType=_specSelectors$conten.requestContentType,responseContentType=_specSelectors$conten.responseContentType,isXml=/xml/i.test(requestContentType),parameters=specSelectors.parameterValues([path,method],isXml).toJS();return specActions.executeRequest((0,_extends3.default)({},extras,{fetch:fetch,spec:spec,pathName:path,method:method,parameters:parameters,requestContentType:requestContentType,scheme:scheme,responseContentType:responseContentType}))}}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(486),__esModule:!0}},function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__(73);module.exports.f=function(C){return new function PromiseCapability(C){var resolve,reject;this.promise=new C(function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject}),this.resolve=aFunction(resolve),this.reject=aFunction(reject)}(C)}},function(module,exports){module.exports=require("url-parse")},function(module,exports,__webpack_require__){var baseAssignValue=__webpack_require__(221),eq=__webpack_require__(64),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function assignValue(object,key,value){var objValue=object[key];hasOwnProperty.call(object,key)&&eq(objValue,value)&&(void 0!==value||key in object)||baseAssignValue(object,key,value)}},function(module,exports,__webpack_require__){var getPrototype=__webpack_require__(195)(Object.getPrototypeOf,Object);module.exports=getPrototype},function(module,exports,__webpack_require__){var Uint8Array=__webpack_require__(189);module.exports=function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);return new Uint8Array(result).set(new Uint8Array(arrayBuffer)),result}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.authorizeRequest=exports.authorizeAccessCodeWithBasicAuthentication=exports.authorizeAccessCodeWithFormParams=exports.authorizeApplication=exports.authorizePassword=exports.preAuthorizeImplicit=exports.CONFIGURE_AUTH=exports.VALIDATE=exports.AUTHORIZE_OAUTH2=exports.PRE_AUTHORIZE_OAUTH2=exports.LOGOUT=exports.AUTHORIZE=exports.SHOW_AUTH_POPUP=void 0;var _typeof3=_interopRequireDefault(__webpack_require__(31)),_assign2=_interopRequireDefault(__webpack_require__(20)),_stringify2=_interopRequireDefault(__webpack_require__(27));exports.showDefinitions=function showDefinitions(payload){return{type:SHOW_AUTH_POPUP,payload:payload}},exports.authorize=function authorize(payload){return{type:AUTHORIZE,payload:payload}},exports.logout=function logout(payload){return{type:LOGOUT,payload:payload}},exports.authorizeOauth2=function authorizeOauth2(payload){return{type:AUTHORIZE_OAUTH2,payload:payload}},exports.configureAuth=function configureAuth(payload){return{type:CONFIGURE_AUTH,payload:payload}};var _urlParse2=_interopRequireDefault(__webpack_require__(139)),_window2=_interopRequireDefault(__webpack_require__(22)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SHOW_AUTH_POPUP=exports.SHOW_AUTH_POPUP="show_popup",AUTHORIZE=exports.AUTHORIZE="authorize",LOGOUT=exports.LOGOUT="logout",AUTHORIZE_OAUTH2=(exports.PRE_AUTHORIZE_OAUTH2="pre_authorize_oauth2",exports.AUTHORIZE_OAUTH2="authorize_oauth2"),CONFIGURE_AUTH=(exports.VALIDATE="validate",exports.CONFIGURE_AUTH="configure_auth");exports.preAuthorizeImplicit=function preAuthorizeImplicit(payload){return function(_ref){var authActions=_ref.authActions,errActions=_ref.errActions,auth=payload.auth,token=payload.token,isValid=payload.isValid,schema=auth.schema,name=auth.name,flow=schema.get("flow");delete _window2.default.swaggerUIRedirectOauth2,"accessCode"===flow||isValid||errActions.newAuthErr({authId:name,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),token.error?errActions.newAuthErr({authId:name,source:"auth",level:"error",message:(0,_stringify2.default)(token)}):authActions.authorizeOauth2({auth:auth,token:token})}};exports.authorizePassword=function authorizePassword(auth){return function(_ref2){var authActions=_ref2.authActions,schema=auth.schema,name=auth.name,username=auth.username,password=auth.password,passwordType=auth.passwordType,clientId=auth.clientId,clientSecret=auth.clientSecret,form={grant_type:"password",scope:auth.scopes.join(" ")},query={},headers={};return"basic"===passwordType?headers.Authorization="Basic "+(0,_utils.btoa)(username+":"+password):((0,_assign2.default)(form,{username:username},{password:password}),"query"===passwordType?(clientId&&(query.client_id=clientId),clientSecret&&(query.client_secret=clientSecret)):headers.Authorization="Basic "+(0,_utils.btoa)(clientId+":"+clientSecret)),authActions.authorizeRequest({body:(0,_utils.buildFormData)(form),url:schema.get("tokenUrl"),name:name,headers:headers,query:query,auth:auth})}},exports.authorizeApplication=function authorizeApplication(auth){return function(_ref3){var authActions=_ref3.authActions,schema=auth.schema,scopes=auth.scopes,name=auth.name,clientId=auth.clientId,clientSecret=auth.clientSecret,headers={Authorization:"Basic "+(0,_utils.btoa)(clientId+":"+clientSecret)},form={grant_type:"client_credentials",scope:scopes.join(" ")};return authActions.authorizeRequest({body:(0,_utils.buildFormData)(form),name:name,url:schema.get("tokenUrl"),auth:auth,headers:headers})}},exports.authorizeAccessCodeWithFormParams=function authorizeAccessCodeWithFormParams(_ref4){var auth=_ref4.auth,redirectUrl=_ref4.redirectUrl;return function(_ref5){var authActions=_ref5.authActions,schema=auth.schema,name=auth.name,clientId=auth.clientId,clientSecret=auth.clientSecret,form={grant_type:"authorization_code",code:auth.code,client_id:clientId,client_secret:clientSecret,redirect_uri:redirectUrl};return authActions.authorizeRequest({body:(0,_utils.buildFormData)(form),name:name,url:schema.get("tokenUrl"),auth:auth})}},exports.authorizeAccessCodeWithBasicAuthentication=function authorizeAccessCodeWithBasicAuthentication(_ref6){var auth=_ref6.auth,redirectUrl=_ref6.redirectUrl;return function(_ref7){var authActions=_ref7.authActions,schema=auth.schema,name=auth.name,clientId=auth.clientId,clientSecret=auth.clientSecret,headers={Authorization:"Basic "+(0,_utils.btoa)(clientId+":"+clientSecret)},form={grant_type:"authorization_code",code:auth.code,client_id:clientId,redirect_uri:redirectUrl};return authActions.authorizeRequest({body:(0,_utils.buildFormData)(form),name:name,url:schema.get("tokenUrl"),auth:auth,headers:headers})}},exports.authorizeRequest=function authorizeRequest(data){return function(_ref8){var fn=_ref8.fn,getConfigs=_ref8.getConfigs,authActions=_ref8.authActions,errActions=_ref8.errActions,oas3Selectors=_ref8.oas3Selectors,specSelectors=_ref8.specSelectors,authSelectors=_ref8.authSelectors,body=data.body,_data$query=data.query,query=void 0===_data$query?{}:_data$query,_data$headers=data.headers,headers=void 0===_data$headers?{}:_data$headers,name=data.name,url=data.url,auth=data.auth,additionalQueryStringParams=(authSelectors.getConfigs()||{}).additionalQueryStringParams,parsedUrl=void 0;parsedUrl=specSelectors.isOAS3()?(0,_urlParse2.default)(url,oas3Selectors.selectedServer(),!0):(0,_urlParse2.default)(url,specSelectors.url(),!0),"object"===(void 0===additionalQueryStringParams?"undefined":(0,_typeof3.default)(additionalQueryStringParams))&&(parsedUrl.query=(0,_assign2.default)({},parsedUrl.query,additionalQueryStringParams));var fetchUrl=parsedUrl.toString(),_headers=(0,_assign2.default)({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded"},headers);fn.fetch({url:fetchUrl,method:"post",headers:_headers,query:query,body:body,requestInterceptor:getConfigs().requestInterceptor,responseInterceptor:getConfigs().responseInterceptor}).then(function(response){var token=JSON.parse(response.data),error=token&&(token.error||""),parseError=token&&(token.parseError||"");response.ok?error||parseError?errActions.newAuthErr({authId:name,level:"error",source:"auth",message:(0,_stringify2.default)(token)}):authActions.authorizeOauth2({auth:auth,token:token}):errActions.newAuthErr({authId:name,level:"error",source:"auth",message:response.statusText})}).catch(function(e){var err=new Error(e);errActions.newAuthErr({authId:name,level:"error",source:"auth",message:err.message})})}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseYamlConfig=void 0;var _jsYaml2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(220));exports.parseYamlConfig=function parseYamlConfig(yaml,system){try{return _jsYaml2.default.safeLoad(yaml)}catch(e){return system&&system.errActions.newThrownErr(new Error(e)),{}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.loaded=exports.TOGGLE_CONFIGS=exports.UPDATE_CONFIGS=void 0;var _defineProperty3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(19));exports.update=function update(configName,configValue){return{type:UPDATE_CONFIGS,payload:(0,_defineProperty3.default)({},configName,configValue)}},exports.toggle=function toggle(configName){return{type:TOGGLE_CONFIGS,payload:configName}};var UPDATE_CONFIGS=exports.UPDATE_CONFIGS="configs_update",TOGGLE_CONFIGS=exports.TOGGLE_CONFIGS="configs_toggle";exports.loaded=function loaded(){return function(){}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSelectedServer=function setSelectedServer(selectedServerUrl,namespace){return{type:UPDATE_SELECTED_SERVER,payload:{selectedServerUrl:selectedServerUrl,namespace:namespace}}},exports.setRequestBodyValue=function setRequestBodyValue(_ref){var value=_ref.value,pathMethod=_ref.pathMethod;return{type:UPDATE_REQUEST_BODY_VALUE,payload:{value:value,pathMethod:pathMethod}}},exports.setRequestContentType=function setRequestContentType(_ref2){var value=_ref2.value,pathMethod=_ref2.pathMethod;return{type:UPDATE_REQUEST_CONTENT_TYPE,payload:{value:value,pathMethod:pathMethod}}},exports.setResponseContentType=function setResponseContentType(_ref3){var value=_ref3.value,path=_ref3.path,method=_ref3.method;return{type:UPDATE_RESPONSE_CONTENT_TYPE,payload:{value:value,path:path,method:method}}},exports.setServerVariableValue=function setServerVariableValue(_ref4){var server=_ref4.server,namespace=_ref4.namespace,key=_ref4.key,val=_ref4.val;return{type:UPDATE_SERVER_VARIABLE_VALUE,payload:{server:server,namespace:namespace,key:key,val:val}}};var UPDATE_SELECTED_SERVER=exports.UPDATE_SELECTED_SERVER="oas3_set_servers",UPDATE_REQUEST_BODY_VALUE=exports.UPDATE_REQUEST_BODY_VALUE="oas3_set_request_body_value",UPDATE_REQUEST_CONTENT_TYPE=exports.UPDATE_REQUEST_CONTENT_TYPE="oas3_set_request_content_type",UPDATE_RESPONSE_CONTENT_TYPE=exports.UPDATE_RESPONSE_CONTENT_TYPE="oas3_set_response_content_type",UPDATE_SERVER_VARIABLE_VALUE=exports.UPDATE_SERVER_VARIABLE_VALUE="oas3_set_server_variable_value"},function(module,exports,__webpack_require__){var cof=__webpack_require__(53);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(72),$export=__webpack_require__(24),redefine=__webpack_require__(150),hide=__webpack_require__(37),has=__webpack_require__(39),Iterators=__webpack_require__(44),$iterCreate=__webpack_require__(292),setToStringTag=__webpack_require__(75),getPrototypeOf=__webpack_require__(153),ITERATOR=__webpack_require__(13)("iterator"),BUGGY=!([].keys&&"next"in[].keys()),returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var methods,key,IteratorPrototype,getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case"keys":return function keys(){return new Constructor(this,kind)};case"values":return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}},TAG=NAME+" Iterator",DEF_VALUES="values"==DEFAULT,VALUES_BUG=!1,proto=Base.prototype,$native=proto[ITERATOR]||proto["@@iterator"]||DEFAULT&&proto[DEFAULT],$default=$native||getMethod(DEFAULT),$entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0,$anyNative="Array"==NAME&&proto.entries||$native;if($anyNative&&(IteratorPrototype=getPrototypeOf($anyNative.call(new Base)))!==Object.prototype&&IteratorPrototype.next&&(setToStringTag(IteratorPrototype,TAG,!0),LIBRARY||has(IteratorPrototype,ITERATOR)||hide(IteratorPrototype,ITERATOR,returnThis)),DEF_VALUES&&$native&&"values"!==$native.name&&(VALUES_BUG=!0,$default=function values(){return $native.call(this)}),LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default),Iterators[NAME]=$default,Iterators[TAG]=returnThis,DEFAULT)if(methods={values:DEF_VALUES?$default:getMethod("values"),keys:IS_SET?$default:getMethod("keys"),entries:$entries},FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods);return methods}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(33)&&!__webpack_require__(47)(function(){return 7!=Object.defineProperty(__webpack_require__(95)("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){module.exports=__webpack_require__(37)},function(module,exports,__webpack_require__){var has=__webpack_require__(39),toIObject=__webpack_require__(45),arrayIndexOf=__webpack_require__(294)(!1),IE_PROTO=__webpack_require__(100)("IE_PROTO");module.exports=function(object,names){var key,O=toIObject(object),i=0,result=[];for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){var document=__webpack_require__(15).document;module.exports=document&&document.documentElement},function(module,exports,__webpack_require__){var has=__webpack_require__(39),toObject=__webpack_require__(56),IE_PROTO=__webpack_require__(100)("IE_PROTO"),ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){return O=toObject(O),has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectProto:null}},function(module,exports,__webpack_require__){var core=__webpack_require__(34),global=__webpack_require__(16),store=global["__core-js_shared__"]||(global["__core-js_shared__"]={});(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:core.version,mode:__webpack_require__(106)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__webpack_require__){"use strict";var $at=__webpack_require__(157)(!0);__webpack_require__(158)(String,"String",function(iterated){this._t=String(iterated),this._i=0},function(){var point,O=this._t,index=this._i;return index>=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})})},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(78),defined=__webpack_require__(35);module.exports=function(TO_STRING){return function(that,pos){var a,b,s=String(defined(that)),i=toInteger(pos),l=s.length;return i<0||i>=l?TO_STRING?"":void 0:(a=s.charCodeAt(i))<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(106),$export=__webpack_require__(17),redefine=__webpack_require__(48),hide=__webpack_require__(40),Iterators=__webpack_require__(61),$iterCreate=__webpack_require__(302),setToStringTag=__webpack_require__(110),getPrototypeOf=__webpack_require__(308),ITERATOR=__webpack_require__(11)("iterator"),BUGGY=!([].keys&&"next"in[].keys()),returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var methods,key,IteratorPrototype,getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case"keys":return function keys(){return new Constructor(this,kind)};case"values":return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}},TAG=NAME+" Iterator",DEF_VALUES="values"==DEFAULT,VALUES_BUG=!1,proto=Base.prototype,$native=proto[ITERATOR]||proto["@@iterator"]||DEFAULT&&proto[DEFAULT],$default=$native||getMethod(DEFAULT),$entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0,$anyNative="Array"==NAME&&proto.entries||$native;if($anyNative&&(IteratorPrototype=getPrototypeOf($anyNative.call(new Base)))!==Object.prototype&&IteratorPrototype.next&&(setToStringTag(IteratorPrototype,TAG,!0),LIBRARY||"function"==typeof IteratorPrototype[ITERATOR]||hide(IteratorPrototype,ITERATOR,returnThis)),DEF_VALUES&&$native&&"values"!==$native.name&&(VALUES_BUG=!0,$default=function values(){return $native.call(this)}),LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default),Iterators[NAME]=$default,Iterators[TAG]=returnThis,DEFAULT)if(methods={values:DEF_VALUES?$default:getMethod("values"),keys:IS_SET?$default:getMethod("keys"),entries:$entries},FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods);return methods}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(305),enumBugKeys=__webpack_require__(161);module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(78),max=Math.max,min=Math.min;module.exports=function(index,length){return(index=toInteger(index))<0?max(index+length,0):min(index,length)}},function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports,__webpack_require__){var document=__webpack_require__(16).document;module.exports=document&&document.documentElement},function(module,exports,__webpack_require__){var anObject=__webpack_require__(41),aFunction=__webpack_require__(80),SPECIES=__webpack_require__(11)("species");module.exports=function(O,D){var S,C=anObject(O).constructor;return void 0===C||void 0==(S=anObject(C)[SPECIES])?D:aFunction(S)}},function(module,exports,__webpack_require__){var defer,channel,port,ctx=__webpack_require__(79),invoke=__webpack_require__(320),html=__webpack_require__(162),cel=__webpack_require__(108),global=__webpack_require__(16),process=global.process,setTask=global.setImmediate,clearTask=global.clearImmediate,MessageChannel=global.MessageChannel,Dispatch=global.Dispatch,counter=0,queue={},run=function(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id],fn()}},listener=function(event){run.call(event.data)};setTask&&clearTask||(setTask=function setImmediate(fn){for(var args=[],i=1;arguments.length>i;)args.push(arguments[i++]);return queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)},defer(counter),counter},clearTask=function clearImmediate(id){delete queue[id]},"process"==__webpack_require__(58)(process)?defer=function(id){process.nextTick(ctx(run,id,1))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(ctx(run,id,1))}:MessageChannel?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=ctx(port.postMessage,port,1)):global.addEventListener&&"function"==typeof postMessage&&!global.importScripts?(defer=function(id){global.postMessage(id+"","*")},global.addEventListener("message",listener,!1)):defer="onreadystatechange"in cel("script")?function(id){html.appendChild(cel("script")).onreadystatechange=function(){html.removeChild(this),run.call(id)}}:function(id){setTimeout(ctx(run,id,1),0)}),module.exports={set:setTask,clear:clearTask}},function(module,exports){module.exports=function(exec){try{return{e:!1,v:exec()}}catch(e){return{e:!0,v:e}}}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(41),isObject=__webpack_require__(49),newPromiseCapability=__webpack_require__(111);module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(49),cof=__webpack_require__(58),MATCH=__webpack_require__(11)("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"==cof(it))}},function(module,exports,__webpack_require__){var $export=__webpack_require__(24),core=__webpack_require__(10),fails=__webpack_require__(47);module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY],exp={};exp[KEY]=exec(fn),$export($export.S+$export.F*fails(function(){fn(1)}),"Object",exp)}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(151),hiddenKeys=__webpack_require__(102).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return $keys(O,hiddenKeys)}},function(module,exports,__webpack_require__){var pIE=__webpack_require__(83),createDesc=__webpack_require__(54),toIObject=__webpack_require__(45),toPrimitive=__webpack_require__(96),has=__webpack_require__(39),IE8_DOM_DEFINE=__webpack_require__(149),gOPD=Object.getOwnPropertyDescriptor;exports.f=__webpack_require__(33)?gOPD:function getOwnPropertyDescriptor(O,P){if(O=toIObject(O),P=toPrimitive(P,!0),IE8_DOM_DEFINE)try{return gOPD(O,P)}catch(e){}if(has(O,P))return createDesc(!pIE.f.call(O,P),O[P])}},function(module,exports){},function(module,exports){module.exports=require("deep-extend")},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(373),__esModule:!0}},function(module,exports){var g;g=function(){return this}();try{g=g||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(g=window)}module.exports=g},function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(exports,__webpack_require__(174))},function(module,exports){module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index<length;)result[index]=iteratee(array[index],index,array);return result}},function(module,exports,__webpack_require__){var upperFirst=__webpack_require__(393)("toUpperCase");module.exports=upperFirst},function(module,exports){module.exports=function baseSlice(array,start,end){var index=-1,length=array.length;start<0&&(start=-start>length?0:length+start),(end=end>length?length:end)<0&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);++index<length;)result[index]=array[index+start];return result}},function(module,exports){var reHasUnicode=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");module.exports=function hasUnicode(string){return reHasUnicode.test(string)}},function(module,exports,__webpack_require__){var arrayReduce=__webpack_require__(181),deburr=__webpack_require__(398),words=__webpack_require__(401),reApos=RegExp("['’]","g");module.exports=function createCompounder(callback){return function(string){return arrayReduce(words(deburr(string).replace(reApos,"")),callback,"")}}},function(module,exports){module.exports=function arrayReduce(array,iteratee,accumulator,initAccum){var index=-1,length=null==array?0:array.length;for(initAccum&&length&&(accumulator=array[++index]);++index<length;)accumulator=iteratee(accumulator,array[index],index,array);return accumulator}},function(module,exports,__webpack_require__){var MapCache=__webpack_require__(118),FUNC_ERROR_TEXT="Expected a function";function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(42),isObject=__webpack_require__(28),asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}},function(module,exports){var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},function(module,exports,__webpack_require__){var find=__webpack_require__(426)(__webpack_require__(464));module.exports=find},function(module,exports,__webpack_require__){var baseIsEqualDeep=__webpack_require__(434),isObjectLike=__webpack_require__(32);module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},function(module,exports,__webpack_require__){var SetCache=__webpack_require__(435),arraySome=__webpack_require__(188),cacheHas=__webpack_require__(438),COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;module.exports=function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(void 0!==compared){if(compared)continue;result=!1;break}if(seen){if(!arraySome(other,function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(arrValue!==othValue&&!equalFunc(arrValue,othValue,bitmask,customizer,stack)){result=!1;break}}return stack.delete(array),stack.delete(other),result}},function(module,exports){module.exports=function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}},function(module,exports,__webpack_require__){var Uint8Array=__webpack_require__(25).Uint8Array;module.exports=Uint8Array},function(module,exports,__webpack_require__){var baseGetAllKeys=__webpack_require__(191),getSymbols=__webpack_require__(122),keys=__webpack_require__(51);module.exports=function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}},function(module,exports,__webpack_require__){var arrayPush=__webpack_require__(121),isArray=__webpack_require__(14);module.exports=function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}},function(module,exports){module.exports=function stubArray(){return[]}},function(module,exports,__webpack_require__){var baseTimes=__webpack_require__(444),isArguments=__webpack_require__(123),isArray=__webpack_require__(14),isBuffer=__webpack_require__(124),isIndex=__webpack_require__(91),isTypedArray=__webpack_require__(194),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},function(module,exports,__webpack_require__){var baseIsTypedArray=__webpack_require__(447),baseUnary=__webpack_require__(127),nodeUtil=__webpack_require__(128),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},function(module,exports){module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(28);module.exports=function isStrictComparable(value){return value==value&&!isObject(value)}},function(module,exports){module.exports=function matchesStrictComparable(key,srcValue){return function(object){return null!=object&&object[key]===srcValue&&(void 0!==srcValue||key in Object(object))}}},function(module,exports){module.exports=function identity(value){return value}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(28),isSymbol=__webpack_require__(85),NAN=NaN,reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}},function(module,exports,__webpack_require__){var baseForOwn=__webpack_require__(470),baseEach=__webpack_require__(473)(baseForOwn);module.exports=baseEach},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(system){return{statePlugins:{err:{reducers:(0,_reducers2.default)(system),actions:actions,selectors:selectors}}}};var _reducers2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(202)),actions=_interopRequireWildcard(__webpack_require__(84)),selectors=_interopRequireWildcard(__webpack_require__(207));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _defineProperty3=_interopRequireDefault(__webpack_require__(19)),_assign2=_interopRequireDefault(__webpack_require__(20));exports.default=function(system){var _ref8;return _ref8={},(0,_defineProperty3.default)(_ref8,_actions.NEW_THROWN_ERR,function(state,_ref){var payload=_ref.payload,error=(0,_assign2.default)(DEFAULT_ERROR_STRUCTURE,payload,{type:"thrown"});return state.update("errors",function(errors){return(errors||(0,_immutable.List)()).push((0,_immutable.fromJS)(error))}).update("errors",function(errors){return(0,_hook2.default)(errors,system.getSystem())})}),(0,_defineProperty3.default)(_ref8,_actions.NEW_THROWN_ERR_BATCH,function(state,_ref2){var payload=_ref2.payload;return payload=payload.map(function(err){return(0,_immutable.fromJS)((0,_assign2.default)(DEFAULT_ERROR_STRUCTURE,err,{type:"thrown"}))}),state.update("errors",function(errors){return(errors||(0,_immutable.List)()).concat((0,_immutable.fromJS)(payload))}).update("errors",function(errors){return(0,_hook2.default)(errors,system.getSystem())})}),(0,_defineProperty3.default)(_ref8,_actions.NEW_SPEC_ERR,function(state,_ref3){var payload=_ref3.payload,error=(0,_immutable.fromJS)(payload);return error=error.set("type","spec"),state.update("errors",function(errors){return(errors||(0,_immutable.List)()).push((0,_immutable.fromJS)(error)).sortBy(function(err){return err.get("line")})}).update("errors",function(errors){return(0,_hook2.default)(errors,system.getSystem())})}),(0,_defineProperty3.default)(_ref8,_actions.NEW_SPEC_ERR_BATCH,function(state,_ref4){var payload=_ref4.payload;return payload=payload.map(function(err){return(0,_immutable.fromJS)((0,_assign2.default)(DEFAULT_ERROR_STRUCTURE,err,{type:"spec"}))}),state.update("errors",function(errors){return(errors||(0,_immutable.List)()).concat((0,_immutable.fromJS)(payload))}).update("errors",function(errors){return(0,_hook2.default)(errors,system.getSystem())})}),(0,_defineProperty3.default)(_ref8,_actions.NEW_AUTH_ERR,function(state,_ref5){var payload=_ref5.payload,error=(0,_immutable.fromJS)((0,_assign2.default)({},payload));return error=error.set("type","auth"),state.update("errors",function(errors){return(errors||(0,_immutable.List)()).push((0,_immutable.fromJS)(error))}).update("errors",function(errors){return(0,_hook2.default)(errors,system.getSystem())})}),(0,_defineProperty3.default)(_ref8,_actions.CLEAR,function(state,_ref6){var payload=_ref6.payload;if(!payload||!state.get("errors"))return state;var newErrors=state.get("errors").filter(function(err){return err.keySeq().every(function(k){var errValue=err.get(k),filterValue=payload[k];return!filterValue||errValue!==filterValue})});return state.merge({errors:newErrors})}),(0,_defineProperty3.default)(_ref8,_actions.CLEAR_BY,function(state,_ref7){var payload=_ref7.payload;if(!payload||"function"!=typeof payload)return state;var newErrors=state.get("errors").filter(function(err){return payload(err)});return state.merge({errors:newErrors})}),_ref8};var _actions=__webpack_require__(84),_immutable=__webpack_require__(7),_hook2=_interopRequireDefault(__webpack_require__(203));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var DEFAULT_ERROR_STRUCTURE={line:0,level:"error",message:"Unknown error"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function transformErrors(errors,system){var inputs={jsSpec:system.specSelectors.specJson().toJS()};return(0,_reduce2.default)(errorTransformers,function(result,transformer){try{var newlyTransformedErrors=transformer.transform(result,inputs);return newlyTransformedErrors.filter(function(err){return!!err})}catch(e){return console.error("Transformer error:",e),result}},errors).filter(function(err){return!!err}).map(function(err){return!err.get("line")&&err.get("path"),err})};var _reduce2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(480));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}var errorTransformers=[_interopRequireWildcard(__webpack_require__(204)),_interopRequireWildcard(__webpack_require__(205)),_interopRequireWildcard(__webpack_require__(206))]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transform=function transform(errors){return errors.map(function(err){var i=err.get("message").indexOf("is not of a type(s)");if(i>-1){var types=err.get("message").slice(i+"is not of a type(s)".length).split(",");return err.set("message",err.get("message").slice(0,i)+function makeNewMessage(types){return types.reduce(function(p,c,i,arr){return i===arr.length-1&&arr.length>1?p+"or "+c:arr[i+1]&&arr.length>2?p+c+", ":arr[i+1]?p+c+" ":p+c},"should be a")}(types))}return err})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transform=function transform(errors,_ref){_ref.jsSpec;return errors};(function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}})(__webpack_require__(130)),__webpack_require__(7)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transform=function transform(errors){return errors.map(function(err){return err.set("message",function removeSubstring(str,substr){return str.replace(new RegExp(substr,"g"),"")}(err.get("message"),"instance."))})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lastError=exports.allErrors=void 0;var _immutable=__webpack_require__(7),_reselect=__webpack_require__(36),allErrors=exports.allErrors=(0,_reselect.createSelector)(function state(_state){return _state},function(err){return err.get("errors",(0,_immutable.List)())});exports.lastError=(0,_reselect.createSelector)(allErrors,function(all){return all.last()})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{statePlugins:{layout:{reducers:_reducers2.default,actions:actions,selectors:selectors}}}};var _reducers2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(209)),actions=_interopRequireWildcard(__webpack_require__(134)),selectors=_interopRequireWildcard(__webpack_require__(210));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _UPDATE_LAYOUT$UPDATE,_defineProperty3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(19)),_immutable=__webpack_require__(7),_actions=__webpack_require__(134);exports.default=(_UPDATE_LAYOUT$UPDATE={},(0,_defineProperty3.default)(_UPDATE_LAYOUT$UPDATE,_actions.UPDATE_LAYOUT,function(state,action){return state.set("layout",action.payload)}),(0,_defineProperty3.default)(_UPDATE_LAYOUT$UPDATE,_actions.UPDATE_FILTER,function(state,action){return state.set("filter",action.payload)}),(0,_defineProperty3.default)(_UPDATE_LAYOUT$UPDATE,_actions.SHOW,function(state,action){var isShown=action.payload.shown,thingToShow=(0,_immutable.fromJS)(action.payload.thing);return state.update("shown",(0,_immutable.fromJS)({}),function(a){return a.set(thingToShow,isShown)})}),(0,_defineProperty3.default)(_UPDATE_LAYOUT$UPDATE,_actions.UPDATE_MODE,function(state,action){var thing=action.payload.thing,mode=action.payload.mode;return state.setIn(["modes"].concat(thing),(mode||"")+"")}),_UPDATE_LAYOUT$UPDATE)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.showSummary=exports.whatMode=exports.isShown=exports.currentFilter=exports.current=void 0;var _toConsumableArray3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(67)),_reselect=__webpack_require__(36),_utils=__webpack_require__(8),_immutable=__webpack_require__(7);exports.current=function current(state){return state.get("layout")},exports.currentFilter=function currentFilter(state){return state.get("filter")};var isShown=exports.isShown=function isShown(state,thing,def){return thing=(0,_utils.normalizeArray)(thing),state.get("shown",(0,_immutable.fromJS)({})).get((0,_immutable.fromJS)(thing),def)};exports.whatMode=function whatMode(state,thing){var def=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return thing=(0,_utils.normalizeArray)(thing),state.getIn(["modes"].concat((0,_toConsumableArray3.default)(thing)),def)},exports.showSummary=(0,_reselect.createSelector)(function state(_state){return _state},function(state){return!isShown(state,"editor")})},function(module,exports,__webpack_require__){var anObject=__webpack_require__(26);module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator.return;throw void 0!==ret&&anObject(ret.call(iterator)),e}}},function(module,exports,__webpack_require__){var Iterators=__webpack_require__(44),ITERATOR=__webpack_require__(13)("iterator"),ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__(13)("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR]();riter.return=function(){SAFE_CLOSING=!0},Array.from(riter,function(){throw 2})}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return!1;var safe=!1;try{var arr=[7],iter=arr[ITERATOR]();iter.next=function(){return{done:safe=!0}},arr[ITERATOR]=function(){return iter},exec(arr)}catch(e){}return safe}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{statePlugins:{spec:{wrapActions:wrapActions,reducers:_reducers2.default,actions:actions,selectors:selectors}}}};var _reducers2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(215)),actions=_interopRequireWildcard(__webpack_require__(136)),selectors=_interopRequireWildcard(__webpack_require__(135)),wrapActions=_interopRequireWildcard(__webpack_require__(223));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _UPDATE_SPEC$UPDATE_U,_defineProperty3=_interopRequireDefault(__webpack_require__(19)),_assign2=_interopRequireDefault(__webpack_require__(20)),_toConsumableArray3=_interopRequireDefault(__webpack_require__(67)),_immutable=__webpack_require__(7),_utils=__webpack_require__(8),_window2=_interopRequireDefault(__webpack_require__(22)),_selectors=__webpack_require__(135),_actions=__webpack_require__(136);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=(_UPDATE_SPEC$UPDATE_U={},(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.UPDATE_SPEC,function(state,action){return"string"==typeof action.payload?state.set("spec",action.payload):state}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.UPDATE_URL,function(state,action){return state.set("url",action.payload+"")}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.UPDATE_JSON,function(state,action){return state.set("json",(0,_utils.fromJSOrdered)(action.payload))}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.UPDATE_RESOLVED,function(state,action){return state.setIn(["resolved"],(0,_utils.fromJSOrdered)(action.payload))}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.UPDATE_RESOLVED_SUBTREE,function(state,action){var _action$payload=action.payload,value=_action$payload.value,path=_action$payload.path;return state.setIn(["resolvedSubtrees"].concat((0,_toConsumableArray3.default)(path)),(0,_utils.fromJSOrdered)(value))}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.UPDATE_PARAM,function(state,_ref){var payload=_ref.payload,pathMethod=payload.path,paramName=payload.paramName,paramIn=payload.paramIn,param=payload.param,value=payload.value,isXml=payload.isXml,paramKey=void 0;paramKey=param&¶m.hashCode&&!paramIn&&!paramName?param.get("name")+"."+param.get("in")+".hash-"+param.hashCode():paramName+"."+paramIn;var valueKey=isXml?"value_xml":"value";return state.setIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters",paramKey,valueKey]),value)}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.VALIDATE_PARAMS,function(state,_ref2){var _ref2$payload=_ref2.payload,pathMethod=_ref2$payload.pathMethod,isOAS3=_ref2$payload.isOAS3,meta=state.getIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod)),(0,_immutable.fromJS)({})),isXml=/xml/i.test(meta.get("consumes_value")),op=_selectors.operationWithMeta.apply(void 0,[state].concat((0,_toConsumableArray3.default)(pathMethod)));return state.updateIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters"]),(0,_immutable.fromJS)({}),function(paramMeta){return op.get("parameters",(0,_immutable.List)()).reduce(function(res,param){var errors=(0,_utils.validateParam)(param,isXml,isOAS3);return res.setIn([param.get("name")+"."+param.get("in"),"errors"],(0,_immutable.fromJS)(errors))},paramMeta)})}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.CLEAR_VALIDATE_PARAMS,function(state,_ref3){var pathMethod=_ref3.payload.pathMethod;return state.updateIn(["meta","paths"].concat((0,_toConsumableArray3.default)(pathMethod),["parameters"]),(0,_immutable.fromJS)([]),function(parameters){return parameters.map(function(param){return param.set("errors",(0,_immutable.fromJS)([]))})})}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.SET_RESPONSE,function(state,_ref4){var _ref4$payload=_ref4.payload,res=_ref4$payload.res,path=_ref4$payload.path,method=_ref4$payload.method,result=void 0;(result=res.error?(0,_assign2.default)({error:!0,name:res.err.name,message:res.err.message,statusCode:res.err.statusCode},res.err.response):res).headers=result.headers||{};var newState=state.setIn(["responses",path,method],(0,_utils.fromJSOrdered)(result));return _window2.default.Blob&&res.data instanceof _window2.default.Blob&&(newState=newState.setIn(["responses",path,method,"text"],res.data)),newState}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.SET_REQUEST,function(state,_ref5){var _ref5$payload=_ref5.payload,req=_ref5$payload.req,path=_ref5$payload.path,method=_ref5$payload.method;return state.setIn(["requests",path,method],(0,_utils.fromJSOrdered)(req))}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.SET_MUTATED_REQUEST,function(state,_ref6){var _ref6$payload=_ref6.payload,req=_ref6$payload.req,path=_ref6$payload.path,method=_ref6$payload.method;return state.setIn(["mutatedRequests",path,method],(0,_utils.fromJSOrdered)(req))}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.UPDATE_OPERATION_META_VALUE,function(state,_ref7){var _ref7$payload=_ref7.payload,path=_ref7$payload.path,value=_ref7$payload.value,key=_ref7$payload.key,operationPath=["paths"].concat((0,_toConsumableArray3.default)(path)),metaPath=["meta","paths"].concat((0,_toConsumableArray3.default)(path));return state.getIn(["json"].concat((0,_toConsumableArray3.default)(operationPath)))||state.getIn(["resolved"].concat((0,_toConsumableArray3.default)(operationPath)))||state.getIn(["resolvedSubtrees"].concat((0,_toConsumableArray3.default)(operationPath)))?state.setIn([].concat((0,_toConsumableArray3.default)(metaPath),[key]),(0,_immutable.fromJS)(value)):state}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.CLEAR_RESPONSE,function(state,_ref8){var _ref8$payload=_ref8.payload,path=_ref8$payload.path,method=_ref8$payload.method;return state.deleteIn(["responses",path,method])}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.CLEAR_REQUEST,function(state,_ref9){var _ref9$payload=_ref9.payload,path=_ref9$payload.path,method=_ref9$payload.method;return state.deleteIn(["requests",path,method])}),(0,_defineProperty3.default)(_UPDATE_SPEC$UPDATE_U,_actions.SET_SCHEME,function(state,_ref10){var _ref10$payload=_ref10.payload,scheme=_ref10$payload.scheme,path=_ref10$payload.path,method=_ref10$payload.method;return path&&method?state.setIn(["scheme",path,method],scheme):path||method?void 0:state.setIn(["scheme","_defaultScheme"],scheme)}),_UPDATE_SPEC$UPDATE_U)},function(module,exports,__webpack_require__){var anObject=__webpack_require__(26),aFunction=__webpack_require__(73),SPECIES=__webpack_require__(13)("species");module.exports=function(O,D){var S,C=anObject(O).constructor;return void 0===C||void 0==(S=anObject(C)[SPECIES])?D:aFunction(S)}},function(module,exports,__webpack_require__){var defer,channel,port,ctx=__webpack_require__(46),invoke=__webpack_require__(490),html=__webpack_require__(152),cel=__webpack_require__(95),global=__webpack_require__(15),process=global.process,setTask=global.setImmediate,clearTask=global.clearImmediate,MessageChannel=global.MessageChannel,Dispatch=global.Dispatch,counter=0,queue={},run=function(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id],fn()}},listener=function(event){run.call(event.data)};setTask&&clearTask||(setTask=function setImmediate(fn){for(var args=[],i=1;arguments.length>i;)args.push(arguments[i++]);return queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)},defer(counter),counter},clearTask=function clearImmediate(id){delete queue[id]},"process"==__webpack_require__(53)(process)?defer=function(id){process.nextTick(ctx(run,id,1))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(ctx(run,id,1))}:MessageChannel?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=ctx(port.postMessage,port,1)):global.addEventListener&&"function"==typeof postMessage&&!global.importScripts?(defer=function(id){global.postMessage(id+"","*")},global.addEventListener("message",listener,!1)):defer="onreadystatechange"in cel("script")?function(id){html.appendChild(cel("script")).onreadystatechange=function(){html.removeChild(this),run.call(id)}}:function(id){setTimeout(ctx(run,id,1),0)}),module.exports={set:setTask,clear:clearTask}},function(module,exports){module.exports=function(exec){try{return{e:!1,v:exec()}}catch(e){return{e:!0,v:e}}}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(26),isObject=__webpack_require__(38),newPromiseCapability=__webpack_require__(138);module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},function(module,exports){module.exports=require("js-yaml")},function(module,exports,__webpack_require__){var defineProperty=__webpack_require__(222);module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value:value,writable:!0}):object[key]=value}},function(module,exports,__webpack_require__){var getNative=__webpack_require__(43),defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}();module.exports=defineProperty},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.validateParams=exports.executeRequest=exports.updateJsonSpec=exports.updateSpec=void 0;var _keys2=_interopRequireDefault(__webpack_require__(30)),_get2=_interopRequireDefault(__webpack_require__(130));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.updateSpec=function updateSpec(ori,_ref){var specActions=_ref.specActions;return function(){ori.apply(void 0,arguments),specActions.parseToJson.apply(specActions,arguments)}},exports.updateJsonSpec=function updateJsonSpec(ori,_ref2){var specActions=_ref2.specActions;return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];ori.apply(void 0,args),specActions.invalidateResolvedSubtreeCache();var json=args[0],pathItems=(0,_get2.default)(json,["paths"]);(0,_keys2.default)(pathItems).forEach(function(k){(0,_get2.default)(pathItems,[k]).$ref&&specActions.requestResolvedSubtree(["paths",k])})}},exports.executeRequest=function executeRequest(ori,_ref3){var specActions=_ref3.specActions;return function(req){return specActions.logRequest(req),ori(req)}},exports.validateParams=function validateParams(ori,_ref4){var specSelectors=_ref4.specSelectors;return function(req){return ori(req,specSelectors.isOAS3())}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(_ref){var getComponents=_ref.getComponents,getStore=_ref.getStore,getSystem=_ref.getSystem,getComponent=rootInjects.getComponent,render=rootInjects.render,makeMappedContainer=rootInjects.makeMappedContainer,memGetComponent=(0,_utils.memoize)(getComponent.bind(null,getSystem,getStore,getComponents));return{rootInjects:{getComponent:memGetComponent,makeMappedContainer:(0,_utils.memoize)(makeMappedContainer.bind(null,getSystem,getStore,memGetComponent,getComponents)),render:render.bind(null,getSystem,getStore,getComponent,getComponents)}}};var rootInjects=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}(__webpack_require__(225)),_utils=__webpack_require__(8)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getComponent=exports.render=exports.makeMappedContainer=void 0;var _typeof3=_interopRequireDefault(__webpack_require__(31)),_keys2=_interopRequireDefault(__webpack_require__(30)),_assign2=_interopRequireDefault(__webpack_require__(20)),_extends3=_interopRequireDefault(__webpack_require__(21)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_reactDom2=_interopRequireDefault(__webpack_require__(513)),_reactRedux=__webpack_require__(514),_omit2=_interopRequireDefault(__webpack_require__(515));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var makeContainer=function makeContainer(getSystem,component,reduxStore){var wrappedWithSystem=function SystemWrapper(getSystem,ComponentToWrap){return function(_Component){function _class(){return(0,_classCallCheck3.default)(this,_class),(0,_possibleConstructorReturn3.default)(this,(_class.__proto__||(0,_getPrototypeOf2.default)(_class)).apply(this,arguments))}return(0,_inherits3.default)(_class,_Component),(0,_createClass3.default)(_class,[{key:"render",value:function render(){return _react2.default.createElement(ComponentToWrap,(0,_extends3.default)({},getSystem(),this.props,this.context))}}]),_class}(_react.Component)}(getSystem,component),connected=(0,_reactRedux.connect)(function mapStateToProps(state,ownProps){var propsForContainerComponent=(0,_assign2.default)({},ownProps,getSystem());return(component.prototype.mapStateToProps||function(state){return{state:state}})(state,propsForContainerComponent)})(wrappedWithSystem);return reduxStore?function RootWrapper(reduxStore,ComponentToWrap){return function(_Component2){function _class2(){return(0,_classCallCheck3.default)(this,_class2),(0,_possibleConstructorReturn3.default)(this,(_class2.__proto__||(0,_getPrototypeOf2.default)(_class2)).apply(this,arguments))}return(0,_inherits3.default)(_class2,_Component2),(0,_createClass3.default)(_class2,[{key:"render",value:function render(){return _react2.default.createElement(_reactRedux.Provider,{store:reduxStore},_react2.default.createElement(ComponentToWrap,(0,_extends3.default)({},this.props,this.context)))}}]),_class2}(_react.Component)}(reduxStore,connected):connected},handleProps=function handleProps(getSystem,mapping,props,oldProps){for(var prop in mapping){var fn=mapping[prop];"function"==typeof fn&&fn(props[prop],oldProps[prop],getSystem())}},Fallback=(exports.makeMappedContainer=function makeMappedContainer(getSystem,getStore,memGetComponent,getComponents,componentName,mapping){return function(_Component3){function _class3(props,context){(0,_classCallCheck3.default)(this,_class3);var _this3=(0,_possibleConstructorReturn3.default)(this,(_class3.__proto__||(0,_getPrototypeOf2.default)(_class3)).call(this,props,context));return handleProps(getSystem,mapping,props,{}),_this3}return(0,_inherits3.default)(_class3,_Component3),(0,_createClass3.default)(_class3,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){handleProps(getSystem,mapping,nextProps,this.props)}},{key:"render",value:function render(){var cleanProps=(0,_omit2.default)(this.props,mapping?(0,_keys2.default)(mapping):[]),Comp=memGetComponent(componentName,"root");return _react2.default.createElement(Comp,cleanProps)}}]),_class3}(_react.Component)},exports.render=function render(getSystem,getStore,getComponent,getComponents,domNode){var App=getComponent(getSystem,getStore,getComponents,"App","root");_reactDom2.default.render(_react2.default.createElement(App,null),domNode)},function Fallback(_ref){var name=_ref.name;return _react2.default.createElement("div",{style:{padding:"1em",color:"#aaa"}},"😱 ",_react2.default.createElement("i",null,"Could not render ","t"===name?"this component":name,", see the console."))}),wrapRender=function wrapRender(component){var target=function isStateless(component){return!(component.prototype&&component.prototype.isReactComponent)}(component)?function createClass(component){return function(_Component4){function _class4(){return(0,_classCallCheck3.default)(this,_class4),(0,_possibleConstructorReturn3.default)(this,(_class4.__proto__||(0,_getPrototypeOf2.default)(_class4)).apply(this,arguments))}return(0,_inherits3.default)(_class4,_Component4),(0,_createClass3.default)(_class4,[{key:"render",value:function render(){return component(this.props)}}]),_class4}(_react.Component)}(component):component,ori=target.prototype.render;return target.prototype.render=function render(){try{for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return ori.apply(this,args)}catch(error){return console.error(error),_react2.default.createElement(Fallback,{error:error,name:target.name})}},target};exports.getComponent=function getComponent(getSystem,getStore,getComponents,componentName,container){if("string"!=typeof componentName)throw new TypeError("Need a string, to fetch a component. Was given a "+(void 0===componentName?"undefined":(0,_typeof3.default)(componentName)));var component=getComponents(componentName);return component?container?"root"===container?makeContainer(getSystem,component,getStore()):makeContainer(getSystem,wrapRender(component)):wrapRender(component):(getSystem().log.warn("Could not find component",componentName),null)}},function(module,exports,__webpack_require__){var arrayLikeKeys=__webpack_require__(193),baseKeysIn=__webpack_require__(520),isArrayLike=__webpack_require__(65);module.exports=function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,!0):baseKeysIn(object)}},function(module,exports,__webpack_require__){var arrayPush=__webpack_require__(121),getPrototype=__webpack_require__(141),getSymbols=__webpack_require__(122),stubArray=__webpack_require__(192),getSymbolsIn=Object.getOwnPropertySymbols?function(object){for(var result=[];object;)arrayPush(result,getSymbols(object)),object=getPrototype(object);return result}:stubArray;module.exports=getSymbolsIn},function(module,exports,__webpack_require__){var baseGetAllKeys=__webpack_require__(191),getSymbolsIn=__webpack_require__(227),keysIn=__webpack_require__(226);module.exports=function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{fn:fn}};var fn=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}(__webpack_require__(133))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(_ref){var levels={debug:0,info:1,log:2,warn:3,error:4},getLevel=function getLevel(level){return levels[level]||-1},logLevel=_ref.configs.logLevel,logLevelInt=getLevel(logLevel);function log(level){for(var _console,_len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];getLevel(level)>=logLevelInt&&(_console=console)[level].apply(_console,args)}return log.warn=log.bind(null,"warn"),log.error=log.bind(null,"error"),log.info=log.bind(null,"info"),log.debug=log.bind(null,"debug"),{rootInjects:{log:log}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{fn:{AST:AST},components:{JumpToPath:_jumpToPath2.default}}};var AST=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}(__webpack_require__(232)),_jumpToPath2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(233))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLineNumberForPathAsync=exports.positionRangeForPathAsync=exports.pathForPositionAsync=void 0;var _promise2=_interopRequireDefault(__webpack_require__(137)),_typeof3=_interopRequireDefault(__webpack_require__(31));exports.getLineNumberForPath=getLineNumberForPath,exports.positionRangeForPath=positionRangeForPath,exports.pathForPosition=pathForPosition;var _yamlJs2=_interopRequireDefault(__webpack_require__(553)),_isArray2=_interopRequireDefault(__webpack_require__(14)),_find2=_interopRequireDefault(__webpack_require__(185));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var cachedCompose=(0,__webpack_require__(8).memoize)(_yamlJs2.default.compose),MAP_TAG="tag:yaml.org,2002:map",SEQ_TAG="tag:yaml.org,2002:seq";function getLineNumberForPath(yaml,path){if("string"!=typeof yaml)throw new TypeError("yaml should be a string");if(!(0,_isArray2.default)(path))throw new TypeError("path should be an array of strings");var i=0;return function find(current,path,last){if(!current)return last&&last.start_mark?last.start_mark.line:0;if(path.length&¤t.tag===MAP_TAG)for(i=0;i<current.value.length;i++){var pair=current.value[i],key=pair[0],value=pair[1];if(key.value===path[0])return find(value,path.slice(1),current);if(key.value===path[0].replace(/\[.*/,"")){var index=parseInt(path[0].match(/\[(.*)\]/)[1]);if(1===value.value.length&&0!==index&&index)var nextVal=(0,_find2.default)(value.value[0],{value:index.toString()});else var nextVal=value.value[index];return find(nextVal,path.slice(1),value.value)}}if(path.length&¤t.tag===SEQ_TAG){var item=current.value[path[0]];if(item&&item.tag)return find(item,path.slice(1),current.value)}return current.tag!==MAP_TAG||Array.isArray(last)?current.start_mark.line+1:current.start_mark.line}(cachedCompose(yaml),path)}function positionRangeForPath(yaml,path){if("string"!=typeof yaml)throw new TypeError("yaml should be a string");if(!(0,_isArray2.default)(path))throw new TypeError("path should be an array of strings");var invalidRange={start:{line:-1,column:-1},end:{line:-1,column:-1}},i=0;return function find(astValue,astKeyValue){if(astValue.tag===MAP_TAG)for(i=0;i<astValue.value.length;i++){var pair=astValue.value[i],key=pair[0],value=pair[1];if(key.value===path[0])return path.shift(),find(value,key)}if(astValue.tag===SEQ_TAG){var item=astValue.value[path[0]];if(item&&item.tag)return path.shift(),find(item,astKeyValue)}if(path.length)return invalidRange;var range={start:{line:astValue.start_mark.line,column:astValue.start_mark.column,pointer:astValue.start_mark.pointer},end:{line:astValue.end_mark.line,column:astValue.end_mark.column,pointer:astValue.end_mark.pointer}};astKeyValue&&(range.key_start={line:astKeyValue.start_mark.line,column:astKeyValue.start_mark.column,pointer:astKeyValue.start_mark.pointer},range.key_end={line:astKeyValue.end_mark.line,column:astKeyValue.end_mark.column,pointer:astKeyValue.end_mark.pointer});return range}(cachedCompose(yaml))}function pathForPosition(yaml,position){if("string"!=typeof yaml)throw new TypeError("yaml should be a string");if("object"!==(void 0===position?"undefined":(0,_typeof3.default)(position))||"number"!=typeof position.line||"number"!=typeof position.column)throw new TypeError("position should be an object with line and column properties");try{var ast=cachedCompose(yaml)}catch(e){return console.error("Error composing AST",e),console.error("Problem area:\n",yaml.split("\n").slice(position.line-5,position.line+5).join("\n")),null}var path=[];return function find(current){var i=0;if(!current||-1===[MAP_TAG,SEQ_TAG].indexOf(current.tag))return path;if(current.tag===MAP_TAG)for(i=0;i<current.value.length;i++){var pair=current.value[i],key=pair[0],value=pair[1];if(isInRange(key))return path;if(isInRange(value))return path.push(key.value),find(value)}if(current.tag===SEQ_TAG)for(i=0;i<current.value.length;i++){var item=current.value[i];if(isInRange(item))return path.push(i.toString()),find(item)}return path;function isInRange(node){return node.start_mark.line===node.end_mark.line?position.line===node.start_mark.line&&node.start_mark.column<=position.column&&node.end_mark.column>=position.column:position.line===node.start_mark.line?position.column>=node.start_mark.column:position.line===node.end_mark.line?position.column<=node.end_mark.column:node.start_mark.line<position.line&&node.end_mark.line>position.line}}(ast)}exports.pathForPositionAsync=promisifySyncFn(pathForPosition),exports.positionRangeForPathAsync=promisifySyncFn(positionRangeForPath),exports.getLineNumberForPathAsync=promisifySyncFn(getLineNumberForPath);function promisifySyncFn(fn){return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return new _promise2.default(function(resolve){return resolve(fn.apply(void 0,args))})}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var JumpToPath=function(_React$Component){function JumpToPath(){return(0,_classCallCheck3.default)(this,JumpToPath),(0,_possibleConstructorReturn3.default)(this,(JumpToPath.__proto__||(0,_getPrototypeOf2.default)(JumpToPath)).apply(this,arguments))}return(0,_inherits3.default)(JumpToPath,_React$Component),(0,_createClass3.default)(JumpToPath,[{key:"render",value:function render(){return null}}]),JumpToPath}(_interopRequireDefault(__webpack_require__(0)).default.Component);exports.default=JumpToPath},function(module,exports,__webpack_require__){"use strict";var _swaggerClient2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(235));module.exports=function(_ref){var configs=_ref.configs;return{fn:{fetch:_swaggerClient2.default.makeHttp(configs.preFetch,configs.postFetch),buildRequest:_swaggerClient2.default.buildRequest,execute:_swaggerClient2.default.execute,resolve:_swaggerClient2.default.resolve,resolveSubtree:_swaggerClient2.default.resolveSubtree,serializeRes:_swaggerClient2.default.serializeRes,opId:_swaggerClient2.default.helpers.opId}}}},function(module,exports){module.exports=require("swagger-client")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _defineProperty3=_interopRequireDefault(__webpack_require__(19));exports.default=function(){return{afterLoad:function afterLoad(system){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=system.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=preauthorizeApiKey.bind(null,system),this.rootInjects.preauthorizeBasic=preauthorizeBasic.bind(null,system)},statePlugins:{auth:{reducers:_reducers2.default,actions:actions,selectors:selectors},spec:{wrapActions:specWrapActionReplacements}}}},exports.preauthorizeBasic=preauthorizeBasic,exports.preauthorizeApiKey=preauthorizeApiKey;var _reducers2=_interopRequireDefault(__webpack_require__(237)),actions=_interopRequireWildcard(__webpack_require__(143)),selectors=_interopRequireWildcard(__webpack_require__(238)),specWrapActionReplacements=_interopRequireWildcard(__webpack_require__(239));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function preauthorizeBasic(system,key,username,password){var authorize=system.authActions.authorize,_system$specSelectors=system.specSelectors,specJson=_system$specSelectors.specJson,definitionBase=(0,_system$specSelectors.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],schema=specJson().getIn([].concat(definitionBase,[key]));return schema?authorize((0,_defineProperty3.default)({},key,{value:{username:username,password:password},schema:schema.toJS()})):null}function preauthorizeApiKey(system,key,value){var authorize=system.authActions.authorize,_system$specSelectors2=system.specSelectors,specJson=_system$specSelectors2.specJson,definitionBase=(0,_system$specSelectors2.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],schema=specJson().getIn([].concat(definitionBase,[key]));return schema?authorize((0,_defineProperty3.default)({},key,{value:value,schema:schema.toJS()})):null}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _SHOW_AUTH_POPUP$AUTH,_defineProperty3=_interopRequireDefault(__webpack_require__(19)),_assign2=_interopRequireDefault(__webpack_require__(20)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_immutable=__webpack_require__(7),_utils=__webpack_require__(8),_actions=__webpack_require__(143);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=(_SHOW_AUTH_POPUP$AUTH={},(0,_defineProperty3.default)(_SHOW_AUTH_POPUP$AUTH,_actions.SHOW_AUTH_POPUP,function(state,_ref){var payload=_ref.payload;return state.set("showDefinitions",payload)}),(0,_defineProperty3.default)(_SHOW_AUTH_POPUP$AUTH,_actions.AUTHORIZE,function(state,_ref2){var payload=_ref2.payload,securities=(0,_immutable.fromJS)(payload),map=state.get("authorized")||(0,_immutable.Map)();return securities.entrySeq().forEach(function(_ref3){var _ref4=(0,_slicedToArray3.default)(_ref3,2),key=_ref4[0],security=_ref4[1],type=security.getIn(["schema","type"]);if("apiKey"===type||"http"===type)map=map.set(key,security);else if("basic"===type){var username=security.getIn(["value","username"]),password=security.getIn(["value","password"]);map=(map=map.setIn([key,"value"],{username:username,header:"Basic "+(0,_utils.btoa)(username+":"+password)})).setIn([key,"schema"],security.get("schema"))}}),state.set("authorized",map)}),(0,_defineProperty3.default)(_SHOW_AUTH_POPUP$AUTH,_actions.AUTHORIZE_OAUTH2,function(state,_ref5){var payload=_ref5.payload,auth=payload.auth,token=payload.token,parsedAuth=void 0;return auth.token=(0,_assign2.default)({},token),parsedAuth=(0,_immutable.fromJS)(auth),state.setIn(["authorized",parsedAuth.get("name")],parsedAuth)}),(0,_defineProperty3.default)(_SHOW_AUTH_POPUP$AUTH,_actions.LOGOUT,function(state,_ref6){var payload=_ref6.payload,result=state.get("authorized").withMutations(function(authorized){payload.forEach(function(auth){authorized.delete(auth)})});return state.set("authorized",result)}),(0,_defineProperty3.default)(_SHOW_AUTH_POPUP$AUTH,_actions.CONFIGURE_AUTH,function(state,_ref7){var payload=_ref7.payload;return state.set("configs",payload)}),_SHOW_AUTH_POPUP$AUTH)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getConfigs=exports.isAuthorized=exports.authorized=exports.definitionsForRequirements=exports.getDefinitionsByNames=exports.definitionsToAuthorize=exports.shownDefinitions=void 0;var _keys2=_interopRequireDefault(__webpack_require__(30)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_reselect=__webpack_require__(36),_immutable=__webpack_require__(7);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var state=function state(_state){return _state};exports.shownDefinitions=(0,_reselect.createSelector)(state,function(auth){return auth.get("showDefinitions")}),exports.definitionsToAuthorize=(0,_reselect.createSelector)(state,function(){return function(_ref){var definitions=_ref.specSelectors.securityDefinitions()||(0,_immutable.Map)({}),list=(0,_immutable.List)();return definitions.entrySeq().forEach(function(_ref2){var _ref3=(0,_slicedToArray3.default)(_ref2,2),key=_ref3[0],val=_ref3[1],map=(0,_immutable.Map)();map=map.set(key,val),list=list.push(map)}),list}}),exports.getDefinitionsByNames=function getDefinitionsByNames(state,securities){return function(_ref4){var specSelectors=_ref4.specSelectors;console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");var securityDefinitions=specSelectors.securityDefinitions(),result=(0,_immutable.List)();return securities.valueSeq().forEach(function(names){var map=(0,_immutable.Map)();names.entrySeq().forEach(function(_ref5){var _ref6=(0,_slicedToArray3.default)(_ref5,2),name=_ref6[0],scopes=_ref6[1],definition=securityDefinitions.get(name),allowedScopes=void 0;"oauth2"===definition.get("type")&&scopes.size&&((allowedScopes=definition.get("scopes")).keySeq().forEach(function(key){scopes.contains(key)||(allowedScopes=allowedScopes.delete(key))}),definition=definition.set("allowedScopes",allowedScopes)),map=map.set(name,definition)}),result=result.push(map)}),result}},exports.definitionsForRequirements=function definitionsForRequirements(state){var securities=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,_immutable.List)();return function(_ref7){return(_ref7.authSelectors.definitionsToAuthorize()||(0,_immutable.List)()).filter(function(def){return securities.some(function(sec){return sec.get(def.keySeq().first())})})}},exports.authorized=(0,_reselect.createSelector)(state,function(auth){return auth.get("authorized")||(0,_immutable.Map)()}),exports.isAuthorized=function isAuthorized(state,securities){return function(_ref8){var authorized=_ref8.authSelectors.authorized();return _immutable.List.isList(securities)?!!securities.toJS().filter(function(security){return-1===(0,_keys2.default)(security).map(function(key){return!!authorized.get(key)}).indexOf(!1)}).length:null}},exports.getConfigs=(0,_reselect.createSelector)(state,function(auth){return auth.get("configs")})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.execute=void 0;var _extends3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(21));exports.execute=function execute(oriAction,_ref){var authSelectors=_ref.authSelectors,specSelectors=_ref.specSelectors;return function(_ref2){var path=_ref2.path,method=_ref2.method,operation=_ref2.operation,extras=_ref2.extras,securities={authorized:authSelectors.authorized()&&authSelectors.authorized().toJS(),definitions:specSelectors.securityDefinitions()&&specSelectors.securityDefinitions().toJS(),specSecurity:specSelectors.security()&&specSelectors.security().toJS()};return oriAction((0,_extends3.default)({path:path,method:method,operation:operation,securities:securities},extras))}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{fn:{shallowEqualKeys:_utils.shallowEqualKeys}}};var _utils=__webpack_require__(8)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function SplitPaneModePlugin(){return{components:{SplitPaneMode:_splitPaneMode2.default}}};var _splitPaneMode2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(242))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactSplitPane2=_interopRequireDefault(__webpack_require__(554));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var MODE_KEY=["split-pane-mode"],MODE_LEFT="left",MODE_RIGHT="right",MODE_BOTH="both",SplitPaneMode=function(_React$Component){function SplitPaneMode(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,SplitPaneMode);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=SplitPaneMode.__proto__||(0,_getPrototypeOf2.default)(SplitPaneMode)).call.apply(_ref,[this].concat(args))),_this.initializeComponent=function(c){_this.splitPane=c},_this.onDragFinished=function(){var _this$props=_this.props,threshold=_this$props.threshold,layoutActions=_this$props.layoutActions,_this$splitPane$state=_this.splitPane.state,position=_this$splitPane$state.position,draggedSize=_this$splitPane$state.draggedSize;_this.draggedSize=draggedSize;var nearLeftEdge=position<=threshold,nearRightEdge=draggedSize<=threshold;layoutActions.changeMode(MODE_KEY,nearLeftEdge?MODE_RIGHT:nearRightEdge?MODE_LEFT:MODE_BOTH)},_this.sizeFromMode=function(mode,defaultSize){return mode===MODE_LEFT?(_this.draggedSize=null,"0px"):mode===MODE_RIGHT?(_this.draggedSize=null,"100%"):_this.draggedSize||defaultSize},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(SplitPaneMode,_React$Component),(0,_createClass3.default)(SplitPaneMode,[{key:"render",value:function render(){var _props=this.props,children=_props.children,mode=_props.layoutSelectors.whatMode(MODE_KEY),left=mode===MODE_RIGHT?_react2.default.createElement("noscript",null):children[0],right=mode===MODE_LEFT?_react2.default.createElement("noscript",null):children[1],size=this.sizeFromMode(mode,"50%");return _react2.default.createElement(_reactSplitPane2.default,{disabledClass:"",ref:this.initializeComponent,split:"vertical",defaultSize:"50%",primary:"second",minSize:0,size:size,onDragFinished:this.onDragFinished,allowResize:mode!==MODE_LEFT&&mode!==MODE_RIGHT,resizerStyle:{flex:"0 0 auto",position:"relative"}},left,right)}}]),SplitPaneMode}(_react2.default.Component);SplitPaneMode.propTypes={threshold:_propTypes2.default.number,children:_propTypes2.default.array,layoutSelectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired},SplitPaneMode.defaultProps={threshold:100,children:[]},exports.default=SplitPaneMode},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _stringify2=_interopRequireDefault(__webpack_require__(27)),_assign2=_interopRequireDefault(__webpack_require__(20));exports.default=function downloadUrlPlugin(toolbox){var fn=toolbox.fn,actions={download:function download(url){return function(_ref){var errActions=_ref.errActions,specSelectors=_ref.specSelectors,specActions=_ref.specActions,getConfigs=_ref.getConfigs,fetch=fn.fetch,config=getConfigs();function next(res){if(res instanceof Error||res.status>=400)return specActions.updateLoadingStatus("failed"),errActions.newThrownErr((0,_assign2.default)(new Error((res.message||res.statusText)+" "+url),{source:"fetch"})),void(!res.status&&res instanceof Error&&function checkPossibleFailReasons(){try{var specUrl=void 0;if("URL"in _window2.default?specUrl=new URL(url):(specUrl=document.createElement("a")).href=url,"https:"!==specUrl.protocol&&"https:"===_window2.default.location.protocol){var error=(0,_assign2.default)(new Error("Possible mixed-content issue? The page was loaded over https:// but a "+specUrl.protocol+"// URL was specified. Check that you are not attempting to load mixed content."),{source:"fetch"});return void errActions.newThrownErr(error)}if(specUrl.origin!==_window2.default.location.origin){var _error=(0,_assign2.default)(new Error("Possible cross-origin (CORS) issue? The URL origin ("+specUrl.origin+") does not match the page ("+_window2.default.location.origin+"). Check the server returns the correct 'Access-Control-Allow-*' headers."),{source:"fetch"});errActions.newThrownErr(_error)}}catch(e){return}}());specActions.updateLoadingStatus("success"),specActions.updateSpec(res.text),specSelectors.url()!==url&&specActions.updateUrl(url)}url=url||specSelectors.url(),specActions.updateLoadingStatus("loading"),errActions.clear({source:"fetch"}),fetch({url:url,loadSpec:!0,requestInterceptor:config.requestInterceptor||function(a){return a},responseInterceptor:config.responseInterceptor||function(a){return a},credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(next,next)}},updateLoadingStatus:function updateLoadingStatus(status){var enums=[null,"loading","failed","success","failedConfig"];return-1===enums.indexOf(status)&&console.error("Error: "+status+" is not one of "+(0,_stringify2.default)(enums)),{type:"spec_update_loading_status",payload:status}}},selectors={loadingStatus:(0,_reselect.createSelector)(function(state){return state||(0,_immutable.Map)()},function(spec){return spec.get("loadingStatus")||null})};return{statePlugins:{spec:{actions:actions,reducers:{spec_update_loading_status:function spec_update_loading_status(state,action){return"string"==typeof action.payload?state.set("loadingStatus",action.payload):state}},selectors:selectors}}}};var _reselect=__webpack_require__(36),_immutable=__webpack_require__(7),_window2=_interopRequireDefault(__webpack_require__(22));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function configsPlugin(){return{statePlugins:{spec:{actions:specActions,selectors:specSelectors},configs:{reducers:_reducers2.default,actions:actions,selectors:selectors}}}};var _swaggerConfig2=_interopRequireDefault(__webpack_require__(555)),_helpers=__webpack_require__(144),actions=_interopRequireWildcard(__webpack_require__(145)),specActions=_interopRequireWildcard(__webpack_require__(245)),selectors=_interopRequireWildcard(__webpack_require__(246)),_reducers2=_interopRequireDefault(__webpack_require__(247));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var specSelectors={getLocalConfig:function getLocalConfig(){return(0,_helpers.parseYamlConfig)(_swaggerConfig2.default)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getConfigByUrl=exports.downloadConfig=void 0;var _helpers=__webpack_require__(144);exports.downloadConfig=function downloadConfig(req){return function(system){return(0,system.fn.fetch)(req)}},exports.getConfigByUrl=function getConfigByUrl(req,cb){return function(_ref){var specActions=_ref.specActions;if(req)return specActions.downloadConfig(req).then(next,next);function next(res){res instanceof Error||res.status>=400?(specActions.updateLoadingStatus("failedConfig"),specActions.updateLoadingStatus("failedConfig"),specActions.updateUrl(""),console.error(res.statusText+" "+req.url),cb(null)):cb((0,_helpers.parseYamlConfig)(res.text))}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.get=function get(state,path){return state.getIn(Array.isArray(path)?path:[path])}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _UPDATE_CONFIGS$TOGGL,_defineProperty3=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(19)),_immutable=__webpack_require__(7),_actions=__webpack_require__(145);exports.default=(_UPDATE_CONFIGS$TOGGL={},(0,_defineProperty3.default)(_UPDATE_CONFIGS$TOGGL,_actions.UPDATE_CONFIGS,function(state,action){return state.merge((0,_immutable.fromJS)(action.payload))}),(0,_defineProperty3.default)(_UPDATE_CONFIGS$TOGGL,_actions.TOGGLE_CONFIGS,function(state,action){var configName=action.payload,oriVal=state.get(configName);return state.set(configName,!oriVal)}),_UPDATE_CONFIGS$TOGGL)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return[_layout2.default,{statePlugins:{configs:{wrapActions:{loaded:function loaded(ori,system){return function(){ori.apply(void 0,arguments);var hash=window.location.hash;system.layoutActions.parseDeepLinkHash(hash)}}}}},wrapComponents:{operation:_operationWrapper2.default,OperationTag:_operationTagWrapper2.default}}]};var _layout2=_interopRequireDefault(__webpack_require__(249)),_operationWrapper2=_interopRequireDefault(__webpack_require__(251)),_operationTagWrapper2=_interopRequireDefault(__webpack_require__(252));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.clearScrollTo=exports.scrollToElement=exports.readyToScroll=exports.parseDeepLinkHash=exports.scrollTo=exports.show=void 0;var _reducers,_defineProperty3=_interopRequireDefault(__webpack_require__(19)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_helpers=__webpack_require__(250),_zenscroll2=_interopRequireDefault(__webpack_require__(556)),_immutable=__webpack_require__(7),_immutable2=_interopRequireDefault(_immutable);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var show=exports.show=function show(ori,_ref){var getConfigs=_ref.getConfigs,layoutSelectors=_ref.layoutSelectors;return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];if(ori.apply(void 0,args),getConfigs().deepLinking)try{var tokenArray=args[0],shown=args[1];tokenArray=Array.isArray(tokenArray)?tokenArray:[tokenArray];var urlHashArray=layoutSelectors.urlHashArrayFromIsShownKey(tokenArray);if(!urlHashArray.length)return;var _urlHashArray=(0,_slicedToArray3.default)(urlHashArray,2),type=_urlHashArray[0],assetName=_urlHashArray[1];if(!shown)return(0,_helpers.setHash)("/");2===urlHashArray.length?(0,_helpers.setHash)("/"+type+"/"+assetName):1===urlHashArray.length&&(0,_helpers.setHash)("/"+type)}catch(e){console.error(e)}}},scrollTo=exports.scrollTo=function scrollTo(path){return{type:"layout_scroll_to",payload:Array.isArray(path)?path:[path]}},parseDeepLinkHash=exports.parseDeepLinkHash=function parseDeepLinkHash(rawHash){return function(_ref2){var layoutActions=_ref2.layoutActions,layoutSelectors=_ref2.layoutSelectors;if((0,_ref2.getConfigs)().deepLinking&&rawHash){var hash=rawHash.slice(1);"!"===hash[0]&&(hash=hash.slice(1)),"/"===hash[0]&&(hash=hash.slice(1));var isShownKey=layoutSelectors.isShownKeyFromUrlHashArray(hash.split("/"));layoutActions.show(isShownKey,!0),layoutActions.scrollTo(isShownKey)}}},readyToScroll=exports.readyToScroll=function readyToScroll(isShownKey,ref){return function(system){var scrollToKey=system.layoutSelectors.getScrollToKey();_immutable2.default.is(scrollToKey,(0,_immutable.fromJS)(isShownKey))&&(system.layoutActions.scrollToElement(ref),system.layoutActions.clearScrollTo())}},scrollToElement=exports.scrollToElement=function scrollToElement(ref,container){return function(system){try{container=container||system.fn.getScrollParent(ref),_zenscroll2.default.createScroller(container).to(ref)}catch(e){console.error(e)}}},clearScrollTo=exports.clearScrollTo=function clearScrollTo(){return{type:"layout_clear_scroll"}};exports.default={fn:{getScrollParent:function getScrollParent(element,includeHidden){var LAST_RESORT=document.documentElement,style=getComputedStyle(element),excludeStaticParent="absolute"===style.position,overflowRegex=includeHidden?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===style.position)return LAST_RESORT;for(var parent=element;parent=parent.parentElement;)if(style=getComputedStyle(parent),(!excludeStaticParent||"static"!==style.position)&&overflowRegex.test(style.overflow+style.overflowY+style.overflowX))return parent;return LAST_RESORT}},statePlugins:{layout:{actions:{scrollToElement:scrollToElement,scrollTo:scrollTo,clearScrollTo:clearScrollTo,readyToScroll:readyToScroll,parseDeepLinkHash:parseDeepLinkHash},selectors:{getScrollToKey:function getScrollToKey(state){return state.get("scrollToKey")},isShownKeyFromUrlHashArray:function isShownKeyFromUrlHashArray(state,urlHashArray){var _urlHashArray2=(0,_slicedToArray3.default)(urlHashArray,2),tag=_urlHashArray2[0],operationId=_urlHashArray2[1];return operationId?["operations",tag,operationId]:tag?["operations-tag",tag]:[]},urlHashArrayFromIsShownKey:function urlHashArrayFromIsShownKey(state,isShownKey){var _isShownKey=(0,_slicedToArray3.default)(isShownKey,3),type=_isShownKey[0],tag=_isShownKey[1],operationId=_isShownKey[2];return"operations"==type?[tag,operationId]:"operations-tag"==type?[tag]:[]}},reducers:(_reducers={},(0,_defineProperty3.default)(_reducers,"layout_scroll_to",function(state,action){return state.set("scrollToKey",_immutable2.default.fromJS(action.payload))}),(0,_defineProperty3.default)(_reducers,"layout_clear_scroll",function(state){return state.delete("scrollToKey")}),_reducers),wrapActions:{show:show}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.setHash=function setHash(value){return value?history.pushState(null,null,"#"+value):window.location.hash=""}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function Wrapper(Ori,system){var _class,_temp2;return _temp2=_class=function(_React$Component){function OperationWrapper(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,OperationWrapper);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=OperationWrapper.__proto__||(0,_getPrototypeOf2.default)(OperationWrapper)).call.apply(_ref,[this].concat(args))),_this.onLoad=function(ref){var _operation$toObject=_this.props.operation.toObject(),isShownKey=["operations",_operation$toObject.tag,_operation$toObject.operationId];system.layoutActions.readyToScroll(isShownKey,ref)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(OperationWrapper,_React$Component),(0,_createClass3.default)(OperationWrapper,[{key:"render",value:function render(){return _react2.default.createElement("span",{ref:this.onLoad},_react2.default.createElement(Ori,this.props))}}]),OperationWrapper}(_react2.default.Component),_class.propTypes={operation:_reactImmutableProptypes2.default.map.isRequired},_temp2}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function Wrapper(Ori,system){var _class,_temp2;return _temp2=_class=function(_React$Component){function OperationTagWrapper(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,OperationTagWrapper);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=OperationTagWrapper.__proto__||(0,_getPrototypeOf2.default)(OperationTagWrapper)).call.apply(_ref,[this].concat(args))),_this.onLoad=function(ref){var isShownKey=["operations-tag",_this.props.tag];system.layoutActions.readyToScroll(isShownKey,ref)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(OperationTagWrapper,_React$Component),(0,_createClass3.default)(OperationTagWrapper,[{key:"render",value:function render(){return _react2.default.createElement("span",{ref:this.onLoad},_react2.default.createElement(Ori,this.props))}}]),OperationTagWrapper}(_react2.default.Component),_class.propTypes={tag:_propTypes.PropTypes.object.isRequired},_temp2}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{fn:{opsFilter:_opsFilter2.default}}};var _opsFilter2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(254))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(taggedOps,phrase){return taggedOps.filter(function(tagObj,tag){return-1!==tag.indexOf(phrase)})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{statePlugins:{spec:{wrapActions:{updateSpec:function updateSpec(ori){return function(){return engaged=!0,ori.apply(void 0,arguments)}},updateJsonSpec:function updateJsonSpec(ori,system){return function(){var cb=system.getConfigs().onComplete;return engaged&&"function"==typeof cb&&(setTimeout(cb,0),engaged=!1),ori.apply(void 0,arguments)}}}}}}};var engaged=!1},function(module,exports){module.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwcHgiICBoZWlnaHQ9IjIwMHB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiIGNsYXNzPSJsZHMtcm9sbGluZyIgc3R5bGU9ImJhY2tncm91bmQtaW1hZ2U6IG5vbmU7IGJhY2tncm91bmQtcG9zaXRpb246IGluaXRpYWwgaW5pdGlhbDsgYmFja2dyb3VuZC1yZXBlYXQ6IGluaXRpYWwgaW5pdGlhbDsiPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIGZpbGw9Im5vbmUiIG5nLWF0dHItc3Ryb2tlPSJ7e2NvbmZpZy5jb2xvcn19IiBuZy1hdHRyLXN0cm9rZS13aWR0aD0ie3tjb25maWcud2lkdGh9fSIgbmctYXR0ci1yPSJ7e2NvbmZpZy5yYWRpdXN9fSIgbmctYXR0ci1zdHJva2UtZGFzaGFycmF5PSJ7e2NvbmZpZy5kYXNoYXJyYXl9fSIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjEwIiByPSIzNSIgc3Ryb2tlLWRhc2hhcnJheT0iMTY0LjkzMzYxNDMxMzQ2NDE1IDU2Ljk3Nzg3MTQzNzgyMTM4Ij48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgY2FsY01vZGU9ImxpbmVhciIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49IjBzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvc3ZnPgo="},function(module,exports){module.exports=require("react-collapse")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Collapse=exports.Link=exports.Select=exports.Input=exports.TextArea=exports.Button=exports.Row=exports.Col=exports.Container=void 0;var _extends3=_interopRequireDefault(__webpack_require__(21)),_objectWithoutProperties3=_interopRequireDefault(__webpack_require__(68)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactCollapse=__webpack_require__(257);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function xclass(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return args.filter(function(a){return!!a}).join(" ").trim()}(exports.Container=function(_React$Component){function Container(){return(0,_classCallCheck3.default)(this,Container),(0,_possibleConstructorReturn3.default)(this,(Container.__proto__||(0,_getPrototypeOf2.default)(Container)).apply(this,arguments))}return(0,_inherits3.default)(Container,_React$Component),(0,_createClass3.default)(Container,[{key:"render",value:function render(){var _props=this.props,fullscreen=_props.fullscreen,full=_props.full,rest=(0,_objectWithoutProperties3.default)(_props,["fullscreen","full"]);if(fullscreen)return _react2.default.createElement("section",rest);var containerClass="swagger-container"+(full?"-full":"");return _react2.default.createElement("section",(0,_extends3.default)({},rest,{className:xclass(rest.className,containerClass)}))}}]),Container}(_react2.default.Component)).propTypes={fullscreen:_propTypes2.default.bool,full:_propTypes2.default.bool,className:_propTypes2.default.string};var DEVICES={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};(exports.Col=function(_React$Component2){function Col(){return(0,_classCallCheck3.default)(this,Col),(0,_possibleConstructorReturn3.default)(this,(Col.__proto__||(0,_getPrototypeOf2.default)(Col)).apply(this,arguments))}return(0,_inherits3.default)(Col,_React$Component2),(0,_createClass3.default)(Col,[{key:"render",value:function render(){var _props2=this.props,hide=_props2.hide,keepContents=_props2.keepContents,rest=(_props2.mobile,_props2.tablet,_props2.desktop,_props2.large,(0,_objectWithoutProperties3.default)(_props2,["hide","keepContents","mobile","tablet","desktop","large"]));if(hide&&!keepContents)return _react2.default.createElement("span",null);var classesAr=[];for(var device in DEVICES)if(DEVICES.hasOwnProperty(device)){var deviceClass=DEVICES[device];if(device in this.props){var val=this.props[device];if(val<1){classesAr.push("none"+deviceClass);continue}classesAr.push("block"+deviceClass),classesAr.push("col-"+val+deviceClass)}}var classes=xclass.apply(void 0,[rest.className].concat(classesAr));return _react2.default.createElement("section",(0,_extends3.default)({},rest,{style:{display:hide?"none":null},className:classes}))}}]),Col}(_react2.default.Component)).propTypes={hide:_propTypes2.default.bool,keepContents:_propTypes2.default.bool,mobile:_propTypes2.default.number,tablet:_propTypes2.default.number,desktop:_propTypes2.default.number,large:_propTypes2.default.number,className:_propTypes2.default.string},(exports.Row=function(_React$Component3){function Row(){return(0,_classCallCheck3.default)(this,Row),(0,_possibleConstructorReturn3.default)(this,(Row.__proto__||(0,_getPrototypeOf2.default)(Row)).apply(this,arguments))}return(0,_inherits3.default)(Row,_React$Component3),(0,_createClass3.default)(Row,[{key:"render",value:function render(){return _react2.default.createElement("div",(0,_extends3.default)({},this.props,{className:xclass(this.props.className,"wrapper")}))}}]),Row}(_react2.default.Component)).propTypes={className:_propTypes2.default.string};var Button=exports.Button=function(_React$Component4){function Button(){return(0,_classCallCheck3.default)(this,Button),(0,_possibleConstructorReturn3.default)(this,(Button.__proto__||(0,_getPrototypeOf2.default)(Button)).apply(this,arguments))}return(0,_inherits3.default)(Button,_React$Component4),(0,_createClass3.default)(Button,[{key:"render",value:function render(){return _react2.default.createElement("button",(0,_extends3.default)({},this.props,{className:xclass(this.props.className,"button")}))}}]),Button}(_react2.default.Component);Button.propTypes={className:_propTypes2.default.string},Button.defaultProps={className:""};exports.TextArea=function TextArea(props){return _react2.default.createElement("textarea",props)},exports.Input=function Input(props){return _react2.default.createElement("input",props)};var Select=exports.Select=function(_React$Component5){function Select(props,context){(0,_classCallCheck3.default)(this,Select);var _this5=(0,_possibleConstructorReturn3.default)(this,(Select.__proto__||(0,_getPrototypeOf2.default)(Select)).call(this,props,context));_initialiseProps.call(_this5);var value=void 0;return value=props.value?props.value:props.multiple?[""]:"",_this5.state={value:value},_this5}return(0,_inherits3.default)(Select,_React$Component5),(0,_createClass3.default)(Select,[{key:"render",value:function render(){var _props3=this.props,allowedValues=_props3.allowedValues,multiple=_props3.multiple,allowEmptyValue=_props3.allowEmptyValue,value=this.state.value.toJS?this.state.value.toJS():this.state.value;return _react2.default.createElement("select",{className:this.props.className,multiple:multiple,value:value,onChange:this.onChange},allowEmptyValue?_react2.default.createElement("option",{value:""},"--"):null,allowedValues.map(function(item,key){return _react2.default.createElement("option",{key:key,value:String(item)},String(item))}))}}]),Select}(_react2.default.Component);Select.propTypes={allowedValues:_propTypes2.default.array,value:_propTypes2.default.any,onChange:_propTypes2.default.func,multiple:_propTypes2.default.bool,allowEmptyValue:_propTypes2.default.bool,className:_propTypes2.default.string},Select.defaultProps={multiple:!1,allowEmptyValue:!0};var _initialiseProps=function _initialiseProps(){var _this8=this;this.onChange=function(e){var _props5=_this8.props,onChange=_props5.onChange,multiple=_props5.multiple,options=[].slice.call(e.target.options),value=void 0;value=multiple?options.filter(function(option){return option.selected}).map(function(option){return option.value}):e.target.value,_this8.setState({value:value}),onChange&&onChange(value)}};(exports.Link=function(_React$Component6){function Link(){return(0,_classCallCheck3.default)(this,Link),(0,_possibleConstructorReturn3.default)(this,(Link.__proto__||(0,_getPrototypeOf2.default)(Link)).apply(this,arguments))}return(0,_inherits3.default)(Link,_React$Component6),(0,_createClass3.default)(Link,[{key:"render",value:function render(){return _react2.default.createElement("a",(0,_extends3.default)({},this.props,{className:xclass(this.props.className,"link")}))}}]),Link}(_react2.default.Component)).propTypes={className:_propTypes2.default.string};var NoMargin=function NoMargin(_ref){var children=_ref.children;return _react2.default.createElement("div",{style:{height:"auto",border:"none",margin:0,padding:0}}," ",children," ")};NoMargin.propTypes={children:_propTypes2.default.node};var Collapse=exports.Collapse=function(_React$Component7){function Collapse(){return(0,_classCallCheck3.default)(this,Collapse),(0,_possibleConstructorReturn3.default)(this,(Collapse.__proto__||(0,_getPrototypeOf2.default)(Collapse)).apply(this,arguments))}return(0,_inherits3.default)(Collapse,_React$Component7),(0,_createClass3.default)(Collapse,[{key:"renderNotAnimated",value:function renderNotAnimated(){return this.props.isOpened?_react2.default.createElement(NoMargin,null,this.props.children):_react2.default.createElement("noscript",null)}},{key:"render",value:function render(){var _props4=this.props,animated=_props4.animated,isOpened=_props4.isOpened,children=_props4.children;return animated?(children=isOpened?children:null,_react2.default.createElement(_reactCollapse.Collapse,{isOpened:isOpened},_react2.default.createElement(NoMargin,null,children))):this.renderNotAnimated()}}]),Collapse}(_react2.default.Component);Collapse.propTypes={isOpened:_propTypes2.default.bool,children:_propTypes2.default.node.isRequired,animated:_propTypes2.default.bool},Collapse.defaultProps={isOpened:!1,animated:!1}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends3=_interopRequireDefault(__webpack_require__(21)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_reactImmutablePureComponent2=_interopRequireDefault(__webpack_require__(604)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Model=function(_ImmutablePureCompone){function Model(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Model);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Model.__proto__||(0,_getPrototypeOf2.default)(Model)).call.apply(_ref,[this].concat(args))),_this.getModelName=function(ref){return-1!==ref.indexOf("#/definitions/")?ref.replace(/^.*#\/definitions\//,""):-1!==ref.indexOf("#/components/schemas/")?ref.replace("#/components/schemas/",""):void 0},_this.getRefSchema=function(model){return _this.props.specSelectors.findDefinition(model)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Model,_ImmutablePureCompone),(0,_createClass3.default)(Model,[{key:"render",value:function render(){var _props=this.props,getComponent=_props.getComponent,getConfigs=_props.getConfigs,specSelectors=_props.specSelectors,schema=_props.schema,required=_props.required,name=_props.name,isRef=_props.isRef,specPath=_props.specPath,displayName=_props.displayName,ObjectModel=getComponent("ObjectModel"),ArrayModel=getComponent("ArrayModel"),PrimitiveModel=getComponent("PrimitiveModel"),type="object",$$ref=schema&&schema.get("$$ref");if(!name&&$$ref&&(name=this.getModelName($$ref)),!schema&&$$ref&&(schema=this.getRefSchema(name)),!schema)return _react2.default.createElement("span",{className:"model model-title"},_react2.default.createElement("span",{className:"model-title__text"},displayName||name),_react2.default.createElement("img",{src:__webpack_require__(256),height:"20px",width:"20px",style:{marginLeft:"1em",position:"relative",bottom:"0px"}}));var deprecated=specSelectors.isOAS3()&&schema.get("deprecated");switch(isRef=void 0!==isRef?isRef:!!$$ref,type=schema&&schema.get("type")||type){case"object":return _react2.default.createElement(ObjectModel,(0,_extends3.default)({className:"object"},this.props,{specPath:specPath,getConfigs:getConfigs,schema:schema,name:name,deprecated:deprecated,isRef:isRef}));case"array":return _react2.default.createElement(ArrayModel,(0,_extends3.default)({className:"array"},this.props,{getConfigs:getConfigs,schema:schema,name:name,deprecated:deprecated,required:required}));case"string":case"number":case"integer":case"boolean":default:return _react2.default.createElement(PrimitiveModel,(0,_extends3.default)({},this.props,{getComponent:getComponent,getConfigs:getConfigs,schema:schema,name:name,deprecated:deprecated,required:required}))}}}]),Model}(_reactImmutablePureComponent2.default);Model.propTypes={schema:_reactImmutableProptypes2.default.orderedMap.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,name:_propTypes2.default.string,displayName:_propTypes2.default.string,isRef:_propTypes2.default.bool,required:_propTypes2.default.bool,expandDepth:_propTypes2.default.number,depth:_propTypes2.default.number,specPath:_reactImmutableProptypes2.default.list.isRequired},exports.default=Model},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sanitizer=sanitizer;var _react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_remarkable2=_interopRequireDefault(__webpack_require__(616)),_dompurify2=_interopRequireDefault(__webpack_require__(617)),_classnames2=_interopRequireDefault(__webpack_require__(93));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var isPlainText=function isPlainText(str){return/^[A-Z\s0-9!?\.]+$/gi.test(str)};function Markdown(_ref){var source=_ref.source,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;if(isPlainText(source))return _react2.default.createElement("div",{className:"markdown"},source);var html=new _remarkable2.default({html:!0,typographer:!0,breaks:!0,linkify:!0,linkTarget:"_blank"}).render(source),sanitized=sanitizer(html);return source&&html&&sanitized?_react2.default.createElement("div",{className:(0,_classnames2.default)(className,"markdown"),dangerouslySetInnerHTML:{__html:sanitized}}):null}function sanitizer(str){return _dompurify2.default.sanitize(str,{ADD_ATTR:["target"]})}Markdown.propTypes={source:_propTypes2.default.string.isRequired,className:_propTypes2.default.string},exports.default=Markdown},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){return{components:_components2.default,wrapComponents:_wrapComponents2.default,statePlugins:{spec:{wrapSelectors:specWrapSelectors,selectors:specSelectors},auth:{wrapSelectors:authWrapSelectors},oas3:{actions:oas3Actions,reducers:_reducers2.default,selectors:oas3Selectors}}}};var specWrapSelectors=_interopRequireWildcard(__webpack_require__(262)),authWrapSelectors=_interopRequireWildcard(__webpack_require__(263)),specSelectors=_interopRequireWildcard(__webpack_require__(264)),_components2=_interopRequireDefault(__webpack_require__(265)),_wrapComponents2=_interopRequireDefault(__webpack_require__(274)),oas3Actions=_interopRequireWildcard(__webpack_require__(146)),oas3Selectors=_interopRequireWildcard(__webpack_require__(282)),_reducers2=_interopRequireDefault(__webpack_require__(283));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isSwagger2=exports.isOAS3=exports.servers=exports.schemes=exports.produces=exports.consumes=exports.basePath=exports.host=exports.securityDefinitions=exports.hasHost=exports.definitions=void 0;var _reselect=__webpack_require__(36),_immutable=__webpack_require__(7),_helpers=__webpack_require__(23);function onlyOAS3(selector){return function(ori,system){return function(){var spec=system.getSystem().specSelectors.specJson();return(0,_helpers.isOAS3)(spec)?selector.apply(void 0,arguments):ori.apply(void 0,arguments)}}}var state=function state(_state){return _state||(0,_immutable.Map)()},OAS3NullSelector=onlyOAS3((0,_reselect.createSelector)(function(){return null})),specJson=(0,_reselect.createSelector)(state,function(spec){return spec.get("json",(0,_immutable.Map)())}),specResolved=(0,_reselect.createSelector)(state,function(spec){return spec.get("resolved",(0,_immutable.Map)())}),spec=function spec(state){var res=specResolved(state);return res.count()<1&&(res=specJson(state)),res};exports.definitions=onlyOAS3((0,_reselect.createSelector)(spec,function(spec){return spec.getIn(["components","schemas"])||(0,_immutable.Map)()})),exports.hasHost=onlyOAS3(function(state){return spec(state).hasIn(["servers",0])}),exports.securityDefinitions=onlyOAS3((0,_reselect.createSelector)(spec,function(spec){return spec.getIn(["components","securitySchemes"])||null})),exports.host=OAS3NullSelector,exports.basePath=OAS3NullSelector,exports.consumes=OAS3NullSelector,exports.produces=OAS3NullSelector,exports.schemes=OAS3NullSelector,exports.servers=onlyOAS3((0,_reselect.createSelector)(spec,function(spec){return spec.getIn(["servers"])||(0,_immutable.Map)()})),exports.isOAS3=function isOAS3(ori,system){return function(){var spec=system.getSystem().specSelectors.specJson();return(0,_helpers.isOAS3)(_immutable.Map.isMap(spec)?spec:(0,_immutable.Map)())}},exports.isSwagger2=function isSwagger2(ori,system){return function(){var spec=system.getSystem().specSelectors.specJson();return(0,_helpers.isSwagger2)(_immutable.Map.isMap(spec)?spec:(0,_immutable.Map)())}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.definitionsToAuthorize=void 0;var _defineProperty3=_interopRequireDefault(__webpack_require__(19)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_reselect=__webpack_require__(36),_immutable=__webpack_require__(7),_helpers=__webpack_require__(23);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.definitionsToAuthorize=function onlyOAS3(selector){return function(ori,system){return function(state){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var spec=system.getSystem().specSelectors.specJson();return(0,_helpers.isOAS3)(spec)?selector.apply(void 0,[system].concat(args)):ori.apply(void 0,args)}}}((0,_reselect.createSelector)(function state(_state){return _state},function(_ref){return _ref.specSelectors.securityDefinitions()},function(system,definitions){var list=(0,_immutable.List)();return definitions.entrySeq().forEach(function(_ref2){var _ref3=(0,_slicedToArray3.default)(_ref2,2),defName=_ref3[0],definition=_ref3[1],type=definition.get("type");"oauth2"===type&&definition.get("flows").entrySeq().forEach(function(_ref4){var _ref5=(0,_slicedToArray3.default)(_ref4,2),flowKey=_ref5[0],flowVal=_ref5[1],translatedDef=(0,_immutable.fromJS)({flow:flowKey,authorizationUrl:flowVal.get("authorizationUrl"),tokenUrl:flowVal.get("tokenUrl"),scopes:flowVal.get("scopes"),type:definition.get("type")});list=list.push(new _immutable.Map((0,_defineProperty3.default)({},defName,translatedDef.filter(function(v){return void 0!==v}))))}),"http"!==type&&"apiKey"!==type||(list=list.push(new _immutable.Map((0,_defineProperty3.default)({},defName,definition))))}),list}))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isSwagger2=exports.servers=void 0;var _reselect=__webpack_require__(36),_immutable=__webpack_require__(7),_helpers=__webpack_require__(23);var state=function state(_state){return _state||(0,_immutable.Map)()},specJson=(0,_reselect.createSelector)(state,function(spec){return spec.get("json",(0,_immutable.Map)())}),specResolved=(0,_reselect.createSelector)(state,function(spec){return spec.get("resolved",(0,_immutable.Map)())});exports.servers=function onlyOAS3(selector){return function(){return function(system){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var spec=system.getSystem().specSelectors.specJson();return(0,_helpers.isOAS3)(spec)?selector.apply(void 0,args):null}}}((0,_reselect.createSelector)(function spec(state){var res=specResolved(state);return res.count()<1&&(res=specJson(state)),res},function(spec){return spec.getIn(["servers"])||(0,_immutable.Map)()})),exports.isSwagger2=function isSwagger2(ori,system){return function(){var spec=system.getSystem().specSelectors.specJson();return(0,_helpers.isSwagger2)(spec)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _callbacks2=_interopRequireDefault(__webpack_require__(266)),_requestBody2=_interopRequireDefault(__webpack_require__(267)),_operationLink2=_interopRequireDefault(__webpack_require__(268)),_servers2=_interopRequireDefault(__webpack_require__(269)),_serversContainer2=_interopRequireDefault(__webpack_require__(270)),_requestBodyEditor2=_interopRequireDefault(__webpack_require__(271)),_httpAuth2=_interopRequireDefault(__webpack_require__(272)),_operationServers2=_interopRequireDefault(__webpack_require__(273));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default={Callbacks:_callbacks2.default,HttpAuth:_httpAuth2.default,RequestBody:_requestBody2.default,Servers:_servers2.default,ServersContainer:_serversContainer2.default,RequestBodyEditor:_requestBodyEditor2.default,OperationServers:_operationServers2.default,operationLink:_operationLink2.default}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends3=_interopRequireDefault(__webpack_require__(21)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_immutable=__webpack_require__(7);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Callbacks=function Callbacks(props){var callbacks=props.callbacks,getComponent=props.getComponent,specPath=props.specPath,OperationContainer=getComponent("OperationContainer",!0);if(!callbacks)return _react2.default.createElement("span",null,"No callbacks");var callbackElements=callbacks.map(function(callback,callbackName){return _react2.default.createElement("div",{key:callbackName},_react2.default.createElement("h2",null,callbackName),callback.map(function(pathItem,pathItemName){return"$$ref"===pathItemName?null:_react2.default.createElement("div",{key:pathItemName},pathItem.map(function(operation,method){if("$$ref"===method)return null;var op=(0,_immutable.fromJS)({operation:operation});return _react2.default.createElement(OperationContainer,(0,_extends3.default)({},props,{op:op,key:method,tag:"",method:method,path:pathItemName,specPath:specPath.push(callbackName,pathItemName,method),allowTryItOut:!1}))}))}))});return _react2.default.createElement("div",null,callbackElements)};Callbacks.propTypes={getComponent:_propTypes2.default.func.isRequired,callbacks:_reactImmutableProptypes2.default.iterable.isRequired,specPath:_reactImmutableProptypes2.default.list.isRequired},exports.default=Callbacks},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_utils=__webpack_require__(8),_immutable=__webpack_require__(7);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var RequestBody=function RequestBody(_ref){var requestBody=_ref.requestBody,requestBodyValue=_ref.requestBodyValue,getComponent=_ref.getComponent,getConfigs=_ref.getConfigs,specSelectors=_ref.specSelectors,fn=_ref.fn,contentType=_ref.contentType,isExecute=_ref.isExecute,specPath=_ref.specPath,_onChange=_ref.onChange,Markdown=getComponent("Markdown"),ModelExample=getComponent("modelExample"),RequestBodyEditor=getComponent("RequestBodyEditor"),requestBodyDescription=requestBody&&requestBody.get("description")||null,requestBodyContent=requestBody&&requestBody.get("content")||new _immutable.OrderedMap;contentType=contentType||requestBodyContent.keySeq().first();var mediaTypeValue=requestBodyContent.get(contentType),isObjectContent="object"===mediaTypeValue.getIn(["schema","type"]);if(!mediaTypeValue)return null;if("application/octet-stream"===contentType||0===contentType.indexOf("image/")||0===contentType.indexOf("audio/")||0===contentType.indexOf("video/")){var Input=getComponent("Input");return isExecute?_react2.default.createElement(Input,{type:"file",onChange:function handleFile(e){_onChange(e.target.files[0])}}):_react2.default.createElement("i",null,"Example values are not available for ",_react2.default.createElement("code",null,"application/octet-stream")," media types.")}if(isObjectContent&&("application/x-www-form-urlencoded"===contentType||0===contentType.indexOf("multipart/"))){var JsonSchemaForm=getComponent("JsonSchemaForm"),HighlightCode=getComponent("highlightCode"),bodyProperties=requestBody.getIn(["content",contentType,"schema","properties"],(0,_immutable.OrderedMap)());return requestBodyValue=_immutable.Map.isMap(requestBodyValue)?requestBodyValue:(0,_immutable.OrderedMap)(),_react2.default.createElement("div",{className:"table-container"},_react2.default.createElement("table",null,_react2.default.createElement("tbody",null,bodyProperties.map(function(prop,key){var required=prop.get("required"),type=prop.get("type"),format=prop.get("format"),isFile="string"===type&&("binary"===format||"base64"===format);return _react2.default.createElement("tr",{key:key,className:"parameters"},_react2.default.createElement("td",{className:"col parameters-col_name"},_react2.default.createElement("div",{className:required?"parameter__name required":"parameter__name"},key,required?_react2.default.createElement("span",{style:{color:"red"}}," *"):null),_react2.default.createElement("div",{className:"parameter__type"},type,format&&_react2.default.createElement("span",{className:"prop-format"},"($",format,")")),_react2.default.createElement("div",{className:"parameter__deprecated"},prop.get("deprecated")?"deprecated":null)),_react2.default.createElement("td",{className:"col parameters-col_description"},isExecute?_react2.default.createElement(JsonSchemaForm,{fn:fn,dispatchInitialValue:!isFile,schema:prop,getComponent:getComponent,value:requestBodyValue.get(key)||(0,_utils.getSampleSchema)(prop),onChange:function onChange(value){_onChange(value,[key])}}):_react2.default.createElement(HighlightCode,{className:"example",value:(0,_utils.getSampleSchema)(prop)})))}))))}return _react2.default.createElement("div",null,requestBodyDescription&&_react2.default.createElement(Markdown,{source:requestBodyDescription}),_react2.default.createElement(ModelExample,{getComponent:getComponent,getConfigs:getConfigs,specSelectors:specSelectors,expandDepth:1,isExecute:isExecute,schema:mediaTypeValue.get("schema"),specPath:specPath.push("content",contentType),example:_react2.default.createElement(RequestBodyEditor,{requestBody:requestBody,onChange:_onChange,mediaType:contentType,getComponent:getComponent,isExecute:isExecute,specSelectors:specSelectors})}))};RequestBody.propTypes={requestBody:_reactImmutableProptypes2.default.orderedMap.isRequired,requestBodyValue:_reactImmutableProptypes2.default.orderedMap.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,fn:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,contentType:_propTypes2.default.string,isExecute:_propTypes2.default.bool.isRequired,onChange:_propTypes2.default.func.isRequired,specPath:_propTypes2.default.array.isRequired},exports.default=RequestBody},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _stringify2=_interopRequireDefault(__webpack_require__(27)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var OperationLink=function(_Component){function OperationLink(){return(0,_classCallCheck3.default)(this,OperationLink),(0,_possibleConstructorReturn3.default)(this,(OperationLink.__proto__||(0,_getPrototypeOf2.default)(OperationLink)).apply(this,arguments))}return(0,_inherits3.default)(OperationLink,_Component),(0,_createClass3.default)(OperationLink,[{key:"render",value:function render(){var _props=this.props,link=_props.link,name=_props.name,Markdown=(0,_props.getComponent)("Markdown"),targetOp=link.get("operationId")||link.get("operationRef"),parameters=link.get("parameters")&&link.get("parameters").toJS(),description=link.get("description");return _react2.default.createElement("div",{style:{marginBottom:"1.5em"}},_react2.default.createElement("div",{style:{marginBottom:".5em"}},_react2.default.createElement("b",null,_react2.default.createElement("code",null,name)),description?_react2.default.createElement(Markdown,{source:description}):null),_react2.default.createElement("pre",null,"Operation `",targetOp,"`",_react2.default.createElement("br",null),_react2.default.createElement("br",null),"Parameters ",function padString(n,string){if("string"!=typeof string)return"";return string.split("\n").map(function(line,i){return i>0?Array(n+1).join(" ")+line:line}).join("\n")}(0,(0,_stringify2.default)(parameters,null,2))||"{}",_react2.default.createElement("br",null)))}}]),OperationLink}(_react.Component);OperationLink.propTypes={getComponent:_propTypes2.default.func.isRequired,link:_reactImmutableProptypes2.default.orderedMap.isRequired,name:_propTypes2.default.String},exports.default=OperationLink},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_immutable=__webpack_require__(7),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Servers=function(_React$Component){function Servers(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Servers);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Servers.__proto__||(0,_getPrototypeOf2.default)(Servers)).call.apply(_ref,[this].concat(args))),_this.onServerChange=function(e){_this.setServer(e.target.value)},_this.onServerVariableValueChange=function(e){var _this$props=_this.props,setServerVariableValue=_this$props.setServerVariableValue,currentServer=_this$props.currentServer,variableName=e.target.getAttribute("data-variable"),newVariableValue=e.target.value;"function"==typeof setServerVariableValue&&setServerVariableValue({server:currentServer,key:variableName,val:newVariableValue})},_this.setServer=function(value){(0,_this.props.setSelectedServer)(value)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Servers,_React$Component),(0,_createClass3.default)(Servers,[{key:"componentDidMount",value:function componentDidMount(){var _props=this.props,servers=_props.servers;_props.currentServer||this.setServer(servers.first().get("url"))}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var _props2=this.props,servers=_props2.servers,setServerVariableValue=_props2.setServerVariableValue,getServerVariable=_props2.getServerVariable;if(this.props.currentServer!==nextProps.currentServer){var currentServerDefinition=servers.find(function(v){return v.get("url")===nextProps.currentServer});if(!currentServerDefinition)return this.setServer(servers.first().get("url"));(currentServerDefinition.get("variables")||(0,_immutable.OrderedMap)()).map(function(val,key){getServerVariable(nextProps.currentServer,key)||setServerVariableValue({server:nextProps.currentServer,key:key,val:val.get("default")||""})})}}},{key:"render",value:function render(){var _this2=this,_props3=this.props,servers=_props3.servers,currentServer=_props3.currentServer,getServerVariable=_props3.getServerVariable,getEffectiveServerValue=_props3.getEffectiveServerValue,currentServerVariableDefs=(servers.find(function(v){return v.get("url")===currentServer})||(0,_immutable.OrderedMap)()).get("variables")||(0,_immutable.OrderedMap)(),shouldShowVariableUI=0!==currentServerVariableDefs.size;return _react2.default.createElement("div",{className:"servers"},_react2.default.createElement("label",{htmlFor:"servers"},_react2.default.createElement("select",{onChange:this.onServerChange},servers.valueSeq().map(function(server){return _react2.default.createElement("option",{value:server.get("url"),key:server.get("url")},server.get("url"))}).toArray())),shouldShowVariableUI?_react2.default.createElement("div",null,_react2.default.createElement("div",{className:"computed-url"},"Computed URL:",_react2.default.createElement("code",null,getEffectiveServerValue(currentServer))),_react2.default.createElement("h4",null,"Server variables"),_react2.default.createElement("table",null,_react2.default.createElement("tbody",null,currentServerVariableDefs.map(function(val,name){return _react2.default.createElement("tr",{key:name},_react2.default.createElement("td",null,name),_react2.default.createElement("td",null,val.get("enum")?_react2.default.createElement("select",{"data-variable":name,onChange:_this2.onServerVariableValueChange},val.get("enum").map(function(enumValue){return _react2.default.createElement("option",{selected:enumValue===getServerVariable(currentServer,name),key:enumValue,value:enumValue},enumValue)})):_react2.default.createElement("input",{type:"text",value:getServerVariable(currentServer,name)||"",onChange:_this2.onServerVariableValueChange,"data-variable":name})))})))):null)}}]),Servers}(_react2.default.Component);Servers.propTypes={servers:_reactImmutableProptypes2.default.list.isRequired,currentServer:_propTypes2.default.string.isRequired,setSelectedServer:_propTypes2.default.func.isRequired,setServerVariableValue:_propTypes2.default.func.isRequired,getServerVariable:_propTypes2.default.func.isRequired,getEffectiveServerValue:_propTypes2.default.func.isRequired},exports.default=Servers},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ServersContainer=function(_React$Component){function ServersContainer(){return(0,_classCallCheck3.default)(this,ServersContainer),(0,_possibleConstructorReturn3.default)(this,(ServersContainer.__proto__||(0,_getPrototypeOf2.default)(ServersContainer)).apply(this,arguments))}return(0,_inherits3.default)(ServersContainer,_React$Component),(0,_createClass3.default)(ServersContainer,[{key:"render",value:function render(){var _props=this.props,specSelectors=_props.specSelectors,oas3Selectors=_props.oas3Selectors,oas3Actions=_props.oas3Actions,getComponent=_props.getComponent,servers=specSelectors.servers(),Col=getComponent("Col"),Servers=getComponent("Servers");return _react2.default.createElement("div",null,servers&&servers.size?_react2.default.createElement("div",{className:"global-server-container"},_react2.default.createElement(Col,{className:"servers wrapper",mobile:12},_react2.default.createElement("span",{className:"servers-title"},"Server"),_react2.default.createElement(Servers,{servers:servers,currentServer:oas3Selectors.selectedServer(),setSelectedServer:oas3Actions.setSelectedServer,setServerVariableValue:oas3Actions.setServerVariableValue,getServerVariable:oas3Selectors.serverVariableValue,getEffectiveServerValue:oas3Selectors.serverEffectiveValue}))):null)}}]),ServersContainer}(_react2.default.Component);ServersContainer.propTypes={specSelectors:_propTypes2.default.object.isRequired,oas3Selectors:_propTypes2.default.object.isRequired,oas3Actions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=ServersContainer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable=__webpack_require__(7),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var NOOP=Function.prototype,RequestBodyEditor=function(_PureComponent){function RequestBodyEditor(props,context){(0,_classCallCheck3.default)(this,RequestBodyEditor);var _this=(0,_possibleConstructorReturn3.default)(this,(RequestBodyEditor.__proto__||(0,_getPrototypeOf2.default)(RequestBodyEditor)).call(this,props,context));return _this.setValueToSample=function(explicitMediaType){_this.onChange(_this.sample(explicitMediaType))},_this.resetValueToSample=function(explicitMediaType){_this.setState({userDidModify:!1}),_this.setValueToSample(explicitMediaType)},_this.sample=function(explicitMediaType){var _this$props=_this.props,requestBody=_this$props.requestBody,mediaType=_this$props.mediaType,schema=requestBody.getIn(["content",explicitMediaType||mediaType,"schema"]).toJS();return(0,_utils.getSampleSchema)(schema,explicitMediaType||mediaType,{includeWriteOnly:!0})},_this.onChange=function(value){_this.setState({value:value}),_this.props.onChange(value)},_this.handleOnChange=function(e){var mediaType=_this.props.mediaType,inputValue=/json/i.test(mediaType)?e.target.value.trim():e.target.value;_this.setState({userDidModify:!0}),_this.onChange(inputValue)},_this.toggleIsEditBox=function(){return _this.setState(function(state){return{isEditBox:!state.isEditBox}})},_this.state={isEditBox:!1,userDidModify:!1,value:""},_this}return(0,_inherits3.default)(RequestBodyEditor,_PureComponent),(0,_createClass3.default)(RequestBodyEditor,[{key:"componentDidMount",value:function componentDidMount(){this.setValueToSample.call(this)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){this.props.mediaType!==nextProps.mediaType&&this.setValueToSample(nextProps.mediaType),!this.props.isExecute&&nextProps.isExecute&&this.setState({isEditBox:!0})}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){this.props.requestBody!==prevProps.requestBody&&this.setValueToSample(this.props.mediaType)}},{key:"render",value:function render(){var _this2=this,_props=this.props,isExecute=_props.isExecute,getComponent=_props.getComponent,mediaType=_props.mediaType,Button=getComponent("Button"),TextArea=getComponent("TextArea"),HighlightCode=getComponent("highlightCode"),_state=this.state,value=_state.value,isEditBox=_state.isEditBox,userDidModify=_state.userDidModify;return _react2.default.createElement("div",{className:"body-param"},isEditBox&&isExecute?_react2.default.createElement(TextArea,{className:"body-param__text",value:value,onChange:this.handleOnChange}):value&&_react2.default.createElement(HighlightCode,{className:"body-param__example",value:value}),_react2.default.createElement("div",{className:"body-param-options"},_react2.default.createElement("div",{className:"body-param-edit"},isExecute?_react2.default.createElement(Button,{className:isEditBox?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},isEditBox?"Cancel":"Edit"):null,userDidModify&&_react2.default.createElement(Button,{className:"btn ml3",onClick:function onClick(){_this2.resetValueToSample(mediaType)}},"Reset"))))}}]),RequestBodyEditor}(_react.PureComponent);RequestBodyEditor.propTypes={requestBody:_propTypes2.default.object.isRequired,mediaType:_propTypes2.default.string.isRequired,onChange:_propTypes2.default.func,getComponent:_propTypes2.default.func.isRequired,isExecute:_propTypes2.default.bool,specSelectors:_propTypes2.default.object.isRequired},RequestBodyEditor.defaultProps={mediaType:"application/json",requestBody:(0,_immutable.fromJS)({}),onChange:NOOP},exports.default=RequestBodyEditor},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _assign2=_interopRequireDefault(__webpack_require__(20)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var HttpAuth=function(_React$Component){function HttpAuth(props,context){(0,_classCallCheck3.default)(this,HttpAuth);var _this=(0,_possibleConstructorReturn3.default)(this,(HttpAuth.__proto__||(0,_getPrototypeOf2.default)(HttpAuth)).call(this,props,context));_initialiseProps.call(_this);var _this$props=_this.props,name=_this$props.name,schema=_this$props.schema,value=_this.getValue();return _this.state={name:name,schema:schema,value:value},_this}return(0,_inherits3.default)(HttpAuth,_React$Component),(0,_createClass3.default)(HttpAuth,[{key:"getValue",value:function getValue(){var _props=this.props,name=_props.name,authorized=_props.authorized;return authorized&&authorized.getIn([name,"value"])}},{key:"render",value:function render(){var _props2=this.props,schema=_props2.schema,getComponent=_props2.getComponent,errSelectors=_props2.errSelectors,name=_props2.name,Input=getComponent("Input"),Row=getComponent("Row"),Col=getComponent("Col"),AuthError=getComponent("authError"),Markdown=getComponent("Markdown"),JumpToPath=getComponent("JumpToPath",!0),scheme=(schema.get("scheme")||"").toLowerCase(),value=this.getValue(),errors=errSelectors.allErrors().filter(function(err){return err.get("authId")===name});if("basic"===scheme){var username=value?value.get("username"):null;return _react2.default.createElement("div",null,_react2.default.createElement("h4",null,_react2.default.createElement("code",null,name||schema.get("name"))," (http, Basic)",_react2.default.createElement(JumpToPath,{path:["securityDefinitions",name]})),username&&_react2.default.createElement("h6",null,"Authorized"),_react2.default.createElement(Row,null,_react2.default.createElement(Markdown,{source:schema.get("description")})),_react2.default.createElement(Row,null,_react2.default.createElement("label",null,"Username:"),username?_react2.default.createElement("code",null," ",username," "):_react2.default.createElement(Col,null,_react2.default.createElement(Input,{type:"text",required:"required",name:"username",onChange:this.onChange}))),_react2.default.createElement(Row,null,_react2.default.createElement("label",null,"Password:"),username?_react2.default.createElement("code",null," ****** "):_react2.default.createElement(Col,null,_react2.default.createElement(Input,{required:"required",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),errors.valueSeq().map(function(error,key){return _react2.default.createElement(AuthError,{error:error,key:key})}))}return"bearer"===scheme?_react2.default.createElement("div",null,_react2.default.createElement("h4",null,_react2.default.createElement("code",null,name||schema.get("name"))," (http, Bearer)",_react2.default.createElement(JumpToPath,{path:["securityDefinitions",name]})),value&&_react2.default.createElement("h6",null,"Authorized"),_react2.default.createElement(Row,null,_react2.default.createElement(Markdown,{source:schema.get("description")})),_react2.default.createElement(Row,null,_react2.default.createElement("label",null,"Value:"),value?_react2.default.createElement("code",null," ****** "):_react2.default.createElement(Col,null,_react2.default.createElement(Input,{type:"text",onChange:this.onChange}))),errors.valueSeq().map(function(error,key){return _react2.default.createElement(AuthError,{error:error,key:key})})):_react2.default.createElement("div",null,_react2.default.createElement("em",null,_react2.default.createElement("b",null,name)," HTTP authentication: unsupported scheme ","'"+scheme+"'"))}}]),HttpAuth}(_react2.default.Component);HttpAuth.propTypes={authorized:_propTypes2.default.object,getComponent:_propTypes2.default.func.isRequired,errSelectors:_propTypes2.default.object.isRequired,schema:_propTypes2.default.object.isRequired,name:_propTypes2.default.string.isRequired,onChange:_propTypes2.default.func};var _initialiseProps=function _initialiseProps(){var _this2=this;this.onChange=function(e){var onChange=_this2.props.onChange,_e$target=e.target,value=_e$target.value,name=_e$target.name,newValue=(0,_assign2.default)({},_this2.state.value);name?newValue[name]=value:newValue=value,_this2.setState({value:newValue},function(){return onChange(_this2.state)})}};exports.default=HttpAuth},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends3=_interopRequireDefault(__webpack_require__(21)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var OperationServers=function(_React$Component){function OperationServers(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,OperationServers);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=OperationServers.__proto__||(0,_getPrototypeOf2.default)(OperationServers)).call.apply(_ref,[this].concat(args))),_this.setSelectedServer=function(server){var _this$props=_this.props,path=_this$props.path,method=_this$props.method;return _this.forceUpdate(),_this.props.setSelectedServer(server,path+":"+method)},_this.setServerVariableValue=function(obj){var _this$props2=_this.props,path=_this$props2.path,method=_this$props2.method;return _this.forceUpdate(),_this.props.setServerVariableValue((0,_extends3.default)({},obj,{namespace:path+":"+method}))},_this.getSelectedServer=function(){var _this$props3=_this.props,path=_this$props3.path,method=_this$props3.method;return _this.props.getSelectedServer(path+":"+method)},_this.getServerVariable=function(server,key){var _this$props4=_this.props,path=_this$props4.path,method=_this$props4.method;return _this.props.getServerVariable({namespace:path+":"+method,server:server},key)},_this.getEffectiveServerValue=function(server){var _this$props5=_this.props,path=_this$props5.path,method=_this$props5.method;return _this.props.getEffectiveServerValue({server:server,namespace:path+":"+method})},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(OperationServers,_React$Component),(0,_createClass3.default)(OperationServers,[{key:"render",value:function render(){var _props=this.props,operationServers=_props.operationServers,pathServers=_props.pathServers,getComponent=_props.getComponent;if(!operationServers&&!pathServers)return null;var Servers=getComponent("Servers"),serversToDisplay=operationServers||pathServers,displaying=operationServers?"operation":"path";return _react2.default.createElement("div",{className:"opblock-section operation-servers"},_react2.default.createElement("div",{className:"opblock-section-header"},_react2.default.createElement("div",{className:"tab-header"},_react2.default.createElement("h4",{className:"opblock-title"},"Servers"))),_react2.default.createElement("div",{className:"opblock-description-wrapper"},_react2.default.createElement("h4",{className:"message"},"These ",displaying,"-level options override the global server options."),_react2.default.createElement(Servers,{servers:serversToDisplay,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}]),OperationServers}(_react2.default.Component);OperationServers.propTypes={path:_propTypes2.default.string.isRequired,method:_propTypes2.default.string.isRequired,operationServers:_reactImmutableProptypes2.default.list,pathServers:_reactImmutableProptypes2.default.list,setSelectedServer:_propTypes2.default.func.isRequired,setServerVariableValue:_propTypes2.default.func.isRequired,getSelectedServer:_propTypes2.default.func.isRequired,getServerVariable:_propTypes2.default.func.isRequired,getEffectiveServerValue:_propTypes2.default.func.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=OperationServers},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _markdown2=_interopRequireDefault(__webpack_require__(275)),_authItem2=_interopRequireDefault(__webpack_require__(276)),_parameters2=_interopRequireDefault(__webpack_require__(277)),_versionStamp2=_interopRequireDefault(__webpack_require__(278)),_onlineValidatorBadge2=_interopRequireDefault(__webpack_require__(279)),_model2=_interopRequireDefault(__webpack_require__(280)),_jsonSchemaString2=_interopRequireDefault(__webpack_require__(281));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default={Markdown:_markdown2.default,AuthItem:_authItem2.default,parameters:_parameters2.default,JsonSchema_string:_jsonSchemaString2.default,VersionStamp:_versionStamp2.default,model:_model2.default,onlineValidatorBadge:_onlineValidatorBadge2.default}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Markdown=void 0;var _react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactMarkdown2=_interopRequireDefault(__webpack_require__(621)),_classnames2=_interopRequireDefault(__webpack_require__(93)),_commonmark=__webpack_require__(622),_helpers=__webpack_require__(23),_markdown=__webpack_require__(260);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Markdown=exports.Markdown=function Markdown(_ref){var source=_ref.source,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;if(source){var parser=new _commonmark.Parser,html=(new _commonmark.HtmlRenderer).render(parser.parse(source||"")),sanitized=(0,_markdown.sanitizer)(html);return source&&html&&sanitized?_react2.default.createElement(_reactMarkdown2.default,{source:sanitized,className:(0,_classnames2.default)(className,"renderedMarkdown")}):null}return null};Markdown.propTypes={source:_propTypes2.default.string,className:_propTypes2.default.string},exports.default=(0,_helpers.OAS3ComponentWrapFactory)(Markdown)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _objectWithoutProperties3=_interopRequireDefault(__webpack_require__(68)),_react2=_interopRequireDefault(__webpack_require__(0)),_helpers=__webpack_require__(23);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=(0,_helpers.OAS3ComponentWrapFactory)(function(_ref){var Ori=_ref.Ori,props=(0,_objectWithoutProperties3.default)(_ref,["Ori"]),schema=props.schema,getComponent=props.getComponent,errSelectors=props.errSelectors,authorized=props.authorized,onAuthChange=props.onAuthChange,name=props.name,HttpAuth=getComponent("HttpAuth");return"http"===schema.get("type")?_react2.default.createElement(HttpAuth,{key:name,schema:schema,name:name,errSelectors:errSelectors,authorized:authorized,getComponent:getComponent,onChange:onAuthChange}):_react2.default.createElement(Ori,props)})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _toConsumableArray3=_interopRequireDefault(__webpack_require__(67)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable=__webpack_require__(7),_immutable2=_interopRequireDefault(_immutable),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_helpers=__webpack_require__(23);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Parameters=function(_Component){function Parameters(props){(0,_classCallCheck3.default)(this,Parameters);var _this=(0,_possibleConstructorReturn3.default)(this,(Parameters.__proto__||(0,_getPrototypeOf2.default)(Parameters)).call(this,props));return _this.onChange=function(param,value,isXml){var _this$props=_this.props;(0,_this$props.specActions.changeParamByIdentity)(_this$props.onChangeKey,param,value,isXml)},_this.onChangeConsumesWrapper=function(val){var _this$props2=_this.props;(0,_this$props2.specActions.changeConsumesValue)(_this$props2.onChangeKey,val)},_this.toggleTab=function(tab){return"parameters"===tab?_this.setState({parametersVisible:!0,callbackVisible:!1}):"callbacks"===tab?_this.setState({callbackVisible:!0,parametersVisible:!1}):void 0},_this.state={callbackVisible:!1,parametersVisible:!0},_this}return(0,_inherits3.default)(Parameters,_Component),(0,_createClass3.default)(Parameters,[{key:"render",value:function render(){var _this2=this,_props=this.props,onTryoutClick=_props.onTryoutClick,onCancelClick=_props.onCancelClick,parameters=_props.parameters,allowTryItOut=_props.allowTryItOut,tryItOutEnabled=_props.tryItOutEnabled,fn=_props.fn,getComponent=_props.getComponent,getConfigs=_props.getConfigs,specSelectors=_props.specSelectors,oas3Actions=_props.oas3Actions,oas3Selectors=_props.oas3Selectors,pathMethod=_props.pathMethod,specPath=_props.specPath,operation=_props.operation,ParameterRow=getComponent("parameterRow"),TryItOutButton=getComponent("TryItOutButton"),ContentType=getComponent("contentType"),Callbacks=getComponent("Callbacks",!0),RequestBody=getComponent("RequestBody",!0),isExecute=tryItOutEnabled&&allowTryItOut,isOAS3=specSelectors.isOAS3,requestBody=operation.get("requestBody"),requestBodySpecPath=specPath.slice(0,-1).push("requestBody");return _react2.default.createElement("div",{className:"opblock-section"},_react2.default.createElement("div",{className:"opblock-section-header"},_react2.default.createElement("div",{className:"tab-header"},_react2.default.createElement("div",{onClick:function onClick(){return _this2.toggleTab("parameters")},className:"tab-item "+(this.state.parametersVisible&&"active")},_react2.default.createElement("h4",{className:"opblock-title"},_react2.default.createElement("span",null,"Parameters"))),operation.get("callbacks")?_react2.default.createElement("div",{onClick:function onClick(){return _this2.toggleTab("callbacks")},className:"tab-item "+(this.state.callbackVisible&&"active")},_react2.default.createElement("h4",{className:"opblock-title"},_react2.default.createElement("span",null,"Callbacks"))):null),allowTryItOut?_react2.default.createElement(TryItOutButton,{enabled:tryItOutEnabled,onCancelClick:onCancelClick,onTryoutClick:onTryoutClick}):null),this.state.parametersVisible?_react2.default.createElement("div",{className:"parameters-container"},parameters.count()?_react2.default.createElement("div",{className:"table-container"},_react2.default.createElement("table",{className:"parameters"},_react2.default.createElement("thead",null,_react2.default.createElement("tr",null,_react2.default.createElement("th",{className:"col col_header parameters-col_name"},"Name"),_react2.default.createElement("th",{className:"col col_header parameters-col_description"},"Description"))),_react2.default.createElement("tbody",null,function eachMap(iterable,fn){return iterable.valueSeq().filter(_immutable2.default.Map.isMap).map(fn)}(parameters,function(parameter,i){return _react2.default.createElement(ParameterRow,{fn:fn,getComponent:getComponent,specPath:specPath.push(i),getConfigs:getConfigs,rawParam:parameter,param:specSelectors.parameterWithMetaByIdentity(pathMethod,parameter),key:parameter.get("name"),onChange:_this2.onChange,onChangeConsumes:_this2.onChangeConsumesWrapper,specSelectors:specSelectors,pathMethod:pathMethod,isExecute:isExecute})}).toArray()))):_react2.default.createElement("div",{className:"opblock-description-wrapper"},_react2.default.createElement("p",null,"No parameters"))):"",this.state.callbackVisible?_react2.default.createElement("div",{className:"callbacks-container opblock-description-wrapper"},_react2.default.createElement(Callbacks,{callbacks:(0,_immutable.Map)(operation.get("callbacks")),specPath:specPath.slice(0,-1).push("callbacks")})):"",isOAS3()&&requestBody&&this.state.parametersVisible&&_react2.default.createElement("div",{className:"opblock-section"},_react2.default.createElement("div",{className:"opblock-section-header"},_react2.default.createElement("h4",{className:"opblock-title parameter__name "+(requestBody.get("required")&&"required")},"Request body"),_react2.default.createElement("label",null,_react2.default.createElement(ContentType,{value:oas3Selectors.requestContentType.apply(oas3Selectors,(0,_toConsumableArray3.default)(pathMethod)),contentTypes:requestBody.get("content").keySeq(),onChange:function onChange(value){oas3Actions.setRequestContentType({value:value,pathMethod:pathMethod})},className:"body-param-content-type"}))),_react2.default.createElement("div",{className:"opblock-description-wrapper"},_react2.default.createElement(RequestBody,{specPath:requestBodySpecPath,requestBody:requestBody,requestBodyValue:oas3Selectors.requestBodyValue.apply(oas3Selectors,(0,_toConsumableArray3.default)(pathMethod))||(0,_immutable.Map)(),isExecute:isExecute,onChange:function onChange(value,path){if(path){var lastValue=oas3Selectors.requestBodyValue.apply(oas3Selectors,(0,_toConsumableArray3.default)(pathMethod)),usableValue=_immutable.Map.isMap(lastValue)?lastValue:(0,_immutable.Map)();return oas3Actions.setRequestBodyValue({pathMethod:pathMethod,value:usableValue.setIn(path,value)})}oas3Actions.setRequestBodyValue({value:value,pathMethod:pathMethod})},contentType:oas3Selectors.requestContentType.apply(oas3Selectors,(0,_toConsumableArray3.default)(pathMethod))}))))}}]),Parameters}(_react.Component);Parameters.propTypes={parameters:_reactImmutableProptypes2.default.list.isRequired,specActions:_propTypes2.default.object.isRequired,operation:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,oas3Actions:_propTypes2.default.object.isRequired,oas3Selectors:_propTypes2.default.object.isRequired,fn:_propTypes2.default.object.isRequired,tryItOutEnabled:_propTypes2.default.bool,allowTryItOut:_propTypes2.default.bool,specPath:_reactImmutableProptypes2.default.list.isRequired,onTryoutClick:_propTypes2.default.func,onCancelClick:_propTypes2.default.func,onChangeKey:_propTypes2.default.array,pathMethod:_propTypes2.default.array.isRequired},Parameters.defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[]},exports.default=(0,_helpers.OAS3ComponentWrapFactory)(Parameters)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _react2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(0)),_helpers=__webpack_require__(23);exports.default=(0,_helpers.OAS3ComponentWrapFactory)(function(props){var Ori=props.Ori;return _react2.default.createElement("span",null,_react2.default.createElement(Ori,props),_react2.default.createElement("small",{style:{backgroundColor:"#89bf04"}},_react2.default.createElement("pre",{className:"version"},"OAS3")))})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _helpers=__webpack_require__(23);exports.default=(0,_helpers.OAS3ComponentWrapFactory)(function(){return null})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends3=_interopRequireDefault(__webpack_require__(21)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_helpers=__webpack_require__(23),_model=__webpack_require__(259);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ModelComponent=function(_Component){function ModelComponent(){return(0,_classCallCheck3.default)(this,ModelComponent),(0,_possibleConstructorReturn3.default)(this,(ModelComponent.__proto__||(0,_getPrototypeOf2.default)(ModelComponent)).apply(this,arguments))}return(0,_inherits3.default)(ModelComponent,_Component),(0,_createClass3.default)(ModelComponent,[{key:"render",value:function render(){var _props=this.props,getConfigs=_props.getConfigs,classes=["model-box"],message=null;return!0===_props.schema.get("deprecated")&&(classes.push("deprecated"),message=_react2.default.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),_react2.default.createElement("div",{className:classes.join(" ")},message,_react2.default.createElement(_model.Model,(0,_extends3.default)({},this.props,{getConfigs:getConfigs,depth:1,expandDepth:this.props.expandDepth||0})))}}]),ModelComponent}(_react.Component);ModelComponent.propTypes={schema:_propTypes2.default.object.isRequired,name:_propTypes2.default.string,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,expandDepth:_propTypes2.default.number},exports.default=(0,_helpers.OAS3ComponentWrapFactory)(ModelComponent)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _objectWithoutProperties3=_interopRequireDefault(__webpack_require__(68)),_react2=_interopRequireDefault(__webpack_require__(0)),_helpers=__webpack_require__(23);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=(0,_helpers.OAS3ComponentWrapFactory)(function(_ref){var Ori=_ref.Ori,props=(0,_objectWithoutProperties3.default)(_ref,["Ori"]),schema=props.schema,getComponent=props.getComponent,errors=props.errors,_onChange=props.onChange,type=schema.type,format=schema.format,Input=getComponent("Input");return"string"!==type||"binary"!==format&&"base64"!==format?_react2.default.createElement(Ori,props):_react2.default.createElement(Input,{type:"file",className:errors.length?"invalid":"",title:errors.length?errors:"",onChange:function onChange(e){_onChange(e.target.files[0])},disabled:Ori.isDisabled})})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.serverEffectiveValue=exports.serverVariables=exports.serverVariableValue=exports.responseContentType=exports.requestContentType=exports.requestBodyValue=exports.selectedServer=void 0;var _immutable=__webpack_require__(7),_helpers=__webpack_require__(23);function onlyOAS3(selector){return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return function(system){var spec=system.getSystem().specSelectors.specJson();return(0,_helpers.isOAS3)(spec)?selector.apply(void 0,args):null}}}exports.selectedServer=onlyOAS3(function(state,namespace){var path=namespace?[namespace,"selectedServer"]:["selectedServer"];return state.getIn(path)||""}),exports.requestBodyValue=onlyOAS3(function(state,path,method){return state.getIn(["requestData",path,method,"bodyValue"])||null}),exports.requestContentType=onlyOAS3(function(state,path,method){return state.getIn(["requestData",path,method,"requestContentType"])||null}),exports.responseContentType=onlyOAS3(function(state,path,method){return state.getIn(["requestData",path,method,"responseContentType"])||null}),exports.serverVariableValue=onlyOAS3(function(state,locationData,key){var path=void 0;if("string"!=typeof locationData){var server=locationData.server,namespace=locationData.namespace;path=namespace?[namespace,"serverVariableValues",server,key]:["serverVariableValues",server,key]}else{path=["serverVariableValues",locationData,key]}return state.getIn(path)||null}),exports.serverVariables=onlyOAS3(function(state,locationData){var path=void 0;if("string"!=typeof locationData){var server=locationData.server,namespace=locationData.namespace;path=namespace?[namespace,"serverVariableValues",server]:["serverVariableValues",server]}else{path=["serverVariableValues",locationData]}return state.getIn(path)||(0,_immutable.OrderedMap)()}),exports.serverEffectiveValue=onlyOAS3(function(state,locationData){var varValues,serverValue;if("string"!=typeof locationData){var server=locationData.server,namespace=locationData.namespace;serverValue=server,varValues=namespace?state.getIn([namespace,"serverVariableValues",serverValue]):state.getIn(["serverVariableValues",serverValue])}else serverValue=locationData,varValues=state.getIn(["serverVariableValues",serverValue]);var str=serverValue;return(varValues=varValues||(0,_immutable.OrderedMap)()).map(function(val,key){str=str.replace(new RegExp("{"+key+"}","g"),val)}),str})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _UPDATE_SELECTED_SERV,_defineProperty3=_interopRequireDefault(__webpack_require__(19)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_actions=__webpack_require__(146);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=(_UPDATE_SELECTED_SERV={},(0,_defineProperty3.default)(_UPDATE_SELECTED_SERV,_actions.UPDATE_SELECTED_SERVER,function(state,_ref){var _ref$payload=_ref.payload,selectedServerUrl=_ref$payload.selectedServerUrl,namespace=_ref$payload.namespace,path=namespace?[namespace,"selectedServer"]:["selectedServer"];return state.setIn(path,selectedServerUrl)}),(0,_defineProperty3.default)(_UPDATE_SELECTED_SERV,_actions.UPDATE_REQUEST_BODY_VALUE,function(state,_ref2){var _ref2$payload=_ref2.payload,value=_ref2$payload.value,pathMethod=_ref2$payload.pathMethod,_pathMethod=(0,_slicedToArray3.default)(pathMethod,2),path=_pathMethod[0],method=_pathMethod[1];return state.setIn(["requestData",path,method,"bodyValue"],value)}),(0,_defineProperty3.default)(_UPDATE_SELECTED_SERV,_actions.UPDATE_REQUEST_CONTENT_TYPE,function(state,_ref3){var _ref3$payload=_ref3.payload,value=_ref3$payload.value,pathMethod=_ref3$payload.pathMethod,_pathMethod2=(0,_slicedToArray3.default)(pathMethod,2),path=_pathMethod2[0],method=_pathMethod2[1];return state.setIn(["requestData",path,method,"requestContentType"],value)}),(0,_defineProperty3.default)(_UPDATE_SELECTED_SERV,_actions.UPDATE_RESPONSE_CONTENT_TYPE,function(state,_ref4){var _ref4$payload=_ref4.payload,value=_ref4$payload.value,path=_ref4$payload.path,method=_ref4$payload.method;return state.setIn(["requestData",path,method,"responseContentType"],value)}),(0,_defineProperty3.default)(_UPDATE_SELECTED_SERV,_actions.UPDATE_SERVER_VARIABLE_VALUE,function(state,_ref5){var _ref5$payload=_ref5.payload,server=_ref5$payload.server,namespace=_ref5$payload.namespace,key=_ref5$payload.key,val=_ref5$payload.val,path=namespace?[namespace,"serverVariableValues",server,key]:["serverVariableValues",server,key];return state.setIn(path,val)}),_UPDATE_SELECTED_SERV)},function(module,exports,__webpack_require__){"use strict";var _utils=__webpack_require__(8),request=__webpack_require__(623);request.keys().forEach(function(key){if("./index.js"!==key){var mod=request(key);module.exports[(0,_utils.pascalCaseFilename)(key)]=mod.default?mod.default:mod}})},function(module,exports,__webpack_require__){__webpack_require__(286),__webpack_require__(287),module.exports=__webpack_require__(357)},function(module,exports){},function(module,exports,__webpack_require__){"use strict";void 0===function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(22)).default.Promise&&__webpack_require__(298),String.prototype.startsWith||__webpack_require__(328)},function(module,exports,__webpack_require__){__webpack_require__(71),__webpack_require__(57),module.exports=__webpack_require__(297)},function(module,exports,__webpack_require__){"use strict";var addToUnscopables=__webpack_require__(290),step=__webpack_require__(291),Iterators=__webpack_require__(44),toIObject=__webpack_require__(45);module.exports=__webpack_require__(148)(Array,"Array",function(iterated,kind){this._t=toIObject(iterated),this._i=0,this._k=kind},function(){var O=this._t,kind=this._k,index=this._i++;return!O||index>=O.length?(this._t=void 0,step(1)):step(0,"keys"==kind?index:"values"==kind?O[index]:[index,O[index]])},"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,exports){module.exports=function(){}},function(module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},function(module,exports,__webpack_require__){"use strict";var create=__webpack_require__(97),descriptor=__webpack_require__(54),setToStringTag=__webpack_require__(75),IteratorPrototype={};__webpack_require__(37)(IteratorPrototype,__webpack_require__(13)("iterator"),function(){return this}),module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)}),setToStringTag(Constructor,NAME+" Iterator")}},function(module,exports,__webpack_require__){var dP=__webpack_require__(29),anObject=__webpack_require__(26),getKeys=__webpack_require__(55);module.exports=__webpack_require__(33)?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var P,keys=getKeys(Properties),length=keys.length,i=0;length>i;)dP.f(O,P=keys[i++],Properties[P]);return O}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(45),toLength=__webpack_require__(98),toAbsoluteIndex=__webpack_require__(295);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(99),max=Math.max,min=Math.min;module.exports=function(index,length){return(index=toInteger(index))<0?max(index+length,0):min(index,length)}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(99),defined=__webpack_require__(94);module.exports=function(TO_STRING){return function(that,pos){var a,b,s=String(defined(that)),i=toInteger(pos),l=s.length;return i<0||i>=l?TO_STRING?"":void 0:(a=s.charCodeAt(i))<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(26),get=__webpack_require__(103);module.exports=__webpack_require__(10).getIterator=function(it){var iterFn=get(it);if("function"!=typeof iterFn)throw TypeError(it+" is not iterable!");return anObject(iterFn.call(it))}},function(module,exports,__webpack_require__){__webpack_require__(299),__webpack_require__(156),__webpack_require__(310),__webpack_require__(314),__webpack_require__(326),__webpack_require__(327),module.exports=__webpack_require__(34).Promise},function(module,exports,__webpack_require__){"use strict";var classof=__webpack_require__(105),test={};test[__webpack_require__(11)("toStringTag")]="z",test+""!="[object z]"&&__webpack_require__(48)(Object.prototype,"toString",function toString(){return"[object "+classof(this)+"]"},!0)},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(59)&&!__webpack_require__(60)(function(){return 7!=Object.defineProperty(__webpack_require__(108)("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(49);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__webpack_require__){"use strict";var create=__webpack_require__(303),descriptor=__webpack_require__(155),setToStringTag=__webpack_require__(110),IteratorPrototype={};__webpack_require__(40)(IteratorPrototype,__webpack_require__(11)("iterator"),function(){return this}),module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)}),setToStringTag(Constructor,NAME+" Iterator")}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(41),dPs=__webpack_require__(304),enumBugKeys=__webpack_require__(161),IE_PROTO=__webpack_require__(109)("IE_PROTO"),Empty=function(){},createDict=function(){var iframeDocument,iframe=__webpack_require__(108)("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__webpack_require__(162).appendChild(iframe),iframe.src="javascript:",(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("<script>document.F=Object<\/script>"),iframeDocument.close(),createDict=iframeDocument.F;i--;)delete createDict.prototype[enumBugKeys[i]];return createDict()};module.exports=Object.create||function create(O,Properties){var result;return null!==O?(Empty.prototype=anObject(O),result=new Empty,Empty.prototype=null,result[IE_PROTO]=O):result=createDict(),void 0===Properties?result:dPs(result,Properties)}},function(module,exports,__webpack_require__){var dP=__webpack_require__(76),anObject=__webpack_require__(41),getKeys=__webpack_require__(159);module.exports=__webpack_require__(59)?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var P,keys=getKeys(Properties),length=keys.length,i=0;length>i;)dP.f(O,P=keys[i++],Properties[P]);return O}},function(module,exports,__webpack_require__){var has=__webpack_require__(77),toIObject=__webpack_require__(81),arrayIndexOf=__webpack_require__(307)(!1),IE_PROTO=__webpack_require__(109)("IE_PROTO");module.exports=function(object,names){var key,O=toIObject(object),i=0,result=[];for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){var cof=__webpack_require__(58);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(81),toLength=__webpack_require__(62),toAbsoluteIndex=__webpack_require__(160);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__webpack_require__){var has=__webpack_require__(77),toObject=__webpack_require__(309),IE_PROTO=__webpack_require__(109)("IE_PROTO"),ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){return O=toObject(O),has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectProto:null}},function(module,exports,__webpack_require__){var defined=__webpack_require__(35);module.exports=function(it){return Object(defined(it))}},function(module,exports,__webpack_require__){for(var $iterators=__webpack_require__(311),getKeys=__webpack_require__(159),redefine=__webpack_require__(48),global=__webpack_require__(16),hide=__webpack_require__(40),Iterators=__webpack_require__(61),wks=__webpack_require__(11),ITERATOR=wks("iterator"),TO_STRING_TAG=wks("toStringTag"),ArrayValues=Iterators.Array,DOMIterables={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},collections=getKeys(DOMIterables),i=0;i<collections.length;i++){var key,NAME=collections[i],explicit=DOMIterables[NAME],Collection=global[NAME],proto=Collection&&Collection.prototype;if(proto&&(proto[ITERATOR]||hide(proto,ITERATOR,ArrayValues),proto[TO_STRING_TAG]||hide(proto,TO_STRING_TAG,NAME),Iterators[NAME]=ArrayValues,explicit))for(key in $iterators)proto[key]||redefine(proto,key,$iterators[key],!0)}},function(module,exports,__webpack_require__){"use strict";var addToUnscopables=__webpack_require__(312),step=__webpack_require__(313),Iterators=__webpack_require__(61),toIObject=__webpack_require__(81);module.exports=__webpack_require__(158)(Array,"Array",function(iterated,kind){this._t=toIObject(iterated),this._i=0,this._k=kind},function(){var O=this._t,kind=this._k,index=this._i++;return!O||index>=O.length?(this._t=void 0,step(1)):step(0,"keys"==kind?index:"values"==kind?O[index]:[index,O[index]])},"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,exports,__webpack_require__){var UNSCOPABLES=__webpack_require__(11)("unscopables"),ArrayProto=Array.prototype;void 0==ArrayProto[UNSCOPABLES]&&__webpack_require__(40)(ArrayProto,UNSCOPABLES,{}),module.exports=function(key){ArrayProto[UNSCOPABLES][key]=!0}},function(module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},function(module,exports,__webpack_require__){"use strict";var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper,LIBRARY=__webpack_require__(106),global=__webpack_require__(16),ctx=__webpack_require__(79),classof=__webpack_require__(105),$export=__webpack_require__(17),isObject=__webpack_require__(49),aFunction=__webpack_require__(80),anInstance=__webpack_require__(315),forOf=__webpack_require__(316),speciesConstructor=__webpack_require__(163),task=__webpack_require__(164).set,microtask=__webpack_require__(321)(),newPromiseCapabilityModule=__webpack_require__(111),perform=__webpack_require__(165),userAgent=__webpack_require__(322),promiseResolve=__webpack_require__(166),TypeError=global.TypeError,process=global.process,versions=process&&process.versions,v8=versions&&versions.v8||"",$Promise=global.Promise,isNode="process"==classof(process),empty=function(){},newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f,USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1),FakePromise=(promise.constructor={})[__webpack_require__(11)("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise&&0!==v8.indexOf("6.6")&&-1===userAgent.indexOf("Chrome/66")}catch(e){}}(),isThenable=function(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then},notify=function(promise,isReject){if(!promise._n){promise._n=!0;var chain=promise._c;microtask(function(){for(var value=promise._v,ok=1==promise._s,i=0,run=function(reaction){var result,then,exited,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2==promise._h&&onHandleUnhandled(promise),promise._h=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&(domain.exit(),exited=!0)),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)):reject(value)}catch(e){domain&&!exited&&domain.exit(),reject(e)}};chain.length>i;)run(chain[i++]);promise._c=[],promise._n=!1,isReject&&!promise._h&&onUnhandled(promise)})}},onUnhandled=function(promise){task.call(global,function(){var result,handler,console,value=promise._v,unhandled=isUnhandled(promise);if(unhandled&&(result=perform(function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)}),promise._h=isNode||isUnhandled(promise)?2:1),promise._a=void 0,unhandled&&result.e)throw result.v})},isUnhandled=function(promise){return 1!==promise._h&&0===(promise._a||promise._c).length},onHandleUnhandled=function(promise){task.call(global,function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})})},$reject=function(value){var promise=this;promise._d||(promise._d=!0,(promise=promise._w||promise)._v=value,promise._s=2,promise._a||(promise._a=promise._c.slice()),notify(promise,!0))},$resolve=function(value){var then,promise=this;if(!promise._d){promise._d=!0,promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");(then=isThenable(value))?microtask(function(){var wrapper={_w:promise,_d:!1};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}}):(promise._v=value,promise._s=1,notify(promise,!1))}catch(e){$reject.call({_w:promise,_d:!1},e)}}};USE_NATIVE||($Promise=function Promise(executor){anInstance(this,$Promise,"Promise","_h"),aFunction(executor),Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}},(Internal=function Promise(executor){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=__webpack_require__(323)($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));return reaction.ok="function"!=typeof onFulfilled||onFulfilled,reaction.fail="function"==typeof onRejected&&onRejected,reaction.domain=isNode?process.domain:void 0,this._c.push(reaction),this._a&&this._a.push(reaction),this._s&¬ify(this,!1),reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}}),OwnPromiseCapability=function(){var promise=new Internal;this.promise=promise,this.resolve=ctx($resolve,promise,1),this.reject=ctx($reject,promise,1)},newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise}),__webpack_require__(110)($Promise,"Promise"),__webpack_require__(324)("Promise"),Wrapper=__webpack_require__(34).Promise,$export($export.S+$export.F*!USE_NATIVE,"Promise",{reject:function reject(r){var capability=newPromiseCapability(this);return(0,capability.reject)(r),capability.promise}}),$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),"Promise",{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}}),$export($export.S+$export.F*!(USE_NATIVE&&__webpack_require__(325)(function(iter){$Promise.all(iter).catch(empty)})),"Promise",{all:function all(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform(function(){var values=[],index=0,remaining=1;forOf(iterable,!1,function(promise){var $index=index++,alreadyCalled=!1;values.push(void 0),remaining++,C.resolve(promise).then(function(value){alreadyCalled||(alreadyCalled=!0,values[$index]=value,--remaining||resolve(values))},reject)}),--remaining||resolve(values)});return result.e&&reject(result.v),capability.promise},race:function race(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform(function(){forOf(iterable,!1,function(promise){C.resolve(promise).then(capability.resolve,reject)})});return result.e&&reject(result.v),capability.promise}})},function(module,exports){module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(79),call=__webpack_require__(317),isArrayIter=__webpack_require__(318),anObject=__webpack_require__(41),toLength=__webpack_require__(62),getIterFn=__webpack_require__(319),BREAK={},RETURN={};(exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var length,step,iterator,result,iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable),f=ctx(fn,that,entries?2:1),index=0;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn)){for(length=toLength(iterable.length);length>index;index++)if((result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]))===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;)if((result=call(iterator,f,step.value,entries))===BREAK||result===RETURN)return result}).BREAK=BREAK,exports.RETURN=RETURN},function(module,exports,__webpack_require__){var anObject=__webpack_require__(41);module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator.return;throw void 0!==ret&&anObject(ret.call(iterator)),e}}},function(module,exports,__webpack_require__){var Iterators=__webpack_require__(61),ITERATOR=__webpack_require__(11)("iterator"),ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},function(module,exports,__webpack_require__){var classof=__webpack_require__(105),ITERATOR=__webpack_require__(11)("iterator"),Iterators=__webpack_require__(61);module.exports=__webpack_require__(34).getIteratorMethod=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports){module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},function(module,exports,__webpack_require__){var global=__webpack_require__(16),macrotask=__webpack_require__(164).set,Observer=global.MutationObserver||global.WebKitMutationObserver,process=global.process,Promise=global.Promise,isNode="process"==__webpack_require__(58)(process);module.exports=function(){var head,last,notify,flush=function(){var parent,fn;for(isNode&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(e){throw head?notify():last=void 0,e}}last=void 0,parent&&parent.enter()};if(isNode)notify=function(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve(void 0);notify=function(){promise.then(flush)}}else notify=function(){macrotask.call(global,flush)};else{var toggle=!0,node=document.createTextNode("");new Observer(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}}},function(module,exports,__webpack_require__){var navigator=__webpack_require__(16).navigator;module.exports=navigator&&navigator.userAgent||""},function(module,exports,__webpack_require__){var redefine=__webpack_require__(48);module.exports=function(target,src,safe){for(var key in src)redefine(target,key,src[key],safe);return target}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(16),dP=__webpack_require__(76),DESCRIPTORS=__webpack_require__(59),SPECIES=__webpack_require__(11)("species");module.exports=function(KEY){var C=global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:!0,get:function(){return this}})}},function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__(11)("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR]();riter.return=function(){SAFE_CLOSING=!0},Array.from(riter,function(){throw 2})}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return!1;var safe=!1;try{var arr=[7],iter=arr[ITERATOR]();iter.next=function(){return{done:safe=!0}},arr[ITERATOR]=function(){return iter},exec(arr)}catch(e){}return safe}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(17),core=__webpack_require__(34),global=__webpack_require__(16),speciesConstructor=__webpack_require__(163),promiseResolve=__webpack_require__(166);$export($export.P+$export.R,"Promise",{finally:function(onFinally){var C=speciesConstructor(this,core.Promise||global.Promise),isFunction="function"==typeof onFinally;return this.then(isFunction?function(x){return promiseResolve(C,onFinally()).then(function(){return x})}:onFinally,isFunction?function(e){return promiseResolve(C,onFinally()).then(function(){throw e})}:onFinally)}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(17),newPromiseCapability=__webpack_require__(111),perform=__webpack_require__(165);$export($export.S,"Promise",{try:function(callbackfn){var promiseCapability=newPromiseCapability.f(this),result=perform(callbackfn);return(result.e?promiseCapability.reject:promiseCapability.resolve)(result.v),promiseCapability.promise}})},function(module,exports,__webpack_require__){__webpack_require__(329),__webpack_require__(330),__webpack_require__(331),__webpack_require__(156),__webpack_require__(334),__webpack_require__(335),__webpack_require__(336),__webpack_require__(337),__webpack_require__(339),__webpack_require__(340),__webpack_require__(341),__webpack_require__(342),__webpack_require__(343),__webpack_require__(344),__webpack_require__(345),__webpack_require__(346),__webpack_require__(347),__webpack_require__(348),__webpack_require__(349),__webpack_require__(350),__webpack_require__(351),__webpack_require__(352),__webpack_require__(353),__webpack_require__(354),__webpack_require__(355),__webpack_require__(356),module.exports=__webpack_require__(34).String},function(module,exports,__webpack_require__){var $export=__webpack_require__(17),toAbsoluteIndex=__webpack_require__(160),fromCharCode=String.fromCharCode,$fromCodePoint=String.fromCodePoint;$export($export.S+$export.F*(!!$fromCodePoint&&1!=$fromCodePoint.length),"String",{fromCodePoint:function fromCodePoint(x){for(var code,res=[],aLen=arguments.length,i=0;aLen>i;){if(code=+arguments[i++],toAbsoluteIndex(code,1114111)!==code)throw RangeError(code+" is not a valid code point");res.push(code<65536?fromCharCode(code):fromCharCode(55296+((code-=65536)>>10),code%1024+56320))}return res.join("")}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(17),toIObject=__webpack_require__(81),toLength=__webpack_require__(62);$export($export.S,"String",{raw:function raw(callSite){for(var tpl=toIObject(callSite.raw),len=toLength(tpl.length),aLen=arguments.length,res=[],i=0;len>i;)res.push(String(tpl[i++])),i<aLen&&res.push(String(arguments[i]));return res.join("")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(332)("trim",function($trim){return function trim(){return $trim(this,3)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(17),defined=__webpack_require__(35),fails=__webpack_require__(60),spaces=__webpack_require__(333),space="["+spaces+"]",ltrim=RegExp("^"+space+space+"*"),rtrim=RegExp(space+space+"*$"),exporter=function(KEY,exec,ALIAS){var exp={},FORCE=fails(function(){return!!spaces[KEY]()||" "!=" "[KEY]()}),fn=exp[KEY]=FORCE?exec(trim):spaces[KEY];ALIAS&&(exp[ALIAS]=fn),$export($export.P+$export.F*FORCE,"String",exp)},trim=exporter.trim=function(string,TYPE){return string=String(defined(string)),1&TYPE&&(string=string.replace(ltrim,"")),2&TYPE&&(string=string.replace(rtrim,"")),string};module.exports=exporter},function(module,exports){module.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(17),$at=__webpack_require__(157)(!1);$export($export.P,"String",{codePointAt:function codePointAt(pos){return $at(this,pos)}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(17),toLength=__webpack_require__(62),context=__webpack_require__(112),$endsWith="".endsWith;$export($export.P+$export.F*__webpack_require__(113)("endsWith"),"String",{endsWith:function endsWith(searchString){var that=context(this,searchString,"endsWith"),endPosition=arguments.length>1?arguments[1]:void 0,len=toLength(that.length),end=void 0===endPosition?len:Math.min(toLength(endPosition),len),search=String(searchString);return $endsWith?$endsWith.call(that,search,end):that.slice(end-search.length,end)===search}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(17),context=__webpack_require__(112);$export($export.P+$export.F*__webpack_require__(113)("includes"),"String",{includes:function includes(searchString){return!!~context(this,searchString,"includes").indexOf(searchString,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(17);$export($export.P,"String",{repeat:__webpack_require__(338)})},function(module,exports,__webpack_require__){"use strict";var toInteger=__webpack_require__(78),defined=__webpack_require__(35);module.exports=function repeat(count){var str=String(defined(this)),res="",n=toInteger(count);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(res+=str);return res}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(17),toLength=__webpack_require__(62),context=__webpack_require__(112),$startsWith="".startsWith;$export($export.P+$export.F*__webpack_require__(113)("startsWith"),"String",{startsWith:function startsWith(searchString){var that=context(this,searchString,"startsWith"),index=toLength(Math.min(arguments.length>1?arguments[1]:void 0,that.length)),search=String(searchString);return $startsWith?$startsWith.call(that,search,index):that.slice(index,index+search.length)===search}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("anchor",function(createHTML){return function anchor(name){return createHTML(this,"a","name",name)}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("big",function(createHTML){return function big(){return createHTML(this,"big","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("blink",function(createHTML){return function blink(){return createHTML(this,"blink","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("bold",function(createHTML){return function bold(){return createHTML(this,"b","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("fixed",function(createHTML){return function fixed(){return createHTML(this,"tt","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("fontcolor",function(createHTML){return function fontcolor(color){return createHTML(this,"font","color",color)}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("fontsize",function(createHTML){return function fontsize(size){return createHTML(this,"font","size",size)}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("italics",function(createHTML){return function italics(){return createHTML(this,"i","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("link",function(createHTML){return function link(url){return createHTML(this,"a","href",url)}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("small",function(createHTML){return function small(){return createHTML(this,"small","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("strike",function(createHTML){return function strike(){return createHTML(this,"strike","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("sub",function(createHTML){return function sub(){return createHTML(this,"sub","","")}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(18)("sup",function(createHTML){return function sup(){return createHTML(this,"sup","","")}})},function(module,exports,__webpack_require__){__webpack_require__(82)("match",1,function(defined,MATCH,$match){return[function match(regexp){"use strict";var O=defined(this),fn=void 0==regexp?void 0:regexp[MATCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[MATCH](String(O))},$match]})},function(module,exports,__webpack_require__){__webpack_require__(82)("replace",2,function(defined,REPLACE,$replace){return[function replace(searchValue,replaceValue){"use strict";var O=defined(this),fn=void 0==searchValue?void 0:searchValue[REPLACE];return void 0!==fn?fn.call(searchValue,O,replaceValue):$replace.call(String(O),searchValue,replaceValue)},$replace]})},function(module,exports,__webpack_require__){__webpack_require__(82)("search",1,function(defined,SEARCH,$search){return[function search(regexp){"use strict";var O=defined(this),fn=void 0==regexp?void 0:regexp[SEARCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[SEARCH](String(O))},$search]})},function(module,exports,__webpack_require__){__webpack_require__(82)("split",2,function(defined,SPLIT,$split){"use strict";var isRegExp=__webpack_require__(167),_split=$split,$push=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var NPCG=void 0===/()??/.exec("")[1];$split=function(separator,limit){var string=String(this);if(void 0===separator&&0===limit)return[];if(!isRegExp(separator))return _split.call(string,separator,limit);var separator2,match,lastIndex,lastLength,i,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,splitLimit=void 0===limit?4294967295:limit>>>0,separatorCopy=new RegExp(separator.source,flags+"g");for(NPCG||(separator2=new RegExp("^"+separatorCopy.source+"$(?!\\s)",flags));(match=separatorCopy.exec(string))&&!((lastIndex=match.index+match[0].length)>lastLastIndex&&(output.push(string.slice(lastLastIndex,match.index)),!NPCG&&match.length>1&&match[0].replace(separator2,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)}),match.length>1&&match.index<string.length&&$push.apply(output,match.slice(1)),lastLength=match[0].length,lastLastIndex=lastIndex,output.length>=splitLimit));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++;return lastLastIndex===string.length?!lastLength&&separatorCopy.test("")||output.push(""):output.push(string.slice(lastLastIndex)),output.length>splitLimit?output.slice(0,splitLimit):output}}else"0".split(void 0,0).length&&($split=function(separator,limit){return void 0===separator&&0===limit?[]:_split.call(this,separator,limit)});return[function split(separator,limit){var O=defined(this),fn=void 0==separator?void 0:separator[SPLIT];return void 0!==fn?fn.call(separator,O,limit):$split.call(String(O),separator,limit)},$split]})},function(module,exports,__webpack_require__){"use strict";var _stringify2=_interopRequireDefault(__webpack_require__(27)),_keys2=_interopRequireDefault(__webpack_require__(30)),_typeof3=_interopRequireDefault(__webpack_require__(31)),_deepExtend2=_interopRequireDefault(__webpack_require__(172)),_system2=_interopRequireDefault(__webpack_require__(372)),_window2=_interopRequireDefault(__webpack_require__(22)),_apis2=_interopRequireDefault(__webpack_require__(478)),AllPlugins=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}(__webpack_require__(284)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var GIT_DIRTY=!0,GIT_COMMIT="g9709df8",PACKAGE_VERSION="3.17.3",HOSTNAME="travis-job-dec64ab4-570d-4cbd-a540-94308c3fef86",BUILD_TIME="Sat, 07 Jul 2018 08:02:53 GMT";module.exports=function SwaggerUI(opts){_window2.default.versions=_window2.default.versions||{},_window2.default.versions.swaggerUi={version:PACKAGE_VERSION,gitRevision:GIT_COMMIT,gitDirty:GIT_DIRTY,buildTimestamp:BUILD_TIME,machine:HOSTNAME};var defaults={dom_id:null,domNode:null,spec:{},url:"",urls:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:null,filter:null,validatorUrl:"https://online.swagger.io/validator",configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,requestInterceptor:function requestInterceptor(a){return a},responseInterceptor:function responseInterceptor(a){return a},showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],presets:[_apis2.default],plugins:[],initialState:{},fn:{},components:{}},queryConfig=(0,_utils.parseSearch)(),domNode=opts.domNode;delete opts.domNode;var constructorConfig=(0,_deepExtend2.default)({},defaults,opts,queryConfig),storeConfigs={system:{configs:constructorConfig.configs},plugins:constructorConfig.presets,state:(0,_deepExtend2.default)({layout:{layout:constructorConfig.layout,filter:constructorConfig.filter},spec:{spec:"",url:constructorConfig.url}},constructorConfig.initialState)};if(constructorConfig.initialState)for(var key in constructorConfig.initialState)constructorConfig.initialState.hasOwnProperty(key)&&void 0===constructorConfig.initialState[key]&&delete storeConfigs.state[key];var store=new _system2.default(storeConfigs);store.register([constructorConfig.plugins,function inlinePlugin(){return{fn:constructorConfig.fn,components:constructorConfig.components,state:constructorConfig.state}}]);var system=store.getSystem(),downloadSpec=function downloadSpec(fetchedConfig){var localConfig=system.specSelectors.getLocalConfig?system.specSelectors.getLocalConfig():{},mergedConfig=(0,_deepExtend2.default)({},localConfig,constructorConfig,fetchedConfig||{},queryConfig);if(domNode&&(mergedConfig.domNode=domNode),store.setConfigs(mergedConfig),system.configsActions.loaded(),null!==fetchedConfig&&(!queryConfig.url&&"object"===(0,_typeof3.default)(mergedConfig.spec)&&(0,_keys2.default)(mergedConfig.spec).length?(system.specActions.updateUrl(""),system.specActions.updateLoadingStatus("success"),system.specActions.updateSpec((0,_stringify2.default)(mergedConfig.spec))):system.specActions.download&&mergedConfig.url&&(system.specActions.updateUrl(mergedConfig.url),system.specActions.download(mergedConfig.url))),mergedConfig.domNode)system.render(mergedConfig.domNode,"App");else if(mergedConfig.dom_id){var _domNode=document.querySelector(mergedConfig.dom_id);system.render(_domNode,"App")}else null===mergedConfig.dom_id||null===mergedConfig.domNode||console.error("Skipped rendering: no `dom_id` or `domNode` was specified");return system},configUrl=queryConfig.config||constructorConfig.configUrl;return configUrl&&system.specActions&&system.specActions.getConfigByUrl&&(!system.specActions.getConfigByUrl||system.specActions.getConfigByUrl({url:configUrl,loadRemoteConfig:!0,requestInterceptor:constructorConfig.requestInterceptor,responseInterceptor:constructorConfig.responseInterceptor},downloadSpec))?(system.specActions.getConfigByUrl(configUrl,downloadSpec),system):downloadSpec()},module.exports.presets={apis:_apis2.default},module.exports.plugins=AllPlugins},function(module,exports,__webpack_require__){var core=__webpack_require__(10),$JSON=core.JSON||(core.JSON={stringify:JSON.stringify});module.exports=function stringify(it){return $JSON.stringify.apply($JSON,arguments)}},function(module,exports,__webpack_require__){__webpack_require__(360),module.exports=__webpack_require__(10).Object.keys},function(module,exports,__webpack_require__){var toObject=__webpack_require__(56),$keys=__webpack_require__(55);__webpack_require__(168)("keys",function(){return function keys(it){return $keys(toObject(it))}})},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(362),__esModule:!0}},function(module,exports,__webpack_require__){__webpack_require__(57),__webpack_require__(71),module.exports=__webpack_require__(114).f("iterator")},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(364),__esModule:!0}},function(module,exports,__webpack_require__){__webpack_require__(365),__webpack_require__(171),__webpack_require__(370),__webpack_require__(371),module.exports=__webpack_require__(10).Symbol},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(15),has=__webpack_require__(39),DESCRIPTORS=__webpack_require__(33),$export=__webpack_require__(24),redefine=__webpack_require__(150),META=__webpack_require__(366).KEY,$fails=__webpack_require__(47),shared=__webpack_require__(101),setToStringTag=__webpack_require__(75),uid=__webpack_require__(74),wks=__webpack_require__(13),wksExt=__webpack_require__(114),wksDefine=__webpack_require__(115),enumKeys=__webpack_require__(367),isArray=__webpack_require__(368),anObject=__webpack_require__(26),toIObject=__webpack_require__(45),toPrimitive=__webpack_require__(96),createDesc=__webpack_require__(54),_create=__webpack_require__(97),gOPNExt=__webpack_require__(369),$GOPD=__webpack_require__(170),$DP=__webpack_require__(29),$keys=__webpack_require__(55),gOPD=$GOPD.f,dP=$DP.f,gOPN=gOPNExt.f,$Symbol=global.Symbol,$JSON=global.JSON,_stringify=$JSON&&$JSON.stringify,HIDDEN=wks("_hidden"),TO_PRIMITIVE=wks("toPrimitive"),isEnum={}.propertyIsEnumerable,SymbolRegistry=shared("symbol-registry"),AllSymbols=shared("symbols"),OPSymbols=shared("op-symbols"),ObjectProto=Object.prototype,USE_NATIVE="function"==typeof $Symbol,QObject=global.QObject,setter=!QObject||!QObject.prototype||!QObject.prototype.findChild,setSymbolDesc=DESCRIPTORS&&$fails(function(){return 7!=_create(dP({},"a",{get:function(){return dP(this,"a",{value:7}).a}})).a})?function(it,key,D){var protoDesc=gOPD(ObjectProto,key);protoDesc&&delete ObjectProto[key],dP(it,key,D),protoDesc&&it!==ObjectProto&&dP(ObjectProto,key,protoDesc)}:dP,wrap=function(tag){var sym=AllSymbols[tag]=_create($Symbol.prototype);return sym._k=tag,sym},isSymbol=USE_NATIVE&&"symbol"==typeof $Symbol.iterator?function(it){return"symbol"==typeof it}:function(it){return it instanceof $Symbol},$defineProperty=function defineProperty(it,key,D){return it===ObjectProto&&$defineProperty(OPSymbols,key,D),anObject(it),key=toPrimitive(key,!0),anObject(D),has(AllSymbols,key)?(D.enumerable?(has(it,HIDDEN)&&it[HIDDEN][key]&&(it[HIDDEN][key]=!1),D=_create(D,{enumerable:createDesc(0,!1)})):(has(it,HIDDEN)||dP(it,HIDDEN,createDesc(1,{})),it[HIDDEN][key]=!0),setSymbolDesc(it,key,D)):dP(it,key,D)},$defineProperties=function defineProperties(it,P){anObject(it);for(var key,keys=enumKeys(P=toIObject(P)),i=0,l=keys.length;l>i;)$defineProperty(it,key=keys[i++],P[key]);return it},$propertyIsEnumerable=function propertyIsEnumerable(key){var E=isEnum.call(this,key=toPrimitive(key,!0));return!(this===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))&&(!(E||!has(this,key)||!has(AllSymbols,key)||has(this,HIDDEN)&&this[HIDDEN][key])||E)},$getOwnPropertyDescriptor=function getOwnPropertyDescriptor(it,key){if(it=toIObject(it),key=toPrimitive(key,!0),it!==ObjectProto||!has(AllSymbols,key)||has(OPSymbols,key)){var D=gOPD(it,key);return!D||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(D.enumerable=!0),D}},$getOwnPropertyNames=function getOwnPropertyNames(it){for(var key,names=gOPN(toIObject(it)),result=[],i=0;names.length>i;)has(AllSymbols,key=names[i++])||key==HIDDEN||key==META||result.push(key);return result},$getOwnPropertySymbols=function getOwnPropertySymbols(it){for(var key,IS_OP=it===ObjectProto,names=gOPN(IS_OP?OPSymbols:toIObject(it)),result=[],i=0;names.length>i;)!has(AllSymbols,key=names[i++])||IS_OP&&!has(ObjectProto,key)||result.push(AllSymbols[key]);return result};USE_NATIVE||(redefine(($Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor!");var tag=uid(arguments.length>0?arguments[0]:void 0),$set=function(value){this===ObjectProto&&$set.call(OPSymbols,value),has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1),setSymbolDesc(this,tag,createDesc(1,value))};return DESCRIPTORS&&setter&&setSymbolDesc(ObjectProto,tag,{configurable:!0,set:$set}),wrap(tag)}).prototype,"toString",function toString(){return this._k}),$GOPD.f=$getOwnPropertyDescriptor,$DP.f=$defineProperty,__webpack_require__(169).f=gOPNExt.f=$getOwnPropertyNames,__webpack_require__(83).f=$propertyIsEnumerable,__webpack_require__(116).f=$getOwnPropertySymbols,DESCRIPTORS&&!__webpack_require__(72)&&redefine(ObjectProto,"propertyIsEnumerable",$propertyIsEnumerable,!0),wksExt.f=function(name){return wrap(wks(name))}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Symbol:$Symbol});for(var es6Symbols="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),j=0;es6Symbols.length>j;)wks(es6Symbols[j++]);for(var wellKnownSymbols=$keys(wks.store),k=0;wellKnownSymbols.length>k;)wksDefine(wellKnownSymbols[k++]);$export($export.S+$export.F*!USE_NATIVE,"Symbol",{for:function(key){return has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol!");for(var key in SymbolRegistry)if(SymbolRegistry[key]===sym)return key},useSetter:function(){setter=!0},useSimple:function(){setter=!1}}),$export($export.S+$export.F*!USE_NATIVE,"Object",{create:function create(it,P){return void 0===P?_create(it):$defineProperties(_create(it),P)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor,getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols}),$JSON&&$export($export.S+$export.F*(!USE_NATIVE||$fails(function(){var S=$Symbol();return"[null]"!=_stringify([S])||"{}"!=_stringify({a:S})||"{}"!=_stringify(Object(S))})),"JSON",{stringify:function stringify(it){if(void 0!==it&&!isSymbol(it)){for(var replacer,$replacer,args=[it],i=1;arguments.length>i;)args.push(arguments[i++]);return"function"==typeof(replacer=args[1])&&($replacer=replacer),!$replacer&&isArray(replacer)||(replacer=function(key,value){if($replacer&&(value=$replacer.call(this,key,value)),!isSymbol(value))return value}),args[1]=replacer,_stringify.apply($JSON,args)}}}),$Symbol.prototype[TO_PRIMITIVE]||__webpack_require__(37)($Symbol.prototype,TO_PRIMITIVE,$Symbol.prototype.valueOf),setToStringTag($Symbol,"Symbol"),setToStringTag(Math,"Math",!0),setToStringTag(global.JSON,"JSON",!0)},function(module,exports,__webpack_require__){var META=__webpack_require__(74)("meta"),isObject=__webpack_require__(38),has=__webpack_require__(39),setDesc=__webpack_require__(29).f,id=0,isExtensible=Object.isExtensible||function(){return!0},FREEZE=!__webpack_require__(47)(function(){return isExtensible(Object.preventExtensions({}))}),setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})},meta=module.exports={KEY:META,NEED:!1,fastKey:function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i},getWeak:function(it,create){if(!has(it,META)){if(!isExtensible(it))return!0;if(!create)return!1;setMeta(it)}return it[META].w},onFreeze:function(it){return FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it),it}}},function(module,exports,__webpack_require__){var getKeys=__webpack_require__(55),gOPS=__webpack_require__(116),pIE=__webpack_require__(83);module.exports=function(it){var result=getKeys(it),getSymbols=gOPS.f;if(getSymbols)for(var key,symbols=getSymbols(it),isEnum=pIE.f,i=0;symbols.length>i;)isEnum.call(it,key=symbols[i++])&&result.push(key);return result}},function(module,exports,__webpack_require__){var cof=__webpack_require__(53);module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(45),gOPN=__webpack_require__(169).f,toString={}.toString,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];module.exports.f=function getOwnPropertyNames(it){return windowNames&&"[object Window]"==toString.call(it)?function(it){try{return gOPN(it)}catch(e){return windowNames.slice()}}(it):gOPN(toIObject(it))}},function(module,exports,__webpack_require__){__webpack_require__(115)("asyncIterator")},function(module,exports,__webpack_require__){__webpack_require__(115)("observable")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _keys2=_interopRequireDefault(__webpack_require__(30)),_defineProperty3=_interopRequireDefault(__webpack_require__(19)),_assign2=_interopRequireDefault(__webpack_require__(20)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_react2=_interopRequireDefault(__webpack_require__(0)),_redux=__webpack_require__(378),_immutable=__webpack_require__(7),_immutable2=_interopRequireDefault(_immutable),_deepExtend2=_interopRequireDefault(__webpack_require__(172)),_reduxImmutable=__webpack_require__(379),_serializeError2=_interopRequireDefault(__webpack_require__(117)),_actions=__webpack_require__(84),_window2=_interopRequireDefault(__webpack_require__(22)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var idFn=function idFn(a){return a};var Store=function(){function Store(){var opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_classCallCheck3.default)(this,Store),(0,_deepExtend2.default)(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},opts),this.getSystem=this._getSystem.bind(this),this.store=function configureStore(rootReducer,initialState,getSystem){return function createStoreWithMiddleware(rootReducer,initialState,getSystem){var middlwares=[(0,_utils.systemThunkMiddleware)(getSystem)],composeEnhancers=_window2.default.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||_redux.compose;return(0,_redux.createStore)(rootReducer,initialState,composeEnhancers(_redux.applyMiddleware.apply(void 0,middlwares)))}(rootReducer,initialState,getSystem)}(idFn,(0,_immutable.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}return(0,_createClass3.default)(Store,[{key:"getStore",value:function getStore(){return this.store}},{key:"register",value:function register(plugins){var rebuild=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],pluginSystem=function combinePlugins(plugins,toolbox){if((0,_utils.isObject)(plugins)&&!(0,_utils.isArray)(plugins))return plugins;if((0,_utils.isFunc)(plugins))return combinePlugins(plugins(toolbox),toolbox);if((0,_utils.isArray)(plugins))return plugins.map(function(plugin){return combinePlugins(plugin,toolbox)}).reduce(systemExtend,{});return{}}(plugins,this.getSystem());systemExtend(this.system,pluginSystem),rebuild&&this.buildSystem(),function callAfterLoad(plugins,system){var _this6=this;var _ref3=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},hasLoaded=_ref3.hasLoaded;var calledSomething=hasLoaded;(0,_utils.isObject)(plugins)&&!(0,_utils.isArray)(plugins)&&"function"==typeof plugins.afterLoad&&(calledSomething=!0,wrapWithTryCatch(plugins.afterLoad).call(this,system));if((0,_utils.isFunc)(plugins))return callAfterLoad.call(this,plugins(system),system,{hasLoaded:calledSomething});if((0,_utils.isArray)(plugins))return plugins.map(function(plugin){return callAfterLoad.call(_this6,plugin,system,{hasLoaded:calledSomething})});return calledSomething}.call(this.system,plugins,this.getSystem())&&this.buildSystem()}},{key:"buildSystem",value:function buildSystem(){var buildReducer=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],dispatch=this.getStore().dispatch,getState=this.getStore().getState;this.boundSystem=(0,_assign2.default)({},this.getRootInjects(),this.getWrappedAndBoundActions(dispatch),this.getWrappedAndBoundSelectors(getState,this.getSystem),this.getStateThunks(getState),this.getFn(),this.getConfigs()),buildReducer&&this.rebuildReducer()}},{key:"_getSystem",value:function _getSystem(){return this.boundSystem}},{key:"getRootInjects",value:function getRootInjects(){return(0,_assign2.default)({getSystem:this.getSystem,getStore:this.getStore.bind(this),getComponents:this.getComponents.bind(this),getState:this.getStore().getState,getConfigs:this._getConfigs.bind(this),Im:_immutable2.default,React:_react2.default},this.system.rootInjects||{})}},{key:"_getConfigs",value:function _getConfigs(){return this.system.configs}},{key:"getConfigs",value:function getConfigs(){return{configs:this.system.configs}}},{key:"setConfigs",value:function setConfigs(configs){this.system.configs=configs}},{key:"rebuildReducer",value:function rebuildReducer(){this.store.replaceReducer(function buildReducer(states){return function allReducers(reducerSystem){var reducers=(0,_keys2.default)(reducerSystem).reduce(function(obj,key){return obj[key]=function makeReducer(reducerObj){return function(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new _immutable.Map,action=arguments[1];if(!reducerObj)return state;var redFn=reducerObj[action.type];if(redFn){var res=wrapWithTryCatch(redFn)(state,action);return null===res?state:res}return state}}(reducerSystem[key]),obj},{});if(!(0,_keys2.default)(reducers).length)return idFn;return(0,_reduxImmutable.combineReducers)(reducers)}((0,_utils.objMap)(states,function(val){return val.reducers}))}(this.system.statePlugins))}},{key:"getType",value:function getType(name){var upName=name[0].toUpperCase()+name.slice(1);return(0,_utils.objReduce)(this.system.statePlugins,function(val,namespace){var thing=val[name];if(thing)return(0,_defineProperty3.default)({},namespace+upName,thing)})}},{key:"getSelectors",value:function getSelectors(){return this.getType("selectors")}},{key:"getActions",value:function getActions(){var actionHolders=this.getType("actions");return(0,_utils.objMap)(actionHolders,function(actions){return(0,_utils.objReduce)(actions,function(action,actionName){if((0,_utils.isFn)(action))return(0,_defineProperty3.default)({},actionName,action)})})}},{key:"getWrappedAndBoundActions",value:function getWrappedAndBoundActions(dispatch){var _this=this,actionGroups=this.getBoundActions(dispatch);return(0,_utils.objMap)(actionGroups,function(actions,actionGroupName){var wrappers=_this.system.statePlugins[actionGroupName.slice(0,-7)].wrapActions;return wrappers?(0,_utils.objMap)(actions,function(action,actionName){var wrap=wrappers[actionName];return wrap?(Array.isArray(wrap)||(wrap=[wrap]),wrap.reduce(function(acc,fn){var newAction=function newAction(){return fn(acc,_this.getSystem()).apply(void 0,arguments)};if(!(0,_utils.isFn)(newAction))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return wrapWithTryCatch(newAction)},action||Function.prototype)):action}):actions})}},{key:"getWrappedAndBoundSelectors",value:function getWrappedAndBoundSelectors(getState,getSystem){var _this2=this,selectorGroups=this.getBoundSelectors(getState,getSystem);return(0,_utils.objMap)(selectorGroups,function(selectors,selectorGroupName){var stateName=[selectorGroupName.slice(0,-9)],wrappers=_this2.system.statePlugins[stateName].wrapSelectors;return wrappers?(0,_utils.objMap)(selectors,function(selector,selectorName){var wrap=wrappers[selectorName];return wrap?(Array.isArray(wrap)||(wrap=[wrap]),wrap.reduce(function(acc,fn){var wrappedSelector=function wrappedSelector(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return fn(acc,_this2.getSystem()).apply(void 0,[getState().getIn(stateName)].concat(args))};if(!(0,_utils.isFn)(wrappedSelector))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return wrappedSelector},selector||Function.prototype)):selector}):selectors})}},{key:"getStates",value:function getStates(state){return(0,_keys2.default)(this.system.statePlugins).reduce(function(obj,key){return obj[key]=state.get(key),obj},{})}},{key:"getStateThunks",value:function getStateThunks(getState){return(0,_keys2.default)(this.system.statePlugins).reduce(function(obj,key){return obj[key]=function(){return getState().get(key)},obj},{})}},{key:"getFn",value:function getFn(){return{fn:this.system.fn}}},{key:"getComponents",value:function getComponents(component){var _this3=this,res=this.system.components[component];return Array.isArray(res)?res.reduce(function(ori,wrapper){return wrapper(ori,_this3.getSystem())}):void 0!==component?this.system.components[component]:this.system.components}},{key:"getBoundSelectors",value:function getBoundSelectors(getState,getSystem){return(0,_utils.objMap)(this.getSelectors(),function(obj,key){var stateName=[key.slice(0,-9)];return(0,_utils.objMap)(obj,function(fn){return function(){for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];var res=wrapWithTryCatch(fn).apply(null,[function getNestedState(){return getState().getIn(stateName)}()].concat(args));return"function"==typeof res&&(res=wrapWithTryCatch(res)(getSystem())),res}})})}},{key:"getBoundActions",value:function getBoundActions(dispatch){dispatch=dispatch||this.getStore().dispatch;var actions=this.getActions();return(0,_utils.objMap)(actions,function(actionCreator){return(0,_redux.bindActionCreators)(function process(creator){return"function"!=typeof creator?(0,_utils.objMap)(creator,function(prop){return process(prop)}):function(){var action=null;try{action=creator.apply(void 0,arguments)}catch(e){action={type:_actions.NEW_THROWN_ERR,error:!0,payload:(0,_serializeError2.default)(e)}}finally{return action}}}(actionCreator),dispatch)})}},{key:"getMapStateToProps",value:function getMapStateToProps(){var _this4=this;return function(){return(0,_assign2.default)({},_this4.getSystem())}}},{key:"getMapDispatchToProps",value:function getMapDispatchToProps(extras){var _this5=this;return function(dispatch){return(0,_deepExtend2.default)({},_this5.getWrappedAndBoundActions(dispatch),_this5.getFn(),extras)}}}]),Store}();function systemExtend(){var dest=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},src=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,_utils.isObject)(dest))return{};if(!(0,_utils.isObject)(src))return dest;src.wrapComponents&&((0,_utils.objMap)(src.wrapComponents,function(wrapperFn,key){var ori=dest.components&&dest.components[key];ori&&Array.isArray(ori)?(dest.components[key]=ori.concat([wrapperFn]),delete src.wrapComponents[key]):ori&&(dest.components[key]=[ori,wrapperFn],delete src.wrapComponents[key])}),(0,_keys2.default)(src.wrapComponents).length||delete src.wrapComponents);var statePlugins=dest.statePlugins;if((0,_utils.isObject)(statePlugins))for(var namespace in statePlugins){var namespaceObj=statePlugins[namespace];if((0,_utils.isObject)(namespaceObj)&&(0,_utils.isObject)(namespaceObj.wrapActions)){var wrapActions=namespaceObj.wrapActions;for(var actionName in wrapActions){var action=wrapActions[actionName];Array.isArray(action)||(action=[action],wrapActions[actionName]=action),src&&src.statePlugins&&src.statePlugins[namespace]&&src.statePlugins[namespace].wrapActions&&src.statePlugins[namespace].wrapActions[actionName]&&(src.statePlugins[namespace].wrapActions[actionName]=wrapActions[actionName].concat(src.statePlugins[namespace].wrapActions[actionName]))}}}return(0,_deepExtend2.default)(dest,src)}function wrapWithTryCatch(fn){var _ref4$logErrors=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).logErrors,logErrors=void 0===_ref4$logErrors||_ref4$logErrors;return"function"!=typeof fn?fn:function(){try{for(var _len3=arguments.length,args=Array(_len3),_key3=0;_key3<_len3;_key3++)args[_key3]=arguments[_key3];return fn.call.apply(fn,[this].concat(args))}catch(e){return logErrors&&console.error(e),null}}}exports.default=Store},function(module,exports,__webpack_require__){__webpack_require__(374);var $Object=__webpack_require__(10).Object;module.exports=function defineProperty(it,key,desc){return $Object.defineProperty(it,key,desc)}},function(module,exports,__webpack_require__){var $export=__webpack_require__(24);$export($export.S+$export.F*!__webpack_require__(33),"Object",{defineProperty:__webpack_require__(29).f})},function(module,exports,__webpack_require__){__webpack_require__(376),module.exports=__webpack_require__(10).Object.assign},function(module,exports,__webpack_require__){var $export=__webpack_require__(24);$export($export.S+$export.F,"Object",{assign:__webpack_require__(377)})},function(module,exports,__webpack_require__){"use strict";var getKeys=__webpack_require__(55),gOPS=__webpack_require__(116),pIE=__webpack_require__(83),toObject=__webpack_require__(56),IObject=__webpack_require__(147),$assign=Object.assign;module.exports=!$assign||__webpack_require__(47)(function(){var A={},B={},S=Symbol(),K="abcdefghijklmnopqrst";return A[S]=7,K.split("").forEach(function(k){B[k]=k}),7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K})?function assign(target,source){for(var T=toObject(target),aLen=arguments.length,index=1,getSymbols=gOPS.f,isEnum=pIE.f;aLen>index;)for(var key,S=IObject(arguments[index++]),keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S),length=keys.length,j=0;length>j;)isEnum.call(S,key=keys[j++])&&(T[key]=S[key]);return T}:$assign},function(module,exports){module.exports=require("redux")},function(module,exports){module.exports=require("redux-immutable")},function(module,exports,__webpack_require__){"use strict";(function(global){ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
2 /*! |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
3 * The buffer module from node.js, for the browser. |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
4 * |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
5 * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
6 * @license MIT |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
7 */ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
8 var base64=__webpack_require__(381),ieee754=__webpack_require__(382),isArray=__webpack_require__(383);function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(that,length){if(kMaxLength()<length)throw new RangeError("Invalid typed array length");return Buffer.TYPED_ARRAY_SUPPORT?(that=new Uint8Array(length)).__proto__=Buffer.prototype:(null===that&&(that=new Buffer(length)),that.length=length),that}function Buffer(arg,encodingOrOffset,length){if(!(Buffer.TYPED_ARRAY_SUPPORT||this instanceof Buffer))return new Buffer(arg,encodingOrOffset,length);if("number"==typeof arg){if("string"==typeof encodingOrOffset)throw new Error("If encoding is specified then the first argument must be a string");return allocUnsafe(this,arg)}return from(this,arg,encodingOrOffset,length)}function from(that,value,encodingOrOffset,length){if("number"==typeof value)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&value instanceof ArrayBuffer?function fromArrayBuffer(that,array,byteOffset,length){if(array.byteLength,byteOffset<0||array.byteLength<byteOffset)throw new RangeError("'offset' is out of bounds");if(array.byteLength<byteOffset+(length||0))throw new RangeError("'length' is out of bounds");array=void 0===byteOffset&&void 0===length?new Uint8Array(array):void 0===length?new Uint8Array(array,byteOffset):new Uint8Array(array,byteOffset,length);Buffer.TYPED_ARRAY_SUPPORT?(that=array).__proto__=Buffer.prototype:that=fromArrayLike(that,array);return that}(that,value,encodingOrOffset,length):"string"==typeof value?function fromString(that,string,encoding){"string"==typeof encoding&&""!==encoding||(encoding="utf8");if(!Buffer.isEncoding(encoding))throw new TypeError('"encoding" must be a valid string encoding');var length=0|byteLength(string,encoding),actual=(that=createBuffer(that,length)).write(string,encoding);actual!==length&&(that=that.slice(0,actual));return that}(that,value,encodingOrOffset):function fromObject(that,obj){if(Buffer.isBuffer(obj)){var len=0|checked(obj.length);return 0===(that=createBuffer(that,len)).length?that:(obj.copy(that,0,0,len),that)}if(obj){if("undefined"!=typeof ArrayBuffer&&obj.buffer instanceof ArrayBuffer||"length"in obj)return"number"!=typeof obj.length||function isnan(val){return val!=val}(obj.length)?createBuffer(that,0):fromArrayLike(that,obj);if("Buffer"===obj.type&&isArray(obj.data))return fromArrayLike(that,obj.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(that,value)}function assertSize(size){if("number"!=typeof size)throw new TypeError('"size" argument must be a number');if(size<0)throw new RangeError('"size" argument must not be negative')}function allocUnsafe(that,size){if(assertSize(size),that=createBuffer(that,size<0?0:0|checked(size)),!Buffer.TYPED_ARRAY_SUPPORT)for(var i=0;i<size;++i)that[i]=0;return that}function fromArrayLike(that,array){var length=array.length<0?0:0|checked(array.length);that=createBuffer(that,length);for(var i=0;i<length;i+=1)that[i]=255&array[i];return that}function checked(length){if(length>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|length}function byteLength(string,encoding){if(Buffer.isBuffer(string))return string.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(string)||string instanceof ArrayBuffer))return string.byteLength;"string"!=typeof string&&(string=""+string);var len=string.length;if(0===len)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":case void 0:return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*len;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(0===buffer.length)return-1;if("string"==typeof byteOffset?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,isNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0){if(!dir)return-1;byteOffset=0}if("string"==typeof val&&(val=Buffer.from(val,encoding)),Buffer.isBuffer(val))return 0===val.length?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if("number"==typeof val)return val&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var i,indexSize=1,arrLength=arr.length,valLength=val.length;if(void 0!==encoding&&("ucs2"===(encoding=String(encoding).toLowerCase())||"ucs-2"===encoding||"utf16le"===encoding||"utf-16le"===encoding)){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i){return 1===indexSize?buf[i]:buf.readUInt16BE(i*indexSize)}if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,-1===foundIndex?0:i-foundIndex)){if(-1===foundIndex&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else-1!==foundIndex&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length))>remaining&&(length=remaining):length=remaining;var strLen=string.length;if(strLen%2!=0)throw new TypeError("Invalid hex string");length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(2*i,2),16);if(isNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(255&str.charCodeAt(i));return byteArray}(string),buf,offset,length)}function latin1Write(buf,string,offset,length){return asciiWrite(buf,string,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}(string,buf.length-offset),buf,offset,length)}function base64Slice(buf,start,end){return 0===start&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var secondByte,thirdByte,fourthByte,tempCodePoint,firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end)switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:128==(192&(secondByte=buf[i+1]))&&(tempCodePoint=(31&firstByte)<<6|63&secondByte)>127&&(codePoint=tempCodePoint);break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],128==(192&secondByte)&&128==(192&thirdByte)&&(tempCodePoint=(15&firstByte)<<12|(63&secondByte)<<6|63&thirdByte)>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint);break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],128==(192&secondByte)&&128==(192&thirdByte)&&128==(192&fourthByte)&&(tempCodePoint=(15&firstByte)<<18|(63&secondByte)<<12|(63&thirdByte)<<6|63&fourthByte)>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint)}null===codePoint?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|1023&codePoint),res.push(codePoint),i+=bytesPerSequence}return function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);var res="",i=0;for(;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}(res)}exports.Buffer=Buffer,exports.SlowBuffer=function SlowBuffer(length){+length!=length&&(length=0);return Buffer.alloc(+length)},exports.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function typedArraySupport(){try{var arr=new Uint8Array(1);return arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===arr.foo()&&"function"==typeof arr.subarray&&0===arr.subarray(1,1).byteLength}catch(e){return!1}}(),exports.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(arr){return arr.__proto__=Buffer.prototype,arr},Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(size,fill,encoding){return function alloc(that,size,fill,encoding){return assertSize(size),size<=0?createBuffer(that,size):void 0!==fill?"string"==typeof encoding?createBuffer(that,size).fill(fill,encoding):createBuffer(that,size).fill(fill):createBuffer(that,size)}(null,size,fill,encoding)},Buffer.allocUnsafe=function(size){return allocUnsafe(null,size)},Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size)},Buffer.isBuffer=function isBuffer(b){return!(null==b||!b._isBuffer)},Buffer.compare=function compare(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0},Buffer.isEncoding=function isEncoding(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function concat(list,length){if(!isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(0===list.length)return Buffer.alloc(0);var i;if(void 0===length)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(!Buffer.isBuffer(buf))throw new TypeError('"list" argument must be an Array of Buffers');buf.copy(buffer,pos),pos+=buf.length}return buffer},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this},Buffer.prototype.swap32=function swap32(){var len=this.length;if(len%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this},Buffer.prototype.swap64=function swap64(){var len=this.length;if(len%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this},Buffer.prototype.toString=function toString(){var length=0|this.length;return 0===length?"":0===arguments.length?utf8Slice(this,0,length):function slowToString(encoding,start,end){var loweredCase=!1;if((void 0===start||start<0)&&(start=0),start>this.length)return"";if((void 0===end||end>this.length)&&(end=this.length),end<=0)return"";if((end>>>=0)<=(start>>>=0))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}.apply(this,arguments)},Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===Buffer.compare(this,b)},Buffer.prototype.inspect=function inspect(){var str="",max=exports.INSPECT_MAX_BYTES;return this.length>0&&(str=this.toString("hex",0,max).match(/.{2}/g).join(" "),this.length>max&&(str+=" ... ")),"<Buffer "+str+">"},Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(!Buffer.isBuffer(target))throw new TypeError("Argument must be a Buffer");if(void 0===start&&(start=0),void 0===end&&(end=target?target.length:0),void 0===thisStart&&(thisStart=0),void 0===thisEnd&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0},Buffer.prototype.includes=function includes(val,byteOffset,encoding){return-1!==this.indexOf(val,byteOffset,encoding)},Buffer.prototype.indexOf=function indexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)},Buffer.prototype.lastIndexOf=function lastIndexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)},Buffer.prototype.write=function write(string,offset,length,encoding){if(void 0===offset)encoding="utf8",length=this.length,offset=0;else if(void 0===length&&"string"==typeof offset)encoding=offset,length=this.length,offset=0;else{if(!isFinite(offset))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");offset|=0,isFinite(length)?(length|=0,void 0===encoding&&(encoding="utf8")):(encoding=length,length=void 0)}var remaining=this.length-offset;if((void 0===length||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"latin1":case"binary":return latin1Write(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var MAX_ARGUMENTS_LENGTH=4096;function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(127&buf[i]);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=toHex(buf[i]);return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length;i+=2)res+=String.fromCharCode(bytes[i]+256*bytes[i+1]);return res}function checkOffset(offset,ext,length){if(offset%1!=0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}function objectWriteUInt16(buf,value,offset,littleEndian){value<0&&(value=65535+value+1);for(var i=0,j=Math.min(buf.length-offset,2);i<j;++i)buf[offset+i]=(value&255<<8*(littleEndian?i:1-i))>>>8*(littleEndian?i:1-i)}function objectWriteUInt32(buf,value,offset,littleEndian){value<0&&(value=4294967295+value+1);for(var i=0,j=Math.min(buf.length-offset,4);i<j;++i)buf[offset+i]=value>>>8*(littleEndian?i:3-i)&255}function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,0,offset,4),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}function writeDouble(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,0,offset,8),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer.prototype.slice=function slice(start,end){var newBuf,len=this.length;if(start=~~start,end=void 0===end?len:~~end,start<0?(start+=len)<0&&(start=0):start>len&&(start=len),end<0?(end+=len)<0&&(end=0):end>len&&(end=len),end<start&&(end=start),Buffer.TYPED_ARRAY_SUPPORT)(newBuf=this.subarray(start,end)).__proto__=Buffer.prototype;else{var sliceLen=end-start;newBuf=new Buffer(sliceLen,void 0);for(var i=0;i<sliceLen;++i)newBuf[i]=this[i+start]}return newBuf},Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength&&(mul*=256);)val+=this[offset+i]*mul;return val},Buffer.prototype.readUIntBE=function readUIntBE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var val=this[offset+--byteLength],mul=1;byteLength>0&&(mul*=256);)val+=this[offset+--byteLength]*mul;return val},Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){return noAssert||checkOffset(offset,1,this.length),this[offset]},Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){return noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){return noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+16777216*this[offset+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),16777216*this[offset]+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])},Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength&&(mul*=256);)val+=this[offset+i]*mul;return val>=(mul*=128)&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var i=byteLength,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return val>=(mul*=128)&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readInt8=function readInt8(offset,noAssert){return noAssert||checkOffset(offset,1,this.length),128&this[offset]?-1*(255-this[offset]+1):this[offset]},Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]},Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){return noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){return noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){(value=+value,offset|=0,byteLength|=0,noAssert)||checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0);var mul=1,i=0;for(this[offset]=255&value;++i<byteLength&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength},Buffer.prototype.writeUIntBE=function writeUIntBE(value,offset,byteLength,noAssert){(value=+value,offset|=0,byteLength|=0,noAssert)||checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0);var i=byteLength-1,mul=1;for(this[offset+i]=255&value;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength},Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value)),this[offset]=255&value,offset+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,!0),offset+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=255&value):objectWriteUInt16(this,value,offset,!1),offset+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=255&value):objectWriteUInt32(this,value,offset,!0),offset+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value):objectWriteUInt32(this,value,offset,!1),offset+4},Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){if(value=+value,offset|=0,!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=255&value;++i<byteLength&&(mul*=256);)value<0&&0===sub&&0!==this[offset+i-1]&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength},Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){if(value=+value,offset|=0,!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1,mul=1,sub=0;for(this[offset+i]=255&value;--i>=0&&(mul*=256);)value<0&&0===sub&&0!==this[offset+i+1]&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength},Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value)),value<0&&(value=255+value+1),this[offset]=255&value,offset+1},Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,!0),offset+2},Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=255&value):objectWriteUInt16(this,value,offset,!1),offset+2},Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24):objectWriteUInt32(this,value,offset,!0),offset+4},Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value):objectWriteUInt32(this,value,offset,!1),offset+4},Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)},Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)},Buffer.prototype.copy=function copy(target,targetStart,start,end){if(start||(start=0),end||0===end||(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start)return 0;if(0===target.length||0===this.length)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("sourceStart out of bounds");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var i,len=end-start;if(this===target&&start<targetStart&&targetStart<end)for(i=len-1;i>=0;--i)target[i+targetStart]=this[i+start];else if(len<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i<len;++i)target[i+targetStart]=this[i+start];else Uint8Array.prototype.set.call(target,this.subarray(start,start+len),targetStart);return len},Buffer.prototype.fill=function fill(val,start,end,encoding){if("string"==typeof val){if("string"==typeof start?(encoding=start,start=0,end=this.length):"string"==typeof end&&(encoding=end,end=this.length),1===val.length){var code=val.charCodeAt(0);code<256&&(val=code)}if(void 0!==encoding&&"string"!=typeof encoding)throw new TypeError("encoding must be a string");if("string"==typeof encoding&&!Buffer.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding)}else"number"==typeof val&&(val&=255);if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;var i;if(start>>>=0,end=void 0===end?this.length:end>>>0,val||(val=0),"number"==typeof val)for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer.isBuffer(val)?val:utf8ToBytes(new Buffer(val,encoding).toString()),len=bytes.length;for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g;function toHex(n){return n<16?"0"+n.toString(16):n.toString(16)}function utf8ToBytes(string,units){var codePoint;units=units||1/0;for(var length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if((codePoint=string.charCodeAt(i))>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=65536+(leadSurrogate-55296<<10|codePoint-56320)}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(codePoint<1114112))throw new Error("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}return bytes}function base64ToBytes(str){return base64.toByteArray(function base64clean(str){if((str=function stringtrim(str){return str.trim?str.trim():str.replace(/^\s+|\s+$/g,"")}(str).replace(INVALID_BASE64_RE,"")).length<2)return"";for(;str.length%4!=0;)str+="=";return str}(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}}).call(exports,__webpack_require__(174))},function(module,exports){module.exports=require("base64-js")},function(module,exports){module.exports=require("ieee754")},function(module,exports){module.exports=require("isarray")},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(385),__esModule:!0}},function(module,exports,__webpack_require__){__webpack_require__(71),__webpack_require__(57),module.exports=__webpack_require__(386)},function(module,exports,__webpack_require__){var classof=__webpack_require__(104),ITERATOR=__webpack_require__(13)("iterator"),Iterators=__webpack_require__(44);module.exports=__webpack_require__(10).isIterable=function(it){var O=Object(it);return void 0!==O[ITERATOR]||"@@iterator"in O||Iterators.hasOwnProperty(classof(O))}},function(module,exports,__webpack_require__){"use strict";var invalidPrototcolRegex=/^(%20|\s)*(javascript|data)/im,ctrlCharactersRegex=/[^\x20-\x7E]/gim,urlSchemeRegex=/^([^:]+):/gm,relativeFirstCharacters=[".","/"];module.exports={sanitizeUrl:function sanitizeUrl(url){var urlScheme,urlSchemeParseResults,sanitizedUrl=url.replace(ctrlCharactersRegex,"");return function isRelativeUrl(url){return relativeFirstCharacters.indexOf(url[0])>-1}(sanitizedUrl)?sanitizedUrl:(urlSchemeParseResults=sanitizedUrl.match(urlSchemeRegex))?(urlScheme=urlSchemeParseResults[0],invalidPrototcolRegex.test(urlScheme)?"about:blank":sanitizedUrl):"about:blank"}}},function(module,exports,__webpack_require__){var capitalize=__webpack_require__(389),camelCase=__webpack_require__(180)(function(result,word,index){return word=word.toLowerCase(),result+(index?capitalize(word):word)});module.exports=camelCase},function(module,exports,__webpack_require__){var toString=__webpack_require__(63),upperFirst=__webpack_require__(177);module.exports=function capitalize(string){return upperFirst(toString(string).toLowerCase())}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(50),arrayMap=__webpack_require__(176),isArray=__webpack_require__(14),isSymbol=__webpack_require__(85),INFINITY=1/0,symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(50),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},function(module,exports){var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},function(module,exports,__webpack_require__){var castSlice=__webpack_require__(394),hasUnicode=__webpack_require__(179),stringToArray=__webpack_require__(395),toString=__webpack_require__(63);module.exports=function createCaseFirst(methodName){return function(string){string=toString(string);var strSymbols=hasUnicode(string)?stringToArray(string):void 0,chr=strSymbols?strSymbols[0]:string.charAt(0),trailing=strSymbols?castSlice(strSymbols,1).join(""):string.slice(1);return chr[methodName]()+trailing}}},function(module,exports,__webpack_require__){var baseSlice=__webpack_require__(178);module.exports=function castSlice(array,start,end){var length=array.length;return end=void 0===end?length:end,!start&&end>=length?array:baseSlice(array,start,end)}},function(module,exports,__webpack_require__){var asciiToArray=__webpack_require__(396),hasUnicode=__webpack_require__(179),unicodeToArray=__webpack_require__(397);module.exports=function stringToArray(string){return hasUnicode(string)?unicodeToArray(string):asciiToArray(string)}},function(module,exports){module.exports=function asciiToArray(string){return string.split("")}},function(module,exports){var rsAstral="[\\ud800-\\udfff]",rsCombo="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsNonAstral="[^\\ud800-\\udfff]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",reOptMod="(?:"+rsCombo+"|"+rsFitz+")"+"?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");module.exports=function unicodeToArray(string){return string.match(reUnicode)||[]}},function(module,exports,__webpack_require__){var deburrLetter=__webpack_require__(399),toString=__webpack_require__(63),reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,reComboMark=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");module.exports=function deburr(string){return(string=toString(string))&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}},function(module,exports,__webpack_require__){var deburrLetter=__webpack_require__(400)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});module.exports=deburrLetter},function(module,exports){module.exports=function basePropertyOf(object){return function(key){return null==object?void 0:object[key]}}},function(module,exports,__webpack_require__){var asciiWords=__webpack_require__(402),hasUnicodeWord=__webpack_require__(403),toString=__webpack_require__(63),unicodeWords=__webpack_require__(404);module.exports=function words(string,pattern,guard){return string=toString(string),void 0===(pattern=guard?void 0:pattern)?hasUnicodeWord(string)?unicodeWords(string):asciiWords(string):string.match(pattern)||[]}},function(module,exports){var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;module.exports=function asciiWords(string){return string.match(reAsciiWord)||[]}},function(module,exports){var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;module.exports=function hasUnicodeWord(string){return reHasUnicodeWord.test(string)}},function(module,exports){var rsBreakRange="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsBreak="["+rsBreakRange+"]",rsDigits="\\d+",rsDingbat="[\\u2700-\\u27bf]",rsLower="[a-z\\xdf-\\xf6\\xf8-\\xff]",rsMisc="[^\\ud800-\\udfff"+rsBreakRange+rsDigits+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",reOptMod="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?",rsUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsDigits,rsEmoji].join("|"),"g");module.exports=function unicodeWords(string){return string.match(reUnicodeWord)||[]}},function(module,exports,__webpack_require__){var Hash=__webpack_require__(406),ListCache=__webpack_require__(87),Map=__webpack_require__(119);module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},function(module,exports,__webpack_require__){var hashClear=__webpack_require__(407),hashDelete=__webpack_require__(412),hashGet=__webpack_require__(413),hashHas=__webpack_require__(414),hashSet=__webpack_require__(415);function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet,module.exports=Hash},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(86);module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(183),isMasked=__webpack_require__(409),isObject=__webpack_require__(28),toSource=__webpack_require__(184),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},function(module,exports,__webpack_require__){var coreJsData=__webpack_require__(410),maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},function(module,exports,__webpack_require__){var coreJsData=__webpack_require__(25)["__core-js_shared__"];module.exports=coreJsData},function(module,exports){module.exports=function getValue(object,key){return null==object?void 0:object[key]}},function(module,exports){module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(86),HASH_UNDEFINED="__lodash_hash_undefined__",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(86),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(86),HASH_UNDEFINED="__lodash_hash_undefined__";module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?HASH_UNDEFINED:value,this}},function(module,exports){module.exports=function listCacheClear(){this.__data__=[],this.size=0}},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(88),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0||(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,0))}},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(88);module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(88);module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(88);module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(89);module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},function(module,exports){module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(89);module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(89);module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(89);module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},function(module,exports,__webpack_require__){var baseIteratee=__webpack_require__(90),isArrayLike=__webpack_require__(65),keys=__webpack_require__(51);module.exports=function createFind(findIndexFunc){return function(collection,predicate,fromIndex){var iterable=Object(collection);if(!isArrayLike(collection)){var iteratee=baseIteratee(predicate,3);collection=keys(collection),predicate=function(key){return iteratee(iterable[key],key,iterable)}}var index=findIndexFunc(collection,predicate,fromIndex);return index>-1?iterable[iteratee?collection[index]:index]:void 0}}},function(module,exports,__webpack_require__){var baseIsMatch=__webpack_require__(428),getMatchData=__webpack_require__(454),matchesStrictComparable=__webpack_require__(197);module.exports=function baseMatches(source){var matchData=getMatchData(source);return 1==matchData.length&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}},function(module,exports,__webpack_require__){var Stack=__webpack_require__(120),baseIsEqual=__webpack_require__(186),COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;module.exports=function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index<length;){var key=(data=matchData[index])[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(void 0===objValue&&!(key in object))return!1}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(void 0===result?baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG,customizer,stack):result))return!1}}return!0}},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(87);module.exports=function stackClear(){this.__data__=new ListCache,this.size=0}},function(module,exports){module.exports=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}},function(module,exports){module.exports=function stackGet(key){return this.__data__.get(key)}},function(module,exports){module.exports=function stackHas(key){return this.__data__.has(key)}},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(87),Map=__webpack_require__(119),MapCache=__webpack_require__(118),LARGE_ARRAY_SIZE=200;module.exports=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},function(module,exports,__webpack_require__){var Stack=__webpack_require__(120),equalArrays=__webpack_require__(187),equalByTag=__webpack_require__(439),equalObjects=__webpack_require__(442),getTag=__webpack_require__(92),isArray=__webpack_require__(14),isBuffer=__webpack_require__(124),isTypedArray=__webpack_require__(194),COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?arrayTag:getTag(object),othTag=othIsArr?arrayTag:getTag(other),objIsObj=(objTag=objTag==argsTag?objectTag:objTag)==objectTag,othIsObj=(othTag=othTag==argsTag?objectTag:othTag)==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(bitmask&COMPARE_PARTIAL_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return!!isSameTag&&(stack||(stack=new Stack),equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},function(module,exports,__webpack_require__){var MapCache=__webpack_require__(118),setCacheAdd=__webpack_require__(436),setCacheHas=__webpack_require__(437);function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas,module.exports=SetCache},function(module,exports){var HASH_UNDEFINED="__lodash_hash_undefined__";module.exports=function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED),this}},function(module,exports){module.exports=function setCacheHas(value){return this.__data__.has(value)}},function(module,exports){module.exports=function cacheHas(cache,key){return cache.has(key)}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(50),Uint8Array=__webpack_require__(189),eq=__webpack_require__(64),equalArrays=__webpack_require__(187),mapToArray=__webpack_require__(440),setToArray=__webpack_require__(441),COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)));case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&COMPARE_PARTIAL_FLAG;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG,stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},function(module,exports){module.exports=function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}},function(module,exports){module.exports=function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}},function(module,exports,__webpack_require__){var getAllKeys=__webpack_require__(190),COMPARE_PARTIAL_FLAG=1,hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){var objValue=object[key=objProps[index]],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(void 0===compared?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor="constructor"==key)}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}},function(module,exports){module.exports=function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}},function(module,exports){module.exports=function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(42),isObjectLike=__webpack_require__(32),argsTag="[object Arguments]";module.exports=function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag}},function(module,exports){module.exports=function stubFalse(){return!1}},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(42),isLength=__webpack_require__(126),isObjectLike=__webpack_require__(32),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},function(module,exports,__webpack_require__){var isPrototype=__webpack_require__(129),nativeKeys=__webpack_require__(449),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},function(module,exports,__webpack_require__){var nativeKeys=__webpack_require__(195)(Object.keys,Object);module.exports=nativeKeys},function(module,exports,__webpack_require__){var DataView=__webpack_require__(43)(__webpack_require__(25),"DataView");module.exports=DataView},function(module,exports,__webpack_require__){var Promise=__webpack_require__(43)(__webpack_require__(25),"Promise");module.exports=Promise},function(module,exports,__webpack_require__){var Set=__webpack_require__(43)(__webpack_require__(25),"Set");module.exports=Set},function(module,exports,__webpack_require__){var WeakMap=__webpack_require__(43)(__webpack_require__(25),"WeakMap");module.exports=WeakMap},function(module,exports,__webpack_require__){var isStrictComparable=__webpack_require__(196),keys=__webpack_require__(51);module.exports=function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}},function(module,exports,__webpack_require__){var baseIsEqual=__webpack_require__(186),get=__webpack_require__(130),hasIn=__webpack_require__(458),isKey=__webpack_require__(132),isStrictComparable=__webpack_require__(196),matchesStrictComparable=__webpack_require__(197),toKey=__webpack_require__(52),COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;module.exports=function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}},function(module,exports,__webpack_require__){var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=__webpack_require__(457)(function(string){var result=[];return 46===string.charCodeAt(0)&&result.push(""),string.replace(rePropName,function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)}),result});module.exports=stringToPath},function(module,exports,__webpack_require__){var memoize=__webpack_require__(182),MAX_MEMOIZE_SIZE=500;module.exports=function memoizeCapped(func){var result=memoize(func,function(key){return cache.size===MAX_MEMOIZE_SIZE&&cache.clear(),key}),cache=result.cache;return result}},function(module,exports,__webpack_require__){var baseHasIn=__webpack_require__(459),hasPath=__webpack_require__(460);module.exports=function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}},function(module,exports){module.exports=function baseHasIn(object,key){return null!=object&&key in Object(object)}},function(module,exports,__webpack_require__){var castPath=__webpack_require__(66),isArguments=__webpack_require__(123),isArray=__webpack_require__(14),isIndex=__webpack_require__(91),isLength=__webpack_require__(126),toKey=__webpack_require__(52);module.exports=function hasPath(object,path,hasFunc){for(var index=-1,length=(path=castPath(path,object)).length,result=!1;++index<length;){var key=toKey(path[index]);if(!(result=null!=object&&hasFunc(object,key)))break;object=object[key]}return result||++index!=length?result:!!(length=null==object?0:object.length)&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}},function(module,exports,__webpack_require__){var baseProperty=__webpack_require__(462),basePropertyDeep=__webpack_require__(463),isKey=__webpack_require__(132),toKey=__webpack_require__(52);module.exports=function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}},function(module,exports){module.exports=function baseProperty(key){return function(object){return null==object?void 0:object[key]}}},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(131);module.exports=function basePropertyDeep(path){return function(object){return baseGet(object,path)}}},function(module,exports,__webpack_require__){var baseFindIndex=__webpack_require__(465),baseIteratee=__webpack_require__(90),toInteger=__webpack_require__(466),nativeMax=Math.max;module.exports=function findIndex(array,predicate,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=null==fromIndex?0:toInteger(fromIndex);return index<0&&(index=nativeMax(length+index,0)),baseFindIndex(array,baseIteratee(predicate,3),index)}},function(module,exports){module.exports=function baseFindIndex(array,predicate,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?1:-1);fromRight?index--:++index<length;)if(predicate(array[index],index,array))return index;return-1}},function(module,exports,__webpack_require__){var toFinite=__webpack_require__(467);module.exports=function toInteger(value){var result=toFinite(value),remainder=result%1;return result==result?remainder?result-remainder:result:0}},function(module,exports,__webpack_require__){var toNumber=__webpack_require__(199),INFINITY=1/0,MAX_INTEGER=1.7976931348623157e308;module.exports=function toFinite(value){return value?(value=toNumber(value))===INFINITY||value===-INFINITY?(value<0?-1:1)*MAX_INTEGER:value==value?value:0:0===value?value:0}},function(module,exports,__webpack_require__){var arraySome=__webpack_require__(188),baseIteratee=__webpack_require__(90),baseSome=__webpack_require__(469),isArray=__webpack_require__(14),isIterateeCall=__webpack_require__(474);module.exports=function some(collection,predicate,guard){var func=isArray(collection)?arraySome:baseSome;return guard&&isIterateeCall(collection,predicate,guard)&&(predicate=void 0),func(collection,baseIteratee(predicate,3))}},function(module,exports,__webpack_require__){var baseEach=__webpack_require__(200);module.exports=function baseSome(collection,predicate){var result;return baseEach(collection,function(value,index,collection){return!(result=predicate(value,index,collection))}),!!result}},function(module,exports,__webpack_require__){var baseFor=__webpack_require__(471),keys=__webpack_require__(51);module.exports=function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}},function(module,exports,__webpack_require__){var baseFor=__webpack_require__(472)();module.exports=baseFor},function(module,exports){module.exports=function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(!1===iteratee(iterable[key],key,iterable))break}return object}}},function(module,exports,__webpack_require__){var isArrayLike=__webpack_require__(65);module.exports=function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(null==collection)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);for(var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);(fromRight?index--:++index<length)&&!1!==iteratee(iterable[index],index,iterable););return collection}}},function(module,exports,__webpack_require__){var eq=__webpack_require__(64),isArrayLike=__webpack_require__(65),isIndex=__webpack_require__(91),isObject=__webpack_require__(28);module.exports=function isIterateeCall(value,index,object){if(!isObject(object))return!1;var type=typeof index;return!!("number"==type?isArrayLike(object)&&isIndex(index,object.length):"string"==type&&index in object)&&eq(object[index],value)}},function(module,exports){module.exports=require("xml")},function(module,exports){module.exports=require("memoizee")},function(module,exports){module.exports=require("css.escape")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function PresetApis(){return[_base2.default,_oas2.default]};var _base2=_interopRequireDefault(__webpack_require__(479)),_oas2=_interopRequireDefault(__webpack_require__(261));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){var coreComponents={components:{App:_app2.default,authorizationPopup:_authorizationPopup2.default,authorizeBtn:_authorizeBtn2.default,authorizeOperationBtn:_authorizeOperationBtn2.default,auths:_auths2.default,AuthItem:_authItem2.default,authError:_error2.default,oauth2:_oauth2.default,apiKeyAuth:_apiKeyAuth2.default,basicAuth:_basicAuth2.default,clear:_clear2.default,liveResponse:_liveResponse2.default,info:_info2.default,InfoContainer:_info4.default,onlineValidatorBadge:_onlineValidatorBadge2.default,operations:_operations2.default,operation:_operation2.default,highlightCode:_highlightCode2.default,responses:_responses2.default,response:_response2.default,responseBody:_responseBody2.default,parameters:_parameters2.default,parameterRow:_parameterRow2.default,execute:_execute2.default,headers:_headers2.default,errors:_errors2.default,contentType:_contentType2.default,overview:_overview2.default,footer:_footer2.default,FilterContainer:_filter4.default,ParamBody:_paramBody2.default,curl:_curl2.default,schemes:_schemes2.default,SchemesContainer:_schemes4.default,modelExample:_modelExample2.default,ModelWrapper:_modelWrapper2.default,ModelCollapse:_modelCollapse2.default,Model:_model2.default,Models:_models2.default,EnumModel:_enumModel2.default,ObjectModel:_objectModel2.default,ArrayModel:_arrayModel2.default,PrimitiveModel:_primitiveModel2.default,Property:_property2.default,TryItOutButton:_tryItOutButton2.default,Markdown:_markdown2.default,BaseLayout:_base2.default,VersionPragmaFilter:_versionPragmaFilter2.default,VersionStamp:_versionStamp2.default,OperationExt:_operationExtensions2.default,OperationExtRow:_operationExtensionRow2.default,ParameterExt:_parameterExtension2.default,OperationTag:_operationTag2.default,OperationContainer:_OperationContainer2.default,DeepLink:_deepLink2.default,InfoUrl:_info.InfoUrl,InfoBasePath:_info.InfoBasePath,SvgAssets:_svgAssets2.default}},formComponents={components:LayoutUtils},jsonSchemaComponents={components:JsonSchemaComponents};return[_configs2.default,_util2.default,_logs2.default,_view2.default,_spec2.default,_err2.default,_layout2.default,_samples2.default,coreComponents,formComponents,_swaggerJs2.default,jsonSchemaComponents,_auth2.default,_ast2.default,_splitPaneMode2.default,_downloadUrl2.default,_deepLinking2.default,_filter2.default,_onComplete2.default]};var _err2=_interopRequireDefault(__webpack_require__(201)),_layout2=_interopRequireDefault(__webpack_require__(208)),_spec2=_interopRequireDefault(__webpack_require__(214)),_view2=_interopRequireDefault(__webpack_require__(224)),_samples2=_interopRequireDefault(__webpack_require__(229)),_logs2=_interopRequireDefault(__webpack_require__(230)),_ast2=_interopRequireDefault(__webpack_require__(231)),_swaggerJs2=_interopRequireDefault(__webpack_require__(234)),_auth2=_interopRequireDefault(__webpack_require__(236)),_util2=_interopRequireDefault(__webpack_require__(240)),_splitPaneMode2=_interopRequireDefault(__webpack_require__(241)),_downloadUrl2=_interopRequireDefault(__webpack_require__(243)),_configs2=_interopRequireDefault(__webpack_require__(244)),_deepLinking2=_interopRequireDefault(__webpack_require__(248)),_filter2=_interopRequireDefault(__webpack_require__(253)),_onComplete2=_interopRequireDefault(__webpack_require__(255)),_OperationContainer2=_interopRequireDefault(__webpack_require__(557)),_app2=_interopRequireDefault(__webpack_require__(558)),_authorizationPopup2=_interopRequireDefault(__webpack_require__(559)),_authorizeBtn2=_interopRequireDefault(__webpack_require__(560)),_authorizeOperationBtn2=_interopRequireDefault(__webpack_require__(561)),_auths2=_interopRequireDefault(__webpack_require__(562)),_authItem2=_interopRequireDefault(__webpack_require__(563)),_error2=_interopRequireDefault(__webpack_require__(564)),_apiKeyAuth2=_interopRequireDefault(__webpack_require__(565)),_basicAuth2=_interopRequireDefault(__webpack_require__(566)),_oauth2=_interopRequireDefault(__webpack_require__(567)),_clear2=_interopRequireDefault(__webpack_require__(569)),_liveResponse2=_interopRequireDefault(__webpack_require__(570)),_onlineValidatorBadge2=_interopRequireDefault(__webpack_require__(571)),_operations2=_interopRequireDefault(__webpack_require__(572)),_operationTag2=_interopRequireDefault(__webpack_require__(573)),_operation2=_interopRequireDefault(__webpack_require__(574)),_operationExtensions2=_interopRequireDefault(__webpack_require__(575)),_operationExtensionRow2=_interopRequireDefault(__webpack_require__(576)),_highlightCode2=_interopRequireDefault(__webpack_require__(577)),_responses2=_interopRequireDefault(__webpack_require__(579)),_response2=_interopRequireDefault(__webpack_require__(580)),_responseBody2=_interopRequireDefault(__webpack_require__(581)),_parameters2=_interopRequireDefault(__webpack_require__(584)),_parameterExtension2=_interopRequireDefault(__webpack_require__(585)),_parameterRow2=_interopRequireDefault(__webpack_require__(586)),_execute2=_interopRequireDefault(__webpack_require__(587)),_headers2=_interopRequireDefault(__webpack_require__(588)),_errors2=_interopRequireDefault(__webpack_require__(589)),_contentType2=_interopRequireDefault(__webpack_require__(590)),_overview2=_interopRequireDefault(__webpack_require__(591)),_info=__webpack_require__(592),_info2=_interopRequireDefault(_info),_info4=_interopRequireDefault(__webpack_require__(593)),_footer2=_interopRequireDefault(__webpack_require__(594)),_filter4=_interopRequireDefault(__webpack_require__(595)),_paramBody2=_interopRequireDefault(__webpack_require__(596)),_curl2=_interopRequireDefault(__webpack_require__(597)),_schemes2=_interopRequireDefault(__webpack_require__(599)),_schemes4=_interopRequireDefault(__webpack_require__(600)),_modelCollapse2=_interopRequireDefault(__webpack_require__(601)),_modelExample2=_interopRequireDefault(__webpack_require__(602)),_modelWrapper2=_interopRequireDefault(__webpack_require__(603)),_model2=_interopRequireDefault(__webpack_require__(259)),_models2=_interopRequireDefault(__webpack_require__(605)),_enumModel2=_interopRequireDefault(__webpack_require__(606)),_objectModel2=_interopRequireDefault(__webpack_require__(607)),_arrayModel2=_interopRequireDefault(__webpack_require__(608)),_primitiveModel2=_interopRequireDefault(__webpack_require__(609)),_property2=_interopRequireDefault(__webpack_require__(610)),_tryItOutButton2=_interopRequireDefault(__webpack_require__(611)),_versionPragmaFilter2=_interopRequireDefault(__webpack_require__(612)),_versionStamp2=_interopRequireDefault(__webpack_require__(613)),_deepLink2=_interopRequireDefault(__webpack_require__(614)),_svgAssets2=_interopRequireDefault(__webpack_require__(615)),_markdown2=_interopRequireDefault(__webpack_require__(260)),_base2=_interopRequireDefault(__webpack_require__(618)),LayoutUtils=_interopRequireWildcard(__webpack_require__(258)),JsonSchemaComponents=_interopRequireWildcard(__webpack_require__(619));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){var arrayReduce=__webpack_require__(181),baseEach=__webpack_require__(200),baseIteratee=__webpack_require__(90),baseReduce=__webpack_require__(481),isArray=__webpack_require__(14);module.exports=function reduce(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduce:baseReduce,initAccum=arguments.length<3;return func(collection,baseIteratee(iteratee,4),accumulator,initAccum,baseEach)}},function(module,exports){module.exports=function baseReduce(collection,iteratee,accumulator,initAccum,eachFunc){return eachFunc(collection,function(value,index,collection){accumulator=initAccum?(initAccum=!1,value):iteratee(accumulator,value,index,collection)}),accumulator}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(483),__esModule:!0}},function(module,exports,__webpack_require__){__webpack_require__(57),__webpack_require__(484),module.exports=__webpack_require__(10).Array.from},function(module,exports,__webpack_require__){"use strict";var ctx=__webpack_require__(46),$export=__webpack_require__(24),toObject=__webpack_require__(56),call=__webpack_require__(211),isArrayIter=__webpack_require__(212),toLength=__webpack_require__(98),createProperty=__webpack_require__(485),getIterFn=__webpack_require__(103);$export($export.S+$export.F*!__webpack_require__(213)(function(iter){Array.from(iter)}),"Array",{from:function from(arrayLike){var length,result,step,iterator,O=toObject(arrayLike),C="function"==typeof this?this:Array,aLen=arguments.length,mapfn=aLen>1?arguments[1]:void 0,mapping=void 0!==mapfn,index=0,iterFn=getIterFn(O);if(mapping&&(mapfn=ctx(mapfn,aLen>2?arguments[2]:void 0,2)),void 0==iterFn||C==Array&&isArrayIter(iterFn))for(result=new C(length=toLength(O.length));length>index;index++)createProperty(result,index,mapping?mapfn(O[index],index):O[index]);else for(iterator=iterFn.call(O),result=new C;!(step=iterator.next()).done;index++)createProperty(result,index,mapping?call(iterator,mapfn,[step.value,index],!0):step.value);return result.length=index,result}})},function(module,exports,__webpack_require__){"use strict";var $defineProperty=__webpack_require__(29),createDesc=__webpack_require__(54);module.exports=function(object,index,value){index in object?$defineProperty.f(object,index,createDesc(0,value)):object[index]=value}},function(module,exports,__webpack_require__){__webpack_require__(171),__webpack_require__(57),__webpack_require__(71),__webpack_require__(487),__webpack_require__(494),__webpack_require__(495),module.exports=__webpack_require__(10).Promise},function(module,exports,__webpack_require__){"use strict";var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper,LIBRARY=__webpack_require__(72),global=__webpack_require__(15),ctx=__webpack_require__(46),classof=__webpack_require__(104),$export=__webpack_require__(24),isObject=__webpack_require__(38),aFunction=__webpack_require__(73),anInstance=__webpack_require__(488),forOf=__webpack_require__(489),speciesConstructor=__webpack_require__(216),task=__webpack_require__(217).set,microtask=__webpack_require__(491)(),newPromiseCapabilityModule=__webpack_require__(138),perform=__webpack_require__(218),promiseResolve=__webpack_require__(219),TypeError=global.TypeError,process=global.process,$Promise=global.Promise,isNode="process"==classof(process),empty=function(){},newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f,USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1),FakePromise=(promise.constructor={})[__webpack_require__(13)("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise}catch(e){}}(),isThenable=function(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then},notify=function(promise,isReject){if(!promise._n){promise._n=!0;var chain=promise._c;microtask(function(){for(var value=promise._v,ok=1==promise._s,i=0,run=function(reaction){var result,then,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2==promise._h&&onHandleUnhandled(promise),promise._h=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&domain.exit()),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)):reject(value)}catch(e){reject(e)}};chain.length>i;)run(chain[i++]);promise._c=[],promise._n=!1,isReject&&!promise._h&&onUnhandled(promise)})}},onUnhandled=function(promise){task.call(global,function(){var result,handler,console,value=promise._v,unhandled=isUnhandled(promise);if(unhandled&&(result=perform(function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)}),promise._h=isNode||isUnhandled(promise)?2:1),promise._a=void 0,unhandled&&result.e)throw result.v})},isUnhandled=function(promise){if(1==promise._h)return!1;for(var reaction,chain=promise._a||promise._c,i=0;chain.length>i;)if((reaction=chain[i++]).fail||!isUnhandled(reaction.promise))return!1;return!0},onHandleUnhandled=function(promise){task.call(global,function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})})},$reject=function(value){var promise=this;promise._d||(promise._d=!0,(promise=promise._w||promise)._v=value,promise._s=2,promise._a||(promise._a=promise._c.slice()),notify(promise,!0))},$resolve=function(value){var then,promise=this;if(!promise._d){promise._d=!0,promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");(then=isThenable(value))?microtask(function(){var wrapper={_w:promise,_d:!1};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}}):(promise._v=value,promise._s=1,notify(promise,!1))}catch(e){$reject.call({_w:promise,_d:!1},e)}}};USE_NATIVE||($Promise=function Promise(executor){anInstance(this,$Promise,"Promise","_h"),aFunction(executor),Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}},(Internal=function Promise(executor){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=__webpack_require__(492)($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));return reaction.ok="function"!=typeof onFulfilled||onFulfilled,reaction.fail="function"==typeof onRejected&&onRejected,reaction.domain=isNode?process.domain:void 0,this._c.push(reaction),this._a&&this._a.push(reaction),this._s&¬ify(this,!1),reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}}),OwnPromiseCapability=function(){var promise=new Internal;this.promise=promise,this.resolve=ctx($resolve,promise,1),this.reject=ctx($reject,promise,1)},newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise}),__webpack_require__(75)($Promise,"Promise"),__webpack_require__(493)("Promise"),Wrapper=__webpack_require__(10).Promise,$export($export.S+$export.F*!USE_NATIVE,"Promise",{reject:function reject(r){var capability=newPromiseCapability(this);return(0,capability.reject)(r),capability.promise}}),$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),"Promise",{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}}),$export($export.S+$export.F*!(USE_NATIVE&&__webpack_require__(213)(function(iter){$Promise.all(iter).catch(empty)})),"Promise",{all:function all(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform(function(){var values=[],index=0,remaining=1;forOf(iterable,!1,function(promise){var $index=index++,alreadyCalled=!1;values.push(void 0),remaining++,C.resolve(promise).then(function(value){alreadyCalled||(alreadyCalled=!0,values[$index]=value,--remaining||resolve(values))},reject)}),--remaining||resolve(values)});return result.e&&reject(result.v),capability.promise},race:function race(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform(function(){forOf(iterable,!1,function(promise){C.resolve(promise).then(capability.resolve,reject)})});return result.e&&reject(result.v),capability.promise}})},function(module,exports){module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(46),call=__webpack_require__(211),isArrayIter=__webpack_require__(212),anObject=__webpack_require__(26),toLength=__webpack_require__(98),getIterFn=__webpack_require__(103),BREAK={},RETURN={};(exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var length,step,iterator,result,iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable),f=ctx(fn,that,entries?2:1),index=0;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn)){for(length=toLength(iterable.length);length>index;index++)if((result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]))===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;)if((result=call(iterator,f,step.value,entries))===BREAK||result===RETURN)return result}).BREAK=BREAK,exports.RETURN=RETURN},function(module,exports){module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},function(module,exports,__webpack_require__){var global=__webpack_require__(15),macrotask=__webpack_require__(217).set,Observer=global.MutationObserver||global.WebKitMutationObserver,process=global.process,Promise=global.Promise,isNode="process"==__webpack_require__(53)(process);module.exports=function(){var head,last,notify,flush=function(){var parent,fn;for(isNode&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(e){throw head?notify():last=void 0,e}}last=void 0,parent&&parent.enter()};if(isNode)notify=function(){process.nextTick(flush)};else if(Observer){var toggle=!0,node=document.createTextNode("");new Observer(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle}}else if(Promise&&Promise.resolve){var promise=Promise.resolve();notify=function(){promise.then(flush)}}else notify=function(){macrotask.call(global,flush)};return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}}},function(module,exports,__webpack_require__){var hide=__webpack_require__(37);module.exports=function(target,src,safe){for(var key in src)safe&&target[key]?target[key]=src[key]:hide(target,key,src[key]);return target}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(15),core=__webpack_require__(10),dP=__webpack_require__(29),DESCRIPTORS=__webpack_require__(33),SPECIES=__webpack_require__(13)("species");module.exports=function(KEY){var C="function"==typeof core[KEY]?core[KEY]:global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:!0,get:function(){return this}})}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(24),core=__webpack_require__(10),global=__webpack_require__(15),speciesConstructor=__webpack_require__(216),promiseResolve=__webpack_require__(219);$export($export.P+$export.R,"Promise",{finally:function(onFinally){var C=speciesConstructor(this,core.Promise||global.Promise),isFunction="function"==typeof onFinally;return this.then(isFunction?function(x){return promiseResolve(C,onFinally()).then(function(){return x})}:onFinally,isFunction?function(e){return promiseResolve(C,onFinally()).then(function(){throw e})}:onFinally)}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(24),newPromiseCapability=__webpack_require__(138),perform=__webpack_require__(218);$export($export.S,"Promise",{try:function(callbackfn){var promiseCapability=newPromiseCapability.f(this),result=perform(callbackfn);return(result.e?promiseCapability.reject:promiseCapability.resolve)(result.v),promiseCapability.promise}})},function(module,exports,__webpack_require__){module.exports=__webpack_require__(497)},function(module,exports){module.exports=require("regenerator-runtime")},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _promise2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(137));exports.default=function(fn){return function(){var gen=fn.apply(this,arguments);return new _promise2.default(function(resolve,reject){return function step(key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}if(!info.done)return _promise2.default.resolve(value).then(function(value){step("next",value)},function(err){step("throw",err)});resolve(value)}("next")})}}},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(42),isArray=__webpack_require__(14),isObjectLike=__webpack_require__(32),stringTag="[object String]";module.exports=function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(28),now=__webpack_require__(501),toNumber=__webpack_require__(199),FUNC_ERROR_TEXT="Expected a function",nativeMax=Math.max,nativeMin=Math.min;module.exports=function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}},function(module,exports,__webpack_require__){var root=__webpack_require__(25);module.exports=function(){return root.Date.now()}},function(module,exports,__webpack_require__){var baseSet=__webpack_require__(503);module.exports=function set(object,path,value){return null==object?object:baseSet(object,path,value)}},function(module,exports,__webpack_require__){var assignValue=__webpack_require__(140),castPath=__webpack_require__(66),isIndex=__webpack_require__(91),isObject=__webpack_require__(28),toKey=__webpack_require__(52);module.exports=function baseSet(object,path,value,customizer){if(!isObject(object))return object;for(var index=-1,length=(path=castPath(path,object)).length,lastIndex=length-1,nested=object;null!=nested&&++index<length;){var key=toKey(path[index]),newValue=value;if(index!=lastIndex){var objValue=nested[key];void 0===(newValue=customizer?customizer(objValue,key,nested):void 0)&&(newValue=isObject(objValue)?objValue:isIndex(path[index+1])?[]:{})}assignValue(nested,key,newValue),nested=nested[key]}return object}},function(module,exports,__webpack_require__){__webpack_require__(505),module.exports=__webpack_require__(10).Object.getPrototypeOf},function(module,exports,__webpack_require__){var toObject=__webpack_require__(56),$getPrototypeOf=__webpack_require__(153);__webpack_require__(168)("getPrototypeOf",function(){return function getPrototypeOf(it){return $getPrototypeOf(toObject(it))}})},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(507),__esModule:!0}},function(module,exports,__webpack_require__){__webpack_require__(508),module.exports=__webpack_require__(10).Object.setPrototypeOf},function(module,exports,__webpack_require__){var $export=__webpack_require__(24);$export($export.S,"Object",{setPrototypeOf:__webpack_require__(509).set})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(38),anObject=__webpack_require__(26),check=function(O,proto){if(anObject(O),!isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{(set=__webpack_require__(46)(Function.call,__webpack_require__(170).f(Object.prototype,"__proto__").set,2))(test,[]),buggy=!(test instanceof Array)}catch(e){buggy=!0}return function setPrototypeOf(O,proto){return check(O,proto),buggy?O.__proto__=proto:set(O,proto),O}}({},!1):void 0),check:check}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(511),__esModule:!0}},function(module,exports,__webpack_require__){__webpack_require__(512);var $Object=__webpack_require__(10).Object;module.exports=function create(P,D){return $Object.create(P,D)}},function(module,exports,__webpack_require__){var $export=__webpack_require__(24);$export($export.S,"Object",{create:__webpack_require__(97)})},function(module,exports){module.exports=require("react-dom")},function(module,exports){module.exports=require("react-redux")},function(module,exports,__webpack_require__){var arrayMap=__webpack_require__(176),baseClone=__webpack_require__(516),baseUnset=__webpack_require__(538),castPath=__webpack_require__(66),copyObject=__webpack_require__(69),customOmitClone=__webpack_require__(541),flatRest=__webpack_require__(543),getAllKeysIn=__webpack_require__(228),omit=flatRest(function(object,paths){var result={};if(null==object)return result;var isDeep=!1;paths=arrayMap(paths,function(path){return path=castPath(path,object),isDeep||(isDeep=path.length>1),path}),copyObject(object,getAllKeysIn(object),result),isDeep&&(result=baseClone(result,7,customOmitClone));for(var length=paths.length;length--;)baseUnset(result,paths[length]);return result});module.exports=omit},function(module,exports,__webpack_require__){var Stack=__webpack_require__(120),arrayEach=__webpack_require__(517),assignValue=__webpack_require__(140),baseAssign=__webpack_require__(518),baseAssignIn=__webpack_require__(519),cloneBuffer=__webpack_require__(522),copyArray=__webpack_require__(523),copySymbols=__webpack_require__(524),copySymbolsIn=__webpack_require__(525),getAllKeys=__webpack_require__(190),getAllKeysIn=__webpack_require__(228),getTag=__webpack_require__(92),initCloneArray=__webpack_require__(526),initCloneByTag=__webpack_require__(527),initCloneObject=__webpack_require__(532),isArray=__webpack_require__(14),isBuffer=__webpack_require__(124),isMap=__webpack_require__(534),isObject=__webpack_require__(28),isSet=__webpack_require__(536),keys=__webpack_require__(51),CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,argsTag="[object Arguments]",funcTag="[object Function]",genTag="[object GeneratorFunction]",objectTag="[object Object]",cloneableTags={};cloneableTags[argsTag]=cloneableTags["[object Array]"]=cloneableTags["[object ArrayBuffer]"]=cloneableTags["[object DataView]"]=cloneableTags["[object Boolean]"]=cloneableTags["[object Date]"]=cloneableTags["[object Float32Array]"]=cloneableTags["[object Float64Array]"]=cloneableTags["[object Int8Array]"]=cloneableTags["[object Int16Array]"]=cloneableTags["[object Int32Array]"]=cloneableTags["[object Map]"]=cloneableTags["[object Number]"]=cloneableTags[objectTag]=cloneableTags["[object RegExp]"]=cloneableTags["[object Set]"]=cloneableTags["[object String]"]=cloneableTags["[object Symbol]"]=cloneableTags["[object Uint8Array]"]=cloneableTags["[object Uint8ClampedArray]"]=cloneableTags["[object Uint16Array]"]=cloneableTags["[object Uint32Array]"]=!0,cloneableTags["[object Error]"]=cloneableTags[funcTag]=cloneableTags["[object WeakMap]"]=!1,module.exports=function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=bitmask&CLONE_DEEP_FLAG,isFlat=bitmask&CLONE_FLAT_FLAG,isFull=bitmask&CLONE_SYMBOLS_FLAG;if(customizer&&(result=object?customizer(value,key,object,stack):customizer(value)),void 0!==result)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value))return cloneBuffer(value,isDeep);if(tag==objectTag||tag==argsTag||isFunc&&!object){if(result=isFlat||isFunc?{}:initCloneObject(value),!isDeep)return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;if(stack.set(value,result),isSet(value))return value.forEach(function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))}),result;if(isMap(value))return value.forEach(function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))}),result;var keysFunc=isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys,props=isArr?void 0:keysFunc(value);return arrayEach(props||value,function(subValue,key){props&&(subValue=value[key=subValue]),assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))}),result}},function(module,exports){module.exports=function arrayEach(array,iteratee){for(var index=-1,length=null==array?0:array.length;++index<length&&!1!==iteratee(array[index],index,array););return array}},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(69),keys=__webpack_require__(51);module.exports=function baseAssign(object,source){return object&©Object(source,keys(source),object)}},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(69),keysIn=__webpack_require__(226);module.exports=function baseAssignIn(object,source){return object&©Object(source,keysIn(source),object)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(28),isPrototype=__webpack_require__(129),nativeKeysIn=__webpack_require__(521),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeysIn(object){if(!isObject(object))return nativeKeysIn(object);var isProto=isPrototype(object),result=[];for(var key in object)("constructor"!=key||!isProto&&hasOwnProperty.call(object,key))&&result.push(key);return result}},function(module,exports){module.exports=function nativeKeysIn(object){var result=[];if(null!=object)for(var key in Object(object))result.push(key);return result}},function(module,exports,__webpack_require__){(function(module){var root=__webpack_require__(25),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;module.exports=function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);return buffer.copy(result),result}}).call(exports,__webpack_require__(125)(module))},function(module,exports){module.exports=function copyArray(source,array){var index=-1,length=source.length;for(array||(array=Array(length));++index<length;)array[index]=source[index];return array}},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(69),getSymbols=__webpack_require__(122);module.exports=function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(69),getSymbolsIn=__webpack_require__(227);module.exports=function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object)}},function(module,exports){var hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}},function(module,exports,__webpack_require__){var cloneArrayBuffer=__webpack_require__(142),cloneDataView=__webpack_require__(528),cloneRegExp=__webpack_require__(529),cloneSymbol=__webpack_require__(530),cloneTypedArray=__webpack_require__(531),boolTag="[object Boolean]",dateTag="[object Date]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";module.exports=function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return cloneDataView(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return new Ctor;case numberTag:case stringTag:return new Ctor(object);case regexpTag:return cloneRegExp(object);case setTag:return new Ctor;case symbolTag:return cloneSymbol(object)}}},function(module,exports,__webpack_require__){var cloneArrayBuffer=__webpack_require__(142);module.exports=function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}},function(module,exports){var reFlags=/\w*$/;module.exports=function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));return result.lastIndex=regexp.lastIndex,result}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(50),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}},function(module,exports,__webpack_require__){var cloneArrayBuffer=__webpack_require__(142);module.exports=function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}},function(module,exports,__webpack_require__){var baseCreate=__webpack_require__(533),getPrototype=__webpack_require__(141),isPrototype=__webpack_require__(129);module.exports=function initCloneObject(object){return"function"!=typeof object.constructor||isPrototype(object)?{}:baseCreate(getPrototype(object))}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(28),objectCreate=Object.create,baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;return object.prototype=void 0,result}}();module.exports=baseCreate},function(module,exports,__webpack_require__){var baseIsMap=__webpack_require__(535),baseUnary=__webpack_require__(127),nodeUtil=__webpack_require__(128),nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap},function(module,exports,__webpack_require__){var getTag=__webpack_require__(92),isObjectLike=__webpack_require__(32),mapTag="[object Map]";module.exports=function baseIsMap(value){return isObjectLike(value)&&getTag(value)==mapTag}},function(module,exports,__webpack_require__){var baseIsSet=__webpack_require__(537),baseUnary=__webpack_require__(127),nodeUtil=__webpack_require__(128),nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet},function(module,exports,__webpack_require__){var getTag=__webpack_require__(92),isObjectLike=__webpack_require__(32),setTag="[object Set]";module.exports=function baseIsSet(value){return isObjectLike(value)&&getTag(value)==setTag}},function(module,exports,__webpack_require__){var castPath=__webpack_require__(66),last=__webpack_require__(539),parent=__webpack_require__(540),toKey=__webpack_require__(52);module.exports=function baseUnset(object,path){return path=castPath(path,object),null==(object=parent(object,path))||delete object[toKey(last(path))]}},function(module,exports){module.exports=function last(array){var length=null==array?0:array.length;return length?array[length-1]:void 0}},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(131),baseSlice=__webpack_require__(178);module.exports=function parent(object,path){return path.length<2?object:baseGet(object,baseSlice(path,0,-1))}},function(module,exports,__webpack_require__){var isPlainObject=__webpack_require__(542);module.exports=function customOmitClone(value){return isPlainObject(value)?void 0:value}},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(42),getPrototype=__webpack_require__(141),isObjectLike=__webpack_require__(32),objectTag="[object Object]",funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object);module.exports=function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return!1;var proto=getPrototype(value);if(null===proto)return!0;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}},function(module,exports,__webpack_require__){var flatten=__webpack_require__(544),overRest=__webpack_require__(547),setToString=__webpack_require__(549);module.exports=function flatRest(func){return setToString(overRest(func,void 0,flatten),func+"")}},function(module,exports,__webpack_require__){var baseFlatten=__webpack_require__(545);module.exports=function flatten(array){return null!=array&&array.length?baseFlatten(array,1):[]}},function(module,exports,__webpack_require__){var arrayPush=__webpack_require__(121),isFlattenable=__webpack_require__(546);module.exports=function baseFlatten(array,depth,predicate,isStrict,result){var index=-1,length=array.length;for(predicate||(predicate=isFlattenable),result||(result=[]);++index<length;){var value=array[index];depth>0&&predicate(value)?depth>1?baseFlatten(value,depth-1,predicate,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(50),isArguments=__webpack_require__(123),isArray=__webpack_require__(14),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;module.exports=function isFlattenable(value){return isArray(value)||isArguments(value)||!!(spreadableSymbol&&value&&value[spreadableSymbol])}},function(module,exports,__webpack_require__){var apply=__webpack_require__(548),nativeMax=Math.max;module.exports=function overRest(func,start,transform){return start=nativeMax(void 0===start?func.length-1:start,0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),array=Array(length);++index<length;)array[index]=args[start+index];index=-1;for(var otherArgs=Array(start+1);++index<start;)otherArgs[index]=args[index];return otherArgs[start]=transform(array),apply(func,this,otherArgs)}}},function(module,exports){module.exports=function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}},function(module,exports,__webpack_require__){var baseSetToString=__webpack_require__(550),setToString=__webpack_require__(552)(baseSetToString);module.exports=setToString},function(module,exports,__webpack_require__){var constant=__webpack_require__(551),defineProperty=__webpack_require__(222),identity=__webpack_require__(198),baseSetToString=defineProperty?function(func,string){return defineProperty(func,"toString",{configurable:!0,enumerable:!1,value:constant(string),writable:!0})}:identity;module.exports=baseSetToString},function(module,exports){module.exports=function constant(value){return function(){return value}}},function(module,exports){var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;module.exports=function shortOut(func){var count=0,lastCalled=0;return function(){var stamp=nativeNow(),remaining=HOT_SPAN-(stamp-lastCalled);if(lastCalled=stamp,remaining>0){if(++count>=HOT_COUNT)return arguments[0]}else count=0;return func.apply(void 0,arguments)}}},function(module,exports){module.exports=require("yaml-js")},function(module,exports){module.exports=require("react-split-pane")},function(module,exports){module.exports='---\nurl: "https://petstore.swagger.io/v2/swagger.json"\ndom_id: "#swagger-ui"\nvalidatorUrl: "https://online.swagger.io/validator"\noauth2RedirectUrl: "http://localhost:3200/oauth2-redirect.html"\n'},function(module,exports){module.exports=require("zenscroll")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_swaggerClient=__webpack_require__(235),_immutable=__webpack_require__(7);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var opId=_swaggerClient.helpers.opId,OperationContainer=function(_PureComponent){function OperationContainer(props,context){(0,_classCallCheck3.default)(this,OperationContainer);var _this=(0,_possibleConstructorReturn3.default)(this,(OperationContainer.__proto__||(0,_getPrototypeOf2.default)(OperationContainer)).call(this,props,context));return _this.toggleShown=function(){var _this$props=_this.props,layoutActions=_this$props.layoutActions,tag=_this$props.tag,operationId=_this$props.operationId,isShown=_this$props.isShown,resolvedSubtree=_this.getResolvedSubtree();isShown||void 0!==resolvedSubtree||_this.requestResolvedSubtree(),layoutActions.show(["operations",tag,operationId],!isShown)},_this.onCancelClick=function(){_this.setState({tryItOutEnabled:!_this.state.tryItOutEnabled})},_this.onTryoutClick=function(){var _this$props2=_this.props,specActions=_this$props2.specActions,path=_this$props2.path,method=_this$props2.method;_this.setState({tryItOutEnabled:!_this.state.tryItOutEnabled}),specActions.clearValidateParams([path,method])},_this.onExecute=function(){_this.setState({executeInProgress:!0})},_this.getResolvedSubtree=function(){var _this$props3=_this.props,specSelectors=_this$props3.specSelectors,path=_this$props3.path,method=_this$props3.method,specPath=_this$props3.specPath;return specPath?specSelectors.specResolvedSubtree(specPath.toJS()):specSelectors.specResolvedSubtree(["paths",path,method])},_this.requestResolvedSubtree=function(){var _this$props4=_this.props,specActions=_this$props4.specActions,path=_this$props4.path,method=_this$props4.method,specPath=_this$props4.specPath;return specPath?specActions.requestResolvedSubtree(specPath.toJS()):specActions.requestResolvedSubtree(["paths",path,method])},_this.state={tryItOutEnabled:!1,executeInProgress:!1},_this}return(0,_inherits3.default)(OperationContainer,_PureComponent),(0,_createClass3.default)(OperationContainer,[{key:"mapStateToProps",value:function mapStateToProps(nextState,props){var op=props.op,layoutSelectors=props.layoutSelectors,_getConfigs=(0,props.getConfigs)(),docExpansion=_getConfigs.docExpansion,deepLinking=_getConfigs.deepLinking,displayOperationId=_getConfigs.displayOperationId,displayRequestDuration=_getConfigs.displayRequestDuration,supportedSubmitMethods=_getConfigs.supportedSubmitMethods,showSummary=layoutSelectors.showSummary(),operationId=op.getIn(["operation","__originalOperationId"])||op.getIn(["operation","operationId"])||opId(op.get("operation"),props.path,props.method)||op.get("id"),isShownKey=["operations",props.tag,operationId],isDeepLinkingEnabled=deepLinking&&"false"!==deepLinking,allowTryItOut=supportedSubmitMethods.indexOf(props.method)>=0&&(void 0===props.allowTryItOut?props.specSelectors.allowTryItOutFor(props.path,props.method):props.allowTryItOut),security=op.getIn(["operation","security"])||props.specSelectors.security();return{operationId:operationId,isDeepLinkingEnabled:isDeepLinkingEnabled,showSummary:showSummary,displayOperationId:displayOperationId,displayRequestDuration:displayRequestDuration,allowTryItOut:allowTryItOut,security:security,isAuthorized:props.authSelectors.isAuthorized(security),isShown:layoutSelectors.isShown(isShownKey,"full"===docExpansion),jumpToKey:"paths."+props.path+"."+props.method,response:props.specSelectors.responseFor(props.path,props.method),request:props.specSelectors.requestFor(props.path,props.method)}}},{key:"componentDidMount",value:function componentDidMount(){var isShown=this.props.isShown,resolvedSubtree=this.getResolvedSubtree();isShown&&void 0===resolvedSubtree&&this.requestResolvedSubtree()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var response=nextProps.response,isShown=nextProps.isShown,resolvedSubtree=this.getResolvedSubtree();response!==this.props.response&&this.setState({executeInProgress:!1}),isShown&&void 0===resolvedSubtree&&this.requestResolvedSubtree()}},{key:"render",value:function render(){var _props=this.props,unresolvedOp=_props.op,tag=_props.tag,path=_props.path,method=_props.method,security=_props.security,isAuthorized=_props.isAuthorized,operationId=_props.operationId,showSummary=_props.showSummary,isShown=_props.isShown,jumpToKey=_props.jumpToKey,allowTryItOut=_props.allowTryItOut,response=_props.response,request=_props.request,displayOperationId=_props.displayOperationId,displayRequestDuration=_props.displayRequestDuration,isDeepLinkingEnabled=_props.isDeepLinkingEnabled,specPath=_props.specPath,specSelectors=_props.specSelectors,specActions=_props.specActions,getComponent=_props.getComponent,getConfigs=_props.getConfigs,layoutSelectors=_props.layoutSelectors,layoutActions=_props.layoutActions,authActions=_props.authActions,authSelectors=_props.authSelectors,oas3Actions=_props.oas3Actions,oas3Selectors=_props.oas3Selectors,fn=_props.fn,Operation=getComponent("operation"),resolvedSubtree=this.getResolvedSubtree()||(0,_immutable.Map)(),operationProps=(0,_immutable.fromJS)({op:resolvedSubtree,tag:tag,path:path,summary:unresolvedOp.getIn(["operation","summary"])||"",deprecated:resolvedSubtree.get("deprecated")||unresolvedOp.getIn(["operation","deprecated"])||!1,method:method,security:security,isAuthorized:isAuthorized,operationId:operationId,originalOperationId:resolvedSubtree.getIn(["operation","__originalOperationId"]),showSummary:showSummary,isShown:isShown,jumpToKey:jumpToKey,allowTryItOut:allowTryItOut,request:request,displayOperationId:displayOperationId,displayRequestDuration:displayRequestDuration,isDeepLinkingEnabled:isDeepLinkingEnabled,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return _react2.default.createElement(Operation,{operation:operationProps,response:response,request:request,isShown:isShown,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:specPath,specActions:specActions,specSelectors:specSelectors,oas3Actions:oas3Actions,oas3Selectors:oas3Selectors,layoutActions:layoutActions,layoutSelectors:layoutSelectors,authActions:authActions,authSelectors:authSelectors,getComponent:getComponent,getConfigs:getConfigs,fn:fn})}}]),OperationContainer}(_react.PureComponent);OperationContainer.propTypes={op:_propTypes2.default.instanceOf(_immutable.Iterable).isRequired,tag:_propTypes2.default.string.isRequired,path:_propTypes2.default.string.isRequired,method:_propTypes2.default.string.isRequired,operationId:_propTypes2.default.string.isRequired,showSummary:_propTypes2.default.bool.isRequired,isShown:_propTypes2.default.bool.isRequired,jumpToKey:_propTypes2.default.string.isRequired,allowTryItOut:_propTypes2.default.bool,displayOperationId:_propTypes2.default.bool,isAuthorized:_propTypes2.default.bool,displayRequestDuration:_propTypes2.default.bool,response:_propTypes2.default.instanceOf(_immutable.Iterable),request:_propTypes2.default.instanceOf(_immutable.Iterable),security:_propTypes2.default.instanceOf(_immutable.Iterable),isDeepLinkingEnabled:_propTypes2.default.bool.isRequired,specPath:_reactImmutableProptypes2.default.list.isRequired,getComponent:_propTypes2.default.func.isRequired,authActions:_propTypes2.default.object,oas3Actions:_propTypes2.default.object,oas3Selectors:_propTypes2.default.object,authSelectors:_propTypes2.default.object,specActions:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired,layoutSelectors:_propTypes2.default.object.isRequired,fn:_propTypes2.default.object.isRequired,getConfigs:_propTypes2.default.func.isRequired},OperationContainer.defaultProps={showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1},exports.default=OperationContainer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var App=function(_React$Component){function App(){return(0,_classCallCheck3.default)(this,App),(0,_possibleConstructorReturn3.default)(this,(App.__proto__||(0,_getPrototypeOf2.default)(App)).apply(this,arguments))}return(0,_inherits3.default)(App,_React$Component),(0,_createClass3.default)(App,[{key:"getLayout",value:function getLayout(){var _props=this.props,getComponent=_props.getComponent,layoutName=_props.layoutSelectors.current(),Component=getComponent(layoutName,!0);return Component||function(){return _react2.default.createElement("h1",null,' No layout defined for "',layoutName,'" ')}}},{key:"render",value:function render(){var Layout=this.getLayout();return _react2.default.createElement(Layout,null)}}]),App}(_react2.default.Component);exports.default=App,App.propTypes={getComponent:_propTypes2.default.func.isRequired,layoutSelectors:_propTypes2.default.object.isRequired},App.defaultProps={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var AuthorizationPopup=function(_React$Component){function AuthorizationPopup(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,AuthorizationPopup);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=AuthorizationPopup.__proto__||(0,_getPrototypeOf2.default)(AuthorizationPopup)).call.apply(_ref,[this].concat(args))),_this.close=function(){_this.props.authActions.showDefinitions(!1)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(AuthorizationPopup,_React$Component),(0,_createClass3.default)(AuthorizationPopup,[{key:"render",value:function render(){var _props=this.props,authSelectors=_props.authSelectors,authActions=_props.authActions,getComponent=_props.getComponent,errSelectors=_props.errSelectors,specSelectors=_props.specSelectors,AST=_props.fn.AST,definitions=authSelectors.shownDefinitions(),Auths=getComponent("auths");return _react2.default.createElement("div",{className:"dialog-ux"},_react2.default.createElement("div",{className:"backdrop-ux"}),_react2.default.createElement("div",{className:"modal-ux"},_react2.default.createElement("div",{className:"modal-dialog-ux"},_react2.default.createElement("div",{className:"modal-ux-inner"},_react2.default.createElement("div",{className:"modal-ux-header"},_react2.default.createElement("h3",null,"Available authorizations"),_react2.default.createElement("button",{type:"button",className:"close-modal",onClick:this.close},_react2.default.createElement("svg",{width:"20",height:"20"},_react2.default.createElement("use",{href:"#close",xlinkHref:"#close"})))),_react2.default.createElement("div",{className:"modal-ux-content"},definitions.valueSeq().map(function(definition,key){return _react2.default.createElement(Auths,{key:key,AST:AST,definitions:definition,getComponent:getComponent,errSelectors:errSelectors,authSelectors:authSelectors,authActions:authActions,specSelectors:specSelectors})}))))))}}]),AuthorizationPopup}(_react2.default.Component);AuthorizationPopup.propTypes={fn:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,authSelectors:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,errSelectors:_propTypes2.default.object.isRequired,authActions:_propTypes2.default.object.isRequired},exports.default=AuthorizationPopup},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var AuthorizeBtn=function(_React$Component){function AuthorizeBtn(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,AuthorizeBtn);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=AuthorizeBtn.__proto__||(0,_getPrototypeOf2.default)(AuthorizeBtn)).call.apply(_ref,[this].concat(args))),_this.onClick=function(){var _this$props=_this.props,authActions=_this$props.authActions,definitions=_this$props.authSelectors.definitionsToAuthorize();authActions.showDefinitions(definitions)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(AuthorizeBtn,_React$Component),(0,_createClass3.default)(AuthorizeBtn,[{key:"render",value:function render(){var _props=this.props,authSelectors=_props.authSelectors,AuthorizationPopup=(0,_props.getComponent)("authorizationPopup",!0),showPopup=!!authSelectors.shownDefinitions(),isAuthorized=!!authSelectors.authorized().size;return _react2.default.createElement("div",{className:"auth-wrapper"},_react2.default.createElement("button",{className:isAuthorized?"btn authorize locked":"btn authorize unlocked",onClick:this.onClick},_react2.default.createElement("span",null,"Authorize"),_react2.default.createElement("svg",{width:"20",height:"20"},_react2.default.createElement("use",{href:isAuthorized?"#locked":"#unlocked",xlinkHref:isAuthorized?"#locked":"#unlocked"}))),showPopup&&_react2.default.createElement(AuthorizationPopup,null))}}]),AuthorizeBtn}(_react2.default.Component);AuthorizeBtn.propTypes={className:_propTypes2.default.string},AuthorizeBtn.propTypes={getComponent:_propTypes2.default.func.isRequired,authSelectors:_propTypes2.default.object.isRequired,errActions:_propTypes2.default.object.isRequired,authActions:_propTypes2.default.object.isRequired},exports.default=AuthorizeBtn},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var AuthorizeOperationBtn=function(_React$Component){function AuthorizeOperationBtn(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,AuthorizeOperationBtn);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=AuthorizeOperationBtn.__proto__||(0,_getPrototypeOf2.default)(AuthorizeOperationBtn)).call.apply(_ref,[this].concat(args))),_this.onClick=function(e){e.stopPropagation();var onClick=_this.props.onClick;onClick&&onClick()},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(AuthorizeOperationBtn,_React$Component),(0,_createClass3.default)(AuthorizeOperationBtn,[{key:"render",value:function render(){var isAuthorized=this.props.isAuthorized;return _react2.default.createElement("button",{className:isAuthorized?"authorization__btn locked":"authorization__btn unlocked","aria-label":isAuthorized?"authorization button locked":"authorization button unlocked",onClick:this.onClick},_react2.default.createElement("svg",{width:"20",height:"20"},_react2.default.createElement("use",{href:isAuthorized?"#locked":"#unlocked",xlinkHref:isAuthorized?"#locked":"#unlocked"})))}}]),AuthorizeOperationBtn}(_react2.default.Component);AuthorizeOperationBtn.propTypes={isAuthorized:_propTypes2.default.bool.isRequired,onClick:_propTypes2.default.func},exports.default=AuthorizeOperationBtn},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _defineProperty3=_interopRequireDefault(__webpack_require__(19)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Auths=function(_React$Component){function Auths(props,context){(0,_classCallCheck3.default)(this,Auths);var _this=(0,_possibleConstructorReturn3.default)(this,(Auths.__proto__||(0,_getPrototypeOf2.default)(Auths)).call(this,props,context));return _this.onAuthChange=function(auth){var name=auth.name;_this.setState((0,_defineProperty3.default)({},name,auth))},_this.submitAuth=function(e){e.preventDefault(),_this.props.authActions.authorize(_this.state)},_this.logoutClick=function(e){e.preventDefault();var _this$props=_this.props,authActions=_this$props.authActions,auths=_this$props.definitions.map(function(val,key){return key}).toArray();authActions.logout(auths)},_this.close=function(e){e.preventDefault(),_this.props.authActions.showDefinitions(!1)},_this.state={},_this}return(0,_inherits3.default)(Auths,_React$Component),(0,_createClass3.default)(Auths,[{key:"render",value:function render(){var _this2=this,_props=this.props,definitions=_props.definitions,getComponent=_props.getComponent,authSelectors=_props.authSelectors,errSelectors=_props.errSelectors,AuthItem=getComponent("AuthItem"),Oauth2=getComponent("oauth2",!0),Button=getComponent("Button"),authorized=authSelectors.authorized(),authorizedAuth=definitions.filter(function(definition,key){return!!authorized.get(key)}),nonOauthDefinitions=definitions.filter(function(schema){return"oauth2"!==schema.get("type")}),oauthDefinitions=definitions.filter(function(schema){return"oauth2"===schema.get("type")});return _react2.default.createElement("div",{className:"auth-container"},!!nonOauthDefinitions.size&&_react2.default.createElement("form",{onSubmit:this.submitAuth},nonOauthDefinitions.map(function(schema,name){return _react2.default.createElement(AuthItem,{key:name,schema:schema,name:name,getComponent:getComponent,onAuthChange:_this2.onAuthChange,authorized:authorized,errSelectors:errSelectors})}).toArray(),_react2.default.createElement("div",{className:"auth-btn-wrapper"},nonOauthDefinitions.size===authorizedAuth.size?_react2.default.createElement(Button,{className:"btn modal-btn auth",onClick:this.logoutClick},"Logout"):_react2.default.createElement(Button,{type:"submit",className:"btn modal-btn auth authorize"},"Authorize"),_react2.default.createElement(Button,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),oauthDefinitions&&oauthDefinitions.size?_react2.default.createElement("div",null,_react2.default.createElement("div",{className:"scope-def"},_react2.default.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),_react2.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),definitions.filter(function(schema){return"oauth2"===schema.get("type")}).map(function(schema,name){return _react2.default.createElement("div",{key:name},_react2.default.createElement(Oauth2,{authorized:authorized,schema:schema,name:name}))}).toArray()):null)}}]),Auths}(_react2.default.Component);Auths.propTypes={definitions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,authSelectors:_propTypes2.default.object.isRequired,authActions:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired},Auths.propTypes={errSelectors:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,authSelectors:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,authActions:_propTypes2.default.object.isRequired,definitions:_reactImmutableProptypes2.default.iterable.isRequired},exports.default=Auths},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Auths=function(_React$Component){function Auths(){return(0,_classCallCheck3.default)(this,Auths),(0,_possibleConstructorReturn3.default)(this,(Auths.__proto__||(0,_getPrototypeOf2.default)(Auths)).apply(this,arguments))}return(0,_inherits3.default)(Auths,_React$Component),(0,_createClass3.default)(Auths,[{key:"render",value:function render(){var _props=this.props,schema=_props.schema,name=_props.name,getComponent=_props.getComponent,onAuthChange=_props.onAuthChange,authorized=_props.authorized,errSelectors=_props.errSelectors,ApiKeyAuth=getComponent("apiKeyAuth"),BasicAuth=getComponent("basicAuth"),authEl=void 0,type=schema.get("type");switch(type){case"apiKey":authEl=_react2.default.createElement(ApiKeyAuth,{key:name,schema:schema,name:name,errSelectors:errSelectors,authorized:authorized,getComponent:getComponent,onChange:onAuthChange});break;case"basic":authEl=_react2.default.createElement(BasicAuth,{key:name,schema:schema,name:name,errSelectors:errSelectors,authorized:authorized,getComponent:getComponent,onChange:onAuthChange});break;default:authEl=_react2.default.createElement("div",{key:name},"Unknown security definition type ",type)}return _react2.default.createElement("div",{key:name+"-jump"},authEl)}}]),Auths}(_react2.default.Component);Auths.propTypes={schema:_reactImmutableProptypes2.default.orderedMap.isRequired,name:_propTypes2.default.string.isRequired,onAuthChange:_propTypes2.default.func.isRequired,authorized:_reactImmutableProptypes2.default.orderedMap.isRequired},Auths.propTypes={errSelectors:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,authSelectors:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,authActions:_propTypes2.default.object.isRequired,definitions:_reactImmutableProptypes2.default.iterable.isRequired},exports.default=Auths},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var AuthError=function(_React$Component){function AuthError(){return(0,_classCallCheck3.default)(this,AuthError),(0,_possibleConstructorReturn3.default)(this,(AuthError.__proto__||(0,_getPrototypeOf2.default)(AuthError)).apply(this,arguments))}return(0,_inherits3.default)(AuthError,_React$Component),(0,_createClass3.default)(AuthError,[{key:"render",value:function render(){var error=this.props.error,level=error.get("level"),message=error.get("message"),source=error.get("source");return _react2.default.createElement("div",{className:"errors",style:{backgroundColor:"#ffeeee",color:"red",margin:"1em"}},_react2.default.createElement("b",{style:{textTransform:"capitalize",marginRight:"1em"}},source," ",level),_react2.default.createElement("span",null,message))}}]),AuthError}(_react2.default.Component);AuthError.propTypes={error:_propTypes2.default.object.isRequired},exports.default=AuthError},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _assign2=_interopRequireDefault(__webpack_require__(20)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ApiKeyAuth=function(_React$Component){function ApiKeyAuth(props,context){(0,_classCallCheck3.default)(this,ApiKeyAuth);var _this=(0,_possibleConstructorReturn3.default)(this,(ApiKeyAuth.__proto__||(0,_getPrototypeOf2.default)(ApiKeyAuth)).call(this,props,context));_initialiseProps.call(_this);var _this$props=_this.props,name=_this$props.name,schema=_this$props.schema,value=_this.getValue();return _this.state={name:name,schema:schema,value:value},_this}return(0,_inherits3.default)(ApiKeyAuth,_React$Component),(0,_createClass3.default)(ApiKeyAuth,[{key:"getValue",value:function getValue(){var _props=this.props,name=_props.name,authorized=_props.authorized;return authorized&&authorized.getIn([name,"value"])}},{key:"render",value:function render(){var _props2=this.props,schema=_props2.schema,getComponent=_props2.getComponent,errSelectors=_props2.errSelectors,name=_props2.name,Input=getComponent("Input"),Row=getComponent("Row"),Col=getComponent("Col"),AuthError=getComponent("authError"),Markdown=getComponent("Markdown"),JumpToPath=getComponent("JumpToPath",!0),value=this.getValue(),errors=errSelectors.allErrors().filter(function(err){return err.get("authId")===name});return _react2.default.createElement("div",null,_react2.default.createElement("h4",null,_react2.default.createElement("code",null,name||schema.get("name"))," (apiKey)",_react2.default.createElement(JumpToPath,{path:["securityDefinitions",name]})),value&&_react2.default.createElement("h6",null,"Authorized"),_react2.default.createElement(Row,null,_react2.default.createElement(Markdown,{source:schema.get("description")})),_react2.default.createElement(Row,null,_react2.default.createElement("p",null,"Name: ",_react2.default.createElement("code",null,schema.get("name")))),_react2.default.createElement(Row,null,_react2.default.createElement("p",null,"In: ",_react2.default.createElement("code",null,schema.get("in")))),_react2.default.createElement(Row,null,_react2.default.createElement("label",null,"Value:"),value?_react2.default.createElement("code",null," ****** "):_react2.default.createElement(Col,null,_react2.default.createElement(Input,{type:"text",onChange:this.onChange}))),errors.valueSeq().map(function(error,key){return _react2.default.createElement(AuthError,{error:error,key:key})}))}}]),ApiKeyAuth}(_react2.default.Component);ApiKeyAuth.propTypes={authorized:_propTypes2.default.object,getComponent:_propTypes2.default.func.isRequired,errSelectors:_propTypes2.default.object.isRequired,schema:_propTypes2.default.object.isRequired,name:_propTypes2.default.string.isRequired,onChange:_propTypes2.default.func};var _initialiseProps=function _initialiseProps(){var _this2=this;this.onChange=function(e){var onChange=_this2.props.onChange,value=e.target.value,newState=(0,_assign2.default)({},_this2.state,{value:value});_this2.setState(newState),onChange(newState)}};exports.default=ApiKeyAuth},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var BasicAuth=function(_React$Component){function BasicAuth(props,context){(0,_classCallCheck3.default)(this,BasicAuth);var _this=(0,_possibleConstructorReturn3.default)(this,(BasicAuth.__proto__||(0,_getPrototypeOf2.default)(BasicAuth)).call(this,props,context));_initialiseProps.call(_this);var _this$props=_this.props,schema=_this$props.schema,name=_this$props.name,username=_this.getValue().username;return _this.state={name:name,schema:schema,value:username?{username:username}:{}},_this}return(0,_inherits3.default)(BasicAuth,_React$Component),(0,_createClass3.default)(BasicAuth,[{key:"getValue",value:function getValue(){var _props=this.props,authorized=_props.authorized,name=_props.name;return authorized&&authorized.getIn([name,"value"])||{}}},{key:"render",value:function render(){var _props2=this.props,schema=_props2.schema,getComponent=_props2.getComponent,name=_props2.name,errSelectors=_props2.errSelectors,Input=getComponent("Input"),Row=getComponent("Row"),Col=getComponent("Col"),AuthError=getComponent("authError"),JumpToPath=getComponent("JumpToPath",!0),Markdown=getComponent("Markdown"),username=this.getValue().username,errors=errSelectors.allErrors().filter(function(err){return err.get("authId")===name});return _react2.default.createElement("div",null,_react2.default.createElement("h4",null,"Basic authorization",_react2.default.createElement(JumpToPath,{path:["securityDefinitions",name]})),username&&_react2.default.createElement("h6",null,"Authorized"),_react2.default.createElement(Row,null,_react2.default.createElement(Markdown,{source:schema.get("description")})),_react2.default.createElement(Row,null,_react2.default.createElement("label",null,"Username:"),username?_react2.default.createElement("code",null," ",username," "):_react2.default.createElement(Col,null,_react2.default.createElement(Input,{type:"text",required:"required",name:"username",onChange:this.onChange}))),_react2.default.createElement(Row,null,_react2.default.createElement("label",null,"Password:"),username?_react2.default.createElement("code",null," ****** "):_react2.default.createElement(Col,null,_react2.default.createElement(Input,{required:"required",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),errors.valueSeq().map(function(error,key){return _react2.default.createElement(AuthError,{error:error,key:key})}))}}]),BasicAuth}(_react2.default.Component);BasicAuth.propTypes={authorized:_propTypes2.default.object,getComponent:_propTypes2.default.func.isRequired,schema:_propTypes2.default.object.isRequired,onChange:_propTypes2.default.func.isRequired},BasicAuth.propTypes={name:_propTypes2.default.string.isRequired,errSelectors:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,onChange:_propTypes2.default.func,schema:_reactImmutableProptypes2.default.map,authorized:_reactImmutableProptypes2.default.map};var _initialiseProps=function _initialiseProps(){var _this2=this;this.onChange=function(e){var onChange=_this2.props.onChange,_e$target=e.target,value=_e$target.value,name=_e$target.name,newValue=_this2.state.value;newValue[name]=value,_this2.setState({value:newValue}),onChange(_this2.state)}};exports.default=BasicAuth},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _defineProperty3=_interopRequireDefault(__webpack_require__(19)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_oauth2Authorize2=_interopRequireDefault(__webpack_require__(568));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Oauth2=function(_React$Component){function Oauth2(props,context){(0,_classCallCheck3.default)(this,Oauth2);var _this=(0,_possibleConstructorReturn3.default)(this,(Oauth2.__proto__||(0,_getPrototypeOf2.default)(Oauth2)).call(this,props,context));_initialiseProps.call(_this);var _this$props=_this.props,name=_this$props.name,schema=_this$props.schema,authorized=_this$props.authorized,authSelectors=_this$props.authSelectors,auth=authorized&&authorized.get(name),authConfigs=authSelectors.getConfigs()||{},username=auth&&auth.get("username")||"",clientId=auth&&auth.get("clientId")||authConfigs.clientId||"",clientSecret=auth&&auth.get("clientSecret")||authConfigs.clientSecret||"",passwordType=auth&&auth.get("passwordType")||"request-body";return _this.state={appName:authConfigs.appName,name:name,schema:schema,scopes:[],clientId:clientId,clientSecret:clientSecret,username:username,password:"",passwordType:passwordType},_this}return(0,_inherits3.default)(Oauth2,_React$Component),(0,_createClass3.default)(Oauth2,[{key:"render",value:function render(){var _this2=this,_props=this.props,schema=_props.schema,getComponent=_props.getComponent,authSelectors=_props.authSelectors,errSelectors=_props.errSelectors,name=_props.name,specSelectors=_props.specSelectors,Input=getComponent("Input"),Row=getComponent("Row"),Col=getComponent("Col"),Button=getComponent("Button"),AuthError=getComponent("authError"),JumpToPath=getComponent("JumpToPath",!0),Markdown=getComponent("Markdown"),isOAS3=specSelectors.isOAS3,ACCESS_CODE=isOAS3()?"authorizationCode":"accessCode",APPLICATION=isOAS3()?"clientCredentials":"application",flow=schema.get("flow"),scopes=schema.get("allowedScopes")||schema.get("scopes"),isAuthorized=!!authSelectors.authorized().get(name),errors=errSelectors.allErrors().filter(function(err){return err.get("authId")===name}),isValid=!errors.filter(function(err){return"validation"===err.get("source")}).size,description=schema.get("description");return _react2.default.createElement("div",null,_react2.default.createElement("h4",null,name," (OAuth2, ",schema.get("flow"),") ",_react2.default.createElement(JumpToPath,{path:["securityDefinitions",name]})),this.state.appName?_react2.default.createElement("h5",null,"Application: ",this.state.appName," "):null,description&&_react2.default.createElement(Markdown,{source:schema.get("description")}),isAuthorized&&_react2.default.createElement("h6",null,"Authorized"),("implicit"===flow||flow===ACCESS_CODE)&&_react2.default.createElement("p",null,"Authorization URL: ",_react2.default.createElement("code",null,schema.get("authorizationUrl"))),("password"===flow||flow===ACCESS_CODE||flow===APPLICATION)&&_react2.default.createElement("p",null,"Token URL:",_react2.default.createElement("code",null," ",schema.get("tokenUrl"))),_react2.default.createElement("p",{className:"flow"},"Flow: ",_react2.default.createElement("code",null,schema.get("flow"))),"password"!==flow?null:_react2.default.createElement(Row,null,_react2.default.createElement(Row,null,_react2.default.createElement("label",{htmlFor:"oauth_username"},"username:"),isAuthorized?_react2.default.createElement("code",null," ",this.state.username," "):_react2.default.createElement(Col,{tablet:10,desktop:10},_react2.default.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange}))),_react2.default.createElement(Row,null,_react2.default.createElement("label",{htmlFor:"oauth_password"},"password:"),isAuthorized?_react2.default.createElement("code",null," ****** "):_react2.default.createElement(Col,{tablet:10,desktop:10},_react2.default.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),_react2.default.createElement(Row,null,_react2.default.createElement("label",{htmlFor:"password_type"},"type:"),isAuthorized?_react2.default.createElement("code",null," ",this.state.passwordType," "):_react2.default.createElement(Col,{tablet:10,desktop:10},_react2.default.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},_react2.default.createElement("option",{value:"request-body"},"Request body"),_react2.default.createElement("option",{value:"basic"},"Basic auth"),_react2.default.createElement("option",{value:"query"},"Query parameters"))))),(flow===APPLICATION||"implicit"===flow||flow===ACCESS_CODE||"password"===flow&&"basic"!==this.state.passwordType)&&(!isAuthorized||isAuthorized&&this.state.clientId)&&_react2.default.createElement(Row,null,_react2.default.createElement("label",{htmlFor:"client_id"},"client_id:"),isAuthorized?_react2.default.createElement("code",null," ****** "):_react2.default.createElement(Col,{tablet:10,desktop:10},_react2.default.createElement("input",{id:"client_id",type:"text",required:"password"===flow,value:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(flow===APPLICATION||flow===ACCESS_CODE||"password"===flow&&"basic"!==this.state.passwordType)&&_react2.default.createElement(Row,null,_react2.default.createElement("label",{htmlFor:"client_secret"},"client_secret:"),isAuthorized?_react2.default.createElement("code",null," ****** "):_react2.default.createElement(Col,{tablet:10,desktop:10},_react2.default.createElement("input",{id:"client_secret",value:this.state.clientSecret,type:"text","data-name":"clientSecret",onChange:this.onInputChange}))),!isAuthorized&&scopes&&scopes.size?_react2.default.createElement("div",{className:"scopes"},_react2.default.createElement("h2",null,"Scopes:"),scopes.map(function(description,name){return _react2.default.createElement(Row,{key:name},_react2.default.createElement("div",{className:"checkbox"},_react2.default.createElement(Input,{"data-value":name,id:name+"-"+flow+"-checkbox-"+_this2.state.name,disabled:isAuthorized,type:"checkbox",onChange:_this2.onScopeChange}),_react2.default.createElement("label",{htmlFor:name+"-"+flow+"-checkbox-"+_this2.state.name},_react2.default.createElement("span",{className:"item"}),_react2.default.createElement("div",{className:"text"},_react2.default.createElement("p",{className:"name"},name),_react2.default.createElement("p",{className:"description"},description)))))}).toArray()):null,errors.valueSeq().map(function(error,key){return _react2.default.createElement(AuthError,{error:error,key:key})}),_react2.default.createElement("div",{className:"auth-btn-wrapper"},isValid&&(isAuthorized?_react2.default.createElement(Button,{className:"btn modal-btn auth authorize",onClick:this.logout},"Logout"):_react2.default.createElement(Button,{className:"btn modal-btn auth authorize",onClick:this.authorize},"Authorize")),_react2.default.createElement(Button,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}]),Oauth2}(_react2.default.Component);Oauth2.propTypes={name:_propTypes2.default.string,authorized:_propTypes2.default.object,getComponent:_propTypes2.default.func.isRequired,schema:_propTypes2.default.object.isRequired,authSelectors:_propTypes2.default.object.isRequired,authActions:_propTypes2.default.object.isRequired,errSelectors:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,errActions:_propTypes2.default.object.isRequired,getConfigs:_propTypes2.default.any};var _initialiseProps=function _initialiseProps(){var _this3=this;this.close=function(e){e.preventDefault(),_this3.props.authActions.showDefinitions(!1)},this.authorize=function(){var _props2=_this3.props,authActions=_props2.authActions,errActions=_props2.errActions,getConfigs=_props2.getConfigs,authSelectors=_props2.authSelectors,configs=getConfigs(),authConfigs=authSelectors.getConfigs();errActions.clear({authId:name,type:"auth",source:"auth"}),(0,_oauth2Authorize2.default)({auth:_this3.state,authActions:authActions,errActions:errActions,configs:configs,authConfigs:authConfigs})},this.onScopeChange=function(e){var target=e.target,checked=target.checked,scope=target.dataset.value;if(checked&&-1===_this3.state.scopes.indexOf(scope)){var newScopes=_this3.state.scopes.concat([scope]);_this3.setState({scopes:newScopes})}else!checked&&_this3.state.scopes.indexOf(scope)>-1&&_this3.setState({scopes:_this3.state.scopes.filter(function(val){return val!==scope})})},this.onInputChange=function(e){var _e$target=e.target,name=_e$target.dataset.name,value=_e$target.value,state=(0,_defineProperty3.default)({},name,value);_this3.setState(state)},this.logout=function(e){e.preventDefault();var _props3=_this3.props,authActions=_props3.authActions,errActions=_props3.errActions,name=_props3.name;errActions.clear({authId:name,type:"auth",source:"auth"}),authActions.logout([name])}};exports.default=Oauth2},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function authorize(_ref){var auth=_ref.auth,authActions=_ref.authActions,errActions=_ref.errActions,configs=_ref.configs,_ref$authConfigs=_ref.authConfigs,authConfigs=void 0===_ref$authConfigs?{}:_ref$authConfigs,schema=auth.schema,scopes=auth.scopes,name=auth.name,clientId=auth.clientId,flow=schema.get("flow"),query=[];switch(flow){case"password":return void authActions.authorizePassword(auth);case"application":return void authActions.authorizeApplication(auth);case"accessCode":query.push("response_type=code");break;case"implicit":query.push("response_type=token");break;case"clientCredentials":return void authActions.authorizeApplication(auth);case"authorizationCode":query.push("response_type=code")}"string"==typeof clientId&&query.push("client_id="+encodeURIComponent(clientId));var redirectUrl=configs.oauth2RedirectUrl;if(void 0===redirectUrl)return void errActions.newAuthErr({authId:name,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});if(query.push("redirect_uri="+encodeURIComponent(redirectUrl)),Array.isArray(scopes)&&0<scopes.length){var scopeSeparator=authConfigs.scopeSeparator||" ";query.push("scope="+encodeURIComponent(scopes.join(scopeSeparator)))}var state=(0,_utils.btoa)(new Date);query.push("state="+encodeURIComponent(state)),void 0!==authConfigs.realm&&query.push("realm="+encodeURIComponent(authConfigs.realm));var additionalQueryStringParams=authConfigs.additionalQueryStringParams;for(var key in additionalQueryStringParams)void 0!==additionalQueryStringParams[key]&&query.push([key,additionalQueryStringParams[key]].map(encodeURIComponent).join("="));var authorizationUrl=schema.get("authorizationUrl"),url=[authorizationUrl,query.join("&")].join(-1===authorizationUrl.indexOf("?")?"?":"&"),callback=void 0;callback="implicit"===flow?authActions.preAuthorizeImplicit:authConfigs.useBasicAuthenticationWithAccessCodeGrant?authActions.authorizeAccessCodeWithBasicAuthentication:authActions.authorizeAccessCodeWithFormParams;_window2.default.swaggerUIRedirectOauth2={auth:auth,state:state,redirectUrl:redirectUrl,callback:callback,errCb:errActions.newAuthErr},_window2.default.open(url)};var _window2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(22)),_utils=__webpack_require__(8)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Clear=function(_Component){function Clear(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Clear);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Clear.__proto__||(0,_getPrototypeOf2.default)(Clear)).call.apply(_ref,[this].concat(args))),_this.onClick=function(){var _this$props=_this.props,specActions=_this$props.specActions,path=_this$props.path,method=_this$props.method;specActions.clearResponse(path,method),specActions.clearRequest(path,method)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Clear,_Component),(0,_createClass3.default)(Clear,[{key:"render",value:function render(){return _react2.default.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}]),Clear}(_react.Component);Clear.propTypes={specActions:_propTypes2.default.object.isRequired,path:_propTypes2.default.string.isRequired,method:_propTypes2.default.string.isRequired},exports.default=Clear},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _keys2=_interopRequireDefault(__webpack_require__(30)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_immutable=__webpack_require__(7);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Headers=function Headers(_ref){var headers=_ref.headers;return _react2.default.createElement("div",null,_react2.default.createElement("h5",null,"Response headers"),_react2.default.createElement("pre",null,headers))};Headers.propTypes={headers:_propTypes2.default.array.isRequired};var Duration=function Duration(_ref2){var duration=_ref2.duration;return _react2.default.createElement("div",null,_react2.default.createElement("h5",null,"Request duration"),_react2.default.createElement("pre",null,duration," ms"))};Duration.propTypes={duration:_propTypes2.default.number.isRequired};var LiveResponse=function(_React$Component){function LiveResponse(){return(0,_classCallCheck3.default)(this,LiveResponse),(0,_possibleConstructorReturn3.default)(this,(LiveResponse.__proto__||(0,_getPrototypeOf2.default)(LiveResponse)).apply(this,arguments))}return(0,_inherits3.default)(LiveResponse,_React$Component),(0,_createClass3.default)(LiveResponse,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){return this.props.response!==nextProps.response||this.props.path!==nextProps.path||this.props.method!==nextProps.method||this.props.displayRequestDuration!==nextProps.displayRequestDuration}},{key:"render",value:function render(){var _props=this.props,response=_props.response,getComponent=_props.getComponent,getConfigs=_props.getConfigs,displayRequestDuration=_props.displayRequestDuration,specSelectors=_props.specSelectors,path=_props.path,method=_props.method,curlRequest=getConfigs().showMutatedRequest?specSelectors.mutatedRequestFor(path,method):specSelectors.requestFor(path,method),status=response.get("status"),url=curlRequest.get("url"),headers=response.get("headers").toJS(),notDocumented=response.get("notDocumented"),isError=response.get("error"),body=response.get("text"),duration=response.get("duration"),headersKeys=(0,_keys2.default)(headers),contentType=headers["content-type"]||headers["Content-Type"],Curl=getComponent("curl"),ResponseBody=getComponent("responseBody"),returnObject=headersKeys.map(function(key){return _react2.default.createElement("span",{className:"headerline",key:key}," ",key,": ",headers[key]," ")}),hasHeaders=0!==returnObject.length;return _react2.default.createElement("div",null,curlRequest&&_react2.default.createElement(Curl,{request:curlRequest}),url&&_react2.default.createElement("div",null,_react2.default.createElement("h4",null,"Request URL"),_react2.default.createElement("div",{className:"request-url"},_react2.default.createElement("pre",null,url))),_react2.default.createElement("h4",null,"Server response"),_react2.default.createElement("table",{className:"responses-table"},_react2.default.createElement("thead",null,_react2.default.createElement("tr",{className:"responses-header"},_react2.default.createElement("td",{className:"col col_header response-col_status"},"Code"),_react2.default.createElement("td",{className:"col col_header response-col_description"},"Details"))),_react2.default.createElement("tbody",null,_react2.default.createElement("tr",{className:"response"},_react2.default.createElement("td",{className:"col response-col_status"},status,notDocumented?_react2.default.createElement("div",{className:"response-undocumented"},_react2.default.createElement("i",null," Undocumented ")):null),_react2.default.createElement("td",{className:"col response-col_description"},isError?_react2.default.createElement("span",null,response.get("name")+": "+response.get("message")):null,body?_react2.default.createElement(ResponseBody,{content:body,contentType:contentType,url:url,headers:headers,getComponent:getComponent}):null,hasHeaders?_react2.default.createElement(Headers,{headers:returnObject}):null,displayRequestDuration&&duration?_react2.default.createElement(Duration,{duration:duration}):null)))))}}]),LiveResponse}(_react2.default.Component);LiveResponse.propTypes={response:_propTypes2.default.instanceOf(_immutable.Iterable).isRequired,path:_propTypes2.default.string.isRequired,method:_propTypes2.default.string.isRequired,displayRequestDuration:_propTypes2.default.bool.isRequired,specSelectors:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired},LiveResponse.propTypes={getComponent:_propTypes2.default.func.isRequired,response:_reactImmutableProptypes2.default.map},exports.default=LiveResponse},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _keys2=_interopRequireDefault(__webpack_require__(30)),_typeof3=_interopRequireDefault(__webpack_require__(31)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_urlParse2=_interopRequireDefault(__webpack_require__(139)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_utils=__webpack_require__(8),_window2=_interopRequireDefault(__webpack_require__(22));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var OnlineValidatorBadge=function(_React$Component){function OnlineValidatorBadge(props,context){(0,_classCallCheck3.default)(this,OnlineValidatorBadge);var _this=(0,_possibleConstructorReturn3.default)(this,(OnlineValidatorBadge.__proto__||(0,_getPrototypeOf2.default)(OnlineValidatorBadge)).call(this,props,context));_this.getDefinitionUrl=function(){var specSelectors=_this.props.specSelectors;return new _urlParse2.default(specSelectors.url(),_window2.default.location).toString()};var validatorUrl=(0,props.getConfigs)().validatorUrl;return _this.state={url:_this.getDefinitionUrl(),validatorUrl:void 0===validatorUrl?"https://online.swagger.io/validator":validatorUrl},_this}return(0,_inherits3.default)(OnlineValidatorBadge,_React$Component),(0,_createClass3.default)(OnlineValidatorBadge,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var validatorUrl=(0,nextProps.getConfigs)().validatorUrl;this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===validatorUrl?"https://online.swagger.io/validator":validatorUrl})}},{key:"render",value:function render(){var spec=(0,this.props.getConfigs)().spec,sanitizedValidatorUrl=(0,_utils.sanitizeUrl)(this.state.validatorUrl);return"object"===(void 0===spec?"undefined":(0,_typeof3.default)(spec))&&(0,_keys2.default)(spec).length?null:!this.state.url||!this.state.validatorUrl||this.state.url.indexOf("localhost")>=0||this.state.url.indexOf("127.0.0.1")>=0?null:_react2.default.createElement("span",{style:{float:"right"}},_react2.default.createElement("a",{target:"_blank",href:sanitizedValidatorUrl+"/debug?url="+this.state.url},_react2.default.createElement(ValidatorImage,{src:sanitizedValidatorUrl+"?url="+this.state.url,alt:"Online validator badge"})))}}]),OnlineValidatorBadge}(_react2.default.Component);OnlineValidatorBadge.propTypes={getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired},exports.default=OnlineValidatorBadge;var ValidatorImage=function(_React$Component2){function ValidatorImage(props){(0,_classCallCheck3.default)(this,ValidatorImage);var _this2=(0,_possibleConstructorReturn3.default)(this,(ValidatorImage.__proto__||(0,_getPrototypeOf2.default)(ValidatorImage)).call(this,props));return _this2.state={loaded:!1,error:!1},_this2}return(0,_inherits3.default)(ValidatorImage,_React$Component2),(0,_createClass3.default)(ValidatorImage,[{key:"componentDidMount",value:function componentDidMount(){var _this3=this,img=new Image;img.onload=function(){_this3.setState({loaded:!0})},img.onerror=function(){_this3.setState({error:!0})},img.src=this.props.src}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var _this4=this;if(nextProps.src!==this.props.src){var img=new Image;img.onload=function(){_this4.setState({loaded:!0})},img.onerror=function(){_this4.setState({error:!0})},img.src=nextProps.src}}},{key:"render",value:function render(){return this.state.error?_react2.default.createElement("img",{alt:"Error"}):this.state.loaded?_react2.default.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}]),ValidatorImage}(_react2.default.Component);ValidatorImage.propTypes={src:_propTypes2.default.string,alt:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable2=_interopRequireDefault(__webpack_require__(7));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SWAGGER2_OPERATION_METHODS=["get","put","post","delete","options","head","patch"],OAS3_OPERATION_METHODS=SWAGGER2_OPERATION_METHODS.concat(["trace"]),Operations=function(_React$Component){function Operations(){return(0,_classCallCheck3.default)(this,Operations),(0,_possibleConstructorReturn3.default)(this,(Operations.__proto__||(0,_getPrototypeOf2.default)(Operations)).apply(this,arguments))}return(0,_inherits3.default)(Operations,_React$Component),(0,_createClass3.default)(Operations,[{key:"render",value:function render(){var _props=this.props,specSelectors=_props.specSelectors,getComponent=_props.getComponent,layoutSelectors=_props.layoutSelectors,layoutActions=_props.layoutActions,getConfigs=_props.getConfigs,fn=_props.fn,taggedOps=specSelectors.taggedOperations(),OperationContainer=getComponent("OperationContainer",!0),OperationTag=getComponent("OperationTag"),maxDisplayedTags=getConfigs().maxDisplayedTags,filter=layoutSelectors.currentFilter();return filter&&!0!==filter&&(taggedOps=fn.opsFilter(taggedOps,filter)),maxDisplayedTags&&!isNaN(maxDisplayedTags)&&maxDisplayedTags>=0&&(taggedOps=taggedOps.slice(0,maxDisplayedTags)),_react2.default.createElement("div",null,taggedOps.map(function(tagObj,tag){var operations=tagObj.get("operations");return _react2.default.createElement(OperationTag,{key:"operation-"+tag,tagObj:tagObj,tag:tag,layoutSelectors:layoutSelectors,layoutActions:layoutActions,getConfigs:getConfigs,getComponent:getComponent},operations.map(function(op){var path=op.get("path"),method=op.get("method"),specPath=_immutable2.default.List(["paths",path,method]);return-1===(specSelectors.isOAS3()?OAS3_OPERATION_METHODS:SWAGGER2_OPERATION_METHODS).indexOf(method)?null:_react2.default.createElement(OperationContainer,{key:path+"-"+method,specPath:specPath,op:op,path:path,method:method,tag:tag})}).toArray())}).toArray(),taggedOps.size<1?_react2.default.createElement("h3",null," No operations defined in spec! "):null)}}]),Operations}(_react2.default.Component);Operations.propTypes={specSelectors:_propTypes2.default.object.isRequired,specActions:_propTypes2.default.object.isRequired,oas3Actions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,layoutSelectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired,authActions:_propTypes2.default.object.isRequired,authSelectors:_propTypes2.default.object.isRequired,getConfigs:_propTypes2.default.func.isRequired,fn:_propTypes2.default.func.isRequired},exports.default=Operations,Operations.propTypes={layoutActions:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,specActions:_propTypes2.default.object.isRequired,layoutSelectors:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,fn:_propTypes2.default.object.isRequired}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_immutable2=_interopRequireDefault(__webpack_require__(7)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var OperationTag=function(_React$Component){function OperationTag(){return(0,_classCallCheck3.default)(this,OperationTag),(0,_possibleConstructorReturn3.default)(this,(OperationTag.__proto__||(0,_getPrototypeOf2.default)(OperationTag)).apply(this,arguments))}return(0,_inherits3.default)(OperationTag,_React$Component),(0,_createClass3.default)(OperationTag,[{key:"render",value:function render(){var _props=this.props,tagObj=_props.tagObj,tag=_props.tag,children=_props.children,layoutSelectors=_props.layoutSelectors,layoutActions=_props.layoutActions,getConfigs=_props.getConfigs,getComponent=_props.getComponent,_getConfigs=getConfigs(),docExpansion=_getConfigs.docExpansion,deepLinking=_getConfigs.deepLinking,isDeepLinkingEnabled=deepLinking&&"false"!==deepLinking,Collapse=getComponent("Collapse"),Markdown=getComponent("Markdown"),DeepLink=getComponent("DeepLink"),tagDescription=tagObj.getIn(["tagDetails","description"],null),tagExternalDocsDescription=tagObj.getIn(["tagDetails","externalDocs","description"]),tagExternalDocsUrl=tagObj.getIn(["tagDetails","externalDocs","url"]),isShownKey=["operations-tag",(0,_utils.createDeepLinkPath)(tag)],showTag=layoutSelectors.isShown(isShownKey,"full"===docExpansion||"list"===docExpansion);return _react2.default.createElement("div",{className:showTag?"opblock-tag-section is-open":"opblock-tag-section"},_react2.default.createElement("h4",{onClick:function onClick(){return layoutActions.show(isShownKey,!showTag)},className:tagDescription?"opblock-tag":"opblock-tag no-desc",id:isShownKey.join("-")},_react2.default.createElement(DeepLink,{enabled:isDeepLinkingEnabled,isShown:showTag,path:tag,text:tag}),tagDescription?_react2.default.createElement("small",null,_react2.default.createElement(Markdown,{source:tagDescription})):_react2.default.createElement("small",null),_react2.default.createElement("div",null,tagExternalDocsDescription?_react2.default.createElement("small",null,tagExternalDocsDescription,tagExternalDocsUrl?": ":null,tagExternalDocsUrl?_react2.default.createElement("a",{href:(0,_utils.sanitizeUrl)(tagExternalDocsUrl),onClick:function onClick(e){return e.stopPropagation()},target:"_blank"},tagExternalDocsUrl):null):null),_react2.default.createElement("button",{className:"expand-operation",title:showTag?"Collapse operation":"Expand operation",onClick:function onClick(){return layoutActions.show(isShownKey,!showTag)}},_react2.default.createElement("svg",{className:"arrow",width:"20",height:"20"},_react2.default.createElement("use",{href:showTag?"#large-arrow-down":"#large-arrow",xlinkHref:showTag?"#large-arrow-down":"#large-arrow"})))),_react2.default.createElement(Collapse,{isOpened:showTag},children))}}]),OperationTag}(_react2.default.Component);OperationTag.defaultProps={tagObj:_immutable2.default.fromJS({}),tag:""},OperationTag.propTypes={tagObj:_reactImmutableProptypes2.default.map.isRequired,tag:_propTypes2.default.string.isRequired,layoutSelectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired,getConfigs:_propTypes2.default.func.isRequired,getComponent:_propTypes2.default.func.isRequired,children:_propTypes2.default.element},exports.default=OperationTag},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_utils=__webpack_require__(8),_immutable=__webpack_require__(7),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Operation=function(_PureComponent){function Operation(){return(0,_classCallCheck3.default)(this,Operation),(0,_possibleConstructorReturn3.default)(this,(Operation.__proto__||(0,_getPrototypeOf2.default)(Operation)).apply(this,arguments))}return(0,_inherits3.default)(Operation,_PureComponent),(0,_createClass3.default)(Operation,[{key:"render",value:function render(){var _props=this.props,specPath=_props.specPath,response=_props.response,request=_props.request,toggleShown=_props.toggleShown,onTryoutClick=_props.onTryoutClick,onCancelClick=_props.onCancelClick,onExecute=_props.onExecute,fn=_props.fn,getComponent=_props.getComponent,getConfigs=_props.getConfigs,specActions=_props.specActions,specSelectors=_props.specSelectors,authActions=_props.authActions,authSelectors=_props.authSelectors,oas3Actions=_props.oas3Actions,oas3Selectors=_props.oas3Selectors,operationProps=this.props.operation,_operationProps$toJS=operationProps.toJS(),summary=_operationProps$toJS.summary,deprecated=_operationProps$toJS.deprecated,isShown=_operationProps$toJS.isShown,isAuthorized=_operationProps$toJS.isAuthorized,path=_operationProps$toJS.path,method=_operationProps$toJS.method,op=_operationProps$toJS.op,tag=_operationProps$toJS.tag,showSummary=_operationProps$toJS.showSummary,operationId=_operationProps$toJS.operationId,originalOperationId=_operationProps$toJS.originalOperationId,allowTryItOut=_operationProps$toJS.allowTryItOut,displayOperationId=_operationProps$toJS.displayOperationId,displayRequestDuration=_operationProps$toJS.displayRequestDuration,isDeepLinkingEnabled=_operationProps$toJS.isDeepLinkingEnabled,tryItOutEnabled=_operationProps$toJS.tryItOutEnabled,executeInProgress=_operationProps$toJS.executeInProgress,resolvedSummary=op.summary,description=op.description,externalDocs=op.externalDocs,schemes=op.schemes,operation=operationProps.getIn(["op"]),security=operationProps.get("security"),responses=operation.get("responses"),produces=operation.get("produces"),parameters=(0,_utils.getList)(operation,["parameters"]),operationScheme=specSelectors.operationScheme(path,method),isShownKey=["operations",tag,operationId],extensions=(0,_utils.getExtensions)(operation),Responses=getComponent("responses"),Parameters=getComponent("parameters"),Execute=getComponent("execute"),Clear=getComponent("clear"),AuthorizeOperationBtn=getComponent("authorizeOperationBtn"),JumpToPath=getComponent("JumpToPath",!0),Collapse=getComponent("Collapse"),Markdown=getComponent("Markdown"),Schemes=getComponent("schemes"),OperationServers=getComponent("OperationServers"),OperationExt=getComponent("OperationExt"),DeepLink=getComponent("DeepLink"),showExtensions=getConfigs().showExtensions;if(responses&&response&&response.size>0){var notDocumented=!responses.get(String(response.get("status")))&&!responses.get("default");response=response.set("notDocumented",notDocumented)}var onChangeKey=[path,method];return _react2.default.createElement("div",{className:deprecated?"opblock opblock-deprecated":isShown?"opblock opblock-"+method+" is-open":"opblock opblock-"+method,id:isShownKey.join("-")},_react2.default.createElement("div",{className:"opblock-summary opblock-summary-"+method,onClick:toggleShown},_react2.default.createElement("span",{className:"opblock-summary-method"},method.toUpperCase()),_react2.default.createElement("span",{className:deprecated?"opblock-summary-path__deprecated":"opblock-summary-path"},_react2.default.createElement(DeepLink,{enabled:isDeepLinkingEnabled,isShown:isShown,path:""+isShownKey.join("/"),text:path}),_react2.default.createElement(JumpToPath,{path:specPath})," "),showSummary?_react2.default.createElement("div",{className:"opblock-summary-description"},resolvedSummary||summary):null,displayOperationId&&(originalOperationId||operationId)?_react2.default.createElement("span",{className:"opblock-summary-operation-id"},originalOperationId||operationId):null,security&&security.count()?_react2.default.createElement(AuthorizeOperationBtn,{isAuthorized:isAuthorized,onClick:function onClick(){var applicableDefinitions=authSelectors.definitionsForRequirements(security);authActions.showDefinitions(applicableDefinitions)}}):null),_react2.default.createElement(Collapse,{isOpened:isShown},_react2.default.createElement("div",{className:"opblock-body"},operation&&operation.size||null===operation?null:_react2.default.createElement("img",{height:"32px",width:"32px",src:__webpack_require__(256),className:"opblock-loading-animation"}),deprecated&&_react2.default.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),description&&_react2.default.createElement("div",{className:"opblock-description-wrapper"},_react2.default.createElement("div",{className:"opblock-description"},_react2.default.createElement(Markdown,{source:description}))),externalDocs&&externalDocs.url?_react2.default.createElement("div",{className:"opblock-external-docs-wrapper"},_react2.default.createElement("h4",{className:"opblock-title_normal"},"Find more details"),_react2.default.createElement("div",{className:"opblock-external-docs"},_react2.default.createElement("span",{className:"opblock-external-docs__description"},_react2.default.createElement(Markdown,{source:externalDocs.description})),_react2.default.createElement("a",{target:"_blank",className:"opblock-external-docs__link",href:(0,_utils.sanitizeUrl)(externalDocs.url)},externalDocs.url))):null,operation&&operation.size?_react2.default.createElement(Parameters,{parameters:parameters,specPath:specPath.push("parameters"),operation:operation,onChangeKey:onChangeKey,onTryoutClick:onTryoutClick,onCancelClick:onCancelClick,tryItOutEnabled:tryItOutEnabled,allowTryItOut:allowTryItOut,fn:fn,getComponent:getComponent,specActions:specActions,specSelectors:specSelectors,pathMethod:[path,method],getConfigs:getConfigs}):null,tryItOutEnabled?_react2.default.createElement(OperationServers,{getComponent:getComponent,path:path,method:method,operationServers:operation.get("servers"),pathServers:specSelectors.paths().getIn([path,"servers"]),getSelectedServer:oas3Selectors.selectedServer,setSelectedServer:oas3Actions.setSelectedServer,setServerVariableValue:oas3Actions.setServerVariableValue,getServerVariable:oas3Selectors.serverVariableValue,getEffectiveServerValue:oas3Selectors.serverEffectiveValue}):null,tryItOutEnabled&&allowTryItOut&&schemes&&schemes.size?_react2.default.createElement("div",{className:"opblock-schemes"},_react2.default.createElement(Schemes,{schemes:schemes,path:path,method:method,specActions:specActions,currentScheme:operationScheme})):null,_react2.default.createElement("div",{className:tryItOutEnabled&&response&&allowTryItOut?"btn-group":"execute-wrapper"},tryItOutEnabled&&allowTryItOut?_react2.default.createElement(Execute,{operation:operation,specActions:specActions,specSelectors:specSelectors,path:path,method:method,onExecute:onExecute}):null,tryItOutEnabled&&response&&allowTryItOut?_react2.default.createElement(Clear,{specActions:specActions,path:path,method:method}):null),executeInProgress?_react2.default.createElement("div",{className:"loading-container"},_react2.default.createElement("div",{className:"loading"})):null,responses?_react2.default.createElement(Responses,{responses:responses,request:request,tryItOutResponse:response,getComponent:getComponent,getConfigs:getConfigs,specSelectors:specSelectors,oas3Actions:oas3Actions,specActions:specActions,produces:produces,producesValue:specSelectors.currentProducesFor([path,method]),specPath:specPath.push("responses"),path:path,method:method,displayRequestDuration:displayRequestDuration,fn:fn}):null,showExtensions&&extensions.size?_react2.default.createElement(OperationExt,{extensions:extensions,getComponent:getComponent}):null)))}}]),Operation}(_react.PureComponent);Operation.propTypes={specPath:_reactImmutableProptypes2.default.list.isRequired,operation:_propTypes2.default.instanceOf(_immutable.Iterable).isRequired,summary:_propTypes2.default.string,response:_propTypes2.default.instanceOf(_immutable.Iterable),request:_propTypes2.default.instanceOf(_immutable.Iterable),toggleShown:_propTypes2.default.func.isRequired,onTryoutClick:_propTypes2.default.func.isRequired,onCancelClick:_propTypes2.default.func.isRequired,onExecute:_propTypes2.default.func.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,authActions:_propTypes2.default.object,authSelectors:_propTypes2.default.object,specActions:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,oas3Actions:_propTypes2.default.object.isRequired,oas3Selectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired,layoutSelectors:_propTypes2.default.object.isRequired,fn:_propTypes2.default.object.isRequired},Operation.defaultProps={operation:null,response:null,request:null,specPath:(0,_immutable.List)(),summary:""},exports.default=Operation},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OperationExt=void 0;var _slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var OperationExt=exports.OperationExt=function OperationExt(_ref){var extensions=_ref.extensions,OperationExtRow=(0,_ref.getComponent)("OperationExtRow");return _react2.default.createElement("div",{className:"opblock-section"},_react2.default.createElement("div",{className:"opblock-section-header"},_react2.default.createElement("h4",null,"Extensions")),_react2.default.createElement("div",{className:"table-container"},_react2.default.createElement("table",null,_react2.default.createElement("thead",null,_react2.default.createElement("tr",null,_react2.default.createElement("td",{className:"col col_header"},"Field"),_react2.default.createElement("td",{className:"col col_header"},"Value"))),_react2.default.createElement("tbody",null,extensions.entrySeq().map(function(_ref2){var _ref3=(0,_slicedToArray3.default)(_ref2,2),k=_ref3[0],v=_ref3[1];return _react2.default.createElement(OperationExtRow,{key:k+"-"+v,xKey:k,xVal:v})})))))};OperationExt.propTypes={extensions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=OperationExt},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OperationExtRow=void 0;var _stringify2=_interopRequireDefault(__webpack_require__(27)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var OperationExtRow=exports.OperationExtRow=function OperationExtRow(_ref){var xKey=_ref.xKey,xVal=_ref.xVal,xNormalizedValue=xVal?xVal.toJS?xVal.toJS():xVal:null;return _react2.default.createElement("tr",null,_react2.default.createElement("td",null,xKey),_react2.default.createElement("td",null,(0,_stringify2.default)(xNormalizedValue)))};OperationExtRow.propTypes={xKey:_propTypes2.default.string,xVal:_propTypes2.default.any},exports.default=OperationExtRow},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_utils=__webpack_require__(8),_jsFileDownload2=_interopRequireDefault(__webpack_require__(578));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var HighlightCode=function(_Component){function HighlightCode(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,HighlightCode);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=HighlightCode.__proto__||(0,_getPrototypeOf2.default)(HighlightCode)).call.apply(_ref,[this].concat(args))),_this.initializeComponent=function(c){_this.el=c},_this.downloadText=function(){(0,_jsFileDownload2.default)(_this.props.value,_this.props.fileName||"response.txt")},_this.preventYScrollingBeyondElement=function(e){var target=e.target,deltaY=e.nativeEvent.deltaY,contentHeight=target.scrollHeight,visibleHeight=target.offsetHeight,scrollTop=target.scrollTop;contentHeight>visibleHeight&&(0===scrollTop&&deltaY<0||visibleHeight+scrollTop>=contentHeight&&deltaY>0)&&e.preventDefault()},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(HighlightCode,_Component),(0,_createClass3.default)(HighlightCode,[{key:"componentDidMount",value:function componentDidMount(){(0,_utils.highlight)(this.el)}},{key:"componentDidUpdate",value:function componentDidUpdate(){(0,_utils.highlight)(this.el)}},{key:"render",value:function render(){var _props=this.props,value=_props.value,className=_props.className,downloadable=_props.downloadable;return className=className||"",_react2.default.createElement("div",{className:"highlight-code"},downloadable?_react2.default.createElement("div",{className:"download-contents",onClick:this.downloadText},"Download"):null,_react2.default.createElement("pre",{ref:this.initializeComponent,onWheel:this.preventYScrollingBeyondElement,className:className+" microlight"},value))}}]),HighlightCode}(_react.Component);HighlightCode.propTypes={value:_propTypes2.default.string.isRequired,className:_propTypes2.default.string,downloadable:_propTypes2.default.bool,fileName:_propTypes2.default.string},exports.default=HighlightCode},function(module,exports){module.exports=require("js-file-download")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_immutable=__webpack_require__(7),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Responses=function(_React$Component){function Responses(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Responses);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Responses.__proto__||(0,_getPrototypeOf2.default)(Responses)).call.apply(_ref,[this].concat(args))),_this.onChangeProducesWrapper=function(val){return _this.props.specActions.changeProducesValue([_this.props.path,_this.props.method],val)},_this.onResponseContentTypeChange=function(_ref2){var controlsAcceptHeader=_ref2.controlsAcceptHeader,value=_ref2.value,_this$props=_this.props,oas3Actions=_this$props.oas3Actions,path=_this$props.path,method=_this$props.method;controlsAcceptHeader&&oas3Actions.setResponseContentType({value:value,path:path,method:method})},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Responses,_React$Component),(0,_createClass3.default)(Responses,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){return this.props.tryItOutResponse!==nextProps.tryItOutResponse||this.props.responses!==nextProps.responses||this.props.produces!==nextProps.produces||this.props.producesValue!==nextProps.producesValue||this.props.displayRequestDuration!==nextProps.displayRequestDuration||this.props.path!==nextProps.path||this.props.method!==nextProps.method}},{key:"render",value:function render(){var _this2=this,_props=this.props,responses=_props.responses,tryItOutResponse=_props.tryItOutResponse,getComponent=_props.getComponent,getConfigs=_props.getConfigs,specSelectors=_props.specSelectors,fn=_props.fn,producesValue=_props.producesValue,displayRequestDuration=_props.displayRequestDuration,specPath=_props.specPath,defaultCode=(0,_utils.defaultStatusCode)(responses),ContentType=getComponent("contentType"),LiveResponse=getComponent("liveResponse"),Response=getComponent("response"),produces=this.props.produces&&this.props.produces.size?this.props.produces:Responses.defaultProps.produces,acceptControllingResponse=specSelectors.isOAS3()?(0,_utils.getAcceptControllingResponse)(responses):null;return _react2.default.createElement("div",{className:"responses-wrapper"},_react2.default.createElement("div",{className:"opblock-section-header"},_react2.default.createElement("h4",null,"Responses"),specSelectors.isOAS3()?null:_react2.default.createElement("label",null,_react2.default.createElement("span",null,"Response content type"),_react2.default.createElement(ContentType,{value:producesValue,onChange:this.onChangeProducesWrapper,contentTypes:produces,className:"execute-content-type"}))),_react2.default.createElement("div",{className:"responses-inner"},tryItOutResponse?_react2.default.createElement("div",null,_react2.default.createElement(LiveResponse,{response:tryItOutResponse,getComponent:getComponent,getConfigs:getConfigs,specSelectors:specSelectors,path:this.props.path,method:this.props.method,displayRequestDuration:displayRequestDuration}),_react2.default.createElement("h4",null,"Responses")):null,_react2.default.createElement("table",{className:"responses-table"},_react2.default.createElement("thead",null,_react2.default.createElement("tr",{className:"responses-header"},_react2.default.createElement("td",{className:"col col_header response-col_status"},"Code"),_react2.default.createElement("td",{className:"col col_header response-col_description"},"Description"),specSelectors.isOAS3()?_react2.default.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),_react2.default.createElement("tbody",null,responses.entrySeq().map(function(_ref3){var _ref4=(0,_slicedToArray3.default)(_ref3,2),code=_ref4[0],response=_ref4[1],className=tryItOutResponse&&tryItOutResponse.get("status")==code?"response_current":"";return _react2.default.createElement(Response,{key:code,specPath:specPath.push(code),isDefault:defaultCode===code,fn:fn,className:className,code:code,response:response,specSelectors:specSelectors,controlsAcceptHeader:response===acceptControllingResponse,onContentTypeChange:_this2.onResponseContentTypeChange,contentType:producesValue,getConfigs:getConfigs,getComponent:getComponent})}).toArray()))))}}]),Responses}(_react2.default.Component);Responses.propTypes={tryItOutResponse:_propTypes2.default.instanceOf(_immutable.Iterable),responses:_propTypes2.default.instanceOf(_immutable.Iterable).isRequired,produces:_propTypes2.default.instanceOf(_immutable.Iterable),producesValue:_propTypes2.default.any,displayRequestDuration:_propTypes2.default.bool.isRequired,path:_propTypes2.default.string.isRequired,method:_propTypes2.default.string.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,specActions:_propTypes2.default.object.isRequired,oas3Actions:_propTypes2.default.object.isRequired,specPath:_reactImmutableProptypes2.default.list.isRequired,fn:_propTypes2.default.object.isRequired},Responses.defaultProps={tryItOutResponse:null,produces:(0,_immutable.fromJS)(["application/json"]),displayRequestDuration:!1},exports.default=Responses},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_stringify2=_interopRequireDefault(__webpack_require__(27)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_classnames2=_interopRequireDefault(__webpack_require__(93)),_immutable=__webpack_require__(7),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Response=function(_React$Component){function Response(props,context){(0,_classCallCheck3.default)(this,Response);var _this=(0,_possibleConstructorReturn3.default)(this,(Response.__proto__||(0,_getPrototypeOf2.default)(Response)).call(this,props,context));return _this._onContentTypeChange=function(value){var _this$props=_this.props,onContentTypeChange=_this$props.onContentTypeChange,controlsAcceptHeader=_this$props.controlsAcceptHeader;_this.setState({responseContentType:value}),onContentTypeChange({value:value,controlsAcceptHeader:controlsAcceptHeader})},_this.state={responseContentType:""},_this}return(0,_inherits3.default)(Response,_React$Component),(0,_createClass3.default)(Response,[{key:"render",value:function render(){var sampleResponse,schema,specPathWithPossibleSchema,_props=this.props,code=_props.code,response=_props.response,className=_props.className,specPath=_props.specPath,fn=_props.fn,getComponent=_props.getComponent,getConfigs=_props.getConfigs,specSelectors=_props.specSelectors,contentType=_props.contentType,controlsAcceptHeader=_props.controlsAcceptHeader,inferSchema=fn.inferSchema,isOAS3=specSelectors.isOAS3,headers=response.get("headers"),examples=response.get("examples"),links=response.get("links"),Headers=getComponent("headers"),HighlightCode=getComponent("highlightCode"),ModelExample=getComponent("modelExample"),Markdown=getComponent("Markdown"),OperationLink=getComponent("operationLink"),ContentType=getComponent("contentType");if(isOAS3()){var schemaPath=(0,_immutable.List)(["content",this.state.responseContentType,"schema"]),oas3SchemaForContentType=response.getIn(schemaPath);sampleResponse=oas3SchemaForContentType?(0,_utils.getSampleSchema)(oas3SchemaForContentType.toJS(),this.state.responseContentType,{includeReadOnly:!0}):null,schema=oas3SchemaForContentType?inferSchema(oas3SchemaForContentType.toJS()):null,specPathWithPossibleSchema=oas3SchemaForContentType?schemaPath:specPath}else schema=inferSchema(response.toJS()),specPathWithPossibleSchema=response.has("schema")?specPath.push("schema"):specPath,sampleResponse=schema?(0,_utils.getSampleSchema)(schema,contentType,{includeReadOnly:!0,includeWriteOnly:!0}):null;examples&&(examples=examples.map(function(example){return example.set?example.set("$$ref",void 0):example}));var example=function getExampleComponent(sampleResponse,examples,HighlightCode){return examples&&examples.size?examples.entrySeq().map(function(_ref){var _ref2=(0,_slicedToArray3.default)(_ref,2),key=_ref2[0],example=_ref2[1],exampleValue=example;if(example.toJS)try{exampleValue=(0,_stringify2.default)(example.toJS(),null,2)}catch(e){exampleValue=String(example)}return _react2.default.createElement("div",{key:key},_react2.default.createElement("h5",null,key),_react2.default.createElement(HighlightCode,{className:"example",value:exampleValue}))}).toArray():sampleResponse?_react2.default.createElement("div",null,_react2.default.createElement(HighlightCode,{className:"example",value:sampleResponse})):null}(sampleResponse,examples,HighlightCode);return _react2.default.createElement("tr",{className:"response "+(className||"")},_react2.default.createElement("td",{className:"col response-col_status"},code),_react2.default.createElement("td",{className:"col response-col_description"},_react2.default.createElement("div",{className:"response-col_description__inner"},_react2.default.createElement(Markdown,{source:response.get("description")})),isOAS3?_react2.default.createElement("div",{className:(0,_classnames2.default)("response-content-type",{"controls-accept-header":controlsAcceptHeader})},_react2.default.createElement(ContentType,{value:this.state.responseContentType,contentTypes:response.get("content")?response.get("content").keySeq():(0,_immutable.Seq)(),onChange:this._onContentTypeChange}),controlsAcceptHeader?_react2.default.createElement("small",null,"Controls ",_react2.default.createElement("code",null,"Accept")," header."):null):null,example?_react2.default.createElement(ModelExample,{specPath:specPathWithPossibleSchema,getComponent:getComponent,getConfigs:getConfigs,specSelectors:specSelectors,schema:(0,_utils.fromJSOrdered)(schema),example:example}):null,headers?_react2.default.createElement(Headers,{headers:headers,getComponent:getComponent}):null),specSelectors.isOAS3()?_react2.default.createElement("td",{className:"col response-col_links"},links?links.toSeq().map(function(link,key){return _react2.default.createElement(OperationLink,{key:key,name:key,link:link,getComponent:getComponent})}):_react2.default.createElement("i",null,"No links")):null)}}]),Response}(_react2.default.Component);Response.propTypes={code:_propTypes2.default.string.isRequired,response:_propTypes2.default.instanceOf(_immutable.Iterable),className:_propTypes2.default.string,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,specPath:_reactImmutableProptypes2.default.list.isRequired,fn:_propTypes2.default.object.isRequired,contentType:_propTypes2.default.string,controlsAcceptHeader:_propTypes2.default.bool,onContentTypeChange:_propTypes2.default.func},Response.defaultProps={response:(0,_immutable.fromJS)({}),onContentTypeChange:function onContentTypeChange(){}},exports.default=Response},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _stringify2=_interopRequireDefault(__webpack_require__(27)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_xmlButPrettier2=_interopRequireDefault(__webpack_require__(582)),_lowerCase2=_interopRequireDefault(__webpack_require__(583)),_utils=__webpack_require__(8),_window2=_interopRequireDefault(__webpack_require__(22));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ResponseBody=function(_React$PureComponent){function ResponseBody(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,ResponseBody);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=ResponseBody.__proto__||(0,_getPrototypeOf2.default)(ResponseBody)).call.apply(_ref,[this].concat(args))),_this.state={parsedContent:null},_this.updateParsedContent=function(prevContent){var content=_this.props.content;if(prevContent!==content)if(content&&content instanceof Blob){var reader=new FileReader;reader.onload=function(){_this.setState({parsedContent:reader.result})},reader.readAsText(content)}else _this.setState({parsedContent:content.toString()})},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(ResponseBody,_React$PureComponent),(0,_createClass3.default)(ResponseBody,[{key:"componentDidMount",value:function componentDidMount(){this.updateParsedContent(null)}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){this.updateParsedContent(prevProps.content)}},{key:"render",value:function render(){var _props=this.props,content=_props.content,contentType=_props.contentType,url=_props.url,_props$headers=_props.headers,headers=void 0===_props$headers?{}:_props$headers,getComponent=_props.getComponent,parsedContent=this.state.parsedContent,HighlightCode=getComponent("highlightCode"),downloadName="response_"+(new Date).getTime(),body=void 0,bodyEl=void 0;if(url=url||"",/^application\/octet-stream/i.test(contentType)||headers["Content-Disposition"]&&/attachment/i.test(headers["Content-Disposition"])||headers["content-disposition"]&&/attachment/i.test(headers["content-disposition"])||headers["Content-Description"]&&/File Transfer/i.test(headers["Content-Description"])||headers["content-description"]&&/File Transfer/i.test(headers["content-description"]))if("Blob"in window){var type=contentType||"text/html",blob=content instanceof Blob?content:new Blob([content],{type:type}),href=window.URL.createObjectURL(blob),download=[type,url.substr(url.lastIndexOf("/")+1),href].join(":"),disposition=headers["content-disposition"]||headers["Content-Disposition"];if(void 0!==disposition){var responseFilename=(0,_utils.extractFileNameFromContentDispositionHeader)(disposition);null!==responseFilename&&(download=responseFilename)}bodyEl=_window2.default.navigator&&_window2.default.navigator.msSaveOrOpenBlob?_react2.default.createElement("div",null,_react2.default.createElement("a",{href:href,onClick:function onClick(){return _window2.default.navigator.msSaveOrOpenBlob(blob,download)}},"Download file")):_react2.default.createElement("div",null,_react2.default.createElement("a",{href:href,download:download},"Download file"))}else bodyEl=_react2.default.createElement("pre",null,"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(contentType)){try{body=(0,_stringify2.default)(JSON.parse(content),null," ")}catch(error){body="can't parse JSON. Raw result:\n\n"+content}bodyEl=_react2.default.createElement(HighlightCode,{downloadable:!0,fileName:downloadName+".json",value:body})}else/xml/i.test(contentType)?(body=(0,_xmlButPrettier2.default)(content,{textNodesOnSameLine:!0,indentor:" "}),bodyEl=_react2.default.createElement(HighlightCode,{downloadable:!0,fileName:downloadName+".xml",value:body})):bodyEl="text/html"===(0,_lowerCase2.default)(contentType)||/text\/plain/.test(contentType)?_react2.default.createElement(HighlightCode,{downloadable:!0,fileName:downloadName+".html",value:content}):/^image\//i.test(contentType)?contentType.includes("svg")?_react2.default.createElement("div",null," ",content," "):_react2.default.createElement("img",{style:{maxWidth:"100%"},src:window.URL.createObjectURL(content)}):/^audio\//i.test(contentType)?_react2.default.createElement("pre",null,_react2.default.createElement("audio",{controls:!0},_react2.default.createElement("source",{src:url,type:contentType}))):"string"==typeof content?_react2.default.createElement(HighlightCode,{downloadable:!0,fileName:downloadName+".txt",value:content}):content.size>0?parsedContent?_react2.default.createElement("div",null,_react2.default.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),_react2.default.createElement(HighlightCode,{downloadable:!0,fileName:downloadName+".txt",value:parsedContent})):_react2.default.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return bodyEl?_react2.default.createElement("div",null,_react2.default.createElement("h5",null,"Response body"),bodyEl):null}}]),ResponseBody}(_react2.default.PureComponent);ResponseBody.propTypes={content:_propTypes2.default.any.isRequired,contentType:_propTypes2.default.string,getComponent:_propTypes2.default.func.isRequired,headers:_propTypes2.default.object,url:_propTypes2.default.string},exports.default=ResponseBody},function(module,exports){module.exports=require("xml-but-prettier")},function(module,exports,__webpack_require__){var lowerCase=__webpack_require__(180)(function(result,word,index){return result+(index?" ":"")+word.toLowerCase()});module.exports=lowerCase},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_immutable2=_interopRequireDefault(__webpack_require__(7));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Parameters=function(_Component){function Parameters(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Parameters);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Parameters.__proto__||(0,_getPrototypeOf2.default)(Parameters)).call.apply(_ref,[this].concat(args))),_this.onChange=function(param,value,isXml){var _this$props=_this.props;(0,_this$props.specActions.changeParamByIdentity)(_this$props.onChangeKey,param,value,isXml)},_this.onChangeConsumesWrapper=function(val){var _this$props2=_this.props;(0,_this$props2.specActions.changeConsumesValue)(_this$props2.onChangeKey,val)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Parameters,_Component),(0,_createClass3.default)(Parameters,[{key:"render",value:function render(){var _this2=this,_props=this.props,onTryoutClick=_props.onTryoutClick,onCancelClick=_props.onCancelClick,parameters=_props.parameters,allowTryItOut=_props.allowTryItOut,tryItOutEnabled=_props.tryItOutEnabled,specPath=_props.specPath,fn=_props.fn,getComponent=_props.getComponent,getConfigs=_props.getConfigs,specSelectors=_props.specSelectors,pathMethod=_props.pathMethod,ParameterRow=getComponent("parameterRow"),TryItOutButton=getComponent("TryItOutButton"),isExecute=tryItOutEnabled&&allowTryItOut;return _react2.default.createElement("div",{className:"opblock-section"},_react2.default.createElement("div",{className:"opblock-section-header"},_react2.default.createElement("div",{className:"tab-header"},_react2.default.createElement("h4",{className:"opblock-title"},"Parameters")),allowTryItOut?_react2.default.createElement(TryItOutButton,{enabled:tryItOutEnabled,onCancelClick:onCancelClick,onTryoutClick:onTryoutClick}):null),parameters.count()?_react2.default.createElement("div",{className:"table-container"},_react2.default.createElement("table",{className:"parameters"},_react2.default.createElement("thead",null,_react2.default.createElement("tr",null,_react2.default.createElement("th",{className:"col col_header parameters-col_name"},"Name"),_react2.default.createElement("th",{className:"col col_header parameters-col_description"},"Description"))),_react2.default.createElement("tbody",null,function eachMap(iterable,fn){return iterable.valueSeq().filter(_immutable2.default.Map.isMap).map(fn)}(parameters,function(parameter,i){return _react2.default.createElement(ParameterRow,{fn:fn,specPath:specPath.push(i.toString()),getComponent:getComponent,getConfigs:getConfigs,rawParam:parameter,param:specSelectors.parameterWithMetaByIdentity(pathMethod,parameter),key:parameter.get("in")+"."+parameter.get("name"),onChange:_this2.onChange,onChangeConsumes:_this2.onChangeConsumesWrapper,specSelectors:specSelectors,pathMethod:pathMethod,isExecute:isExecute})}).toArray()))):_react2.default.createElement("div",{className:"opblock-description-wrapper"},_react2.default.createElement("p",null,"No parameters")))}}]),Parameters}(_react.Component);Parameters.propTypes={parameters:_reactImmutableProptypes2.default.list.isRequired,specActions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,fn:_propTypes2.default.object.isRequired,tryItOutEnabled:_propTypes2.default.bool,allowTryItOut:_propTypes2.default.bool,onTryoutClick:_propTypes2.default.func,onCancelClick:_propTypes2.default.func,onChangeKey:_propTypes2.default.array,pathMethod:_propTypes2.default.array.isRequired,getConfigs:_propTypes2.default.func.isRequired,specPath:_reactImmutableProptypes2.default.list.isRequired},Parameters.defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]},exports.default=Parameters},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParameterExt=void 0;var _react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ParameterExt=exports.ParameterExt=function ParameterExt(_ref){var xKey=_ref.xKey,xVal=_ref.xVal;return _react2.default.createElement("div",{className:"parameter__extension"},xKey,": ",String(xVal))};ParameterExt.propTypes={xKey:_propTypes2.default.string,xVal:_propTypes2.default.any},exports.default=ParameterExt},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_immutable=__webpack_require__(7),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_window2=_interopRequireDefault(__webpack_require__(22)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ParameterRow=function(_Component){function ParameterRow(props,context){(0,_classCallCheck3.default)(this,ParameterRow);var _this=(0,_possibleConstructorReturn3.default)(this,(ParameterRow.__proto__||(0,_getPrototypeOf2.default)(ParameterRow)).call(this,props,context));return _this.onChangeWrapper=function(value){var isXml=arguments.length>1&&void 0!==arguments[1]&&arguments[1],_this$props=_this.props;return(0,_this$props.onChange)(_this$props.rawParam,value,isXml)},_this.setDefaultValue=function(){var _this$props2=_this.props,specSelectors=_this$props2.specSelectors,pathMethod=_this$props2.pathMethod,param=_this$props2.param;if(void 0===param.get("value")){var defaultValue=(specSelectors.isOAS3()?param.get("schema",(0,_immutable.Map)({})):param).get("default"),xExampleValue=param.get("x-example"),parameter=specSelectors.parameterWithMetaByIdentity(pathMethod,param),value=parameter?parameter.get("value"):"";"body"!==param.get("in")&&(void 0!==xExampleValue&&void 0===value&&specSelectors.isSwagger2()?_this.onChangeWrapper(xExampleValue):void 0!==defaultValue&&void 0===value&&_this.onChangeWrapper(defaultValue))}},_this.setDefaultValue(),_this}return(0,_inherits3.default)(ParameterRow,_Component),(0,_createClass3.default)(ParameterRow,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(props){var specSelectors=props.specSelectors,pathMethod=props.pathMethod,param=props.param,isOAS3=specSelectors.isOAS3,example=param.get("example"),parameter=specSelectors.parameterWithMetaByIdentity(pathMethod,param)||param,enumValue=void 0;isOAS3()?enumValue=(param.get("schema")||(0,_immutable.Map)()).get("enum"):enumValue=parameter?parameter.get("enum"):void 0;var paramValue=parameter?parameter.get("value"):void 0,value=void 0;void 0!==paramValue?value=paramValue:void 0!==example?value=example:param.get("required")&&enumValue&&enumValue.size&&(value=enumValue.first()),void 0!==value&&this.onChangeWrapper(value)}},{key:"render",value:function render(){var _props=this.props,param=_props.param,rawParam=_props.rawParam,getComponent=_props.getComponent,getConfigs=_props.getConfigs,isExecute=_props.isExecute,fn=_props.fn,onChangeConsumes=_props.onChangeConsumes,specSelectors=_props.specSelectors,pathMethod=_props.pathMethod,specPath=_props.specPath,isOAS3=specSelectors.isOAS3,_getConfigs=getConfigs(),showExtensions=_getConfigs.showExtensions,showCommonExtensions=_getConfigs.showCommonExtensions,JsonSchemaForm=getComponent("JsonSchemaForm"),ParamBody=getComponent("ParamBody"),inType=param.get("in"),bodyParam="body"!==inType?null:_react2.default.createElement(ParamBody,{getComponent:getComponent,fn:fn,param:param,consumes:specSelectors.operationConsumes(pathMethod),consumesValue:specSelectors.contentTypeValues(pathMethod).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:onChangeConsumes,isExecute:isExecute,specSelectors:specSelectors,pathMethod:pathMethod}),ModelExample=getComponent("modelExample"),Markdown=getComponent("Markdown"),ParameterExt=getComponent("ParameterExt"),paramWithMeta=specSelectors.parameterWithMetaByIdentity(pathMethod,rawParam),format=param.get("format"),schema=isOAS3&&isOAS3()?param.get("schema"):param,type=schema.get("type"),isFormData="formData"===inType,isFormDataSupported="FormData"in _window2.default,required=param.get("required"),itemType=schema.getIn(["items","type"]),value=paramWithMeta?paramWithMeta.get("value"):"",commonExt=showCommonExtensions?(0,_utils.getCommonExtensions)(param):null,extensions=showExtensions?(0,_utils.getExtensions)(param):null,paramItems=void 0,paramEnum=void 0,paramDefaultValue=void 0,isDisplayParamEnum=!1;return void 0!==param&&(paramItems=schema.get("items")),void 0!==paramItems?(paramEnum=paramItems.get("enum"),paramDefaultValue=paramItems.get("default")):paramEnum=schema.get("enum"),void 0!==paramEnum&¶mEnum.size>0&&(isDisplayParamEnum=!0),void 0!==param&&(paramDefaultValue=schema.get("default"),void 0===param.get("example")&¶m.get("x-example")),_react2.default.createElement("tr",{className:"parameters"},_react2.default.createElement("td",{className:"col parameters-col_name"},_react2.default.createElement("div",{className:required?"parameter__name required":"parameter__name"},param.get("name"),required?_react2.default.createElement("span",{style:{color:"red"}}," *"):null),_react2.default.createElement("div",{className:"parameter__type"},type,itemType&&"["+itemType+"]",format&&_react2.default.createElement("span",{className:"prop-format"},"($",format,")")),_react2.default.createElement("div",{className:"parameter__deprecated"},isOAS3&&isOAS3()&¶m.get("deprecated")?"deprecated":null),_react2.default.createElement("div",{className:"parameter__in"},"(",param.get("in"),")"),showCommonExtensions&&commonExt.size?commonExt.map(function(v,key){return _react2.default.createElement(ParameterExt,{key:key+"-"+v,xKey:key,xVal:v})}):null,showExtensions&&extensions.size?extensions.map(function(v,key){return _react2.default.createElement(ParameterExt,{key:key+"-"+v,xKey:key,xVal:v})}):null),_react2.default.createElement("td",{className:"col parameters-col_description"},param.get("description")?_react2.default.createElement(Markdown,{source:param.get("description")}):null,!bodyParam&&isExecute||!isDisplayParamEnum?null:_react2.default.createElement(Markdown,{className:"parameter__enum",source:"<i>Available values</i> : "+paramEnum.map(function(item){return item}).toArray().join(", ")}),!bodyParam&&isExecute||void 0===paramDefaultValue?null:_react2.default.createElement(Markdown,{className:"parameter__default",source:"<i>Default value</i> : "+paramDefaultValue}),isFormData&&!isFormDataSupported&&_react2.default.createElement("div",null,"Error: your browser does not support FormData"),bodyParam||!isExecute?null:_react2.default.createElement(JsonSchemaForm,{fn:fn,getComponent:getComponent,value:value,required:required,description:param.get("description")?param.get("name")+" - "+param.get("description"):""+param.get("name"),onChange:this.onChangeWrapper,errors:paramWithMeta.get("errors"),schema:schema}),bodyParam&&schema?_react2.default.createElement(ModelExample,{getComponent:getComponent,specPath:specPath.push("schema"),getConfigs:getConfigs,isExecute:isExecute,specSelectors:specSelectors,schema:param.get("schema"),example:bodyParam}):null))}}]),ParameterRow}(_react.Component);ParameterRow.propTypes={onChange:_propTypes2.default.func.isRequired,param:_propTypes2.default.object.isRequired,rawParam:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,fn:_propTypes2.default.object.isRequired,isExecute:_propTypes2.default.bool,onChangeConsumes:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,pathMethod:_propTypes2.default.array.isRequired,getConfigs:_propTypes2.default.func.isRequired,specPath:_reactImmutableProptypes2.default.list.isRequired},exports.default=ParameterRow},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Execute=function(_Component){function Execute(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Execute);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Execute.__proto__||(0,_getPrototypeOf2.default)(Execute)).call.apply(_ref,[this].concat(args))),_this.onClick=function(){var _this$props=_this.props,specSelectors=_this$props.specSelectors,specActions=_this$props.specActions,operation=_this$props.operation,path=_this$props.path,method=_this$props.method;specActions.validateParams([path,method]),specSelectors.validateBeforeExecute([path,method])&&(_this.props.onExecute&&_this.props.onExecute(),specActions.execute({operation:operation,path:path,method:method}))},_this.onChangeProducesWrapper=function(val){return _this.props.specActions.changeProducesValue([_this.props.path,_this.props.method],val)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Execute,_Component),(0,_createClass3.default)(Execute,[{key:"render",value:function render(){return _react2.default.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick},"Execute")}}]),Execute}(_react.Component);Execute.propTypes={specSelectors:_propTypes2.default.object.isRequired,specActions:_propTypes2.default.object.isRequired,operation:_propTypes2.default.object.isRequired,path:_propTypes2.default.string.isRequired,method:_propTypes2.default.string.isRequired,onExecute:_propTypes2.default.func},exports.default=Execute},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable2=_interopRequireDefault(__webpack_require__(7));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var propStyle={color:"#999",fontStyle:"italic"},Headers=function(_React$Component){function Headers(){return(0,_classCallCheck3.default)(this,Headers),(0,_possibleConstructorReturn3.default)(this,(Headers.__proto__||(0,_getPrototypeOf2.default)(Headers)).apply(this,arguments))}return(0,_inherits3.default)(Headers,_React$Component),(0,_createClass3.default)(Headers,[{key:"render",value:function render(){var _props=this.props,headers=_props.headers,Property=(0,_props.getComponent)("Property");return headers&&headers.size?_react2.default.createElement("div",{className:"headers-wrapper"},_react2.default.createElement("h4",{className:"headers__title"},"Headers:"),_react2.default.createElement("table",{className:"headers"},_react2.default.createElement("thead",null,_react2.default.createElement("tr",{className:"header-row"},_react2.default.createElement("th",{className:"header-col"},"Name"),_react2.default.createElement("th",{className:"header-col"},"Description"),_react2.default.createElement("th",{className:"header-col"},"Type"))),_react2.default.createElement("tbody",null,headers.entrySeq().map(function(_ref){var _ref2=(0,_slicedToArray3.default)(_ref,2),key=_ref2[0],header=_ref2[1];if(!_immutable2.default.Map.isMap(header))return null;var type=header.getIn(["schema"])?header.getIn(["schema","type"]):header.getIn(["type"]),schemaExample=header.getIn(["schema","example"]);return _react2.default.createElement("tr",{key:key},_react2.default.createElement("td",{className:"header-col"},key),_react2.default.createElement("td",{className:"header-col"},header.get("description")),_react2.default.createElement("td",{className:"header-col"},type," ",schemaExample?_react2.default.createElement(Property,{propKey:"Example",propVal:schemaExample,propStyle:propStyle}):null))}).toArray()))):null}}]),Headers}(_react2.default.Component);Headers.propTypes={headers:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=Headers},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable=__webpack_require__(7),_reactCollapse=__webpack_require__(257);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Errors=function(_React$Component){function Errors(){return(0,_classCallCheck3.default)(this,Errors),(0,_possibleConstructorReturn3.default)(this,(Errors.__proto__||(0,_getPrototypeOf2.default)(Errors)).apply(this,arguments))}return(0,_inherits3.default)(Errors,_React$Component),(0,_createClass3.default)(Errors,[{key:"render",value:function render(){var _props=this.props,editorActions=_props.editorActions,errSelectors=_props.errSelectors,layoutSelectors=_props.layoutSelectors,layoutActions=_props.layoutActions;if(editorActions&&editorActions.jumpToLine)var jumpToLine=editorActions.jumpToLine;var allErrorsToDisplay=errSelectors.allErrors().filter(function(err){return"thrown"===err.get("type")||"error"===err.get("level")});if(!allErrorsToDisplay||allErrorsToDisplay.count()<1)return null;var isVisible=layoutSelectors.isShown(["errorPane"],!0),sortedJSErrors=allErrorsToDisplay.sortBy(function(err){return err.get("line")});return _react2.default.createElement("pre",{className:"errors-wrapper"},_react2.default.createElement("hgroup",{className:"error"},_react2.default.createElement("h4",{className:"errors__title"},"Errors"),_react2.default.createElement("button",{className:"btn errors__clear-btn",onClick:function toggleVisibility(){return layoutActions.show(["errorPane"],!isVisible)}},isVisible?"Hide":"Show")),_react2.default.createElement(_reactCollapse.Collapse,{isOpened:isVisible,animated:!0},_react2.default.createElement("div",{className:"errors"},sortedJSErrors.map(function(err,i){var type=err.get("type");return"thrown"===type||"auth"===type?_react2.default.createElement(ThrownErrorItem,{key:i,error:err.get("error")||err,jumpToLine:jumpToLine}):"spec"===type?_react2.default.createElement(SpecErrorItem,{key:i,error:err,jumpToLine:jumpToLine}):void 0}))))}}]),Errors}(_react2.default.Component);Errors.propTypes={editorActions:_propTypes2.default.object,errSelectors:_propTypes2.default.object.isRequired,layoutSelectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired},exports.default=Errors;var ThrownErrorItem=function ThrownErrorItem(_ref){var error=_ref.error,jumpToLine=_ref.jumpToLine;if(!error)return null;var errorLine=error.get("line");return _react2.default.createElement("div",{className:"error-wrapper"},error?_react2.default.createElement("div",null,_react2.default.createElement("h4",null,error.get("source")&&error.get("level")?toTitleCase(error.get("source"))+" "+error.get("level"):"",error.get("path")?_react2.default.createElement("small",null," at ",error.get("path")):null),_react2.default.createElement("span",{style:{whiteSpace:"pre-line",maxWidth:"100%"}},error.get("message")),_react2.default.createElement("div",{style:{"text-decoration":"underline",cursor:"pointer"}},errorLine&&jumpToLine?_react2.default.createElement("a",{onClick:jumpToLine.bind(null,errorLine)},"Jump to line ",errorLine):null)):null)},SpecErrorItem=function SpecErrorItem(_ref2){var error=_ref2.error,jumpToLine=_ref2.jumpToLine,locationMessage=null;return error.get("path")?locationMessage=_immutable.List.isList(error.get("path"))?_react2.default.createElement("small",null,"at ",error.get("path").join(".")):_react2.default.createElement("small",null,"at ",error.get("path")):error.get("line")&&!jumpToLine&&(locationMessage=_react2.default.createElement("small",null,"on line ",error.get("line"))),_react2.default.createElement("div",{className:"error-wrapper"},error?_react2.default.createElement("div",null,_react2.default.createElement("h4",null,toTitleCase(error.get("source"))+" "+error.get("level")," ",locationMessage),_react2.default.createElement("span",{style:{whiteSpace:"pre-line"}},error.get("message")),_react2.default.createElement("div",{style:{"text-decoration":"underline",cursor:"pointer"}},jumpToLine?_react2.default.createElement("a",{onClick:jumpToLine.bind(null,error.get("line"))},"Jump to line ",error.get("line")):null)):null)};function toTitleCase(str){return(str||"").split(" ").map(function(substr){return substr[0].toUpperCase()+substr.slice(1)}).join(" ")}ThrownErrorItem.propTypes={error:_propTypes2.default.object.isRequired,jumpToLine:_propTypes2.default.func},ThrownErrorItem.defaultProps={jumpToLine:null},SpecErrorItem.propTypes={error:_propTypes2.default.object.isRequired,jumpToLine:_propTypes2.default.func}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_immutable=__webpack_require__(7);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ContentType=function(_React$Component){function ContentType(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,ContentType);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=ContentType.__proto__||(0,_getPrototypeOf2.default)(ContentType)).call.apply(_ref,[this].concat(args))),_this.onChangeWrapper=function(e){return _this.props.onChange(e.target.value)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(ContentType,_React$Component),(0,_createClass3.default)(ContentType,[{key:"componentDidMount",value:function componentDidMount(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){nextProps.contentTypes&&nextProps.contentTypes.size&&(nextProps.contentTypes.includes(nextProps.value)||nextProps.onChange(nextProps.contentTypes.first()))}},{key:"render",value:function render(){var _props=this.props,contentTypes=_props.contentTypes,className=_props.className,value=_props.value;return contentTypes&&contentTypes.size?_react2.default.createElement("div",{className:"content-type-wrapper "+(className||"")},_react2.default.createElement("select",{className:"content-type",value:value||"",onChange:this.onChangeWrapper},contentTypes.map(function(val){return _react2.default.createElement("option",{key:val,value:val},val)}).toArray())):null}}]),ContentType}(_react2.default.Component);ContentType.propTypes={contentTypes:_propTypes2.default.oneOfType([_reactImmutableProptypes2.default.list,_reactImmutableProptypes2.default.set,_reactImmutableProptypes2.default.seq]),value:_propTypes2.default.string,onChange:_propTypes2.default.func,className:_propTypes2.default.string},ContentType.defaultProps={onChange:function noop(){},value:null,contentTypes:(0,_immutable.fromJS)(["application/json"])},exports.default=ContentType},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OperationLink=void 0;var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_layoutUtils=__webpack_require__(258);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Overview=function(_React$Component){function Overview(){var _ref;(0,_classCallCheck3.default)(this,Overview);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var _this=(0,_possibleConstructorReturn3.default)(this,(_ref=Overview.__proto__||(0,_getPrototypeOf2.default)(Overview)).call.apply(_ref,[this].concat(args)));return _this.setTagShown=_this._setTagShown.bind(_this),_this}return(0,_inherits3.default)(Overview,_React$Component),(0,_createClass3.default)(Overview,[{key:"_setTagShown",value:function _setTagShown(showTagId,shown){this.props.layoutActions.show(showTagId,shown)}},{key:"showOp",value:function showOp(key,shown){this.props.layoutActions.show(key,shown)}},{key:"render",value:function render(){var _props=this.props,specSelectors=_props.specSelectors,layoutSelectors=_props.layoutSelectors,layoutActions=_props.layoutActions,getComponent=_props.getComponent,taggedOps=specSelectors.taggedOperations(),Collapse=getComponent("Collapse");return _react2.default.createElement("div",null,_react2.default.createElement("h4",{className:"overview-title"},"Overview"),taggedOps.map(function(tagObj,tag){var operations=tagObj.get("operations"),showTagId=["overview-tags",tag],showTag=layoutSelectors.isShown(showTagId,!0);return _react2.default.createElement("div",{key:"overview-"+tag},_react2.default.createElement("h4",{onClick:function toggleShow(){return layoutActions.show(showTagId,!showTag)},className:"link overview-tag"}," ",showTag?"-":"+",tag),_react2.default.createElement(Collapse,{isOpened:showTag,animated:!0},operations.map(function(op){var _op$toObject=op.toObject(),path=_op$toObject.path,method=_op$toObject.method,id=_op$toObject.id,showOpId=id,shown=layoutSelectors.isShown(["operations",showOpId]);return _react2.default.createElement(OperationLink,{key:id,path:path,method:method,id:path+"-"+method,shown:shown,showOpId:showOpId,showOpIdPrefix:"operations",href:"#operation-"+showOpId,onClick:layoutActions.show})}).toArray()))}).toArray(),taggedOps.size<1&&_react2.default.createElement("h3",null," No operations defined in spec! "))}}]),Overview}(_react2.default.Component);exports.default=Overview,Overview.propTypes={layoutSelectors:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired};var OperationLink=exports.OperationLink=function(_React$Component2){function OperationLink(props){(0,_classCallCheck3.default)(this,OperationLink);var _this2=(0,_possibleConstructorReturn3.default)(this,(OperationLink.__proto__||(0,_getPrototypeOf2.default)(OperationLink)).call(this,props));return _this2.onClick=_this2._onClick.bind(_this2),_this2}return(0,_inherits3.default)(OperationLink,_React$Component2),(0,_createClass3.default)(OperationLink,[{key:"_onClick",value:function _onClick(){var _props2=this.props,showOpId=_props2.showOpId,showOpIdPrefix=_props2.showOpIdPrefix;(0,_props2.onClick)([showOpIdPrefix,showOpId],!_props2.shown)}},{key:"render",value:function render(){var _props3=this.props,id=_props3.id,method=_props3.method,shown=_props3.shown,href=_props3.href;return _react2.default.createElement(_layoutUtils.Link,{href:href,style:{fontWeight:shown?"bold":"normal"},onClick:this.onClick,className:"block opblock-link"},_react2.default.createElement("div",null,_react2.default.createElement("small",{className:"bold-label-"+method},method.toUpperCase()),_react2.default.createElement("span",{className:"bold-label"},id)))}}]),OperationLink}(_react2.default.Component);OperationLink.propTypes={href:_propTypes2.default.string,onClick:_propTypes2.default.func,id:_propTypes2.default.string.isRequired,method:_propTypes2.default.string.isRequired,shown:_propTypes2.default.bool.isRequired,showOpId:_propTypes2.default.string.isRequired,showOpIdPrefix:_propTypes2.default.string.isRequired}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InfoUrl=exports.InfoBasePath=void 0;var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable=__webpack_require__(7),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(exports.InfoBasePath=function(_React$Component){function InfoBasePath(){return(0,_classCallCheck3.default)(this,InfoBasePath),(0,_possibleConstructorReturn3.default)(this,(InfoBasePath.__proto__||(0,_getPrototypeOf2.default)(InfoBasePath)).apply(this,arguments))}return(0,_inherits3.default)(InfoBasePath,_React$Component),(0,_createClass3.default)(InfoBasePath,[{key:"render",value:function render(){var _props=this.props,host=_props.host,basePath=_props.basePath;return _react2.default.createElement("pre",{className:"base-url"},"[ Base URL: ",host,basePath," ]")}}]),InfoBasePath}(_react2.default.Component)).propTypes={host:_propTypes2.default.string,basePath:_propTypes2.default.string};var Contact=function(_React$Component2){function Contact(){return(0,_classCallCheck3.default)(this,Contact),(0,_possibleConstructorReturn3.default)(this,(Contact.__proto__||(0,_getPrototypeOf2.default)(Contact)).apply(this,arguments))}return(0,_inherits3.default)(Contact,_React$Component2),(0,_createClass3.default)(Contact,[{key:"render",value:function render(){var data=this.props.data,name=data.get("name")||"the developer",url=data.get("url"),email=data.get("email");return _react2.default.createElement("div",null,url&&_react2.default.createElement("div",null,_react2.default.createElement("a",{href:(0,_utils.sanitizeUrl)(url),target:"_blank"},name," - Website")),email&&_react2.default.createElement("a",{href:(0,_utils.sanitizeUrl)("mailto:"+email)},url?"Send email to "+name:"Contact "+name))}}]),Contact}(_react2.default.Component);Contact.propTypes={data:_propTypes2.default.object};var License=function(_React$Component3){function License(){return(0,_classCallCheck3.default)(this,License),(0,_possibleConstructorReturn3.default)(this,(License.__proto__||(0,_getPrototypeOf2.default)(License)).apply(this,arguments))}return(0,_inherits3.default)(License,_React$Component3),(0,_createClass3.default)(License,[{key:"render",value:function render(){var license=this.props.license,name=license.get("name")||"License",url=license.get("url");return _react2.default.createElement("div",null,url?_react2.default.createElement("a",{target:"_blank",href:(0,_utils.sanitizeUrl)(url)},name):_react2.default.createElement("span",null,name))}}]),License}(_react2.default.Component);License.propTypes={license:_propTypes2.default.object},(exports.InfoUrl=function(_React$PureComponent){function InfoUrl(){return(0,_classCallCheck3.default)(this,InfoUrl),(0,_possibleConstructorReturn3.default)(this,(InfoUrl.__proto__||(0,_getPrototypeOf2.default)(InfoUrl)).apply(this,arguments))}return(0,_inherits3.default)(InfoUrl,_React$PureComponent),(0,_createClass3.default)(InfoUrl,[{key:"render",value:function render(){var url=this.props.url;return _react2.default.createElement("a",{target:"_blank",href:(0,_utils.sanitizeUrl)(url)},_react2.default.createElement("span",{className:"url"}," ",url," "))}}]),InfoUrl}(_react2.default.PureComponent)).propTypes={url:_propTypes2.default.string.isRequired};var Info=function(_React$Component4){function Info(){return(0,_classCallCheck3.default)(this,Info),(0,_possibleConstructorReturn3.default)(this,(Info.__proto__||(0,_getPrototypeOf2.default)(Info)).apply(this,arguments))}return(0,_inherits3.default)(Info,_React$Component4),(0,_createClass3.default)(Info,[{key:"render",value:function render(){var _props2=this.props,info=_props2.info,url=_props2.url,host=_props2.host,basePath=_props2.basePath,getComponent=_props2.getComponent,externalDocs=_props2.externalDocs,version=info.get("version"),description=info.get("description"),title=info.get("title"),termsOfService=info.get("termsOfService"),contact=info.get("contact"),license=info.get("license"),_toJS=(externalDocs||(0,_immutable.fromJS)({})).toJS(),externalDocsUrl=_toJS.url,externalDocsDescription=_toJS.description,Markdown=getComponent("Markdown"),VersionStamp=getComponent("VersionStamp"),InfoUrl=getComponent("InfoUrl"),InfoBasePath=getComponent("InfoBasePath");return _react2.default.createElement("div",{className:"info"},_react2.default.createElement("hgroup",{className:"main"},_react2.default.createElement("h2",{className:"title"},title,version&&_react2.default.createElement(VersionStamp,{version:version})),host||basePath?_react2.default.createElement(InfoBasePath,{host:host,basePath:basePath}):null,url&&_react2.default.createElement(InfoUrl,{url:url})),_react2.default.createElement("div",{className:"description"},_react2.default.createElement(Markdown,{source:description})),termsOfService&&_react2.default.createElement("div",null,_react2.default.createElement("a",{target:"_blank",href:(0,_utils.sanitizeUrl)(termsOfService)},"Terms of service")),contact&&contact.size?_react2.default.createElement(Contact,{data:contact}):null,license&&license.size?_react2.default.createElement(License,{license:license}):null,externalDocsUrl?_react2.default.createElement("a",{target:"_blank",href:(0,_utils.sanitizeUrl)(externalDocsUrl)},externalDocsDescription||externalDocsUrl):null)}}]),Info}(_react2.default.Component);Info.propTypes={info:_propTypes2.default.object,url:_propTypes2.default.string,host:_propTypes2.default.string,basePath:_propTypes2.default.string,externalDocs:_reactImmutableProptypes2.default.map,getComponent:_propTypes2.default.func.isRequired},exports.default=Info,Info.propTypes={title:_propTypes2.default.any,description:_propTypes2.default.any,version:_propTypes2.default.any,url:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var InfoContainer=function(_React$Component){function InfoContainer(){return(0,_classCallCheck3.default)(this,InfoContainer),(0,_possibleConstructorReturn3.default)(this,(InfoContainer.__proto__||(0,_getPrototypeOf2.default)(InfoContainer)).apply(this,arguments))}return(0,_inherits3.default)(InfoContainer,_React$Component),(0,_createClass3.default)(InfoContainer,[{key:"render",value:function render(){var _props=this.props,specSelectors=_props.specSelectors,getComponent=_props.getComponent,info=specSelectors.info(),url=specSelectors.url(),basePath=specSelectors.basePath(),host=specSelectors.host(),externalDocs=specSelectors.externalDocs(),Info=getComponent("info");return _react2.default.createElement("div",null,info&&info.count()?_react2.default.createElement(Info,{info:info,url:url,host:host,basePath:basePath,externalDocs:externalDocs,getComponent:getComponent}):null)}}]),InfoContainer}(_react2.default.Component);InfoContainer.propTypes={specActions:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=InfoContainer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Footer=function(_React$Component){function Footer(){return(0,_classCallCheck3.default)(this,Footer),(0,_possibleConstructorReturn3.default)(this,(Footer.__proto__||(0,_getPrototypeOf2.default)(Footer)).apply(this,arguments))}return(0,_inherits3.default)(Footer,_React$Component),(0,_createClass3.default)(Footer,[{key:"render",value:function render(){return _react2.default.createElement("div",{className:"footer"})}}]),Footer}(_react2.default.Component);exports.default=Footer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var FilterContainer=function(_React$Component){function FilterContainer(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,FilterContainer);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=FilterContainer.__proto__||(0,_getPrototypeOf2.default)(FilterContainer)).call.apply(_ref,[this].concat(args))),_this.onFilterChange=function(e){var value=e.target.value;_this.props.layoutActions.updateFilter(value)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(FilterContainer,_React$Component),(0,_createClass3.default)(FilterContainer,[{key:"render",value:function render(){var _props=this.props,specSelectors=_props.specSelectors,layoutSelectors=_props.layoutSelectors,Col=(0,_props.getComponent)("Col"),isLoading="loading"===specSelectors.loadingStatus(),isFailed="failed"===specSelectors.loadingStatus(),filter=layoutSelectors.currentFilter(),inputStyle={};return isFailed&&(inputStyle.color="red"),isLoading&&(inputStyle.color="#aaa"),_react2.default.createElement("div",null,null===filter||!1===filter?null:_react2.default.createElement("div",{className:"filter-container"},_react2.default.createElement(Col,{className:"filter wrapper",mobile:12},_react2.default.createElement("input",{className:"operation-filter-input",placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:!0===filter||"true"===filter?"":filter,disabled:isLoading,style:inputStyle}))))}}]),FilterContainer}(_react2.default.Component);FilterContainer.propTypes={specSelectors:_propTypes2.default.object.isRequired,layoutSelectors:_propTypes2.default.object.isRequired,layoutActions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=FilterContainer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable=__webpack_require__(7),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var NOOP=Function.prototype,ParamBody=function(_PureComponent){function ParamBody(props,context){(0,_classCallCheck3.default)(this,ParamBody);var _this=(0,_possibleConstructorReturn3.default)(this,(ParamBody.__proto__||(0,_getPrototypeOf2.default)(ParamBody)).call(this,props,context));return _initialiseProps.call(_this),_this.state={isEditBox:!1,value:""},_this}return(0,_inherits3.default)(ParamBody,_PureComponent),(0,_createClass3.default)(ParamBody,[{key:"componentDidMount",value:function componentDidMount(){this.updateValues.call(this,this.props)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){this.updateValues.call(this,nextProps)}},{key:"render",value:function render(){var _props=this.props,onChangeConsumes=_props.onChangeConsumes,param=_props.param,isExecute=_props.isExecute,specSelectors=_props.specSelectors,pathMethod=_props.pathMethod,getComponent=_props.getComponent,Button=getComponent("Button"),TextArea=getComponent("TextArea"),HighlightCode=getComponent("highlightCode"),ContentType=getComponent("contentType"),errors=(specSelectors?specSelectors.parameterWithMetaByIdentity(pathMethod,param):param).get("errors",(0,_immutable.List)()),consumesValue=specSelectors.contentTypeValues(pathMethod).get("requestContentType"),consumes=this.props.consumes&&this.props.consumes.size?this.props.consumes:ParamBody.defaultProp.consumes,_state=this.state,value=_state.value,isEditBox=_state.isEditBox;return _react2.default.createElement("div",{className:"body-param"},isEditBox&&isExecute?_react2.default.createElement(TextArea,{className:"body-param__text"+(errors.count()?" invalid":""),value:value,onChange:this.handleOnChange}):value&&_react2.default.createElement(HighlightCode,{className:"body-param__example",value:value}),_react2.default.createElement("div",{className:"body-param-options"},isExecute?_react2.default.createElement("div",{className:"body-param-edit"},_react2.default.createElement(Button,{className:isEditBox?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},isEditBox?"Cancel":"Edit")):null,_react2.default.createElement("label",{htmlFor:""},_react2.default.createElement("span",null,"Parameter content type"),_react2.default.createElement(ContentType,{value:consumesValue,contentTypes:consumes,onChange:onChangeConsumes,className:"body-param-content-type"}))))}}]),ParamBody}(_react.PureComponent);ParamBody.propTypes={param:_propTypes2.default.object,onChange:_propTypes2.default.func,onChangeConsumes:_propTypes2.default.func,consumes:_propTypes2.default.object,consumesValue:_propTypes2.default.string,fn:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,isExecute:_propTypes2.default.bool,specSelectors:_propTypes2.default.object.isRequired,pathMethod:_propTypes2.default.array.isRequired},ParamBody.defaultProp={consumes:(0,_immutable.fromJS)(["application/json"]),param:(0,_immutable.fromJS)({}),onChange:NOOP,onChangeConsumes:NOOP};var _initialiseProps=function _initialiseProps(){var _this2=this;this.updateValues=function(props){var param=props.param,isExecute=props.isExecute,_props$consumesValue=props.consumesValue,consumesValue=void 0===_props$consumesValue?"":_props$consumesValue,isXml=/xml/i.test(consumesValue),isJson=/json/i.test(consumesValue),paramValue=isXml?param.get("value_xml"):param.get("value");if(void 0!==paramValue){var val=!paramValue&&isJson?"{}":paramValue;_this2.setState({value:val}),_this2.onChange(val,{isXml:isXml,isEditBox:isExecute})}else isXml?_this2.onChange(_this2.sample("xml"),{isXml:isXml,isEditBox:isExecute}):_this2.onChange(_this2.sample(),{isEditBox:isExecute})},this.sample=function(xml){var _props2=_this2.props,param=_props2.param,schema=(0,_props2.fn.inferSchema)(param.toJS());return(0,_utils.getSampleSchema)(schema,xml,{includeWriteOnly:!0})},this.onChange=function(value,_ref){var isEditBox=_ref.isEditBox,isXml=_ref.isXml;_this2.setState({value:value,isEditBox:isEditBox}),_this2._onChange(value,isXml)},this._onChange=function(val,isXml){(_this2.props.onChange||NOOP)(val,isXml)},this.handleOnChange=function(e){var consumesValue=_this2.props.consumesValue,isJson=/json/i.test(consumesValue),isXml=/xml/i.test(consumesValue),inputValue=isJson?e.target.value.trim():e.target.value;_this2.onChange(inputValue,{isXml:isXml})},this.toggleIsEditBox=function(){return _this2.setState(function(state){return{isEditBox:!state.isEditBox}})}};exports.default=ParamBody},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_curlify2=_interopRequireDefault(__webpack_require__(598));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Curl=function(_React$Component){function Curl(){return(0,_classCallCheck3.default)(this,Curl),(0,_possibleConstructorReturn3.default)(this,(Curl.__proto__||(0,_getPrototypeOf2.default)(Curl)).apply(this,arguments))}return(0,_inherits3.default)(Curl,_React$Component),(0,_createClass3.default)(Curl,[{key:"handleFocus",value:function handleFocus(e){e.target.select(),document.execCommand("copy")}},{key:"render",value:function render(){var request=this.props.request,curl=(0,_curlify2.default)(request);return _react2.default.createElement("div",null,_react2.default.createElement("h4",null,"Curl"),_react2.default.createElement("div",{className:"copy-paste"},_react2.default.createElement("textarea",{onFocus:this.handleFocus,readOnly:"true",className:"curl",style:{whiteSpace:"normal"},value:curl})))}}]),Curl}(_react2.default.Component);Curl.propTypes={request:_propTypes2.default.object.isRequired},exports.default=Curl},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _stringify2=_interopRequireDefault(__webpack_require__(27)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_getIterator3=_interopRequireDefault(__webpack_require__(70));exports.default=function curl(request){var curlified=[],type="",headers=request.get("headers");if(curlified.push("curl"),curlified.push("-X",request.get("method")),curlified.push('"'+request.get("url")+'"'),headers&&headers.size){var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=(0,_getIterator3.default)(request.get("headers").entries());!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var p=_step.value,_p=(0,_slicedToArray3.default)(p,2),h=_p[0],v=_p[1];type=v,curlified.push("-H "),curlified.push('"'+h+": "+v+'"')}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{!_iteratorNormalCompletion&&_iterator.return&&_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}}if(request.get("body"))if("multipart/form-data"===type&&"POST"===request.get("method")){var _iteratorNormalCompletion2=!0,_didIteratorError2=!1,_iteratorError2=void 0;try{for(var _step2,_iterator2=(0,_getIterator3.default)(request.get("body").entrySeq());!(_iteratorNormalCompletion2=(_step2=_iterator2.next()).done);_iteratorNormalCompletion2=!0){var _step2$value=(0,_slicedToArray3.default)(_step2.value,2),k=_step2$value[0],v=_step2$value[1];curlified.push("-F"),v instanceof _window2.default.File?curlified.push('"'+k+"=@"+v.name+";type="+v.type+'"'):curlified.push('"'+k+"="+v+'"')}}catch(err){_didIteratorError2=!0,_iteratorError2=err}finally{try{!_iteratorNormalCompletion2&&_iterator2.return&&_iterator2.return()}finally{if(_didIteratorError2)throw _iteratorError2}}}else curlified.push("-d"),curlified.push((0,_stringify2.default)(request.get("body")).replace(/\\n/g,""));return curlified.join(" ")};var _window2=_interopRequireDefault(__webpack_require__(22));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Schemes=function(_React$Component){function Schemes(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Schemes);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Schemes.__proto__||(0,_getPrototypeOf2.default)(Schemes)).call.apply(_ref,[this].concat(args))),_this.onChange=function(e){_this.setScheme(e.target.value)},_this.setScheme=function(value){var _this$props=_this.props,path=_this$props.path,method=_this$props.method;_this$props.specActions.setScheme(value,path,method)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Schemes,_React$Component),(0,_createClass3.default)(Schemes,[{key:"componentWillMount",value:function componentWillMount(){var schemes=this.props.schemes;this.setScheme(schemes.first())}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){this.props.currentScheme&&nextProps.schemes.includes(this.props.currentScheme)||this.setScheme(nextProps.schemes.first())}},{key:"render",value:function render(){var _props=this.props,schemes=_props.schemes,currentScheme=_props.currentScheme;return _react2.default.createElement("label",{htmlFor:"schemes"},_react2.default.createElement("span",{className:"schemes-title"},"Schemes"),_react2.default.createElement("select",{onChange:this.onChange,value:currentScheme},schemes.valueSeq().map(function(scheme){return _react2.default.createElement("option",{value:scheme,key:scheme},scheme)}).toArray()))}}]),Schemes}(_react2.default.Component);Schemes.propTypes={specActions:_propTypes2.default.object.isRequired,schemes:_propTypes2.default.object.isRequired,currentScheme:_propTypes2.default.string.isRequired,path:_propTypes2.default.string,method:_propTypes2.default.string},exports.default=Schemes},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SchemesContainer=function(_React$Component){function SchemesContainer(){return(0,_classCallCheck3.default)(this,SchemesContainer),(0,_possibleConstructorReturn3.default)(this,(SchemesContainer.__proto__||(0,_getPrototypeOf2.default)(SchemesContainer)).apply(this,arguments))}return(0,_inherits3.default)(SchemesContainer,_React$Component),(0,_createClass3.default)(SchemesContainer,[{key:"render",value:function render(){var _props=this.props,specActions=_props.specActions,specSelectors=_props.specSelectors,getComponent=_props.getComponent,currentScheme=specSelectors.operationScheme(),schemes=specSelectors.schemes(),securityDefinitions=specSelectors.securityDefinitions(),Col=getComponent("Col"),AuthorizeBtn=getComponent("authorizeBtn",!0),Schemes=getComponent("schemes");return _react2.default.createElement("div",null,schemes&&schemes.size||securityDefinitions?_react2.default.createElement("div",{className:"scheme-container"},_react2.default.createElement(Col,{className:"schemes wrapper",mobile:12},schemes&&schemes.size?_react2.default.createElement(Schemes,{currentScheme:currentScheme,schemes:schemes,specActions:specActions}):null,securityDefinitions?_react2.default.createElement(AuthorizeBtn,null):null)):null)}}]),SchemesContainer}(_react2.default.Component);SchemesContainer.propTypes={specActions:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=SchemesContainer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ModelCollapse=function(_Component){function ModelCollapse(props,context){(0,_classCallCheck3.default)(this,ModelCollapse);var _this=(0,_possibleConstructorReturn3.default)(this,(ModelCollapse.__proto__||(0,_getPrototypeOf2.default)(ModelCollapse)).call(this,props,context));_this.toggleCollapsed=function(){_this.props.onToggle&&_this.props.onToggle(_this.props.modelName,!_this.state.expanded),_this.setState({expanded:!_this.state.expanded})};var _this$props=_this.props,expanded=_this$props.expanded,collapsedContent=_this$props.collapsedContent;return _this.state={expanded:expanded,collapsedContent:collapsedContent||ModelCollapse.defaultProps.collapsedContent},_this}return(0,_inherits3.default)(ModelCollapse,_Component),(0,_createClass3.default)(ModelCollapse,[{key:"componentDidMount",value:function componentDidMount(){var _props=this.props,hideSelfOnExpand=_props.hideSelfOnExpand,expanded=_props.expanded,modelName=_props.modelName;hideSelfOnExpand&&expanded&&this.props.onToggle(modelName,expanded)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){this.props.expanded!==nextProps.expanded&&this.setState({expanded:nextProps.expanded})}},{key:"render",value:function render(){var _props2=this.props,title=_props2.title,classes=_props2.classes;return this.state.expanded&&this.props.hideSelfOnExpand?_react2.default.createElement("span",{className:classes||""},this.props.children):_react2.default.createElement("span",{className:classes||""},title&&_react2.default.createElement("span",{onClick:this.toggleCollapsed,style:{cursor:"pointer"}},title),_react2.default.createElement("span",{onClick:this.toggleCollapsed,style:{cursor:"pointer"}},_react2.default.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")})),this.state.expanded?this.props.children:this.state.collapsedContent)}}]),ModelCollapse}(_react.Component);ModelCollapse.propTypes={collapsedContent:_propTypes2.default.any,expanded:_propTypes2.default.bool,children:_propTypes2.default.any,title:_propTypes2.default.element,modelName:_propTypes2.default.string,classes:_propTypes2.default.string,onToggle:_propTypes2.default.func,hideSelfOnExpand:_propTypes2.default.bool},ModelCollapse.defaultProps={collapsedContent:"{...}",expanded:!1,title:null,onToggle:function onToggle(){},hideSelfOnExpand:!1},exports.default=ModelCollapse},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ModelExample=function(_React$Component){function ModelExample(props,context){(0,_classCallCheck3.default)(this,ModelExample);var _this=(0,_possibleConstructorReturn3.default)(this,(ModelExample.__proto__||(0,_getPrototypeOf2.default)(ModelExample)).call(this,props,context));_this.activeTab=function(e){var name=e.target.dataset.name;_this.setState({activeTab:name})};var defaultModelRendering=(0,_this.props.getConfigs)().defaultModelRendering;return"example"!==defaultModelRendering&&"model"!==defaultModelRendering&&(defaultModelRendering="example"),_this.state={activeTab:defaultModelRendering},_this}return(0,_inherits3.default)(ModelExample,_React$Component),(0,_createClass3.default)(ModelExample,[{key:"render",value:function render(){var _props=this.props,getComponent=_props.getComponent,specSelectors=_props.specSelectors,schema=_props.schema,example=_props.example,isExecute=_props.isExecute,getConfigs=_props.getConfigs,specPath=_props.specPath,defaultModelExpandDepth=getConfigs().defaultModelExpandDepth,ModelWrapper=getComponent("ModelWrapper");return _react2.default.createElement("div",null,_react2.default.createElement("ul",{className:"tab"},_react2.default.createElement("li",{className:"tabitem"+(isExecute||"example"===this.state.activeTab?" active":"")},_react2.default.createElement("a",{className:"tablinks","data-name":"example",onClick:this.activeTab},"Example Value")),schema?_react2.default.createElement("li",{className:"tabitem"+(isExecute||"model"!==this.state.activeTab?"":" active")},_react2.default.createElement("a",{className:"tablinks"+(isExecute?" inactive":""),"data-name":"model",onClick:this.activeTab},"Model")):null),_react2.default.createElement("div",null,(isExecute||"example"===this.state.activeTab)&&example,!isExecute&&"model"===this.state.activeTab&&_react2.default.createElement(ModelWrapper,{schema:schema,getComponent:getComponent,getConfigs:getConfigs,specSelectors:specSelectors,expandDepth:defaultModelExpandDepth,specPath:specPath})))}}]),ModelExample}(_react2.default.Component);ModelExample.propTypes={getComponent:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,schema:_propTypes2.default.object.isRequired,example:_propTypes2.default.any.isRequired,isExecute:_propTypes2.default.bool,getConfigs:_propTypes2.default.func.isRequired,specPath:_reactImmutableProptypes2.default.list.isRequired},exports.default=ModelExample},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends3=_interopRequireDefault(__webpack_require__(21)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ModelWrapper=function(_Component){function ModelWrapper(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,ModelWrapper);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=ModelWrapper.__proto__||(0,_getPrototypeOf2.default)(ModelWrapper)).call.apply(_ref,[this].concat(args))),_this.onToggle=function(name,isShown){_this.props.layoutActions&&_this.props.layoutActions.show(["models",name],isShown)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(ModelWrapper,_Component),(0,_createClass3.default)(ModelWrapper,[{key:"render",value:function render(){var _props=this.props,getComponent=_props.getComponent,getConfigs=_props.getConfigs,Model=getComponent("Model"),expanded=void 0;return this.props.layoutSelectors&&(expanded=this.props.layoutSelectors.isShown(["models",this.props.name])),_react2.default.createElement("div",{className:"model-box"},_react2.default.createElement(Model,(0,_extends3.default)({},this.props,{getConfigs:getConfigs,expanded:expanded,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}]),ModelWrapper}(_react.Component);ModelWrapper.propTypes={schema:_propTypes2.default.object.isRequired,name:_propTypes2.default.string,displayName:_propTypes2.default.string,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,expandDepth:_propTypes2.default.number,layoutActions:_propTypes2.default.object,layoutSelectors:_propTypes2.default.object.isRequired},exports.default=ModelWrapper},function(module,exports){module.exports=require("react-immutable-pure-component")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_toConsumableArray3=_interopRequireDefault(__webpack_require__(67)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_immutable2=_interopRequireDefault(__webpack_require__(7)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Models=function(_Component){function Models(){var _ref,_temp,_this,_ret;(0,_classCallCheck3.default)(this,Models);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Models.__proto__||(0,_getPrototypeOf2.default)(Models)).call.apply(_ref,[this].concat(args))),_this.getSchemaBasePath=function(){return _this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]},_this.getCollapsedContent=function(){return" "},_this.handleToggle=function(name,isExpanded){_this.props.layoutActions.show(["models",name],isExpanded),isExpanded&&_this.props.specActions.requestResolvedSubtree([].concat((0,_toConsumableArray3.default)(_this.getSchemaBasePath()),[name]))},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this,_ret)}return(0,_inherits3.default)(Models,_Component),(0,_createClass3.default)(Models,[{key:"render",value:function render(){var _this2=this,_props=this.props,specSelectors=_props.specSelectors,getComponent=_props.getComponent,layoutSelectors=_props.layoutSelectors,layoutActions=_props.layoutActions,getConfigs=_props.getConfigs,definitions=specSelectors.definitions(),_getConfigs=getConfigs(),docExpansion=_getConfigs.docExpansion,defaultModelsExpandDepth=_getConfigs.defaultModelsExpandDepth;if(!definitions.size||defaultModelsExpandDepth<0)return null;var showModels=layoutSelectors.isShown("models",defaultModelsExpandDepth>0&&"none"!==docExpansion),specPathBase=this.getSchemaBasePath(),ModelWrapper=getComponent("ModelWrapper"),Collapse=getComponent("Collapse"),ModelCollapse=getComponent("ModelCollapse"),JumpToPath=getComponent("JumpToPath");return _react2.default.createElement("section",{className:showModels?"models is-open":"models"},_react2.default.createElement("h4",{onClick:function onClick(){return layoutActions.show("models",!showModels)}},_react2.default.createElement("span",null,"Models"),_react2.default.createElement("svg",{width:"20",height:"20"},_react2.default.createElement("use",{xlinkHref:showModels?"#large-arrow-down":"#large-arrow"}))),_react2.default.createElement(Collapse,{isOpened:showModels},definitions.entrySeq().map(function(_ref2){var name=(0,_slicedToArray3.default)(_ref2,1)[0],fullPath=[].concat((0,_toConsumableArray3.default)(specPathBase),[name]),schema=specSelectors.specResolvedSubtree(fullPath)||_immutable2.default.Map(),rawSchema=specSelectors.specJson().getIn(fullPath,_immutable2.default.Map()),displayName=schema.get("title")||rawSchema.get("title")||name;layoutSelectors.isShown(["models",name],!1)&&void 0===schema&&_this2.props.specActions.requestResolvedSubtree([].concat((0,_toConsumableArray3.default)(_this2.getSchemaBasePath()),[name]));var specPath=_immutable2.default.List([].concat((0,_toConsumableArray3.default)(specPathBase),[name])),content=_react2.default.createElement(ModelWrapper,{name:name,expandDepth:defaultModelsExpandDepth,schema:schema||_immutable2.default.Map(),displayName:displayName,specPath:specPath,getComponent:getComponent,specSelectors:specSelectors,getConfigs:getConfigs,layoutSelectors:layoutSelectors,layoutActions:layoutActions}),title=_react2.default.createElement("span",{className:"model-box"},_react2.default.createElement("span",{className:"model model-title"},displayName));return _react2.default.createElement("div",{id:"model-"+name,className:"model-container",key:"models-section-"+name},_react2.default.createElement("span",{className:"models-jump-to-path"},_react2.default.createElement(JumpToPath,{specPath:specPath})),_react2.default.createElement(ModelCollapse,{classes:"model-box",collapsedContent:_this2.getCollapsedContent(name),onToggle:_this2.handleToggle,title:title,displayName:displayName,modelName:name,hideSelfOnExpand:!0,expanded:defaultModelsExpandDepth>1},content))}).toArray()))}}]),Models}(_react.Component);Models.propTypes={getComponent:_propTypes2.default.func,specSelectors:_propTypes2.default.object,specActions:_propTypes2.default.object.isRequired,layoutSelectors:_propTypes2.default.object,layoutActions:_propTypes2.default.object,getConfigs:_propTypes2.default.func.isRequired},exports.default=Models},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _react2=_interopRequireDefault(__webpack_require__(0)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var EnumModel=function EnumModel(_ref){var value=_ref.value,ModelCollapse=(0,_ref.getComponent)("ModelCollapse"),collapsedContent=_react2.default.createElement("span",null,"Array [ ",value.count()," ]");return _react2.default.createElement("span",{className:"prop-enum"},"Enum:",_react2.default.createElement("br",null),_react2.default.createElement(ModelCollapse,{collapsedContent:collapsedContent},"[ ",value.join(", ")," ]"))};EnumModel.propTypes={value:_reactImmutableProptypes2.default.iterable,getComponent:_reactImmutableProptypes2.default.func},exports.default=EnumModel},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _stringify2=_interopRequireDefault(__webpack_require__(27)),_extends3=_interopRequireDefault(__webpack_require__(21)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_objectWithoutProperties3=_interopRequireDefault(__webpack_require__(68)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable=__webpack_require__(7),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ObjectModel=function(_Component){function ObjectModel(){return(0,_classCallCheck3.default)(this,ObjectModel),(0,_possibleConstructorReturn3.default)(this,(ObjectModel.__proto__||(0,_getPrototypeOf2.default)(ObjectModel)).apply(this,arguments))}return(0,_inherits3.default)(ObjectModel,_Component),(0,_createClass3.default)(ObjectModel,[{key:"render",value:function render(){var _props=this.props,schema=_props.schema,name=_props.name,displayName=_props.displayName,isRef=_props.isRef,getComponent=_props.getComponent,getConfigs=_props.getConfigs,depth=_props.depth,onToggle=_props.onToggle,expanded=_props.expanded,specPath=_props.specPath,otherProps=(0,_objectWithoutProperties3.default)(_props,["schema","name","displayName","isRef","getComponent","getConfigs","depth","onToggle","expanded","specPath"]),specSelectors=otherProps.specSelectors,expandDepth=otherProps.expandDepth,isOAS3=specSelectors.isOAS3;if(!schema)return null;var showExtensions=getConfigs().showExtensions,description=schema.get("description"),properties=schema.get("properties"),additionalProperties=schema.get("additionalProperties"),title=schema.get("title")||displayName||name,requiredProperties=schema.get("required"),JumpToPath=getComponent("JumpToPath",!0),Markdown=getComponent("Markdown"),Model=getComponent("Model"),ModelCollapse=getComponent("ModelCollapse"),JumpToPathSection=function JumpToPathSection(){return _react2.default.createElement("span",{className:"model-jump-to-path"},_react2.default.createElement(JumpToPath,{specPath:specPath}))},collapsedContent=_react2.default.createElement("span",null,_react2.default.createElement("span",null,"{"),"...",_react2.default.createElement("span",null,"}"),isRef?_react2.default.createElement(JumpToPathSection,null):""),anyOf=specSelectors.isOAS3()?schema.get("anyOf"):null,oneOf=specSelectors.isOAS3()?schema.get("oneOf"):null,not=specSelectors.isOAS3()?schema.get("not"):null,titleEl=title&&_react2.default.createElement("span",{className:"model-title"},isRef&&schema.get("$$ref")&&_react2.default.createElement("span",{className:"model-hint"},schema.get("$$ref")),_react2.default.createElement("span",{className:"model-title__text"},title));return _react2.default.createElement("span",{className:"model"},_react2.default.createElement(ModelCollapse,{modelName:name,title:titleEl,onToggle:onToggle,expanded:!!expanded||depth<=expandDepth,collapsedContent:collapsedContent},_react2.default.createElement("span",{className:"brace-open object"},"{"),isRef?_react2.default.createElement(JumpToPathSection,null):null,_react2.default.createElement("span",{className:"inner-object"},_react2.default.createElement("table",{className:"model"},_react2.default.createElement("tbody",null,description?_react2.default.createElement("tr",{style:{color:"#666",fontStyle:"italic"}},_react2.default.createElement("td",null,"description:"),_react2.default.createElement("td",null,_react2.default.createElement(Markdown,{source:description}))):null,properties&&properties.size?properties.entrySeq().map(function(_ref){var _ref2=(0,_slicedToArray3.default)(_ref,2),key=_ref2[0],value=_ref2[1],isDeprecated=isOAS3()&&value.get("deprecated"),isRequired=_immutable.List.isList(requiredProperties)&&requiredProperties.contains(key),propertyStyle={verticalAlign:"top",paddingRight:"0.2em"};return isRequired&&(propertyStyle.fontWeight="bold"),_react2.default.createElement("tr",{key:key,className:isDeprecated&&"deprecated"},_react2.default.createElement("td",{style:propertyStyle},key,isRequired&&_react2.default.createElement("span",{style:{color:"red"}},"*")),_react2.default.createElement("td",{style:{verticalAlign:"top"}},_react2.default.createElement(Model,(0,_extends3.default)({key:"object-"+name+"-"+key+"_"+value},otherProps,{required:isRequired,getComponent:getComponent,specPath:specPath.push("properties",key),getConfigs:getConfigs,schema:value,depth:depth+1}))))}).toArray():null,showExtensions?_react2.default.createElement("tr",null," "):null,showExtensions?schema.entrySeq().map(function(_ref3){var _ref4=(0,_slicedToArray3.default)(_ref3,2),key=_ref4[0],value=_ref4[1];if("x-"===key.slice(0,2)){var normalizedValue=value?value.toJS?value.toJS():value:null;return _react2.default.createElement("tr",{key:key,style:{color:"#777"}},_react2.default.createElement("td",null,key),_react2.default.createElement("td",{style:{verticalAlign:"top"}},(0,_stringify2.default)(normalizedValue)))}}).toArray():null,additionalProperties&&additionalProperties.size?_react2.default.createElement("tr",null,_react2.default.createElement("td",null,"< * >:"),_react2.default.createElement("td",null,_react2.default.createElement(Model,(0,_extends3.default)({},otherProps,{required:!1,getComponent:getComponent,specPath:specPath.push("additionalProperties"),getConfigs:getConfigs,schema:additionalProperties,depth:depth+1})))):null,anyOf?_react2.default.createElement("tr",null,_react2.default.createElement("td",null,"anyOf ->"),_react2.default.createElement("td",null,anyOf.map(function(schema,k){return _react2.default.createElement("div",{key:k},_react2.default.createElement(Model,(0,_extends3.default)({},otherProps,{required:!1,getComponent:getComponent,specPath:specPath.push("anyOf",k),getConfigs:getConfigs,schema:schema,depth:depth+1})))}))):null,oneOf?_react2.default.createElement("tr",null,_react2.default.createElement("td",null,"oneOf ->"),_react2.default.createElement("td",null,oneOf.map(function(schema,k){return _react2.default.createElement("div",{key:k},_react2.default.createElement(Model,(0,_extends3.default)({},otherProps,{required:!1,getComponent:getComponent,specPath:specPath.push("oneOf",k),getConfigs:getConfigs,schema:schema,depth:depth+1})))}))):null,not?_react2.default.createElement("tr",null,_react2.default.createElement("td",null,"not ->"),_react2.default.createElement("td",null,_react2.default.createElement("div",null,_react2.default.createElement(Model,(0,_extends3.default)({},otherProps,{required:!1,getComponent:getComponent,specPath:specPath.push("not"),getConfigs:getConfigs,schema:not,depth:depth+1}))))):null))),_react2.default.createElement("span",{className:"brace-close"},"}")))}}]),ObjectModel}(_react.Component);ObjectModel.propTypes={schema:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,expanded:_propTypes2.default.bool,onToggle:_propTypes2.default.func,specSelectors:_propTypes2.default.object.isRequired,name:_propTypes2.default.string,displayName:_propTypes2.default.string,isRef:_propTypes2.default.bool,expandDepth:_propTypes2.default.number,depth:_propTypes2.default.number,specPath:_reactImmutableProptypes2.default.list.isRequired},exports.default=ObjectModel},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends3=_interopRequireDefault(__webpack_require__(21)),_slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var propStyle={color:"#999",fontStyle:"italic"},ArrayModel=function(_Component){function ArrayModel(){return(0,_classCallCheck3.default)(this,ArrayModel),(0,_possibleConstructorReturn3.default)(this,(ArrayModel.__proto__||(0,_getPrototypeOf2.default)(ArrayModel)).apply(this,arguments))}return(0,_inherits3.default)(ArrayModel,_Component),(0,_createClass3.default)(ArrayModel,[{key:"render",value:function render(){var _props=this.props,getComponent=_props.getComponent,getConfigs=_props.getConfigs,schema=_props.schema,depth=_props.depth,expandDepth=_props.expandDepth,name=_props.name,displayName=_props.displayName,specPath=_props.specPath,description=schema.get("description"),items=schema.get("items"),title=schema.get("title")||displayName||name,properties=schema.filter(function(v,key){return-1===["type","items","description","$$ref"].indexOf(key)}),Markdown=getComponent("Markdown"),ModelCollapse=getComponent("ModelCollapse"),Model=getComponent("Model"),Property=getComponent("Property"),titleEl=title&&_react2.default.createElement("span",{className:"model-title"},_react2.default.createElement("span",{className:"model-title__text"},title));return _react2.default.createElement("span",{className:"model"},_react2.default.createElement(ModelCollapse,{title:titleEl,expanded:depth<=expandDepth,collapsedContent:"[...]"},"[",properties.size?properties.entrySeq().map(function(_ref){var _ref2=(0,_slicedToArray3.default)(_ref,2),key=_ref2[0],v=_ref2[1];return _react2.default.createElement(Property,{key:key+"-"+v,propKey:key,propVal:v,propStyle:propStyle})}):null,description?_react2.default.createElement(Markdown,{source:description}):properties.size?_react2.default.createElement("div",{className:"markdown"}):null,_react2.default.createElement("span",null,_react2.default.createElement(Model,(0,_extends3.default)({},this.props,{getConfigs:getConfigs,specPath:specPath.push("items"),name:null,schema:items,required:!1,depth:depth+1}))),"]"))}}]),ArrayModel}(_react.Component);ArrayModel.propTypes={schema:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,specSelectors:_propTypes2.default.object.isRequired,name:_propTypes2.default.string,displayName:_propTypes2.default.string,required:_propTypes2.default.bool,expandDepth:_propTypes2.default.number,specPath:_reactImmutableProptypes2.default.list.isRequired,depth:_propTypes2.default.number},exports.default=ArrayModel},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _slicedToArray3=_interopRequireDefault(__webpack_require__(12)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var propStyle={color:"#6b6b6b",fontStyle:"italic"},Primitive=function(_Component){function Primitive(){return(0,_classCallCheck3.default)(this,Primitive),(0,_possibleConstructorReturn3.default)(this,(Primitive.__proto__||(0,_getPrototypeOf2.default)(Primitive)).apply(this,arguments))}return(0,_inherits3.default)(Primitive,_Component),(0,_createClass3.default)(Primitive,[{key:"render",value:function render(){var _props=this.props,schema=_props.schema,getComponent=_props.getComponent,getConfigs=_props.getConfigs,name=_props.name,displayName=_props.displayName,depth=_props.depth,showExtensions=getConfigs().showExtensions;if(!schema||!schema.get)return _react2.default.createElement("div",null);var type=schema.get("type"),format=schema.get("format"),xml=schema.get("xml"),enumArray=schema.get("enum"),title=schema.get("title")||displayName||name,description=schema.get("description"),extensions=(0,_utils.getExtensions)(schema),properties=schema.filter(function(v,key){return-1===["enum","type","format","description","$$ref"].indexOf(key)}).filterNot(function(v,key){return extensions.has(key)}),Markdown=getComponent("Markdown"),EnumModel=getComponent("EnumModel"),Property=getComponent("Property");return _react2.default.createElement("span",{className:"model"},_react2.default.createElement("span",{className:"prop"},name&&_react2.default.createElement("span",{className:(1===depth&&"model-title")+" prop-name"},title),_react2.default.createElement("span",{className:"prop-type"},type),format&&_react2.default.createElement("span",{className:"prop-format"},"($",format,")"),properties.size?properties.entrySeq().map(function(_ref){var _ref2=(0,_slicedToArray3.default)(_ref,2),key=_ref2[0],v=_ref2[1];return _react2.default.createElement(Property,{key:key+"-"+v,propKey:key,propVal:v,propStyle:propStyle})}):null,showExtensions&&extensions.size?extensions.entrySeq().map(function(_ref3){var _ref4=(0,_slicedToArray3.default)(_ref3,2),key=_ref4[0],v=_ref4[1];return _react2.default.createElement(Property,{key:key+"-"+v,propKey:key,propVal:v,propStyle:propStyle})}):null,description?_react2.default.createElement(Markdown,{source:description}):null,xml&&xml.size?_react2.default.createElement("span",null,_react2.default.createElement("br",null),_react2.default.createElement("span",{style:propStyle},"xml:"),xml.entrySeq().map(function(_ref5){var _ref6=(0,_slicedToArray3.default)(_ref5,2),key=_ref6[0],v=_ref6[1];return _react2.default.createElement("span",{key:key+"-"+v,style:propStyle},_react2.default.createElement("br",null)," ",key,": ",String(v))}).toArray()):null,enumArray&&_react2.default.createElement(EnumModel,{value:enumArray,getComponent:getComponent})))}}]),Primitive}(_react.Component);Primitive.propTypes={schema:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired,getConfigs:_propTypes2.default.func.isRequired,name:_propTypes2.default.string,displayName:_propTypes2.default.string,depth:_propTypes2.default.number},exports.default=Primitive},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Property=void 0;var _react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Property=exports.Property=function Property(_ref){var propKey=_ref.propKey,propVal=_ref.propVal,propStyle=_ref.propStyle;return _react2.default.createElement("span",{style:propStyle},_react2.default.createElement("br",null),propKey,": ",String(propVal))};Property.propTypes={propKey:_propTypes2.default.string,propVal:_propTypes2.default.any,propStyle:_propTypes2.default.object},exports.default=Property},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var TryItOutButton=function(_React$Component){function TryItOutButton(){return(0,_classCallCheck3.default)(this,TryItOutButton),(0,_possibleConstructorReturn3.default)(this,(TryItOutButton.__proto__||(0,_getPrototypeOf2.default)(TryItOutButton)).apply(this,arguments))}return(0,_inherits3.default)(TryItOutButton,_React$Component),(0,_createClass3.default)(TryItOutButton,[{key:"render",value:function render(){var _props=this.props,onTryoutClick=_props.onTryoutClick,onCancelClick=_props.onCancelClick,enabled=_props.enabled;return _react2.default.createElement("div",{className:"try-out"},enabled?_react2.default.createElement("button",{className:"btn try-out__btn cancel",onClick:onCancelClick},"Cancel"):_react2.default.createElement("button",{className:"btn try-out__btn",onClick:onTryoutClick},"Try it out "))}}]),TryItOutButton}(_react2.default.Component);TryItOutButton.propTypes={onTryoutClick:_propTypes2.default.func,onCancelClick:_propTypes2.default.func,enabled:_propTypes2.default.bool},TryItOutButton.defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,enabled:!1},exports.default=TryItOutButton},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var VersionPragmaFilter=function(_React$PureComponent){function VersionPragmaFilter(){return(0,_classCallCheck3.default)(this,VersionPragmaFilter),(0,_possibleConstructorReturn3.default)(this,(VersionPragmaFilter.__proto__||(0,_getPrototypeOf2.default)(VersionPragmaFilter)).apply(this,arguments))}return(0,_inherits3.default)(VersionPragmaFilter,_React$PureComponent),(0,_createClass3.default)(VersionPragmaFilter,[{key:"render",value:function render(){var _props=this.props,bypass=_props.bypass,isSwagger2=_props.isSwagger2,isOAS3=_props.isOAS3,alsoShow=_props.alsoShow;return bypass?_react2.default.createElement("div",null,this.props.children):isSwagger2&&isOAS3?_react2.default.createElement("div",{className:"version-pragma"},alsoShow,_react2.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},_react2.default.createElement("div",null,_react2.default.createElement("h3",null,"Unable to render this definition"),_react2.default.createElement("p",null,_react2.default.createElement("code",null,"swagger")," and ",_react2.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),_react2.default.createElement("p",null,"Supported version fields are ",_react2.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",_react2.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",_react2.default.createElement("code",null,"openapi: 3.0.0"),").")))):isSwagger2||isOAS3?_react2.default.createElement("div",null,this.props.children):_react2.default.createElement("div",{className:"version-pragma"},alsoShow,_react2.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},_react2.default.createElement("div",null,_react2.default.createElement("h3",null,"Unable to render this definition"),_react2.default.createElement("p",null,"The provided definition does not specify a valid version field."),_react2.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",_react2.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",_react2.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",_react2.default.createElement("code",null,"openapi: 3.0.0"),")."))))}}]),VersionPragmaFilter}(_react2.default.PureComponent);VersionPragmaFilter.propTypes={isSwagger2:_propTypes2.default.bool.isRequired,isOAS3:_propTypes2.default.bool.isRequired,bypass:_propTypes2.default.bool,alsoShow:_propTypes2.default.element,children:_propTypes2.default.any},VersionPragmaFilter.defaultProps={alsoShow:null,children:null,bypass:!1},exports.default=VersionPragmaFilter},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var VersionStamp=function VersionStamp(_ref){var version=_ref.version;return _react2.default.createElement("small",null,_react2.default.createElement("pre",{className:"version"}," ",version," "))};VersionStamp.propTypes={version:_propTypes2.default.string.isRequired},exports.default=VersionStamp},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DeepLink=void 0;var _react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var DeepLink=exports.DeepLink=function DeepLink(_ref){var enabled=_ref.enabled,path=_ref.path,text=_ref.text;return _react2.default.createElement("a",{className:"nostyle",onClick:enabled?function(e){return e.preventDefault()}:null,href:enabled?"#/"+path:null},_react2.default.createElement("span",null,text))};DeepLink.propTypes={enabled:_propTypes2.default.bool,isShown:_propTypes2.default.bool,path:_propTypes2.default.string,text:_propTypes2.default.string},exports.default=DeepLink},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _react2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(0));exports.default=function SvgAssets(){return _react2.default.createElement("div",null,_react2.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",style:{position:"absolute",width:0,height:0}},_react2.default.createElement("defs",null,_react2.default.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},_react2.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),_react2.default.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},_react2.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),_react2.default.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},_react2.default.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),_react2.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},_react2.default.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),_react2.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},_react2.default.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),_react2.default.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},_react2.default.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),_react2.default.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},_react2.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})))))}},function(module,exports){module.exports=require("remarkable")},function(module,exports){module.exports=require("dompurify")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react2=_interopRequireDefault(__webpack_require__(0)),_propTypes2=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var BaseLayout=function(_React$Component){function BaseLayout(){return(0,_classCallCheck3.default)(this,BaseLayout),(0,_possibleConstructorReturn3.default)(this,(BaseLayout.__proto__||(0,_getPrototypeOf2.default)(BaseLayout)).apply(this,arguments))}return(0,_inherits3.default)(BaseLayout,_React$Component),(0,_createClass3.default)(BaseLayout,[{key:"render",value:function render(){var _props=this.props,specSelectors=_props.specSelectors,getComponent=_props.getComponent,SvgAssets=getComponent("SvgAssets"),InfoContainer=getComponent("InfoContainer",!0),VersionPragmaFilter=getComponent("VersionPragmaFilter"),Operations=getComponent("operations",!0),Models=getComponent("Models",!0),Row=getComponent("Row"),Col=getComponent("Col"),ServersContainer=getComponent("ServersContainer",!0),Errors=getComponent("errors",!0),SchemesContainer=getComponent("SchemesContainer",!0),FilterContainer=getComponent("FilterContainer",!0),isSwagger2=specSelectors.isSwagger2(),isOAS3=specSelectors.isOAS3();if(!specSelectors.specStr()){var loadingMessage=void 0;return loadingMessage="loading"===specSelectors.loadingStatus()?_react2.default.createElement("div",{className:"loading"}):_react2.default.createElement("h4",null,"No API definition provided."),_react2.default.createElement("div",{className:"swagger-ui"},_react2.default.createElement("div",{className:"loading-container"},loadingMessage))}return _react2.default.createElement("div",{className:"swagger-ui"},_react2.default.createElement(SvgAssets,null),_react2.default.createElement(VersionPragmaFilter,{isSwagger2:isSwagger2,isOAS3:isOAS3,alsoShow:_react2.default.createElement(Errors,null)},_react2.default.createElement(Errors,null),_react2.default.createElement(Row,{className:"information-container"},_react2.default.createElement(Col,{mobile:12},_react2.default.createElement(InfoContainer,null))),_react2.default.createElement(SchemesContainer,null),_react2.default.createElement(ServersContainer,null),_react2.default.createElement(FilterContainer,null),_react2.default.createElement(Row,null,_react2.default.createElement(Col,{mobile:12,desktop:12},_react2.default.createElement(Operations,null))),_react2.default.createElement(Row,null,_react2.default.createElement(Col,{mobile:12,desktop:12},_react2.default.createElement(Models,null)))))}}]),BaseLayout}(_react2.default.Component);BaseLayout.propTypes={errSelectors:_propTypes2.default.object.isRequired,errActions:_propTypes2.default.object.isRequired,specSelectors:_propTypes2.default.object.isRequired,oas3Selectors:_propTypes2.default.object.isRequired,oas3Actions:_propTypes2.default.object.isRequired,getComponent:_propTypes2.default.func.isRequired},exports.default=BaseLayout},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.JsonSchema_object=exports.JsonSchema_boolean=exports.JsonSchema_array=exports.JsonSchema_string=exports.JsonSchemaForm=void 0;var _assign2=_interopRequireDefault(__webpack_require__(20)),_extends3=_interopRequireDefault(__webpack_require__(21)),_getPrototypeOf2=_interopRequireDefault(__webpack_require__(4)),_classCallCheck3=_interopRequireDefault(__webpack_require__(2)),_createClass3=_interopRequireDefault(__webpack_require__(3)),_possibleConstructorReturn3=_interopRequireDefault(__webpack_require__(5)),_inherits3=_interopRequireDefault(__webpack_require__(6)),_react=__webpack_require__(0),_react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(__webpack_require__(1)),_immutable=__webpack_require__(7),_classnames2=_interopRequireDefault(__webpack_require__(93)),_reactImmutableProptypes2=_interopRequireDefault(__webpack_require__(9)),_reactDebounceInput2=_interopRequireDefault(__webpack_require__(620)),_utils=__webpack_require__(8);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var JsonSchemaPropShape={getComponent:_propTypes2.default.func.isRequired,value:_propTypes2.default.any,onChange:_propTypes2.default.func,keyName:_propTypes2.default.any,fn:_propTypes2.default.object.isRequired,schema:_propTypes2.default.object,errors:_reactImmutableProptypes2.default.list,required:_propTypes2.default.bool,dispatchInitialValue:_propTypes2.default.bool,description:_propTypes2.default.any},JsonSchemaDefaultProps={value:"",onChange:function noop(){},schema:{},keyName:"",required:!1,errors:(0,_immutable.List)()},JsonSchemaForm=exports.JsonSchemaForm=function(_Component){function JsonSchemaForm(){return(0,_classCallCheck3.default)(this,JsonSchemaForm),(0,_possibleConstructorReturn3.default)(this,(JsonSchemaForm.__proto__||(0,_getPrototypeOf2.default)(JsonSchemaForm)).apply(this,arguments))}return(0,_inherits3.default)(JsonSchemaForm,_Component),(0,_createClass3.default)(JsonSchemaForm,[{key:"componentDidMount",value:function componentDidMount(){var _props=this.props,dispatchInitialValue=_props.dispatchInitialValue,value=_props.value,onChange=_props.onChange;dispatchInitialValue&&onChange(value)}},{key:"render",value:function render(){var _props2=this.props,schema=_props2.schema,errors=_props2.errors,value=_props2.value,onChange=_props2.onChange,getComponent=_props2.getComponent,fn=_props2.fn;schema.toJS&&(schema=schema.toJS());var _schema=schema,type=_schema.type,_schema$format=_schema.format,format=void 0===_schema$format?"":_schema$format,Comp=getComponent(format?"JsonSchema_"+type+"_"+format:"JsonSchema_"+type)||getComponent("JsonSchema_string");return _react2.default.createElement(Comp,(0,_extends3.default)({},this.props,{errors:errors,fn:fn,getComponent:getComponent,value:value,onChange:onChange,schema:schema}))}}]),JsonSchemaForm}(_react.Component);JsonSchemaForm.propTypes=JsonSchemaPropShape,JsonSchemaForm.defaultProps=JsonSchemaDefaultProps;var JsonSchema_string=exports.JsonSchema_string=function(_Component2){function JsonSchema_string(){var _ref,_temp,_this2,_ret;(0,_classCallCheck3.default)(this,JsonSchema_string);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _temp=_this2=(0,_possibleConstructorReturn3.default)(this,(_ref=JsonSchema_string.__proto__||(0,_getPrototypeOf2.default)(JsonSchema_string)).call.apply(_ref,[this].concat(args))),_this2.onChange=function(e){var value="file"===_this2.props.schema.type?e.target.files[0]:e.target.value;_this2.props.onChange(value,_this2.props.keyName)},_this2.onEnumChange=function(val){return _this2.props.onChange(val)},_ret=_temp,(0,_possibleConstructorReturn3.default)(_this2,_ret)}return(0,_inherits3.default)(JsonSchema_string,_Component2),(0,_createClass3.default)(JsonSchema_string,[{key:"render",value:function render(){var _props3=this.props,getComponent=_props3.getComponent,value=_props3.value,schema=_props3.schema,errors=_props3.errors,required=_props3.required,description=_props3.description,enumValue=schema.enum;if(errors=errors.toJS?errors.toJS():[],enumValue){var Select=getComponent("Select");return _react2.default.createElement(Select,{className:errors.length?"invalid":"",title:errors.length?errors:"",allowedValues:enumValue,value:value,allowEmptyValue:!required,onChange:this.onEnumChange})}var isDisabled="formData"===schema.in&&!("FormData"in window),Input=getComponent("Input");return"file"===schema.type?_react2.default.createElement(Input,{type:"file",className:errors.length?"invalid":"",title:errors.length?errors:"",onChange:this.onChange,disabled:isDisabled}):_react2.default.createElement(_reactDebounceInput2.default,{type:"password"===schema.format?"password":"text",className:errors.length?"invalid":"",title:errors.length?errors:"",value:value,minLength:0,debounceTimeout:350,placeholder:description,onChange:this.onChange,disabled:isDisabled})}}]),JsonSchema_string}(_react.Component);JsonSchema_string.propTypes=JsonSchemaPropShape,JsonSchema_string.defaultProps=JsonSchemaDefaultProps;var JsonSchema_array=exports.JsonSchema_array=function(_PureComponent){function JsonSchema_array(props,context){(0,_classCallCheck3.default)(this,JsonSchema_array);var _this3=(0,_possibleConstructorReturn3.default)(this,(JsonSchema_array.__proto__||(0,_getPrototypeOf2.default)(JsonSchema_array)).call(this,props,context));return _this3.onChange=function(){return _this3.props.onChange(_this3.state.value)},_this3.onItemChange=function(itemVal,i){_this3.setState(function(state){return{value:state.value.set(i,itemVal)}},_this3.onChange)},_this3.removeItem=function(i){_this3.setState(function(state){return{value:state.value.remove(i)}},_this3.onChange)},_this3.addItem=function(){_this3.setState(function(state){return state.value=valueOrEmptyList(state.value),{value:state.value.push("")}},_this3.onChange)},_this3.onEnumChange=function(value){_this3.setState(function(){return{value:value}},_this3.onChange)},_this3.state={value:valueOrEmptyList(props.value)},_this3}return(0,_inherits3.default)(JsonSchema_array,_PureComponent),(0,_createClass3.default)(JsonSchema_array,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(props){props.value!==this.state.value&&this.setState({value:props.value})}},{key:"render",value:function render(){var _this4=this,_props4=this.props,getComponent=_props4.getComponent,required=_props4.required,schema=_props4.schema,errors=_props4.errors,fn=_props4.fn;errors=errors.toJS?errors.toJS():[];var itemSchema=fn.inferSchema(schema.items),JsonSchemaForm=getComponent("JsonSchemaForm"),Button=getComponent("Button"),enumValue=itemSchema.enum,value=this.state.value;if(enumValue){var Select=getComponent("Select");return _react2.default.createElement(Select,{className:errors.length?"invalid":"",title:errors.length?errors:"",multiple:!0,value:value,allowedValues:enumValue,allowEmptyValue:!required,onChange:this.onEnumChange})}return _react2.default.createElement("div",null,!value||!value.count||value.count()<1?null:value.map(function(item,i){var schema=(0,_assign2.default)({},itemSchema);if(errors.length){var err=errors.filter(function(err){return err.index===i});err.length&&(errors=[err[0].error+i])}return _react2.default.createElement("div",{key:i,className:"json-schema-form-item"},_react2.default.createElement(JsonSchemaForm,{fn:fn,getComponent:getComponent,value:item,onChange:function onChange(val){return _this4.onItemChange(val,i)},schema:schema}),_react2.default.createElement(Button,{className:"btn btn-sm json-schema-form-item-remove",onClick:function onClick(){return _this4.removeItem(i)}}," - "))}).toArray(),_react2.default.createElement(Button,{className:"btn btn-sm json-schema-form-item-add "+(errors.length?"invalid":null),onClick:this.addItem}," Add item "))}}]),JsonSchema_array}(_react.PureComponent);JsonSchema_array.propTypes=JsonSchemaPropShape,JsonSchema_array.defaultProps=JsonSchemaDefaultProps;var JsonSchema_boolean=exports.JsonSchema_boolean=function(_Component3){function JsonSchema_boolean(){var _ref2,_temp2,_this5,_ret2;(0,_classCallCheck3.default)(this,JsonSchema_boolean);for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return _temp2=_this5=(0,_possibleConstructorReturn3.default)(this,(_ref2=JsonSchema_boolean.__proto__||(0,_getPrototypeOf2.default)(JsonSchema_boolean)).call.apply(_ref2,[this].concat(args))),_this5.onEnumChange=function(val){return _this5.props.onChange(val)},_ret2=_temp2,(0,_possibleConstructorReturn3.default)(_this5,_ret2)}return(0,_inherits3.default)(JsonSchema_boolean,_Component3),(0,_createClass3.default)(JsonSchema_boolean,[{key:"render",value:function render(){var _props5=this.props,getComponent=_props5.getComponent,value=_props5.value,errors=_props5.errors,schema=_props5.schema,required=_props5.required;errors=errors.toJS?errors.toJS():[];var Select=getComponent("Select");return _react2.default.createElement(Select,{className:errors.length?"invalid":"",title:errors.length?errors:"",value:String(value),allowedValues:(0,_immutable.fromJS)(schema.enum||["true","false"]),allowEmptyValue:!schema.enum||!required,onChange:this.onEnumChange})}}]),JsonSchema_boolean}(_react.Component);JsonSchema_boolean.propTypes=JsonSchemaPropShape,JsonSchema_boolean.defaultProps=JsonSchemaDefaultProps;var JsonSchema_object=exports.JsonSchema_object=function(_PureComponent2){function JsonSchema_object(){(0,_classCallCheck3.default)(this,JsonSchema_object);var _this6=(0,_possibleConstructorReturn3.default)(this,(JsonSchema_object.__proto__||(0,_getPrototypeOf2.default)(JsonSchema_object)).call(this));return _this6.resetValueToSample=function(){_this6.onChange((0,_utils.getSampleSchema)(_this6.props.schema))},_this6.onChange=function(value){_this6.props.onChange(value)},_this6.handleOnChange=function(e){var inputValue=e.target.value;_this6.onChange(inputValue)},_this6}return(0,_inherits3.default)(JsonSchema_object,_PureComponent2),(0,_createClass3.default)(JsonSchema_object,[{key:"componentDidMount",value:function componentDidMount(){!this.props.value&&this.props.schema&&this.resetValueToSample()}},{key:"render",value:function render(){var _props6=this.props,getComponent=_props6.getComponent,value=_props6.value,errors=_props6.errors,TextArea=getComponent("TextArea");return _react2.default.createElement("div",null,_react2.default.createElement(TextArea,{className:(0,_classnames2.default)({invalid:errors.size}),title:errors.size?errors.join(", "):"",value:value,onChange:this.handleOnChange}))}}]),JsonSchema_object}(_react.PureComponent);function valueOrEmptyList(value){return _immutable.List.isList(value)?value:(0,_immutable.List)()}JsonSchema_object.propTypes=JsonSchemaPropShape,JsonSchema_object.defaultProps=JsonSchemaDefaultProps},function(module,exports){module.exports=require("react-debounce-input")},function(module,exports){module.exports=require("react-markdown")},function(module,exports){module.exports=require("commonmark")},function(module,exports,__webpack_require__){var map={"./all.js":284,"./ast/ast.js":232,"./ast/index.js":231,"./ast/jump-to-path.jsx":233,"./auth/actions.js":143,"./auth/index.js":236,"./auth/reducers.js":237,"./auth/selectors.js":238,"./auth/spec-wrap-actions.js":239,"./configs/actions.js":145,"./configs/helpers.js":144,"./configs/index.js":244,"./configs/reducers.js":247,"./configs/selectors.js":246,"./configs/spec-actions.js":245,"./deep-linking/helpers.js":250,"./deep-linking/index.js":248,"./deep-linking/layout.js":249,"./deep-linking/operation-tag-wrapper.jsx":252,"./deep-linking/operation-wrapper.jsx":251,"./download-url.js":243,"./err/actions.js":84,"./err/error-transformers/hook.js":203,"./err/error-transformers/transformers/not-of-type.js":204,"./err/error-transformers/transformers/parameter-oneof.js":205,"./err/error-transformers/transformers/strip-instance.js":206,"./err/index.js":201,"./err/reducers.js":202,"./err/selectors.js":207,"./filter/index.js":253,"./filter/opsFilter.js":254,"./layout/actions.js":134,"./layout/index.js":208,"./layout/reducers.js":209,"./layout/selectors.js":210,"./logs/index.js":230,"./oas3/actions.js":146,"./oas3/auth-extensions/wrap-selectors.js":263,"./oas3/components/callbacks.jsx":266,"./oas3/components/http-auth.jsx":272,"./oas3/components/index.js":265,"./oas3/components/operation-link.jsx":268,"./oas3/components/operation-servers.jsx":273,"./oas3/components/request-body-editor.jsx":271,"./oas3/components/request-body.jsx":267,"./oas3/components/servers-container.jsx":270,"./oas3/components/servers.jsx":269,"./oas3/helpers.js":23,"./oas3/index.js":261,"./oas3/reducers.js":283,"./oas3/selectors.js":282,"./oas3/spec-extensions/selectors.js":264,"./oas3/spec-extensions/wrap-selectors.js":262,"./oas3/wrap-components/auth-item.jsx":276,"./oas3/wrap-components/index.js":274,"./oas3/wrap-components/json-schema-string.js":281,"./oas3/wrap-components/markdown.js":275,"./oas3/wrap-components/model.jsx":280,"./oas3/wrap-components/online-validator-badge.js":279,"./oas3/wrap-components/parameters.jsx":277,"./oas3/wrap-components/version-stamp.jsx":278,"./on-complete/index.js":255,"./samples/fn.js":133,"./samples/index.js":229,"./spec/actions.js":136,"./spec/index.js":214,"./spec/reducers.js":215,"./spec/selectors.js":135,"./spec/wrap-actions.js":223,"./split-pane-mode/components/split-pane-mode.jsx":242,"./split-pane-mode/index.js":241,"./swagger-js/index.js":234,"./util/index.js":240,"./view/index.js":224,"./view/root-injects.js":225};function webpackContext(req){return __webpack_require__(webpackContextResolve(req))}function webpackContextResolve(req){var id=map[req];if(!(id+1))throw new Error("Cannot find module '"+req+"'.");return id}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=623}])}); |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
9 //# sourceMappingURL=swagger-ui.js.map |