-
Notifications
You must be signed in to change notification settings - Fork 11
/
umd.min.js
230 lines (215 loc) · 153 KB
/
umd.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
/** ______ _
* / ____/___ _(_)___ ___ ____ _____
* / / __/ __ `/ / __ `__ \/ __ `/ __ \
* / /_/ / /_/ / / / / / / / /_/ / / / /
* \____/\__,_/_/_/ /_/ /_/\__,_/_/ /_/
*
* Storytelling Text Based Game Engine 1.0.0-beta.3
* Copyright (C) 2021 Jakub T. Jankiewicz <https://jcubic.pl/me>
*
* Released under GNU GPL v3 or later
* Buid time: Thu, 23 May 2024 10:07:46 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 E(...u.map(a))}function r(u){return g(a("gaiman"),a(u),!1)}function i(u,...e){return m(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:"UnaryExpression",operator:"!",argument:u}}function l(u,e){return{type:"NewExpression",callee:u,arguments:e}}function D(u){return{type:"AwaitExpression",argument:u}}function p(u){return{type:"VariableDeclaration",declarations:u.map((function(u){return{type:"VariableDeclarator",id:a(L+u),init:a(u)}})),kind:"const"}}function A(u){return{type:"Literal",value:u}}function h(u){return{type:"ExpressionStatement",expression:u}}function f(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 C=f("BinaryExpression"),F=f("LogicalExpression");function E(...u){return u.reduce((function(u,e){return g(u,e,!1)}))}function g(u,e,t){return{type:"MemberExpression",computed:t,object:u,property:e}}function m(u,...e){return{type:"CallExpression",callee:u,arguments:e}}function d(u){return{type:"BinaryExpression",operator:"instanceof",left:u,right:M}}function B(u){return{type:"ThrowStatement",argument:u}}function y(u){return function(u,t){return e(d(u),[t])}(u=a(u),B(u))}function v(u,e,t){return S(u,e,[y(e)].concat(t))}function S(u,e,t,n){return{type:"TryStatement",block:s(u),handler:{type:"CatchClause",param:{type:"Identifier",name:e},body:s(t)},finalizer:n&&s(n)}}function b(u){return{type:{break:"BreakStatement",continue:"ContinueStatement"}[u],label:null}}var x=["ask","get","post","sleep","echo*","prompt*","input*","ask*","post*","rpc","exec","exec*","enter*"],_=["echo","type","prompt","config","input","parse*","parse","store","complete","update","clear","mask","enter"],w=x.concat(_),k=["sleep*","get*"],L="$_",M=a("Exit");function O(u,e,t,n){var r=Error.call(this,u);return Object.setPrototypeOf&&Object.setPrototypeOf(r,O.prototype),r.expected=e,r.found=t,r.location=n,r.name="SyntaxError",r}function P(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}(O,Error),O.prototype.format=function(u){var e="Error: "+this.message;if(this.location){var t,n=null;for(t=0;t<u.length;t++)if(u[t].source===this.location.source){n=u[t].text.split(/\r\n|\n|\r/g);break}var r=this.location.start,i=this.location.source+":"+r.line+":"+r.column;if(n){var o=this.location.end,s=P("",r.line.toString().length),a=n[r.line-1],c=r.line===o.line?o.column:a.length+1;e+="\n --\x3e "+i+"\n"+s+" |\n"+r.line+" | "+a+"\n"+s+" | "+P("",r.column-1)+P("",c-r.column,"^")}else e+="\n at "+i}return e},O.buildMessage=function(u,e){var t={literal:function(u){return'"'+r(u.text)+'"'},class:function(u){var e=u.parts.map((function(u){return Array.isArray(u)?i(u[0])+"-"+i(u[1]):i(u)}));return"["+(u.inverted?"^":"")+e+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(u){return u.description}};function n(u){return u.charCodeAt(0).toString(16).toUpperCase()}function r(u){return u.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(u){return"\\x0"+n(u)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(u){return"\\x"+n(u)}))}function i(u){return u.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(u){return"\\x0"+n(u)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(u){return"\\x"+n(u)}))}function o(u){return t[u.type](u)}return"Expected "+function(u){var e,t,n=u.map(o);if(n.sort(),n.length>0){for(e=1,t=1;e<n.length;e++)n[e-1]!==n[e]&&(n[t]=n[e],t++);n.length=t}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(u)+" but "+function(u){return u?'"'+r(u)+'"':"end of input"}(e)+" found."};var R={SyntaxError:O,parse:function(u,f){var y,P={},R=(f=void 0!==f?f:{}).grammarSource,I={Start:An},q=An,T="end",j="if",N="then",U="else",W="break",G="continue",z="for",$=",",V="in",J="do",K="while",Y="try",H="catch",Z="(",X=")",Q="*",uu="new",eu="def",tu="lambda",nu="return",ru="let",iu="=",ou="import",su="from",au="async",cu="animate",lu="true",Du="false",pu="null",Au="infinity",hu=" ",fu="/",Cu="\\/",Fu="or",Eu="and",gu="not ",mu="==",du="!=",Bu="<=",yu=">=",vu="+",Su="-",bu="=~",xu="exit",_u="cookie",wu="location",ku="JSON",Lu="console",Mu="argv",Ou="node",Pu="cookie.",Ru="*=",Iu="+=",qu="-=",Tu="%=",ju="/=",Nu="0",Uu="0b",Wu=/^[ ]/,Gu=/^[a-z]/,zu=/^[^\/]/,$u=/^[igmsu]/,Vu=/^[ \n),.]/,Ju=/^[^\n]/,Ku=/^[0-9]/,Yu=/^[0-9a-f]/i,Hu=/^[0-7]/,Zu=/^[01]/,Xu=/^[1-9]/,Qu=/^[eE]/,ue=/^[A-Z_$a-z]/,ee=/^[A-Z_a-z0-9]/,te=/^[ \t\n\r]/,ne=sn("end",!1),re=sn("if",!1),ie=sn("then",!1),oe=sn("else",!1),se=sn("break",!1),ae=sn("continue",!1),ce=sn("for",!1),le=sn(",",!1),De=sn("in",!1),pe=sn("do",!1),Ae=sn("while",!1),he=sn("try",!1),fe=sn("catch",!1),Ce=sn("[",!1),Fe=sn("]",!1),Ee=sn(".",!1),ge=sn("(",!1),me=sn(")",!1),de=sn("=>",!1),Be=sn("*",!1),ye=sn("{",!1),ve=sn("}",!1),Se=sn("new",!1),be=sn("def",!1),xe=sn("lambda",!1),_e=sn("return",!1),we=sn("let",!1),ke=sn("=",!1),Le=sn("import",!1),Me=an([" "],!1,!1),Oe=sn("from",!1),Pe=sn("async",!1),Re=sn("animate",!1),Ie=sn('"',!1),qe=sn("\\",!1),Te={type:"any"},je=sn("true",!1),Ne=sn("false",!1),Ue=sn("null",!1),We=sn("infinity",!1),Ge=an([["a","z"]],!1,!1),ze=sn(" ",!1),$e=sn("/",!1),Ve=sn("\\/",!1),Je=an(["/"],!0,!1),Ke=an(["i","g","m","s","u"],!1,!1),Ye=sn("or",!1),He=sn("and",!1),Ze=sn("not ",!1),Xe=sn("==",!1),Qe=sn("!=",!1),ut=sn("<=",!1),et=sn(">=",!1),tt=sn("<",!1),nt=sn(">",!1),rt=sn("+",!1),it=sn("-",!1),ot=sn("%",!1),st=sn("=~",!1),at=sn("exit",!1),ct=sn("cookie",!1),lt=sn("location",!1),Dt=sn("JSON",!1),pt=sn("console",!1),At=sn("argv",!1),ht=sn("node",!1),ft=sn("cookie.",!1),Ct=sn("*=",!1),Ft=sn("+=",!1),Et=sn("-=",!1),gt=sn("%=",!1),mt=sn("/=",!1),dt=sn("$",!1),Bt=sn("<<<",!1),yt=sn("\n",!1),vt=an([" ","\n",")",",","."],!1,!1),St=cn("Marker"),bt=sn("#",!1),xt=an(["\n"],!0,!1),_t=an([["0","9"]],!1,!1),wt=sn("0x",!0),kt=sn("0",!1),Lt=sn("0b",!1),Mt=an([["0","9"],["a","f"]],!1,!0),Ot=an([["0","7"]],!1,!1),Pt=an(["0","1"],!1,!1),Rt=cn("number"),It=an([["1","9"]],!1,!1),qt=an(["e","E"],!1,!1),Tt=an([["A","Z"],"_","$",["a","z"]],!1,!1),jt=an([["A","Z"],"_",["a","z"],["0","9"]],!1,!1),Nt=an([" ","\t","\n","\r"],!1,!1),Ut=cn("optional whitespace"),Wt=cn("whitespace"),Gt=function(u,e){return function(u,e){const t=e.map((u=>u[3]));return t.unshift(u),t}(u,e)},zt=function(u,e){return function(u,e){return{type:"FunctionExpression",id:a("lambda"),async:!0,params:u,body:s(e)}}(u,e)},$t=function(){return rn()},Vt=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,"\\${").replace(/`/g,"\\`"))}})})),{type:"TemplateLiteral",expressions:t,quasis:n}}((u=rn(),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=on(),e}var u,e},Jt=function(u){return x.includes(u)},Kt=function(u,e){"SpreadElement"!==e.type&&function(u,e){throw e=void 0!==e?e:Dn(Qt,Xt),function(u,e){return new O(u,null,null,e)}(u,e)}(`Command ${u} require at least two arguments`)},Yt=function(u,e){return C(u,e)},Ht=function(){return B(l(M,[]))},Zt=function(u){return a(L+u)},Xt=0,Qt=0,un=[{line:1,column:1}],en=0,tn=[],nn=0;if("startRule"in f){if(!(f.startRule in I))throw new Error("Can't start parsing from rule \""+f.startRule+'".');q=I[f.startRule]}function rn(){return u.substring(Qt,Xt)}function on(){return Dn(Qt,Xt)}function sn(u,e){return{type:"literal",text:u,ignoreCase:e}}function an(u,e,t){return{type:"class",parts:u,inverted:e,ignoreCase:t}}function cn(u){return{type:"other",description:u}}function ln(e){var t,n=un[e];if(n)return n;for(t=e-1;!un[t];)t--;for(n={line:(n=un[t]).line,column:n.column};t<e;)10===u.charCodeAt(t)?(n.line++,n.column=1):n.column++,t++;return un[e]=n,n}function Dn(u,e){var t=ln(u),n=ln(e);return{source:R,start:{offset:u,line:t.line,column:t.column},end:{offset:e,line:n.line,column:n.column}}}function pn(u){Xt<en||(Xt>en&&(en=Xt,tn=[]),tn.push(u))}function An(){var u,n,r,o,s,l,D;return u=Xt,(n=fn())!==P&&(Qt=u,n={type:"Program",body:[t([(r=n,o=[h(i("exit"))],D=a("e"),S(r,"e",[(s=D,l=h(i("error",D)),e(c(d(s)),[l]))],o))])]}),u=n}function hn(){var e,t,n,r,i;if(e=Xt,t=Xt,nn++,u.substr(Xt,3)===T?(n=T,Xt+=3):(n=P,0===nn&&pn(ne)),nn--,n===P?t=void 0:(Xt=t,t=P),t!==P)if((n=Sr())!==P){for(r=[],i=Cn();i!==P;)r.push(i),i=Cn();(i=Sr())!==P?(Qt=e,e=r.flat(2).filter(Boolean)):(Xt=e,e=P)}else Xt=e,e=P;else Xt=e,e=P;return e}function fn(){var u;return(u=hn())===P&&(u=Pn()),u}function Cn(){var e,t,n,r;return e=Xt,t=Xt,nn++,u.substr(Xt,3)===T?(n=T,Xt+=3):(n=P,0===nn&&pn(ne)),nn--,n===P?t=void 0:(Xt=t,t=P),t!==P&&(n=Sr())!==P?((r=gn())===P&&(r=function(){var e,t,n,r,i,o,s,a,c,l,D,p;e=Xt,u.substr(Xt,3)===z?(t=z,Xt+=3):(t=P,0===nn&&pn(ce));t!==P&&br()!==P?(n=Xt,nn++,r=dr(),nn--,r===P?n=void 0:(Xt=n,n=P),n!==P?(r=Xt,(i=cr())!==P&&(o=Sr())!==P?(44===u.charCodeAt(Xt)?(s=$,Xt++):(s=P,0===nn&&pn(le)),s!==P&&(a=Sr())!==P&&(c=cr())!==P?r=i=[i,o,s,a,c]:(Xt=r,r=P)):(Xt=r,r=P),r===P&&(r=cr()),r!==P&&(i=br())!==P?(u.substr(Xt,2)===V?(o=V,Xt+=2):(o=P,0===nn&&pn(De)),o!==P&&(s=br())!==P?((a=Fn())===P&&(a=cr()),a!==P&&(c=Sr())!==P?(u.substr(Xt,2)===J?(l=J,Xt+=2):(l=P,0===nn&&pn(pe)),l!==P&&Sr()!==P&&(D=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(p=T,Xt+=3):(p=P,0===nn&&pn(ne)),p!==P&&Sr()!==P?(Qt=e,h=a,f=D,e=wr((A=r)instanceof Array?[A[0],A[4]]:A,h,f)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);var A,h,f;return e}(),r===P&&(r=function(){var e,t,n,r,i,o;e=Xt,t=[],n=Xt,(r=In())===P&&(r=qn());r!==P&&(i=br())!==P?n=r=[r,i]:(Xt=n,n=P);if(n!==P)for(;n!==P;)t.push(n),n=Xt,(r=In())===P&&(r=qn()),r!==P&&(i=br())!==P?n=r=[r,i]:(Xt=n,n=P);else t=P;t!==P?(u.substr(Xt,2)===J?(n=J,Xt+=2):(n=P,0===nn&&pn(pe)),n!==P&&(r=Sr())!==P&&(i=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(o=T,Xt+=3):(o=P,0===nn&&pn(ne)),o!==P&&Sr()!==P?(Qt=e,a=i,e=t.reduceRight((function(u,e){u instanceof Array||(u=[u]);var t=m(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)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);var a;return e}(),r===P&&(r=function(){var e,t,n,r,i,o;e=Xt,u.substr(Xt,5)===K?(t=K,Xt+=5):(t=P,0===nn&&pn(Ae));t!==P&&br()!==P&&(n=En())!==P&&Sr()!==P?(u.substr(Xt,2)===J?(r=J,Xt+=2):(r=P,0===nn&&pn(pe)),r!==P&&Sr()!==P&&(i=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(o=T,Xt+=3):(o=P,0===nn&&pn(ne)),o!==P&&Sr()!==P?(Qt=e,e=kr(n,i)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}(),r===P&&(r=function(){var e;e=function(){var e,t,n,r,i,o,s,a;e=Xt,u.substr(Xt,3)===Y?(t=Y,Xt+=3):(t=P,0===nn&&pn(he));t!==P&&Sr()!==P&&(n=fn())!==P&&Sr()!==P?(u.substr(Xt,5)===H?(r=H,Xt+=5):(r=P,0===nn&&pn(fe)),r!==P&&br()!==P?(i=Xt,nn++,u.substr(Xt,3)===T?(o=T,Xt+=3):(o=P,0===nn&&pn(ne)),nn--,o===P?i=void 0:(Xt=i,i=P),i!==P&&(o=Br())!==P&&Sr()!==P&&(s=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(a=T,Xt+=3):(a=P,0===nn&&pn(ne)),a!==P&&Sr()!==P?(Qt=e,e=v(n,L+o,s)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}(),e===P&&(e=function(){var e,t,n,r,i,o;e=Xt,u.substr(Xt,3)===Y?(t=Y,Xt+=3):(t=P,0===nn&&pn(he));t!==P&&Sr()!==P&&(n=fn())!==P&&Sr()!==P?(u.substr(Xt,5)===H?(r=H,Xt+=5):(r=P,0===nn&&pn(fe)),r!==P&&Sr()!==P&&(i=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(o=T,Xt+=3):(o=P,0===nn&&pn(ne)),o!==P&&Sr()!==P?(Qt=e,e=v(n,"e",i)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}());return e}(),r===P&&(r=function(){var e,t,n;e=Xt,Sr()!==P?(t=Xt,u.substr(Xt,5)===W?(n=W,Xt+=5):(n=P,0===nn&&pn(se)),n===P&&(u.substr(Xt,8)===G?(n=G,Xt+=8):(n=P,0===nn&&pn(ae))),(t=n!==P?u.substring(t,Xt):n)!==P&&(n=Sr())!==P?(Qt=e,e=function(u){return b(u)}(t)):(Xt=e,e=P)):(Xt=e,e=P);return e}(),r===P&&(r=function(){var e,t,n;e=Xt,Sr()!==P?(u.substr(Xt,6)===nu?(t=nu,Xt+=6):(t=P,0===nn&&pn(_e)),t!==P&&Sr()!==P&&(n=Fn())!==P&&Sr()!==P?(Qt=e,e={type:"ReturnStatement",argument:n}):(Xt=e,e=P)):(Xt=e,e=P);return e}(),r===P&&(r=function(){var e;e=function(){var e,t,n,r,i,o,s,a,c;e=Xt,u.substr(Xt,6)===ou?(t=ou,Xt+=6):(t=P,0===nn&&pn(Le));if(t!==P){if(n=[],Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me)),r!==P)for(;r!==P;)n.push(r),Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me));else n=P;if(n!==P)if((r=Br())!==P){for(i=[],o=Xt,44===u.charCodeAt(Xt)?(s=$,Xt++):(s=P,0===nn&&pn(le)),s!==P&&(a=Sr())!==P&&(c=Br())!==P?o=s=[s,a,c]:(Xt=o,o=P);o!==P;)i.push(o),o=Xt,44===u.charCodeAt(Xt)?(s=$,Xt++):(s=P,0===nn&&pn(le)),s!==P&&(a=Sr())!==P&&(c=Br())!==P?o=s=[s,a,c]:(Xt=o,o=P);if(o=Xt,nn++,s=Xt,a=[],Wu.test(u.charAt(Xt))?(c=u.charAt(Xt),Xt++):(c=P,0===nn&&pn(Me)),c!==P)for(;c!==P;)a.push(c),Wu.test(u.charAt(Xt))?(c=u.charAt(Xt),Xt++):(c=P,0===nn&&pn(Me));else a=P;a!==P?(u.substr(Xt,4)===su?(c=su,Xt+=4):(c=P,0===nn&&pn(Oe)),c!==P?s=a=[a,c]:(Xt=s,s=P)):(Xt=s,s=P),nn--,s===P?o=void 0:(Xt=o,o=P),o!==P?(Qt=e,e=function(u,e){var t=e.map((u=>u[2]));return t.unshift(u),p(t)}(r,i)):(Xt=e,e=P)}else Xt=e,e=P;else Xt=e,e=P}else Xt=e,e=P;return e}(),e===P&&(e=function(){var e,t,n,r;e=Xt,u.substr(Xt,6)===ou?(t=ou,Xt+=6):(t=P,0===nn&&pn(Le));if(t!==P){if(n=[],Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me)),r!==P)for(;r!==P;)n.push(r),Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me));else n=P;n!==P&&(r=jn())!==P&&Sr()!==P?(Qt=e,e=h({type:"AwaitExpression",argument:i("load",r)})):(Xt=e,e=P)}else Xt=e,e=P;return e}(),e===P&&(e=function(){var e,t,n,r,o,s,a,c;e=Xt,u.substr(Xt,6)===ou?(t=ou,Xt+=6):(t=P,0===nn&&pn(Le));if(t!==P){if(n=[],Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me)),r!==P)for(;r!==P;)n.push(r),Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me));else n=P;if(n!==P)if((r=Br())!==P){if(o=[],Wu.test(u.charAt(Xt))?(s=u.charAt(Xt),Xt++):(s=P,0===nn&&pn(Me)),s!==P)for(;s!==P;)o.push(s),Wu.test(u.charAt(Xt))?(s=u.charAt(Xt),Xt++):(s=P,0===nn&&pn(Me));else o=P;if(o!==P)if(u.substr(Xt,4)===su?(s=su,Xt+=4):(s=P,0===nn&&pn(Oe)),s!==P){if(a=[],Wu.test(u.charAt(Xt))?(c=u.charAt(Xt),Xt++):(c=P,0===nn&&pn(Me)),c!==P)for(;c!==P;)a.push(c),Wu.test(u.charAt(Xt))?(c=u.charAt(Xt),Xt++):(c=P,0===nn&&pn(Me));else a=P;a!==P&&(c=jn())!==P?(Qt=e,e=function(u,e){return[{type:"AwaitExpression",argument:i("load",e)},p([u])]}(r,c)):(Xt=e,e=P)}else Xt=e,e=P;else Xt=e,e=P}else Xt=e,e=P;else Xt=e,e=P}else Xt=e,e=P;return e}()));return e}(),r===P&&(r=function(){var e,t,n,r,i,o,s;e=Xt,Sr()!==P?(u.substr(Xt,3)===ru?(t=ru,Xt+=3):(t=P,0===nn&&pn(we)),t!==P&&Sr()!==P&&(n=cr())!==P&&Sr()!==P?(r=Xt,61===u.charCodeAt(Xt)?(i=iu,Xt++):(i=P,0===nn&&pn(ke)),i!==P&&(o=Sr())!==P&&(s=Fn())!==P?r=i=[i,o,s]:(Xt=r,r=P),r===P&&(r=null),(i=Sr())!==P?(Qt=e,e=function(u,e){return{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:u,init:e&&e[2]}],kind:"let"}}(n,r)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}(),r===P&&(r=function(){var e,t,n,r;e=Xt,Sr()!==P?(u.substr(Xt,2)===J?(t=J,Xt+=2):(t=P,0===nn&&pn(pe)),t!==P&&Sr()!==P&&(n=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(r=T,Xt+=3):(r=P,0===nn&&pn(ne)),r!==P&&Sr()!==P?(Qt=e,e={type:"BlockStatement",body:n}):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}(),r===P&&(r=ir())===P&&(r=function(){var u,e,t;u=Xt,e=Xt,nn++,t=dr(),nn--,t===P?e=void 0:(Xt=e,e=P);e!==P&&(t=Fn())!==P?(Qt=u,u=h(t)):(Xt=u,u=P);return u}(),r===P&&(r=function(){var e,t,n,r,i,o,s,a;e=Xt,Sr()!==P?(u.substr(Xt,3)===eu?(t=eu,Xt+=3):(t=P,0===nn&&pn(be)),t!==P&&Sr()!==P&&(n=cr())!==P&&Sr()!==P?(40===u.charCodeAt(Xt)?(r=Z,Xt++):(r=P,0===nn&&pn(ge)),r!==P?((i=bn())===P&&(i=Pn()),i!==P?(41===u.charCodeAt(Xt)?(o=X,Xt++):(o=P,0===nn&&pn(me)),o!==P&&Sr()!==P&&(s=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(a=T,Xt+=3):(a=P,0===nn&&pn(ne)),a!==P&&Sr()!==P?(Qt=e,e=function(u,e,t){const n=u.name.replace(/\$_/,"");if(w.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}}}(on(),4,n.length+4),u}return{type:"FunctionDeclaration",id:u,params:e,async:!0,body:{type:"BlockStatement",body:t}}}(n,i,s)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}()))))))))))),r!==P&&Sr()!==P?(Qt=e,e=r):(Xt=e,e=P)):(Xt=e,e=P),e}function Fn(){var e;return e=function(){var e;e=function(){var e,t,n,r,i;e=Xt,u.substr(Xt,7)===Pu?(t=Pu,Xt+=7):(t=P,0===nn&&pn(ft));t!==P&&(n=Br())!==P&&Sr()!==P?(61===u.charCodeAt(Xt)?(r=iu,Xt++):(r=P,0===nn&&pn(ke)),r!==P&&Sr()!==P&&(i=En())!==P?(Qt=e,e=function(u,e){return{type:"AssignmentExpression",operator:"=",left:E(a("document"),a("cookie")),right:{type:"BinaryExpression",operator:"+",left:{type:"Literal",value:u+"="},right:m(a("String"),e)}}}(n,i)):(Xt=e,e=P)):(Xt=e,e=P);return e}(),e===P&&(e=function(){var e,t,n,r;e=Xt,(t=yn())===P&&(t=sr());t!==P&&Sr()!==P?(n=function(){var e,t,n,r,i;e=Xt,t=Xt,61===u.charCodeAt(Xt)?(n=iu,Xt++):(n=P,0===nn&&pn(ke));n!==P?(r=Xt,nn++,61===u.charCodeAt(Xt)?(i=iu,Xt++):(i=P,0===nn&&pn(ke)),nn--,i===P?r=void 0:(Xt=r,r=P),r!==P?t=n=[n,r]:(Xt=t,t=P)):(Xt=t,t=P);t===P&&(u.substr(Xt,2)===Ru?(t=Ru,Xt+=2):(t=P,0===nn&&pn(Ct)),t===P&&(u.substr(Xt,2)===Iu?(t=Iu,Xt+=2):(t=P,0===nn&&pn(Ft)),t===P&&(u.substr(Xt,2)===qu?(t=qu,Xt+=2):(t=P,0===nn&&pn(Et)),t===P&&(u.substr(Xt,2)===Tu?(t=Tu,Xt+=2):(t=P,0===nn&&pn(gt)),t===P&&(u.substr(Xt,2)===ju?(t=ju,Xt+=2):(t=P,0===nn&&pn(mt)))))));e=t!==P?u.substring(e,Xt):t;return e}(),n!==P&&Sr()!==P?((r=Fn())===P&&(r=cr()),r!==P?(Qt=e,e={type:"AssignmentExpression",operator:n,left:t,right:r}):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}());return e}(),e===P&&(e=Vn())===P&&(e=En()),e}function En(){var e;return(e=function(){var e,t,n,r,i,o;e=Xt,u.substr(Xt,3)===uu?(t=uu,Xt+=3):(t=P,0===nn&&pn(Se));t!==P&&br()!==P?((n=yn())===P&&(n=cr()),n!==P&&Sr()!==P?(40===u.charCodeAt(Xt)?(r=Z,Xt++):(r=P,0===nn&&pn(ge)),r!==P&&Sr()!==P?((i=wn())===P&&(i=Pn()),i!==P?(41===u.charCodeAt(Xt)?(o=X,Xt++):(o=P,0===nn&&pn(me)),o!==P&&Sr()!==P?(Qt=e,e=D(l(n,i))):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}())===P&&(e=Yn())===P&&(e=yn())===P&&(e=Dr())===P&&(e=On())===P&&(e=Rn())===P&&(e=Ln())===P&&(e=lr())===P&&(e=kn())===P&&(e=or())===P&&(e=jn())===P&&(e=Nn())===P&&(e=Kn()),e}function gn(){var t,n,r,i,o,s;return t=Xt,Sr()!==P?(u.substr(Xt,2)===j?(n=j,Xt+=2):(n=P,0===nn&&pn(re)),n!==P&&Sr()!==P&&(r=Fn())!==P&&Sr()!==P?(u.substr(Xt,4)===N?(i=N,Xt+=4):(i=P,0===nn&&pn(ie)),i!==P&&Sr()!==P&&(o=fn())!==P?(s=function(){var e,t;return e=Xt,u.substr(Xt,3)===T?(t=T,Xt+=3):(t=P,0===nn&&pn(ne)),t!==P&&(Qt=e,t=null),t}(),s===P&&(s=function(){var e,t,n;e=Xt,Sr()!==P?(u.substr(Xt,4)===U?(t=U,Xt+=4):(t=P,0===nn&&pn(oe)),t!==P&&Sr()!==P&&(n=gn())!==P?(Qt=e,e=n):(Xt=e,e=P)):(Xt=e,e=P);return e}(),s===P&&(s=function(){var e,t,n,r;e=Xt,Sr()!==P?(u.substr(Xt,4)===U?(t=U,Xt+=4):(t=P,0===nn&&pn(oe)),t!==P&&Sr()!==P&&(n=fn())!==P?(u.substr(Xt,3)===T?(r=T,Xt+=3):(r=P,0===nn&&pn(ne)),r!==P?(Qt=e,e={type:"BlockStatement",body:n}):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P);return e}())),s!==P&&Sr()!==P?(Qt=t,t=e(r,o,s)):(Xt=t,t=P)):(Xt=t,t=P)):(Xt=t,t=P)):(Xt=t,t=P),t}function mn(){var e,t,n,r,i,o;return e=Xt,91===u.charCodeAt(Xt)?(t="[",Xt++):(t=P,0===nn&&pn(Ce)),t!==P&&(n=Sr())!==P?((r=Yn())===P&&(r=Ln())===P&&(r=lr())===P&&(r=kn())===P&&(r=On())===P&&(r=jn())===P&&(r=Nn()),r!==P&&(i=Sr())!==P?(93===u.charCodeAt(Xt)?(o="]",Xt++):(o=P,0===nn&&pn(Fe)),o!==P?e=t=[t,n,r,i,o]:(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P),e}function dn(){var e,t,n,r,i,o;return e=Xt,t=Xt,(n=Sr())!==P?(46===u.charCodeAt(Xt)?(r=".",Xt++):(r=P,0===nn&&pn(Ee)),r!==P&&(i=Sr())!==P&&(o=Br())!==P?t=n=[n,r,i,o]:(Xt=t,t=P)):(Xt=t,t=P),t!==P&&(Qt=e,t=a(t[3])),e=t}function Bn(){var e;return(e=function(){var e,t,n,r;return e=Xt,40===u.charCodeAt(Xt)?(t=Z,Xt++):(t=P,0===nn&&pn(ge)),t!==P&&Sr()!==P?((n=On())===P&&(n=yn())===P&&(n=Vn())===P&&(n=Bn()),n!==P&&Sr()!==P?(41===u.charCodeAt(Xt)?(r=X,Xt++):(r=P,0===nn&&pn(me)),r!==P?(Qt=e,e=n):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P),e}())===P&&(e=ar())===P&&(e=kn())===P&&(e=Dr())===P&&(e=jn())===P&&(e=or()),e}function yn(){var u,e,t,n,r;if(u=Xt,(e=Bn())!==P){if(t=[],(n=mn())===P&&(n=dn()),n!==P)for(;n!==P;)t.push(n),(n=mn())===P&&(n=dn());else t=P;t!==P&&(n=Sr())!==P?(Qt=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)):(Xt=u,u=P)}else Xt=u,u=P;return u}function vn(){var e,t,n,r;return e=Xt,Sr()!==P&&(t=jn())!==P&&Sr()!==P?("=>"===u.substr(Xt,2)?(n="=>",Xt+=2):(n=P,0===nn&&pn(de)),n!==P&&Sr()!==P&&(r=En())!==P&&Sr()!==P?(Qt=e,e=function(u,e){return{type:"Property",key:u,computed:!0,value:e,kind:"init",method:!1,shorthand:!1}}(t,r)):(Xt=e,e=P)):(Xt=e,e=P),e}function Sn(){var e,t,n;return e=Xt,42===u.charCodeAt(Xt)?(t=Q,Xt++):(t=P,0===nn&&pn(Be)),t!==P&&(n=cr())!==P?(Qt=e,e={type:"RestElement",argument:n}):(Xt=e,e=P),e}function bn(){var e,t,n,r,i,o,s,a,c;if(e=Xt,(t=cr())===P&&(t=Sn()),t!==P){for(n=[],r=Xt,(i=Sr())!==P?(44===u.charCodeAt(Xt)?(o=$,Xt++):(o=P,0===nn&&pn(le)),o!==P&&(s=Sr())!==P?((a=cr())===P&&(a=Sn()),a!==P&&(c=Sr())!==P?r=i=[i,o,s,a,c]:(Xt=r,r=P)):(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(44===u.charCodeAt(Xt)?(o=$,Xt++):(o=P,0===nn&&pn(le)),o!==P&&(s=Sr())!==P?((a=cr())===P&&(a=Sn()),a!==P&&(c=Sr())!==P?r=i=[i,o,s,a,c]:(Xt=r,r=P)):(Xt=r,r=P)):(Xt=r,r=P);(r=Sr())!==P?(Qt=e,e=Gt(t,n)):(Xt=e,e=P)}else Xt=e,e=P;return e}function xn(){var u;return(u=Fn())===P&&(u=cr()),u}function _n(){var e,t,n;return e=Xt,42===u.charCodeAt(Xt)?(t=Q,Xt++):(t=P,0===nn&&pn(Be)),t!==P&&(n=xn())!==P?(Qt=e,e={type:"SpreadElement",argument:n}):(Xt=e,e=P),e}function wn(){var e,t,n,r,i,o,s,a,c;if(e=Xt,(t=_n())===P&&(t=xn()),t!==P){for(n=[],r=Xt,(i=Sr())!==P?(44===u.charCodeAt(Xt)?(o=$,Xt++):(o=P,0===nn&&pn(le)),o!==P&&(s=Sr())!==P?((a=_n())===P&&(a=xn()),a!==P&&(c=Sr())!==P?r=i=[i,o,s,a,c]:(Xt=r,r=P)):(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(44===u.charCodeAt(Xt)?(o=$,Xt++):(o=P,0===nn&&pn(le)),o!==P&&(s=Sr())!==P?((a=_n())===P&&(a=xn()),a!==P&&(c=Sr())!==P?r=i=[i,o,s,a,c]:(Xt=r,r=P)):(Xt=r,r=P)):(Xt=r,r=P);(r=Sr())!==P?(Qt=e,e=Gt(t,n)):(Xt=e,e=P)}else Xt=e,e=P;return e}function kn(){var e,t,n,r,i;return e=Xt,91===u.charCodeAt(Xt)?(t="[",Xt++):(t=P,0===nn&&pn(Ce)),t!==P&&Sr()!==P?((n=wn())===P&&(n=Pn()),n!==P&&Sr()!==P?(93===u.charCodeAt(Xt)?(r="]",Xt++):(r=P,0===nn&&pn(Fe)),r!==P?(Qt=e,i=n,e={type:"NewExpression",callee:a("GaimanArray"),arguments:i}):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P),e}function Ln(){var e,t,n,r;return e=Xt,Sr()!==P?(123===u.charCodeAt(Xt)?(t="{",Xt++):(t=P,0===nn&&pn(ye)),t!==P&&Sr()!==P?(n=function(){var e,t,n,r,i,o,s,a,c;if(e=Xt,Sr()!==P)if((t=vn())!==P){for(n=[],r=Xt,(i=Sr())!==P?(44===u.charCodeAt(Xt)?(o=$,Xt++):(o=P,0===nn&&pn(le)),o!==P&&(s=Sr())!==P&&(a=vn())!==P&&(c=Sr())!==P?r=i=[i,o,s,a,c]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(44===u.charCodeAt(Xt)?(o=$,Xt++):(o=P,0===nn&&pn(le)),o!==P&&(s=Sr())!==P&&(a=vn())!==P&&(c=Sr())!==P?r=i=[i,o,s,a,c]:(Xt=r,r=P)):(Xt=r,r=P);(r=Sr())!==P?(Qt=e,e=Gt(t,n)):(Xt=e,e=P)}else Xt=e,e=P;else Xt=e,e=P;return e}(),n===P&&(n=Pn()),n!==P&&Sr()!==P?(125===u.charCodeAt(Xt)?(r="}",Xt++):(r=P,0===nn&&pn(ve)),r!==P&&Sr()!==P?(Qt=e,e={type:"ObjectExpression",properties:n}):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P),e}function Mn(){var e,t,n,r,i,o;return e=Xt,40===u.charCodeAt(Xt)?(t=Z,Xt++):(t=P,0===nn&&pn(ge)),t!==P&&(n=Sr())!==P?((r=wn())===P&&(r=Pn()),r!==P&&(i=Sr())!==P?(41===u.charCodeAt(Xt)?(o=X,Xt++):(o=P,0===nn&&pn(me)),o!==P?e=t=[t,n,r,i,o]:(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P),e}function On(){var e,t,n,r,i,o,s,a,c,l,p;if(e=Xt,Sr()!==P)if(t=Xt,nn++,n=dr(),nn--,n===P?t=void 0:(Xt=t,t=P),t!==P)if((n=yn())===P&&(n=function(){var e,t,n,r;return e=Xt,40===u.charCodeAt(Xt)?(t=Z,Xt++):(t=P,0===nn&&pn(ge)),t!==P&&Sr()!==P&&(n=Rn())!==P&&Sr()!==P?(41===u.charCodeAt(Xt)?(r=X,Xt++):(r=P,0===nn&&pn(me)),r!==P?(Qt=e,e=n):(Xt=e,e=P)):(Xt=e,e=P),e}(),n===P&&(n=cr())),n!==P)if(Sr()!==P)if(40===u.charCodeAt(Xt)?(r=Z,Xt++):(r=P,0===nn&&pn(ge)),r!==P)if(Sr()!==P)if((i=wn())===P&&(i=Pn()),i!==P)if(41===u.charCodeAt(Xt)?(o=X,Xt++):(o=P,0===nn&&pn(me)),o!==P)if(Sr()!==P){for(s=[],(a=Mn())===P&&(a=mn())===P&&(a=dn());a!==P;)s.push(a),(a=Mn())===P&&(a=mn())===P&&(a=dn());Qt=e,c=n,l=i,e=0===(p=s).length?D(m(c,...l)):p.reduce((function(u,e){if("CallExpression"===u.type&&(u={type:"AwaitExpression",argument:u}),"("==e[0])return{type:"AwaitExpression",argument:m(u,...e[2])};{let t={type:"MemberExpression",object:u,property:e};return"["==e[0]&&(t.computed=!0,t.property=e[2]),t}}),m(c,...l))}else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;return e}function Pn(){return"",Qt=Xt,[]}function Rn(){var e,t,n,r,i,o,s;return e=Xt,u.substr(Xt,6)===tu?(t=tu,Xt+=6):(t=P,0===nn&&pn(xe)),t!==P&&Sr()!==P?(40===u.charCodeAt(Xt)?(n=Z,Xt++):(n=P,0===nn&&pn(ge)),n!==P?((r=bn())===P&&(r=Pn()),r!==P?(41===u.charCodeAt(Xt)?(i=X,Xt++):(i=P,0===nn&&pn(me)),i!==P&&Sr()!==P&&(o=fn())!==P&&Sr()!==P?(u.substr(Xt,3)===T?(s=T,Xt+=3):(s=P,0===nn&&pn(ne)),s!==P&&Sr()!==P?(Qt=e,e=zt(r,o)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P),e}function In(){var e,t,n;return e=Xt,u.substr(Xt,5)===au?(t=au,Xt+=5):(t=P,0===nn&&pn(Pe)),t!==P&&(Qt=e,n=t,t=g(a("gaiman"),A(n),!0)),e=t}function qn(){var e,t;return e=Xt,u.substr(Xt,7)===cu?(t=cu,Xt+=7):(t=P,0===nn&&pn(Re)),t!==P&&(Qt=e,t=r(t)),e=t}function Tn(){var e,t,n;return e=Xt,t=Xt,nn++,34===u.charCodeAt(Xt)?(n='"',Xt++):(n=P,0===nn&&pn(Ie)),n===P&&(92===u.charCodeAt(Xt)?(n="\\",Xt++):(n=P,0===nn&&pn(qe))),nn--,n===P?t=void 0:(Xt=t,t=P),t!==P?(u.length>Xt?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(Te)),n!==P?e=t=[t,n]:(Xt=e,e=P)):(Xt=e,e=P),e===P&&(e=Xt,92===u.charCodeAt(Xt)?(t="\\",Xt++):(t=P,0===nn&&pn(qe)),t!==P?(u.length>Xt?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(Te)),n!==P?(Qt=e,e=$t()):(Xt=e,e=P)):(Xt=e,e=P)),e}function jn(){var e,t,n,r;if(e=Xt,34===u.charCodeAt(Xt)?(t='"',Xt++):(t=P,0===nn&&pn(Ie)),t!==P){for(n=[],r=Tn();r!==P;)n.push(r),r=Tn();34===u.charCodeAt(Xt)?(r='"',Xt++):(r=P,0===nn&&pn(Ie)),r!==P?(Qt=e,e=Vt()):(Xt=e,e=P)}else Xt=e,e=P;return e}function Nn(){var e,t;return e=Xt,t=function(){var e;e=function(){var e,t,n,r,i;e=Xt,"0x"===u.substr(Xt,2).toLowerCase()?(t=u.substr(Xt,2),Xt+=2):(t=P,0===nn&&pn(wt));if(t!==P){if(n=Xt,r=[],(i=Cr())!==P)for(;i!==P;)r.push(i),i=Cr();else r=P;(n=r!==P?u.substring(n,Xt):r)!==P?(Qt=e,e=parseInt(n,16)):(Xt=e,e=P)}else Xt=e,e=P;return e}(),e===P&&(e=function(){var e,t,n,r,i;e=Xt,u.substr(Xt,2)===Uu?(t=Uu,Xt+=2):(t=P,0===nn&&pn(Lt));if(t!==P){if(n=Xt,r=[],(i=Er())!==P)for(;i!==P;)r.push(i),i=Er();else r=P;(n=r!==P?u.substring(n,Xt):r)!==P?(Qt=e,e=parseInt(n,2)):(Xt=e,e=P)}else Xt=e,e=P;return e}(),e===P&&(e=function(){var e,t,n,r,i;e=Xt,48===u.charCodeAt(Xt)?(t="0",Xt++):(t=P,0===nn&&pn(kt));if(t!==P){if(n=Xt,r=[],(i=Fr())!==P)for(;i!==P;)r.push(i),i=Fr();else r=P;(n=r!==P?u.substring(n,Xt):r)!==P?(Qt=e,e=parseInt(n,8)):(Xt=e,e=P)}else Xt=e,e=P;return e}(),e===P&&(e=function(){var e,t;nn++,e=Xt,gr(),t=function(){var e,t,n,r;if((e=function(){var e;48===u.charCodeAt(Xt)?(e=Nu,Xt++):(e=P,0===nn&&pn(kt));return e}())===P)if(e=Xt,t=function(){var e;Xu.test(u.charAt(Xt))?(e=u.charAt(Xt),Xt++):(e=P,0===nn&&pn(It));return e}(),t!==P){for(n=[],r=mr();r!==P;)n.push(r),r=mr();e=t=[t,n]}else Xt=e,e=P;return e}(),t!==P?(!function(){var e,t,n,r;if(e=Xt,t=function(){var e;46===u.charCodeAt(Xt)?(e=".",Xt++):(e=P,0===nn&&pn(Ee));return e}(),t!==P){if(n=[],(r=mr())!==P)for(;r!==P;)n.push(r),r=mr();else n=P;n!==P?e=t=[t,n]:(Xt=e,e=P)}else Xt=e,e=P}(),function(){var e,t,n,r,i;if(e=Xt,t=function(){var e;Qu.test(u.charAt(Xt))?(e=u.charAt(Xt),Xt++):(e=P,0===nn&&pn(qt));return e}(),t!==P){if((n=gr())===P&&(n=function(){var e;43===u.charCodeAt(Xt)?(e=vu,Xt++):(e=P,0===nn&&pn(rt));return e}()),n===P&&(n=null),r=[],(i=mr())!==P)for(;i!==P;)r.push(i),i=mr();else r=P;r!==P?e=t=[t,n,r]:(Xt=e,e=P)}else Xt=e,e=P}(),Qt=e,e=parseFloat(rn())):(Xt=e,e=P);nn--,e===P&&0===nn&&pn(Rt);return e}())));return e}(),t===P&&(t=function(){var e,t;e=Xt,u.substr(Xt,4)===lu?(t=lu,Xt+=4):(t=P,0===nn&&pn(je));t===P&&(u.substr(Xt,5)===Du?(t=Du,Xt+=5):(t=P,0===nn&&pn(Ne)));t!==P&&(Qt=e,t="true"===t);return e=t}(),t===P&&(t=Un())),t!==P&&(Qt=e,t={type:"Literal",value:t}),e=t}function Un(){var e,t;return e=Xt,u.substr(Xt,4)===pu?(t=pu,Xt+=4):(t=P,0===nn&&pn(Ue)),t!==P&&(Qt=e,t=null),e=t}function Wn(){var e,t;return e=Xt,u.substr(Xt,8)===Au?(t=Au,Xt+=8):(t=P,0===nn&&pn(We)),t!==P&&(Qt=e,t=a("Infinity")),e=t}function Gn(){var e,t,n,r;if(e=Xt,t=Xt,n=[],Gu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Ge)),r!==P)for(;r!==P;)n.push(r),Gu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Ge));else n=P;return n!==P?(42===u.charCodeAt(Xt)?(r=Q,Xt++):(r=P,0===nn&&pn(Be)),r!==P?t=n=[n,r]:(Xt=t,t=P)):(Xt=t,t=P),e=t!==P?u.substring(e,Xt):t}function zn(){var e,t,n;return e=Xt,t=Xt,n=function(){var e,t,n;if(e=Xt,t=[],Gu.test(u.charAt(Xt))?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(Ge)),n!==P)for(;n!==P;)t.push(n),Gu.test(u.charAt(Xt))?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(Ge));else t=P;return t!==P?u.substring(e,Xt):t}(),(t=n!==P?u.substring(t,Xt):n)!==P?(Qt=Xt,(n=(n=Jt(t))?void 0:P)!==P?(Qt=e,e=t):(Xt=e,e=P)):(Xt=e,e=P),e}function $n(){var e,t,n;return e=Xt,t=function(){var e,t,n,r;if(e=Xt,t=Xt,n=[],Gu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Ge)),r!==P)for(;r!==P;)n.push(r),Gu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Ge));else n=P;return n!==P?(42===u.charCodeAt(Xt)?(r=Q,Xt++):(r=P,0===nn&&pn(Be)),r===P&&(r=null),t=n=[n,r]):(Xt=t,t=P),t!==P?u.substring(e,Xt):t}(),t!==P?(Qt=Xt,n=t,(_.includes(n)?void 0:P)!==P?(Qt=e,e=t):(Xt=e,e=P)):(Xt=e,e=P),e}function Vn(){var e;return e=function(){var u,e,t;u=Xt,vr(),e=function(){var u,e;u=Xt,(e=Gn())!==P?(Qt=Xt,t=e,(k.includes(t)?void 0:P)!==P?(Qt=u,u=e):(Xt=u,u=P)):(Xt=u,u=P);var t;return u}(),e!==P?(vr(),(t=Jn())!==P&&Sr()!==P?(Qt=u,u=function(u,e){return{type:"AwaitExpression",argument:i(o(u),e)}}(e,t)):(Xt=u,u=P)):(Xt=u,u=P);return u}(),e===P&&(e=function(){var e,t,n,r,s,a,c,l;if(e=Xt,vr(),t=function(){var e,t,n;return e=Xt,t=Xt,(t=(n=Gn())!==P?u.substring(t,Xt):n)!==P?(Qt=Xt,(n=(n=Jt(t))?void 0:P)!==P?(Qt=e,e=t):(Xt=e,e=P)):(Xt=e,e=P),e}(),t!==P)if(vr(),(n=Jn())!==P){if(vr(),r=[],s=Xt,44===u.charCodeAt(Xt)?(a=$,Xt++):(a=P,0===nn&&pn(le)),a!==P&&(c=Sr())!==P&&(l=En())!==P?s=a=[a,c,l]:(Xt=s,s=P),s!==P)for(;s!==P;)r.push(s),s=Xt,44===u.charCodeAt(Xt)?(a=$,Xt++):(a=P,0===nn&&pn(le)),a!==P&&(c=Sr())!==P&&(l=En())!==P?s=a=[a,c,l]:(Xt=s,s=P);else r=P;r===P&&(s="",Qt=r=Xt,r=s=Kt(t,n)),r!==P&&(s=Sr())!==P?(Qt=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)):(Xt=e,e=P)}else Xt=e,e=P;else Xt=e,e=P;return e}(),e===P&&(e=function(){var e,t,n,r,o,s,a,c,l,D;if(e=Xt,vr(),(t=zn())!==P)if(32===u.charCodeAt(Xt)?(n=hu,Xt++):(n=P,0===nn&&pn(ze)),n!==P)if(vr(),(r=Jn())!==P){for(vr(),o=[],s=Xt,44===u.charCodeAt(Xt)?(a=$,Xt++):(a=P,0===nn&&pn(le)),a!==P&&(c=Sr())!==P&&(l=En())!==P&&(D=Sr())!==P?s=a=[a,c,l,D]:(Xt=s,s=P);s!==P;)o.push(s),s=Xt,44===u.charCodeAt(Xt)?(a=$,Xt++):(a=P,0===nn&&pn(le)),a!==P&&(c=Sr())!==P&&(l=En())!==P&&(D=Sr())!==P?s=a=[a,c,l,D]:(Xt=s,s=P);Qt=e,e=function(u,e,t){return{type:"AwaitExpression",argument:i(u,e,...t.map((u=>u[2])))}}(t,r,o)}else Xt=e,e=P;else Xt=e,e=P;else Xt=e,e=P;return e}(),e===P&&(e=function(){var e,t,n,r,s,a,c,l,D;if(e=Xt,vr(),(t=$n())!==P){if(n=[],Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me)),r!==P)for(;r!==P;)n.push(r),Wu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Me));else n=P;if(n===P&&(n=Xt,nn++,40===u.charCodeAt(Xt)?(r=Z,Xt++):(r=P,0===nn&&pn(ge)),nn--,r!==P?(Xt=n,n=void 0):n=P),n===P&&(n=null),(r=Jn())===P&&(r=null),vr(),s=[],a=Xt,44===u.charCodeAt(Xt)?(c=$,Xt++):(c=P,0===nn&&pn(le)),c!==P){for(l=[],Wu.test(u.charAt(Xt))?(D=u.charAt(Xt),Xt++):(D=P,0===nn&&pn(Me));D!==P;)l.push(D),Wu.test(u.charAt(Xt))?(D=u.charAt(Xt),Xt++):(D=P,0===nn&&pn(Me));(D=En())!==P?a=c=[c,l,D]:(Xt=a,a=P)}else Xt=a,a=P;for(;a!==P;)if(s.push(a),a=Xt,44===u.charCodeAt(Xt)?(c=$,Xt++):(c=P,0===nn&&pn(le)),c!==P){for(l=[],Wu.test(u.charAt(Xt))?(D=u.charAt(Xt),Xt++):(D=P,0===nn&&pn(Me));D!==P;)l.push(D),Wu.test(u.charAt(Xt))?(D=u.charAt(Xt),Xt++):(D=P,0===nn&&pn(Me));(D=En())!==P?a=c=[c,l,D]:(Xt=a,a=P)}else Xt=a,a=P;Qt=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 Xt=e,e=P;return e}()))),e}function Jn(){var u;return(u=Vn())===P&&(u=En())===P&&(u=_n()),u}function Kn(){var e,t,n,r,i,o,s;if(e=Xt,47===u.charCodeAt(Xt)?(t=fu,Xt++):(t=P,0===nn&&pn($e)),t!==P){for(n=[],u.substr(Xt,2)===Cu?(r=Cu,Xt+=2):(r=P,0===nn&&pn(Ve)),r===P&&(zu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Je)));r!==P;)n.push(r),u.substr(Xt,2)===Cu?(r=Cu,Xt+=2):(r=P,0===nn&&pn(Ve)),r===P&&(zu.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(Je)));if(47===u.charCodeAt(Xt)?(r=fu,Xt++):(r=P,0===nn&&pn($e)),r!==P){for(i=[],$u.test(u.charAt(Xt))?(o=u.charAt(Xt),Xt++):(o=P,0===nn&&pn(Ke));o!==P;)i.push(o),$u.test(u.charAt(Xt))?(o=u.charAt(Xt),Xt++):(o=P,0===nn&&pn(Ke));Qt=e,s=i,e={type:"Literal",value:{},regex:{pattern:n.join(""),flags:s?s.join(""):""}}}else Xt=e,e=P}else Xt=e,e=P;return e}function Yn(){var e,t,n,r,i,o,s,a;if(e=Xt,(t=Hn())!==P){for(n=[],r=Xt,(i=br())!==P?(u.substr(Xt,2)===Fu?(o=Fu,Xt+=2):(o=P,0===nn&&pn(Ye)),o!==P&&(s=br())!==P&&(a=Hn())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=br())!==P?(u.substr(Xt,2)===Fu?(o=Fu,Xt+=2):(o=P,0===nn&&pn(Ye)),o!==P&&(s=br())!==P&&(a=Hn())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);Qt=e,e=F(t,n,{or:"||"})}else Xt=e,e=P;return e}function Hn(){var e,t,n,r,i,o,s,a;if(e=Xt,(t=Zn())!==P){for(n=[],r=Xt,(i=br())!==P?(u.substr(Xt,3)===Eu?(o=Eu,Xt+=3):(o=P,0===nn&&pn(He)),o!==P&&(s=br())!==P&&(a=Zn())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=br())!==P?(u.substr(Xt,3)===Eu?(o=Eu,Xt+=3):(o=P,0===nn&&pn(He)),o!==P&&(s=br())!==P&&(a=Zn())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);Qt=e,e=F(t,n,{and:"&&"})}else Xt=e,e=P;return e}function Zn(){var e,t,n;return e=Xt,u.substr(Xt,4)===gu?(t=gu,Xt+=4):(t=P,0===nn&&pn(Ze)),t!==P&&Sr()!==P&&(n=Xn())!==P?(Qt=e,e=c(n)):(Xt=e,e=P),e===P&&(e=Xn()),e}function Xn(){var e,t,n,r,i,o,s,a;if(e=Xt,(t=Qn())!==P){for(n=[],r=Xt,(i=Sr())!==P?(u.substr(Xt,2)===mu?(o=mu,Xt+=2):(o=P,0===nn&&pn(Xe)),o===P&&(u.substr(Xt,2)===du?(o=du,Xt+=2):(o=P,0===nn&&pn(Qe))),o!==P&&(s=Sr())!==P&&(a=Qn())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(u.substr(Xt,2)===mu?(o=mu,Xt+=2):(o=P,0===nn&&pn(Xe)),o===P&&(u.substr(Xt,2)===du?(o=du,Xt+=2):(o=P,0===nn&&pn(Qe))),o!==P&&(s=Sr())!==P&&(a=Qn())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);Qt=e,e=C(t,n,{"==":"===","!=":"!=="})}else Xt=e,e=P;return e}function Qn(){var e,t,n,r,i,o,s,a;if(e=Xt,(t=ur())!==P){for(n=[],r=Xt,(i=Sr())!==P?(u.substr(Xt,2)===Bu?(o=Bu,Xt+=2):(o=P,0===nn&&pn(ut)),o===P&&(u.substr(Xt,2)===yu?(o=yu,Xt+=2):(o=P,0===nn&&pn(et)),o===P&&(60===u.charCodeAt(Xt)?(o="<",Xt++):(o=P,0===nn&&pn(tt)),o===P&&(62===u.charCodeAt(Xt)?(o=">",Xt++):(o=P,0===nn&&pn(nt))))),o!==P&&(s=Sr())!==P&&(a=ur())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(u.substr(Xt,2)===Bu?(o=Bu,Xt+=2):(o=P,0===nn&&pn(ut)),o===P&&(u.substr(Xt,2)===yu?(o=yu,Xt+=2):(o=P,0===nn&&pn(et)),o===P&&(60===u.charCodeAt(Xt)?(o="<",Xt++):(o=P,0===nn&&pn(tt)),o===P&&(62===u.charCodeAt(Xt)?(o=">",Xt++):(o=P,0===nn&&pn(nt))))),o!==P&&(s=Sr())!==P&&(a=ur())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);Qt=e,e=Yt(t,n)}else Xt=e,e=P;return e}function ur(){var e,t,n,r,i,o,s,a;if(e=Xt,(t=er())!==P){for(n=[],r=Xt,(i=Sr())!==P?(43===u.charCodeAt(Xt)?(o=vu,Xt++):(o=P,0===nn&&pn(rt)),o===P&&(45===u.charCodeAt(Xt)?(o=Su,Xt++):(o=P,0===nn&&pn(it))),o!==P&&(s=Sr())!==P&&(a=er())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(43===u.charCodeAt(Xt)?(o=vu,Xt++):(o=P,0===nn&&pn(rt)),o===P&&(45===u.charCodeAt(Xt)?(o=Su,Xt++):(o=P,0===nn&&pn(it))),o!==P&&(s=Sr())!==P&&(a=er())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);Qt=e,e=Yt(t,n)}else Xt=e,e=P;return e}function er(){var e,t,n,r,i,o,s,a;if(e=Xt,(t=tr())!==P){for(n=[],r=Xt,(i=Sr())!==P?(42===u.charCodeAt(Xt)?(o=Q,Xt++):(o=P,0===nn&&pn(Be)),o===P&&(47===u.charCodeAt(Xt)?(o=fu,Xt++):(o=P,0===nn&&pn($e)),o===P&&(37===u.charCodeAt(Xt)?(o="%",Xt++):(o=P,0===nn&&pn(ot)))),o!==P&&(s=Sr())!==P&&(a=tr())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(42===u.charCodeAt(Xt)?(o=Q,Xt++):(o=P,0===nn&&pn(Be)),o===P&&(47===u.charCodeAt(Xt)?(o=fu,Xt++):(o=P,0===nn&&pn($e)),o===P&&(37===u.charCodeAt(Xt)?(o="%",Xt++):(o=P,0===nn&&pn(ot)))),o!==P&&(s=Sr())!==P&&(a=tr())!==P?r=i=[i,o,s,a]:(Xt=r,r=P)):(Xt=r,r=P);Qt=e,e=Yt(t,n)}else Xt=e,e=P;return e}function tr(){var e,t,n,r,i,o,s,c,l;if(e=Xt,(t=nr())!==P){for(n=[],r=Xt,(i=Sr())!==P?(u.substr(Xt,2)===bu?(o=bu,Xt+=2):(o=P,0===nn&&pn(st)),o!==P&&(s=Sr())!==P&&(c=nr())!==P?r=i=[i,o,s,c]:(Xt=r,r=P)):(Xt=r,r=P);r!==P;)n.push(r),r=Xt,(i=Sr())!==P?(u.substr(Xt,2)===bu?(o=bu,Xt+=2):(o=P,0===nn&&pn(st)),o!==P&&(s=Sr())!==P&&(c=nr())!==P?r=i=[i,o,s,c]:(Xt=r,r=P)):(Xt=r,r=P);Qt=e,l=t,e=n.reduce((function(u,e){return{type:"SequenceExpression",expressions:[{type:"AssignmentExpression",operator:"=",left:Mr,right:m(E(m(a("String"),u),Or),e[3])},(t=Mr,{type:"UnaryExpression",operator:"!",argument:{type:"UnaryExpression",operator:"!",argument:t,prefix:!0},prefix:!0})]};var t}),l)}else Xt=e,e=P;return e}function nr(){var e,t,n;return e=Xt,45===u.charCodeAt(Xt)?(t=Su,Xt++):(t=P,0===nn&&pn(it)),t===P&&(43===u.charCodeAt(Xt)?(t=vu,Xt++):(t=P,0===nn&&pn(rt))),t!==P&&Sr()!==P&&(n=rr())!==P?(Qt=e,e={type:"UnaryExpression",operator:t,argument:n}):(Xt=e,e=P),e===P&&(e=rr()),e}function rr(){var e,t,n,r;return(e=On())===P&&(e=yn())===P&&(e=function(){var u;return(u=jn())===P&&(u=Nn())===P&&(u=Kn())===P&&(u=Wn())===P&&(u=Un()),u}())===P&&(e=lr())===P&&(e=cr())===P&&(e=Xt,40===u.charCodeAt(Xt)?(t=Z,Xt++):(t=P,0===nn&&pn(ge)),t!==P&&Sr()!==P?((n=Vn())===P&&(n=ir())===P&&(n=En()),n!==P&&Sr()!==P?(41===u.charCodeAt(Xt)?(r=X,Xt++):(r=P,0===nn&&pn(me)),r!==P?(Qt=e,e=n):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)),e}function ir(){var e,t;return e=Xt,Sr()!==P?(u.substr(Xt,4)===xu?(t=xu,Xt+=4):(t=P,0===nn&&pn(at)),t!==P&&Sr()!==P?(Qt=e,e=Ht()):(Xt=e,e=P)):(Xt=e,e=P),e}function or(){var u,e;return u=Xt,(e=Br())!==P&&(Qt=u,e=Zt(e)),u=e}function sr(){var u,e,t,n;return u=Xt,e=Xt,nn++,t=dr(),nn--,t===P?e=void 0:(Xt=e,e=P),e!==P&&(t=Br())!==P?(Qt=Xt,n=t,(!w.includes(n)?void 0:P)!==P?(Qt=u,u=Zt(t)):(Xt=u,u=P)):(Xt=u,u=P),u}function ar(){var e,t,n;return e=Xt,t=Xt,nn++,n=dr(),nn--,n===P?t=void 0:(Xt=t,t=P),t!==P?(u.substr(Xt,6)===_u?(n=_u,Xt+=6):(n=P,0===nn&&pn(ct)),n===P&&(u.substr(Xt,8)===wu?(n=wu,Xt+=8):(n=P,0===nn&&pn(lt)),n===P&&(u.substr(Xt,4)===ku?(n=ku,Xt+=4):(n=P,0===nn&&pn(Dt)),n===P&&(u.substr(Xt,7)===Lu?(n=Lu,Xt+=7):(n=P,0===nn&&pn(pt)),n===P&&(u.substr(Xt,4)===Mu?(n=Mu,Xt+=4):(n=P,0===nn&&pn(At)),n===P&&(u.substr(Xt,4)===Ou?(n=Ou,Xt+=4):(n=P,0===nn&&pn(ht))))))),n!==P?(Qt=e,e=a(n)):(Xt=e,e=P)):(Xt=e,e=P),e}function cr(){var u;return(u=ar())===P&&(u=sr()),u}function lr(){var e,t,n;return e=Xt,36===u.charCodeAt(Xt)?(t="$",Xt++):(t=P,0===nn&&pn(dt)),t!==P?(n=function(){var e,t,n;e=Xt,t=[],Ku.test(u.charAt(Xt))?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(_t));if(n!==P)for(;n!==P;)t.push(n),Ku.test(u.charAt(Xt))?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(_t));else t=P;t!==P&&(Qt=e,t=parseInt(rn(),10));return e=t}(),n!==P?(Qt=e,e={type:"MemberExpression",computed:!0,object:Mr,property:{type:"Literal",value:n}}):(Xt=e,e=P)):(Xt=e,e=P),e}function Dr(){var e,t,n,r,i;return e=Xt,"<<<"===u.substr(Xt,3)?(t="<<<",Xt+=3):(t=P,0===nn&&pn(Bt)),t!==P?(n=function(){var u,e;u=Xt,(e=Ar())!==P&&(Qt=u,e=void(Lr=e));return u=e}(),n!==P?(10===u.charCodeAt(Xt)?(r="\n",Xt++):(r=P,0===nn&&pn(yt)),r!==P?(i=function(){var e,t,n,r,i;e=Xt,t=[],n=Xt,r=Xt,nn++,i=hr(),nn--,i===P?r=void 0:(Xt=r,r=P);r!==P?(u.length>Xt?(i=u.charAt(Xt),Xt++):(i=P,0===nn&&pn(Te)),i!==P?n=r=[r,i]:(Xt=n,n=P)):(Xt=n,n=P);for(;n!==P;)t.push(n),n=Xt,r=Xt,nn++,i=hr(),nn--,i===P?r=void 0:(Xt=r,r=P),r!==P?(u.length>Xt?(i=u.charAt(Xt),Xt++):(i=P,0===nn&&pn(Te)),i!==P?n=r=[r,i]:(Xt=n,n=P)):(Xt=n,n=P);return e=u.substring(e,Xt)}(),hr()!==P?(Qt=e,e=function(u){const e=on().start.column-1,t=new RegExp(`^ {${e}}`,"mg");return{type:"Literal",value:u.replace(t,"")}}(i)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P)):(Xt=e,e=P),e}function pr(){var e,t,n;return e=Xt,t=Xt,nn++,Vu.test(u.charAt(Xt))?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(vt)),nn--,n===P?t=void 0:(Xt=t,t=P),t!==P?(u.length>Xt?(n=u.charAt(Xt),Xt++):(n=P,0===nn&&pn(Te)),n!==P?e=t=[t,n]:(Xt=e,e=P)):(Xt=e,e=P),e}function Ar(){var e,t,n;if(nn++,e=Xt,t=[],(n=pr())!==P)for(;n!==P;)t.push(n),n=pr();else t=P;return e=t!==P?u.substring(e,Xt):t,nn--,e===P&&(t=P,0===nn&&pn(St)),e}function hr(){var e,t,n,r,i;if(e=Xt,10===u.charCodeAt(Xt)?(t="\n",Xt++):(t=P,0===nn&&pn(yt)),t!==P){for(n=[],32===u.charCodeAt(Xt)?(r=hu,Xt++):(r=P,0===nn&&pn(ze));r!==P;)n.push(r),32===u.charCodeAt(Xt)?(r=hu,Xt++):(r=P,0===nn&&pn(ze));(r=Ar())!==P?(Qt=Xt,(i=(i=Lr===r)?void 0:P)!==P?e=t=[t,n,r,i]:(Xt=e,e=P)):(Xt=e,e=P)}else Xt=e,e=P;return e}function fr(){var e,t,n,r;if(e=Xt,35===u.charCodeAt(Xt)?(t="#",Xt++):(t=P,0===nn&&pn(bt)),t!==P){for(n=[],Ju.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(xt));r!==P;)n.push(r),Ju.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(xt));Qt=e,e=null}else Xt=e,e=P;return e}function Cr(){var e;return Yu.test(u.charAt(Xt))?(e=u.charAt(Xt),Xt++):(e=P,0===nn&&pn(Mt)),e}function Fr(){var e;return Hu.test(u.charAt(Xt))?(e=u.charAt(Xt),Xt++):(e=P,0===nn&&pn(Ot)),e}function Er(){var e;return Zu.test(u.charAt(Xt))?(e=u.charAt(Xt),Xt++):(e=P,0===nn&&pn(Pt)),e}function gr(){var e;return 45===u.charCodeAt(Xt)?(e=Su,Xt++):(e=P,0===nn&&pn(it)),e}function mr(){var e;return Ku.test(u.charAt(Xt))?(e=u.charAt(Xt),Xt++):(e=P,0===nn&&pn(_t)),e}function dr(){var e,t,n,r;return e=Xt,u.substr(Xt,2)===j?(t=j,Xt+=2):(t=P,0===nn&&pn(re)),t===P&&(u.substr(Xt,4)===N?(t=N,Xt+=4):(t=P,0===nn&&pn(ie)),t===P&&(u.substr(Xt,3)===T?(t=T,Xt+=3):(t=P,0===nn&&pn(ne)),t===P&&(u.substr(Xt,4)===U?(t=U,Xt+=4):(t=P,0===nn&&pn(oe)),t===P&&(u.substr(Xt,6)===nu?(t=nu,Xt+=6):(t=P,0===nn&&pn(_e)),t===P&&(u.substr(Xt,3)===eu?(t=eu,Xt+=3):(t=P,0===nn&&pn(be)),t===P&&(u.substr(Xt,2)===J?(t=J,Xt+=2):(t=P,0===nn&&pn(pe)),t===P&&(u.substr(Xt,2)===V?(t=V,Xt+=2):(t=P,0===nn&&pn(De)),t===P&&(u.substr(Xt,3)===z?(t=z,Xt+=3):(t=P,0===nn&&pn(ce)),t===P&&(u.substr(Xt,5)===K?(t=K,Xt+=5):(t=P,0===nn&&pn(Ae)),t===P&&(u.substr(Xt,5)===W?(t=W,Xt+=5):(t=P,0===nn&&pn(se)),t===P&&(u.substr(Xt,8)===G?(t=G,Xt+=8):(t=P,0===nn&&pn(ae)),t===P&&(u.substr(Xt,6)===tu?(t=tu,Xt+=6):(t=P,0===nn&&pn(xe)),t===P&&(u.substr(Xt,4)===su?(t=su,Xt+=4):(t=P,0===nn&&pn(Oe)),t===P&&(u.substr(Xt,3)===Y?(t=Y,Xt+=3):(t=P,0===nn&&pn(he)),t===P&&(u.substr(Xt,5)===H?(t=H,Xt+=5):(t=P,0===nn&&pn(fe))))))))))))))))),t!==P?(n=Xt,nn++,r=Br(),nn--,r===P?n=void 0:(Xt=n,n=P),n!==P?e=t=[t,n]:(Xt=e,e=P)):(Xt=e,e=P),e}function Br(){var e,t,n,r;if(e=Xt,ue.test(u.charAt(Xt))?(t=u.charAt(Xt),Xt++):(t=P,0===nn&&pn(Tt)),t!==P){for(n=[],ee.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(jt));r!==P;)n.push(r),ee.test(u.charAt(Xt))?(r=u.charAt(Xt),Xt++):(r=P,0===nn&&pn(jt));Qt=e,e=$t()}else Xt=e,e=P;return e}function yr(){var e;return te.test(u.charAt(Xt))?(e=u.charAt(Xt),Xt++):(e=P,0===nn&&pn(Nt)),e}function vr(){var e,t;for(e=[],Wu.test(u.charAt(Xt))?(t=u.charAt(Xt),Xt++):(t=P,0===nn&&pn(Me));t!==P;)e.push(t),Wu.test(u.charAt(Xt))?(t=u.charAt(Xt),Xt++):(t=P,0===nn&&pn(Me));return e}function Sr(){var u,e,t,n;for(nn++,u=[],e=Xt,t=[],n=yr();n!==P;)t.push(n),n=yr();if((n=fr())!==P?e=t=[t,n]:(Xt=e,e=P),e!==P)for(;e!==P;){for(u.push(e),e=Xt,t=[],n=yr();n!==P;)t.push(n),n=yr();(n=fr())!==P?e=t=[t,n]:(Xt=e,e=P)}else u=P;if(u===P){for(u=Xt,e=[],t=yr();t!==P;)e.push(t),t=yr();Qt=u,u=e=[]}return nn--,u===P&&(e=P,0===nn&&pn(Ut)),u}function br(){var u,e;if(nn++,u=[],(e=yr())!==P)for(;e!==P;)u.push(e),e=yr();else u=P;return nn--,u===P&&(e=P,0===nn&&pn(Wt)),u}var xr=0;function _r(u){return function(...t){const n=t.length-1,r=t[n];return t[n]=[e(i("should_break_loop",A(++xr)),[b("break")]),...r],[u(...t),h(i("exit_loop",A(xr)))]}}var wr=_r((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:m(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)}})),kr=_r((function(u,e){return{type:"WhileStatement",test:u,body:s(e)}})),Lr=null,Mr=a("$$__m"),Or=a("match");if((y=q())!==P&&Xt===u.length)return y;throw y!==P&&Xt<u.length&&pn({type:"end"}),function(u,e,t){return new O(O.buildMessage(u,e),u,e,t)}(tn,en<u.length?u.charAt(en):null,en<u.length?Dn(en,en+1):Dn(en,en))}},I={},q={};
/*
Copyright (C) 2012-2013 Yusuke Suzuki <[email protected]>
Copyright (C) 2012 Ariya Hidayat <[email protected]>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
!function(u){!function u(e){var t,n,r,i,o,s;function a(u){var e,t,n={};for(e in u)u.hasOwnProperty(e)&&(t=u[e],n[e]="object"==typeof t&&null!==t?a(t):t);return n}function c(u,e){this.parent=u,this.key=e}function l(u,e,t,n){this.node=u,this.path=e,this.wrap=t,this.ref=n}function D(){}function p(u){return null!=u&&("object"==typeof u&&"string"==typeof u.type)}function A(u,e){return(u===t.ObjectExpression||u===t.ObjectPattern)&&"properties"===e}function h(u,e){for(var t=u.length-1;t>=0;--t)if(u[t].node===e)return!0;return!1}function f(u,e){return(new D).traverse(u,e)}function C(u,e){var t;return t=function(u,e){var t,n,r,i;for(n=u.length,r=0;n;)e(u[i=r+(t=n>>>1)])?n=t:(r=i+1,n-=t+1);return r}(e,(function(e){return e.range[0]>u.range[0]})),u.extendedRange=[u.range[0],u.range[1]],t!==e.length&&(u.extendedRange[1]=e[t].range[0]),(t-=1)>=0&&(u.extendedRange[0]=e[t].range[1]),u}return t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},r={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},n={Break:i={},Skip:o={},Remove:s={}},c.prototype.replace=function(u){this.parent[this.key]=u},c.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},D.prototype.path=function(){var u,e,t,n,r;function i(u,e){if(Array.isArray(e))for(t=0,n=e.length;t<n;++t)u.push(e[t]);else u.push(e)}if(!this.__current.path)return null;for(r=[],u=2,e=this.__leavelist.length;u<e;++u)i(r,this.__leavelist[u].path);return i(r,this.__current.path),r},D.prototype.type=function(){return this.current().type||this.__current.wrap},D.prototype.parents=function(){var u,e,t;for(t=[],u=1,e=this.__leavelist.length;u<e;++u)t.push(this.__leavelist[u].node);return t},D.prototype.current=function(){return this.__current.node},D.prototype.__execute=function(u,e){var t,n;return n=void 0,t=this.__current,this.__current=e,this.__state=null,u&&(n=u.call(this,e.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=t,n},D.prototype.notify=function(u){this.__state=u},D.prototype.skip=function(){this.notify(o)},D.prototype.break=function(){this.notify(i)},D.prototype.remove=function(){this.notify(s)},D.prototype.__initialize=function(u,e){this.visitor=e,this.root=u,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,"iteration"===e.fallback?this.__fallback=Object.keys:"function"==typeof e.fallback&&(this.__fallback=e.fallback),this.__keys=r,e.keys&&(this.__keys=Object.assign(Object.create(this.__keys),e.keys))},D.prototype.traverse=function(u,e){var t,n,r,s,a,c,D,f,C,F,E,g;for(this.__initialize(u,e),g={},t=this.__worklist,n=this.__leavelist,t.push(new l(u,null,null,null)),n.push(new l(null,null,null,null));t.length;)if((r=t.pop())!==g){if(r.node){if(c=this.__execute(e.enter,r),this.__state===i||c===i)return;if(t.push(g),n.push(r),this.__state===o||c===o)continue;if(a=(s=r.node).type||r.wrap,!(F=this.__keys[a])){if(!this.__fallback)throw new Error("Unknown node type "+a+".");F=this.__fallback(s)}for(f=F.length;(f-=1)>=0;)if(E=s[D=F[f]])if(Array.isArray(E)){for(C=E.length;(C-=1)>=0;)if(E[C]&&!h(n,E[C])){if(A(a,F[f]))r=new l(E[C],[D,C],"Property",null);else{if(!p(E[C]))continue;r=new l(E[C],[D,C],null,null)}t.push(r)}}else if(p(E)){if(h(n,E))continue;t.push(new l(E,D,null,null))}}}else if(r=n.pop(),c=this.__execute(e.leave,r),this.__state===i||c===i)return},D.prototype.replace=function(u,e){var t,n,r,a,D,h,f,C,F,E,g,m,d;function B(u){var e,n,r,i;if(u.ref.remove())for(n=u.ref.key,i=u.ref.parent,e=t.length;e--;)if((r=t[e]).ref&&r.ref.parent===i){if(r.ref.key<n)break;--r.ref.key}}for(this.__initialize(u,e),g={},t=this.__worklist,n=this.__leavelist,h=new l(u,null,null,new c(m={root:u},"root")),t.push(h),n.push(h);t.length;)if((h=t.pop())!==g){if(void 0!==(D=this.__execute(e.enter,h))&&D!==i&&D!==o&&D!==s&&(h.ref.replace(D),h.node=D),this.__state!==s&&D!==s||(B(h),h.node=null),this.__state===i||D===i)return m.root;if((r=h.node)&&(t.push(g),n.push(h),this.__state!==o&&D!==o)){if(a=r.type||h.wrap,!(F=this.__keys[a])){if(!this.__fallback)throw new Error("Unknown node type "+a+".");F=this.__fallback(r)}for(f=F.length;(f-=1)>=0;)if(E=r[d=F[f]])if(Array.isArray(E)){for(C=E.length;(C-=1)>=0;)if(E[C]){if(A(a,F[f]))h=new l(E[C],[d,C],"Property",new c(E,C));else{if(!p(E[C]))continue;h=new l(E[C],[d,C],null,new c(E,C))}t.push(h)}}else p(E)&&t.push(new l(E,d,null,new c(r,d)))}}else if(h=n.pop(),void 0!==(D=this.__execute(e.leave,h))&&D!==i&&D!==o&&D!==s&&h.ref.replace(D),this.__state!==s&&D!==s||B(h),this.__state===i||D===i)return m.root;return m.root},e.Syntax=t,e.traverse=f,e.replace=function(u,e){return(new D).replace(u,e)},e.attachComments=function(u,e,t){var r,i,o,s,c=[];if(!u.range)throw new Error("attachComments needs range information");if(!t.length){if(e.length){for(o=0,i=e.length;o<i;o+=1)(r=a(e[o])).extendedRange=[0,u.range[0]],c.push(r);u.leadingComments=c}return u}for(o=0,i=e.length;o<i;o+=1)c.push(C(a(e[o]),t));return s=0,f(u,{enter:function(u){for(var e;s<c.length&&!((e=c[s]).extendedRange[1]>u.range[0]);)e.extendedRange[1]===u.range[0]?(u.leadingComments||(u.leadingComments=[]),u.leadingComments.push(e),c.splice(s,1)):s+=1;return s===c.length?n.Break:c[s].extendedRange[0]>u.range[1]?n.Skip:void 0}}),s=0,f(u,{leave:function(u){for(var e;s<c.length&&(e=c[s],!(u.range[1]<e.extendedRange[0]));)u.range[1]===e.extendedRange[0]?(u.trailingComments||(u.trailingComments=[]),u.trailingComments.push(e),c.splice(s,1)):s+=1;return s===c.length?n.Break:c[s].extendedRange[0]>u.range[1]?n.Skip:void 0}}),u},e.VisitorKeys=r,e.VisitorOption=n,e.Controller=D,e.cloneEnvironment=function(){return u({})},e}(u)}(q);var T={},j={exports:{}};
/*
Copyright (C) 2013 Yusuke Suzuki <[email protected]>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
!function(){function u(u){if(null==u)return!1;switch(u.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function e(u){switch(u.type){case"IfStatement":return null!=u.alternate?u.alternate:u.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return u.body}return null}j.exports={isExpression:function(u){if(null==u)return!1;switch(u.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:u,isIterationStatement:function(u){if(null==u)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return u(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(u){var t;if("IfStatement"!==u.type)return!1;if(null==u.alternate)return!1;t=u.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=e(t)}while(t);return!1},trailingStatement:e}}();var N={exports:{}};
/*
Copyright (C) 2013-2014 Yusuke Suzuki <[email protected]>
Copyright (C) 2014 Ivan Nikulin <[email protected]>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/!function(){var u,e,t,n,r,i;function o(u){return u<=65535?String.fromCharCode(u):String.fromCharCode(Math.floor((u-65536)/1024)+55296)+String.fromCharCode((u-65536)%1024+56320)}for(e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},u={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},t=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],n=new Array(128),i=0;i<128;++i)n[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(r=new Array(128),i=0;i<128;++i)r[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;N.exports={isDecimalDigit:function(u){return 48<=u&&u<=57},isHexDigit:function(u){return 48<=u&&u<=57||97<=u&&u<=102||65<=u&&u<=70},isOctalDigit:function(u){return u>=48&&u<=55},isWhiteSpace:function(u){return 32===u||9===u||11===u||12===u||160===u||u>=5760&&t.indexOf(u)>=0},isLineTerminator:function(u){return 10===u||13===u||8232===u||8233===u},isIdentifierStartES5:function(u){return u<128?n[u]:e.NonAsciiIdentifierStart.test(o(u))},isIdentifierPartES5:function(u){return u<128?r[u]:e.NonAsciiIdentifierPart.test(o(u))},isIdentifierStartES6:function(e){return e<128?n[e]:u.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES6:function(e){return e<128?r[e]:u.NonAsciiIdentifierPart.test(o(e))}}}();var U={exports:{}};
/*
Copyright (C) 2013 Yusuke Suzuki <[email protected]>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/!function(){var u=N.exports;function e(u,e){return!(!e&&"yield"===u)&&t(u,e)}function t(u,e){if(e&&function(u){switch(u){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(u))return!0;switch(u.length){case 2:return"if"===u||"in"===u||"do"===u;case 3:return"var"===u||"for"===u||"new"===u||"try"===u;case 4:return"this"===u||"else"===u||"case"===u||"void"===u||"with"===u||"enum"===u;case 5:return"while"===u||"break"===u||"catch"===u||"throw"===u||"const"===u||"yield"===u||"class"===u||"super"===u;case 6:return"return"===u||"typeof"===u||"delete"===u||"switch"===u||"export"===u||"import"===u;case 7:return"default"===u||"finally"===u||"extends"===u;case 8:return"function"===u||"continue"===u||"debugger"===u;case 10:return"instanceof"===u;default:return!1}}function n(u,t){return"null"===u||"true"===u||"false"===u||e(u,t)}function r(u,e){return"null"===u||"true"===u||"false"===u||t(u,e)}function i(e){var t,n,r;if(0===e.length)return!1;if(r=e.charCodeAt(0),!u.isIdentifierStartES5(r))return!1;for(t=1,n=e.length;t<n;++t)if(r=e.charCodeAt(t),!u.isIdentifierPartES5(r))return!1;return!0}function o(e){var t,n,r,i,o;if(0===e.length)return!1;for(o=u.isIdentifierStartES6,t=0,n=e.length;t<n;++t){if(55296<=(r=e.charCodeAt(t))&&r<=56319){if(++t>=n)return!1;if(!(56320<=(i=e.charCodeAt(t))&&i<=57343))return!1;r=1024*(r-55296)+(i-56320)+65536}if(!o(r))return!1;o=u.isIdentifierPartES6}return!0}U.exports={isKeywordES5:e,isKeywordES6:t,isReservedWordES5:n,isReservedWordES6:r,isRestrictedWord:function(u){return"eval"===u||"arguments"===u},isIdentifierNameES5:i,isIdentifierNameES6:o,isIdentifierES5:function(u,e){return i(u)&&!n(u,e)},isIdentifierES6:function(u,e){return o(u)&&!r(u,e)}}}(),T.ast=j.exports,T.code=N.exports,T.keyword=U.exports;var W={},G={},z={},$={},V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");$.encode=function(u){if(0<=u&&u<V.length)return V[u];throw new TypeError("Must be between 0 and 63: "+u)},$.decode=function(u){return 65<=u&&u<=90?u-65:97<=u&&u<=122?u-97+26:48<=u&&u<=57?u-48+52:43==u?62:47==u?63:-1};
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*
* Based on the Base 64 VLQ implementation in Closure Compiler:
* https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
*
* Copyright 2011 The Closure Compiler Authors. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
var J=$;z.encode=function(u){var e,t="",n=function(u){return u<0?1+(-u<<1):0+(u<<1)}(u);do{e=31&n,(n>>>=5)>0&&(e|=32),t+=J.encode(e)}while(n>0);return t},z.decode=function(u,e,t){var n,r,i,o,s=u.length,a=0,c=0;do{if(e>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(r=J.decode(u.charCodeAt(e++))))throw new Error("Invalid base64 digit: "+u.charAt(e-1));n=!!(32&r),a+=(r&=31)<<c,c+=5}while(n);t.value=(o=(i=a)>>1,1==(1&i)?-o:o),t.rest=e};var K={};!function(u){u.getArg=
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
function(u,e,t){if(e in u)return u[e];if(3===arguments.length)return t;throw new Error('"'+e+'" is a required argument.')};var e=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,t=/^data:.+\,.+$/;function n(u){var t=u.match(e);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function r(u){var e="";return u.scheme&&(e+=u.scheme+":"),e+="//",u.auth&&(e+=u.auth+"@"),u.host&&(e+=u.host),u.port&&(e+=":"+u.port),u.path&&(e+=u.path),e}function i(e){var t=e,i=n(e);if(i){if(!i.path)return e;t=i.path}for(var o,s=u.isAbsolute(t),a=t.split(/\/+/),c=0,l=a.length-1;l>=0;l--)"."===(o=a[l])?a.splice(l,1):".."===o?c++:c>0&&(""===o?(a.splice(l+1,c),c=0):(a.splice(l,2),c--));return""===(t=a.join("/"))&&(t=s?"/":"."),i?(i.path=t,r(i)):t}function o(u,e){""===u&&(u="."),""===e&&(e=".");var o=n(e),s=n(u);if(s&&(u=s.path||"/"),o&&!o.scheme)return s&&(o.scheme=s.scheme),r(o);if(o||e.match(t))return e;if(s&&!s.host&&!s.path)return s.host=e,r(s);var a="/"===e.charAt(0)?e:i(u.replace(/\/+$/,"")+"/"+e);return s?(s.path=a,r(s)):a}u.urlParse=n,u.urlGenerate=r,u.normalize=i,u.join=o,u.isAbsolute=function(u){return"/"===u.charAt(0)||e.test(u)},u.relative=function(u,e){""===u&&(u="."),u=u.replace(/\/$/,"");for(var t=0;0!==e.indexOf(u+"/");){var n=u.lastIndexOf("/");if(n<0)return e;if((u=u.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return e;++t}return Array(t+1).join("../")+e.substr(u.length+1)};var s=!("__proto__"in Object.create(null));function a(u){return u}function c(u){if(!u)return!1;var e=u.length;if(e<9)return!1;if(95!==u.charCodeAt(e-1)||95!==u.charCodeAt(e-2)||111!==u.charCodeAt(e-3)||116!==u.charCodeAt(e-4)||111!==u.charCodeAt(e-5)||114!==u.charCodeAt(e-6)||112!==u.charCodeAt(e-7)||95!==u.charCodeAt(e-8)||95!==u.charCodeAt(e-9))return!1;for(var t=e-10;t>=0;t--)if(36!==u.charCodeAt(t))return!1;return!0}function l(u,e){return u===e?0:null===u?1:null===e?-1:u>e?1:-1}u.toSetString=s?a:function(u){return c(u)?"$"+u:u},u.fromSetString=s?a:function(u){return c(u)?u.slice(1):u},u.compareByOriginalPositions=function(u,e,t){var n=l(u.source,e.source);return 0!==n||0!==(n=u.originalLine-e.originalLine)||0!==(n=u.originalColumn-e.originalColumn)||t||0!==(n=u.generatedColumn-e.generatedColumn)||0!==(n=u.generatedLine-e.generatedLine)?n:l(u.name,e.name)},u.compareByGeneratedPositionsDeflated=function(u,e,t){var n=u.generatedLine-e.generatedLine;return 0!==n||0!==(n=u.generatedColumn-e.generatedColumn)||t||0!==(n=l(u.source,e.source))||0!==(n=u.originalLine-e.originalLine)||0!==(n=u.originalColumn-e.originalColumn)?n:l(u.name,e.name)},u.compareByGeneratedPositionsInflated=function(u,e){var t=u.generatedLine-e.generatedLine;return 0!==t||0!==(t=u.generatedColumn-e.generatedColumn)||0!==(t=l(u.source,e.source))||0!==(t=u.originalLine-e.originalLine)||0!==(t=u.originalColumn-e.originalColumn)?t:l(u.name,e.name)},u.parseSourceMapInput=function(u){return JSON.parse(u.replace(/^\)]}'[^\n]*\n/,""))},u.computeSourceURL=function(u,e,t){if(e=e||"",u&&("/"!==u[u.length-1]&&"/"!==e[0]&&(u+="/"),e=u+e),t){var s=n(t);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var a=s.path.lastIndexOf("/");a>=0&&(s.path=s.path.substring(0,a+1))}e=o(r(s),e)}return i(e)}}(K);var Y={},H=K,Z=Object.prototype.hasOwnProperty,X="undefined"!=typeof Map;
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/function Q(){this._array=[],this._set=X?new Map:Object.create(null)}Q.fromArray=function(u,e){for(var t=new Q,n=0,r=u.length;n<r;n++)t.add(u[n],e);return t},Q.prototype.size=function(){return X?this._set.size:Object.getOwnPropertyNames(this._set).length},Q.prototype.add=function(u,e){var t=X?u:H.toSetString(u),n=X?this.has(u):Z.call(this._set,t),r=this._array.length;n&&!e||this._array.push(u),n||(X?this._set.set(u,r):this._set[t]=r)},Q.prototype.has=function(u){if(X)return this._set.has(u);var e=H.toSetString(u);return Z.call(this._set,e)},Q.prototype.indexOf=function(u){if(X){var e=this._set.get(u);if(e>=0)return e}else{var t=H.toSetString(u);if(Z.call(this._set,t))return this._set[t]}throw new Error('"'+u+'" is not in the set.')},Q.prototype.at=function(u){if(u>=0&&u<this._array.length)return this._array[u];throw new Error("No element indexed by "+u)},Q.prototype.toArray=function(){return this._array.slice()},Y.ArraySet=Q;var uu={},eu=K;
/*
* Copyright 2014 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/function tu(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}tu.prototype.unsortedForEach=function(u,e){this._array.forEach(u,e)},tu.prototype.add=function(u){var e,t,n,r,i,o;e=this._last,t=u,n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn,r>n||r==n&&o>=i||eu.compareByGeneratedPositionsInflated(e,t)<=0?(this._last=u,this._array.push(u)):(this._sorted=!1,this._array.push(u))},tu.prototype.toArray=function(){return this._sorted||(this._array.sort(eu.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},uu.MappingList=tu;
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
var nu=z,ru=K,iu=Y.ArraySet,ou=uu.MappingList;function su(u){u||(u={}),this._file=ru.getArg(u,"file",null),this._sourceRoot=ru.getArg(u,"sourceRoot",null),this._skipValidation=ru.getArg(u,"skipValidation",!1),this._sources=new iu,this._names=new iu,this._mappings=new ou,this._sourcesContents=null}su.prototype._version=3,su.fromSourceMap=function(u){var e=u.sourceRoot,t=new su({file:u.file,sourceRoot:e});return u.eachMapping((function(u){var n={generated:{line:u.generatedLine,column:u.generatedColumn}};null!=u.source&&(n.source=u.source,null!=e&&(n.source=ru.relative(e,n.source)),n.original={line:u.originalLine,column:u.originalColumn},null!=u.name&&(n.name=u.name)),t.addMapping(n)})),u.sources.forEach((function(n){var r=n;null!==e&&(r=ru.relative(e,n)),t._sources.has(r)||t._sources.add(r);var i=u.sourceContentFor(n);null!=i&&t.setSourceContent(n,i)})),t},su.prototype.addMapping=function(u){var e=ru.getArg(u,"generated"),t=ru.getArg(u,"original",null),n=ru.getArg(u,"source",null),r=ru.getArg(u,"name",null);this._skipValidation||this._validateMapping(e,t,n,r),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=r&&(r=String(r),this._names.has(r)||this._names.add(r)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:null!=t&&t.line,originalColumn:null!=t&&t.column,source:n,name:r})},su.prototype.setSourceContent=function(u,e){var t=u;null!=this._sourceRoot&&(t=ru.relative(this._sourceRoot,t)),null!=e?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ru.toSetString(t)]=e):this._sourcesContents&&(delete this._sourcesContents[ru.toSetString(t)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},su.prototype.applySourceMap=function(u,e,t){var n=e;if(null==e){if(null==u.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=u.file}var r=this._sourceRoot;null!=r&&(n=ru.relative(r,n));var i=new iu,o=new iu;this._mappings.unsortedForEach((function(e){if(e.source===n&&null!=e.originalLine){var s=u.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=s.source&&(e.source=s.source,null!=t&&(e.source=ru.join(t,e.source)),null!=r&&(e.source=ru.relative(r,e.source)),e.originalLine=s.line,e.originalColumn=s.column,null!=s.name&&(e.name=s.name))}var a=e.source;null==a||i.has(a)||i.add(a);var c=e.name;null==c||o.has(c)||o.add(c)}),this),this._sources=i,this._names=o,u.sources.forEach((function(e){var n=u.sourceContentFor(e);null!=n&&(null!=t&&(e=ru.join(t,e)),null!=r&&(e=ru.relative(r,e)),this.setSourceContent(e,n))}),this)},su.prototype._validateMapping=function(u,e,t,n){if(e&&"number"!=typeof e.line&&"number"!=typeof e.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0)||e||t||n)&&!(u&&"line"in u&&"column"in u&&e&&"line"in e&&"column"in e&&u.line>0&&u.column>=0&&e.line>0&&e.column>=0&&t))throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:t,original:e,name:n}))},su.prototype._serializeMappings=function(){for(var u,e,t,n,r=0,i=1,o=0,s=0,a=0,c=0,l="",D=this._mappings.toArray(),p=0,A=D.length;p<A;p++){if(u="",(e=D[p]).generatedLine!==i)for(r=0;e.generatedLine!==i;)u+=";",i++;else if(p>0){if(!ru.compareByGeneratedPositionsInflated(e,D[p-1]))continue;u+=","}u+=nu.encode(e.generatedColumn-r),r=e.generatedColumn,null!=e.source&&(n=this._sources.indexOf(e.source),u+=nu.encode(n-c),c=n,u+=nu.encode(e.originalLine-1-s),s=e.originalLine-1,u+=nu.encode(e.originalColumn-o),o=e.originalColumn,null!=e.name&&(t=this._names.indexOf(e.name),u+=nu.encode(t-a),a=t)),l+=u}return l},su.prototype._generateSourcesContent=function(u,e){return u.map((function(u){if(!this._sourcesContents)return null;null!=e&&(u=ru.relative(e,u));var t=ru.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,t)?this._sourcesContents[t]:null}),this)},su.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(u.file=this._file),null!=this._sourceRoot&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},su.prototype.toString=function(){return JSON.stringify(this.toJSON())},G.SourceMapGenerator=su;var au={},cu={};!function(u){function e(t,n,r,i,o,s){var a=Math.floor((n-t)/2)+t,c=o(r,i[a],!0);return 0===c?a:c>0?n-a>1?e(a,n,r,i,o,s):s==u.LEAST_UPPER_BOUND?n<i.length?n:-1:a:a-t>1?e(t,a,r,i,o,s):s==u.LEAST_UPPER_BOUND?a:t<0?-1:t}
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.search=function(t,n,r,i){if(0===n.length)return-1;var o=e(-1,n.length,t,n,r,i||u.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===r(n[o],n[o-1],!0);)--o;return o}}(cu);var lu={};
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/function Du(u,e,t){var n=u[e];u[e]=u[t],u[t]=n}function pu(u,e,t,n){if(t<n){var r=t-1;Du(u,(a=t,c=n,Math.round(a+Math.random()*(c-a))),n);for(var i=u[n],o=t;o<n;o++)e(u[o],i)<=0&&Du(u,r+=1,o);Du(u,r+1,o);var s=r+1;pu(u,e,t,s-1),pu(u,e,s+1,n)}var a,c}lu.quickSort=function(u,e){pu(u,e,0,u.length-1)};
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
var Au=K,hu=cu,fu=Y.ArraySet,Cu=z,Fu=lu.quickSort;function Eu(u,e){var t=u;return"string"==typeof u&&(t=Au.parseSourceMapInput(u)),null!=t.sections?new du(t,e):new gu(t,e)}function gu(u,e){var t=u;"string"==typeof u&&(t=Au.parseSourceMapInput(u));var n=Au.getArg(t,"version"),r=Au.getArg(t,"sources"),i=Au.getArg(t,"names",[]),o=Au.getArg(t,"sourceRoot",null),s=Au.getArg(t,"sourcesContent",null),a=Au.getArg(t,"mappings"),c=Au.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=Au.normalize(o)),r=r.map(String).map(Au.normalize).map((function(u){return o&&Au.isAbsolute(o)&&Au.isAbsolute(u)?Au.relative(o,u):u})),this._names=fu.fromArray(i.map(String),!0),this._sources=fu.fromArray(r,!0),this._absoluteSources=this._sources.toArray().map((function(u){return Au.computeSourceURL(o,u,e)})),this.sourceRoot=o,this.sourcesContent=s,this._mappings=a,this._sourceMapURL=e,this.file=c}function mu(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function du(u,e){var t=u;"string"==typeof u&&(t=Au.parseSourceMapInput(u));var n=Au.getArg(t,"version"),r=Au.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new fu,this._names=new fu;var i={line:-1,column:0};this._sections=r.map((function(u){if(u.url)throw new Error("Support for url field in sections not implemented.");var t=Au.getArg(u,"offset"),n=Au.getArg(t,"line"),r=Au.getArg(t,"column");if(n<i.line||n===i.line&&r<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:r+1},consumer:new Eu(Au.getArg(u,"map"),e)}}))}Eu.fromSourceMap=function(u,e){return gu.fromSourceMap(u,e)},Eu.prototype._version=3,Eu.prototype.__generatedMappings=null,Object.defineProperty(Eu.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Eu.prototype.__originalMappings=null,Object.defineProperty(Eu.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Eu.prototype._charIsMappingSeparator=function(u,e){var t=u.charAt(e);return";"===t||","===t},Eu.prototype._parseMappings=function(u,e){throw new Error("Subclasses must implement _parseMappings")},Eu.GENERATED_ORDER=1,Eu.ORIGINAL_ORDER=2,Eu.GREATEST_LOWER_BOUND=1,Eu.LEAST_UPPER_BOUND=2,Eu.prototype.eachMapping=function(u,e,t){var n,r=e||null;switch(t||Eu.GENERATED_ORDER){case Eu.GENERATED_ORDER:n=this._generatedMappings;break;case Eu.ORIGINAL_ORDER:n=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;n.map((function(u){var e=null===u.source?null:this._sources.at(u.source);return{source:e=Au.computeSourceURL(i,e,this._sourceMapURL),generatedLine:u.generatedLine,generatedColumn:u.generatedColumn,originalLine:u.originalLine,originalColumn:u.originalColumn,name:null===u.name?null:this._names.at(u.name)}}),this).forEach(u,r)},Eu.prototype.allGeneratedPositionsFor=function(u){var e=Au.getArg(u,"line"),t={source:Au.getArg(u,"source"),originalLine:e,originalColumn:Au.getArg(u,"column",0)};if(t.source=this._findSourceIndex(t.source),t.source<0)return[];var n=[],r=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",Au.compareByOriginalPositions,hu.LEAST_UPPER_BOUND);if(r>=0){var i=this._originalMappings[r];if(void 0===u.column)for(var o=i.originalLine;i&&i.originalLine===o;)n.push({line:Au.getArg(i,"generatedLine",null),column:Au.getArg(i,"generatedColumn",null),lastColumn:Au.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++r];else for(var s=i.originalColumn;i&&i.originalLine===e&&i.originalColumn==s;)n.push({line:Au.getArg(i,"generatedLine",null),column:Au.getArg(i,"generatedColumn",null),lastColumn:Au.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++r]}return n},au.SourceMapConsumer=Eu,gu.prototype=Object.create(Eu.prototype),gu.prototype.consumer=Eu,gu.prototype._findSourceIndex=function(u){var e,t=u;if(null!=this.sourceRoot&&(t=Au.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);for(e=0;e<this._absoluteSources.length;++e)if(this._absoluteSources[e]==u)return e;return-1},gu.fromSourceMap=function(u,e){var t=Object.create(gu.prototype),n=t._names=fu.fromArray(u._names.toArray(),!0),r=t._sources=fu.fromArray(u._sources.toArray(),!0);t.sourceRoot=u._sourceRoot,t.sourcesContent=u._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=u._file,t._sourceMapURL=e,t._absoluteSources=t._sources.toArray().map((function(u){return Au.computeSourceURL(t.sourceRoot,u,e)}));for(var i=u._mappings.toArray().slice(),o=t.__generatedMappings=[],s=t.__originalMappings=[],a=0,c=i.length;a<c;a++){var l=i[a],D=new mu;D.generatedLine=l.generatedLine,D.generatedColumn=l.generatedColumn,l.source&&(D.source=r.indexOf(l.source),D.originalLine=l.originalLine,D.originalColumn=l.originalColumn,l.name&&(D.name=n.indexOf(l.name)),s.push(D)),o.push(D)}return Fu(t.__originalMappings,Au.compareByOriginalPositions),t},gu.prototype._version=3,Object.defineProperty(gu.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),gu.prototype._parseMappings=function(u,e){for(var t,n,r,i,o,s=1,a=0,c=0,l=0,D=0,p=0,A=u.length,h=0,f={},C={},F=[],E=[];h<A;)if(";"===u.charAt(h))s++,h++,a=0;else if(","===u.charAt(h))h++;else{for((t=new mu).generatedLine=s,i=h;i<A&&!this._charIsMappingSeparator(u,i);i++);if(r=f[n=u.slice(h,i)])h+=n.length;else{for(r=[];h<i;)Cu.decode(u,h,C),o=C.value,h=C.rest,r.push(o);if(2===r.length)throw new Error("Found a source, but no line and column");if(3===r.length)throw new Error("Found a source and line, but no column");f[n]=r}t.generatedColumn=a+r[0],a=t.generatedColumn,r.length>1&&(t.source=D+r[1],D+=r[1],t.originalLine=c+r[2],c=t.originalLine,t.originalLine+=1,t.originalColumn=l+r[3],l=t.originalColumn,r.length>4&&(t.name=p+r[4],p+=r[4])),E.push(t),"number"==typeof t.originalLine&&F.push(t)}Fu(E,Au.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,Fu(F,Au.compareByOriginalPositions),this.__originalMappings=F},gu.prototype._findMapping=function(u,e,t,n,r,i){if(u[t]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+u[t]);if(u[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+u[n]);return hu.search(u,e,r,i)},gu.prototype.computeColumnSpans=function(){for(var u=0;u<this._generatedMappings.length;++u){var e=this._generatedMappings[u];if(u+1<this._generatedMappings.length){var t=this._generatedMappings[u+1];if(e.generatedLine===t.generatedLine){e.lastGeneratedColumn=t.generatedColumn-1;continue}}e.lastGeneratedColumn=1/0}},gu.prototype.originalPositionFor=function(u){var e={generatedLine:Au.getArg(u,"line"),generatedColumn:Au.getArg(u,"column")},t=this._findMapping(e,this._generatedMappings,"generatedLine","generatedColumn",Au.compareByGeneratedPositionsDeflated,Au.getArg(u,"bias",Eu.GREATEST_LOWER_BOUND));if(t>=0){var n=this._generatedMappings[t];if(n.generatedLine===e.generatedLine){var r=Au.getArg(n,"source",null);null!==r&&(r=this._sources.at(r),r=Au.computeSourceURL(this.sourceRoot,r,this._sourceMapURL));var i=Au.getArg(n,"name",null);return null!==i&&(i=this._names.at(i)),{source:r,line:Au.getArg(n,"originalLine",null),column:Au.getArg(n,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},gu.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(u){return null==u})))},gu.prototype.sourceContentFor=function(u,e){if(!this.sourcesContent)return null;var t=this._findSourceIndex(u);if(t>=0)return this.sourcesContent[t];var n,r=u;if(null!=this.sourceRoot&&(r=Au.relative(this.sourceRoot,r)),null!=this.sourceRoot&&(n=Au.urlParse(this.sourceRoot))){var i=r.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!n.path||"/"==n.path)&&this._sources.has("/"+r))return this.sourcesContent[this._sources.indexOf("/"+r)]}if(e)return null;throw new Error('"'+r+'" is not in the SourceMap.')},gu.prototype.generatedPositionFor=function(u){var e=Au.getArg(u,"source");if((e=this._findSourceIndex(e))<0)return{line:null,column:null,lastColumn:null};var t={source:e,originalLine:Au.getArg(u,"line"),originalColumn:Au.getArg(u,"column")},n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",Au.compareByOriginalPositions,Au.getArg(u,"bias",Eu.GREATEST_LOWER_BOUND));if(n>=0){var r=this._originalMappings[n];if(r.source===t.source)return{line:Au.getArg(r,"generatedLine",null),column:Au.getArg(r,"generatedColumn",null),lastColumn:Au.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},au.BasicSourceMapConsumer=gu,du.prototype=Object.create(Eu.prototype),du.prototype.constructor=Eu,du.prototype._version=3,Object.defineProperty(du.prototype,"sources",{get:function(){for(var u=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)u.push(this._sections[e].consumer.sources[t]);return u}}),du.prototype.originalPositionFor=function(u){var e={generatedLine:Au.getArg(u,"line"),generatedColumn:Au.getArg(u,"column")},t=hu.search(e,this._sections,(function(u,e){var t=u.generatedLine-e.generatedOffset.generatedLine;return t||u.generatedColumn-e.generatedOffset.generatedColumn})),n=this._sections[t];return n?n.consumer.originalPositionFor({line:e.generatedLine-(n.generatedOffset.generatedLine-1),column:e.generatedColumn-(n.generatedOffset.generatedLine===e.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:u.bias}):{source:null,line:null,column:null,name:null}},du.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(u){return u.consumer.hasContentsOfAllSources()}))},du.prototype.sourceContentFor=function(u,e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t].consumer.sourceContentFor(u,!0);if(n)return n}if(e)return null;throw new Error('"'+u+'" is not in the SourceMap.')},du.prototype.generatedPositionFor=function(u){for(var e=0;e<this._sections.length;e++){var t=this._sections[e];if(-1!==t.consumer._findSourceIndex(Au.getArg(u,"source"))){var n=t.consumer.generatedPositionFor(u);if(n)return{line:n.line+(t.generatedOffset.generatedLine-1),column:n.column+(t.generatedOffset.generatedLine===n.line?t.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},du.prototype._parseMappings=function(u,e){this.__generatedMappings=[],this.__originalMappings=[];for(var t=0;t<this._sections.length;t++)for(var n=this._sections[t],r=n.consumer._generatedMappings,i=0;i<r.length;i++){var o=r[i],s=n.consumer._sources.at(o.source);s=Au.computeSourceURL(n.consumer.sourceRoot,s,this._sourceMapURL),this._sources.add(s),s=this._sources.indexOf(s);var a=null;o.name&&(a=n.consumer._names.at(o.name),this._names.add(a),a=this._names.indexOf(a));var c={source:s,generatedLine:o.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(n.generatedOffset.generatedLine===o.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:a};this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}Fu(this.__generatedMappings,Au.compareByGeneratedPositionsDeflated),Fu(this.__originalMappings,Au.compareByOriginalPositions)},au.IndexedSourceMapConsumer=du;var Bu={},yu=G.SourceMapGenerator,vu=K,Su=/(\r?\n)/,bu="$$$isSourceNode$$$";
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/function xu(u,e,t,n,r){this.children=[],this.sourceContents={},this.line=null==u?null:u,this.column=null==e?null:e,this.source=null==t?null:t,this.name=null==r?null:r,this[bu]=!0,null!=n&&this.add(n)}xu.fromStringWithSourceMap=function(u,e,t){var n=new xu,r=u.split(Su),i=0,o=function(){return u()+(u()||"");function u(){return i<r.length?r[i++]:void 0}},s=1,a=0,c=null;return e.eachMapping((function(u){if(null!==c){if(!(s<u.generatedLine)){var e=(t=r[i]||"").substr(0,u.generatedColumn-a);return r[i]=t.substr(u.generatedColumn-a),a=u.generatedColumn,l(c,e),void(c=u)}l(c,o()),s++,a=0}for(;s<u.generatedLine;)n.add(o()),s++;if(a<u.generatedColumn){var t=r[i]||"";n.add(t.substr(0,u.generatedColumn)),r[i]=t.substr(u.generatedColumn),a=u.generatedColumn}c=u}),this),i<r.length&&(c&&l(c,o()),n.add(r.splice(i).join(""))),e.sources.forEach((function(u){var r=e.sourceContentFor(u);null!=r&&(null!=t&&(u=vu.join(t,u)),n.setSourceContent(u,r))})),n;function l(u,e){if(null===u||void 0===u.source)n.add(e);else{var r=t?vu.join(t,u.source):u.source;n.add(new xu(u.originalLine,u.originalColumn,r,e,u.name))}}},xu.prototype.add=function(u){if(Array.isArray(u))u.forEach((function(u){this.add(u)}),this);else{if(!u[bu]&&"string"!=typeof u)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+u);u&&this.children.push(u)}return this},xu.prototype.prepend=function(u){if(Array.isArray(u))for(var e=u.length-1;e>=0;e--)this.prepend(u[e]);else{if(!u[bu]&&"string"!=typeof u)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+u);this.children.unshift(u)}return this},xu.prototype.walk=function(u){for(var e,t=0,n=this.children.length;t<n;t++)(e=this.children[t])[bu]?e.walk(u):""!==e&&u(e,{source:this.source,line:this.line,column:this.column,name:this.name})},xu.prototype.join=function(u){var e,t,n=this.children.length;if(n>0){for(e=[],t=0;t<n-1;t++)e.push(this.children[t]),e.push(u);e.push(this.children[t]),this.children=e}return this},xu.prototype.replaceRight=function(u,e){var t=this.children[this.children.length-1];return t[bu]?t.replaceRight(u,e):"string"==typeof t?this.children[this.children.length-1]=t.replace(u,e):this.children.push("".replace(u,e)),this},xu.prototype.setSourceContent=function(u,e){this.sourceContents[vu.toSetString(u)]=e},xu.prototype.walkSourceContents=function(u){for(var e=0,t=this.children.length;e<t;e++)this.children[e][bu]&&this.children[e].walkSourceContents(u);var n=Object.keys(this.sourceContents);for(e=0,t=n.length;e<t;e++)u(vu.fromSetString(n[e]),this.sourceContents[n[e]])},xu.prototype.toString=function(){var u="";return this.walk((function(e){u+=e})),u},xu.prototype.toStringWithSourceMap=function(u){var e={code:"",line:1,column:0},t=new yu(u),n=!1,r=null,i=null,o=null,s=null;return this.walk((function(u,a){e.code+=u,null!==a.source&&null!==a.line&&null!==a.column?(r===a.source&&i===a.line&&o===a.column&&s===a.name||t.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:e.line,column:e.column},name:a.name}),r=a.source,i=a.line,o=a.column,s=a.name,n=!0):n&&(t.addMapping({generated:{line:e.line,column:e.column}}),r=null,n=!1);for(var c=0,l=u.length;c<l;c++)10===u.charCodeAt(c)?(e.line++,e.column=0,c+1===l?(r=null,n=!1):n&&t.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:e.line,column:e.column},name:a.name})):e.column++})),this.walkSourceContents((function(u,e){t.setSourceContent(u,e)})),{code:e.code,map:t}},Bu.SourceNode=xu,
/*
* Copyright 2009-2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE.txt or:
* http://opensource.org/licenses/BSD-3-Clause
*/
W.SourceMapGenerator=G.SourceMapGenerator,W.SourceMapConsumer=au.SourceMapConsumer,W.SourceNode=Bu.SourceNode;var _u="2.0.0";
/*
Copyright (C) 2012-2014 Yusuke Suzuki <[email protected]>
Copyright (C) 2015 Ingvar Stepanyan <[email protected]>
Copyright (C) 2014 Ivan Nikulin <[email protected]>
Copyright (C) 2012-2013 Michael Ficarra <[email protected]>
Copyright (C) 2012-2013 Mathias Bynens <[email protected]>
Copyright (C) 2013 Irakli Gozalishvili <[email protected]>
Copyright (C) 2012 Robert Gust-Bardon <[email protected]>
Copyright (C) 2012 John Freeman <[email protected]>
Copyright (C) 2011-2012 Ariya Hidayat <[email protected]>
Copyright (C) 2012 Joost-Wim Boekesteijn <[email protected]>
Copyright (C) 2012 Kris Kowal <[email protected]>
Copyright (C) 2012 Arpad Borsos <[email protected]>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
!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 _(u){return X.Statement.hasOwnProperty(u.type)}s=T,t=(o=q).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 w=32,k=33;function L(u,e){var t="";for(e|=0;e>0;e>>>=1,u+=u)1&e&&(t+=u);return t}function M(u){var e=u.length;return e&&s.code.isLineTerminator(u.charCodeAt(e-1))}function O(u,e){var t;for(t in e)e.hasOwnProperty(t)&&(u[t]=e[t]);return u}function P(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])?P(u[t],n):u[t]=P({},n):u[t]=n);return u}function R(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 I(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 j(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 N(u){var e,t,n,r="";for(e=0,t=u.length;e<t;++e)n=u[e],r+=Array.isArray(n)?N(n):n;return r}function U(u,e){if(!y)return Array.isArray(u)?N(u):u;if(null==e){if(u instanceof i)return u;e={}}return null==e.loc?new i(null,null,y,u,e.name||null):new i(e.loc.start.line,e.loc.start.column,!0===y?e.loc.source||null:y,u,e.name||null)}function G(){return C||" "}function z(u,e){var t,n,r,i;return 0===(t=U(u).toString()).length?[e]:0===(n=U(e).toString()).length?[u]:(r=t.charCodeAt(t.length-1),i=n.charCodeAt(0),(43===r||45===r)&&r===i||s.code.isIdentifierPartES5(r)&&s.code.isIdentifierPartES5(i)||47===r&&105===i?[u,G(),e]:s.code.isWhiteSpace(r)||s.code.isLineTerminator(r)||s.code.isWhiteSpace(i)||s.code.isLineTerminator(i)?[u,e]:[u,C,e])}function $(u){return[a,u]}function V(u){var e;e=a,u(a+=c),a=e}function J(u,e){if("Line"===u.type){if(M(u.value))return"//"+u.value;var t="//"+u.value;return S||(t+="\n"),t}return d.format.indent.adjustMultilineComment&&/[\n\r]/.test(u.value)?function(u,e){var t,n,r,i,o,c,l,D;for(t=u.split(/\r\n|[\r\n]/),c=Number.MAX_VALUE,n=1,r=t.length;n<r;++n){for(i=t[n],o=0;o<i.length&&s.code.isWhiteSpace(i.charCodeAt(o));)++o;c>o&&(c=o)}for(void 0!==e?(l=a,"*"===t[1][c]&&(e+=" "),a=e):(1&c&&--c,l=a),n=1,r=t.length;n<r;++n)D=U($(t[n].slice(c))),t[n]=y?D.join(""):D;return a=l,t.join("\n")}("/*"+u.value+"*/",e):"/*"+u.value+"*/"}function K(u,e){var n,r,i,o,l,D,p,A,h,f,C,F;if(u.leadingComments&&u.leadingComments.length>0){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(L("\n",F)),e.push($(J(i)))):(e.push(C),e.push(J(i))),f=h,n=1,r=u.leadingComments.length;n<r;n++)h=(i=u.leadingComments[n]).range,F=(v.substring(f[1],h[0]).match(/\n/g)||[]).length,e.push(L("\n",F)),e.push($(J(i))),f=h;F=(v.substring(h[1],A[1]).match(/\n/g)||[]).length,e.push(L("\n",F))}else for(i=u.leadingComments[0],e=[],g&&u.type===t.Program&&0===u.body.length&&e.push("\n"),e.push(J(i)),M(U(e).toString())||e.push("\n"),n=1,r=u.leadingComments.length;n<r;++n)M(U(p=[J(i=u.leadingComments[n])]).toString())||p.push("\n"),e.push($(p));e.push($(o))}if(u.trailingComments)if(S)A=(i=u.trailingComments[0]).extendedRange,h=i.range,(F=((C=v.substring(A[0],h[0])).match(/\n/g)||[]).length)>0?(e.push(L("\n",F)),e.push($(J(i)))):(e.push(C),e.push(J(i)));else for(l=!M(U(e).toString()),D=L(" ",function(u){var e;for(e=u.length-1;e>=0&&!s.code.isLineTerminator(u.charCodeAt(e));--e);return u.length-1-e}(U([a,e,c]).toString())),n=0,r=u.trailingComments.length;n<r;++n)i=u.trailingComments[n],l?(e=0===n?[e,c]:[e,D]).push(J(i,D)):e=[e,$(J(i))],n===r-1||M(U(e).toString())||(e=[e,"\n"]);return e}function Y(u,e,t){var n,r=0;for(n=u;n<e;n++)"\n"===v[n]&&r++;for(n=1;n<r;n++)t.push(f)}function H(u,e,t){return e<t?["(",u,")"]:u}function Z(u){var e,t,n;for(e=1,t=(n=u.split(/\r\n|\n/)).length;e<t;e++)n[e]=f+a+n[e];return n}function X(){}function Q(u){return U(u.name,u)}function uu(u,e){return u.async?"async"+(e?G():C):""}function eu(u){return u.generator&&!d.moz.starlessGenerator?"*"+C:""}function tu(u){var e=u.value,t="";return e.async&&(t+=uu(e,!u.computed)),e.generator&&(t+=eu(e)?"*":""),t}function nu(u){var e;if(e=new X,_(u))return e.generateStatement(u,1);if(function(u){return X.Expression.hasOwnProperty(u.type)}(u))return e.generateExpression(u,n.Sequence,7);throw new Error("Unknown node type: "+u.type)}X.prototype.maybeBlock=function(u,e){var n,r,i=this;return r=!d.comment||!u.leadingComments,u.type===t.BlockStatement&&r?[C,this.generateStatement(u,e)]:u.type===t.EmptyStatement&&r?";":(V((function(){n=[f,$(i.generateStatement(u,e))]})),n)},X.prototype.maybeBlockSuffix=function(u,e){var n=M(U(e).toString());return u.type!==t.BlockStatement||d.comment&&u.leadingComments||n?n?[e,a]:[e,f,a]:[e,C]},X.prototype.generatePattern=function(u,e,n){return u.type===t.Identifier?Q(u):this.generateExpression(u,e,n)},X.prototype.generateFunctionParams=function(u){var e,r,i,o;if(o=!1,u.type!==t.ArrowFunctionExpression||u.rest||u.defaults&&0!==u.defaults.length||1!==u.params.length||u.params[0].type!==t.Identifier){for((i=u.type===t.ArrowFunctionExpression?[uu(u,!1)]:[]).push("("),u.defaults&&(o=!0),e=0,r=u.params.length;e<r;++e)o&&u.defaults[e]?i.push(this.generateAssignment(u.params[e],u.defaults[e],"=",n.Assignment,7)):i.push(this.generatePattern(u.params[e],n.Assignment,7)),e+1<r&&i.push(","+C);u.rest&&(u.params.length&&i.push(","+C),i.push("..."),i.push(Q(u.rest))),i.push(")")}else i=[uu(u,!0),Q(u.params[0])];return i},X.prototype.generateFunctionBody=function(u){var e,r;return e=this.generateFunctionParams(u),u.type===t.ArrowFunctionExpression&&(e.push(C),e.push("=>")),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=z(i,u),i=[z(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.Assignment<r&&(i|=1),H([this.generateExpression(u,n.Call,i),C+t+C,this.generateExpression(e,n.Assignment,i)],n.Assignment,r)},X.prototype.semicolon=function(u){return!E&&u&w?"":";"},X.Statement={BlockStatement:function(u,e){var t,n,r=["{",f],i=this;return V((function(){var o,s,a,c;for(0===u.body.length&&S&&(t=u.range)[1]-t[0]>2&&("\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;o<s;++o)S&&(0===o&&(u.body[0].leadingComments&&(t=u.body[0].leadingComments[0].extendedRange,"\n"===(n=v.substring(t[0],t[1]))[0]&&(r=["{"])),u.body[0].leadingComments||Y(u.range[0],u.body[0].range[0],r)),o>0&&(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|=w),a=u.body[o].leadingComments&&S?i.generateStatement(u.body[o],c):$(i.generateStatement(u.body[o],c)),r.push(a),M(U(a).toString())||S&&o<s-1&&u.body[o+1].leadingComments||r.push(f),S&&o===s-1&&(u.body[o].trailingComments||Y(u.body[o].range[1],u.range[1],r))})),r.push($("}")),r},BreakStatement:function(u,e){return u.label?"break "+u.label.name+this.semicolon(e):"break"+this.semicolon(e)},ContinueStatement:function(u,e){return u.label?"continue "+u.label.name+this.semicolon(e):"continue"+this.semicolon(e)},ClassBody:function(u,e){var t=["{",f],r=this;return V((function(e){var i,o;for(i=0,o=u.body.length;i<o;++i)t.push(e),t.push(r.generateExpression(u.body[i],n.Sequence,7)),i+1<o&&t.push(f)})),M(U(t).toString())||t.push(f),t.push(a),t.push("}"),t},ClassDeclaration:function(u,e){var t,r;return t=["class"],u.id&&(t=z(t,this.generateExpression(u.id,n.Sequence,7))),u.superClass&&(r=z("extends",this.generateExpression(u.superClass,n.Unary,7)),t=z(t,r)),t.push(C),t.push(this.generateStatement(u.body,k)),t},DirectiveStatement:function(u,e){return d.raw&&u.raw?u.raw+this.semicolon(e):function(u){var e,t,n,r;for(r="double"===A?'"':"'",e=0,t=u.length;e<t;++e){if(39===(n=u.charCodeAt(e))){r='"';break}if(34===n){r="'";break}92===n&&++e}return r+u+r}(u.directive)+this.semicolon(e)},DoWhileStatement:function(u,e){var t=z("do",this.maybeBlock(u.body,1));return z(t=this.maybeBlockSuffix(u.body,t),["while"+C+"(",this.generateExpression(u.test,n.Sequence,7),")"+this.semicolon(e)])},CatchClause:function(u,e){var t,r=this;return V((function(){var e;u.param?(t=["catch"+C+"(",r.generateExpression(u.param,n.Sequence,7),")"],u.guard&&(e=r.generateExpression(u.guard,n.Sequence,7),t.splice(2,0," if ",e))):t=["catch"]})),t.push(this.maybeBlock(u.body,1)),t},DebuggerStatement:function(u,e){return"debugger"+this.semicolon(e)},EmptyStatement:function(u,e){return";"},ExportDefaultDeclaration:function(u,e){var t,r=["export"];return t=e&w?k:1,r=z(r,"default"),r=_(u.declaration)?z(r,this.generateStatement(u.declaration,t)):z(r,this.generateExpression(u.declaration,n.Assignment,7)+this.semicolon(e))},ExportNamedDeclaration:function(u,e){var r,i=["export"],o=this;return r=e&w?k:1,u.declaration?z(i,this.generateStatement(u.declaration,r)):(u.specifiers&&(0===u.specifiers.length?i=z(i,"{"+C+"}"):u.specifiers[0].type===t.ExportBatchSpecifier?i=z(i,this.generateExpression(u.specifiers[0],n.Sequence,7)):(i=z(i,"{"),V((function(e){var t,r;for(i.push(f),t=0,r=u.specifiers.length;t<r;++t)i.push(e),i.push(o.generateExpression(u.specifiers[t],n.Sequence,7)),t+1<r&&i.push(","+f)})),M(U(i).toString())||i.push(f),i.push(a+"}")),u.source?i=z(i,["from"+C,this.generateExpression(u.source,n.Sequence,7),this.semicolon(e)]):i.push(this.semicolon(e))),i)},ExportAllDeclaration:function(u,e){return["export"+C,"*"+C,"from"+C,this.generateExpression(u.source,n.Sequence,7),this.semicolon(e)]},ExpressionStatement:function(u,e){var r,i;return 123===(i=U(r=[this.generateExpression(u.expression,n.Sequence,7)]).toString()).charCodeAt(0)||function(u){var e;return"class"===u.slice(0,5)&&(123===(e=u.charCodeAt(5))||s.code.isWhiteSpace(e)||s.code.isLineTerminator(e))}(i)||function(u){var e;return"function"===u.slice(0,8)&&(40===(e=u.charCodeAt(8))||s.code.isWhiteSpace(e)||42===e||s.code.isLineTerminator(e))}(i)||function(u){var e,t,n;if("async"!==u.slice(0,5))return!1;if(!s.code.isWhiteSpace(u.charCodeAt(5)))return!1;for(t=6,n=u.length;t<n&&s.code.isWhiteSpace(u.charCodeAt(t));++t);return t!==n&&("function"===u.slice(t,t+8)&&(40===(e=u.charCodeAt(t+8))||s.code.isWhiteSpace(e)||42===e||s.code.isLineTerminator(e)))}(i)||m&&16&e&&u.expression.type===t.Literal&&"string"==typeof u.expression.value?r=["(",r,")"+this.semicolon(e)]:r.push(this.semicolon(e)),r},ImportDeclaration:function(u,e){var r,i,o=this;return 0===u.specifiers.length?["import",C,this.generateExpression(u.source,n.Sequence,7),this.semicolon(e)]:(r=["import"],i=0,u.specifiers[i].type===t.ImportDefaultSpecifier&&(r=z(r,[this.generateExpression(u.specifiers[i],n.Sequence,7)]),++i),u.specifiers[i]&&(0!==i&&r.push(","),u.specifiers[i].type===t.ImportNamespaceSpecifier?r=z(r,[C,this.generateExpression(u.specifiers[i],n.Sequence,7)]):(r.push(C+"{"),u.specifiers.length-i==1?(r.push(C),r.push(this.generateExpression(u.specifiers[i],n.Sequence,7)),r.push(C+"}"+C)):(V((function(e){var t,s;for(r.push(f),t=i,s=u.specifiers.length;t<s;++t)r.push(e),r.push(o.generateExpression(u.specifiers[t],n.Sequence,7)),t+1<s&&r.push(","+f)})),M(U(r).toString())||r.push(f),r.push(a+"}"+C)))),r=z(r,["from"+C,this.generateExpression(u.source,n.Sequence,7),this.semicolon(e)]))},VariableDeclarator:function(u,e){var t=1&e?7:6;return u.init?[this.generateExpression(u.id,n.Assignment,t),C,"=",C,this.generateExpression(u.init,n.Assignment,t)]:this.generatePattern(u.id,n.Assignment,t)},VariableDeclaration:function(u,e){var t,n,r,i,o,s=this;function a(){for(i=u.declarations[0],d.comment&&i.leadingComments?(t.push("\n"),t.push($(s.generateStatement(i,o)))):(t.push(G()),t.push(s.generateStatement(i,o))),n=1,r=u.declarations.length;n<r;++n)i=u.declarations[n],d.comment&&i.leadingComments?(t.push(","+f),t.push($(s.generateStatement(i,o)))):(t.push(","+C),t.push(s.generateStatement(i,o)))}return t=[u.kind],o=1&e?1:0,u.declarations.length>1?V(a):a(),t.push(this.semicolon(e)),t},ThrowStatement:function(u,e){return[z("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;n<r;++n)t=z(t,this.generateStatement(u.handlers[n],1)),(u.finalizer||n+1!==r)&&(t=this.maybeBlockSuffix(u.handlers[n].body,t));else{for(n=0,r=(i=u.guardedHandlers||[]).length;n<r;++n)t=z(t,this.generateStatement(i[n],1)),(u.finalizer||n+1!==r)&&(t=this.maybeBlockSuffix(i[n].body,t));if(u.handler)if(Array.isArray(u.handler))for(n=0,r=u.handler.length;n<r;++n)t=z(t,this.generateStatement(u.handler[n],1)),(u.finalizer||n+1!==r)&&(t=this.maybeBlockSuffix(u.handler[n].body,t));else t=z(t,this.generateStatement(u.handler,1)),u.finalizer&&(t=this.maybeBlockSuffix(u.handler.body,t))}return u.finalizer&&(t=z(t,["finally",this.maybeBlock(u.finalizer,1)])),t},SwitchStatement:function(u,e){var t,r,i,o,s,a=this;if(V((function(){t=["switch"+C+"(",a.generateExpression(u.discriminant,n.Sequence,7),")"+C+"{"+f]})),u.cases)for(s=1,i=0,o=u.cases.length;i<o;++i)i===o-1&&(s|=w),r=$(this.generateStatement(u.cases[i],s)),t.push(r),M(U(r).toString())||t.push(f);return t.push($("}")),t},SwitchCase:function(u,e){var r,i,o,s,a,c=this;return V((function(){for(r=u.test?[z("case",c.generateExpression(u.test,n.Sequence,7)),":"]:["default:"],o=0,(s=u.consequent.length)&&u.consequent[0].type===t.BlockStatement&&(i=c.maybeBlock(u.consequent[0],1),r.push(i),o=1),o===s||M(U(r).toString())||r.push(f),a=1;o<s;++o)o===s-1&&e&w&&(a|=w),i=$(c.generateStatement(u.consequent[o],a)),r.push(i),o+1===s||M(U(i).toString())||r.push(f)})),r},IfStatement:function(u,e){var r,i,o=this;return V((function(){r=["if"+C+"(",o.generateExpression(u.test,n.Sequence,7),")"]})),i=1,e&w&&(i|=w),u.alternate?(r.push(this.maybeBlock(u.consequent,1)),r=this.maybeBlockSuffix(u.consequent,r),r=u.alternate.type===t.IfStatement?z(r,["else ",this.generateStatement(u.alternate,i)]):z(r,z("else",this.maybeBlock(u.alternate,i)))):r.push(this.maybeBlock(u.consequent,i)),r},ForStatement:function(u,e){var r,i=this;return V((function(){r=["for"+C+"("],u.init?u.init.type===t.VariableDeclaration?r.push(i.generateStatement(u.init,0)):(r.push(i.generateExpression(u.init,n.Sequence,6)),r.push(";")):r.push(";"),u.test?(r.push(C),r.push(i.generateExpression(u.test,n.Sequence,7)),r.push(";")):r.push(";"),u.update?(r.push(C),r.push(i.generateExpression(u.update,n.Sequence,7)),r.push(")")):r.push(")")})),r.push(this.maybeBlock(u.body,e&w?k:1)),r},ForInStatement:function(u,e){return this.generateIterationForStatement("in",u,e&w?k:1)},ForOfStatement:function(u,e){return this.generateIterationForStatement("of",u,e&w?k:1)},LabeledStatement:function(u,e){return[u.label.name+":",this.maybeBlock(u.body,e&w?k:1)]},Program:function(u,e){var t,n,r,i,o;for(i=u.body.length,t=[g&&i>0?"\n":""],o=17,r=0;r<i;++r)g||r!==i-1||(o|=w),S&&(0===r&&(u.body[0].leadingComments||Y(u.range[0],u.body[r].range[0],t)),r>0&&(u.body[r-1].trailingComments||u.body[r].leadingComments||Y(u.body[r-1].range[1],u.body[r].range[0],t))),n=$(this.generateStatement(u.body[r],o)),t.push(n),r+1<i&&!M(U(n).toString())&&(S&&u.body[r+1].leadingComments||t.push(f)),S&&r===i-1&&(u.body[r].trailingComments||Y(u.body[r].range[1],u.range[1],t));return t},FunctionDeclaration:function(u,e){return[uu(u,!0),"function",eu(u)||G(),u.id?Q(u.id):"",this.generateFunctionBody(u)]},ReturnStatement:function(u,e){return u.argument?[z("return",this.generateExpression(u.argument,n.Sequence,7)),this.semicolon(e)]:["return"+this.semicolon(e)]},WhileStatement:function(u,e){var t,r=this;return V((function(){t=["while"+C+"(",r.generateExpression(u.test,n.Sequence,7),")"]})),t.push(this.maybeBlock(u.body,e&w?k:1)),t},WithStatement:function(u,e){var t,r=this;return V((function(){t=["with"+C+"(",r.generateExpression(u.object,n.Sequence,7),")"]})),t.push(this.maybeBlock(u.body,e&w?k:1)),t}},O(X.prototype,X.Statement),X.Expression={SequenceExpression:function(u,e,t){var r,i,o;for(n.Sequence<e&&(t|=1),r=[],i=0,o=u.expressions.length;i<o;++i)r.push(this.generateExpression(u.expressions[i],n.Assignment,t)),i+1<o&&r.push(","+C);return H(r,n.Sequence,e)},AssignmentExpression:function(u,e,t){return this.generateAssignment(u.left,u.right,u.operator,e,t)},ArrowFunctionExpression:function(u,e,t){return H(this.generateFunctionBody(u),n.ArrowFunction,e)},ConditionalExpression:function(u,e,t){return n.Conditional<e&&(t|=1),H([this.generateExpression(u.test,n.LogicalOR,t),C+"?"+C,this.generateExpression(u.consequent,n.Assignment,t),C+":"+C,this.generateExpression(u.alternate,n.Assignment,t)],n.Conditional,e)},LogicalExpression:function(u,e,t){return this.BinaryExpression(u,e,t)},BinaryExpression:function(u,e,t){var i,o,a,c,l,D;return c=r[u.operator],o="**"===u.operator?n.Postfix:c,a="**"===u.operator?c:c+1,c<e&&(t|=1),i=47===(D=(l=this.generateExpression(u.left,o,t)).toString()).charCodeAt(D.length-1)&&s.code.isIdentifierPartES5(u.operator.charCodeAt(0))?[l,G(),u.operator]:z(l,u.operator),l=this.generateExpression(u.right,a,t),"/"===u.operator&&"/"===l.toString().charAt(0)||"<"===u.operator.slice(-1)&&"!--"===l.toString().slice(0,3)?(i.push(G()),i.push(l)):i=z(i,l),"in"!==u.operator||1&t?H(i,c,e):["(",i,")"]},CallExpression:function(u,e,t){var r,i,o;for(r=[this.generateExpression(u.callee,n.Call,3)],u.optional&&r.push("?."),r.push("("),i=0,o=u.arguments.length;i<o;++i)r.push(this.generateExpression(u.arguments[i],n.Assignment,7)),i+1<o&&r.push(","+C);return r.push(")"),2&t?H(r,n.Call,e):["(",r,")"]},ChainExpression:function(u,e,t){return n.OptionalChaining<e&&(t|=2),H(this.generateExpression(u.expression,n.OptionalChaining,t),n.OptionalChaining,e)},NewExpression:function(u,e,t){var r,i,o,s,a;if(i=u.arguments.length,a=4&t&&!F&&0===i?5:1,r=z("new",this.generateExpression(u.callee,n.New,a)),!(4&t)||F||i>0){for(r.push("("),o=0,s=i;o<s;++o)r.push(this.generateExpression(u.arguments[o],n.Assignment,7)),o+1<s&&r.push(","+C);r.push(")")}return H(r,n.New,e)},MemberExpression:function(u,e,r){var i,o;return i=[this.generateExpression(u.object,n.Call,2&r?3:1)],u.computed?(u.optional&&i.push("?."),i.push("["),i.push(this.generateExpression(u.property,n.Sequence,2&r?7:5)),i.push("]")):(u.optional||u.object.type!==t.Literal||"number"!=typeof u.object.value||(o=U(i).toString()).indexOf(".")<0&&!/[eExX]/.test(o)&&s.code.isDecimalDigit(o.charCodeAt(o.length-1))&&!(o.length>=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=z(u.operator,i):(r=[u.operator],u.operator.length>2?r=z(r,i):(c=(a=U(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=z(r,this.generateExpression(u.argument,n.Yield,7))),H(r,n.Yield,e)},AwaitExpression:function(u,e,t){return H(z(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;t<r;++t)u.elements[t]?(i.push(o?e:""),i.push(s.generateExpression(u.elements[t],n.Assignment,7))):(o&&i.push(e),t+1===r&&i.push(",")),t+1<r&&i.push(","+(o?f:C))})),o&&!M(U(i).toString())&&i.push(f),i.push(o?a:""),i.push("]"),i):"[]"},RestElement:function(u,e,t){return"..."+this.generatePattern(u.argument)},ClassExpression:function(u,e,t){var r,i;return r=["class"],u.id&&(r=z(r,this.generateExpression(u.id,n.Sequence,7))),u.superClass&&(i=z("extends",this.generateExpression(u.superClass,n.Unary,7)),r=z(r,i)),r.push(C),r.push(this.generateStatement(u.body,k)),r},MethodDefinition:function(u,e,t){var n,r;return n=u.static?["static"+C]:[],r="get"===u.kind||"set"===u.kind?[z(u.kind,this.generatePropertyKey(u.key,u.computed)),this.generateFunctionBody(u.value)]:[tu(u),this.generatePropertyKey(u.key,u.computed),this.generateFunctionBody(u.value)],z(n,r)},Property:function(u,e,t){return"get"===u.kind||"set"===u.kind?[u.kind,G(),this.generatePropertyKey(u.key,u.computed),this.generateFunctionBody(u.value)]:u.shorthand?"AssignmentPattern"===u.value.type?this.AssignmentPattern(u.value,n.Sequence,7):this.generatePropertyKey(u.key,u.computed):u.method?[tu(u),this.generatePropertyKey(u.key,u.computed),this.generateFunctionBody(u.value)]:[this.generatePropertyKey(u.key,u.computed),":"+C,this.generateExpression(u.value,n.Assignment,7)]},ObjectExpression:function(u,e,t){var r,i,o,s,c=this;return u.properties.length?(r=u.properties.length>1,V((function(){o=c.generateExpression(u.properties[0],n.Sequence,7)})),r||(s=U(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;t<s;++t)i.push(e),i.push(c.generateExpression(u.properties[t],n.Sequence,7)),t+1<s&&i.push(","+f)})),M(U(i).toString())||i.push(f),i.push(a),i.push("}"),i):["{",C,o,C,"}"]):"{}"},AssignmentPattern:function(u,e,t){return this.generateAssignment(u.left,u.right,"=",e,t)},ObjectPattern:function(u,e,r){var i,o,s,c,l,D=this;if(!u.properties.length)return"{}";if(c=!1,1===u.properties.length)(l=u.properties[0]).type===t.Property&&l.value.type!==t.Identifier&&(c=!0);else for(o=0,s=u.properties.length;o<s;++o)if((l=u.properties[o]).type===t.Property&&!l.shorthand){c=!0;break}return i=["{",c?f:""],V((function(e){var t,r;for(t=0,r=u.properties.length;t<r;++t)i.push(c?e:""),i.push(D.generateExpression(u.properties[t],n.Sequence,7)),t+1<r&&i.push(","+(c?f:C))})),c&&!M(U(i).toString())&&i.push(f),i.push(c?a:""),i.push("}"),i},ThisExpression:function(u,e,t){return"this"},Super:function(u,e,t){return"super"},Identifier:function(u,e,t){return Q(u)},ImportDefaultSpecifier:function(u,e,t){return Q(u.id||u.local)},ImportNamespaceSpecifier:function(u,e,t){var n=["*"],r=u.id||u.local;return r&&n.push(C+"as"+G()+Q(r)),n},ImportSpecifier:function(u,e,t){var n=u.imported,r=[n.name],i=u.local;return i&&i.name!==n.name&&r.push(G()+"as"+G()+Q(i)),r},ExportSpecifier:function(u,e,t){var n=u.local,r=[n.name],i=u.exported;return i&&i.name!==n.name&&r.push(G()+"as"+G()+Q(i)),r},Literal:function(u,e,n){var r;if(u.hasOwnProperty("raw")&&B&&d.raw)try{if((r=B(u.raw).body[0].expression).type===t.Literal&&r.value===u.value)return u.raw}catch(u){}return u.regex?"/"+u.regex.pattern+"/"+u.regex.flags:null===u.value?"null":"string"==typeof u.value?function(u){var e,t,n,r,i,o="",a=0,c=0;for(e=0,t=u.length;e<t;++e){if(39===(n=u.charCodeAt(e)))++a;else if(34===n)++c;else if(47===n&&l)o+="\\";else{if(s.code.isLineTerminator(n)||92===n){o+=j(n);continue}if(!s.code.isIdentifierPartES5(n)&&(l&&n<32||!l&&!h&&(n<32||n>126))){o+=I(n,u.charCodeAt(e+1));continue}}o+=String.fromCharCode(n)}if(i=(r=!("double"===A||"auto"===A&&c<a))?"'":'"',!(r?a:c))return i+o+i;for(u=o,o=i,e=0,t=u.length;e<t;++e)(39===(n=u.charCodeAt(e))&&r||34===n&&!r)&&(o+="\\"),o+=String.fromCharCode(n);return o+i}(u.value):"number"==typeof u.value?function(u){var e,t,n,r,i;if(u!=u)throw new Error("Numeric literal whose value is NaN");if(u<0||0===u&&1/u<0)throw new Error("Numeric literal whose value is negative");if(u===1/0)return l?"null":D?"1e400":"1e+400";if(e=""+u,!D||e.length<3)return e;for(t=e.indexOf("."),l||48!==e.charCodeAt(0)||1!==t||(t=0,e=e.slice(1)),n=e,e=e.replace("e+","e"),r=0,(i=n.indexOf("e"))>0&&(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.length<e.length||p&&u>1e12&&Math.floor(u)===u&&(n="0x"+u.toString(16)).length<e.length)&&+n===u&&(e=n),e}(u.value):"boolean"==typeof u.value?u.value?"true":"false":function(u){var e,t,n,r,i,o,s,a;if(t=u.toString(),u.source){if(!(e=t.match(/\/([^/]*)$/)))return t;for(n=e[1],t="",s=!1,a=!1,r=0,i=u.source.length;r<i;++r)o=u.source.charCodeAt(r),a?(t+=R(o,a),a=!1):(s?93===o&&(s=!1):47===o?t+="\\":91===o&&(s=!0),t+=R(o,a),a=92===o);return"/"+t+"/"+n}return t}(u.value)},GeneratorExpression:function(u,e,t){return this.ComprehensionExpression(u,e,t)},ComprehensionExpression:function(u,e,r){var i,o,s,a,c=this;return i=u.type===t.GeneratorExpression?["("]:["["],d.moz.comprehensionExpressionStartsWithAssignment&&(a=this.generateExpression(u.body,n.Assignment,7),i.push(a)),u.blocks&&V((function(){for(o=0,s=u.blocks.length;o<s;++o)a=c.generateExpression(u.blocks[o],n.Sequence,7),o>0||d.moz.comprehensionExpressionStartsWithAssignment?i=z(i,a):i.push(a)})),u.filter&&(i=z(i,"if"+C),a=this.generateExpression(u.filter,n.Sequence,7),i=z(i,["(",a,")"])),d.moz.comprehensionExpressionStartsWithAssignment||(a=this.generateExpression(u.body,n.Assignment,7),i=z(i,a)),i.push(u.type===t.GeneratorExpression?")":"]"),i},ComprehensionBlock:function(u,e,r){var i;return i=z(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=z(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<o;++i)r.push(this.generateExpression(u.quasis[i],n.Primary,7)),i+1<o&&(r.push("${"+C),r.push(this.generateExpression(u.expressions[i],n.Sequence,7)),r.push(C+"}"));return r.push("`"),r},ModuleSpecifier:function(u,e,t){return this.Literal(u,e,t)},ImportExpression:function(u,e,t){return H(["import(",this.generateExpression(u.source,n.Assignment,7),")"],n.Call,e)}},O(X.prototype,X.Expression),X.prototype.generateExpression=function(u,e,r){var i,o;return o=u.type||t.Property,d.verbatim&&u.hasOwnProperty(d.verbatim)?function(u,e){var t;return U("string"==typeof(t=u[d.verbatim])?H(Z(t),n.Sequence,e):H(Z(t.content),null!=t.precedence?t.precedence:n.Sequence,e),u)}(u,e):(i=this[o](u,e,r),d.comment&&(i=K(u,i)),U(i,u))},X.prototype.generateStatement=function(u,e){var n,r;return n=this[u.type](u,e),d.comment&&(n=K(u,n)),r=U(n).toString(),u.type!==t.Program||g||""!==f||"\n"!==r.charAt(r.length-1)||(n=y?U(n).replaceRight(/\s+$/,""):r.replace(/\s+$/,"")),U(n,u)},b={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},x={indent:{style:" ",base:0,adjustMultilineComment:!1},newline:"\n",space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},e.version=_u,e.generate=function(t,n){var r,o,s={indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:"\n",space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null};return null!=n?("string"==typeof n.indent&&(s.format.indent.style=n.indent),"number"==typeof n.base&&(s.format.indent.base=n.base),n=P(s,n),c=n.format.indent.style,a="string"==typeof n.base?n.base:L(c,n.format.indent.base)):(c=(n=s).format.indent.style,a=L(c,n.format.indent.base)),l=n.format.json,D=n.format.renumber,p=!l&&n.format.hexadecimal,A=l?"double":n.format.quotes,h=n.format.escapeless,f=n.format.newline,C=n.format.space,n.format.compact&&(f=C=c=a=""),F=n.format.parentheses,E=n.format.semicolons,g=n.format.safeConcatenation,m=n.directive,B=l?null:n.parse,y=n.sourceMap,v=n.sourceCode,S=n.format.preserveBlankLines&&null!==v,d=n,y&&(i=e.browser?u.sourceMap.SourceNode:W.SourceNode),r=nu(t),y?(o=r.toStringWithSourceMap({file:n.file,sourceRoot:n.sourceMapRoot}),n.sourceContent&&o.map.setSourceContent(n.sourceMap,n.sourceContent),n.sourceMapWithCode?o:o.map.toString()):(o={code:r.toString(),map:null},n.sourceMapWithCode?o:o.code)},e.attachComments=o.attachComments,e.Precedence=P({},n),e.browser=!1,e.FORMAT_MINIFY=b,e.FORMAT_DEFAULTS=x}()}(I);var wu={name:"gaiman",version:"1.0.0-beta.3",description:"Gaiman Text based advanture games engine and programming language",main:"index.js",scripts:{build:"pegjs -o parser.js src/gaiman.pegjs"},bin:{gaiman:"bin/compile.js"},repository:{type:"git",url:"git+https://github.com/jcubic/gaiman.git"},keywords:[],author:"Jakub T. Jankiewicz <[email protected]>",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.22.6","@babel/standalone":"^7.18.5","@jcubic/lily":"^0.3.0",escodegen:"^2.0.0",terser:"^5.14.2"}};const ku=R,Lu=I,{version:Mu}=wu;function Ou(u){return ku.parse(u)}function Pu(u){return Lu.generate(u)}var Ru={generate:Pu,compile:function(u){return Pu(Ou(u))},parse:Ou,version:Mu};return Ru}));