@applitools/nlp-web-runner 5.4.0 → 5.4.1-dev.e984fb812

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 +1 @@
1
- function l(k,Q){k=k-0x1ce;var n=j();var b=n[k];if(l['HLpwSe']===undefined){var a=function(q){var f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var S='',I='';for(var K=0x0,V,O,X=0x0;O=q['charAt'](X++);~O&&(V=K%0x4?V*0x40+O:O,K++%0x4)?S+=String['fromCharCode'](0xff&V>>(-0x2*K&0x6)):0x0){O=f['indexOf'](O);}for(var P=0x0,C=S['length'];P<C;P++){I+='%'+('00'+S['charCodeAt'](P)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(I);};l['gvMjTI']=a,l['GJztnH']={},l['HLpwSe']=!![];}var v=n[0x0],z=k+v,L=l['GJztnH'][z];return!L?(b=l['gvMjTI'](b),l['GJztnH'][z]=b):b=L,b;}var z=l;function j(){var q=['odjJrgDxDfO','Dg9tDhjPBMDuywC','mZy0ode2C1nLzw5g','mJy4ntLPr0fMr2q','zgvMAw5LuhjVCgvYDhK','mtC4mdG0mensz3DMsa','mZaZmda2y0LIBuHm','ndCZmgPiA2jyAW','mJiWndC1n25hq0LZtq','nZG1mK1My1Hsrq','mJHuwhrqyue','mtq4mtDZwxnMzMS','tw9KDwXL','ndu1sxvbBxvi'];j=function(){return q;};return j();}(function(k,Q){var v=l,n=k();while(!![]){try{var b=parseInt(v(0x1d7))/0x1+parseInt(v(0x1d5))/0x2*(-parseInt(v(0x1d8))/0x3)+-parseInt(v(0x1d0))/0x4*(-parseInt(v(0x1d4))/0x5)+parseInt(v(0x1db))/0x6*(parseInt(v(0x1d1))/0x7)+parseInt(v(0x1da))/0x8+parseInt(v(0x1cf))/0x9+-parseInt(v(0x1ce))/0xa*(parseInt(v(0x1d2))/0xb);if(b===Q)break;else n['push'](n['shift']());}catch(a){n['push'](n['shift']());}}}(j,0x32fbb));var __defProp=Object[z(0x1d9)],__exportAll=(k,Q)=>{var L=z;let n={};for(var b in k)__defProp(n,b,{'get':k[b],'enumerable':!![]});if(!Q)__defProp(n,Symbol[L(0x1d6)],{'value':L(0x1d3)});return n;};export{__exportAll as t};
1
+ function Y(c,j){c=c-0x117;var x=U();var C=x[c];if(Y['JvKWlN']===undefined){var l=function(P){var q='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var D='',z='';for(var N=0x0,X,i,M=0x0;i=P['charAt'](M++);~i&&(X=N%0x4?X*0x40+i:i,N++%0x4)?D+=String['fromCharCode'](0xff&X>>(-0x2*N&0x6)):0x0){i=q['indexOf'](i);}for(var w=0x0,H=D['length'];w<H;w++){z+='%'+('00'+D['charCodeAt'](w)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(z);};Y['GsWsme']=l,Y['yyrXzZ']={},Y['JvKWlN']=!![];}var n=x[0x0],s=c+n,G=Y['yyrXzZ'][s];return!G?(C=Y['GsWsme'](C),Y['yyrXzZ'][s]=C):C=G,C;}var s=Y;(function(c,j){var n=Y,x=c();while(!![]){try{var C=-parseInt(n(0x11a))/0x1+parseInt(n(0x11b))/0x2*(parseInt(n(0x122))/0x3)+-parseInt(n(0x11d))/0x4*(parseInt(n(0x121))/0x5)+parseInt(n(0x119))/0x6+-parseInt(n(0x117))/0x7+-parseInt(n(0x120))/0x8+parseInt(n(0x118))/0x9*(-parseInt(n(0x11c))/0xa);if(C===j)break;else x['push'](x['shift']());}catch(l){x['push'](x['shift']());}}}(U,0xc1584));function U(){var P=['Dg9tDhjPBMDuywC','mtCXmJe0ngTIzgrtsG','owfHz1PPra','nZm3mdeYnez4z2Lfyq','mtm0ndDVDhvYDgu','ndHYrM5yA1O','odC0mdC3mfHUy0PnDW','oduYAendsg5q','zgvMAw5LuhjVCgvYDhK','tw9KDwXL','mtmXodiZmLLREfvLyq','ndK1v2LrserM','mteWmtK2tKjXELz3'];U=function(){return P;};return U();}var __defProp=Object[s(0x11e)],__exportAll=(c,j)=>{var G=s;let x={};for(var C in c)__defProp(x,C,{'get':c[C],'enumerable':!![]});if(!j)__defProp(x,Symbol[G(0x123)],{'value':G(0x11f)});return x;};export{__exportAll as t};
@@ -246,6 +246,10 @@ type Action<TType extends string> = Extract<EmptyAction | CommentAction | SetVar
246
246
  type: TType;
247
247
  }>;
248
248
  type Instruction = Action<any> | ControlFlow;
249
+ type Program$1 = Instruction[];
250
+ type SealedProgram = {
251
+ __seal?: never;
252
+ };
249
253
  type Primitive<TPrimitiveName extends string> = TPrimitiveName extends 'null' ? null : TPrimitiveName extends 'boolean' ? boolean : TPrimitiveName extends 'number' ? number : TPrimitiveName extends 'string' ? string : TPrimitiveName extends 'any' ? Any : unknown;
250
254
  type PrimitiveName<TPrimitive = Any> = TPrimitive extends null ? 'null' : TPrimitive extends boolean ? 'boolean' : TPrimitive extends number ? 'number' : TPrimitive extends string ? 'string' : TPrimitive extends Any ? 'any' : never;
251
255
  type Reference<TType> = {
@@ -10003,7 +10007,7 @@ declare class Runner<TAutomator extends Automator> extends EventTargetNode<Runne
10003
10007
  }>);
10004
10008
  get status(): ProgressStatus;
10005
10009
  constructor(options: RunnerOptions<TAutomator>);
10006
- run(input: string | Instruction[], options?: RunOptions): Promise<RunResult>;
10010
+ run(input: string | Program$1 | SealedProgram, options?: RunOptions): Promise<RunResult>;
10007
10011
  handle<TInstruction extends Instruction>(instruction: TInstruction, options?: RunOptions): Promise<HandlerResult<TAutomator, TInstruction>>;
10008
10012
  /**
10009
10013
  * Locates an element on the page and returns its node, or `null` when nothing matches.