var ObjectiveJ={};(function(global,exports){Object.create||(Object.create=function(e){if(arguments.length>1)throw new Error("Object.create implementation only accepts the first parameter.");function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(){var e=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],n=r.length;return function(s){if("object"!=typeof s&&"function"!=typeof s||null===s)throw new TypeError("Object.keys called on non-object");var i=[];for(var o in s)e.call(s,o)&&i.push(o);if(t)for(var a=0;a>>0;if(0===r)return-1;var n=0;if(arguments.length>1&&((n=Number(arguments[1]))!=n?n=0:0!==n&&n!=1/0&&n!=-1/0&&(n=(n>0||-1)*Math.floor(Math.abs(n)))),n>=r)return-1;for(var s=n>=0?n:Math.max(r-Math.abs(n),0);s>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=arguments[1],s=0;sr.length)&&(t=r.length),t-=e.length;var n=r.indexOf(e,t);return-1!==n&&n===t}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),n=r.length>>>0;if(0===n)return!1;for(var s=0|t,i=Math.max(s>=0?s:n-Math.abs(s),0);i>>0;if("function"!=typeof e)throw TypeError("predicate must be a function");for(var n=arguments[1],s=0;s=0,g=l.indexOf("0")>=0,_="";if(/[bBdiufeExXo]/.test(h)){var y=Number(arguments[c]),v="";if(y<0?v="-":l.indexOf("+")>=0?v="+":l.indexOf(" ")>=0&&(v=" "),"d"===h||"i"===h||"u"===h)_=justify(v,"",S=String(Math.abs(Math.floor(y))),"",d,m,g);if("f"==h){var S=String(null!==f?Math.abs(y).toFixed(f):Math.abs(y)),b=l.indexOf("#")>=0&&S.indexOf(".")<0?".":"";_=justify(v,"",S,b,d,m,g)}if("e"===h||"E"===h){S=String(Math.abs(y).toExponential(null!==f?f:21)),b=l.indexOf("#")>=0&&S.indexOf(".")<0?".":"";_=justify(v,"",S,b,d,m,g)}if("x"==h||"X"==h){S=String(Math.abs(y).toString(16));_=justify(v,l.indexOf("#")>=0&&0!=y?"0x":"",S,"",d,m,g)}if("b"==h||"B"==h){S=String(Math.abs(y).toString(2));_=justify(v,l.indexOf("#")>=0&&0!=y?"0b":"",S,"",d,m,g)}if("o"==h){S=String(Math.abs(y).toString(8));_=justify(v,l.indexOf("#")>=0&&0!=y?"0":"",S,"",d,m,g)}_=/[A-Z]/.test(h)?_.toUpperCase():_.toLowerCase()}else{_="";"%"===h?_="%":"c"===h?_=String(arguments[c]).charAt(0):"s"===h||"@"===h?_=String(arguments[c]):"p"!==h&&"n"!==h||(_=""),_=justify("","",_,"",d,m,!1)}n+=_}}return n},CPLogDisable=!1;for(var CPLogDefaultTitle="Cappuccino",CPLogLevels=["fatal","error","warn","info","debug","trace"],CPLogDefaultLevel=CPLogLevels[3],_CPLogLevelsInverted={},i=0;i1?exports.sprintf.apply(null,e):String(e[0]);if(_CPLogRegistrations[t])for(var s=0;s<_CPLogRegistrations[t].length;s++){var i=_CPLogRegistrations[t][s];i[0](n,t,r,i[1])}}CPLogRegister=function(e,t,r){CPLogRegisterRange(e,CPLogLevels[0],t||CPLogLevels[CPLogLevels.length-1],r)},CPLogRegisterRange=function(e,t,r,n){var s=_CPLogLevelsInverted[t],i=_CPLogLevelsInverted[r];if(s!==undefined&&i!==undefined&&s<=i)for(var o=s;o<=i;o++)CPLogRegisterSingle(e,CPLogLevels[o],n)},CPLogRegisterSingle=function(e,t,r){_CPLogRegistrations[t]||(_CPLogRegistrations[t]=[]);for(var n=0;n<_CPLogRegistrations[t].length;n++)if(_CPLogRegistrations[t][n][0]===e)return void(_CPLogRegistrations[t][n][1]=r);_CPLogRegistrations[t].push([e,r])},CPLogUnregister=function(e){for(var t in _CPLogRegistrations)for(var r=0;r<_CPLogRegistrations[t].length;r++)_CPLogRegistrations[t][r][0]===e&&_CPLogRegistrations[t].splice(r--,1)},CPLog=function(){_CPLogDispatch(arguments)};for(var i=0;i"+CPLogPopupStyle+""),t.title=CPLogDefaultTitle+" Run Log";t.getElementsByTagName("head")[0];var r=t.getElementsByTagName("body")[0],n=window.location.protocol+"//"+window.location.host+window.location.pathname;n=n.substring(0,n.lastIndexOf("/")+1);var s,i=t.createElement("div");i.setAttribute("id","header"),r.appendChild(i),(s=t.createElement("ul")).setAttribute("id","enablers"),i.appendChild(s);for(var a=0;at?e.apply(this,r):asynchronousFunctionQueue.push(function(){e.apply(this,r)})}}var NativeRequest=null;if(window.XMLHttpRequest)NativeRequest=window.XMLHttpRequest;else if(window.ActiveXObject!==undefined)for(var MSXML_XMLHTTP_OBJECTS=["Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP.6.0"],index=MSXML_XMLHTTP_OBJECTS.length;index--;)try{var MSXML_XMLHTTP=MSXML_XMLHTTP_OBJECTS[index];new ActiveXObject(MSXML_XMLHTTP),NativeRequest=function(){return new ActiveXObject(MSXML_XMLHTTP)};break}catch(e){}function dispatchTimeoutHTTPRequestEvents(e){e._eventDispatcher.dispatchEvent({type:"timeout",request:e})}function determineAndDispatchHTTPRequestEvents(e){var t=e._eventDispatcher,r=["uninitialized","loading","loaded","interactive","complete"];if(t.dispatchEvent({type:"readystatechange",request:e}),"complete"===r[e.readyState()]){var n="HTTP"+e.status();t.dispatchEvent({type:n,request:e});var s=e.success()?"success":"failure";t.dispatchEvent({type:s,request:e}),t.dispatchEvent({type:r[e.readyState()],request:e})}else t.dispatchEvent({type:r[e.readyState()],request:e})}function FileRequest(e,t,r,n){var s=new CFHTTPRequest;"plist"===e.pathExtension()&&s.overrideMimeType("text/xml");var i=0,o=null;function a(e){n(e.loaded-i),i=e.loaded}function c(e){n&&null===o&&n(e.request.responseText().length),t(e)}if(exports.asyncLoader?(s.onsuccess=Asynchronous(c),s.onfailure=Asynchronous(r)):(s.onsuccess=c,s.onfailure=r),n){var l=!0;if(document.all&&(l=!!window.atob),l)try{o=exports.asyncLoader?Asynchronous(a):a,s._nativeRequest.onprogress=o}catch(e){o=null}}s.open("GET",e.absoluteString(),exports.asyncLoader),s.send("")}CFHTTPRequest=function(){this._isOpen=!1,this._requestHeaders={},this._mimeType=null,this._eventDispatcher=new EventDispatcher(this),this._nativeRequest=new NativeRequest,this._withCredentials=!1,this._timeout=6e4;var e=this;this._stateChangeHandler=function(){determineAndDispatchHTTPRequestEvents(e)},this._timeoutHandler=function(){dispatchTimeoutHTTPRequestEvents(e)},this._nativeRequest.onreadystatechange=this._stateChangeHandler,this._nativeRequest.ontimeout=this._timeoutHandler,CFHTTPRequest.AuthenticationDelegate!==nil&&this._eventDispatcher.addEventListener("HTTP403",function(){CFHTTPRequest.AuthenticationDelegate(e)})},CFHTTPRequest.UninitializedState=0,CFHTTPRequest.LoadingState=1,CFHTTPRequest.LoadedState=2,CFHTTPRequest.InteractiveState=3,CFHTTPRequest.CompleteState=4,CFHTTPRequest.AuthenticationDelegate=nil,CFHTTPRequest.prototype.status=function(){try{return this._nativeRequest.status||0}catch(e){return 0}},CFHTTPRequest.prototype.statusText=function(){try{return this._nativeRequest.statusText||""}catch(e){return""}},CFHTTPRequest.prototype.readyState=function(){return this._nativeRequest.readyState},CFHTTPRequest.prototype.success=function(){var e=this.status();return e>=200&&e<300?YES:0===e&&this.responseText()&&this.responseText().length},CFHTTPRequest.prototype.responseXML=function(){var e=this._nativeRequest.responseXML;return e&&NativeRequest===window.XMLHttpRequest&&e.documentRoot?e:parseXML(this.responseText())},CFHTTPRequest.prototype.responsePropertyList=function(){var e=this.responseText();return CFPropertyList.sniffedFormatOfString(e)===CFPropertyList.FormatXML_v1_0?CFPropertyList.propertyListFromXML(this.responseXML()):CFPropertyList.propertyListFromString(e)},CFHTTPRequest.prototype.responseText=function(){return this._nativeRequest.responseText},CFHTTPRequest.prototype.setRequestHeader=function(e,t){this._requestHeaders[e]=t},CFHTTPRequest.prototype.getResponseHeader=function(e){return this._nativeRequest.getResponseHeader(e)},CFHTTPRequest.prototype.setTimeout=function(e){this._timeout=e,this._isOpen&&(this._nativeRequest.timeout=e)},CFHTTPRequest.prototype.getTimeout=function(e){return this._timeout},CFHTTPRequest.prototype.getAllResponseHeaders=function(){return this._nativeRequest.getAllResponseHeaders()},CFHTTPRequest.prototype.overrideMimeType=function(e){this._mimeType=e},CFHTTPRequest.prototype.open=function(e,t,r,n,s){return this._isOpen=!0,this._URL=t,this._async=r,this._method=e,this._user=n,this._password=s,requestReturnValue=this._nativeRequest.open(e,t,r,n,s),this._async&&(this._nativeRequest.withCredentials=this._withCredentials,this._nativeRequest.timeout=this._timeout),requestReturnValue},CFHTTPRequest.prototype.send=function(e){for(var t in this._isOpen||(delete this._nativeRequest.onreadystatechange,delete this._nativeRequest.ontimeout,this._nativeRequest.open(this._method,this._URL,this._async,this._user,this._password),this._nativeRequest.ontimeout=this._timeoutHandler,this._nativeRequest.onreadystatechange=this._stateChangeHandler),this._requestHeaders)this._requestHeaders.hasOwnProperty(t)&&this._nativeRequest.setRequestHeader(t,this._requestHeaders[t]);this._mimeType&&"overrideMimeType"in this._nativeRequest&&this._nativeRequest.overrideMimeType(this._mimeType),this._isOpen=!1;try{return this._nativeRequest.send(e)}catch(e){this._eventDispatcher.dispatchEvent({type:"failure",request:this})}},CFHTTPRequest.prototype.abort=function(){return this._isOpen=!1,this._nativeRequest.abort()},CFHTTPRequest.prototype.addEventListener=function(e,t){this._eventDispatcher.addEventListener(e,t)},CFHTTPRequest.prototype.removeEventListener=function(e,t){this._eventDispatcher.removeEventListener(e,t)},CFHTTPRequest.prototype.setWithCredentials=function(e){this._withCredentials=e,this._isOpen&&this._async&&(this._nativeRequest.withCredentials=e)},CFHTTPRequest.prototype.withCredentials=function(){return this._withCredentials},CFHTTPRequest.prototype.isTimeoutRequest=function(){return!(this.success()||this._nativeRequest.response||this._nativeRequest.responseText||this._nativeRequest.responseType||this._nativeRequest.responseURL||this._nativeRequest.responseXML)},exports.asyncLoader=YES,exports.Asynchronous=Asynchronous,exports.determineAndDispatchHTTPRequestEvents=determineAndDispatchHTTPRequestEvents;var OBJECT_COUNT=0;function serializePropertyList(e,t){var r=typeof e,n=e.valueOf(),s=typeof n;return r!==s&&(r=s,e=n),e===YES||e===NO?r="boolean":"number"===r?r=FLOOR(e)===e&&-1==(""+e).indexOf("e")?"integer":"real":"string"!==r&&(r=e.slice?"array":"dictionary"),t[r](e,t)}objj_generateObjectUID=function(){return OBJECT_COUNT++},CFPropertyList=function(){this._UID=objj_generateObjectUID()},CFPropertyList.DTDRE=/^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?/i,CFPropertyList.XMLRE=/^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?<\s*plist[^>]*\>/i,CFPropertyList.FormatXMLDTD='\n',CFPropertyList.Format280NorthMagicNumber="280NPLIST",CFPropertyList.FormatOpenStep=1,CFPropertyList.FormatXML_v1_0=100,CFPropertyList.FormatBinary_v1_0=200,CFPropertyList.Format280North_v1_0=-1e3,CFPropertyList.sniffedFormatOfString=function(e){return e.match(CFPropertyList.XMLRE)?CFPropertyList.FormatXML_v1_0:e.substr(0,CFPropertyList.Format280NorthMagicNumber.length)===CFPropertyList.Format280NorthMagicNumber?CFPropertyList.Format280North_v1_0:NULL},CFPropertyList.dataFromPropertyList=function(e,t){var r=new CFMutableData;return r.setRawString(CFPropertyList.stringFromPropertyList(e,t)),r},CFPropertyList.stringFromPropertyList=function(e,t){t||(t=CFPropertyList.Format280North_v1_0);var r=CFPropertyListSerializers[t];return r.start()+serializePropertyList(e,r)+r.finish()};var CFPropertyListSerializers={};CFPropertyListSerializers[CFPropertyList.FormatXML_v1_0]={start:function(){return CFPropertyList.FormatXMLDTD+''},finish:function(){return""},string:function(e){return""+encodeHTMLComponent(e)+""},boolean:function(e){return e?"":""},integer:function(e){return""+e+""},real:function(e){return""+e+""},array:function(e,t){for(var r=0,n=e.length,s="";r"},dictionary:function(e,t){for(var r=e._keys,n=0,s=r.length,i="";n"+o+"",i+=serializePropertyList(e.valueForKey(o),t)}return i+""}};var ARRAY_MARKER="A",DICTIONARY_MARKER="D",FLOAT_MARKER="f",INTEGER_MARKER="d",STRING_MARKER="S",TRUE_MARKER="T",FALSE_MARKER="F",KEY_MARKER="K",END_MARKER="E";CFPropertyListSerializers[CFPropertyList.Format280North_v1_0]={start:function(){return CFPropertyList.Format280NorthMagicNumber+";1.0;"},finish:function(){return""},string:function(e){return STRING_MARKER+";"+e.length+";"+e},boolean:function(e){return(e?TRUE_MARKER:FALSE_MARKER)+";"},integer:function(e){var t=""+e;return INTEGER_MARKER+";"+t.length+";"+t},real:function(e){var t=""+e;return FLOAT_MARKER+";"+t.length+";"+t},array:function(e,t){for(var r=0,n=e.length,s=ARRAY_MARKER+";";r/g,">")}function decodeHTMLComponent(e){return e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")}function parseXML(e){if(window.DOMParser)return(new window.DOMParser).parseFromString(e,"text/xml")&&(new window.DOMParser).parseFromString(e,"text/xml").documentElement;if(window.ActiveXObject){XMLNode=new ActiveXObject("Microsoft.XMLDOM");var t=e.match(CFPropertyList.DTDRE);return t&&(e=e.substr(t[0].length)),XMLNode.loadXML(e),XMLNode}return NULL}CFPropertyList.propertyListFromXML=function(e){var t=e;for(e.valueOf&&"string"==typeof e.valueOf()&&(t=parseXML(e));t&&(String(t.nodeName)===XML_DOCUMENT||String(t.nodeName)===XML_XML);)if((t=t.firstChild)!=NULL&&(8===t.nodeType||3===t.nodeType||7===t.nodeType))for(;(t=t.nextSibling)&&(8===t.nodeType||3===t.nodeType||7===t.nodeType););if(t&&10===t.nodeType)for(;(t=t.nextSibling)&&(8===t.nodeType||3===t.nodeType||7===t.nodeType););if(!t||String(t.nodeName)!==PLIST_PLIST)return NULL;for(var r="",n=NULL,s=NULL,i=t,o=[],a=NULL;t=_plist_traverseNextNode(t,i,o);){var c=o.length;if(c&&(a=o[c-1]),String(t.nodeName)===PLIST_KEY)for(r=t.textContent||""!==t.textContent&&textContent([t]);(t=t.nextSibling)&&(8===t.nodeType||3===t.nodeType||7===t.nodeType););switch(String(String(t.nodeName))){case PLIST_ARRAY:n=[],o.push(n);break;case PLIST_DICTIONARY:n=new CFMutableDictionary,o.push(n);break;case PLIST_NUMBER_REAL:n=parseFloat(t.textContent||""!==t.textContent&&textContent([t]));break;case PLIST_NUMBER_INTEGER:n=parseInt(t.textContent||""!==t.textContent&&textContent([t]),10);break;case PLIST_STRING:n="base64"===t.getAttribute("type")?t.firstChild?CFData.decodeBase64ToString(t.textContent||""!==t.textContent&&textContent([t])):"":decodeHTMLComponent(t.firstChild?t.textContent||""!==t.textContent&&textContent([t]):"");break;case PLIST_DATE:var l=Date.parseISO8601(t.textContent||""!==t.textContent&&textContent([t]));n=isNaN(l)?new Date:new Date(l);break;case PLIST_BOOLEAN_TRUE:n=YES;break;case PLIST_BOOLEAN_FALSE:n=NO;break;case PLIST_DATA:n=new CFMutableData;var p=t.firstChild?CFData.decodeBase64ToArray(t.textContent||""!==t.textContent&&textContent([t]),YES):[];n.setBytes(p);break;default:throw new Error("*** "+String(t.nodeName)+" tag not recognized in Plist.")}s?a&&(a.slice?a.push(n):a.setValueForKey(r,n)):s=n}return s},kCFPropertyListOpenStepFormat=CFPropertyList.FormatOpenStep,kCFPropertyListXMLFormat_v1_0=CFPropertyList.FormatXML_v1_0,kCFPropertyListBinaryFormat_v1_0=CFPropertyList.FormatBinary_v1_0,kCFPropertyList280NorthFormat_v1_0=CFPropertyList.Format280North_v1_0,CFPropertyListCreate=function(){return new CFPropertyList},CFPropertyListCreateFromXMLData=function(e){return CFPropertyList.propertyListFromData(e,CFPropertyList.FormatXML_v1_0)},CFPropertyListCreateXMLData=function(e){return CFPropertyList.dataFromPropertyList(e,CFPropertyList.FormatXML_v1_0)},CFPropertyListCreateFrom280NorthData=function(e){return CFPropertyList.propertyListFromData(e,CFPropertyList.Format280North_v1_0)},CFPropertyListCreate280NorthData=function(e){return CFPropertyList.dataFromPropertyList(e,CFPropertyList.Format280North_v1_0)},CPPropertyListCreateFromData=function(e,t){return CFPropertyList.propertyListFromData(e,t)},CPPropertyListCreateData=function(e,t){return CFPropertyList.dataFromPropertyList(e,t)},CFDictionary=function(e){this._keys=[],this._count=0,this._buckets={},this._UID=objj_generateObjectUID()};var indexOf=Array.prototype.indexOf,hasOwnProperty=Object.prototype.hasOwnProperty;function clearMutableData(e){this._rawString=NULL,this._propertyList=NULL,this._propertyListFormat=NULL,this._JSONObject=NULL,this._bytes=NULL,this._base64=NULL}CFDictionary.prototype.copy=function(){return this},CFDictionary.prototype.mutableCopy=function(){var e=new CFMutableDictionary,t=this._keys,r=this._count;e._keys=t.slice(),e._count=r;for(var n=0,s=this._buckets,i=e._buckets;n>16),s.push((65280&o)>>8),s.push(255&o)}return r>0?s.slice(0,-1*r):s},CFData.encodeBase64Array=function(e){var t=(3-e.length%3)%3,r=e.length+t,n=[];t>0&&e.push(0),t>1&&e.push(0);for(var s=0;s>18]),n.push(base64_map_to[(258048&i)>>12]),n.push(base64_map_to[(4032&i)>>6]),n.push(base64_map_to[63&i])}return t>0&&(n[n.length-1]="=",e.pop()),t>1&&(n[n.length-2]="=",e.pop()),n.join("")},CFData.decodeBase64ToString=function(e,t){return CFData.bytesToString(CFData.decodeBase64ToArray(e,t))},CFData.decodeBase64ToUtf16String=function(e,t){return CFData.bytesToUtf16String(CFData.decodeBase64ToArray(e,t))},CFData.bytesToString=function(e){return String.fromCharCode.apply(NULL,e)},CFData.stringToBytes=function(e){for(var t=[],r=0;r>8)}return CFData.encodeBase64Array(t)};var CFURLsForCachedUIDs,CFURLPartsForURLStrings,CFURLCachingEnableCount=0;function enableCFURLCaching(){1===++CFURLCachingEnableCount&&(CFURLsForCachedUIDs={},CFURLPartsForURLStrings={})}function disableCFURLCaching(){0===(CFURLCachingEnableCount=MAX(CFURLCachingEnableCount-1,0))&&(delete CFURLsForCachedUIDs,delete CFURLPartsForURLStrings)}var URL_RE=new RegExp("^(?:([^:/?#]+):)?(?:(//)((?:(([^:@]*):?([^:@]*))?@)?([^:/?#]*)(?::(\\d*))?))?([^?#]*)(?:\\?([^#]*))?(?:#(.*))?"),URI_KEYS=["url","scheme","authorityRoot","authority","userInfo","user","password","domain","portNumber","path","queryString","fragment"];function CFURLGetParts(e){if(e._parts)return e._parts;var t=e.string(),r=t.match(/^mhtml:/);if(r&&(t=t.substr(6)),CFURLCachingEnableCount>0&&hasOwnProperty.call(CFURLPartsForURLStrings,t))return e._parts=CFURLPartsForURLStrings[t],e._parts;e._parts={};for(var n=e._parts,s=URL_RE.exec(t),i=s.length;i--;)n[URI_KEYS[i]]=s[i]||NULL;if(n.portNumber=parseInt(n.portNumber,10),isNaN(n.portNumber)&&(n.portNumber=-1),n.pathComponents=[],n.path){var o=n.path.split("/"),a=n.pathComponents,c=o.length;for(i=0;i0&&(CFURLPartsForURLStrings[t]=n),n}CFURL=function(e,t){if((e=e||"")instanceof CFURL){if(!t)return new CFURL(e.absoluteString());var r=e.baseURL();r&&(t=new CFURL(r.absoluteURL(),t)),e=e.string()}if(CFURLCachingEnableCount>0){var n=e+" "+(t&&t.UID()||"");if(hasOwnProperty.call(CFURLsForCachedUIDs,n))return CFURLsForCachedUIDs[n];CFURLsForCachedUIDs[n]=this}if(e.match(/^data:/)){for(var s={},i=URI_KEYS.length;i--;)s[URI_KEYS[i]]="";s.url=e,s.scheme="data",s.pathComponents=[],this._parts=s,this._standardizedURL=this,this._absoluteURL=this}this._UID=objj_generateObjectUID(),this._string=e,this._baseURL=t},CFURL.prototype.UID=function(){return this._UID};var URLMap={};function resolveURL(e){var t=(e=e.standardizedURL()).baseURL();if(!t)return e;var r,n=e._parts||CFURLGetParts(e),s=t.absoluteURL(),i=s._parts||CFURLGetParts(s);if(!n.scheme&&n.authorityRoot)(r=CFURLPartsCreateCopy(n)).scheme=t.scheme();else if(n.scheme||n.authority)r=n;else{(r={}).scheme=i.scheme,r.authority=i.authority,r.userInfo=i.userInfo,r.user=i.user,r.password=i.password,r.domain=i.domain,r.portNumber=i.portNumber,r.queryString=n.queryString,r.fragment=n.fragment;var o=n.pathComponents;if(o.length&&"/"===o[0])r.path=n.path,r.pathComponents=o;else{var a=i.pathComponents,c=a.concat(o);!t.hasDirectoryPath()&&a.length&&c.splice(a.length-1,1),!o.length||".."!==o[0]&&"."!==o[0]||standardizePathComponents(c,YES),r.pathComponents=c,r.path=pathFromPathComponents(c,o.length<=0||e.hasDirectoryPath())}}var l=URLStringFromParts(r),p=new CFURL(l);return p._parts=r,p._standardizedURL=p,p._standardizedString=l,p._absoluteURL=p,p._absoluteString=l,p}function pathFromPathComponents(e,t){var r=e.join("/");return r.length&&"/"===r.charAt(0)&&(r=r.substr(1)),t&&(r+="/"),r}function standardizePathComponents(e,t){for(var r=0,n=0,s=e.length,i=t?e:[],o=NO;r0&&"/"!==i[n-1]&&--n:(i[n]=a,n++):o=0===n)}return o&&0===n&&(i[n++]="."),i.length=n,i}function URLStringFromParts(e){var t="",r=e.scheme;r&&(t+=r+":");var n=e.authority;n&&(t+="//"+n),t+=e.path;var s=e.queryString;s&&(t+="?"+s);var i=e.fragment;return i&&(t+="#"+i),t}function CFURLPartsCreateCopy(e){for(var t={},r=URI_KEYS.length;r--;){var n=URI_KEYS[r];t[n]=e[n]}return t}function CFURLGetResourcePropertiesForKeys(e){return e._resourcePropertiesForKeys||(e._resourcePropertiesForKeys=new CFMutableDictionary),e._resourcePropertiesForKeys}function MarkedStream(e){this._string=e;var t=e.indexOf(";");this._magicNumber=e.substr(0,t),this._location=e.indexOf(";",++t),this._version=e.substring(t,this._location++)}CFURL.prototype.mappedURL=function(){return URLMap[this.absoluteString()]||this},CFURL.setMappedURLForURL=function(e,t){URLMap[e.absoluteString()]=t},CFURL.prototype.schemeAndAuthority=function(){var e="",t=this.scheme();t&&(e+=t+":");var r=this.authority();return r&&(e+="//"+r),e},CFURL.prototype.absoluteString=function(){return this._absoluteString===undefined&&(this._absoluteString=this.absoluteURL().string()),this._absoluteString},CFURL.prototype.toString=function(){return this.absoluteString()},CFURL.prototype.absoluteURL=function(){return this._absoluteURL===undefined&&(this._absoluteURL=resolveURL(this)),this._absoluteURL},CFURL.prototype.standardizedURL=function(){if(this._standardizedURL===undefined){var e=this._parts||CFURLGetParts(this),t=standardizePathComponents(e.pathComponents,NO),r=pathFromPathComponents(t,this.hasDirectoryPath());if(e.path===r)this._standardizedURL=this;else{var n=CFURLPartsCreateCopy(e);n.pathComponents=t,n.path=r;var s=new CFURL(URLStringFromParts(n),this.baseURL());s._parts=n,s._standardizedURL=s,this._standardizedURL=s}}return this._standardizedURL},CFURL.prototype.string=function(){return this._string},CFURL.prototype.authority=function(){var e=(this._parts||CFURLGetParts(this)).authority;if(e)return e;var t=this.baseURL();return t&&t.authority()||""},CFURL.prototype.hasDirectoryPath=function(){var e=this._hasDirectoryPath;if(e===undefined){var t=this.path();if(!t)return NO;if("/"===t.charAt(t.length-1))return YES;var r=this.lastPathComponent();e="."===r||".."===r,this._hasDirectoryPath=e}return e},CFURL.prototype.hostName=function(){return this.authority()},CFURL.prototype.fragment=function(){return(this._parts||CFURLGetParts(this)).fragment},CFURL.prototype.lastPathComponent=function(){if(this._lastPathComponent===undefined){var e=this.pathComponents(),t=e.length;this._lastPathComponent=t?e[t-1]:""}return this._lastPathComponent},CFURL.prototype.path=function(){return(this._parts||CFURLGetParts(this)).path},CFURL.prototype.createCopyDeletingLastPathComponent=function(){var e=this._parts||CFURLGetParts(this),t=standardizePathComponents(e.pathComponents,NO);t.length>0&&(t.length>1||"/"!==t[0])&&t.pop();var r=1===t.length&&"/"===t[0];return e.pathComponents=t,e.path=r?"/":pathFromPathComponents(t,NO),new CFURL(URLStringFromParts(e))},CFURL.prototype.pathComponents=function(){return(this._parts||CFURLGetParts(this)).pathComponents},CFURL.prototype.pathExtension=function(){var e=this.lastPathComponent();if(!e)return NULL;var t=(e=e.replace(/^\.*/,"")).lastIndexOf(".");return t<=0?"":e.substring(t+1)},CFURL.prototype.queryString=function(){return(this._parts||CFURLGetParts(this)).queryString},CFURL.prototype.scheme=function(){var e=this._scheme;if(e===undefined){if(!(e=(this._parts||CFURLGetParts(this)).scheme)){var t=this.baseURL();e=t&&t.scheme()}this._scheme=e}return e},CFURL.prototype.user=function(){return(this._parts||CFURLGetParts(this)).user},CFURL.prototype.password=function(){return(this._parts||CFURLGetParts(this)).password},CFURL.prototype.portNumber=function(){return(this._parts||CFURLGetParts(this)).portNumber},CFURL.prototype.domain=function(){return(this._parts||CFURLGetParts(this)).domain},CFURL.prototype.baseURL=function(){return this._baseURL},CFURL.prototype.asDirectoryPathURL=function(){if(this.hasDirectoryPath())return this;var e=this.lastPathComponent();return"/"!==e&&(e="./"+e),new CFURL(e+"/",this)},CFURL.prototype.resourcePropertyForKey=function(e){return CFURLGetResourcePropertiesForKeys(this).valueForKey(e)},CFURL.prototype.setResourcePropertyForKey=function(e,t){CFURLGetResourcePropertiesForKeys(this).setValueForKey(e,t)},CFURL.prototype.staticResourceData=function(){var e=new CFMutableData;return e.setRawString(StaticResource.resourceAtURL(this).contents()),e},MarkedStream.prototype.magicNumber=function(){return this._magicNumber},MarkedStream.prototype.version=function(){return this._version},MarkedStream.prototype.getMarker=function(){var e=this._string,t=this._location;if(t>=e.length)return null;var r=e.indexOf(";",t);if(r<0)return null;var n=e.substring(t,r);return"e"===n?null:(this._location=r+1,n)},MarkedStream.prototype.getString=function(){var e=this._string,t=this._location;if(t>=e.length)return null;var r=e.indexOf(";",t);if(r<0)return null;var n=parseInt(e.substring(t,r),10),s=e.substr(r+1,n);return this._location=r+1+n,s};var CFBundleUnloaded=0,CFBundleLoading=1,CFBundleLoadingInfoPlist=2,CFBundleLoadingExecutable=4,CFBundleLoadingSpritedImages=8,CFBundleLoadingLocalizableStrings=16,CFBundleLoaded=32,CFBundlesForURLStrings={},CFBundlesForClasses={},CFBundlesWithIdentifiers={},CFCacheBuster=(new Date).getTime(),CFTotalBytesLoaded=0,CPApplicationSizeInBytes=0,CPBundleDefaultBrowserLanguage="CPBundleDefaultBrowserLanguage",CPBundleDefaultLanguage="CPBundleDefaultLanguage";function addClassToBundle(e,t){t&&(CFBundlesForClasses[e.name]=t)}function resetBundle(){CFBundlesForURLStrings={},CFBundlesForClasses={},CFBundlesWithIdentifiers={},CFTotalBytesLoaded=0,CPApplicationSizeInBytes=0}function finishBundleLoadingWithError(e,t){resolveStaticResource(e._staticResource),e._eventDispatcher.dispatchEvent({type:"error",error:t,bundle:e})}function loadExecutableAndResources(e,t){if(!e.mostEligibleEnvironment())return r();if(loadExecutableForBundle(e,s,r,n),loadSpritedImagesForBundle(e,s,r,n),loadLocalizableStringsForBundle(e,s,r,n),e._loadStatus===CFBundleLoading)return s();function r(t){for(var r=e._loadRequests,n=r.length;n--;)r[n].abort();this._loadRequests=[],e._loadStatus=CFBundleUnloaded,finishBundleLoadingWithError(e,t||new Error("Could not recognize executable code format in Bundle "+e))}function n(t){if(!("undefined"!=typeof CPApp&&CPApp&&CPApp._finishedLaunching||"function"!=typeof OBJJ_PROGRESS_CALLBACK)){CFTotalBytesLoaded+=t;var r=CPApplicationSizeInBytes?MAX(MIN(1,CFTotalBytesLoaded/CPApplicationSizeInBytes),0):0;OBJJ_PROGRESS_CALLBACK(r,CPApplicationSizeInBytes,e.bundlePath())}}function s(){function r(){e._eventDispatcher.dispatchEvent({type:"load",bundle:e})}e._loadStatus===CFBundleLoading&&(e._loadStatus=CFBundleLoaded,resolveStaticResource(e._staticResource),t?executeBundle(e,r):r())}}function loadExecutableForBundle(e,t,r,n){var s=e.executableURL();s&&(e._loadStatus|=CFBundleLoadingExecutable,new FileRequest(s,function(n){try{decompileStaticFile(e,n.request.responseText(),s),e._loadStatus&=~CFBundleLoadingExecutable,t()}catch(e){r(e)}},r,n))}function spritedImagesTestURLStringForBundle(e){return"mhtml:"+new CFURL("MHTMLTest.txt",e.mostEligibleEnvironmentURL())}function spritedImagesURLForBundle(e){return CFBundleSupportedSpriteType===CFBundleDataURLSpriteType?new CFURL("dataURLs.txt",e.mostEligibleEnvironmentURL()):CFBundleSupportedSpriteType===CFBundleMHTMLSpriteType||CFBundleSupportedSpriteType===CFBundleMHTMLUncachedSpriteType?new CFURL("MHTMLPaths.txt",e.mostEligibleEnvironmentURL()):NULL}function loadSpritedImagesForBundle(e,t,r,n){if(e.hasSpritedImages()){if(e._loadStatus|=CFBundleLoadingSpritedImages,!CFBundleHasTestedSpriteSupport())return CFBundleTestSpriteSupport(spritedImagesTestURLStringForBundle(e),function(){loadSpritedImagesForBundle(e,t,r,n)});var s=spritedImagesURLForBundle(e);if(!s)return e._loadStatus&=~CFBundleLoadingSpritedImages,t();new FileRequest(s,function(n){try{decompileStaticFile(e,n.request.responseText(),s),e._loadStatus&=~CFBundleLoadingSpritedImages,t()}catch(e){r(e)}},r,n)}}function loadLocalizableStringsForBundle(e,t,r,n){var s=e._loadedLanguage;if(s){var i=e.valueForInfoDictionaryKey("CPBundleLocalizableStrings");if(i)for(var o=e,a=i.length,c=new CFURL(s+".lproj/",o.resourcesDirectoryURL()),l=0,p=0;p1||(CFBundleSpriteSupportListeners.push(function(){var e=0,t=CFBundle.mainBundle().valueForInfoDictionaryKey("CPApplicationSize");if(t){switch(CFBundleSupportedSpriteType){case CFBundleDataURLSpriteType:e=t.valueForKey("data");break;case CFBundleMHTMLSpriteType:case CFBundleMHTMLUncachedSpriteType:e=t.valueForKey("mhtml")}CPApplicationSizeInBytes+=e}}),CFBundleTestSpriteTypes([CFBundleDataURLSpriteType,"data:image/gif;base64,R0lGODlhAQABAIAAAMc9BQAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",CFBundleMHTMLSpriteType,e+"!test",CFBundleMHTMLUncachedSpriteType,e+"?"+CFCacheBuster+"!test"])))}function CFBundleNotifySpriteSupportListeners(){for(var e=CFBundleSpriteSupportListeners.length;e--;)CFBundleSpriteSupportListeners[e]()}function CFBundleTestSpriteTypes(e){if(!("Image"in global)||e.length<2)return CFBundleSupportedSpriteType=CFBundleNoSpriteType,void CFBundleNotifySpriteSupportListeners();var t=new Image;t.onload=function(){1===t.width&&1===t.height?(CFBundleSupportedSpriteType=e[0],CFBundleNotifySpriteSupportListeners()):t.onerror()},t.onerror=function(){CFBundleTestSpriteTypes(e.slice(2))},t.src=e[1]}function executeBundle(e,t){var r=[e._staticResource];!function n(s){for(;s";var t=this.name();if(this.isDirectory()){var r=this._children;for(var n in r)if(r.hasOwnProperty(n)){var s=r[n];!e&&s.isNotFound()||(t+="\n\t"+r[n].toString(e).split("\n").join("\n\t"))}}return t};var includeURLs=NULL;StaticResource.includeURLs=function(){if(includeURLs!==NULL)return includeURLs;includeURLs=[];for(var e=(includeURLs=global.OBJJ_INCLUDE_PATHS||global.OBJJ_INCLUDE_URLS?(global.OBJJ_INCLUDE_PATHS||[]).concat(global.OBJJ_INCLUDE_URLS||[]):["Frameworks","Frameworks/Debug"]).length;e--;)includeURLs[e]=new CFURL(includeURLs[e]).asDirectoryPathURL();return includeURLs};var TOKEN_ACCESSORS="accessors",TOKEN_CLASS="class",TOKEN_END="end",TOKEN_FUNCTION="function",TOKEN_IMPLEMENTATION="implementation",TOKEN_IMPORT="import",TOKEN_EACH="each",TOKEN_OUTLET="outlet",TOKEN_ACTION="action",TOKEN_NEW="new",TOKEN_SELECTOR="selector",TOKEN_SUPER="super",TOKEN_VAR="var",TOKEN_IN="in",TOKEN_PRAGMA="pragma",TOKEN_MARK="mark",TOKEN_EQUAL="=",TOKEN_PLUS="+",TOKEN_MINUS="-",TOKEN_COLON=":",TOKEN_COMMA=",",TOKEN_PERIOD=".",TOKEN_ASTERISK="*",TOKEN_SEMICOLON=";",TOKEN_LESS_THAN="<",TOKEN_OPEN_BRACE="{",TOKEN_CLOSE_BRACE="}",TOKEN_GREATER_THAN=">",TOKEN_OPEN_BRACKET="[",TOKEN_DOUBLE_QUOTE='"',TOKEN_PREPROCESSOR="@",TOKEN_HASH="#",TOKEN_CLOSE_BRACKET="]",TOKEN_QUESTION_MARK="?",TOKEN_OPEN_PARENTHESIS="(",TOKEN_CLOSE_PARENTHESIS=")",TOKEN_WHITESPACE=/^(?:(?:\s+$)|(?:\/(?:\/|\*)))/,TOKEN_NUMBER=/^[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?$/,TOKEN_IDENTIFIER=/^[a-zA-Z_$](\w|$)*$/;function Lexer(e){return this._index=-1,this._tokens=(e+"\n").match(/\/\/.*(\r|\n)?|\/\*(?:.|\n|\r)*?\*\/|\w+\b|[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?|"[^"\\]*(\\[\s\S][^"\\]*)*"|'[^'\\]*(\\[\s\S][^'\\]*)*'|\s+|./g),this._context=[],this}function StringBuffer(){this.atoms=[]}Lexer.prototype.push=function(){this._context.push(this._index)},Lexer.prototype.pop=function(){this._index=this._context.pop()},Lexer.prototype.peek=function(e){if(e){this.push();var t=this.skip_whitespace();return this.pop(),t}return this._tokens[this._index+1]},Lexer.prototype.next=function(){return this._tokens[++this._index]},Lexer.prototype.previous=function(){return this._tokens[--this._index]},Lexer.prototype.last=function(){return this._index<0?NULL:this._tokens[this._index-1]},Lexer.prototype.skip_whitespace=function(e){var t;if(e)for(;(t=this.previous())&&TOKEN_WHITESPACE.test(t););else for(;(t=this.next())&&TOKEN_WHITESPACE.test(t););return t},exports.Lexer=Lexer,StringBuffer.prototype.toString=function(){return this.atoms.join("")},exports.preprocess=function(e,t,r){return new Preprocessor(e,t,r).executable()},exports.eval=function(aString){return eval(exports.preprocess(aString).code())};var Preprocessor=function(e,t,r){this._URL=new CFURL(t),e=e.replace(/^#[^\n]+\n/,"\n"),this._currentSelector="",this._currentClass="",this._currentSuperClass="",this._currentSuperMetaClass="",this._buffer=new StringBuffer,this._preprocessed=NULL,this._dependencies=[],this._tokens=new Lexer(e),this._flags=r,this._classMethod=!1,this._executable=NULL,this._classLookupTable={},this._classVars={};var n=new objj_class;for(var s in n)this._classVars[s]=1;this.preprocess(this._tokens,this._buffer)},root,factory;function FileDependency(e,t){this._URL=e,this._isLocal=t}Preprocessor.prototype.setClassInfo=function(e,t,r){this._classLookupTable[e]={superClassName:t,ivars:r}},Preprocessor.prototype.getClassInfo=function(e){return this._classLookupTable[e]},Preprocessor.prototype.allIvarNamesForClassName=function(e){for(var t={},r=this.getClassInfo(e);r;){for(var n in r.ivars)t[n]=1;r=this.getClassInfo(r.superClassName)}return t},exports.Preprocessor=Preprocessor,Preprocessor.Flags={},Preprocessor.Flags.IncludeDebugSymbols=1,Preprocessor.Flags.IncludeTypeSignatures=2,Preprocessor.prototype.executable=function(){return this._executable||(this._executable=new Executable(this._buffer.toString(),this._dependencies,this._URL)),this._executable},Preprocessor.prototype.accessors=function(e){var t=e.skip_whitespace(),r={};if(t!=TOKEN_OPEN_PARENTHESIS)return e.previous(),r;for(;(t=e.skip_whitespace())!=TOKEN_CLOSE_PARENTHESIS;){var n=t,s=!0;if(!/^\w+$/.test(n))throw new SyntaxError(this.error_message("*** @accessors attribute name not valid."));if((t=e.skip_whitespace())==TOKEN_EQUAL){if(s=e.skip_whitespace(),!/^\w+$/.test(s))throw new SyntaxError(this.error_message("*** @accessors attribute value not valid."));if("setter"==n){if((t=e.next())!=TOKEN_COLON)throw new SyntaxError(this.error_message('*** @accessors setter attribute requires argument with ":" at end of selector name.'));s+=":"}t=e.skip_whitespace()}if(r[n]=s,t==TOKEN_CLOSE_PARENTHESIS)break;if(t!=TOKEN_COMMA)throw new SyntaxError(this.error_message("*** Expected ',' or ')' in @accessors attribute list."))}return r},Preprocessor.prototype.brackets=function(e,t){for(var r=[];this.preprocess(e,NULL,NULL,NULL,r[r.length]=[]););if(1===r[0].length)t.atoms[t.atoms.length]="[",t.atoms[t.atoms.length]=r[0][0],t.atoms[t.atoms.length]="]";else{var n=new StringBuffer;r[0][0].atoms[0]==TOKEN_SUPER?(t.atoms[t.atoms.length]="objj_msgSendSuper(",t.atoms[t.atoms.length]="{ receiver:self, super_class:"+(this._classMethod?this._currentSuperMetaClass:this._currentSuperClass)+" }"):(t.atoms[t.atoms.length]="objj_msgSend(",t.atoms[t.atoms.length]=r[0][0]),n.atoms[n.atoms.length]=r[0][1];for(var s=1,i=r.length,o=new StringBuffer;s"},root=this,factory=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={exports:{},id:n,loaded:!1};return e[n].call(s.exports,s,s.exports,r),s.loaded=!0,s.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){t.SourceMapGenerator=r(1).SourceMapGenerator,t.SourceMapConsumer=r(7).SourceMapConsumer,t.SourceNode=r(10).SourceNode},function(e,t,r){var n=r(2),s=r(4),i=r(5).ArraySet,o=r(6).MappingList;function a(e){e||(e={}),this._file=s.getArg(e,"file",null),this._sourceRoot=s.getArg(e,"sourceRoot",null),this._skipValidation=s.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new o,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e){var t=e.sourceRoot,r=new a({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=s.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)}),e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&r.setSourceContent(t,n)}),r},a.prototype.addMapping=function(e){var t=s.getArg(e,"generated"),r=s.getArg(e,"original",null),n=s.getArg(e,"source",null),i=s.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,i),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:i})},a.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=s.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[s.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[s.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var o=this._sourceRoot;null!=o&&(n=s.relative(o,n));var a=new i,c=new i;this._mappings.unsortedForEach(function(t){if(t.source===n&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=r&&(t.source=s.join(r,t.source)),null!=o&&(t.source=s.relative(o,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var l=t.source;null==l||a.has(l)||a.add(l);var p=t.name;null==p||c.has(p)||c.add(p)},this),this._sources=a,this._names=c,e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=s.join(r,t)),null!=o&&(t=s.relative(o,t)),this.setSourceContent(t,n))},this)},a.prototype._validateMapping=function(e,t,r,n){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},a.prototype._serializeMappings=function(){for(var e,t,r,i,o=0,a=1,c=0,l=0,p=0,u=0,h="",d=this._mappings.toArray(),f=0,m=d.length;f0){if(!s.compareByGeneratedPositionsInflated(t,d[f-1]))continue;e+=","}e+=n.encode(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=n.encode(i-u),u=i,e+=n.encode(t.originalLine-1-l),l=t.originalLine-1,e+=n.encode(t.originalColumn-c),c=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-p),p=r)),h+=e}return h},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=s.relative(t,e));var r=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=a},function(e,t,r){var n=r(3);t.encode=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=n.encode(t)}while(s>0);return r},t.decode=function(e,t,r){var s,i,o,a,c=e.length,l=0,p=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&i),l+=(i&=31)<>1,1&~o?a:-a),r.rest=t}},function(e,t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e=0;p--)"."===(o=c[p])?c.splice(p,1):".."===o?l++:l>0&&(""===o?(c.splice(p+1,l),l=0):(c.splice(p,2),l--));return""===(r=c.join("/"))&&(r=a?"/":"."),n?(n.path=r,i(n)):r}t.urlParse=s,t.urlGenerate=i,t.normalize=o,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var r=s(t),a=s(e);if(a&&(e=a.path||"/"),r&&!r.scheme)return a&&(r.scheme=a.scheme),i(r);if(r||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var c="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,i(a)):c},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(r)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if((e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,t){return e===t?0:e>t?1:-1}t.toSetString=a?c:function(e){return l(e)?"$"+e:e},t.fromSetString=a?c:function(e){return l(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=e.source-t.source;return 0!==n||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)||r||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=e.generatedLine-t.generatedLine)?n:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||r||0!==(n=e.source-t.source)||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)}},function(e,t,r){var n=r(4),s=Object.prototype.hasOwnProperty;function i(){this._array=[],this._set=Object.create(null)}i.fromArray=function(e,t){for(var r=new i,n=0,s=e.length;n=0&&es||i==s&&a>=o||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},s.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=s},function(e,t,r){var n=r(4),s=r(8),i=r(5).ArraySet,o=r(2),a=r(9).quickSort;function c(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new u(t):new l(t)}function l(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=n.getArg(t,"version"),s=n.getArg(t,"sources"),o=n.getArg(t,"names",[]),a=n.getArg(t,"sourceRoot",null),c=n.getArg(t,"sourcesContent",null),l=n.getArg(t,"mappings"),p=n.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);s=s.map(String).map(n.normalize).map(function(e){return a&&n.isAbsolute(a)&&n.isAbsolute(e)?n.relative(a,e):e}),this._names=i.fromArray(o.map(String),!0),this._sources=i.fromArray(s,!0),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this.file=p}function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function u(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=n.getArg(t,"version"),s=n.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new i,this._names=new i;var o={line:-1,column:0};this._sections=s.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=n.getArg(e,"offset"),r=n.getArg(t,"line"),s=n.getArg(t,"column");if(r=0){var a=this._originalMappings[o];if(e.column===undefined)for(var c=a.originalLine;a&&a.originalLine===c;)i.push({line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o];else for(var l=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==l;)i.push({line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o]}return i},t.SourceMapConsumer=c,l.prototype=Object.create(c.prototype),l.prototype.consumer=c,l.fromSourceMap=function(e){var t=Object.create(l.prototype),r=t._names=i.fromArray(e._names.toArray(),!0),s=t._sources=i.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var o=e._mappings.toArray().slice(),c=t.__generatedMappings=[],u=t.__originalMappings=[],h=0,d=o.length;h1&&(r.source=m+i[1],m+=i[1],r.originalLine=d+i[2],d=r.originalLine,r.originalLine+=1,r.originalColumn=f+i[3],f=r.originalColumn,i.length>4&&(r.name=g+i[4],g+=i[4])),E.push(r),"number"==typeof r.originalLine&&b.push(r)}a(E,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,a(b,n.compareByOriginalPositions),this.__originalMappings=b},l.prototype._findMapping=function(e,t,r,n,i,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return s.search(e,t,i,o)},l.prototype.computeColumnSpans=function(){for(var e=0;e=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var i=n.getArg(s,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=n.join(this.sourceRoot,i)));var o=n.getArg(s,"name",null);return null!==o&&(o=this._names.at(o)),{source:i,line:n.getArg(s,"originalLine",null),column:n.getArg(s,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},l.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=n.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=n.urlParse(this.sourceRoot))){var s=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(e){var t=n.getArg(e,"source");if(null!=this.sourceRoot&&(t=n.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var r={source:t=this._sources.indexOf(t),originalLine:n.getArg(e,"line"),originalColumn:n.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===r.source)return{line:n.getArg(i,"generatedLine",null),column:n.getArg(i,"generatedColumn",null),lastColumn:n.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=l,u.prototype=Object.create(c.prototype),u.prototype.constructor=c,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var e=[],t=0;t0?n-c>1?r(c,n,s,i,o,a):a==t.LEAST_UPPER_BOUND?n1?r(e,c,s,i,o,a):a==t.LEAST_UPPER_BOUND?c:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,s,i){if(0===n.length)return-1;var o=r(-1,n.length,e,n,s,i||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===s(n[o],n[o-1],!0);)--o;return o}},function(e,t){function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t,s,i){if(s0&&(u&&h(u,c()),n.add(o.join(""))),t.sources.forEach(function(e){var i=t.sourceContentFor(e);null!=i&&(null!=r&&(e=s.join(r,e)),n.setSourceContent(e,i))}),n;function h(e,t){if(null===e||e.source===undefined)n.add(t);else{var i=r?s.join(r,e.source):e.source;n.add(new a(e.originalLine,e.originalColumn,i,t,e.name))}}},a.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[o]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},a.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[o]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},a.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r0){for(t=[],r=0;r=n&&s(c,t))throw new r(t,o);i[c](t,o,e)}}(e,a)}catch(e){if(e instanceof r)return e;throw e}},e.findNodeAround=function(e,n,s,i,a){s=t(s),i||(i=o);try{!function e(t,o,a){var c=a||t.type;if(!(t.start>n||t.end=s)&&a[l](t,o,e),(null==n||t.start===n)&&(null==s||t.end===s)&&i(l,t))throw new r(t,o)}(e,c)}catch(e){if(e instanceof r)return e;throw e}},e.findNodeBefore=function(e,n,s,i,a){var c;return s=t(s),i||(i=o),function e(t,o,a){if(!(t.start>n)){var l=a||t.type;t.end<=n&&(!c||c.node.ende)return!1;if((r+=t[n+1])>=e)return!0}}function u(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&p(e,r)))}function h(e,n){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==n&&(p(e,r)||p(e,t)))))}var d=Object.prototype,f=d.hasOwnProperty,m=d.toString,g=Object.hasOwn||function(e,t){return f.call(e,t)},_=Array.isArray||function(e){return"[object Array]"===m.call(e)};function y(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function v(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var S=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,b=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null,this.preprocess=!!t.preprocess};function E(e,t){return new b(e,{beforeExpr:!0,binop:t,preprocess:!0})}var C={beforeExpr:!0},L={startsExpr:!0},x={};function R(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new b(e,t)}var F={num:new b("num",L),regexp:new b("regexp",L),string:new b("string",L),name:new b("name",L),privateId:new b("privateId",L),eof:new b("eof"),eol:new b("eol"),bracketL:new b("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new b("]"),braceL:new b("{",{beforeExpr:!0,startsExpr:!0}),braceR:new b("}"),parenL:new b("(",{beforeExpr:!0,startsExpr:!0}),parenR:new b(")"),comma:new b(",",C),semi:new b(";",C),colon:new b(":",C),dot:new b("."),question:new b("?",C),questionDot:new b("?."),arrow:new b("=>",C),template:new b("template"),invalidTemplate:new b("invalidTemplate"),ellipsis:new b("...",C),backQuote:new b("`",L),dollarBraceL:new b("${",{beforeExpr:!0,startsExpr:!0}),eq:new b("=",{beforeExpr:!0,isAssign:!0}),assign:new b("_=",{beforeExpr:!0,isAssign:!0}),incDec:new b("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new b("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0,preprocess:!0}),logicalOR:E("||",1),logicalAND:E("&&",2),bitwiseOR:E("|",3),bitwiseXOR:E("^",4),bitwiseAND:E("&",5),equality:E("==/!=/===/!==",6),relational:E("/<=/>=",7),bitShift:E("<>/>>>",8),plusMin:new b("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0,preprocess:!0}),modulo:E("%",10),star:E("*",10),slash:E("/",10),starstar:new b("**",{beforeExpr:!0}),coalesce:E("??",1),_break:R("break"),_case:R("case",C),_catch:R("catch"),_continue:R("continue"),_debugger:R("debugger"),_default:R("default",C),_do:R("do",{isLoop:!0,beforeExpr:!0}),_else:R("else",C),_finally:R("finally"),_for:R("for",{isLoop:!0}),_function:R("function",L),_if:R("if"),_return:R("return",C),_switch:R("switch"),_throw:R("throw",C),_try:R("try"),_var:R("var"),_const:R("const"),_while:R("while",{isLoop:!0}),_with:R("with"),_new:R("new",{beforeExpr:!0,startsExpr:!0}),_this:R("this",L),_super:R("super",L),_class:R("class",L),_extends:R("extends",C),_export:R("export"),_import:R("import",L),_null:R("null",L),_true:R("true",L),_false:R("false",L),_in:R("in",{beforeExpr:!0,binop:7}),_instanceof:R("instanceof",{beforeExpr:!0,binop:7}),_typeof:R("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:R("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:R("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w={};function T(e,t){return void 0===t&&(t={}),t.keyword=e,w[e]=new b(e,t)}var P={_preDefine:T("define"),_preUndef:T("undef"),_preIfdef:T("ifdef"),_preIfndef:T("ifndef"),_preIf:T("if"),_preElse:T("else"),_preEndif:T("endif"),_preElseIf:T("elif"),_preElseIfTrue:new b("elif (True)"),_preElseIfFalse:new b("elif (false)"),_prePragma:T("pragma"),_preDefined:T("defined"),_preBackslash:new b("\\"),_preError:T("error"),_preWarning:T("warning"),_preprocessParamItem:new b("preprocessParamItem",{type:"preprocessParamItem"}),_preprocessSkipLine:new b("skipLine",{type:"skipLine"}),_preInclude:T("include")},k=y(Object.keys(w).join(" ")),I={};function A(e,t){return void 0===t&&(t={}),t.keyword=e,I[e]=new b(e,t)}var N={_filename:new b("filename"),_action:A("IBAction"),_outlet:A("IBOutlet"),_unsigned:A("unsigned"),_signed:A("signed"),_byte:A("byte"),_char:A("char"),_short:A("short"),_int:A("int"),_long:A("long"),_id:A("id"),_float:A("float"),_boolean:A("BOOL"),_SEL:A("SEL"),_double:A("double")},O={};function j(e,t){return void 0===t&&(t={}),t.keyword=e,O[e]=new b(e,t)}var M={_implementation:j("implementation"),_outlet:j("outlet"),_accessors:j("accessors"),_end:j("end"),_import:j("import"),_action:j("action"),_selector:j("selector"),_class:j("class"),_global:j("global"),_ref:j("ref"),_deref:j("deref"),_protocol:j("protocol"),_optional:j("optional"),_required:j("required"),_interface:j("interface"),_typedef:j("typedef"),_dictionaryLiteral:A("{"),_arrayLiteral:A("[")},D=/\r\n?|\n|\u2028|\u2029/,U=new RegExp(D.source,"g");function B(e){return 10===e||13===e||8232===e||8233===e}function V(e,t,r){void 0===r&&(r=e.length);for(var n=t;n=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),null==e.allowHashBang&&(t.allowHashBang=t.allowHashBang||t.ecmaVersion>=14),_(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}return _(t.onComment)&&(t.onComment=function(e,t){return function(r,n,s,i,o,a){var c={type:r?"Block":"Line",value:n,start:s,end:i};e.locations&&(c.loc=new G(this,o,a)),e.ranges&&(c.range=[s,i]),t.push(c)}}(t,t.onComment)),t}var X=256;function Q(e,t){return 2|(e?4:0)|(t?8:0)}var $=function(e,t,r,n,s,i,o,a,c){this.identifier=e,null!=t&&(this.macro=t),r&&(this.parameters=r),null!=n&&(this.start=n),s&&(this.isArgument=!0),i&&(this.parameterScope=i),o&&(this.variadicName=o),a&&(this.locationOffset=a),c&&(this.sourceFile=c)};$.prototype.isParameterFunction=function(){return this.isParameterFunctionVar||(this.isParameterFunctionVar=y((this.parameters||[]).join(" ")))};var Z=function(e,t,r){this.options=e=Y(e),this.sourceFile=e.sourceFile,this.keywords=y(o[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";!0!==e.allowReserved&&(n=s[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=y(n);var i=(n?n+" ":"")+s.strict;function a(e,t,r){return new $(e,t,null,r-e.length)}if(this.reservedWordsStrict=y(i),this.reservedWordsStrictBind=y(i+" "+s.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(D).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=F.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[],this.preprocessParameterScope=null,this.preTokParameterScope=null,this.preprocessMacroParameterListMode=!1,this.preprocessIsParsingPreprocess=!1,this.preprocessStack=[],this.preprocessStackLastItem=null,this.preprocessOnlyTransformArgumentsForLastToken=null,this.preprocessDontConcatenate=!1,this.preNotSkipping=!0,this.preConcatenating=!1,this.preIfLevel=[],this.preType=null,this.preVal=null,this.preStart=null,this.preEnd=null,this.preLastStart=null,this.preLastEnd=null,this.localLastEnd=null,this.firstEnd=null,this.preInput=null,this.objjInFunction=null,this.objjLabels=null,this.objjFunctionIsAsync=null,this.objjStrict=null,this.nodeMessageSendObjectExpression=null,this.tokFirstStart=null,this.firstTokEnd=null,this.tokMacroOffset=null,this.tokPosMacroOffset=null,this.lastTokMacroOffset=null,this.options.preprocess){var c,l=this,p=Object.create(null);null==this.options.preprocessAddMacro&&(this.options.preprocessAddMacro=function(e){p[e.identifier]=e,c=null}),null==this.options.preprocessGetMacro&&(this.options.preprocessGetMacro=function(e){return p[e]}),null==this.options.preprocessUndefineMacro&&(this.options.preprocessUndefineMacro=function(e){delete p[e],c=null}),null==this.options.preprocessIsMacro&&(this.options.preprocessIsMacro=function(e){return(c||(c=y(Object.keys(p).concat(Object.keys(l.macrosBuiltinMacros).filter(function(e){return null!=this[e]().macro},l.macrosBuiltinMacros)).join(" ")))).test(e)}),this.macrosBuiltinMacros={1:function(){return a("__OBJJ__",l.options.objj?"1":null,l.pos)}},this.macrosBuiltinMacros.__BROWSER__=function(){return a("__BROWSER__","undefined"!=typeof window?"1":null,l.pos)},this.macrosBuiltinMacros.__LINE__=function(){return a("__LINE__",String(l.options.locations?l.curLine:z(l.input,l.pos).line),l.pos)},this.macrosBuiltinMacros.__DATE__=function(){var e,t;return a("__DATE__",(e=new Date,t=String(e.getDate()),["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getMonth()]+(t.length>1?" ":" ")+t+" "+e.getFullYear()),l.pos)},this.macrosBuiltinMacros.__TIME__=function(){var e;return a("__TIME__",("0"+(e=new Date).getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2),l.pos)},this.options.macros&&this.defineMacros(this.options.macros);var u=this.options.preIncludeFiles;if(u&&u.length)for(var h=u.length-1;h>=0;h--){var d=u[h],f=new $(null,d.include,null,0,!1,null,!1,null,d.sourceFile);this.pushMacroToStack(f,f.macro,0,null,null,this.pos,null,!0),this.skipSpace()}}},ee={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},ee.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},ee.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ee.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ee.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&X)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ee.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(64&t)>0||r||this.options.allowSuperOutsideMethod||this.options.objj&&(512&this.currentObjJMethodScope().flags)>0},ee.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},ee.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ee.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(258&t)>0||r},ee.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&X)>0},Z.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n=,?^&]/.test(s)||"!"===s&&"="===this.input.charAt(n+1))}e+=t[0].length,q.lastIndex=e,e+=q.exec(this.input)[0].length,";"===this.input[e]&&e++}},te.eat=function(e){return this.type===e&&(this.next(),!0)},te.isContextual=function(e){return this.type===F.name&&this.value===e&&!this.containsEsc},te.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},te.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},te.canInsertSemicolon=function(){return this.type===F.eof||this.type===F.braceR||D.test(this.lastEndInput.slice(this.lastTokEnd,this.lastEndOfFile||this.tokFirstStart))||null!=this.lastEndOfFile||this.nodeMessageSendObjectExpression&&this.nodeMessageSendObjectExpression.canInsertSemicolonBefore&&this.options.objj},te.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},te.semicolon=function(){this.eat(F.semi)||this.insertSemicolon()||(this.nodeMessageSendObjectExpression?this.raise(this.options.objj&&this.nodeMessageSendObjectExpression.start||this.start,"Expected a semicolon"):this.unexpected())},te.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},te.expect=function(e){this.eat(e)||this.unexpected()},te.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var ne=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};te.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},te.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},te.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&n<56320)return!0;if(e)return!1;if(123===n)return!0;if(u(n,!0)){for(var s=r+1;h(n=this.input.charCodeAt(s),!0);)++s;if(92===n||n>55295&&n<56320)return!0;var i=this.input.slice(r,s);if(!a.test(i))return!0}return!1},se.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;q.lastIndex=this.pos;var e,t=q.exec(this.input),r=this.pos+t[0].length;return!(D.test(this.input.slice(this.pos,r))||"function"!==this.input.slice(r,r+8)||r+8!==this.input.length&&(h(e=this.input.charCodeAt(r+8))||e>55295&&e<56320))},se.parseStatement=function(e,t,r){var n,s=this.type,i=this.startNode();if(this.nodeMessageSendObjectExpression)return i.expression=this.parseObjjMessageSendExpression(this.nodeMessageSendObjectExpression,this.nodeMessageSendObjectExpression.object),this.nodeMessageSendObjectExpression=null,this.semicolon(),this.finishNode(i,"ExpressionStatement");if(this.isLet(e)&&(s=F._var,n="let"),this.options.objj)switch(s){case M._implementation:return this.parseObjjImplementation(i);case M._interface:return this.parseObjjInterface(i);case M._protocol:if(40!==this.input.charCodeAt(this.pos))return this.parseObjjProtocol(i);break;case M._import:return this.parseObjjImport(i);case M._preprocess:return this.parseObjjPreprocess(i);case M._class:return this.parseObjjClass(i);case M._global:return this.parseObjjGlobal(i);case M._typedef:return this.parseObjjTypedef(i)}switch(s){case F._break:case F._continue:return this.parseBreakContinueStatement(i,s.keyword);case F._debugger:return this.parseDebuggerStatement(i);case F._do:return this.parseDoStatement(i);case F._for:return this.parseForStatement(i);case F._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case F._class:return e&&this.unexpected(),this.parseClass(i,!0);case F._if:return this.parseIfStatement(i);case F._return:return this.parseReturnStatement(i);case F._switch:return this.parseSwitchStatement(i);case F._throw:return this.parseThrowStatement(i);case F._try:return this.parseTryStatement(i);case F._const:case F._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(i,n);case F._while:return this.parseWhileStatement(i);case F._with:return this.parseWithStatement(i);case F.braceL:return this.parseBlock(!0,i);case F.semi:return this.parseEmptyStatement(i);case F._export:case F._import:if(this.options.ecmaVersion>10&&s===F._import){q.lastIndex=this.pos;var o=q.exec(this.input),a=this.pos+o[0].length,c=this.input.charCodeAt(a);if(40===c||46===c)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===F._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var l=this.value,p=this.parseExpression();return s===F.name&&"Identifier"===p.type&&this.eat(F.colon)?this.parseLabeledStatement(i,l,p,e):this.parseExpressionStatement(i,p)}},se.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(F.semi)||this.insertSemicolon()?e.label=null:this.type!==F.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n=6?this.eat(F.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},se.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ie),this.enterScope(0),this.expect(F.parenL),this.type===F.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===F._var||this.type===F._const||r){var n=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(n,!0,s),this.finishNode(n,"VariableDeclaration"),(this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===n.declarations.length?(this.options.ecmaVersion>=9&&(this.type===F._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var i=this.isContextual("let"),o=!1,a=new ne,c=this.parseExpression(!(t>-1)||"await",a);return this.type===F._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===F._in?t>-1&&this.unexpected(t):e.await=t>-1),i&&o&&this.raise(c.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(c,!1,a),this.checkLValPattern(c),this.parseForIn(e,c)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))},se.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,ce|(r?0:le),!1,t)},se.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(F._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},se.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.objjInFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(F.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},se.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(F.braceL),this.labels.push(oe),this.enterScope(0);for(var r=!1;this.type!==F.braceR;)if(this.type===F._case||this.type===F._default){var n=this.type===F._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(F.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},se.parseThrowStatement=function(e){return this.next(),D.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var ae=[];se.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===F._catch){var t=this.startNode();if(this.next(),this.eat(F.parenL)){t.param=this.parseBindingAtom();var r="Identifier"===t.param.type;this.enterScope(r?32:0),this.checkLValPattern(t.param,r?4:2),this.expect(F.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(F._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},se.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},se.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(ie),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},se.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},se.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},se.parseLabeledStatement=function(e,t,r,n){for(var s=0,i=this.labels;s=0;a--){var c=this.labels[a];if(c.statementStart!==e.start)break;c.statementStart=this.start,c.kind=o}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},se.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},se.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(F.braceL),e&&this.enterScope(0);this.type!==F.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},se.parseFor=function(e,t){return e.init=t,this.expect(F.semi),e.test=this.type===F.semi?null:this.parseExpression(),this.expect(F.semi),e.update=this.type===F.parenR?null:this.parseExpression(),this.expect(F.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},se.parseForIn=function(e,t){var r=this.type===F._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(F.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},se.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(F.eq)?n.init=this.parseMaybeAssign(t):"const"!==r||this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||t&&(this.type===F._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(F.comma))break}return e},se.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var ce=1,le=2;function pe(e,t){var r=t.key.name,n=e[r],s="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(s=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===s||"iset"===n&&"iget"===s||"sget"===n&&"sset"===s||"sset"===n&&"sget"===s?(e[r]="true",!1):!!n||(e[r]=s,!1)}function ue(e,t){var r=e.computed,n=e.key;return!r&&("Identifier"===n.type&&n.name===t||"Literal"===n.type&&n.value===t)}se.parseFunction=function(e,t,r,n,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===F.star&&t&le&&this.unexpected(),e.generator=this.eat(F.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&ce&&(e.id=4&t&&this.type!==F.name?null:this.parseIdent(),!e.id||t&le||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Q(e.async,e.generator)),t&ce||(e.id=this.type===F.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,s),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(e,t&ce?"FunctionDeclaration":"FunctionExpression")},se.parseFunctionParams=function(e){this.expect(F.parenL),e.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},se.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),s=this.startNode(),i=!1;for(s.body=[],this.expect(F.braceL);this.type!==F.braceR;){var o=this.parseClassElement(null!==e.superClass);o&&(s.body.push(o),"MethodDefinition"===o.type&&"constructor"===o.kind?(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0):o.key&&"PrivateIdentifier"===o.key.type&&pe(n,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},se.parseClassElement=function(e){if(this.eat(F.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",s=!1,i=!1,o="method",a=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(F.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===F.star?a=!0:n="static"}if(r.static=a,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==F.star||this.canInsertSemicolon()?n="async":i=!0),!n&&(t>=9||!i)&&this.eat(F.star)&&(s=!0),!n&&!i&&!s){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=c:n=c)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===F.parenL||"method"!==o||s||i){var l=!r.static&&ue(r,"constructor"),p=l&&e;l&&"method"!==o&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=l?"constructor":o,this.parseClassMethod(r,s,i,p)}else this.parseClassField(r);return r},se.isClassElementNameStart=function(){return this.type===F.name||this.type===F.privateId||this.type===F.num||this.type===F.string||this.type===F.bracketL||this.type.keyword},se.parseClassElementName=function(e){this.type===F.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},se.parseClassMethod=function(e,t,r,n){var s=e.key;"constructor"===e.kind?(t&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method")):e.static&&ue(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var i=e.value=this.parseMethod(t,r,n);return"get"===e.kind&&0!==i.params.length&&this.raiseRecoverable(i.start,"getter should have no params"),"set"===e.kind&&1!==i.params.length&&this.raiseRecoverable(i.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===i.params[0].type&&this.raiseRecoverable(i.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},se.parseClassField=function(e){if(ue(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&ue(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(F.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},se.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==F.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},se.parseClassId=function(e,t){this.type===F.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},se.parseClassSuper=function(e){e.superClass=this.eat(F._extends)?this.parseExprSubscripts(!1):null},se.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},se.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,n=this.privateNameStack.length,s=0===n?null:this.privateNameStack[n-1],i=0;i=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==F.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(F._default)){var r;if(this.checkExport(t,"default",this.lastTokStart),this.type===F._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,4|ce,!1,r)}else if(this.type===F._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==F.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,o=e.specifiers;i=13&&this.type===F.string){var e=this.parseLiteral(this.value);return S.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},se.adaptDirectivePrologue=function(e){for(var t=0;t=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var he=Z.prototype;he.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"Dereference":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,s=e.properties;n=8&&!o&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(F._function))return this.overrideContext(fe.f_expr),this.parseFunction(this.startNodeAt(s,i),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(F.arrow))return this.parseArrowExpression(this.startNodeAt(s,i),[a],!1,t);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===F.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(F.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,i),[a],!0,t)}return a;case F.regexp:var c=this.value;return(r=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},r;case F.num:case F.string:return this.parseLiteral(this.value);case F._null:case F._true:case F._false:return(r=this.startNode()).value=this.type===F._null?null:this.type===F._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case F.parenL:var l=this.start,p=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),p;case F.bracketL:r=this.startNode(),this.next();var u=null;if(this.type===F.ellipsis)u=this.parseSpread(e),e&&this.type===F.comma&&e.trailingComma<0&&(e.trailingComma=this.start);else if(this.type!==F.comma&&this.type!==F.bracketR&&(u=this.parseExpression(!1,e,!0,!0),this.type!==F.comma&&this.type!==F.bracketR))return this.parseObjjMessageSendExpression(r,u);return r.elements=this.parseExprList(F.bracketR,!0,!0,e,u),this.finishNode(r,"ArrayExpression");case F.braceL:return this.overrideContext(fe.b_expr),this.parseObj(!1,e);case F._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case F._class:return this.parseClass(this.startNode(),!1);case F._new:return this.parseNew();case F.backQuote:return this.parseTemplate();case F._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();case M._selector:return r=this.startNode(),this.next(),this.expect(F.parenL,"Expected '(' after '@selector'"),this.parseObjjSelector(r,F.parenR),this.expect(F.parenR,"Expected closing ')' after selector"),this.finishNode(r,"SelectorLiteralExpression");case M._ref:return r=this.startNode(),this.next(),this.expect(F.parenL,"Expected '(' after '@ref'"),r.element=this.parseIdent(r,F.parenR),this.expect(F.parenR,"Expected closing ')' after ref"),this.finishNode(r,"Reference");case M._deref:return r=this.startNode(),this.next(),this.expect(F.parenL,"Expected '(' after '@deref'"),r.expr=this.parseExpression(!0,e,!0,!0),this.expect(F.parenR,"Expected closing ')' after deref"),this.finishNode(r,"Dereference");case M._dictionaryLiteral:r=this.startNode(),this.next();var h=this.parseObjjDictionary();return r.keys=h[0],r.values=h[1],this.finishNode(r,"DictionaryLiteral");case M._arrayLiteral:return r=this.startNode(),u=null,this.next(),this.expect(F.bracketL,"Expected '[' at beginning of array literal"),this.type!==F.bracketR&&(u=this.parseExpression(!0,e,!0,!0)),r.elements=this.parseExprList(F.bracketR,!0,!0,e,u),this.finishNode(r,"ArrayLiteral");case M._protocol:return r=this.startNode(),this.next(),this.expect(F.parenL,"Expected '(' after '@protocol'"),r.id=this.parseIdent(!0),this.expect(F.parenR,"Expected closing ')' after protocol name"),this.finishNode(r,"ProtocolLiteralExpression");default:this.unexpected()}},ge.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case F.parenL:return this.parseDynamicImport(e);case F.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},ge.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(F.parenR)){var t=this.start;this.eat(F.comma)&&this.eat(F.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ge.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},ge.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.tokInput.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},ge.parseParenExpression=function(){this.expect(F.parenL);var e=this.parseExpression();return this.expect(F.parenR),e},ge.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start+this.tokMacroOffset,s=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,a=this.start+this.tokMacroOffset,c=this.startLoc,l=[],p=!0,u=!1,h=new ne,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==F.parenR;){if(p?p=!1:this.expect(F.comma),i&&this.afterTrailingComma(F.parenR,!0)){u=!0;break}if(this.type===F.ellipsis){o=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===F.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}l.push(this.parseMaybeAssign(!1,h,this.parseParenItem))}var m=this.lastTokEnd+this.lastTokMacroOffset,g=this.lastTokEndLoc;if(this.expect(F.parenR),e&&!this.canInsertSemicolon()&&this.eat(F.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(n,s,l,t);l.length&&!u||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(h,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,l.length>1?((r=this.startNodeAt(a,c)).expressions=l,this.finishNodeAt(r,"SequenceExpression",m,g)):r=l[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var _=this.startNodeAt(n,s);return _.expression=r,this.finishNode(_,"ParenthesizedExpression")}return r},ge.parseParenItem=function(e){return e},ge.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var ye=[];ge.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(F.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start+this.tokMacroOffset,s=this.startLoc,i=this.type===F._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,s,!0,!1),i&&"ImportExpression"===e.callee.type&&this.raise(n,"Cannot use new with import()"),this.eat(F.parenL)?e.arguments=this.parseExprList(F.parenR,this.options.ecmaVersion>=8,!1):e.arguments=ye,this.finishNode(e,"NewExpression")},ge.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===F.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===F.backQuote,this.finishNode(r,"TemplateElement")},ge.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===F.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(F.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(F.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},ge.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===F.name||this.type===F.num||this.type===F.string||this.type===F.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===F.star)&&!D.test(this.input.slice(this.lastTokEnd,this.start))},ge.parseObj=function(e,t){var r=this.startNode(),n=!0,s={};for(r.properties=[],this.next();!this.eat(F.braceR);){if(n)n=!1;else if(this.expect(F.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(F.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,s,t),r.properties.push(i)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},ge.parseProperty=function(e,t){var r,n,s,i,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(F.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===F.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(o.argument=this.parseMaybeAssign(!1,t),this.type===F.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(s=this.start+this.tokMacroOffset,i=this.startLoc),e||(r=this.eat(F.star)));var a=this.containsEsc;return this.parsePropertyName(o),!e&&!a&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(o)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(F.star),this.parsePropertyName(o,t)):n=!1,this.parsePropertyValue(o,e,r,n,s,i,t,a),this.finishNode(o,"Property")},ge.parsePropertyValue=function(e,t,r,n,s,i,o,a){if((r||n)&&this.type===F.colon&&this.unexpected(),this.eat(F.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===F.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===F.comma||this.type===F.braceR||this.type===F.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,i,this.copyNode(e.key)):this.type===F.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,i,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c="get"===e.kind?0:1;if(e.value.params.length!==c){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},ge.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(F.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(F.bracketR),e.key;e.computed=!1}return e.key=this.type===F.num||this.type===F.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ge.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ge.parseMethod=function(e,t,r){var n=this.startNode(),s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Q(t,n.generator)|(r?128:0)),this.expect(F.parenL),n.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(n,"FunctionExpression")},ge.parseArrowExpression=function(e,t,r,n){var s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(16|Q(r,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},ge.parseFunctionBody=function(e,t,r,n){var s=t&&this.type!==F.braceL,i=this.strict,o=!1;if(s)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!a||(o=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,undefined,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()},ge.isSimpleParamList=function(e){for(var t=0,r=e;t-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var i=this.currentScope();n=this.treatFunctionsAsVar?i.lexical.indexOf(e)>-1:i.lexical.indexOf(e)>-1||i.var.indexOf(e)>-1,i.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var a=this.scopeStack[o];if(a.lexical.indexOf(e)>-1&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){n=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],259&a.flags)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},Se.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Se.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Se.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},Se.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}},Se.currentObjJMethodScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(512&t.flags||1&t.flags)return t}};var Ee=Z.prototype,Ce=function(e,t,r){if(this.line=e-1,this.column=t,r){var n=r.macro.locationOffset;if(n){var s=n.line;s&&(this.line+=s);var i=n.column;i&&(this.column+=i)}}};Ee.preprocesSkipRestOfLine=function(){for(var e,t=this.input.charCodeAt(this.pos);this.pos=this.input.length)return this.preprocessFinishToken(F.eof);var s=this.input.charCodeAt(this.pos);if(!t&&!this.preNotSkipping&&35!==s)return this.preprocesSkipRestOfLine(),this.preprocessFinishToken(P._preprocessSkipLine,this.input.slice(this.preStart,this.pos)),void this.preprocessSkipSpace(!0,!0);if(this.preprocessMacroParameterListMode&&41!==s&&44!==s){for(var i=0;this.pos=6)||92===s&&117===this.input.charCodeAt(this.pos+1))return this.preprocessReadWord(r);if(!1===this.getTokenFromCode(s,e?this.preprocessFinishTokenSkipComments:this.preprocessFinishToken,!0)){var a=String.fromCharCode(s);if("\\"===a||c.test(a))return this.preprocessReadWord(r);this.raise(this.pos,"Unexpected character '"+a+"'")}},Ee.preprocessReadWord=function(e,t){var r,n=this.readWord1(),s=F.name;if(e&&this.options.preprocess&&!0===(r=this.readMacroWord(n,this.preprocessNext,t)))return!0;!this.containsEsc&&k.test(n)&&(s=w[n]),this.preprocessFinishToken(s,n,r,!1,e)},Ee.readMacroWord=function(e,t,r){var n,s=this.preprocessStackLastItem,i=this.preprocessParameterScope;if(s){var o=this.preTokParameterScope||this.preprocessStackLastItem;if(o.parameterDict&&o.macro.isParameterFunction().test(e)){if(!(n=o.parameterDict[e])&&o.macro.variadicName===e)return this.preConcatenating?(this.finishToken(F.name,""),!0):(this.skipSpace(),t.call(this,!1,!0,r,!0),!0);this.preprocessPrescanFor(35,35)&&(r=2),this.preprocessParameterScope=n&&n.parameterScope,r--}}if(!n&&(!r&&!this.preprocessOnlyTransformArgumentsForLastToken||this.pos0;){var l=this.preprocessStack[--c].macro;l.identifier!==e||a&&a.isArgument||(n=null),a=l}}else n=this.preprocessBuiltinMacro(e);if(n){var p,u,h=n.parameters;if(h){var d=this.pos;if(!this.preprocessPrescanFor(40))return d;u=!0}if(!h||u){if(u){var f=n.variadicName,m=!0,g=0;p=Object.create(null),this.skipSpace(!0),40!==this.input.charCodeAt(this.pos++)&&this.raise(this.pos-1,"Expected '(' before macro prarameters"),this.skipSpace(!0,!0,!0);for(var _=this.input.charCodeAt(this.pos++);this.pos=5760&&K.test(String.fromCharCode(i)))++s;else{if(s>=n.length)break t;if(92!==i)break e;var c=s+1;for(i=n.charCodeAt(c);c=5760&&K.test(String.fromCharCode(i)));)i=n.charCodeAt(++c);D.lastIndex=0;var l=D.exec(n.slice(c,c+2));if(!l||0!==l.index)break e;s=c+l[0].length}}var p=this.preprocessStack[--r];if(null==p)return!1;s=p.end,n=p.input}return n&&n.charCodeAt(s)===e&&(null==t||n.charCodeAt(s+1)===t)},Ee.readTokenFromMacro=function(e,t,r,n,s,i,o){var a=e.macro;if(a||i!==this.preprocessNext||(a="1"),a)this.pushMacroToStack(e,a,t,r,n,s,o);else if(this.preConcatenating)return(i===this.next?this.finishToken:this.preprocessFinishToken).call(this,F.name,""),!0;return this.skipSpace(),i.call(this,!1,!0,o,!0),!0},Ee.preprocessBuiltinMacro=function(e){var t=this.macrosBuiltinMacros[e];return t?t(this):null},Ee.defineMacros=function(e){for(var t={preprocess:!0,ecmaVersion:this.options.ecmaVersion,preprocessAddMacro:this.options.preprocessAddMacro,preprocessGetMacro:this.options.preprocessGetMacro,preprocessUndefineMacro:this.options.preprocessUndefineMacro,preprocessIsMacro:this.options.preprocessIsMacro},r=0,n=e.length;r0?(o=s.slice(0,i),a=s.slice(i+1)):o=s,Object.prototype.hasOwnProperty.call(this.macrosBuiltinMacros,o)&&this.raise(0,"'"+o+"' is a predefined macro name"),new Z(t,o+(null!=a?" "+a:"")).preprocessParseDefine()}},Ee.pushMacroToStack=function(e,t,r,n,s,i,o,a){this.preprocessStackLastItem={macro:e,macroOffset:r,parameterDict:n,end:i,lastEnd:this.localLastEnd,tokStart:this.start,onlyTransformArgumentsForLastToken:this.preprocessOnlyTransformArgumentsForLastToken,currentLine:this.curLine,currentLineStart:this.lineStart,sourceFile:this.sourceFile},s&&(this.preprocessStackLastItem.parameterScope=s),a&&(this.preprocessStackLastItem.isIncludeFile=a),this.preprocessStackLastItem.input=this.input,this.preprocessStack.push(this.preprocessStackLastItem),this.preprocessOnlyTransformArgumentsForLastToken=o,this.input=t,this.tokPosMacroOffset=e.start,this.pos=0,this.curLine=1,this.lineStart=0,this.firstEnd=0,this.localLastEnd=0,e.sourceFile&&(this.sourceFile=e.sourceFile)},Ee.preprocessFinishTokenSkipComments=function(e,t){this.preType=e,this.preVal=t,this.firstEnd=this.preEnd=this.pos,this.preprocessSkipSpace(!0)},Ee.preprocessNext=function(e,t,r,n){return t||(this.preLastStart=this.preStart,this.preLastEnd=this.preEnd),this.localLastEnd=this.firstEnd,this.preprocessReadToken(!1,!1,n,r)},Ee.preprocessSkipSpace=function(e,t){return this.skipSpace(!t,!1,e)},Ee.preprocessEat=function(e,t){if(this.preType===e)return this.preprocessNext(!1,!1,!1,t),!0},Ee.preprocessExpect=function(e,t,r){this.preType===e?this.preprocessNext(!1,!1,undefined,null,r):this.raise(this.preStart,t||"Unexpected token")},Ee.preprocessGetIdent=function(e){var t=this.preType===F.name?this.preVal:(!this.options.forbidReserved||this.preType.okAsIdent)&&this.preType.keyword||void 0;return this.exprAllowed=!1,this.preprocessNext(!1,!1,!1,e),t},Ee.preprocessFinishToken=function(e,t,r,n,s){if(this.preType=e,this.preVal=t,this.preEnd=r||this.pos,e!==F.eol&&(this.firstEnd=this.preEnd),35===this.preprocessSkipSpace(!1,n)&&this.options.preprocess&&!this.preprocessDontConcatenate&&35===this.input.charCodeAt(this.pos+1)){var i=null!=t?t:e.keyword||e.type;if(this.pos+=2,null!=i){var o=this.options.locations&&new Ce(this.curLine,this.lineStart,this.preprocessStackLastItem),a=this.input,c=this.preEnd,l=this.preStart,p=this.preStart+this.tokMacroOffset,u=this.preprocessStackLastItem&&this.preprocessStackLastItem.macro&&this.preprocessStackLastItem.macro.variadicName;this.skipSpace();var h=null;u&&u===this.input.slice(this.pos,this.pos+u.length)&&(h=!0),this.preConcatenating=!0,this.preprocessReadToken(null,null,s,2),this.preConcatenating=!1;var d=null!=this.preVal?this.preVal:this.preType.keyword||this.preType.type;if(null!=d){if(h&&","===i&&""===d)return this.preprocessReadToken();var f=""+i+d,m=this.preStart+this.tokPosMacroOffset,g=new $(null,f,null,p,!1,null,!1,o),_=this.readTokenFromMacro(g,this.tokPosMacroOffset,this.preprocessStackLastItem?this.preprocessStackLastItem.parameterDict:null,null,this.pos,this.preprocessNext,null);if(!this.preprocessStackLastItem||this.preprocessStackLastItem.macro!==g)return _;this.preType=e,this.preStart=l,this.preEnd=c,this.input=a,this.tokPosMacroOffset=m-i.length,h||console.warn("Warning: pasting formed '"+f+"', an invalid preprocessing token")}}}};var Le=Z.prototype;Le.preprocessParseDefine=function(){this.preprocessIsParsingPreprocess=!0,this.preprocessReadToken();var e=this.preEnd;this.preprocessDontConcatenate=!0;var t,r,n=this.options.locations&&new Ce(this.curLine,this.lineStart,this.preprocessStackLastItem),s=this.preVal,i=40===this.input.charCodeAt(e);if(this.preprocessExpect(F.name,"Preprocessor #define expects identifier"),i){this.preprocessExpect(F.parenL),t=[],r=!1;for(var o=!0;!this.preprocessEat(F.parenR);)r&&this.raise(this.preStart,"Variadic parameter must be last"),o?o=!1:this.preprocessExpect(F.comma,"Expected ',' between macro parameters"),t.push(this.preprocessEat(F.ellipsis)?r="__VA_ARGS__":this.preprocessGetIdent()),this.preprocessEat(F.ellipsis)&&(r=!0),n=this.options.locations&&new Ce(this.curLine,this.lineStart,this.preprocessStackLastItem)}for(var a=this.preStart;this.preType!==F.eol&&this.preType!==F.eof;)this.preprocessReadToken();this.preprocessDontConcatenate=!1;var c=this.preInput.slice(a,this.preStart);c=c.replace(/\\\n/g," \n"),this.options.preprocessAddMacro(new $(s,c,t,a,!1,null,r&&t[t.length-1],n)),this.preprocessIsParsingPreprocess=!1},Le.preprocessSkipToElseOrEndif=function(e){for(var t=[];t.length>0||this.preType!==P._preEndif&&(this.preType!==P._preElse&&this.preType!==P._preElseIfTrue||e);){switch(this.preType){case P._preIf:case P._preIfdef:case P._preIfndef:t.push(P._preIf);break;case P._preElse:t[t.length-1]!==P._preIf?this.raise(this.preStart,"#else after #else"):t[t.length-1]=P._preElse;break;case P._preElseIf:t[t.length-1]!==P._preIf&&this.raise(this.preStart,"#elif after #else");break;case P._preEndif:t.pop();break;case F.eof:this.preNotSkipping=!0,this.raise(this.preStart,"Missing #endif")}this.preprocessReadToken(!0)}this.preNotSkipping=!0,this.preType===P._preEndif&&this.preIfLevel.pop()},Le.preprocessParseExpression=function(e){return this.preprocessParseExprOps(e)},Le.preprocessParseExprOps=function(e){return this.preprocessParseExprOp(this.preprocessParseMaybeUnary(e),-1,e)},Le.preprocessParseExprOp=function(e,t,r){var n=this.preType.binop;if(n&&(this.preType.preprocess||this.raise(this.preStart,"Unsupported macro operator"),n>t)){var s=this.startNodeFrom(e);return s.left=e,s.operator=this.preVal,this.preprocessNext(!1,!1,!1,r),s.right=this.preprocessParseExprOp(this.preprocessParseMaybeUnary(r),n,r),s=this.preprocessFinishNode(s,/&&|\|\|/.test(s.operator)?"LogicalExpression":"BinaryExpression"),this.preprocessParseExprOp(s,t,r)}return e},Le.preprocessParseMaybeUnary=function(e){if(this.preType.preprocess&&this.preType.prefix){var t=this.startNode();return t.operator=this.preVal,t.prefix=!0,this.preprocessNext(!1,!1,!1,e),t.argument=this.preprocessParseMaybeUnary(e),this.preprocessFinishNode(t,"UnaryExpression")}return this.preprocessParseExprAtom(e)},Le.preprocessParseExprAtom=function(e){switch(this.preType){case F.name:return this.preprocessParseIdent(e);case F.num:case F.string:return this.preprocessParseStringNumLiteral(e);case F.parenL:var t=this.preStart;this.preprocessNext(!1,!1,!1,e);var r=this.preprocessParseExpression(e);return r.start=t,r.end=this.preEnd,this.preprocessExpect(F.parenR,"Expected closing ')' in macro expression",e),r;case P._preDefined:var n=this.startNode();return this.preprocessNext(!1,!1,!1,e),n.object=this.preprocessParseDefinedExpression(e),this.preprocessFinishNode(n,"DefinedExpression");default:this.unexpected()}},Le.preprocessParseIdent=function(e){var t=this.startNode();return t.name=this.preprocessGetIdent(e),this.preprocessFinishNode(t,"Identifier")},Le.preprocessParseDefinedExpression=function(e){switch(this.preType){case F.name:return this.preprocessParseIdent(e);case F.num:case F.string:return this.preprocessParseStringNumLiteral(e);case F.parenL:var t=this.preStart;this.preprocessNext(!1,!1,!1,e);var r=this.preprocessParseDefinedExpression(e);return r.start=t,r.end=this.preEnd,this.preprocessExpect(F.parenR,"Expected closing ')' in macro expression",e),r;default:this.unexpected()}},Le.preprocessParseStringNumLiteral=function(e){var t=this.startNode();return t.value=this.preVal,t.raw=this.preInput.slice(this.preStart,this.preEnd),this.preprocessNext(!1,!1,!1,e),this.preprocessFinishNode(t,"Literal")},Le.preprocessFinishNode=function(e,t){return e.type=t,e.end=this.preEnd,e},Le.preprocessEvalExpression=function(e){var t,r,n=this;return t={LogicalExpression:function(e,t,r){var n=e.left,s=e.right;switch(e.operator){case"||":return r(n,t)||r(s,t);case"&&":return r(n,t)&&r(s,t)}},BinaryExpression:function(e,t,r){var n=e.left,s=e.right;switch(e.operator){case"+":return r(n,t)+r(s,t);case"-":return r(n,t)-r(s,t);case"*":return r(n,t)*r(s,t);case"/":return r(n,t)/r(s,t);case"%":return r(n,t)%r(s,t);case"<":return r(n,t)":return r(n,t)>r(s,t);case"^":return r(n,t)^r(s,t);case"&":return r(n,t)&r(s,t);case"|":return r(n,t)|r(s,t);case"==":return r(n,t)==r(s,t);case"===":return r(n,t)===r(s,t);case"!=":return r(n,t)!=r(s,t);case"!==":return r(n,t)!==r(s,t);case"<=":return r(n,t)<=r(s,t);case">=":return r(n,t)>=r(s,t);case">>":return r(n,t)>>r(s,t);case">>>":return r(n,t)>>>r(s,t);case"<<":return r(n,t)<"!==this.value;)r?r=!1:this.expect(F.comma,"Expected ',' between protocol names"),t.push(this.parseIdent(!0));this.next()}if(this.eat(F.braceL)){for(e.ivardeclarations=[];!this.eat(F.braceR);)this.parseObjjIvarDeclaration(e);e.endOfIvars=this.start}for(e.body=[];!this.eat(M._end);)this.type===F.eof&&this.raise(this.pos,"Expected '@end' after '@implementation'"),e.body.push(this.parseObjjClassElement());return this.finishNode(e,"ClassDeclarationStatement")},xe.parseObjjInterface=function(e){if(this.next(),e.classname=this.parseIdent(!0),this.eat(F.colon)?e.superclassname=this.parseIdent(!0):this.eat(F.parenL)&&(e.categoryname=this.parseIdent(!0),this.expect(F.parenR,"Expected closing ')' after category name")),"<"===this.value){this.next();var t=[],r=!0;for(e.protocols=t;">"!==this.value;)r?r=!1:this.expect(F.comma,"Expected ',' between protocol names"),t.push(this.parseIdent(!0));this.next()}if(this.eat(F.braceL)){for(e.ivardeclarations=[];!this.eat(F.braceR);)this.parseObjjIvarDeclaration(e);e.endOfIvars=this.start}for(e.body=[];!this.eat(M._end);)this.type===F.eof&&this.raise(this.pos,"Expected '@end' after '@interface'"),e.body.push(this.parseClassElement());return this.finishNode(e,"InterfaceDeclarationStatement")},xe.parseObjjProtocol=function(e){if(this.next(),e.protocolname=this.parseIdent(!0),"<"===this.value){this.next();var t=[],r=!0;for(e.protocols=t;">"!==this.value;)r?r=!1:this.expect(F.comma,"Expected ',' between protocol names"),t.push(this.parseIdent(!0));this.next()}for(;!this.eat(M._end);)if(this.type===F.eof&&this.raise(this.pos,"Expected '@end' after '@protocol'"),!this.eat(M._required))if(this.eat(M._optional))for(;!this.eat(M._required)&&this.type!==M._end;)(e.optional||(e.optional=[])).push(this.parseObjjProtocolClassElement());else(e.required||(e.required=[])).push(this.parseObjjProtocolClassElement());return this.finishNode(e,"ProtocolDeclarationStatement")},xe.parseObjjProtocolClassElement=function(){var e=this.startNode();return this.parseObjjMethodDeclaration(e),this.semicolon(),this.finishNode(e,"MethodDeclarationStatement")},xe.parseObjjMethodDeclaration=function(e){if(e.methodtype=this.value,this.expect(F.plusMin,"Method declaration must start with '+' or '-'"),this.eat(F.parenL)){var t=this.startNode();this.options.ecmaVersion>=8&&this.eatContextual("async")&&(e.async=!0),(this.eat(M._action)||this.eat(N._action))&&(e.action=this.finishNode(t,"ObjectiveJActionType"),t=this.startNode()),this.eat(F.parenR)||(e.returntype=this.parseObjectiveJType(t),this.expect(F.parenR,"Expected closing ')' after method return type"))}var r=!0,n=[],s=[];for(e.selectors=n,e.arguments=s;;){if(this.type!==F.colon){if(n.push(this.parseIdent(!0)),r&&this.type!==F.colon)break}else n.push(null);this.expect(F.colon,"Expected ':' in selector");var i={};if(s.push(i),this.eat(F.parenL)&&(i.type=this.parseObjectiveJType(),this.expect(F.parenR,"Expected closing ')' after method argument type")),i.identifier=this.parseIdent(!1),this.type===F.braceL||this.type===F.semi)break;if(this.eat(F.comma)){this.expect(F.ellipsis,"Expected '...' after ',' in method declaration"),e.parameters=!0;break}r=!1}},xe.parseObjjImport=function(e){return this.next(),this.type===F.string?e.localfilepath=!0:this.type===N._filename?e.localfilepath=!1:this.unexpected(),e.filename=this.parseObjjStringNumRegExpLiteral(),this.finishNode(e,"ImportStatement")},xe.parseObjjStringNumRegExpLiteral=function(){var e=this.startNode();return e.value=this.value,e.raw=this.tokInput.slice(this.start,this.end),this.next(),this.finishNode(e,"Literal")},xe.parseObjjIvarDeclaration=function(e){var t;this.eat(M._outlet)&&(t=!0);var r=this.parseObjectiveJType();for(this.strict&&this.reservedWordsStrictBind.test(r.name)&&this.raise(r.start,"Binding "+r.name+" in strict mode");;){var n=this.startNode();if(t&&(n.outlet=t),n.ivartype=r,n.id=this.parseIdent(),this.strict&&this.reservedWordsStrictBind.test(n.id.name)&&this.raise(n.id.start,"Binding "+n.id.name+" in strict mode"),this.eat(M._accessors)&&(n.accessors={},this.eat(F.parenL)&&!this.eat(F.parenR))){for(;;){var s=this.parseIdent(!0);switch(s.name){case"property":case"getter":this.expect(F.eq,"Expected '=' after 'getter' accessor attribute"),n.accessors[s.name]=this.parseIdent(!0);break;case"setter":this.expect(F.eq,"Expected '=' after 'setter' accessor attribute");var i=this.parseIdent(!0);n.accessors[s.name]=i,this.eat(F.colon)&&(i.end=this.start),i.name+=":";break;case"readwrite":case"readonly":case"copy":n.accessors[s.name]=!0;break;default:this.raise(s.start,"Unknown accessors attribute '"+s.name+"'")}if(!this.eat(F.comma))break}this.expect(F.parenR,"Expected closing ')' after accessor attributes")}if(this.finishNode(n,"IvarDeclaration"),e.ivardeclarations.push(n),!this.eat(F.comma))break}this.semicolon()},xe.parseObjjClassElement=function(){var e=this.startNode();if("+"===this.value||"-"===this.value){this.parseObjjMethodDeclaration(e),this.eat(F.semi),e.startOfBody=this.lastTokEnd;var t=this.objjInFunction,r=this.objjLabels,n=this.objjFunctionIsAsync;return this.objjInFunction=!0,this.objjLabels=[],this.objjFunctionIsAsync=!!e.async,this.enterScope(576|Q(this.objjFunctionIsAsync,!1)),e.body=this.parseBlock(!0),this.exitScope(),this.objjInFunction=t,this.objjLabels=r,this.objjFunctionIsAsync=n,this.finishNode(e,"MethodDeclarationStatement")}return this.parseStatement()},xe.parseObjectiveJType=function(e){var t,r=e?this.startNodeFrom(e):this.startNode(),n=!1;this.type===F.name?(r.name=this.value,r.typeisclass=!0,n=!0,this.next()):(r.typeisclass=!1,r.name=this.type.keyword,this.eat(F._void)||(this.eat(N._id)?n=!0:this.eat(N._float)||this.eat(N._boolean)||this.eat(N._SEL)||this.eat(N._double)?t=this.type.keyword:((this.eat(N._signed)||this.eat(N._unsigned))&&(t=this.type.keyword||!0),this.eat(N._char)||this.eat(N._byte)||this.eat(N._short)?(t&&(r.name+=" "+t),t=this.type.keyword||!0):(this.eat(N._int)&&(t&&(r.name+=" "+t),t=this.type.keyword||!0),this.eat(N._long)&&(t&&(r.name+=" "+t),t=this.type.keyword||!0,this.eat(N._long)&&(r.name+=" "+t))),t||(r.name=!this.options.forbidReserved&&this.type.label||this.unexpected(),r.typeisclass=!0,n=!0,this.next()))));if(n&&"<"===this.value){var s=!0,i=[];r.protocols=i;do{this.next(),s?s=!1:this.eat(F.comma),i.push(this.parseIdent(!0))}while(">"!==this.value);this.next()}return this.finishNode(r,"ObjectiveJType")},xe.parseObjjPreprocess=function(e){return this.next(),this.finishNode(e,"PreprocessStatement")},xe.parseObjjClass=function(e){return this.next(),e.id=this.parseIdent(!1),this.finishNode(e,"ClassStatement")},xe.parseObjjGlobal=function(e){return this.next(),e.id=this.parseIdent(!1),this.finishNode(e,"GlobalStatement")},xe.parseObjjTypedef=function(e){return this.next(),e.typedefname=this.parseIdent(!0),this.finishNode(e,"TypeDefStatement")},xe.parseObjjDictionary=function(){this.expect(F.braceL,"Expected '{' before dictionary");for(var e=[],t=[],r=!0;!this.eat(F.braceR)&&(r||(this.expect(F.comma,"Expected ',' between expressions"),!this.eat(F.braceR)));)e.push(this.parseExpression(!0,null,!0,!0)),this.expect(F.colon,"Expected ':' between dictionary key and value"),t.push(this.parseExpression(!0,null,!0,!0)),r=!1;return[e,t]},xe.parseObjjSelector=function(e,t){for(var r=!0,n=[];(this.type===F.colon||(n.push(this.parseIdent(!0).name),!r||this.type!==t))&&(this.expect(F.colon,"Expected ':' in selector"),n.push(":"),this.type!==t);)r=!1;e.selector=n.join("")},xe.parseObjjMessageSendExpression=function(e,t){return this.parseObjjSelectorWithArguments(e,F.bracketR),"Super"===t.type?e.superObject=!0:e.object=t,this.finishNode(e,"MessageSendExpression")},xe.parseObjjSelectorWithArguments=function(e,t){var r=!0,n=[],s=[];for(e.selectors=n,e.arguments=s;;){if(this.type!==F.colon||this.inIsIdentifier&&this.type===F.colon){if(this.inIsIdentifier){var i=this.finishNode(this.startNode(),"Identifier");i.name="in",n.push(i),this.inIsIdentifier=!1}else n.push(this.parseIdent(!0));if(r&&this.eat(t))break}else n.push(null);if(this.expect(F.colon,"Expected ':' in selector"),s.push(this.parseExpression(!0,null,!0,!0)),this.eat(t))break;if(this.type===F.comma){for(e.parameters=[];this.eat(F.comma);)e.parameters.push(this.parseExpression(!0,null,!0,!0));this.eat(t);break}r=!1}};var Re=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new G(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Fe=Z.prototype;function we(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}Fe.startNode=function(){return new Re(this,this.start+this.tokMacroOffset,this.startLoc)},Fe.startNodeAt=function(e,t){return new Re(this,e,t)},Fe.startNodeFrom=function(e){var t=new Re(this);return t.start=e.start,e.commentsBefore&&(t.commentsBefore=e.commentsBefore,delete e.commentsBefore),e.spacesBefore&&(t.spacesBefore=e.spacesBefore,delete e.spacesBefore),this.options.locations&&(t.loc=new G(this,t.start,t.end),t.loc.start=e.loc.start),this.options.ranges&&(t.range=[e.range[0],0]),t},Fe.finishNode=function(e,t){return we.call(this,e,t,this.lastTokEnd+this.lastTokMacroOffset,this.lastTokEndLoc)},Fe.finishNodeAt=function(e,t,r,n){return we.call(this,e,t,r,n)},Fe.copyNode=function(e){var t=new Re(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Te="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Pe=Te+" Extended_Pictographic",ke=Pe+" EBase EComp EMod EPres ExtPict",Ie={9:Te,10:Pe,11:Pe,12:ke,13:ke},Ae="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Ne="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Oe=Ne+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",je=Oe+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Me=je+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",De={9:Ne,10:Oe,11:je,12:Me,13:Me+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith"},Ue={};function Be(e){var t=Ue[e]={binary:y(Ie[e]+" "+Ae),nonBinary:{General_Category:y(Ae),Script:y(De[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Ve=0,Ke=[9,10,11,12,13];Ve=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=Ue[e.options.ecmaVersion>=13?13:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Ge(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function ze(e){return e>=65&&e<=90||e>=97&&e<=122}function We(e){return ze(e)||95===e}function Je(e){return We(e)||Ye(e)}function Ye(e){return e>=48&&e<=57}function Xe(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Qe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function $e(e){return e>=48&&e<=55}He.prototype.reset=function(e,t,r){var n=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},He.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},He.prototype.at=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var s=r.charCodeAt(e);if(!t&&!this.switchU||s<=55295||s>=57344||e+1>=n)return s;var i=r.charCodeAt(e+1);return i>=56320&&i<=57343?(s<<10)+i-56613888:s},He.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var s,i=r.charCodeAt(e);return!t&&!this.switchU||i<=55295||i>=57344||e+1>=n||(s=r.charCodeAt(e+1))<56320||s>57343?e+1:e+2},He.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},He.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},He.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},He.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},qe.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n-1&&this.raise(e.start,"Duplicate regular expression flag")}},qe.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},qe.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},qe.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},qe.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},qe.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return-1!==s&&s=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},qe.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},qe.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},qe.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!Ge(t)&&(e.lastIntValue=t,e.advance(),!0)},qe.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!Ge(r);)e.advance();return e.pos!==t},qe.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},qe.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},qe.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},qe.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=v(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=v(e.lastIntValue);return!0}return!1},qe.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return u(e,!0)||36===e||95===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},qe.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return h(e,!0)||36===e||95===e||8204===e||8205===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},qe.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},qe.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},qe.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},qe.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},qe.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},qe.regexp_eatZero=function(e){return 48===e.current()&&!Ye(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},qe.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},qe.regexp_eatControlLetter=function(e){var t=e.current();return!!ze(t)&&(e.lastIntValue=t%32,e.advance(),!0)},qe.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var r,n=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(s&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(i-55296)+(a-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((r=e.lastIntValue)>=0&&r<=1114111))return!0;s&&e.raise("Invalid unicode escape"),e.pos=n}return!1},qe.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},qe.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},qe.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},qe.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1},qe.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){g(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},qe.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},qe.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";We(t=e.current());)e.lastStringValue+=v(t),e.advance();return""!==e.lastStringValue},qe.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Je(t=e.current());)e.lastStringValue+=v(t),e.advance();return""!==e.lastStringValue},qe.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},qe.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},qe.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;!e.switchU||-1!==t&&-1!==r||e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},qe.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||$e(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},qe.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},qe.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!Ye(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},qe.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},qe.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ye(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},qe.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Xe(r=e.current());)e.lastIntValue=16*e.lastIntValue+Qe(r),e.advance();return e.pos!==t},qe.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r}else e.lastIntValue=t;return!0}return!1},qe.regexp_eatOctalDigit=function(e){var t=e.current();return $e(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},qe.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n=this.input.length?this.finishToken(F.eof):r.override?r.override(this):void this.readToken(this.fullCharCodeAtPos(),e,t)},et.readToken=function(e,t,r){return u(e,this.options.ecmaVersion>=6)||92===e?this.readWord(null,r):this.getTokenFromCode(e)},et.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},et.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,s=t;(n=V(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},et.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos=this.input.length){if(this.options.preprocess){if(t)return!0;if(!this.preprocessStack.length)break;null==this.firstEndOfFile&&(this.firstEndOfFile=this.pos);var n=this.preprocessStack.pop();this.pos=n.end,this.input=n.input,this.curLine=n.currentLine,this.lineStart=n.currentLineStart,this.preprocessOnlyTransformArgumentsForLastToken=n.onlyTransformArgumentsForLastToken,this.preprocessParameterScope=n.parameterScope,this.tokPosMacroOffset=n.macroOffset,this.sourceFile=n.sourceFile,this.firstEnd=n.lastEnd;var s=this.preprocessStack.length;return this.preprocessStackLastItem=s?this.preprocessStack[s-1]:null,this.skipSpace(e)}break}switch(r=this.input.charCodeAt(this.pos)){case 32:case 160:++this.pos;break;case 13:if(e)break e;10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:if(e)break e;++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;case 92:if(!this.options.preprocess)break e;var i=this.pos+1;for(r=this.input.charCodeAt(i);i=5760&&K.test(String.fromCharCode(r)));)r=this.input.charCodeAt(++i);D.lastIndex=0;var o=D.exec(this.input.slice(i,i+2));if(!o||0!==o.index)break e;this.pos=i+o[0].length,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;default:if(!(r>8&&r<14||r>=5760&&K.test(String.fromCharCode(r))))break e;++this.pos}}return r},et.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;if(this.type=e,this.value=t,this.updateContext(r),this.options.preprocess&&this.preprocessPrescanFor(35,35)){this.skipSpace();var n=null!=t?t:e.label||e.type;if(this.pos+=2,null!=n){var s,i=this.options.locations&&new Ce(this.curLine,this.lineStart),o=this.tokInput,a=this.end,c=this.start,l=this.start+this.tokMacroOffset,p=this.preprocessStackLastItem&&this.preprocessStackLastItem.macro&&this.preprocessStackLastItem.macro.variadicName;this.skipSpace(),p&&p===this.input.slice(this.pos,this.pos+p.length)&&(s=!0),this.preConcatenating=!0,this.nextToken(!1,2),this.preConcatenating=!1;var u=null!=this.value?this.value:this.type.keyword||this.type.label;if(null!=u){if(s&&","===n&&""===u)return this.nextToken();var h=""+n+u,d=this.start+this.tokPosMacroOffset;this.skipSpace();var f=new $(null,h,null,l,!1,null,!1,i),m=this.readTokenFromMacro(f,this.tokPosMacroOffset,this.preprocessStackLastItem?this.preprocessStackLastItem.parameterDict:null,null,this.pos,this.next,null);if(!this.preprocessStackLastItem||this.preprocessStackLastItem.macro!==f||this.pos===this.input.length)return m;this.type=e,this.start=c,this.end=a,this.tokInput=o,this.tokPosMacroOffset=d-n.length,s||console.warn("Warning: pasting formed '"+h+"', an invalid preprocessing token")}}}},et.readToken_dot=function(e){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0,et.finishToken);var r=this.input.charCodeAt(this.pos+2);return(this.options.ecmaVersion>=6||this.preprocessIsParsingPreprocess)&&46===t&&46===r?(this.pos+=3,e.call(this,F.ellipsis)):(++this.pos,e.call(this,F.dot))},et.readToken_slash=function(e){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(F.assign,2,e):this.finishOp(F.slash,1,e)},et.readToken_mult_modulo_exp=function(e,t){var r=this.input.charCodeAt(this.pos+1),n=1,s=42===e?F.star:F.modulo;return this.options.ecmaVersion>=7&&42===e&&42===r&&(++n,s=F.starstar,r=this.input.charCodeAt(this.pos+2)),61===r?this.finishOp(F.assign,n+1,t):this.finishOp(s,n,t)},et.readToken_pipe_amp=function(e,t){var r=this.input.charCodeAt(this.pos+1);if(r===e){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(F.assign,3,t);return this.finishOp(124===e?F.logicalOR:F.logicalAND,2,t)}return 61===r?this.finishOp(F.assign,2,t):this.finishOp(124===e?F.bitwiseOR:F.bitwiseAND,1,t)},et.readToken_caret=function(e){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(F.assign,2,e):this.finishOp(F.bitwiseXOR,1,e)},et.readToken_plus_min=function(e,t){var r=this.input.charCodeAt(this.pos+1);return r===e?45!==r||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!D.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(F.incDec,2,t):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===r?this.finishOp(F.assign,2,t):this.finishOp(F.plusMin,1,t)},et.readToken_lt_gt=function(e,t){if(60===e&&(this.type===M._import||this.preType===P._preInclude)&&this.options.objj)for(var r=this.pos+1;;){var n=this.input.charCodeAt(++this.pos);if(62===n)return t.call(this,N._filename,this.input.slice(r,this.pos++));(this.pos>=this.input.length||13===n||10===n||8232===n||8233===n)&&this.raise(this.start,"Unterminated import statement")}var s=this.input.charCodeAt(this.pos+1),i=1;return s===e?(i=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(F.assign,i+1,t):this.finishOp(F.bitShift,i,t)):33!==s||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===s&&(i=2),this.finishOp(F.relational,i,t)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},et.readToken_eq_excl=function(e,t){var r=this.input.charCodeAt(this.pos+1);return 61===r?this.finishOp(F.equality,61===this.input.charCodeAt(this.pos+2)?3:2,t):61===e&&62===r&&this.options.ecmaVersion>=6?(this.pos+=2,t.call(this,F.arrow)):this.finishOp(61===e?F.eq:F.prefix,1,t)},et.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(F.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(F.assign,3);return this.finishOp(F.coalesce,2)}}return this.finishOp(F.question,1)},et.readToken_numberSign=function(e){if(this.preprocessIsParsingPreprocess)return++this.pos,e.call(this,P._preprocess);D.lastIndex=0;var t=D.exec(this.input.slice(this.localLastEnd,this.pos));if(0!==this.lastEnd&&this.lastEnd!==this.pos&&!t&&(this.preprocessStackLastItem&&!this.preprocessStackLastItem.isIncludeFile||0!==this.pos)&&this.preprocessStackLastItem)return this.preprocessStringify();var r=this.options.ecmaVersion,n=35,s=this.pos++,i=this.pos,o=this.fullCharCodeAtPos(),a=s,c=this.readWord1();e:if(this.options.preprocess){0===c.length&&(this.skipSpace(),c=this.readWord1()),D.lastIndex=0;var l=D.exec(this.input.slice(this.localLastEnd,s));if(0===this.lastTokEnd||this.lastTokEnd===s||l||(!this.preprocessStackLastItem||this.preprocessStackLastItem.isIncludeFile)&&0===s){switch(c){case"pragma":this.preStart=this.start,this.preprocesSkipRestOfLine();break;case"define":if(this.preStart=this.start,!this.preNotSkipping)return e.call(this,P._preDefine);this.preprocessParseDefine();break;case"undef":this.preprocessReadToken(),this.options.preprocessUndefineMacro(this.preprocessGetIdent());break;case"if":if(this.preStart=this.start,!this.preNotSkipping)return e.call(this,P._preIf);var p=this.exprAllowed;this.exprAllowed=!1,this.preIfLevel.push(P._preIf),this.preprocessReadToken(!1,!1,!0);var h=this.preprocessParseExpression(!0);this.preprocessEvalExpression(h)||(this.preNotSkipping=!1,this.preprocessSkipToElseOrEndif()),this.exprAllowed=p;break;case"ifdef":if(this.preStart=this.start,!this.preNotSkipping)return e.call(this,P._preIfdef);this.preIfLevel.push(P._preIf),this.preprocessReadToken();var d=this.preprocessGetIdent();this.options.preprocessIsMacro(d)||(this.preNotSkipping=!1,this.preprocessSkipToElseOrEndif());break;case"ifndef":if(this.preStart=this.start,!this.preNotSkipping)return e.call(this,P._preIfdef);this.preIfLevel.push(P._preIf),this.preprocessReadToken();var f=this.preprocessGetIdent();this.options.preprocessIsMacro(f)&&(this.preNotSkipping=!1,this.preprocessSkipToElseOrEndif());break;case"elif":if(this.preStart=this.start,this.preIfLevel.length){if(!this.preNotSkipping){var m=this.exprAllowed;this.exprAllowed=!1,this.preNotSkipping=!0,this.preprocessReadToken(!1,!1,!0);var g=this.preprocessParseExpression(!0);this.preNotSkipping=!1,this.tokRegexpAllowed=m;var _=this.preprocessEvalExpression(g);return e.call(this,_?P._preElseIfTrue:P._preElseIfFalse)}this.preIfLevel[this.preIfLevel.length-1]===P._preIf?(this.preNotSkipping=!1,e.call(this,P._preElseIf),this.preprocessReadToken(),this.preprocessSkipToElseOrEndif(!0)):this.raise(this.preStart,"#elsif after #else")}else this.raise(this.preStart,"#elif without #if");break;case"else":if(this.preStart=this.start,this.preIfLevel.length){if(!this.preNotSkipping)return this.preIfLevel[this.preIfLevel.length-1]=P._preElse,e.call(this,P._preElse);this.preIfLevel[this.preIfLevel.length-1]===P._preIf?(this.preIfLevel[this.preIfLevel.length-1]=P._preElse,this.preNotSkipping=!1,e.call(this,P._preElse),this.preprocessReadToken(),this.preprocessSkipToElseOrEndif(!0)):this.raise(this.preStart,"#else after #else")}else this.raise(this.preStart,"#else without #if");break;case"endif":if(this.preStart=this.start,this.preIfLevel.length){if(this.preNotSkipping){this.preIfLevel.pop();break}}else this.raise(this.preStart,"#endif without #if");return e.call(this,P._preEndif);case"include":if(!this.preNotSkipping)return e.call(this,P._preInclude);var y;this.preprocessReadToken(),this.preType===F.string?y=!0:this.preType===P._filename?y=!1:this.raise(this.preStart,'Expected "FILENAME" or : '+(this.preType.keyword||this.preType.type));var S=this.preVal,b=this.options.preprocessGetIncludeFile(this.preVal,y)||this.raise(this.preStart,"'"+S+"' file not found"),E=b.include,C=new $(null,E,null,0,!1,null,!1,null,b.sourceFile);return this.preprocessFinishToken(P._preprocess,null,null,!0),this.pushMacroToStack(C,C.macro,this.tokPosMacroOffset,null,null,this.pos,null,!0),this.skipSpace(),void this.nextToken(!0);case"error":var L=this.preStart;this.preprocessReadToken(!1,!1,!0),this.raise(L,"Error: "+String(this.preprocessEvalExpression(this.preprocessParseExpression())));break;case"warning":this.preprocessReadToken(!1,!1,!0),console.warn("Warning: "+String(this.preprocessEvalExpression(this.preprocessParseExpression())));break;default:break e}return this.preprocessFinishToken(this.preType,null,null,!0),this.next(!1,!0)}k.test(c)&&this.raise(a,"Preprocessor directives may only be used at the beginning of a line")}if(r>=13&&(a=i,n=o,u(o,!0)||92===o))return this.finishToken(F.privateId,c);this.raise(a,"Unexpected character '"+v(n)+"'")},et.readToken_at=function(e,t){var r=this.input.charCodeAt(++this.pos);if(34===r||39===r)return this.readString(r,t);if(123===r)return t.call(this,M._dictionaryLiteral);if(91===r)return t.call(this,M._arrayLiteral);var n=this.readWord1(),s=O[n];return s||this.raise(this.tokStart,"Unrecognized Objective-J keyword '@"+n+"'"),t.call(this,s)},et.getTokenFromCode=function(e,t,r){switch(void 0===t&&(t=this.finishToken),e){case 46:return this.readToken_dot(t);case 40:return++this.pos,t.call(this,F.parenL);case 41:return++this.pos,t.call(this,F.parenR);case 59:return++this.pos,t.call(this,F.semi);case 44:return++this.pos,t.call(this,F.comma);case 91:return++this.pos,t.call(this,F.bracketL);case 93:return++this.pos,t.call(this,F.bracketR);case 123:return++this.pos,t.call(this,F.braceL);case 125:return++this.pos,t.call(this,F.braceR);case 58:return++this.pos,t.call(this,F.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,t.call(this,F.backQuote);case 48:var n=this.input.charCodeAt(this.pos+1);if(120===n||88===n)return this.readRadixNumber(16,t);if(this.options.ecmaVersion>=6){if(111===n||79===n)return this.readRadixNumber(8,t);if(98===n||66===n)return this.readRadixNumber(2,t)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1,t);case 34:case 39:return this.readString(e,t);case 47:return this.readToken_slash(t);case 37:case 42:return this.readToken_mult_modulo_exp(e,t);case 124:case 38:return this.readToken_pipe_amp(e,t);case 94:return this.readToken_caret(t);case 43:case 45:return this.readToken_plus_min(e,t);case 60:case 62:return this.readToken_lt_gt(e,t);case 61:case 33:return this.readToken_eq_excl(e,t);case 63:return this.readToken_question();case 126:return this.finishOp(F.prefix,1,t);case 35:return this.readToken_numberSign(t);case 92:if(this.options.preprocess)return this.finishOp(P._preBackslash,1,t);case 64:return!!this.options.objj&&this.readToken_at(e,t)}if(r&&(13===e||10===e||8232===e||8233===e)){var s=13===e&&10===this.input.charCodeAt(this.pos+1)?2:1;return this.options.locations&&(this.lineStart=this.pos+s,++this.curLine),this.finishOp(F.eol,s,t)}this.raise(this.pos,"Unexpected character '"+v(e)+"'")},et.preprocessStringify=function(){var e=this.preprocessStack.length,t=this.preprocessStackLastItem;this.pos++,this.preConcatenating=!0,this.next(!1,!1,2),this.preConcatenating=!1;var r,n=this.start+this.tokMacroOffset,s=this.options.locations&&new Ce(this.curLine,this.lineStart);if(this.type===F.string){var i='"'===this.tokInput.slice(this.start,this.start+1)?'\\"':"'";r=i,r+=tt(this.value),r+=i}else r=null!=this.value?this.value:this.type.keyword||this.type.label;for(;this.preprocessStack.length>e&&t===this.preprocessStack[e-1]&&this.pos!==this.input.length;)if(this.preConcatenating=!0,this.next(!1,!1,2),this.preConcatenating=!1,this.lastEnd!==this.start&&(r+=" "),this.type===F.string){var o='"'===this.tokInput.slice(this.start,this.start+1)?'\\"':"'";r+=o,r+=tt(this.value),r+=o}else r+=null!=this.value?this.value:this.type.keyword||this.type.label;var a=new $(null,'"'+r+'"',null,n,!1,null,!1,s);return this.readTokenFromMacro(a,this.tokPosMacroOffset,null,null,this.pos,this.next)},et.finishOp=function(e,t,r){void 0===r&&(r=this.finishToken);var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,r.call(this,e,n)},et.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(D.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var i=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(i);var a=this.regexpState||(this.regexpState=new He(this));a.reset(r,s,o),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var c=null;try{c=new RegExp(s,o)}catch(e){}return this.finishToken(F.regexp,{pattern:s,flags:o,value:c})},et.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===undefined,s=r&&48===this.input.charCodeAt(this.pos),i=this.pos,o=0,a=0,c=0,l=null==t?1/0:t;c=97?p-97+10:p>=65?p-65+10:p>=48&&p<=57?p-48:1/0)>=e)break;a=p,o=o*e+u}}return n&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===i||null!=t&&this.pos-i!==t?null:o},et.readRadixNumber=function(e,t){var r=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=rt(this.input.slice(r,this.pos)),++this.pos):u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),t.call(this,F.num,n)},et.readNumber=function(e,t){var r=this.pos;e||null!==this.readInt(10,undefined,!0)||this.raise(r,"Invalid number");var n=this.pos-r>=2&&48===this.input.charCodeAt(r);n&&this.strict&&this.raise(r,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===s){var i=rt(this.input.slice(r,this.pos));return++this.pos,u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),t.call(this,F.num,i)}n&&/[89]/.test(this.input.slice(r,this.pos))&&(n=!1),46!==s||n||(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),69!==s&&101!==s||n||(43!==(s=this.input.charCodeAt(++this.pos))&&45!==s||++this.pos,null===this.readInt(10)&&this.raise(r,"Invalid number")),u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,a=(o=this.input.slice(r,this.pos),n?parseInt(o,8):parseFloat(o.replace(/_/g,"")));return t.call(this,F.num,a)},et.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},et.readString=function(e,t){for(var r="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;92===s?(r+=this.input.slice(n,this.pos),r+=this.readEscapedChar(!1),n=this.pos):8232===s||8233===s?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(B(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return r+=this.input.slice(n,this.pos++),t.call(this,F.string,r)};var nt={};et.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==nt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},et.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw nt;this.raise(e,t)},et.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==F.template&&this.type!==F.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(F.template,e)):36===r?(this.pos+=2,this.finishToken(F.dollarBraceL)):(++this.pos,this.finishToken(F.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(B(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},et.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8);return s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return B(t)?"":String.fromCharCode(t)}},et.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},et.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos0;){if(i.isNewLine(e.charCodeAt(n))){n++;break}n--}return{lineStart:n,lineEnd:r}}function m(e,t,r){const n={},{lineStart:s,lineEnd:o}=f(r,t.start),a=i.getLineInfo(r,t.start);return n.loc=a,n.lineStart=s,n.lineEnd=o,n.message=e,n.messageOnLine=a.line,n.messageOnColumn=a.column,n.messageForNode=t,n.messageType="WARNING",n.messageForLine=r.substring(n.lineStart,n.lineEnd),n}class g{constructor(e,t){if(this.vars=Object.create(null),t)for(const e in t)this[e]=t[e];this.prev=e,e?(this.compiler=e.compiler,this.nodeStack=e.nodeStack.slice(0),this.nodePriorStack=e.nodePriorStack.slice(0),this.nodeStackOverrideType=e.nodeStackOverrideType.slice(0)):(this.nodeStack=[],this.nodePriorStack=[],this.nodeStackOverrideType=[])}toString(){return this.ivars?"ivars: "+JSON.stringify(this.ivars):""}compiler(){return this.compiler}rootScope(){return this.prev?this.prev.rootScope():this}isRootScope(){return!this.prev}currentClassName(){return this.classDef?this.classDef.name:this.prev?this.prev.currentClassName():null}currentProtocolName(){return this.protocolDef?this.protocolDef.name:this.prev?this.prev.currentProtocolName():null}getIvarForCurrentClass(e){if(this.ivars){const t=this.ivars[e];if(t)return t}const t=this.prev;return t&&!this.classDef?t.getIvarForCurrentClass(e):null}getLvarScope(e,t){if(this.vars){if(this.vars[e])return this}const r=this.prev;return!r||t&&this.methodType?this:r.getLvarScope(e,t)}getLvar(e,t){if(this.vars){const t=this.vars[e];if(t)return t}const r=this.prev;return!r||t&&this.methodType?null:r.getLvar(e,t)}getVarScope(){const e=this.prev;return e?e.getVarScope():this}currentMethodType(){return this.methodType?this.methodType:this.prev?this.prev.currentMethodType():null}copyAddedSelfToIvarsToParent(){if(this.prev&&this.addedSelfToIvars)for(const e in this.addedSelfToIvars){const t=this.addedSelfToIvars[e],r=(this.prev.addedSelfToIvars||(this.prev.addedSelfToIvars=Object.create(null)))[e]||(this.prev.addedSelfToIvars[e]=[]);r.push.apply(r,t)}}addMaybeWarning(e){const t=this.rootScope();let r=t._maybeWarnings;if(r){r[r.length-1].isEqualTo(e)||r.push(e)}else t._maybeWarnings=r=[e]}variablesNotReadWarnings(){const e=this.compiler;if(e.options.warnings.includes(c)&&this.prev&&this.vars)for(const t in this.vars){const r=this.vars[t];r.isRead||"var"!==r.type&&"let"!==r.type&&"const"!==r.type||e.addWarning(m("Variable '"+t+"' is never read",r.node,e.source))}}maybeWarnings(){return this.rootScope()._maybeWarnings}pushNode(e,t){const r=this.nodePriorStack,n=r.length,s=n?r[n-1]:null,i=n?this.nodeStack[n-1]:null;s&&i!==e&&s.push(e),r.push(i===e?s:[]),this.nodeStack.push(e),this.nodeStackOverrideType.push(t)}popNode(){return this.nodeStackOverrideType.pop(),this.nodePriorStack.pop(),this.nodeStack.pop()}currentNode(){const e=this.nodeStack;return e[e.length-1]}currentOverrideType(){const e=this.nodeStackOverrideType;return e[e.length-1]}priorNode(){const e=this.nodePriorStack,t=e.length;if(t>1){const r=e[t-2];return r[r.length-2]||null}return null}formatDescription(e,t,r){const n=this.nodeStack,s=n.length;if((e=e||0)>=s)return null;const i=s-e-1,o=n[i],a=t||this.compiler.formatDescription,c=t?t.parent:a;let l;if(c){if(l=c[r===o?this.nodeStackOverrideType[i]:o.type],r===o&&!l)return null}if(l)return this.formatDescription(e+1,l);if(l=this.formatDescription(e+1,t,o),l)return l;{const e=a.prior;if(e){const t=this.priorNode(),r=e[t?t.type:"None"];if(r)return r}return a}}}class _ extends g{variablesNotReadWarnings(){g.prototype.variablesNotReadWarnings.call(this);const e=this.prev;if(e&&this.possibleHoistedVariables)for(const t in this.possibleHoistedVariables){const r=this.possibleHoistedVariables[t];if(r){if(null!=(e.vars&&e.vars[t])){if(null!=(e.possibleHoistedVariables||(e.possibleHoistedVariables=Object.create(null)))[t])throw new Error("Internal inconsistency, previous scope should not have this possible hoisted variable '"+t+"'");e.possibleHoistedVariables[t]=r}}}}}class y extends _{getVarScope(){return this}}class v{constructor(e,t,n){if(e){if(this.rootNode=new r.SourceNode,this.concat=this.concatSourceNode,this.toString=this.toStringSourceNode,this.isEmpty=this.isEmptySourceNode,this.appendStringBuffer=this.appendStringBufferSourceNode,this.length=this.lengthSourceNode,this.removeAtIndex=this.removeAtIndexSourceNode,t){const e=t.toString(),r=e.substr(e.lastIndexOf("/")+1),s=e.substr(0,e.lastIndexOf("/")+1);this.filename=r,s.length>0&&(this.sourceRoot=s),null!=n&&this.rootNode.setSourceContent(r,n)}null!=n&&(this.sourceContent=n)}else this.atoms=[],this.concat=this.concatString,this.toString=this.toStringString,this.isEmpty=this.isEmptyString,this.appendStringBuffer=this.appendStringBufferString,this.length=this.lengthString,this.removeAtIndex=this.removeAtIndexString}toStringString(){return this.atoms.join("")}toStringSourceNode(){return this.rootNode.toStringWithSourceMap({file:this.filename+"s",sourceRoot:this.sourceRoot})}concatString(e){this.atoms.push(e)}concatSourceNode(e,t,n){t?this.rootNode.add(new r.SourceNode(t.loc.start.line,t.loc.start.column,t.loc.source,e,n)):this.rootNode.add(e),this.notEmpty||(this.notEmpty=!0)}concatFormat(e){if(!e)return;const t=e.split("\n"),r=t.length;if(r>1){this.concat(t[0]);for(let e=1;e0?indentation+Array(r*indentationSpaces+1).join(indentType):indentation.substring(indentationSize*-r)),n=n.slice(1+e)}else(n||e===r-1)&&this.concat(this.indentation);n&&this.concat(n)}}else this.concat(e)}isEmptyString(){return 0!==this.atoms.length}isEmptySourceNode(){return this.notEmpty}appendStringBufferString(e){const t=this.atoms,r=t.length,n=e.atoms,s=n.length;t.length=r+s;for(let e=0;e>":5,">>>":5,"<":6,"<=":6,">":6,">=":6,in:6,instanceof:6,"==":7,"!=":7,"===":7,"!==":7,"&":8,"^":9,"|":10,"&&":11,"||":12,"??":13},k={MemberExpression:1,CallExpression:1,NewExpression:1,ChainExpression:2,FunctionExpression:3,ArrowFunctionExpression:3,ImportExpression:3,UnaryExpression:4,UpdateExpression:4,BinaryExpression:5,LogicalExpression:6,ConditionalExpression:7,AssignmentExpression:8};function I(e,t,r){}const A=o.default.make({ImportStatement:function(e,t,r){const n=e.filename.value;t.compiler.dependencies.push({url:n,isLocal:e.localfilepath})},TypeDefStatement:I,ClassStatement:I,ClassDeclarationStatement:I,MessageSendExpression:I,GlobalStatement:I,ProtocolDeclarationStatement:I,ArrayLiteral:I,Reference:I,DictionaryLiteral:I,Dereference:I,SelectorLiteralExpression:I});function N(e,t,r){const n=e.type,s=k[n]||-1,i=k[t.type]||-1;let o,a;return s{switch(e.type){case"Identifier":t.push(e);break;case"ObjectPattern":t.concat(e.properties.reduce((e,r)=>e.concat(n("RestElement"===r.type?r.argument:r.value,t)),[]));break;case"ArrayPattern":t.concat(e.elements.reduce((e,r)=>null!=r?e.concat(n(r,t)):e,[]));break;case"AssignmentPattern":t.concat(n(e.left,t))}return t},s=t.compiler,i=s.jsBuffer,o="var"===e.kind,a=o?t.getVarScope():t;t.isFor||i.concat(s.indentation),i.concat(e.kind+" ",e);let c=!0;for(const p of e.declarations){let u=n(p.id,[]);if(u)for(const t of u){const r=o&&a.possibleHoistedVariables?.[t.name],n={type:e.kind,node:t,isRead:r?r.isRead:0};r&&(r.variable&&(r.variable.isRead-=r.isRead),a.possibleHoistedVariables[t.name]=null),a.vars[t.name]=n}if(c||(t.isFor?i.concat(", "):(i.concat(",\n"),i.concat(s.indentation),i.concat(" "))),r(p.id,t,"Pattern"),p.init&&(i.concat(" = "),r(p.init,t,"Expression")),t.addedSelfToIvars&&u)for(const e of u){const r=t.addedSelfToIvars[e.name];if(r){const n=r.length;for(let t=0;t1||0===e.length}(e.params);i&&n.concat("(");let o=!0;for(const s of e.params)o?o=!1:n.concat(", "),r(s,t,"Pattern");i&&n.concat(")"),n.concat(" => "),e.expression?"AssignmentExpression"===e.body.type&&"ObjectPattern"===e.body.left.type||"FunctionExpression"===e.body.type||"ObjectExpression"===e.body.type?T(r)(e.body,s,"Expression"):r(e.body,s,"Expression"):(s.skipIndentation=!0,s.endOfScopeBody=!0,t.compiler.indentation+=t.compiler.indentStep,r(e.body,s,"BlockStatement"),t.compiler.indentation=t.compiler.indentation.substring(t.compiler.indentationSize)),s.variablesNotReadWarnings(),s.copyAddedSelfToIvarsToParent()},Identifier:function(e,t,r){const n=t.compiler,s=n.jsBuffer,i=e.name;if(t.isPropertyKey)return void s.concat(i,e,"self"===i?"self":null);let o=t.getLvarScope(i,!0),c=o.vars?.[i];if(!t.secondMemberExpression&&"-"===t.currentMethodType()){if(n.getIvarForClass(i,t))c?n.options.warnings.includes(l)&&n.addWarning(m("Local declaration of '"+i+"' hides instance variable",e,n.source)):(((t.addedSelfToIvars||(t.addedSelfToIvars=Object.create(null)))[i]||(t.addedSelfToIvars[i]=[])).push({node:e,index:s.length()}),s.concat("self.",e));else if(!O.test(i)){let r;const s=void 0!==global[i]||"undefined"!=typeof window&&void 0!==window[i]||n.getClassDef(i),o=t.getLvar(i);(!s||o&&"class"===o.type)&&(o||(t.assignment&&n.options.warnings.includes(p)?(r=new a("Creating global variable inside function or method '"+i+"'",e,n.source),t.vars[i]={type:"remove global warning",node:e}):n.options.warnings.includes(u)&&(r=new a("Using unknown class or uninitialized global variable '"+i+"'",e,n.source)))),r&&t.addMaybeWarning(r)}}if(!t.assignment||!t.secondMemberExpression)if(c)c.isRead++;else{o=o.getLvarScope(i),c=o.vars&&o.vars[i],c&&c.isRead++;let e=(o.possibleHoistedVariables||(o.possibleHoistedVariables=Object.create(null)))[i];if(null==e?(e={isRead:1},o.possibleHoistedVariables[i]=e):e.isRead++,c){if(e.variable&&e.variable!==c||e.varScope&&e.varScope!==o)throw new Error("Internal inconsistency, var or scope is not the same");e.variable=c,e.varScope=o}}s.concat(i,e,"self"===i?"self":null)},YieldExpression:function(e,t,r){const n=t.compiler.jsBuffer;n.concat("yield",e),e.delegate&&n.concat("*"),e.argument&&(n.concat(" "),r(e.argument,t,"Expression"))},VariablePattern:function(e,t,r){t.compiler.jsBuffer.concat(e.name,e)},Literal:function(e,t,r){const n=t.compiler;if(e.raw)"@"===e.raw.charAt(0)?n.jsBuffer.concat(e.raw.substring(1),e):n.jsBuffer.concat(e.raw,e);else{const t=e.value,r=-1!==t.indexOf('"');n.jsBuffer.concat(r?"'":'"',e),n.jsBuffer.concat(t),n.jsBuffer.concat(r?"'":'"')}},ClassDeclaration:function(e,t,r){const n=t.compiler.jsBuffer;"ClassExpression"===e.type&&n.concat("("),n.concat("class "),e.id&&(t.vars[e.id.name]={type:"JSClass",node:e},r(e.id,t)),e.superClass&&(n.concat(" extends "),r(e.superClass,t)),t.compiler.indentation+=t.compiler.indentStep,r(e.body,t,"ClassBody"),t.compiler.indentation=t.compiler.indentation.substring(t.compiler.indentationSize),"ClassExpression"===e.type&&n.concat(")")},ClassExpression:function(e,t,r){r(e,t,"ClassDeclaration")},ClassBody:function(e,t,r){const n=t.compiler;n.jsBuffer.concat(" {\n");for(const s of e.body)r(s,t),n.jsBuffer.concat("\n");n.jsBuffer.concat("}\n")},PropertyDefinition:function(e,t,r){const n=t.compiler.jsBuffer;n.concat(t.compiler.indentation),e.static&&n.concat("static "),e.computed&&n.concat("["),r(e.key,t),e.computed&&n.concat("]"),e.value&&(n.concat(" = "),r(e.value,t)),n.concat(";")},MethodDefinition:function(e,t,r){const n=[];e.static&&n.push("static"),"get"===e.kind&&n.push("get"),"set"===e.kind&&n.push("set"),e.value.id=e.key,t.skipFunctionKeyword=!0,t.methodPrefix=n,e.computed&&(t.isComputed=!0),r(e.value,t),delete t.methodPrefix,t.isComputed=!1,t.skipFunctionKeyword=!1},PrivateIdentifier:function(e,t,r){const n=t.compiler.jsBuffer;n.concat("#"),n.concat(e.name)},MetaProperty:function(e,t,r){const n=t.compiler.jsBuffer;"import"===e.meta.name?n.concat("import.meta"):n.concat("new.target")},Super:function(e,t,r){t.compiler.jsBuffer.concat("super")},ExportNamedDeclaration:function(e,t,r){const n=t.compiler.jsBuffer;if(n.concat("export "),e.declaration)r(e.declaration,t);else{n.concat("{");let s=!0;for(const i of e.specifiers)s?s=!1:n.concat(", "),r(i,t);n.concat("}"),e.source&&(n.concat(" from "),r(e.source,t))}n.concat("\n")},ExportSpecifier:function(e,t,r){const n=t.compiler.jsBuffer;r(e.local,t),e.local!==e.exported&&(n.concat(" as "),r(e.exported,t))},ExportDefaultDeclaration:function(e,t,r){const n=t.compiler.jsBuffer;t.isDefaultExport=!0,n.concat("export default "),r(e.declaration,t),delete t.isDefaultExport},ExportAllDeclaration:function(e,t,r){const n=t.compiler.jsBuffer;n.concat("export * "),e.exported&&(n.concat("as "),r(e.exported,t)),e.source&&(n.concat(" from "),r(e.source,t)),n.concat("\n")},ImportDeclaration:function(e,t,r){const n=t.compiler.jsBuffer;n.concat("import ");let s=!1,i=!0;for(const o of e.specifiers)switch(i?i=!1:n.concat(", "),o.type){case"ImportSpecifier":s||n.concat("{"),s=!0,r(o.imported,t),o.local!==o.imported&&(n.concat(" as "),r(o.local,t));break;case"ImportDefaultSpecifier":r(o.local,t);break;case"ImportNamespaceSpecifier":n.concat("* as "),r(o.local,t)}s&&n.concat("}"),e.specifiers.length>0&&n.concat(" from "),r(e.source,t),n.concat("\n")},ImportExpression:function(e,t,r){const n=t.compiler.jsBuffer;n.concat("import"),n.concat("("),r(e.source,t),n.concat(")")},ArrayLiteral:function(e,t,r){const n=t.compiler,s=n.jsBuffer,i=e.elements.length,o=t.getVarScope();if(o.receiverLevel||(o.receiverLevel=0),i?(n.options.inlineMsgSendFunctions?(s.concat("(___r",e),s.concat(++o.receiverLevel+""),s.concat(' = (CPArray.isa.method_msgSend["alloc"] || _objj_forward)(CPArray, "alloc"), ___r'),s.concat(o.receiverLevel+""),s.concat(" == null ? ___r"),s.concat(o.receiverLevel+""),s.concat(" : (___r"),s.concat(o.receiverLevel+""),s.concat('.isa.method_msgSend["initWithObjects:count:"] || _objj_forward)(___r'),s.concat(o.receiverLevel+""),s.concat(', "initWithObjects:count:", [')):(s.concat("(___r",e),s.concat(++o.receiverLevel+""),s.concat(' = CPArray.isa.objj_msgSend0(CPArray, "alloc"), ___r'),s.concat(o.receiverLevel+""),s.concat(" == null ? ___r"),s.concat(o.receiverLevel+""),s.concat(" : ___r"),s.concat(o.receiverLevel+""),s.concat(".isa.objj_msgSend2(___r"),s.concat(o.receiverLevel+""),s.concat(', "initWithObjects:count:", [')),o.maxReceiverLevel>=o.receiverLevel||(o.maxReceiverLevel=o.receiverLevel)):(n.options.inlineMsgSendFunctions?(s.concat("(___r",e),s.concat(++o.receiverLevel+""),s.concat(' = (CPArray.isa.method_msgSend["alloc"] || _objj_forward)(CPArray, "alloc"), ___r'),s.concat(o.receiverLevel+""),s.concat(" == null ? ___r"),s.concat(o.receiverLevel+""),s.concat(" : (___r"),s.concat(o.receiverLevel+""),s.concat('.isa.method_msgSend["init"] || _objj_forward)(___r'),s.concat(o.receiverLevel+""),s.concat(', "init"))')):(s.concat("(___r"),s.concat(++o.receiverLevel+""),s.concat(' = CPArray.isa.objj_msgSend0(CPArray, "alloc"), ___r'),s.concat(o.receiverLevel+""),s.concat(" == null ? ___r"),s.concat(o.receiverLevel+""),s.concat(" : ___r"),s.concat(o.receiverLevel+""),s.concat(".isa.objj_msgSend0(___r"),s.concat(o.receiverLevel+""),s.concat(', "init"))')),o.maxReceiverLevel>=o.receiverLevel||(o.maxReceiverLevel=o.receiverLevel)),i){for(let n=0;n=o.receiverLevel||(o.maxReceiverLevel=o.receiverLevel);for(let n=0;n=o.receiverLevel||(o.maxReceiverLevel=o.receiverLevel);o.receiverLevel--},ImportStatement:function(e,t,r){const n=t.compiler.jsBuffer,s=e.localfilepath;n.concat('objj_executeFile("',e),n.concat(e.filename.value),n.concat(s?'", YES);':'", NO);')},ClassDeclarationStatement:function(t,n,s){const i=n.compiler,o=i.jsBuffer,a=t.classname.name;let c=i.getClassDef(a);const l=new g(n),p="InterfaceDeclarationStatement"===t.type,u=t.protocols,d=i.options;if(i.imBuffer=new v(i.createSourceMap,i.URL,d.sourceMap&&d.sourceMapIncludeSource?i.source:null),i.cmBuffer=new v(i.createSourceMap,i.URL),i.classBodyBuffer=new v(i.createSourceMap,i.URL),i.getTypeDef(a))throw i.error_message(a+" is already declared as a type",t.classname);if(t.superclassname){if(c&&c.ivars)throw i.error_message("Duplicate class "+a,t.classname);if(p&&c&&c.instanceMethods&&c.classMethods)throw i.error_message("Duplicate interface definition for class "+a,t.classname);const e=i.getClassDef(t.superclassname.name);if(!e){let e="Can't find superclass "+t.superclassname.name;const r=i.constructor.importStack;if(r)for(let t=i.constructor.importStack.length;--t>=0;)e+="\n"+Array(2*(r.length-t)+1).join(" ")+"Imported by: "+r[t];throw i.error_message(e,t.superclassname)}c=new L(!p,a,e,Object.create(null)),o.concat("\n{var the_class = objj_allocateClassPair("+t.superclassname.name+', "'+a+'"),\nmeta_class = the_class.isa;',t)}else if(t.categoryname){if(c=i.getClassDef(a),!c)throw i.error_message("Class "+a+" not found ",t.classname);o.concat('{\nvar the_class = objj_getClass("'+a+'")\n',t),o.concat('if(!the_class) throw new SyntaxError("*** Could not find definition for class \\"'+a+'\\"");\n'),o.concat("var meta_class = the_class.isa;")}else c=new L(!p,a,null,Object.create(null)),o.concat('{var the_class = objj_allocateClassPair(Nil, "'+a+'"),\nmeta_class = the_class.isa;',t);if(u)for(let e=0,t=u.length;e/g,"")),n.concat("\n");for(let e=0;e0)for(let e=0;e0)for(let e=0,n=r.length;e0)for(let t=0;t0)for(let e=0;e0){const n=t[0];n===u[0]||"id"===n&&p&&p.typeisclass||s.addWarning(m("Conflicting return type in implementation of '"+d+"': '"+n+"' vs '"+u[0]+"'",p||e.action||c[0],s.source));for(let e=1;e=f.receiverLevel||(f.maxReceiverLevel=f.receiverLevel);s?(i.concat('.isa.method_msgSend["',e),i.concat(u,e),i.concat('"] || _objj_forward)',e)):i.concat(".isa.objj_msgSend",e)}if(!e.superObject&&(s||m<4&&i.concat(""+m,e),g?(i.concat("(",e),r(o,t,"Expression")):i.concat("(___r"+f.receiverLevel,e),d.sourceMap&&"Identifier"===o.type)){n.jsBuffer=new v,r(o,t,"Expression");S=n.jsBuffer.toString()+'.isa.method_dtable["'+u+'"]',n.jsBuffer=i}if(i.concat(", ",e),S){i.concat("(",e);for(let t=0;t2&&(n.inlineMsgSendFunctions=!0);else if(0===r.indexOf("-T"))n.includeIvarTypeSignatures=!1,n.includeMethodArgumentTypeSignatures=!1;else if(0===r.indexOf("-S"))n.sourceMap=!0,n.sourceMapIncludeSource=!0;else if(0===r.indexOf("--include")){let r=t[++e];const s=r&&r.charCodeAt(0);34!==s&&39!==s||(r=r.substring(1,r.length-1)),(n.includeFiles||(n.includeFiles=[])).push(r)}else if(0===r.indexOf("--inline-msg-send"))n.inlineMsgSendFunctions=!0;else if(0===r.indexOf("-D")){const e=r.substring(2);(n.macros||(n.macros=[])).push(e)}else if(0===r.indexOf("-W")){const e=2===r.indexOf("no-",2),t=r.substring(e?5:2),s=(n.warnings||(n.warnings=S.warnings.slice())).findIndex(function(e){return e.name===t});if(e)-1!==s&&n.warnings.splice(s,1);else if(-1===s){const e=d.find(function(e){return e.name===t});e&&n.warnings.push(e)}}}return n},Object.defineProperty(e,"__esModule",{value:!0})}),exports.FileDependency=FileDependency,FileDependency.prototype.URL=function(){return this._URL},FileDependency.prototype.isLocal=function(){return this._isLocal},FileDependency.prototype.toMarkedString=function(){var e=this.URL().absoluteString();return(this.isLocal()?MARKER_IMPORT_LOCAL:MARKER_IMPORT_STD)+";"+e.length+";"+e},FileDependency.prototype.toString=function(){return(this.isLocal()?"LOCAL: ":"STD: ")+this.URL()};var ExecutableUnloadedFileDependencies=0,ExecutableLoadingFileDependencies=1,ExecutableLoadedFileDependencies=2,ExecutableCantStartLoadYetFileDependencies=3,AnonymousExecutableCount=0;function Executable(e,t,r,n,s,i,o){if(0===arguments.length)return this;this._code=e,this._function=n||null,this._URL=makeAbsoluteURL(r||new CFURL("(Anonymous"+AnonymousExecutableCount+++")")),this._compiler=s||null,this._fileDependencies=t,this._filenameTranslateDictionary=i,o&&(this._base64EncodedSourceMap=o),t?t.length?(this._fileDependencyStatus=ExecutableUnloadedFileDependencies,this._fileDependencyCallbacks=[]):this._fileDependencyStatus=ExecutableLoadedFileDependencies:(this._fileDependencyStatus=ExecutableCantStartLoadYetFileDependencies,this._fileDependencyCallbacks=[]),this._function||s||this.setCode(e)}exports.Executable=Executable,Executable.prototype.path=function(){return this.URL().path()},Executable.prototype.URL=function(){return this._URL},Executable.prototype.functionParameters=function(){return["global","objj_executeFile","objj_importFile"]},Executable.prototype.functionArguments=function(){return[global,this.fileExecuter(),this.fileImporter()]},Executable.prototype.execute=function(){if(this._compiler){var e=this.fileDependencies(),t=0,r=e.length;for(this._compiler.pushImport(this.URL().lastPathComponent());tr&&(t+=e.substring(r,n)),s>=SURROGATE_HIGH_START&&s<=SURROGATE_HIGH_END){if(!(++n=SURROGATE_LOW_START&&i<=SURROGATE_LOW_END))return null;s=i-SURROGATE_LOW_START+(s-SURROGATE_HIGH_START<<10)+65536}else if(s>=SURROGATE_LOW_START&&s<=SURROGATE_LOW_END)return null;r=n+1,enc=[];var o=s;o>=1114112&&(o=2048,s=REPLACEMENT_CHAR),o>=65536&&(enc.unshift(String.fromCharCode(191&s|128)),s>>=6),o>=2048&&(enc.unshift(String.fromCharCode(191&s|128)),s>>=6),o>=128&&(enc.unshift(String.fromCharCode(191&s|128)),s>>=6),enc.unshift(String.fromCharCode(s|FIRSTBYTEMARK[enc.length])),t+=enc.join("")}}return 0===r?e:(n>r&&(t+=e.substring(r,n)),t)}var FileExecutablesForURLStrings={},currentCompilerFlags={},currentGccCompilerFlags="";function FileExecutable(e,t){var r=(e=makeAbsoluteURL(e)).absoluteString(),n=FileExecutablesForURLStrings[r];if(n)return n;FileExecutablesForURLStrings[r]=this;var s=StaticResource.resourceAtURL(e).contents(),i=NULL,o=e.pathExtension().toLowerCase();if(this._hasExecuted=NO,s.match(/^@STATIC;/))i=decompile(s,e);else{if(!("j"!==o&&o||s.match(/^{/))){var a=currentCompilerFlags||{};return this.cachedIncludeFileSearchResultsContent={},this.cachedIncludeFileSearchResultsURL={},void compile(this,s,e,a,t)}i=new Executable(s,[],e)}Executable.apply(this,[i.code(),i.fileDependencies(),e,i._function,i._compiler,t])}exports.FileExecutable=FileExecutable,FileExecutable.prototype=new Executable;var compile=function(e,t,r,n,s){var i=n.acornOptions||(n.acornOptions={ecmaVersion:2022});i.preprocessGetIncludeFile=function(i,o){var a=new CFURL(".",r),c=new CFURL(i),l=(o&&a||"")+c,p=e.cachedIncludeFileSearchResultsContent[l];if(!p){var u=c instanceof CFURL&&c.scheme(),h=NO;function d(i){var o=i&&i.contents(),a=o&&o.charCodeAt(o.length-1);if(null==o)throw new Error("Can't load file "+c);10!==a&&13!==a&&8232!==a&&8233!==a&&(o+="\n"),e.cachedIncludeFileSearchResultsContent[l]=o,e.cachedIncludeFileSearchResultsURL[l]=i.URL(),h&&compile(e,t,r,n,s)}o||u?(u||(c=new CFURL(c,new CFURL(s[r.lastPathComponent()]||".",a))),StaticResource.resolveResourceAtURL(c,NO,d)):StaticResource.resolveResourceAtURLSearchingIncludeURLs(c,d),p=e.cachedIncludeFileSearchResultsContent[l]}return p?{include:p,sourceFile:e.cachedIncludeFileSearchResultsURL[l]}:(h=YES,null)};var o=currentCompilerFlags&¤tCompilerFlags.includeFiles,a=!0;if(i.preIncludeFiles=[],o)for(var c=0,l=o.length;c-1)return;if(FileExecutable.printWarningsAndErrors(f,exports.messageOutputFormatInXML))throw"Compilation error";var g=f.dependencies.map(function(e){return new FileDependency(new CFURL(e.url),e.isLocal)})}e.isExecutableCantStartLoadYetFileDependencies()?(e.setFileDependencies(g),e.setExecutableUnloadedFileDependencies(),e.loadFileDependencies()):null==e._fileDependencyStatus&&(executable=new Executable(f&&f.jsBuffer?f.jsBuffer.toString():null,g,r,null,f),Executable.apply(e,[executable.code(),executable.fileDependencies(),r,executable._function,executable._compiler,s]))};function decompile(e,t){for(var r,n=new MarkedStream(e),s=NULL,i="",o=[];s=n.getMarker();){var a=n.getString();s===MARKER_TEXT?i+=a:s===MARKER_IMPORT_STD?o.push(new FileDependency(new CFURL(a),NO)):s===MARKER_IMPORT_LOCAL?o.push(new FileDependency(new CFURL(a),YES)):s===MARKER_SOURCE_MAP&&(r=a)}var c=FileExecutable._lookupCachedFunction(t);return new Executable(i,o,t,c||null,null,null,r)}FileExecutable.resetFileExecutables=function(){FileExecutablesForURLStrings={},FunctionCache={}},FileExecutable.prototype.execute=function(e){this._hasExecuted&&!e||(this._hasExecuted=YES,Executable.prototype.execute.call(this))},FileExecutable.prototype.hasExecuted=function(){return this._hasExecuted};var FunctionCache={};FileExecutable._cacheFunction=function(e,t){e="string"==typeof e?e:e.absoluteString(),FunctionCache[e]=t},FileExecutable._lookupCachedFunction=function(e){return e="string"==typeof e?e:e.absoluteString(),FunctionCache[e]},FileExecutable.setCurrentGccCompilerFlags=function(e){if(currentGccCompilerFlags!==e){currentGccCompilerFlags=e;var t=(exports.ObjJCompiler||ObjJCompiler).parseGccCompilerFlags(e);FileExecutable.setCurrentCompilerFlags(t)}},FileExecutable.currentGccCompilerFlags=function(e){return currentGccCompilerFlags},FileExecutable.setCurrentCompilerFlags=function(e){null==(currentCompilerFlags=e).transformNamedFunctionDeclarationToAssignment&&(currentCompilerFlags.transformNamedFunctionDeclarationToAssignment=!0),null==currentCompilerFlags.sourceMap&&(currentCompilerFlags.sourceMap=!1),null==currentCompilerFlags.inlineMsgSendFunctions&&(currentCompilerFlags.inlineMsgSendFunctions=!1)},FileExecutable.currentCompilerFlags=function(e){return currentCompilerFlags},FileExecutable.printWarningsAndErrors=function(e,t){for(var r=!1,n=0;n"},sel_getUid=function(e){return e},sel_isEqual=function(e,t){return e===t},sel_registerName=function(e){return e},objj_class.prototype.toString=objj_object.prototype.toString=function(){var e=this.isa;return class_getInstanceMethod(e,SEL_description)?e.objj_msgSend0(this,SEL_description):class_isMetaClass(e)?this.name:"["+e.name+" Object](-description not implemented)"},objj_class.prototype.objj_msgSend=objj_msgSendFastInitialize,objj_class.prototype.objj_msgSend0=objj_msgSendFast0Initialize,objj_class.prototype.objj_msgSend1=objj_msgSendFast1Initialize,objj_class.prototype.objj_msgSend2=objj_msgSendFast2Initialize,objj_class.prototype.objj_msgSend3=objj_msgSendFast3Initialize,objj_class.prototype.method_msgSend=Object.create(null);var SEL_description=sel_getUid("description"),SEL_forwardingTargetForSelector_=sel_getUid("forwardingTargetForSelector:"),SEL_methodSignatureForSelector_=sel_getUid("methodSignatureForSelector:"),SEL_forwardInvocation_=sel_getUid("forwardInvocation:"),SEL_doesNotRecognizeSelector_=sel_getUid("doesNotRecognizeSelector:"),SEL_invocationWithMethodSignature_=sel_getUid("invocationWithMethodSignature:"),SEL_setTarget_=sel_getUid("setTarget:"),SEL_setSelector_=sel_getUid("setSelector:"),SEL_setArgument_atIndex_=sel_getUid("setArgument:atIndex:"),SEL_returnValue=sel_getUid("returnValue");objj_eval=function(aString){var url=exports.pageURL,asyncLoaderSaved=exports.asyncLoader;exports.asyncLoader=NO;var executable=exports.preprocess(aString,url,0);executable.hasLoadedFileDependencies()||executable.loadFileDependencies(),global._objj_eval_scope={},global._objj_eval_scope.objj_executeFile=Executable.fileExecuterForURL(url),global._objj_eval_scope.objj_importFile=Executable.fileImporterForURL(url);var code="with(_objj_eval_scope){"+executable._code+"\n//*/\n}",result;return result=eval(code),exports.asyncLoader=asyncLoaderSaved,result},exports.objj_eval=objj_eval,enableCFURLCaching();var pageURL=new CFURL(window.location.href),DOMBaseElements=document.getElementsByTagName("base"),DOMBaseElementsCount=DOMBaseElements.length;if(DOMBaseElementsCount>0){var DOMBaseElement=DOMBaseElements[DOMBaseElementsCount-1],DOMBaseElementHref=DOMBaseElement&&DOMBaseElement.getAttribute("href");DOMBaseElementHref&&(pageURL=new CFURL(DOMBaseElementHref,pageURL))}if("undefined"!=typeof OBJJ_COMPILER_FLAGS){for(var flags={},i=0;i