From 8830f3a4c131cc744125d22ea20db2de418b118b Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Mon, 26 Dec 2022 23:11:58 +0100 Subject: [PATCH] version 1.0 beta.3 --- README.md | 2 +- package.json | 2 +- umd.js | 6 +++--- umd.min.js | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 94ab002..6970f11 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Gaiman: Text based adventure games engine and programming language](https://raw.githubusercontent.com/jcubic/gaiman/master/assets/banner.svg) -[![npm](https://img.shields.io/badge/npm-1.0.0%E2%80%93beta.2-blue.svg)](https://www.npmjs.com/package/gaiman) +[![npm](https://img.shields.io/badge/npm-1.0.0%E2%80%93beta.3-blue.svg)](https://www.npmjs.com/package/gaiman) [![Build and test](https://github.com/jcubic/gaiman/actions/workflows/build.yaml/badge.svg)](https://github.com/jcubic/gaiman/actions/workflows/build.yaml) [![Coverage Status](https://coveralls.io/repos/github/jcubic/gaiman/badge.svg?branch=master)](https://coveralls.io/github/jcubic/gaiman?branch=master) [![LICENSE GPLv3](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://github.com/jcubic/gaiman/blob/master/LICENSE) diff --git a/package.json b/package.json index 0d0c990..20e81dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gaiman", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "description": "Gaiman Text based advanture games engine and programming language", "main": "index.js", "scripts": { diff --git a/umd.js b/umd.js index 1e5cbb4..048cf76 100644 --- a/umd.js +++ b/umd.js @@ -4,11 +4,11 @@ * / /_/ / /_/ / / / / / / / /_/ / / / / * \____/\__,_/_/_/ /_/ /_/\__,_/_/ /_/ * - * Storytelling Text Based Game Engine 1.0.0-beta.2 + * Storytelling Text Based Game Engine 1.0.0-beta.3 * Copyright (C) 2021 Jakub T. Jankiewicz * * Released under GNU GPL v3 or later - * Buid time: Sun, 13 Nov 2022 17:02:35 GMT + * Buid time: Mon, 26 Dec 2022 22:11:41 GMT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : @@ -14622,7 +14622,7 @@ }(escodegen$1)); var name = "gaiman"; - var version$1 = "1.0.0-beta.2"; + var version$1 = "1.0.0-beta.3"; var description = "Gaiman Text based advanture games engine and programming language"; var main = "index.js"; var scripts = { diff --git a/umd.min.js b/umd.min.js index cb1c465..bbe835a 100644 --- a/umd.min.js +++ b/umd.min.js @@ -4,11 +4,11 @@ * / /_/ / /_/ / / / / / / / /_/ / / / / * \____/\__,_/_/_/ /_/ /_/\__,_/_/ /_/ * - * Storytelling Text Based Game Engine 1.0.0-beta.2 + * Storytelling Text Based Game Engine 1.0.0-beta.3 * Copyright (C) 2021 Jakub T. Jankiewicz * * Released under GNU GPL v3 or later - * Buid time: Sun, 13 Nov 2022 17:02:35 GMT + * Buid time: Mon, 26 Dec 2022 22:11:41 GMT */ !function(u,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(u="undefined"!=typeof globalThis?globalThis:u||self).gaiman=e()}(this,(function(){"use strict";var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(u,e,t){return{type:"IfStatement",test:u,consequent:s(e),alternate:t}}function t(u){return{type:"FunctionDeclaration",id:a("main"),params:[],body:s(u),generator:!1,expression:!1,async:!0}}function n(...u){return f(...u.map(a))}function r(u){return C(a("gaiman"),a(u),!1)}function i(u,...e){return F(r(u),...e)}function o(u){return u.replace(/\*$/,"_extra")}function s(u){return{type:"BlockStatement",body:u}}function a(u){return{type:"Identifier",name:u}}function c(u){return{type:"VariableDeclaration",declarations:u.map((function(u){return{type:"VariableDeclarator",id:a(y+u),init:a(u)}})),kind:"const"}}function l(u){return{type:"Literal",value:u}}function D(u){return{type:"ExpressionStatement",expression:u}}function p(u){return function(e,t,n){return t.reduce((function(e,t){var r=n?n[t[1]]:t[1];return{type:u,operator:r,left:e,right:t[3]}}),e)}}var A=p("BinaryExpression"),h=p("LogicalExpression");function f(...u){return u.reduce((function(u,e){return C(u,e,!1)}))}function C(u,e,t){return{type:"MemberExpression",computed:t,object:u,property:e}}function F(u,...e){return{type:"CallExpression",callee:u,arguments:e}}function E(u){return{type:{break:"BreakStatement",continue:"ContinueStatement"}[u],label:null}}var g=["ask","get","post","sleep","echo*","prompt*","input*","ask*","post*","rpc","exec","exec*","enter*"],m=["echo","type","prompt","config","input","parse*","parse","store","complete","update","clear","mask","enter"],d=g.concat(m),B=["sleep*","get*"],y="$_";function v(u,e,t,n){var r=Error.call(this,u);return Object.setPrototypeOf&&Object.setPrototypeOf(r,v.prototype),r.expected=e,r.found=t,r.location=n,r.name="SyntaxError",r}function S(u,e,t){return t=t||" ",u.length>e?u:(e-=u.length,u+(t+=t.repeat(e)).slice(0,e))}!function(u,e){function t(){this.constructor=u}t.prototype=e.prototype,u.prototype=new t}(v,Error),v.prototype.format=function(u){var e="Error: "+this.message;if(this.location){var t,n=null;for(t=0;t0){for(e=1,t=1;e",!1),ce=zt("*",!1),le=zt("{",!1),De=zt("}",!1),pe=zt("new",!1),Ae=zt("def",!1),he=zt("lambda",!1),fe=zt("return",!1),Ce=zt("let",!1),Fe=zt("=",!1),Ee=zt("import",!1),ge=Vt([" "],!1,!1),me=zt("from",!1),de=zt("async",!1),Be=zt("animate",!1),ye=zt('"',!1),ve=zt("\\",!1),Se={type:"any"},be=zt("true",!1),xe=zt("false",!1),_e=zt("null",!1),we=zt("infinity",!1),ke=Vt([["a","z"]],!1,!1),Le=zt(" ",!1),Me=zt("/",!1),Oe=zt("\\/",!1),Pe=Vt(["/"],!0,!1),Re=Vt(["i","g","m","s","u"],!1,!1),Ie=zt("-",!1),qe=zt("+",!1),Te=zt("or",!1),je=zt("and",!1),Ne=zt("not ",!1),Ue=zt("==",!1),We=zt("!=",!1),Ge=zt("<=",!1),$e=zt(">=",!1),ze=zt("<",!1),Ve=zt(">",!1),Je=zt("%",!1),Ke=zt("=~",!1),Ye=zt("cookie",!1),He=zt("location",!1),Ze=zt("JSON",!1),Xe=zt("console",!1),Qe=zt("argv",!1),ut=zt("node",!1),et=zt("cookie.",!1),tt=zt("*=",!1),nt=zt("+=",!1),rt=zt("-=",!1),it=zt("%=",!1),ot=zt("/=",!1),st=zt("$",!1),at=zt("<<<",!1),ct=zt("\n",!1),lt=Vt([" ","\n",")",",","."],!1,!1),Dt=Jt("Marker"),pt=zt("#",!1),At=Vt(["\n"],!0,!1),ht=Vt([["0","9"]],!1,!1),ft=zt("0x",!0),Ct=zt("0",!1),Ft=zt("0b",!1),Et=Vt([["0","9"],["a","f"]],!1,!0),gt=Vt([["0","7"]],!1,!1),mt=Vt(["0","1"],!1,!1),dt=Jt("number"),Bt=Vt([["1","9"]],!1,!1),yt=Vt(["e","E"],!1,!1),vt=Vt([["A","Z"],"_","$",["a","z"]],!1,!1),St=Vt([["A","Z"],"_",["a","z"],["0","9"]],!1,!1),bt=Vt([" ","\t","\n","\r"],!1,!1),xt=Jt("optional whitespace"),_t=Jt("whitespace"),wt=function(u,e){return function(u,e){const t=e.map((u=>u[3]));return t.unshift(u),t}(u,e)},kt=function(u,e){return function(u,e){return{type:"FunctionExpression",id:a("lambda"),async:!0,params:u,body:s(e)}}(u,e)},Lt=function(){return Gt()},Mt=function(){try{return function(u){var e=/(\$[A-Z_$a-z][A-Z_a-z0-9]*)/,t=[],n=[];return u.split(e).map((u=>{var r;u.match(e)?t.push(a(u.replace(/^\$/,"$_"))):n.push({type:"TemplateElement",value:{raw:(r=u,r.replace(/\$\x7b/g,"\\${"))}})})),{type:"TemplateLiteral",expressions:t,quasis:n}}((u=Gt(),e=u.replace(/\\n/g,"￿￿"),(e=JSON.parse(e)).replace(/\\/g,"\\\\").replace(/\uFFFF\uFFFF/g,"\\n")))}catch(u){const e=new Error("invalid string literal");throw e.location=$t(),e}var u,e},Ot=function(u){return g.includes(u)},Pt=function(u,e){"SpreadElement"!==e.type&&function(u,e){throw e=void 0!==e?e:Yt(Tt,qt),function(u,e){return new v(u,null,null,e)}(u,e)}(`Command ${u} require at least two arguments`)},Rt=function(u,e){return A(u,e)},It=function(u){return a(y+u)},qt=0,Tt=0,jt=[{line:1,column:1}],Nt=0,Ut=[],Wt=0;if("startRule"in p){if(!(p.startRule in _))throw new Error("Can't start parsing from rule \""+p.startRule+'".');w=_[p.startRule]}function Gt(){return u.substring(Tt,qt)}function $t(){return Yt(Tt,qt)}function zt(u,e){return{type:"literal",text:u,ignoreCase:e}}function Vt(u,e,t){return{type:"class",parts:u,inverted:e,ignoreCase:t}}function Jt(u){return{type:"other",description:u}}function Kt(e){var t,n=jt[e];if(n)return n;for(t=e-1;!jt[t];)t--;for(n={line:(n=jt[t]).line,column:n.column};tNt&&(Nt=qt,Ut=[]),Ut.push(u))}function Zt(){var u,e,n;return u=qt,(e=Qt())!==b&&(Tt=u,e={type:"Program",body:[t([(n=e,{type:"TryStatement",block:s(n),handler:{type:"CatchClause",param:{type:"Identifier",name:"e"},body:{type:"BlockStatement",body:[D(i("error",a("e")))]}}})])]}),u=e}function Xt(){var e,t,n,r,i;if(e=qt,t=qt,Wt++,u.substr(qt,3)===k?(n=k,qt+=3):(n=b,0===Wt&&Ht(Vu)),Wt--,n===b?t=void 0:(qt=t,t=b),t!==b)if((n=cr())!==b){for(r=[],i=un();i!==b;)r.push(i),i=un();(i=cr())!==b?(Tt=e,e=r.flat(2).filter(Boolean)):(qt=e,e=b)}else qt=e,e=b;else qt=e,e=b;return e}function Qt(){var u;return(u=Xt())===b&&(u=gn()),u}function un(){var e,t,n,r;return e=qt,t=qt,Wt++,u.substr(qt,3)===k?(n=k,qt+=3):(n=b,0===Wt&&Ht(Vu)),Wt--,n===b?t=void 0:(qt=t,t=b),t!==b&&(n=cr())!==b?((r=nn())===b&&(r=function(){var e,t,n,r,i,o,s,a,c,l,D,p;e=qt,u.substr(qt,3)===I?(t=I,qt+=3):(t=b,0===Wt&&Ht(Xu));t!==b&&lr()!==b?(n=qt,Wt++,r=ir(),Wt--,r===b?n=void 0:(qt=n,n=b),n!==b?(r=qt,(i=Jn())!==b&&(o=cr())!==b?(44===u.charCodeAt(qt)?(s=q,qt++):(s=b,0===Wt&&Ht(Qu)),s!==b&&(a=cr())!==b&&(c=Jn())!==b?r=i=[i,o,s,a,c]:(qt=r,r=b)):(qt=r,r=b),r===b&&(r=Jn()),r!==b&&(i=lr())!==b?(u.substr(qt,2)===T?(o=T,qt+=2):(o=b,0===Wt&&Ht(ue)),o!==b&&(s=lr())!==b?((a=en())===b&&(a=Jn()),a!==b&&(c=cr())!==b?(u.substr(qt,2)===j?(l=j,qt+=2):(l=b,0===Wt&&Ht(ee)),l!==b&&cr()!==b&&(D=Qt())!==b&&cr()!==b?(u.substr(qt,3)===k?(p=k,qt+=3):(p=b,0===Wt&&Ht(Vu)),p!==b&&cr()!==b?(Tt=e,h=a,f=D,e=Ar((A=r)instanceof Array?[A[0],A[4]]:A,h,f)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);var A,h,f;return e}(),r===b&&(r=function(){var e,t,n,r,i,o;e=qt,t=[],n=qt,(r=dn())===b&&(r=Bn());r!==b&&(i=lr())!==b?n=r=[r,i]:(qt=n,n=b);if(n!==b)for(;n!==b;)t.push(n),n=qt,(r=dn())===b&&(r=Bn()),r!==b&&(i=lr())!==b?n=r=[r,i]:(qt=n,n=b);else t=b;t!==b?(u.substr(qt,2)===j?(n=j,qt+=2):(n=b,0===Wt&&Ht(ee)),n!==b&&(r=cr())!==b&&(i=Qt())!==b&&cr()!==b?(u.substr(qt,3)===k?(o=k,qt+=3):(o=b,0===Wt&&Ht(Vu)),o!==b&&cr()!==b?(Tt=e,a=i,e=t.reduceRight((function(u,e){u instanceof Array||(u=[u]);var t=F(e=e[0],{type:"FunctionExpression",id:null,async:!0,params:[],body:s(u)});return"async"!==e.property.value&&(t={type:"AwaitExpression",argument:t}),{type:"ExpressionStatement",expression:t}}),a)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);var a;return e}(),r===b&&(r=function(){var e,t,n,r,i,o;e=qt,u.substr(qt,5)===N?(t=N,qt+=5):(t=b,0===Wt&&Ht(te));t!==b&&lr()!==b&&(n=tn())!==b&&cr()!==b?(u.substr(qt,2)===j?(r=j,qt+=2):(r=b,0===Wt&&Ht(ee)),r!==b&&cr()!==b&&(i=Qt())!==b&&cr()!==b?(u.substr(qt,3)===k?(o=k,qt+=3):(o=b,0===Wt&&Ht(Vu)),o!==b&&cr()!==b?(Tt=e,e=hr(n,i)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);return e}(),r===b&&(r=function(){var e,t,n;e=qt,cr()!==b?(t=qt,u.substr(qt,5)===P?(n=P,qt+=5):(n=b,0===Wt&&Ht(Hu)),n===b&&(u.substr(qt,8)===R?(n=R,qt+=8):(n=b,0===Wt&&Ht(Zu))),(t=n!==b?u.substring(t,qt):n)!==b&&(n=cr())!==b?(Tt=e,e=function(u){return E(u)}(t)):(qt=e,e=b)):(qt=e,e=b);return e}(),r===b&&(r=function(){var e,t,n;e=qt,cr()!==b?(u.substr(qt,6)===J?(t=J,qt+=6):(t=b,0===Wt&&Ht(fe)),t!==b&&cr()!==b&&(n=en())!==b&&cr()!==b?(Tt=e,e={type:"ReturnStatement",argument:n}):(qt=e,e=b)):(qt=e,e=b);return e}(),r===b&&(r=function(){var e;e=function(){var e,t,n,r,i,o,s,a,l;e=qt,u.substr(qt,6)===H?(t=H,qt+=6):(t=b,0===Wt&&Ht(Ee));if(t!==b){if(n=[],Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge)),r!==b)for(;r!==b;)n.push(r),Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge));else n=b;if(n!==b)if((r=or())!==b){for(i=[],o=qt,44===u.charCodeAt(qt)?(s=q,qt++):(s=b,0===Wt&&Ht(Qu)),s!==b&&(a=cr())!==b&&(l=or())!==b?o=s=[s,a,l]:(qt=o,o=b);o!==b;)i.push(o),o=qt,44===u.charCodeAt(qt)?(s=q,qt++):(s=b,0===Wt&&Ht(Qu)),s!==b&&(a=cr())!==b&&(l=or())!==b?o=s=[s,a,l]:(qt=o,o=b);if(o=qt,Wt++,s=qt,a=[],Lu.test(u.charAt(qt))?(l=u.charAt(qt),qt++):(l=b,0===Wt&&Ht(ge)),l!==b)for(;l!==b;)a.push(l),Lu.test(u.charAt(qt))?(l=u.charAt(qt),qt++):(l=b,0===Wt&&Ht(ge));else a=b;a!==b?(u.substr(qt,4)===Z?(l=Z,qt+=4):(l=b,0===Wt&&Ht(me)),l!==b?s=a=[a,l]:(qt=s,s=b)):(qt=s,s=b),Wt--,s===b?o=void 0:(qt=o,o=b),o!==b?(Tt=e,e=function(u,e){var t=e.map((u=>u[2]));return t.unshift(u),c(t)}(r,i)):(qt=e,e=b)}else qt=e,e=b;else qt=e,e=b}else qt=e,e=b;return e}(),e===b&&(e=function(){var e,t,n,r;e=qt,u.substr(qt,6)===H?(t=H,qt+=6):(t=b,0===Wt&&Ht(Ee));if(t!==b){if(n=[],Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge)),r!==b)for(;r!==b;)n.push(r),Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge));else n=b;n!==b&&(r=vn())!==b&&cr()!==b?(Tt=e,e=D({type:"AwaitExpression",argument:i("load",r)})):(qt=e,e=b)}else qt=e,e=b;return e}(),e===b&&(e=function(){var e,t,n,r,o,s,a,l;e=qt,u.substr(qt,6)===H?(t=H,qt+=6):(t=b,0===Wt&&Ht(Ee));if(t!==b){if(n=[],Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge)),r!==b)for(;r!==b;)n.push(r),Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge));else n=b;if(n!==b)if((r=or())!==b){if(o=[],Lu.test(u.charAt(qt))?(s=u.charAt(qt),qt++):(s=b,0===Wt&&Ht(ge)),s!==b)for(;s!==b;)o.push(s),Lu.test(u.charAt(qt))?(s=u.charAt(qt),qt++):(s=b,0===Wt&&Ht(ge));else o=b;if(o!==b)if(u.substr(qt,4)===Z?(s=Z,qt+=4):(s=b,0===Wt&&Ht(me)),s!==b){if(a=[],Lu.test(u.charAt(qt))?(l=u.charAt(qt),qt++):(l=b,0===Wt&&Ht(ge)),l!==b)for(;l!==b;)a.push(l),Lu.test(u.charAt(qt))?(l=u.charAt(qt),qt++):(l=b,0===Wt&&Ht(ge));else a=b;a!==b&&(l=vn())!==b?(Tt=e,e=function(u,e){return[{type:"AwaitExpression",argument:i("load",e)},c([u])]}(r,l)):(qt=e,e=b)}else qt=e,e=b;else qt=e,e=b}else qt=e,e=b;else qt=e,e=b}else qt=e,e=b;return e}()));return e}(),r===b&&(r=function(){var e,t,n,r,i,o,s;e=qt,cr()!==b?(u.substr(qt,3)===K?(t=K,qt+=3):(t=b,0===Wt&&Ht(Ce)),t!==b&&cr()!==b&&(n=Jn())!==b&&cr()!==b?(r=qt,61===u.charCodeAt(qt)?(i=Y,qt++):(i=b,0===Wt&&Ht(Fe)),i!==b&&(o=cr())!==b&&(s=en())!==b?r=i=[i,o,s]:(qt=r,r=b),r===b&&(r=null),(i=cr())!==b?(Tt=e,e=function(u,e){return{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:u,init:e&&e[2]}],kind:"let"}}(n,r)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);return e}(),r===b&&(r=function(){var e,t,n,r;e=qt,cr()!==b?(u.substr(qt,2)===j?(t=j,qt+=2):(t=b,0===Wt&&Ht(ee)),t!==b&&cr()!==b&&(n=Qt())!==b&&cr()!==b?(u.substr(qt,3)===k?(r=k,qt+=3):(r=b,0===Wt&&Ht(Vu)),r!==b&&cr()!==b?(Tt=e,e={type:"BlockStatement",body:n}):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);return e}(),r===b&&(r=function(){var u,e,t;u=qt,e=qt,Wt++,t=ir(),Wt--,t===b?e=void 0:(qt=e,e=b);e!==b&&(t=en())!==b?(Tt=u,u=D(t)):(qt=u,u=b);return u}(),r===b&&(r=function(){var e,t,n,r,i,o,s,a;e=qt,cr()!==b?(u.substr(qt,3)===z?(t=z,qt+=3):(t=b,0===Wt&&Ht(Ae)),t!==b&&cr()!==b&&(n=Jn())!==b&&cr()!==b?(40===u.charCodeAt(qt)?(r=U,qt++):(r=b,0===Wt&&Ht(oe)),r!==b?((i=Dn())===b&&(i=gn()),i!==b?(41===u.charCodeAt(qt)?(o=W,qt++):(o=b,0===Wt&&Ht(se)),o!==b&&cr()!==b&&(s=Qt())!==b&&cr()!==b?(u.substr(qt,3)===k?(a=k,qt+=3):(a=b,0===Wt&&Ht(Vu)),a!==b&&cr()!==b?(Tt=e,e=function(u,e,t){const n=u.name.replace(/\$_/,"");if(d.includes(n)){const u=new Error(`invalid function name, '${n}' is a command`);throw u.location=function(u,e,t){const{start:n,end:r}=u;return{...u,start:{...n,column:n.column+e,offset:n.offset+e},end:{...r,column:r.column+t,offset:r.offset+t}}}($t(),4,n.length+4),u}return{type:"FunctionDeclaration",id:u,params:e,async:!0,body:{type:"BlockStatement",body:t}}}(n,i,s)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);return e}())))))))))),r!==b&&cr()!==b?(Tt=e,e=r):(qt=e,e=b)):(qt=e,e=b),e}function en(){var e;return e=function(){var e;e=function(){var e,t,n,r,i;e=qt,u.substr(qt,7)===yu?(t=yu,qt+=7):(t=b,0===Wt&&Ht(et));t!==b&&(n=or())!==b&&cr()!==b?(61===u.charCodeAt(qt)?(r=Y,qt++):(r=b,0===Wt&&Ht(Fe)),r!==b&&cr()!==b&&(i=tn())!==b?(Tt=e,e=function(u,e){return{type:"AssignmentExpression",operator:"=",left:f(a("document"),a("cookie")),right:{type:"BinaryExpression",operator:"+",left:{type:"Literal",value:u+"="},right:F(a("String"),e)}}}(n,i)):(qt=e,e=b)):(qt=e,e=b);return e}(),e===b&&(e=function(){var e,t,n,r;e=qt,(t=an())===b&&(t=zn());t!==b&&cr()!==b?(n=function(){var e,t,n,r,i;e=qt,t=qt,61===u.charCodeAt(qt)?(n=Y,qt++):(n=b,0===Wt&&Ht(Fe));n!==b?(r=qt,Wt++,61===u.charCodeAt(qt)?(i=Y,qt++):(i=b,0===Wt&&Ht(Fe)),Wt--,i===b?r=void 0:(qt=r,r=b),r!==b?t=n=[n,r]:(qt=t,t=b)):(qt=t,t=b);t===b&&(u.substr(qt,2)===vu?(t=vu,qt+=2):(t=b,0===Wt&&Ht(tt)),t===b&&(u.substr(qt,2)===Su?(t=Su,qt+=2):(t=b,0===Wt&&Ht(nt)),t===b&&(u.substr(qt,2)===bu?(t=bu,qt+=2):(t=b,0===Wt&&Ht(rt)),t===b&&(u.substr(qt,2)===xu?(t=xu,qt+=2):(t=b,0===Wt&&Ht(it)),t===b&&(u.substr(qt,2)===_u?(t=_u,qt+=2):(t=b,0===Wt&&Ht(ot)))))));e=t!==b?u.substring(e,qt):t;return e}(),n!==b&&cr()!==b?((r=en())===b&&(r=Jn()),r!==b?(Tt=e,e={type:"AssignmentExpression",operator:n,left:t,right:r}):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);return e}());return e}(),e===b&&(e=Ln())===b&&(e=tn()),e}function tn(){var e;return(e=function(){var e,t,n,r,i,o;e=qt,u.substr(qt,3)===$?(t=$,qt+=3):(t=b,0===Wt&&Ht(pe));t!==b&&lr()!==b?((n=an())===b&&(n=Jn()),n!==b&&cr()!==b?(40===u.charCodeAt(qt)?(r=U,qt++):(r=b,0===Wt&&Ht(oe)),r!==b&&cr()!==b?((i=hn())===b&&(i=gn()),i!==b?(41===u.charCodeAt(qt)?(o=W,qt++):(o=b,0===Wt&&Ht(se)),o!==b&&cr()!==b?(Tt=e,e={type:"NewExpression",callee:n,arguments:i}):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);return e}())===b&&(e=Pn())===b&&(e=an())===b&&(e=Yn())===b&&(e=En())===b&&(e=mn())===b&&(e=Cn())===b&&(e=Kn())===b&&(e=fn())===b&&(e=$n())===b&&(e=vn())===b&&(e=Sn())===b&&(e=On()),e}function nn(){var t,n,r,i,o,s;return t=qt,cr()!==b?(u.substr(qt,2)===L?(n=L,qt+=2):(n=b,0===Wt&&Ht(Ju)),n!==b&&cr()!==b&&(r=en())!==b&&cr()!==b?(u.substr(qt,4)===M?(i=M,qt+=4):(i=b,0===Wt&&Ht(Ku)),i!==b&&cr()!==b&&(o=Qt())!==b?(s=function(){var e,t;return e=qt,u.substr(qt,3)===k?(t=k,qt+=3):(t=b,0===Wt&&Ht(Vu)),t!==b&&(Tt=e,t=null),t}(),s===b&&(s=function(){var e,t,n;e=qt,cr()!==b?(u.substr(qt,4)===O?(t=O,qt+=4):(t=b,0===Wt&&Ht(Yu)),t!==b&&cr()!==b&&(n=nn())!==b?(Tt=e,e=n):(qt=e,e=b)):(qt=e,e=b);return e}(),s===b&&(s=function(){var e,t,n,r;e=qt,cr()!==b?(u.substr(qt,4)===O?(t=O,qt+=4):(t=b,0===Wt&&Ht(Yu)),t!==b&&cr()!==b&&(n=Qt())!==b?(u.substr(qt,3)===k?(r=k,qt+=3):(r=b,0===Wt&&Ht(Vu)),r!==b?(Tt=e,e={type:"BlockStatement",body:n}):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b);return e}())),s!==b&&cr()!==b?(Tt=t,t=e(r,o,s)):(qt=t,t=b)):(qt=t,t=b)):(qt=t,t=b)):(qt=t,t=b),t}function rn(){var e,t,n,r,i,o;return e=qt,91===u.charCodeAt(qt)?(t="[",qt++):(t=b,0===Wt&&Ht(ne)),t!==b&&(n=cr())!==b?((r=Pn())===b&&(r=Cn())===b&&(r=Kn())===b&&(r=fn())===b&&(r=En())===b&&(r=vn())===b&&(r=Sn()),r!==b&&(i=cr())!==b?(93===u.charCodeAt(qt)?(o="]",qt++):(o=b,0===Wt&&Ht(re)),o!==b?e=t=[t,n,r,i,o]:(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b),e}function on(){var e,t,n,r,i,o;return e=qt,t=qt,(n=cr())!==b?(46===u.charCodeAt(qt)?(r=".",qt++):(r=b,0===Wt&&Ht(ie)),r!==b&&(i=cr())!==b&&(o=or())!==b?t=n=[n,r,i,o]:(qt=t,t=b)):(qt=t,t=b),t!==b&&(Tt=e,t=a(t[3])),e=t}function sn(){var e;return(e=function(){var e,t,n,r;return e=qt,40===u.charCodeAt(qt)?(t=U,qt++):(t=b,0===Wt&&Ht(oe)),t!==b&&cr()!==b?((n=En())===b&&(n=an())===b&&(n=Ln())===b&&(n=sn()),n!==b&&cr()!==b?(41===u.charCodeAt(qt)?(r=W,qt++):(r=b,0===Wt&&Ht(se)),r!==b?(Tt=e,e=n):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b),e}())===b&&(e=Vn())===b&&(e=fn())===b&&(e=Yn())===b&&(e=vn())===b&&(e=$n()),e}function an(){var u,e,t,n,r;if(u=qt,(e=sn())!==b){if(t=[],(n=rn())===b&&(n=on()),n!==b)for(;n!==b;)t.push(n),(n=rn())===b&&(n=on());else t=b;t!==b&&(n=cr())!==b?(Tt=u,r=e,u=t.reduce(((u,e)=>{const t={type:"MemberExpression",object:u,property:e};return"["==e[0]&&(t.computed=!0,t.property=e[2]),t}),r)):(qt=u,u=b)}else qt=u,u=b;return u}function cn(){var e,t,n,r;return e=qt,cr()!==b&&(t=vn())!==b&&cr()!==b?("=>"===u.substr(qt,2)?(n="=>",qt+=2):(n=b,0===Wt&&Ht(ae)),n!==b&&cr()!==b&&(r=tn())!==b&&cr()!==b?(Tt=e,e=function(u,e){return{type:"Property",key:u,computed:!0,value:e,kind:"init",method:!1,shorthand:!1}}(t,r)):(qt=e,e=b)):(qt=e,e=b),e}function ln(){var e,t,n;return e=qt,42===u.charCodeAt(qt)?(t=G,qt++):(t=b,0===Wt&&Ht(ce)),t!==b&&(n=Jn())!==b?(Tt=e,e={type:"RestElement",argument:n}):(qt=e,e=b),e}function Dn(){var e,t,n,r,i,o,s,a,c;if(e=qt,(t=Jn())===b&&(t=ln()),t!==b){for(n=[],r=qt,(i=cr())!==b?(44===u.charCodeAt(qt)?(o=q,qt++):(o=b,0===Wt&&Ht(Qu)),o!==b&&(s=cr())!==b?((a=Jn())===b&&(a=ln()),a!==b&&(c=cr())!==b?r=i=[i,o,s,a,c]:(qt=r,r=b)):(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(44===u.charCodeAt(qt)?(o=q,qt++):(o=b,0===Wt&&Ht(Qu)),o!==b&&(s=cr())!==b?((a=Jn())===b&&(a=ln()),a!==b&&(c=cr())!==b?r=i=[i,o,s,a,c]:(qt=r,r=b)):(qt=r,r=b)):(qt=r,r=b);(r=cr())!==b?(Tt=e,e=wt(t,n)):(qt=e,e=b)}else qt=e,e=b;return e}function pn(){var u;return(u=en())===b&&(u=Jn()),u}function An(){var e,t,n;return e=qt,42===u.charCodeAt(qt)?(t=G,qt++):(t=b,0===Wt&&Ht(ce)),t!==b&&(n=pn())!==b?(Tt=e,e={type:"SpreadElement",argument:n}):(qt=e,e=b),e}function hn(){var e,t,n,r,i,o,s,a,c;if(e=qt,(t=An())===b&&(t=pn()),t!==b){for(n=[],r=qt,(i=cr())!==b?(44===u.charCodeAt(qt)?(o=q,qt++):(o=b,0===Wt&&Ht(Qu)),o!==b&&(s=cr())!==b?((a=An())===b&&(a=pn()),a!==b&&(c=cr())!==b?r=i=[i,o,s,a,c]:(qt=r,r=b)):(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(44===u.charCodeAt(qt)?(o=q,qt++):(o=b,0===Wt&&Ht(Qu)),o!==b&&(s=cr())!==b?((a=An())===b&&(a=pn()),a!==b&&(c=cr())!==b?r=i=[i,o,s,a,c]:(qt=r,r=b)):(qt=r,r=b)):(qt=r,r=b);(r=cr())!==b?(Tt=e,e=wt(t,n)):(qt=e,e=b)}else qt=e,e=b;return e}function fn(){var e,t,n,r,i;return e=qt,91===u.charCodeAt(qt)?(t="[",qt++):(t=b,0===Wt&&Ht(ne)),t!==b&&cr()!==b?((n=hn())===b&&(n=gn()),n!==b&&cr()!==b?(93===u.charCodeAt(qt)?(r="]",qt++):(r=b,0===Wt&&Ht(re)),r!==b?(Tt=e,i=n,e={type:"NewExpression",callee:a("GaimanArray"),arguments:i}):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b),e}function Cn(){var e,t,n,r;return e=qt,cr()!==b?(123===u.charCodeAt(qt)?(t="{",qt++):(t=b,0===Wt&&Ht(le)),t!==b&&cr()!==b?(n=function(){var e,t,n,r,i,o,s,a,c;if(e=qt,cr()!==b)if((t=cn())!==b){for(n=[],r=qt,(i=cr())!==b?(44===u.charCodeAt(qt)?(o=q,qt++):(o=b,0===Wt&&Ht(Qu)),o!==b&&(s=cr())!==b&&(a=cn())!==b&&(c=cr())!==b?r=i=[i,o,s,a,c]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(44===u.charCodeAt(qt)?(o=q,qt++):(o=b,0===Wt&&Ht(Qu)),o!==b&&(s=cr())!==b&&(a=cn())!==b&&(c=cr())!==b?r=i=[i,o,s,a,c]:(qt=r,r=b)):(qt=r,r=b);(r=cr())!==b?(Tt=e,e=wt(t,n)):(qt=e,e=b)}else qt=e,e=b;else qt=e,e=b;return e}(),n===b&&(n=gn()),n!==b&&cr()!==b?(125===u.charCodeAt(qt)?(r="}",qt++):(r=b,0===Wt&&Ht(De)),r!==b&&cr()!==b?(Tt=e,e={type:"ObjectExpression",properties:n}):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b),e}function Fn(){var e,t,n,r,i,o;return e=qt,40===u.charCodeAt(qt)?(t=U,qt++):(t=b,0===Wt&&Ht(oe)),t!==b&&(n=cr())!==b?((r=hn())===b&&(r=gn()),r!==b&&(i=cr())!==b?(41===u.charCodeAt(qt)?(o=W,qt++):(o=b,0===Wt&&Ht(se)),o!==b?e=t=[t,n,r,i,o]:(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b),e}function En(){var e,t,n,r,i,o,s,a,c,l,D;if(e=qt,cr()!==b)if(t=qt,Wt++,n=ir(),Wt--,n===b?t=void 0:(qt=t,t=b),t!==b)if((n=an())===b&&(n=function(){var e,t,n,r;return e=qt,40===u.charCodeAt(qt)?(t=U,qt++):(t=b,0===Wt&&Ht(oe)),t!==b&&cr()!==b&&(n=mn())!==b&&cr()!==b?(41===u.charCodeAt(qt)?(r=W,qt++):(r=b,0===Wt&&Ht(se)),r!==b?(Tt=e,e=n):(qt=e,e=b)):(qt=e,e=b),e}(),n===b&&(n=Jn())),n!==b)if(cr()!==b)if(40===u.charCodeAt(qt)?(r=U,qt++):(r=b,0===Wt&&Ht(oe)),r!==b)if(cr()!==b)if((i=hn())===b&&(i=gn()),i!==b)if(41===u.charCodeAt(qt)?(o=W,qt++):(o=b,0===Wt&&Ht(se)),o!==b)if(cr()!==b){for(s=[],(a=Fn())===b&&(a=rn())===b&&(a=on());a!==b;)s.push(a),(a=Fn())===b&&(a=rn())===b&&(a=on());Tt=e,c=n,l=i,e=0===(D=s).length?{type:"AwaitExpression",argument:F(c,...l)}:D.reduce((function(u,e){if("CallExpression"===u.type&&(u={type:"AwaitExpression",argument:u}),"("==e[0])return{type:"AwaitExpression",argument:F(u,...e[2])};{let t={type:"MemberExpression",object:u,property:e};return"["==e[0]&&(t.computed=!0,t.property=e[2]),t}}),F(c,...l))}else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;return e}function gn(){return"",Tt=qt,[]}function mn(){var e,t,n,r,i,o,s;return e=qt,u.substr(qt,6)===V?(t=V,qt+=6):(t=b,0===Wt&&Ht(he)),t!==b&&cr()!==b?(40===u.charCodeAt(qt)?(n=U,qt++):(n=b,0===Wt&&Ht(oe)),n!==b?((r=Dn())===b&&(r=gn()),r!==b?(41===u.charCodeAt(qt)?(i=W,qt++):(i=b,0===Wt&&Ht(se)),i!==b&&cr()!==b&&(o=Qt())!==b&&cr()!==b?(u.substr(qt,3)===k?(s=k,qt+=3):(s=b,0===Wt&&Ht(Vu)),s!==b&&cr()!==b?(Tt=e,e=kt(r,o)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b),e}function dn(){var e,t,n;return e=qt,u.substr(qt,5)===X?(t=X,qt+=5):(t=b,0===Wt&&Ht(de)),t!==b&&(Tt=e,n=t,t=C(a("gaiman"),l(n),!0)),e=t}function Bn(){var e,t;return e=qt,u.substr(qt,7)===Q?(t=Q,qt+=7):(t=b,0===Wt&&Ht(Be)),t!==b&&(Tt=e,t=r(t)),e=t}function yn(){var e,t,n;return e=qt,t=qt,Wt++,34===u.charCodeAt(qt)?(n='"',qt++):(n=b,0===Wt&&Ht(ye)),n===b&&(92===u.charCodeAt(qt)?(n="\\",qt++):(n=b,0===Wt&&Ht(ve))),Wt--,n===b?t=void 0:(qt=t,t=b),t!==b?(u.length>qt?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(Se)),n!==b?e=t=[t,n]:(qt=e,e=b)):(qt=e,e=b),e===b&&(e=qt,92===u.charCodeAt(qt)?(t="\\",qt++):(t=b,0===Wt&&Ht(ve)),t!==b?(u.length>qt?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(Se)),n!==b?(Tt=e,e=Lt()):(qt=e,e=b)):(qt=e,e=b)),e}function vn(){var e,t,n,r;if(e=qt,34===u.charCodeAt(qt)?(t='"',qt++):(t=b,0===Wt&&Ht(ye)),t!==b){for(n=[],r=yn();r!==b;)n.push(r),r=yn();34===u.charCodeAt(qt)?(r='"',qt++):(r=b,0===Wt&&Ht(ye)),r!==b?(Tt=e,e=Mt()):(qt=e,e=b)}else qt=e,e=b;return e}function Sn(){var e,t;return e=qt,t=function(){var e;e=function(){var e,t,n,r,i;e=qt,"0x"===u.substr(qt,2).toLowerCase()?(t=u.substr(qt,2),qt+=2):(t=b,0===Wt&&Ht(ft));if(t!==b){if(n=qt,r=[],(i=ur())!==b)for(;i!==b;)r.push(i),i=ur();else r=b;(n=r!==b?u.substring(n,qt):r)!==b?(Tt=e,e=parseInt(n,16)):(qt=e,e=b)}else qt=e,e=b;return e}(),e===b&&(e=function(){var e,t,n,r,i;e=qt,u.substr(qt,2)===ku?(t=ku,qt+=2):(t=b,0===Wt&&Ht(Ft));if(t!==b){if(n=qt,r=[],(i=tr())!==b)for(;i!==b;)r.push(i),i=tr();else r=b;(n=r!==b?u.substring(n,qt):r)!==b?(Tt=e,e=parseInt(n,2)):(qt=e,e=b)}else qt=e,e=b;return e}(),e===b&&(e=function(){var e,t,n,r,i;e=qt,48===u.charCodeAt(qt)?(t="0",qt++):(t=b,0===Wt&&Ht(Ct));if(t!==b){if(n=qt,r=[],(i=er())!==b)for(;i!==b;)r.push(i),i=er();else r=b;(n=r!==b?u.substring(n,qt):r)!==b?(Tt=e,e=parseInt(n,8)):(qt=e,e=b)}else qt=e,e=b;return e}(),e===b&&(e=function(){var e,t;Wt++,e=qt,nr(),t=function(){var e,t,n,r;if((e=function(){var e;48===u.charCodeAt(qt)?(e=wu,qt++):(e=b,0===Wt&&Ht(Ct));return e}())===b)if(e=qt,t=function(){var e;Uu.test(u.charAt(qt))?(e=u.charAt(qt),qt++):(e=b,0===Wt&&Ht(Bt));return e}(),t!==b){for(n=[],r=rr();r!==b;)n.push(r),r=rr();e=t=[t,n]}else qt=e,e=b;return e}(),t!==b?(!function(){var e,t,n,r;if(e=qt,t=function(){var e;46===u.charCodeAt(qt)?(e=".",qt++):(e=b,0===Wt&&Ht(ie));return e}(),t!==b){if(n=[],(r=rr())!==b)for(;r!==b;)n.push(r),r=rr();else n=b;n!==b?e=t=[t,n]:(qt=e,e=b)}else qt=e,e=b}(),function(){var e,t,n,r,i;if(e=qt,t=function(){var e;Wu.test(u.charAt(qt))?(e=u.charAt(qt),qt++):(e=b,0===Wt&&Ht(yt));return e}(),t!==b){if((n=nr())===b&&(n=function(){var e;43===u.charCodeAt(qt)?(e=au,qt++):(e=b,0===Wt&&Ht(qe));return e}()),n===b&&(n=null),r=[],(i=rr())!==b)for(;i!==b;)r.push(i),i=rr();else r=b;r!==b?e=t=[t,n,r]:(qt=e,e=b)}else qt=e,e=b}(),Tt=e,e=parseFloat(Gt())):(qt=e,e=b);Wt--,e===b&&0===Wt&&Ht(dt);return e}())));return e}(),t===b&&(t=function(){var e,t;e=qt,u.substr(qt,4)===uu?(t=uu,qt+=4):(t=b,0===Wt&&Ht(be));t===b&&(u.substr(qt,5)===eu?(t=eu,qt+=5):(t=b,0===Wt&&Ht(xe)));t!==b&&(Tt=e,t="true"===t);return e=t}(),t===b&&(t=bn())),t!==b&&(Tt=e,t={type:"Literal",value:t}),e=t}function bn(){var e,t;return e=qt,u.substr(qt,4)===tu?(t=tu,qt+=4):(t=b,0===Wt&&Ht(_e)),t!==b&&(Tt=e,t=null),e=t}function xn(){var e,t;return e=qt,u.substr(qt,8)===nu?(t=nu,qt+=8):(t=b,0===Wt&&Ht(we)),t!==b&&(Tt=e,t=a("Infinity")),e=t}function _n(){var e,t,n,r;if(e=qt,t=qt,n=[],Mu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ke)),r!==b)for(;r!==b;)n.push(r),Mu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ke));else n=b;return n!==b?(42===u.charCodeAt(qt)?(r=G,qt++):(r=b,0===Wt&&Ht(ce)),r!==b?t=n=[n,r]:(qt=t,t=b)):(qt=t,t=b),e=t!==b?u.substring(e,qt):t}function wn(){var e,t,n;return e=qt,t=qt,n=function(){var e,t,n;if(e=qt,t=[],Mu.test(u.charAt(qt))?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(ke)),n!==b)for(;n!==b;)t.push(n),Mu.test(u.charAt(qt))?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(ke));else t=b;return t!==b?u.substring(e,qt):t}(),(t=n!==b?u.substring(t,qt):n)!==b?(Tt=qt,(n=(n=Ot(t))?void 0:b)!==b?(Tt=e,e=t):(qt=e,e=b)):(qt=e,e=b),e}function kn(){var e,t,n;return e=qt,t=function(){var e,t,n,r;if(e=qt,t=qt,n=[],Mu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ke)),r!==b)for(;r!==b;)n.push(r),Mu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ke));else n=b;return n!==b?(42===u.charCodeAt(qt)?(r=G,qt++):(r=b,0===Wt&&Ht(ce)),r===b&&(r=null),t=n=[n,r]):(qt=t,t=b),t!==b?u.substring(e,qt):t}(),t!==b?(Tt=qt,n=t,(m.includes(n)?void 0:b)!==b?(Tt=e,e=t):(qt=e,e=b)):(qt=e,e=b),e}function Ln(){var e;return e=function(){var u,e,t;u=qt,ar(),e=function(){var u,e;u=qt,(e=_n())!==b?(Tt=qt,t=e,(B.includes(t)?void 0:b)!==b?(Tt=u,u=e):(qt=u,u=b)):(qt=u,u=b);var t;return u}(),e!==b?(ar(),(t=Mn())!==b&&cr()!==b?(Tt=u,u=function(u,e){return{type:"AwaitExpression",argument:i(o(u),e)}}(e,t)):(qt=u,u=b)):(qt=u,u=b);return u}(),e===b&&(e=function(){var e,t,n,r,s,a,c,l;if(e=qt,ar(),t=function(){var e,t,n;return e=qt,t=qt,(t=(n=_n())!==b?u.substring(t,qt):n)!==b?(Tt=qt,(n=(n=Ot(t))?void 0:b)!==b?(Tt=e,e=t):(qt=e,e=b)):(qt=e,e=b),e}(),t!==b)if(ar(),(n=Mn())!==b){if(ar(),r=[],s=qt,44===u.charCodeAt(qt)?(a=q,qt++):(a=b,0===Wt&&Ht(Qu)),a!==b&&(c=cr())!==b&&(l=tn())!==b?s=a=[a,c,l]:(qt=s,s=b),s!==b)for(;s!==b;)r.push(s),s=qt,44===u.charCodeAt(qt)?(a=q,qt++):(a=b,0===Wt&&Ht(Qu)),a!==b&&(c=cr())!==b&&(l=tn())!==b?s=a=[a,c,l]:(qt=s,s=b);else r=b;r===b&&(s="",Tt=r=qt,r=s=Pt(t,n)),r!==b&&(s=cr())!==b?(Tt=e,e=function(u,e,t){return t&&(t=t.map((u=>u[2]))),{type:"AwaitExpression",argument:i(o(u),e,...t||[])}}(t,n,r)):(qt=e,e=b)}else qt=e,e=b;else qt=e,e=b;return e}(),e===b&&(e=function(){var e,t,n,r,o,s,a,c,l,D;if(e=qt,ar(),(t=wn())!==b)if(32===u.charCodeAt(qt)?(n=ru,qt++):(n=b,0===Wt&&Ht(Le)),n!==b)if(ar(),(r=Mn())!==b){for(ar(),o=[],s=qt,44===u.charCodeAt(qt)?(a=q,qt++):(a=b,0===Wt&&Ht(Qu)),a!==b&&(c=cr())!==b&&(l=tn())!==b&&(D=cr())!==b?s=a=[a,c,l,D]:(qt=s,s=b);s!==b;)o.push(s),s=qt,44===u.charCodeAt(qt)?(a=q,qt++):(a=b,0===Wt&&Ht(Qu)),a!==b&&(c=cr())!==b&&(l=tn())!==b&&(D=cr())!==b?s=a=[a,c,l,D]:(qt=s,s=b);Tt=e,e=function(u,e,t){return{type:"AwaitExpression",argument:i(u,e,...t.map((u=>u[2])))}}(t,r,o)}else qt=e,e=b;else qt=e,e=b;else qt=e,e=b;return e}(),e===b&&(e=function(){var e,t,n,r,s,a,c,l,D;if(e=qt,ar(),(t=kn())!==b){if(n=[],Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge)),r!==b)for(;r!==b;)n.push(r),Lu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(ge));else n=b;if(n===b&&(n=qt,Wt++,40===u.charCodeAt(qt)?(r=U,qt++):(r=b,0===Wt&&Ht(oe)),Wt--,r!==b?(qt=n,n=void 0):n=b),n===b&&(n=null),(r=Mn())===b&&(r=null),ar(),s=[],a=qt,44===u.charCodeAt(qt)?(c=q,qt++):(c=b,0===Wt&&Ht(Qu)),c!==b){for(l=[],Lu.test(u.charAt(qt))?(D=u.charAt(qt),qt++):(D=b,0===Wt&&Ht(ge));D!==b;)l.push(D),Lu.test(u.charAt(qt))?(D=u.charAt(qt),qt++):(D=b,0===Wt&&Ht(ge));(D=tn())!==b?a=c=[c,l,D]:(qt=a,a=b)}else qt=a,a=b;for(;a!==b;)if(s.push(a),a=qt,44===u.charCodeAt(qt)?(c=q,qt++):(c=b,0===Wt&&Ht(Qu)),c!==b){for(l=[],Lu.test(u.charAt(qt))?(D=u.charAt(qt),qt++):(D=b,0===Wt&&Ht(ge));D!==b;)l.push(D),Lu.test(u.charAt(qt))?(D=u.charAt(qt),qt++):(D=b,0===Wt&&Ht(ge));(D=tn())!==b?a=c=[c,l,D]:(qt=a,a=b)}else qt=a,a=b;Tt=e,e=function(u,e,t){return e?i(o(u),e,...t.map((u=>u[2]))):i(o(u),...t.map((u=>u[2])))}(t,r,s)}else qt=e,e=b;return e}()))),e}function Mn(){var u;return(u=Ln())===b&&(u=tn())===b&&(u=An()),u}function On(){var e,t,n,r,i,o,s;if(e=qt,47===u.charCodeAt(qt)?(t=iu,qt++):(t=b,0===Wt&&Ht(Me)),t!==b){for(n=[],u.substr(qt,2)===ou?(r=ou,qt+=2):(r=b,0===Wt&&Ht(Oe)),r===b&&(Ou.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(Pe)));r!==b;)n.push(r),u.substr(qt,2)===ou?(r=ou,qt+=2):(r=b,0===Wt&&Ht(Oe)),r===b&&(Ou.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(Pe)));if(47===u.charCodeAt(qt)?(r=iu,qt++):(r=b,0===Wt&&Ht(Me)),r!==b){for(i=[],Pu.test(u.charAt(qt))?(o=u.charAt(qt),qt++):(o=b,0===Wt&&Ht(Re));o!==b;)i.push(o),Pu.test(u.charAt(qt))?(o=u.charAt(qt),qt++):(o=b,0===Wt&&Ht(Re));Tt=e,s=i,e={type:"Literal",value:{},regex:{pattern:n.join(""),flags:s?s.join(""):""}}}else qt=e,e=b}else qt=e,e=b;return e}function Pn(){var e;return(e=function(){var e,t,n;e=qt,45===u.charCodeAt(qt)?(t=su,qt++):(t=b,0===Wt&&Ht(Ie));t===b&&(43===u.charCodeAt(qt)?(t=au,qt++):(t=b,0===Wt&&Ht(qe)));t!==b&&cr()!==b&&(n=Rn())!==b?(Tt=e,e={type:"UnaryExpression",operator:t,argument:n}):(qt=e,e=b);return e}())===b&&(e=Rn()),e}function Rn(){var e,t,n,r,i,o,s,a;if(e=qt,(t=In())!==b){for(n=[],r=qt,(i=lr())!==b?(u.substr(qt,2)===cu?(o=cu,qt+=2):(o=b,0===Wt&&Ht(Te)),o!==b&&(s=lr())!==b&&(a=In())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=lr())!==b?(u.substr(qt,2)===cu?(o=cu,qt+=2):(o=b,0===Wt&&Ht(Te)),o!==b&&(s=lr())!==b&&(a=In())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);Tt=e,e=h(t,n,{or:"||"})}else qt=e,e=b;return e}function In(){var e,t,n,r,i,o,s,a;if(e=qt,(t=qn())!==b){for(n=[],r=qt,(i=lr())!==b?(u.substr(qt,3)===lu?(o=lu,qt+=3):(o=b,0===Wt&&Ht(je)),o!==b&&(s=lr())!==b&&(a=qn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=lr())!==b?(u.substr(qt,3)===lu?(o=lu,qt+=3):(o=b,0===Wt&&Ht(je)),o!==b&&(s=lr())!==b&&(a=qn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);Tt=e,e=h(t,n,{and:"&&"})}else qt=e,e=b;return e}function qn(){var e,t,n;return e=qt,u.substr(qt,4)===Du?(t=Du,qt+=4):(t=b,0===Wt&&Ht(Ne)),t!==b&&cr()!==b&&(n=Tn())!==b?(Tt=e,e={type:"UnaryExpression",operator:"!",argument:n}):(qt=e,e=b),e===b&&(e=Tn()),e}function Tn(){var e,t,n,r,i,o,s,a;if(e=qt,(t=jn())!==b){for(n=[],r=qt,(i=cr())!==b?(u.substr(qt,2)===pu?(o=pu,qt+=2):(o=b,0===Wt&&Ht(Ue)),o===b&&(u.substr(qt,2)===Au?(o=Au,qt+=2):(o=b,0===Wt&&Ht(We))),o!==b&&(s=cr())!==b&&(a=jn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(u.substr(qt,2)===pu?(o=pu,qt+=2):(o=b,0===Wt&&Ht(Ue)),o===b&&(u.substr(qt,2)===Au?(o=Au,qt+=2):(o=b,0===Wt&&Ht(We))),o!==b&&(s=cr())!==b&&(a=jn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);Tt=e,e=A(t,n,{"==":"===","!=":"!=="})}else qt=e,e=b;return e}function jn(){var e,t,n,r,i,o,s,a;if(e=qt,(t=Nn())!==b){for(n=[],r=qt,(i=cr())!==b?(u.substr(qt,2)===hu?(o=hu,qt+=2):(o=b,0===Wt&&Ht(Ge)),o===b&&(u.substr(qt,2)===fu?(o=fu,qt+=2):(o=b,0===Wt&&Ht($e)),o===b&&(60===u.charCodeAt(qt)?(o="<",qt++):(o=b,0===Wt&&Ht(ze)),o===b&&(62===u.charCodeAt(qt)?(o=">",qt++):(o=b,0===Wt&&Ht(Ve))))),o!==b&&(s=cr())!==b&&(a=Nn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(u.substr(qt,2)===hu?(o=hu,qt+=2):(o=b,0===Wt&&Ht(Ge)),o===b&&(u.substr(qt,2)===fu?(o=fu,qt+=2):(o=b,0===Wt&&Ht($e)),o===b&&(60===u.charCodeAt(qt)?(o="<",qt++):(o=b,0===Wt&&Ht(ze)),o===b&&(62===u.charCodeAt(qt)?(o=">",qt++):(o=b,0===Wt&&Ht(Ve))))),o!==b&&(s=cr())!==b&&(a=Nn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);Tt=e,e=Rt(t,n)}else qt=e,e=b;return e}function Nn(){var e,t,n,r,i,o,s,a;if(e=qt,(t=Un())!==b){for(n=[],r=qt,(i=cr())!==b?(43===u.charCodeAt(qt)?(o=au,qt++):(o=b,0===Wt&&Ht(qe)),o===b&&(45===u.charCodeAt(qt)?(o=su,qt++):(o=b,0===Wt&&Ht(Ie))),o!==b&&(s=cr())!==b&&(a=Un())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(43===u.charCodeAt(qt)?(o=au,qt++):(o=b,0===Wt&&Ht(qe)),o===b&&(45===u.charCodeAt(qt)?(o=su,qt++):(o=b,0===Wt&&Ht(Ie))),o!==b&&(s=cr())!==b&&(a=Un())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);Tt=e,e=Rt(t,n)}else qt=e,e=b;return e}function Un(){var e,t,n,r,i,o,s,a;if(e=qt,(t=Wn())!==b){for(n=[],r=qt,(i=cr())!==b?(42===u.charCodeAt(qt)?(o=G,qt++):(o=b,0===Wt&&Ht(ce)),o===b&&(47===u.charCodeAt(qt)?(o=iu,qt++):(o=b,0===Wt&&Ht(Me)),o===b&&(37===u.charCodeAt(qt)?(o="%",qt++):(o=b,0===Wt&&Ht(Je)))),o!==b&&(s=cr())!==b&&(a=Wn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(42===u.charCodeAt(qt)?(o=G,qt++):(o=b,0===Wt&&Ht(ce)),o===b&&(47===u.charCodeAt(qt)?(o=iu,qt++):(o=b,0===Wt&&Ht(Me)),o===b&&(37===u.charCodeAt(qt)?(o="%",qt++):(o=b,0===Wt&&Ht(Je)))),o!==b&&(s=cr())!==b&&(a=Wn())!==b?r=i=[i,o,s,a]:(qt=r,r=b)):(qt=r,r=b);Tt=e,e=Rt(t,n)}else qt=e,e=b;return e}function Wn(){var e,t,n,r,i,o,s,c,l;if(e=qt,(t=Gn())!==b){for(n=[],r=qt,(i=cr())!==b?(u.substr(qt,2)===Cu?(o=Cu,qt+=2):(o=b,0===Wt&&Ht(Ke)),o!==b&&(s=cr())!==b&&(c=Gn())!==b?r=i=[i,o,s,c]:(qt=r,r=b)):(qt=r,r=b);r!==b;)n.push(r),r=qt,(i=cr())!==b?(u.substr(qt,2)===Cu?(o=Cu,qt+=2):(o=b,0===Wt&&Ht(Ke)),o!==b&&(s=cr())!==b&&(c=Gn())!==b?r=i=[i,o,s,c]:(qt=r,r=b)):(qt=r,r=b);Tt=e,l=t,e=n.reduce((function(u,e){return{type:"SequenceExpression",expressions:[{type:"AssignmentExpression",operator:"=",left:Cr,right:F(f(F(a("String"),u),Fr),e[3])},(t=Cr,{type:"UnaryExpression",operator:"!",argument:{type:"UnaryExpression",operator:"!",argument:t,prefix:!0},prefix:!0})]};var t}),l)}else qt=e,e=b;return e}function Gn(){var e,t,n,r;return(e=En())===b&&(e=an())===b&&(e=function(){var u;return(u=vn())===b&&(u=Sn())===b&&(u=On())===b&&(u=xn())===b&&(u=bn()),u}())===b&&(e=Kn())===b&&(e=Jn())===b&&(e=qt,40===u.charCodeAt(qt)?(t=U,qt++):(t=b,0===Wt&&Ht(oe)),t!==b&&cr()!==b?((n=Ln())===b&&(n=tn()),n!==b&&cr()!==b?(41===u.charCodeAt(qt)?(r=W,qt++):(r=b,0===Wt&&Ht(se)),r!==b?(Tt=e,e=n):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)),e}function $n(){var u,e;return u=qt,(e=or())!==b&&(Tt=u,e=It(e)),u=e}function zn(){var u,e,t,n;return u=qt,e=qt,Wt++,t=ir(),Wt--,t===b?e=void 0:(qt=e,e=b),e!==b&&(t=or())!==b?(Tt=qt,n=t,(!d.includes(n)?void 0:b)!==b?(Tt=u,u=It(t)):(qt=u,u=b)):(qt=u,u=b),u}function Vn(){var e,t,n;return e=qt,t=qt,Wt++,n=ir(),Wt--,n===b?t=void 0:(qt=t,t=b),t!==b?(u.substr(qt,6)===Fu?(n=Fu,qt+=6):(n=b,0===Wt&&Ht(Ye)),n===b&&(u.substr(qt,8)===Eu?(n=Eu,qt+=8):(n=b,0===Wt&&Ht(He)),n===b&&(u.substr(qt,4)===gu?(n=gu,qt+=4):(n=b,0===Wt&&Ht(Ze)),n===b&&(u.substr(qt,7)===mu?(n=mu,qt+=7):(n=b,0===Wt&&Ht(Xe)),n===b&&(u.substr(qt,4)===du?(n=du,qt+=4):(n=b,0===Wt&&Ht(Qe)),n===b&&(u.substr(qt,4)===Bu?(n=Bu,qt+=4):(n=b,0===Wt&&Ht(ut))))))),n!==b?(Tt=e,e=a(n)):(qt=e,e=b)):(qt=e,e=b),e}function Jn(){var u;return(u=Vn())===b&&(u=zn()),u}function Kn(){var e,t,n;return e=qt,36===u.charCodeAt(qt)?(t="$",qt++):(t=b,0===Wt&&Ht(st)),t!==b?(n=function(){var e,t,n;e=qt,t=[],qu.test(u.charAt(qt))?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(ht));if(n!==b)for(;n!==b;)t.push(n),qu.test(u.charAt(qt))?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(ht));else t=b;t!==b&&(Tt=e,t=parseInt(Gt(),10));return e=t}(),n!==b?(Tt=e,e={type:"MemberExpression",computed:!0,object:Cr,property:{type:"Literal",value:n}}):(qt=e,e=b)):(qt=e,e=b),e}function Yn(){var e,t,n,r,i;return e=qt,"<<<"===u.substr(qt,3)?(t="<<<",qt+=3):(t=b,0===Wt&&Ht(at)),t!==b?(n=function(){var u,e;u=qt,(e=Zn())!==b&&(Tt=u,e=void(fr=e));return u=e}(),n!==b?(10===u.charCodeAt(qt)?(r="\n",qt++):(r=b,0===Wt&&Ht(ct)),r!==b?(i=function(){var e,t,n,r,i;e=qt,t=[],n=qt,r=qt,Wt++,i=Xn(),Wt--,i===b?r=void 0:(qt=r,r=b);r!==b?(u.length>qt?(i=u.charAt(qt),qt++):(i=b,0===Wt&&Ht(Se)),i!==b?n=r=[r,i]:(qt=n,n=b)):(qt=n,n=b);for(;n!==b;)t.push(n),n=qt,r=qt,Wt++,i=Xn(),Wt--,i===b?r=void 0:(qt=r,r=b),r!==b?(u.length>qt?(i=u.charAt(qt),qt++):(i=b,0===Wt&&Ht(Se)),i!==b?n=r=[r,i]:(qt=n,n=b)):(qt=n,n=b);return e=u.substring(e,qt)}(),Xn()!==b?(Tt=e,e=function(u){const e=$t().start.column-1,t=new RegExp(`^ {${e}}`,"mg");return{type:"Literal",value:u.replace(t,"")}}(i)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b)):(qt=e,e=b),e}function Hn(){var e,t,n;return e=qt,t=qt,Wt++,Ru.test(u.charAt(qt))?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(lt)),Wt--,n===b?t=void 0:(qt=t,t=b),t!==b?(u.length>qt?(n=u.charAt(qt),qt++):(n=b,0===Wt&&Ht(Se)),n!==b?e=t=[t,n]:(qt=e,e=b)):(qt=e,e=b),e}function Zn(){var e,t,n;if(Wt++,e=qt,t=[],(n=Hn())!==b)for(;n!==b;)t.push(n),n=Hn();else t=b;return e=t!==b?u.substring(e,qt):t,Wt--,e===b&&(t=b,0===Wt&&Ht(Dt)),e}function Xn(){var e,t,n,r,i;if(e=qt,10===u.charCodeAt(qt)?(t="\n",qt++):(t=b,0===Wt&&Ht(ct)),t!==b){for(n=[],32===u.charCodeAt(qt)?(r=ru,qt++):(r=b,0===Wt&&Ht(Le));r!==b;)n.push(r),32===u.charCodeAt(qt)?(r=ru,qt++):(r=b,0===Wt&&Ht(Le));(r=Zn())!==b?(Tt=qt,(i=(i=fr===r)?void 0:b)!==b?e=t=[t,n,r,i]:(qt=e,e=b)):(qt=e,e=b)}else qt=e,e=b;return e}function Qn(){var e,t,n,r;if(e=qt,35===u.charCodeAt(qt)?(t="#",qt++):(t=b,0===Wt&&Ht(pt)),t!==b){for(n=[],Iu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(At));r!==b;)n.push(r),Iu.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(At));Tt=e,e=null}else qt=e,e=b;return e}function ur(){var e;return Tu.test(u.charAt(qt))?(e=u.charAt(qt),qt++):(e=b,0===Wt&&Ht(Et)),e}function er(){var e;return ju.test(u.charAt(qt))?(e=u.charAt(qt),qt++):(e=b,0===Wt&&Ht(gt)),e}function tr(){var e;return Nu.test(u.charAt(qt))?(e=u.charAt(qt),qt++):(e=b,0===Wt&&Ht(mt)),e}function nr(){var e;return 45===u.charCodeAt(qt)?(e=su,qt++):(e=b,0===Wt&&Ht(Ie)),e}function rr(){var e;return qu.test(u.charAt(qt))?(e=u.charAt(qt),qt++):(e=b,0===Wt&&Ht(ht)),e}function ir(){var e,t,n,r;return e=qt,u.substr(qt,2)===L?(t=L,qt+=2):(t=b,0===Wt&&Ht(Ju)),t===b&&(u.substr(qt,4)===M?(t=M,qt+=4):(t=b,0===Wt&&Ht(Ku)),t===b&&(u.substr(qt,3)===k?(t=k,qt+=3):(t=b,0===Wt&&Ht(Vu)),t===b&&(u.substr(qt,4)===O?(t=O,qt+=4):(t=b,0===Wt&&Ht(Yu)),t===b&&(u.substr(qt,6)===J?(t=J,qt+=6):(t=b,0===Wt&&Ht(fe)),t===b&&(u.substr(qt,3)===z?(t=z,qt+=3):(t=b,0===Wt&&Ht(Ae)),t===b&&(u.substr(qt,2)===j?(t=j,qt+=2):(t=b,0===Wt&&Ht(ee)),t===b&&(u.substr(qt,2)===T?(t=T,qt+=2):(t=b,0===Wt&&Ht(ue)),t===b&&(u.substr(qt,3)===I?(t=I,qt+=3):(t=b,0===Wt&&Ht(Xu)),t===b&&(u.substr(qt,5)===N?(t=N,qt+=5):(t=b,0===Wt&&Ht(te)),t===b&&(u.substr(qt,5)===P?(t=P,qt+=5):(t=b,0===Wt&&Ht(Hu)),t===b&&(u.substr(qt,8)===R?(t=R,qt+=8):(t=b,0===Wt&&Ht(Zu)),t===b&&(u.substr(qt,6)===V?(t=V,qt+=6):(t=b,0===Wt&&Ht(he)),t===b&&(u.substr(qt,4)===Z?(t=Z,qt+=4):(t=b,0===Wt&&Ht(me)),t===b&&(u.substr(qt,3)===$?(t=$,qt+=3):(t=b,0===Wt&&Ht(pe)))))))))))))))),t!==b?(n=qt,Wt++,r=or(),Wt--,r===b?n=void 0:(qt=n,n=b),n!==b?e=t=[t,n]:(qt=e,e=b)):(qt=e,e=b),e}function or(){var e,t,n,r;if(e=qt,Gu.test(u.charAt(qt))?(t=u.charAt(qt),qt++):(t=b,0===Wt&&Ht(vt)),t!==b){for(n=[],$u.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(St));r!==b;)n.push(r),$u.test(u.charAt(qt))?(r=u.charAt(qt),qt++):(r=b,0===Wt&&Ht(St));Tt=e,e=Lt()}else qt=e,e=b;return e}function sr(){var e;return zu.test(u.charAt(qt))?(e=u.charAt(qt),qt++):(e=b,0===Wt&&Ht(bt)),e}function ar(){var e,t;for(e=[],Lu.test(u.charAt(qt))?(t=u.charAt(qt),qt++):(t=b,0===Wt&&Ht(ge));t!==b;)e.push(t),Lu.test(u.charAt(qt))?(t=u.charAt(qt),qt++):(t=b,0===Wt&&Ht(ge));return e}function cr(){var u,e,t,n;for(Wt++,u=[],e=qt,t=[],n=sr();n!==b;)t.push(n),n=sr();if((n=Qn())!==b?e=t=[t,n]:(qt=e,e=b),e!==b)for(;e!==b;){for(u.push(e),e=qt,t=[],n=sr();n!==b;)t.push(n),n=sr();(n=Qn())!==b?e=t=[t,n]:(qt=e,e=b)}else u=b;if(u===b){for(u=qt,e=[],t=sr();t!==b;)e.push(t),t=sr();Tt=u,u=e=[]}return Wt--,u===b&&(e=b,0===Wt&&Ht(xt)),u}function lr(){var u,e;if(Wt++,u=[],(e=sr())!==b)for(;e!==b;)u.push(e),e=sr();else u=b;return Wt--,u===b&&(e=b,0===Wt&&Ht(_t)),u}var Dr=0;function pr(u){return function(...t){const n=t.length-1,r=t[n];return t[n]=[e(i("should_break_loop",l(++Dr)),[E("break")]),...r],[u(...t),D(i("exit_loop",l(Dr)))]}}var Ar=pr((function(u,e,t){return u instanceof Array?{type:"ForOfStatement",await:!1,left:{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"ArrayPattern",elements:u},init:null}],kind:"let"},right:F(n("Object","entries"),e),body:s(t)}:{type:"ForOfStatement",await:!1,left:{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:u,init:null}],kind:"let"},right:e,body:s(t)}})),hr=pr((function(u,e){return{type:"WhileStatement",test:u,body:s(e)}})),fr=null,Cr=a("$$__m"),Fr=a("match");if((S=w())!==b&&qt===u.length)return S;throw S!==b&&qt":n.Relational,"<=":n.Relational,">=":n.Relational,in:n.Relational,instanceof:n.Relational,"<<":n.BitwiseSHIFT,">>":n.BitwiseSHIFT,">>>":n.BitwiseSHIFT,"+":n.Additive,"-":n.Additive,"*":n.Multiplicative,"%":n.Multiplicative,"/":n.Multiplicative,"**":n.Exponentiation};var L=32,M=33;function P(u,e){var t="";for(e|=0;e>0;e>>>=1,u+=u)1&e&&(t+=u);return t}function R(u){var e=u.length;return e&&s.code.isLineTerminator(u.charCodeAt(e-1))}function I(u,e){var t;for(t in e)e.hasOwnProperty(t)&&(u[t]=e[t]);return u}function q(u,e){var t,n;function r(u){return"object"==typeof u&&u instanceof Object&&!(u instanceof RegExp)}for(t in e)e.hasOwnProperty(t)&&(r(n=e[t])?r(u[t])?q(u[t],n):u[t]=q({},n):u[t]=n);return u}function T(u,e){return 8232==(-2&u)?(e?"u":"\\u")+(8232===u?"2028":"2029"):10===u||13===u?(e?"":"\\")+(10===u?"n":"r"):String.fromCharCode(u)}function j(u,e){var t;return 8===u?"\\b":12===u?"\\f":9===u?"\\t":(t=u.toString(16).toUpperCase(),l||u>255?"\\u"+"0000".slice(t.length)+t:0!==u||s.code.isDecimalDigit(e)?11===u?"\\x0B":"\\x"+"00".slice(t.length)+t:"\\0")}function N(u){if(92===u)return"\\\\";if(10===u)return"\\n";if(13===u)return"\\r";if(8232===u)return"\\u2028";if(8233===u)return"\\u2029";throw new Error("Incorrectly classified character")}function U(u){var e,t,n,r="";for(e=0,t=u.length;eo&&(c=o)}for(void 0!==e?(l=a,"*"===t[1][c]&&(e+=" "),a=e):(1&c&&--c,l=a),n=1,r=t.length;n0){if(o=e,S){for(e=[],A=(i=u.leadingComments[0]).extendedRange,h=i.range,(F=((C=v.substring(A[0],h[0])).match(/\n/g)||[]).length)>0?(e.push(P("\n",F)),e.push(z(J(i)))):(e.push(C),e.push(J(i))),f=h,n=1,r=u.leadingComments.length;n0?(e.push(P("\n",F)),e.push(z(J(i)))):(e.push(C),e.push(J(i)));else for(l=!R(W(e).toString()),D=P(" ",function(u){var e;for(e=u.length-1;e>=0&&!s.code.isLineTerminator(u.charCodeAt(e));--e);return u.length-1-e}(W([a,e,c]).toString())),n=0,r=u.trailingComments.length;n")),u.expression?(e.push(C),"{"===(r=this.generateExpression(u.body,n.Assignment,7)).toString().charAt(0)&&(r=["(",r,")"]),e.push(r)):e.push(this.maybeBlock(u.body,9)),e},X.prototype.generateIterationForStatement=function(u,e,r){var i=["for"+(e.await?G()+"await":"")+C+"("],o=this;return V((function(){e.left.type===t.VariableDeclaration?V((function(){i.push(e.left.kind+G()),i.push(o.generateStatement(e.left.declarations[0],0))})):i.push(o.generateExpression(e.left,n.Call,7)),i=$(i,u),i=[$(i,o.generateExpression(e.right,n.Assignment,7)),")"]})),i.push(this.maybeBlock(e.body,r)),i},X.prototype.generatePropertyKey=function(u,e){var t=[];return e&&t.push("["),t.push(this.generateExpression(u,n.Assignment,7)),e&&t.push("]"),t},X.prototype.generateAssignment=function(u,e,t,r,i){return n.Assignment2&&("\n"===(n=v.substring(t[0]+1,t[1]-1))[0]&&(r=["{"]),r.push(n)),c=1,8&e&&(c|=16),o=0,s=u.body.length;o0&&(u.body[o-1].trailingComments||u.body[o].leadingComments||Y(u.body[o-1].range[1],u.body[o].range[0],r))),o===s-1&&(c|=L),a=u.body[o].leadingComments&&S?i.generateStatement(u.body[o],c):z(i.generateStatement(u.body[o],c)),r.push(a),R(W(a).toString())||S&&o1?V(a):a(),t.push(this.semicolon(e)),t},ThrowStatement:function(u,e){return[$("throw",this.generateExpression(u.argument,n.Sequence,7)),this.semicolon(e)]},TryStatement:function(u,e){var t,n,r,i;if(t=["try",this.maybeBlock(u.block,1)],t=this.maybeBlockSuffix(u.block,t),u.handlers)for(n=0,r=u.handlers.length;n0?"\n":""],o=17,r=0;r0&&(u.body[r-1].trailingComments||u.body[r].leadingComments||Y(u.body[r-1].range[1],u.body[r].range[0],t))),n=z(this.generateStatement(u.body[r],o)),t.push(n),r+10){for(r.push("("),o=0,s=i;o=2&&48===o.charCodeAt(0))&&i.push(" "),i.push(u.optional?"?.":"."),i.push(Q(u.property))),H(i,n.Member,e)},MetaProperty:function(u,e,t){var r;return(r=[]).push("string"==typeof u.meta?u.meta:Q(u.meta)),r.push("."),r.push("string"==typeof u.property?u.property:Q(u.property)),H(r,n.Member,e)},UnaryExpression:function(u,e,t){var r,i,o,a,c;return i=this.generateExpression(u.argument,n.Unary,7),""===C?r=$(u.operator,i):(r=[u.operator],u.operator.length>2?r=$(r,i):(c=(a=W(r).toString()).charCodeAt(a.length-1),o=i.toString().charCodeAt(0),(43===c||45===c)&&c===o||s.code.isIdentifierPartES5(c)&&s.code.isIdentifierPartES5(o)?(r.push(G()),r.push(i)):r.push(i))),H(r,n.Unary,e)},YieldExpression:function(u,e,t){var r;return r=u.delegate?"yield*":"yield",u.argument&&(r=$(r,this.generateExpression(u.argument,n.Yield,7))),H(r,n.Yield,e)},AwaitExpression:function(u,e,t){return H($(u.all?"await*":"await",this.generateExpression(u.argument,n.Await,7)),n.Await,e)},UpdateExpression:function(u,e,t){return u.prefix?H([u.operator,this.generateExpression(u.argument,n.Unary,7)],n.Unary,e):H([this.generateExpression(u.argument,n.Postfix,7),u.operator],n.Postfix,e)},FunctionExpression:function(u,e,t){var n=[uu(u,!0),"function"];return u.id?(n.push(eu(u)||G()),n.push(Q(u.id))):n.push(eu(u)||C),n.push(this.generateFunctionBody(u)),n},ArrayPattern:function(u,e,t){return this.ArrayExpression(u,e,t,!0)},ArrayExpression:function(u,e,t,r){var i,o,s=this;return u.elements.length?(o=!r&&u.elements.length>1,i=["[",o?f:""],V((function(e){var t,r;for(t=0,r=u.elements.length;t1,V((function(){o=c.generateExpression(u.properties[0],n.Sequence,7)})),r||(s=W(o).toString(),/[\r\n]/g.test(s))?(V((function(e){var t,s;if(i=["{",f,e,o],r)for(i.push(","+f),t=1,s=u.properties.length;t126))){o+=j(n,u.charCodeAt(e+1));continue}}o+=String.fromCharCode(n)}if(i=(r=!("double"===A||"auto"===A&&c0&&(r=+n.slice(i+1),n=n.slice(0,i)),t>=0&&(r-=n.length-t-1,n=+(n.slice(0,t)+n.slice(t+1))+""),i=0;48===n.charCodeAt(n.length+i-1);)--i;return 0!==i&&(r-=i,n=n.slice(0,i)),0!==r&&(n+="e"+r),(n.length1e12&&Math.floor(u)===u&&(n="0x"+u.toString(16)).length0||d.moz.comprehensionExpressionStartsWithAssignment?i=$(i,a):i.push(a)})),u.filter&&(i=$(i,"if"+C),a=this.generateExpression(u.filter,n.Sequence,7),i=$(i,["(",a,")"])),d.moz.comprehensionExpressionStartsWithAssignment||(a=this.generateExpression(u.body,n.Assignment,7),i=$(i,a)),i.push(u.type===t.GeneratorExpression?")":"]"),i},ComprehensionBlock:function(u,e,r){var i;return i=$(i=u.left.type===t.VariableDeclaration?[u.left.kind,G(),this.generateStatement(u.left.declarations[0],0)]:this.generateExpression(u.left,n.Call,7),u.of?"of":"in"),i=$(i,this.generateExpression(u.right,n.Sequence,7)),["for"+C+"(",i,")"]},SpreadElement:function(u,e,t){return["...",this.generateExpression(u.argument,n.Assignment,7)]},TaggedTemplateExpression:function(u,e,t){var r=3;return 2&t||(r=1),H([this.generateExpression(u.tag,n.Call,r),this.generateExpression(u.quasi,n.Primary,4)],n.TaggedTemplate,e)},TemplateElement:function(u,e,t){return u.value.raw},TemplateLiteral:function(u,e,t){var r,i,o;for(r=["`"],i=0,o=u.quasis.length;i",license:"GPL-3.0",bugs:{url:"https://github.com/jcubic/gaiman/issues"},homepage:"https://github.com/jcubic/gaiman#readme",devDependencies:{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.1",coveralls:"^3.1.1",jest:"^27.4.5",peggy:"^1.2.0",rollup:"^2.61.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2"},dependencies:{"@babel/cli":"^7.17.10","@babel/core":"^7.18.5","@babel/standalone":"^7.18.5","@jcubic/lily":"^0.3.0",escodegen:"^2.0.0",terser:"^5.14.2"}};const du=b,Bu=x,{version:yu}=mu;function vu(u){return du.parse(u)}function Su(u){return Bu.generate(u)}var bu={generate:Su,compile:function(u){return Su(vu(u))},parse:vu,version:yu};return bu})); +!function(e){!function(){var t,n,r,i,o,s,a,c,l,D,p,A,h,f,C,F,E,g,m,d,B,y,v,S,b,x;function k(u){return X.Statement.hasOwnProperty(u.type)}s=w,t=(o=_).Syntax,r={"||":(n={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Exponentiation:13,Await:14,Unary:14,Postfix:15,OptionalChaining:16,Call:17,New:18,TaggedTemplate:19,Member:20,Primary:21}).LogicalOR,"&&":n.LogicalAND,"|":n.BitwiseOR,"^":n.BitwiseXOR,"&":n.BitwiseAND,"==":n.Equality,"!=":n.Equality,"===":n.Equality,"!==":n.Equality,is:n.Equality,isnt:n.Equality,"<":n.Relational,">":n.Relational,"<=":n.Relational,">=":n.Relational,in:n.Relational,instanceof:n.Relational,"<<":n.BitwiseSHIFT,">>":n.BitwiseSHIFT,">>>":n.BitwiseSHIFT,"+":n.Additive,"-":n.Additive,"*":n.Multiplicative,"%":n.Multiplicative,"/":n.Multiplicative,"**":n.Exponentiation};var L=32,M=33;function P(u,e){var t="";for(e|=0;e>0;e>>>=1,u+=u)1&e&&(t+=u);return t}function R(u){var e=u.length;return e&&s.code.isLineTerminator(u.charCodeAt(e-1))}function I(u,e){var t;for(t in e)e.hasOwnProperty(t)&&(u[t]=e[t]);return u}function q(u,e){var t,n;function r(u){return"object"==typeof u&&u instanceof Object&&!(u instanceof RegExp)}for(t in e)e.hasOwnProperty(t)&&(r(n=e[t])?r(u[t])?q(u[t],n):u[t]=q({},n):u[t]=n);return u}function T(u,e){return 8232==(-2&u)?(e?"u":"\\u")+(8232===u?"2028":"2029"):10===u||13===u?(e?"":"\\")+(10===u?"n":"r"):String.fromCharCode(u)}function j(u,e){var t;return 8===u?"\\b":12===u?"\\f":9===u?"\\t":(t=u.toString(16).toUpperCase(),l||u>255?"\\u"+"0000".slice(t.length)+t:0!==u||s.code.isDecimalDigit(e)?11===u?"\\x0B":"\\x"+"00".slice(t.length)+t:"\\0")}function N(u){if(92===u)return"\\\\";if(10===u)return"\\n";if(13===u)return"\\r";if(8232===u)return"\\u2028";if(8233===u)return"\\u2029";throw new Error("Incorrectly classified character")}function U(u){var e,t,n,r="";for(e=0,t=u.length;eo&&(c=o)}for(void 0!==e?(l=a,"*"===t[1][c]&&(e+=" "),a=e):(1&c&&--c,l=a),n=1,r=t.length;n0){if(o=e,S){for(e=[],A=(i=u.leadingComments[0]).extendedRange,h=i.range,(F=((C=v.substring(A[0],h[0])).match(/\n/g)||[]).length)>0?(e.push(P("\n",F)),e.push(z(J(i)))):(e.push(C),e.push(J(i))),f=h,n=1,r=u.leadingComments.length;n0?(e.push(P("\n",F)),e.push(z(J(i)))):(e.push(C),e.push(J(i)));else for(l=!R(W(e).toString()),D=P(" ",function(u){var e;for(e=u.length-1;e>=0&&!s.code.isLineTerminator(u.charCodeAt(e));--e);return u.length-1-e}(W([a,e,c]).toString())),n=0,r=u.trailingComments.length;n")),u.expression?(e.push(C),"{"===(r=this.generateExpression(u.body,n.Assignment,7)).toString().charAt(0)&&(r=["(",r,")"]),e.push(r)):e.push(this.maybeBlock(u.body,9)),e},X.prototype.generateIterationForStatement=function(u,e,r){var i=["for"+(e.await?G()+"await":"")+C+"("],o=this;return V((function(){e.left.type===t.VariableDeclaration?V((function(){i.push(e.left.kind+G()),i.push(o.generateStatement(e.left.declarations[0],0))})):i.push(o.generateExpression(e.left,n.Call,7)),i=$(i,u),i=[$(i,o.generateExpression(e.right,n.Assignment,7)),")"]})),i.push(this.maybeBlock(e.body,r)),i},X.prototype.generatePropertyKey=function(u,e){var t=[];return e&&t.push("["),t.push(this.generateExpression(u,n.Assignment,7)),e&&t.push("]"),t},X.prototype.generateAssignment=function(u,e,t,r,i){return n.Assignment2&&("\n"===(n=v.substring(t[0]+1,t[1]-1))[0]&&(r=["{"]),r.push(n)),c=1,8&e&&(c|=16),o=0,s=u.body.length;o0&&(u.body[o-1].trailingComments||u.body[o].leadingComments||Y(u.body[o-1].range[1],u.body[o].range[0],r))),o===s-1&&(c|=L),a=u.body[o].leadingComments&&S?i.generateStatement(u.body[o],c):z(i.generateStatement(u.body[o],c)),r.push(a),R(W(a).toString())||S&&o1?V(a):a(),t.push(this.semicolon(e)),t},ThrowStatement:function(u,e){return[$("throw",this.generateExpression(u.argument,n.Sequence,7)),this.semicolon(e)]},TryStatement:function(u,e){var t,n,r,i;if(t=["try",this.maybeBlock(u.block,1)],t=this.maybeBlockSuffix(u.block,t),u.handlers)for(n=0,r=u.handlers.length;n0?"\n":""],o=17,r=0;r0&&(u.body[r-1].trailingComments||u.body[r].leadingComments||Y(u.body[r-1].range[1],u.body[r].range[0],t))),n=z(this.generateStatement(u.body[r],o)),t.push(n),r+10){for(r.push("("),o=0,s=i;o=2&&48===o.charCodeAt(0))&&i.push(" "),i.push(u.optional?"?.":"."),i.push(Q(u.property))),H(i,n.Member,e)},MetaProperty:function(u,e,t){var r;return(r=[]).push("string"==typeof u.meta?u.meta:Q(u.meta)),r.push("."),r.push("string"==typeof u.property?u.property:Q(u.property)),H(r,n.Member,e)},UnaryExpression:function(u,e,t){var r,i,o,a,c;return i=this.generateExpression(u.argument,n.Unary,7),""===C?r=$(u.operator,i):(r=[u.operator],u.operator.length>2?r=$(r,i):(c=(a=W(r).toString()).charCodeAt(a.length-1),o=i.toString().charCodeAt(0),(43===c||45===c)&&c===o||s.code.isIdentifierPartES5(c)&&s.code.isIdentifierPartES5(o)?(r.push(G()),r.push(i)):r.push(i))),H(r,n.Unary,e)},YieldExpression:function(u,e,t){var r;return r=u.delegate?"yield*":"yield",u.argument&&(r=$(r,this.generateExpression(u.argument,n.Yield,7))),H(r,n.Yield,e)},AwaitExpression:function(u,e,t){return H($(u.all?"await*":"await",this.generateExpression(u.argument,n.Await,7)),n.Await,e)},UpdateExpression:function(u,e,t){return u.prefix?H([u.operator,this.generateExpression(u.argument,n.Unary,7)],n.Unary,e):H([this.generateExpression(u.argument,n.Postfix,7),u.operator],n.Postfix,e)},FunctionExpression:function(u,e,t){var n=[uu(u,!0),"function"];return u.id?(n.push(eu(u)||G()),n.push(Q(u.id))):n.push(eu(u)||C),n.push(this.generateFunctionBody(u)),n},ArrayPattern:function(u,e,t){return this.ArrayExpression(u,e,t,!0)},ArrayExpression:function(u,e,t,r){var i,o,s=this;return u.elements.length?(o=!r&&u.elements.length>1,i=["[",o?f:""],V((function(e){var t,r;for(t=0,r=u.elements.length;t1,V((function(){o=c.generateExpression(u.properties[0],n.Sequence,7)})),r||(s=W(o).toString(),/[\r\n]/g.test(s))?(V((function(e){var t,s;if(i=["{",f,e,o],r)for(i.push(","+f),t=1,s=u.properties.length;t126))){o+=j(n,u.charCodeAt(e+1));continue}}o+=String.fromCharCode(n)}if(i=(r=!("double"===A||"auto"===A&&c0&&(r=+n.slice(i+1),n=n.slice(0,i)),t>=0&&(r-=n.length-t-1,n=+(n.slice(0,t)+n.slice(t+1))+""),i=0;48===n.charCodeAt(n.length+i-1);)--i;return 0!==i&&(r-=i,n=n.slice(0,i)),0!==r&&(n+="e"+r),(n.length1e12&&Math.floor(u)===u&&(n="0x"+u.toString(16)).length0||d.moz.comprehensionExpressionStartsWithAssignment?i=$(i,a):i.push(a)})),u.filter&&(i=$(i,"if"+C),a=this.generateExpression(u.filter,n.Sequence,7),i=$(i,["(",a,")"])),d.moz.comprehensionExpressionStartsWithAssignment||(a=this.generateExpression(u.body,n.Assignment,7),i=$(i,a)),i.push(u.type===t.GeneratorExpression?")":"]"),i},ComprehensionBlock:function(u,e,r){var i;return i=$(i=u.left.type===t.VariableDeclaration?[u.left.kind,G(),this.generateStatement(u.left.declarations[0],0)]:this.generateExpression(u.left,n.Call,7),u.of?"of":"in"),i=$(i,this.generateExpression(u.right,n.Sequence,7)),["for"+C+"(",i,")"]},SpreadElement:function(u,e,t){return["...",this.generateExpression(u.argument,n.Assignment,7)]},TaggedTemplateExpression:function(u,e,t){var r=3;return 2&t||(r=1),H([this.generateExpression(u.tag,n.Call,r),this.generateExpression(u.quasi,n.Primary,4)],n.TaggedTemplate,e)},TemplateElement:function(u,e,t){return u.value.raw},TemplateLiteral:function(u,e,t){var r,i,o;for(r=["`"],i=0,o=u.quasis.length;i",license:"GPL-3.0",bugs:{url:"https://github.com/jcubic/gaiman/issues"},homepage:"https://github.com/jcubic/gaiman#readme",devDependencies:{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.1",coveralls:"^3.1.1",jest:"^27.4.5",peggy:"^1.2.0",rollup:"^2.61.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2"},dependencies:{"@babel/cli":"^7.17.10","@babel/core":"^7.18.5","@babel/standalone":"^7.18.5","@jcubic/lily":"^0.3.0",escodegen:"^2.0.0",terser:"^5.14.2"}};const du=b,Bu=x,{version:yu}=mu;function vu(u){return du.parse(u)}function Su(u){return Bu.generate(u)}var bu={generate:Su,compile:function(u){return Su(vu(u))},parse:vu,version:yu};return bu}));