From 0887c56069debb605eced9a6604f6fe924ced485 Mon Sep 17 00:00:00 2001 From: EugeniyKiyashko Date: Mon, 22 Jun 2026 13:05:52 +0400 Subject: [PATCH] chore (deps): bump testcafe to v3.7.5 --- e2e/wrappers/package.json | 2 +- packages/testcafe-models/package.json | 3 +- patches/testcafe-hammerhead@31.7.7.patch | 32 --- patches/testcafe-hammerhead@31.7.8.patch | 24 +++ pnpm-lock.yaml | 241 +++++++++++++---------- pnpm-workspace.yaml | 4 +- 6 files changed, 165 insertions(+), 141 deletions(-) delete mode 100644 patches/testcafe-hammerhead@31.7.7.patch create mode 100644 patches/testcafe-hammerhead@31.7.8.patch diff --git a/e2e/wrappers/package.json b/e2e/wrappers/package.json index 6fc93b65089c..05572548c519 100644 --- a/e2e/wrappers/package.json +++ b/e2e/wrappers/package.json @@ -71,7 +71,7 @@ "karma-coverage": "2.2.1", "karma-jasmine": "5.1.0", "karma-jasmine-html-reporter": "2.1.0", - "testcafe": "3.7.4", + "testcafe": "catalog:", "typescript": "5.8.3", "vite": "8.0.16" }, diff --git a/packages/testcafe-models/package.json b/packages/testcafe-models/package.json index f984d1be56d4..32b9a5bb7537 100644 --- a/packages/testcafe-models/package.json +++ b/packages/testcafe-models/package.json @@ -4,7 +4,8 @@ "testcafe": "catalog:" }, "devDependencies": { - "devextreme": "workspace:*" + "devextreme": "workspace:*", + "testcafe": "catalog:" }, "version": "25.2.8" } diff --git a/patches/testcafe-hammerhead@31.7.7.patch b/patches/testcafe-hammerhead@31.7.7.patch deleted file mode 100644 index 1395368829a0..000000000000 --- a/patches/testcafe-hammerhead@31.7.7.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/lib/client/hammerhead.js b/lib/client/hammerhead.js -index fc38575a8eca7527e16739da107c653b9916b848..233d8103013b42f4d644192cf2ca33d9e84daa53 100644 ---- a/lib/client/hammerhead.js -+++ b/lib/client/hammerhead.js -@@ -3580,7 +3580,7 @@ - } - function isShadowUIElement(element) { - // @ts-ignore -- return !!element[INTERNAL_PROPS.shadowUIElement]; -+ return !!element && !!element[INTERNAL_PROPS.shadowUIElement]; - } - function isWindow(instance) { - try { -@@ -40327,6 +40327,10 @@ - this._onFocus = function (e) { - var focusedEl = nativeMethods.eventTargetGetter.call(e); - var activeEl = getActiveElement(document); -+ // Chrome >=146: document.activeElement can transiently be null while focus moves. -+ // Guards against TestCafe issue #8493 (TypeError in isShadowUIElement(null)). -+ if (!focusedEl || !activeEl) -+ return; - if (!isShadowUIElement(focusedEl) && !isShadowUIElement(activeEl)) - shadowUI.setLastActiveElement(activeEl); - }; -diff --git a/lib/client/hammerhead.min.js b/lib/client/hammerhead.min.js -index d26f7df12ed780c761f5af9b8c83bb8b21eb81dd..52703a58e98a38037b1c92077d905fd8736fcd12 100644 ---- a/lib/client/hammerhead.min.js -+++ b/lib/client/hammerhead.min.js -@@ -1 +1 @@ --!function R(){var j="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};function H(e){var t={exports:{}};return e(t,t.exports),t.exports}function B(){}var U,F="pending",V="settled",W="fulfilled",G="rejected",q="undefined"!==typeof j&&"undefined"!==typeof j.process&&"function"===typeof j.process.emit,z="undefined"===typeof setImmediate?setTimeout:setImmediate,K=[];function $(){for(var e=0;e(o++,function(e){n[t]=e,--o||r(n)}))(i),e):n[i]=t;o||r(n)});throw new TypeError("You must pass an array to Promise.all().")},se.race=function(o){if(Array.isArray(o))return new se(function(e,t){for(var r,n=0;n-1&&(t[i]=!0)}return t}function Ge(e){if(!e)return null;for(var t="",r=0,n=Ve;r0&&e<=65535))}function ut(e){var t=Ze(e);return!t.partAfterHost&&t.protocol&&Te.test(t.protocol)?e+"/":e}function pt(e){var t=Ze(e);return"https:"===t.protocol&&t.port===Ue||"http:"===t.protocol&&t.port===Be?(t.host=t.hostname,t.port="",rt(t)):e}function ht(e){return e=ut(e=pt(e))}function dt(e,t){var r=e.match(Oe);return r&&r[3]?r[1]+t(r[3])+(r[4]||""):e}var ft=Object.freeze({__proto__:null,SUPPORTED_PROTOCOL_RE:ke,HASH_RE:Le,REQUEST_DESCRIPTOR_VALUES_SEPARATOR:De,REQUEST_DESCRIPTOR_SESSION_INFO_VALUES_SEPARATOR:Me,TRAILING_SLASH_RE:Re,SPECIAL_BLANK_PAGE:je,SPECIAL_ERROR_PAGE:t,SPECIAL_PAGES:He,HTTP_DEFAULT_PORT:Be,HTTPS_DEFAULT_PORT:Ue,get Credentials(){return we},parseResourceType:We,getResourceTypeString:Ge,restoreShortOrigin:qe,isSubDomain:ze,sameOriginCheck:Ke,getURLString:$e,getProxyUrl:Xe,getDomain:Ye,parseProxyUrl:Qe,getPathname:Je,parseUrl:Ze,isSupportedProtocol:et,resolveUrlAsDest:tt,formatUrl:rt,handleUrlsSet:nt,correctMultipleSlashes:ot,processSpecialChars:it,ensureTrailingSlash:st,isSpecialPage:at,isRelativeUrl:ct,isValidUrl:lt,ensureOriginTrailingSlash:ut,omitDefaultPort:pt,prepareUrl:ht,updateScriptImportUrls:function(e,t,r,n){return t=new RegExp("("+t.protocol+"//"+t.hostname+":(?:"+t.port+"|"+t.crossDomainPort+")/)[^/"+De+"]+","g"),e.replace(t,"$1"+r+(n?Me+n:""))},processMetaRefreshContent:dt}),mt="hammerhead|document-url-resolver",gt={_createResolver:function(e){var e=b.createHTMLDocument.call(e.implementation,"title"),t=b.createElement.call(e,"a"),r=b.createElement.call(e,"base");return b.appendChild.call(e.body,t),b.appendChild.call(e.head,r),e},_getResolver:function(e){return e[mt]||b.objectDefineProperty(e,mt,{value:this._createResolver(e),writable:!0}),e[mt]},_isNestedIframeWithoutSrc:function(e){return!(!e||!e.parent||e.parent===e||e.parent.parent===e.parent)&&!!(e=Sn(window))&&Wn(e)},init:function(e){this.updateBase(wt(),e)},getResolverElement:function(e){return b.nodeFirstChildGetter.call(this._getResolver(e).body)},resolve:function(e,t){var r=this.getResolverElement(t),n=null;if(null===e)b.removeAttribute.call(r,"href");else{b.anchorHrefSetter.call(r,e);n=b.anchorHrefGetter.call(r);if(e&&(!n||"/"===n.charAt(0))&&this._isNestedIframeWithoutSrc(t.defaultView))return this.resolve(e,window.parent.document)}return st(e,n)},updateBase:function(e,t){var r,n,o;this.nativeAutomation||(r=this._getResolver(t),r=b.elementGetElementsByTagName.call(r.head,"base")[0],o="file:"!==(n=Ze(e=e||wt())).protocol&&"about:"!==n.protocol&&!n.host,n=/^\/\//.test(e)&&!!n.host,(o||n)&&(o=wt(),this.updateBase(o,t),e=this.resolve(e,t)),b.setAttribute.call(r,"href",e))},getBaseUrl:function(e){e=b.elementGetElementsByTagName.call(this._getResolver(e).head,"base")[0];return b.getAttribute.call(e,"href")},changeUrlPart:function(e,t,r,n){n=this.getResolverElement(n);return b.anchorHrefSetter.call(n,e),t.call(n,r),b.anchorHrefGetter.call(n)},dispose:function(e){e[mt]=null},get nativeAutomation(){return this._nativeAutomation},set nativeAutomation(e){this._nativeAutomation=e}};function yt(){this._settings={isFirstPageLoad:!0,sessionId:"",forceProxySrcForImage:!1,crossDomainProxyPort:"",referer:"",serviceMsgUrl:"",transportWorkerUrl:"",iframeTaskScriptTemplate:"",cookie:"",allowMultipleWindows:!1,isRecordMode:!1,windowId:"",nativeAutomation:!1,disableCrossDomain:!1}}yt.prototype.set=function(e){this._settings=e},yt.prototype.get=function(){return this._settings},Object.defineProperty(yt.prototype,"nativeAutomation",{get:function(){return this._settings.nativeAutomation},enumerable:!1,configurable:!0});var x=new yt,vt=null;function Et(){var e;return vt||((e=Sn(ue.global))&&Wn(e)?x.get().referer:ue.global.location.toString())}function _t(e,t){return t=t&&St(t),x.get().disableCrossDomain||Ke(e,t)}function St(e,t){var r,n=$e(e);return n=n&&0===n.indexOf("//")?(r=xt().protocol)+ot(n,r):ot(n),ue.isInWorker?"blob:"!==self.location.protocol?new b.URL(n,wt()).href:String(e):gt.resolve(n,t||document)}var wt=function(){var e=Et(),t=Qe(e);return t?t.destUrl:e};function bt(){var e=Qe(Et());return null!==e&&void 0!==e&&e.reqOrigin?e.reqOrigin+"/":""}function xt(){var e,t,r,n=wt();return ue.isInWorker?(r=n,{protocol:(r=new b.URL(r)).protocol,port:r.port,hostname:r.hostname,host:r.host,pathname:r.pathname,hash:r.hash,search:r.search}):(r=n,n=gt.getResolverElement(document),r=Ze(r).port,b.anchorHrefSetter.call(n,wt()),e=b.anchorHostnameGetter.call(n),t=b.anchorPathnameGetter.call(n),{protocol:b.anchorProtocolGetter.call(n),port:r?b.anchorPortGetter.call(n):"",hostname:e,host:r?b.anchorHostGetter.call(n):e,pathname:t,hash:n.hash,search:b.anchorSearchGetter.call(n)})}function Ct(){return Ye(xt())}var At=Object.freeze({__proto__:null,getLocation:Et,forceLocation:function(e){vt=e},sameOriginCheck:_t,resolveUrl:St,get get(){return wt},getReferrer:bt,overrideGet:function(e){wt=e},withHash:function(e){return wt().replace(/(#.*)$/,"")+e},getParsed:xt,getOriginHeader:Ct}),Tt=/#[\S\s]*$/,It=/^wss?:/i,Pt=/\/[^/]*$/,Nt=(()=>{for(var e=ue.isInWorker?{location:Ht(self.location.origin),parent:null}:window,t=e.location;!t.hostname;){var r=!ue.isInWorker&&e===e.top,n="file:"===t.protocol;if(r||n)break;t=(e=e.parent).location}return{hostname:t.hostname,port:t.port.toString(),protocol:t.protocol}})(),C=function(e,t,r){if(void 0===r&&(r=!1),(t=void 0===t?{}:t).isUrlsSet)return t.isUrlsSet=!1,nt(C,String(e),t,r);if(r)return String(e);e=$e(e);var n,o,i,s,a,c,l,u,p,h,d,f,r=t&&t.resourceType,m=We(r);return!(m.isWebSocket||Wt(e)||Gt(e))||(n=St(e,t&&t.doc),m.isWebSocket&&!Vt(n))||!lt(n)?e:(o=t&&t.proxyHostname||Nt.hostname,i=t&&t.proxyPort||Nt.port,h=t&&t.proxyProtocol||Nt.protocol,s=m.isWebSocket?h.replace("http","ws"):h,a=t&&t.sessionId||x.get().sessionId,c=t&&t.windowId||x.get().windowId,l=t&&t.credentials,u=t&&t.charset,t=t&&t.reqOrigin,d=Dt(i),!(p=Qe(n))||p.proxy.hostname!==o||p.proxy.port!==i&&p.proxy.port!==d?(d=Ze(n)).protocol?(u=u||((f=m).isScript||f.isServiceWorker)&&self.document&&document[w.documentCharset]||null,d.protocol===h&&d.hostname===o&&d.port===i&&(f=xt(),d.protocol=f.protocol,d.host=f.host,d.hostname=f.hostname,d.port=f.port||"",n=rt(d)),m.isWebSocket&&(d.protocol=d.protocol.replace("ws","http"),n=rt(d),t=t||Ct()),Xe(n,{proxyProtocol:s,proxyHostname:o,proxyPort:i,sessionId:a,resourceType:r,charset:u,reqOrigin:t=m.isIframe&&i===x.get().crossDomainProxyPort?t||Ct():t,windowId:c,credentials:l})):e:r&&p.resourceType===r?n:(h=rt(p.destResourceInfo),C(h,{proxyProtocol:s,proxyHostname:o,proxyPort:i,sessionId:a,resourceType:r,charset:u,reqOrigin:t,credentials:l})))};function Ot(e,t,r){return(r=void 0===r?!1:r)?e:(r=e,t=(e=t).top!==e,e=e.location.toString(),Gt(t?e:(t=jt(e))&&t.destUrl)&&ct(r)?"":(r=ht(r),C(r)))}var kt=function(e){return C(e,{proxyPort:x.get().crossDomainProxyPort,resourceType:Ge({isIframe:!0})})};function Lt(e,t,r){var n=jt(e),o=null;n&&(e=n.destUrl,o=n.resourceType),o&&((n=qt(o)).isIframe=!1,o=zt(n));n=!_t(Et(),e)?x.get().crossDomainProxyPort:location.port.toString();return C(e,{windowId:t,proxyPort:n,resourceType:o},r)}function Dt(e){return x.get().crossDomainProxyPort===e?location.port.toString():x.get().crossDomainProxyPort}var Mt=function(e,t){return tt(e,C,t=void 0===t?!1:t)};function Rt(e){return rt(e)}var jt=Qe;function Ht(e){return Ze(e)}var Bt=function(e,t,r,n){return C(e,{resourceType:t,charset:r,proxyPort:(n=void 0===n?!1:n)?x.get().crossDomainProxyPort:Nt.port})};function Ut(){return Ye({protocol:location.protocol,hostname:location.hostname,port:x.get().crossDomainProxyPort})}function Ft(e,t,r,n){var o,i,s=Qe(e);return s?(o=s.sessionId,i=s.proxy,s=gt.changeUrlPart(s.destUrl,t,r,document),C(s,{proxyHostname:i.hostname,proxyPort:i.port,sessionId:o,resourceType:n})):e}function Vt(e){e=Mt(e);return It.test(e)}function Wt(e){return et(e)}function Gt(e){return at(e)}function qt(e){return We(e)}function zt(e){return Ge(e)}function Kt(e,t){return C(e).replace(Tt,"")===C(t).replace(Tt,"")}function $t(e){var t=jt(e);return t?t.destUrl:e}function Xt(e){return Wt(e)&&(e=Ht(Mt(e)))?Je(e.partAfterHost).replace(Pt,"/")||"/":null}function Yt(e,t,r){return(r=void 0!==r&&r)?String(e):(r=!_t(Et(),e),t={resourceType:Ge({isAjax:!0}),credentials:t},r&&(t.proxyPort=x.get().crossDomainProxyPort,t.reqOrigin=Ct()),C(e,t))}var Qt=Object.freeze({__proto__:null,DEFAULT_PROXY_SETTINGS:Nt,REQUEST_DESCRIPTOR_VALUES_SEPARATOR:De,get getProxyUrl(){return C},overrideGetProxyUrl:function(e){C=e},getNavigationUrl:Ot,get getCrossDomainIframeProxyUrl(){return kt},overrideGetCrossDomainIframeProxyUrl:function(e){kt=e},getPageProxyUrl:Lt,getCrossDomainProxyPort:Dt,get resolveUrlAsDest(){return Mt},overrideResolveUrlAsDest:function(e){Mt=e},formatUrl:Rt,get parseProxyUrl(){return jt},overrideParseProxyUrl:function(e){jt=e},parseUrl:Ht,get convertToProxyUrl(){return Bt},getCrossDomainProxyOrigin:Ut,overrideConvertToProxyUrl:function(e){Bt=e},changeDestUrlPart:Ft,isValidWebSocketUrl:Vt,isSubDomain:ze,isSupportedProtocol:Wt,isSpecialPage:Gt,parseResourceType:qt,stringifyResourceType:zt,isChangedOnlyHash:Kt,getDestinationUrl:$t,getScope:Xt,getAjaxProxyUrl:Yt}),Jt=H(function(e){var t,r;t=j,r=function(){function s(t){function e(e){e=t.match(e);return e&&e.length>1&&e[1]||""}var r,n=e(/(ipod|iphone|ipad)/i).toLowerCase(),o=!/like android/i.test(t)&&/android/i.test(t),i=/nexus\s*[0-6]\s*/i.test(t),s=!i&&/nexus\s*[0-9]+/i.test(t),a=/CrOS/.test(t),c=/silk/i.test(t),l=/sailfish/i.test(t),u=/tizen/i.test(t),p=/(web|hpw)os/i.test(t),h=/windows phone/i.test(t),d=(/SamsungBrowser/i.test(t),!h&&/windows/i.test(t)),f=!n&&!c&&/macintosh/i.test(t),m=!o&&!l&&!u&&!p&&/linux/i.test(t),g=e(/edge\/(\d+(\.\d+)?)/i),y=e(/version\/(\d+(\.\d+)?)/i),v=/tablet/i.test(t),E=!v&&/[^-]mobi/i.test(t),_=/xbox/i.test(t),a=(/opera/i.test(t)?r={name:"Opera",opera:!0,version:y||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(t)?r={name:"Opera",opera:!0,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||y}:/SamsungBrowser/i.test(t)?r={name:"Samsung Internet for Android",samsungBrowser:!0,version:y||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(t)?r={name:"Opera Coast",coast:!0,version:y||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(t)?r={name:"Yandex Browser",yandexbrowser:!0,version:y||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?r={name:"UC Browser",ucbrowser:!0,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?r={name:"Maxthon",maxthon:!0,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?r={name:"Epiphany",epiphany:!0,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?r={name:"Puffin",puffin:!0,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?r={name:"Sleipnir",sleipnir:!0,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?r={name:"K-Meleon",kMeleon:!0,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:h?(r={name:"Windows Phone",windowsphone:!0},g?(r.msedge=!0,r.version=g):(r.msie=!0,r.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?r={name:"Internet Explorer",msie:!0,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:a?r={name:"Chrome",chromeos:!0,chromeBook:!0,chrome:!0,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(t)?r={name:"Microsoft Edge",msedge:!0,version:g}:/vivaldi/i.test(t)?r={name:"Vivaldi",vivaldi:!0,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||y}:l?r={name:"Sailfish",sailfish:!0,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?r={name:"SeaMonkey",seamonkey:!0,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(r={name:"Firefox",firefox:!0,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(r.firefoxos=!0)):c?r={name:"Amazon Silk",silk:!0,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?r={name:"PhantomJS",phantom:!0,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?r={name:"SlimerJS",slimer:!0,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?r={name:"BlackBerry",blackberry:!0,version:y||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:p?(r={name:"WebOS",webos:!0,version:y||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(r.touchpad=!0)):/bada/i.test(t)?r={name:"Bada",bada:!0,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:u?r={name:"Tizen",tizen:!0,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||y}:/qupzilla/i.test(t)?r={name:"QupZilla",qupzilla:!0,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||y}:/chromium/i.test(t)?r={name:"Chromium",chromium:!0,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||y}:/chrome|crios|crmo/i.test(t)?r={name:"Chrome",chrome:!0,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:o?r={name:"Android",version:y}:/safari|applewebkit/i.test(t)?(r={name:"Safari",safari:!0},y&&(r.version=y)):n?(r={name:"iphone"==n?"iPhone":"ipad"==n?"iPad":"iPod"},y&&(r.version=y)):r=/googlebot/i.test(t)?{name:"Googlebot",googlebot:!0,version:e(/googlebot\/(\d+(\.\d+))/i)||y}:{name:e(/^(.*)\/(.*) /),version:(h=/^(.*)\/(.*) /,(h=t.match(h))&&h.length>1&&h[2]||"")},!r.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(r.name=r.name||"Blink",r.blink=!0):(r.name=r.name||"Webkit",r.webkit=!0),!r.version&&y&&(r.version=y)):!r.opera&&/gecko\//i.test(t)&&(r.name=r.name||"Gecko",r.gecko=!0,r.version=r.version||e(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||r.msedge||!o&&!r.silk?r.windowsphone||r.msedge||!n?f?r.mac=!0:_?r.xbox=!0:d?r.windows=!0:m&&(r.linux=!0):(r[n]=!0,r.ios=!0):r.android=!0,""),g=(r.windowsphone?a=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):n?a=(a=e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):o?a=e(/android[ \/-](\d+(\.\d+)*)/i):r.webos?a=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?a=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?a=e(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(a=e(/tizen[\/\s](\d+(\.\d+)*)/i)),a&&(r.osversion=a),a.split(".")[0]);return v||s||"ipad"==n||o&&(3==g||g>=4&&!E)||r.silk?r.tablet=!0:(E||"iphone"==n||"ipod"==n||o||i||r.blackberry||r.webos||r.bada)&&(r.mobile=!0),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=!0:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=!0:r.x=!0,r}var a=s("undefined"!==typeof navigator&&navigator.userAgent||"");function n(e){return e.split(".").length}function o(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r=0;){if(t[0][r]>t[1][r])return 1;if(t[0][r]!==t[1][r])return-1;if(0===r)return 0}}function i(e,t,r){var n,o=a,i=("string"===typeof t&&(r=t,t=void 0),void 0===t&&(t=!1),""+(o=r?s(r):o).version);for(n in e)if(e.hasOwnProperty(n)&&o[n]){if("string"!==typeof e[n])throw new Error("Browser version in the minVersion map should be a string: "+n+": "+String(e));return c([i,e[n]])<0}return t}return a.test=function(e){for(var t=0;t=t[r="scrollHeight"]?t[o]:Math.max(e.body[r],t[r],e.body[n],t[n])):(o=e.offsetHeight,(o=(o=(o-=Sr(c(e,"paddingTop")))-Sr(c(e,"paddingBottom")))-Sr(c(e,"borderTopWidth")))-Sr(c(e,"borderBottomWidth"))):null}function Or(e){var t;return e?vo(e)?e.document.documentElement.clientWidth:Eo(e)?e.documentElement.clientWidth:(t=e.offsetWidth,(t-=Sr(c(e,"borderLeftWidth")))-Sr(c(e,"borderRightWidth"))):null}function kr(e){var t=Lr(e),r=Ir(e),r=e.scrollHeight-(r.top+r.bottom),n=Cn(e).length;return 1===t?Nr(e):Math.round(r/Math.max(n,t))}function Lr(e){var t,r;return ur&&mr||rr?1:(t=b.getAttribute.call(e,"size"),e=b.hasAttribute.call(e,"multiple"),r=t?parseInt(t,10):1,e&&(!t||r<1)?Er:r)}function Dr(e){var t=xn(e),r=Dn(e);return ao(t)&&Lr(t)>1&&("option"===r||"optgroup"===r)&&(!cr||e.label)}function Mr(e){return e?vo(e)?e.pageXOffset:Eo(e)?e.defaultView.pageXOffset:e.scrollLeft:null}function Rr(e){return e?vo(e)?e.pageYOffset:Eo(e)?e.defaultView.pageYOffset:e.scrollTop:null}function jr(e,t){var r,n;e&&(vo(e)||Eo(e)?(r=In(e).defaultView,n=Rr(e),b.scrollTo.call(r,t,n)):e.scrollLeft=t)}function Hr(e,t){var r,n;e&&(vo(e)||Eo(e)?(r=In(e).defaultView,n=Mr(e),b.scrollTo.call(r,n,t)):e.scrollTop=t)}function Br(e){if(e){for(var t=e.offsetParent||document.body;t&&!/^(?:body|html)$/i.test(t.nodeName)&&"static"===c(t,"position");)t=t.offsetParent;return t}}function Ur(e){var t,r,n,o,i,s,a;return!e||vo(e)||Eo(e)?null:(a=si(e),(r=(t=e.ownerDocument).documentElement).contains(e)&&e!==r?(s=t.defaultView,n=r.clientTop||t.body.clientTop||0,o=r.clientLeft||t.body.clientLeft||0,i=s.pageYOffset||r.scrollTop||t.body.scrollTop,s=s.pageXOffset||r.scrollLeft||t.body.scrollLeft,{top:(a=si(e)).top+i-n,left:a.left+s-o}):{top:a.top,left:a.left})}function Fr(e,t){if(!Hn(e,t))return!1;for(;e;){if("none"===c(e,"display",t)||"hidden"===c(e,"visibility",t))return!1;e=jn(e)}return!0}function Vr(e){e=En(e);return e&&!Fr(e,In(e))}var Wr=Object.freeze({__proto__:null,get:c,set:br,getBordersWidthInternal:xr,getBordersWidth:Cr,getBordersWidthFloat:function(e){return xr(e,wr)},getComputedStyle:Ar,getElementMargin:function(e){return{bottom:Sr(c(e,"marginBottom")),left:Sr(c(e,"marginLeft")),right:Sr(c(e,"marginRight")),top:Sr(c(e,"marginTop"))}},getElementPaddingInternal:Tr,getElementPadding:Ir,getElementPaddingFloat:function(e){return Tr(e,wr)},getElementScroll:Pr,getWidth:function(e){var t,r,n,o;return e?vo(e)?e.document.documentElement.clientWidth:Eo(e)?(n="offsetWidth",(t=e.documentElement)[o="clientWidth"]>=t[r="scrollWidth"]?t[o]:Math.max(e.body[r],t[r],e.body[n],t[n])):(o=e.offsetWidth,(o=(o=(o-=Sr(c(e,"paddingLeft")))-Sr(c(e,"paddingRight")))-Sr(c(e,"borderLeftWidth")))-Sr(c(e,"borderRightWidth"))):null},getHeight:Nr,getInnerWidth:Or,getInnerHeight:function(e){var t;return e?vo(e)?e.document.documentElement.clientHeight:Eo(e)?e.documentElement.clientHeight:(t=e.offsetHeight,(t-=Sr(c(e,"borderTopWidth")))-Sr(c(e,"borderBottomWidth"))):null},getOptionHeight:kr,getSelectElementSize:Lr,isVisibleChild:Dr,getScrollLeft:Mr,getScrollTop:Rr,setScrollLeft:jr,setScrollTop:Hr,getOffsetParent:Br,getOffset:Ur,isElementVisible:Fr,isElementInInvisibleIframe:Vr});function Gr(e){return Ln(e)?b.elementQuerySelectorAll:Do(e)||Mo(e)?b.documentFragmentQuerySelectorAll:b.querySelectorAll}function qr(e){return null===e?"null":"undefined"}function zr(e){return void 0===e||$r(e)}function Kr(e){e=typeof e;return"object"!==e&&"function"!==e}function $r(e){return null===e}function Xr(e){return"number"===typeof e}function Yr(e){return"function"===typeof e}var Qr=Object.freeze({__proto__:null,inaccessibleTypeToStr:qr,isNullOrUndefined:zr,isPrimitiveType:Kr,isNull:$r,isNumber:Xr,isFunction:Yr}),Jr=0,Zr=["[object HTMLMapElement]","[object HTMLAreaElement]"],en=(Zt="undefined"===typeof window)?"":r(window),tn=/^\[object .*?Document]$/i,rn=/^\[object .*?ProcessingInstruction]$/i,nn=/^\[object SVG\w+?Element]$/i,on=/^\[object HTML.*?Element]$/i,sn=/^\[object ArrayBuffer]$/i,an=/^\[object DataView]$/i,cn=Zt?"":r(b.createElement.call(document,"td")),ln=Zt?-1:Node.ELEMENT_NODE,un=/^(select|option|applet|area|audio|canvas|datalist|keygen|map|meter|object|progress|source|track|video|img)$/,pn=/^(input|textarea|button)$/,hn=/^(script|style)$/i,dn=/^(email|number|password|search|tel|text|url)$/,fn=/^(number|email)$/,mn=/^(color|date|datetime-local|month|week)$/;function gn(e){return e.offsetWidth<=0&&e.offsetHeight<=0}function r(e){return fr?e&&"object"===typeof e?b.objectToString.call(b.objectGetPrototypeOf(e)):"":b.objectToString.call(e)}function yn(e){for(var e=e||document,t=b.documentActiveElementGetter.call(e),r=Ln(t)?t:e.body;r&&r.shadowRoot;){var n=r.shadowRoot.activeElement;if(!n)break;r=n}return r}function vn(e,t){return Cn(e).indexOf(t)}function En(e){return Sn(e[w.processedContext])}function _n(e){var t=null;try{t=b.contentDocumentGetter.call(e).location.href}catch(e){t=null}var e=b.getAttribute.call(e,"src"+s.storedAttrPostfix)||b.getAttribute.call(e,"src")||b.iframeSrcGetter.call(e),r=t&&Wt(t)&&jt(t),n=e&&Wt(e)&&jt(e);return{documentLocation:r?r.destUrl:t,srcLocation:n?n.destUrl:e}}function Sn(e){try{return e.frameElement}catch(e){return null}}function wn(e){var t=qo(e,"map"),t='[usemap="#'+b.getAttribute.call(t,"name")+'"]';return b.querySelector.call(In(e),t)}function bn(){var e,t;return Jr||((e=b.createElement.call(document,"div")).style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.width="100px",b.appendChild.call(document.body,e),t=e.offsetWidth-e.clientWidth,Jr=t,b.nodeParentNodeGetter.call(e).removeChild(e)),Jr}function xn(e){return qo(b.nodeParentNodeGetter.call(e),"select")}function Cn(e){for(var t=b.elementQuerySelectorAll.call(e,"optgroup, option"),r=[],n=b.nodeListLengthGetter.call(t),o=0;o0&&t[r].width>0)return t[r];return e.getBoundingClientRect()}var ai,ci,li,ui,pi,hi,di,fi,mi,gi,yi,vi=Object.freeze({__proto__:null,instanceToString:r,getActiveElement:yn,getChildVisibleIndex:vn,getIframeByElement:En,getIframeLocation:_n,getFrameElement:Sn,getMapContainer:wn,getParentWindowWithSrc:function e(t){var r=t.parent,n=null;if(t===t.top)return t;if(r===t.top||On(t,r))return r;try{n=r.frameElement}catch(e){n=null}return null!==n&&Wn(n)?e(r):r},getScrollbarSize:bn,getSelectParent:xn,getSelectVisibleChildren:Cn,getTopSameDomainWindow:An,find:Tn,findDocument:In,isContentEditableElement:Pn,isCrossDomainIframe:Nn,isCrossDomainWindows:On,isIframeWindow:kn,isDomElement:Ln,getTagName:Dn,SHADOW_ROOT_PARENT_ELEMENT:Mn,getNodeShadowRootParent:Rn,getParentExceptShadowRoot:jn,isElementInDocument:Hn,isElementInIframe:Bn,isHammerheadAttr:Un,isIframeElement:Fn,isFrameElement:Vn,isIframeWithoutSrc:Wn,isIframeWithSrcdoc:Gn,isImgElement:qn,isInputElement:zn,isTitleElement:Kn,isButtonElement:$n,isFieldSetElement:Xn,isOptGroupElement:Yn,isHtmlElement:Qn,isBodyElement:Jn,isPageBody:Zn,isHeadElement:function(e){return"[object HTMLHeadElement]"===r(e)},isHeadOrBodyElement:function(e){return"[object HTMLHeadElement]"===(e=r(e))||"[object HTMLBodyElement]"===e},isHeadOrBodyOrHtmlElement:eo,isBaseElement:to,isScriptElement:ro,isStyleElement:no,isLabelElement:oo,isTextAreaElement:io,isOptionElement:so,isRadioButtonElement:function(e){return zn(e)&&"radio"===e.type.toLowerCase()},isColorInputElement:function(e){return zn(e)&&"color"===e.type.toLowerCase()},isCheckboxElement:function(e){return zn(e)&&"checkbox"===e.type.toLowerCase()},isSelectElement:ao,isFormElement:co,isFileInput:lo,isInputWithNativeDialog:uo,isBodyElementWithChildren:po,isMapElement:ho,isRenderedNode:fo,getTabIndex:mo,isElementDisabled:go,isElementFocusable:yo,isShadowUIElement:E,isWindow:vo,isDocument:Eo,isBlob:_o,isLocation:So,isSVGElement:wo,isSVGElementOrChild:bo,isFetchHeaders:xo,isFetchRequest:Co,isElementReadOnly:Ao,isTextEditableInput:To,isTextEditableElement:Io,isTextEditableElementAndEditingAllowed:Po,isElementNode:No,isTextNode:Oo,isProcessingInstructionNode:ko,isCommentNode:Lo,isDocumentFragmentNode:Do,isShadowRoot:Mo,isAnchorElement:Ro,isTableElement:jo,isTableDataCellElement:function(e){return r(e)===cn},isWebSocket:Ho,isMessageEvent:Bo,isPerformanceNavigationTiming:Uo,isArrayBuffer:Fo,isArrayBufferView:Vo,isDataView:Wo,matches:Go,closest:qo,addClass:zo,removeClass:Ko,hasClass:$o,parseDocumentCharset:Xo,getParents:Yo,findParent:Jo,nodeListToArray:Zo,getFileInputs:ei,getIframes:ti,getScripts:ri,isNumberOrEmailInput:ni,isInputWithoutSelectionProperties:oi,getAssociatedElement:ii,getClientRectangle:si}),t=(e(Ei,ai=ve),Ei.prototype.isDeactivated=function(){try{var e;if(this.window[w.hammerhead])return!!(e=Sn(this.window))&&!Hn(e,In(e))}catch(e){}return!0},Ei.prototype.attach=function(e,t){this.window=e,this.document=t||e.document},Ei);function Ei(){var e=null!==ai&&ai.apply(this,arguments)||this;return e.window=null,e.nativeMethods=b,e.document=null,e}var _i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportBatchSpecifier:"ExportBatchSpecifier",ExportDeclaration:"ExportDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportSpecifier:"ImportSpecifier",ImportDeclaration:"ImportDeclaration",ChainExpression:"ChainExpression",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleDeclaration:"ModuleDeclaration",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},A=_i,l={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Unary:13,Exponentiation:14,Postfix:14,Await:14,Call:15,New:16,TaggedTemplate:17,OptionalChaining:17,Member:18,Primary:19},Si={"||":l.LogicalOR,"&&":l.LogicalAND,"|":l.BitwiseOR,"^":l.BitwiseXOR,"&":l.BitwiseAND,"==":l.Equality,"!=":l.Equality,"===":l.Equality,"!==":l.Equality,is:l.Equality,isnt:l.Equality,"<":l.Relational,">":l.Relational,"<=":l.Relational,">=":l.Relational,in:l.Relational,instanceof:l.Relational,"<<":l.BitwiseSHIFT,">>":l.BitwiseSHIFT,">>>":l.BitwiseSHIFT,"+":l.Additive,"-":l.Additive,"*":l.Multiplicative,"%":l.Multiplicative,"/":l.Multiplicative,"??":l.Coalesce,"**":l.Exponentiation},wi=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],bi=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");function xi(e){return e<128?e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||36===e||95===e||92===e:(e=String.fromCharCode(e),bi.test(e))}function Ci(e){return 10===e||13===e||8232===e||8233===e}function Ai(e){return 32===e||9===e||Ci(e)||11===e||12===e||160===e||e>=5760&&wi.indexOf(e)>=0}function Ti(e,t){var r="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(r+=e);return r}function Ii(e,t){return 8232===(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function Pi(e){for(var t,r,n,o="",i=0,s=0,a=0,c=e.length;a{var t="\\";switch(e){case 92:t+="\\";break;case 10:t+="n";break;case 13:t+="r";break;case 8232:t+="u2028";break;case 8233:t+="u2029"}return t})(t);continue}if(ci&&t<32||!(ci||hi||t>=32&&t<=126)){o+=((e,t)=>{var r,n,o="\\";switch(e){case 8:o+="b";break;case 12:o+="f";break;case 9:o+="t";break;default:r=e.toString(16).toUpperCase(),ci||e>255?o+="u"+"0000".slice(r.length)+r:0!==e||(n=t)>=48&&n<=57?o+=11===e?"x0B":"x"+"00".slice(r.length)+r:o+="0"}return o})(t,e.charCodeAt(a+1));continue}}o+=String.fromCharCode(t)}if(n=(r=!("double"===pi||"auto"===pi&&s"),e.expression?(d.js+=d.optSpace,"{"===(r=h(t,p.e4)).charAt(0)&&(r="("+r+")"),d.js+=r):(d.js+=Oi(t),$i[t.type](t,p.s8))}var Di=(Di=Array.isArray)||function(e){return"[object Array]"===Object.prototype.toString.call(e)},p={e1:function(e){return{precedence:l.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e2:function(e){return{precedence:l.LogicalOR,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e3:{precedence:l.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!1},e4:{precedence:l.Assignment,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e5:{precedence:l.Sequence,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e6:function(e){return{precedence:l.New,allowIn:!0,allowCall:!1,allowUnparenthesizedNew:e}},e7:{precedence:l.Unary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e8:{precedence:l.Postfix,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e9:{precedence:void 0,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e10:{precedence:l.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e11:function(e){return{precedence:l.Call,allowIn:!0,allowCall:e,allowUnparenthesizedNew:!1}},e12:{precedence:l.Primary,allowIn:!1,allowCall:!1,allowUnparenthesizedNew:!0},e13:{precedence:l.Primary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e14:{precedence:l.Sequence,allowIn:!1,allowCall:!0,allowUnparenthesizedNew:!0},e15:function(e){return{precedence:l.Sequence,allowIn:!0,allowCall:e,allowUnparenthesizedNew:!0}},e16:function(e,t){return{precedence:e,allowIn:t,allowCall:!0,allowUnparenthesizedNew:!0}},e17:function(e){return{precedence:l.Call,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e18:function(e){return{precedence:l.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e19:{precedence:l.Sequence,allowIn:!0,allowCall:!0,semicolonOptional:!1},e20:{precedence:l.Await,allowCall:!0},s1:function(e,t){return{allowIn:!0,functionBody:!1,directiveContext:e,semicolonOptional:t}},s2:{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:!0},s3:function(e){return{allowIn:e,functionBody:!1,directiveContext:!1,semicolonOptional:!1}},s4:function(e){return{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:e}},s5:function(e){return{allowIn:!0,functionBody:!1,directiveContext:!0,semicolonOptional:e}},s6:{allowIn:!1,functionBody:!1,directiveContext:!1,semicolonOptional:!1},s7:{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:!1},s8:{allowIn:!0,functionBody:!0,directiveContext:!1,semicolonOptional:!1}},Mi=/[.eExX]|^0[0-9]+/,Ri=/[0-9]$/;function ji(e){return!!e&&e.type===_i.LogicalExpression}function Hi(e,t,r){var n=e.operator,o=Si[e.operator],i=o{switch(e.operator){case"||":return ji(t)?"??"===t.operator||"&&"===t.operator:!1;case"&&":return ji(t);case"??":return ji(t)&&"??"!==t.operator}})(e,r)),r=((i||t)&&(d.js+="("),s=47===s.charCodeAt(s.length-1)&&xi(n.charCodeAt(0))?s+d.space+n:u(s,n),o.precedence++,h(e.right,o,e));"/"===n&&"/"===r.charAt(0)||"<"===n.slice(-1)&&"!--"===r.slice(0,3)?s+=d.space+r:s=u(s,r),d.js+=s,(i||t)&&(d.js+=")")}function Bi(e){var t=e.elements,r=t.length;if(r){var n=r-1,o=r>1,e=Ni(),i=d.newline+d.indent;d.js+="[";for(var s=0;s0?u(o,c):o+c;d.indent=i}r&&(i=h(r,p.e5),o=u(o,"if"+d.optSpace),o=u(o,"("+i+")")),o=u(o,e),d.js+=o+=n?")":"]"}var Fi={SequenceExpression:function(e,t){var r=e.expressions,n=r.length,o=n-1,e=l.Sequence0,e=h(e.callee,p.e6(!t));if(n&&(d.js+="("),d.js+=u("new",e),t){d.js+="(";for(var s=0;s2?d.js+=u(n,e):(d.js+=n,((n=n.charCodeAt(n.length-1))===(r=e.charCodeAt(0))&&(43===n||45===n)||xi(n)&&xi(r))&&(d.js+=d.space),d.js+=e),t&&(d.js+=")")},YieldExpression:function(e,t){var r=e.argument,e=e.delegate?"yield*":"yield",t=l.Yield{var t,r,n,o,i;if(e===1/0)return ci?"null":li?"1e400":"1e+400";if(t=""+e,li&&!(t.length<3)){for(r=t.indexOf("."),ci||48!==t.charCodeAt(0)||1!==r||(r=0,t=t.slice(1)),t=(n=t).replace("e+","e"),o=0,(i=n.indexOf("e"))>0&&(o=+n.slice(i+1),n=n.slice(0,i)),r>=0&&(o-=n.length-r-1,n=+(n.slice(0,r)+n.slice(r+1))+""),i=0;48===n.charCodeAt(n.length+i-1);)--i;0!==i&&(o-=i,n=n.slice(0,i)),0!==o&&(n+="e"+o),(n.length1e12&&Math.floor(e)===e&&(n="0x"+e.toString(16)).length{var t,r,n,o,i,s,a=e.toString();if(e.source){if(!(t=a.match(/\/([^/]*)$/)))return a;for(t=t[1],a="",s=i=!1,r=0,n=e.source.length;r{for(var t,r="double"===pi?'"':"'",n=0,o=e.length;n1?Ni():d.indent,i=p.s3(t.allowIn);d.js+=e.kind;for(var s=0;s0&&(d.js+="\n");for(var o=0;o{var e,t={};for(e in Fi)Fi.hasOwnProperty(e)&&(t[e]=Ki(Fi[e]));return t})():Fi,r=e,d.js="",$i[r.type]?$i[r.type](r,p.s7):f[r.type](r,p.e19),d.js},g={getLocation:"__get$Loc",setLocation:"__set$Loc",getProperty:"__get$",setProperty:"__set$",callMethod:"__call$",processScript:"__proc$Script",processHtml:"__proc$Html",getEval:"__get$Eval",getPostMessage:"__get$PostMessage",getProxyUrl:"__get$ProxyUrl",restArray:"__rest$Array",arrayFrom:"__arrayFrom$",restObject:"__rest$Object",swScopeHeaderValue:"__swScopeHeaderValue",getWorkerSettings:"__getWorkerSettings$"},Yi="_hh$temp",Qi=(Ji.resetCounter=function(){Ji._counter=0},Ji.generateName=function(e,t,r){if(!e)return Yi+Ji._counter++;if(t){if(t.type===A.Identifier)return e+"$"+t.name;if(t.type===A.Literal&&t.value)return e+"$"+t.value.toString().replace(/[^a-zA-Z0-9]/g,"")}return e+"$i"+r},Ji.isHHTempVariable=function(e){return 0===e.indexOf(Yi)},Ji.prototype.append=function(e){this._list.push(e)},Ji.prototype.get=function(){return this._list},Ji._counter=0,Ji);function Ji(){this._list=[]}function Zi(e){return{type:A.Identifier,name:e}}function es(e){return{type:A.ExpressionStatement,expression:e}}function ts(e,t,r){return{type:A.AssignmentExpression,operator:t,left:e,right:r}}function rs(e,t){return{type:A.CallExpression,callee:e,arguments:t,optional:!1}}function ns(e){return{type:A.ArrayExpression,elements:e}}function os(e,t,r){return{type:A.MemberExpression,object:e,property:t,computed:r,optional:!1}}function is(e,t,r){return{type:A.BinaryExpression,left:e,right:r,operator:t}}function ss(e){return{type:A.SequenceExpression,expressions:e}}function as(e){return{type:A.ReturnStatement,argument:e=void 0===e?null:e}}function cs(){return e="void",t=ls(0),{type:A.UnaryExpression,operator:e,prefix:!0,argument:t};var e,t}function ls(e){return{type:A.Literal,value:e}}function us(e,t){return es(ts(e,"=",t))}function ps(e){return{type:A.BlockStatement,body:e}}function hs(e,t){return{type:A.VariableDeclarator,id:e,init:t=void 0===t?null:t}}function ds(e,t){return{type:A.VariableDeclaration,declarations:t,kind:e}}function fs(e,t){var e=[e],r=Zi(g.processScript);return t&&e.push(ls(!0)),rs(r,e)}function ms(e,t,r){var n=Zi(Qi.generateName()),o=rs(Zi(g.setLocation),[e,n]),e=ts(e,"=",n),i=Zi("call");s=null,a=[],t=ps([ds("var",[hs(n,t)]),as((n="||",{type:A.LogicalExpression,left:o,right:e,operator:n}))]);var s,a,c,l,o=rs(os({type:A.FunctionExpression,id:s,params:a,body:t,async:c=void 0===c?!1:c,generator:l=void 0===l?!1:l},i,!1),[{type:A.ThisExpression}]);return r?ss([ls(0),o]):o}function gs(e){return rs(Zi(g.getEval),[e])}function ys(e){return rs(Zi(g.getPostMessage),e.type===A.MemberExpression?[e.object]:[ls(null),e])}function vs(e,t){return e.test?e.test(t):Ss.call(e,t)}var Jt=["postMessage","replace","assign"],er=["href","location"],Es=new RegExp("^(".concat(Jt.join("|"),")$")),_s=new RegExp("^(".concat(er.join("|"),")$")),Ss=RegExp.prototype.test;function ws(e){return vs(Es,String(e))}function bs(e){return vs(_s,String(e))}var xs=Object.freeze({__proto__:null,METHODS:Jt,PROPERTIES:er,shouldInstrumentMethod:ws,shouldInstrumentProperty:bs}),or={name:"computed-property-get",nodeReplacementRequireTransform:!0,nodeTypes:A.MemberExpression,condition:function(e,t){return!(!e.computed||!t)&&!(e.property.type===A.Literal&&!bs(e.property.value))&&e.object.type!==A.Super&&(t.type!==A.AssignmentExpression||t.left!==e)&&(t.type!==A.UnaryExpression||"delete"!==t.operator)&&(t.type!==A.UpdateExpression||"++"!==t.operator&&"--"!==t.operator)&&(t.type!==A.CallExpression||t.callee!==e)&&(t.type!==A.NewExpression||t.callee!==e)&&(t.type!==A.ForInStatement||t.left!==e)},run:function(e){return t=e.property,r=e.object,e=e.optional,n=Zi(g.getProperty),r=[r,t],(e=void 0===e?!1:e)&&r.push(ls(e)),rs(n,r);var t,r,n}},ir={name:"computed-property-set",nodeReplacementRequireTransform:!0,nodeTypes:A.AssignmentExpression,condition:function(e){var t=e.left;return(t.type!==A.MemberExpression||t.object.type!==A.Super)&&!("="!==e.operator||t.type!==A.MemberExpression||!t.computed)&&(t.property.type!==A.Literal||bs(t.property.value))},run:function(e){var t,r=e.left;return t=r.property,r=r.object,e=e.right,rs(Zi(g.setProperty),[r,t,e])}},Zt={name:"concat-operator",nodeReplacementRequireTransform:!0,nodeTypes:A.AssignmentExpression,condition:function(e){if("+="===e.operator){e=e.left;if(e.type===A.Identifier)return bs(e.name);if(e.type===A.MemberExpression){if(e.computed)return e.property.type===A.Literal?bs(e.property.value):e.property.type!==A.UpdateExpression;if(e.property.type===A.Identifier)return bs(e.property.name)}}return!1},run:function(e){return ts(t=e.left,"=",is(t,"+",e.right));var t}};function Cs(e,t,r,n){var o=r[n];o instanceof Array?e?o[o.indexOf(e)]=t:o.unshift(t):r[n]=t,e?(t.originStart=t.start=e.start,t.originEnd=t.end=e.end):t.start=t.end=t.originStart=t.originEnd=o[1]?o[1].start:r.start+1}var Jt={name:"eval",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){return!!e.arguments.length&&((e=e.callee).type===A.Identifier&&"eval"===e.name||e.type===A.MemberExpression&&"eval"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))},run:function(e){var t=fs(e.arguments[0]);return Cs(e.arguments[0],t,e,"arguments"),null}},er={name:"eval-bind",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){if(e.callee.type===A.MemberExpression&&e.callee.property.type===A.Identifier&&"bind"===e.callee.property.name){e=e.callee.object;if(e.type===A.MemberExpression&&"eval"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))return!0;if(e.type===A.Identifier&&"eval"===e.name)return!0}return!1},run:function(e){var e=e.callee,t=gs(e.object);return Cs(e.object,t,e,"object"),null}},As=/^(call|apply)$/,n={name:"eval-call-apply",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){if(!(e.arguments.length<2)&&e.callee.type===A.MemberExpression&&e.callee.property.type===A.Identifier&&As.test(e.callee.property.name)){e=e.callee.object;if(e.type===A.Identifier&&"eval"===e.name)return!0;if(e.type===A.MemberExpression&&"eval"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))return!0}return!1},run:function(e){var t=e.callee.property,t=fs(e.arguments[1],"apply"===t.name);return Cs(e.arguments[1],t,e,"arguments"),null}},Ts={name:"eval-get",nodeReplacementRequireTransform:!1,nodeTypes:A.Identifier,condition:function(e,t){return!("eval"!==e.name||!t)&&(t.type!==A.CallExpression||t.callee!==e)&&t.type!==A.MethodDefinition&&t.type!==A.ClassDeclaration&&t.type!==A.MemberExpression&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration||t.id!==e)&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration&&t.type!==A.ArrowFunctionExpression||-1===t.params.indexOf(e))&&(t.type!==A.Property||t.key!==e)&&(t.type!==A.Property||t.value!==e||!t.shorthand)&&(t.type!==A.AssignmentExpression&&t.type!==A.AssignmentPattern||t.left!==e)&&(t.type!==A.VariableDeclarator||t.id!==e)&&(t.type!==A.UpdateExpression||"++"!==t.operator&&"--"!==t.operator)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getEval)&&t.type!==A.RestElement&&t.type!==A.ExportSpecifier&&t.type!==A.ImportSpecifier},run:gs},m={name:"window-eval-get",nodeReplacementRequireTransform:!1,nodeTypes:A.MemberExpression,condition:function(e,t){return!!t&&(t.type!==A.MemberExpression||t.property!==e&&t.object!==e)&&(t.type!==A.CallExpression||t.callee!==e)&&(t.type!==A.AssignmentExpression||t.left!==e)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getEval)&&(e.property.type===A.Identifier&&"eval"===e.property.name||e.property.type===A.Literal&&"eval"===e.property.value)},run:gs},Is={name:"post-message-get",nodeReplacementRequireTransform:!1,nodeTypes:A.Identifier,condition:function(e,t){return!("postMessage"!==e.name||!t)&&t.type!==A.MemberExpression&&t.type!==A.MethodDefinition&&t.type!==A.ClassDeclaration&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration||t.id!==e)&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration&&t.type!==A.ArrowFunctionExpression||-1===t.params.indexOf(e))&&(t.type!==A.Property||t.key!==e)&&(t.type!==A.Property||t.value!==e||!t.shorthand)&&(t.type!==A.AssignmentExpression&&t.type!==A.AssignmentPattern||t.left!==e)&&(t.type!==A.VariableDeclarator||t.id!==e)&&(t.type!==A.UpdateExpression||"++"!==t.operator&&"--"!==t.operator)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getPostMessage&&(t.callee.name!==g.callMethod||t.arguments[1]!==e))&&t.type!==A.RestElement&&t.type!==A.ExportSpecifier&&t.type!==A.ImportSpecifier},run:ys},Ps={name:"window-post-message-get",nodeReplacementRequireTransform:!1,nodeTypes:A.MemberExpression,condition:function(e,t){return!!t&&(t.type!==A.MemberExpression||t.property!==e&&t.object!==e)&&(t.type!==A.CallExpression||t.callee!==e)&&(t.type!==A.AssignmentExpression||t.left!==e)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getPostMessage)&&(e.property.type===A.Identifier&&"postMessage"===e.property.name||e.property.type===A.Literal&&"postMessage"===e.property.value)},run:ys},Ns=/^(call|apply|bind)$/,Os={name:"post-message-call-apply-bind",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){if(e.callee.type===A.MemberExpression&&e.callee.property.type===A.Identifier&&Ns.test(e.callee.property.name)){if(e.arguments.length<2&&"bind"!==e.callee.property.name)return!1;e=e.callee.object;if(e.type===A.MemberExpression&&"postMessage"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))return!0;if(e.type===A.Identifier&&"postMessage"===e.name)return!0}return!1},run:function(e){var e=e.callee,t=ys(e.object);return Cs(e.object,t,e,"object"),null}},ks={name:"for-in",nodeReplacementRequireTransform:!1,nodeTypes:A.ForInStatement,condition:function(e){return e.left.type===A.MemberExpression},run:function(e){var t=Zi(Qi.generateName()),r=ds("var",[hs(t)]),t=us(e.left,t);return e.body.type!==A.BlockStatement?Cs(e.body,ps([t,e.body]),e,"body"):Cs(null,t,e.body,"body"),Cs(e.left,r,e,"left"),null}};function Ls(e){var t=e.left,o=[],r=(null===(r=t.declarations[0])||void 0===r?void 0:r.id.type)===A.ArrayPattern,n=e.body.type===A.BlockStatement;if(r&&n){for(var i=t.declarations[0].id,s=i.elements,a=function(e){for(var t=0,r=s;t-1&&(d=Qi.generateName(d,void 0,c)),a.push(d),d=d,m=f=void 0,f=(h=h).value,m=h.computed||h.key.type===A.Literal,Ks(f,os(i,h.key,m),r,d))}}function qs(e,t,r,n){if(t){t.type!==A.ArrayExpression&&(o=t,t=rs(Zi(g.arrayFrom),[o]));var o,i=Ws(t,r,n);n=n||i.name;for(var s,a=0;a{for(var e=new Map,t=0,r=Qs;t{for(var t=[],r=0,n=e;r=170&&o.test(String.fromCharCode(e)):!1!==t&&(a(e,i)||a(e,s)))))},t.isIdentifierStart=function(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&n.test(String.fromCharCode(e)):!1!==t&&a(e,i)))},t.reservedWords=t.keywords=t.keywordRelationalOperator=void 0;t.reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",r=(t.keywords={5:r,"5module":r+" export import",6:r+" const class extends export import super"},t.keywordRelationalOperator=/^in(stanceof)?$/,"ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"),n=new RegExp("["+r+"]"),o=new RegExp("["+r+"‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_]"),i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],s=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function a(e,t){for(var r=65536,n=0;ne)return!1;if((r+=t[n+1])>=e)return!0}}}),y=H(function(e,t){t.__esModule=!0,t.types=t.keywords=t.TokenType=void 0;var r=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};function n(e,t){return new r(e,{beforeExpr:!0,binop:t})}t.TokenType=r;var o={beforeExpr:!0},i={startsExpr:!0},s={};function a(e,t){return(t=void 0===t?{}:t).keyword=e,s[e]=new r(e,t)}t.keywords=s;o={num:new r("num",i),regexp:new r("regexp",i),string:new r("string",i),name:new r("name",i),privateId:new r("privateId",i),eof:new r("eof"),bracketL:new r("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new r("]"),braceL:new r("{",{beforeExpr:!0,startsExpr:!0}),braceR:new r("}"),parenL:new r("(",{beforeExpr:!0,startsExpr:!0}),parenR:new r(")"),comma:new r(",",o),semi:new r(";",o),colon:new r(":",o),dot:new r("."),question:new r("?",o),questionDot:new r("?."),arrow:new r("=>",o),template:new r("template"),invalidTemplate:new r("invalidTemplate"),ellipsis:new r("...",o),backQuote:new r("`",i),dollarBraceL:new r("${",{beforeExpr:!0,startsExpr:!0}),eq:new r("=",{beforeExpr:!0,isAssign:!0}),assign:new r("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:n("||",1),logicalAND:n("&&",2),bitwiseOR:n("|",3),bitwiseXOR:n("^",4),bitwiseAND:n("&",5),equality:n("==/!=/===/!==",6),relational:n("/<=/>=",7),bitShift:n("<>/>>>",8),plusMin:new r("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:n("%",10),star:n("*",10),slash:n("/",10),starstar:new r("**",{beforeExpr:!0}),coalesce:n("??",1),_break:a("break"),_case:a("case",o),_catch:a("catch"),_continue:a("continue"),_debugger:a("debugger"),_default:a("default",o),_do:a("do",{isLoop:!0,beforeExpr:!0}),_else:a("else",o),_finally:a("finally"),_for:a("for",{isLoop:!0}),_function:a("function",i),_if:a("if"),_return:a("return",o),_switch:a("switch"),_throw:a("throw",o),_try:a("try"),_var:a("var"),_const:a("const"),_while:a("while",{isLoop:!0}),_with:a("with"),_new:a("new",{beforeExpr:!0,startsExpr:!0}),_this:a("this",i),_super:a("super",i),_class:a("class",i),_extends:a("extends",o),_export:a("export"),_import:a("import",i),_null:a("null",i),_true:a("true",i),_false:a("false",i),_in:a("in",{beforeExpr:!0,binop:7}),_instanceof:a("instanceof",{beforeExpr:!0,binop:7}),_typeof:a("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:a("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:a("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})};t.types=o}),v=H(function(e,t){t.__esModule=!0,t.isNewLine=i,t.lineBreakG=t.lineBreak=void 0,t.nextLineBreak=function(e,t,r){void 0===r&&(r=e.length);for(var n=t;n=2015&&(r.ecmaVersion-=2009);null==r.allowReserved&&(r.allowReserved=r.ecmaVersion<5);{var n;(0,ja.isArray)(r.onToken)&&(n=r.onToken,r.onToken=function(e){return n.push(e)})}(0,ja.isArray)(r.onComment)&&(r.onComment=((s,a)=>function(e,t,r,n,o,i){e={type:e?"Block":"Line",value:t,start:r,end:n};s.locations&&(e.loc=new Ha.SourceLocation(this,o,i)),s.ranges&&(e.range=[r,n]),a.push(e)})(r,r.onComment));return r}),allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},i=(t.defaultOptions=o,!1)}),_=H(function(e,t){t.__esModule=!0,t.SCOPE_VAR=t.SCOPE_TOP=t.SCOPE_SUPER=t.SCOPE_SIMPLE_CATCH=t.SCOPE_GENERATOR=t.SCOPE_FUNCTION=t.SCOPE_DIRECT_SUPER=t.SCOPE_CLASS_STATIC_BLOCK=t.SCOPE_ASYNC=t.SCOPE_ARROW=t.BIND_VAR=t.BIND_SIMPLE_CATCH=t.BIND_OUTSIDE=t.BIND_NONE=t.BIND_LEXICAL=t.BIND_FUNCTION=void 0,t.functionFlags=function(e,t){return r|(e?n:0)|(t?o:0)};var r=2,n=4,o=8;t.SCOPE_VAR=257|r,t.SCOPE_CLASS_STATIC_BLOCK=256,t.SCOPE_DIRECT_SUPER=128,t.SCOPE_SUPER=64,t.SCOPE_SIMPLE_CATCH=32,t.SCOPE_ARROW=16,t.SCOPE_GENERATOR=o,t.SCOPE_ASYNC=n,t.SCOPE_FUNCTION=r,t.SCOPE_TOP=1;t.BIND_OUTSIDE=5,t.BIND_SIMPLE_CATCH=4,t.BIND_FUNCTION=3,t.BIND_LEXICAL=2,t.BIND_VAR=1,t.BIND_NONE=0}),Ua=H(function(e,t){t.__esModule=!0,t.Parser=void 0;n.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Object.defineProperty(n.prototype,"inFunction",{get:function(){return(this.currentVarScope().flags&_.SCOPE_FUNCTION)>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inGenerator",{get:function(){return(this.currentVarScope().flags&_.SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inAsync",{get:function(){return(this.currentVarScope().flags&_.SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"canAwait",{get:function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&_.SCOPE_CLASS_STATIC_BLOCK)return!1;if(t.flags&_.SCOPE_FUNCTION)return(t.flags&_.SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowSuper",{get:function(){var e=this.currentThisScope();return(e.flags&_.SCOPE_SUPER)>0||e.inClassFieldInit||this.options.allowSuperOutsideMethod},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowDirectSuper",{get:function(){return(this.currentThisScope().flags&_.SCOPE_DIRECT_SUPER)>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"treatFunctionsAsVar",{get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowNewDotTarget",{get:function(){var e=this.currentThisScope();return(e.flags&(_.SCOPE_FUNCTION|_.SCOPE_CLASS_STATIC_BLOCK))>0||e.inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inClassStaticBlock",{get:function(){return(this.currentVarScope().flags&_.SCOPE_CLASS_STATIC_BLOCK)>0},enumerable:!1,configurable:!0}),n.extend=function(){for(var e=[],t=0;t=6?6:"module"===e.sourceType?"5module":5]);var n="",n=(!0!==e.allowReserved&&(n=Ra.reservedWords[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType)&&(n+=" await"),this.reservedWords=(0,ja.wordsRegexp)(n),(n?n+" ":"")+Ra.reservedWords.strict);this.reservedWordsStrict=(0,ja.wordsRegexp)(n),this.reservedWordsStrictBind=(0,ja.wordsRegexp)(n+" "+Ra.reservedWords.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(v.lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.types.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(_.SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]}t.Parser=r}),er=Ua.Parser.prototype,Fa=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,Va=(er.strictDirective=function(e){for(;;){v.skipWhiteSpace.lastIndex=e,e+=v.skipWhiteSpace.exec(this.input)[0].length;var t=Fa.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!1;e+=t[0].length,v.skipWhiteSpace.lastIndex=e,e+=v.skipWhiteSpace.exec(this.input)[0].length,";"===this.input[e]&&e++}},er.eat=function(e){return this.type===e&&(this.next(),!0)},er.isContextual=function(e){return this.type===y.types.name&&this.value===e&&!this.containsEsc},er.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},er.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},er.canInsertSemicolon=function(){return this.type===y.types.eof||this.type===y.types.braceR||v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},er.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},er.semicolon=function(){this.eat(y.types.semi)||this.insertSemicolon()||this.unexpected()},er.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},er.expect=function(e){this.eat(e)||this.unexpected()},er.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},er.checkPatternErrors=function(e,t){e&&(e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element"),(t=t?e.parenthesizedAssign:e.parenthesizedBind)>-1)&&this.raiseRecoverable(t,"Parenthesized pattern")},er.checkExpressionErrors=function(e,t){var r;return!!e&&(r=e.shorthandAssign,e=e.doubleProto,t?(r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),void(e>=0&&this.raiseRecoverable(e,"Redefinition of __proto__ property"))):r>=0||e>=0)},er.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos{var r;if(e)return"string"===typeof e?Ga(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ga(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r55295&&r<56320)return!0;if(!e){if(123===r)return!0;if((0,Ra.isIdentifierStart)(r,!0)){for(var n=t+1;(0,Ra.isIdentifierChar)(r=this.input.charCodeAt(n),!0);)++n;if(92===r||r>55295&&r<56320)return!0;e=this.input.slice(t,n);if(!Ra.keywordRelationalOperator.test(e))return!0}}}return!1},n.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;v.skipWhiteSpace.lastIndex=this.pos;var e=v.skipWhiteSpace.exec(this.input),e=this.pos+e[0].length;return!v.lineBreak.test(this.input.slice(this.pos,e))&&"function"===this.input.slice(e,e+8)&&(e+8===this.input.length||!((0,Ra.isIdentifierChar)(e=this.input.charCodeAt(e+8))||e>55295&&e<56320))},n.parseStatement=function(e,t,r){var n,o,i=this.type,s=this.startNode();switch(this.isLet(e)&&(i=y.types._var,n="let"),i){case y.types._break:case y.types._continue:return this.parseBreakContinueStatement(s,i.keyword);case y.types._debugger:return this.parseDebuggerStatement(s);case y.types._do:return this.parseDoStatement(s);case y.types._for:return this.parseForStatement(s);case y.types._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case y.types._class:return e&&this.unexpected(),this.parseClass(s,!0);case y.types._if:return this.parseIfStatement(s);case y.types._return:return this.parseReturnStatement(s);case y.types._switch:return this.parseSwitchStatement(s);case y.types._throw:return this.parseThrowStatement(s);case y.types._try:return this.parseTryStatement(s);case y.types._const:case y.types._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(s,n);case y.types._while:return this.parseWhileStatement(s);case y.types._with:return this.parseWithStatement(s);case y.types.braceL:return this.parseBlock(!0,s);case y.types.semi:return this.parseEmptyStatement(s);case y.types._export:case y.types._import:if(this.options.ecmaVersion>10&&i===y.types._import){v.skipWhiteSpace.lastIndex=this.pos;var a=v.skipWhiteSpace.exec(this.input),a=this.pos+a[0].length,a=this.input.charCodeAt(a);if(40===a||46===a)return this.parseExpressionStatement(s,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'"),i===y.types._import?this.parseImport(s):this.parseExport(s,r);default:return this.isAsyncFunction()?(e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e)):(a=this.value,o=this.parseExpression(),i===y.types.name&&"Identifier"===o.type&&this.eat(y.types.colon)?this.parseLabeledStatement(s,a,o,e):this.parseExpressionStatement(s,o))}},n.parseBreakContinueStatement=function(e,t){for(var r="break"===t,n=(this.next(),this.eat(y.types.semi)||this.insertSemicolon()?e.label=null:this.type!==y.types.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon()),0);n=6?this.eat(y.types.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},n.parseForStatement=function(e){this.next();var t,r,n,o,i=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;return this.labels.push(qa),this.enterScope(0),this.expect(y.types.parenL),this.type===y.types.semi?(i>-1&&this.unexpected(i),this.parseFor(e,null)):(t=this.isLet(),this.type===y.types._var||this.type===y.types._const||t?(r=this.startNode(),t=t?"let":this.value,this.next(),this.parseVar(r,!0,t),this.finishNode(r,"VariableDeclaration"),(this.type===y.types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===y.types._in?i>-1&&this.unexpected(i):e.await=i>-1),this.parseForIn(e,r)):(i>-1&&this.unexpected(i),this.parseFor(e,r))):(t=this.isContextual("let"),r=!1,n=new Va.DestructuringErrors,o=this.parseExpression(!(i>-1)||"await",n),this.type===y.types._in||(r=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===y.types._in?i>-1&&this.unexpected(i):e.await=i>-1),t&&r&&this.raise(o.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(o,!1,n),this.checkLValPattern(o),this.parseForIn(e,o)):(this.checkExpressionErrors(n,!0),i>-1&&this.unexpected(i),this.parseFor(e,o))))},n.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,$a|(r?0:Xa),!1,t)},n.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(y.types._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},n.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.types.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},n.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.types.braceL),this.labels.push(za),this.enterScope(0);for(var r,n=!1;this.type!==y.types.braceR;)this.type===y.types._case||this.type===y.types._default?(r=this.type===y.types._case,t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(y.types.colon)):(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")},n.parseThrowStatement=function(e){return this.next(),v.lineBreak.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")},[]),$a=(n.parseTryStatement=function(e){var t,r;return this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y.types._catch&&(t=this.startNode(),this.next(),this.eat(y.types.parenL)?(t.param=this.parseBindingAtom(),r="Identifier"===t.param.type,this.enterScope(r?_.SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(t.param,r?_.BIND_SIMPLE_CATCH:_.BIND_LEXICAL),this.expect(y.types.parenR)):(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")),e.finalizer=this.eat(y.types._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},n.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},n.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(qa),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},n.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")},n.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},n.parseLabeledStatement=function(e,t,r,n){for(var o,i=Wa(this.labels);!(o=i()).done;)(s=o.value).name===t&&this.raise(r.start,"Label '"+t+"' is already declared");for(var s,a=this.type.isLoop?"loop":this.type===y.types._switch?"switch":null,c=this.labels.length-1;c>=0&&(s=this.labels[c]).statementStart===e.start;c--)s.statementStart=this.start,s.kind=a;return this.labels.push({name:t,kind:a,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")},n.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},n.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),(t=void 0===t?this.startNode():t).body=[],this.expect(y.types.braceL),e&&this.enterScope(0);this.type!==y.types.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},n.parseFor=function(e,t){return e.init=t,this.expect(y.types.semi),e.test=this.type===y.types.semi?null:this.parseExpression(),this.expect(y.types.semi),e.update=this.type===y.types.parenR?null:this.parseExpression(),this.expect(y.types.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},n.parseForIn=function(e,t){var r=this.type===y.types._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,"".concat(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(y.types.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},n.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(y.types.eq)?n.init=this.parseMaybeAssign(t):"const"!==r||this.type===y.types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||t&&(this.type===y.types._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(y.types.comma))break}return e},n.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?_.BIND_VAR:_.BIND_LEXICAL,!1)},1),Xa=2;function Ya(e,t){var r=e.computed,e=e.key;return!r&&("Identifier"===e.type&&e.name===t||"Literal"===e.type&&e.value===t)}function Qa(e,t){var r,n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=((e,t)=>{var r;if(e)return"string"===typeof e?Ja(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ja(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ja(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=9||this.options.ecmaVersion>=6&&!n)&&(this.type===y.types.star&&t&Xa&&this.unexpected(),e.generator=this.eat(y.types.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&$a&&(e.id=4&t&&this.type!==y.types.name?null:this.parseIdent(),!e.id||t&Xa||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?_.BIND_VAR:_.BIND_LEXICAL:_.BIND_FUNCTION));var n=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope((0,_.functionFlags)(e.async,e.generator)),t&$a||(e.id=this.type===y.types.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,o),this.yieldPos=n,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(e,t&$a?"FunctionDeclaration":"FunctionExpression")},n.parseFunctionParams=function(e){this.expect(y.types.parenL),e.params=this.parseBindingList(y.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},n.parseClass=function(e,t){this.next();var r=this.strict,n=(this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e),this.enterClassBody()),o=this.startNode(),i=!1;for(o.body=[],this.expect(y.types.braceL);this.type!==y.types.braceR;){var s=this.parseClassElement(null!==e.superClass);s&&(o.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind?(i&&this.raise(s.start,"Duplicate constructor in the same class"),i=!0):s.key&&"PrivateIdentifier"===s.key.type&&((e,t)=>{var r=t.key.name,n=e[r],o="true";if("MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(o=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===o||"iset"===n&&"iget"===o||"sget"===n&&"sset"===o||"sset"===n&&"sget"===o)e[r]="true";else{if(n)return 1;e[r]=o}})(n,s)&&this.raiseRecoverable(s.key.start,"Identifier '#".concat(s.key.name,"' has already been declared")))}return this.strict=r,this.next(),e.body=this.finishNode(o,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},n.parseClassElement=function(e){if(this.eat(y.types.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",o=!1,i=!1,s="method",a=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(y.types.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===y.types.star?a=!0:n="static"}return r.static=a,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==y.types.star||this.canInsertSemicolon()?n="async":i=!0),!n&&(t>=9||!i)&&this.eat(y.types.star)&&(o=!0),n||i||o||(a=this.value,(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=a:n=a)),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===y.types.parenL||"method"!==s||o||i?(n=(a=!r.static&&Ya(r,"constructor"))&&e,a&&"method"!==s&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=a?"constructor":s,this.parseClassMethod(r,o,i,n)):this.parseClassField(r),r},n.isClassElementNameStart=function(){return this.type===y.types.name||this.type===y.types.privateId||this.type===y.types.num||this.type===y.types.string||this.type===y.types.bracketL||this.type.keyword},n.parseClassElementName=function(e){this.type===y.types.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)},n.parseClassMethod=function(e,t,r,n){var o=e.key,o=("constructor"===e.kind?(t&&this.raise(o.start,"Constructor can't be a generator"),r&&this.raise(o.start,"Constructor can't be an async method")):e.static&&Ya(e,"prototype")&&this.raise(o.start,"Classes may not have a static property named prototype"),e.value=this.parseMethod(t,r,n));return"get"===e.kind&&0!==o.params.length&&this.raiseRecoverable(o.start,"getter should have no params"),"set"===e.kind&&1!==o.params.length&&this.raiseRecoverable(o.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===o.params[0].type&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},n.parseClassField=function(e){var t,r;return Ya(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ya(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.types.eq)?(r=(t=this.currentThisScope()).inClassFieldInit,t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},n.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(_.SCOPE_CLASS_STATIC_BLOCK|_.SCOPE_SUPER);this.type!==y.types.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},n.parseClassId=function(e,t){this.type===y.types.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,_.BIND_LEXICAL,!1)):(!0===t&&this.unexpected(),e.id=null)},n.parseClassSuper=function(e){e.superClass=this.eat(y.types._extends)?this.parseExprSubscripts(!1):null},n.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},n.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,e=this.privateNameStack.length,n=0===e?null:this.privateNameStack[e-1],o=0;o=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==y.types.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");var r,n;if(this.eat(y.types._default))return this.checkExport(t,"default",this.lastTokStart),r=void 0,this.type===y.types._function||(r=this.isAsyncFunction())?(n=this.startNode(),this.next(),r&&this.next(),e.declaration=this.parseFunction(n,4|$a,!1,r)):this.type===y.types._class?(n=this.startNode(),e.declaration=this.parseClass(n,"nullableID")):(e.declaration=this.parseMaybeAssign(),this.semicolon()),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.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.types.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=Wa(e.specifiers);!(i=o()).done;){var i=i.value;this.checkUnreserved(i.local),this.checkLocalExport(i.local),"Literal"===i.local.type&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},n.checkExport=function(e,t,r){e&&((0,ja.hasOwn)(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},n.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t.name,t.start);else if("ObjectPattern"===r)for(var n,o=Wa(t.properties);!(n=o()).done;)this.checkPatternExport(e,n.value);else if("ArrayPattern"===r)for(var i=Wa(t.elements);!(s=i()).done;){var s=s.value;s&&this.checkPatternExport(e,s)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r?this.checkPatternExport(e,t.argument):"ParenthesizedExpression"===r&&this.checkPatternExport(e,t.expression)},n.checkVariableExport=function(e,t){if(e)for(var r,n=Wa(t);!(r=n()).done;)this.checkPatternExport(e,r.value.id)},n.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},n.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(y.types.braceL);!this.eat(y.types.braceR);){if(r)r=!1;else if(this.expect(y.types.comma),this.afterTrailingComma(y.types.braceR))break;var n=this.startNode();n.local=this.parseModuleExportName(),n.exported=this.eatContextual("as")?this.parseModuleExportName():n.local,this.checkExport(e,n.exported["Identifier"===n.exported.type?"name":"value"],n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t},n.parseImport=function(e){return this.next(),this.type===y.types.string?(e.specifiers=Ka,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===y.types.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},n.parseImportSpecifiers=function(){var e,t=[],r=!0;if(this.type===y.types.name&&((e=this.startNode()).local=this.parseIdent(),this.checkLValSimple(e.local,_.BIND_LEXICAL),t.push(this.finishNode(e,"ImportDefaultSpecifier")),!this.eat(y.types.comma)))return t;if(this.type===y.types.star)e=this.startNode(),this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,_.BIND_LEXICAL),t.push(this.finishNode(e,"ImportNamespaceSpecifier"));else for(this.expect(y.types.braceL);!this.eat(y.types.braceR);){if(r)r=!1;else if(this.expect(y.types.comma),this.afterTrailingComma(y.types.braceR))break;(e=this.startNode()).imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,_.BIND_LEXICAL),t.push(this.finishNode(e,"ImportSpecifier"))}return t},n.parseModuleExportName=function(){var e;return this.options.ecmaVersion>=13&&this.type===y.types.string?(e=this.parseLiteral(this.value),ja.loneSurrogate.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e):this.parseIdent(!0)},n.adaptDirectivePrologue=function(e){for(var t=0;t=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":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=Qa(e.properties);!(o=n()).done;){var o=o.value;this.toAssignable(o,t),"RestElement"!==o.type||"ArrayPattern"!==o.argument.type&&"ObjectPattern"!==o.argument.type||this.raise(o.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},Ts.toAssignableList=function(e,t){for(var r,n=e.length,o=0;o=6)switch(this.type){case y.types.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(y.types.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case y.types.braceL:return this.parseObj(!0)}return this.parseIdent()},Ts.parseBindingList=function(e,t,r){for(var n=[],o=!0;!this.eat(e);)if(o?o=!1:this.expect(y.types.comma),t&&this.type===y.types.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===y.types.ellipsis){var i=this.parseRestBinding();this.parseBindingListItem(i),n.push(i),this.type===y.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}i=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(i),n.push(i)}return n},Ts.parseBindingListItem=function(e){return e},Ts.parseMaybeDefault=function(e,t,r){return r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.types.eq)?r:((e=this.startNodeAt(e,t)).left=r,e.right=this.parseMaybeAssign(),this.finishNode(e,"AssignmentPattern"))},Ts.checkLValSimple=function(e,t,r){var n=(t=void 0===t?_.BIND_NONE:t)!==_.BIND_NONE;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===_.BIND_LEXICAL&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&((0,ja.hasOwn)(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==_.BIND_OUTSIDE)&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}},Ts.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=_.BIND_NONE),e.type){case"ObjectPattern":for(var n,o=Qa(e.properties);!(n=o()).done;)this.checkLValInnerPattern(n.value,t,r);break;case"ArrayPattern":for(var i=Qa(e.elements);!(s=i()).done;){var s=s.value;s&&this.checkLValInnerPattern(s,t,r)}break;default:this.checkLValSimple(e,t,r)}},Ts.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=_.BIND_NONE),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var Za=H(function(e,t){t.__esModule=!0,t.types=t.TokContext=void 0;var r=function(e,t,r,n,o){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!o},n={b_stat:new(t.TokContext=r)("{",!1),b_expr:new r("{",!0),b_tmpl:new r("${",!1),p_stat:new r("(",!1),p_expr:new r("(",!0),q_tmpl:new r("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new r("function",!1),f_expr:new r("function",!0),f_expr_gen:new r("function",!0,!1,null,!0),f_gen:new r("function",!1,!1,null,!0)},r=(t.types=n,Ua.Parser.prototype);r.initialContext=function(){return[n.b_stat]},r.curContext=function(){return this.context[this.context.length-1]},r.braceIsBlock=function(e){var t=this.curContext();return t===n.f_expr||t===n.f_stat||(e!==y.types.colon||t!==n.b_stat&&t!==n.b_expr?e===y.types._return||e===y.types.name&&this.exprAllowed?v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):e===y.types._else||e===y.types.semi||e===y.types.eof||e===y.types.parenR||e===y.types.arrow||(e===y.types.braceL?t===n.b_stat:e!==y.types._var&&e!==y.types._const&&e!==y.types.name&&!this.exprAllowed):!t.isExpr)},r.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},r.updateContext=function(e){var t,r=this.type;r.keyword&&e===y.types.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},r.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},y.types.parenR.updateContext=y.types.braceR.updateContext=function(){var e;1===this.context.length?this.exprAllowed=!0:((e=this.context.pop())===n.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr)},y.types.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?n.b_stat:n.b_expr),this.exprAllowed=!0},y.types.dollarBraceL.updateContext=function(){this.context.push(n.b_tmpl),this.exprAllowed=!0},y.types.parenL.updateContext=function(e){e=e===y.types._if||e===y.types._for||e===y.types._with||e===y.types._while;this.context.push(e?n.p_stat:n.p_expr),this.exprAllowed=!0},y.types.incDec.updateContext=function(){},y.types._function.updateContext=y.types._class.updateContext=function(e){!e.beforeExpr||e===y.types._else||e===y.types.semi&&this.curContext()!==n.p_stat||e===y.types._return&&v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(e===y.types.colon||e===y.types.braceL)&&this.curContext()===n.b_stat?this.context.push(n.f_stat):this.context.push(n.f_expr),this.exprAllowed=!1},y.types.backQuote.updateContext=function(){this.curContext()===n.q_tmpl?this.context.pop():this.context.push(n.q_tmpl),this.exprAllowed=!1},y.types.star.updateContext=function(e){e===y.types._function&&(e=this.context.length-1,this.context[e]===n.f_expr?this.context[e]=n.f_expr_gen:this.context[e]=n.f_gen),this.exprAllowed=!0},y.types.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t}});function ec(e,t){var r,n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=((e,t)=>{var r;if(e)return"string"===typeof e?tc(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tc(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=9&&"SpreadElement"===e.type)&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key;switch(n.type){case"Identifier":o=n.name;break;case"Literal":o=String(n.value);break;default:return}var o,e=e.kind;this.options.ecmaVersion>=6?"__proto__"===o&&"init"===e&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0):((r=t[o="$"+o])?("init"===e?this.strict&&r.init||r.get||r.set:r.init||r[e])&&this.raiseRecoverable(n.start,"Redefinition of property"):r=t[o]={init:!1,get:!1,set:!1},r[e]=!0)}},m.parseExpression=function(e,t){var r=this.start,n=this.startLoc,o=this.parseMaybeAssign(e,t);if(this.type!==y.types.comma)return o;var i=this.startNodeAt(r,n);for(i.expressions=[o];this.eat(y.types.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")},m.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,o=-1,i=-1,s=-1,a=(t?(o=t.parenthesizedAssign,i=t.trailingComma,s=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Va.DestructuringErrors,n=!0),this.start),c=this.startLoc,l=(this.type!==y.types.parenL&&this.type!==y.types.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e),this.parseMaybeConditional(e,t));return r&&(l=r.call(this,l,a,c)),this.type.isAssign?((r=this.startNodeAt(a,c)).operator=this.value,this.type===y.types.eq&&(l=this.toAssignable(l,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===y.types.eq?this.checkLValPattern(l):this.checkLValSimple(l),r.left=l,this.next(),r.right=this.parseMaybeAssign(e),s>-1&&(t.doubleProto=s),this.finishNode(r,"AssignmentExpression")):(n&&this.checkExpressionErrors(t,!0),o>-1&&(t.parenthesizedAssign=o),i>-1&&(t.trailingComma=i),l)},m.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,o=this.parseExprOps(e,t);return!this.checkExpressionErrors(t)&&this.eat(y.types.question)?((t=this.startNodeAt(r,n)).test=o,t.consequent=this.parseMaybeAssign(),this.expect(y.types.colon),t.alternate=this.parseMaybeAssign(e),this.finishNode(t,"ConditionalExpression")):o},m.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,o=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||o.start===r&&"ArrowFunctionExpression"===o.type?o:this.parseExprOp(o,r,n,-1,e)},m.parseExprOp=function(e,t,r,n,o){var i,s,a,c,l,u=this.type.binop;if(null!=u&&(!o||this.type!==y.types._in)&&u>n)return i=this.type===y.types.logicalOR||this.type===y.types.logicalAND,(s=this.type===y.types.coalesce)&&(u=y.types.logicalAND.binop),a=this.value,this.next(),c=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,o),c,l,u,o),l=this.buildBinary(t,r,e,c,a,i||s),(i&&this.type===y.types.coalesce||s&&(this.type===y.types.logicalOR||this.type===y.types.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(l,t,r,n,o);return e},m.buildBinary=function(e,t,r,n,o,i){"PrivateIdentifier"===n.type&&this.raise(n.start,"Private identifier can only be left side of binary expression");e=this.startNodeAt(e,t);return e.left=r,e.operator=o,e.right=n,this.finishNode(e,i?"LogicalExpression":"BinaryExpression")},m.parseMaybeUnary=function(e,t,r,n){var o,i=this.start,s=this.startLoc;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(n),t=!0;else if(this.type.prefix){var a=this.startNode(),c=this.type===y.types.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0,c,n),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):"delete"===a.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)}(a.argument)?this.raiseRecoverable(a.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(a,c?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==y.types.privateId){if(o=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();)(a=this.startNodeAt(i,s)).operator=this.value,a.prefix=!1,a.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(a,"UpdateExpression")}else!n&&0!==this.privateNameStack.length||this.unexpected(),o=this.parsePrivateIdent(),this.type!==y.types._in&&this.unexpected();return r||!this.eat(y.types.starstar)?o:t?void this.unexpected(this.lastTokStart):this.buildBinary(i,s,o,this.parseMaybeUnary(null,!1,!1,n),"**",!1)},m.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,o=this.parseExprAtom(e,t);return"ArrowFunctionExpression"===o.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd)||(o=this.parseSubscripts(o,r,n,!1,t),e&&"MemberExpression"===o.type&&(e.parenthesizedAssign>=o.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=o.start&&(e.parenthesizedBind=-1),e.trailingComma>=o.start)&&(e.trailingComma=-1)),o},m.parseSubscripts=function(e,t,r,n,o){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,s=!1;;){var a,c=this.parseSubscript(e,t,r,n,i,s,o);if(c.optional&&(s=!0),c===e||"ArrowFunctionExpression"===c.type)return s&&((a=this.startNodeAt(t,r)).expression=c,c=this.finishNode(a,"ChainExpression")),c;e=c}},m.parseSubscript=function(e,t,r,n,o,i,s){var a=this.options.ecmaVersion>=11,c=a&&this.eat(y.types.questionDot),l=(n&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions"),this.eat(y.types.bracketL));if(l||c&&this.type!==y.types.parenL&&this.type!==y.types.backQuote||this.eat(y.types.dot))(u=this.startNodeAt(t,r)).object=e,l?(u.property=this.parseExpression(),this.expect(y.types.bracketR)):this.type===y.types.privateId&&"Super"!==e.type?u.property=this.parsePrivateIdent():u.property=this.parseIdent("never"!==this.options.allowReserved),u.computed=!!l,a&&(u.optional=c||u.object.optional),e=this.finishNode(u,"MemberExpression");else if(!n&&this.eat(y.types.parenL)){var u,l=new Va.DestructuringErrors,n=this.yieldPos,p=this.awaitPos,h=this.awaitIdentPos,d=(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.parseExprList(y.types.parenR,this.options.ecmaVersion>=8,!1,l));if(o&&!c&&!this.canInsertSemicolon()&&this.eat(y.types.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=n,this.awaitPos=p,this.awaitIdentPos=h,this.parseArrowExpression(this.startNodeAt(t,r),d,!0,s);this.checkExpressionErrors(l,!0),this.yieldPos=n||this.yieldPos,this.awaitPos=p||this.awaitPos,this.awaitIdentPos=h||this.awaitIdentPos,(u=this.startNodeAt(t,r)).callee=e,u.arguments=d,a&&(u.optional=c),e=this.finishNode(u,"CallExpression")}else this.type===y.types.backQuote&&((c||i)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions"),(u=this.startNodeAt(t,r)).tag=e,u.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(u,"TaggedTemplateExpression"));return e},m.parseExprAtom=function(e,t){this.type===y.types.slash&&this.readRegexp();var r=this.potentialArrowAt===this.start;switch(this.type){case y.types._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),a=this.startNode(),this.next(),this.type!==y.types.parenL||this.allowDirectSuper||this.raise(a.start,"super() call outside constructor of a subclass"),this.type!==y.types.dot&&this.type!==y.types.bracketL&&this.type!==y.types.parenL&&this.unexpected(),this.finishNode(a,"Super");case y.types._this:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case y.types.name:var n=this.start,o=this.startLoc,i=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!i&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(y.types._function))return this.overrideContext(Za.types.f_expr),this.parseFunction(this.startNodeAt(n,o),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(y.types.arrow))return this.parseArrowExpression(this.startNodeAt(n,o),[s],!1,t);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===y.types.name&&!i&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(y.types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,o),[s],!0,t)}return s;case y.types.regexp:var a,i=this.value;return(a=this.parseLiteral(i.value)).regex={pattern:i.pattern,flags:i.flags},a;case y.types.num:case y.types.string:return this.parseLiteral(this.value);case y.types._null:case y.types._true:case y.types._false:return(a=this.startNode()).value=this.type===y.types._null?null:this.type===y.types._true,a.raw=this.type.keyword,this.next(),this.finishNode(a,"Literal");case y.types.parenL:n=this.start,o=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(o)&&(e.parenthesizedAssign=n),e.parenthesizedBind<0)&&(e.parenthesizedBind=n),o;case y.types.bracketL:return a=this.startNode(),this.next(),a.elements=this.parseExprList(y.types.bracketR,!0,!0,e),this.finishNode(a,"ArrayExpression");case y.types.braceL:return this.overrideContext(Za.types.b_expr),this.parseObj(!1,e);case y.types._function:return a=this.startNode(),this.next(),this.parseFunction(a,0);case y.types._class:return this.parseClass(this.startNode(),!1);case y.types._new:return this.parseNew();case y.types.backQuote:return this.parseTemplate();case y.types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},m.parseExprImport=function(){var e=this.startNode(),t=(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.parseIdent(!0));switch(this.type){case y.types.parenL:return this.parseDynamicImport(e);case y.types.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},m.parseDynamicImport=function(e){var t;return this.next(),e.source=this.parseMaybeAssign(),this.eat(y.types.parenR)||(t=this.start,this.eat(y.types.comma)&&this.eat(y.types.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)),this.finishNode(e,"ImportExpression")},m.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")},m.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.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")},m.parseParenExpression=function(){this.expect(y.types.parenL);var e=this.parseExpression();return this.expect(y.types.parenR),e},m.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start,o=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc,c=[],l=!0,u=!1,p=new Va.DestructuringErrors,h=this.yieldPos,d=this.awaitPos,f=void 0;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.types.parenR;){if(l?l=!1:this.expect(y.types.comma),i&&this.afterTrailingComma(y.types.parenR,!0)){u=!0;break}if(this.type===y.types.ellipsis){f=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===y.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(y.types.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.types.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=d,this.parseParenArrowList(n,o,c,t);c.length&&!u||this.unexpected(this.lastTokStart),f&&this.unexpected(f),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?((r=this.startNodeAt(s,a)).expressions=c,this.finishNodeAt(r,"SequenceExpression",m,g)):r=c[0]}else r=this.parseParenExpression();return this.options.preserveParens?((e=this.startNodeAt(n,o)).expression=r,this.finishNode(e,"ParenthesizedExpression")):r},m.parseParenItem=function(e){return e},m.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var rc=[],Ps=(m.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e,t,r=this.startNode(),n=this.parseIdent(!0);return this.options.ecmaVersion>=6&&this.eat(y.types.dot)?(r.meta=n,n=this.containsEsc,r.property=this.parseIdent(!0),"target"!==r.property.name&&this.raiseRecoverable(r.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(r.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(r.start,"'new.target' can only be used in functions and class static block"),this.finishNode(r,"MetaProperty")):(n=this.start,e=this.startLoc,t=this.type===y.types._import,r.callee=this.parseSubscripts(this.parseExprAtom(),n,e,!0,!1),t&&"ImportExpression"===r.callee.type&&this.raise(n,"Cannot use new with import()"),this.eat(y.types.parenL)?r.arguments=this.parseExprList(y.types.parenR,this.options.ecmaVersion>=8,!1):r.arguments=rc,this.finishNode(r,"NewExpression"))},m.parseTemplateElement=function(e){var e=e.isTagged,t=this.startNode();return this.type===y.types.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),t.value={raw:this.value,cooked:null}):t.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),t.tail=this.type===y.types.backQuote,this.finishNode(t,"TemplateElement")},m.parseTemplate=function(e){var e=(void 0===e?{}:e).isTagged,t=void 0!==e&&e,r=this.startNode(),n=(this.next(),r.expressions=[],this.parseTemplateElement({isTagged:t}));for(r.quasis=[n];!n.tail;)this.type===y.types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.types.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(y.types.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},m.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===y.types.name||this.type===y.types.num||this.type===y.types.string||this.type===y.types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.types.star)&&!v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},m.parseObj=function(e,t){var r=this.startNode(),n=!0,o={};for(r.properties=[],this.next();!this.eat(y.types.braceR);){if(n)n=!1;else if(this.expect(y.types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.types.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,o,t),r.properties.push(i)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},m.parseProperty=function(e,t){var r,n,o,i,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.types.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===y.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===y.types.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0)&&(t.parenthesizedBind=this.start),s.argument=this.parseMaybeAssign(!1,t),this.type===y.types.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(o=this.start,i=this.startLoc),e||(r=this.eat(y.types.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(s)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(y.types.star),this.parsePropertyName(s,t)):n=!1,this.parsePropertyValue(s,e,r,n,o,i,t,a),this.finishNode(s,"Property")},m.parsePropertyValue=function(e,t,r,n,o,i,s,a){(r||n)&&this.type===y.types.colon&&this.unexpected(),this.eat(y.types.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init"):this.options.ecmaVersion>=6&&this.type===y.types.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n)):t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===y.types.comma||this.type===y.types.braceR||this.type===y.types.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=o),e.kind="init",t?e.value=this.parseMaybeDefault(o,i,this.copyNode(e.key)):this.type===y.types.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(o,i,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1),a="get"===e.kind?0:1,e.value.params.length!==a?(t=e.value.start,"get"===e.kind?this.raiseRecoverable(t,"getter should have no params"):this.raiseRecoverable(t,"setter should have exactly one param")):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params"))},m.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.types.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.types.bracketR),e.key;e.computed=!1}return e.key=this.type===y.types.num||this.type===y.types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},m.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},m.parseMethod=function(e,t,r){var n=this.startNode(),o=this.yieldPos,i=this.awaitPos,s=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((0,_.functionFlags)(t,n.generator)|_.SCOPE_SUPER|(r?_.SCOPE_DIRECT_SUPER:0)),this.expect(y.types.parenL),n.params=this.parseBindingList(y.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=o,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(n,"FunctionExpression")},m.parseArrowExpression=function(e,t,r,n){var o=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;return this.enterScope((0,_.functionFlags)(r,!1)|_.SCOPE_ARROW),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=o,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},m.parseFunctionBody=function(e,t,r,n){var o=t&&this.type!==y.types.braceL,i=this.strict,s=!1;o?(e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1)):(o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params),i&&!o||(s=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"),n=this.labels,this.labels=[],s&&(this.strict=!0),this.checkParams(e,!i&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,_.BIND_OUTSIDE),e.body=this.parseBlock(!1,void 0,s&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=n),this.exitScope()},m.isSimpleParamList=function(e){for(var t,r=ec(e);!(t=r()).done;)if("Identifier"!==t.value.type)return!1;return!0},m.checkParams=function(e,t){for(var r,n=Object.create(null),o=ec(e.params);!(r=o()).done;)this.checkLValInnerPattern(r.value,_.BIND_VAR,t?null:n)},m.parseExprList=function(e,t,r,n){for(var o=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(y.types.comma),t&&this.afterTrailingComma(e))break;var s=void 0;r&&this.type===y.types.comma?s=null:this.type===y.types.ellipsis?(s=this.parseSpread(n),n&&this.type===y.types.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):s=this.parseMaybeAssign(!1,n),o.push(s)}return o},m.checkUnreserved=function(e){var t=e.start,r=e.end,e=e.name;this.inGenerator&&"yield"===e&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===e&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===e&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==e&&"await"!==e||this.raise(t,"Cannot use ".concat(e," in class static initialization block")),this.keywords.test(e)&&this.raise(t,"Unexpected keyword '".concat(e,"'")),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(e)&&(this.inAsync||"await"!==e||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '".concat(e,"' is reserved")))},m.parseIdent=function(e,t){var r=this.startNode();return this.type===y.types.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,"class"!==r.name&&"function"!==r.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),"await"!==r.name)||this.awaitIdentPos||(this.awaitIdentPos=r.start),r},m.parsePrivateIdent=function(){var e=this.startNode();return this.type===y.types.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),0===this.privateNameStack.length?this.raise(e.start,"Private field '#".concat(e.name,"' must be declared in an enclosing class")):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e},m.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===y.types.semi||this.canInsertSemicolon()||this.type!==y.types.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(y.types.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},m.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")},(Is=Ua.Parser.prototype).raise=function(e,t){var r=(0,Ha.getLineInfo)(this.input,e),t=(t+=" ("+r.line+":"+r.column+")",new SyntaxError(t));throw t.pos=e,t.loc=r,t.raisedAt=this.pos,t},Is.raiseRecoverable=Is.raise,Is.curPosition=function(){if(this.options.locations)return new Ha.Position(this.curLine,this.pos-this.lineStart)},Ua.Parser.prototype),nc=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1},oc=(Ps.enterScope=function(e){this.scopeStack.push(new nc(e))},Ps.exitScope=function(){this.scopeStack.pop()},Ps.treatFunctionsAsVarInScope=function(e){return e.flags&_.SCOPE_FUNCTION||!this.inModule&&e.flags&_.SCOPE_TOP},Ps.declareName=function(e,t,r){var n=!1;if(t===_.BIND_LEXICAL){n=(o=this.currentScope()).lexical.indexOf(e)>-1||o.functions.indexOf(e)>-1||o.var.indexOf(e)>-1;o.lexical.push(e),this.inModule&&o.flags&_.SCOPE_TOP&&delete this.undefinedExports[e]}else if(t===_.BIND_SIMPLE_CATCH)(o=this.currentScope()).lexical.push(e);else if(t===_.BIND_FUNCTION){var o=this.currentScope();n=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var i=this.scopeStack.length-1;i>=0;--i){if((o=this.scopeStack[i]).lexical.indexOf(e)>-1&&!(o.flags&_.SCOPE_SIMPLE_CATCH&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){n=!0;break}if(o.var.push(e),this.inModule&&o.flags&_.SCOPE_TOP&&delete this.undefinedExports[e],o.flags&_.SCOPE_VAR)break}n&&this.raiseRecoverable(r,"Identifier '".concat(e,"' has already been declared"))},Ps.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Ps.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ps.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&_.SCOPE_VAR)return t}},Ps.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&_.SCOPE_VAR&&!(t.flags&_.SCOPE_ARROW))return t}},H(function(e,t){t.__esModule=!0,t.Node=void 0;var n=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ha.SourceLocation(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},t=(t.Node=n,Ua.Parser.prototype);function o(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}t.startNode=function(){return new n(this,this.start,this.startLoc)},t.startNodeAt=function(e,t){return new n(this,e,t)},t.finishNode=function(e,t){return o.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},t.finishNodeAt=function(e,t,r,n){return o.call(this,e,t,r,n)},t.copyNode=function(e){var t,r=new n(this,e.start,this.startLoc);for(t in e)r[t]=e[t];return r}})),ic=H(function(e,t){t.__esModule=!0,t.default=void 0;var r="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",n=r+" Extended_Pictographic",o=n+" EBase EComp EMod EPres ExtPict",i={9:r,10:n,11:n,12:o,13:"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 Extended_Pictographic EBase EComp EMod EPres ExtPict"},s="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",r="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",n=r+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",o=n+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",a=o+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",c={9:r,10:n,11:o,12:a,13:"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 Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith"},l={};for(var u,p=0,h=[9,10,11,12,13];p{var r;if(e)return"string"===typeof e?o(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=6?"uy":"").concat(e.options.ecmaVersion>=9?"s":"").concat(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=r.default[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 a(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function c(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function u(e){return l(e)||95===e}function p(e){return e>=48&&e<=57}function h(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function d(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function f(e){return e>=48&&e<=55}s.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},s.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /".concat(this.source,"/: ").concat(e))},s.prototype.at=function(e,t){void 0===t&&(t=!1);var r,n=this.source,o=n.length;return e>=o?-1:(r=n.charCodeAt(e),!(!t&&!this.switchU||r<=55295||r>=57344||e+1>=o)&&(t=n.charCodeAt(e+1))>=56320&&t<=57343?(r<<10)+t-56613888:r)},s.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r,n=this.source,o=n.length;return e>=o?o:(r=n.charCodeAt(e),!t&&!this.switchU||r<=55295||r>=57344||e+1>=o||(t=n.charCodeAt(e+1))<56320||t>57343?e+1:e+2)},s.prototype.current=function(e){return this.at(this.pos,e=void 0===e?!1:e)},s.prototype.lookahead=function(e){return this.at(this.nextIndex(this.pos,e=void 0===e?!1:e),e)},s.prototype.advance=function(e){this.pos=this.nextIndex(this.pos,e=void 0===e?!1:e)},s.prototype.eat=function(e,t){return this.current(t=void 0===t?!1:t)===e&&(this.advance(t),!0)},t.RegExpValidationState=s,i.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n-1&&this.raise(e.start,"Duplicate regular expression flag")}},i.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},i.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,r=n(e.backReferenceNames);!(t=r()).done;)-1===e.groupNames.indexOf(t.value)&&e.raise("Invalid named capture referenced")},i.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},i.regexp_alternative=function(e){for(;e.pos=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},i.regexp_eatQuantifier=function(e,t){return!!this.regexp_eatQuantifierPrefix(e,t=void 0===t?!1:t)&&(e.eat(63),!0)},i.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},i.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n,o=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(o=e.lastIntValue),e.eat(125)))return-1!==o&&o=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},i.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)},i.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},i.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!c(t)&&(e.lastIntValue=t,e.advance(),!0)},i.regexp_eatPatternCharacters=function(e){for(var t,r=e.pos;-1!==(t=e.current())&&!c(t);)e.advance();return e.pos!==r},i.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)},i.regexp_groupSpecifier=function(e){e.eat(63)&&(this.regexp_eatGroupName(e)?(-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue)):e.raise("Invalid group"))},i.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},i.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=a(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=a(e.lastIntValue);return!0}return!1},i.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),r=n,(0,Ra.isIdentifierStart)(r,!0)||36===r||95===r?(e.lastIntValue=n,!0):(e.pos=t,!1)},i.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),r=n,(0,Ra.isIdentifierChar)(r,!0)||36===r||95===r||8204===r||8205===r?(e.lastIntValue=n,!0):(e.pos=t,!1)},i.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)},i.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},i.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},i.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)},i.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},i.regexp_eatZero=function(e){return 48===e.current()&&!p(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},i.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)},i.regexp_eatControlLetter=function(e){var t=e.current();return!!l(t)&&(e.lastIntValue=t%32,e.advance(),!0)},i.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){var r=e.pos,t=(t=void 0===t?!1:t)||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(t&&n>=55296&&n<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(i>=56320&&i<=57343)return e.lastIntValue=1024*(n-55296)+(i-56320)+65536,!0}e.pos=o,e.lastIntValue=n}return!0}if(t&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(i=e.lastIntValue)>=0&&i<=1114111)return!0;t&&e.raise("Invalid unicode escape"),e.pos=r}return!1},i.regexp_eatIdentityEscape=function(e){var t;return e.switchU?!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0):!(99===(t=e.current())||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},i.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){for(;e.lastIntValue=10*e.lastIntValue+(t-48),e.advance(),(t=e.current())>=48&&t<=57;);return!0}return!1},i.regexp_eatCharacterClassEscape=function(e){var t,r=e.current();if(100===(t=r)||68===t||115===t||83===t||119===t||87===t)return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===r||112===r)){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},i.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r,n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return r=e.lastStringValue,this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}return e.pos=t,!!this.regexp_eatLoneUnicodePropertyNameOrValue(e)&&(n=e.lastStringValue,this.regexp_validateUnicodePropertyNameOrValue(e,n),!0)},i.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){(0,ja.hasOwn)(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},i.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},i.regexp_eatUnicodePropertyName=function(e){var t;for(e.lastStringValue="";u(t=e.current());)e.lastStringValue+=a(t),e.advance();return""!==e.lastStringValue},i.regexp_eatUnicodePropertyValue=function(e){var t,r;for(e.lastStringValue="";u(r=t=e.current())||p(r);)e.lastStringValue+=a(t),e.advance();return""!==e.lastStringValue},i.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},i.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},i.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t,r=e.lastIntValue;e.eat(45)&&this.regexp_eatClassAtom(e)&&(t=e.lastIntValue,!e.switchU||-1!==r&&-1!==t||e.raise("Invalid character class"),-1!==r)&&-1!==t&&r>t&&e.raise("Range out of order in character class")}},i.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;e.switchU&&(99!==(r=e.current())&&!f(r)||e.raise("Invalid class escape"),e.raise("Invalid escape")),e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},i.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)},i.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!p(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},i.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},i.regexp_eatDecimalDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;p(t=e.current());)e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();return e.pos!==r},i.regexp_eatHexDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;h(t=e.current());)e.lastIntValue=16*e.lastIntValue+d(t),e.advance();return e.pos!==r},i.regexp_eatLegacyOctalEscapeSequence=function(e){var t,r;return!!this.regexp_eatOctalDigit(e)&&(t=e.lastIntValue,this.regexp_eatOctalDigit(e)?(r=e.lastIntValue,t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r):e.lastIntValue=t,!0)},i.regexp_eatOctalDigit=function(e){var t=e.current();return f(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},i.regexp_eatFixedHexDigits=function(e,t){for(var r=e.pos,n=e.lastIntValue=0;n>10),56320+(1023&e)))}t.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new r(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},t.getToken=function(){return this.next(),new r(this)},"undefined"!==typeof Symbol&&(t[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===y.types.eof,value:e}}}}),t.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(y.types.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},t.readToken=function(e){return(0,Ra.isIdentifierStart)(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},t.fullCharCodeAtPos=function(){var e,t=this.input.charCodeAt(this.pos);return t<=55295||t>=56320||(e=this.input.charCodeAt(this.pos+1))<=56319||e>=57344?t:(t<<10)+e-56613888},t.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,o=t;(n=(0,v.nextLineBreak)(this.input,o,this.pos))>-1;)++this.curLine,o=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},t.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos8&&e<14||e>=5760&&v.nonASCIIwhitespace.test(String.fromCharCode(e))))break e;++this.pos}}},t.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},t.readToken_dot=function(){var e,t=this.input.charCodeAt(this.pos+1);return t>=48&&t<=57?this.readNumber(!0):(e=this.input.charCodeAt(this.pos+2),this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(y.types.ellipsis)):(++this.pos,this.finishToken(y.types.dot)))},t.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(y.types.assign,2):this.finishOp(y.types.slash,1)},t.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?y.types.star:y.types.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=y.types.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(y.types.assign,r+1):this.finishOp(n,r)},t.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t!==e)return 61===t?this.finishOp(y.types.assign,2):this.finishOp(124===e?y.types.bitwiseOR:y.types.bitwiseAND,1);if(this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2))return this.finishOp(y.types.assign,3);return this.finishOp(124===e?y.types.logicalOR:y.types.logicalAND,2)},t.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.types.assign,2):this.finishOp(y.types.bitwiseXOR,1)},t.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!v.lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(y.types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(y.types.assign,2):this.finishOp(y.types.plusMin,1)},t.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(y.types.assign,r+1):this.finishOp(y.types.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?this.finishOp(y.types.relational,r=61===t?2:r):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},t.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(y.types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.types.arrow)):this.finishOp(61===e?y.types.eq:y.types.prefix,1)},t.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t,r=this.input.charCodeAt(this.pos+1);if(46===r)if((t=this.input.charCodeAt(this.pos+2))<48||t>57)return this.finishOp(y.types.questionDot,2);if(63===r){if(e>=12)if(61===(t=this.input.charCodeAt(this.pos+2)))return this.finishOp(y.types.assign,3);return this.finishOp(y.types.coalesce,2)}}return this.finishOp(y.types.question,1)},t.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),(0,Ra.isIdentifierStart)(t,!0)||92===t))return this.finishToken(y.types.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+i(t)+"'")},t.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.types.parenL);case 41:return++this.pos,this.finishToken(y.types.parenR);case 59:return++this.pos,this.finishToken(y.types.semi);case 44:return++this.pos,this.finishToken(y.types.comma);case 91:return++this.pos,this.finishToken(y.types.bracketL);case 93:return++this.pos,this.finishToken(y.types.bracketR);case 123:return++this.pos,this.finishToken(y.types.braceL);case 125:return++this.pos,this.finishToken(y.types.braceR);case 58:return++this.pos,this.finishToken(y.types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.types.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(y.types.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+i(e)+"'")},t.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},t.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(v.lineBreak.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 o=this.input.slice(r,this.pos),i=(++this.pos,this.pos),s=this.readWord1(),i=(this.containsEsc&&this.unexpected(i),this.regexpState||(this.regexpState=new sc.RegExpValidationState(this))),i=(i.reset(r,o,s),this.validateRegExpFlags(i),this.validateRegExpPattern(i),null);try{i=new RegExp(o,s)}catch(e){}return this.finishToken(y.types.regexp,{pattern:o,flags:s,value:i})},t.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,o=r&&48===this.input.charCodeAt(this.pos),r=this.pos,i=0,s=0,a=0,c=null==t?1/0:t;a=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=e)break;s=l,i=i*e+u}}return n&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===r||null!=t&&this.pos-r!==t?null:i},t.readRadixNumber=function(e){var t=this.pos,r=(this.pos+=2,this.readInt(e));return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r=o(this.input.slice(t,this.pos)),++this.pos):(0,Ra.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.types.num,r)},t.readNumber=function(e){var t=this.pos,r=(e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number"),this.pos-t>=2&&48===this.input.charCodeAt(t)),n=(r&&this.strict&&this.raise(t,"Invalid number"),this.input.charCodeAt(this.pos));if(!r&&!e&&this.options.ecmaVersion>=11&&110===n)return e=o(this.input.slice(t,this.pos)),++this.pos,(0,Ra.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.types.num,e);r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),(0,Ra.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");e=this.input.slice(t,this.pos);n=r?parseInt(e,8):parseFloat(e.replace(/_/g,""));return this.finishToken(y.types.num,n)},t.readCodePoint=function(){var e,t;return 123===this.input.charCodeAt(this.pos)?(this.options.ecmaVersion<6&&this.unexpected(),e=++this.pos,t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")):t=this.readHexChar(4),t},t.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t=(t+=this.input.slice(r,this.pos))+this.readEscapedChar(!1),r=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):((0,v.isNewLine)(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(y.types.string,t)};var n={};t.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==n)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},t.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw n;this.raise(e,t)},t.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!==y.types.template&&this.type!==y.types.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(y.types.template,e)):36===r?(this.pos+=2,this.finishToken(y.types.dollarBraceL)):(++this.pos,this.finishToken(y.types.backQuote));if(92===r)e=(e+=this.input.slice(t,this.pos))+this.readEscapedChar(!0),t=this.pos;else if((0,v.isNewLine)(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}},t.readInvalidTemplateToken=function(){for(;this.pos=48&&n<=55?(t=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],(r=parseInt(t,8))>255&&(t=t.slice(0,-1),r=parseInt(t,8)),this.pos+=t.length-1,n=this.input.charCodeAt(this.pos),"0"===t&&56!==n&&57!==n||!this.strict&&!e||this.invalidStringToken(this.pos-1-t.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)):(0,v.isNewLine)(n)?"":String.fromCharCode(n)}},t.readHexChar=function(e){var t=this.pos,e=this.readInt(16,e);return null===e&&this.invalidStringToken(t,"Bad character escape sequence"),e},t.readWord1=function(){for(var e="",t=!(this.containsEsc=!1),r=this.pos,n=this.options.ecmaVersion>=6;this.pos{if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};if((t=s(t))&&t.has(e))return t.get(e);var r,n,o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&((n=i?Object.getOwnPropertyDescriptor(e,r):null)&&(n.get||n.set)?Object.defineProperty(o,r,n):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o})(ja);function s(e){var t,r;return"function"!==typeof WeakMap?null:(t=new WeakMap,r=new WeakMap,(s=function(e){return e?r:t})(e))}Ua.Parser.acorn={Parser:Ua.Parser,version:t.version="8.7.0",defaultOptions:Ba.defaultOptions,Position:Ha.Position,SourceLocation:Ha.SourceLocation,getLineInfo:Ha.getLineInfo,Node:oc.Node,TokenType:y.TokenType,tokTypes:y.types,keywordTypes:y.keywords,TokContext:Za.TokContext,tokContexts:Za.types,isIdentifierChar:Ra.isIdentifierChar,isIdentifierStart:Ra.isIdentifierStart,Token:ac.Token,isNewLine:v.isNewLine,lineBreak:v.lineBreak,lineBreakG:v.lineBreakG,nonASCIIwhitespace:v.nonASCIIwhitespace};var n=r.wordsRegexp,o={};r.wordsRegexp=function(e){return o[e]||(o[e]=n(e)),o[e]}}),lc=/^(\xEF\xBB\xBF|\xFE\xFF|\xFF\xFE|\x00\x00\xFE\xFF|\xFF\xFE\x00\x00|\x2B\x2F\x76\x38|\x2B\x2F\x76\x39|\x2B\x2F\x76\x2B|\x2B\x2F\x76\x2F|\xF7\x64\x4C|\xDD\x73\x66\x73|\x0E\xFE\xFF|\xFB\xEE\x28|\x84\x31\x95\x33)/,uc=/(^|\n)\s*[^\n]*([\n\s]*)?$/,$c=/^(\s)*|--!>)\s*$/,Yc=/^\s*javascript\s*:/i,Qc=/^\s*(application\/(x-)?(ecma|java)script|text\/(javascript(1\.[0-5])?|((x-)?ecma|x-java|js|live)script)|module)\s*$/i,Jc=["animate","animateColor","animateMotion","animateTransform","mpath","set","linearGradient","radialGradient","stop","a","altglyph","color-profile","cursor","feimage","filter","font-face-uri","glyphref","image","mpath","pattern","script","textpath","use","tref"],Zc=["script","link"],el=["a","form","area","input","button"],tl="modulepreload",rl="hammerhead|element-processed",nl="hammerhead|autocomplete-attribute-absence-marker",I=(S.isTagWithTargetAttr=function(e){return!!e&&Cc.target.indexOf(e)>-1},S.isTagWithFormTargetAttr=function(e){return!!e&&Cc.formtarget.indexOf(e)>-1},S.isTagWithIntegrityAttr=function(e){return!!e&&-1!==Zc.indexOf(e)},S.isIframeFlagTag=function(e){return!!e&&-1!==el.indexOf(e)},S.isAddedAutocompleteAttr=function(e,t){return"autocomplete"===e&&t===nl},S.processJsAttrValue=function(e,t){var r=t.isJsProtocol,t=t.isEventAttr;return e=Sc(e=r?e.replace(Yc,""):e,!1,r&&!t,void 0),e=r?"javascript:"+e:e},S.getStoredAttrName=function(e){return e+s.storedAttrPostfix},S.isJsProtocol=function(e){return Yc.test(e)},S._isHtmlImportLink=function(e,t){return!!e&&!!t&&"link"===e&&"import"===t},S.isElementProcessed=function(e){return e[rl]},S.setElementProcessed=function(e,t){e[rl]=t},S.prototype._getRelAttribute=function(e){return String(this.adapter.getAttr(e,"rel")).toLowerCase()},S.prototype._getAsAttribute=function(e){return String(this.adapter.getAttr(e,"as")).toLowerCase()},S.prototype._createProcessorPatterns=function(r){var n=this,e=function(e){return n.isUrlAttr(e,"href")},t=function(e){return n.isUrlAttr(e,"src")},o=function(e){return n.isUrlAttr(e,"srcset")},i=function(e){return n.isUrlAttr(e,"action")},s=function(e){return n.isUrlAttr(e,"formaction")},a=function(e){return n.isUrlAttr(e,"manifest")},c=function(e){return n.isUrlAttr(e,"data")},l=function(e){var t=n.adapter.getTagName(e);return("iframe"===t||"frame"===t)&&r.hasAttr(e,"srcdoc")},u=function(e){return"meta"===r.getTagName(e)&&r.hasAttr(e,"http-equiv")},p=function(){return!0},h=function(e){return"script"===r.getTagName(e)},d=function(e){return"link"===r.getTagName(e)},f=function(e){return"input"===r.getTagName(e)},m=function(e){return"input"===r.getTagName(e)&&r.hasAttr(e,"type")&&"file"===r.getAttr(e,"type").toLowerCase()},g=function(e){return"style"===r.getTagName(e)},y=function(e){return r.hasEventHandler(e)},v=function(e){var t=r.getTagName(e);return("iframe"===t||"frame"===t)&&r.hasAttr(e,"sandbox")},E=function(e){return r.isSVGElement(e)&&r.hasAttr(e,"xlink:href")&&-1!==Jc.indexOf(r.getTagName(e))},_=function(e){return r.isSVGElement(e)&&r.hasAttr(e,"xml:base")};return[{selector:function(e){return S.isTagWithFormTargetAttr(r.getTagName(e))&&r.hasAttr(e,"formtarget")},targetAttr:"formtarget",elementProcessors:[this._processTargetBlank]},{selector:e,urlAttr:"href",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:t,urlAttr:"src",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:o,urlAttr:"srcset",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:i,urlAttr:"action",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:s,urlAttr:"formaction",targetAttr:"formtarget",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:a,urlAttr:"manifest",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:c,urlAttr:"data",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:l,elementProcessors:[this._processSrcdocAttr]},{selector:u,urlAttr:"content",elementProcessors:[this._processMetaElement]},{selector:h,elementProcessors:[this._processScriptElement,this._processIntegrityAttr]},{selector:p,elementProcessors:[this._processStyleAttr]},{selector:d,relAttr:"rel",elementProcessors:[this._processIntegrityAttr,this._processRelPrefetch]},{selector:g,elementProcessors:[this._processStylesheetElement]},{selector:f,elementProcessors:[this._processAutoComplete]},{selector:m,elementProcessors:[this._processRequired]},{selector:y,elementProcessors:[this._processEvtAttr]},{selector:v,elementProcessors:[this._processSandboxedIframe]},{selector:E,urlAttr:"xlink:href",elementProcessors:[this._processSVGXLinkHrefAttr,this._processUrlAttrs]},{selector:_,urlAttr:"xml:base",elementProcessors:[this._processUrlAttrs]}]},S.prototype.processElement=function(e,t){if(!S.isElementProcessed(e))for(var r=0,n=this.elementProcessorPatterns;r-1)return o}return null},S.prototype._isOpenLinkInIframe=function(e){var t=this.adapter.getTagName(e),r=this.getTargetAttr(e),r=r?this.adapter.getAttr(e,r):null,n=this._getRelAttribute(e);if("_top"!==r){t=!("input"===t&&"image"===this.adapter.getAttr(e,"type"))&&S.isIframeFlagTag(t)||S._isHtmlImportLink(t,n),n=!!r&&"_"!==r[0];if("_parent"===r)return t&&!this.adapter.isTopParentIframe(e);if(t&&(this.adapter.hasIframeParent(e)||n&&this.adapter.isExistingTarget(r,e)))return!0}return!1},S.prototype._isShadowElement=function(e){e=this.adapter.getClassName(e);return"string"===typeof e&&e.indexOf(_e.postfix)>-1},S.prototype._processAutoComplete=function(e){var t=S.getStoredAttrName("autocomplete"),r=this.adapter.hasAttr(e,t),n=this.adapter.getAttr(e,r?t:"autocomplete");r||this.adapter.setAttr(e,t,n||""===n?n:nl),this.adapter.setAttr(e,"autocomplete","off")},S.prototype._processRequired=function(e){var t,r=S.getStoredAttrName("required");!this.adapter.hasAttr(e,r)&&this.adapter.hasAttr(e,"required")&&(t=this.adapter.getAttr(e,"required"),this.adapter.setAttr(e,r,t),this.adapter.removeAttr(e,"required"))},S.prototype._processIntegrityAttr=function(e){var t=S.getStoredAttrName("integrity"),r=this.adapter.hasAttr(e,t)&&!this.adapter.hasAttr(e,"integrity"),n=this.adapter.getAttr(e,r?t:"integrity");n&&this.adapter.setAttr(e,t,n),r||this.adapter.removeAttr(e,"integrity")},S.prototype._processRelPrefetch=function(e,t,r){var n,o,i;r.relAttr&&(n=S.getStoredAttrName(r.relAttr),o=this.adapter.hasAttr(e,n)&&!this.adapter.hasAttr(e,r.relAttr),i=this.adapter.getAttr(e,o?n:r.relAttr))&&"prefetch"===Se(i.toLowerCase())&&(this.adapter.setAttr(e,n,i),o||this.adapter.removeAttr(e,r.relAttr))},S.prototype._processJsAttr=function(e,t,r){var n=r.isJsProtocol,r=r.isEventAttr,o=S.getStoredAttrName(t),i=this.adapter.hasAttr(e,o),i=this.adapter.getAttr(e,i?o:t)||"",n=S.processJsAttrValue(i,{isJsProtocol:n,isEventAttr:r});i!==n&&(this.adapter.setAttr(e,o,i),this.adapter.setAttr(e,t,n))},S.prototype._processEvtAttr=function(e){for(var t=this.adapter.EVENTS,r=0;r":a)))},S.prototype._processStyleAttr=function(e,t){var r=this.adapter.getAttr(e,"style");r&&this.adapter.setAttr(e,"style",T.process(r,t,!1))},S.prototype._processStylesheetElement=function(e,t){var r=this.adapter.getStyleContent(e);r&&t&&this.adapter.needToProcessContent(e)&&(r=T.process(r,t,!0),this.adapter.setStyleContent(e,r))},S.prototype._processTargetBlank=function(e,t,r){var n,o;this.allowMultipleWindows||!r.targetAttr||(n=S.getStoredAttrName(r.targetAttr),this.adapter.hasAttr(e,n))||"_blank"===(o=(o=this.adapter.getAttr(e,r.targetAttr))&&o.replace(/\s/g,""))&&(this.adapter.setAttr(e,r.targetAttr,"_top"),this.adapter.setAttr(e,n,o))},S.prototype._processUrlAttrs=function(e,t,r){var n,o,i,s,a,c,l,u,p,h,d,f,m,g,y;r.urlAttr&&!this.nativeAutomation&&(n=S.getStoredAttrName(r.urlAttr),i=!!(o=this.adapter.getAttr(e,r.urlAttr))&&at(o),s=this.adapter.hasAttr(e,n),o||""===o)&&!s&&(et(o)||i)&&(a="iframe"===(s=this.adapter.getTagName(e))||"frame"===s,h="script"===s,c="a"===s,l="srcset"===r.urlAttr,u=r.targetAttr?this.adapter.getAttr(e,r.targetAttr):null,this.adapter.needToProcessUrl(s,u||""))&&(u=this.getElementResourceType(e)||"",p="file:"!==(p=Ze(o)).protocol&&!p.host,h=h&&this.adapter.getAttr(e,"charset")||"",d="img"===s&&""===o,f=a&&""===o,m=Qe(t("/")),g=!1,y=o,a&&!i&&!p&&m&&(g=!this.adapter.sameOriginCheck(m.destUrl,o)),i&&!c||d||f||(y="img"!==s||this.forceProxySrcForImage||l?t(o,u,h,g,l):tt(o,t)),this.adapter.setAttr(e,n,o),this.adapter.setAttr(e,r.urlAttr,y))},S.prototype._processSrcdocAttr=function(e){var t=S.getStoredAttrName("srcdoc"),r=this.adapter.getAttr(e,"srcdoc")||"",n=this.adapter.processSrcdocAttr(r);this.adapter.setAttr(e,t,r),this.adapter.setAttr(e,"srcdoc",n)},S.prototype._processUrlJsAttr=function(e,t,r){r.urlAttr&&S.isJsProtocol(this.adapter.getAttr(e,r.urlAttr)||"")&&this._processJsAttr(e,r.urlAttr,{isJsProtocol:!0,isEventAttr:!1})},S.prototype._processSVGXLinkHrefAttr=function(e,t,r){var n;r.urlAttr&&(n=this.adapter.getAttr(e,r.urlAttr)||"",Le.test(n))&&(r=S.getStoredAttrName(r.urlAttr),this.adapter.setAttr(e,r,n))},S);function S(e){this.adapter=e,this.SVG_XLINK_HREF_TAGS=Jc,this.AUTOCOMPLETE_ATTRIBUTE_ABSENCE_MARKER=nl,this.PROCESSED_PRELOAD_LINK_CONTENT_TYPE="script",this.MODULE_PRELOAD_LINK_REL=tl,this.forceProxySrcForImage=!1,this.allowMultipleWindows=!1,this.nativeAutomation=!1,this.EVENTS=this.adapter.EVENTS,this.elementProcessorPatterns=this._createProcessorPatterns(this.adapter)}var ol=new WeakMap;function il(e,t,r,n){e=he(e,r,{value:n});b.objectDefineProperty(t,r,e)}(Ms=function(){}).prototype=DOMStringList.prototype,e(cl,sl=Ms),cl.prototype.item=function(e){return this[e]},cl.prototype.contains=function(e){"string"!==typeof e&&(e=String(e));for(var t=ol.get(this)||0,r=0;r{var e=bl.getLocationWrapper(s),r=e===s.location;il(i,a,t.toString(),r?"":e.origin),r&&n&&n(s,function(e){return il(i,o,t,e)}),s=s.parent})(r);return o}var ll=Number.MAX_SAFE_INTEGER||9007199254740991,ul=Number.MIN_SAFE_INTEGER||-9007199254740991,pl=(hl.prototype.increment=function(){return this._id=this._id===ll?ul:this._id+1,this._id},Object.defineProperty(hl.prototype,"value",{get:function(){return this._id},enumerable:!1,configurable:!0}),hl);function hl(){this._id=ul}var dl="hammerhead|command|get-origin",fl="hammerhead|command|origin-received";function ml(e){try{return e.location.toString()}catch(e){}}(Rs=function(){}).prototype=Location.prototype,e(vl,gl=Rs);var gl,yl=vl;function vl(e,t,r){var n=gl.call(this)||this,t=new El(e,t,r),r={};return r.href=t.createOverriddenHrefDescriptor(),r.search=t.createOverriddenSearchDescriptor(),r.origin=t.createOverriddenOriginDescriptor(),r.hash=t.createOverriddenHashDescriptor(),e.location.ancestorOrigins&&(r.ancestorOrigins=t.createOverriddenAncestorOriginsDescriptor(n)),r.port=t.createOverriddenPortDescriptor(),r.host=t.createOverriddenHostDescriptor(),r.hostname=t.createOverriddenHostnameDescriptor(),r.pathname=t.createOverriddenPathnameDescriptor(),r.protocol=t.createOverriddenProtocolDescriptor(),r.assign=t.createOverriddenAssignDescriptor(),r.replace=t.createOverriddenReplaceDescriptor(),r.reload=t.createOverriddenReloadDescriptor(),r.toString=t.createOverriddenToStringDescriptor(),!t.isLocationPropsInProto&&b.objectHasOwnProperty.call(e.location,"valueOf")&&(r.valueOf=t.createOverriddenValueOfDescriptor()),b.objectDefineProperties(n,r),t.overrideRestDescriptors(n,r),n}_l.prototype.createOverriddenHrefDescriptor=function(){var r=this;return he(this.locationPropsOwner,"href",{getter:r.createHrefGetter(r.window),setter:function(e){var t=r.getProxiedHref(e,r);return r.window.location.href=t,r.onChanged(t),e}})},_l.prototype.createOverriddenToStringDescriptor=function(){return he(this.locationPropsOwner,"toString",{value:this.createHrefGetter(this.window)})},_l.prototype.createHrefGetter=function(r){return function(){var e,t;return kn(r)&&r.location.href===je?je:(e=wt(),t=gt.getResolverElement(r.document),b.anchorHrefSetter.call(t,e),st(b.anchorHrefGetter.call(t),e))}},_l.prototype.getProxiedHref=function(e,t){var r=t.window;if(e=ht(e="string"!==typeof e?String(e):e),I.isJsProtocol(e))return I.processJsAttrValue(e,{isJsProtocol:!0,isEventAttr:!1});var n,o=ml(r),i=null;r!==r.parent&&(r=ml(r.parent),n=jt(r))&&n.proxy&&(n=n.proxy.port,i=_t(r,e)?n:Dt(n));r=o&&Kt(o,e)?t.locationResourceType:t.resourceType;return C(e,{resourceType:r,proxyPort:i})},_l.prototype.createOverriddenSearchDescriptor=function(){var r=this;return he(this.locationPropsOwner,"search",{getter:function(){return r.window.location.search},setter:function(e){var t=Ft(r.window.location.toString(),b.anchorSearchSetter,e,r.resourceType);return r.window.location=t,r.onChanged(t),e}})},_l.prototype.createOverriddenOriginDescriptor=function(){return he(this.locationPropsOwner,"origin",{getter:function(){return Ye(xt())},setter:function(e){return e}})},_l.prototype.createOverriddenHashDescriptor=function(){var t=this;return he(this.locationPropsOwner,"hash",{getter:function(){return t.window.location.hash},setter:function(e){return t.window.location.hash=e}})},_l.prototype.createOverriddenAncestorOriginsDescriptor=function(r){var n=this,o=b.objectCreate(null),i=new pl,e=(n.messageSandbox&&n.messageSandbox.on(n.messageSandbox.SERVICE_MSG_RECEIVED_EVENT,function(e){var t=e.message;t.cmd===dl?n.messageSandbox.sendServiceMsg({id:t.id,cmd:fl,origin:r.origin},e.source):t.cmd===fl&&(e=o[t.id])&&e(t.origin)}),new al(n.window,n.messageSandbox?function(e,t){var r=i.increment();o[r]=t,n.messageSandbox.sendServiceMsg({id:r,cmd:dl},e)}:void 0));return he(n.locationPropsOwner,"ancestorOrigins",{getter:function(){return e}})},_l.prototype.createOverriddenPortDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("port",b.anchorPortSetter)},_l.prototype.createOverriddenHostDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("host",b.anchorHostSetter)},_l.prototype.createOverriddenHostnameDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("hostname",b.anchorHostnameSetter)},_l.prototype.createOverriddenPathnameDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("pathname",b.anchorPathnameSetter)},_l.prototype.createOverriddenProtocolDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("protocol",b.anchorProtocolSetter)},_l.prototype.createOverriddenLocationAccessorDescriptor=function(t,r){var n=this;return he(this.locationPropsOwner,t,{getter:function(){var e=Sn(n.window);return(e&&Wn(e)?n.window.location:xt())[t]},setter:function(e){var t=Ft(n.window.location.toString(),r,e,n.resourceType);return n.window.location=t,n.onChanged(t),e}})},_l.prototype.createOverriddenAssignDescriptor=function(){return this.createOverriddenLocationDataDescriptor("assign")},_l.prototype.createOverriddenReplaceDescriptor=function(){return this.createOverriddenLocationDataDescriptor("replace")},_l.prototype.createOverriddenLocationDataDescriptor=function(r){var n=this;return he(this.locationPropsOwner,r,{value:function(e){var e=n.getProxiedHref(e,n),t=n.window.location[r](e);return n.onChanged(e),t}})},_l.prototype.createOverriddenReloadDescriptor=function(){var t=this;return he(this.locationPropsOwner,"reload",{value:function(){var e=t.window.location.reload();return t.onChanged(t.window.location.toString()),e}})},_l.prototype.createOverriddenValueOfDescriptor=function(){var e=this;return he(this.locationPropsOwner,"valueOf",{value:function(){return e}})},_l.prototype.overrideRestDescriptors=function(e,t){for(var r=0,n=b.objectKeys(Location.prototype);r\n (function () {\n var currentScript = document.currentScript;\n\n currentScript.parentNode.removeChild(currentScript);\n\n ').concat(e,"\n })();\n <\/script>\n ").replace(Nl,"")}var kl,Ll={iframeInit:Ol('\n var parentHammerhead = null;\n\n if (!window["'.concat(w.hammerhead,'"])\n Object.defineProperty(window, "').concat(w.documentWasCleaned,'", { value: true, configurable: true });\n\n try {\n parentHammerhead = window.parent["').concat(w.hammerhead,'"];\n } catch(e) {}\n\n if (parentHammerhead)\n parentHammerhead.sandbox.onIframeDocumentRecreated(window.frameElement);\n ')),onWindowRecreation:Ol('\n var hammerhead = window["'.concat(w.hammerhead,'"];\n var sandbox = hammerhead && hammerhead.sandbox;\n\n if (!sandbox) {\n try {\n sandbox = window.parent["').concat(w.hammerhead,'"].sandboxUtils.backup.get(window);\n } catch(e) {}\n }\n\n if (sandbox) {\n Object.defineProperty(window, "').concat(w.documentWasCleaned,'", { value: true, configurable: true });\n\n sandbox.node.mutation.onDocumentCleaned(window, document);\n\n /* NOTE: B234357 */\n sandbox.node.processNodes(null, document);\n }\n ')),onBodyCreated:Ol('\n if (window["'.concat(w.hammerhead,'"])\n window["').concat(w.hammerhead,'"].sandbox.node.raiseBodyCreatedEvent();\n ')),onOriginFirstTitleLoaded:Ol('\n window["'.concat(w.hammerhead,'"].sandbox.node.onOriginFirstTitleElementInHeadLoaded();\n ')),restoreStorages:Ol('\n window.localStorage.setItem("%s", %s);\n window.sessionStorage.setItem("%s", %s);\n ')},Dl=((js=kl=kl||{}).beforeBegin="beforebegin",js.afterBegin="afterbegin",js.beforeEnd="beforeend",js.afterEnd="afterend",kl);function Ml(e){var t=b.nodeParentNodeGetter.call(e);t&&b.removeChild.call(t,e)}var Bs="hh_fake_doctype",Rl="".concat(Hs="hh_fake_tag_name_","head"),jl="".concat(Hs,"body"),$s="hh_fake_attr",Hl=new RegExp("(<\\/?)"+Hs,"ig"),Bl=/(<\/?)(html|head|body|table|tbody|tfoot|thead|tr|td|th|caption|colgroup)((?:\s[^>]*)?>)/gi,Ul="$1".concat(Hs,"$2$3"),Fl=/<(\/?(?:col|noscript))(\s[^>]*?)?(\s?\/)?>/gi,Vl="
'),Wl=new RegExp("]*?) ".concat($s,'="([^|]+)\\|([^"]*)"([^>]*)'),"ig"),Gl=/]*)>/gi,ql="<".concat(Bs,">$1"),zl=new RegExp("<".concat(Bs,">([\\S\\s]*?)"),"ig"),Kl=(()=>{for(var e=[],t=0,r=xc;t").replace(Wl,"<$2$1$4$3").replace(Hl,"$1")}function tu(e){return/^\s*(<\s*(!doctype|html|head|body)[^>]*>)/i.test(e)}function ru(e,t){var r=b.createElement.call((()=>{try{Jl.location.toString()}catch(e){Jl=b.createHTMLDocument.call(document.implementation,"title"),(Zl=b.createDocumentFragment.call(Jl))[Ql]=!0}return Jl})(),"div"),t=(e=e.replace(Gl,ql).replace(Fl,Vl).replace(Bl,Ul),b.appendChild.call(Zl,r),b.elementInnerHTMLSetter.call(r,e),t(r)?b.elementInnerHTMLGetter.call(r):e);return Ml(r),eu(t)}function nu(e){return ru(e,function(e){var i=!1;return Tn(e,Kl,function(e){var t,r,n,o;o=e,(r=P.getUrlAttr(o))&&b.hasAttribute.call(o,r)&&(t=I.getStoredAttrName(r),b.hasAttribute.call(o,t))&&(b.setAttribute.call(o,r,b.getAttribute.call(o,t)),b.removeAttribute.call(o,t)),r=e,b.hasAttribute.call(r,"autocomplete")&&(o=I.getStoredAttrName("autocomplete"),b.hasAttribute.call(r,o))&&(t=b.getAttribute.call(r,o),I.isAddedAutocompleteAttr("autocomplete",t)?b.removeAttribute.call(r,"autocomplete"):b.setAttribute.call(r,"autocomplete",t),b.removeAttribute.call(r,o)),r=e,(o=P.getTargetAttr(r))&&b.hasAttribute.call(r,o)&&(n=I.getStoredAttrName(o),b.hasAttribute.call(r,n))&&(b.setAttribute.call(r,o,b.getAttribute.call(r,n)),b.removeAttribute.call(r,n)),o=e,"iframe"===P.adapter.getTagName(o)&&b.hasAttribute.call(o,"sandbox")&&(r=I.getStoredAttrName("sandbox"),b.hasAttribute.call(o,r))&&(b.setAttribute.call(o,"sandbox",b.getAttribute.call(o,r)),b.removeAttribute.call(o,r)),n=e,b.hasAttribute.call(n,"style")&&(o=I.getStoredAttrName("style"),b.hasAttribute.call(n,o))&&(b.setAttribute.call(n,"style",b.getAttribute.call(n,o)),b.removeAttribute.call(n,o)),i=!0}),Tn(e,$l,function(e){var t=b.nodeParentNodeGetter.call(e);t&&(b.removeChild.call(t,e),i=!0)}),Tn(e,"script",function(e){var t=b.nodeTextContentGetter.call(e),r=ka(t);t!==r&&(b.nodeTextContentSetter.call(e,r),i=!0)}),Tn(e,"style",function(e){var t=b.nodeTextContentGetter.call(e),r=T.cleanUp(t,jt);t!==r&&(b.nodeTextContentSetter.call(e,r),i=!0)}),Tn(e,Xl,function(e){b.removeAttribute.call(e,s.hoverPseudoClass),b.removeAttribute.call(e,s.focusPseudoClass),i=!0}),Tn(e,Yl,function(e){var t=b.elementInnerHTMLGetter.call(e);-1!==t.indexOf(Ll.iframeInit)&&(b.elementInnerHTMLSetter.call(e,t.replace(Ll.iframeInit,"")),i=!0)}),i})}function ou(e,t){var d=(t=void 0===t?{}:t).parentTag,f=t.prepareDom,m=t.processedContext,g=t.isPage;return ru(e,function(e){var t=[],r=[],n=0,o=gt.getBaseUrl(document),i=(f&&f(e),b.htmlCollectionLengthGetter.call(b.elementChildrenGetter.call(e))&&(r=b.elementQuerySelectorAll.call(e,"*"),n=b.nodeListLengthGetter.call(r)),b.elementQuerySelector.call(e,"base"));i&>.updateBase(b.getAttribute.call(i,"href"),document);for(var s=0;s"),pu="<".concat(lu,">"),hu=new RegExp("^[\\S\\s]*".concat(uu),"g"),du=new RegExp("".concat(pu,"[\\S\\s]*$"),"g"),fu=/^<[^>]+>/g,mu=/<\/[^<>]+>$/g,gu=/<\/?(?:[A-Za-z][^>]*)?$/g,yu="hammerhead|unclosed-element-flag",vu=(Eu.prototype._cutPending=function(e){var t=e.match(gu);return this.pending=t?t[0]:"",this.pending?e.substring(0,e.length-this.pending.length):e},Eu.prototype._wrapHtmlChunk=function(e){var t=this.parentTagChain.length?"<"+this.parentTagChain.join("><")+">":"";return this.isNonClosedComment&&(t+="\x3c!--"),t+uu+e+pu},Eu.prototype._unwrapHtmlChunk=function(e){return e&&(e=e.replace(hu,"").replace(du,""),this.isBeginMarkerInDOM||(e=this.isNonClosedComment?e.slice(4):e.replace(fu,"")),this.isEndMarkerInDOM||(e=this.isNonClosedComment?e.slice(0,-3):e.replace(mu,"")),!this.isBeginMarkerInDOM)&&this.isEndMarkerInDOM&&(this.isNonClosedComment=!1),e},Eu._setUnclosedElementFlag=function(e){(ro(e)||no(e))&&(e[yu]=!0)},Eu.hasUnclosedElementFlag=function(e){return!!e[yu]},Eu._searchBeginMarker=function(e){var t=b.elementQuerySelector.call(e,cu);if(!t){for(t=e;b.elementFirstElementChildGetter.call(t);)t=b.elementFirstElementChildGetter.call(t);e=b.nodeParentNodeGetter.call(t);b.nodeFirstChildGetter.call(e)!==t?t=b.nodeFirstChildGetter.call(e):Lo(b.nodeFirstChildGetter.call(t))&&(t=b.nodeFirstChildGetter.call(t))}return t},Eu._searchEndMarker=function(e){var t=b.elementQuerySelector.call(e,lu);if(!t){for(t=e;b.elementLastElementChildGetter.call(t);)t=b.elementLastElementChildGetter.call(t);e=b.nodeParentNodeGetter.call(t);b.nodeLastChildGetter.call(e)!==t?t=b.nodeLastChildGetter.call(e):Lo(b.nodeLastChildGetter.call(t))&&(t=b.nodeLastChildGetter.call(t))}return t},Eu.prototype._updateParentTagChain=function(e,t){var r=Dn(t)!==lu?t:b.nodeParentNodeGetter.call(t);for(Lo(t)&&(this.isNonClosedComment=!0,r=b.nodeParentNodeGetter.call(t)),this.parentTagChain=[];r!==e;)this.parentTagChain.unshift(Dn(r)),r=b.nodeParentNodeGetter.call(r)},Eu.prototype._processBeginMarkerInContent=function(e){var t=e,r=(Eu._setUnclosedElementFlag(t),this.isClosingContentEl&&(ro(t)||no(t))?(this.contentForProcessing=b.nodeTextContentGetter.call(this.nonClosedEl)+b.nodeTextContentGetter.call(t).replace(hu,""),b.nodeTextContentSetter.call(t,"")):(r=b.nodeTextContentGetter.call(t),b.nodeTextContentSetter.call(t,r.replace(hu,""))),e=b.createElement.call(document,cu),b.nodeParentNodeGetter.call(t));b.insertBefore.call(r,e,t)},Eu._createStartsWithClosingTagRegExp=function(e){for(var t=[e.charAt(e.length-1),"?"],r=e.length-2;r>-1;r--)t.unshift("(?:",e.charAt(r)),t.push(")?");return t.unshift("^=0;r--)try{if(t[r]===e)return}catch(e){t.splice(r,1)}t.push(e)}function bu(e){var t=Su(),e=t.indexOf(e);-1!==e&&t.splice(e,1)}function xu(e){for(var t=Su(),r=0;rfunction(){return e.apply(t,arguments)})(t[r],t));this.getNamedItem=ep(e,t,"getNamedItem")},rp="hammerhead|element-attribute-wrappers";function np(e,t){for(var r=0,n={},o=0,i=t;o1&&null!==n&&r&&(e[1]=ou(String(n),{parentTag:r.tagName,processedContext:r[w.processedContext]})),b.insertAdjacentHTML.apply(this,e),r&&(a._nodeSandbox.processNodes(r),sp.onChildrenChanged(r))},insertAdjacentElement:function(){for(var e=[],t=0;t{var r=b.getAttribute.call(e,"shape"),n=b.getAttribute.call(e,"coords"),o=0;if("default"===r)return Np(t);if(!r||!n)return null;if(!(n=n.split(",")).length)return null;for(o=0;o=6&&n.length%2===0){for((i={}).left=i.right=n[0],i.top=i.bottom=n[1],o=2;oi.right?n[o]:i.right;for(o=3;oi.bottom?n[o]:i.bottom;i.height=i.bottom-i.top,i.width=i.right-i.left}}return i&&(e=Dp(t),i.left+=e.left,i.top+=e.top),i})(e,t);if(e)return e}}return{height:0,left:0,top:0,width:0}}function Pp(e){var t,r,n=Go(e,"tspan")||Go(e,"tref")||"textpath"===Dn(e),o=e.getBoundingClientRect(),i={height:n?e.offsetHeight:o.height,left:o.left+(document.body.scrollLeft||document.documentElement.scrollLeft),top:o.top+(document.body.scrollTop||document.documentElement.scrollTop),width:n?e.offsetWidth:o.width};return n?(n=Br(e),t=Ur(e),r=Ur(n),n=Go(n,"body"),{height:i.height||o.height,left:n?e.offsetLeft||t.left:r.left+e.offsetLeft,top:n?e.offsetTop||t.top:r.top+e.offsetTop,width:i.width||o.width}):(cr||((n=(n=b.getAttribute.call(e,"stroke-width")||c(e,"stroke-width"))?+n.replace(/px|em|ex|pt|pc|cm|mm|in/,""):1)&&+n%2!==0&&(n=+n+1),!(Go(e,"line")||Go(e,"polyline")||Go(e,"polygon")||Go(e,"path"))||i.width&&i.height?(Go(e,"polygon")&&(i.height+=2*n,i.left-=n,i.top-=n,i.width+=2*n),i.height+=n,i.left-=n/2,i.top-=n/2,i.width+=n):!i.width&&i.height?(i.left-=n/2,i.width=n):i.width&&!i.height&&(i.height=n,i.top-=n/2)),i)}function Np(e){var t,r,n,o,i,s,a,c={};return(c=ho(e)?Ip(e):Dr(e)?(a=xn(t=e))?(r=Np(a),n=Cr(a),o=Or(a)===a.clientWidth?0:bn(),i=kr(a),s=vn(a,t),s=Math.max(s-Rr(a)/i,0),{height:i,left:r.left+n.left,top:r.top+n.top+Ir(a).top+s*i,width:r.width-(n.left+n.right)-o}):Np(t):(a=Dp(e),{height:(s=(bo(e)?Pp:si)(e)).height,left:a.left,top:a.top,width:s.width})).height=Math.round(c.height),c.left=Math.round(c.left),c.top=Math.round(c.top),c.width=Math.round(c.width),c}function Op(e,t,r){var n,o;return"iframe"===Dn(e)&&(n=Np(e),o=Cr(e),e=Ir(e),t>=n.left+o.left+e.left)&&t<=n.left+n.width-o.right-e.right&&r>=n.top+o.top+e.top&&r<=n.top+n.height-o.bottom-e.bottom}function kp(e,t,r){var n=bo(e),e=n?Pp(e):null;return{left:n?e.left+t.left:r.left+t.left,top:n?e.top+t.top:r.top+t.top}}function Lp(e,t,r,n,o){var i=Cr(o),i=(t.left+=i.left,t.top+=i.top,Dp(o)),o=Ir(o),s=null;return s=bo(e)?{x:(e=Pp(e)).left-(document.body.scrollLeft||document.documentElement.scrollLeft)+t.left,y:e.top-(document.body.scrollTop||document.documentElement.scrollTop)+t.top}:Mp({x:r.left+t.left,y:r.top+t.top},n),{left:i.left+s.x+o.left,top:i.top+s.y+o.top}}function Dp(e,t){var r,n,o,i;return void 0===t&&(t=Math.round),ho(e)?{left:(r=Ip(e)).left,top:r.top}:(n=(o=Bn(e,r=In(e)))?En(r):null,i=Ur(r===e?r.documentElement:e),e=(o=(o&&n?Lp:kp)(e,Cr(r.body),i,r,n)).left,i=o.top,Yr(t)&&(e=t(e),i=t(i)),{left:e,top:i})}function Mp(e,t){var t=t||document,r=Mr(t),n=Rr(t),o=Mr(t.body),t=Rr(t.body);return{x:e.x-(0===r&&0!==o?o:r),y:e.y-(0===n&&0!==t?t:n)}}var Rp,jp=Object.freeze({__proto__:null,getElementRectangle:Np,shouldIgnoreEventInsideIframe:Op,getOffsetPosition:Dp,offsetToClientCoords:Mp}),Hp=["button","fieldset","form","iframe","input","map","meta","object","output","param","select","textarea"],Bp=0,Up=((Jt=function(){}).prototype=HTMLCollection.prototype,e(Fp,Rp=Jt),Fp.prototype.item=function(e){return this._refreshCollection(),this._filteredCollection[e]},Object.defineProperty(Fp.prototype,"length",{get:function(){return this._refreshCollection(),this._filteredCollection.length},enumerable:!1,configurable:!0}),Fp.prototype._refreshCollection=function(){var e=this._lastNativeLength,t=b.htmlCollectionLengthGetter.call(this._collection);if(this._lastNativeLength=t,sp.isOutdated(this._tagName,this._version)||!sp.isDomContentLoaded()&&e!==t){var e=this._filteredCollection.length,t=((e,t)=>{for(var r=e._collection,n=e._namedProps?[]:null,o=e._filteredCollection,i=o.length=0;i{var e=n++;b.objectDefineProperty(r,e,{enumerable:!0,configurable:!0,get:function(){return r.item(e)}})})();for(;n>o;)delete r[--n];e=Bp-10;o>e&&Vp(o-e)}var i=this,e=this._namedProps,s=t;if(s){for(var a=0,c=e;a{if(!i._collection[e])return;b.objectDefineProperty(i,e,{configurable:!0,get:function(){return this._refreshCollection(),i._collection[e]}})})(p[u])}}},Fp);function Fp(e,t){var r=Rp.call(this)||this;return t=t.toLowerCase(),b.objectDefineProperties(r,{_collection:{value:e},_filteredCollection:{value:[]},_tagName:{value:t},_version:{value:-1/0,writable:!0},_namedProps:{value:-1!==Hp.indexOf(t)?[]:null},_lastNativeLength:{value:0,writable:!0}}),r._refreshCollection(),r}function Vp(e){for(var t=0;t{var e=Bp++;b.objectDefineProperty(Up.prototype,e,{get:function(){this.item(e)}})})()}Zt={constructor:{value:Up.constructor,configurable:!0,enumerable:!1,writable:!0},_refreshCollection:{value:Up.prototype._refreshCollection,enumerable:!1}},HTMLCollection.prototype.namedItem&&(Zt.namedItem={value:function(){for(var e=[],t=0;t=n.length?null:n[e]}}),t.namedItem&&b.objectDefineProperty(n,"namedItem",{value:function(e){return t.namedItem(e)}}),n.length===e?t:n},k.prototype._filterNodeList=function(e,t){return this._filterList(e,t,function(e){return k._filterElement(e)})},k.prototype._filterStyleSheetList=function(e,t){return this._filterList(e,t,function(e){return k._filterElement(e.ownerNode)})},k._getFirstNonShadowElement=function(e){for(var t=b.nodeListLengthGetter.call(e),r=0;r=0?r[e]:null},k.prototype.getLastElementChild=function(e){var e=b.elementChildrenGetter.call(e),t=b.htmlCollectionLengthGetter.call(e),r=this._filterNodeList(e,t),e=e===r?t-1:r.length-1;return e>=0?r[e]:null},k.prototype.getNextSibling=function(e){if(e)for(;(e=b.nodeNextSiblingGetter.call(e))&&E(e););return e},k.prototype.getPrevSibling=function(e){if(e)for(;(e=b.nodePrevSiblingGetter.call(e))&&E(e););return e},k.prototype.getMutationRecordNextSibling=function(e){if(e)for(;e&&E(e);)e=b.nodeNextSiblingGetter.call(e);return e},k.prototype.getMutationRecordPrevSibling=function(e){if(e)for(;e&&E(e);)e=b.nodePrevSiblingGetter.call(e);return e},k.prototype.getNextElementSibling=function(e){for(;(e=b.elementNextElementSiblingGetter.call(e))&&E(e););return e},k.prototype.getPrevElementSibling=function(e){for(;(e=b.elementPrevElementSiblingGetter.call(e))&&E(e););return e},k._checkElementsPosition=function(e,t){if(t){for(var r=[],n=0;n1||"object"!==typeof e[0]){for(var n=document.createDocumentFragment.call(this.document),o=0,i=e;o{if(!(t.length=0;r--)try{if(t[r].iframe===e)return t[r]}catch(e){t.splice(r,1)}}function lh(e,t){var r=An(e),e=e!==r?Sn(e):null,n=r[ah],r=(n||b.objectDefineProperty(r,ah,{value:n=[]}),ch(n,e));r?r.sandbox=t:n.push({iframe:e,sandbox:t})}function uh(e){var t=An(e),r=t[ah],t=e!==t?e.frameElement:null;return r&&(e=ch(r,t))?e.sandbox:null}var ph,hh=Object.freeze({__proto__:null,create:lh,get:uh}),dh=(e(fh,ph=t),fh.prototype._riseChangeEvent=function(e){this._eventSimulator.change(e)},fh._getCurrentInfoManager=function(e){e=e[w.processedContext];return e&&uh(e).upload.infoManager},fh.prototype.attach=function(e){var s=this;ph.prototype.attach.call(this,e),this._listeners.addInternalEventBeforeListener(e,["change"],function(e,t){var r,n,o=b.eventTargetGetter.call(e),i=fh._getCurrentInfoManager(o);!t&&lo(o)&&(zu(e),qu(e),(r=b.inputValueGetter.call(o))||i.getValue(o))&&(t=b.inputFilesGetter.call(o),n=ih.getFileNames(t,r),s.emit(s.START_FILE_UPLOADING_EVENT,n,o),i.loadFileListData(o,t).then(function(e){return i.setUploadInfo(o,e,r),s.infoManager.sendFilesInfoToServer(e,n)}).then(function(e){s._riseChangeEvent(o),s.emit(s.END_FILE_UPLOADING_EVENT,e)}))}),!x.get().isRecordMode&&cr&&this._listeners.addInternalEventBeforeListener(e,["click"],function(e,t){t&&lo(b.eventTargetGetter.call(e))&&qu(e,!0)})},fh.getFiles=function(e){return void 0!==b.inputFilesGetter.call(e)?fh._getCurrentInfoManager(e).getFiles(e):void 0},fh.getUploadElementValue=function(e){var t=fh._getCurrentInfoManager(e);return t?t.getValue(e):""},fh.prototype.setUploadElementValue=function(e,t){""===t&&fh._getCurrentInfoManager(e).clearUploadInfo(e)},fh._shouldRaiseChangeEvent=function(e,t){if(!t)return!0;var r=t.files;if(e.length!==r.length||cr||tr&&lr||ur)return!0;for(var n=0,o=e;n{for(var e=[],t=0,r=b.objectKeys(g);t-1?o.window[t]:(e=n.call(this,e,t,r),"eval"===t&&e[zh.WRAPPED_EVAL_FN]?e[zh.WRAPPED_EVAL_FN]:e)},b.objectDefineProperty(t.get,Lh,{value:!0,enumerable:!1})),new b.Proxy(e,t)}),this.window.Proxy.revocable=b.Proxy.revocable},L.prototype.overrideRegisterInServiceWorker=function(){var t=this;a(this.window.navigator.serviceWorker,"register",function(){for(var s=[],e=0;e2&&null!==r&&void 0!==r&&(e[2]=C(r)),n.apply(this,e)})},L.prototype.overrideSendBeaconInNavigator=function(){a(this.window.Navigator.prototype,"sendBeacon",function(){return"string"===typeof arguments[0]&&(arguments[0]=C(arguments[0])),b.sendBeacon.apply(this,arguments)})},L.prototype.overrideRegisterProtocolHandlerInNavigator=function(){a(this.window.navigator,"registerProtocolHandler",function(){for(var e=[],t=0;t1&&"string"===typeof n&&"text/html"===e[1]&&(r=ou(n),e[0]=r),b.DOMParserParseFromString.apply(this,e));return r&&Xp.removeSelfRemovingScripts(n),n})},L.prototype.overrideFirstChildInNode=function(){var e=this;i(this.window.Node.prototype,"firstChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getFirstChild(this):b.nodeFirstChildGetter.call(this)}})},L.prototype.overrideFirstElementChildInElement=function(){var e=this;i(this.window.Element.prototype,"firstElementChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getFirstElementChild(this):b.elementFirstElementChildGetter.call(this)}})},L.prototype.overrideLastChildInNode=function(){var e=this;i(this.window.Node.prototype,"lastChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getLastChild(this):b.nodeLastChildGetter.call(this)}})},L.prototype.overrideLastElementChildInElement=function(){var e=this;i(this.window.Element.prototype,"lastElementChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getLastElementChild(this):b.elementLastElementChildGetter.call(this)}})},L.prototype.overrideNextSiblingInNode=function(){var e=this;i(this.window.Node.prototype,"nextSibling",{getter:function(){return e.shadowUI.getNextSibling(this)}})},L.prototype.overridePreviousSiblingInNode=function(){var e=this;i(this.window.Node.prototype,"previousSibling",{getter:function(){return e.shadowUI.getPrevSibling(this)}})},L.prototype.overrideNextElementSiblingInElement=function(){var e=this;i(this.window.Element.prototype,"nextElementSibling",{getter:function(){return e.shadowUI.getNextElementSibling(this)}})},L.prototype.overridePreviousElementSiblingInElement=function(){var e=this;i(this.window.Element.prototype,"previousElementSibling",{getter:function(){return e.shadowUI.getPrevElementSibling(this)}})},L.prototype.overrideInnerHTMLInElement=function(t){var o=this;i(this.window.Element.prototype,"innerHTML",{getter:function(){var e;return!t&&o._documentTitleStorageInitializer&&Kn(this)?o._documentTitleStorageInitializer.storage.getTitleElementPropertyValue(this):(e=b.elementInnerHTMLGetter.call(this),ro(this)?ka(e):no(this)?T.cleanUp(e,jt):nu(e))},setter:function(e){var t,r,n;o._documentTitleStorageInitializer&&Kn(this)?o._documentTitleStorageInitializer.storage.setTitleElementPropertyValue(this,e):(r=no(t=this),n=ro(t),e=(e=null!==e&&void 0!==e?String(e):e)&&(r?T.process(e,C,!0):n?Sc(e,!0,!1,Bt,void 0,x.nativeAutomation):ou(e,{parentTag:t.tagName,processedContext:t[w.processedContext]})),r||n||sp.onChildrenChanged(t),b.elementInnerHTMLSetter.call(t,e),o.setSandboxedTextForTitleElements(t),r||n||(sp.onChildrenChanged(t),o.document.body===t?(e=o.shadowUI.getRoot(),o.shadowUI.markShadowUIContainers(o.document.head,t),Xp.markElementAndChildrenAsShadow(e)):E(t)&&Xp.markElementAndChildrenAsShadow(t),(n=(r=In(t))?r.defaultView:null)&&n!==o.window&&n[w.processDomMethodName]?n[w.processDomMethodName](t,r):o.window[w.processDomMethodName]&&o.window[w.processDomMethodName](t),o.window.self&&(Qn(t)||Jn(t))&&b.setTimeout.call(o.window,function(){return o.nodeMutation.onBodyContentChanged(t)},0)))}})},L.prototype.overrideOuterHTMLInElement=function(){var o=this;i(this.window.Element.prototype,"outerHTML",{getter:function(){return nu(b.elementOuterHTMLGetter.call(this))},setter:function(e){var t,r,n=b.nodeParentNodeGetter.call(this);sp.onElementChanged(this),n&&null!==e&&void 0!==e?(r=(t=In(n))?t.defaultView:null,b.elementOuterHTMLSetter.call(this,ou(String(e),{parentTag:n&&n.tagName,processedContext:this[w.processedContext]})),o.setSandboxedTextForTitleElements(n),sp.onChildrenChanged(n),r&&r!==o.window&&r[w.processDomMethodName]?r[w.processDomMethodName](n,t):o.window[w.processDomMethodName]&&o.window[w.processDomMethodName](n),o.window.self&&Jn(this)&&b.setTimeout.call(o.window,function(){return o.shadowUI.onBodyElementMutation()},0)):b.elementOuterHTMLSetter.call(this,e)}})},L.prototype.setSandboxedTextForTitleElements=function(e){if(!kn(this.window))for(var t=0,r=Gr(e).call(e,"title");t"']/g,Vs=RegExp(Us.source),Ws=RegExp(Fs.source),Gs=/<%-([\s\S]+?)%>/g,qs=/<%([\s\S]+?)%>/g,zs=/<%=([\s\S]+?)%>/g,Ks=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$s=/^\w*$/,Xs=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ys=/[\\^$.*+?()[\]{}|]/g,Qs=RegExp(Ys.source),Js=/^\s+/,i=/\s/,Zs=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ea=/\{\n\/\* \[wrapped with (.+)\] \*/,ta=/,? & /,ra=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,na=/[()=,{}\[\]\/\s]/,oa=/\\(\\)?/g,ia=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sa=/\w*$/,aa=/^[-+]0x[0-9a-f]+$/i,ca=/^0b[01]+$/i,la=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,ha=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,da=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,s="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",c="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",t="A-Z\\xc0-\\xd6\\xd8-\\xde",l="\\ufe0e\\ufe0f",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+s+"]",p="["+u+"]",h="["+a+"]",d="["+c+"]",f="["+e+"]",u="[^"+s+u+"\\d+"+c+e+t+"]",c="\\ud83c[\\udffb-\\udfff]",e="[^"+s+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+t+"]",g="(?:"+f+"|"+u+")",u="(?:"+t+"|"+u+")",y="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",E="(?:"+h+"|"+c+")"+"?",_="["+l+"]?",_=_+E+("(?:\\u200d(?:"+[e,m,n].join("|")+")"+_+E+")*"),E="(?:"+[d,m,n].join("|")+")"+_,d="(?:"+[e+h+"?",h,m,n,r].join("|")+")",ma=RegExp("['’]","g"),ga=RegExp(h,"g"),S=RegExp(c+"(?="+c+")|"+d+_,"g"),ya=RegExp([t+"?"+f+"+"+y+"(?="+[p,t,"$"].join("|")+")",u+"+"+v+"(?="+[p,t+g,"$"].join("|")+")",t+"?"+g+"+"+y,t+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",E].join("|"),"g"),w=RegExp("[\\u200d"+s+a+l+"]"),va=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ea=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_a=-1,ns={},os=(ns[Is]=ns[Ps]=ns[Ns]=ns[Os]=ns[ks]=ns[Ls]=ns[Ds]=ns[Ms]=ns[Rs]=!0,ns[qi]=ns[ws]=ns[ts]=ns[zi]=ns[rs]=ns[Ki]=ns[bs]=ns[xs]=ns[$i]=ns[Xi]=ns[Yi]=ns[Qi]=ns[Ji]=ns[Zi]=ns[es]=!1,{}),b=(os[qi]=os[ws]=os[ts]=os[rs]=os[zi]=os[Ki]=os[Is]=os[Ps]=os[Ns]=os[Os]=os[ks]=os[$i]=os[Xi]=os[Yi]=os[Qi]=os[Ji]=os[Zi]=os[Ts]=os[Ls]=os[Ds]=os[Ms]=os[Rs]=!0,os[bs]=os[xs]=os[es]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),Sa=parseFloat,wa=parseInt,e="object"==typeof j&&j&&j.Object===Object&&j,m="object"==typeof self&&self&&self.Object===Object&&self,is=e||m||Function("return this")(),n=I&&!I.nodeType&&I,o=n&&T&&!T.nodeType&&T,ba=o&&o.exports===n,x=ba&&e.process,r=(()=>{try{var e=o&&o.require&&o.require("util").types;return e?e:x&&x.binding&&x.binding("util")}catch(e){}})(),xa=r&&r.isArrayBuffer,Ca=r&&r.isDate,Aa=r&&r.isMap,Ta=r&&r.isRegExp,Ia=r&&r.isSet,Pa=r&&r.isTypedArray;function ss(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Na(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o-1}function Da(e,t,r){for(var n=-1,o=null==e?0:e.length;++n-1;);return r}function Qa(e,t){for(var r=e.length;r--&&ps(t,e[r],0)>-1;);return r}var Ja=A({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Za=A({"&":"&","<":"<",">":">",'"':""","'":"'"});function ec(e){return"\\"+b[e]}function ds(e){return w.test(e)}function tc(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}function rc(t,r){return function(e){return t(r(e))}}function fs(e,t){for(var r=-1,n=e.length,o=0,i=[];++r{for(var t=S.lastIndex=0;S.test(e);)++t;return t}:C)(e)}function gs(e){return ds(e)?e.match(S)||[]:e.split("")}function oc(e){for(var t=e.length;t--&&i.test(e.charAt(t)););return t}var ic=A({"&":"&","<":"<",">":">",""":'"',"'":"'"});var ys=function o(e){var w=(e=null==e?is:ys.defaults(is.Object(),e,ys.pick(is,Ea))).Array,i=e.Date,k=e.Error,L=e.Function,D=e.Math,m=e.Object,M=e.RegExp,V=e.String,b=e.TypeError,W=w.prototype,G=L.prototype,q=m.prototype,z=e["__core-js_shared__"],K=G.toString,R=q.hasOwnProperty,$=0,X=(G=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",Y=q.toString,Q=K.call(m),J=is._,Z=M("^"+K.call(R).replace(Ys,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=ba?e.Buffer:Fi,t=e.Symbol,ee=e.Uint8Array,te=G?G.allocUnsafe:Fi,re=rc(m.getPrototypeOf,m),ne=m.create,oe=q.propertyIsEnumerable,ie=W.splice,se=t?t.isConcatSpreadable:Fi,ae=t?t.iterator:Fi,ce=t?t.toStringTag:Fi,le=(()=>{try{var e=Qr(m,"defineProperty");return e({},"",{}),e}catch(e){}})(),ue=e.clearTimeout!==is.clearTimeout&&e.clearTimeout,pe=i&&i.now!==is.Date.now&&i.now,he=e.setTimeout!==is.setTimeout&&e.setTimeout,de=D.ceil,fe=D.floor,me=m.getOwnPropertySymbols,G=G?G.isBuffer:Fi,ge=e.isFinite,ye=W.join,ve=rc(m.keys,m),x=D.max,C=D.min,Ee=i.now,_e=e.parseInt,Se=D.random,we=W.reverse,i=Qr(e,"DataView"),be=Qr(e,"Map"),xe=Qr(e,"Promise"),Ce=Qr(e,"Set"),e=Qr(e,"WeakMap"),Ae=Qr(m,"create"),Te=e&&new e,Ie={},Pe=bn(i),Ne=bn(be),Oe=bn(xe),ke=bn(Ce),Le=bn(e),t=t?t.prototype:Fi,De=t?t.valueOf:Fi,Me=t?t.toString:Fi;function f(e){if(F(e)&&!U(e)&&!(e instanceof y)){if(e instanceof g)return e;if(R.call(e,"__wrapped__"))return xn(e)}return new g(e)}var Re=function(e){if(!S(e))return{};if(ne)return ne(e);je.prototype=e;e=new je;return je.prototype=Fi,e};function je(){}function He(){}function g(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=Fi}function y(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Gi,this.__views__=[]}function Be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t:e}function v(r,n,o,e,t,i){var s,a=1&n,c=2&n,l=4&n;if((s=o?t?o(r,e,t,i):o(r):s)===Fi){if(!S(r))return r;var u,e=U(r);if(e){if(s=(e=>{var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&R.call(e,"index")&&(r.index=e.index,r.input=e.input),r})(r),!a)return A(r,s)}else{var p=H(r),h=p==xs||p==Cs;if(_o(r))return lr(r,a);if(p==Yi||p==qi||h&&!t){if(s=c||h?{}:tn(r),!a)return c?(d=h=r,d=(u=s)&&mr(d,N(d),u),mr(h,Zr(h),d)):(h=Qe(s,u=r),mr(u,Jr(u),h))}else{if(!os[p])return t?r:{};s=((e,t,r)=>{var n=e.constructor;switch(t){case ts:return ur(e);case zi:case Ki:return new n(+e);case rs:return((e,t)=>(t=t?ur(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.byteLength)))(e,r);case Is:case Ps:case Ns:case Os:case ks:case Ls:case Ds:case Ms:case Rs:return pr(e,r);case $i:return new n;case Xi:case Zi:return new n(e);case Qi:return(e=>{var t=new e.constructor(e.source,sa.exec(e));return t.lastIndex=e.lastIndex,t})(e);case Ji:return new n;case Ts:return(e=>De?m(De.call(e)):{})(e)}})(r,p,a)}}var d=(i=i||new j).get(r);if(d)return d;i.set(r,s),Po(r)?r.forEach(function(e){s.add(v(e,n,o,e,r,i))}):Co(r)&&r.forEach(function(e,t){s.set(t,v(e,n,o,t,r,i))});var f=e?Fi:(l?c?qr:Gr:c?N:P)(r);as(f||r,function(e,t){f&&(e=r[t=e]),$e(s,t,v(e,n,o,t,r,i))})}return s}function tt(e,t,r){var n=r.length;if(null==e)return!n;for(e=m(e);n--;){var o=r[n],i=t[o],s=e[o];if(s===Fi&&!(o in e)||!i(s))return!1}return!0}function rt(e,t,r){if("function"!=typeof e)throw new b(Vi);return mn(function(){e.apply(Fi,r)},t)}function nt(e,t,r,n){var o=-1,i=La,s=!0,a=e.length,c=[],l=t.length;if(a){r&&(t=ls(t,hs(r))),n?(i=Da,s=!1):t.length>=200&&(i=Xa,s=!1,t=new Ve(t));e:for(;++o-1},Ue.prototype.set=function(e,t){var r=this.__data__,n=Xe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Fe.prototype.clear=function(){this.size=0,this.__data__={hash:new Be,map:new(be||Ue),string:new Be}},Fe.prototype.delete=function(e){return e=Xr(this,e).delete(e),this.size-=e?1:0,e},Fe.prototype.get=function(e){return Xr(this,e).get(e)},Fe.prototype.has=function(e){return Xr(this,e).has(e)},Fe.prototype.set=function(e,t){var r=Xr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Ve.prototype.add=Ve.prototype.push=function(e){return this.__data__.set(e,vs),this},Ve.prototype.has=function(e){return this.__data__.has(e)},j.prototype.clear=function(){this.__data__=new Ue,this.size=0},j.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},j.prototype.get=function(e){return this.__data__.get(e)},j.prototype.has=function(e){return this.__data__.has(e)},j.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Ue){var n=r.__data__;if(!be||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Fe(n)}return r.set(e,t),this.size=r.size,this};var ot=vr(pt),it=vr(ht,!0);function st(e,n){var o=!0;return ot(e,function(e,t,r){return o=!!n(e,t,r)}),o}function at(e,t,r){for(var n=-1,o=e.length;++n0&&r(a)?t>1?c(a,t-1,r,n,o):us(o,a):n||(o[o.length]=a)}return o}var lt=Er(),ut=Er(!0);function pt(e,t){return e&<(e,t,P)}function ht(e,t){return e&&ut(e,t,P)}function dt(t,e){return cs(e,function(e){return wo(t[e])})}function ft(e,t){for(var r=0,n=(t=ir(t,e)).length;null!=e&&rt}function yt(e,t){return null!=e&&R.call(e,t)}function vt(e,t){return null!=e&&t in m(e)}function Et(e,t,r){for(var n=r?Da:La,o=e[0].length,i=e.length,s=i,a=w(i),c=1/0,l=[];s--;){var u=e[s];s&&t&&(u=ls(u,hs(t))),c=C(u.length,c),a[s]=!r&&(t||o>=120&&u.length>=120)?new Ve(s&&u):Fi}var u=e[0],p=-1,h=a[0];e:for(;++p=a?l:(c=r[n],l*("desc"==c?-1:1))}return e.index-t.index},r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function Mt(e,t,r){for(var n=-1,o=t.length,i={};++n-1;)a!==e&&ie.call(a,c,1),ie.call(e,c,1);return e}function jt(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o,i=t[r];r!=n&&i===o||(nn(o=i)?ie.call(e,i,1):Qt(e,i))}}function Ht(e,t){return e+fe(Se()*(t-e+1))}function Bt(e,t){var r="";if(!(!e||t<1||t>Wi))for(;t%2&&(r+=e),(t=fe(t/2))&&(e+=e),t;);return r}function s(e,t){return gn(pn(e,t,O),e+"")}function Ut(e){return Ge(ni(e))}function Ft(e,t){e=ni(e);return En(e,et(t,0,e.length))}function Vt(e,t,r,n){if(S(e))for(var o=-1,i=(t=ir(t,e)).length,s=i-1,a=e;null!=a&&++oo?o:r)<0&&(r+=o),o=(t=t<0?-t>o?0:o+t:t)>r?0:r-t>>>0,t>>>=0,w(o));++n>>1,s=e[i];null!==s&&!E(s)&&(r?s<=t:s=200){var l=t?null:Rr(e);if(l)return nc(l);s=!1,o=Xa,c=new Ve}else c=t?[]:a;e:for(;++n=n?e:a(e,t,r)}var cr=ue||function(e){return is.clearTimeout(e)};function lr(e,t){return t?e.slice():(t=e.length,t=te?te(t):new e.constructor(t),e.copy(t),t)}function ur(e){var t=new e.constructor(e.byteLength);return new ee(t).set(new ee(e)),t}function pr(e,t){t=t?ur(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function hr(e,t){if(e!==t){var r=e!==Fi,n=null===e,o=e===e,i=E(e),s=t!==Fi,a=null===t,c=t===t,l=E(t);if(!a&&!l&&!i&&e>t||i&&s&&c&&!a&&!l||n&&s&&c||!r&&c||!o)return 1;if(!n&&!i&&!l&&e1?t[n-1]:Fi,i=n>2?t[2]:Fi,o=a.length>3&&"function"==typeof o?(n--,o):Fi;for(i&&h(t[0],t[1],i)&&(o=n<3?Fi:o,n=1),e=m(e);++r-1?o[n?e[t]:t]:Fi}}function Cr(c){return Wr(function(o){var i=o.length,e=i,t=g.prototype.thru;for(c&&o.reverse();e--;){var r=o[e];if("function"!=typeof r)throw new b(Vi);t&&!a&&"wrapper"==Kr(r)&&(a=new g([],!0))}for(e=a?e:i;++e{for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n})(o,t=$r(e))),l&&(o=dr(o,l,u,E)),p&&(o=fr(o,p,h,E)),n-=r,E&&n{for(var r=e.length,n=C(t.length,r),o=A(e);n--;){var i=t[n];e[n]=nn(i,r)?o[i]:Fi}return e})(o,d):_&&n>1&&o.reverse(),g&&fa))return!1;var c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;var u=-1,p=!0,h=2&r?new Ve:Fi;for(i.set(e,t),i.set(t,e);++u-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(Zs,"{\n/* [wrapped with "+t+"] */\n")):e))}function vn(r){var n=0,o=0;return function(){var e=Ee(),t=16-(e-o);if(o=e,t>0){if(++n>=800)return arguments[0]}else n=0;return r.apply(Fi,arguments)}}function En(e,t){var r=-1,n=e.length,o=n-1;for(t=t===Fi?n:t;++r1?e[t-1]:Fi)?(e.pop(),t):Fi;return Rn(e,t)});function Wn(e){e=f(e);return e.__chain__=!0,e}function Gn(e,t){return t(e)}var qn=Wr(function(t){function e(e){return Ze(e,t)}var r=t.length,n=r?t[0]:0,o=this.__wrapped__;return!(r>1||this.__actions__.length)&&o instanceof y&&nn(n)?((o=o.slice(n,+n+(r?1:0))).__actions__.push({func:Gn,args:[e],thisArg:Fi}),new g(o,this.__chain__).thru(function(e){return r&&!e.length&&e.push(Fi),e})):this.thru(e)});var zn=gr(function(e,t,r){R.call(e,r)?++e[r]:Je(e,r,1)});var Kn=xr(Cn),$n=xr(An);function Xn(e,t){return(U(e)?as:ot)(e,p(t,3))}function Yn(e,t){return(U(e)?Oa:it)(e,p(t,3))}var Qn=gr(function(e,t,r){R.call(e,r)?e[r].push(t):Je(e,r,[t])});var Jn=s(function(e,t,r){var n=-1,o="function"==typeof t,i=u(e)?w(e.length):[];return ot(e,function(e){i[++n]=o?ss(t,e,r):_t(e,t,r)}),i}),Zn=gr(function(e,t,r){Je(e,r,t)});function eo(e,t){return(U(e)?ls:Pt)(e,p(t,3))}var to=gr(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});var ro=s(function(e,t){var r;return null==e?[]:((r=t.length)>1&&h(e,t[0],t[1])?t=[]:r>2&&h(t[0],t[1],t[2])&&(t=[t[0]]),Dt(e,c(t,1),[]))}),no=pe||function(){return is.Date.now()};function oo(e,t,r){return t=r?Fi:t,t=e&&null==t?e.length:t,Hr(e,128,Fi,Fi,Fi,Fi,t)}function io(e,t){var r;if("function"!=typeof t)throw new b(Vi);return e=T(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=Fi),r}}var so=s(function(e,t,r){var n,o=1;return r.length&&(n=fs(r,$r(so)),o|=32),Hr(e,o,t,r,n)}),ao=s(function(e,t,r){var n,o=3;return r.length&&(n=fs(r,$r(ao)),o|=32),Hr(t,o,e,r,n)});function co(n,r,e){var o,i,s,a,c,l,u=0,p=!1,h=!1,t=!0;if("function"!=typeof n)throw new b(Vi);function d(e){var t=o,r=i;return o=i=Fi,u=e,a=n.apply(r,t)}function f(e){var t=e-l;return l===Fi||t>=r||t<0||h&&e-u>=s}function m(){var e,t=no();if(f(t))return g(t);c=mn(m,(e=r-((t=t)-l),h?C(e,s-(t-u)):e))}function g(e){return c=Fi,t&&o?d(e):(o=i=Fi,a)}function y(){var e=no(),t=f(e);if(o=arguments,i=this,l=e,t){if(c===Fi)return u=e=l,c=mn(m,r),p?d(e):a;if(h)return cr(c),c=mn(m,r),d(l)}return c===Fi&&(c=mn(m,r)),a}return r=I(r)||0,S(e)&&(p=!!e.leading,h="maxWait"in e,s=h?x(I(e.maxWait)||0,r):s,t="trailing"in e?!!e.trailing:t),y.cancel=function(){c!==Fi&&cr(c),u=0,o=l=i=c=Fi},y.flush=function(){return c===Fi?a:g(no())},y}var pe=s(function(e,t){return rt(e,1,t)}),lo=s(function(e,t,r){return rt(e,I(t)||0,r)});function uo(n,o){if("function"!=typeof n||null!=o&&"function"!=typeof o)throw new b(Vi);function i(){var e=arguments,t=o?o.apply(this,e):e[0],r=i.cache;return r.has(t)?r.get(t):(e=n.apply(this,e),i.cache=r.set(t,e)||r,e)}return i.cache=new(uo.Cache||Fe),i}function po(t){if("function"!=typeof t)throw new b(Vi);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}uo.Cache=Fe;var sr=sr(function(n,o){var i=(o=1==o.length&&U(o[0])?ls(o[0],hs(p())):ls(c(o,1),hs(p()))).length;return s(function(e){for(var t=-1,r=C(e.length,i);++t=t}),vo=St(function(){return arguments}())?St:function(e){return F(e)&&R.call(e,"callee")&&!oe.call(e,"callee")},U=w.isArray,Eo=xa?hs(xa):function(e){return F(e)&&r(e)==ts};function u(e){return null!=e&&xo(e.length)&&!wo(e)}function _(e){return F(e)&&u(e)}var _o=G||ki,G=Ca?hs(Ca):function(e){return F(e)&&r(e)==Ki};function So(e){var t;return!!F(e)&&((t=r(e))==bs||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!To(e))}function wo(e){return!!S(e)&&((e=r(e))==xs||e==Cs||"[object AsyncFunction]"==e||"[object Proxy]"==e)}function bo(e){return"number"==typeof e&&e==T(e)}function xo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Wi}function S(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function F(e){return null!=e&&"object"==typeof e}var Co=Aa?hs(Aa):function(e){return F(e)&&H(e)==$i};function Ao(e){return"number"==typeof e||F(e)&&r(e)==Xi}function To(e){return!(!F(e)||r(e)!=Yi)&&(null===(e=re(e))||"function"==typeof(e=R.call(e,"constructor")&&e.constructor)&&e instanceof e&&K.call(e)==Q)}var Io=Ta?hs(Ta):function(e){return F(e)&&r(e)==Qi};var Po=Ia?hs(Ia):function(e){return F(e)&&H(e)==Ji};function No(e){return"string"==typeof e||!U(e)&&F(e)&&r(e)==Zi}function E(e){return"symbol"==typeof e||F(e)&&r(e)==Ts}var Oo=Pa?hs(Pa):function(e){return F(e)&&xo(e.length)&&!!ns[r(e)]};var ko=Lr(It),Lo=Lr(function(e,t){return e<=t});function Do(e){if(!e)return[];if(u(e))return(No(e)?gs:A)(e);if(ae&&e[ae]){for(var t,r=e[ae](),n=[];!(t=r.next()).done;)n.push(t.value);return n}var o=H(e);return(o==$i?tc:o==Ji?nc:ni)(e)}function Mo(e){return e?(e=I(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function T(e){var e=Mo(e),t=e%1;return e===e?t?e-t:e:0}function Ro(e){return e?et(T(e),0,Gi):0}function I(e){if("number"==typeof e)return e;if(E(e))return _s;if("string"!=typeof(e=S(e)?S(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=Ka(e);var t=ca.test(e);return t||ua.test(e)?wa(e.slice(2),t?2:8):aa.test(e)?_s:+e}function jo(e){return mr(e,N(e))}function d(e){return null==e?"":l(e)}var Ho=yr(function(e,t){if(cn(t)||u(t))mr(t,P(t),e);else for(var r in t)R.call(t,r)&&$e(e,r,t[r])}),Bo=yr(function(e,t){mr(t,N(t),e)}),Uo=yr(function(e,t,r,n){mr(t,N(t),e,n)}),Fo=yr(function(e,t,r,n){mr(t,P(t),e,n)}),Vo=Wr(Ze);var Wo=s(function(e,t){e=m(e);var r=-1,n=t.length,o=n>2?t[2]:Fi;for(o&&h(t[0],t[1],o)&&(n=1);++r1,e}),mr(t,qr(t),r),n&&(r=v(r,7,Fr)),e.length);o--;)Qt(r,e[o]);return r});var Zo=Wr(function(e,t){return null==e?{}:Mt(r=e,t,function(e,t){return zo(r,t)});var r});function ei(e,r){var t;return null==e?{}:(t=ls(qr(e),function(e){return[e]}),r=p(r),Mt(e,t,function(e,t){return r(e,t[0])}))}var ti=jr(P),ri=jr(N);function ni(e){return null==e?[]:$a(e,P(e))}var oi=Sr(function(e,t,r){return t=t.toLowerCase(),e+(r?ii(t):t)});function ii(e){return di(d(e).toLowerCase())}function si(e){return(e=d(e))&&e.replace(ha,Ja).replace(ga,"")}var ai=Sr(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),ci=Sr(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),li=_r("toLowerCase");var ui=Sr(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});var pi=Sr(function(e,t,r){return e+(r?" ":"")+di(t)});var hi=Sr(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),di=_r("toUpperCase");function fi(e,t,r){return e=d(e),(t=r?Fi:t)===Fi?(r=e,va.test(r)?e.match(ya)||[]:e.match(ra)||[]):e.match(t)||[]}var mi=s(function(e,t){try{return ss(e,Fi,t)}catch(e){return So(e)?e:new k(e)}}),gi=Wr(function(t,e){return as(e,function(e){e=wn(e),Je(t,e,so(t[e],t))}),t});function yi(e){return function(){return e}}var vi=Cr(),Ei=Cr(!0);function O(e){return e}function _i(e){return Ct("function"==typeof e?e:v(e,1))}var Si=s(function(t,r){return function(e){return _t(e,t,r)}}),wi=s(function(t,r){return function(e){return _t(t,e,r)}});function bi(n,t,e){var r=P(t),o=dt(t,r),i=(null!=e||S(t)&&(o.length||!r.length)||(e=t,t=n,n=this,o=dt(t,P(t))),!(S(e)&&"chain"in e)||!!e.chain),s=wo(n);return as(o,function(e){var r=t[e];n[e]=r,s&&(n.prototype[e]=function(){var e,t=this.__chain__;return i||t?(((e=n(this.__wrapped__)).__actions__=A(this.__actions__)).push({func:r,args:arguments,thisArg:n}),e.__chain__=t,e):r.apply(n,us([this.value()],arguments))})}),n}function xi(){}var Ci=Pr(ls),Ai=Pr(ka),Ti=Pr(ja);function Ii(e){return on(e)?Wa(wn(e)):(t=e,function(e){return ft(e,t)});var t}var Pi=kr(),Ni=kr(!0);function Oi(){return[]}function ki(){return!1}var Li=Ir(function(e,t){return e+t},0),Di=Mr("ceil"),Mi=Ir(function(e,t){return e/t},1),Ri=Mr("floor");var ji,Hi=Ir(function(e,t){return e*t},1),Bi=Mr("round"),Ui=Ir(function(e,t){return e-t},0);return f.after=function(e,t){if("function"!=typeof t)throw new b(Vi);return e=T(e),function(){if(--e<1)return t.apply(this,arguments)}},f.ary=oo,f.assign=Ho,f.assignIn=Bo,f.assignInWith=Uo,f.assignWith=Fo,f.at=Vo,f.before=io,f.bind=so,f.bindAll=gi,f.bindKey=ao,f.castArray=function(){var e;return arguments.length?U(e=arguments[0])?e:[e]:[]},f.chain=Wn,f.chunk=function(e,t,r){t=(r?h(e,t,r):t===Fi)?1:x(T(t),0);var n=null==e?0:e.length;if(!n||t<1)return[];for(var o=0,i=0,s=w(de(n/t));oc?0:c+s),(a=a===Fi||a>c?c:T(a))<0&&(a+=c),a=s>a?0:Ro(a);s>>0)?(e=d(e))&&("string"==typeof t||null!=t&&!Io(t))&&!(t=l(t))&&ds(e)?ar(gs(e),0,r):e.split(t,r):[]},f.spread=function(r,n){if("function"!=typeof r)throw new b(Vi);return n=null==n?0:x(T(n),0),s(function(e){var t=e[n],e=ar(e,0,n);return t&&us(e,t),ss(r,this,e)})},f.tail=function(e){var t=null==e?0:e.length;return t?a(e,1,t):[]},f.take=function(e,t,r){return e&&e.length?a(e,0,(t=r||t===Fi?1:T(t))<0?0:t):[]},f.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?a(e,(t=n-(t=r||t===Fi?1:T(t)))<0?0:t,n):[]},f.takeRightWhile=function(e,t){return e&&e.length?Zt(e,p(t,3),!1,!0):[]},f.takeWhile=function(e,t){return e&&e.length?Zt(e,p(t,3)):[]},f.tap=function(e,t){return t(e),e},f.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new b(Vi);return S(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),co(e,t,{leading:n,maxWait:t,trailing:o})},f.thru=Gn,f.toArray=Do,f.toPairs=ti,f.toPairsIn=ri,f.toPath=function(e){return U(e)?ls(e,wn):E(e)?[e]:A(Sn(d(e)))},f.toPlainObject=jo,f.transform=function(e,n,o){var t,r=U(e),i=r||_o(e)||Oo(e);return n=p(n,4),null==o&&(t=e&&e.constructor,o=i?r?new t:[]:S(e)&&wo(t)?Re(re(e)):{}),(i?as:pt)(e,function(e,t,r){return n(o,e,t,r)}),o},f.unary=function(e){return oo(e,1)},f.union=kn,f.unionBy=Ln,f.unionWith=Dn,f.uniq=function(e){return e&&e.length?Yt(e):[]},f.uniqBy=function(e,t){return e&&e.length?Yt(e,p(t,2)):[]},f.uniqWith=function(e,t){return t="function"==typeof t?t:Fi,e&&e.length?Yt(e,Fi,t):[]},f.unset=function(e,t){return null==e||Qt(e,t)},f.unzip=Mn,f.unzipWith=Rn,f.update=function(e,t,r){return null==e?e:Jt(e,t,or(r))},f.updateWith=function(e,t,r,n){return n="function"==typeof n?n:Fi,null==e?e:Jt(e,t,or(r),n)},f.values=ni,f.valuesIn=function(e){return null==e?[]:$a(e,N(e))},f.without=jn,f.words=fi,f.wrap=function(e,t){return ho(or(t),e)},f.xor=Hn,f.xorBy=Bn,f.xorWith=Un,f.zip=Fn,f.zipObject=function(e,t){return rr(e||[],t||[],$e)},f.zipObjectDeep=function(e,t){return rr(e||[],t||[],Vt)},f.zipWith=Vn,f.entries=ti,f.entriesIn=ri,f.extend=Bo,f.extendWith=Uo,bi(f,f),f.add=Li,f.attempt=mi,f.camelCase=oi,f.capitalize=ii,f.ceil=Di,f.clamp=function(e,t,r){return r===Fi&&(r=t,t=Fi),r!==Fi&&(r=(r=I(r))===r?r:0),t!==Fi&&(t=(t=I(t))===t?t:0),et(I(e),t,r)},f.clone=function(e){return v(e,4)},f.cloneDeep=function(e){return v(e,5)},f.cloneDeepWith=function(e,t){return v(e,5,t="function"==typeof t?t:Fi)},f.cloneWith=function(e,t){return v(e,4,t="function"==typeof t?t:Fi)},f.conformsTo=function(e,t){return null==t||tt(e,t,P(t))},f.deburr=si,f.defaultTo=function(e,t){return null==e||e!==e?t:e},f.divide=Mi,f.endsWith=function(e,t,r){e=d(e),t=l(t);var n=e.length,n=r=r===Fi?n:et(T(r),0,n);return(r-=t.length)>=0&&e.slice(r,n)==t},f.eq=B,f.escape=function(e){return(e=d(e))&&Ws.test(e)?e.replace(Fs,Za):e},f.escapeRegExp=function(e){return(e=d(e))&&Qs.test(e)?e.replace(Ys,"\\$&"):e},f.every=function(e,t,r){return(U(e)?ka:st)(e,p(t=r&&h(e,t,r)?Fi:t,3))},f.find=Kn,f.findIndex=Cn,f.findKey=function(e,t){return Ha(e,p(t,3),pt)},f.findLast=$n,f.findLastIndex=An,f.findLastKey=function(e,t){return Ha(e,p(t,3),ht)},f.floor=Ri,f.forEach=Xn,f.forEachRight=Yn,f.forIn=function(e,t){return null==e?e:lt(e,p(t,3),N)},f.forInRight=function(e,t){return null==e?e:ut(e,p(t,3),N)},f.forOwn=function(e,t){return e&&pt(e,p(t,3))},f.forOwnRight=function(e,t){return e&&ht(e,p(t,3))},f.get=qo,f.gt=go,f.gte=yo,f.has=function(e,t){return null!=e&&en(e,t,yt)},f.hasIn=zo,f.head=In,f.identity=O,f.includes=function(e,t,r,n){return e=u(e)?e:ni(e),r=r&&!n?T(r):0,n=e.length,r<0&&(r=x(n+r,0)),No(e)?r<=n&&e.indexOf(t,r)>-1:!!n&&ps(e,t,r)>-1},f.indexOf=function(e,t,r){var n=null==e?0:e.length;return n?ps(e,t,e=(e=null==r?0:T(r))<0?x(n+e,0):e):-1},f.inRange=function(e,t,r){return t=Mo(t),r===Fi?(r=t,t=0):r=Mo(r),(e=e=I(e))>=C(t=t,r=r)&&e=-Wi&&e<=Wi},f.isSet=Po,f.isString=No,f.isSymbol=E,f.isTypedArray=Oo,f.isUndefined=function(e){return e===Fi},f.isWeakMap=function(e){return F(e)&&H(e)==es},f.isWeakSet=function(e){return F(e)&&"[object WeakSet]"==r(e)},f.join=function(e,t){return null==e?"":ye.call(e,t)},f.kebabCase=ai,f.last=n,f.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n;if(r!==Fi&&(o=(o=T(r))<0?x(n+o,0):C(o,n-1)),t!==t)return Ba(e,Fa,o,!0);for(var i=e,s=t,a=o+1;a--;)if(i[a]===s)return a;return a},f.lowerCase=ci,f.lowerFirst=li,f.lt=ko,f.lte=Lo,f.max=function(e){return e&&e.length?at(e,O,gt):Fi},f.maxBy=function(e,t){return e&&e.length?at(e,p(t,2),gt):Fi},f.mean=function(e){return Va(e,O)},f.meanBy=function(e,t){return Va(e,p(t,2))},f.min=function(e){return e&&e.length?at(e,O,It):Fi},f.minBy=function(e,t){return e&&e.length?at(e,p(t,2),It):Fi},f.stubArray=Oi,f.stubFalse=ki,f.stubObject=function(){return{}},f.stubString=function(){return""},f.stubTrue=function(){return!0},f.multiply=Hi,f.nth=function(e,t){return e&&e.length?Lt(e,T(t)):Fi},f.noConflict=function(){return is._===this&&(is._=J),this},f.noop=xi,f.now=no,f.pad=function(e,t,r){e=d(e);var n=(t=T(t))?ms(e):0;return!t||n>=t?e:Nr(fe(t=(t-n)/2),r)+e+Nr(de(t),r)},f.padEnd=function(e,t,r){e=d(e);var n=(t=T(t))?ms(e):0;return t&&nt&&(n=e,e=t,t=n),r||e%1||t%1?(n=Se(),C(e+n*(t-e+Sa("1e-"+((n+"").length-1))),t)):Ht(e,t)},f.reduce=function(e,t,r){var n=U(e)?Ma:Ga,o=arguments.length<3;return n(e,p(t,4),r,o,ot)},f.reduceRight=function(e,t,r){var n=U(e)?Ra:Ga,o=arguments.length<3;return n(e,p(t,4),r,o,it)},f.repeat=function(e,t,r){return t=(r?h(e,t,r):t===Fi)?1:T(t),Bt(d(e),t)},f.replace=function(){var e=arguments,t=d(e[0]);return e.length<3?t:t.replace(e[1],e[2])},f.result=function(e,t,r){var n=-1,o=(t=ir(t,e)).length;for(o||(o=1,e=Fi);++nWi)return[];for(var r=Gi,n=C(e,Gi),n=(t=p(t),e-=Gi,za(n,t));++r=(t=ds(e)?(i=gs(e)).length:t))return e;if((t=n-ms(o))<1)return o;var i,n=i?ar(i,0,t).join(""):e.slice(0,t);if(r!==Fi)if(i&&(t+=n.length-t),Io(r)){if(e.slice(t).search(r)){var s,a=n;for((r=r.global?r:M(r.source,d(sa.exec(r))+"g")).lastIndex=0;s=r.exec(a);)var c=s.index;n=n.slice(0,c===Fi?t:c)}}else e.indexOf(l(r),t)!=t&&(i=n.lastIndexOf(r))>-1&&(n=n.slice(0,i));return n+o},f.unescape=function(e){return(e=d(e))&&Vs.test(e)?e.replace(Us,ic):e},f.uniqueId=function(e){var t=++$;return d(e)+t},f.upperCase=hi,f.upperFirst=di,f.each=Xn,f.eachRight=Yn,f.first=In,bi(f,(ji={},pt(f,function(e,t){R.call(f.prototype,t)||(ji[t]=e)}),ji),{chain:!1}),f.VERSION="4.17.21",as(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),as(["drop","take"],function(r,n){y.prototype[r]=function(e){e=e===Fi?1:x(T(e),0);var t=this.__filtered__&&!n?new y(this):this.clone();return t.__filtered__?t.__takeCount__=C(e,t.__takeCount__):t.__views__.push({size:C(e,Gi),type:r+(t.__dir__<0?"Right":"")}),t},y.prototype[r+"Right"]=function(e){return this.reverse()[r](e).reverse()}}),as(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;y.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:p(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),as(["head","last"],function(e,t){var r="take"+(t?"Right":"");y.prototype[e]=function(){return this[r](1).value()[0]}}),as(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");y.prototype[e]=function(){return this.__filtered__?new y(this):this[r](1)}}),y.prototype.compact=function(){return this.filter(O)},y.prototype.find=function(e){return this.filter(e).head()},y.prototype.findLast=function(e){return this.reverse().find(e)},y.prototype.invokeMap=s(function(t,r){return"function"==typeof t?new y(this):this.map(function(e){return _t(e,t,r)})}),y.prototype.reject=function(e){return this.filter(po(p(e)))},y.prototype.slice=function(e,t){e=T(e);var r=this;return r.__filtered__&&(e>0||t<0)?new y(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==Fi?(t=T(t))<0?r.dropRight(-t):r.take(t-e):r)},y.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},y.prototype.toArray=function(){return this.take(Gi)},pt(y.prototype,function(l,e){var u=/^(?:filter|find|map|reject)|While$/.test(e),p=/^(?:head|last)$/.test(e),h=f[p?"take"+("last"==e?"Right":""):e],d=p||/^find/.test(e);h&&(f.prototype[e]=function(){function e(e){return e=h.apply(f,us([e],n)),p&&a?e[0]:e}var t,r=this.__wrapped__,n=p?[1]:arguments,o=r instanceof y,i=n[0],s=o||U(r),a=(s&&u&&"function"==typeof i&&1!=i.length&&(o=s=!1),this.__chain__),i=!!this.__actions__.length,c=d&&!a,o=o&&!i;return!d&&s?(r=o?r:new y(this),(t=l.apply(r,n)).__actions__.push({func:Gn,args:[e],thisArg:Fi}),new g(t,a)):c&&o?l.apply(this,n):(t=this.thru(e),c?p?t.value()[0]:t.value():t)})}),as(["pop","push","shift","sort","splice","unshift"],function(e){var r=W[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var e,t=arguments;return o&&!this.__chain__?(e=this.value(),r.apply(U(e)?e:[],t)):this[n](function(e){return r.apply(U(e)?e:[],t)})}}),pt(y.prototype,function(e,t){var r,n=f[t];n&&(r=n.name+"",R.call(Ie,r)||(Ie[r]=[]),Ie[r].push({name:t,func:n}))}),Ie[Ar(Fi,2).name]=[{name:"wrapper",func:Fi}],y.prototype.clone=function(){var e=new y(this.__wrapped__);return e.__actions__=A(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=A(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=A(this.__views__),e},y.prototype.reverse=function(){var e;return this.__filtered__?((e=new y(this)).__dir__=-1,e.__filtered__=!0):(e=this.clone()).__dir__*=-1,e},y.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=U(e),n=t<0,o=r?e.length:0,i=((e,t,r)=>{for(var n=-1,o=r.length;++n=this.__values__.length;return{done:e,value:e?Fi:this.__values__[this.__index__++]}},f.prototype.plant=function(e){for(var t,r=this;r instanceof He;)var n=xn(r),o=(n.__index__=0,n.__values__=Fi,t?o.__wrapped__=n:t=n,n),r=r.__wrapped__;return o.__wrapped__=e,t},f.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof y?(e=e,(e=(e=this.__actions__.length?new y(this):e).reverse()).__actions__.push({func:Gn,args:[On],thisArg:Fi}),new g(e,this.__chain__)):this.thru(On)},f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=function(){return er(this.__wrapped__,this.__actions__)},f.prototype.first=f.prototype.head,ae&&(f.prototype[ae]=function(){return this}),f}();o?((o.exports=ys)._=ys,n._=ys):is._=ys}.call(j)}),zh=(e(Kh,Gh=t),Kh.prototype.attach=function(r){var o=this;Gh.prototype.attach.call(this,r),this._methodCallInstrumentation.attach(r),this._locationAccessorsInstrumentation.attach(r),this._propertyAccessorsInstrumentation.attach(r),b.objectDefineProperty(r,g.getEval,{value:function(t){var e;return t!==r.eval?t:(b.objectDefineProperty(e=function(e){return"string"===typeof e&&(e=Sc(e)),t(e)},Kh.WRAPPED_EVAL_FN,{value:t}),e)},configurable:!0}),b.objectDefineProperty(r,g.processScript,{value:function(e,t){if(t){if(e&&e.length&&"string"===typeof e[0]){for(var r=[Sc(e[0],!1)],n=1;n".concat(t,""),{processedContext:e}):t},configurable:!0}),b.objectDefineProperty(r,g.getProxyUrl,{value:function(e,t){var r=gt.getBaseUrl(o.document),n=t&&t!==r,t=(n&>.updateBase(t,o.document),C(e,{resourceType:Ge({isScript:!0})}));return n&>.updateBase(r,o.document),t},configurable:!0}),b.objectDefineProperty(r,g.restArray,{value:function(e,t){return b.arraySlice.call(e,t)},configurable:!0}),b.objectDefineProperty(r,g.arrayFrom,{value:function(e){return e&&(!b.isArray.call(b.Array,e)&&qh.isFunction(e[Symbol.iterator])?b.arrayFrom.call(b.Array,e):e)},configurable:!0}),b.objectDefineProperty(r,g.restObject,{value:function(e,t){for(var r={},n=0,o=b.objectKeys(e);ns[p].lastAccessed&&(u=s[l],s[l]=s[p],s[p]=u),a.push(s[l]);break}p===s.length&&c.push(s[l])}return{outdated:a,actual:c}}function rd(e){e.syncKey=e.syncKey||ed(e),e.cookieStr=e.cookieStr||"".concat(e.syncKey,"=").concat(e.value)}function nd(e){return e.cookieStr?"".concat(e.cookieStr,";path=/"):"".concat(ed(e),"=").concat(e.value,";path=/")}function od(e){var t=Yh.exec(e)||[],r=t[1],t=t[2],n=void 0!==r&&void 0!==t&&r.split("|");return n&&n.length!==Xh?null:{isServerSync:n[0].indexOf(Qh.server)>-1,isClientSync:n[0].indexOf(Qh.client)>-1,isWindowSync:n[0].indexOf(Qh.window)>-1,sid:n[1],key:decodeURIComponent(n[2]),domain:decodeURIComponent(n[3]),path:decodeURIComponent(n[4]),expires:n[5]?new Date(parseInt(n[5],$h)):"Infinity",lastAccessed:new Date(parseInt(n[6],$h)),maxAge:n[7]?parseInt(n[7],$h):null,syncKey:r,value:t,cookieStr:e}}function id(e,t){"server"in t&&(e.isServerSync=t.server),"client"in t&&(e.isClientSync=t.client),"window"in t&&(e.isWindowSync=t.window);var r,t=Zh(e);e.syncKey=null===(r=e.syncKey)||void 0===r?void 0:r.replace(Jh,t),e.cookieStr=null===(r=e.cookieStr)||void 0===r?void 0:r.replace(Jh,t)}function sd(e){return e.syncKey+"=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT"}var ad=Object.freeze({__proto__:null,SYNCHRONIZATION_TYPE:Qh,parseClientSyncCookieStr:td,prepareSyncCookieProperties:rd,formatSyncCookie:nd,parseSyncCookie:od,changeSyncType:id,isOutdatedSyncCookie:function(e,t){return t.isServerSync===e.isServerSync&&t.sid===e.sid&&t.key===e.key&&t.domain===e.domain&&t.path===e.path&&t.lastAccessed>e.lastAccessed},generateDeleteSyncCookieStr:sd}),cd=null;function ld(){if(!cd)for(cd=window.top;cd.opener&&cd!==cd.opener;)cd=cd.opener.top;return cd}var ud="hammerhead|command|sync-cookie-start",pd="hammerhead|command|sync-cookie-done",hd=(dd._getCookieSandbox=function(e){try{var t=e[w.hammerhead].sandbox.cookie;return t.document&&t}catch(e){return null}},dd.prototype._onMsgReceived=function(e){var t=this,r=e.message,n=e.source;r.cmd===ud?(this._cookieSandbox.syncWindowCookie(r.cookies),this._win!==this._win.top?this._messageSandbox.sendServiceMsg({id:r.id,cmd:pd},n):this._win!==ld()?this.syncBetweenWindows(r.cookies,n).then(function(){return t._messageSandbox.sendServiceMsg({id:r.id,cmd:pd},n)}):this.syncBetweenWindows(r.cookies,n)):r.cmd===pd&&(e=this._resolversMap.get(r.id))&&e()},dd.prototype._getWindowsForSync=function(e,t,r){void 0===r&&(r=[]),t!==e&&t!==this._win.top&&r.push(t);for(var n=0,o=t.frames;n-1?e.substr(0,t):e,r=fd.exec(r);if(!r)return null;var n={key:r[1]?Se(r[2]):"",value:Se(r[3])};if(-1!==t){r=Se(e.slice(t).replace(/^\s*;\s*/,""));if(0!==r.length)for(var o=r.split(/\s*;\s*/);o.length;){var i,s=o.shift(),a=s.indexOf("="),c=null,l=null;switch(-1===a?c=s:(c=s.substr(0,a),l=Se(s.substr(a+1))),c=Se(c.toLowerCase())){case"expires":l=l.replace(gd,"$1 $2 $3"),(i=wd(Date.parse(l)))&&(n.expires=i);break;case"max-age":l&&(n.maxAge=Number(l));break;case"path":n.path=l;break;case"secure":n.secure=!0;break;case"httponly":n.httpOnly=!0;break;case"domain":n.domain=Se(l.replace(/^\./,""))}}}return n}function vd(e){var t=e.value||"";return t=""!==e.key?e.key+"="+t:t}function Ed(e,t){var r=t.hostname,t=t.pathname;e.domain||(e.domain=r),e.path&&"/"===e.path.charAt(0)||(r=t.slice(0,t.lastIndexOf("/")),e.path=r||"/"),e.expires||(e.expires="Infinity"),isNaN(e.maxAge)&&(e.maxAge="Infinity")}function _d(e,t){var r;return!t||(e=e.toLowerCase())===(t=t.toLowerCase())||(r=e.indexOf(t))>0&&e.length===t.length+r&&"."===e.charAt(r-1)}function Sd(e,t){return!t||"/"!==t.charAt(0)||e===t||e.length>t.length&&0===e.indexOf(t)&&("/"===t.charAt(t.length-1)||"/"===e.charAt(t.length))}function wd(e){if(arguments.length){if(isNaN(e))return null}else e=b.dateNow();return e=1e3*Math.floor(e/1e3),new b.date(e)}var bd=Object.freeze({__proto__:null,parse:yd,formatClientString:vd,setDefaultValues:Ed,domainMatch:_d,pathMatch:Sd,getUTCDate:wd}),xd=new b.date(0).toUTCString(),Cd=(Ad.create=function(e,t,r){return e?new Td:new Pd(t,r)},Ad);function Ad(){}Id.prototype.getCookie=function(){return""},Id.prototype.setCookie=function(){},Id.prototype.syncCookie=function(){},Id.prototype.syncWindowCookie=function(){},Id.prototype.removeAllSyncCookie=function(){};var Td=Id;function Id(){}Nd.prototype.getCookie=function(){return this.syncCookie(!0),x.get().cookie||""},Nd.prototype.setCookie=function(e){var t,r,n,o="string"===typeof e;this._canSetCookie(e,o)&&(e=o?yd(e):e)&&!e.httpOnly&&_d((t=xt()).hostname,e.domain)&&(e.secure&&"https:"!==t.protocol||!Sd(t.pathname,e.path)||(r=wd(),n=null,(!e.expires||"Infinity"===e.expires||e.expires>r)&&($r(e.maxAge)||isNaN(e.maxAge)||e.maxAge>0)&&(n=vd(e)),kd._updateClientCookieStr(e.key,n)),o)&&(Ed(e,t),this._syncClientCookie(e),this.syncCookie())},Nd.prototype.syncCookie=function(e){void 0===e&&(e=!1);for(var t=td(b.documentCookieGetter.call(this.document)),r=x.get().sessionId,n=[],o=0,i=t.outdated;o4096||"file:"===xt().protocol))&&(t="key".concat(b.mathRandom.call(b.math),"=value"),b.documentCookieSetter.call(this.document,t),(e=!b.documentCookieGetter.call(this.document))||b.documentCookieSetter.call(this.document,"".concat(t,";expires=").concat(xd)),!e)},Nd.prototype._syncClientCookie=function(e){e.isClientSync=!0,e.isWindowSync=!0,e.sid=x.get().sessionId,e.lastAccessed=wd(),rd(e),b.documentCookieSetter.call(this.document,nd(e)),this._windowSync.syncBetweenWindows([e])};var Pd=Nd;function Nd(e,t){this.document=null,this.document=e,this._windowSync=t}e(Ld,Od=t),Ld._updateClientCookieStr=function(e,t){for(var r=x.get().cookie,n=[],o=!1,i=""===e?null:e+"=",s=0,a=r?r.split(";"):[];s-1&&(t.length===e||";"===t.charAt(e))},Ld.prototype.attach=function(e){Od.prototype.attach.call(this,e),this._windowSync.attach(e),this._cookieStrategy=Cd.create(x.nativeAutomation,this.document,this._windowSync),e===ld()&&this._unloadSandbox.on(this._unloadSandbox.UNLOAD_EVENT,this._cookieStrategy.removeAllSyncCookie)},Ld.prototype.getWindowSync=function(){return this._windowSync},Ld.prototype.getCookie=function(){return this._cookieStrategy.getCookie()},Ld.prototype.setCookie=function(e){this._cookieStrategy.setCookie(e)},Ld.prototype.syncCookie=function(){this._cookieStrategy.syncCookie()},Ld.prototype.syncWindowCookie=function(e){this._cookieStrategy.syncWindowCookie(e)};var Od,kd=Ld;function Ld(e,t,r){var n=Od.call(this)||this;return n._unloadSandbox=t,n._windowSync=new hd(n,e,r),n}var Dd="hammerhead|editing-observed",Md="hammerhead|previous-value",Rd=(jd._getValue=function(e){return zn(e)?b.inputValueGetter.call(e):io(e)?b.textAreaValueGetter.call(e):e.value},jd.prototype.stopWatching=function(e){e&&(b.removeEventListener.call(e,"blur",this._onBlur),b.removeEventListener.call(e,"change",this._onChange),void 0!==e[Dd]&&delete e[Dd],void 0!==e[Md])&&delete e[Md]},jd.prototype.watchElementEditing=function(e){var t;e&&!e[Dd]&&Po(e)&&!E(e)&&(b.objectDefineProperties(e,((t={})[Dd]={value:!0,configurable:!0,writable:!0},t[Md]={value:jd._getValue(e),configurable:!0,writable:!0},t)),b.addEventListener.call(e,"blur",this._onBlur),b.addEventListener.call(e,"change",this._onChange))},jd.prototype.restartWatchingElementEditing=function(e){e&&e[Dd]&&(e[Md]=jd._getValue(e))},jd.prototype.processElementChanging=function(e){return!(!e||!e[Dd]||jd._getValue(e)===e[Md])&&(this._eventSimulator.change(e),this.restartWatchingElementEditing(e),!0)},jd.prototype.getElementSavedValue=function(e){return e[Md]},jd.prototype.isEditingObserved=function(e){return e[Dd]},jd);function jd(e){var t=this;this._eventSimulator=e,this._onChange=function(e){return t.stopWatching(b.eventTargetGetter.call(e))},this._onBlur=function(e){e=b.eventTargetGetter.call(e);t.processElementChanging(e)||t.stopWatching(e)}}var Hd,Bd="hammerhead|event|window-activated",Ud="hammerhead|event|window-deactivated",Fd=(e(Vd,Hd=t),Vd.prototype._notifyPrevActiveWindow=function(){this._activeWindow.top&&this._activeWindow!==this._activeWindow.top&&this._messageSandbox.sendServiceMsg({cmd:Ud},this._activeWindow)},Vd.prototype.attach=function(e){var t=this;Hd.prototype.attach.call(this,e),this._isIframeWindow=kn(e),this._activeWindow=this._isIframeWindow?null:e.top,this._isActive=!this._isIframeWindow,this._messageSandbox.on(this._messageSandbox.SERVICE_MSG_RECEIVED_EVENT,function(e){e.message.cmd===Bd?(t._notifyPrevActiveWindow(),t._isActive=!1,t._activeWindow=e.source):e.message.cmd===Ud&&(t._isActive=!1)})},Vd.prototype.isCurrentWindowActive=function(){return this._isActive},Vd.prototype.makeCurrentWindowActive=function(){this._isActive=!0,this._isIframeWindow?this._messageSandbox.sendServiceMsg({cmd:Bd},this.window.top):(this._notifyPrevActiveWindow(),this._activeWindow=this.window)},Vd);function Vd(e){var t=Hd.call(this)||this;return t._messageSandbox=e,t._isIframeWindow=!1,t._activeWindow=null,t._isActive=!1,t}function Wd(){return new ae(function(e){return b.setTimeout.call(window,e,0)})}var Gd,qd=lr,zd={bubbles:{focus:"focusin",blur:"focusout"},nonBubbles:{focusin:"focus",focusout:"blur"}},Kd=(e($d,Gd=t),$d._getNativeMeth=function(e,t){if(wo(e)){if("focus"===t)return b.svgFocus;if("blur"===t)return b.svgBlur}return b[t]},$d._restoreElementScroll=function(e,t){var r=Pr(e);r.left!==t.left&&jr(e,t.left),r.top!==t.top&&Hr(e,t.top)},$d.prototype._onChangeActiveElement=function(e){this._lastFocusedElement!==e&&(this._lastFocusedElement&&b.getAttribute.call(this._lastFocusedElement,s.focusPseudoClass)&&b.removeAttribute.call(this._lastFocusedElement,s.focusPseudoClass),!yo(e)||Jn(e)&&null===mo(e)?this._lastFocusedElement=null:(this._lastFocusedElement=e,b.setAttribute.call(e,s.focusPseudoClass,!0)))},$d.prototype._shouldUseLabelHtmlForElement=function(e,t){return"focus"===t&&!!e.htmlFor&&!yo(e)},$d.prototype._getElementNonScrollableParentsScrollState=function(e){for(var t=[],r=0,n=Yo(e);r=15&&o.preventScrolling?Wd().then(function(){i._restoreScrollStateAndRaiseEvent(t,r,n,o,e)}):this._restoreScrollStateAndRaiseEvent(t,r,n,o,e)}else e()},$d.getInternalEventFlag=function(e){return"hammerhead|event|internal-"+e},$d.getNonBubblesEventType=function(e){return zd.nonBubbles[e]},$d.prototype.attach=function(e){var t=this;Gd.prototype.attach.call(this,e),this._activeWindowTracker.attach(e),this._topWindow=On(e,e.top)?e:e.top,this._listeners.addInternalEventBeforeListener(e,["focus","blur"],function(){var e=yn(t.document);t._onChangeActiveElement(e)})},$d.prototype._raiseSelectionChange=function(e){Yr(e)&&e()},$d.prototype.focus=function(t,r,n,o,i,s){var a,c,l,e,u,p,h,d,f,m,g=this,y=!i||pr||!Vr(t),v=(t[w.processedContext]||this.window).document;return v.defaultView&&y&&(!i||Fr(t,v))&&(a=Bn(t),c=a?En(t):null,y=In(t),v=Jn(t),e=In(l=yn()),p=u=f=!1,h=Pn(t),d=this._activeWindowTracker.isCurrentWindowActive(),f=l===t?!(v&&h&&!d):v&&!h,m=function(){d||E(t)||g._activeWindowTracker.makeCurrentWindowActive();var e={withoutHandlers:f||n,forMouseEvent:o,preventScrolling:s,relatedTarget:l};g._raiseEvent(t,"focus",function(){n||g._elementEditingWatcher.watchElementEditing(t),a&&c&&yn(g._topWindow.document)!==c?g._raiseEvent(c,"focus",function(){return g._raiseSelectionChange(r)},{withoutHandlers:!0}):g._raiseSelectionChange(r)},e)},l&&l.tagName&&(l!==t&&(y!==e&&l===e.body||l===y.body?u=!1:yo(t)&&(u=!0)),p=y!==e&&Bn(l,e)),p&&!u?this.blur(En(l),m,!0,i):u?this.blur(l,function(e){p?g.blur(En(l),m,!0,i):e?Yr(r)&&r():m()},n,i,t):m()),null},$d.prototype.blur=function(t,e,r,n,o){var i=yn(In(t)),s=!1,i=((r=i!==t?!0:r)||(i=function(e){s=b.eventTargetGetter.call(e)===t},qd&&this._listeners.addInternalEventBeforeListener(window,["focus"],i),this._elementEditingWatcher.processElementChanging(t),qd&&this._listeners.removeInternalEventBeforeListener(window,["focus"],i),this._elementEditingWatcher.stopWatching(t)),{withoutHandlers:r,relatedTarget:o,focusedOnChange:s});this._raiseEvent(t,"blur",function(){Yr(e)&&e(s)},i)},$d.prototype.dispose=function(){this._lastFocusedElement=null},$d);function $d(e,t,r,n){var o=Gd.call(this)||this;return o._listeners=e,o._eventSimulator=t,o._topWindow=null,o._lastFocusedElement=null,o._scrollState={},o._activeWindowTracker=new Fd(r),o._elementEditingWatcher=n,o}e(Qd,Xd=t),Qd._setHoverMarker=function(e,t){for(t&&b.setAttribute.call(t,s.hoverPseudoClass,"");e&&e.tagName&&e!==t;){b.setAttribute.call(e,s.hoverPseudoClass,"");var r=ii(e);r&&b.setAttribute.call(r,s.hoverPseudoClass,""),e=b.nodeParentNodeGetter.call(e)}},Qd.prototype._clearHoverMarkerUntilJointParent=function(e){var t=null;if(this._lastHoveredElement){for(var r=this._lastHoveredElement;r&&r.tagName&&r.contains;){var n=ii(r);if(n&&b.removeAttribute.call(n,s.hoverPseudoClass),r.contains(e)){t=r;break}b.removeAttribute.call(r,s.hoverPseudoClass),r=b.nodeParentNodeGetter.call(r)}t&&b.removeAttribute.call(t,s.hoverPseudoClass)}return t},Qd.prototype._onHover=function(e){e=b.eventTargetGetter.call(e);this._hover(e)},Qd.prototype._hover=function(e){var t;this._hoverElementFixed||E(e)||(t=this._clearHoverMarkerUntilJointParent(e),Qd._setHoverMarker(e,t),this._lastHoveredElement=e)},Qd.prototype.fixHoveredElement=function(){this._hoverElementFixed=!0},Qd.prototype.freeHoveredElement=function(){this._hoverElementFixed=!1},Qd.prototype.attach=function(e){var t=this;Xd.prototype.attach.call(this,e),this._listeners.addInternalEventBeforeListener(e,["mouseover","touchstart"],function(e){return t._onHover(e)})},Qd.prototype.dispose=function(){this._lastHoveredElement=null};var Xd,Yd=Qd;function Qd(e){var t=Xd.call(this)||this;return t._listeners=e,t._hoverElementFixed=!1,t._lastHoveredElement=null,t}var Jd="hammerhead|element-listening-events-storage-prop";function Zd(e){return e[Jd]}function ef(e,t){e=Zd(e);return e&&e[t]}function tf(e){return!!e[Jd]}function rf(e,t){for(var r=Zd(e)||{},n=0;n-1&&s.splice(a,1)}},wrapEventListener:nf,getWrapper:of,updateInternalAfterHandlers:sf}),lf=["click","mousedown","mouseup","dblclick","contextmenu","mousemove","mouseover","mouseout","pointerdown","pointermove","pointerover","pointerout","pointerup","MSPointerDown","MSPointerMove","MSPointerOver","MSPointerOut","MSPointerUp","touchstart","touchmove","touchend","keydown","keypress","keyup","change","focus","blur","focusin","focusout"],uf="hammerhead|event-sandbox-dispatch-event-flag",pf=(e(hf,af=ve),hf._getEventListenerWrapper=function(t,r){return function(e){return t.cancelOuterHandlers?null:Yr(t.outerHandlersWrapper)?t.outerHandlersWrapper.call(this,e,r):Xu(this,r,e)}},hf._isDifferentHandler=function(e,t,r){for(var n=0,o=e;n{e=e.replace(/\r\n$/,"");var t=[];if(""!==e)for(var r=0,n=e=e.split(/\r\n/);r-1}function um(e){return e.replace(am,"")}function pm(e){e=String(e).toLowerCase();return e===Uc||e===Vc}function hm(e){return cm+e}function dm(e){return e.indexOf(cm)>-1}function fm(e){return e.replace(cm,"")}function mm(e){e=String(e).toLowerCase();return e===Bc||e===Fc}var gm,ym=Object.freeze({__proto__:null,addAuthenticatePrefix:function(e){return am+e},hasAuthenticatePrefix:lm,removeAuthenticatePrefix:um,isAuthenticateHeader:pm,addAuthorizationPrefix:hm,hasAuthorizationPrefix:dm,removeAuthorizationPrefix:fm,isAuthorizationHeader:mm}),vm=["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"],Em=(e(_m,gm=er),_m.setRequestOptions=function(e,t,r){_m.REQUESTS_OPTIONS.set(e,{withCredentials:t,openArgs:r,headers:[]})},_m.createNativeXHR=function(){var e=new b.XMLHttpRequest;return e.open=b.xhrOpen,e.abort=b.xhrAbort,e.send=b.xhrSend,e.addEventListener=b.xhrAddEventListener||b.addEventListener,e.removeEventListener=b.xhrRemoveEventListener||b.removeEventListener,e.setRequestHeader=b.xhrSetRequestHeader,e.getResponseHeader=b.xhrGetResponseHeader,e.getAllResponseHeaders=b.xhrGetAllResponseHeaders,e.overrideMimeType=b.xhrOverrideMimeType,e.dispatchEvent=b.xhrDispatchEvent||b.dispatchEvent,e},_m.openNativeXhr=function(e,t,r){e.open("POST",t,r),e.setRequestHeader(Gc,"no-cache, no-store, must-revalidate")},_m.prototype.attach=function(e){gm.prototype.attach.call(this,e),this.overrideXMLHttpRequest(),this.overrideAbort(),this.overrideOpen(),this.overrideSend(),this.overrideSetRequestHeader(),x.nativeAutomation||(b.xhrResponseURLGetter&&this.overrideResponseURL(),this.overrideGetResponseHeader(),this.overrideGetAllResponseHeaders())},_m.prototype.overrideXMLHttpRequest=function(){for(var r=this.createEmitXhrCompletedEvent(),n=this.createSyncCookieWithClientIfNecessary(),e=function(){var e=b.xhrAddEventListener||b.addEventListener,t=new b.XMLHttpRequest;return e.call(t,"loadend",r),e.call(t,"readystatechange",n),t},t=0,o=vm;t=0&&e{var t=o.nativeMethods.objectGetOwnPropertyDescriptor.call(r.Object,n,e).value;o.nativeMethods.objectHasOwnProperty.call(n,e)&&Yr(t)&&(n[e]=function(){return t.apply(this[eg]||this,arguments)},de(n[e],t))})(e)},rg);function rg(){var e=Qm.call(this)||this;return e.URL_PROPS=["background","backgroundImage","borderImage","borderImageSource","listStyle","listStyleImage","cursor"],e.DASHED_URL_PROPS=rg.generateDashedProps(e.URL_PROPS),e.FEATURES=e.detectBrowserFeatures(),e}function ng(e){return"_blank"===(e=void 0===e?"":e)}var og,ig="hammerhead|command|store-child-window",sg=(e(ag,og=t),ag._shouldOpenInNewWindowOnElementAction=function(e,t){return"string"!==typeof b.getAttribute.call(e,"download")&&(e=this._calculateTargetForElement(e),this._shouldOpenInNewWindow(e,t))},ag._shouldOpenInNewWindow=function(e,t){return lp(e=(e=e||t).toLowerCase())?ng(e):!xu(e)},ag.prototype._openUrlInNewWindow=function(e,t,r,n,o){i=new b.Uint16Array(1),b.cryptoGetRandomValues.call(b.crypto,i);var i=i[0].toString(),e=(r=r||"width=500px, height=500px",t=t||i,Lt(e,i,x.nativeAutomation)),n=n||this.window,s={isPrevented:!1};return this.emit(this.BEFORE_WINDOW_OPENED_EVENT,s),s.isPrevented?null:(s=x.nativeAutomation?je:e,n=b.windowOpen.call(n,s,t,r),this._tryToStoreChildWindow(n,ld()),this.emit(this.WINDOW_OPENED_EVENT,{windowId:i,window:n,windowName:t,pageUrl:e,form:o}),{windowId:i,wnd:n})},ag._calculateTargetForElement=function(e){var t=b.querySelector.call(In(e),"base");return e.target||(null===t||void 0===t?void 0:t.target)},ag.prototype._handleClickOnLinkOrAreaInNativeAutomation=function(r){this._listeners.initElementListening(r,["click"]),this._listeners.addInternalEventAfterListener(r,["click"],function(e){var t;e.defaultPrevented||(t=up(((e=Ro(r))?b.anchorTargetGetter:b.areaTargetGetter).call(r)),(e?b.anchorTargetSetter:b.areaTargetSetter).call(r,t))})},ag.prototype.handleClickOnLinkOrArea=function(r){var n=this;x.get().allowMultipleWindows?(this._listeners.initElementListening(r,["click"]),this._listeners.addInternalEventAfterListener(r,["click"],function(e){var t;e.defaultPrevented||ag._shouldOpenInNewWindowOnElementAction(r,Sh.linkOrArea)&&(t=b.anchorHrefGetter.call(r),e.preventDefault(),n._openUrlInNewWindowIfNotPrevented(t,e))})):x.nativeAutomation&&this._handleClickOnLinkOrAreaInNativeAutomation(r)},ag.prototype._openUrlInNewWindowIfNotPrevented=function(e,t){function r(){o=!0,b.removeEventListener.call(window,"click",r),i||n._openUrlInNewWindow(e)}var n=this,o=!1,i=!1,s=(b.addEventListener.call(window,"click",r),t.preventDefault);t.preventDefault=function(){return i=!0,s.call(t)},Wd().then(function(){o||r()})},ag.prototype.handleWindowOpen=function(e,t){var r=t[0],n=t[1],o=t[2];return x.get().allowMultipleWindows&&ag._shouldOpenInNewWindow(n,Sh.windowOpen)?null===(n=this._openUrlInNewWindow(r,ng(n)?void 0:n,o,e))||void 0===n?void 0:n.wnd:(ur&&sr>=15&&this.emit(this.BEFORE_WINDOW_OPEN_IN_SAME_TAB,{url:r}),b.windowOpen.apply(e,t))},ag.prototype._handleFormSubmittingInNativeAutomation=function(e){this._listeners.initElementListening(e,["submit"]),this._listeners.addInternalEventBeforeListener(e,["submit"],function(e){var t,e=b.eventTargetGetter.call(e);co(e)&&(t=up(b.formTargetGetter.call(e)),b.formTargetSetter.call(e,t))})},ag.prototype._handleFormSubmitting=function(e){var i=this;x.get().allowMultipleWindows?(this._listeners.initElementListening(e,["submit"]),this._listeners.addInternalEventBeforeListener(e,["submit"],function(e){var t,r,n,o=b.eventTargetGetter.call(e);co(o)&&ag._shouldOpenInNewWindowOnElementAction(o,Sh.form)&&(t=x.nativeAutomation,r=C(je,void 0,t),r=i._openUrlInNewWindow(r,void 0,void 0,void 0,o))&&(n=Lt(b.formActionGetter.call(o),r.windowId,t),b.formActionSetter.call(o,n),b.formTargetSetter.call(o,r.windowId),t)&&e.preventDefault()})):x.nativeAutomation&&this._handleFormSubmittingInNativeAutomation(e)},ag.prototype._tryToStoreChildWindow=function(e,t){try{return t[w.hammerhead].sandbox.childWindow.addWindow(e),!0}catch(e){return!1}},ag.prototype._setupChildWindowCollecting=function(e){var t,r=this;kn(e)||(e!==(t=ld())?this._tryToStoreChildWindow(e,t)||this._messageSandbox.sendServiceMsg({cmd:ig},t):(this._childWindows=new Set,this._messageSandbox.on(this._messageSandbox.SERVICE_MSG_RECEIVED_EVENT,function(e){e.message.cmd===ig&&r._childWindows.add(e.source)})))},ag.prototype.addWindow=function(e){this._childWindows.add(e)},ag.prototype.getChildWindows=function(){var t=this,r=[];return this._childWindows.forEach(function(e){e.parent?r.push(e):t._childWindows.delete(e)}),r},ag.prototype.attach=function(e){og.prototype.attach.call(this,e,e.document),this._handleFormSubmitting(e),this._setupChildWindowCollecting(e)},ag);function ag(e,t){var r=og.call(this)||this;return r._messageSandbox=e,r._listeners=t,r.WINDOW_OPENED_EVENT="hammerhead|event|window-opened",r.BEFORE_WINDOW_OPENED_EVENT="hammerhead|event|before-window-opened",r.BEFORE_WINDOW_OPEN_IN_SAME_TAB="hammerhead|event|before-window-open-in-same-tab",r}e(ug,cg=t),ug.prototype.onIframeDocumentRecreated=function(e){var t,r,n;e&&(t=b.contentWindowGetter.call(e),r=b.contentDocumentGetter.call(e),(n=uh(t))?t[w.sandboxIsReattached]&&n.document===r||n.reattach(t,r):(t[w.iframeNativeMethods]&&delete t[w.iframeNativeMethods],this.nativeMethods.restoreDocumentMeths(t,r),this.iframe.onIframeBeganToRun(e)))},ug.prototype.reattach=function(e,t){b.objectDefineProperty(e,w.sandboxIsReattached,{value:!0,configurable:!1}),gt.init(t),this.event.reattach(e),this.shadowUI.attach(e),this.codeInstrumentation.attach(e),this.node.doc.attach(e,t),this.console.attach(e),this.childWindow.attach(e)},ug.prototype.attach=function(e){var t=this;cg.prototype.attach.call(this,e),b.objectDefineProperty(e,w.sandboxIsReattached,{value:!0,configurable:!1}),gt.init(this.document),this.iframe.on(this.iframe.EVAL_HAMMERHEAD_SCRIPT_EVENT,function(e){b.contentWindowGetter.call(e.iframe).eval("(".concat(R.toString(),")();//# sourceURL=hammerhead.js"))}),this.node.mutation.on(this.node.mutation.DOCUMENT_CLEANED_EVENT,function(e){return t.reattach(e.window,e.document)}),this.iframe.attach(e),this.xhr.attach(e),this.fetch.attach(e),this.storageSandbox.attach(e),this.codeInstrumentation.attach(e),this.shadowUI.attach(e),this.event.attach(e),this.node.attach(e),this.upload.attach(e),this.cookie.attach(e),this.console.attach(e),this.style.attach(e),this.childWindow.attach(e),this.electron&&this.electron.attach(e),this.unload.on(this.unload.UNLOAD_EVENT,function(){return t.dispose()})},ug.prototype._removeInternalProperties=function(){for(var e=this.event.listeners.listeningCtx.removeListeningElement,t=(e(this.window),e(this.document),b.querySelectorAll.call(this.document,"*")),r=b.nodeListLengthGetter.call(t),n=0;n(o++,function(e){n[t]=e,--o||r(n)}))(i),e):n[i]=t;o||r(n)});throw new TypeError("You must pass an array to Promise.all().")},se.race=function(o){if(Array.isArray(o))return new se(function(e,t){for(var r,n=0;n-1&&(t[i]=!0)}return t}function Ge(e){if(!e)return null;for(var t="",r=0,n=Ve;r0&&e<=65535))}function ut(e){var t=Ze(e);return!t.partAfterHost&&t.protocol&&Te.test(t.protocol)?e+"/":e}function pt(e){var t=Ze(e);return"https:"===t.protocol&&t.port===Ue||"http:"===t.protocol&&t.port===Be?(t.host=t.hostname,t.port="",rt(t)):e}function ht(e){return e=ut(e=pt(e))}function dt(e,t){var r=e.match(Oe);return r&&r[3]?r[1]+t(r[3])+(r[4]||""):e}var ft=Object.freeze({__proto__:null,SUPPORTED_PROTOCOL_RE:ke,HASH_RE:Le,REQUEST_DESCRIPTOR_VALUES_SEPARATOR:De,REQUEST_DESCRIPTOR_SESSION_INFO_VALUES_SEPARATOR:Me,TRAILING_SLASH_RE:Re,SPECIAL_BLANK_PAGE:je,SPECIAL_ERROR_PAGE:t,SPECIAL_PAGES:He,HTTP_DEFAULT_PORT:Be,HTTPS_DEFAULT_PORT:Ue,get Credentials(){return we},parseResourceType:We,getResourceTypeString:Ge,restoreShortOrigin:qe,isSubDomain:ze,sameOriginCheck:Ke,getURLString:$e,getProxyUrl:Xe,getDomain:Ye,parseProxyUrl:Qe,getPathname:Je,parseUrl:Ze,isSupportedProtocol:et,resolveUrlAsDest:tt,formatUrl:rt,handleUrlsSet:nt,correctMultipleSlashes:ot,processSpecialChars:it,ensureTrailingSlash:st,isSpecialPage:at,isRelativeUrl:ct,isValidUrl:lt,ensureOriginTrailingSlash:ut,omitDefaultPort:pt,prepareUrl:ht,updateScriptImportUrls:function(e,t,r,n){return t=new RegExp("("+t.protocol+"//"+t.hostname+":(?:"+t.port+"|"+t.crossDomainPort+")/)[^/"+De+"]+","g"),e.replace(t,"$1"+r+(n?Me+n:""))},processMetaRefreshContent:dt}),mt="hammerhead|document-url-resolver",gt={_createResolver:function(e){var e=b.createHTMLDocument.call(e.implementation,"title"),t=b.createElement.call(e,"a"),r=b.createElement.call(e,"base");return b.appendChild.call(e.body,t),b.appendChild.call(e.head,r),e},_getResolver:function(e){return e[mt]||b.objectDefineProperty(e,mt,{value:this._createResolver(e),writable:!0}),e[mt]},_isNestedIframeWithoutSrc:function(e){return!(!e||!e.parent||e.parent===e||e.parent.parent===e.parent)&&!!(e=Sn(window))&&Wn(e)},init:function(e){this.updateBase(wt(),e)},getResolverElement:function(e){return b.nodeFirstChildGetter.call(this._getResolver(e).body)},resolve:function(e,t){var r=this.getResolverElement(t),n=null;if(null===e)b.removeAttribute.call(r,"href");else{b.anchorHrefSetter.call(r,e);n=b.anchorHrefGetter.call(r);if(e&&(!n||"/"===n.charAt(0))&&this._isNestedIframeWithoutSrc(t.defaultView))return this.resolve(e,window.parent.document)}return st(e,n)},updateBase:function(e,t){var r,n,o;this.nativeAutomation||(r=this._getResolver(t),r=b.elementGetElementsByTagName.call(r.head,"base")[0],o="file:"!==(n=Ze(e=e||wt())).protocol&&"about:"!==n.protocol&&!n.host,n=/^\/\//.test(e)&&!!n.host,(o||n)&&(o=wt(),this.updateBase(o,t),e=this.resolve(e,t)),b.setAttribute.call(r,"href",e))},getBaseUrl:function(e){e=b.elementGetElementsByTagName.call(this._getResolver(e).head,"base")[0];return b.getAttribute.call(e,"href")},changeUrlPart:function(e,t,r,n){n=this.getResolverElement(n);return b.anchorHrefSetter.call(n,e),t.call(n,r),b.anchorHrefGetter.call(n)},dispose:function(e){e[mt]=null},get nativeAutomation(){return this._nativeAutomation},set nativeAutomation(e){this._nativeAutomation=e}};function yt(){this._settings={isFirstPageLoad:!0,sessionId:"",forceProxySrcForImage:!1,crossDomainProxyPort:"",referer:"",serviceMsgUrl:"",transportWorkerUrl:"",iframeTaskScriptTemplate:"",cookie:"",allowMultipleWindows:!1,isRecordMode:!1,windowId:"",nativeAutomation:!1,disableCrossDomain:!1}}yt.prototype.set=function(e){this._settings=e},yt.prototype.get=function(){return this._settings},Object.defineProperty(yt.prototype,"nativeAutomation",{get:function(){return this._settings.nativeAutomation},enumerable:!1,configurable:!0});var x=new yt,vt=null;function Et(){var e;return vt||((e=Sn(ue.global))&&Wn(e)?x.get().referer:ue.global.location.toString())}function _t(e,t){return t=t&&St(t),x.get().disableCrossDomain||Ke(e,t)}function St(e,t){var r,n=$e(e);return n=n&&0===n.indexOf("//")?(r=xt().protocol)+ot(n,r):ot(n),ue.isInWorker?"blob:"!==self.location.protocol?new b.URL(n,wt()).href:String(e):gt.resolve(n,t||document)}var wt=function(){var e=Et(),t=Qe(e);return t?t.destUrl:e};function bt(){var e=Qe(Et());return null!==e&&void 0!==e&&e.reqOrigin?e.reqOrigin+"/":""}function xt(){var e,t,r,n=wt();return ue.isInWorker?(r=n,{protocol:(r=new b.URL(r)).protocol,port:r.port,hostname:r.hostname,host:r.host,pathname:r.pathname,hash:r.hash,search:r.search}):(r=n,n=gt.getResolverElement(document),r=Ze(r).port,b.anchorHrefSetter.call(n,wt()),e=b.anchorHostnameGetter.call(n),t=b.anchorPathnameGetter.call(n),{protocol:b.anchorProtocolGetter.call(n),port:r?b.anchorPortGetter.call(n):"",hostname:e,host:r?b.anchorHostGetter.call(n):e,pathname:t,hash:n.hash,search:b.anchorSearchGetter.call(n)})}function Ct(){return Ye(xt())}var At=Object.freeze({__proto__:null,getLocation:Et,forceLocation:function(e){vt=e},sameOriginCheck:_t,resolveUrl:St,get get(){return wt},getReferrer:bt,overrideGet:function(e){wt=e},withHash:function(e){return wt().replace(/(#.*)$/,"")+e},getParsed:xt,getOriginHeader:Ct}),Tt=/#[\S\s]*$/,It=/^wss?:/i,Pt=/\/[^/]*$/,Nt=(()=>{for(var e=ue.isInWorker?{location:Ht(self.location.origin),parent:null}:window,t=e.location;!t.hostname;){var r=!ue.isInWorker&&e===e.top,n="file:"===t.protocol;if(r||n)break;t=(e=e.parent).location}return{hostname:t.hostname,port:t.port.toString(),protocol:t.protocol}})(),C=function(e,t,r){if(void 0===r&&(r=!1),(t=void 0===t?{}:t).isUrlsSet)return t.isUrlsSet=!1,nt(C,String(e),t,r);if(r)return String(e);e=$e(e);var n,o,i,s,a,c,l,u,p,h,d,f,r=t&&t.resourceType,m=We(r);return!(m.isWebSocket||Wt(e)||Gt(e))||(n=St(e,t&&t.doc),m.isWebSocket&&!Vt(n))||!lt(n)?e:(o=t&&t.proxyHostname||Nt.hostname,i=t&&t.proxyPort||Nt.port,h=t&&t.proxyProtocol||Nt.protocol,s=m.isWebSocket?h.replace("http","ws"):h,a=t&&t.sessionId||x.get().sessionId,c=t&&t.windowId||x.get().windowId,l=t&&t.credentials,u=t&&t.charset,t=t&&t.reqOrigin,d=Dt(i),!(p=Qe(n))||p.proxy.hostname!==o||p.proxy.port!==i&&p.proxy.port!==d?(d=Ze(n)).protocol?(u=u||((f=m).isScript||f.isServiceWorker)&&self.document&&document[w.documentCharset]||null,d.protocol===h&&d.hostname===o&&d.port===i&&(f=xt(),d.protocol=f.protocol,d.host=f.host,d.hostname=f.hostname,d.port=f.port||"",n=rt(d)),m.isWebSocket&&(d.protocol=d.protocol.replace("ws","http"),n=rt(d),t=t||Ct()),Xe(n,{proxyProtocol:s,proxyHostname:o,proxyPort:i,sessionId:a,resourceType:r,charset:u,reqOrigin:t=m.isIframe&&i===x.get().crossDomainProxyPort?t||Ct():t,windowId:c,credentials:l})):e:r&&p.resourceType===r?n:(h=rt(p.destResourceInfo),C(h,{proxyProtocol:s,proxyHostname:o,proxyPort:i,sessionId:a,resourceType:r,charset:u,reqOrigin:t,credentials:l})))};function Ot(e,t,r){return(r=void 0===r?!1:r)?e:(r=e,t=(e=t).top!==e,e=e.location.toString(),Gt(t?e:(t=jt(e))&&t.destUrl)&&ct(r)?"":(r=ht(r),C(r)))}var kt=function(e){return C(e,{proxyPort:x.get().crossDomainProxyPort,resourceType:Ge({isIframe:!0})})};function Lt(e,t,r){var n=jt(e),o=null;n&&(e=n.destUrl,o=n.resourceType),o&&((n=qt(o)).isIframe=!1,o=zt(n));n=!_t(Et(),e)?x.get().crossDomainProxyPort:location.port.toString();return C(e,{windowId:t,proxyPort:n,resourceType:o},r)}function Dt(e){return x.get().crossDomainProxyPort===e?location.port.toString():x.get().crossDomainProxyPort}var Mt=function(e,t){return tt(e,C,t=void 0===t?!1:t)};function Rt(e){return rt(e)}var jt=Qe;function Ht(e){return Ze(e)}var Bt=function(e,t,r,n){return C(e,{resourceType:t,charset:r,proxyPort:(n=void 0===n?!1:n)?x.get().crossDomainProxyPort:Nt.port})};function Ut(){return Ye({protocol:location.protocol,hostname:location.hostname,port:x.get().crossDomainProxyPort})}function Ft(e,t,r,n){var o,i,s=Qe(e);return s?(o=s.sessionId,i=s.proxy,s=gt.changeUrlPart(s.destUrl,t,r,document),C(s,{proxyHostname:i.hostname,proxyPort:i.port,sessionId:o,resourceType:n})):e}function Vt(e){e=Mt(e);return It.test(e)}function Wt(e){return et(e)}function Gt(e){return at(e)}function qt(e){return We(e)}function zt(e){return Ge(e)}function Kt(e,t){return C(e).replace(Tt,"")===C(t).replace(Tt,"")}function $t(e){var t=jt(e);return t?t.destUrl:e}function Xt(e){return Wt(e)&&(e=Ht(Mt(e)))?Je(e.partAfterHost).replace(Pt,"/")||"/":null}function Yt(e,t,r){return(r=void 0!==r&&r)?String(e):(r=!_t(Et(),e),t={resourceType:Ge({isAjax:!0}),credentials:t},r&&(t.proxyPort=x.get().crossDomainProxyPort,t.reqOrigin=Ct()),C(e,t))}var Qt=Object.freeze({__proto__:null,DEFAULT_PROXY_SETTINGS:Nt,REQUEST_DESCRIPTOR_VALUES_SEPARATOR:De,get getProxyUrl(){return C},overrideGetProxyUrl:function(e){C=e},getNavigationUrl:Ot,get getCrossDomainIframeProxyUrl(){return kt},overrideGetCrossDomainIframeProxyUrl:function(e){kt=e},getPageProxyUrl:Lt,getCrossDomainProxyPort:Dt,get resolveUrlAsDest(){return Mt},overrideResolveUrlAsDest:function(e){Mt=e},formatUrl:Rt,get parseProxyUrl(){return jt},overrideParseProxyUrl:function(e){jt=e},parseUrl:Ht,get convertToProxyUrl(){return Bt},getCrossDomainProxyOrigin:Ut,overrideConvertToProxyUrl:function(e){Bt=e},changeDestUrlPart:Ft,isValidWebSocketUrl:Vt,isSubDomain:ze,isSupportedProtocol:Wt,isSpecialPage:Gt,parseResourceType:qt,stringifyResourceType:zt,isChangedOnlyHash:Kt,getDestinationUrl:$t,getScope:Xt,getAjaxProxyUrl:Yt}),Jt=H(function(e){var t,r;t=j,r=function(){function s(t){function e(e){e=t.match(e);return e&&e.length>1&&e[1]||""}var r,n=e(/(ipod|iphone|ipad)/i).toLowerCase(),o=!/like android/i.test(t)&&/android/i.test(t),i=/nexus\s*[0-6]\s*/i.test(t),s=!i&&/nexus\s*[0-9]+/i.test(t),a=/CrOS/.test(t),c=/silk/i.test(t),l=/sailfish/i.test(t),u=/tizen/i.test(t),p=/(web|hpw)os/i.test(t),h=/windows phone/i.test(t),d=(/SamsungBrowser/i.test(t),!h&&/windows/i.test(t)),f=!n&&!c&&/macintosh/i.test(t),m=!o&&!l&&!u&&!p&&/linux/i.test(t),g=e(/edge\/(\d+(\.\d+)?)/i),y=e(/version\/(\d+(\.\d+)?)/i),v=/tablet/i.test(t),E=!v&&/[^-]mobi/i.test(t),_=/xbox/i.test(t),a=(/opera/i.test(t)?r={name:"Opera",opera:!0,version:y||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(t)?r={name:"Opera",opera:!0,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||y}:/SamsungBrowser/i.test(t)?r={name:"Samsung Internet for Android",samsungBrowser:!0,version:y||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(t)?r={name:"Opera Coast",coast:!0,version:y||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(t)?r={name:"Yandex Browser",yandexbrowser:!0,version:y||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?r={name:"UC Browser",ucbrowser:!0,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?r={name:"Maxthon",maxthon:!0,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?r={name:"Epiphany",epiphany:!0,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?r={name:"Puffin",puffin:!0,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?r={name:"Sleipnir",sleipnir:!0,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?r={name:"K-Meleon",kMeleon:!0,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:h?(r={name:"Windows Phone",windowsphone:!0},g?(r.msedge=!0,r.version=g):(r.msie=!0,r.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?r={name:"Internet Explorer",msie:!0,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:a?r={name:"Chrome",chromeos:!0,chromeBook:!0,chrome:!0,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(t)?r={name:"Microsoft Edge",msedge:!0,version:g}:/vivaldi/i.test(t)?r={name:"Vivaldi",vivaldi:!0,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||y}:l?r={name:"Sailfish",sailfish:!0,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?r={name:"SeaMonkey",seamonkey:!0,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(r={name:"Firefox",firefox:!0,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(r.firefoxos=!0)):c?r={name:"Amazon Silk",silk:!0,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?r={name:"PhantomJS",phantom:!0,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?r={name:"SlimerJS",slimer:!0,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?r={name:"BlackBerry",blackberry:!0,version:y||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:p?(r={name:"WebOS",webos:!0,version:y||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(r.touchpad=!0)):/bada/i.test(t)?r={name:"Bada",bada:!0,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:u?r={name:"Tizen",tizen:!0,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||y}:/qupzilla/i.test(t)?r={name:"QupZilla",qupzilla:!0,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||y}:/chromium/i.test(t)?r={name:"Chromium",chromium:!0,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||y}:/chrome|crios|crmo/i.test(t)?r={name:"Chrome",chrome:!0,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:o?r={name:"Android",version:y}:/safari|applewebkit/i.test(t)?(r={name:"Safari",safari:!0},y&&(r.version=y)):n?(r={name:"iphone"==n?"iPhone":"ipad"==n?"iPad":"iPod"},y&&(r.version=y)):r=/googlebot/i.test(t)?{name:"Googlebot",googlebot:!0,version:e(/googlebot\/(\d+(\.\d+))/i)||y}:{name:e(/^(.*)\/(.*) /),version:(h=/^(.*)\/(.*) /,(h=t.match(h))&&h.length>1&&h[2]||"")},!r.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(r.name=r.name||"Blink",r.blink=!0):(r.name=r.name||"Webkit",r.webkit=!0),!r.version&&y&&(r.version=y)):!r.opera&&/gecko\//i.test(t)&&(r.name=r.name||"Gecko",r.gecko=!0,r.version=r.version||e(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||r.msedge||!o&&!r.silk?r.windowsphone||r.msedge||!n?f?r.mac=!0:_?r.xbox=!0:d?r.windows=!0:m&&(r.linux=!0):(r[n]=!0,r.ios=!0):r.android=!0,""),g=(r.windowsphone?a=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):n?a=(a=e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):o?a=e(/android[ \/-](\d+(\.\d+)*)/i):r.webos?a=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?a=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?a=e(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(a=e(/tizen[\/\s](\d+(\.\d+)*)/i)),a&&(r.osversion=a),a.split(".")[0]);return v||s||"ipad"==n||o&&(3==g||g>=4&&!E)||r.silk?r.tablet=!0:(E||"iphone"==n||"ipod"==n||o||i||r.blackberry||r.webos||r.bada)&&(r.mobile=!0),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=!0:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=!0:r.x=!0,r}var a=s("undefined"!==typeof navigator&&navigator.userAgent||"");function n(e){return e.split(".").length}function o(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r=0;){if(t[0][r]>t[1][r])return 1;if(t[0][r]!==t[1][r])return-1;if(0===r)return 0}}function i(e,t,r){var n,o=a,i=("string"===typeof t&&(r=t,t=void 0),void 0===t&&(t=!1),""+(o=r?s(r):o).version);for(n in e)if(e.hasOwnProperty(n)&&o[n]){if("string"!==typeof e[n])throw new Error("Browser version in the minVersion map should be a string: "+n+": "+String(e));return c([i,e[n]])<0}return t}return a.test=function(e){for(var t=0;t=t[r="scrollHeight"]?t[o]:Math.max(e.body[r],t[r],e.body[n],t[n])):(o=e.offsetHeight,(o=(o=(o-=Sr(c(e,"paddingTop")))-Sr(c(e,"paddingBottom")))-Sr(c(e,"borderTopWidth")))-Sr(c(e,"borderBottomWidth"))):null}function Or(e){var t;return e?vo(e)?e.document.documentElement.clientWidth:Eo(e)?e.documentElement.clientWidth:(t=e.offsetWidth,(t-=Sr(c(e,"borderLeftWidth")))-Sr(c(e,"borderRightWidth"))):null}function kr(e){var t=Lr(e),r=Ir(e),r=e.scrollHeight-(r.top+r.bottom),n=Cn(e).length;return 1===t?Nr(e):Math.round(r/Math.max(n,t))}function Lr(e){var t,r;return ur&&mr||rr?1:(t=b.getAttribute.call(e,"size"),e=b.hasAttribute.call(e,"multiple"),r=t?parseInt(t,10):1,e&&(!t||r<1)?Er:r)}function Dr(e){var t=xn(e),r=Dn(e);return ao(t)&&Lr(t)>1&&("option"===r||"optgroup"===r)&&(!cr||e.label)}function Mr(e){return e?vo(e)?e.pageXOffset:Eo(e)?e.defaultView.pageXOffset:e.scrollLeft:null}function Rr(e){return e?vo(e)?e.pageYOffset:Eo(e)?e.defaultView.pageYOffset:e.scrollTop:null}function jr(e,t){var r,n;e&&(vo(e)||Eo(e)?(r=In(e).defaultView,n=Rr(e),b.scrollTo.call(r,t,n)):e.scrollLeft=t)}function Hr(e,t){var r,n;e&&(vo(e)||Eo(e)?(r=In(e).defaultView,n=Mr(e),b.scrollTo.call(r,n,t)):e.scrollTop=t)}function Br(e){if(e){for(var t=e.offsetParent||document.body;t&&!/^(?:body|html)$/i.test(t.nodeName)&&"static"===c(t,"position");)t=t.offsetParent;return t}}function Ur(e){var t,r,n,o,i,s,a;return!e||vo(e)||Eo(e)?null:(a=si(e),(r=(t=e.ownerDocument).documentElement).contains(e)&&e!==r?(s=t.defaultView,n=r.clientTop||t.body.clientTop||0,o=r.clientLeft||t.body.clientLeft||0,i=s.pageYOffset||r.scrollTop||t.body.scrollTop,s=s.pageXOffset||r.scrollLeft||t.body.scrollLeft,{top:(a=si(e)).top+i-n,left:a.left+s-o}):{top:a.top,left:a.left})}function Fr(e,t){if(!Hn(e,t))return!1;for(;e;){if("none"===c(e,"display",t)||"hidden"===c(e,"visibility",t))return!1;e=jn(e)}return!0}function Vr(e){e=En(e);return e&&!Fr(e,In(e))}var Wr=Object.freeze({__proto__:null,get:c,set:br,getBordersWidthInternal:xr,getBordersWidth:Cr,getBordersWidthFloat:function(e){return xr(e,wr)},getComputedStyle:Ar,getElementMargin:function(e){return{bottom:Sr(c(e,"marginBottom")),left:Sr(c(e,"marginLeft")),right:Sr(c(e,"marginRight")),top:Sr(c(e,"marginTop"))}},getElementPaddingInternal:Tr,getElementPadding:Ir,getElementPaddingFloat:function(e){return Tr(e,wr)},getElementScroll:Pr,getWidth:function(e){var t,r,n,o;return e?vo(e)?e.document.documentElement.clientWidth:Eo(e)?(n="offsetWidth",(t=e.documentElement)[o="clientWidth"]>=t[r="scrollWidth"]?t[o]:Math.max(e.body[r],t[r],e.body[n],t[n])):(o=e.offsetWidth,(o=(o=(o-=Sr(c(e,"paddingLeft")))-Sr(c(e,"paddingRight")))-Sr(c(e,"borderLeftWidth")))-Sr(c(e,"borderRightWidth"))):null},getHeight:Nr,getInnerWidth:Or,getInnerHeight:function(e){var t;return e?vo(e)?e.document.documentElement.clientHeight:Eo(e)?e.documentElement.clientHeight:(t=e.offsetHeight,(t-=Sr(c(e,"borderTopWidth")))-Sr(c(e,"borderBottomWidth"))):null},getOptionHeight:kr,getSelectElementSize:Lr,isVisibleChild:Dr,getScrollLeft:Mr,getScrollTop:Rr,setScrollLeft:jr,setScrollTop:Hr,getOffsetParent:Br,getOffset:Ur,isElementVisible:Fr,isElementInInvisibleIframe:Vr});function Gr(e){return Ln(e)?b.elementQuerySelectorAll:Do(e)||Mo(e)?b.documentFragmentQuerySelectorAll:b.querySelectorAll}function qr(e){return null===e?"null":"undefined"}function zr(e){return void 0===e||$r(e)}function Kr(e){e=typeof e;return"object"!==e&&"function"!==e}function $r(e){return null===e}function Xr(e){return"number"===typeof e}function Yr(e){return"function"===typeof e}var Qr=Object.freeze({__proto__:null,inaccessibleTypeToStr:qr,isNullOrUndefined:zr,isPrimitiveType:Kr,isNull:$r,isNumber:Xr,isFunction:Yr}),Jr=0,Zr=["[object HTMLMapElement]","[object HTMLAreaElement]"],en=(Zt="undefined"===typeof window)?"":r(window),tn=/^\[object .*?Document]$/i,rn=/^\[object .*?ProcessingInstruction]$/i,nn=/^\[object SVG\w+?Element]$/i,on=/^\[object HTML.*?Element]$/i,sn=/^\[object ArrayBuffer]$/i,an=/^\[object DataView]$/i,cn=Zt?"":r(b.createElement.call(document,"td")),ln=Zt?-1:Node.ELEMENT_NODE,un=/^(select|option|applet|area|audio|canvas|datalist|keygen|map|meter|object|progress|source|track|video|img)$/,pn=/^(input|textarea|button)$/,hn=/^(script|style)$/i,dn=/^(email|number|password|search|tel|text|url)$/,fn=/^(number|email)$/,mn=/^(color|date|datetime-local|month|week)$/;function gn(e){return e.offsetWidth<=0&&e.offsetHeight<=0}function r(e){return fr?e&&"object"===typeof e?b.objectToString.call(b.objectGetPrototypeOf(e)):"":b.objectToString.call(e)}function yn(e){for(var e=e||document,t=b.documentActiveElementGetter.call(e),r=Ln(t)?t:e.body;r&&r.shadowRoot;){var n=r.shadowRoot.activeElement;if(!n)break;r=n}return r}function vn(e,t){return Cn(e).indexOf(t)}function En(e){return Sn(e[w.processedContext])}function _n(e){var t=null;try{t=b.contentDocumentGetter.call(e).location.href}catch(e){t=null}var e=b.getAttribute.call(e,"src"+s.storedAttrPostfix)||b.getAttribute.call(e,"src")||b.iframeSrcGetter.call(e),r=t&&Wt(t)&&jt(t),n=e&&Wt(e)&&jt(e);return{documentLocation:r?r.destUrl:t,srcLocation:n?n.destUrl:e}}function Sn(e){try{return e.frameElement}catch(e){return null}}function wn(e){var t=qo(e,"map"),t='[usemap="#'+b.getAttribute.call(t,"name")+'"]';return b.querySelector.call(In(e),t)}function bn(){var e,t;return Jr||((e=b.createElement.call(document,"div")).style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.width="100px",b.appendChild.call(document.body,e),t=e.offsetWidth-e.clientWidth,Jr=t,b.nodeParentNodeGetter.call(e).removeChild(e)),Jr}function xn(e){return qo(b.nodeParentNodeGetter.call(e),"select")}function Cn(e){for(var t=b.elementQuerySelectorAll.call(e,"optgroup, option"),r=[],n=b.nodeListLengthGetter.call(t),o=0;o0&&t[r].width>0)return t[r];return e.getBoundingClientRect()}var ai,ci,li,ui,pi,hi,di,fi,mi,gi,yi,vi=Object.freeze({__proto__:null,instanceToString:r,getActiveElement:yn,getChildVisibleIndex:vn,getIframeByElement:En,getIframeLocation:_n,getFrameElement:Sn,getMapContainer:wn,getParentWindowWithSrc:function e(t){var r=t.parent,n=null;if(t===t.top)return t;if(r===t.top||On(t,r))return r;try{n=r.frameElement}catch(e){n=null}return null!==n&&Wn(n)?e(r):r},getScrollbarSize:bn,getSelectParent:xn,getSelectVisibleChildren:Cn,getTopSameDomainWindow:An,find:Tn,findDocument:In,isContentEditableElement:Pn,isCrossDomainIframe:Nn,isCrossDomainWindows:On,isIframeWindow:kn,isDomElement:Ln,getTagName:Dn,SHADOW_ROOT_PARENT_ELEMENT:Mn,getNodeShadowRootParent:Rn,getParentExceptShadowRoot:jn,isElementInDocument:Hn,isElementInIframe:Bn,isHammerheadAttr:Un,isIframeElement:Fn,isFrameElement:Vn,isIframeWithoutSrc:Wn,isIframeWithSrcdoc:Gn,isImgElement:qn,isInputElement:zn,isTitleElement:Kn,isButtonElement:$n,isFieldSetElement:Xn,isOptGroupElement:Yn,isHtmlElement:Qn,isBodyElement:Jn,isPageBody:Zn,isHeadElement:function(e){return"[object HTMLHeadElement]"===r(e)},isHeadOrBodyElement:function(e){return"[object HTMLHeadElement]"===(e=r(e))||"[object HTMLBodyElement]"===e},isHeadOrBodyOrHtmlElement:eo,isBaseElement:to,isScriptElement:ro,isStyleElement:no,isLabelElement:oo,isTextAreaElement:io,isOptionElement:so,isRadioButtonElement:function(e){return zn(e)&&"radio"===e.type.toLowerCase()},isColorInputElement:function(e){return zn(e)&&"color"===e.type.toLowerCase()},isCheckboxElement:function(e){return zn(e)&&"checkbox"===e.type.toLowerCase()},isSelectElement:ao,isFormElement:co,isFileInput:lo,isInputWithNativeDialog:uo,isBodyElementWithChildren:po,isMapElement:ho,isRenderedNode:fo,getTabIndex:mo,isElementDisabled:go,isElementFocusable:yo,isShadowUIElement:E,isWindow:vo,isDocument:Eo,isBlob:_o,isLocation:So,isSVGElement:wo,isSVGElementOrChild:bo,isFetchHeaders:xo,isFetchRequest:Co,isElementReadOnly:Ao,isTextEditableInput:To,isTextEditableElement:Io,isTextEditableElementAndEditingAllowed:Po,isElementNode:No,isTextNode:Oo,isProcessingInstructionNode:ko,isCommentNode:Lo,isDocumentFragmentNode:Do,isShadowRoot:Mo,isAnchorElement:Ro,isTableElement:jo,isTableDataCellElement:function(e){return r(e)===cn},isWebSocket:Ho,isMessageEvent:Bo,isPerformanceNavigationTiming:Uo,isArrayBuffer:Fo,isArrayBufferView:Vo,isDataView:Wo,matches:Go,closest:qo,addClass:zo,removeClass:Ko,hasClass:$o,parseDocumentCharset:Xo,getParents:Yo,findParent:Jo,nodeListToArray:Zo,getFileInputs:ei,getIframes:ti,getScripts:ri,isNumberOrEmailInput:ni,isInputWithoutSelectionProperties:oi,getAssociatedElement:ii,getClientRectangle:si}),t=(e(Ei,ai=ve),Ei.prototype.isDeactivated=function(){try{var e;if(this.window[w.hammerhead])return!!(e=Sn(this.window))&&!Hn(e,In(e))}catch(e){}return!0},Ei.prototype.attach=function(e,t){this.window=e,this.document=t||e.document},Ei);function Ei(){var e=null!==ai&&ai.apply(this,arguments)||this;return e.window=null,e.nativeMethods=b,e.document=null,e}var _i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportBatchSpecifier:"ExportBatchSpecifier",ExportDeclaration:"ExportDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportSpecifier:"ImportSpecifier",ImportDeclaration:"ImportDeclaration",ChainExpression:"ChainExpression",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleDeclaration:"ModuleDeclaration",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},A=_i,l={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Unary:13,Exponentiation:14,Postfix:14,Await:14,Call:15,New:16,TaggedTemplate:17,OptionalChaining:17,Member:18,Primary:19},Si={"||":l.LogicalOR,"&&":l.LogicalAND,"|":l.BitwiseOR,"^":l.BitwiseXOR,"&":l.BitwiseAND,"==":l.Equality,"!=":l.Equality,"===":l.Equality,"!==":l.Equality,is:l.Equality,isnt:l.Equality,"<":l.Relational,">":l.Relational,"<=":l.Relational,">=":l.Relational,in:l.Relational,instanceof:l.Relational,"<<":l.BitwiseSHIFT,">>":l.BitwiseSHIFT,">>>":l.BitwiseSHIFT,"+":l.Additive,"-":l.Additive,"*":l.Multiplicative,"%":l.Multiplicative,"/":l.Multiplicative,"??":l.Coalesce,"**":l.Exponentiation},wi=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],bi=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");function xi(e){return e<128?e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||36===e||95===e||92===e:(e=String.fromCharCode(e),bi.test(e))}function Ci(e){return 10===e||13===e||8232===e||8233===e}function Ai(e){return 32===e||9===e||Ci(e)||11===e||12===e||160===e||e>=5760&&wi.indexOf(e)>=0}function Ti(e,t){var r="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(r+=e);return r}function Ii(e,t){return 8232===(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function Pi(e){for(var t,r,n,o="",i=0,s=0,a=0,c=e.length;a{var t="\\";switch(e){case 92:t+="\\";break;case 10:t+="n";break;case 13:t+="r";break;case 8232:t+="u2028";break;case 8233:t+="u2029"}return t})(t);continue}if(ci&&t<32||!(ci||hi||t>=32&&t<=126)){o+=((e,t)=>{var r,n,o="\\";switch(e){case 8:o+="b";break;case 12:o+="f";break;case 9:o+="t";break;default:r=e.toString(16).toUpperCase(),ci||e>255?o+="u"+"0000".slice(r.length)+r:0!==e||(n=t)>=48&&n<=57?o+=11===e?"x0B":"x"+"00".slice(r.length)+r:o+="0"}return o})(t,e.charCodeAt(a+1));continue}}o+=String.fromCharCode(t)}if(n=(r=!("double"===pi||"auto"===pi&&s"),e.expression?(d.js+=d.optSpace,"{"===(r=h(t,p.e4)).charAt(0)&&(r="("+r+")"),d.js+=r):(d.js+=Oi(t),$i[t.type](t,p.s8))}var Di=(Di=Array.isArray)||function(e){return"[object Array]"===Object.prototype.toString.call(e)},p={e1:function(e){return{precedence:l.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e2:function(e){return{precedence:l.LogicalOR,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e3:{precedence:l.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!1},e4:{precedence:l.Assignment,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e5:{precedence:l.Sequence,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e6:function(e){return{precedence:l.New,allowIn:!0,allowCall:!1,allowUnparenthesizedNew:e}},e7:{precedence:l.Unary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e8:{precedence:l.Postfix,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e9:{precedence:void 0,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e10:{precedence:l.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e11:function(e){return{precedence:l.Call,allowIn:!0,allowCall:e,allowUnparenthesizedNew:!1}},e12:{precedence:l.Primary,allowIn:!1,allowCall:!1,allowUnparenthesizedNew:!0},e13:{precedence:l.Primary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e14:{precedence:l.Sequence,allowIn:!1,allowCall:!0,allowUnparenthesizedNew:!0},e15:function(e){return{precedence:l.Sequence,allowIn:!0,allowCall:e,allowUnparenthesizedNew:!0}},e16:function(e,t){return{precedence:e,allowIn:t,allowCall:!0,allowUnparenthesizedNew:!0}},e17:function(e){return{precedence:l.Call,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e18:function(e){return{precedence:l.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e19:{precedence:l.Sequence,allowIn:!0,allowCall:!0,semicolonOptional:!1},e20:{precedence:l.Await,allowCall:!0},s1:function(e,t){return{allowIn:!0,functionBody:!1,directiveContext:e,semicolonOptional:t}},s2:{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:!0},s3:function(e){return{allowIn:e,functionBody:!1,directiveContext:!1,semicolonOptional:!1}},s4:function(e){return{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:e}},s5:function(e){return{allowIn:!0,functionBody:!1,directiveContext:!0,semicolonOptional:e}},s6:{allowIn:!1,functionBody:!1,directiveContext:!1,semicolonOptional:!1},s7:{allowIn:!0,functionBody:!1,directiveContext:!1,semicolonOptional:!1},s8:{allowIn:!0,functionBody:!0,directiveContext:!1,semicolonOptional:!1}},Mi=/[.eExX]|^0[0-9]+/,Ri=/[0-9]$/;function ji(e){return!!e&&e.type===_i.LogicalExpression}function Hi(e,t,r){var n=e.operator,o=Si[e.operator],i=o{switch(e.operator){case"||":return ji(t)?"??"===t.operator||"&&"===t.operator:!1;case"&&":return ji(t);case"??":return ji(t)&&"??"!==t.operator}})(e,r)),r=((i||t)&&(d.js+="("),s=47===s.charCodeAt(s.length-1)&&xi(n.charCodeAt(0))?s+d.space+n:u(s,n),o.precedence++,h(e.right,o,e));"/"===n&&"/"===r.charAt(0)||"<"===n.slice(-1)&&"!--"===r.slice(0,3)?s+=d.space+r:s=u(s,r),d.js+=s,(i||t)&&(d.js+=")")}function Bi(e){var t=e.elements,r=t.length;if(r){var n=r-1,o=r>1,e=Ni(),i=d.newline+d.indent;d.js+="[";for(var s=0;s0?u(o,c):o+c;d.indent=i}r&&(i=h(r,p.e5),o=u(o,"if"+d.optSpace),o=u(o,"("+i+")")),o=u(o,e),d.js+=o+=n?")":"]"}var Fi={SequenceExpression:function(e,t){var r=e.expressions,n=r.length,o=n-1,e=l.Sequence0,e=h(e.callee,p.e6(!t));if(n&&(d.js+="("),d.js+=u("new",e),t){d.js+="(";for(var s=0;s2?d.js+=u(n,e):(d.js+=n,((n=n.charCodeAt(n.length-1))===(r=e.charCodeAt(0))&&(43===n||45===n)||xi(n)&&xi(r))&&(d.js+=d.space),d.js+=e),t&&(d.js+=")")},YieldExpression:function(e,t){var r=e.argument,e=e.delegate?"yield*":"yield",t=l.Yield{var t,r,n,o,i;if(e===1/0)return ci?"null":li?"1e400":"1e+400";if(t=""+e,li&&!(t.length<3)){for(r=t.indexOf("."),ci||48!==t.charCodeAt(0)||1!==r||(r=0,t=t.slice(1)),t=(n=t).replace("e+","e"),o=0,(i=n.indexOf("e"))>0&&(o=+n.slice(i+1),n=n.slice(0,i)),r>=0&&(o-=n.length-r-1,n=+(n.slice(0,r)+n.slice(r+1))+""),i=0;48===n.charCodeAt(n.length+i-1);)--i;0!==i&&(o-=i,n=n.slice(0,i)),0!==o&&(n+="e"+o),(n.length1e12&&Math.floor(e)===e&&(n="0x"+e.toString(16)).length{var t,r,n,o,i,s,a=e.toString();if(e.source){if(!(t=a.match(/\/([^/]*)$/)))return a;for(t=t[1],a="",s=i=!1,r=0,n=e.source.length;r{for(var t,r="double"===pi?'"':"'",n=0,o=e.length;n1?Ni():d.indent,i=p.s3(t.allowIn);d.js+=e.kind;for(var s=0;s0&&(d.js+="\n");for(var o=0;o{var e,t={};for(e in Fi)Fi.hasOwnProperty(e)&&(t[e]=Ki(Fi[e]));return t})():Fi,r=e,d.js="",$i[r.type]?$i[r.type](r,p.s7):f[r.type](r,p.e19),d.js},g={getLocation:"__get$Loc",setLocation:"__set$Loc",getProperty:"__get$",setProperty:"__set$",callMethod:"__call$",processScript:"__proc$Script",processHtml:"__proc$Html",getEval:"__get$Eval",getPostMessage:"__get$PostMessage",getProxyUrl:"__get$ProxyUrl",restArray:"__rest$Array",arrayFrom:"__arrayFrom$",restObject:"__rest$Object",swScopeHeaderValue:"__swScopeHeaderValue",getWorkerSettings:"__getWorkerSettings$"},Yi="_hh$temp",Qi=(Ji.resetCounter=function(){Ji._counter=0},Ji.generateName=function(e,t,r){if(!e)return Yi+Ji._counter++;if(t){if(t.type===A.Identifier)return e+"$"+t.name;if(t.type===A.Literal&&t.value)return e+"$"+t.value.toString().replace(/[^a-zA-Z0-9]/g,"")}return e+"$i"+r},Ji.isHHTempVariable=function(e){return 0===e.indexOf(Yi)},Ji.prototype.append=function(e){this._list.push(e)},Ji.prototype.get=function(){return this._list},Ji._counter=0,Ji);function Ji(){this._list=[]}function Zi(e){return{type:A.Identifier,name:e}}function es(e){return{type:A.ExpressionStatement,expression:e}}function ts(e,t,r){return{type:A.AssignmentExpression,operator:t,left:e,right:r}}function rs(e,t){return{type:A.CallExpression,callee:e,arguments:t,optional:!1}}function ns(e){return{type:A.ArrayExpression,elements:e}}function os(e,t,r){return{type:A.MemberExpression,object:e,property:t,computed:r,optional:!1}}function is(e,t,r){return{type:A.BinaryExpression,left:e,right:r,operator:t}}function ss(e){return{type:A.SequenceExpression,expressions:e}}function as(e){return{type:A.ReturnStatement,argument:e=void 0===e?null:e}}function cs(){return e="void",t=ls(0),{type:A.UnaryExpression,operator:e,prefix:!0,argument:t};var e,t}function ls(e){return{type:A.Literal,value:e}}function us(e,t){return es(ts(e,"=",t))}function ps(e){return{type:A.BlockStatement,body:e}}function hs(e,t){return{type:A.VariableDeclarator,id:e,init:t=void 0===t?null:t}}function ds(e,t){return{type:A.VariableDeclaration,declarations:t,kind:e}}function fs(e,t){var e=[e],r=Zi(g.processScript);return t&&e.push(ls(!0)),rs(r,e)}function ms(e,t,r){var n=Zi(Qi.generateName()),o=rs(Zi(g.setLocation),[e,n]),e=ts(e,"=",n),i=Zi("call");s=null,a=[],t=ps([ds("var",[hs(n,t)]),as((n="||",{type:A.LogicalExpression,left:o,right:e,operator:n}))]);var s,a,c,l,o=rs(os({type:A.FunctionExpression,id:s,params:a,body:t,async:c=void 0===c?!1:c,generator:l=void 0===l?!1:l},i,!1),[{type:A.ThisExpression}]);return r?ss([ls(0),o]):o}function gs(e){return rs(Zi(g.getEval),[e])}function ys(e){return rs(Zi(g.getPostMessage),e.type===A.MemberExpression?[e.object]:[ls(null),e])}function vs(e,t){return e.test?e.test(t):Ss.call(e,t)}var Jt=["postMessage","replace","assign"],er=["href","location"],Es=new RegExp("^(".concat(Jt.join("|"),")$")),_s=new RegExp("^(".concat(er.join("|"),")$")),Ss=RegExp.prototype.test;function ws(e){return vs(Es,String(e))}function bs(e){return vs(_s,String(e))}var xs=Object.freeze({__proto__:null,METHODS:Jt,PROPERTIES:er,shouldInstrumentMethod:ws,shouldInstrumentProperty:bs}),or={name:"computed-property-get",nodeReplacementRequireTransform:!0,nodeTypes:A.MemberExpression,condition:function(e,t){return!(!e.computed||!t)&&!(e.property.type===A.Literal&&!bs(e.property.value))&&e.object.type!==A.Super&&(t.type!==A.AssignmentExpression||t.left!==e)&&(t.type!==A.UnaryExpression||"delete"!==t.operator)&&(t.type!==A.UpdateExpression||"++"!==t.operator&&"--"!==t.operator)&&(t.type!==A.CallExpression||t.callee!==e)&&(t.type!==A.NewExpression||t.callee!==e)&&(t.type!==A.ForInStatement||t.left!==e)},run:function(e){return t=e.property,r=e.object,e=e.optional,n=Zi(g.getProperty),r=[r,t],(e=void 0===e?!1:e)&&r.push(ls(e)),rs(n,r);var t,r,n}},ir={name:"computed-property-set",nodeReplacementRequireTransform:!0,nodeTypes:A.AssignmentExpression,condition:function(e){var t=e.left;return(t.type!==A.MemberExpression||t.object.type!==A.Super)&&!("="!==e.operator||t.type!==A.MemberExpression||!t.computed)&&(t.property.type!==A.Literal||bs(t.property.value))},run:function(e){var t,r=e.left;return t=r.property,r=r.object,e=e.right,rs(Zi(g.setProperty),[r,t,e])}},Zt={name:"concat-operator",nodeReplacementRequireTransform:!0,nodeTypes:A.AssignmentExpression,condition:function(e){if("+="===e.operator){e=e.left;if(e.type===A.Identifier)return bs(e.name);if(e.type===A.MemberExpression){if(e.computed)return e.property.type===A.Literal?bs(e.property.value):e.property.type!==A.UpdateExpression;if(e.property.type===A.Identifier)return bs(e.property.name)}}return!1},run:function(e){return ts(t=e.left,"=",is(t,"+",e.right));var t}};function Cs(e,t,r,n){var o=r[n];o instanceof Array?e?o[o.indexOf(e)]=t:o.unshift(t):r[n]=t,e?(t.originStart=t.start=e.start,t.originEnd=t.end=e.end):t.start=t.end=t.originStart=t.originEnd=o[1]?o[1].start:r.start+1}var Jt={name:"eval",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){return!!e.arguments.length&&((e=e.callee).type===A.Identifier&&"eval"===e.name||e.type===A.MemberExpression&&"eval"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))},run:function(e){var t=fs(e.arguments[0]);return Cs(e.arguments[0],t,e,"arguments"),null}},er={name:"eval-bind",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){if(e.callee.type===A.MemberExpression&&e.callee.property.type===A.Identifier&&"bind"===e.callee.property.name){e=e.callee.object;if(e.type===A.MemberExpression&&"eval"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))return!0;if(e.type===A.Identifier&&"eval"===e.name)return!0}return!1},run:function(e){var e=e.callee,t=gs(e.object);return Cs(e.object,t,e,"object"),null}},As=/^(call|apply)$/,n={name:"eval-call-apply",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){if(!(e.arguments.length<2)&&e.callee.type===A.MemberExpression&&e.callee.property.type===A.Identifier&&As.test(e.callee.property.name)){e=e.callee.object;if(e.type===A.Identifier&&"eval"===e.name)return!0;if(e.type===A.MemberExpression&&"eval"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))return!0}return!1},run:function(e){var t=e.callee.property,t=fs(e.arguments[1],"apply"===t.name);return Cs(e.arguments[1],t,e,"arguments"),null}},Ts={name:"eval-get",nodeReplacementRequireTransform:!1,nodeTypes:A.Identifier,condition:function(e,t){return!("eval"!==e.name||!t)&&(t.type!==A.CallExpression||t.callee!==e)&&t.type!==A.MethodDefinition&&t.type!==A.ClassDeclaration&&t.type!==A.MemberExpression&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration||t.id!==e)&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration&&t.type!==A.ArrowFunctionExpression||-1===t.params.indexOf(e))&&(t.type!==A.Property||t.key!==e)&&(t.type!==A.Property||t.value!==e||!t.shorthand)&&(t.type!==A.AssignmentExpression&&t.type!==A.AssignmentPattern||t.left!==e)&&(t.type!==A.VariableDeclarator||t.id!==e)&&(t.type!==A.UpdateExpression||"++"!==t.operator&&"--"!==t.operator)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getEval)&&t.type!==A.RestElement&&t.type!==A.ExportSpecifier&&t.type!==A.ImportSpecifier},run:gs},m={name:"window-eval-get",nodeReplacementRequireTransform:!1,nodeTypes:A.MemberExpression,condition:function(e,t){return!!t&&(t.type!==A.MemberExpression||t.property!==e&&t.object!==e)&&(t.type!==A.CallExpression||t.callee!==e)&&(t.type!==A.AssignmentExpression||t.left!==e)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getEval)&&(e.property.type===A.Identifier&&"eval"===e.property.name||e.property.type===A.Literal&&"eval"===e.property.value)},run:gs},Is={name:"post-message-get",nodeReplacementRequireTransform:!1,nodeTypes:A.Identifier,condition:function(e,t){return!("postMessage"!==e.name||!t)&&t.type!==A.MemberExpression&&t.type!==A.MethodDefinition&&t.type!==A.ClassDeclaration&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration||t.id!==e)&&(t.type!==A.FunctionExpression&&t.type!==A.FunctionDeclaration&&t.type!==A.ArrowFunctionExpression||-1===t.params.indexOf(e))&&(t.type!==A.Property||t.key!==e)&&(t.type!==A.Property||t.value!==e||!t.shorthand)&&(t.type!==A.AssignmentExpression&&t.type!==A.AssignmentPattern||t.left!==e)&&(t.type!==A.VariableDeclarator||t.id!==e)&&(t.type!==A.UpdateExpression||"++"!==t.operator&&"--"!==t.operator)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getPostMessage&&(t.callee.name!==g.callMethod||t.arguments[1]!==e))&&t.type!==A.RestElement&&t.type!==A.ExportSpecifier&&t.type!==A.ImportSpecifier},run:ys},Ps={name:"window-post-message-get",nodeReplacementRequireTransform:!1,nodeTypes:A.MemberExpression,condition:function(e,t){return!!t&&(t.type!==A.MemberExpression||t.property!==e&&t.object!==e)&&(t.type!==A.CallExpression||t.callee!==e)&&(t.type!==A.AssignmentExpression||t.left!==e)&&(t.type!==A.CallExpression||t.callee.type!==A.Identifier||t.callee.name!==g.getPostMessage)&&(e.property.type===A.Identifier&&"postMessage"===e.property.name||e.property.type===A.Literal&&"postMessage"===e.property.value)},run:ys},Ns=/^(call|apply|bind)$/,Os={name:"post-message-call-apply-bind",nodeReplacementRequireTransform:!1,nodeTypes:A.CallExpression,condition:function(e){if(e.callee.type===A.MemberExpression&&e.callee.property.type===A.Identifier&&Ns.test(e.callee.property.name)){if(e.arguments.length<2&&"bind"!==e.callee.property.name)return!1;e=e.callee.object;if(e.type===A.MemberExpression&&"postMessage"===(e.property.type===A.Identifier&&e.property.name||e.property.type===A.Literal&&e.property.value))return!0;if(e.type===A.Identifier&&"postMessage"===e.name)return!0}return!1},run:function(e){var e=e.callee,t=ys(e.object);return Cs(e.object,t,e,"object"),null}},ks={name:"for-in",nodeReplacementRequireTransform:!1,nodeTypes:A.ForInStatement,condition:function(e){return e.left.type===A.MemberExpression},run:function(e){var t=Zi(Qi.generateName()),r=ds("var",[hs(t)]),t=us(e.left,t);return e.body.type!==A.BlockStatement?Cs(e.body,ps([t,e.body]),e,"body"):Cs(null,t,e.body,"body"),Cs(e.left,r,e,"left"),null}};function Ls(e){var t=e.left,o=[],r=(null===(r=t.declarations[0])||void 0===r?void 0:r.id.type)===A.ArrayPattern,n=e.body.type===A.BlockStatement;if(r&&n){for(var i=t.declarations[0].id,s=i.elements,a=function(e){for(var t=0,r=s;t-1&&(d=Qi.generateName(d,void 0,c)),a.push(d),d=d,m=f=void 0,f=(h=h).value,m=h.computed||h.key.type===A.Literal,Ks(f,os(i,h.key,m),r,d))}}function qs(e,t,r,n){if(t){t.type!==A.ArrayExpression&&(o=t,t=rs(Zi(g.arrayFrom),[o]));var o,i=Ws(t,r,n);n=n||i.name;for(var s,a=0;a{for(var e=new Map,t=0,r=Qs;t{for(var t=[],r=0,n=e;r=170&&o.test(String.fromCharCode(e)):!1!==t&&(a(e,i)||a(e,s)))))},t.isIdentifierStart=function(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&n.test(String.fromCharCode(e)):!1!==t&&a(e,i)))},t.reservedWords=t.keywords=t.keywordRelationalOperator=void 0;t.reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",r=(t.keywords={5:r,"5module":r+" export import",6:r+" const class extends export import super"},t.keywordRelationalOperator=/^in(stanceof)?$/,"ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"),n=new RegExp("["+r+"]"),o=new RegExp("["+r+"‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_]"),i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],s=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function a(e,t){for(var r=65536,n=0;ne)return!1;if((r+=t[n+1])>=e)return!0}}}),y=H(function(e,t){t.__esModule=!0,t.types=t.keywords=t.TokenType=void 0;var r=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};function n(e,t){return new r(e,{beforeExpr:!0,binop:t})}t.TokenType=r;var o={beforeExpr:!0},i={startsExpr:!0},s={};function a(e,t){return(t=void 0===t?{}:t).keyword=e,s[e]=new r(e,t)}t.keywords=s;o={num:new r("num",i),regexp:new r("regexp",i),string:new r("string",i),name:new r("name",i),privateId:new r("privateId",i),eof:new r("eof"),bracketL:new r("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new r("]"),braceL:new r("{",{beforeExpr:!0,startsExpr:!0}),braceR:new r("}"),parenL:new r("(",{beforeExpr:!0,startsExpr:!0}),parenR:new r(")"),comma:new r(",",o),semi:new r(";",o),colon:new r(":",o),dot:new r("."),question:new r("?",o),questionDot:new r("?."),arrow:new r("=>",o),template:new r("template"),invalidTemplate:new r("invalidTemplate"),ellipsis:new r("...",o),backQuote:new r("`",i),dollarBraceL:new r("${",{beforeExpr:!0,startsExpr:!0}),eq:new r("=",{beforeExpr:!0,isAssign:!0}),assign:new r("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:n("||",1),logicalAND:n("&&",2),bitwiseOR:n("|",3),bitwiseXOR:n("^",4),bitwiseAND:n("&",5),equality:n("==/!=/===/!==",6),relational:n("/<=/>=",7),bitShift:n("<>/>>>",8),plusMin:new r("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:n("%",10),star:n("*",10),slash:n("/",10),starstar:new r("**",{beforeExpr:!0}),coalesce:n("??",1),_break:a("break"),_case:a("case",o),_catch:a("catch"),_continue:a("continue"),_debugger:a("debugger"),_default:a("default",o),_do:a("do",{isLoop:!0,beforeExpr:!0}),_else:a("else",o),_finally:a("finally"),_for:a("for",{isLoop:!0}),_function:a("function",i),_if:a("if"),_return:a("return",o),_switch:a("switch"),_throw:a("throw",o),_try:a("try"),_var:a("var"),_const:a("const"),_while:a("while",{isLoop:!0}),_with:a("with"),_new:a("new",{beforeExpr:!0,startsExpr:!0}),_this:a("this",i),_super:a("super",i),_class:a("class",i),_extends:a("extends",o),_export:a("export"),_import:a("import",i),_null:a("null",i),_true:a("true",i),_false:a("false",i),_in:a("in",{beforeExpr:!0,binop:7}),_instanceof:a("instanceof",{beforeExpr:!0,binop:7}),_typeof:a("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:a("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:a("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})};t.types=o}),v=H(function(e,t){t.__esModule=!0,t.isNewLine=i,t.lineBreakG=t.lineBreak=void 0,t.nextLineBreak=function(e,t,r){void 0===r&&(r=e.length);for(var n=t;n=2015&&(r.ecmaVersion-=2009);null==r.allowReserved&&(r.allowReserved=r.ecmaVersion<5);{var n;(0,ja.isArray)(r.onToken)&&(n=r.onToken,r.onToken=function(e){return n.push(e)})}(0,ja.isArray)(r.onComment)&&(r.onComment=((s,a)=>function(e,t,r,n,o,i){e={type:e?"Block":"Line",value:t,start:r,end:n};s.locations&&(e.loc=new Ha.SourceLocation(this,o,i)),s.ranges&&(e.range=[r,n]),a.push(e)})(r,r.onComment));return r}),allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},i=(t.defaultOptions=o,!1)}),_=H(function(e,t){t.__esModule=!0,t.SCOPE_VAR=t.SCOPE_TOP=t.SCOPE_SUPER=t.SCOPE_SIMPLE_CATCH=t.SCOPE_GENERATOR=t.SCOPE_FUNCTION=t.SCOPE_DIRECT_SUPER=t.SCOPE_CLASS_STATIC_BLOCK=t.SCOPE_ASYNC=t.SCOPE_ARROW=t.BIND_VAR=t.BIND_SIMPLE_CATCH=t.BIND_OUTSIDE=t.BIND_NONE=t.BIND_LEXICAL=t.BIND_FUNCTION=void 0,t.functionFlags=function(e,t){return r|(e?n:0)|(t?o:0)};var r=2,n=4,o=8;t.SCOPE_VAR=257|r,t.SCOPE_CLASS_STATIC_BLOCK=256,t.SCOPE_DIRECT_SUPER=128,t.SCOPE_SUPER=64,t.SCOPE_SIMPLE_CATCH=32,t.SCOPE_ARROW=16,t.SCOPE_GENERATOR=o,t.SCOPE_ASYNC=n,t.SCOPE_FUNCTION=r,t.SCOPE_TOP=1;t.BIND_OUTSIDE=5,t.BIND_SIMPLE_CATCH=4,t.BIND_FUNCTION=3,t.BIND_LEXICAL=2,t.BIND_VAR=1,t.BIND_NONE=0}),Ua=H(function(e,t){t.__esModule=!0,t.Parser=void 0;n.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Object.defineProperty(n.prototype,"inFunction",{get:function(){return(this.currentVarScope().flags&_.SCOPE_FUNCTION)>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inGenerator",{get:function(){return(this.currentVarScope().flags&_.SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inAsync",{get:function(){return(this.currentVarScope().flags&_.SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"canAwait",{get:function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&_.SCOPE_CLASS_STATIC_BLOCK)return!1;if(t.flags&_.SCOPE_FUNCTION)return(t.flags&_.SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowSuper",{get:function(){var e=this.currentThisScope();return(e.flags&_.SCOPE_SUPER)>0||e.inClassFieldInit||this.options.allowSuperOutsideMethod},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowDirectSuper",{get:function(){return(this.currentThisScope().flags&_.SCOPE_DIRECT_SUPER)>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"treatFunctionsAsVar",{get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowNewDotTarget",{get:function(){var e=this.currentThisScope();return(e.flags&(_.SCOPE_FUNCTION|_.SCOPE_CLASS_STATIC_BLOCK))>0||e.inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inClassStaticBlock",{get:function(){return(this.currentVarScope().flags&_.SCOPE_CLASS_STATIC_BLOCK)>0},enumerable:!1,configurable:!0}),n.extend=function(){for(var e=[],t=0;t=6?6:"module"===e.sourceType?"5module":5]);var n="",n=(!0!==e.allowReserved&&(n=Ra.reservedWords[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType)&&(n+=" await"),this.reservedWords=(0,ja.wordsRegexp)(n),(n?n+" ":"")+Ra.reservedWords.strict);this.reservedWordsStrict=(0,ja.wordsRegexp)(n),this.reservedWordsStrictBind=(0,ja.wordsRegexp)(n+" "+Ra.reservedWords.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(v.lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.types.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(_.SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]}t.Parser=r}),er=Ua.Parser.prototype,Fa=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,Va=(er.strictDirective=function(e){for(;;){v.skipWhiteSpace.lastIndex=e,e+=v.skipWhiteSpace.exec(this.input)[0].length;var t=Fa.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!1;e+=t[0].length,v.skipWhiteSpace.lastIndex=e,e+=v.skipWhiteSpace.exec(this.input)[0].length,";"===this.input[e]&&e++}},er.eat=function(e){return this.type===e&&(this.next(),!0)},er.isContextual=function(e){return this.type===y.types.name&&this.value===e&&!this.containsEsc},er.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},er.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},er.canInsertSemicolon=function(){return this.type===y.types.eof||this.type===y.types.braceR||v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},er.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},er.semicolon=function(){this.eat(y.types.semi)||this.insertSemicolon()||this.unexpected()},er.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},er.expect=function(e){this.eat(e)||this.unexpected()},er.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},er.checkPatternErrors=function(e,t){e&&(e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element"),(t=t?e.parenthesizedAssign:e.parenthesizedBind)>-1)&&this.raiseRecoverable(t,"Parenthesized pattern")},er.checkExpressionErrors=function(e,t){var r;return!!e&&(r=e.shorthandAssign,e=e.doubleProto,t?(r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),void(e>=0&&this.raiseRecoverable(e,"Redefinition of __proto__ property"))):r>=0||e>=0)},er.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos{var r;if(e)return"string"===typeof e?Ga(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ga(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r55295&&r<56320)return!0;if(!e){if(123===r)return!0;if((0,Ra.isIdentifierStart)(r,!0)){for(var n=t+1;(0,Ra.isIdentifierChar)(r=this.input.charCodeAt(n),!0);)++n;if(92===r||r>55295&&r<56320)return!0;e=this.input.slice(t,n);if(!Ra.keywordRelationalOperator.test(e))return!0}}}return!1},n.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;v.skipWhiteSpace.lastIndex=this.pos;var e=v.skipWhiteSpace.exec(this.input),e=this.pos+e[0].length;return!v.lineBreak.test(this.input.slice(this.pos,e))&&"function"===this.input.slice(e,e+8)&&(e+8===this.input.length||!((0,Ra.isIdentifierChar)(e=this.input.charCodeAt(e+8))||e>55295&&e<56320))},n.parseStatement=function(e,t,r){var n,o,i=this.type,s=this.startNode();switch(this.isLet(e)&&(i=y.types._var,n="let"),i){case y.types._break:case y.types._continue:return this.parseBreakContinueStatement(s,i.keyword);case y.types._debugger:return this.parseDebuggerStatement(s);case y.types._do:return this.parseDoStatement(s);case y.types._for:return this.parseForStatement(s);case y.types._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case y.types._class:return e&&this.unexpected(),this.parseClass(s,!0);case y.types._if:return this.parseIfStatement(s);case y.types._return:return this.parseReturnStatement(s);case y.types._switch:return this.parseSwitchStatement(s);case y.types._throw:return this.parseThrowStatement(s);case y.types._try:return this.parseTryStatement(s);case y.types._const:case y.types._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(s,n);case y.types._while:return this.parseWhileStatement(s);case y.types._with:return this.parseWithStatement(s);case y.types.braceL:return this.parseBlock(!0,s);case y.types.semi:return this.parseEmptyStatement(s);case y.types._export:case y.types._import:if(this.options.ecmaVersion>10&&i===y.types._import){v.skipWhiteSpace.lastIndex=this.pos;var a=v.skipWhiteSpace.exec(this.input),a=this.pos+a[0].length,a=this.input.charCodeAt(a);if(40===a||46===a)return this.parseExpressionStatement(s,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'"),i===y.types._import?this.parseImport(s):this.parseExport(s,r);default:return this.isAsyncFunction()?(e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e)):(a=this.value,o=this.parseExpression(),i===y.types.name&&"Identifier"===o.type&&this.eat(y.types.colon)?this.parseLabeledStatement(s,a,o,e):this.parseExpressionStatement(s,o))}},n.parseBreakContinueStatement=function(e,t){for(var r="break"===t,n=(this.next(),this.eat(y.types.semi)||this.insertSemicolon()?e.label=null:this.type!==y.types.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon()),0);n=6?this.eat(y.types.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},n.parseForStatement=function(e){this.next();var t,r,n,o,i=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;return this.labels.push(qa),this.enterScope(0),this.expect(y.types.parenL),this.type===y.types.semi?(i>-1&&this.unexpected(i),this.parseFor(e,null)):(t=this.isLet(),this.type===y.types._var||this.type===y.types._const||t?(r=this.startNode(),t=t?"let":this.value,this.next(),this.parseVar(r,!0,t),this.finishNode(r,"VariableDeclaration"),(this.type===y.types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===y.types._in?i>-1&&this.unexpected(i):e.await=i>-1),this.parseForIn(e,r)):(i>-1&&this.unexpected(i),this.parseFor(e,r))):(t=this.isContextual("let"),r=!1,n=new Va.DestructuringErrors,o=this.parseExpression(!(i>-1)||"await",n),this.type===y.types._in||(r=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===y.types._in?i>-1&&this.unexpected(i):e.await=i>-1),t&&r&&this.raise(o.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(o,!1,n),this.checkLValPattern(o),this.parseForIn(e,o)):(this.checkExpressionErrors(n,!0),i>-1&&this.unexpected(i),this.parseFor(e,o))))},n.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,$a|(r?0:Xa),!1,t)},n.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(y.types._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},n.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.types.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},n.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.types.braceL),this.labels.push(za),this.enterScope(0);for(var r,n=!1;this.type!==y.types.braceR;)this.type===y.types._case||this.type===y.types._default?(r=this.type===y.types._case,t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(y.types.colon)):(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")},n.parseThrowStatement=function(e){return this.next(),v.lineBreak.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")},[]),$a=(n.parseTryStatement=function(e){var t,r;return this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y.types._catch&&(t=this.startNode(),this.next(),this.eat(y.types.parenL)?(t.param=this.parseBindingAtom(),r="Identifier"===t.param.type,this.enterScope(r?_.SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(t.param,r?_.BIND_SIMPLE_CATCH:_.BIND_LEXICAL),this.expect(y.types.parenR)):(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")),e.finalizer=this.eat(y.types._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},n.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},n.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(qa),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},n.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")},n.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},n.parseLabeledStatement=function(e,t,r,n){for(var o,i=Wa(this.labels);!(o=i()).done;)(s=o.value).name===t&&this.raise(r.start,"Label '"+t+"' is already declared");for(var s,a=this.type.isLoop?"loop":this.type===y.types._switch?"switch":null,c=this.labels.length-1;c>=0&&(s=this.labels[c]).statementStart===e.start;c--)s.statementStart=this.start,s.kind=a;return this.labels.push({name:t,kind:a,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")},n.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},n.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),(t=void 0===t?this.startNode():t).body=[],this.expect(y.types.braceL),e&&this.enterScope(0);this.type!==y.types.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},n.parseFor=function(e,t){return e.init=t,this.expect(y.types.semi),e.test=this.type===y.types.semi?null:this.parseExpression(),this.expect(y.types.semi),e.update=this.type===y.types.parenR?null:this.parseExpression(),this.expect(y.types.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},n.parseForIn=function(e,t){var r=this.type===y.types._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,"".concat(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(y.types.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},n.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(y.types.eq)?n.init=this.parseMaybeAssign(t):"const"!==r||this.type===y.types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||t&&(this.type===y.types._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(y.types.comma))break}return e},n.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?_.BIND_VAR:_.BIND_LEXICAL,!1)},1),Xa=2;function Ya(e,t){var r=e.computed,e=e.key;return!r&&("Identifier"===e.type&&e.name===t||"Literal"===e.type&&e.value===t)}function Qa(e,t){var r,n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=((e,t)=>{var r;if(e)return"string"===typeof e?Ja(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ja(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ja(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=9||this.options.ecmaVersion>=6&&!n)&&(this.type===y.types.star&&t&Xa&&this.unexpected(),e.generator=this.eat(y.types.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&$a&&(e.id=4&t&&this.type!==y.types.name?null:this.parseIdent(),!e.id||t&Xa||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?_.BIND_VAR:_.BIND_LEXICAL:_.BIND_FUNCTION));var n=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope((0,_.functionFlags)(e.async,e.generator)),t&$a||(e.id=this.type===y.types.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,o),this.yieldPos=n,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(e,t&$a?"FunctionDeclaration":"FunctionExpression")},n.parseFunctionParams=function(e){this.expect(y.types.parenL),e.params=this.parseBindingList(y.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},n.parseClass=function(e,t){this.next();var r=this.strict,n=(this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e),this.enterClassBody()),o=this.startNode(),i=!1;for(o.body=[],this.expect(y.types.braceL);this.type!==y.types.braceR;){var s=this.parseClassElement(null!==e.superClass);s&&(o.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind?(i&&this.raise(s.start,"Duplicate constructor in the same class"),i=!0):s.key&&"PrivateIdentifier"===s.key.type&&((e,t)=>{var r=t.key.name,n=e[r],o="true";if("MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(o=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===o||"iset"===n&&"iget"===o||"sget"===n&&"sset"===o||"sset"===n&&"sget"===o)e[r]="true";else{if(n)return 1;e[r]=o}})(n,s)&&this.raiseRecoverable(s.key.start,"Identifier '#".concat(s.key.name,"' has already been declared")))}return this.strict=r,this.next(),e.body=this.finishNode(o,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},n.parseClassElement=function(e){if(this.eat(y.types.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",o=!1,i=!1,s="method",a=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(y.types.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===y.types.star?a=!0:n="static"}return r.static=a,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==y.types.star||this.canInsertSemicolon()?n="async":i=!0),!n&&(t>=9||!i)&&this.eat(y.types.star)&&(o=!0),n||i||o||(a=this.value,(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=a:n=a)),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===y.types.parenL||"method"!==s||o||i?(n=(a=!r.static&&Ya(r,"constructor"))&&e,a&&"method"!==s&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=a?"constructor":s,this.parseClassMethod(r,o,i,n)):this.parseClassField(r),r},n.isClassElementNameStart=function(){return this.type===y.types.name||this.type===y.types.privateId||this.type===y.types.num||this.type===y.types.string||this.type===y.types.bracketL||this.type.keyword},n.parseClassElementName=function(e){this.type===y.types.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)},n.parseClassMethod=function(e,t,r,n){var o=e.key,o=("constructor"===e.kind?(t&&this.raise(o.start,"Constructor can't be a generator"),r&&this.raise(o.start,"Constructor can't be an async method")):e.static&&Ya(e,"prototype")&&this.raise(o.start,"Classes may not have a static property named prototype"),e.value=this.parseMethod(t,r,n));return"get"===e.kind&&0!==o.params.length&&this.raiseRecoverable(o.start,"getter should have no params"),"set"===e.kind&&1!==o.params.length&&this.raiseRecoverable(o.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===o.params[0].type&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},n.parseClassField=function(e){var t,r;return Ya(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ya(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.types.eq)?(r=(t=this.currentThisScope()).inClassFieldInit,t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},n.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(_.SCOPE_CLASS_STATIC_BLOCK|_.SCOPE_SUPER);this.type!==y.types.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},n.parseClassId=function(e,t){this.type===y.types.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,_.BIND_LEXICAL,!1)):(!0===t&&this.unexpected(),e.id=null)},n.parseClassSuper=function(e){e.superClass=this.eat(y.types._extends)?this.parseExprSubscripts(!1):null},n.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},n.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,e=this.privateNameStack.length,n=0===e?null:this.privateNameStack[e-1],o=0;o=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==y.types.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");var r,n;if(this.eat(y.types._default))return this.checkExport(t,"default",this.lastTokStart),r=void 0,this.type===y.types._function||(r=this.isAsyncFunction())?(n=this.startNode(),this.next(),r&&this.next(),e.declaration=this.parseFunction(n,4|$a,!1,r)):this.type===y.types._class?(n=this.startNode(),e.declaration=this.parseClass(n,"nullableID")):(e.declaration=this.parseMaybeAssign(),this.semicolon()),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.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.types.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=Wa(e.specifiers);!(i=o()).done;){var i=i.value;this.checkUnreserved(i.local),this.checkLocalExport(i.local),"Literal"===i.local.type&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},n.checkExport=function(e,t,r){e&&((0,ja.hasOwn)(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},n.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t.name,t.start);else if("ObjectPattern"===r)for(var n,o=Wa(t.properties);!(n=o()).done;)this.checkPatternExport(e,n.value);else if("ArrayPattern"===r)for(var i=Wa(t.elements);!(s=i()).done;){var s=s.value;s&&this.checkPatternExport(e,s)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r?this.checkPatternExport(e,t.argument):"ParenthesizedExpression"===r&&this.checkPatternExport(e,t.expression)},n.checkVariableExport=function(e,t){if(e)for(var r,n=Wa(t);!(r=n()).done;)this.checkPatternExport(e,r.value.id)},n.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},n.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(y.types.braceL);!this.eat(y.types.braceR);){if(r)r=!1;else if(this.expect(y.types.comma),this.afterTrailingComma(y.types.braceR))break;var n=this.startNode();n.local=this.parseModuleExportName(),n.exported=this.eatContextual("as")?this.parseModuleExportName():n.local,this.checkExport(e,n.exported["Identifier"===n.exported.type?"name":"value"],n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t},n.parseImport=function(e){return this.next(),this.type===y.types.string?(e.specifiers=Ka,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===y.types.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},n.parseImportSpecifiers=function(){var e,t=[],r=!0;if(this.type===y.types.name&&((e=this.startNode()).local=this.parseIdent(),this.checkLValSimple(e.local,_.BIND_LEXICAL),t.push(this.finishNode(e,"ImportDefaultSpecifier")),!this.eat(y.types.comma)))return t;if(this.type===y.types.star)e=this.startNode(),this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,_.BIND_LEXICAL),t.push(this.finishNode(e,"ImportNamespaceSpecifier"));else for(this.expect(y.types.braceL);!this.eat(y.types.braceR);){if(r)r=!1;else if(this.expect(y.types.comma),this.afterTrailingComma(y.types.braceR))break;(e=this.startNode()).imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,_.BIND_LEXICAL),t.push(this.finishNode(e,"ImportSpecifier"))}return t},n.parseModuleExportName=function(){var e;return this.options.ecmaVersion>=13&&this.type===y.types.string?(e=this.parseLiteral(this.value),ja.loneSurrogate.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e):this.parseIdent(!0)},n.adaptDirectivePrologue=function(e){for(var t=0;t=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":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=Qa(e.properties);!(o=n()).done;){var o=o.value;this.toAssignable(o,t),"RestElement"!==o.type||"ArrayPattern"!==o.argument.type&&"ObjectPattern"!==o.argument.type||this.raise(o.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},Ts.toAssignableList=function(e,t){for(var r,n=e.length,o=0;o=6)switch(this.type){case y.types.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(y.types.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case y.types.braceL:return this.parseObj(!0)}return this.parseIdent()},Ts.parseBindingList=function(e,t,r){for(var n=[],o=!0;!this.eat(e);)if(o?o=!1:this.expect(y.types.comma),t&&this.type===y.types.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===y.types.ellipsis){var i=this.parseRestBinding();this.parseBindingListItem(i),n.push(i),this.type===y.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}i=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(i),n.push(i)}return n},Ts.parseBindingListItem=function(e){return e},Ts.parseMaybeDefault=function(e,t,r){return r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.types.eq)?r:((e=this.startNodeAt(e,t)).left=r,e.right=this.parseMaybeAssign(),this.finishNode(e,"AssignmentPattern"))},Ts.checkLValSimple=function(e,t,r){var n=(t=void 0===t?_.BIND_NONE:t)!==_.BIND_NONE;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===_.BIND_LEXICAL&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&((0,ja.hasOwn)(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==_.BIND_OUTSIDE)&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}},Ts.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=_.BIND_NONE),e.type){case"ObjectPattern":for(var n,o=Qa(e.properties);!(n=o()).done;)this.checkLValInnerPattern(n.value,t,r);break;case"ArrayPattern":for(var i=Qa(e.elements);!(s=i()).done;){var s=s.value;s&&this.checkLValInnerPattern(s,t,r)}break;default:this.checkLValSimple(e,t,r)}},Ts.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=_.BIND_NONE),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var Za=H(function(e,t){t.__esModule=!0,t.types=t.TokContext=void 0;var r=function(e,t,r,n,o){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!o},n={b_stat:new(t.TokContext=r)("{",!1),b_expr:new r("{",!0),b_tmpl:new r("${",!1),p_stat:new r("(",!1),p_expr:new r("(",!0),q_tmpl:new r("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new r("function",!1),f_expr:new r("function",!0),f_expr_gen:new r("function",!0,!1,null,!0),f_gen:new r("function",!1,!1,null,!0)},r=(t.types=n,Ua.Parser.prototype);r.initialContext=function(){return[n.b_stat]},r.curContext=function(){return this.context[this.context.length-1]},r.braceIsBlock=function(e){var t=this.curContext();return t===n.f_expr||t===n.f_stat||(e!==y.types.colon||t!==n.b_stat&&t!==n.b_expr?e===y.types._return||e===y.types.name&&this.exprAllowed?v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):e===y.types._else||e===y.types.semi||e===y.types.eof||e===y.types.parenR||e===y.types.arrow||(e===y.types.braceL?t===n.b_stat:e!==y.types._var&&e!==y.types._const&&e!==y.types.name&&!this.exprAllowed):!t.isExpr)},r.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},r.updateContext=function(e){var t,r=this.type;r.keyword&&e===y.types.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},r.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},y.types.parenR.updateContext=y.types.braceR.updateContext=function(){var e;1===this.context.length?this.exprAllowed=!0:((e=this.context.pop())===n.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr)},y.types.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?n.b_stat:n.b_expr),this.exprAllowed=!0},y.types.dollarBraceL.updateContext=function(){this.context.push(n.b_tmpl),this.exprAllowed=!0},y.types.parenL.updateContext=function(e){e=e===y.types._if||e===y.types._for||e===y.types._with||e===y.types._while;this.context.push(e?n.p_stat:n.p_expr),this.exprAllowed=!0},y.types.incDec.updateContext=function(){},y.types._function.updateContext=y.types._class.updateContext=function(e){!e.beforeExpr||e===y.types._else||e===y.types.semi&&this.curContext()!==n.p_stat||e===y.types._return&&v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(e===y.types.colon||e===y.types.braceL)&&this.curContext()===n.b_stat?this.context.push(n.f_stat):this.context.push(n.f_expr),this.exprAllowed=!1},y.types.backQuote.updateContext=function(){this.curContext()===n.q_tmpl?this.context.pop():this.context.push(n.q_tmpl),this.exprAllowed=!1},y.types.star.updateContext=function(e){e===y.types._function&&(e=this.context.length-1,this.context[e]===n.f_expr?this.context[e]=n.f_expr_gen:this.context[e]=n.f_gen),this.exprAllowed=!0},y.types.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t}});function ec(e,t){var r,n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=((e,t)=>{var r;if(e)return"string"===typeof e?tc(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tc(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=9&&"SpreadElement"===e.type)&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key;switch(n.type){case"Identifier":o=n.name;break;case"Literal":o=String(n.value);break;default:return}var o,e=e.kind;this.options.ecmaVersion>=6?"__proto__"===o&&"init"===e&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0):((r=t[o="$"+o])?("init"===e?this.strict&&r.init||r.get||r.set:r.init||r[e])&&this.raiseRecoverable(n.start,"Redefinition of property"):r=t[o]={init:!1,get:!1,set:!1},r[e]=!0)}},m.parseExpression=function(e,t){var r=this.start,n=this.startLoc,o=this.parseMaybeAssign(e,t);if(this.type!==y.types.comma)return o;var i=this.startNodeAt(r,n);for(i.expressions=[o];this.eat(y.types.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")},m.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,o=-1,i=-1,s=-1,a=(t?(o=t.parenthesizedAssign,i=t.trailingComma,s=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Va.DestructuringErrors,n=!0),this.start),c=this.startLoc,l=(this.type!==y.types.parenL&&this.type!==y.types.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e),this.parseMaybeConditional(e,t));return r&&(l=r.call(this,l,a,c)),this.type.isAssign?((r=this.startNodeAt(a,c)).operator=this.value,this.type===y.types.eq&&(l=this.toAssignable(l,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===y.types.eq?this.checkLValPattern(l):this.checkLValSimple(l),r.left=l,this.next(),r.right=this.parseMaybeAssign(e),s>-1&&(t.doubleProto=s),this.finishNode(r,"AssignmentExpression")):(n&&this.checkExpressionErrors(t,!0),o>-1&&(t.parenthesizedAssign=o),i>-1&&(t.trailingComma=i),l)},m.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,o=this.parseExprOps(e,t);return!this.checkExpressionErrors(t)&&this.eat(y.types.question)?((t=this.startNodeAt(r,n)).test=o,t.consequent=this.parseMaybeAssign(),this.expect(y.types.colon),t.alternate=this.parseMaybeAssign(e),this.finishNode(t,"ConditionalExpression")):o},m.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,o=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||o.start===r&&"ArrowFunctionExpression"===o.type?o:this.parseExprOp(o,r,n,-1,e)},m.parseExprOp=function(e,t,r,n,o){var i,s,a,c,l,u=this.type.binop;if(null!=u&&(!o||this.type!==y.types._in)&&u>n)return i=this.type===y.types.logicalOR||this.type===y.types.logicalAND,(s=this.type===y.types.coalesce)&&(u=y.types.logicalAND.binop),a=this.value,this.next(),c=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,o),c,l,u,o),l=this.buildBinary(t,r,e,c,a,i||s),(i&&this.type===y.types.coalesce||s&&(this.type===y.types.logicalOR||this.type===y.types.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(l,t,r,n,o);return e},m.buildBinary=function(e,t,r,n,o,i){"PrivateIdentifier"===n.type&&this.raise(n.start,"Private identifier can only be left side of binary expression");e=this.startNodeAt(e,t);return e.left=r,e.operator=o,e.right=n,this.finishNode(e,i?"LogicalExpression":"BinaryExpression")},m.parseMaybeUnary=function(e,t,r,n){var o,i=this.start,s=this.startLoc;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(n),t=!0;else if(this.type.prefix){var a=this.startNode(),c=this.type===y.types.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0,c,n),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):"delete"===a.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)}(a.argument)?this.raiseRecoverable(a.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(a,c?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==y.types.privateId){if(o=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();)(a=this.startNodeAt(i,s)).operator=this.value,a.prefix=!1,a.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(a,"UpdateExpression")}else!n&&0!==this.privateNameStack.length||this.unexpected(),o=this.parsePrivateIdent(),this.type!==y.types._in&&this.unexpected();return r||!this.eat(y.types.starstar)?o:t?void this.unexpected(this.lastTokStart):this.buildBinary(i,s,o,this.parseMaybeUnary(null,!1,!1,n),"**",!1)},m.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,o=this.parseExprAtom(e,t);return"ArrowFunctionExpression"===o.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd)||(o=this.parseSubscripts(o,r,n,!1,t),e&&"MemberExpression"===o.type&&(e.parenthesizedAssign>=o.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=o.start&&(e.parenthesizedBind=-1),e.trailingComma>=o.start)&&(e.trailingComma=-1)),o},m.parseSubscripts=function(e,t,r,n,o){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,s=!1;;){var a,c=this.parseSubscript(e,t,r,n,i,s,o);if(c.optional&&(s=!0),c===e||"ArrowFunctionExpression"===c.type)return s&&((a=this.startNodeAt(t,r)).expression=c,c=this.finishNode(a,"ChainExpression")),c;e=c}},m.parseSubscript=function(e,t,r,n,o,i,s){var a=this.options.ecmaVersion>=11,c=a&&this.eat(y.types.questionDot),l=(n&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions"),this.eat(y.types.bracketL));if(l||c&&this.type!==y.types.parenL&&this.type!==y.types.backQuote||this.eat(y.types.dot))(u=this.startNodeAt(t,r)).object=e,l?(u.property=this.parseExpression(),this.expect(y.types.bracketR)):this.type===y.types.privateId&&"Super"!==e.type?u.property=this.parsePrivateIdent():u.property=this.parseIdent("never"!==this.options.allowReserved),u.computed=!!l,a&&(u.optional=c||u.object.optional),e=this.finishNode(u,"MemberExpression");else if(!n&&this.eat(y.types.parenL)){var u,l=new Va.DestructuringErrors,n=this.yieldPos,p=this.awaitPos,h=this.awaitIdentPos,d=(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.parseExprList(y.types.parenR,this.options.ecmaVersion>=8,!1,l));if(o&&!c&&!this.canInsertSemicolon()&&this.eat(y.types.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=n,this.awaitPos=p,this.awaitIdentPos=h,this.parseArrowExpression(this.startNodeAt(t,r),d,!0,s);this.checkExpressionErrors(l,!0),this.yieldPos=n||this.yieldPos,this.awaitPos=p||this.awaitPos,this.awaitIdentPos=h||this.awaitIdentPos,(u=this.startNodeAt(t,r)).callee=e,u.arguments=d,a&&(u.optional=c),e=this.finishNode(u,"CallExpression")}else this.type===y.types.backQuote&&((c||i)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions"),(u=this.startNodeAt(t,r)).tag=e,u.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(u,"TaggedTemplateExpression"));return e},m.parseExprAtom=function(e,t){this.type===y.types.slash&&this.readRegexp();var r=this.potentialArrowAt===this.start;switch(this.type){case y.types._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),a=this.startNode(),this.next(),this.type!==y.types.parenL||this.allowDirectSuper||this.raise(a.start,"super() call outside constructor of a subclass"),this.type!==y.types.dot&&this.type!==y.types.bracketL&&this.type!==y.types.parenL&&this.unexpected(),this.finishNode(a,"Super");case y.types._this:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case y.types.name:var n=this.start,o=this.startLoc,i=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!i&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(y.types._function))return this.overrideContext(Za.types.f_expr),this.parseFunction(this.startNodeAt(n,o),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(y.types.arrow))return this.parseArrowExpression(this.startNodeAt(n,o),[s],!1,t);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===y.types.name&&!i&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(y.types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,o),[s],!0,t)}return s;case y.types.regexp:var a,i=this.value;return(a=this.parseLiteral(i.value)).regex={pattern:i.pattern,flags:i.flags},a;case y.types.num:case y.types.string:return this.parseLiteral(this.value);case y.types._null:case y.types._true:case y.types._false:return(a=this.startNode()).value=this.type===y.types._null?null:this.type===y.types._true,a.raw=this.type.keyword,this.next(),this.finishNode(a,"Literal");case y.types.parenL:n=this.start,o=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(o)&&(e.parenthesizedAssign=n),e.parenthesizedBind<0)&&(e.parenthesizedBind=n),o;case y.types.bracketL:return a=this.startNode(),this.next(),a.elements=this.parseExprList(y.types.bracketR,!0,!0,e),this.finishNode(a,"ArrayExpression");case y.types.braceL:return this.overrideContext(Za.types.b_expr),this.parseObj(!1,e);case y.types._function:return a=this.startNode(),this.next(),this.parseFunction(a,0);case y.types._class:return this.parseClass(this.startNode(),!1);case y.types._new:return this.parseNew();case y.types.backQuote:return this.parseTemplate();case y.types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},m.parseExprImport=function(){var e=this.startNode(),t=(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.parseIdent(!0));switch(this.type){case y.types.parenL:return this.parseDynamicImport(e);case y.types.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},m.parseDynamicImport=function(e){var t;return this.next(),e.source=this.parseMaybeAssign(),this.eat(y.types.parenR)||(t=this.start,this.eat(y.types.comma)&&this.eat(y.types.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)),this.finishNode(e,"ImportExpression")},m.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")},m.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.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")},m.parseParenExpression=function(){this.expect(y.types.parenL);var e=this.parseExpression();return this.expect(y.types.parenR),e},m.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start,o=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc,c=[],l=!0,u=!1,p=new Va.DestructuringErrors,h=this.yieldPos,d=this.awaitPos,f=void 0;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.types.parenR;){if(l?l=!1:this.expect(y.types.comma),i&&this.afterTrailingComma(y.types.parenR,!0)){u=!0;break}if(this.type===y.types.ellipsis){f=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===y.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(y.types.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.types.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=d,this.parseParenArrowList(n,o,c,t);c.length&&!u||this.unexpected(this.lastTokStart),f&&this.unexpected(f),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?((r=this.startNodeAt(s,a)).expressions=c,this.finishNodeAt(r,"SequenceExpression",m,g)):r=c[0]}else r=this.parseParenExpression();return this.options.preserveParens?((e=this.startNodeAt(n,o)).expression=r,this.finishNode(e,"ParenthesizedExpression")):r},m.parseParenItem=function(e){return e},m.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var rc=[],Ps=(m.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e,t,r=this.startNode(),n=this.parseIdent(!0);return this.options.ecmaVersion>=6&&this.eat(y.types.dot)?(r.meta=n,n=this.containsEsc,r.property=this.parseIdent(!0),"target"!==r.property.name&&this.raiseRecoverable(r.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(r.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(r.start,"'new.target' can only be used in functions and class static block"),this.finishNode(r,"MetaProperty")):(n=this.start,e=this.startLoc,t=this.type===y.types._import,r.callee=this.parseSubscripts(this.parseExprAtom(),n,e,!0,!1),t&&"ImportExpression"===r.callee.type&&this.raise(n,"Cannot use new with import()"),this.eat(y.types.parenL)?r.arguments=this.parseExprList(y.types.parenR,this.options.ecmaVersion>=8,!1):r.arguments=rc,this.finishNode(r,"NewExpression"))},m.parseTemplateElement=function(e){var e=e.isTagged,t=this.startNode();return this.type===y.types.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),t.value={raw:this.value,cooked:null}):t.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),t.tail=this.type===y.types.backQuote,this.finishNode(t,"TemplateElement")},m.parseTemplate=function(e){var e=(void 0===e?{}:e).isTagged,t=void 0!==e&&e,r=this.startNode(),n=(this.next(),r.expressions=[],this.parseTemplateElement({isTagged:t}));for(r.quasis=[n];!n.tail;)this.type===y.types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.types.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(y.types.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},m.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===y.types.name||this.type===y.types.num||this.type===y.types.string||this.type===y.types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.types.star)&&!v.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},m.parseObj=function(e,t){var r=this.startNode(),n=!0,o={};for(r.properties=[],this.next();!this.eat(y.types.braceR);){if(n)n=!1;else if(this.expect(y.types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.types.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,o,t),r.properties.push(i)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},m.parseProperty=function(e,t){var r,n,o,i,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.types.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===y.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===y.types.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0)&&(t.parenthesizedBind=this.start),s.argument=this.parseMaybeAssign(!1,t),this.type===y.types.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(o=this.start,i=this.startLoc),e||(r=this.eat(y.types.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(s)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(y.types.star),this.parsePropertyName(s,t)):n=!1,this.parsePropertyValue(s,e,r,n,o,i,t,a),this.finishNode(s,"Property")},m.parsePropertyValue=function(e,t,r,n,o,i,s,a){(r||n)&&this.type===y.types.colon&&this.unexpected(),this.eat(y.types.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init"):this.options.ecmaVersion>=6&&this.type===y.types.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n)):t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===y.types.comma||this.type===y.types.braceR||this.type===y.types.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=o),e.kind="init",t?e.value=this.parseMaybeDefault(o,i,this.copyNode(e.key)):this.type===y.types.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(o,i,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1),a="get"===e.kind?0:1,e.value.params.length!==a?(t=e.value.start,"get"===e.kind?this.raiseRecoverable(t,"getter should have no params"):this.raiseRecoverable(t,"setter should have exactly one param")):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params"))},m.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.types.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.types.bracketR),e.key;e.computed=!1}return e.key=this.type===y.types.num||this.type===y.types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},m.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},m.parseMethod=function(e,t,r){var n=this.startNode(),o=this.yieldPos,i=this.awaitPos,s=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((0,_.functionFlags)(t,n.generator)|_.SCOPE_SUPER|(r?_.SCOPE_DIRECT_SUPER:0)),this.expect(y.types.parenL),n.params=this.parseBindingList(y.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=o,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(n,"FunctionExpression")},m.parseArrowExpression=function(e,t,r,n){var o=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;return this.enterScope((0,_.functionFlags)(r,!1)|_.SCOPE_ARROW),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=o,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},m.parseFunctionBody=function(e,t,r,n){var o=t&&this.type!==y.types.braceL,i=this.strict,s=!1;o?(e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1)):(o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params),i&&!o||(s=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"),n=this.labels,this.labels=[],s&&(this.strict=!0),this.checkParams(e,!i&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,_.BIND_OUTSIDE),e.body=this.parseBlock(!1,void 0,s&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=n),this.exitScope()},m.isSimpleParamList=function(e){for(var t,r=ec(e);!(t=r()).done;)if("Identifier"!==t.value.type)return!1;return!0},m.checkParams=function(e,t){for(var r,n=Object.create(null),o=ec(e.params);!(r=o()).done;)this.checkLValInnerPattern(r.value,_.BIND_VAR,t?null:n)},m.parseExprList=function(e,t,r,n){for(var o=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(y.types.comma),t&&this.afterTrailingComma(e))break;var s=void 0;r&&this.type===y.types.comma?s=null:this.type===y.types.ellipsis?(s=this.parseSpread(n),n&&this.type===y.types.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):s=this.parseMaybeAssign(!1,n),o.push(s)}return o},m.checkUnreserved=function(e){var t=e.start,r=e.end,e=e.name;this.inGenerator&&"yield"===e&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===e&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===e&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==e&&"await"!==e||this.raise(t,"Cannot use ".concat(e," in class static initialization block")),this.keywords.test(e)&&this.raise(t,"Unexpected keyword '".concat(e,"'")),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(e)&&(this.inAsync||"await"!==e||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '".concat(e,"' is reserved")))},m.parseIdent=function(e,t){var r=this.startNode();return this.type===y.types.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,"class"!==r.name&&"function"!==r.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),"await"!==r.name)||this.awaitIdentPos||(this.awaitIdentPos=r.start),r},m.parsePrivateIdent=function(){var e=this.startNode();return this.type===y.types.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),0===this.privateNameStack.length?this.raise(e.start,"Private field '#".concat(e.name,"' must be declared in an enclosing class")):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e},m.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===y.types.semi||this.canInsertSemicolon()||this.type!==y.types.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(y.types.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},m.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")},(Is=Ua.Parser.prototype).raise=function(e,t){var r=(0,Ha.getLineInfo)(this.input,e),t=(t+=" ("+r.line+":"+r.column+")",new SyntaxError(t));throw t.pos=e,t.loc=r,t.raisedAt=this.pos,t},Is.raiseRecoverable=Is.raise,Is.curPosition=function(){if(this.options.locations)return new Ha.Position(this.curLine,this.pos-this.lineStart)},Ua.Parser.prototype),nc=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1},oc=(Ps.enterScope=function(e){this.scopeStack.push(new nc(e))},Ps.exitScope=function(){this.scopeStack.pop()},Ps.treatFunctionsAsVarInScope=function(e){return e.flags&_.SCOPE_FUNCTION||!this.inModule&&e.flags&_.SCOPE_TOP},Ps.declareName=function(e,t,r){var n=!1;if(t===_.BIND_LEXICAL){n=(o=this.currentScope()).lexical.indexOf(e)>-1||o.functions.indexOf(e)>-1||o.var.indexOf(e)>-1;o.lexical.push(e),this.inModule&&o.flags&_.SCOPE_TOP&&delete this.undefinedExports[e]}else if(t===_.BIND_SIMPLE_CATCH)(o=this.currentScope()).lexical.push(e);else if(t===_.BIND_FUNCTION){var o=this.currentScope();n=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var i=this.scopeStack.length-1;i>=0;--i){if((o=this.scopeStack[i]).lexical.indexOf(e)>-1&&!(o.flags&_.SCOPE_SIMPLE_CATCH&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){n=!0;break}if(o.var.push(e),this.inModule&&o.flags&_.SCOPE_TOP&&delete this.undefinedExports[e],o.flags&_.SCOPE_VAR)break}n&&this.raiseRecoverable(r,"Identifier '".concat(e,"' has already been declared"))},Ps.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Ps.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ps.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&_.SCOPE_VAR)return t}},Ps.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&_.SCOPE_VAR&&!(t.flags&_.SCOPE_ARROW))return t}},H(function(e,t){t.__esModule=!0,t.Node=void 0;var n=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ha.SourceLocation(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},t=(t.Node=n,Ua.Parser.prototype);function o(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}t.startNode=function(){return new n(this,this.start,this.startLoc)},t.startNodeAt=function(e,t){return new n(this,e,t)},t.finishNode=function(e,t){return o.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},t.finishNodeAt=function(e,t,r,n){return o.call(this,e,t,r,n)},t.copyNode=function(e){var t,r=new n(this,e.start,this.startLoc);for(t in e)r[t]=e[t];return r}})),ic=H(function(e,t){t.__esModule=!0,t.default=void 0;var r="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",n=r+" Extended_Pictographic",o=n+" EBase EComp EMod EPres ExtPict",i={9:r,10:n,11:n,12:o,13:"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 Extended_Pictographic EBase EComp EMod EPres ExtPict"},s="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",r="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",n=r+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",o=n+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",a=o+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",c={9:r,10:n,11:o,12:a,13:"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 Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith"},l={};for(var u,p=0,h=[9,10,11,12,13];p{var r;if(e)return"string"===typeof e?o(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0})(e))||t&&e&&"number"===typeof e.length)return n&&(e=n),r=0,function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=6?"uy":"").concat(e.options.ecmaVersion>=9?"s":"").concat(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=r.default[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 a(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function c(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function u(e){return l(e)||95===e}function p(e){return e>=48&&e<=57}function h(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function d(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function f(e){return e>=48&&e<=55}s.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},s.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /".concat(this.source,"/: ").concat(e))},s.prototype.at=function(e,t){void 0===t&&(t=!1);var r,n=this.source,o=n.length;return e>=o?-1:(r=n.charCodeAt(e),!(!t&&!this.switchU||r<=55295||r>=57344||e+1>=o)&&(t=n.charCodeAt(e+1))>=56320&&t<=57343?(r<<10)+t-56613888:r)},s.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r,n=this.source,o=n.length;return e>=o?o:(r=n.charCodeAt(e),!t&&!this.switchU||r<=55295||r>=57344||e+1>=o||(t=n.charCodeAt(e+1))<56320||t>57343?e+1:e+2)},s.prototype.current=function(e){return this.at(this.pos,e=void 0===e?!1:e)},s.prototype.lookahead=function(e){return this.at(this.nextIndex(this.pos,e=void 0===e?!1:e),e)},s.prototype.advance=function(e){this.pos=this.nextIndex(this.pos,e=void 0===e?!1:e)},s.prototype.eat=function(e,t){return this.current(t=void 0===t?!1:t)===e&&(this.advance(t),!0)},t.RegExpValidationState=s,i.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n-1&&this.raise(e.start,"Duplicate regular expression flag")}},i.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},i.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,r=n(e.backReferenceNames);!(t=r()).done;)-1===e.groupNames.indexOf(t.value)&&e.raise("Invalid named capture referenced")},i.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},i.regexp_alternative=function(e){for(;e.pos=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},i.regexp_eatQuantifier=function(e,t){return!!this.regexp_eatQuantifierPrefix(e,t=void 0===t?!1:t)&&(e.eat(63),!0)},i.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},i.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n,o=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(o=e.lastIntValue),e.eat(125)))return-1!==o&&o=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},i.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)},i.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},i.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!c(t)&&(e.lastIntValue=t,e.advance(),!0)},i.regexp_eatPatternCharacters=function(e){for(var t,r=e.pos;-1!==(t=e.current())&&!c(t);)e.advance();return e.pos!==r},i.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)},i.regexp_groupSpecifier=function(e){e.eat(63)&&(this.regexp_eatGroupName(e)?(-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue)):e.raise("Invalid group"))},i.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},i.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=a(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=a(e.lastIntValue);return!0}return!1},i.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),r=n,(0,Ra.isIdentifierStart)(r,!0)||36===r||95===r?(e.lastIntValue=n,!0):(e.pos=t,!1)},i.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),r=n,(0,Ra.isIdentifierChar)(r,!0)||36===r||95===r||8204===r||8205===r?(e.lastIntValue=n,!0):(e.pos=t,!1)},i.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)},i.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},i.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},i.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)},i.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},i.regexp_eatZero=function(e){return 48===e.current()&&!p(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},i.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)},i.regexp_eatControlLetter=function(e){var t=e.current();return!!l(t)&&(e.lastIntValue=t%32,e.advance(),!0)},i.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){var r=e.pos,t=(t=void 0===t?!1:t)||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(t&&n>=55296&&n<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(i>=56320&&i<=57343)return e.lastIntValue=1024*(n-55296)+(i-56320)+65536,!0}e.pos=o,e.lastIntValue=n}return!0}if(t&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(i=e.lastIntValue)>=0&&i<=1114111)return!0;t&&e.raise("Invalid unicode escape"),e.pos=r}return!1},i.regexp_eatIdentityEscape=function(e){var t;return e.switchU?!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0):!(99===(t=e.current())||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},i.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){for(;e.lastIntValue=10*e.lastIntValue+(t-48),e.advance(),(t=e.current())>=48&&t<=57;);return!0}return!1},i.regexp_eatCharacterClassEscape=function(e){var t,r=e.current();if(100===(t=r)||68===t||115===t||83===t||119===t||87===t)return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===r||112===r)){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},i.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r,n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return r=e.lastStringValue,this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}return e.pos=t,!!this.regexp_eatLoneUnicodePropertyNameOrValue(e)&&(n=e.lastStringValue,this.regexp_validateUnicodePropertyNameOrValue(e,n),!0)},i.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){(0,ja.hasOwn)(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},i.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},i.regexp_eatUnicodePropertyName=function(e){var t;for(e.lastStringValue="";u(t=e.current());)e.lastStringValue+=a(t),e.advance();return""!==e.lastStringValue},i.regexp_eatUnicodePropertyValue=function(e){var t,r;for(e.lastStringValue="";u(r=t=e.current())||p(r);)e.lastStringValue+=a(t),e.advance();return""!==e.lastStringValue},i.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},i.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},i.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t,r=e.lastIntValue;e.eat(45)&&this.regexp_eatClassAtom(e)&&(t=e.lastIntValue,!e.switchU||-1!==r&&-1!==t||e.raise("Invalid character class"),-1!==r)&&-1!==t&&r>t&&e.raise("Range out of order in character class")}},i.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;e.switchU&&(99!==(r=e.current())&&!f(r)||e.raise("Invalid class escape"),e.raise("Invalid escape")),e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},i.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)},i.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!p(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},i.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},i.regexp_eatDecimalDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;p(t=e.current());)e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();return e.pos!==r},i.regexp_eatHexDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;h(t=e.current());)e.lastIntValue=16*e.lastIntValue+d(t),e.advance();return e.pos!==r},i.regexp_eatLegacyOctalEscapeSequence=function(e){var t,r;return!!this.regexp_eatOctalDigit(e)&&(t=e.lastIntValue,this.regexp_eatOctalDigit(e)?(r=e.lastIntValue,t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r):e.lastIntValue=t,!0)},i.regexp_eatOctalDigit=function(e){var t=e.current();return f(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},i.regexp_eatFixedHexDigits=function(e,t){for(var r=e.pos,n=e.lastIntValue=0;n>10),56320+(1023&e)))}t.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new r(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},t.getToken=function(){return this.next(),new r(this)},"undefined"!==typeof Symbol&&(t[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===y.types.eof,value:e}}}}),t.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(y.types.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},t.readToken=function(e){return(0,Ra.isIdentifierStart)(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},t.fullCharCodeAtPos=function(){var e,t=this.input.charCodeAt(this.pos);return t<=55295||t>=56320||(e=this.input.charCodeAt(this.pos+1))<=56319||e>=57344?t:(t<<10)+e-56613888},t.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,o=t;(n=(0,v.nextLineBreak)(this.input,o,this.pos))>-1;)++this.curLine,o=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},t.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos8&&e<14||e>=5760&&v.nonASCIIwhitespace.test(String.fromCharCode(e))))break e;++this.pos}}},t.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},t.readToken_dot=function(){var e,t=this.input.charCodeAt(this.pos+1);return t>=48&&t<=57?this.readNumber(!0):(e=this.input.charCodeAt(this.pos+2),this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(y.types.ellipsis)):(++this.pos,this.finishToken(y.types.dot)))},t.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(y.types.assign,2):this.finishOp(y.types.slash,1)},t.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?y.types.star:y.types.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=y.types.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(y.types.assign,r+1):this.finishOp(n,r)},t.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t!==e)return 61===t?this.finishOp(y.types.assign,2):this.finishOp(124===e?y.types.bitwiseOR:y.types.bitwiseAND,1);if(this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2))return this.finishOp(y.types.assign,3);return this.finishOp(124===e?y.types.logicalOR:y.types.logicalAND,2)},t.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.types.assign,2):this.finishOp(y.types.bitwiseXOR,1)},t.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!v.lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(y.types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(y.types.assign,2):this.finishOp(y.types.plusMin,1)},t.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(y.types.assign,r+1):this.finishOp(y.types.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?this.finishOp(y.types.relational,r=61===t?2:r):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},t.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(y.types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.types.arrow)):this.finishOp(61===e?y.types.eq:y.types.prefix,1)},t.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t,r=this.input.charCodeAt(this.pos+1);if(46===r)if((t=this.input.charCodeAt(this.pos+2))<48||t>57)return this.finishOp(y.types.questionDot,2);if(63===r){if(e>=12)if(61===(t=this.input.charCodeAt(this.pos+2)))return this.finishOp(y.types.assign,3);return this.finishOp(y.types.coalesce,2)}}return this.finishOp(y.types.question,1)},t.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),(0,Ra.isIdentifierStart)(t,!0)||92===t))return this.finishToken(y.types.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+i(t)+"'")},t.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.types.parenL);case 41:return++this.pos,this.finishToken(y.types.parenR);case 59:return++this.pos,this.finishToken(y.types.semi);case 44:return++this.pos,this.finishToken(y.types.comma);case 91:return++this.pos,this.finishToken(y.types.bracketL);case 93:return++this.pos,this.finishToken(y.types.bracketR);case 123:return++this.pos,this.finishToken(y.types.braceL);case 125:return++this.pos,this.finishToken(y.types.braceR);case 58:return++this.pos,this.finishToken(y.types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.types.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(y.types.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+i(e)+"'")},t.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},t.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(v.lineBreak.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 o=this.input.slice(r,this.pos),i=(++this.pos,this.pos),s=this.readWord1(),i=(this.containsEsc&&this.unexpected(i),this.regexpState||(this.regexpState=new sc.RegExpValidationState(this))),i=(i.reset(r,o,s),this.validateRegExpFlags(i),this.validateRegExpPattern(i),null);try{i=new RegExp(o,s)}catch(e){}return this.finishToken(y.types.regexp,{pattern:o,flags:s,value:i})},t.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,o=r&&48===this.input.charCodeAt(this.pos),r=this.pos,i=0,s=0,a=0,c=null==t?1/0:t;a=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=e)break;s=l,i=i*e+u}}return n&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===r||null!=t&&this.pos-r!==t?null:i},t.readRadixNumber=function(e){var t=this.pos,r=(this.pos+=2,this.readInt(e));return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r=o(this.input.slice(t,this.pos)),++this.pos):(0,Ra.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.types.num,r)},t.readNumber=function(e){var t=this.pos,r=(e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number"),this.pos-t>=2&&48===this.input.charCodeAt(t)),n=(r&&this.strict&&this.raise(t,"Invalid number"),this.input.charCodeAt(this.pos));if(!r&&!e&&this.options.ecmaVersion>=11&&110===n)return e=o(this.input.slice(t,this.pos)),++this.pos,(0,Ra.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.types.num,e);r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),(0,Ra.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");e=this.input.slice(t,this.pos);n=r?parseInt(e,8):parseFloat(e.replace(/_/g,""));return this.finishToken(y.types.num,n)},t.readCodePoint=function(){var e,t;return 123===this.input.charCodeAt(this.pos)?(this.options.ecmaVersion<6&&this.unexpected(),e=++this.pos,t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")):t=this.readHexChar(4),t},t.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t=(t+=this.input.slice(r,this.pos))+this.readEscapedChar(!1),r=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):((0,v.isNewLine)(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(y.types.string,t)};var n={};t.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==n)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},t.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw n;this.raise(e,t)},t.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!==y.types.template&&this.type!==y.types.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(y.types.template,e)):36===r?(this.pos+=2,this.finishToken(y.types.dollarBraceL)):(++this.pos,this.finishToken(y.types.backQuote));if(92===r)e=(e+=this.input.slice(t,this.pos))+this.readEscapedChar(!0),t=this.pos;else if((0,v.isNewLine)(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}},t.readInvalidTemplateToken=function(){for(;this.pos=48&&n<=55?(t=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],(r=parseInt(t,8))>255&&(t=t.slice(0,-1),r=parseInt(t,8)),this.pos+=t.length-1,n=this.input.charCodeAt(this.pos),"0"===t&&56!==n&&57!==n||!this.strict&&!e||this.invalidStringToken(this.pos-1-t.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)):(0,v.isNewLine)(n)?"":String.fromCharCode(n)}},t.readHexChar=function(e){var t=this.pos,e=this.readInt(16,e);return null===e&&this.invalidStringToken(t,"Bad character escape sequence"),e},t.readWord1=function(){for(var e="",t=!(this.containsEsc=!1),r=this.pos,n=this.options.ecmaVersion>=6;this.pos{if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};if((t=s(t))&&t.has(e))return t.get(e);var r,n,o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&((n=i?Object.getOwnPropertyDescriptor(e,r):null)&&(n.get||n.set)?Object.defineProperty(o,r,n):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o})(ja);function s(e){var t,r;return"function"!==typeof WeakMap?null:(t=new WeakMap,r=new WeakMap,(s=function(e){return e?r:t})(e))}Ua.Parser.acorn={Parser:Ua.Parser,version:t.version="8.7.0",defaultOptions:Ba.defaultOptions,Position:Ha.Position,SourceLocation:Ha.SourceLocation,getLineInfo:Ha.getLineInfo,Node:oc.Node,TokenType:y.TokenType,tokTypes:y.types,keywordTypes:y.keywords,TokContext:Za.TokContext,tokContexts:Za.types,isIdentifierChar:Ra.isIdentifierChar,isIdentifierStart:Ra.isIdentifierStart,Token:ac.Token,isNewLine:v.isNewLine,lineBreak:v.lineBreak,lineBreakG:v.lineBreakG,nonASCIIwhitespace:v.nonASCIIwhitespace};var n=r.wordsRegexp,o={};r.wordsRegexp=function(e){return o[e]||(o[e]=n(e)),o[e]}}),lc=/^(\xEF\xBB\xBF|\xFE\xFF|\xFF\xFE|\x00\x00\xFE\xFF|\xFF\xFE\x00\x00|\x2B\x2F\x76\x38|\x2B\x2F\x76\x39|\x2B\x2F\x76\x2B|\x2B\x2F\x76\x2F|\xF7\x64\x4C|\xDD\x73\x66\x73|\x0E\xFE\xFF|\xFB\xEE\x28|\x84\x31\x95\x33)/,uc=/(^|\n)\s*[^\n]*([\n\s]*)?$/,$c=/^(\s)*|--!>)\s*$/,Yc=/^\s*javascript\s*:/i,Qc=/^\s*(application\/(x-)?(ecma|java)script|text\/(javascript(1\.[0-5])?|((x-)?ecma|x-java|js|live)script)|module)\s*$/i,Jc=["animate","animateColor","animateMotion","animateTransform","mpath","set","linearGradient","radialGradient","stop","a","altglyph","color-profile","cursor","feimage","filter","font-face-uri","glyphref","image","mpath","pattern","script","textpath","use","tref"],Zc=["script","link"],el=["a","form","area","input","button"],tl="modulepreload",rl="hammerhead|element-processed",nl="hammerhead|autocomplete-attribute-absence-marker",I=(S.isTagWithTargetAttr=function(e){return!!e&&Cc.target.indexOf(e)>-1},S.isTagWithFormTargetAttr=function(e){return!!e&&Cc.formtarget.indexOf(e)>-1},S.isTagWithIntegrityAttr=function(e){return!!e&&-1!==Zc.indexOf(e)},S.isIframeFlagTag=function(e){return!!e&&-1!==el.indexOf(e)},S.isAddedAutocompleteAttr=function(e,t){return"autocomplete"===e&&t===nl},S.processJsAttrValue=function(e,t){var r=t.isJsProtocol,t=t.isEventAttr;return e=Sc(e=r?e.replace(Yc,""):e,!1,r&&!t,void 0),e=r?"javascript:"+e:e},S.getStoredAttrName=function(e){return e+s.storedAttrPostfix},S.isJsProtocol=function(e){return Yc.test(e)},S._isHtmlImportLink=function(e,t){return!!e&&!!t&&"link"===e&&"import"===t},S.isElementProcessed=function(e){return e[rl]},S.setElementProcessed=function(e,t){e[rl]=t},S.prototype._getRelAttribute=function(e){return String(this.adapter.getAttr(e,"rel")).toLowerCase()},S.prototype._getAsAttribute=function(e){return String(this.adapter.getAttr(e,"as")).toLowerCase()},S.prototype._createProcessorPatterns=function(r){var n=this,e=function(e){return n.isUrlAttr(e,"href")},t=function(e){return n.isUrlAttr(e,"src")},o=function(e){return n.isUrlAttr(e,"srcset")},i=function(e){return n.isUrlAttr(e,"action")},s=function(e){return n.isUrlAttr(e,"formaction")},a=function(e){return n.isUrlAttr(e,"manifest")},c=function(e){return n.isUrlAttr(e,"data")},l=function(e){var t=n.adapter.getTagName(e);return("iframe"===t||"frame"===t)&&r.hasAttr(e,"srcdoc")},u=function(e){return"meta"===r.getTagName(e)&&r.hasAttr(e,"http-equiv")},p=function(){return!0},h=function(e){return"script"===r.getTagName(e)},d=function(e){return"link"===r.getTagName(e)},f=function(e){return"input"===r.getTagName(e)},m=function(e){return"input"===r.getTagName(e)&&r.hasAttr(e,"type")&&"file"===r.getAttr(e,"type").toLowerCase()},g=function(e){return"style"===r.getTagName(e)},y=function(e){return r.hasEventHandler(e)},v=function(e){var t=r.getTagName(e);return("iframe"===t||"frame"===t)&&r.hasAttr(e,"sandbox")},E=function(e){return r.isSVGElement(e)&&r.hasAttr(e,"xlink:href")&&-1!==Jc.indexOf(r.getTagName(e))},_=function(e){return r.isSVGElement(e)&&r.hasAttr(e,"xml:base")};return[{selector:function(e){return S.isTagWithFormTargetAttr(r.getTagName(e))&&r.hasAttr(e,"formtarget")},targetAttr:"formtarget",elementProcessors:[this._processTargetBlank]},{selector:e,urlAttr:"href",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:t,urlAttr:"src",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:o,urlAttr:"srcset",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:i,urlAttr:"action",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:s,urlAttr:"formaction",targetAttr:"formtarget",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:a,urlAttr:"manifest",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:c,urlAttr:"data",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:l,elementProcessors:[this._processSrcdocAttr]},{selector:u,urlAttr:"content",elementProcessors:[this._processMetaElement]},{selector:h,elementProcessors:[this._processScriptElement,this._processIntegrityAttr]},{selector:p,elementProcessors:[this._processStyleAttr]},{selector:d,relAttr:"rel",elementProcessors:[this._processIntegrityAttr,this._processRelPrefetch]},{selector:g,elementProcessors:[this._processStylesheetElement]},{selector:f,elementProcessors:[this._processAutoComplete]},{selector:m,elementProcessors:[this._processRequired]},{selector:y,elementProcessors:[this._processEvtAttr]},{selector:v,elementProcessors:[this._processSandboxedIframe]},{selector:E,urlAttr:"xlink:href",elementProcessors:[this._processSVGXLinkHrefAttr,this._processUrlAttrs]},{selector:_,urlAttr:"xml:base",elementProcessors:[this._processUrlAttrs]}]},S.prototype.processElement=function(e,t){if(!S.isElementProcessed(e))for(var r=0,n=this.elementProcessorPatterns;r-1)return o}return null},S.prototype._isOpenLinkInIframe=function(e){var t=this.adapter.getTagName(e),r=this.getTargetAttr(e),r=r?this.adapter.getAttr(e,r):null,n=this._getRelAttribute(e);if("_top"!==r){t=!("input"===t&&"image"===this.adapter.getAttr(e,"type"))&&S.isIframeFlagTag(t)||S._isHtmlImportLink(t,n),n=!!r&&"_"!==r[0];if("_parent"===r)return t&&!this.adapter.isTopParentIframe(e);if(t&&(this.adapter.hasIframeParent(e)||n&&this.adapter.isExistingTarget(r,e)))return!0}return!1},S.prototype._isShadowElement=function(e){e=this.adapter.getClassName(e);return"string"===typeof e&&e.indexOf(_e.postfix)>-1},S.prototype._processAutoComplete=function(e){var t=S.getStoredAttrName("autocomplete"),r=this.adapter.hasAttr(e,t),n=this.adapter.getAttr(e,r?t:"autocomplete");r||this.adapter.setAttr(e,t,n||""===n?n:nl),this.adapter.setAttr(e,"autocomplete","off")},S.prototype._processRequired=function(e){var t,r=S.getStoredAttrName("required");!this.adapter.hasAttr(e,r)&&this.adapter.hasAttr(e,"required")&&(t=this.adapter.getAttr(e,"required"),this.adapter.setAttr(e,r,t),this.adapter.removeAttr(e,"required"))},S.prototype._processIntegrityAttr=function(e){var t=S.getStoredAttrName("integrity"),r=this.adapter.hasAttr(e,t)&&!this.adapter.hasAttr(e,"integrity"),n=this.adapter.getAttr(e,r?t:"integrity");n&&this.adapter.setAttr(e,t,n),r||this.adapter.removeAttr(e,"integrity")},S.prototype._processRelPrefetch=function(e,t,r){var n,o,i;r.relAttr&&(n=S.getStoredAttrName(r.relAttr),o=this.adapter.hasAttr(e,n)&&!this.adapter.hasAttr(e,r.relAttr),i=this.adapter.getAttr(e,o?n:r.relAttr))&&"prefetch"===Se(i.toLowerCase())&&(this.adapter.setAttr(e,n,i),o||this.adapter.removeAttr(e,r.relAttr))},S.prototype._processJsAttr=function(e,t,r){var n=r.isJsProtocol,r=r.isEventAttr,o=S.getStoredAttrName(t),i=this.adapter.hasAttr(e,o),i=this.adapter.getAttr(e,i?o:t)||"",n=S.processJsAttrValue(i,{isJsProtocol:n,isEventAttr:r});i!==n&&(this.adapter.setAttr(e,o,i),this.adapter.setAttr(e,t,n))},S.prototype._processEvtAttr=function(e){for(var t=this.adapter.EVENTS,r=0;r":a)))},S.prototype._processStyleAttr=function(e,t){var r=this.adapter.getAttr(e,"style");r&&this.adapter.setAttr(e,"style",T.process(r,t,!1))},S.prototype._processStylesheetElement=function(e,t){var r=this.adapter.getStyleContent(e);r&&t&&this.adapter.needToProcessContent(e)&&(r=T.process(r,t,!0),this.adapter.setStyleContent(e,r))},S.prototype._processTargetBlank=function(e,t,r){var n,o;this.allowMultipleWindows||!r.targetAttr||(n=S.getStoredAttrName(r.targetAttr),this.adapter.hasAttr(e,n))||"_blank"===(o=(o=this.adapter.getAttr(e,r.targetAttr))&&o.replace(/\s/g,""))&&(this.adapter.setAttr(e,r.targetAttr,"_top"),this.adapter.setAttr(e,n,o))},S.prototype._processUrlAttrs=function(e,t,r){var n,o,i,s,a,c,l,u,p,h,d,f,m,g,y;r.urlAttr&&!this.nativeAutomation&&(n=S.getStoredAttrName(r.urlAttr),i=!!(o=this.adapter.getAttr(e,r.urlAttr))&&at(o),s=this.adapter.hasAttr(e,n),o||""===o)&&!s&&(et(o)||i)&&(a="iframe"===(s=this.adapter.getTagName(e))||"frame"===s,h="script"===s,c="a"===s,l="srcset"===r.urlAttr,u=r.targetAttr?this.adapter.getAttr(e,r.targetAttr):null,this.adapter.needToProcessUrl(s,u||""))&&(u=this.getElementResourceType(e)||"",p="file:"!==(p=Ze(o)).protocol&&!p.host,h=h&&this.adapter.getAttr(e,"charset")||"",d="img"===s&&""===o,f=a&&""===o,m=Qe(t("/")),g=!1,y=o,a&&!i&&!p&&m&&(g=!this.adapter.sameOriginCheck(m.destUrl,o)),i&&!c||d||f||(y="img"!==s||this.forceProxySrcForImage||l?t(o,u,h,g,l):tt(o,t)),this.adapter.setAttr(e,n,o),this.adapter.setAttr(e,r.urlAttr,y))},S.prototype._processSrcdocAttr=function(e){var t=S.getStoredAttrName("srcdoc"),r=this.adapter.getAttr(e,"srcdoc")||"",n=this.adapter.processSrcdocAttr(r);this.adapter.setAttr(e,t,r),this.adapter.setAttr(e,"srcdoc",n)},S.prototype._processUrlJsAttr=function(e,t,r){r.urlAttr&&S.isJsProtocol(this.adapter.getAttr(e,r.urlAttr)||"")&&this._processJsAttr(e,r.urlAttr,{isJsProtocol:!0,isEventAttr:!1})},S.prototype._processSVGXLinkHrefAttr=function(e,t,r){var n;r.urlAttr&&(n=this.adapter.getAttr(e,r.urlAttr)||"",Le.test(n))&&(r=S.getStoredAttrName(r.urlAttr),this.adapter.setAttr(e,r,n))},S);function S(e){this.adapter=e,this.SVG_XLINK_HREF_TAGS=Jc,this.AUTOCOMPLETE_ATTRIBUTE_ABSENCE_MARKER=nl,this.PROCESSED_PRELOAD_LINK_CONTENT_TYPE="script",this.MODULE_PRELOAD_LINK_REL=tl,this.forceProxySrcForImage=!1,this.allowMultipleWindows=!1,this.nativeAutomation=!1,this.EVENTS=this.adapter.EVENTS,this.elementProcessorPatterns=this._createProcessorPatterns(this.adapter)}var ol=new WeakMap;function il(e,t,r,n){e=he(e,r,{value:n});b.objectDefineProperty(t,r,e)}(Ms=function(){}).prototype=DOMStringList.prototype,e(cl,sl=Ms),cl.prototype.item=function(e){return this[e]},cl.prototype.contains=function(e){"string"!==typeof e&&(e=String(e));for(var t=ol.get(this)||0,r=0;r{var e=bl.getLocationWrapper(s),r=e===s.location;il(i,a,t.toString(),r?"":e.origin),r&&n&&n(s,function(e){return il(i,o,t,e)}),s=s.parent})(r);return o}var ll=Number.MAX_SAFE_INTEGER||9007199254740991,ul=Number.MIN_SAFE_INTEGER||-9007199254740991,pl=(hl.prototype.increment=function(){return this._id=this._id===ll?ul:this._id+1,this._id},Object.defineProperty(hl.prototype,"value",{get:function(){return this._id},enumerable:!1,configurable:!0}),hl);function hl(){this._id=ul}var dl="hammerhead|command|get-origin",fl="hammerhead|command|origin-received";function ml(e){try{return e.location.toString()}catch(e){}}(Rs=function(){}).prototype=Location.prototype,e(vl,gl=Rs);var gl,yl=vl;function vl(e,t,r){var n=gl.call(this)||this,t=new El(e,t,r),r={};return r.href=t.createOverriddenHrefDescriptor(),r.search=t.createOverriddenSearchDescriptor(),r.origin=t.createOverriddenOriginDescriptor(),r.hash=t.createOverriddenHashDescriptor(),e.location.ancestorOrigins&&(r.ancestorOrigins=t.createOverriddenAncestorOriginsDescriptor(n)),r.port=t.createOverriddenPortDescriptor(),r.host=t.createOverriddenHostDescriptor(),r.hostname=t.createOverriddenHostnameDescriptor(),r.pathname=t.createOverriddenPathnameDescriptor(),r.protocol=t.createOverriddenProtocolDescriptor(),r.assign=t.createOverriddenAssignDescriptor(),r.replace=t.createOverriddenReplaceDescriptor(),r.reload=t.createOverriddenReloadDescriptor(),r.toString=t.createOverriddenToStringDescriptor(),!t.isLocationPropsInProto&&b.objectHasOwnProperty.call(e.location,"valueOf")&&(r.valueOf=t.createOverriddenValueOfDescriptor()),b.objectDefineProperties(n,r),t.overrideRestDescriptors(n,r),n}_l.prototype.createOverriddenHrefDescriptor=function(){var r=this;return he(this.locationPropsOwner,"href",{getter:r.createHrefGetter(r.window),setter:function(e){var t=r.getProxiedHref(e,r);return r.window.location.href=t,r.onChanged(t),e}})},_l.prototype.createOverriddenToStringDescriptor=function(){return he(this.locationPropsOwner,"toString",{value:this.createHrefGetter(this.window)})},_l.prototype.createHrefGetter=function(r){return function(){var e,t;return kn(r)&&r.location.href===je?je:(e=wt(),t=gt.getResolverElement(r.document),b.anchorHrefSetter.call(t,e),st(b.anchorHrefGetter.call(t),e))}},_l.prototype.getProxiedHref=function(e,t){var r=t.window;if(e=ht(e="string"!==typeof e?String(e):e),I.isJsProtocol(e))return I.processJsAttrValue(e,{isJsProtocol:!0,isEventAttr:!1});var n,o=ml(r),i=null;r!==r.parent&&(r=ml(r.parent),n=jt(r))&&n.proxy&&(n=n.proxy.port,i=_t(r,e)?n:Dt(n));r=o&&Kt(o,e)?t.locationResourceType:t.resourceType;return C(e,{resourceType:r,proxyPort:i})},_l.prototype.createOverriddenSearchDescriptor=function(){var r=this;return he(this.locationPropsOwner,"search",{getter:function(){return r.window.location.search},setter:function(e){var t=Ft(r.window.location.toString(),b.anchorSearchSetter,e,r.resourceType);return r.window.location=t,r.onChanged(t),e}})},_l.prototype.createOverriddenOriginDescriptor=function(){return he(this.locationPropsOwner,"origin",{getter:function(){return Ye(xt())},setter:function(e){return e}})},_l.prototype.createOverriddenHashDescriptor=function(){var t=this;return he(this.locationPropsOwner,"hash",{getter:function(){return t.window.location.hash},setter:function(e){return t.window.location.hash=e}})},_l.prototype.createOverriddenAncestorOriginsDescriptor=function(r){var n=this,o=b.objectCreate(null),i=new pl,e=(n.messageSandbox&&n.messageSandbox.on(n.messageSandbox.SERVICE_MSG_RECEIVED_EVENT,function(e){var t=e.message;t.cmd===dl?n.messageSandbox.sendServiceMsg({id:t.id,cmd:fl,origin:r.origin},e.source):t.cmd===fl&&(e=o[t.id])&&e(t.origin)}),new al(n.window,n.messageSandbox?function(e,t){var r=i.increment();o[r]=t,n.messageSandbox.sendServiceMsg({id:r,cmd:dl},e)}:void 0));return he(n.locationPropsOwner,"ancestorOrigins",{getter:function(){return e}})},_l.prototype.createOverriddenPortDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("port",b.anchorPortSetter)},_l.prototype.createOverriddenHostDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("host",b.anchorHostSetter)},_l.prototype.createOverriddenHostnameDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("hostname",b.anchorHostnameSetter)},_l.prototype.createOverriddenPathnameDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("pathname",b.anchorPathnameSetter)},_l.prototype.createOverriddenProtocolDescriptor=function(){return this.createOverriddenLocationAccessorDescriptor("protocol",b.anchorProtocolSetter)},_l.prototype.createOverriddenLocationAccessorDescriptor=function(t,r){var n=this;return he(this.locationPropsOwner,t,{getter:function(){var e=Sn(n.window);return(e&&Wn(e)?n.window.location:xt())[t]},setter:function(e){var t=Ft(n.window.location.toString(),r,e,n.resourceType);return n.window.location=t,n.onChanged(t),e}})},_l.prototype.createOverriddenAssignDescriptor=function(){return this.createOverriddenLocationDataDescriptor("assign")},_l.prototype.createOverriddenReplaceDescriptor=function(){return this.createOverriddenLocationDataDescriptor("replace")},_l.prototype.createOverriddenLocationDataDescriptor=function(r){var n=this;return he(this.locationPropsOwner,r,{value:function(e){var e=n.getProxiedHref(e,n),t=n.window.location[r](e);return n.onChanged(e),t}})},_l.prototype.createOverriddenReloadDescriptor=function(){var t=this;return he(this.locationPropsOwner,"reload",{value:function(){var e=t.window.location.reload();return t.onChanged(t.window.location.toString()),e}})},_l.prototype.createOverriddenValueOfDescriptor=function(){var e=this;return he(this.locationPropsOwner,"valueOf",{value:function(){return e}})},_l.prototype.overrideRestDescriptors=function(e,t){for(var r=0,n=b.objectKeys(Location.prototype);r\n (function () {\n var currentScript = document.currentScript;\n\n currentScript.parentNode.removeChild(currentScript);\n\n ').concat(e,"\n })();\n <\/script>\n ").replace(Nl,"")}var kl,Ll={iframeInit:Ol('\n var parentHammerhead = null;\n\n if (!window["'.concat(w.hammerhead,'"])\n Object.defineProperty(window, "').concat(w.documentWasCleaned,'", { value: true, configurable: true });\n\n try {\n parentHammerhead = window.parent["').concat(w.hammerhead,'"];\n } catch(e) {}\n\n if (parentHammerhead)\n parentHammerhead.sandbox.onIframeDocumentRecreated(window.frameElement);\n ')),onWindowRecreation:Ol('\n var hammerhead = window["'.concat(w.hammerhead,'"];\n var sandbox = hammerhead && hammerhead.sandbox;\n\n if (!sandbox) {\n try {\n sandbox = window.parent["').concat(w.hammerhead,'"].sandboxUtils.backup.get(window);\n } catch(e) {}\n }\n\n if (sandbox) {\n Object.defineProperty(window, "').concat(w.documentWasCleaned,'", { value: true, configurable: true });\n\n sandbox.node.mutation.onDocumentCleaned(window, document);\n\n /* NOTE: B234357 */\n sandbox.node.processNodes(null, document);\n }\n ')),onBodyCreated:Ol('\n if (window["'.concat(w.hammerhead,'"])\n window["').concat(w.hammerhead,'"].sandbox.node.raiseBodyCreatedEvent();\n ')),onOriginFirstTitleLoaded:Ol('\n window["'.concat(w.hammerhead,'"].sandbox.node.onOriginFirstTitleElementInHeadLoaded();\n ')),restoreStorages:Ol('\n window.localStorage.setItem("%s", %s);\n window.sessionStorage.setItem("%s", %s);\n ')},Dl=((js=kl=kl||{}).beforeBegin="beforebegin",js.afterBegin="afterbegin",js.beforeEnd="beforeend",js.afterEnd="afterend",kl);function Ml(e){var t=b.nodeParentNodeGetter.call(e);t&&b.removeChild.call(t,e)}var Bs="hh_fake_doctype",Rl="".concat(Hs="hh_fake_tag_name_","head"),jl="".concat(Hs,"body"),$s="hh_fake_attr",Hl=new RegExp("(<\\/?)"+Hs,"ig"),Bl=/(<\/?)(html|head|body|table|tbody|tfoot|thead|tr|td|th|caption|colgroup)((?:\s[^>]*)?>)/gi,Ul="$1".concat(Hs,"$2$3"),Fl=/<(\/?(?:col|noscript))(\s[^>]*?)?(\s?\/)?>/gi,Vl="
'),Wl=new RegExp("]*?) ".concat($s,'="([^|]+)\\|([^"]*)"([^>]*)'),"ig"),Gl=/]*)>/gi,ql="<".concat(Bs,">$1"),zl=new RegExp("<".concat(Bs,">([\\S\\s]*?)"),"ig"),Kl=(()=>{for(var e=[],t=0,r=xc;t").replace(Wl,"<$2$1$4$3").replace(Hl,"$1")}function tu(e){return/^\s*(<\s*(!doctype|html|head|body)[^>]*>)/i.test(e)}function ru(e,t){var r=b.createElement.call((()=>{try{Jl.location.toString()}catch(e){Jl=b.createHTMLDocument.call(document.implementation,"title"),(Zl=b.createDocumentFragment.call(Jl))[Ql]=!0}return Jl})(),"div"),t=(e=e.replace(Gl,ql).replace(Fl,Vl).replace(Bl,Ul),b.appendChild.call(Zl,r),b.elementInnerHTMLSetter.call(r,e),t(r)?b.elementInnerHTMLGetter.call(r):e);return Ml(r),eu(t)}function nu(e){return ru(e,function(e){var i=!1;return Tn(e,Kl,function(e){var t,r,n,o;o=e,(r=P.getUrlAttr(o))&&b.hasAttribute.call(o,r)&&(t=I.getStoredAttrName(r),b.hasAttribute.call(o,t))&&(b.setAttribute.call(o,r,b.getAttribute.call(o,t)),b.removeAttribute.call(o,t)),r=e,b.hasAttribute.call(r,"autocomplete")&&(o=I.getStoredAttrName("autocomplete"),b.hasAttribute.call(r,o))&&(t=b.getAttribute.call(r,o),I.isAddedAutocompleteAttr("autocomplete",t)?b.removeAttribute.call(r,"autocomplete"):b.setAttribute.call(r,"autocomplete",t),b.removeAttribute.call(r,o)),r=e,(o=P.getTargetAttr(r))&&b.hasAttribute.call(r,o)&&(n=I.getStoredAttrName(o),b.hasAttribute.call(r,n))&&(b.setAttribute.call(r,o,b.getAttribute.call(r,n)),b.removeAttribute.call(r,n)),o=e,"iframe"===P.adapter.getTagName(o)&&b.hasAttribute.call(o,"sandbox")&&(r=I.getStoredAttrName("sandbox"),b.hasAttribute.call(o,r))&&(b.setAttribute.call(o,"sandbox",b.getAttribute.call(o,r)),b.removeAttribute.call(o,r)),n=e,b.hasAttribute.call(n,"style")&&(o=I.getStoredAttrName("style"),b.hasAttribute.call(n,o))&&(b.setAttribute.call(n,"style",b.getAttribute.call(n,o)),b.removeAttribute.call(n,o)),i=!0}),Tn(e,$l,function(e){var t=b.nodeParentNodeGetter.call(e);t&&(b.removeChild.call(t,e),i=!0)}),Tn(e,"script",function(e){var t=b.nodeTextContentGetter.call(e),r=ka(t);t!==r&&(b.nodeTextContentSetter.call(e,r),i=!0)}),Tn(e,"style",function(e){var t=b.nodeTextContentGetter.call(e),r=T.cleanUp(t,jt);t!==r&&(b.nodeTextContentSetter.call(e,r),i=!0)}),Tn(e,Xl,function(e){b.removeAttribute.call(e,s.hoverPseudoClass),b.removeAttribute.call(e,s.focusPseudoClass),i=!0}),Tn(e,Yl,function(e){var t=b.elementInnerHTMLGetter.call(e);-1!==t.indexOf(Ll.iframeInit)&&(b.elementInnerHTMLSetter.call(e,t.replace(Ll.iframeInit,"")),i=!0)}),i})}function ou(e,t){var d=(t=void 0===t?{}:t).parentTag,f=t.prepareDom,m=t.processedContext,g=t.isPage;return ru(e,function(e){var t=[],r=[],n=0,o=gt.getBaseUrl(document),i=(f&&f(e),b.htmlCollectionLengthGetter.call(b.elementChildrenGetter.call(e))&&(r=b.elementQuerySelectorAll.call(e,"*"),n=b.nodeListLengthGetter.call(r)),b.elementQuerySelector.call(e,"base"));i&>.updateBase(b.getAttribute.call(i,"href"),document);for(var s=0;s"),pu="<".concat(lu,">"),hu=new RegExp("^[\\S\\s]*".concat(uu),"g"),du=new RegExp("".concat(pu,"[\\S\\s]*$"),"g"),fu=/^<[^>]+>/g,mu=/<\/[^<>]+>$/g,gu=/<\/?(?:[A-Za-z][^>]*)?$/g,yu="hammerhead|unclosed-element-flag",vu=(Eu.prototype._cutPending=function(e){var t=e.match(gu);return this.pending=t?t[0]:"",this.pending?e.substring(0,e.length-this.pending.length):e},Eu.prototype._wrapHtmlChunk=function(e){var t=this.parentTagChain.length?"<"+this.parentTagChain.join("><")+">":"";return this.isNonClosedComment&&(t+="\x3c!--"),t+uu+e+pu},Eu.prototype._unwrapHtmlChunk=function(e){return e&&(e=e.replace(hu,"").replace(du,""),this.isBeginMarkerInDOM||(e=this.isNonClosedComment?e.slice(4):e.replace(fu,"")),this.isEndMarkerInDOM||(e=this.isNonClosedComment?e.slice(0,-3):e.replace(mu,"")),!this.isBeginMarkerInDOM)&&this.isEndMarkerInDOM&&(this.isNonClosedComment=!1),e},Eu._setUnclosedElementFlag=function(e){(ro(e)||no(e))&&(e[yu]=!0)},Eu.hasUnclosedElementFlag=function(e){return!!e[yu]},Eu._searchBeginMarker=function(e){var t=b.elementQuerySelector.call(e,cu);if(!t){for(t=e;b.elementFirstElementChildGetter.call(t);)t=b.elementFirstElementChildGetter.call(t);e=b.nodeParentNodeGetter.call(t);b.nodeFirstChildGetter.call(e)!==t?t=b.nodeFirstChildGetter.call(e):Lo(b.nodeFirstChildGetter.call(t))&&(t=b.nodeFirstChildGetter.call(t))}return t},Eu._searchEndMarker=function(e){var t=b.elementQuerySelector.call(e,lu);if(!t){for(t=e;b.elementLastElementChildGetter.call(t);)t=b.elementLastElementChildGetter.call(t);e=b.nodeParentNodeGetter.call(t);b.nodeLastChildGetter.call(e)!==t?t=b.nodeLastChildGetter.call(e):Lo(b.nodeLastChildGetter.call(t))&&(t=b.nodeLastChildGetter.call(t))}return t},Eu.prototype._updateParentTagChain=function(e,t){var r=Dn(t)!==lu?t:b.nodeParentNodeGetter.call(t);for(Lo(t)&&(this.isNonClosedComment=!0,r=b.nodeParentNodeGetter.call(t)),this.parentTagChain=[];r!==e;)this.parentTagChain.unshift(Dn(r)),r=b.nodeParentNodeGetter.call(r)},Eu.prototype._processBeginMarkerInContent=function(e){var t=e,r=(Eu._setUnclosedElementFlag(t),this.isClosingContentEl&&(ro(t)||no(t))?(this.contentForProcessing=b.nodeTextContentGetter.call(this.nonClosedEl)+b.nodeTextContentGetter.call(t).replace(hu,""),b.nodeTextContentSetter.call(t,"")):(r=b.nodeTextContentGetter.call(t),b.nodeTextContentSetter.call(t,r.replace(hu,""))),e=b.createElement.call(document,cu),b.nodeParentNodeGetter.call(t));b.insertBefore.call(r,e,t)},Eu._createStartsWithClosingTagRegExp=function(e){for(var t=[e.charAt(e.length-1),"?"],r=e.length-2;r>-1;r--)t.unshift("(?:",e.charAt(r)),t.push(")?");return t.unshift("^=0;r--)try{if(t[r]===e)return}catch(e){t.splice(r,1)}t.push(e)}function bu(e){var t=Su(),e=t.indexOf(e);-1!==e&&t.splice(e,1)}function xu(e){for(var t=Su(),r=0;rfunction(){return e.apply(t,arguments)})(t[r],t));this.getNamedItem=ep(e,t,"getNamedItem")},rp="hammerhead|element-attribute-wrappers";function np(e,t){for(var r=0,n={},o=0,i=t;o1&&null!==n&&r&&(e[1]=ou(String(n),{parentTag:r.tagName,processedContext:r[w.processedContext]})),b.insertAdjacentHTML.apply(this,e),r&&(a._nodeSandbox.processNodes(r),sp.onChildrenChanged(r))},insertAdjacentElement:function(){for(var e=[],t=0;t{var r=b.getAttribute.call(e,"shape"),n=b.getAttribute.call(e,"coords"),o=0;if("default"===r)return Np(t);if(!r||!n)return null;if(!(n=n.split(",")).length)return null;for(o=0;o=6&&n.length%2===0){for((i={}).left=i.right=n[0],i.top=i.bottom=n[1],o=2;oi.right?n[o]:i.right;for(o=3;oi.bottom?n[o]:i.bottom;i.height=i.bottom-i.top,i.width=i.right-i.left}}return i&&(e=Dp(t),i.left+=e.left,i.top+=e.top),i})(e,t);if(e)return e}}return{height:0,left:0,top:0,width:0}}function Pp(e){var t,r,n=Go(e,"tspan")||Go(e,"tref")||"textpath"===Dn(e),o=e.getBoundingClientRect(),i={height:n?e.offsetHeight:o.height,left:o.left+(document.body.scrollLeft||document.documentElement.scrollLeft),top:o.top+(document.body.scrollTop||document.documentElement.scrollTop),width:n?e.offsetWidth:o.width};return n?(n=Br(e),t=Ur(e),r=Ur(n),n=Go(n,"body"),{height:i.height||o.height,left:n?e.offsetLeft||t.left:r.left+e.offsetLeft,top:n?e.offsetTop||t.top:r.top+e.offsetTop,width:i.width||o.width}):(cr||((n=(n=b.getAttribute.call(e,"stroke-width")||c(e,"stroke-width"))?+n.replace(/px|em|ex|pt|pc|cm|mm|in/,""):1)&&+n%2!==0&&(n=+n+1),!(Go(e,"line")||Go(e,"polyline")||Go(e,"polygon")||Go(e,"path"))||i.width&&i.height?(Go(e,"polygon")&&(i.height+=2*n,i.left-=n,i.top-=n,i.width+=2*n),i.height+=n,i.left-=n/2,i.top-=n/2,i.width+=n):!i.width&&i.height?(i.left-=n/2,i.width=n):i.width&&!i.height&&(i.height=n,i.top-=n/2)),i)}function Np(e){var t,r,n,o,i,s,a,c={};return(c=ho(e)?Ip(e):Dr(e)?(a=xn(t=e))?(r=Np(a),n=Cr(a),o=Or(a)===a.clientWidth?0:bn(),i=kr(a),s=vn(a,t),s=Math.max(s-Rr(a)/i,0),{height:i,left:r.left+n.left,top:r.top+n.top+Ir(a).top+s*i,width:r.width-(n.left+n.right)-o}):Np(t):(a=Dp(e),{height:(s=(bo(e)?Pp:si)(e)).height,left:a.left,top:a.top,width:s.width})).height=Math.round(c.height),c.left=Math.round(c.left),c.top=Math.round(c.top),c.width=Math.round(c.width),c}function Op(e,t,r){var n,o;return"iframe"===Dn(e)&&(n=Np(e),o=Cr(e),e=Ir(e),t>=n.left+o.left+e.left)&&t<=n.left+n.width-o.right-e.right&&r>=n.top+o.top+e.top&&r<=n.top+n.height-o.bottom-e.bottom}function kp(e,t,r){var n=bo(e),e=n?Pp(e):null;return{left:n?e.left+t.left:r.left+t.left,top:n?e.top+t.top:r.top+t.top}}function Lp(e,t,r,n,o){var i=Cr(o),i=(t.left+=i.left,t.top+=i.top,Dp(o)),o=Ir(o),s=null;return s=bo(e)?{x:(e=Pp(e)).left-(document.body.scrollLeft||document.documentElement.scrollLeft)+t.left,y:e.top-(document.body.scrollTop||document.documentElement.scrollTop)+t.top}:Mp({x:r.left+t.left,y:r.top+t.top},n),{left:i.left+s.x+o.left,top:i.top+s.y+o.top}}function Dp(e,t){var r,n,o,i;return void 0===t&&(t=Math.round),ho(e)?{left:(r=Ip(e)).left,top:r.top}:(n=(o=Bn(e,r=In(e)))?En(r):null,i=Ur(r===e?r.documentElement:e),e=(o=(o&&n?Lp:kp)(e,Cr(r.body),i,r,n)).left,i=o.top,Yr(t)&&(e=t(e),i=t(i)),{left:e,top:i})}function Mp(e,t){var t=t||document,r=Mr(t),n=Rr(t),o=Mr(t.body),t=Rr(t.body);return{x:e.x-(0===r&&0!==o?o:r),y:e.y-(0===n&&0!==t?t:n)}}var Rp,jp=Object.freeze({__proto__:null,getElementRectangle:Np,shouldIgnoreEventInsideIframe:Op,getOffsetPosition:Dp,offsetToClientCoords:Mp}),Hp=["button","fieldset","form","iframe","input","map","meta","object","output","param","select","textarea"],Bp=0,Up=((Jt=function(){}).prototype=HTMLCollection.prototype,e(Fp,Rp=Jt),Fp.prototype.item=function(e){return this._refreshCollection(),this._filteredCollection[e]},Object.defineProperty(Fp.prototype,"length",{get:function(){return this._refreshCollection(),this._filteredCollection.length},enumerable:!1,configurable:!0}),Fp.prototype._refreshCollection=function(){var e=this._lastNativeLength,t=b.htmlCollectionLengthGetter.call(this._collection);if(this._lastNativeLength=t,sp.isOutdated(this._tagName,this._version)||!sp.isDomContentLoaded()&&e!==t){var e=this._filteredCollection.length,t=((e,t)=>{for(var r=e._collection,n=e._namedProps?[]:null,o=e._filteredCollection,i=o.length=0;i{var e=n++;b.objectDefineProperty(r,e,{enumerable:!0,configurable:!0,get:function(){return r.item(e)}})})();for(;n>o;)delete r[--n];e=Bp-10;o>e&&Vp(o-e)}var i=this,e=this._namedProps,s=t;if(s){for(var a=0,c=e;a{if(!i._collection[e])return;b.objectDefineProperty(i,e,{configurable:!0,get:function(){return this._refreshCollection(),i._collection[e]}})})(p[u])}}},Fp);function Fp(e,t){var r=Rp.call(this)||this;return t=t.toLowerCase(),b.objectDefineProperties(r,{_collection:{value:e},_filteredCollection:{value:[]},_tagName:{value:t},_version:{value:-1/0,writable:!0},_namedProps:{value:-1!==Hp.indexOf(t)?[]:null},_lastNativeLength:{value:0,writable:!0}}),r._refreshCollection(),r}function Vp(e){for(var t=0;t{var e=Bp++;b.objectDefineProperty(Up.prototype,e,{get:function(){this.item(e)}})})()}Zt={constructor:{value:Up.constructor,configurable:!0,enumerable:!1,writable:!0},_refreshCollection:{value:Up.prototype._refreshCollection,enumerable:!1}},HTMLCollection.prototype.namedItem&&(Zt.namedItem={value:function(){for(var e=[],t=0;t=n.length?null:n[e]}}),t.namedItem&&b.objectDefineProperty(n,"namedItem",{value:function(e){return t.namedItem(e)}}),n.length===e?t:n},k.prototype._filterNodeList=function(e,t){return this._filterList(e,t,function(e){return k._filterElement(e)})},k.prototype._filterStyleSheetList=function(e,t){return this._filterList(e,t,function(e){return k._filterElement(e.ownerNode)})},k._getFirstNonShadowElement=function(e){for(var t=b.nodeListLengthGetter.call(e),r=0;r=0?r[e]:null},k.prototype.getLastElementChild=function(e){var e=b.elementChildrenGetter.call(e),t=b.htmlCollectionLengthGetter.call(e),r=this._filterNodeList(e,t),e=e===r?t-1:r.length-1;return e>=0?r[e]:null},k.prototype.getNextSibling=function(e){if(e)for(;(e=b.nodeNextSiblingGetter.call(e))&&E(e););return e},k.prototype.getPrevSibling=function(e){if(e)for(;(e=b.nodePrevSiblingGetter.call(e))&&E(e););return e},k.prototype.getMutationRecordNextSibling=function(e){if(e)for(;e&&E(e);)e=b.nodeNextSiblingGetter.call(e);return e},k.prototype.getMutationRecordPrevSibling=function(e){if(e)for(;e&&E(e);)e=b.nodePrevSiblingGetter.call(e);return e},k.prototype.getNextElementSibling=function(e){for(;(e=b.elementNextElementSiblingGetter.call(e))&&E(e););return e},k.prototype.getPrevElementSibling=function(e){for(;(e=b.elementPrevElementSiblingGetter.call(e))&&E(e););return e},k._checkElementsPosition=function(e,t){if(t){for(var r=[],n=0;n1||"object"!==typeof e[0]){for(var n=document.createDocumentFragment.call(this.document),o=0,i=e;o{if(!(t.length=0;r--)try{if(t[r].iframe===e)return t[r]}catch(e){t.splice(r,1)}}function lh(e,t){var r=An(e),e=e!==r?Sn(e):null,n=r[ah],r=(n||b.objectDefineProperty(r,ah,{value:n=[]}),ch(n,e));r?r.sandbox=t:n.push({iframe:e,sandbox:t})}function uh(e){var t=An(e),r=t[ah],t=e!==t?e.frameElement:null;return r&&(e=ch(r,t))?e.sandbox:null}var ph,hh=Object.freeze({__proto__:null,create:lh,get:uh}),dh=(e(fh,ph=t),fh.prototype._riseChangeEvent=function(e){this._eventSimulator.change(e)},fh._getCurrentInfoManager=function(e){e=e[w.processedContext];return e&&uh(e).upload.infoManager},fh.prototype.attach=function(e){var s=this;ph.prototype.attach.call(this,e),this._listeners.addInternalEventBeforeListener(e,["change"],function(e,t){var r,n,o=b.eventTargetGetter.call(e),i=fh._getCurrentInfoManager(o);!t&&lo(o)&&(zu(e),qu(e),(r=b.inputValueGetter.call(o))||i.getValue(o))&&(t=b.inputFilesGetter.call(o),n=ih.getFileNames(t,r),s.emit(s.START_FILE_UPLOADING_EVENT,n,o),i.loadFileListData(o,t).then(function(e){return i.setUploadInfo(o,e,r),s.infoManager.sendFilesInfoToServer(e,n)}).then(function(e){s._riseChangeEvent(o),s.emit(s.END_FILE_UPLOADING_EVENT,e)}))}),!x.get().isRecordMode&&cr&&this._listeners.addInternalEventBeforeListener(e,["click"],function(e,t){t&&lo(b.eventTargetGetter.call(e))&&qu(e,!0)})},fh.getFiles=function(e){return void 0!==b.inputFilesGetter.call(e)?fh._getCurrentInfoManager(e).getFiles(e):void 0},fh.getUploadElementValue=function(e){var t=fh._getCurrentInfoManager(e);return t?t.getValue(e):""},fh.prototype.setUploadElementValue=function(e,t){""===t&&fh._getCurrentInfoManager(e).clearUploadInfo(e)},fh._shouldRaiseChangeEvent=function(e,t){if(!t)return!0;var r=t.files;if(e.length!==r.length||cr||tr&&lr||ur)return!0;for(var n=0,o=e;n{for(var e=[],t=0,r=b.objectKeys(g);t-1?o.window[t]:(e=n.call(this,e,t,r),"eval"===t&&e[zh.WRAPPED_EVAL_FN]?e[zh.WRAPPED_EVAL_FN]:e)},b.objectDefineProperty(t.get,Lh,{value:!0,enumerable:!1})),new b.Proxy(e,t)}),this.window.Proxy.revocable=b.Proxy.revocable},L.prototype.overrideRegisterInServiceWorker=function(){var t=this;a(this.window.navigator.serviceWorker,"register",function(){for(var s=[],e=0;e2&&null!==r&&void 0!==r&&(e[2]=C(r)),n.apply(this,e)})},L.prototype.overrideSendBeaconInNavigator=function(){a(this.window.Navigator.prototype,"sendBeacon",function(){return"string"===typeof arguments[0]&&(arguments[0]=C(arguments[0])),b.sendBeacon.apply(this,arguments)})},L.prototype.overrideRegisterProtocolHandlerInNavigator=function(){a(this.window.navigator,"registerProtocolHandler",function(){for(var e=[],t=0;t1&&"string"===typeof n&&"text/html"===e[1]&&(r=ou(n),e[0]=r),b.DOMParserParseFromString.apply(this,e));return r&&Xp.removeSelfRemovingScripts(n),n})},L.prototype.overrideFirstChildInNode=function(){var e=this;i(this.window.Node.prototype,"firstChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getFirstChild(this):b.nodeFirstChildGetter.call(this)}})},L.prototype.overrideFirstElementChildInElement=function(){var e=this;i(this.window.Element.prototype,"firstElementChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getFirstElementChild(this):b.elementFirstElementChildGetter.call(this)}})},L.prototype.overrideLastChildInNode=function(){var e=this;i(this.window.Node.prototype,"lastChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getLastChild(this):b.nodeLastChildGetter.call(this)}})},L.prototype.overrideLastElementChildInElement=function(){var e=this;i(this.window.Element.prototype,"lastElementChild",{getter:function(){return Xp.isShadowContainer(this)?e.shadowUI.getLastElementChild(this):b.elementLastElementChildGetter.call(this)}})},L.prototype.overrideNextSiblingInNode=function(){var e=this;i(this.window.Node.prototype,"nextSibling",{getter:function(){return e.shadowUI.getNextSibling(this)}})},L.prototype.overridePreviousSiblingInNode=function(){var e=this;i(this.window.Node.prototype,"previousSibling",{getter:function(){return e.shadowUI.getPrevSibling(this)}})},L.prototype.overrideNextElementSiblingInElement=function(){var e=this;i(this.window.Element.prototype,"nextElementSibling",{getter:function(){return e.shadowUI.getNextElementSibling(this)}})},L.prototype.overridePreviousElementSiblingInElement=function(){var e=this;i(this.window.Element.prototype,"previousElementSibling",{getter:function(){return e.shadowUI.getPrevElementSibling(this)}})},L.prototype.overrideInnerHTMLInElement=function(t){var o=this;i(this.window.Element.prototype,"innerHTML",{getter:function(){var e;return!t&&o._documentTitleStorageInitializer&&Kn(this)?o._documentTitleStorageInitializer.storage.getTitleElementPropertyValue(this):(e=b.elementInnerHTMLGetter.call(this),ro(this)?ka(e):no(this)?T.cleanUp(e,jt):nu(e))},setter:function(e){var t,r,n;o._documentTitleStorageInitializer&&Kn(this)?o._documentTitleStorageInitializer.storage.setTitleElementPropertyValue(this,e):(r=no(t=this),n=ro(t),e=(e=null!==e&&void 0!==e?String(e):e)&&(r?T.process(e,C,!0):n?Sc(e,!0,!1,Bt,void 0,x.nativeAutomation):ou(e,{parentTag:t.tagName,processedContext:t[w.processedContext]})),r||n||sp.onChildrenChanged(t),b.elementInnerHTMLSetter.call(t,e),o.setSandboxedTextForTitleElements(t),r||n||(sp.onChildrenChanged(t),o.document.body===t?(e=o.shadowUI.getRoot(),o.shadowUI.markShadowUIContainers(o.document.head,t),Xp.markElementAndChildrenAsShadow(e)):E(t)&&Xp.markElementAndChildrenAsShadow(t),(n=(r=In(t))?r.defaultView:null)&&n!==o.window&&n[w.processDomMethodName]?n[w.processDomMethodName](t,r):o.window[w.processDomMethodName]&&o.window[w.processDomMethodName](t),o.window.self&&(Qn(t)||Jn(t))&&b.setTimeout.call(o.window,function(){return o.nodeMutation.onBodyContentChanged(t)},0)))}})},L.prototype.overrideOuterHTMLInElement=function(){var o=this;i(this.window.Element.prototype,"outerHTML",{getter:function(){return nu(b.elementOuterHTMLGetter.call(this))},setter:function(e){var t,r,n=b.nodeParentNodeGetter.call(this);sp.onElementChanged(this),n&&null!==e&&void 0!==e?(r=(t=In(n))?t.defaultView:null,b.elementOuterHTMLSetter.call(this,ou(String(e),{parentTag:n&&n.tagName,processedContext:this[w.processedContext]})),o.setSandboxedTextForTitleElements(n),sp.onChildrenChanged(n),r&&r!==o.window&&r[w.processDomMethodName]?r[w.processDomMethodName](n,t):o.window[w.processDomMethodName]&&o.window[w.processDomMethodName](n),o.window.self&&Jn(this)&&b.setTimeout.call(o.window,function(){return o.shadowUI.onBodyElementMutation()},0)):b.elementOuterHTMLSetter.call(this,e)}})},L.prototype.setSandboxedTextForTitleElements=function(e){if(!kn(this.window))for(var t=0,r=Gr(e).call(e,"title");t"']/g,Vs=RegExp(Us.source),Ws=RegExp(Fs.source),Gs=/<%-([\s\S]+?)%>/g,qs=/<%([\s\S]+?)%>/g,zs=/<%=([\s\S]+?)%>/g,Ks=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$s=/^\w*$/,Xs=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ys=/[\\^$.*+?()[\]{}|]/g,Qs=RegExp(Ys.source),Js=/^\s+/,i=/\s/,Zs=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ea=/\{\n\/\* \[wrapped with (.+)\] \*/,ta=/,? & /,ra=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,na=/[()=,{}\[\]\/\s]/,oa=/\\(\\)?/g,ia=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sa=/\w*$/,aa=/^[-+]0x[0-9a-f]+$/i,ca=/^0b[01]+$/i,la=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,ha=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,da=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,s="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",c="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",t="A-Z\\xc0-\\xd6\\xd8-\\xde",l="\\ufe0e\\ufe0f",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+s+"]",p="["+u+"]",h="["+a+"]",d="["+c+"]",f="["+e+"]",u="[^"+s+u+"\\d+"+c+e+t+"]",c="\\ud83c[\\udffb-\\udfff]",e="[^"+s+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+t+"]",g="(?:"+f+"|"+u+")",u="(?:"+t+"|"+u+")",y="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",E="(?:"+h+"|"+c+")"+"?",_="["+l+"]?",_=_+E+("(?:\\u200d(?:"+[e,m,n].join("|")+")"+_+E+")*"),E="(?:"+[d,m,n].join("|")+")"+_,d="(?:"+[e+h+"?",h,m,n,r].join("|")+")",ma=RegExp("['’]","g"),ga=RegExp(h,"g"),S=RegExp(c+"(?="+c+")|"+d+_,"g"),ya=RegExp([t+"?"+f+"+"+y+"(?="+[p,t,"$"].join("|")+")",u+"+"+v+"(?="+[p,t+g,"$"].join("|")+")",t+"?"+g+"+"+y,t+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",E].join("|"),"g"),w=RegExp("[\\u200d"+s+a+l+"]"),va=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ea=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_a=-1,ns={},os=(ns[Is]=ns[Ps]=ns[Ns]=ns[Os]=ns[ks]=ns[Ls]=ns[Ds]=ns[Ms]=ns[Rs]=!0,ns[qi]=ns[ws]=ns[ts]=ns[zi]=ns[rs]=ns[Ki]=ns[bs]=ns[xs]=ns[$i]=ns[Xi]=ns[Yi]=ns[Qi]=ns[Ji]=ns[Zi]=ns[es]=!1,{}),b=(os[qi]=os[ws]=os[ts]=os[rs]=os[zi]=os[Ki]=os[Is]=os[Ps]=os[Ns]=os[Os]=os[ks]=os[$i]=os[Xi]=os[Yi]=os[Qi]=os[Ji]=os[Zi]=os[Ts]=os[Ls]=os[Ds]=os[Ms]=os[Rs]=!0,os[bs]=os[xs]=os[es]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),Sa=parseFloat,wa=parseInt,e="object"==typeof j&&j&&j.Object===Object&&j,m="object"==typeof self&&self&&self.Object===Object&&self,is=e||m||Function("return this")(),n=I&&!I.nodeType&&I,o=n&&T&&!T.nodeType&&T,ba=o&&o.exports===n,x=ba&&e.process,r=(()=>{try{var e=o&&o.require&&o.require("util").types;return e?e:x&&x.binding&&x.binding("util")}catch(e){}})(),xa=r&&r.isArrayBuffer,Ca=r&&r.isDate,Aa=r&&r.isMap,Ta=r&&r.isRegExp,Ia=r&&r.isSet,Pa=r&&r.isTypedArray;function ss(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Na(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o-1}function Da(e,t,r){for(var n=-1,o=null==e?0:e.length;++n-1;);return r}function Qa(e,t){for(var r=e.length;r--&&ps(t,e[r],0)>-1;);return r}var Ja=A({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Za=A({"&":"&","<":"<",">":">",'"':""","'":"'"});function ec(e){return"\\"+b[e]}function ds(e){return w.test(e)}function tc(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}function rc(t,r){return function(e){return t(r(e))}}function fs(e,t){for(var r=-1,n=e.length,o=0,i=[];++r{for(var t=S.lastIndex=0;S.test(e);)++t;return t}:C)(e)}function gs(e){return ds(e)?e.match(S)||[]:e.split("")}function oc(e){for(var t=e.length;t--&&i.test(e.charAt(t)););return t}var ic=A({"&":"&","<":"<",">":">",""":'"',"'":"'"});var ys=function o(e){var w=(e=null==e?is:ys.defaults(is.Object(),e,ys.pick(is,Ea))).Array,i=e.Date,k=e.Error,L=e.Function,D=e.Math,m=e.Object,M=e.RegExp,V=e.String,b=e.TypeError,W=w.prototype,G=L.prototype,q=m.prototype,z=e["__core-js_shared__"],K=G.toString,R=q.hasOwnProperty,$=0,X=(G=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",Y=q.toString,Q=K.call(m),J=is._,Z=M("^"+K.call(R).replace(Ys,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=ba?e.Buffer:Fi,t=e.Symbol,ee=e.Uint8Array,te=G?G.allocUnsafe:Fi,re=rc(m.getPrototypeOf,m),ne=m.create,oe=q.propertyIsEnumerable,ie=W.splice,se=t?t.isConcatSpreadable:Fi,ae=t?t.iterator:Fi,ce=t?t.toStringTag:Fi,le=(()=>{try{var e=Qr(m,"defineProperty");return e({},"",{}),e}catch(e){}})(),ue=e.clearTimeout!==is.clearTimeout&&e.clearTimeout,pe=i&&i.now!==is.Date.now&&i.now,he=e.setTimeout!==is.setTimeout&&e.setTimeout,de=D.ceil,fe=D.floor,me=m.getOwnPropertySymbols,G=G?G.isBuffer:Fi,ge=e.isFinite,ye=W.join,ve=rc(m.keys,m),x=D.max,C=D.min,Ee=i.now,_e=e.parseInt,Se=D.random,we=W.reverse,i=Qr(e,"DataView"),be=Qr(e,"Map"),xe=Qr(e,"Promise"),Ce=Qr(e,"Set"),e=Qr(e,"WeakMap"),Ae=Qr(m,"create"),Te=e&&new e,Ie={},Pe=bn(i),Ne=bn(be),Oe=bn(xe),ke=bn(Ce),Le=bn(e),t=t?t.prototype:Fi,De=t?t.valueOf:Fi,Me=t?t.toString:Fi;function f(e){if(F(e)&&!U(e)&&!(e instanceof y)){if(e instanceof g)return e;if(R.call(e,"__wrapped__"))return xn(e)}return new g(e)}var Re=function(e){if(!S(e))return{};if(ne)return ne(e);je.prototype=e;e=new je;return je.prototype=Fi,e};function je(){}function He(){}function g(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=Fi}function y(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Gi,this.__views__=[]}function Be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t:e}function v(r,n,o,e,t,i){var s,a=1&n,c=2&n,l=4&n;if((s=o?t?o(r,e,t,i):o(r):s)===Fi){if(!S(r))return r;var u,e=U(r);if(e){if(s=(e=>{var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&R.call(e,"index")&&(r.index=e.index,r.input=e.input),r})(r),!a)return A(r,s)}else{var p=H(r),h=p==xs||p==Cs;if(_o(r))return lr(r,a);if(p==Yi||p==qi||h&&!t){if(s=c||h?{}:tn(r),!a)return c?(d=h=r,d=(u=s)&&mr(d,N(d),u),mr(h,Zr(h),d)):(h=Qe(s,u=r),mr(u,Jr(u),h))}else{if(!os[p])return t?r:{};s=((e,t,r)=>{var n=e.constructor;switch(t){case ts:return ur(e);case zi:case Ki:return new n(+e);case rs:return((e,t)=>(t=t?ur(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.byteLength)))(e,r);case Is:case Ps:case Ns:case Os:case ks:case Ls:case Ds:case Ms:case Rs:return pr(e,r);case $i:return new n;case Xi:case Zi:return new n(e);case Qi:return(e=>{var t=new e.constructor(e.source,sa.exec(e));return t.lastIndex=e.lastIndex,t})(e);case Ji:return new n;case Ts:return(e=>De?m(De.call(e)):{})(e)}})(r,p,a)}}var d=(i=i||new j).get(r);if(d)return d;i.set(r,s),Po(r)?r.forEach(function(e){s.add(v(e,n,o,e,r,i))}):Co(r)&&r.forEach(function(e,t){s.set(t,v(e,n,o,t,r,i))});var f=e?Fi:(l?c?qr:Gr:c?N:P)(r);as(f||r,function(e,t){f&&(e=r[t=e]),$e(s,t,v(e,n,o,t,r,i))})}return s}function tt(e,t,r){var n=r.length;if(null==e)return!n;for(e=m(e);n--;){var o=r[n],i=t[o],s=e[o];if(s===Fi&&!(o in e)||!i(s))return!1}return!0}function rt(e,t,r){if("function"!=typeof e)throw new b(Vi);return mn(function(){e.apply(Fi,r)},t)}function nt(e,t,r,n){var o=-1,i=La,s=!0,a=e.length,c=[],l=t.length;if(a){r&&(t=ls(t,hs(r))),n?(i=Da,s=!1):t.length>=200&&(i=Xa,s=!1,t=new Ve(t));e:for(;++o-1},Ue.prototype.set=function(e,t){var r=this.__data__,n=Xe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Fe.prototype.clear=function(){this.size=0,this.__data__={hash:new Be,map:new(be||Ue),string:new Be}},Fe.prototype.delete=function(e){return e=Xr(this,e).delete(e),this.size-=e?1:0,e},Fe.prototype.get=function(e){return Xr(this,e).get(e)},Fe.prototype.has=function(e){return Xr(this,e).has(e)},Fe.prototype.set=function(e,t){var r=Xr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Ve.prototype.add=Ve.prototype.push=function(e){return this.__data__.set(e,vs),this},Ve.prototype.has=function(e){return this.__data__.has(e)},j.prototype.clear=function(){this.__data__=new Ue,this.size=0},j.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},j.prototype.get=function(e){return this.__data__.get(e)},j.prototype.has=function(e){return this.__data__.has(e)},j.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Ue){var n=r.__data__;if(!be||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Fe(n)}return r.set(e,t),this.size=r.size,this};var ot=vr(pt),it=vr(ht,!0);function st(e,n){var o=!0;return ot(e,function(e,t,r){return o=!!n(e,t,r)}),o}function at(e,t,r){for(var n=-1,o=e.length;++n0&&r(a)?t>1?c(a,t-1,r,n,o):us(o,a):n||(o[o.length]=a)}return o}var lt=Er(),ut=Er(!0);function pt(e,t){return e&<(e,t,P)}function ht(e,t){return e&&ut(e,t,P)}function dt(t,e){return cs(e,function(e){return wo(t[e])})}function ft(e,t){for(var r=0,n=(t=ir(t,e)).length;null!=e&&rt}function yt(e,t){return null!=e&&R.call(e,t)}function vt(e,t){return null!=e&&t in m(e)}function Et(e,t,r){for(var n=r?Da:La,o=e[0].length,i=e.length,s=i,a=w(i),c=1/0,l=[];s--;){var u=e[s];s&&t&&(u=ls(u,hs(t))),c=C(u.length,c),a[s]=!r&&(t||o>=120&&u.length>=120)?new Ve(s&&u):Fi}var u=e[0],p=-1,h=a[0];e:for(;++p=a?l:(c=r[n],l*("desc"==c?-1:1))}return e.index-t.index},r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function Mt(e,t,r){for(var n=-1,o=t.length,i={};++n-1;)a!==e&&ie.call(a,c,1),ie.call(e,c,1);return e}function jt(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o,i=t[r];r!=n&&i===o||(nn(o=i)?ie.call(e,i,1):Qt(e,i))}}function Ht(e,t){return e+fe(Se()*(t-e+1))}function Bt(e,t){var r="";if(!(!e||t<1||t>Wi))for(;t%2&&(r+=e),(t=fe(t/2))&&(e+=e),t;);return r}function s(e,t){return gn(pn(e,t,O),e+"")}function Ut(e){return Ge(ni(e))}function Ft(e,t){e=ni(e);return En(e,et(t,0,e.length))}function Vt(e,t,r,n){if(S(e))for(var o=-1,i=(t=ir(t,e)).length,s=i-1,a=e;null!=a&&++oo?o:r)<0&&(r+=o),o=(t=t<0?-t>o?0:o+t:t)>r?0:r-t>>>0,t>>>=0,w(o));++n>>1,s=e[i];null!==s&&!E(s)&&(r?s<=t:s=200){var l=t?null:Rr(e);if(l)return nc(l);s=!1,o=Xa,c=new Ve}else c=t?[]:a;e:for(;++n=n?e:a(e,t,r)}var cr=ue||function(e){return is.clearTimeout(e)};function lr(e,t){return t?e.slice():(t=e.length,t=te?te(t):new e.constructor(t),e.copy(t),t)}function ur(e){var t=new e.constructor(e.byteLength);return new ee(t).set(new ee(e)),t}function pr(e,t){t=t?ur(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function hr(e,t){if(e!==t){var r=e!==Fi,n=null===e,o=e===e,i=E(e),s=t!==Fi,a=null===t,c=t===t,l=E(t);if(!a&&!l&&!i&&e>t||i&&s&&c&&!a&&!l||n&&s&&c||!r&&c||!o)return 1;if(!n&&!i&&!l&&e1?t[n-1]:Fi,i=n>2?t[2]:Fi,o=a.length>3&&"function"==typeof o?(n--,o):Fi;for(i&&h(t[0],t[1],i)&&(o=n<3?Fi:o,n=1),e=m(e);++r-1?o[n?e[t]:t]:Fi}}function Cr(c){return Wr(function(o){var i=o.length,e=i,t=g.prototype.thru;for(c&&o.reverse();e--;){var r=o[e];if("function"!=typeof r)throw new b(Vi);t&&!a&&"wrapper"==Kr(r)&&(a=new g([],!0))}for(e=a?e:i;++e{for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n})(o,t=$r(e))),l&&(o=dr(o,l,u,E)),p&&(o=fr(o,p,h,E)),n-=r,E&&n{for(var r=e.length,n=C(t.length,r),o=A(e);n--;){var i=t[n];e[n]=nn(i,r)?o[i]:Fi}return e})(o,d):_&&n>1&&o.reverse(),g&&fa))return!1;var c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;var u=-1,p=!0,h=2&r?new Ve:Fi;for(i.set(e,t),i.set(t,e);++u-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(Zs,"{\n/* [wrapped with "+t+"] */\n")):e))}function vn(r){var n=0,o=0;return function(){var e=Ee(),t=16-(e-o);if(o=e,t>0){if(++n>=800)return arguments[0]}else n=0;return r.apply(Fi,arguments)}}function En(e,t){var r=-1,n=e.length,o=n-1;for(t=t===Fi?n:t;++r1?e[t-1]:Fi)?(e.pop(),t):Fi;return Rn(e,t)});function Wn(e){e=f(e);return e.__chain__=!0,e}function Gn(e,t){return t(e)}var qn=Wr(function(t){function e(e){return Ze(e,t)}var r=t.length,n=r?t[0]:0,o=this.__wrapped__;return!(r>1||this.__actions__.length)&&o instanceof y&&nn(n)?((o=o.slice(n,+n+(r?1:0))).__actions__.push({func:Gn,args:[e],thisArg:Fi}),new g(o,this.__chain__).thru(function(e){return r&&!e.length&&e.push(Fi),e})):this.thru(e)});var zn=gr(function(e,t,r){R.call(e,r)?++e[r]:Je(e,r,1)});var Kn=xr(Cn),$n=xr(An);function Xn(e,t){return(U(e)?as:ot)(e,p(t,3))}function Yn(e,t){return(U(e)?Oa:it)(e,p(t,3))}var Qn=gr(function(e,t,r){R.call(e,r)?e[r].push(t):Je(e,r,[t])});var Jn=s(function(e,t,r){var n=-1,o="function"==typeof t,i=u(e)?w(e.length):[];return ot(e,function(e){i[++n]=o?ss(t,e,r):_t(e,t,r)}),i}),Zn=gr(function(e,t,r){Je(e,r,t)});function eo(e,t){return(U(e)?ls:Pt)(e,p(t,3))}var to=gr(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});var ro=s(function(e,t){var r;return null==e?[]:((r=t.length)>1&&h(e,t[0],t[1])?t=[]:r>2&&h(t[0],t[1],t[2])&&(t=[t[0]]),Dt(e,c(t,1),[]))}),no=pe||function(){return is.Date.now()};function oo(e,t,r){return t=r?Fi:t,t=e&&null==t?e.length:t,Hr(e,128,Fi,Fi,Fi,Fi,t)}function io(e,t){var r;if("function"!=typeof t)throw new b(Vi);return e=T(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=Fi),r}}var so=s(function(e,t,r){var n,o=1;return r.length&&(n=fs(r,$r(so)),o|=32),Hr(e,o,t,r,n)}),ao=s(function(e,t,r){var n,o=3;return r.length&&(n=fs(r,$r(ao)),o|=32),Hr(t,o,e,r,n)});function co(n,r,e){var o,i,s,a,c,l,u=0,p=!1,h=!1,t=!0;if("function"!=typeof n)throw new b(Vi);function d(e){var t=o,r=i;return o=i=Fi,u=e,a=n.apply(r,t)}function f(e){var t=e-l;return l===Fi||t>=r||t<0||h&&e-u>=s}function m(){var e,t=no();if(f(t))return g(t);c=mn(m,(e=r-((t=t)-l),h?C(e,s-(t-u)):e))}function g(e){return c=Fi,t&&o?d(e):(o=i=Fi,a)}function y(){var e=no(),t=f(e);if(o=arguments,i=this,l=e,t){if(c===Fi)return u=e=l,c=mn(m,r),p?d(e):a;if(h)return cr(c),c=mn(m,r),d(l)}return c===Fi&&(c=mn(m,r)),a}return r=I(r)||0,S(e)&&(p=!!e.leading,h="maxWait"in e,s=h?x(I(e.maxWait)||0,r):s,t="trailing"in e?!!e.trailing:t),y.cancel=function(){c!==Fi&&cr(c),u=0,o=l=i=c=Fi},y.flush=function(){return c===Fi?a:g(no())},y}var pe=s(function(e,t){return rt(e,1,t)}),lo=s(function(e,t,r){return rt(e,I(t)||0,r)});function uo(n,o){if("function"!=typeof n||null!=o&&"function"!=typeof o)throw new b(Vi);function i(){var e=arguments,t=o?o.apply(this,e):e[0],r=i.cache;return r.has(t)?r.get(t):(e=n.apply(this,e),i.cache=r.set(t,e)||r,e)}return i.cache=new(uo.Cache||Fe),i}function po(t){if("function"!=typeof t)throw new b(Vi);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}uo.Cache=Fe;var sr=sr(function(n,o){var i=(o=1==o.length&&U(o[0])?ls(o[0],hs(p())):ls(c(o,1),hs(p()))).length;return s(function(e){for(var t=-1,r=C(e.length,i);++t=t}),vo=St(function(){return arguments}())?St:function(e){return F(e)&&R.call(e,"callee")&&!oe.call(e,"callee")},U=w.isArray,Eo=xa?hs(xa):function(e){return F(e)&&r(e)==ts};function u(e){return null!=e&&xo(e.length)&&!wo(e)}function _(e){return F(e)&&u(e)}var _o=G||ki,G=Ca?hs(Ca):function(e){return F(e)&&r(e)==Ki};function So(e){var t;return!!F(e)&&((t=r(e))==bs||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!To(e))}function wo(e){return!!S(e)&&((e=r(e))==xs||e==Cs||"[object AsyncFunction]"==e||"[object Proxy]"==e)}function bo(e){return"number"==typeof e&&e==T(e)}function xo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Wi}function S(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function F(e){return null!=e&&"object"==typeof e}var Co=Aa?hs(Aa):function(e){return F(e)&&H(e)==$i};function Ao(e){return"number"==typeof e||F(e)&&r(e)==Xi}function To(e){return!(!F(e)||r(e)!=Yi)&&(null===(e=re(e))||"function"==typeof(e=R.call(e,"constructor")&&e.constructor)&&e instanceof e&&K.call(e)==Q)}var Io=Ta?hs(Ta):function(e){return F(e)&&r(e)==Qi};var Po=Ia?hs(Ia):function(e){return F(e)&&H(e)==Ji};function No(e){return"string"==typeof e||!U(e)&&F(e)&&r(e)==Zi}function E(e){return"symbol"==typeof e||F(e)&&r(e)==Ts}var Oo=Pa?hs(Pa):function(e){return F(e)&&xo(e.length)&&!!ns[r(e)]};var ko=Lr(It),Lo=Lr(function(e,t){return e<=t});function Do(e){if(!e)return[];if(u(e))return(No(e)?gs:A)(e);if(ae&&e[ae]){for(var t,r=e[ae](),n=[];!(t=r.next()).done;)n.push(t.value);return n}var o=H(e);return(o==$i?tc:o==Ji?nc:ni)(e)}function Mo(e){return e?(e=I(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function T(e){var e=Mo(e),t=e%1;return e===e?t?e-t:e:0}function Ro(e){return e?et(T(e),0,Gi):0}function I(e){if("number"==typeof e)return e;if(E(e))return _s;if("string"!=typeof(e=S(e)?S(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=Ka(e);var t=ca.test(e);return t||ua.test(e)?wa(e.slice(2),t?2:8):aa.test(e)?_s:+e}function jo(e){return mr(e,N(e))}function d(e){return null==e?"":l(e)}var Ho=yr(function(e,t){if(cn(t)||u(t))mr(t,P(t),e);else for(var r in t)R.call(t,r)&&$e(e,r,t[r])}),Bo=yr(function(e,t){mr(t,N(t),e)}),Uo=yr(function(e,t,r,n){mr(t,N(t),e,n)}),Fo=yr(function(e,t,r,n){mr(t,P(t),e,n)}),Vo=Wr(Ze);var Wo=s(function(e,t){e=m(e);var r=-1,n=t.length,o=n>2?t[2]:Fi;for(o&&h(t[0],t[1],o)&&(n=1);++r1,e}),mr(t,qr(t),r),n&&(r=v(r,7,Fr)),e.length);o--;)Qt(r,e[o]);return r});var Zo=Wr(function(e,t){return null==e?{}:Mt(r=e,t,function(e,t){return zo(r,t)});var r});function ei(e,r){var t;return null==e?{}:(t=ls(qr(e),function(e){return[e]}),r=p(r),Mt(e,t,function(e,t){return r(e,t[0])}))}var ti=jr(P),ri=jr(N);function ni(e){return null==e?[]:$a(e,P(e))}var oi=Sr(function(e,t,r){return t=t.toLowerCase(),e+(r?ii(t):t)});function ii(e){return di(d(e).toLowerCase())}function si(e){return(e=d(e))&&e.replace(ha,Ja).replace(ga,"")}var ai=Sr(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),ci=Sr(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),li=_r("toLowerCase");var ui=Sr(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});var pi=Sr(function(e,t,r){return e+(r?" ":"")+di(t)});var hi=Sr(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),di=_r("toUpperCase");function fi(e,t,r){return e=d(e),(t=r?Fi:t)===Fi?(r=e,va.test(r)?e.match(ya)||[]:e.match(ra)||[]):e.match(t)||[]}var mi=s(function(e,t){try{return ss(e,Fi,t)}catch(e){return So(e)?e:new k(e)}}),gi=Wr(function(t,e){return as(e,function(e){e=wn(e),Je(t,e,so(t[e],t))}),t});function yi(e){return function(){return e}}var vi=Cr(),Ei=Cr(!0);function O(e){return e}function _i(e){return Ct("function"==typeof e?e:v(e,1))}var Si=s(function(t,r){return function(e){return _t(e,t,r)}}),wi=s(function(t,r){return function(e){return _t(t,e,r)}});function bi(n,t,e){var r=P(t),o=dt(t,r),i=(null!=e||S(t)&&(o.length||!r.length)||(e=t,t=n,n=this,o=dt(t,P(t))),!(S(e)&&"chain"in e)||!!e.chain),s=wo(n);return as(o,function(e){var r=t[e];n[e]=r,s&&(n.prototype[e]=function(){var e,t=this.__chain__;return i||t?(((e=n(this.__wrapped__)).__actions__=A(this.__actions__)).push({func:r,args:arguments,thisArg:n}),e.__chain__=t,e):r.apply(n,us([this.value()],arguments))})}),n}function xi(){}var Ci=Pr(ls),Ai=Pr(ka),Ti=Pr(ja);function Ii(e){return on(e)?Wa(wn(e)):(t=e,function(e){return ft(e,t)});var t}var Pi=kr(),Ni=kr(!0);function Oi(){return[]}function ki(){return!1}var Li=Ir(function(e,t){return e+t},0),Di=Mr("ceil"),Mi=Ir(function(e,t){return e/t},1),Ri=Mr("floor");var ji,Hi=Ir(function(e,t){return e*t},1),Bi=Mr("round"),Ui=Ir(function(e,t){return e-t},0);return f.after=function(e,t){if("function"!=typeof t)throw new b(Vi);return e=T(e),function(){if(--e<1)return t.apply(this,arguments)}},f.ary=oo,f.assign=Ho,f.assignIn=Bo,f.assignInWith=Uo,f.assignWith=Fo,f.at=Vo,f.before=io,f.bind=so,f.bindAll=gi,f.bindKey=ao,f.castArray=function(){var e;return arguments.length?U(e=arguments[0])?e:[e]:[]},f.chain=Wn,f.chunk=function(e,t,r){t=(r?h(e,t,r):t===Fi)?1:x(T(t),0);var n=null==e?0:e.length;if(!n||t<1)return[];for(var o=0,i=0,s=w(de(n/t));oc?0:c+s),(a=a===Fi||a>c?c:T(a))<0&&(a+=c),a=s>a?0:Ro(a);s>>0)?(e=d(e))&&("string"==typeof t||null!=t&&!Io(t))&&!(t=l(t))&&ds(e)?ar(gs(e),0,r):e.split(t,r):[]},f.spread=function(r,n){if("function"!=typeof r)throw new b(Vi);return n=null==n?0:x(T(n),0),s(function(e){var t=e[n],e=ar(e,0,n);return t&&us(e,t),ss(r,this,e)})},f.tail=function(e){var t=null==e?0:e.length;return t?a(e,1,t):[]},f.take=function(e,t,r){return e&&e.length?a(e,0,(t=r||t===Fi?1:T(t))<0?0:t):[]},f.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?a(e,(t=n-(t=r||t===Fi?1:T(t)))<0?0:t,n):[]},f.takeRightWhile=function(e,t){return e&&e.length?Zt(e,p(t,3),!1,!0):[]},f.takeWhile=function(e,t){return e&&e.length?Zt(e,p(t,3)):[]},f.tap=function(e,t){return t(e),e},f.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new b(Vi);return S(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),co(e,t,{leading:n,maxWait:t,trailing:o})},f.thru=Gn,f.toArray=Do,f.toPairs=ti,f.toPairsIn=ri,f.toPath=function(e){return U(e)?ls(e,wn):E(e)?[e]:A(Sn(d(e)))},f.toPlainObject=jo,f.transform=function(e,n,o){var t,r=U(e),i=r||_o(e)||Oo(e);return n=p(n,4),null==o&&(t=e&&e.constructor,o=i?r?new t:[]:S(e)&&wo(t)?Re(re(e)):{}),(i?as:pt)(e,function(e,t,r){return n(o,e,t,r)}),o},f.unary=function(e){return oo(e,1)},f.union=kn,f.unionBy=Ln,f.unionWith=Dn,f.uniq=function(e){return e&&e.length?Yt(e):[]},f.uniqBy=function(e,t){return e&&e.length?Yt(e,p(t,2)):[]},f.uniqWith=function(e,t){return t="function"==typeof t?t:Fi,e&&e.length?Yt(e,Fi,t):[]},f.unset=function(e,t){return null==e||Qt(e,t)},f.unzip=Mn,f.unzipWith=Rn,f.update=function(e,t,r){return null==e?e:Jt(e,t,or(r))},f.updateWith=function(e,t,r,n){return n="function"==typeof n?n:Fi,null==e?e:Jt(e,t,or(r),n)},f.values=ni,f.valuesIn=function(e){return null==e?[]:$a(e,N(e))},f.without=jn,f.words=fi,f.wrap=function(e,t){return ho(or(t),e)},f.xor=Hn,f.xorBy=Bn,f.xorWith=Un,f.zip=Fn,f.zipObject=function(e,t){return rr(e||[],t||[],$e)},f.zipObjectDeep=function(e,t){return rr(e||[],t||[],Vt)},f.zipWith=Vn,f.entries=ti,f.entriesIn=ri,f.extend=Bo,f.extendWith=Uo,bi(f,f),f.add=Li,f.attempt=mi,f.camelCase=oi,f.capitalize=ii,f.ceil=Di,f.clamp=function(e,t,r){return r===Fi&&(r=t,t=Fi),r!==Fi&&(r=(r=I(r))===r?r:0),t!==Fi&&(t=(t=I(t))===t?t:0),et(I(e),t,r)},f.clone=function(e){return v(e,4)},f.cloneDeep=function(e){return v(e,5)},f.cloneDeepWith=function(e,t){return v(e,5,t="function"==typeof t?t:Fi)},f.cloneWith=function(e,t){return v(e,4,t="function"==typeof t?t:Fi)},f.conformsTo=function(e,t){return null==t||tt(e,t,P(t))},f.deburr=si,f.defaultTo=function(e,t){return null==e||e!==e?t:e},f.divide=Mi,f.endsWith=function(e,t,r){e=d(e),t=l(t);var n=e.length,n=r=r===Fi?n:et(T(r),0,n);return(r-=t.length)>=0&&e.slice(r,n)==t},f.eq=B,f.escape=function(e){return(e=d(e))&&Ws.test(e)?e.replace(Fs,Za):e},f.escapeRegExp=function(e){return(e=d(e))&&Qs.test(e)?e.replace(Ys,"\\$&"):e},f.every=function(e,t,r){return(U(e)?ka:st)(e,p(t=r&&h(e,t,r)?Fi:t,3))},f.find=Kn,f.findIndex=Cn,f.findKey=function(e,t){return Ha(e,p(t,3),pt)},f.findLast=$n,f.findLastIndex=An,f.findLastKey=function(e,t){return Ha(e,p(t,3),ht)},f.floor=Ri,f.forEach=Xn,f.forEachRight=Yn,f.forIn=function(e,t){return null==e?e:lt(e,p(t,3),N)},f.forInRight=function(e,t){return null==e?e:ut(e,p(t,3),N)},f.forOwn=function(e,t){return e&&pt(e,p(t,3))},f.forOwnRight=function(e,t){return e&&ht(e,p(t,3))},f.get=qo,f.gt=go,f.gte=yo,f.has=function(e,t){return null!=e&&en(e,t,yt)},f.hasIn=zo,f.head=In,f.identity=O,f.includes=function(e,t,r,n){return e=u(e)?e:ni(e),r=r&&!n?T(r):0,n=e.length,r<0&&(r=x(n+r,0)),No(e)?r<=n&&e.indexOf(t,r)>-1:!!n&&ps(e,t,r)>-1},f.indexOf=function(e,t,r){var n=null==e?0:e.length;return n?ps(e,t,e=(e=null==r?0:T(r))<0?x(n+e,0):e):-1},f.inRange=function(e,t,r){return t=Mo(t),r===Fi?(r=t,t=0):r=Mo(r),(e=e=I(e))>=C(t=t,r=r)&&e=-Wi&&e<=Wi},f.isSet=Po,f.isString=No,f.isSymbol=E,f.isTypedArray=Oo,f.isUndefined=function(e){return e===Fi},f.isWeakMap=function(e){return F(e)&&H(e)==es},f.isWeakSet=function(e){return F(e)&&"[object WeakSet]"==r(e)},f.join=function(e,t){return null==e?"":ye.call(e,t)},f.kebabCase=ai,f.last=n,f.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n;if(r!==Fi&&(o=(o=T(r))<0?x(n+o,0):C(o,n-1)),t!==t)return Ba(e,Fa,o,!0);for(var i=e,s=t,a=o+1;a--;)if(i[a]===s)return a;return a},f.lowerCase=ci,f.lowerFirst=li,f.lt=ko,f.lte=Lo,f.max=function(e){return e&&e.length?at(e,O,gt):Fi},f.maxBy=function(e,t){return e&&e.length?at(e,p(t,2),gt):Fi},f.mean=function(e){return Va(e,O)},f.meanBy=function(e,t){return Va(e,p(t,2))},f.min=function(e){return e&&e.length?at(e,O,It):Fi},f.minBy=function(e,t){return e&&e.length?at(e,p(t,2),It):Fi},f.stubArray=Oi,f.stubFalse=ki,f.stubObject=function(){return{}},f.stubString=function(){return""},f.stubTrue=function(){return!0},f.multiply=Hi,f.nth=function(e,t){return e&&e.length?Lt(e,T(t)):Fi},f.noConflict=function(){return is._===this&&(is._=J),this},f.noop=xi,f.now=no,f.pad=function(e,t,r){e=d(e);var n=(t=T(t))?ms(e):0;return!t||n>=t?e:Nr(fe(t=(t-n)/2),r)+e+Nr(de(t),r)},f.padEnd=function(e,t,r){e=d(e);var n=(t=T(t))?ms(e):0;return t&&nt&&(n=e,e=t,t=n),r||e%1||t%1?(n=Se(),C(e+n*(t-e+Sa("1e-"+((n+"").length-1))),t)):Ht(e,t)},f.reduce=function(e,t,r){var n=U(e)?Ma:Ga,o=arguments.length<3;return n(e,p(t,4),r,o,ot)},f.reduceRight=function(e,t,r){var n=U(e)?Ra:Ga,o=arguments.length<3;return n(e,p(t,4),r,o,it)},f.repeat=function(e,t,r){return t=(r?h(e,t,r):t===Fi)?1:T(t),Bt(d(e),t)},f.replace=function(){var e=arguments,t=d(e[0]);return e.length<3?t:t.replace(e[1],e[2])},f.result=function(e,t,r){var n=-1,o=(t=ir(t,e)).length;for(o||(o=1,e=Fi);++nWi)return[];for(var r=Gi,n=C(e,Gi),n=(t=p(t),e-=Gi,za(n,t));++r=(t=ds(e)?(i=gs(e)).length:t))return e;if((t=n-ms(o))<1)return o;var i,n=i?ar(i,0,t).join(""):e.slice(0,t);if(r!==Fi)if(i&&(t+=n.length-t),Io(r)){if(e.slice(t).search(r)){var s,a=n;for((r=r.global?r:M(r.source,d(sa.exec(r))+"g")).lastIndex=0;s=r.exec(a);)var c=s.index;n=n.slice(0,c===Fi?t:c)}}else e.indexOf(l(r),t)!=t&&(i=n.lastIndexOf(r))>-1&&(n=n.slice(0,i));return n+o},f.unescape=function(e){return(e=d(e))&&Vs.test(e)?e.replace(Us,ic):e},f.uniqueId=function(e){var t=++$;return d(e)+t},f.upperCase=hi,f.upperFirst=di,f.each=Xn,f.eachRight=Yn,f.first=In,bi(f,(ji={},pt(f,function(e,t){R.call(f.prototype,t)||(ji[t]=e)}),ji),{chain:!1}),f.VERSION="4.17.21",as(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),as(["drop","take"],function(r,n){y.prototype[r]=function(e){e=e===Fi?1:x(T(e),0);var t=this.__filtered__&&!n?new y(this):this.clone();return t.__filtered__?t.__takeCount__=C(e,t.__takeCount__):t.__views__.push({size:C(e,Gi),type:r+(t.__dir__<0?"Right":"")}),t},y.prototype[r+"Right"]=function(e){return this.reverse()[r](e).reverse()}}),as(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;y.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:p(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),as(["head","last"],function(e,t){var r="take"+(t?"Right":"");y.prototype[e]=function(){return this[r](1).value()[0]}}),as(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");y.prototype[e]=function(){return this.__filtered__?new y(this):this[r](1)}}),y.prototype.compact=function(){return this.filter(O)},y.prototype.find=function(e){return this.filter(e).head()},y.prototype.findLast=function(e){return this.reverse().find(e)},y.prototype.invokeMap=s(function(t,r){return"function"==typeof t?new y(this):this.map(function(e){return _t(e,t,r)})}),y.prototype.reject=function(e){return this.filter(po(p(e)))},y.prototype.slice=function(e,t){e=T(e);var r=this;return r.__filtered__&&(e>0||t<0)?new y(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==Fi?(t=T(t))<0?r.dropRight(-t):r.take(t-e):r)},y.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},y.prototype.toArray=function(){return this.take(Gi)},pt(y.prototype,function(l,e){var u=/^(?:filter|find|map|reject)|While$/.test(e),p=/^(?:head|last)$/.test(e),h=f[p?"take"+("last"==e?"Right":""):e],d=p||/^find/.test(e);h&&(f.prototype[e]=function(){function e(e){return e=h.apply(f,us([e],n)),p&&a?e[0]:e}var t,r=this.__wrapped__,n=p?[1]:arguments,o=r instanceof y,i=n[0],s=o||U(r),a=(s&&u&&"function"==typeof i&&1!=i.length&&(o=s=!1),this.__chain__),i=!!this.__actions__.length,c=d&&!a,o=o&&!i;return!d&&s?(r=o?r:new y(this),(t=l.apply(r,n)).__actions__.push({func:Gn,args:[e],thisArg:Fi}),new g(t,a)):c&&o?l.apply(this,n):(t=this.thru(e),c?p?t.value()[0]:t.value():t)})}),as(["pop","push","shift","sort","splice","unshift"],function(e){var r=W[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var e,t=arguments;return o&&!this.__chain__?(e=this.value(),r.apply(U(e)?e:[],t)):this[n](function(e){return r.apply(U(e)?e:[],t)})}}),pt(y.prototype,function(e,t){var r,n=f[t];n&&(r=n.name+"",R.call(Ie,r)||(Ie[r]=[]),Ie[r].push({name:t,func:n}))}),Ie[Ar(Fi,2).name]=[{name:"wrapper",func:Fi}],y.prototype.clone=function(){var e=new y(this.__wrapped__);return e.__actions__=A(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=A(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=A(this.__views__),e},y.prototype.reverse=function(){var e;return this.__filtered__?((e=new y(this)).__dir__=-1,e.__filtered__=!0):(e=this.clone()).__dir__*=-1,e},y.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=U(e),n=t<0,o=r?e.length:0,i=((e,t,r)=>{for(var n=-1,o=r.length;++n=this.__values__.length;return{done:e,value:e?Fi:this.__values__[this.__index__++]}},f.prototype.plant=function(e){for(var t,r=this;r instanceof He;)var n=xn(r),o=(n.__index__=0,n.__values__=Fi,t?o.__wrapped__=n:t=n,n),r=r.__wrapped__;return o.__wrapped__=e,t},f.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof y?(e=e,(e=(e=this.__actions__.length?new y(this):e).reverse()).__actions__.push({func:Gn,args:[On],thisArg:Fi}),new g(e,this.__chain__)):this.thru(On)},f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=function(){return er(this.__wrapped__,this.__actions__)},f.prototype.first=f.prototype.head,ae&&(f.prototype[ae]=function(){return this}),f}();o?((o.exports=ys)._=ys,n._=ys):is._=ys}.call(j)}),zh=(e(Kh,Gh=t),Kh.prototype.attach=function(r){var o=this;Gh.prototype.attach.call(this,r),this._methodCallInstrumentation.attach(r),this._locationAccessorsInstrumentation.attach(r),this._propertyAccessorsInstrumentation.attach(r),b.objectDefineProperty(r,g.getEval,{value:function(t){var e;return t!==r.eval?t:(b.objectDefineProperty(e=function(e){return"string"===typeof e&&(e=Sc(e)),t(e)},Kh.WRAPPED_EVAL_FN,{value:t}),e)},configurable:!0}),b.objectDefineProperty(r,g.processScript,{value:function(e,t){if(t){if(e&&e.length&&"string"===typeof e[0]){for(var r=[Sc(e[0],!1)],n=1;n".concat(t,""),{processedContext:e}):t},configurable:!0}),b.objectDefineProperty(r,g.getProxyUrl,{value:function(e,t){var r=gt.getBaseUrl(o.document),n=t&&t!==r,t=(n&>.updateBase(t,o.document),C(e,{resourceType:Ge({isScript:!0})}));return n&>.updateBase(r,o.document),t},configurable:!0}),b.objectDefineProperty(r,g.restArray,{value:function(e,t){return b.arraySlice.call(e,t)},configurable:!0}),b.objectDefineProperty(r,g.arrayFrom,{value:function(e){return e&&(!b.isArray.call(b.Array,e)&&qh.isFunction(e[Symbol.iterator])?b.arrayFrom.call(b.Array,e):e)},configurable:!0}),b.objectDefineProperty(r,g.restObject,{value:function(e,t){for(var r={},n=0,o=b.objectKeys(e);ns[p].lastAccessed&&(u=s[l],s[l]=s[p],s[p]=u),a.push(s[l]);break}p===s.length&&c.push(s[l])}return{outdated:a,actual:c}}function rd(e){e.syncKey=e.syncKey||ed(e),e.cookieStr=e.cookieStr||"".concat(e.syncKey,"=").concat(e.value)}function nd(e){return e.cookieStr?"".concat(e.cookieStr,";path=/"):"".concat(ed(e),"=").concat(e.value,";path=/")}function od(e){var t=Yh.exec(e)||[],r=t[1],t=t[2],n=void 0!==r&&void 0!==t&&r.split("|");return n&&n.length!==Xh?null:{isServerSync:n[0].indexOf(Qh.server)>-1,isClientSync:n[0].indexOf(Qh.client)>-1,isWindowSync:n[0].indexOf(Qh.window)>-1,sid:n[1],key:decodeURIComponent(n[2]),domain:decodeURIComponent(n[3]),path:decodeURIComponent(n[4]),expires:n[5]?new Date(parseInt(n[5],$h)):"Infinity",lastAccessed:new Date(parseInt(n[6],$h)),maxAge:n[7]?parseInt(n[7],$h):null,syncKey:r,value:t,cookieStr:e}}function id(e,t){"server"in t&&(e.isServerSync=t.server),"client"in t&&(e.isClientSync=t.client),"window"in t&&(e.isWindowSync=t.window);var r,t=Zh(e);e.syncKey=null===(r=e.syncKey)||void 0===r?void 0:r.replace(Jh,t),e.cookieStr=null===(r=e.cookieStr)||void 0===r?void 0:r.replace(Jh,t)}function sd(e){return e.syncKey+"=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT"}var ad=Object.freeze({__proto__:null,SYNCHRONIZATION_TYPE:Qh,parseClientSyncCookieStr:td,prepareSyncCookieProperties:rd,formatSyncCookie:nd,parseSyncCookie:od,changeSyncType:id,isOutdatedSyncCookie:function(e,t){return t.isServerSync===e.isServerSync&&t.sid===e.sid&&t.key===e.key&&t.domain===e.domain&&t.path===e.path&&t.lastAccessed>e.lastAccessed},generateDeleteSyncCookieStr:sd}),cd=null;function ld(){if(!cd)for(cd=window.top;cd.opener&&cd!==cd.opener;)cd=cd.opener.top;return cd}var ud="hammerhead|command|sync-cookie-start",pd="hammerhead|command|sync-cookie-done",hd=(dd._getCookieSandbox=function(e){try{var t=e[w.hammerhead].sandbox.cookie;return t.document&&t}catch(e){return null}},dd.prototype._onMsgReceived=function(e){var t=this,r=e.message,n=e.source;r.cmd===ud?(this._cookieSandbox.syncWindowCookie(r.cookies),this._win!==this._win.top?this._messageSandbox.sendServiceMsg({id:r.id,cmd:pd},n):this._win!==ld()?this.syncBetweenWindows(r.cookies,n).then(function(){return t._messageSandbox.sendServiceMsg({id:r.id,cmd:pd},n)}):this.syncBetweenWindows(r.cookies,n)):r.cmd===pd&&(e=this._resolversMap.get(r.id))&&e()},dd.prototype._getWindowsForSync=function(e,t,r){void 0===r&&(r=[]),t!==e&&t!==this._win.top&&r.push(t);for(var n=0,o=t.frames;n-1?e.substr(0,t):e,r=fd.exec(r);if(!r)return null;var n={key:r[1]?Se(r[2]):"",value:Se(r[3])};if(-1!==t){r=Se(e.slice(t).replace(/^\s*;\s*/,""));if(0!==r.length)for(var o=r.split(/\s*;\s*/);o.length;){var i,s=o.shift(),a=s.indexOf("="),c=null,l=null;switch(-1===a?c=s:(c=s.substr(0,a),l=Se(s.substr(a+1))),c=Se(c.toLowerCase())){case"expires":l=l.replace(gd,"$1 $2 $3"),(i=wd(Date.parse(l)))&&(n.expires=i);break;case"max-age":l&&(n.maxAge=Number(l));break;case"path":n.path=l;break;case"secure":n.secure=!0;break;case"httponly":n.httpOnly=!0;break;case"domain":n.domain=Se(l.replace(/^\./,""))}}}return n}function vd(e){var t=e.value||"";return t=""!==e.key?e.key+"="+t:t}function Ed(e,t){var r=t.hostname,t=t.pathname;e.domain||(e.domain=r),e.path&&"/"===e.path.charAt(0)||(r=t.slice(0,t.lastIndexOf("/")),e.path=r||"/"),e.expires||(e.expires="Infinity"),isNaN(e.maxAge)&&(e.maxAge="Infinity")}function _d(e,t){var r;return!t||(e=e.toLowerCase())===(t=t.toLowerCase())||(r=e.indexOf(t))>0&&e.length===t.length+r&&"."===e.charAt(r-1)}function Sd(e,t){return!t||"/"!==t.charAt(0)||e===t||e.length>t.length&&0===e.indexOf(t)&&("/"===t.charAt(t.length-1)||"/"===e.charAt(t.length))}function wd(e){if(arguments.length){if(isNaN(e))return null}else e=b.dateNow();return e=1e3*Math.floor(e/1e3),new b.date(e)}var bd=Object.freeze({__proto__:null,parse:yd,formatClientString:vd,setDefaultValues:Ed,domainMatch:_d,pathMatch:Sd,getUTCDate:wd}),xd=new b.date(0).toUTCString(),Cd=(Ad.create=function(e,t,r){return e?new Td:new Pd(t,r)},Ad);function Ad(){}Id.prototype.getCookie=function(){return""},Id.prototype.setCookie=function(){},Id.prototype.syncCookie=function(){},Id.prototype.syncWindowCookie=function(){},Id.prototype.removeAllSyncCookie=function(){};var Td=Id;function Id(){}Nd.prototype.getCookie=function(){return this.syncCookie(!0),x.get().cookie||""},Nd.prototype.setCookie=function(e){var t,r,n,o="string"===typeof e;this._canSetCookie(e,o)&&(e=o?yd(e):e)&&!e.httpOnly&&_d((t=xt()).hostname,e.domain)&&(e.secure&&"https:"!==t.protocol||!Sd(t.pathname,e.path)||(r=wd(),n=null,(!e.expires||"Infinity"===e.expires||e.expires>r)&&($r(e.maxAge)||isNaN(e.maxAge)||e.maxAge>0)&&(n=vd(e)),kd._updateClientCookieStr(e.key,n)),o)&&(Ed(e,t),this._syncClientCookie(e),this.syncCookie())},Nd.prototype.syncCookie=function(e){void 0===e&&(e=!1);for(var t=td(b.documentCookieGetter.call(this.document)),r=x.get().sessionId,n=[],o=0,i=t.outdated;o4096||"file:"===xt().protocol))&&(t="key".concat(b.mathRandom.call(b.math),"=value"),b.documentCookieSetter.call(this.document,t),(e=!b.documentCookieGetter.call(this.document))||b.documentCookieSetter.call(this.document,"".concat(t,";expires=").concat(xd)),!e)},Nd.prototype._syncClientCookie=function(e){e.isClientSync=!0,e.isWindowSync=!0,e.sid=x.get().sessionId,e.lastAccessed=wd(),rd(e),b.documentCookieSetter.call(this.document,nd(e)),this._windowSync.syncBetweenWindows([e])};var Pd=Nd;function Nd(e,t){this.document=null,this.document=e,this._windowSync=t}e(Ld,Od=t),Ld._updateClientCookieStr=function(e,t){for(var r=x.get().cookie,n=[],o=!1,i=""===e?null:e+"=",s=0,a=r?r.split(";"):[];s-1&&(t.length===e||";"===t.charAt(e))},Ld.prototype.attach=function(e){Od.prototype.attach.call(this,e),this._windowSync.attach(e),this._cookieStrategy=Cd.create(x.nativeAutomation,this.document,this._windowSync),e===ld()&&this._unloadSandbox.on(this._unloadSandbox.UNLOAD_EVENT,this._cookieStrategy.removeAllSyncCookie)},Ld.prototype.getWindowSync=function(){return this._windowSync},Ld.prototype.getCookie=function(){return this._cookieStrategy.getCookie()},Ld.prototype.setCookie=function(e){this._cookieStrategy.setCookie(e)},Ld.prototype.syncCookie=function(){this._cookieStrategy.syncCookie()},Ld.prototype.syncWindowCookie=function(e){this._cookieStrategy.syncWindowCookie(e)};var Od,kd=Ld;function Ld(e,t,r){var n=Od.call(this)||this;return n._unloadSandbox=t,n._windowSync=new hd(n,e,r),n}var Dd="hammerhead|editing-observed",Md="hammerhead|previous-value",Rd=(jd._getValue=function(e){return zn(e)?b.inputValueGetter.call(e):io(e)?b.textAreaValueGetter.call(e):e.value},jd.prototype.stopWatching=function(e){e&&(b.removeEventListener.call(e,"blur",this._onBlur),b.removeEventListener.call(e,"change",this._onChange),void 0!==e[Dd]&&delete e[Dd],void 0!==e[Md])&&delete e[Md]},jd.prototype.watchElementEditing=function(e){var t;e&&!e[Dd]&&Po(e)&&!E(e)&&(b.objectDefineProperties(e,((t={})[Dd]={value:!0,configurable:!0,writable:!0},t[Md]={value:jd._getValue(e),configurable:!0,writable:!0},t)),b.addEventListener.call(e,"blur",this._onBlur),b.addEventListener.call(e,"change",this._onChange))},jd.prototype.restartWatchingElementEditing=function(e){e&&e[Dd]&&(e[Md]=jd._getValue(e))},jd.prototype.processElementChanging=function(e){return!(!e||!e[Dd]||jd._getValue(e)===e[Md])&&(this._eventSimulator.change(e),this.restartWatchingElementEditing(e),!0)},jd.prototype.getElementSavedValue=function(e){return e[Md]},jd.prototype.isEditingObserved=function(e){return e[Dd]},jd);function jd(e){var t=this;this._eventSimulator=e,this._onChange=function(e){return t.stopWatching(b.eventTargetGetter.call(e))},this._onBlur=function(e){e=b.eventTargetGetter.call(e);t.processElementChanging(e)||t.stopWatching(e)}}var Hd,Bd="hammerhead|event|window-activated",Ud="hammerhead|event|window-deactivated",Fd=(e(Vd,Hd=t),Vd.prototype._notifyPrevActiveWindow=function(){this._activeWindow.top&&this._activeWindow!==this._activeWindow.top&&this._messageSandbox.sendServiceMsg({cmd:Ud},this._activeWindow)},Vd.prototype.attach=function(e){var t=this;Hd.prototype.attach.call(this,e),this._isIframeWindow=kn(e),this._activeWindow=this._isIframeWindow?null:e.top,this._isActive=!this._isIframeWindow,this._messageSandbox.on(this._messageSandbox.SERVICE_MSG_RECEIVED_EVENT,function(e){e.message.cmd===Bd?(t._notifyPrevActiveWindow(),t._isActive=!1,t._activeWindow=e.source):e.message.cmd===Ud&&(t._isActive=!1)})},Vd.prototype.isCurrentWindowActive=function(){return this._isActive},Vd.prototype.makeCurrentWindowActive=function(){this._isActive=!0,this._isIframeWindow?this._messageSandbox.sendServiceMsg({cmd:Bd},this.window.top):(this._notifyPrevActiveWindow(),this._activeWindow=this.window)},Vd);function Vd(e){var t=Hd.call(this)||this;return t._messageSandbox=e,t._isIframeWindow=!1,t._activeWindow=null,t._isActive=!1,t}function Wd(){return new ae(function(e){return b.setTimeout.call(window,e,0)})}var Gd,qd=lr,zd={bubbles:{focus:"focusin",blur:"focusout"},nonBubbles:{focusin:"focus",focusout:"blur"}},Kd=(e($d,Gd=t),$d._getNativeMeth=function(e,t){if(wo(e)){if("focus"===t)return b.svgFocus;if("blur"===t)return b.svgBlur}return b[t]},$d._restoreElementScroll=function(e,t){var r=Pr(e);r.left!==t.left&&jr(e,t.left),r.top!==t.top&&Hr(e,t.top)},$d.prototype._onChangeActiveElement=function(e){this._lastFocusedElement!==e&&(this._lastFocusedElement&&b.getAttribute.call(this._lastFocusedElement,s.focusPseudoClass)&&b.removeAttribute.call(this._lastFocusedElement,s.focusPseudoClass),!yo(e)||Jn(e)&&null===mo(e)?this._lastFocusedElement=null:(this._lastFocusedElement=e,b.setAttribute.call(e,s.focusPseudoClass,!0)))},$d.prototype._shouldUseLabelHtmlForElement=function(e,t){return"focus"===t&&!!e.htmlFor&&!yo(e)},$d.prototype._getElementNonScrollableParentsScrollState=function(e){for(var t=[],r=0,n=Yo(e);r=15&&o.preventScrolling?Wd().then(function(){i._restoreScrollStateAndRaiseEvent(t,r,n,o,e)}):this._restoreScrollStateAndRaiseEvent(t,r,n,o,e)}else e()},$d.getInternalEventFlag=function(e){return"hammerhead|event|internal-"+e},$d.getNonBubblesEventType=function(e){return zd.nonBubbles[e]},$d.prototype.attach=function(e){var t=this;Gd.prototype.attach.call(this,e),this._activeWindowTracker.attach(e),this._topWindow=On(e,e.top)?e:e.top,this._listeners.addInternalEventBeforeListener(e,["focus","blur"],function(){var e=yn(t.document);t._onChangeActiveElement(e)})},$d.prototype._raiseSelectionChange=function(e){Yr(e)&&e()},$d.prototype.focus=function(t,r,n,o,i,s){var a,c,l,e,u,p,h,d,f,m,g=this,y=!i||pr||!Vr(t),v=(t[w.processedContext]||this.window).document;return v.defaultView&&y&&(!i||Fr(t,v))&&(a=Bn(t),c=a?En(t):null,y=In(t),v=Jn(t),e=In(l=yn()),p=u=f=!1,h=Pn(t),d=this._activeWindowTracker.isCurrentWindowActive(),f=l===t?!(v&&h&&!d):v&&!h,m=function(){d||E(t)||g._activeWindowTracker.makeCurrentWindowActive();var e={withoutHandlers:f||n,forMouseEvent:o,preventScrolling:s,relatedTarget:l};g._raiseEvent(t,"focus",function(){n||g._elementEditingWatcher.watchElementEditing(t),a&&c&&yn(g._topWindow.document)!==c?g._raiseEvent(c,"focus",function(){return g._raiseSelectionChange(r)},{withoutHandlers:!0}):g._raiseSelectionChange(r)},e)},l&&l.tagName&&(l!==t&&(y!==e&&l===e.body||l===y.body?u=!1:yo(t)&&(u=!0)),p=y!==e&&Bn(l,e)),p&&!u?this.blur(En(l),m,!0,i):u?this.blur(l,function(e){p?g.blur(En(l),m,!0,i):e?Yr(r)&&r():m()},n,i,t):m()),null},$d.prototype.blur=function(t,e,r,n,o){var i=yn(In(t)),s=!1,i=((r=i!==t?!0:r)||(i=function(e){s=b.eventTargetGetter.call(e)===t},qd&&this._listeners.addInternalEventBeforeListener(window,["focus"],i),this._elementEditingWatcher.processElementChanging(t),qd&&this._listeners.removeInternalEventBeforeListener(window,["focus"],i),this._elementEditingWatcher.stopWatching(t)),{withoutHandlers:r,relatedTarget:o,focusedOnChange:s});this._raiseEvent(t,"blur",function(){Yr(e)&&e(s)},i)},$d.prototype.dispose=function(){this._lastFocusedElement=null},$d);function $d(e,t,r,n){var o=Gd.call(this)||this;return o._listeners=e,o._eventSimulator=t,o._topWindow=null,o._lastFocusedElement=null,o._scrollState={},o._activeWindowTracker=new Fd(r),o._elementEditingWatcher=n,o}e(Qd,Xd=t),Qd._setHoverMarker=function(e,t){for(t&&b.setAttribute.call(t,s.hoverPseudoClass,"");e&&e.tagName&&e!==t;){b.setAttribute.call(e,s.hoverPseudoClass,"");var r=ii(e);r&&b.setAttribute.call(r,s.hoverPseudoClass,""),e=b.nodeParentNodeGetter.call(e)}},Qd.prototype._clearHoverMarkerUntilJointParent=function(e){var t=null;if(this._lastHoveredElement){for(var r=this._lastHoveredElement;r&&r.tagName&&r.contains;){var n=ii(r);if(n&&b.removeAttribute.call(n,s.hoverPseudoClass),r.contains(e)){t=r;break}b.removeAttribute.call(r,s.hoverPseudoClass),r=b.nodeParentNodeGetter.call(r)}t&&b.removeAttribute.call(t,s.hoverPseudoClass)}return t},Qd.prototype._onHover=function(e){e=b.eventTargetGetter.call(e);this._hover(e)},Qd.prototype._hover=function(e){var t;this._hoverElementFixed||E(e)||(t=this._clearHoverMarkerUntilJointParent(e),Qd._setHoverMarker(e,t),this._lastHoveredElement=e)},Qd.prototype.fixHoveredElement=function(){this._hoverElementFixed=!0},Qd.prototype.freeHoveredElement=function(){this._hoverElementFixed=!1},Qd.prototype.attach=function(e){var t=this;Xd.prototype.attach.call(this,e),this._listeners.addInternalEventBeforeListener(e,["mouseover","touchstart"],function(e){return t._onHover(e)})},Qd.prototype.dispose=function(){this._lastHoveredElement=null};var Xd,Yd=Qd;function Qd(e){var t=Xd.call(this)||this;return t._listeners=e,t._hoverElementFixed=!1,t._lastHoveredElement=null,t}var Jd="hammerhead|element-listening-events-storage-prop";function Zd(e){return e[Jd]}function ef(e,t){e=Zd(e);return e&&e[t]}function tf(e){return!!e[Jd]}function rf(e,t){for(var r=Zd(e)||{},n=0;n-1&&s.splice(a,1)}},wrapEventListener:nf,getWrapper:of,updateInternalAfterHandlers:sf}),lf=["click","mousedown","mouseup","dblclick","contextmenu","mousemove","mouseover","mouseout","pointerdown","pointermove","pointerover","pointerout","pointerup","MSPointerDown","MSPointerMove","MSPointerOver","MSPointerOut","MSPointerUp","touchstart","touchmove","touchend","keydown","keypress","keyup","change","focus","blur","focusin","focusout"],uf="hammerhead|event-sandbox-dispatch-event-flag",pf=(e(hf,af=ve),hf._getEventListenerWrapper=function(t,r){return function(e){return t.cancelOuterHandlers?null:Yr(t.outerHandlersWrapper)?t.outerHandlersWrapper.call(this,e,r):Xu(this,r,e)}},hf._isDifferentHandler=function(e,t,r){for(var n=0,o=e;n{e=e.replace(/\r\n$/,"");var t=[];if(""!==e)for(var r=0,n=e=e.split(/\r\n/);r-1}function um(e){return e.replace(am,"")}function pm(e){e=String(e).toLowerCase();return e===Uc||e===Vc}function hm(e){return cm+e}function dm(e){return e.indexOf(cm)>-1}function fm(e){return e.replace(cm,"")}function mm(e){e=String(e).toLowerCase();return e===Bc||e===Fc}var gm,ym=Object.freeze({__proto__:null,addAuthenticatePrefix:function(e){return am+e},hasAuthenticatePrefix:lm,removeAuthenticatePrefix:um,isAuthenticateHeader:pm,addAuthorizationPrefix:hm,hasAuthorizationPrefix:dm,removeAuthorizationPrefix:fm,isAuthorizationHeader:mm}),vm=["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"],Em=(e(_m,gm=er),_m.setRequestOptions=function(e,t,r){_m.REQUESTS_OPTIONS.set(e,{withCredentials:t,openArgs:r,headers:[]})},_m.createNativeXHR=function(){var e=new b.XMLHttpRequest;return e.open=b.xhrOpen,e.abort=b.xhrAbort,e.send=b.xhrSend,e.addEventListener=b.xhrAddEventListener||b.addEventListener,e.removeEventListener=b.xhrRemoveEventListener||b.removeEventListener,e.setRequestHeader=b.xhrSetRequestHeader,e.getResponseHeader=b.xhrGetResponseHeader,e.getAllResponseHeaders=b.xhrGetAllResponseHeaders,e.overrideMimeType=b.xhrOverrideMimeType,e.dispatchEvent=b.xhrDispatchEvent||b.dispatchEvent,e},_m.openNativeXhr=function(e,t,r){e.open("POST",t,r),e.setRequestHeader(Gc,"no-cache, no-store, must-revalidate")},_m.prototype.attach=function(e){gm.prototype.attach.call(this,e),this.overrideXMLHttpRequest(),this.overrideAbort(),this.overrideOpen(),this.overrideSend(),this.overrideSetRequestHeader(),x.nativeAutomation||(b.xhrResponseURLGetter&&this.overrideResponseURL(),this.overrideGetResponseHeader(),this.overrideGetAllResponseHeaders())},_m.prototype.overrideXMLHttpRequest=function(){for(var r=this.createEmitXhrCompletedEvent(),n=this.createSyncCookieWithClientIfNecessary(),e=function(){var e=b.xhrAddEventListener||b.addEventListener,t=new b.XMLHttpRequest;return e.call(t,"loadend",r),e.call(t,"readystatechange",n),t},t=0,o=vm;t=0&&e{var t=o.nativeMethods.objectGetOwnPropertyDescriptor.call(r.Object,n,e).value;o.nativeMethods.objectHasOwnProperty.call(n,e)&&Yr(t)&&(n[e]=function(){return t.apply(this[eg]||this,arguments)},de(n[e],t))})(e)},rg);function rg(){var e=Qm.call(this)||this;return e.URL_PROPS=["background","backgroundImage","borderImage","borderImageSource","listStyle","listStyleImage","cursor"],e.DASHED_URL_PROPS=rg.generateDashedProps(e.URL_PROPS),e.FEATURES=e.detectBrowserFeatures(),e}function ng(e){return"_blank"===(e=void 0===e?"":e)}var og,ig="hammerhead|command|store-child-window",sg=(e(ag,og=t),ag._shouldOpenInNewWindowOnElementAction=function(e,t){return"string"!==typeof b.getAttribute.call(e,"download")&&(e=this._calculateTargetForElement(e),this._shouldOpenInNewWindow(e,t))},ag._shouldOpenInNewWindow=function(e,t){return lp(e=(e=e||t).toLowerCase())?ng(e):!xu(e)},ag.prototype._openUrlInNewWindow=function(e,t,r,n,o){i=new b.Uint16Array(1),b.cryptoGetRandomValues.call(b.crypto,i);var i=i[0].toString(),e=(r=r||"width=500px, height=500px",t=t||i,Lt(e,i,x.nativeAutomation)),n=n||this.window,s={isPrevented:!1};return this.emit(this.BEFORE_WINDOW_OPENED_EVENT,s),s.isPrevented?null:(s=x.nativeAutomation?je:e,n=b.windowOpen.call(n,s,t,r),this._tryToStoreChildWindow(n,ld()),this.emit(this.WINDOW_OPENED_EVENT,{windowId:i,window:n,windowName:t,pageUrl:e,form:o}),{windowId:i,wnd:n})},ag._calculateTargetForElement=function(e){var t=b.querySelector.call(In(e),"base");return e.target||(null===t||void 0===t?void 0:t.target)},ag.prototype._handleClickOnLinkOrAreaInNativeAutomation=function(r){this._listeners.initElementListening(r,["click"]),this._listeners.addInternalEventAfterListener(r,["click"],function(e){var t;e.defaultPrevented||(t=up(((e=Ro(r))?b.anchorTargetGetter:b.areaTargetGetter).call(r)),(e?b.anchorTargetSetter:b.areaTargetSetter).call(r,t))})},ag.prototype.handleClickOnLinkOrArea=function(r){var n=this;x.get().allowMultipleWindows?(this._listeners.initElementListening(r,["click"]),this._listeners.addInternalEventAfterListener(r,["click"],function(e){var t;e.defaultPrevented||ag._shouldOpenInNewWindowOnElementAction(r,Sh.linkOrArea)&&(t=b.anchorHrefGetter.call(r),e.preventDefault(),n._openUrlInNewWindowIfNotPrevented(t,e))})):x.nativeAutomation&&this._handleClickOnLinkOrAreaInNativeAutomation(r)},ag.prototype._openUrlInNewWindowIfNotPrevented=function(e,t){function r(){o=!0,b.removeEventListener.call(window,"click",r),i||n._openUrlInNewWindow(e)}var n=this,o=!1,i=!1,s=(b.addEventListener.call(window,"click",r),t.preventDefault);t.preventDefault=function(){return i=!0,s.call(t)},Wd().then(function(){o||r()})},ag.prototype.handleWindowOpen=function(e,t){var r=t[0],n=t[1],o=t[2];return x.get().allowMultipleWindows&&ag._shouldOpenInNewWindow(n,Sh.windowOpen)?null===(n=this._openUrlInNewWindow(r,ng(n)?void 0:n,o,e))||void 0===n?void 0:n.wnd:(ur&&sr>=15&&this.emit(this.BEFORE_WINDOW_OPEN_IN_SAME_TAB,{url:r}),b.windowOpen.apply(e,t))},ag.prototype._handleFormSubmittingInNativeAutomation=function(e){this._listeners.initElementListening(e,["submit"]),this._listeners.addInternalEventBeforeListener(e,["submit"],function(e){var t,e=b.eventTargetGetter.call(e);co(e)&&(t=up(b.formTargetGetter.call(e)),b.formTargetSetter.call(e,t))})},ag.prototype._handleFormSubmitting=function(e){var i=this;x.get().allowMultipleWindows?(this._listeners.initElementListening(e,["submit"]),this._listeners.addInternalEventBeforeListener(e,["submit"],function(e){var t,r,n,o=b.eventTargetGetter.call(e);co(o)&&ag._shouldOpenInNewWindowOnElementAction(o,Sh.form)&&(t=x.nativeAutomation,r=C(je,void 0,t),r=i._openUrlInNewWindow(r,void 0,void 0,void 0,o))&&(n=Lt(b.formActionGetter.call(o),r.windowId,t),b.formActionSetter.call(o,n),b.formTargetSetter.call(o,r.windowId),t)&&e.preventDefault()})):x.nativeAutomation&&this._handleFormSubmittingInNativeAutomation(e)},ag.prototype._tryToStoreChildWindow=function(e,t){try{return t[w.hammerhead].sandbox.childWindow.addWindow(e),!0}catch(e){return!1}},ag.prototype._setupChildWindowCollecting=function(e){var t,r=this;kn(e)||(e!==(t=ld())?this._tryToStoreChildWindow(e,t)||this._messageSandbox.sendServiceMsg({cmd:ig},t):(this._childWindows=new Set,this._messageSandbox.on(this._messageSandbox.SERVICE_MSG_RECEIVED_EVENT,function(e){e.message.cmd===ig&&r._childWindows.add(e.source)})))},ag.prototype.addWindow=function(e){this._childWindows.add(e)},ag.prototype.getChildWindows=function(){var t=this,r=[];return this._childWindows.forEach(function(e){e.parent?r.push(e):t._childWindows.delete(e)}),r},ag.prototype.attach=function(e){og.prototype.attach.call(this,e,e.document),this._handleFormSubmitting(e),this._setupChildWindowCollecting(e)},ag);function ag(e,t){var r=og.call(this)||this;return r._messageSandbox=e,r._listeners=t,r.WINDOW_OPENED_EVENT="hammerhead|event|window-opened",r.BEFORE_WINDOW_OPENED_EVENT="hammerhead|event|before-window-opened",r.BEFORE_WINDOW_OPEN_IN_SAME_TAB="hammerhead|event|before-window-open-in-same-tab",r}e(ug,cg=t),ug.prototype.onIframeDocumentRecreated=function(e){var t,r,n;e&&(t=b.contentWindowGetter.call(e),r=b.contentDocumentGetter.call(e),(n=uh(t))?t[w.sandboxIsReattached]&&n.document===r||n.reattach(t,r):(t[w.iframeNativeMethods]&&delete t[w.iframeNativeMethods],this.nativeMethods.restoreDocumentMeths(t,r),this.iframe.onIframeBeganToRun(e)))},ug.prototype.reattach=function(e,t){b.objectDefineProperty(e,w.sandboxIsReattached,{value:!0,configurable:!1}),gt.init(t),this.event.reattach(e),this.shadowUI.attach(e),this.codeInstrumentation.attach(e),this.node.doc.attach(e,t),this.console.attach(e),this.childWindow.attach(e)},ug.prototype.attach=function(e){var t=this;cg.prototype.attach.call(this,e),b.objectDefineProperty(e,w.sandboxIsReattached,{value:!0,configurable:!1}),gt.init(this.document),this.iframe.on(this.iframe.EVAL_HAMMERHEAD_SCRIPT_EVENT,function(e){b.contentWindowGetter.call(e.iframe).eval("(".concat(R.toString(),")();//# sourceURL=hammerhead.js"))}),this.node.mutation.on(this.node.mutation.DOCUMENT_CLEANED_EVENT,function(e){return t.reattach(e.window,e.document)}),this.iframe.attach(e),this.xhr.attach(e),this.fetch.attach(e),this.storageSandbox.attach(e),this.codeInstrumentation.attach(e),this.shadowUI.attach(e),this.event.attach(e),this.node.attach(e),this.upload.attach(e),this.cookie.attach(e),this.console.attach(e),this.style.attach(e),this.childWindow.attach(e),this.electron&&this.electron.attach(e),this.unload.on(this.unload.UNLOAD_EVENT,function(){return t.dispose()})},ug.prototype._removeInternalProperties=function(){for(var e=this.event.listeners.listeningCtx.removeListeningElement,t=(e(this.window),e(this.document),b.querySelectorAll.call(this.document,"*")),r=b.nodeListLengthGetter.call(t),n=0;n=146: document.activeElement can transiently be null while focus moves. ++ // Guards against TestCafe issue #8493 (TypeError in isShadowUIElement(null)). ++ if (!focusedEl || !activeEl) ++ return; + if (!isShadowUIElement(focusedEl) && !isShadowUIElement(activeEl)) + shadowUI.setLastActiveElement(activeEl); + }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 861ae241f148..23ca3e7646ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -146,8 +146,8 @@ catalogs: specifier: 16.22.0 version: 16.22.0 testcafe: - specifier: 3.7.4 - version: 3.7.4 + specifier: 3.7.5 + version: 3.7.5 vue-eslint-parser: specifier: 10.0.0 version: 10.0.0 @@ -212,7 +212,7 @@ overrides: http-proxy-middleware@>=0.16.0 <3.0.7: ^3.0.7 patchedDependencies: - testcafe-hammerhead@31.7.7: 8a228aaee48378d5351c48579d64dbed08eabb120e19e7a73eba4ae6f308af14 + testcafe-hammerhead@31.7.8: 8655c07786177d3b611a05abf6b0ea87d32796eb2601f92a800ef041095f264c importers: @@ -220,13 +220,13 @@ importers: devDependencies: '@nx/devkit': specifier: 22.7.5 - version: 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3)) + version: 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))) '@nx/jest': specifier: 22.7.5 - version: 22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(babel-plugin-macros@3.1.0)(node-notifier@9.0.1)(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3))(ts-node@10.9.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(typescript@5.9.3))(typescript@5.9.3) + version: 22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(babel-plugin-macros@3.1.0)(node-notifier@9.0.1)(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)))(ts-node@10.9.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(typescript@5.9.3))(typescript@5.9.3) '@nx/js': specifier: 22.7.5 - version: 22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3)) + version: 22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))) '@types/jest': specifier: 29.5.12 version: 29.5.12 @@ -259,7 +259,7 @@ importers: version: link:packages/devextreme-metadata http-server: specifier: 14.1.1 - version: 14.1.1(debug@4.4.3) + version: 14.1.1 husky: specifier: 8.0.3 version: 8.0.3 @@ -274,7 +274,7 @@ importers: version: 14.0.1(enquirer@2.4.1) nx: specifier: 22.7.5 - version: 22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3) + version: 22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)) postcss: specifier: 8.5.15 version: 8.5.15 @@ -371,7 +371,7 @@ importers: dependencies: '@angular-devkit/build-angular': specifier: ~21.2.15 - version: 21.2.15(350d56f1bfad788113c97715f9cde13a) + version: 21.2.15(8a60c880bac98fc5dce3ec9f6f3943c3) '@angular/animations': specifier: ~21.2.17 version: 21.2.17(@angular/core@21.2.17(@angular/compiler@21.2.17)(rxjs@7.8.1)(zone.js@0.15.1)) @@ -422,7 +422,7 @@ importers: version: 40.0.0 cldr-data: specifier: 36.0.4 - version: 36.0.4(debug@4.4.3) + version: 36.0.4 cldr-dates-full: specifier: 40.0.0 version: 40.0.0(cldr-numbers-full@40.0.0(cldr-core@40.0.0)) @@ -645,7 +645,7 @@ importers: version: 5.10.0(eslint@9.39.4(jiti@2.7.0)) '@testcafe-community/axe': specifier: 3.5.0 - version: 3.5.0(axe-core@4.12.1)(testcafe@3.7.4) + version: 3.5.0(axe-core@4.12.1)(testcafe@3.7.5) '@types/eslint': specifier: 8.56.2 version: 8.56.2 @@ -693,7 +693,7 @@ importers: version: 7.0.3 devextreme-screenshot-comparer: specifier: 2.0.17 - version: 2.0.17(testcafe@3.7.4) + version: 2.0.17(testcafe@3.7.5) eslint: specifier: 'catalog:' version: 9.39.4(jiti@2.7.0) @@ -798,7 +798,7 @@ importers: version: 0.16.15 testcafe: specifier: 'catalog:' - version: 3.7.4 + version: 3.7.5 testcafe-reporter-spec-time: specifier: 4.0.0 version: 4.0.0 @@ -896,7 +896,7 @@ importers: version: 18.0.0 http-server: specifier: 14.1.1 - version: 14.1.1(debug@4.4.3) + version: 14.1.1 prop-types: specifier: 15.8.1 version: 15.8.1 @@ -1140,7 +1140,7 @@ importers: version: 5.10.0(eslint@9.39.4(jiti@2.7.0)) '@testcafe-community/axe': specifier: 3.5.0 - version: 3.5.0(axe-core@4.12.1)(testcafe@3.7.4) + version: 3.5.0(axe-core@4.12.1)(testcafe@3.7.5) '@types/jquery': specifier: 'catalog:' version: 3.5.29 @@ -1158,7 +1158,7 @@ importers: version: link:../../packages/devextreme/artifacts/npm/devextreme devextreme-screenshot-comparer: specifier: 2.0.17 - version: 2.0.17(testcafe@3.7.4) + version: 2.0.17(testcafe@3.7.5) devextreme-testcafe-models: specifier: workspace:* version: link:../../packages/testcafe-models @@ -1194,7 +1194,7 @@ importers: version: 0.12.1 testcafe: specifier: 'catalog:' - version: 3.7.4 + version: 3.7.5 testcafe-reporter-spec-time: specifier: 4.0.0 version: 4.0.0 @@ -1359,8 +1359,8 @@ importers: specifier: 2.1.0 version: 2.1.0(jasmine-core@5.6.0)(karma-jasmine@5.1.0(karma@6.4.4))(karma@6.4.4) testcafe: - specifier: 3.7.4 - version: 3.7.4 + specifier: 'catalog:' + version: 3.7.5 typescript: specifier: 5.8.3 version: 5.8.3 @@ -1445,7 +1445,7 @@ importers: version: 5.10.0(eslint@9.39.4(jiti@2.7.0)) '@testcafe-community/axe': specifier: 3.5.0 - version: 3.5.0(axe-core@4.12.1)(testcafe@3.7.4) + version: 3.5.0(axe-core@4.12.1)(testcafe@3.7.5) '@testing-library/dom': specifier: 10.4.1 version: 10.4.1 @@ -1523,7 +1523,7 @@ importers: version: 4.4.9 devextreme-screenshot-comparer: specifier: 2.0.17 - version: 2.0.17(testcafe@3.7.4) + version: 2.0.17(testcafe@3.7.5) enzyme: specifier: 3.11.0 version: 3.11.0 @@ -2394,14 +2394,13 @@ importers: version: 4.9.5 packages/testcafe-models: - dependencies: - testcafe: - specifier: 'catalog:' - version: 3.7.4 devDependencies: devextreme: specifier: workspace:* version: link:../devextreme/artifacts/npm/devextreme + testcafe: + specifier: 'catalog:' + version: 3.7.5 packages: @@ -4804,6 +4803,10 @@ packages: resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} + '@node-ntlm/core@0.3.2': + resolution: {integrity: sha512-uCKcLcl8UCCkIDZZlgkDXNzJGaDTP/+DThwurluBOPZ8/21kvFKMVw75MC7cQsNxnbkLagp4jfu+2oX/IIXNYw==} + engines: {node: '>=16.19.0'} + '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -11077,14 +11080,6 @@ packages: http-status-codes@2.3.0: resolution: {integrity: sha512-RJ8XvFvpPM/Dmc5SV+dC4y5PCeOhT3x1Hq0NU3rjGeg5a/CqlhZ7uudknPwZFz4aeAXDcbAyaeP7GAo9lvngtA==} - httpntlm@1.8.13: - resolution: {integrity: sha512-2F2FDPiWT4rewPzNMg3uPhNkP3NExENlUGADRUDPQvuftuUTGW98nLZtGemCIW3G40VhWZYgkIDcQFAwZ3mf2Q==} - engines: {node: '>=10.4.0'} - - httpreq@1.1.1: - resolution: {integrity: sha512-uhSZLPPD2VXXOSN8Cni3kIsoFHaU2pT/nySEU/fHr/ePbqHYr0jeiQRmUKLEirC09SFPsdMoA7LU7UXMd/w0Kw==} - engines: {node: '>= 6.15.1'} - https-browserify@1.0.0: resolution: {integrity: sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==} @@ -13145,6 +13140,19 @@ packages: tailwindcss: optional: true + ng-packagr@21.2.3: + resolution: {integrity: sha512-jGq6yu0G6KReVK0i5RYVoV9HDL0mU626HrLBu5xvc8ZJ92n/+rLrFJuXdCnkroB9um+FBTQe/or6/A/2GAKhLw==} + engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + hasBin: true + peerDependencies: + '@angular/compiler-cli': ^21.0.0 || ^21.2.0-next + tailwindcss: ^2.0.0 || ^3.0.0 || ^4.0.0 + tslib: ^2.3.0 + typescript: '>=5.9 <6.0' + peerDependenciesMeta: + tailwindcss: + optional: true + ng-packagr@22.0.0: resolution: {integrity: sha512-2mXzUdprkDHk4j0NVDcpkVztVwdb1b3o63vLK8YQVCJqCMvCv8BBkFjBo9f1KJmuPf+CE/xuvylhyqfzXoTTqw==} engines: {node: ^22.22.3 || ^24.15.0 || >=26.0.0} @@ -14598,9 +14606,6 @@ packages: replacestream@4.0.3: resolution: {integrity: sha512-AC0FiLS352pBBiZhd4VXB1Ab/lh0lEgpP+GGvZqbQh8a5cmXVoTe5EX/YeTFArnp4SRGTHh1qCHu9lGs1qG8sA==} - replicator@1.0.5: - resolution: {integrity: sha512-saxS4y7NFkLMa92BR4bPHR41GD+f/qoDAwD2xZmN+MpDXgibkxwLO2qk7dCHYtskSkd/bWS8Jy6kC5MZUkg1tw==} - require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -15999,9 +16004,9 @@ packages: resolution: {integrity: sha512-nTKSJhBzn9BmnOs0xVzXMu8dN2Gu13Ca3x3SJr/zF6ZdKjXO82JlbHu55dt5MFoWjzAQmwlqBkSxPaYicsTgUw==} engines: {node: '>= 0.10'} - testcafe-hammerhead@31.7.7: - resolution: {integrity: sha512-vSI/ak8MTuDENCMLGNyPS+tsf7hLisQfaBDYB6NCY5y/arz26cad86P6+eIrm3ncH3SsnFcm+BmkmNjJxzPyoQ==} - engines: {node: '>=14.0.0'} + testcafe-hammerhead@31.7.8: + resolution: {integrity: sha512-AMLZdS4dbU6M64a/VgBu0O/qlfsv7MWROk91C4jyMmCjkq6FsKfknzqWtlh5w8o8fLJGjyGBDUFaRb/jpIuEoQ==} + engines: {node: '>=20.0.0'} testcafe-legacy-api@5.1.8: resolution: {integrity: sha512-Jp/8xPQ+tjr2iS569Og8fFRaSx/7h/N/t6DVzhWpVNO3D5AtPkGmSjCAABh7tHkUwrKfBI7sLuVaxekiT5PWTA==} @@ -16028,9 +16033,9 @@ packages: testcafe-selector-generator@0.1.0: resolution: {integrity: sha512-MTw+RigHsEYmFgzUFNErDxui1nTYUk6nm2bmfacQiKPdhJ9AHW/wue4J/l44mhN8x3E8NgOUkHHOI+1TDFXiLQ==} - testcafe@3.7.4: - resolution: {integrity: sha512-RADoEWAfGCQ1q08zr4kRQ+bEOhOiI3hmzF2s5dFv835ndERdE44V14DVqeOWGEFm0o+x6IYHyWhmQp0g9mz4ZQ==} - engines: {node: '>=16.0.0'} + testcafe@3.7.5: + resolution: {integrity: sha512-cXHCOn4T9SzM7FffQIrT4jGA/qkHpr+TuVVuCJcF8v1e4Ih6oow1pkz/FG0kEjjXfBmIWVwpvSaJiL9Q/RciIw==} + engines: {node: '>=20.0.0'} hasBin: true text-decoder@1.2.7: @@ -16403,11 +16408,6 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - typescript@4.7.4: - resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} - engines: {node: '>=4.2.0'} - hasBin: true - typescript@4.9.5: resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} engines: {node: '>=4.2.0'} @@ -16456,9 +16456,6 @@ packages: resolution: {integrity: sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==} hasBin: true - underscore@1.13.8: - resolution: {integrity: sha512-DXtD3ZtEQzc7M8m4cXotyHR+FAS18C64asBYY5vqZexfYryNNnDc02W4hKg3rdQuqOYas1jkseX0+nZXjTXnvQ==} - undertaker-registry@1.0.1: resolution: {integrity: sha512-UR1khWeAjugW3548EfQmL9Z7pGMlBgXteQpr1IZeZBtnkCJQJIJ1Scj0mb9wQaPvUZ9Q17XqW6TIaPchJkyfqw==} engines: {node: '>= 0.10'} @@ -17691,13 +17688,13 @@ snapshots: - webpack-cli - yaml - '@angular-devkit/build-angular@21.2.15(350d56f1bfad788113c97715f9cde13a)': + '@angular-devkit/build-angular@21.2.15(8a60c880bac98fc5dce3ec9f6f3943c3)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.2102.15(chokidar@5.0.0) '@angular-devkit/build-webpack': 0.2102.15(chokidar@5.0.0)(webpack-dev-server@5.2.5(tslib@2.8.1)(webpack@5.105.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(esbuild@0.28.1)))(webpack@5.105.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(esbuild@0.28.1)) '@angular-devkit/core': 21.2.15(chokidar@5.0.0) - '@angular/build': 21.2.15(f8874038bb33fb4dbefcdfb228518384) + '@angular/build': 21.2.15(dc806cd7e8a2ed8c6f1e3abee5eae286) '@angular/compiler-cli': 21.2.17(@angular/compiler@21.2.17)(typescript@5.9.3) '@babel/core': 7.29.7 '@babel/generator': 7.29.1 @@ -17756,6 +17753,7 @@ snapshots: esbuild: 0.28.1 jest: 29.7.0(@types/node@20.12.8)(babel-plugin-macros@3.1.0)(node-notifier@9.0.1)(ts-node@10.9.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(typescript@5.9.3)) karma: 6.4.4 + ng-packagr: 21.2.3(@angular/compiler-cli@21.2.17(@angular/compiler@21.2.17)(typescript@5.9.3))(tslib@2.8.1)(typescript@5.9.3) transitivePeerDependencies: - '@angular/compiler' - '@emnapi/core' @@ -17947,7 +17945,7 @@ snapshots: - tsx - yaml - '@angular/build@21.2.15(f8874038bb33fb4dbefcdfb228518384)': + '@angular/build@21.2.15(dc806cd7e8a2ed8c6f1e3abee5eae286)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.2102.15(chokidar@5.0.0) @@ -17987,6 +17985,7 @@ snapshots: karma: 6.4.4 less: 4.4.2 lmdb: 3.5.1 + ng-packagr: 21.2.3(@angular/compiler-cli@21.2.17(@angular/compiler@21.2.17)(typescript@5.9.3))(tslib@2.8.1)(typescript@5.9.3) postcss: 8.5.12 transitivePeerDependencies: - '@emnapi/core' @@ -20820,6 +20819,12 @@ snapshots: '@noble/hashes@1.4.0': {} + '@node-ntlm/core@0.3.2': + dependencies: + des.js: 1.1.0 + js-md4: 0.3.2 + tslib: 2.6.3 + '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -20947,23 +20952,23 @@ snapshots: transitivePeerDependencies: - supports-color - '@nx/devkit@22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3))': + '@nx/devkit@22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)))': dependencies: '@zkochan/js-yaml': 0.0.7 ejs: 5.0.1 enquirer: 2.3.6 minimatch: 10.2.5 - nx: 22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3) + nx: 22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)) semver: 7.8.4 tslib: 2.6.3 yargs-parser: 21.1.1 - '@nx/jest@22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(babel-plugin-macros@3.1.0)(node-notifier@9.0.1)(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3))(ts-node@10.9.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(typescript@5.9.3))(typescript@5.9.3)': + '@nx/jest@22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(babel-plugin-macros@3.1.0)(node-notifier@9.0.1)(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)))(ts-node@10.9.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(typescript@5.9.3))(typescript@5.9.3)': dependencies: '@jest/reporters': 30.4.1(node-notifier@9.0.1) '@jest/test-result': 30.4.1 - '@nx/devkit': 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3)) - '@nx/js': 22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3)) + '@nx/devkit': 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))) + '@nx/js': 22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))) '@phenomnomnominal/tsquery': 6.2.0(typescript@5.9.3) identity-obj-proxy: 3.0.0 jest-config: 30.4.2(@types/node@20.12.8)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.15.41(@swc/helpers@0.5.23))(@types/node@20.12.8)(typescript@5.9.3)) @@ -20990,7 +20995,7 @@ snapshots: - typescript - verdaccio - '@nx/js@22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3))': + '@nx/js@22.7.5(@babel/traverse@7.29.7)(@swc/core@1.15.41(@swc/helpers@0.5.23))(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)))': dependencies: '@babel/core': 7.29.7 '@babel/plugin-proposal-decorators': 7.29.7(@babel/core@7.29.7) @@ -20999,7 +21004,7 @@ snapshots: '@babel/preset-env': 7.29.7(@babel/core@7.29.7) '@babel/preset-typescript': 7.29.7(@babel/core@7.29.7) '@babel/runtime': 7.29.7 - '@nx/devkit': 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3)) + '@nx/devkit': 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))) '@nx/workspace': 22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)) '@zkochan/js-yaml': 0.0.7 babel-plugin-const-enum: 1.2.0(@babel/core@7.29.7) @@ -21058,11 +21063,11 @@ snapshots: '@nx/workspace@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))': dependencies: - '@nx/devkit': 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3)) + '@nx/devkit': 22.7.5(nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))) '@zkochan/js-yaml': 0.0.7 chalk: 4.1.2 enquirer: 2.3.6 - nx: 22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3) + nx: 22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)) picomatch: 4.0.4 semver: 7.8.4 tslib: 2.6.3 @@ -22475,11 +22480,11 @@ snapshots: dependencies: '@swc/counter': 0.1.3 - '@testcafe-community/axe@3.5.0(axe-core@4.12.1)(testcafe@3.7.4)': + '@testcafe-community/axe@3.5.0(axe-core@4.12.1)(testcafe@3.7.5)': dependencies: axe-core: 4.12.1 chalk: 2.4.2 - testcafe: 3.7.4 + testcafe: 3.7.5 '@testing-library/dom@10.4.1': dependencies: @@ -22778,7 +22783,7 @@ snapshots: '@types/node-fetch@2.6.13': dependencies: - '@types/node': 18.19.130 + '@types/node': 20.12.8 form-data: 4.0.6 '@types/node@18.19.130': @@ -23078,8 +23083,8 @@ snapshots: '@typescript-eslint/project-service@8.52.0(typescript@4.9.5)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.52.0(typescript@4.9.5) - '@typescript-eslint/types': 8.52.0 + '@typescript-eslint/tsconfig-utils': 8.61.0(typescript@4.9.5) + '@typescript-eslint/types': 8.61.0 debug: 4.4.3 typescript: 4.9.5 transitivePeerDependencies: @@ -23087,8 +23092,8 @@ snapshots: '@typescript-eslint/project-service@8.52.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.52.0(typescript@5.5.4) - '@typescript-eslint/types': 8.52.0 + '@typescript-eslint/tsconfig-utils': 8.61.0(typescript@5.5.4) + '@typescript-eslint/types': 8.61.0 debug: 4.4.3 typescript: 5.5.4 transitivePeerDependencies: @@ -23096,8 +23101,8 @@ snapshots: '@typescript-eslint/project-service@8.52.0(typescript@5.9.3)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.52.0(typescript@5.9.3) - '@typescript-eslint/types': 8.52.0 + '@typescript-eslint/tsconfig-utils': 8.61.0(typescript@5.9.3) + '@typescript-eslint/types': 8.61.0 debug: 4.4.3 typescript: 5.9.3 transitivePeerDependencies: @@ -24561,7 +24566,7 @@ snapshots: axe-core@4.12.1: {} - axios@1.16.0(debug@4.4.3): + axios@1.16.0: dependencies: follow-redirects: 1.16.0(debug@4.4.3) form-data: 4.0.6 @@ -24569,7 +24574,7 @@ snapshots: transitivePeerDependencies: - debug - axios@1.18.0(debug@4.4.3): + axios@1.18.0: dependencies: follow-redirects: 1.16.0(debug@4.4.3) form-data: 4.0.6 @@ -25555,9 +25560,9 @@ snapshots: cldr-core@41.0.0: {} - cldr-data-downloader@1.1.0(debug@4.4.3): + cldr-data-downloader@1.1.0: dependencies: - axios: 1.18.0(debug@4.4.3) + axios: 1.18.0 mkdirp: 1.0.4 nopt: 3.0.6 q: 1.0.1 @@ -25566,9 +25571,9 @@ snapshots: - debug - supports-color - cldr-data@36.0.4(debug@4.4.3): + cldr-data@36.0.4: dependencies: - cldr-data-downloader: 1.1.0(debug@4.4.3) + cldr-data-downloader: 1.1.0 glob: 10.5.0 transitivePeerDependencies: - debug @@ -26585,13 +26590,13 @@ snapshots: transitivePeerDependencies: - chokidar - devextreme-screenshot-comparer@2.0.17(testcafe@3.7.4): + devextreme-screenshot-comparer@2.0.17(testcafe@3.7.5): dependencies: color-diff: 1.3.0 looks-same: 7.3.0 pngjs: 6.0.0 - testcafe: 3.7.4 - tslib: 2.6.3 + testcafe: 3.7.5 + tslib: 2.8.1 device-specs@1.0.1: {} @@ -29460,7 +29465,7 @@ snapshots: transitivePeerDependencies: - debug - http-server@14.1.1(debug@4.4.3): + http-server@14.1.1: dependencies: basic-auth: 2.0.1 chalk: 4.1.2 @@ -29481,15 +29486,6 @@ snapshots: http-status-codes@2.3.0: {} - httpntlm@1.8.13: - dependencies: - des.js: 1.1.0 - httpreq: 1.1.1 - js-md4: 0.3.2 - underscore: 1.13.8 - - httpreq@1.1.1: {} - https-browserify@1.0.0: {} https-proxy-agent@5.0.1: @@ -32400,6 +32396,36 @@ snapshots: rollup: 4.59.0 optional: true + ng-packagr@21.2.3(@angular/compiler-cli@21.2.17(@angular/compiler@21.2.17)(typescript@5.9.3))(tslib@2.8.1)(typescript@5.9.3): + dependencies: + '@ampproject/remapping': 2.3.0 + '@angular/compiler-cli': 21.2.17(@angular/compiler@21.2.17)(typescript@5.9.3) + '@rollup/plugin-json': 6.1.0(rollup@4.59.0) + '@rollup/wasm-node': 4.62.0 + ajv: 8.20.0 + ansi-colors: 4.1.3 + browserslist: 4.28.2 + chokidar: 5.0.0 + commander: 14.0.3 + dependency-graph: 1.0.0 + esbuild: 0.28.1 + find-cache-directory: 6.0.0 + injection-js: 2.6.1 + jsonc-parser: 3.3.1 + less: 4.6.6 + ora: 9.4.0 + piscina: 5.2.0 + postcss: 8.5.10 + rollup-plugin-dts: 6.4.1(rollup@4.59.0)(typescript@5.9.3) + rxjs: 7.8.2 + sass: 1.101.0 + tinyglobby: 0.2.17 + tslib: 2.8.1 + typescript: 5.9.3 + optionalDependencies: + rollup: 4.59.0 + optional: true + ng-packagr@22.0.0(@angular/compiler-cli@21.2.17(@angular/compiler@21.2.17)(typescript@4.9.5))(tslib@2.8.1)(typescript@4.9.5): dependencies: '@ampproject/remapping': 2.3.0 @@ -32688,7 +32714,7 @@ snapshots: nwsapi@2.2.24: {} - nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23))(debug@4.4.3): + nx@22.7.5(@swc/core@1.15.41(@swc/helpers@0.5.23)): dependencies: '@emnapi/core': 1.4.5 '@emnapi/runtime': 1.4.5 @@ -32703,7 +32729,7 @@ snapshots: ansi-styles: 4.3.0 argparse: 2.0.1 asynckit: 0.4.0 - axios: 1.16.0(debug@4.4.3) + axios: 1.16.0 balanced-match: 4.0.3 base64-js: 1.5.1 bl: 4.1.0 @@ -34267,8 +34293,6 @@ snapshots: object-assign: 4.1.1 readable-stream: 2.3.8 - replicator@1.0.5: {} - require-directory@2.1.1: {} require-from-string@2.0.2: {} @@ -34445,6 +34469,18 @@ snapshots: optionalDependencies: '@babel/code-frame': 7.29.7 + rollup-plugin-dts@6.4.1(rollup@4.59.0)(typescript@5.9.3): + dependencies: + '@jridgewell/remapping': 2.3.5 + '@jridgewell/sourcemap-codec': 1.5.5 + convert-source-map: 2.0.0 + magic-string: 0.30.21 + rollup: 4.59.0 + typescript: 5.9.3 + optionalDependencies: + '@babel/code-frame': 7.29.7 + optional: true + rollup@4.59.0: dependencies: '@types/estree': 1.0.8 @@ -36097,17 +36133,17 @@ snapshots: transitivePeerDependencies: - supports-color - testcafe-hammerhead@31.7.7(patch_hash=8a228aaee48378d5351c48579d64dbed08eabb120e19e7a73eba4ae6f308af14): + testcafe-hammerhead@31.7.8(patch_hash=8655c07786177d3b611a05abf6b0ea87d32796eb2601f92a800ef041095f264c): dependencies: '@adobe/css-tools': 4.5.0 '@electron/asar': 3.4.1 + '@node-ntlm/core': 0.3.2 acorn-hammerhead: 0.6.2 bowser: 1.6.0 crypto-md5: 1.0.0 debug: 4.3.1 esotope-hammerhead: 0.6.9 http-cache-semantics: 4.2.0 - httpntlm: 1.8.13 iconv-lite: 0.5.1 lodash: 4.18.1 lru-cache: 11.0.2 @@ -36143,7 +36179,7 @@ snapshots: pinkie: 2.0.4 read-file-relative: 1.2.0 strip-bom: 2.0.0 - testcafe-hammerhead: 31.7.7(patch_hash=8a228aaee48378d5351c48579d64dbed08eabb120e19e7a73eba4ae6f308af14) + testcafe-hammerhead: 31.7.8(patch_hash=8655c07786177d3b611a05abf6b0ea87d32796eb2601f92a800ef041095f264c) transitivePeerDependencies: - bufferutil - supports-color @@ -36163,7 +36199,7 @@ snapshots: testcafe-selector-generator@0.1.0: {} - testcafe@3.7.4: + testcafe@3.7.5: dependencies: '@babel/core': 7.29.7 '@babel/plugin-proposal-decorators': 7.29.7(@babel/core@7.29.7) @@ -36239,7 +36275,6 @@ snapshots: prompts: 2.4.2 qrcode-terminal: 0.10.0 read-file-relative: 1.2.0 - replicator: 1.0.5 resolve-cwd: 1.0.0 resolve-from: 4.0.0 sanitize-filename: 1.6.4 @@ -36248,7 +36283,7 @@ snapshots: source-map-support: 0.5.21 strip-bom: 2.0.0 testcafe-browser-tools: 2.0.26 - testcafe-hammerhead: 31.7.7(patch_hash=8a228aaee48378d5351c48579d64dbed08eabb120e19e7a73eba4ae6f308af14) + testcafe-hammerhead: 31.7.8(patch_hash=8655c07786177d3b611a05abf6b0ea87d32796eb2601f92a800ef041095f264c) testcafe-legacy-api: 5.1.8 testcafe-reporter-json: 2.2.0 testcafe-reporter-list: 2.2.0 @@ -36259,7 +36294,7 @@ snapshots: time-limit-promise: 1.0.4 tmp: 0.2.7 tree-kill: 1.2.2 - typescript: 4.7.4 + typescript: 4.9.5 unquote: 1.1.1 url-to-options: 2.0.0 transitivePeerDependencies: @@ -36786,8 +36821,6 @@ snapshots: typedarray@0.0.6: {} - typescript@4.7.4: {} - typescript@4.9.5: {} typescript@5.5.4: {} @@ -36824,8 +36857,6 @@ snapshots: simple-concat: 1.0.1 xtend: 4.0.2 - underscore@1.13.8: {} - undertaker-registry@1.0.1: {} undertaker@1.3.0: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 90db1ca2b94e..ba67848115d4 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -81,7 +81,7 @@ catalog: jquery: 3.7.1 stylelint: 16.22.0 jspdf: 4.2.1 - testcafe: 3.7.4 + testcafe: 3.7.5 "@babel/eslint-parser": 7.29.7 "@eslint-stylistic/metadata": ^2.13.0 "@eslint/eslintrc": 3.3.5 @@ -130,7 +130,7 @@ allowBuilds: unrs-resolver: true patchedDependencies: - testcafe-hammerhead@31.7.7: patches/testcafe-hammerhead@31.7.7.patch + testcafe-hammerhead@31.7.8: patches/testcafe-hammerhead@31.7.8.patch minimumReleaseAgeExclude: - "eslint-config-devextreme"