cucumber-reactive-reporter 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see main.js.LICENSE.txt */
2
- (this["webpackJsonpcucumber-reactive-reporter"]=this["webpackJsonpcucumber-reactive-reporter"]||[]).push([[0],{116:function(e,t,n){},162:function(e,t,n){e.exports=n(188)},163:function(e,t,n){},170:function(e,t,n){},188:function(e,t,n){"use strict";n.r(t);var r=n(65);n(163),n(164),n(165),n(166),n(167),n(168),Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var a=n(16),o=n(17),i=n(37),c=Object.freeze({ALL:"All",PASSED:"Passed",FAILED:"Failed",SKIPPED:"Skipped"}),l=Object(i.b)({name:"states",initialState:{theme:"dark",external_settings:{},featuresList:{featuresButtonToggleValue:c.ALL,lastEnteredSearchValue:"",loading:!0,featureLoadProgress:0,finishedLoadingData:!1,searchHistory:[],showBoiler:!0,tagsDisplay:!1,metadataDisplay:!1},scenarioContainers:{},paginators:{}},reducers:{loadFeaturesStarted:function(e,t){e.featuresList.loading=!0},settingsLoaded:function(e,t){var n=t.payload;e.external_settings=n},featuresToggleClicked:function(e,t){switch(t.payload.value){case c.ALL:e.featuresList.featuresButtonToggleValue=c.ALL;break;case c.PASSED:e.featuresList.featuresButtonToggleValue=c.PASSED;break;case c.FAILED:e.featuresList.featuresButtonToggleValue=c.FAILED;break;case c.SKIPPED:e.featuresList.featuresButtonToggleValue=c.SKIPPED}},filterByTags:function(e,t){var n=t.payload,r=n.value,a=n.type;r&&"clear"!==a?(!1===e.featuresList.searchHistory.map((function(e){return e.value})).includes(r)&&e.featuresList.searchHistory.push({value:r,label:r,type:a}),e.featuresList.lastEnteredSearchValue=r):e.featuresList.lastEnteredSearchValue=""},displayTagsHelpButtonClicked:function(e,t){e.featuresList.tagsDisplay=!e.featuresList.tagsDisplay},displayMetadataButtonClicked:function(e,t){e.featuresList.metadataDisplay=!e.featuresList.metadataDisplay},loadFeaturesFinished:function(e,t){e.featuresList.loading=!1},loadDataFinished:function(e,t){e.featuresList.finishedLoadingData=!0},featureLoadProgressChanged:function(e,t){e.featuresList.featureLoadProgress=t.payload},scenarioContainerClicked:function(e,t){var n=t.payload.id;e.scenarioContainers[n]||(e.scenarioContainers[n]={},e.scenarioContainers[n].collapsed=!0),e.scenarioContainers[n].collapsed=!e.scenarioContainers[n].collapsed},paginatorChange:function(e,t){var n=t.payload,r=n.id,a=n.page,o=n.pStart,i=n.pEnd,c=n.pSize,l=n.searchVal;e.paginators[r]||(e.paginators[r]={},e.paginators[r].page=1,e.paginators[r].pSize=5,e.paginators[r].pStart=0,e.paginators[r].pEnd=5,e.paginators[r].searchVal=null),e.paginators[r].pSize=c,e.paginators[r].pStart=o,e.paginators[r].pEnd=i,e.paginators[r].page=a,e.paginators[r].searchVal=l},toggleTheme:function(e,t){e.theme="dark"===e.theme?"light":"dark"},toggleBoiler:function(e,t){e.featuresList.showBoiler=!e.featuresList.showBoiler}}}),u=function(e,t){var n=t.id;return e.states.paginators[n]},s=function(e){return e.states.theme},d=function(e){return e.states.featuresList.showBoiler},f=function(e){return e.states.featuresList.featuresButtonToggleValue},p=Object(o.a)((function(e){return e.states.featuresList}),(function(e){return Object(a.a)(e.searchHistory)})),m=function(e){return e.states.featuresList.lastEnteredSearchValue},h=l.reducer,g=l.actions,v=g.displayTagsHelpButtonClicked,y=g.displayMetadataButtonClicked,b=g.featuresToggleClicked,E=(g.featureLoadProgressChanged,g.filterByTags),j=(g.loadFeaturesStarted,g.loadFeaturesFinished,g.loadDataFinished),w=g.paginatorChange,O=g.scenarioContainerClicked,x=g.settingsLoaded,k=g.toggleBoiler,S=g.toggleTheme,L=(n(170),n(0)),C=n.n(L),P=n(254),A=n(282),I=n(266),N=n(306),_=n(293),T=n(146),F=n(307),z=(n(116),n(262)),D=n(279),M=n(81),W=n(96),B=n(82),V=n.n(B),H=function(e){return Object(i.b)({name:"features",initialState:e,reducers:{featureAdded:function(e,t){var n=t.payload,r=n.description,o=n.elements,i=n.id,c=n.keyword,l=n.line,u=n.name,s=Object(W.a)(n.tags).slice(0),d=n.uri,f=Object(a.a)(s),p=0,m=0;if(null===o||void 0===o?void 0:o.length){var h,g=Object(M.a)(o);try{for(g.s();!(h=g.n()).done;){var v,y,b=h.value;if((null===(v=b.tags)||void 0===v?void 0:v.length)&&function(){var e=f.map((function(e){return e.name}));b.tags.forEach((function(t){!1===e.includes(t.name)&&f.push(t)}))}(),null===(y=b.steps)||void 0===y?void 0:y.length){var E,j=Object(M.a)(b.steps);try{for(j.s();!(E=j.n()).done;){var w,O,x=E.value;if("failed"===(null===(w=x.result)||void 0===w?void 0:w.status)){p++;break}if("skipped"===(null===(O=x.result)||void 0===O?void 0:O.status)){m++;break}}}catch(k){j.e(k)}finally{j.f()}}}}catch(k){g.e(k)}finally{g.f()}}e.list.push(i),e.featuresMap[i]={id:i,description:r,uri:d,keyword:c,name:u,line:l,tags:s,allTags:f,numFailedScenarios:p,numSkippedScenarios:m}}}})},G=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){return Object.values(e)})),R=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){return Object.values(e).filter((function(e){return e.numFailedScenarios>0}))})),K=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){var t=Object.values(e);return t.filter((function(e){return t.length-e.numFailedScenarios-e.numSkippedScenarios>0}))})),Y=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){return Object.values(e).filter((function(e){return e.numSkippedScenarios>0}))})),J=Object(o.a)((function(e){return e}),(function(e){return Object.values(e.features.featuresMap).reduce((function(t,n){var r=n.id;return t+Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(r)&&e.failedSteps})).length}),0)})),q=Object(o.a)((function(e){return e}),(function(e){return Object.values(e.features.featuresMap).reduce((function(t,n){var r=n.id;return t+Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(r)&&!e.failedSteps&&e.passedSteps&&!e.skippedSteps})).length}),0)})),U=Object(o.a)((function(e){return e}),(function(e){return Object.values(e.features.featuresMap).reduce((function(t,n){var r=n.id;return t+Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(r)&&!e.failedSteps&&!e.passedSteps&&e.skippedSteps})).length}),0)})),$=function(e,t){var n;try{n=V()(e)}catch(r){console.log(r)}return n?t.filter((function(e){var t=e.tags.map((function(e){return e.name}));return!0===n.evaluate(t)})):t},X=function(e,t){var n;try{n=V()(e)}catch(r){console.log(r)}return n?t.filter((function(e){var t=e.allTags.map((function(e){return e.name}));return!0===n.evaluate(t)})):t},Q=Object(o.a)([m,G],X),Z=Object(o.a)([m,R],X),ee=Object(o.a)([m,K],X),te=Object(o.a)([m,Y],X),ne=Object(o.a)([m,function(e,t){var n=t.id;return Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(n)&&e.failedSteps}))}],$),re=Object(o.a)([m,function(e,t){var n=t.id;return Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(n)&&!e.failedSteps&&e.passedSteps}))}],$),ae=Object(o.a)([m,function(e,t){var n=t.id;return Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(n)&&e.skippedSteps&&!e.failedSteps}))}],$),oe=function(e){return H(e).reducer},ie=(H({featuresMap:{},list:[]}).actions.featureAdded,n(13)),ce=n(283),le=n(286),ue=n(276),se=n(284),de=n(270),fe=n(269),pe=[3,5,10,50],me=function(e){var t=e.page,n=e.pageSize,r=e.onChange,a=e.boundaryCount,o=e.size,i=e.shape,c=e.numItems,l=e.searchVal;pe=e.pageSizeArray?e.pageSizeArray.slice():[5,10,20,1];var u=0,s=Math.ceil(c/n),d=function(a,o,i){(i||(i=e.searchVal),t!==o)&&r((o-1)*n,o*n>=c?c:o*n,o,n,i)};return C.a.createElement(C.a.Fragment,null,C.a.createElement(A.a,{sx:{display:"flex",flexWrap:"wrap",m:1},component:"form",noValidate:!0,autoComplete:"off"},C.a.createElement(ce.a,{sx:{minWidth:80},size:"small"},C.a.createElement(fe.a,{labelId:"customPagination-select-helper-label",id:"customPagination-select-helper",value:n,onChange:function(e){var t=e.target.value;if(n!==t){var a=1*t>=c?c:1*t,o=0*t;o>=c&&(o=a-t),r(o,a,1,t,l)}}},pe.map((function(e){return C.a.createElement(ue.a,{key:"menu_"+e,value:e},e)})))),C.a.createElement(de.a,{page:t,count:s,shape:i||"rounded",size:o||"small",boundaryCount:a||2,onChange:d}),C.a.createElement(ce.a,{sx:{width:"15ch"},variant:"outlined",size:"small"},C.a.createElement(se.a,{id:"outlined-adornment-page",onChange:function(e){var t=e.target.value;if(t&&!1===isNaN(t)){var n=Number(t);n&&n<=s&&(u=n)}},onKeyUp:function(e){"Enter"===e.key&&u&&d(e,u,u)},type:"number",startAdornment:C.a.createElement(le.a,{position:"start"},"page"),"aria-describedby":"outlined-weight-helper-text",inputProps:{"aria-label":"page"},defaultValue:l||""}))))},he=n(15),ge=n(14),ve=n(297),ye=n(298),be=n(299),Ee=n(273),je=n(263),we=n(287),Oe=n(300),xe=n(296),ke=n(59),Se=n(260),Le=n(60),Ce=n(261),Pe=n(58),Ae=n(57),Ie=Object(i.b)({name:"steps",loading:!1,initialState:{stepsMap:{},totalDurationNanoSec:0},reducers:{stepAdded:function(e,t){var n=t.payload.step,r=n.arguments,a=n.embeddings,o=n.keyword,i=n.line,c=n.match.location,l=n.name,u=n.result,s=u.duration,d=u.error_message,f=u.status,p=t.payload.scenarioId,m={args:r,duration:s,embeddings:a,error_message:d,keyword:o,line:i,location:c,name:l,status:f};e.stepsMap[p]||(e.stepsMap[p]={steps:[]}),e.stepsMap[p].steps.push(m),!1===isNaN(s)&&(e.totalDurationNanoSec=e.totalDurationNanoSec+s)}}}),Ne=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"Before"!==e.keyword&&"After"!==e.keyword}))})),_e=Object(o.a)([Ne],(function(e){return e.filter((function(e){return"passed"===e.status}))})),Te=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"failed"===e.status}))})),Fe=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"passed"===e.status}))})),ze=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"skipped"===e.status}))})),De=Ie.reducer,Me=(Ie.actions.stepAdded,n(285)),We=n(288),Be=n(289),Ve=n(290),He=n(291),Ge=n(292),Re=n(295),Ke=n(56),Ye=n.n(Ke),Je=n(55),qe=n(145),Ue=function(e){var t,n,r=e.content,a=e.type,o=Object(ie.c)((function(e){return s(e)})),i=r.replace(/\\n/g,"\n"),c=20*((i.match(/\n/g)||[]).length+1),l=c<800?c:800,u={lineHeight:20,minimap:{enabled:c>800,side:"left",maxColumn:60},readOnly:!0,scrollBeyondLastLine:!1,scrollbar:{alwaysConsumeMouseWheel:!1}};switch(null===a||void 0===a?void 0:a.toLowerCase()){case"xml":t="xml",n=Object(he.a)({},u);break;case"json":t="json",n=Object(he.a)({},u);break;default:t="batch",n=Object(he.a)({},u)}return C.a.createElement(qe.a,{height:l,defaultLanguage:t,defaultValue:i,theme:"dark"===o?"vs-dark":"vs",readOnly:!0,className:" overflow-hidden",options:n})},$e=n(8),Xe=n(268),Qe=function(e){var t=e.content,n=e.bColor,r=Object(Xe.a)({root:{"&:hover $clearHidden":{display:"flex",position:"absolute",marginLeft:"-40"}},clearHidden:{},hiddenPin:{display:"none"}})(),a=n||"grey",o=t.replace(/\\n/g,"\n");return t?C.a.createElement(We.a,{component:Me.a,style:{marginBottom:"10px",marginTop:"10px"}},C.a.createElement(Be.a,{size:"small"},C.a.createElement(Ve.a,null,C.a.createElement(He.a,{hover:!0,className:r.root},C.a.createElement(Ge.a,{align:"center",style:{border:"groove",borderColor:a}},C.a.createElement(Ue,{content:o})),C.a.createElement(Ge.a,{className:Object($e.a)(r.hiddenPin,r.clearHidden),align:"center",style:{border:"none",padding:0}},C.a.createElement(Je.CopyToClipboard,{text:t},C.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},C.a.createElement(Ye.a,null)))))))):null},Ze={whiteSpace:"pre-wrap",textAlign:"left",wordBreak:"break-all",width:"100%",fontSize:"1.3vmin",fontFamily:"monospace"},et={border:"groove",borderColor:"grey",padding:0,minHeight:"200px"},tt=n(5),nt=function(e){var t=e.content,n=Object(tt.a)(Me.a)((function(e){var t=e.theme;return Object(he.a)(Object(he.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider})})),r=0,a=0;return C.a.createElement(A.a,{sx:{}},C.a.createElement(We.a,{component:n},C.a.createElement(Be.a,{size:"small"},C.a.createElement(Ve.a,null,t.rows.map((function(e){return C.a.createElement(He.a,{key:r++,sx:{"&:last-child td, &:last-child th":{border:0}}},e.cells.map((function(e){return C.a.createElement(Ge.a,{align:"center",padding:"none",style:{border:"groove",borderColor:"grey"},key:a++},C.a.createElement(we.a,{sx:Object(he.a)(Object(he.a)({},Ze),{},{color:"text.secondary",textAlign:"center"})},e))})))}))))))},rt=n(71),at=n.n(rt),ot=n(105),it=n.n(ot),ct=n(191),lt=n(259),ut=function(e){var t=e.content,n=e.themeName,r=Object(ct.a)();document.documentElement.style.setProperty("--textCol",lt.a["dark"===n?200:800]),document.documentElement.style.setProperty("--scrollBarCol",r.palette.background.paper),document.documentElement.style.setProperty("--scrollBarThumbCol",lt.a[300]),document.documentElement.style.setProperty("--scrollBarThumbHoverCol",lt.a[300]);var a=Object(Xe.a)({clearHidden:{},hiddenPin:{display:"none"},root:{"&:hover $clearHidden":{display:"flex",marginLeft:"-40",position:"absolute"}}})(),o=0;return C.a.createElement(A.a,{display:"flex"},C.a.createElement(We.a,{component:Me.a,style:{marginBottom:"10px",marginTop:"10px"}},C.a.createElement(Be.a,{size:"small",className:a.table},C.a.createElement(Ve.a,null,t.map((function(e){return function(e,t){var n,r=e.media?e.media:e.data;switch((e.mime_type?e.mime_type:null===(n=e.media)||void 0===n?void 0:n.type).split(";")[0]){case"text/html":return r=r.replace("\\n","\n"),C.a.createElement(He.a,{key:t,hover:!0,className:a.root},C.a.createElement(Ge.a,{align:"center",style:Object(he.a)({},et)},C.a.createElement("div",{dangerouslySetInnerHTML:{__html:r},style:{maxWidth:"100%"}})),C.a.createElement(Ge.a,{className:Object($e.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},C.a.createElement(Je.CopyToClipboard,{text:r},C.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},C.a.createElement(Ye.a,null)))));case"text/xml":case"application/xml":return C.a.createElement(He.a,{key:t,hover:!0,className:a.root},C.a.createElement(Ge.a,{align:"center",style:Object(he.a)({},et)},C.a.createElement(Ue,{content:r,type:"xml"})),C.a.createElement(Ge.a,{className:Object($e.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},C.a.createElement(Je.CopyToClipboard,{text:r},C.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},C.a.createElement(Ye.a,null)))));case"application/json":var o;try{o=JSON.parse(r),r=JSON.stringify(o,null,2),o||(o={})}catch(i){r=i.message}return C.a.createElement(He.a,{key:t,hover:!0,className:a.root},C.a.createElement(Ge.a,{align:"center",style:Object(he.a)({},et)},C.a.createElement(Ue,{content:r,type:"json"})),C.a.createElement(Ge.a,{className:Object($e.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},C.a.createElement(Je.CopyToClipboard,{text:r},C.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},C.a.createElement(Ye.a,null)))));case"image/png":return C.a.createElement(He.a,{key:t,hover:!0,className:a.root},C.a.createElement(Ge.a,{align:"center",style:Object(he.a)({},et)},r?C.a.createElement("img",{src:"data:image/png;base64,".concat(r),alt:"",style:{maxWidth:"100%",objectFit:"scale-down"}}):""),C.a.createElement(Ge.a,{className:Object($e.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}}));case"text/plain":default:return C.a.createElement(He.a,{key:t,hover:!0,className:a.root},C.a.createElement(Ge.a,{align:"center",style:Object(he.a)({},et)},C.a.createElement(Ue,{content:r})),C.a.createElement(Ge.a,{className:Object($e.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},C.a.createElement(Je.CopyToClipboard,{text:r},C.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},C.a.createElement(Ye.a,null)))))}}(e,o++)}))))))},st=n(139),dt=n.n(st),ft=n(106),pt=n.n(ft),mt=n(294),ht=function(e){var t=e.step,n=t.duration,r=t.keyword,a=t.name,o=t.args,i=t.embeddings,c=t.status,l=t.location,u=t.error_message,s=t.themeName,d=e.num,f="";switch(c){case"passed":f=Le.a[700];break;case"failed":f=ke.a[700];break;case"skipped":f=Se.a[700]}var p=0,m=n;isNaN(n)&&(m=0),at.a.extend(it.a);var h=m/1e6;h%1!==0&&(h=Math.round(h));var g=at.a.duration(h),v="",y=g.minutes(),b=g.seconds(),E=Math.round(g.milliseconds());y>0&&(v+="".concat(y,"m")),b>0&&(v+="".concat(""!==v?" "+b+"s":b+"s")),E>0&&(v+="".concat(""!==v?" "+E+"ms":E+"ms"));var j=(null===o||void 0===o?void 0:o.length)||u||(null===i||void 0===i?void 0:i.length),w=r.replace(/\s/g,""),O=C.a.useState(!!(u||"after"===w.toLowerCase()&&(null===i||void 0===i?void 0:i.length))),x=Object(ge.a)(O,2),k=x[0],S=x[1];return C.a.createElement(C.a.Fragment,null,C.a.createElement(mt.a,{title:l},C.a.createElement(He.a,{onClick:function(){return S(!k)},hover:!0},C.a.createElement(Ge.a,{size:"small",variant:"footer",padding:"none",sx:{width:"10px"}},j?C.a.createElement(Re.a,{"aria-label":"expand row",size:"small"},k?C.a.createElement(pt.a,null):C.a.createElement(dt.a,null)):null),"before"===w.toLowerCase()||"after"===w.toLowerCase()?C.a.createElement(Ge.a,null):C.a.createElement(Ge.a,{size:"small",variant:"footer",padding:"none",align:"left",sx:{width:"2.16em"}},C.a.createElement(we.a,{variant:"subtitle2",color:"text.secondary",fontSize:"1.08em"},d)),C.a.createElement(Ge.a,{variant:"footer",padding:"none",align:"left",style:"before"===w.toLowerCase()||"after"===w.toLowerCase()?{position:"relative",left:"-2em"}:{}},C.a.createElement(we.a,{variant:"body1",sx:{color:f,fontWeight:"bold",display:"flex"}},w)),C.a.createElement(Ge.a,{variant:"footer",padding:"none"},C.a.createElement(we.a,{color:"text.secondary",sx:{wordWrap:"break-word"}},a)),C.a.createElement(Ge.a,{size:"small",variant:"footer",padding:"none",align:"right",style:{paddingRight:5}},C.a.createElement(we.a,{variant:"subtitle2",sx:{fontWeight:"italic",whiteSpace:"nowrap",fontSize:"1.08em"}},v)))),C.a.createElement(He.a,null,C.a.createElement(Ge.a,{style:{paddingBottom:0,paddingTop:0},colSpan:6},C.a.createElement(xe.a,{in:k,timeout:"auto",unmountOnExit:!0},(null===o||void 0===o?void 0:o.length)?null===o||void 0===o?void 0:o.map((function(e){var t;return e.content?C.a.createElement(D.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",key:p++,sx:{overflow:"auto"},wrap:"nowrap"},C.a.createElement(D.a,{item:!0,xs:12},C.a.createElement(Qe,{content:e.content}))):(null===(t=e.rows)||void 0===t?void 0:t.length)?C.a.createElement(D.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",key:p++,sx:{overflow:"auto"},wrap:"nowrap"},C.a.createElement(D.a,{item:!0,xs:12},C.a.createElement(nt,{content:e,themeName:s}))):null})):null,u?C.a.createElement(D.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",sx:{overflow:"auto"},wrap:"nowrap"},C.a.createElement(D.a,{item:!0,xs:12},C.a.createElement(Qe,{content:u,bColor:f}))):null,(null===i||void 0===i?void 0:i.length)?C.a.createElement(D.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",sx:{overflow:"auto"},wrap:"nowrap"},C.a.createElement(D.a,{item:!0,xs:12},C.a.createElement(ut,{content:i,themeName:s}))):null))))},gt=function(e){var t=e.id,n=e.themeName,r=0,a=1,o=Object(ie.c)((function(e){return function(e,t){var n=t.id;return e.steps.stepsMap[n].steps}(e,{id:t})})),i=Object(ie.c)((function(e){return d(e)})),c=Object(ie.c)((function(t){return Ne(t,e)})),l=i?o:c,u=Object(tt.a)(Me.a)((function(e){var t=e.theme;return Object(he.a)(Object(he.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider,backgroundColor:"dark"===n?null:"#e0e0e0"})}));return C.a.createElement(C.a.Fragment,null,C.a.createElement(We.a,{component:u,size:"small",sx:{overflowX:"auto"}},C.a.createElement(Be.a,{"aria-label":"collapsible table"},C.a.createElement(Ve.a,null,l.map((function(e){return C.a.createElement(ht,{key:r++,num:e.keyword.toUpperCase().includes("BEFORE")||e.keyword.toUpperCase().includes("AFTER")?void 0:a++,step:e,themeName:n})}))))))},vt=Object(i.b)({name:"scenarios",loading:!1,initialState:{scenariosMap:{},list:[]},reducers:{scenarioAdded:function(e,t){var n=t.payload.scenario,r=n.id,a=n.keyword,o=n.line,i=n.name,c=Object(W.a)(n.tags).slice(0),l=n.type,u=n.uri,s=t.payload.featureId.featureId;e.list.push(r),e.scenariosMap[r]={failedSteps:0,featureId:s,id:r,keyword:a,line:o,name:i,passedSteps:0,skippedSteps:0,tags:c,type:l,uri:u}}},extraReducers:{"steps/stepAdded":function(e,t){var n=t.payload.step,r=n.hidden,a=n.result.status,o=n.embeddings,i=t.payload.scenarioId;(!r||o&&o.length)&&("passed"===a?e.scenariosMap[i].passedSteps++:"skipped"===a&&e.scenariosMap[i].skippedSteps++),"failed"===a&&e.scenariosMap[i].failedSteps++}}}),yt=function(e,t){var n;try{n=V()(e)}catch(r){console.log(r)}return n?t.filter((function(e){var t=e.tags.map((function(e){return e.name}));return!0===n.evaluate(t)})):t},bt=(Object(o.a)([function(e){return Object.values(e.scenarios.scenariosMap)},function(e,t){return t.id}],(function(e,t){return e.filter((function(e){return e.id.startsWith(t)}))})),Object(o.a)([function(e){return Object.values(e.scenarios.scenariosMap)},function(e,t){return t.id},function(e){return f(e)}],(function(e,t,n){return e.filter((function(e){var r;if(e.id.startsWith(t)){switch(n){case c.ALL:r=!0;break;case c.PASSED:r=e.passedSteps>0&&0===e.failedSteps&&0===e.skippedSteps;break;case c.FAILED:r=0!==e.failedSteps;break;case c.SKIPPED:r=0!==e.skippedSteps&&0===e.failedSteps}return r}return!1}))}))),Et=Object(o.a)([m,bt],yt),jt=Object(o.a)([function(e){return Object.values(e.scenarios.scenariosMap)},function(e,t){return t.list}],(function(e,t){var n,r=[],a=Object(M.a)(t);try{var o=function(){var t=n.value,a=e.filter((function(e){return e.id.startsWith(t)}));a.length&&(r=r.concat(a))};for(a.s();!(n=a.n()).done;)o()}catch(i){a.e(i)}finally{a.f()}return r})),wt=Object(o.a)([m,jt],yt),Ot=vt.reducer,xt=(vt.actions.scenarioAdded,function(e){var t=Object(ie.b)(),n=e.featureTags,r=Object(ie.c)((function(t){return function(e,t){var n=t.id;return e.scenarios.scenariosMap[n]}(t,e)})),a=r.id,o=r.name,i=r.tags,c=Object(ie.c)((function(t){return Te(t,e)})),l=Object(ie.c)((function(t){return ze(t,e)})),u=Object(ie.c)((function(t){return Fe(t,e)})),f=Object(ie.c)((function(t){return _e(t,e)})),p=Object(ie.c)((function(e){return d(e)})),m=Object(ct.a)(),h=Object(ie.c)((function(e){return s(e)})),g=Object(ie.c)((function(t){return function(e,t){var n,r=t.id;return null===(n=e.states.scenarioContainers[r])||void 0===n?void 0:n.collapsed}(t,e)}));void 0===g&&(g=!0);var v="dark"===h?Ae.a[300]:Ce.a[900];"dark"===h?c.length&&(v=m.palette.error.dark):"light"===h&&c.length&&(v=m.palette.error.light);var y=i.map((function(e){return e.name})),b=n.length?y.filter((function(e){return!n.includes(e)})).sort():y.sort(),E=Object(tt.a)(ve.a)((function(e){var t=e.theme;return Object(he.a)(Object(he.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider,backgroundColor:"dark"===h?null:"#d4d4d4"})}));return C.a.createElement(C.a.Fragment,null,C.a.createElement(E,{elevation:3,sx:{width:"95%",minHeight:"8vh"}},C.a.createElement(ye.a,{onClick:function(){t(O({id:a}))}},C.a.createElement(be.a,{disableTypography:!1,action:C.a.createElement(z.a,{direction:"column"},C.a.createElement("br",null),C.a.createElement(z.a,{direction:"row-reverse",spacing:.5,marginRight:"1vw",xs:1.6,justifyContent:"middle",alignItems:"end"},c.length>0?C.a.createElement(A.a,{sx:Object(he.a)(Object(he.a)({},Lt),{},{backgroundColor:ke.a[700]})},c.length):null,l.length>0?C.a.createElement(A.a,{sx:Object(he.a)(Object(he.a)({},Lt),{},{backgroundColor:Se.a[700]})},l.length):null,f.length>0?C.a.createElement(A.a,{sx:Object(he.a)(Object(he.a)({},Lt),{},{backgroundColor:Le.a[700]})},p?u.length:f.length):null)),title:C.a.createElement(z.a,{direction:"column"},C.a.createElement("br",null),o),titleTypographyProps:{color:v,marginLeft:"1vw",fontSize:"1.7vmin",textAlign:"left"},subheader:C.a.createElement(z.a,{direction:"column",justifyContent:"flex-start"},C.a.createElement(we.a,{variant:"capture",align:"left",style:{marginLeft:"1vw",minHeight:"1vh",fontStyle:"italic",fontSize:"1.3vmin",fontWeight:"bold",color:Pe.a[400]}},b.join(" ")))})),C.a.createElement(xe.a,{in:!g,timeout:"auto",unmountOnExit:!0},C.a.createElement(Oe.a,null,C.a.createElement(C.a.Fragment,null,C.a.createElement(gt,{id:a,themeName:h}))))))}),kt=[5,10,20,50,100,1],St=function(e){var t=e.id,n=Object(ie.b)(),r=Object(ie.c)((function(t){return Et(t,e)})),a=Object(ie.c)((function(t){return u(t,e)})),o=a||{},i=o.page,c=void 0===i?1:i,l=o.pSize,s=void 0===l?kt[0]:l,d=o.pStart,f=void 0===d?0:d,p=o.pEnd,m=void 0===p?kt[0]:p,h=o.searchVal,g=void 0===h?null:h,v=Math.ceil(r.length/s);v<c&&(f=0,m=kt[0],c=1);var y=r.slice(f,m);return C.a.createElement(C.a.Fragment,null,C.a.createElement(D.a,{container:!0,item:!0,direction:"column",display:"flex",alignItems:"center",spacing:1},v>1?C.a.createElement(me,{page:c,searchVal:g,pageSize:s,pageSizeArray:kt,numItems:r.length,shape:"rounded",size:"small",boundaryCount:2,onChange:function(e,r,a,o,i){n(w({id:t,page:a,pStart:e,pEnd:r,pSize:o,searchVal:i}))}}):null,y.map((function(t){return C.a.createElement("div",{key:"key_".concat(t.id),style:{width:"100%"}},C.a.createElement(D.a,{item:!0,container:!0,xs:12,justifyContent:"center",alignItems:"center"},C.a.createElement(xt,{id:t.id,featureTags:e.tags})),C.a.createElement("br",null))}))))},Lt={borderRadius:"3px",color:"white",maxHeight:"1.5rem",maxWidth:"3rem",minHeight:"1.5rem",minWidth:"1.5rem",display:"flex",alignItems:"center",justifyContent:"center"},Ct=function(e){var t=Object(ie.c)((function(t){return function(e,t){var n=t.id;return e.features.featuresMap[n]}(t,e)})),n=t.description,r=t.id,a=t.name,o=t.tags,i=t.uri,l=t.themeName,u=C.a.useState(!1),s=Object(ge.a)(u,2),d=s[0],p=s[1],m=Object(ie.c)((function(e){return f(e)})),h=Object(ie.c)((function(t){return ne(t,e)})),g=Object(ie.c)((function(t){return re(t,e)})),v=Object(ie.c)((function(t){return ae(t,e)})),y=g.length,b=h.length,E=v.length;switch(m){case c.ALL:break;case c.PASSED:b=0,E=0;break;case c.FAILED:y=0,E=0;break;case c.SKIPPED:b=0,y=0}var j=Object(tt.a)(ve.a)((function(e){var t=e.theme;return Object(he.a)(Object(he.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider})})),w=o.map((function(e){return e.name}));return C.a.createElement(j,{raised:!!d},C.a.createElement(ye.a,{onClick:function(){p(!d)}},C.a.createElement(be.a,{disableTypography:!1,action:C.a.createElement(Ee.a,null,C.a.createElement(z.a,{direction:"row-reverse",spacing:.5,marginRight:"1vw",xs:1.6,justifyContent:"middle",alignItems:"end"},b>0?C.a.createElement(A.a,{justifyContent:"center",alignItems:"center",sx:Object(he.a)(Object(he.a)({},Lt),{},{backgroundColor:ke.a[700]})},b):null,E>0?C.a.createElement(A.a,{justifyContent:"center",alignItems:"center",sx:Object(he.a)(Object(he.a)({},Lt),{},{backgroundColor:Se.a[700]})},E):null,y>0?C.a.createElement(A.a,{justifyContent:"center",alignItems:"center",sx:Object(he.a)(Object(he.a)({},Lt),{},{backgroundColor:Le.a[700]})},y):null)),title:C.a.createElement(z.a,{direction:"column"},a,C.a.createElement(je.a,null)),titleTypographyProps:{marginLeft:"1vw",marginRight:"1vh",variant:"h5",color:"dark"===l?Ce.a[600]:Ce.a[800],align:"left"},subheader:C.a.createElement(z.a,{direction:"column",justifyContent:"flex-start"},C.a.createElement(we.a,{variant:"capture",align:"left",style:{marginLeft:"1vw",minHeight:"1vh",fontStyle:"italic",fontSize:"1.3vmin",fontWeight:"bold",color:Pe.a[400]}},w.join(" ")),C.a.createElement(we.a,{variant:"capture",align:"left",style:{marginLeft:"1vw",minHeight:"1vh",fontStyle:"italic",fontSize:"1.3vmin",color:Pe.a[200]}},i))}),d?C.a.createElement(Oe.a,null,C.a.createElement(we.a,{variant:"h6",align:"left",marginLeft:"1vw"},n)," "):null),C.a.createElement(xe.a,{in:d,timeout:"auto",unmountOnExit:!0},C.a.createElement(Oe.a,null,C.a.createElement(z.a,{direction:"column",spacing:1},C.a.createElement(St,{id:r,filter:e.filter,featureViewState:e.featureViewState,tags:w})))))},Pt=n(147),At=[50,100,30,10],It=function(){var e,t=Object(ie.b)(),n=0,r=Object(ie.c)((function(e){return f(e)})),a=Object(ie.c)((function(e){return m(e)})),o=Object(ie.c)((function(e){return G(e)})),i=Object(ie.c)((function(e){return R(e)})),l=Object(ie.c)((function(e){return K(e)})),d=Object(ie.c)((function(e){return Y(e)})),p=Object(ie.c)((function(e){return Q(e)})),h=Object(ie.c)((function(e){return ee(e)})),g=Object(ie.c)((function(e){return Z(e)})),v=Object(ie.c)((function(e){return te(e)})),y=Object(ie.c)((function(e){return s(e)}));switch(r){case c.ALL:e=a?p:o;break;case c.FAILED:e=a?g:i;break;case c.PASSED:e=a?h:l;break;case c.SKIPPED:e=a?v:d}var b,E=e.map((function(e){return e.id})),j=Object(ie.c)((function(e){return wt(e,{list:E})}));switch(r){case c.ALL:b=j.length;break;case c.FAILED:b=j.reduce((function(e,t){return e+t.failedSteps}),0);break;case c.PASSED:b=j.filter((function(e){return 0===e.failedSteps&&0===e.skippedSteps})).length;break;case c.SKIPPED:b=j.filter((function(e){return 0===e.failedSteps&&0!==e.skippedSteps})).length}var O={id:"feature_paginator"},x=Object(ie.c)((function(e){return u(e,O)})),k=x||{},S=k.page,L=void 0===S?1:S,P=k.pSize,I=void 0===P?At[0]:P,N=k.pStart,_=void 0===N?0:N,T=k.pEnd,F=void 0===T?At[0]:T,M=k.searchVal,W=void 0===M?null:M;Math.ceil(e.length/I)<L&&(_=0,F=At[0],L=1);var B=e.slice(_,F),V={default:B.length<=10?1:2,1280:1};return C.a.createElement(C.a.Fragment,null,C.a.createElement(A.a,{sx:{p:1,border:"2px"}},C.a.createElement(z.a,{direction:"column"},B.length>=10||e.length>=10?C.a.createElement(me,{page:L,searchVal:W,pageSize:I,pageSizeArray:At,numItems:e.length,shape:"rounded",size:"small",boundaryCount:2,onChange:function(e,n,r,a,o){t(w({id:O.id,page:r,pStart:e,pEnd:n,pSize:a,searchVal:o}))}}):null,C.a.createElement(Pt.a,{breakpointCols:V,className:"my-masonry-grid",columnClassName:"my-masonry-grid_column"},b?B.map((function(e){return C.a.createElement(D.a,{container:!0,key:n++},C.a.createElement(Ct,{id:e.id,featureViewState:r,filter:a,themeName:y}))})):null))))},Nt=n(274),_t=n(272),Tt=n(303),Ft=n(280),zt=n(301),Dt=n(302),Mt=n(281),Wt=n(304),Bt=n(305),Vt=n(277),Ht=n(141),Gt=n.n(Ht),Rt=n(142),Kt=n.n(Rt),Yt=n(143),Jt=n(140),qt=n.n(Jt),Ut=n(264),$t=n(258),Xt=n(275),Qt=n(267),Zt=function(e,t){var n=null;switch(Object.values(c)[e]){case c.ALL:n=Ae.a[t];break;case c.FAILED:n=ke.a[t];break;case c.PASSED:n=Le.a[t];break;case c.SKIPPED:n=Se.a[t]}return n},en=function(e){var t=Object(ie.b)(),n=L.useState(!1),r=Object(ge.a)(n,2),a=r[0],o=r[1],i=L.useRef(null),l=Object.values(c),u=Object(ie.c)((function(e){return f(e)})),s=Object.values(c).indexOf(u),d=function(e){i.current&&i.current.contains(e.target)||o(!1)};return L.createElement(L.Fragment,null,L.createElement(zt.a,{variant:"contained",ref:i,"aria-label":"split button"},L.createElement(Dt.a,{onClick:function(){console.info("You clicked ".concat(l[s]))},sx:{backgroundColor:Zt(s,700)}},"All"===l[s]?"Show All":l[s]),L.createElement(Dt.a,{size:"small","aria-controls":a?"split-button-menu":void 0,"aria-expanded":a?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:function(){o((function(e){return!e}))},sx:{backgroundColor:Zt(s,500)}},L.createElement(qt.a,null))),L.createElement(Qt.a,{open:a,anchorEl:i.current,role:void 0,transition:!0,sx:{zIndex:1300}},(function(e){var n=e.TransitionProps,r=e.placement;return L.createElement($t.a,Object.assign({},n,{style:{transformOrigin:"bottom"===r?"center top":"center bottom"}}),L.createElement(Me.a,null,L.createElement(Ut.a,{onClickAway:d},L.createElement(Xt.a,{id:"split-button-menu"},l.map((function(e,n){return L.createElement(ue.a,{key:e,selected:n===s,onClick:function(e){return function(e,n){o(!1),t(b({value:Object.values(c)[n]}))}(0,n)},sx:{backgroundColor:Zt(n,700)}},"See "+e)}))))))})))},tn=function(){var e,t,n=Object(ie.b)(),r=0,a=0,o=[],i=Object(ie.c)((function(e){return f(e)})),l=Object(ie.c)((function(e){return function(e){return e.steps.totalDurationNanoSec}(e)}))/1e6,u=Object(ie.c)((function(e){return function(e){return e.states.featuresList.tagsDisplay}(e)})),h=Object(ie.c)((function(e){return function(e){return e.states.featuresList.metadataDisplay}(e)})),g=Object(ie.c)((function(e){return m(e)})),b=Object(ie.c)((function(e){return G(e)})),j=Object(ie.c)((function(e){return R(e)})),w=Object(ie.c)((function(e){return K(e)})),O=Object(ie.c)((function(e){return Y(e)})),x=Object(ie.c)((function(e){return Q(e)})),L=Object(ie.c)((function(e){return ee(e)})),P=Object(ie.c)((function(e){return Z(e)})),A=Object(ie.c)((function(e){return te(e)})),I=Object(ie.c)((function(e){return d(e)})),N=Object(ie.c)((function(e){return s(e)})),_=Object(ie.c)((function(e){return function(e){return e.states.external_settings}(e)})),T=Object(ie.c)((function(e){return J(e)})),F=Object(ie.c)((function(e){return q(e)})),M=Object(ie.c)((function(e){return U(e)}));switch(i){case c.ALL:e=g?x:b,t="primary";break;case c.FAILED:e=g?P:j,t="error";break;case c.PASSED:e=g?L:w,t="success";break;case c.SKIPPED:e=g?A:O,t="warning"}var W,B=e.length,V=e.map((function(e){return e.id})),H=e.filter((function(e){return 0!==e.numFailedScenarios})).length,$=Object(ie.c)((function(e){return wt(e,{list:V})}));switch(i){case c.ALL:W=$.length;break;case c.FAILED:W=$.reduce((function(e,t){return e+t.failedSteps}),0);break;case c.PASSED:W=$.filter((function(e){return 0===e.failedSteps&&0===e.skippedSteps})).length;break;case c.SKIPPED:W=$.filter((function(e){return 0===e.failedSteps&&0!==e.skippedSteps})).length}var X=Object(ie.c)((function(e){return p(e)}));e.map((function(e){return e.allTags})).forEach((function(e){return e.map((function(e){return e.name})).forEach((function(e){return!!o.includes(e)||o.push(e)}))}));var ne=Object(tt.a)(Me.a)((function(e){var t=e.theme;return Object(he.a)(Object(he.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%"})}));at.a.extend(it.a);var re=at.a.duration(l),ae="",oe=re.days(),ce=re.hours(),le=re.minutes(),ue=re.seconds();oe>0&&(ae="".concat(1===oe?oe+" day":oe+" days")),ce>0&&(ae+="".concat(1===ce?" "+ce+" hour ":ce+" hours ")),le>0&&(ae+="".concat(1===le?(0===ue?" and ":" ")+le+" minute":le+" minutes")),ue>0&&(ae+="".concat(1===ue?(ae?" and ":"")+ue+" second":(ae?" and ":"")+ue+" seconds"));var se="".concat(B," ").concat(1===B?"Feature":"Features"," and ").concat(W," ").concat(1===W?"Scenario":"Scenarios").concat(i===c.ALL?", "+H+" failed features":"");return C.a.createElement(Tt.a,{disableGutters:!0},C.a.createElement(Ft.a,{maxWidth:"100%"},C.a.createElement(D.a,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",spacing:1},C.a.createElement(D.a,{item:!0,xs:2.5},C.a.createElement(ne,{elevation:3},C.a.createElement(Nt.a,{freeSolo:!0,clearOnEscape:!0,autoComplete:!1,autoSelect:!0,fullWidth:!0,onChange:function(e,t,r){"clear"===r&&console.log("onchange clear"),n(E({value:t,label:t,type:r}))},onInputChange:function(e,t,r){""===t&&n(E({value:t,label:t,type:r}))},disableClearable:!0,placeholder:"filter by tags",value:g,options:X.map((function(e){return e.label})),renderInput:function(e){return C.a.createElement(_t.a,Object.assign({},e,{label:"filter by tags, ex.: @tag1 and not (@tag2 or @tag3)",InputProps:Object(he.a)(Object(he.a)({},e.InputProps),{},{type:"search"})}))}}))),C.a.createElement(D.a,{item:!0,xs:1},C.a.createElement(zt.a,{orientation:"vertical"},C.a.createElement(Dt.a,{variant:"outlined",color:"secondary",onClick:function(){n(v())},size:"small",startIcon:C.a.createElement(Gt.a,null)},"tags"),C.a.createElement(Dt.a,{variant:"outlined",color:"secondary",onClick:function(){n(y())},size:"small",startIcon:C.a.createElement(Kt.a,null)},"metadata"))),C.a.createElement(D.a,{item:!0,xs:5,xl:5},C.a.createElement(z.a,{direction:"column"},_.title?C.a.createElement(je.a,{variant:"fullWidth",color:t},C.a.createElement(Mt.a,{label:"".concat(_.title,", ").concat(ae),variant:"outlined",size:"medium",color:t})):null,_.description?C.a.createElement("div",{style:{margin:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},_.description):null)),C.a.createElement(D.a,{item:!0,xs:1.5,xl:1.5,justifyContent:"flex-end"},C.a.createElement(en,null)),C.a.createElement(D.a,{item:!0,xs:1,justifyContent:"flex-end"},C.a.createElement(Wt.a,null,C.a.createElement(Bt.a,{control:C.a.createElement(Vt.a,{size:"small",checked:"dark"===N,onChange:function(){n(S())}}),label:"theme"}),C.a.createElement(Bt.a,{control:C.a.createElement(mt.a,{title:"Show or hide Before/After steps"},C.a.createElement(Vt.a,{size:"small",checked:!0===I,onChange:function(){n(k())}})),label:"extra steps"}))),C.a.createElement(D.a,{item:!0,xs:1},C.a.createElement(Yt.PieChart,{data:[{title:"Passed",value:F,color:"#28a745"},{title:"Skipped",value:M,color:"#ffc107"},{title:"Failed",value:T,color:"#dc3545"}],style:{height:"4rem"}})),h?C.a.createElement(z.a,{direction:"column"},C.a.createElement(je.a,{variant:"fullWidth",sx:{minWidth:"55vw",maxWidth:"95vw"}},"Metadata"),C.a.createElement(z.a,{direction:"column",spacing:0,alignItems:"start",justifyContent:"center",divider:C.a.createElement(je.a,{orientation:"horizontal",variant:"fullWidth",flexItem:!0}),sx:{display:"flex",flexWrap:"wrap"}},_.metadata?Object.keys(_.metadata).sort().map((function(e){return C.a.createElement("div",{key:a++},e,": ",_.metadata[e])})):C.a.createElement(C.a.Fragment,null))):C.a.createElement(C.a.Fragment,null),u?C.a.createElement(z.a,{direction:"column"},C.a.createElement(je.a,{variant:"fullWidth",sx:{minWidth:"55vw",maxWidth:"95vw"}},"tags"),C.a.createElement(z.a,{direction:"row",spacing:1,alignItems:"center",justifyContent:"center",divider:C.a.createElement(je.a,{orientation:"vertical",variant:"middle",flexItem:!0}),sx:{display:"flex",flexWrap:"wrap"}},o.sort().map((function(e){return C.a.createElement("div",{key:r++},e)})))):C.a.createElement(C.a.Fragment,null)),C.a.createElement(je.a,{variant:"middle",style:{marginBottom:"-15px"}},C.a.createElement(Mt.a,{label:se,variant:"filled",style:{fontSize:"1.1em"}}))))},nn=n(265),rn=Object(T.a)({palette:{mode:"dark"},components:{MuiAppBar:{styleOverrides:{colorPrimary:{backgroundColor:"black"}}}}}),an=Object(T.a)({palette:{mode:"light",background:{default:"#e9e9e9",paper:"#e9e9e9"},darker:{main:"#90a4ae",contrastText:"#263238"}},components:{MuiAppBar:{styleOverrides:{colorPrimary:{backgroundColor:"#90a4ae"}}}}});function on(e){var t=e.children,n=e.window,r=Object(nn.a)({target:n?n():void 0,disableHysteresis:!0,threshold:100});return C.a.createElement(P.a,{in:r},C.a.createElement(A.a,{onClick:function(e){var t=(e.target.ownerDocument||document).querySelector("#back-to-top-anchor");t&&t.scrollIntoView({block:"center"})},role:"presentation",sx:{position:"fixed",bottom:16,right:16}},t))}var cn=function(e){var t=Object(ie.c)((function(e){return s(e)}));return C.a.createElement("main",{className:"containerFluid"},C.a.createElement(F.a,{theme:"dark"===t?rn:an},C.a.createElement(I.a,null,C.a.createElement(N.a,{position:"sticky"},C.a.createElement(tn,null)),C.a.createElement("div",{id:"back-to-top-anchor"}),C.a.createElement(A.a,null,C.a.createElement(It,null)),C.a.createElement(on,e,C.a.createElement(_.a,{size:"small","aria-label":"scroll back to top"},C.a.createElement(pt.a,null))))))};var ln=function(){return C.a.createElement(cn,null)},un=n(30),sn=n.n(un),dn=n(144),fn=n.n(dn),pn=n(35),mn=n(80);function hn(){hn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(S){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof d?t:d,o=Object.create(a.prototype),i=new O(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return k()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var c=E(i,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=l;var s={};function d(){}function f(){}function p(){}var m={};c(m,a,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(x([])));g&&g!==t&&n.call(g,a)&&(m=g);var v=p.prototype=d.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,c){var l=u(e[a],e,o);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function x(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,s):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;w(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}var gn=function(){return vn.apply(this,arguments)};function vn(){return(vn=Object(r.a)(hn().mark((function e(){var t,n,r;return hn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,console.time("loadJSON"),e.next=4,fetch("./_cucumber-results.json");case 4:return n=e.sent,e.next=7,n.json();case 7:t=e.sent,console.timeEnd("loadJSON"),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log("ERROR: ",e.t0);case 14:return r=Object(pn.b)({features:oe(t.features),scenarios:Ot,states:h,steps:De}),e.abrupt("return",Object(i.a)({reducer:r,middleware:[mn.a],devTools:!1,preloadedState:t}));case 16:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function yn(){yn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(S){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof d?t:d,o=Object.create(a.prototype),i=new O(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return k()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var c=E(i,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=l;var s={};function d(){}function f(){}function p(){}var m={};c(m,a,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(x([])));g&&g!==t&&n.call(g,a)&&(m=g);var v=p.prototype=d.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,c){var l=u(e[a],e,o);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function x(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,s):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;w(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}var bn,En=function(){var e=Object(r.a)(yn().mark((function e(t){var n,r;return yn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("_reporter_settings.json");case 3:return r=e.sent,e.next=6,r.json();case 6:n=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log("ERROR: ",e.t0);case 12:n&&t.dispatch(x(n)),t.dispatch(j());case 14:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}();function jn(){jn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(S){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof d?t:d,o=Object.create(a.prototype),i=new O(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return k()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var c=E(i,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=l;var s={};function d(){}function f(){}function p(){}var m={};c(m,a,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(x([])));g&&g!==t&&n.call(g,a)&&(m=g);var v=p.prototype=d.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,c){var l=u(e[a],e,o);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function x(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,s):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;w(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}var wn={filter:{action:function(e){return{type:"states/featuresToggleClicked",payload:{value:e,type:"queryChanged"}}},defaultValue:"",selector:f,stringToValue:function(e){return e},valueToString:function(e){return e}},tags:{action:function(e){return{type:"states/filterByTags",payload:{value:e,type:"queryChanged"}}},defaultValue:"",selector:m,stringToValue:function(e){return e},valueToString:function(e){return e}}};!function(){var e=Object(r.a)(jn().mark((function e(){return jn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,gn();case 2:return bn=e.sent,fn()({initialTruth:"location",params:wn,replaceState:!0,store:bn}),e.next=6,En(bn);case 6:sn.a.render(C.a.createElement(C.a.StrictMode,null,C.a.createElement(ie.a,{store:bn},C.a.createElement(ln,null))),document.getElementById("root"));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()(),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[162,1,2]]]);
2
+ (this["webpackJsonpcucumber-reactive-reporter"]=this["webpackJsonpcucumber-reactive-reporter"]||[]).push([[0],{116:function(e,t,n){},162:function(e,t,n){e.exports=n(188)},163:function(e,t,n){},170:function(e,t,n){},188:function(e,t,n){"use strict";n.r(t);var r=n(66);n(163),n(164),n(165),n(166),n(167),n(168),Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var a=n(16),o=n(17),i=n(37),c=Object.freeze({ALL:"All",PASSED:"Passed",FAILED:"Failed",SKIPPED:"Skipped"}),l=Object(i.b)({name:"states",initialState:{theme:"dark",external_settings:{},featuresList:{featuresButtonToggleValue:c.ALL,lastEnteredSearchValue:"",loading:!0,featureLoadProgress:0,finishedLoadingData:!1,searchHistory:[],showBoiler:!0,tagsDisplay:!1,metadataDisplay:!1},scenarioContainers:{},paginators:{}},reducers:{loadFeaturesStarted:function(e,t){e.featuresList.loading=!0},settingsLoaded:function(e,t){var n=t.payload;e.external_settings=n},featuresToggleClicked:function(e,t){switch(t.payload.value){case c.ALL:e.featuresList.featuresButtonToggleValue=c.ALL;break;case c.PASSED:e.featuresList.featuresButtonToggleValue=c.PASSED;break;case c.FAILED:e.featuresList.featuresButtonToggleValue=c.FAILED;break;case c.SKIPPED:e.featuresList.featuresButtonToggleValue=c.SKIPPED}},filterByTags:function(e,t){var n=t.payload,r=n.value,a=n.type;r&&"clear"!==a?(!1===e.featuresList.searchHistory.map((function(e){return e.value})).includes(r)&&e.featuresList.searchHistory.push({value:r,label:r,type:a}),e.featuresList.lastEnteredSearchValue=r):e.featuresList.lastEnteredSearchValue=""},displayTagsHelpButtonClicked:function(e,t){e.featuresList.tagsDisplay=!e.featuresList.tagsDisplay},displayMetadataButtonClicked:function(e,t){e.featuresList.metadataDisplay=!e.featuresList.metadataDisplay},loadFeaturesFinished:function(e,t){e.featuresList.loading=!1},loadDataFinished:function(e,t){e.featuresList.finishedLoadingData=!0},featureLoadProgressChanged:function(e,t){e.featuresList.featureLoadProgress=t.payload},scenarioContainerClicked:function(e,t){var n=t.payload.id;e.scenarioContainers[n]||(e.scenarioContainers[n]={},e.scenarioContainers[n].collapsed=!0),e.scenarioContainers[n].collapsed=!e.scenarioContainers[n].collapsed},paginatorChange:function(e,t){var n=t.payload,r=n.id,a=n.page,o=n.pStart,i=n.pEnd,c=n.pSize,l=n.searchVal;e.paginators[r]||(e.paginators[r]={},e.paginators[r].page=1,e.paginators[r].pSize=5,e.paginators[r].pStart=0,e.paginators[r].pEnd=5,e.paginators[r].searchVal=null),e.paginators[r].pSize=c,e.paginators[r].pStart=o,e.paginators[r].pEnd=i,e.paginators[r].page=a,e.paginators[r].searchVal=l},toggleTheme:function(e,t){e.theme="dark"===e.theme?"light":"dark"},toggleBoiler:function(e,t){e.featuresList.showBoiler=!e.featuresList.showBoiler}}}),u=function(e,t){var n=t.id;return e.states.paginators[n]},s=function(e){return e.states.external_settings},f=function(e){return e.states.theme},d=function(e){return e.states.featuresList.showBoiler},p=function(e){return e.states.featuresList.featuresButtonToggleValue},m=Object(o.a)((function(e){return e.states.featuresList}),(function(e){return Object(a.a)(e.searchHistory)})),h=function(e){return e.states.featuresList.lastEnteredSearchValue},g=l.reducer,v=l.actions,y=v.displayTagsHelpButtonClicked,b=v.displayMetadataButtonClicked,E=v.featuresToggleClicked,w=(v.featureLoadProgressChanged,v.filterByTags),j=(v.loadFeaturesStarted,v.loadFeaturesFinished,v.loadDataFinished),O=v.paginatorChange,x=v.scenarioContainerClicked,k=v.settingsLoaded,S=v.toggleBoiler,L=v.toggleTheme,C=(n(170),n(0)),P=n.n(C),A=n(254),I=n(282),T=n(266),N=n(306),_=n(293),F=n(146),z=n(307),D=(n(116),n(262)),M=n(279),W=n(42),B=n(96),V=n(82),H=n.n(V),G=function(e){return Object(i.b)({name:"features",initialState:e,reducers:{featureAdded:function(e,t){var n=t.payload,r=n.description,o=n.elements,i=n.id,c=n.keyword,l=n.line,u=n.name,s=Object(B.a)(n.tags).slice(0),f=n.uri,d=Object(a.a)(s),p=0,m=0;if(null===o||void 0===o?void 0:o.length){var h,g=Object(W.a)(o);try{for(g.s();!(h=g.n()).done;){var v,y,b=h.value;if((null===(v=b.tags)||void 0===v?void 0:v.length)&&function(){var e=d.map((function(e){return e.name}));b.tags.forEach((function(t){!1===e.includes(t.name)&&d.push(t)}))}(),null===(y=b.steps)||void 0===y?void 0:y.length){var E,w=Object(W.a)(b.steps);try{for(w.s();!(E=w.n()).done;){var j,O,x=E.value;if("failed"===(null===(j=x.result)||void 0===j?void 0:j.status)){p++;break}if("skipped"===(null===(O=x.result)||void 0===O?void 0:O.status)){m++;break}}}catch(k){w.e(k)}finally{w.f()}}}}catch(k){g.e(k)}finally{g.f()}}e.list.push(i),e.featuresMap[i]={id:i,description:r,uri:f,keyword:c,name:u,line:l,tags:s,allTags:d,numFailedScenarios:p,numSkippedScenarios:m}}}})},R=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){return Object.values(e)})),K=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){return Object.values(e).filter((function(e){return e.numFailedScenarios>0}))})),Y=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){var t=Object.values(e);return t.filter((function(e){return t.length-e.numFailedScenarios-e.numSkippedScenarios>0}))})),J=Object(o.a)((function(e){return e.features.featuresMap}),(function(e){return Object.values(e).filter((function(e){return e.numSkippedScenarios>0}))})),q=Object(o.a)((function(e){return e}),(function(e){return Object.values(e.features.featuresMap).reduce((function(t,n){var r=n.id;return t+Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(r)&&e.failedSteps})).length}),0)})),U=Object(o.a)((function(e){return e}),(function(e){return Object.values(e.features.featuresMap).reduce((function(t,n){var r=n.id;return t+Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(r)&&!e.failedSteps&&e.passedSteps&&!e.skippedSteps})).length}),0)})),$=Object(o.a)((function(e){return e}),(function(e){return Object.values(e.features.featuresMap).reduce((function(t,n){var r=n.id;return t+Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(r)&&!e.failedSteps&&!e.passedSteps&&e.skippedSteps})).length}),0)})),X=function(e,t){var n;try{n=H()(e)}catch(r){console.log(r)}return n?t.filter((function(e){var t=e.tags.map((function(e){return e.name}));return!0===n.evaluate(t)})):t},Q=function(e,t){var n;try{n=H()(e)}catch(r){console.log(r)}return n?t.filter((function(e){var t=e.allTags.map((function(e){return e.name}));return!0===n.evaluate(t)})):t},Z=Object(o.a)([h,R],Q),ee=Object(o.a)([h,K],Q),te=Object(o.a)([h,Y],Q),ne=Object(o.a)([h,J],Q),re=Object(o.a)([h,function(e,t){var n=t.id;return Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(n)&&e.failedSteps}))}],X),ae=Object(o.a)([h,function(e,t){var n=t.id;return Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(n)&&!e.failedSteps&&e.passedSteps}))}],X),oe=Object(o.a)([h,function(e,t){var n=t.id;return Object.values(e.scenarios.scenariosMap).filter((function(e){return e.id.startsWith(n)&&e.skippedSteps&&!e.failedSteps}))}],X),ie=function(e){return G(e).reducer},ce=(G({featuresMap:{},list:[]}).actions.featureAdded,n(13)),le=n(283),ue=n(286),se=n(276),fe=n(284),de=n(270),pe=n(269),me=[3,5,10,50],he=function(e){var t=e.page,n=e.pageSize,r=e.onChange,a=e.boundaryCount,o=e.size,i=e.shape,c=e.numItems,l=e.searchVal;me=e.pageSizeArray?e.pageSizeArray.slice():[5,10,20,1];var u=0,s=Math.ceil(c/n),f=function(a,o,i){(i||(i=e.searchVal),t!==o)&&r((o-1)*n,o*n>=c?c:o*n,o,n,i)};return P.a.createElement(P.a.Fragment,null,P.a.createElement(I.a,{sx:{display:"flex",flexWrap:"wrap",m:1},component:"form",noValidate:!0,autoComplete:"off"},P.a.createElement(le.a,{sx:{minWidth:80},size:"small"},P.a.createElement(pe.a,{labelId:"customPagination-select-helper-label",id:"customPagination-select-helper",value:n,onChange:function(e){var t=e.target.value;if(n!==t){var a=1*t>=c?c:1*t,o=0*t;o>=c&&(o=a-t),r(o,a,1,t,l)}}},me.map((function(e){return P.a.createElement(se.a,{key:"menu_"+e,value:e},e)})))),P.a.createElement(de.a,{page:t,count:s,shape:i||"rounded",size:o||"small",boundaryCount:a||2,onChange:f}),P.a.createElement(le.a,{sx:{width:"15ch"},variant:"outlined",size:"small"},P.a.createElement(fe.a,{id:"outlined-adornment-page",onChange:function(e){var t=e.target.value;if(t&&!1===isNaN(t)){var n=Number(t);n&&n<=s&&(u=n)}},onKeyUp:function(e){"Enter"===e.key&&u&&f(e,u,u)},type:"number",startAdornment:P.a.createElement(ue.a,{position:"start"},"page"),"aria-describedby":"outlined-weight-helper-text",inputProps:{"aria-label":"page"},defaultValue:l||""}))))},ge=n(15),ve=n(14),ye=n(297),be=n(298),Ee=n(299),we=n(273),je=n(263),Oe=n(287),xe=n(300),ke=n(296),Se=n(60),Le=n(260),Ce=n(61),Pe=n(261),Ae=n(59),Ie=n(58),Te=Object(i.b)({name:"steps",loading:!1,initialState:{stepsMap:{},totalDurationNanoSec:0},reducers:{stepAdded:function(e,t){var n=t.payload.step,r=n.arguments,a=n.embeddings,o=n.keyword,i=n.line,c=n.match.location,l=n.name,u=n.result,s=u.duration,f=u.error_message,d=u.status,p=t.payload.scenarioId,m={args:r,duration:s,embeddings:a,error_message:f,keyword:o,line:i,location:c,name:l,status:d};e.stepsMap[p]||(e.stepsMap[p]={steps:[]}),e.stepsMap[p].steps.push(m),!1===isNaN(s)&&(e.totalDurationNanoSec=e.totalDurationNanoSec+s)}}}),Ne=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"Before"!==e.keyword&&"After"!==e.keyword}))})),_e=Object(o.a)([Ne],(function(e){return e.filter((function(e){return"passed"===e.status}))})),Fe=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"failed"===e.status}))})),ze=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"passed"===e.status}))})),De=Object(o.a)([function(e){return e.steps.stepsMap},function(e,t){return t.id}],(function(e,t){return e[t].steps.filter((function(e){return"skipped"===e.status}))})),Me=Te.reducer,We=(Te.actions.stepAdded,n(285)),Be=n(288),Ve=n(289),He=n(290),Ge=n(291),Re=n(292),Ke=n(295),Ye=n(57),Je=n.n(Ye),qe=n(56),Ue=n(145),$e=function(e){var t,n,r=e.content,a=e.type,o=Object(ce.c)((function(e){return f(e)})),i=r.replace(/\\n/g,"\n"),c=20*((i.match(/\n/g)||[]).length+1),l=c<800?c:800,u={lineHeight:20,minimap:{enabled:c>800,side:"left",maxColumn:60},readOnly:!0,scrollBeyondLastLine:!1,scrollbar:{alwaysConsumeMouseWheel:!1}};switch(null===a||void 0===a?void 0:a.toLowerCase()){case"xml":t="xml",n=Object(ge.a)({},u);break;case"json":t="json",n=Object(ge.a)({},u);break;default:t="batch",n=Object(ge.a)({},u)}return P.a.createElement(Ue.a,{height:l,defaultLanguage:t,defaultValue:i,theme:"dark"===o?"vs-dark":"vs",readOnly:!0,className:" overflow-hidden",options:n})},Xe=n(8),Qe=n(268),Ze=function(e){var t=e.content,n=e.bColor,r=Object(Qe.a)({root:{"&:hover $clearHidden":{display:"flex",position:"absolute",marginLeft:"-40"}},clearHidden:{},hiddenPin:{display:"none"}})(),a=n||"grey",o=t.replace(/\\n/g,"\n");return t?P.a.createElement(Be.a,{component:We.a,style:{marginBottom:"10px",marginTop:"10px"}},P.a.createElement(Ve.a,{size:"small"},P.a.createElement(He.a,null,P.a.createElement(Ge.a,{hover:!0,className:r.root},P.a.createElement(Re.a,{align:"center",style:{border:"groove",borderColor:a}},P.a.createElement($e,{content:o})),P.a.createElement(Re.a,{className:Object(Xe.a)(r.hiddenPin,r.clearHidden),align:"center",style:{border:"none",padding:0}},P.a.createElement(qe.CopyToClipboard,{text:t},P.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},P.a.createElement(Je.a,null)))))))):null},et={whiteSpace:"pre-wrap",textAlign:"left",wordBreak:"break-all",width:"100%",fontSize:"1.3vmin",fontFamily:"monospace"},tt={border:"groove",borderColor:"grey",padding:0,minHeight:"200px"},nt=n(5),rt=function(e){var t=e.content,n=Object(nt.a)(We.a)((function(e){var t=e.theme;return Object(ge.a)(Object(ge.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider})})),r=0,a=0;return P.a.createElement(I.a,{sx:{}},P.a.createElement(Be.a,{component:n},P.a.createElement(Ve.a,{size:"small"},P.a.createElement(He.a,null,t.rows.map((function(e){return P.a.createElement(Ge.a,{key:r++,sx:{"&:last-child td, &:last-child th":{border:0}}},e.cells.map((function(e){return P.a.createElement(Re.a,{align:"center",padding:"none",style:{border:"groove",borderColor:"grey"},key:a++},P.a.createElement(Oe.a,{sx:Object(ge.a)(Object(ge.a)({},et),{},{color:"text.secondary",textAlign:"center"})},e))})))}))))))},at=n(72),ot=n.n(at),it=n(105),ct=n.n(it),lt=n(191),ut=n(259),st=function(e){var t=e.content,n=e.themeName,r=Object(lt.a)();document.documentElement.style.setProperty("--textCol",ut.a["dark"===n?200:800]),document.documentElement.style.setProperty("--scrollBarCol",r.palette.background.paper),document.documentElement.style.setProperty("--scrollBarThumbCol",ut.a[300]),document.documentElement.style.setProperty("--scrollBarThumbHoverCol",ut.a[300]);var a=Object(Qe.a)({clearHidden:{},hiddenPin:{display:"none"},root:{"&:hover $clearHidden":{display:"flex",marginLeft:"-40",position:"absolute"}}})(),o=0;return P.a.createElement(I.a,{display:"flex"},P.a.createElement(Be.a,{component:We.a,style:{marginBottom:"10px",marginTop:"10px"}},P.a.createElement(Ve.a,{size:"small",className:a.table},P.a.createElement(He.a,null,t.map((function(e){return function(e,t){var n,r=e.media?e.media:e.data;switch((e.mime_type?e.mime_type:null===(n=e.media)||void 0===n?void 0:n.type).split(";")[0]){case"text/html":return r=r.replace("\\n","\n"),P.a.createElement(Ge.a,{key:t,hover:!0,className:a.root},P.a.createElement(Re.a,{align:"center",style:Object(ge.a)({},tt)},P.a.createElement("div",{dangerouslySetInnerHTML:{__html:r},style:{maxWidth:"100%"}})),P.a.createElement(Re.a,{className:Object(Xe.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},P.a.createElement(qe.CopyToClipboard,{text:r},P.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},P.a.createElement(Je.a,null)))));case"text/xml":case"application/xml":return P.a.createElement(Ge.a,{key:t,hover:!0,className:a.root},P.a.createElement(Re.a,{align:"center",style:Object(ge.a)({},tt)},P.a.createElement($e,{content:r,type:"xml"})),P.a.createElement(Re.a,{className:Object(Xe.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},P.a.createElement(qe.CopyToClipboard,{text:r},P.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},P.a.createElement(Je.a,null)))));case"application/json":var o;try{o=JSON.parse(r),r=JSON.stringify(o,null,2),o||(o={})}catch(i){r=i.message}return P.a.createElement(Ge.a,{key:t,hover:!0,className:a.root},P.a.createElement(Re.a,{align:"center",style:Object(ge.a)({},tt)},P.a.createElement($e,{content:r,type:"json"})),P.a.createElement(Re.a,{className:Object(Xe.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},P.a.createElement(qe.CopyToClipboard,{text:r},P.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},P.a.createElement(Je.a,null)))));case"image/png":return P.a.createElement(Ge.a,{key:t,hover:!0,className:a.root},P.a.createElement(Re.a,{align:"center",style:Object(ge.a)({},tt)},r?P.a.createElement("img",{src:"data:image/png;base64,".concat(r),alt:"",style:{maxWidth:"100%",objectFit:"scale-down"}}):""),P.a.createElement(Re.a,{className:Object(Xe.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}}));case"text/plain":default:return P.a.createElement(Ge.a,{key:t,hover:!0,className:a.root},P.a.createElement(Re.a,{align:"center",style:Object(ge.a)({},tt)},P.a.createElement($e,{content:r})),P.a.createElement(Re.a,{className:Object(Xe.a)(a.hiddenPin,a.clearHidden),align:"center",style:{border:"none",padding:0}},P.a.createElement(qe.CopyToClipboard,{text:r},P.a.createElement(_.a,{color:"primary","aria-label":"copy to clipboard",size:"small"},P.a.createElement(Je.a,null)))))}}(e,o++)}))))))},ft=n(139),dt=n.n(ft),pt=n(106),mt=n.n(pt),ht=n(294),gt=function(e){var t=e.step,n=t.duration,r=t.keyword,a=t.name,o=t.args,i=t.embeddings,c=t.status,l=t.location,u=t.error_message,s=t.themeName,f=e.num,d="";switch(c){case"passed":d=Ce.a[700];break;case"failed":d=Se.a[700];break;case"skipped":d=Le.a[700]}var p=0,m=n;isNaN(n)&&(m=0),ot.a.extend(ct.a);var h=m/1e6;h%1!==0&&(h=Math.round(h));var g=ot.a.duration(h),v="",y=g.minutes(),b=g.seconds(),E=Math.round(g.milliseconds());y>0&&(v+="".concat(y,"m")),b>0&&(v+="".concat(""!==v?" "+b+"s":b+"s")),E>0&&(v+="".concat(""!==v?" "+E+"ms":E+"ms"));var w=(null===o||void 0===o?void 0:o.length)||u||(null===i||void 0===i?void 0:i.length),j=r.replace(/\s/g,""),O=P.a.useState(!!(u||"after"===j.toLowerCase()&&(null===i||void 0===i?void 0:i.length))),x=Object(ve.a)(O,2),k=x[0],S=x[1];return P.a.createElement(P.a.Fragment,null,P.a.createElement(ht.a,{title:l},P.a.createElement(Ge.a,{onClick:function(){return S(!k)},hover:!0},P.a.createElement(Re.a,{size:"small",variant:"footer",padding:"none",sx:{width:"10px"}},w?P.a.createElement(Ke.a,{"aria-label":"expand row",size:"small"},k?P.a.createElement(mt.a,null):P.a.createElement(dt.a,null)):null),"before"===j.toLowerCase()||"after"===j.toLowerCase()?P.a.createElement(Re.a,null):P.a.createElement(Re.a,{size:"small",variant:"footer",padding:"none",align:"left",sx:{width:"2.16em"}},P.a.createElement(Oe.a,{variant:"subtitle2",color:"text.secondary",fontSize:"1.08em"},f)),P.a.createElement(Re.a,{variant:"footer",padding:"none",align:"left",style:"before"===j.toLowerCase()||"after"===j.toLowerCase()?{position:"relative",left:"-2em"}:{}},P.a.createElement(Oe.a,{variant:"body1",sx:{color:d,fontWeight:"bold",display:"flex"}},j)),P.a.createElement(Re.a,{variant:"footer",padding:"none"},P.a.createElement(Oe.a,{color:"text.secondary",sx:{wordWrap:"break-word"}},a)),P.a.createElement(Re.a,{size:"small",variant:"footer",padding:"none",align:"right",style:{paddingRight:5}},P.a.createElement(Oe.a,{variant:"subtitle2",sx:{fontWeight:"italic",whiteSpace:"nowrap",fontSize:"1.08em"}},v)))),P.a.createElement(Ge.a,null,P.a.createElement(Re.a,{style:{paddingBottom:0,paddingTop:0},colSpan:6},P.a.createElement(ke.a,{in:k,timeout:"auto",unmountOnExit:!0},(null===o||void 0===o?void 0:o.length)?null===o||void 0===o?void 0:o.map((function(e){var t;return e.content?P.a.createElement(M.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",key:p++,sx:{overflow:"auto"},wrap:"nowrap"},P.a.createElement(M.a,{item:!0,xs:12},P.a.createElement(Ze,{content:e.content}))):(null===(t=e.rows)||void 0===t?void 0:t.length)?P.a.createElement(M.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",key:p++,sx:{overflow:"auto"},wrap:"nowrap"},P.a.createElement(M.a,{item:!0,xs:12},P.a.createElement(rt,{content:e,themeName:s}))):null})):null,u?P.a.createElement(M.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",sx:{overflow:"auto"},wrap:"nowrap"},P.a.createElement(M.a,{item:!0,xs:12},P.a.createElement(Ze,{content:u,bColor:d}))):null,(null===i||void 0===i?void 0:i.length)?P.a.createElement(M.a,{container:!0,item:!0,alignItems:"middle",justifyContent:"center",sx:{overflow:"auto"},wrap:"nowrap"},P.a.createElement(M.a,{item:!0,xs:12},P.a.createElement(st,{content:i,themeName:s}))):null))))},vt=function(e){var t=e.id,n=e.themeName,r=0,a=1,o=Object(ce.c)((function(e){return function(e,t){var n=t.id;return e.steps.stepsMap[n].steps}(e,{id:t})})),i=Object(ce.c)((function(e){return d(e)})),c=Object(ce.c)((function(t){return Ne(t,e)})),l=i?o:c,u=Object(nt.a)(We.a)((function(e){var t=e.theme;return Object(ge.a)(Object(ge.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider,backgroundColor:"dark"===n?null:"#e0e0e0"})}));return P.a.createElement(P.a.Fragment,null,P.a.createElement(Be.a,{component:u,size:"small",sx:{overflowX:"auto"}},P.a.createElement(Ve.a,{"aria-label":"collapsible table"},P.a.createElement(He.a,null,l.map((function(e){return P.a.createElement(gt,{key:r++,num:e.keyword.toUpperCase().includes("BEFORE")||e.keyword.toUpperCase().includes("AFTER")?void 0:a++,step:e,themeName:n})}))))))},yt=Object(i.b)({name:"scenarios",loading:!1,initialState:{scenariosMap:{},list:[]},reducers:{scenarioAdded:function(e,t){var n=t.payload.scenario,r=n.id,a=n.keyword,o=n.line,i=n.name,c=Object(B.a)(n.tags).slice(0),l=n.type,u=n.uri,s=t.payload.featureId.featureId;e.list.push(r),e.scenariosMap[r]={failedSteps:0,featureId:s,id:r,keyword:a,line:o,name:i,passedSteps:0,skippedSteps:0,tags:c,type:l,uri:u}}},extraReducers:{"steps/stepAdded":function(e,t){var n=t.payload.step,r=n.hidden,a=n.result.status,o=n.embeddings,i=t.payload.scenarioId;(!r||o&&o.length)&&("passed"===a?e.scenariosMap[i].passedSteps++:"skipped"===a&&e.scenariosMap[i].skippedSteps++),"failed"===a&&e.scenariosMap[i].failedSteps++}}}),bt=function(e,t){var n;try{n=H()(e)}catch(r){console.log(r)}return n?t.filter((function(e){var t=e.tags.map((function(e){return e.name}));return!0===n.evaluate(t)})):t},Et=(Object(o.a)([function(e){return Object.values(e.scenarios.scenariosMap)},function(e,t){return t.id}],(function(e,t){return e.filter((function(e){return e.id.startsWith(t)}))})),Object(o.a)([function(e){return Object.values(e.scenarios.scenariosMap)},function(e,t){return t.id},function(e){return p(e)}],(function(e,t,n){return e.filter((function(e){var r;if(e.id.startsWith(t)){switch(n){case c.ALL:r=!0;break;case c.PASSED:r=e.passedSteps>0&&0===e.failedSteps&&0===e.skippedSteps;break;case c.FAILED:r=0!==e.failedSteps;break;case c.SKIPPED:r=0!==e.skippedSteps&&0===e.failedSteps}return r}return!1}))}))),wt=Object(o.a)([h,Et],bt),jt=Object(o.a)([function(e){return Object.values(e.scenarios.scenariosMap)},function(e,t){return t.list}],(function(e,t){var n,r=[],a=Object(W.a)(t);try{var o=function(){var t=n.value,a=e.filter((function(e){return e.id.startsWith(t)}));a.length&&(r=r.concat(a))};for(a.s();!(n=a.n()).done;)o()}catch(i){a.e(i)}finally{a.f()}return r})),Ot=Object(o.a)([h,jt],bt),xt=yt.reducer,kt=(yt.actions.scenarioAdded,function(e){var t=Object(ce.b)(),n=e.featureTags,r=Object(ce.c)((function(t){return function(e,t){var n=t.id;return e.scenarios.scenariosMap[n]}(t,e)})),a=r.id,o=r.name,i=r.tags,c=Object(ce.c)((function(t){return Fe(t,e)})),l=Object(ce.c)((function(t){return De(t,e)})),u=Object(ce.c)((function(t){return ze(t,e)})),p=Object(ce.c)((function(t){return _e(t,e)})),m=Object(ce.c)((function(e){return d(e)})),h=Object(lt.a)(),g=Object(ce.c)((function(e){return f(e)})),v=Object(ce.c)((function(t){return function(e,t){var n,r=t.id;return null===(n=e.states.scenarioContainers[r])||void 0===n?void 0:n.collapsed}(t,e)}));void 0===v&&(v=!0);var y=Object(ce.c)((function(e){return s(e)})),b="dark"===g?Ie.a[300]:Pe.a[900];"dark"===g?c.length&&(b=h.palette.error.dark):"light"===g&&c.length&&(b=h.palette.error.light);var E=i.map((function(e){return e.name})),w=n.length?E.filter((function(e){return!n.includes(e)})).sort():E.sort(),j=Object(nt.a)(ye.a)((function(e){var t=e.theme;return Object(ge.a)(Object(ge.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider,backgroundColor:"dark"===g?null:"#d4d4d4"})})),O=[];if(w.forEach((function(e){var t={};t.name=e,O.push(t)})),y.linkTags&&y.linkTags.length){var k,S=Object(W.a)(y.linkTags);try{for(S.s();!(k=S.n()).done;){var L=k.value,C=new RegExp(L.pattern);if(O.length)for(var A in O){var T=O[A].name.search(C);-1!==T&&(O[A].link="".concat(L.link).concat(O[A].name.substring(T)))}}}catch(_){S.e(_)}finally{S.f()}console.dir(O,{depth:null})}var N=0;return P.a.createElement(P.a.Fragment,null,P.a.createElement(j,{elevation:3,sx:{width:"95%",minHeight:"8vh"}},P.a.createElement(be.a,{onClick:function(){t(x({id:a}))}},P.a.createElement(Ee.a,{disableTypography:!1,action:P.a.createElement(D.a,{direction:"column"},P.a.createElement("br",null),P.a.createElement(D.a,{direction:"row-reverse",spacing:.5,marginRight:"1vw",xs:1.6,justifyContent:"middle",alignItems:"end"},c.length>0?P.a.createElement(I.a,{sx:Object(ge.a)(Object(ge.a)({},Ct),{},{backgroundColor:Se.a[700]})},c.length):null,l.length>0?P.a.createElement(I.a,{sx:Object(ge.a)(Object(ge.a)({},Ct),{},{backgroundColor:Le.a[700]})},l.length):null,p.length>0?P.a.createElement(I.a,{sx:Object(ge.a)(Object(ge.a)({},Ct),{},{backgroundColor:Ce.a[700]})},m?u.length:p.length):null)),title:P.a.createElement(D.a,{direction:"column"},P.a.createElement("br",null),o),titleTypographyProps:{color:b,marginLeft:"1vw",fontSize:"1.7vmin",textAlign:"left"},subheader:P.a.createElement(D.a,{direction:"column",justifyContent:"flex-start"},P.a.createElement(Oe.a,{variant:"capture",align:"left",style:{marginLeft:"1vw",minHeight:"1vh",fontStyle:"italic",fontSize:"1.3vmin",fontWeight:"bold",color:Ae.a[400]}},P.a.createElement(D.a,{direction:"row",spacing:"10px"},O.map((function(e){return e.link?P.a.createElement("a",{href:e.link,key:N++},e.name):P.a.createElement("div",{key:N++},e.name)})))))})),P.a.createElement(ke.a,{in:!v,timeout:"auto",unmountOnExit:!0},P.a.createElement(xe.a,null,P.a.createElement(P.a.Fragment,null,P.a.createElement(vt,{id:a,themeName:g}))))))}),St=[5,10,20,50,100,1],Lt=function(e){var t=e.id,n=Object(ce.b)(),r=Object(ce.c)((function(t){return wt(t,e)})),a=Object(ce.c)((function(t){return u(t,e)})),o=a||{},i=o.page,c=void 0===i?1:i,l=o.pSize,s=void 0===l?St[0]:l,f=o.pStart,d=void 0===f?0:f,p=o.pEnd,m=void 0===p?St[0]:p,h=o.searchVal,g=void 0===h?null:h,v=Math.ceil(r.length/s);v<c&&(d=0,m=St[0],c=1);var y=r.slice(d,m);return P.a.createElement(P.a.Fragment,null,P.a.createElement(M.a,{container:!0,item:!0,direction:"column",display:"flex",alignItems:"center",spacing:1},v>1?P.a.createElement(he,{page:c,searchVal:g,pageSize:s,pageSizeArray:St,numItems:r.length,shape:"rounded",size:"small",boundaryCount:2,onChange:function(e,r,a,o,i){n(O({id:t,page:a,pStart:e,pEnd:r,pSize:o,searchVal:i}))}}):null,y.map((function(t){return P.a.createElement("div",{key:"key_".concat(t.id),style:{width:"100%"}},P.a.createElement(M.a,{item:!0,container:!0,xs:12,justifyContent:"center",alignItems:"center"},P.a.createElement(kt,{id:t.id,featureTags:e.tags})),P.a.createElement("br",null))}))))},Ct={borderRadius:"3px",color:"white",maxHeight:"1.5rem",maxWidth:"3rem",minHeight:"1.5rem",minWidth:"1.5rem",display:"flex",alignItems:"center",justifyContent:"center"},Pt=function(e){var t=Object(ce.c)((function(t){return function(e,t){var n=t.id;return e.features.featuresMap[n]}(t,e)})),n=t.description,r=t.id,a=t.name,o=t.tags,i=t.uri,l=t.themeName,u=P.a.useState(!1),f=Object(ve.a)(u,2),d=f[0],m=f[1],h=Object(ce.c)((function(e){return p(e)})),g=Object(ce.c)((function(e){return s(e)})),v=Object(ce.c)((function(t){return re(t,e)})),y=Object(ce.c)((function(t){return ae(t,e)})),b=Object(ce.c)((function(t){return oe(t,e)})),E=y.length,w=v.length,j=b.length;switch(h){case c.ALL:break;case c.PASSED:w=0,j=0;break;case c.FAILED:E=0,j=0;break;case c.SKIPPED:w=0,E=0}var O=Object(nt.a)(ye.a)((function(e){var t=e.theme;return Object(ge.a)(Object(ge.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%",border:"2px solid",borderColor:t.palette.divider})})),x=o.map((function(e){return e.name})),k=[];if(o.forEach((function(e){var t={};t.name=e.name,t.line=e.line,k.push(t)})),g.linkTags&&g.linkTags.length){var S,L=Object(W.a)(g.linkTags);try{for(L.s();!(S=L.n()).done;){var C=S.value,A=new RegExp(C.pattern);if(k.length)for(var T in k){var N=k[T].name.search(A);-1!==N&&(k[T].link="".concat(C.link).concat(k[T].name.substring(N)))}}}catch(F){L.e(F)}finally{L.f()}}var _=0;return P.a.createElement(O,{raised:!!d},P.a.createElement(be.a,{onClick:function(){m(!d)}},P.a.createElement(Ee.a,{disableTypography:!1,action:P.a.createElement(we.a,null,P.a.createElement(D.a,{direction:"row-reverse",spacing:.5,marginRight:"1vw",xs:1.6,justifyContent:"middle",alignItems:"end"},w>0?P.a.createElement(I.a,{justifyContent:"center",alignItems:"center",sx:Object(ge.a)(Object(ge.a)({},Ct),{},{backgroundColor:Se.a[700]})},w):null,j>0?P.a.createElement(I.a,{justifyContent:"center",alignItems:"center",sx:Object(ge.a)(Object(ge.a)({},Ct),{},{backgroundColor:Le.a[700]})},j):null,E>0?P.a.createElement(I.a,{justifyContent:"center",alignItems:"center",sx:Object(ge.a)(Object(ge.a)({},Ct),{},{backgroundColor:Ce.a[700]})},E):null)),title:P.a.createElement(D.a,{direction:"column"},a,P.a.createElement(je.a,null)),titleTypographyProps:{marginLeft:"1vw",marginRight:"1vh",variant:"h5",color:"dark"===l?Pe.a[600]:Pe.a[800],align:"left"},subheader:P.a.createElement(D.a,{direction:"column",justifyContent:"flex-start"},P.a.createElement(Oe.a,{variant:"capture",align:"left",style:{marginLeft:"1vw",minHeight:"1vh",fontStyle:"italic",fontSize:"1.3vmin",fontWeight:"bold",color:Ae.a[400]}},P.a.createElement(D.a,{direction:"row",spacing:"10px"},k.map((function(e){return e.link?P.a.createElement("a",{href:e.link,key:_++},e.name):P.a.createElement("div",{key:_++},e.name)})))),P.a.createElement(Oe.a,{variant:"capture",align:"left",style:{marginLeft:"1vw",minHeight:"1vh",fontStyle:"italic",fontSize:"1.3vmin",color:Ae.a[200]}},i))}),d?P.a.createElement(xe.a,null,P.a.createElement(Oe.a,{variant:"h6",align:"left",marginLeft:"1vw"},n)," "):null),P.a.createElement(ke.a,{in:d,timeout:"auto",unmountOnExit:!0},P.a.createElement(xe.a,null,P.a.createElement(D.a,{direction:"column",spacing:1},P.a.createElement(Lt,{id:r,filter:e.filter,featureViewState:e.featureViewState,tags:x})))))},At=n(147),It=[50,100,30,10],Tt=function(){var e,t=Object(ce.b)(),n=0,r=Object(ce.c)((function(e){return p(e)})),a=Object(ce.c)((function(e){return h(e)})),o=Object(ce.c)((function(e){return R(e)})),i=Object(ce.c)((function(e){return K(e)})),l=Object(ce.c)((function(e){return Y(e)})),s=Object(ce.c)((function(e){return J(e)})),d=Object(ce.c)((function(e){return Z(e)})),m=Object(ce.c)((function(e){return te(e)})),g=Object(ce.c)((function(e){return ee(e)})),v=Object(ce.c)((function(e){return ne(e)})),y=Object(ce.c)((function(e){return f(e)}));switch(r){case c.ALL:e=a?d:o;break;case c.FAILED:e=a?g:i;break;case c.PASSED:e=a?m:l;break;case c.SKIPPED:e=a?v:s}var b,E=e.map((function(e){return e.id})),w=Object(ce.c)((function(e){return Ot(e,{list:E})}));switch(r){case c.ALL:b=w.length;break;case c.FAILED:b=w.reduce((function(e,t){return e+t.failedSteps}),0);break;case c.PASSED:b=w.filter((function(e){return 0===e.failedSteps&&0===e.skippedSteps})).length;break;case c.SKIPPED:b=w.filter((function(e){return 0===e.failedSteps&&0!==e.skippedSteps})).length}var j={id:"feature_paginator"},x=Object(ce.c)((function(e){return u(e,j)})),k=x||{},S=k.page,L=void 0===S?1:S,C=k.pSize,A=void 0===C?It[0]:C,T=k.pStart,N=void 0===T?0:T,_=k.pEnd,F=void 0===_?It[0]:_,z=k.searchVal,W=void 0===z?null:z;Math.ceil(e.length/A)<L&&(N=0,F=It[0],L=1);var B=e.slice(N,F),V={default:B.length<=10?1:2,1280:1};return P.a.createElement(P.a.Fragment,null,P.a.createElement(I.a,{sx:{p:1,border:"2px"}},P.a.createElement(D.a,{direction:"column"},B.length>=10||e.length>=10?P.a.createElement(he,{page:L,searchVal:W,pageSize:A,pageSizeArray:It,numItems:e.length,shape:"rounded",size:"small",boundaryCount:2,onChange:function(e,n,r,a,o){t(O({id:j.id,page:r,pStart:e,pEnd:n,pSize:a,searchVal:o}))}}):null,P.a.createElement(At.a,{breakpointCols:V,className:"my-masonry-grid",columnClassName:"my-masonry-grid_column"},b?B.map((function(e){return P.a.createElement(M.a,{container:!0,key:n++},P.a.createElement(Pt,{id:e.id,featureViewState:r,filter:a,themeName:y}))})):null))))},Nt=n(274),_t=n(272),Ft=n(303),zt=n(280),Dt=n(301),Mt=n(302),Wt=n(281),Bt=n(304),Vt=n(305),Ht=n(277),Gt=n(141),Rt=n.n(Gt),Kt=n(142),Yt=n.n(Kt),Jt=n(143),qt=n(140),Ut=n.n(qt),$t=n(264),Xt=n(258),Qt=n(275),Zt=n(267),en=function(e,t){var n=null;switch(Object.values(c)[e]){case c.ALL:n=Ie.a[t];break;case c.FAILED:n=Se.a[t];break;case c.PASSED:n=Ce.a[t];break;case c.SKIPPED:n=Le.a[t]}return n},tn=function(e){var t=Object(ce.b)(),n=C.useState(!1),r=Object(ve.a)(n,2),a=r[0],o=r[1],i=C.useRef(null),l=Object.values(c),u=Object(ce.c)((function(e){return p(e)})),s=Object.values(c).indexOf(u),f=function(e){i.current&&i.current.contains(e.target)||o(!1)};return C.createElement(C.Fragment,null,C.createElement(Dt.a,{variant:"contained",ref:i,"aria-label":"split button"},C.createElement(Mt.a,{onClick:function(){console.info("You clicked ".concat(l[s]))},sx:{backgroundColor:en(s,700)}},"All"===l[s]?"Show All":l[s]),C.createElement(Mt.a,{size:"small","aria-controls":a?"split-button-menu":void 0,"aria-expanded":a?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:function(){o((function(e){return!e}))},sx:{backgroundColor:en(s,500)}},C.createElement(Ut.a,null))),C.createElement(Zt.a,{open:a,anchorEl:i.current,role:void 0,transition:!0,sx:{zIndex:1300}},(function(e){var n=e.TransitionProps,r=e.placement;return C.createElement(Xt.a,Object.assign({},n,{style:{transformOrigin:"bottom"===r?"center top":"center bottom"}}),C.createElement(We.a,null,C.createElement($t.a,{onClickAway:f},C.createElement(Qt.a,{id:"split-button-menu"},l.map((function(e,n){return C.createElement(se.a,{key:e,selected:n===s,onClick:function(e){return function(e,n){o(!1),t(E({value:Object.values(c)[n]}))}(0,n)},sx:{backgroundColor:en(n,700)}},"See "+e)}))))))})))},nn=function(){var e,t,n=Object(ce.b)(),r=0,a=0,o=[],i=Object(ce.c)((function(e){return p(e)})),l=Object(ce.c)((function(e){return function(e){return e.steps.totalDurationNanoSec}(e)}))/1e6,u=Object(ce.c)((function(e){return function(e){return e.states.featuresList.tagsDisplay}(e)})),g=Object(ce.c)((function(e){return function(e){return e.states.featuresList.metadataDisplay}(e)})),v=Object(ce.c)((function(e){return h(e)})),E=Object(ce.c)((function(e){return R(e)})),j=Object(ce.c)((function(e){return K(e)})),O=Object(ce.c)((function(e){return Y(e)})),x=Object(ce.c)((function(e){return J(e)})),k=Object(ce.c)((function(e){return Z(e)})),C=Object(ce.c)((function(e){return te(e)})),A=Object(ce.c)((function(e){return ee(e)})),I=Object(ce.c)((function(e){return ne(e)})),T=Object(ce.c)((function(e){return d(e)})),N=Object(ce.c)((function(e){return f(e)})),_=Object(ce.c)((function(e){return s(e)})),F=Object(ce.c)((function(e){return q(e)})),z=Object(ce.c)((function(e){return U(e)})),W=Object(ce.c)((function(e){return $(e)}));switch(i){case c.ALL:e=v?k:E,t="primary";break;case c.FAILED:e=v?A:j,t="error";break;case c.PASSED:e=v?C:O,t="success";break;case c.SKIPPED:e=v?I:x,t="warning"}var B,V=e.length,H=e.map((function(e){return e.id})),G=e.filter((function(e){return 0!==e.numFailedScenarios})).length,X=Object(ce.c)((function(e){return Ot(e,{list:H})}));switch(i){case c.ALL:B=X.length;break;case c.FAILED:B=X.reduce((function(e,t){return e+t.failedSteps}),0);break;case c.PASSED:B=X.filter((function(e){return 0===e.failedSteps&&0===e.skippedSteps})).length;break;case c.SKIPPED:B=X.filter((function(e){return 0===e.failedSteps&&0!==e.skippedSteps})).length}var Q=Object(ce.c)((function(e){return m(e)}));e.map((function(e){return e.allTags})).forEach((function(e){return e.map((function(e){return e.name})).forEach((function(e){return!!o.includes(e)||o.push(e)}))}));var re=Object(nt.a)(We.a)((function(e){var t=e.theme;return Object(ge.a)(Object(ge.a)({},t.typography.body2),{},{textAlign:"center",color:t.palette.text.secondary,minWidth:"100%"})}));ot.a.extend(ct.a);var ae=ot.a.duration(l),oe="",ie=ae.days(),le=ae.hours(),ue=ae.minutes(),se=ae.seconds();ie>0&&(oe="".concat(1===ie?ie+" day":ie+" days")),le>0&&(oe+="".concat(1===le?" "+le+" hour ":le+" hours ")),ue>0&&(oe+="".concat(1===ue?(0===se?" and ":" ")+ue+" minute":ue+" minutes")),se>0&&(oe+="".concat(1===se?(oe?" and ":"")+se+" second":(oe?" and ":"")+se+" seconds"));var fe="".concat(V," ").concat(1===V?"Feature":"Features"," and ").concat(B," ").concat(1===B?"Scenario":"Scenarios").concat(i===c.ALL?", "+G+" failed features":"");return P.a.createElement(Ft.a,{disableGutters:!0},P.a.createElement(zt.a,{maxWidth:"100%"},P.a.createElement(M.a,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",spacing:1},P.a.createElement(M.a,{item:!0,xs:2.5},P.a.createElement(re,{elevation:3},P.a.createElement(Nt.a,{freeSolo:!0,clearOnEscape:!0,autoComplete:!1,autoSelect:!0,fullWidth:!0,onChange:function(e,t,r){"clear"===r&&console.log("onchange clear"),n(w({value:t,label:t,type:r}))},onInputChange:function(e,t,r){""===t&&n(w({value:t,label:t,type:r}))},disableClearable:!0,placeholder:"filter by tags",value:v,options:Q.map((function(e){return e.label})),renderInput:function(e){return P.a.createElement(_t.a,Object.assign({},e,{label:"filter by tags, ex.: @tag1 and not (@tag2 or @tag3)",InputProps:Object(ge.a)(Object(ge.a)({},e.InputProps),{},{type:"search"})}))}}))),P.a.createElement(M.a,{item:!0,xs:1},P.a.createElement(Dt.a,{orientation:"vertical"},P.a.createElement(Mt.a,{variant:"outlined",color:"secondary",onClick:function(){n(y())},size:"small",startIcon:P.a.createElement(Rt.a,null)},"tags"),P.a.createElement(Mt.a,{variant:"outlined",color:"secondary",onClick:function(){n(b())},size:"small",startIcon:P.a.createElement(Yt.a,null)},"metadata"))),P.a.createElement(M.a,{item:!0,xs:5,xl:5},P.a.createElement(D.a,{direction:"column"},_.title?P.a.createElement(je.a,{variant:"fullWidth",color:t},P.a.createElement(Wt.a,{label:"".concat(_.title,", ").concat(oe),variant:"outlined",size:"medium",color:t})):null,_.description?P.a.createElement("div",{style:{margin:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},_.description):null)),P.a.createElement(M.a,{item:!0,xs:1.5,xl:1.5,justifyContent:"flex-end"},P.a.createElement(tn,null)),P.a.createElement(M.a,{item:!0,xs:1,justifyContent:"flex-end"},P.a.createElement(Bt.a,null,P.a.createElement(Vt.a,{control:P.a.createElement(Ht.a,{size:"small",checked:"dark"===N,onChange:function(){n(L())}}),label:"theme"}),P.a.createElement(Vt.a,{control:P.a.createElement(ht.a,{title:"Show or hide Before/After steps"},P.a.createElement(Ht.a,{size:"small",checked:!0===T,onChange:function(){n(S())}})),label:"extra steps"}))),P.a.createElement(M.a,{item:!0,xs:1},P.a.createElement(Jt.PieChart,{data:[{title:"Passed",value:z,color:"#28a745"},{title:"Skipped",value:W,color:"#ffc107"},{title:"Failed",value:F,color:"#dc3545"}],style:{height:"4rem"}})),g?P.a.createElement(D.a,{direction:"column"},P.a.createElement(je.a,{variant:"fullWidth",sx:{minWidth:"55vw",maxWidth:"95vw"}},"Metadata"),P.a.createElement(D.a,{direction:"column",spacing:0,alignItems:"start",justifyContent:"center",divider:P.a.createElement(je.a,{orientation:"horizontal",variant:"fullWidth",flexItem:!0}),sx:{display:"flex",flexWrap:"wrap"}},_.metadata?Object.keys(_.metadata).sort().map((function(e){return P.a.createElement("div",{key:a++},e,": ",_.metadata[e])})):P.a.createElement(P.a.Fragment,null))):P.a.createElement(P.a.Fragment,null),u?P.a.createElement(D.a,{direction:"column"},P.a.createElement(je.a,{variant:"fullWidth",sx:{minWidth:"55vw",maxWidth:"95vw"}},"tags"),P.a.createElement(D.a,{direction:"row",spacing:1,alignItems:"center",justifyContent:"center",divider:P.a.createElement(je.a,{orientation:"vertical",variant:"middle",flexItem:!0}),sx:{display:"flex",flexWrap:"wrap"}},o.sort().map((function(e){return P.a.createElement("div",{key:r++},e)})))):P.a.createElement(P.a.Fragment,null)),P.a.createElement(je.a,{variant:"middle",style:{marginBottom:"-15px"}},P.a.createElement(Wt.a,{label:fe,variant:"filled",style:{fontSize:"1.1em"}}))))},rn=n(265),an=Object(F.a)({palette:{mode:"dark"},components:{MuiAppBar:{styleOverrides:{colorPrimary:{backgroundColor:"black"}}}}}),on=Object(F.a)({palette:{mode:"light",background:{default:"#e9e9e9",paper:"#e9e9e9"},darker:{main:"#90a4ae",contrastText:"#263238"}},components:{MuiAppBar:{styleOverrides:{colorPrimary:{backgroundColor:"#90a4ae"}}}}});function cn(e){var t=e.children,n=e.window,r=Object(rn.a)({target:n?n():void 0,disableHysteresis:!0,threshold:100});return P.a.createElement(A.a,{in:r},P.a.createElement(I.a,{onClick:function(e){var t=(e.target.ownerDocument||document).querySelector("#back-to-top-anchor");t&&t.scrollIntoView({block:"center"})},role:"presentation",sx:{position:"fixed",bottom:16,right:16}},t))}var ln=function(e){var t=Object(ce.c)((function(e){return f(e)}));return P.a.createElement("main",{className:"containerFluid"},P.a.createElement(z.a,{theme:"dark"===t?an:on},P.a.createElement(T.a,null,P.a.createElement(N.a,{position:"sticky"},P.a.createElement(nn,null)),P.a.createElement("div",{id:"back-to-top-anchor"}),P.a.createElement(I.a,null,P.a.createElement(Tt,null)),P.a.createElement(cn,e,P.a.createElement(_.a,{size:"small","aria-label":"scroll back to top"},P.a.createElement(mt.a,null))))))};var un=function(){return P.a.createElement(ln,null)},sn=n(30),fn=n.n(sn),dn=n(144),pn=n.n(dn),mn=n(35),hn=n(81);function gn(){gn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(S){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof f?t:f,o=Object.create(a.prototype),i=new O(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return k()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var c=E(i,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=l;var s={};function f(){}function d(){}function p(){}var m={};c(m,a,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(x([])));g&&g!==t&&n.call(g,a)&&(m=g);var v=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,c){var l=u(e[a],e,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function x(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=p,c(v,"constructor",p),c(p,"constructor",d),d.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,s):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;j(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}var vn=function(){return yn.apply(this,arguments)};function yn(){return(yn=Object(r.a)(gn().mark((function e(){var t,n,r;return gn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,console.time("loadJSON"),e.next=4,fetch("./_cucumber-results.json");case 4:return n=e.sent,e.next=7,n.json();case 7:t=e.sent,console.timeEnd("loadJSON"),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log("ERROR: ",e.t0);case 14:return r=Object(mn.b)({features:ie(t.features),scenarios:xt,states:g,steps:Me}),e.abrupt("return",Object(i.a)({reducer:r,middleware:[hn.a],devTools:!1,preloadedState:t}));case 16:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function bn(){bn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(S){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof f?t:f,o=Object.create(a.prototype),i=new O(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return k()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var c=E(i,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=l;var s={};function f(){}function d(){}function p(){}var m={};c(m,a,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(x([])));g&&g!==t&&n.call(g,a)&&(m=g);var v=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,c){var l=u(e[a],e,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function x(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=p,c(v,"constructor",p),c(p,"constructor",d),d.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,s):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;j(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}var En,wn=function(){var e=Object(r.a)(bn().mark((function e(t){var n,r;return bn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("_reporter_settings.json");case 3:return r=e.sent,e.next=6,r.json();case 6:n=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log("ERROR: ",e.t0);case 12:n&&t.dispatch(k(n)),t.dispatch(j());case 14:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}();function jn(){jn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(S){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof f?t:f,o=Object.create(a.prototype),i=new O(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return k()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var c=E(i,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=l;var s={};function f(){}function d(){}function p(){}var m={};c(m,a,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(x([])));g&&g!==t&&n.call(g,a)&&(m=g);var v=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,c){var l=u(e[a],e,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function x(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=p,c(v,"constructor",p),c(p,"constructor",d),d.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,s):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;j(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}var On={filter:{action:function(e){return{type:"states/featuresToggleClicked",payload:{value:e,type:"queryChanged"}}},defaultValue:"",selector:p,stringToValue:function(e){return e},valueToString:function(e){return e}},tags:{action:function(e){return{type:"states/filterByTags",payload:{value:e,type:"queryChanged"}}},defaultValue:"",selector:h,stringToValue:function(e){return e},valueToString:function(e){return e}}};!function(){var e=Object(r.a)(jn().mark((function e(){return jn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,vn();case 2:return En=e.sent,pn()({initialTruth:"location",params:On,replaceState:!0,store:En}),e.next=6,wn(En);case 6:fn.a.render(P.a.createElement(P.a.StrictMode,null,P.a.createElement(ce.a,{store:En},P.a.createElement(un,null))),document.getElementById("root"));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()(),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[162,1,2]]]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cucumber-reactive-reporter",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "A filterable html report generator for cucumberjs written in react",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/unsuspecting-noob/cucumber-reactive-reporter",