function _classCallCheck(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,n,t){return n&&_defineProperties(e.prototype,n),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var n=_toPrimitive(e,"string");return"symbol"==typeof n?n:n+""}function _toPrimitive(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(window.webpackJsonp=window.webpackJsonp||[]).push([[320],{sv1D:function(e,n,t){"use strict";t.r(n),t.d(n,"ScriptManagerModule",(function(){return Y}));var r,i,o=t("fXoL"),a=t("ofXK"),u=t("RskC"),l=t("HPKj"),c=t("tyNb"),s=((r=function(){return _createClass((function e(n){_classCallCheck(this,e),this.sessionService=n,this.getPermissionforFeature(this.sessionService.session.permissions,"")}),[{key:"getPermissionforFeature",value:function(e,n){if(null==e||0==Object.keys(e).length)return 4;for(var t=Object.keys(e),r=0;r<t.length;r++){var i=e[t[r]].permissions;if(!i)return 4;var o=i.map((function(e){return e.feature})).indexOf(n);if(o>-1&&null!=i[o].permission)return i[o].permission}return 4}},{key:"ngOnDestroy",value:function(){}}])}()).\u0275fac=function(e){return new(e||r)(o["\u0275\u0275directiveInject"](u.b))},r.\u0275cmp=o["\u0275\u0275defineComponent"]({type:r,selectors:[["app-script-manager"]],decls:4,vars:0,consts:[[1,"p-grid","p-align-stretch","sm-container","ns-scenario"],[1,"sidemenu","ns-scenario"]],template:function(e,n){1&e&&(o["\u0275\u0275elementStart"](0,"div",0),o["\u0275\u0275elementStart"](1,"div",1),o["\u0275\u0275element"](2,"app-sm-menu"),o["\u0275\u0275elementEnd"](),o["\u0275\u0275element"](3,"router-outlet"),o["\u0275\u0275elementEnd"]())},directives:[l.a,c.n],styles:["app-netocean-record-services{padding-left:5px}"],encapsulation:2}),r),d=t("3Pt+"),p=t("tk/3"),f=t("g9iH"),h=t("QIUk"),b=t("Ji6n"),v=t("1SLH"),m=t("FMpt"),C=t("lVkt"),y=t("Gxio"),g=t("5EWq"),P=t("xlun"),w=t("dPl2"),k=t("arFO"),S=t("jIHw"),M=t("5o1E"),j=t("STbY"),_=t("rDax"),E=t("NCSE"),L=t("URcr"),I=t("3k5r"),x=t("7kUa"),O=t("fk4S"),N=t("rEr+"),T=t("Nf9I"),F=t("dts7"),H=t("jLSX"),J=t("LnpQ"),K=t("EVgl"),X=t("Ks7X"),D=t("L9iM"),R=t("DgcS"),U=t("CBxa"),W=[{path:"",component:s,children:[{path:"",redirectTo:"view"},{path:"view",loadChildren:function(){return t.e(329).then(t.bind(null,"xPLL")).then((function(e){return e.SmMainviewModule}))}},{path:"view/create-script",loadChildren:function(){return Promise.all([t.e(0),t.e(149)]).then(t.bind(null,"fk9T")).then((function(e){return e.CreateScriptModule}))}},{path:"script-recorder",loadChildren:function(){return t.e(47).then(t.bind(null,"5fBl")).then((function(e){return e.ScriptRecorderModule}))}},{path:"run-jmeter-script",loadChildren:function(){return Promise.all([t.e(0),t.e(271)]).then(t.bind(null,"La1v")).then((function(e){return e.RunJmeterScriptModule}))}},{path:"har-converter",loadChildren:function(){return t.e(84).then(t.bind(null,"zWWU")).then((function(e){return e.CavHarConverterModule}))}},{path:"jmeter-converter",loadChildren:function(){return t.e(85).then(t.bind(null,"Ilt2")).then((function(e){return e.CavJmeterConverterModule}))}},{path:"lr-converter",loadChildren:function(){return t.e(86).then(t.bind(null,"YTCF")).then((function(e){return e.CavLrConverterModule}))}},{path:"postman-converter",loadChildren:function(){return t.e(87).then(t.bind(null,"YX4E")).then((function(e){return e.CavPostmanConverterModule}))}},{path:"wsdlscript-converter",loadChildren:function(){return t.e(150).then(t.bind(null,"g65q")).then((function(e){return e.CreateScriptWsdlModule}))}},{path:"manage-app",loadChildren:function(){return t.e(51).then(t.bind(null,"Ph/I")).then((function(e){return e.NativeAppModule}))}}]}],Y=((i=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=o["\u0275\u0275defineNgModule"]({type:i}),i.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(e){return new(e||i)},providers:[p.c,o.Injectable,R.a],imports:[[a.c,d.p,f.b,p.d,k.b,S.c,M.b,j.c,E.b,_.g,L.b,I.b,x.b,O.b,N.t,D.a,h.b,b.b,v.b,m.a,C.b,y.b,g.b,P.b,w.c,T.b,F.b,H.b,J.a,K.n,X.b,U.a,c.m.forChild(W)]]}),i)}}]);