froth-webdriverio-framework 1.0.0 → 1.0.2

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.
Files changed (37) hide show
  1. package/api/browsersatckSessionInfo.js +73 -0
  2. package/api/getexecutionDetails.js +130 -0
  3. package/api/getsuiteDetails.js +74 -0
  4. package/api/index.js +18 -0
  5. package/api/loginapi.js +55 -0
  6. package/api/readTestdata.js +61 -0
  7. package/config/android.conf.js +45 -0
  8. package/config/common.mobile.conf.js +48 -0
  9. package/config/commonconfig.js +185 -0
  10. package/config/ios.conf.js +32 -0
  11. package/config/setenvvariable.js +13 -0
  12. package/config/web.conf.bs.js +95 -0
  13. package/config/web.conf.js +70 -0
  14. package/local.log +8 -0
  15. package/mobile/commonMethods/Utils.js +44 -0
  16. package/mobile/commonMethods/clickIfVisible.js +23 -0
  17. package/mobile/commonMethods/getdata.js +38 -0
  18. package/mobile/commonMethods/scrollDownToView.js +12 -0
  19. package/mobile/commonMethods/scrollRightToView.js +12 -0
  20. package/mobile/commonMethods/scrollToBeginning.js +12 -0
  21. package/mobile/commonMethods/scrollToEnd.js +12 -0
  22. package/mobile/commonMethods/scrollToLeft.js +12 -0
  23. package/mobile/commonMethods/scrollToRight.js +12 -0
  24. package/mobile/commonMethods/test.js +19 -0
  25. package/mobile/commonMethods/verifyText.js +28 -0
  26. package/mobile/commonMethods/verifyTextInFieldAttribute.js +17 -0
  27. package/package.json +3 -10
  28. package/.env +0 -4
  29. package/dist/api.bundle.js +0 -3
  30. package/dist/api.bundle.js.LICENSE.txt +0 -252
  31. package/dist/api.bundle.js.map +0 -1
  32. package/dist/config.bundle.js +0 -3
  33. package/dist/config.bundle.js.LICENSE.txt +0 -13
  34. package/dist/config.bundle.js.map +0 -1
  35. package/dist/mobile.bundle.js +0 -3
  36. package/dist/mobile.bundle.js.LICENSE.txt +0 -1
  37. package/dist/mobile.bundle.js.map +0 -1
@@ -1,3 +0,0 @@
1
- /*! For license information please see config.bundle.js.LICENSE.txt */
2
- (()=>{var t={1298:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(){"use strict";r=function(){return n};var t,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var y="suspendedStart",d="suspendedYield",v="executing",g="completed",m={};function w(){}function b(){}function E(){}var x={};h(x,s,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==o&&i.call(S,s)&&(x=S);var L=E.prototype=w.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,r){function n(o,a,c,s){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==e(h)&&i.call(h,"__await")?r.resolve(h.__await).then((function(t){n("next",t,c,s)}),(function(t){n("throw",t,c,s)})):r.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return n("throw",t,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=R(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?g:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(r){if(r||""===r){var n=r[s];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(i.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return a.next=a}}throw new TypeError(e(r)+" is not iterable")}return b.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=h(E,l,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,h(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},n.awrap=function(t){return{__await:t}},O(I.prototype),h(I.prototype,u,(function(){return this})),n.AsyncIterator=I,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var a=new I(f(t,e,r,o),i);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),h(L,l,"Generator"),h(L,s,(function(){return this})),h(L,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=P,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},n}function n(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function o(){var t;return t=r().mark((function t(e,n,o){var i,a,c,s,u,l,h,f;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o,a=btoa("".concat(n,":").concat(i)),t.prev=3,c=browser.sessionId,console.log("Session ID: ".concat(c)),s="https://api.browserstack.com/".concat(e,"/sessions/").concat(c,".json"),t.next=9,fetch(s,{method:"GET",headers:{Authorization:"Basic ".concat(a)}});case 9:if(!(u=t.sent).ok){t.next=20;break}return t.next=13,u.json();case 13:l=t.sent,console.log("Session Info:",l),h=l.automation_session.public_url,BUFFER.setItem("BS_PUBLIC_URL",h),console.log("public url : "+h),t.next=29;break;case 20:if(401!==u.status){t.next=24;break}console.log("Unauthorized, token expired"),t.next=29;break;case 24:return t.next=26,u.text();case 26:throw f=t.sent,console.error("Data fetch failed response:",f),new Error("HTTP error! status: ".concat(u.status));case 29:t.next=34;break;case 31:t.prev=31,t.t0=t.catch(3),console.error("Error fetching data:",t.t0);case 34:case"end":return t.stop()}}),t,null,[[3,31]])})),o=function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,s,"next",t)}function s(t){n(a,o,i,c,s,"throw",t)}c(void 0)}))},o.apply(this,arguments)}t.exports=function(t,e,r){return o.apply(this,arguments)}},7500:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){"use strict";o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var y="suspendedStart",d="suspendedYield",v="executing",g="completed",m={};function w(){}function b(){}function E(){}var x={};h(x,s,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==r&&i.call(S,s)&&(x=S);var L=E.prototype=w.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function r(o,a,c,s){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==n(h)&&i.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,c,s)}),(function(t){r("throw",t,c,s)})):e.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=R(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?g:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(i.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=h(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,h(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(I.prototype),h(I.prototype,u,(function(){return this})),e.AsyncIterator=I,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new I(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),h(L,l,"Generator"),h(L,s,(function(){return this})),h(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,s,"next",t)}function s(t){i(a,n,o,c,s,"throw",t)}c(void 0)}))}}var c=r(6121);function s(t,e,r){return u.apply(this,arguments)}function u(){return(u=a(o().mark((function t(e,r,n){var i,a,u,l,h,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i={},0==n){t.next=37;break}return a="https://".concat(e,"/api/test-execution-retrieve/").concat(n),t.prev=3,t.next=6,fetch(a,{method:"GET",headers:{Authorization:"Bearer ".concat(r),"Content-Type":"application/json"}});case 6:if(!(u=t.sent).ok){t.next=18;break}return t.next=10,u.json();case 10:return l=t.sent,console.log(l),i.automation_suite_id=l.automation_suite_id,i.test_cycle_id=l.test_cycle_id,console.log("json data :"+JSON.stringify(i)),t.abrupt("return",i);case 18:if(401!==u.status){t.next=25;break}return t.next=21,c(BUFFER.getItem("SERVICE_USER"),BUFFER.getItem("SERVICE_PASSWORD"));case 21:return h=t.sent,t.abrupt("return",s(e,h,n));case 25:return t.next=27,u.text();case 27:throw f=t.sent,console.error("Data fetch failed response:",f),new Error("HTTP error! status: ".concat(u.status));case 30:t.next=35;break;case 32:t.prev=32,t.t0=t.catch(3),console.error("Error fetching data:",t.t0);case 35:t.next=38;break;case 37:console.error("Error fetching data: Invalid ID");case 38:case"end":return t.stop()}}),t,null,[[3,32]])})))).apply(this,arguments)}function l(t,e,r,n){return h.apply(this,arguments)}function h(){return(h=a(o().mark((function t(e,r,n,i){var a,s,u,h,f,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0==n){t.next=37;break}return a="https://".concat(e,"/api/test-execution-update/").concat(n,"/"),t.prev=2,console.log("resultdetails"+JSON.stringify(i)),(s=new FormData).append("excution_status",i.excution_status),s.append("excution_time",i.excution_time),s.append("id",BUFFER.getItem("EXECUTION_ID")),t.next=10,fetch(a,{method:"PUT",headers:{Authorization:"Bearer ".concat(r)},body:s});case 10:if(!(u=t.sent).ok){t.next=18;break}return t.next=14,u.json();case 14:h=t.sent,console.log(h),t.next=30;break;case 18:if(401!==u.status){t.next=25;break}return t.next=21,c(BUFFER.getItem("SERVICE_USER"),BUFFER.getItem("SERVICE_PASSWORD"));case 21:return f=t.sent,t.abrupt("return",l(e,f,n,i));case 25:return t.next=27,u.text();case 27:throw p=t.sent,console.error("Data fetch failed response:",p),new Error("HTTP error! status: ".concat(u.status));case 30:t.next=35;break;case 32:t.prev=32,t.t0=t.catch(2),console.error("Error fetching data:",t.t0);case 35:t.next=38;break;case 37:console.error("Error fetching data: Invalid ID");case 38:case"end":return t.stop()}}),t,null,[[2,32]])})))).apply(this,arguments)}t.exports={getExecuitonDetails:s,updateExecuitonDetails:l}},2314:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){"use strict";o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var y="suspendedStart",d="suspendedYield",v="executing",g="completed",m={};function w(){}function b(){}function E(){}var x={};h(x,s,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==r&&i.call(S,s)&&(x=S);var L=E.prototype=w.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function r(o,a,c,s){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==n(h)&&i.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,c,s)}),(function(t){r("throw",t,c,s)})):e.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=R(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?g:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(i.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=h(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,h(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(I.prototype),h(I.prototype,u,(function(){return this})),e.AsyncIterator=I,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new I(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),h(L,l,"Generator"),h(L,s,(function(){return this})),h(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}var a=r(6121);function c(t,e,r){return s.apply(this,arguments)}function s(){var t;return t=o().mark((function t(e,r,n){var i,s,u,l,h,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i={},0==n){t.next=38;break}return s="https://".concat(e,"/api/automationsuite-retrieve/").concat(n,"/"),t.prev=3,t.next=6,fetch(s,{method:"GET",headers:{Authorization:"Bearer ".concat(r),"Content-Type":"application/json"}});case 6:if(!(u=t.sent).ok){t.next=19;break}return t.next=10,u.json();case 10:return l=t.sent,console.log(l),i.automation_suite_id=l.id,i.automation_suite_name=l.automation_suite_name,i.test_data_id=l.test_data_id,console.log("json data :"+JSON.stringify(i)),t.abrupt("return",i);case 19:if(401!==u.status){t.next=26;break}return t.next=22,a(BUFFER.getItem("SERVICE_USER"),BUFFER.getItem("SERVICE_PASSWORD"));case 22:return h=t.sent,t.abrupt("return",c(e,h,n));case 26:return t.next=28,u.text();case 28:throw f=t.sent,console.error("Data fetch failed response:",f),new Error("HTTP error! status: ".concat(u.status));case 31:t.next=36;break;case 33:t.prev=33,t.t0=t.catch(3),console.error("Error fetching data:",t.t0);case 36:t.next=39;break;case 38:console.error("Error fetching data: Invalid ID");case 39:case"end":return t.stop()}}),t,null,[[3,33]])})),s=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,s,"next",t)}function s(t){i(a,n,o,c,s,"throw",t)}c(void 0)}))},s.apply(this,arguments)}t.exports=c},6121:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(){"use strict";r=function(){return n};var t,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var y="suspendedStart",d="suspendedYield",v="executing",g="completed",m={};function w(){}function b(){}function E(){}var x={};h(x,s,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==o&&i.call(S,s)&&(x=S);var L=E.prototype=w.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,r){function n(o,a,c,s){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==e(h)&&i.call(h,"__await")?r.resolve(h.__await).then((function(t){n("next",t,c,s)}),(function(t){n("throw",t,c,s)})):r.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return n("throw",t,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=R(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?g:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(r){if(r||""===r){var n=r[s];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(i.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return a.next=a}}throw new TypeError(e(r)+" is not iterable")}return b.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=h(E,l,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,h(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},n.awrap=function(t){return{__await:t}},O(I.prototype),h(I.prototype,u,(function(){return this})),n.AsyncIterator=I,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var a=new I(f(t,e,r,o),i);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),h(L,l,"Generator"),h(L,s,(function(){return this})),h(L,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=P,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},n}function n(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function o(){var t;return t=r().mark((function t(e,n,o){var i,a,c,s;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i="https://".concat(e,"/api/login/"),(a=new FormData).append("email",n),a.append("password",Buffer.from(o,"base64").toString("utf-8")),t.next=6,fetch(i,{method:"POST",headers:{accept:"application/json"},body:a});case 6:if(!(c=t.sent).ok){t.next=15;break}return t.next=10,c.json();case 10:return s=t.sent,console.log("Token:",s.access_token),t.abrupt("return",s.access_token);case 15:return console.error("Login failed:",c.statusText),t.abrupt("return",null);case 17:case"end":return t.stop()}}),t)})),o=function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,s,"next",t)}function s(t){n(a,o,i,c,s,"throw",t)}c(void 0)}))},o.apply(this,arguments)}t.exports=function(t,e,r){return o.apply(this,arguments)}},9782:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){"use strict";o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var y="suspendedStart",d="suspendedYield",v="executing",g="completed",m={};function w(){}function b(){}function E(){}var x={};h(x,s,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==r&&i.call(S,s)&&(x=S);var L=E.prototype=w.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function r(o,a,c,s){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==n(h)&&i.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,c,s)}),(function(t){r("throw",t,c,s)})):e.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=R(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?g:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(i.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=h(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,h(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(I.prototype),h(I.prototype,u,(function(){return this})),e.AsyncIterator=I,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new I(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),h(L,l,"Generator"),h(L,s,(function(){return this})),h(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function a(t,e,r){return c.apply(this,arguments)}function c(){var t;return t=o().mark((function t(e,r,n){var i,c,s,u,l,h,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0==n){t.next=34;break}return i="https://".concat(e,"/api/testdata-retrieve/").concat(n,"/"),t.prev=2,t.next=5,fetch(i,{method:"GET",headers:{Authorization:"Bearer ".concat(r),"Content-Type":"application/json"}});case 5:if(!(c=t.sent).ok){t.next=15;break}return t.next=9,c.json();case 9:return s=t.sent,u=s.key_value_data,l=u.reduce((function(t,e){return t[e.key]=e.value,BUFFER.setItem(e.key,e.value),t}),{}),t.abrupt("return",l);case 15:if(401!==c.status){t.next=22;break}return t.next=18,getLoginToken(BUFFER.getItem("SERVICE_USER"),BUFFER.getItem("SERVICE_PASSWORD"));case 18:return h=t.sent,t.abrupt("return",a(e,h,n));case 22:return t.next=24,c.text();case 24:throw f=t.sent,console.error("Data fetch failed response:",f),new Error("HTTP error! status: ".concat(c.status));case 27:t.next=32;break;case 29:t.prev=29,t.t0=t.catch(2),console.error("Error fetching data:",t.t0);case 32:t.next=35;break;case 34:console.error("Error fetching data: Invalid ID");case 35:case"end":return t.stop()}}),t,null,[[2,29]])})),c=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,s,"next",t)}function s(t){i(a,n,o,c,s,"throw",t)}c(void 0)}))},c.apply(this,arguments)}r(6121),t.exports=a},8405:(t,e,r)=>{var n=r(4744),o=r(8553);console.log("BUILD_NUMBER:",process.env.BUILD_NUMBER);var i=n.all([o,{services:[["browserstack",{testObservability:!0,buildName:"ANDROID BUILD 1",buildIdentifier:process.env.BUILD_NUMBER||"default_build_identifier",browserstackLocal:!1,opts:{forcelocal:!1},app:process.env.BROWSERSTACK_APP_PATH||"bs://a224145c09eb22e67c21ef65b29d32ae7aa78bb0"}]],capabilities:[{"bstack:options":{deviceName:process.env.DEVICENAME||"Samsung Galaxy A11",platformVersion:process.env.OSVERSION||"10.0",platformName:"android",interactiveDebugging:!0}}]}]);t.exports=i},8553:(t,e,r)=>{var n=r(4744),o=r(1683),i=n.all([o,{user:process.env.BROWSERSTACK_USERNAME||"naveen_OSt3Pw",key:process.env.BROWSERSTACK_ACCESS_KEY||"AuzPy8cHZ7sCBmMXakKe",exclude:[],logLevel:"info",coloredLogs:!0,screenshotPath:"./errorShots/",baseUrl:"",waitforTimeout:9e4,connectionRetryTimeout:9e4,connectionRetryCount:3,framework:"mocha",mochaOpts:{ui:"bdd",timeout:9e4},maxInstances:10,updateJob:!1,reporters:["spec"],commonCapabilities:{"bstack:options":{projectName:process.env.PROJECTNAME||"roboticodigital",sessionName:"Automation test session",debug:!0,networkLogs:!0}}}]);t.exports=i},1683:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(){"use strict";o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var y="suspendedStart",d="suspendedYield",v="executing",g="completed",m={};function w(){}function b(){}function E(){}var x={};h(x,s,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==r&&i.call(S,s)&&(x=S);var L=E.prototype=w.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function r(o,a,c,s){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==n(h)&&i.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,c,s)}),(function(t){r("throw",t,c,s)})):e.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,r,n){var o=y;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=R(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?g:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(i.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=h(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,h(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(I.prototype),h(I.prototype,u,(function(){return this})),e.AsyncIterator=I,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new I(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),h(L,l,"Generator"),h(L,s,(function(){return this})),h(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function i(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}var a=r(9782),c=r(7500),s=r(6121),u=r(2314),l=r(4346).LocalStorage;global.BUFFER=new l("./storage");var h,f,p=r(1298),y={onPrepare:(h=o().mark((function t(e,r){var n,i,l,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return BUFFER.setItem("TOTAL_DURATION",0),BUFFER.setItem("EXECUTION_ID",process.env.EXECUTION_ID),BUFFER.setItem("organisation_url",process.env.organisation_url),BUFFER.setItem("SERVICE_USER","subhra.subudhi@roboticodigital.com"),BUFFER.setItem("SERVICE_PASSWORD","V2VsY29tZUAxMjM="),BUFFER.setItem("BROWSERSTACK_USERNAME",process.env.BROWSERSTACK_USERNAME),BUFFER.setItem("BROWSERSTACK_ACCESS_KEY",process.env.BROWSERSTACK_ACCESS_KEY),t.next=9,s(BUFFER.getItem("organisation_url"),BUFFER.getItem("SERVICE_USER"),BUFFER.getItem("SERVICE_PASSWORD"));case 9:return n=t.sent,process.env.LOGIN_TOKEN=n,BUFFER.setItem("LOGIN_TOKEN",n),t.next=14,c.getExecuitonDetails(BUFFER.getItem("organisation_url"),n,BUFFER.getItem("EXECUTION_ID"));case 14:if(null==(i=t.sent).automation_suite_id){t.next=24;break}return t.next=18,u(BUFFER.getItem("organisation_url"),n,i.automation_suite_id);case 18:if(null==(l=t.sent).test_data_id){t.next=24;break}return t.next=22,a(BUFFER.getItem("organisation_url"),n,l.test_data_id);case 22:null==(h=t.sent)?console.log("Test data is not available"):BUFFER.setItem("BUFFER",JSON.stringify(h));case 24:case"end":return t.stop()}}),t)})),f=function(){var t=this,e=arguments;return new Promise((function(r,n){var o=h.apply(t,e);function a(t){i(o,r,n,a,c,"next",t)}function c(t){i(o,r,n,a,c,"throw",t)}a(void 0)}))},function(t,e){return f.apply(this,arguments)}),before:function(t,e){console.log("Starting test suite IN EBFORE HOOK ...")},beforeSuite:function(t){try{console.log("Running suite:",t.title),console.log("Reading test data from the API"),p("app-automate",BUFFER.getItem("BROWSERSTACK_USERNAME"),BUFFER.getItem("BROWSERSTACK_ACCESS_KEY"))}catch(t){console.log("Error in beforeSuite:",t)}},beforeTest:function(t,e){console.log("Test Name:",t.title),console.log("File Name:",t.file)},afterStep:function(t,e,r){r.error,r.result,r.duration,r.passed,r.retries},afterTest:function(t,e,r){var n=r.error,o=r.result,i=r.duration,a=r.passed;r.retries,console.log("Test '".concat(t.title,"' finished.")),BUFFER.setItem("TOTAL_DURATION",Number(BUFFER.getItem("TOTAL_DURATION"))+i),console.log("Duration: ".concat(i,"ms")),console.log("Passed: ".concat(a)),a&&console.log("Result for '".concat(t.title,"' : ").concat(o)),n&&console.error("Error: ".concat(n.message)),console.log("---------------------------------------")},afterSuite:function(t){console.log("Test suite '".concat(t.title,"' has ended."))},after:function(t,e,r){console.log("All tests are done.");var n=0===t?"Pass":"Fail";console.log("Result: ".concat(n));var o,i,a,s,u,l={};l.excution_status="Pass"===n?"PASSED":"FAILED",l.excution_time=(o=BUFFER.getItem("TOTAL_DURATION"),i=parseInt(o.replace("ms","").trim()),a=Math.floor(i/1e3),s=Math.floor(a/60),u=Math.floor(s/60),a%=60,s%=60,u=String(u).padStart(2,"0"),s=String(s).padStart(2,"0"),a=String(a).padStart(2,"0"),"".concat(u,":").concat(s,":").concat(a)),c.updateExecuitonDetails(BUFFER.getItem("organisation_url"),BUFFER.getItem("LOGIN_TOKEN"),BUFFER.getItem("EXECUTION_ID"),l),BUFFER.clear(),console.log("Local storage has been cleared.")}};t.exports=y},1743:(t,e,r)=>{var n=r(4744),o=r(8553),i=n.all([o,{services:[["browserstack",{testObservability:!0,buildName:"IOS",buildIdentifier:"BUILD",browserstackLocal:!1,opts:{forcelocal:!1,localIdentifier:"webdriverio-appium"},app:process.env.BROWSERSTACK_APP_PATH||"bs://d6588d0899a2ac5c485d4784af9ad28d06b98c44"}]],capabilities:[{"bstack:options":{deviceName:process.env.DEVICENAME||"iPhone 15 Pro Max1",osVersion:process.env.OSVERSION||"17",interactiveDebugging:!0}}]}]);t.exports=i},2487:(t,e,r)=>{var n,o,i=r(9896);n=r(6928).resolve(__dirname,"data.json"),o=JSON.parse(i.readFileSync(n,"utf-8")),Object.keys(o).forEach((function(t){process.env[t.toUpperCase()]=o[t]}))},4821:t=>{config={user:"prabathkumar_qavxGX",key:"RvqEi62rhwa5QwGJtweZ",browserstackLocal:!0,opts:{forceLocal:!0},services:[["browserstack",{testObservability:!0,testObservabilityOptions:{user:"prabathkumar_qavxGX",key:"RvqEi62rhwa5QwGJtweZ",projectName:"YTL_AF",buildName:"YTL_AF_WEBDRIVERIO",buildTag:"YTL_AF_WEBDRIVERIO"}}]],capabilities:[{browserName:"chrome",browserVersion:"latest",os:"Windows",os_version:"10",resolution:"1920x1080","browserstack.networkLogs":!0,"browserstack.video":!0}],logLevel:"info",bail:0,baseUrl:"",waitforTimeout:6e4,connectionRetryTimeout:9e4,connectionRetryCount:3,framework:"mocha",reporters:["spec"],before:function(t,e){browser.maximizeWindow()},after:function(t,e){error&&browser.takeScreenshot()},browserstackOpts:{},mochaOpts:{ui:"bdd",timeout:6e4}},t.exports=config},2754:t=>{var e={capabilities:[{maxInstances:5,browserName:"chrome",acceptInsecureCerts:!0}],logLevel:"info",bail:0,baseUrl:"",waitforTimeout:6e4,connectionRetryTimeout:9e4,connectionRetryCount:3,framework:"mocha",reporters:["spec"],before:function(t,e){var r=(new Date).toISOString().replace(/[:.]/g,"");browser.saveScreenshot("./screenshot_"+r+".png")},after:function(t,e){var r=(new Date).toISOString().replace(/[:.]/g,"");browser.saveScreenshot("./screenshot_"+r+".png")},browserstackOpts:{},mochaOpts:{ui:"bdd",timeout:6e4}};t.exports=e},4744:t=>{"use strict";var e=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===r}(t)}(t)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(t,e){return!1!==e.clone&&e.isMergeableObject(t)?c((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function o(t,e,r){return t.concat(e).map((function(t){return n(t,r)}))}function i(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return Object.propertyIsEnumerable.call(t,e)})):[]}(t))}function a(t,e){try{return e in t}catch(t){return!1}}function c(t,r,s){(s=s||{}).arrayMerge=s.arrayMerge||o,s.isMergeableObject=s.isMergeableObject||e,s.cloneUnlessOtherwiseSpecified=n;var u=Array.isArray(r);return u===Array.isArray(t)?u?s.arrayMerge(t,r,s):function(t,e,r){var o={};return r.isMergeableObject(t)&&i(t).forEach((function(e){o[e]=n(t[e],r)})),i(e).forEach((function(i){(function(t,e){return a(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,i)||(a(t,i)&&r.isMergeableObject(e[i])?o[i]=function(t,e){if(!e.customMerge)return c;var r=e.customMerge(t);return"function"==typeof r?r:c}(i,r)(t[i],e[i],r):o[i]=n(e[i],r))})),o}(t,r,s):n(r,s)}c.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return c(t,r,e)}),{})};var s=c;t.exports=s},4799:t=>{!function(){var e;function r(t,n){var o=this instanceof r?this:e;if(o.reset(n),"string"==typeof t&&t.length>0&&o.hash(t),o!==this)return o}r.prototype.hash=function(t){var e,r,n,o,i;switch(i=t.length,this.len+=i,r=this.k1,n=0,this.rem){case 0:r^=i>n?65535&t.charCodeAt(n++):0;case 1:r^=i>n?(65535&t.charCodeAt(n++))<<8:0;case 2:r^=i>n?(65535&t.charCodeAt(n++))<<16:0;case 3:r^=i>n?(255&t.charCodeAt(n))<<24:0,r^=i>n?(65280&t.charCodeAt(n++))>>8:0}if(this.rem=i+this.rem&3,(i-=this.rem)>0){for(e=this.h1;e=5*(e=(e^=r=13715*(r=(r=11601*r+3432906752*(65535&r)&4294967295)<<15|r>>>17)+461832192*(65535&r)&4294967295)<<13|e>>>19)+3864292196&4294967295,!(n>=i);)r=65535&t.charCodeAt(n++)^(65535&t.charCodeAt(n++))<<8^(65535&t.charCodeAt(n++))<<16,r^=(255&(o=t.charCodeAt(n++)))<<24^(65280&o)>>8;switch(r=0,this.rem){case 3:r^=(65535&t.charCodeAt(n+2))<<16;case 2:r^=(65535&t.charCodeAt(n+1))<<8;case 1:r^=65535&t.charCodeAt(n)}this.h1=e}return this.k1=r,this},r.prototype.result=function(){var t,e;return t=this.k1,e=this.h1,t>0&&(e^=t=13715*(t=(t=11601*t+3432906752*(65535&t)&4294967295)<<15|t>>>17)+461832192*(65535&t)&4294967295),e^=this.len,e=51819*(e^=e>>>16)+2246770688*(65535&e)&4294967295,e=44597*(e^=e>>>13)+3266445312*(65535&e)&4294967295,(e^=e>>>16)>>>0},r.prototype.reset=function(t){return this.h1="number"==typeof t?t:0,this.rem=this.k1=this.len=0,this},e=new r,t.exports=r}()},4346:function(t,e,r){(function(){var t,n,o,i,a,c,s,u,l,h,f,p,y,d;y=r(6928),p=r(9896),f=r(4434),d=r(577).sync,n="---.EMPTY_STRING.---",s=function(t){var e,r,n,o,i;for(i=[],e=0,r=(o=p.readdirSync(t)).length;e<r;e++)n=o[e],i.push(l(y.join(t,n)));return i},l=function(t){return p.statSync(t).isDirectory()?(s(t),p.rmdirSync(t)):p.unlinkSync(t)},u=function(t){return""===t?n:`${t}`},a=class extends Error{constructor(t="Unknown error."){super(),this.message=t,null!=Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}toString(){return`${this.name}: ${this.message}`}},c=class{constructor(t,e,r,n,o="localStorage"){this.key=t,this.oldValue=e,this.newValue=r,this.url=n,this.storageArea=o}},i=class t{constructor(e,r){if(this.key=e,this.index=r,!(this instanceof t))return new t(this.key,this.index)}},h=function(){var t;return(t=function(){}).prototype=Object.create(null),new t},o=function(){var t;class e extends f.EventEmitter{constructor(r,o=5242880){var i;return super(),this._location=r,this.quota=o,this instanceof e?(this._location=y.resolve(this._location),null!=t[this._location]?t[this._location]:(this.length=0,this._bytesInUse=0,this._keys=[],this._metaKeyMap=h(),this._eventUrl="pid:"+process.pid,this._init(),this._QUOTA_EXCEEDED_ERR=a,"undefined"!=typeof Proxy&&null!==Proxy?(i={set:(t,e,r)=>(null!=this[e]?this[e]=r:this.setItem(e,r),!0),get:(t,e)=>null!=this[e]?this[e]:this.getItem(e),ownKeys:t=>this._keys.map((function(t){return t===n?"":t})),getOwnPropertyDescriptor:(t,e)=>({value:this[e],enumerable:!0,configurable:!0})},t[this._location]=new Proxy(this,i),t[this._location]):(t[this._location]=this,t[this._location]))):new e(this._location,this.quota)}_init(){var t,e;try{if(null!=(e=p.statSync(this._location))&&!e.isDirectory())throw new Error(`A file exists at the location '${this._location}' when trying to create/open localStorage`);this._sync()}catch(e){if("ENOENT"!==(t=e).code)throw t;try{p.mkdirSync(this._location,{recursive:!0})}catch(e){if("EEXIST"!==(t=e).code)throw t}}}_sync(){var t,e,r,n,o,a,c,s;for(this._bytesInUse=0,this.length=0,o=n=0,c=(r=p.readdirSync(this._location)).length;n<c;o=++n)a=r[o],e=decodeURIComponent(a),this._keys.push(e),t=new i(a,o),this._metaKeyMap[e]=t,null!=(null!=(s=this._getStat(a))?s.size:void 0)&&(t.size=s.size,this._bytesInUse+=s.size);return this.length=r.length}setItem(t,e){var r,n,o,s,l,h,f,p,v,g;if(p=null,(l=this.listenerCount("storage"))&&(p=this.getItem(t)),t=u(t),r=encodeURIComponent(t).replace(/[!'()]/g,escape).replace(/\*/g,"%2A"),s=y.join(this._location,r),g=(v=`${e}`).length,f=(o=!!(h=this._metaKeyMap[t]))?h.size:0,this._bytesInUse-f+g>this.quota)throw new a;if(d(s,v,{encoding:"utf8"}),o||((h=new i(r,this._keys.push(t)-1)).size=g,this._metaKeyMap[t]=h,this.length+=1,this._bytesInUse+=g),l)return n=new c(t,p,e,this._eventUrl),this.emit("storage",n)}getItem(t){var e,r;return t=u(t),(r=this._metaKeyMap[t])?(e=y.join(this._location,r.key),p.readFileSync(e,"utf8")):null}_getStat(t){var e;t=u(t),e=y.join(this._location,encodeURIComponent(t));try{return p.statSync(e)}catch(t){return null}}removeItem(t){var e,r,n,o,i,a,s,h;if(t=u(t),a=this._metaKeyMap[t]){for(o in s=null,(n=this.listenerCount("storage"))&&(s=this.getItem(t)),delete this._metaKeyMap[t],this.length-=1,this._bytesInUse-=a.size,r=y.join(this._location,a.key),this._keys.splice(a.index,1),h=this._metaKeyMap)h[o],(i=this._metaKeyMap[o]).index>a.index&&(i.index-=1);if(l(r),n)return e=new c(t,s,null,this._eventUrl),this.emit("storage",e)}}key(t){var e;return(e=this._keys[t])===n?"":e}clear(){var t;if(s(this._location),this._metaKeyMap=h(),this._keys=[],this.length=0,this._bytesInUse=0,this.listenerCount("storage"))return t=new c(null,null,null,this._eventUrl),this.emit("storage",t)}_getBytesInUse(){return this._bytesInUse}_deleteLocation(){return delete t[this._location],l(this._location),this._metaKeyMap={},this._keys=[],this.length=0,this._bytesInUse=0}}return t={},e}.call(this),t=class extends o{setItem(t,e){var r;return r=JSON.stringify(e),super.setItem(t,r)}getItem(t){return JSON.parse(super.getItem(t))}},e.LocalStorage=o,e.JSONStorage=t,e.QUOTA_EXCEEDED_ERR=a}).call(this)},577:(t,e,r)=>{"use strict";t.exports=async function(t,e,r,o){r instanceof Function&&(o=r,r={});const u=async function(t,e,r={}){let o,u;"string"==typeof r&&(r={encoding:r});const l=i(f((()=>u))),y=a.resolve(t);try{await function(t){return new Promise((e=>{s[t]||(s[t]=[]),s[t].push(e),1===s[t].length&&e()}))}(y);const i=await c(n.realpath)(t).catch((()=>t));if(u=h(i),!r.mode||!r.chown){const t=await c(n.stat)(i).catch((()=>{}));t&&(null==r.mode&&(r.mode=t.mode),null==r.chown&&process.getuid&&(r.chown={uid:t.uid,gid:t.gid}))}o=await c(n.open)(u,"w",r.mode),r.tmpfileCreated&&await r.tmpfileCreated(u),ArrayBuffer.isView(e)?await c(n.write)(o,e,0,e.length,0):null!=e&&await c(n.write)(o,String(e),0,String(r.encoding||"utf8")),!1!==r.fsync&&await c(n.fsync)(o),await c(n.close)(o),o=null,r.chown&&await c(n.chown)(u,r.chown.uid,r.chown.gid).catch((t=>{if(!p(t))throw t})),r.mode&&await c(n.chmod)(u,r.mode).catch((t=>{if(!p(t))throw t})),await c(n.rename)(u,i)}finally{o&&await c(n.close)(o).catch((()=>{})),l(),await c(n.unlink)(u).catch((()=>{})),s[y].shift(),s[y].length>0?s[y][0]():delete s[y]}}(t,e,r);if(o)try{return o(await u)}catch(t){return o(t)}return u},t.exports.sync=function(t,e,r){"string"==typeof r?r={encoding:r}:r||(r={});try{t=n.realpathSync(t)}catch(t){}const o=h(t);if(!r.mode||!r.chown)try{const e=n.statSync(t);(r=Object.assign({},r)).mode||(r.mode=e.mode),!r.chown&&process.getuid&&(r.chown={uid:e.uid,gid:e.gid})}catch(t){}let a;const c=f(o),s=i(c);let u=!0;try{if(a=n.openSync(o,"w",r.mode||438),r.tmpfileCreated&&r.tmpfileCreated(o),ArrayBuffer.isView(e)?n.writeSync(a,e,0,e.length,0):null!=e&&n.writeSync(a,String(e),0,String(r.encoding||"utf8")),!1!==r.fsync&&n.fsyncSync(a),n.closeSync(a),a=null,r.chown)try{n.chownSync(o,r.chown.uid,r.chown.gid)}catch(t){if(!p(t))throw t}if(r.mode)try{n.chmodSync(o,r.mode)}catch(t){if(!p(t))throw t}n.renameSync(o,t),u=!1}finally{if(a)try{n.closeSync(a)}catch(t){}s(),u&&c()}},t.exports._getTmpname=h,t.exports._cleanupOnExit=f;const n=r(9896),o=r(4799),{onExit:i}=r(3203),a=r(6928),{promisify:c}=r(9023),s={},u=function(){try{return r(8167).threadId}catch(t){return 0}}();let l=0;function h(t){return t+"."+o(__filename).hash(String(process.pid)).hash(String(u)).hash(String(++l)).result()}function f(t){return()=>{try{n.unlinkSync("function"==typeof t?t():t)}catch{}}}function p(t){return"ENOSYS"===t.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==t.code&&"EPERM"!==t.code)}},4434:t=>{"use strict";t.exports=require("events")},9896:t=>{"use strict";t.exports=require("fs")},6928:t=>{"use strict";t.exports=require("path")},9023:t=>{"use strict";t.exports=require("util")},8167:t=>{"use strict";t.exports=require("worker_threads")},3203:(t,e,r)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.unload=e.load=e.onExit=e.signals=void 0;const o=r(6582);Object.defineProperty(e,"signals",{enumerable:!0,get:function(){return o.signals}});const i=t=>!!t&&"object"==typeof t&&"function"==typeof t.removeListener&&"function"==typeof t.emit&&"function"==typeof t.reallyExit&&"function"==typeof t.listeners&&"function"==typeof t.kill&&"number"==typeof t.pid&&"function"==typeof t.on,a=Symbol.for("signal-exit emitter"),c=globalThis,s=Object.defineProperty.bind(Object);class u{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(c[a])return c[a];s(c,a,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(t,e){this.listeners[t].push(e)}removeListener(t,e){const r=this.listeners[t],n=r.indexOf(e);-1!==n&&(0===n&&1===r.length?r.length=0:r.splice(n,1))}emit(t,e,r){if(this.emitted[t])return!1;this.emitted[t]=!0;let n=!1;for(const o of this.listeners[t])n=!0===o(e,r)||n;return"exit"===t&&(n=this.emit("afterExit",e,r)||n),n}}class l{}const h=globalThis.process;var f;f=i(h)?new class extends l{#t="win32"===h.platform?"SIGINT":"SIGHUP";#e=new u;#r;#n;#o;#i={};#a=!1;constructor(t){super(),this.#r=t,this.#i={};for(const e of o.signals)this.#i[e]=()=>{const r=this.#r.listeners(e);let{count:n}=this.#e;const o=t;if("object"==typeof o.__signal_exit_emitter__&&"number"==typeof o.__signal_exit_emitter__.count&&(n+=o.__signal_exit_emitter__.count),r.length===n){this.unload();const r=this.#e.emit("exit",null,e),n="SIGHUP"===e?this.#t:e;r||t.kill(t.pid,n)}};this.#o=t.reallyExit,this.#n=t.emit}onExit(t,e){if(!i(this.#r))return()=>{};!1===this.#a&&this.load();const r=e?.alwaysLast?"afterExit":"exit";return this.#e.on(r,t),()=>{this.#e.removeListener(r,t),0===this.#e.listeners.exit.length&&0===this.#e.listeners.afterExit.length&&this.unload()}}load(){if(!this.#a){this.#a=!0,this.#e.count+=1;for(const t of o.signals)try{const e=this.#i[t];e&&this.#r.on(t,e)}catch(t){}this.#r.emit=(t,...e)=>this.#c(t,...e),this.#r.reallyExit=t=>this.#s(t)}}unload(){this.#a&&(this.#a=!1,o.signals.forEach((t=>{const e=this.#i[t];if(!e)throw new Error("Listener not defined for signal: "+t);try{this.#r.removeListener(t,e)}catch(t){}})),this.#r.emit=this.#n,this.#r.reallyExit=this.#o,this.#e.count-=1)}#s(t){return i(this.#r)?(this.#r.exitCode=t||0,this.#e.emit("exit",this.#r.exitCode,null),this.#o.call(this.#r,this.#r.exitCode)):0}#c(t,...e){const r=this.#n;if("exit"===t&&i(this.#r)){"number"==typeof e[0]&&(this.#r.exitCode=e[0]);const n=r.call(this.#r,t,...e);return this.#e.emit("exit",this.#r.exitCode,null),n}return r.call(this.#r,t,...e)}}(h):new class extends l{onExit(){return()=>{}}load(){}unload(){}},n={onExit:(t,e)=>f.onExit(t,e),load:()=>f.load(),unload:()=>f.unload()},e.onExit=n.onExit,e.load=n.load,e.unload=n.unload},6582:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.signals=void 0,e.signals=[],e.signals.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&e.signals.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.signals.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT")}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r(2754),r(4821),r(2487),r(1743),r(1683),r(8553);var n=r(8405);module.exports=n})();
3
- //# sourceMappingURL=config.bundle.js.map
@@ -1,13 +0,0 @@
1
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
2
-
3
- /**
4
- * @preserve
5
- * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
6
- *
7
- * @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
8
- * @see http://github.com/homebrewing/brauhaus-diff
9
- * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
10
- * @see http://github.com/garycourt/murmurhash-js
11
- * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
12
- * @see http://sites.google.com/site/murmurhash/
13
- */