api-spec-converter
Version:
Convert API descriptions between popular formats such as OpenAPI(fka Swagger), RAML, API Blueprint, WADL, etc.
1 lines • 22.7 kB
JavaScript
webpackJsonp([2],{0:function(l,n,u){l.exports=u("cDNt")},cDNt:function(l,n,u){"use strict";function e(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,3,"li",[],null,null,null,null,null)),(l()(),v["\u0275eld"](1,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;if("click"===n){e=!1!==t.setExample(l.context.$implicit)&&e}return e},null,null)),(l()(),v["\u0275eld"](2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](3,null,["",""]))],null,function(l,n){l(n,3,0,n.component.formatLabels[n.context.$implicit.from]||n.context.$implicit.from)})}function t(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,2,"li",[],[[8,"hidden",0]],null,null,null,null)),(l()(),v["\u0275eld"](1,0,null,null,1,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;if("click"===n){e=!1!==(t.convertFrom=l.context.$implicit)&&e}return e},null,null)),(l()(),v["\u0275ted"](2,null,["",""]))],null,function(l,n){var u=n.component;l(n,0,0,-1!==u.skipFormats.indexOf(n.context.$implicit)),l(n,2,0,u.formatLabels[n.context.$implicit]||n.context.$implicit)})}function o(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,2,"li",[],[[8,"hidden",0]],null,null,null,null)),(l()(),v["\u0275eld"](1,0,null,null,1,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;if("click"===n){e=!1!==(t.convertTo=l.context.$implicit)&&e}return e},null,null)),(l()(),v["\u0275ted"](2,null,["",""]))],null,function(l,n){var u=n.component;l(n,0,0,-1!==u.skipFormats.indexOf(n.context.$implicit)||n.context.$implicit===u.convertFrom),l(n,2,0,u.formatLabels[n.context.$implicit]||n.context.$implicit)})}function r(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),(l()(),v["\u0275eld"](1,0,null,null,0,"span",[["class","fa fa-exchange"]],null,null,null,null,null)),(l()(),v["\u0275eld"](2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["\xa0Convert!"]))],null,null)}function i(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,0,"span",[["class","fa fa-spin fa-refresh"]],null,null,null,null,null))],null,null)}function a(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,5,"div",[["class","alert alert-danger"]],null,null,null,null,null)),(l()(),v["\u0275eld"](1,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),v["\u0275ted"](2,null,["",""])),(l()(),v["\u0275eld"](3,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),v["\u0275eld"](4,0,null,null,1,"a",[["href","https://github.com/lucybot/api-spec-converter/issues/new"],["target","_blank"]],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Open an issue on GitHub"]))],null,function(l,n){l(n,2,0,n.component.error)})}function s(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,13,"div",[["class","output-spec"]],null,null,null,null,null)),(l()(),v["\u0275eld"](1,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(l()(),v["\u0275eld"](2,0,null,null,3,"div",[["class","col-xs-9"]],null,null,null,null,null)),(l()(),v["\u0275eld"](3,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),v["\u0275eld"](4,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](5,null,["Converted to ","."])),(l()(),v["\u0275eld"](6,0,null,null,5,"div",[["class","col-xs-3 text-right"]],null,null,null,null,null)),(l()(),v["\u0275eld"](7,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),v["\u0275eld"](8,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;if("click"===n){e=!1!==t.download()&&e}return e},null,null)),(l()(),v["\u0275eld"](9,0,null,null,0,"span",[["class","fa fa-left fa-download"]],null,null,null,null,null)),(l()(),v["\u0275eld"](10,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Download"])),(l()(),v["\u0275eld"](12,0,null,null,1,"pre",[],null,null,null,null,null)),(l()(),v["\u0275ted"](13,null,["",""]))],null,function(l,n){var u=n.component;l(n,5,0,u.formatLabels[u.convertTo]||u.convertTo),l(n,13,0,u.stringify(u.spec))})}function d(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,54,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0,t=l.component;if("submit"===n){e=!1!==v["\u0275nov"](l,2).onSubmit(u)&&e}if("reset"===n){e=!1!==v["\u0275nov"](l,2).onReset()&&e}if("submit"===n){e=!1!==t.convert()&&e}return e},null,null)),v["\u0275did"](1,16384,null,0,R["\u0275bf"],[],null,null),v["\u0275did"](2,16384,null,0,R.NgForm,[[8,null],[8,null]],null,null),v["\u0275prd"](2048,null,R.ControlContainer,null,[R.NgForm]),v["\u0275did"](4,16384,null,0,R.NgControlStatusGroup,[R.ControlContainer],null,null),(l()(),v["\u0275eld"](5,0,null,null,17,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),v["\u0275eld"](6,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Specification URL"])),(l()(),v["\u0275eld"](8,0,null,null,14,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),v["\u0275eld"](9,0,null,null,5,"input",[["class","form-control"],["name","source"],["placeholder","Source URL"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0,t=l.component;if("input"===n){e=!1!==v["\u0275nov"](l,10)._handleInput(u.target.value)&&e}if("blur"===n){e=!1!==v["\u0275nov"](l,10).onTouched()&&e}if("compositionstart"===n){e=!1!==v["\u0275nov"](l,10)._compositionStart()&&e}if("compositionend"===n){e=!1!==v["\u0275nov"](l,10)._compositionEnd(u.target.value)&&e}if("ngModelChange"===n){e=!1!==(t.convertSource=u)&&e}return e},null,null)),v["\u0275did"](10,16384,null,0,R.DefaultValueAccessor,[v.Renderer2,v.ElementRef,[2,R.COMPOSITION_BUFFER_MODE]],null,null),v["\u0275prd"](1024,null,R.NG_VALUE_ACCESSOR,function(l){return[l]},[R.DefaultValueAccessor]),v["\u0275did"](12,671744,null,0,R.NgModel,[[2,R.ControlContainer],[8,null],[8,null],[2,R.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),v["\u0275prd"](2048,null,R.NgControl,null,[R.NgModel]),v["\u0275did"](14,16384,null,0,R.NgControlStatus,[R.NgControl],null,null),(l()(),v["\u0275eld"](15,0,null,null,7,"div",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),v["\u0275eld"](16,0,null,null,3,"a",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-default dropdown-toggle"],["data-toggle","dropdown"],["type","button"]],null,null,null,null,null)),(l()(),v["\u0275eld"](17,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Examples"])),(l()(),v["\u0275eld"](19,0,null,null,0,"i",[["class","fa fa-right fa-caret-down"]],null,null,null,null,null)),(l()(),v["\u0275eld"](20,0,null,null,2,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),v["\u0275and"](16777216,null,null,1,null,e)),v["\u0275did"](22,802816,null,0,C.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),v["\u0275eld"](23,0,null,null,31,"div",[["class","row"]],null,null,null,null,null)),(l()(),v["\u0275eld"](24,0,null,null,11,"div",[["class","col-xs-12 col-sm-4"]],null,null,null,null,null)),(l()(),v["\u0275eld"](25,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),v["\u0275eld"](26,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Source Format"])),(l()(),v["\u0275eld"](28,0,null,null,7,"div",[["class","dropdown"]],null,null,null,null,null)),(l()(),v["\u0275eld"](29,0,null,null,3,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-default dropdown-toggle"],["data-toggle","dropdown"],["type","button"]],null,null,null,null,null)),(l()(),v["\u0275eld"](30,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](31,null,["",""])),(l()(),v["\u0275eld"](32,0,null,null,0,"i",[["class","fa fa-right fa-caret-down"]],null,null,null,null,null)),(l()(),v["\u0275eld"](33,0,null,null,2,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),v["\u0275and"](16777216,null,null,1,null,t)),v["\u0275did"](35,802816,null,0,C.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),v["\u0275eld"](36,0,null,null,11,"div",[["class","col-xs-12 col-sm-4"]],null,null,null,null,null)),(l()(),v["\u0275eld"](37,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),v["\u0275eld"](38,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Destination Format"])),(l()(),v["\u0275eld"](40,0,null,null,7,"div",[["class","dropdown"]],null,null,null,null,null)),(l()(),v["\u0275eld"](41,0,null,null,3,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-default dropdown-toggle"],["data-toggle","dropdown"],["type","button"]],null,null,null,null,null)),(l()(),v["\u0275eld"](42,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](43,null,["",""])),(l()(),v["\u0275eld"](44,0,null,null,0,"i",[["class","fa fa-right fa-caret-down"]],null,null,null,null,null)),(l()(),v["\u0275eld"](45,0,null,null,2,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),v["\u0275and"](16777216,null,null,1,null,o)),v["\u0275did"](47,802816,null,0,C.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),v["\u0275eld"](48,0,null,null,6,"div",[["class","col-xs-12 col-sm-4"]],null,null,null,null,null)),(l()(),v["\u0275eld"](49,0,null,null,5,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),v["\u0275eld"](50,0,null,null,4,"button",[["class","btn btn-lg btn-success"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(l()(),v["\u0275and"](16777216,null,null,1,null,r)),v["\u0275did"](52,16384,null,0,C.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),v["\u0275and"](16777216,null,null,1,null,i)),v["\u0275did"](54,16384,null,0,C.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),v["\u0275and"](16777216,null,null,1,null,a)),v["\u0275did"](56,16384,null,0,C.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),v["\u0275and"](16777216,null,null,1,null,s)),v["\u0275did"](58,16384,null,0,C.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,12,0,"source",u.convertSource),l(n,22,0,u.examples),l(n,35,0,u.formats),l(n,47,0,u.destinationFormats),l(n,52,0,!u.running&&u.platform.isBrowser()),l(n,54,0,u.running||!u.platform.isBrowser()),l(n,56,0,u.error),l(n,58,0,u.spec)},function(l,n){var u=n.component;l(n,0,0,v["\u0275nov"](n,4).ngClassUntouched,v["\u0275nov"](n,4).ngClassTouched,v["\u0275nov"](n,4).ngClassPristine,v["\u0275nov"](n,4).ngClassDirty,v["\u0275nov"](n,4).ngClassValid,v["\u0275nov"](n,4).ngClassInvalid,v["\u0275nov"](n,4).ngClassPending),l(n,9,0,v["\u0275nov"](n,14).ngClassUntouched,v["\u0275nov"](n,14).ngClassTouched,v["\u0275nov"](n,14).ngClassPristine,v["\u0275nov"](n,14).ngClassDirty,v["\u0275nov"](n,14).ngClassValid,v["\u0275nov"](n,14).ngClassInvalid,v["\u0275nov"](n,14).ngClassPending),l(n,31,0,u.formatLabels[u.convertFrom]||u.convertFrom),l(n,43,0,u.formatLabels[u.convertTo]||u.convertTo),l(n,50,0,u.running||!u.platform.isBrowser())})}function c(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,1,"spec-converter",[],null,null,null,d,A)),v["\u0275did"](1,49152,null,0,O,[I],null,null)],null,null)}function p(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,30,"div",[["class","row"]],null,null,null,null,null)),(l()(),v["\u0275eld"](1,0,null,null,29,"div",[["class","col-xs-12 col-md-10 col-md-offset-1"]],null,null,null,null,null)),(l()(),v["\u0275eld"](2,0,null,null,11,"h1",[],null,null,null,null,null)),(l()(),v["\u0275eld"](3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["API Spec Converter"])),(l()(),v["\u0275eld"](5,0,null,null,8,"div",[["class","btn-toolbar social-buttons pull-right"]],null,null,null,null,null)),(l()(),v["\u0275eld"](6,0,null,null,3,"a",[["class","btn btn-default"]],[[8,"href",4]],null,null,null,null)),(l()(),v["\u0275eld"](7,0,null,null,0,"i",[["class","fa fa-left fa-github"]],null,null,null,null,null)),(l()(),v["\u0275eld"](8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["View on GitHub"])),(l()(),v["\u0275eld"](10,0,null,null,3,"a",[["class","btn btn-default"],["href","https://twitter.com/intent/tweet?text=Convert+between+API+description+formats+such+as+Swagger+and+RAML:&url=http%3A%2F%2Flucybot-inc.github.io%2Fapi-spec-converter"]],null,null,null,null,null)),(l()(),v["\u0275eld"](11,0,null,null,0,"i",[["class","fa fa-left fa-twitter"]],null,null,null,null,null)),(l()(),v["\u0275eld"](12,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Tweet"])),(l()(),v["\u0275eld"](14,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["The goal of this project is to allow REST API developers to convert between different\n"])),(l()(),v["\u0275eld"](16,0,null,null,1,"a",[["href","http://apiux.com/2013/04/09/rest-metadata-formats/"],["target","_blank"]],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["API definition formats"])),(l()(),v["\u0275ted"](-1,null,[".\nThis prevents lock-in, and allows developers to take advantage\nof tools that only support particular formats."])),(l()(),v["\u0275eld"](19,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Currently, we only support converting from various formats (e.g. RAML and WADL) to Open API 2.0 (fka Swagger).\nOpen API 3.0 and API Blueprint are not supported in this web app, but are supported using the\n"])),(l()(),v["\u0275eld"](21,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["command line tool"])),(l()(),v["\u0275ted"](-1,null,["."])),(l()(),v["\u0275eld"](24,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["Our plan is to eventually support conversion between any two formats. If you'd like to contribute, you can\ncheck out the "])),(l()(),v["\u0275eld"](26,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["open source library on GitHub"])),(l()(),v["\u0275ted"](-1,null,["."])),(l()(),v["\u0275eld"](29,0,null,null,1,"spec-converter",[],null,null,null,d,A)),v["\u0275did"](30,49152,null,0,O,[I],null,null)],null,function(l,n){var u=n.component;l(n,6,0,u.githubLink),l(n,21,0,v["\u0275inlineInterpolate"](1,"",u.githubLink,"")),l(n,26,0,v["\u0275inlineInterpolate"](1,"",u.githubLink,""))})}function f(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,1,"home",[],null,null,null,p,S)),v["\u0275did"](1,49152,null,0,M,[],null,null)],null,null)}function m(l){return v["\u0275vid"](0,[(l()(),v["\u0275ted"](-1,null,["\n "])),(l()(),v["\u0275eld"](1,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(l()(),v["\u0275ted"](-1,null,["\n "])),(l()(),v["\u0275eld"](3,0,null,null,1,"home",[],null,null,null,p,S)),v["\u0275did"](4,49152,null,0,M,[],null,null),(l()(),v["\u0275ted"](-1,null,["\n "])),(l()(),v["\u0275ted"](-1,null,["\n "]))],null,null)}function g(l){return v["\u0275vid"](0,[(l()(),v["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,m,F)),v["\u0275did"](1,49152,null,0,w,[],null,null)],null,null)}Object.defineProperty(n,"__esModule",{value:!0});var v=u("/oeL"),h={production:!0,baseHref:"/api-spec-converter"},b=function(){function l(){}return l}(),w=function(){function l(){}return l.ctorParameters=function(){return[]},l}(),C=u("qbdv"),I=function(){function l(l){this.platformId=l}return l.prototype.isBrowser=function(){return Object(C.isPlatformBrowser)(this.platformId)},l.prototype.isServer=function(){return Object(C.isPlatformServer)(this.platformId)},l.ctorParameters=function(){return[{type:void 0,decorators:[{type:v.Inject,args:[v.PLATFORM_ID]}]}]},l}(),y=u("bbdN"),O=function(){function l(l){this.platform=l,this.formats=[],this.skipFormats=["api_blueprint"],this.destinationFormats=["swagger_2","openapi_3"],this.formatLabels={swagger_1:"Open API 1.x (Swagger)",swagger_2:"Open API 2.0 (Swagger)",openapi_3:"Open API 3.0",io_docs:"I/O Docs",api_blueprint:"API Blueprint",google:"Google Discovery",raml:"RAML",wadl:"WADL"},this.examples=[{from:"swagger_1",source:"https://raw.githubusercontent.com/LucyBot-Inc/api-spec-converter/master/test/input/swagger_1/petstore/index.json"},{from:"swagger_2",to:"openapi_3",source:"https://api.apis.guru/v2/specs/bufferapp.com/1/swagger.json"},{from:"wadl",source:"https://api.apigee.com/v1/consoles/facebook/apidescription?format=wadl"},{from:"raml",source:"https://raw.githubusercontent.com/raml-apis/XKCD/master/api.raml"},{from:"google",source:"https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest"},{from:"io_docs",source:"https://raw.githubusercontent.com/lucybot/api-spec-converter/master/test/input/io_docs/foursquare.json"}],this.setExample(this.examples[0]),this.platform.isBrowser()&&(this.formats=Object.keys(APISpecConverter.Formats))}return l.prototype.stringify=function(l){return JSON.stringify(l,null,2)},l.prototype.setExample=function(l){this.convertFrom=l.from,this.convertTo=l.to||"swagger_2",this.convertSource=l.source},l.prototype.convert=function(){var l=this;this.error=this.spec=null,this.running=!0,APISpecConverter.convert({from:this.convertFrom,to:this.convertTo,source:this.convertSource}).then(function(n){return l.spec=n.spec},function(n){l.error=n,console.log(n)}).then(function(n){return l.running=!1})},l.prototype.download=function(){var l=new Blob([this.stringify(this.spec)],{type:"application/json;charset=utf-8"});Object(y.saveAs)(l,"swagger.json")},l.ctorParameters=function(){return[{type:I}]},l}(),R=u("bm2B"),_=['button[type="submit"][_ngcontent-%COMP%] {\n margin-top: 12px;\n float: right;\n }\n\n .output-spec[_ngcontent-%COMP%] {\n margin-top: 50px;\n }'],A=v["\u0275crt"]({encapsulation:0,styles:_,data:{}}),M=(v["\u0275ccf"]("spec-converter",O,c,{},{},[]),function(){function l(){this.githubLink="https://github.com/LucyBot-Inc/api-spec-converter"}return l.ctorParameters=function(){return[]},l}()),P=["h1[_ngcontent-%COMP%] {\n margin-bottom: 50px;\n }\n .social-buttons[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n }\n .social-buttons[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%] {\n font-size: 18px;\n }\n spec-converter[_ngcontent-%COMP%] {\n display: block;\n margin-top: 50px;\n }"],S=v["\u0275crt"]({encapsulation:0,styles:P,data:{}}),N=(v["\u0275ccf"]("home",M,f,{},{},[]),[]),F=v["\u0275crt"]({encapsulation:2,styles:N,data:{}}),E=v["\u0275ccf"]("app-root",w,g,{},{},[]),T=u("fc+i"),D=u("CPp0"),x=v["\u0275cmf"](b,[w],function(l){return v["\u0275mod"]([v["\u0275mpd"](512,v.ComponentFactoryResolver,v["\u0275CodegenComponentFactoryResolver"],[[8,[E]],[3,v.ComponentFactoryResolver],v.NgModuleRef]),v["\u0275mpd"](5120,v.LOCALE_ID,v["\u0275m"],[[3,v.LOCALE_ID]]),v["\u0275mpd"](4608,C.NgLocalization,C.NgLocaleLocalization,[v.LOCALE_ID]),v["\u0275mpd"](4608,v.Compiler,v.Compiler,[]),v["\u0275mpd"](5120,v.IterableDiffers,v["\u0275k"],[]),v["\u0275mpd"](5120,v.KeyValueDiffers,v["\u0275l"],[]),v["\u0275mpd"](4608,T.DomSanitizer,T["\u0275e"],[C.DOCUMENT]),v["\u0275mpd"](6144,v.Sanitizer,null,[T.DomSanitizer]),v["\u0275mpd"](4608,T.HAMMER_GESTURE_CONFIG,T.HammerGestureConfig,[]),v["\u0275mpd"](5120,T.EVENT_MANAGER_PLUGINS,function(l,n,u,e){return[new T["\u0275DomEventsPlugin"](l),new T["\u0275KeyEventsPlugin"](n),new T["\u0275HammerGesturesPlugin"](u,e)]},[C.DOCUMENT,C.DOCUMENT,C.DOCUMENT,T.HAMMER_GESTURE_CONFIG]),v["\u0275mpd"](4608,T.EventManager,T.EventManager,[T.EVENT_MANAGER_PLUGINS,v.NgZone]),v["\u0275mpd"](135680,T["\u0275DomSharedStylesHost"],T["\u0275DomSharedStylesHost"],[C.DOCUMENT]),v["\u0275mpd"](4608,T["\u0275DomRendererFactory2"],T["\u0275DomRendererFactory2"],[T.EventManager,T["\u0275DomSharedStylesHost"]]),v["\u0275mpd"](6144,v.RendererFactory2,null,[T["\u0275DomRendererFactory2"]]),v["\u0275mpd"](6144,T["\u0275SharedStylesHost"],null,[T["\u0275DomSharedStylesHost"]]),v["\u0275mpd"](4608,v.Testability,v.Testability,[v.NgZone]),v["\u0275mpd"](4608,T.Meta,T.Meta,[C.DOCUMENT]),v["\u0275mpd"](4608,T.Title,T.Title,[C.DOCUMENT]),v["\u0275mpd"](4608,D.BrowserXhr,D.BrowserXhr,[]),v["\u0275mpd"](4608,D.ResponseOptions,D.BaseResponseOptions,[]),v["\u0275mpd"](5120,D.XSRFStrategy,D["\u0275b"],[]),v["\u0275mpd"](4608,D.XHRBackend,D.XHRBackend,[D.BrowserXhr,D.ResponseOptions,D.XSRFStrategy]),v["\u0275mpd"](4608,D.RequestOptions,D.BaseRequestOptions,[]),v["\u0275mpd"](5120,D.Http,D["\u0275c"],[D.XHRBackend,D.RequestOptions]),v["\u0275mpd"](4608,R["\u0275i"],R["\u0275i"],[]),v["\u0275mpd"](4608,I,I,[v.PLATFORM_ID]),v["\u0275mpd"](512,C.CommonModule,C.CommonModule,[]),v["\u0275mpd"](1024,v.ErrorHandler,T["\u0275a"],[]),v["\u0275mpd"](256,v.APP_ID,"my-app",[]),v["\u0275mpd"](2048,T["\u0275TRANSITION_ID"],null,[v.APP_ID]),v["\u0275mpd"](1024,v.APP_INITIALIZER,function(l,n,u,e,t){return[T["\u0275c"](l,n),T["\u0275f"](u,e,t)]},[[2,T.NgProbeToken],[2,v.NgProbeToken],T["\u0275TRANSITION_ID"],C.DOCUMENT,v.Injector]),v["\u0275mpd"](512,v.ApplicationInitStatus,v.ApplicationInitStatus,[[2,v.APP_INITIALIZER]]),v["\u0275mpd"](131584,v["\u0275e"],v["\u0275e"],[v.NgZone,v["\u0275Console"],v.Injector,v.ErrorHandler,v.ComponentFactoryResolver,v.ApplicationInitStatus]),v["\u0275mpd"](2048,v.ApplicationRef,null,[v["\u0275e"]]),v["\u0275mpd"](512,v.ApplicationModule,v.ApplicationModule,[v.ApplicationRef]),v["\u0275mpd"](512,T.BrowserModule,T.BrowserModule,[[3,T.BrowserModule]]),v["\u0275mpd"](512,D.HttpModule,D.HttpModule,[]),v["\u0275mpd"](512,R["\u0275ba"],R["\u0275ba"],[]),v["\u0275mpd"](512,R.FormsModule,R.FormsModule,[]),v["\u0275mpd"](512,b,b,[]),v["\u0275mpd"](256,C.APP_BASE_HREF,"/api-spec-converter",[])])});h.production&&Object(v.enableProdMode)(),document.addEventListener("DOMContentLoaded",function(){Object(T.platformBrowser)().bootstrapModuleFactory(x)})},gFIY:function(l,n){function u(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}u.keys=function(){return[]},u.resolve=u,l.exports=u,u.id="gFIY"}},[0]);