!function e(){!function(){function t(e){var t={exports:{}};return e(t,t.exports),t.exports}function r(){for(var e=0;e-1&&(t[i]=!0)}return t}function D(e){if(!e)return null;for(var t="",r=0,n=El;r0&&t<=65535}function ne(e){var t=z(e);return"file:"===t.protocol||"about:"===t.protocol||!!t.hostname&&(!t.port||re(t.port))}function oe(e){var t=z(e);return!t.partAfterHost&&t.protocol&&ol.test(t.protocol)?e+"/":e}function ie(e){var t=z(e),r="https:"===t.protocol&&t.port===yl||"http:"===t.protocol&&t.port===vl;return r?(t.host=t.hostname,t.port="",X(t)):e}function ae(e){return e=ie(e),e=oe(e)}function se(e,t,r,n){var o=new RegExp("("+t.protocol+"//"+t.hostname+":(?:"+t.port+"|"+t.crossDomainPort+")/)[^/"+pl+"]+","g"),i="$1"+r+(n?hl+n:"");return e.replace(o,i)}function ce(e,t){var r=e.match(cl);return r&&r[3]?r[1]+t(r[3])+(r[4]||""):e}function le(){if(Al)return Al;var e=Nt(Ec.global);return e&&Jt(e)?Cl.get().referer:Ec.global.location.toString()}function ue(e){Al=e}function pe(e,t){return t&&(t=he(t)),Cl.get().disableCrossDomain||F(e,t)}function he(e,t){var r=U(e);if(r&&0===r.indexOf("//")){var n=ye().protocol;r=n+Q(r,n)}else r=Q(r);return Ec.isInWorker?"blob:"!==self.location.protocol?new Xc.URL(r,Tl()).href:String(e):wl.resolve(r,t||document)}function de(){var e=le(),t=G(e);return(null===t||void 0===t?void 0:t.reqOrigin)?t.reqOrigin+"/":""}function fe(e){Tl=e}function me(e){var t=Tl();return t=t.replace(/(#.*)$/,""),t+e}function ge(e){var t=wl.getResolverElement(document),r=z(e).port;Xc.anchorHrefSetter.call(t,Tl());var n=Xc.anchorHostnameGetter.call(t),o=Xc.anchorPathnameGetter.call(t);return"/"!==o.charAt(0)&&(o="/"+o),{protocol:Xc.anchorProtocolGetter.call(t),port:r?Xc.anchorPortGetter.call(t):"",hostname:n,host:r?Xc.anchorHostGetter.call(t):n,pathname:o,hash:t.hash,search:Xc.anchorSearchGetter.call(t)}}function ve(e){var t=new Xc.URL(e);return{protocol:t.protocol,port:t.port,hostname:t.hostname,host:t.host,pathname:t.pathname,hash:t.hash,search:t.search}}function ye(){var e=Tl();return Ec.isInWorker?ve(e):ge(e)}function _e(){return V(ye())}function Ee(e){return e.isScript||e.isServiceWorker?self.document&&document[vc.documentCharset]||null:null}function Se(e){Dl=e}function be(e,t){var r=null,n=t.top!==t,o=t.location.toString();if(n)r=o;else{var i=jl(o);r=i&&i.destUrl}return je(r)&&te(e)?"":(e=ae(e),Dl(e))}function we(e,t,r){return void 0===r&&(r=!1),r?e:be(e,t)}function xe(e){Ml=e}function Ce(e,t){var r=jl(e),n=null;if(r&&(e=r.destUrl,n=r.resourceType),n){var o=Fe(n);o.isIframe=!1,n=He(o)}var i=!pe(le(),e),a=i?Cl.get().crossDomainProxyPort:location.port.toString();return Dl(e,{windowId:t,proxyPort:a,resourceType:n})}function Ae(e){return Cl.get().crossDomainProxyPort===e?location.port.toString():Cl.get().crossDomainProxyPort}function Te(e){Rl=e}function Ie(e){return X(e)}function Pe(e){jl=e}function Ne(e){return z(e)}function Oe(){return V({protocol:location.protocol,hostname:location.hostname,port:Cl.get().crossDomainProxyPort})}function ke(e){Fl=e}function Le(e,t,r,n){var o=G(e);if(o){var i=o.sessionId,a=o.proxy,s=wl.changeUrlPart(o.destUrl,t,r,document);return Dl(s,{proxyHostname:a.hostname,proxyPort:a.port,sessionId:i,resourceType:n})}return e}function De(e){var t=Rl(e);return Nl.test(t)}function Me(e,t){return j(e,t)}function Re(e){return K(e)}function je(e){return ee(e)}function Fe(e){return L(e)}function He(e){return D(e)}function Ue(e,t){return Dl(e).replace(Pl,"")===Dl(t).replace(Pl,"")}function Be(e){var t=jl(e);return t?t.destUrl:e}function Ve(e){if(!Re(e))return null;var t=Ne(Rl(e));if(!t)return null;var r=q(t.partAfterHost);return r.replace(Ol,"/")||"/"}function We(e,t,r){if(void 0===r&&(r=!1),r)return String(e);var n=!pe(le(),e),o={resourceType:He({isAjax:!0}),credentials:t};return n&&(o.proxyPort=Cl.get().crossDomainProxyPort,o.reqOrigin=_e()),Dl(e,o)}function Ge(e,t){e=e||"";var r=t(e.replace("px",""),10);return isNaN(r)?0:r}function qe(e){return Ge(e,parseInt)}function ze(e){return Ge(e,parseFloat)}function Ke(e,t,r,n){e=e.documentElement||e;var o=Je(e,r,n);return o&&o[t]}function $e(e,t,r){e=e.documentElement||e,e.style[t]=r}function Xe(e,t){return{bottom:t(Ke(e,"borderBottomWidth")),left:t(Ke(e,"borderLeftWidth")),right:t(Ke(e,"borderRightWidth")),top:t(Ke(e,"borderTopWidth"))}}function Ye(e){return Xe(e,qe)}function Qe(e){return Xe(e,ze)}function Je(e,t,r){t=t||document,r=r||window;var n=t.defaultView||r;return n.getComputedStyle(e,null)}function Ze(e){return{bottom:qe(Ke(e,"marginBottom")),left:qe(Ke(e,"marginLeft")),right:qe(Ke(e,"marginRight")),top:qe(Ke(e,"marginTop"))}}function et(e,t){return{bottom:t(Ke(e,"paddingBottom")),left:t(Ke(e,"paddingLeft")),right:t(Ke(e,"paddingRight")),top:t(Ke(e,"paddingTop"))}}function tt(e){return et(e,qe)}function rt(e){return et(e,ze)}function nt(e){var t=ar(e),r=window;if(t&&$t(e)){var n=It(e);n&&(r=Xc.contentWindowGetter.call(n))}var o=t?r:e;return{left:pt(o),top:ht(o)}}function ot(e){if(!e)return null;if(kr(e))return e.document.documentElement.clientWidth;if(Lr(e)){var t=e.documentElement,r="clientWidth",n="scrollWidth",o="offsetWidth";return t[r]>=t[n]?t[r]:Math.max(e.body[n],t[n],e.body[o],t[o])}var i=e.offsetWidth;return i-=qe(Ke(e,"paddingLeft")),i-=qe(Ke(e,"paddingRight")),i-=qe(Ke(e,"borderLeftWidth")),i-=qe(Ke(e,"borderRightWidth"))}function it(e){if(!e)return null;if(kr(e))return e.document.documentElement.clientHeight;if(Lr(e)){var t=e.documentElement,r="clientHeight",n="scrollHeight",o="offsetHeight";return t[r]>=t[n]?t[r]:Math.max(e.body[n],t[n],e.body[o],t[o])}var i=e.offsetHeight;return i-=qe(Ke(e,"paddingTop")),i-=qe(Ke(e,"paddingBottom")),i-=qe(Ke(e,"borderTopWidth")),i-=qe(Ke(e,"borderBottomWidth"))}function at(e){if(!e)return null;if(kr(e))return e.document.documentElement.clientWidth;if(Lr(e))return e.documentElement.clientWidth;var t=e.offsetWidth;return t-=qe(Ke(e,"borderLeftWidth")),t-=qe(Ke(e,"borderRightWidth"))}function st(e){if(!e)return null;if(kr(e))return e.document.documentElement.clientHeight;if(Lr(e))return e.documentElement.clientHeight;var t=e.offsetHeight;return t-=qe(Ke(e,"borderTopWidth")),t-=qe(Ke(e,"borderBottomWidth"))}function ct(e){var t=lt(e),r=tt(e),n=e.scrollHeight-(r.top+r.bottom),o=Mt(e).length;return 1===t?it(e):Mc&&t>o?Math.round(n/o):Math.round(n/Math.max(o,t))}function lt(e){if(Vc&&Vl||Ic)return 1;var t=Xc.getAttribute.call(e,"size"),r=Xc.hasAttribute.call(e,"multiple"),n=t?parseInt(t,10):1;return r&&(!t||n<1)&&(n=cu),n}function ut(e){var t=Dt(e),r=Gt(e);return Sr(t)&<(t)>1&&("option"===r||"optgroup"===r)&&(!Hc||e.label)}function pt(e){return e?kr(e)?e.pageXOffset:Lr(e)?e.defaultView.pageXOffset:e.scrollLeft:null}function ht(e){return e?kr(e)?e.pageYOffset:Lr(e)?e.defaultView.pageYOffset:e.scrollTop:null}function dt(e,t){if(e)if(kr(e)||Lr(e)){var r=Ft(e).defaultView,n=ht(e);Xc.scrollTo.call(r,t,n)}else e.scrollLeft=t}function ft(e,t){if(e)if(kr(e)||Lr(e)){var r=Ft(e).defaultView,n=pt(e);Xc.scrollTo.call(r,n,t)}else e.scrollTop=t}function mt(e){if(e){for(var t=e.offsetParent||document.body;t&&!/^(?:body|html)$/i.test(t.nodeName)&&"static"===Ke(t,"position");)t=t.offsetParent;return t}}function gt(e){if(!e||kr(e)||Lr(e))return null;var t=e.getBoundingClientRect(),r=e.ownerDocument,n=r.documentElement;if(!n.contains(e)||e===n)return{top:t.top,left:t.left};var o=r.defaultView,i=n.clientTop||r.body.clientTop||0,a=n.clientLeft||r.body.clientLeft||0,s=o.pageYOffset||n.scrollTop||r.body.scrollTop,c=o.pageXOffset||n.scrollLeft||r.body.scrollLeft;return t=e.getBoundingClientRect(),{top:t.top+s-i,left:t.left+c-a}}function vt(e,t){if(!Kt(e,t))return!1;for(;e;){if("none"===Ke(e,"display",t)||"hidden"===Ke(e,"visibility",t))return!1;e=zt(e)}return!0}function yt(e){var t=It(e);return t&&!vt(t,Ft(t))}function _t(e){return Wt(e)?Xc.elementQuerySelector:$r(e)||Xr(e)?Xc.documentFragmentQuerySelector:Xc.querySelector}function Et(e){return Wt(e)?Xc.elementQuerySelectorAll:$r(e)||Xr(e)?Xc.documentFragmentQuerySelectorAll:Xc.querySelectorAll}function St(e){return e.offsetWidth<=0&&e.offsetHeight<=0}function bt(e){var t=Gt(e);return!!t&&(bu.test(t)||wu.test(t))}function wt(e){var t=null;try{t=e.__proto__}catch(r){var n=Vc||Bc||Hc;return e.replace&&(n||!!e.assign)}if(!t)return!1;var o=Xc.objectToString.call(t);return"[object LocationPrototype]"===o||"[object Location]"===o}function xt(e,t){for(;e;){if(an(e,t))return e;e=Xc.nodeParentNodeGetter.call(e)}return null}function Ct(e){return Bl?e&&"object"==typeof e?Xc.objectToString.call(Xc.objectGetPrototypeOf(e)):"":Xc.objectToString.call(e)}function At(e){for(var t=e||document,r=Xc.documentActiveElementGetter.call(t),n=Wt(r)?r:t.body;n&&n.shadowRoot;){var o=n.shadowRoot.activeElement;if(!o)break;n=o}return n}function Tt(e,t){var r=Mt(e);return r.indexOf(t)}function It(e){var t=e[vc.processedContext];return Nt(t)}function Pt(e){var t=null;try{t=Xc.contentDocumentGetter.call(e).location.href}catch(r){t=null}var n=Xc.getAttribute.call(e,"src"+Qc.storedAttrPostfix)||Xc.getAttribute.call(e,"src")||Xc.iframeSrcGetter.call(e),o=t&&Re(t)&&jl(t),i=n&&Re(n)&&jl(n);return{documentLocation:o?o.destUrl:t,srcLocation:i?i.destUrl:n}}function Nt(e){try{return e.frameElement}catch(t){return null}}function Ot(e){var t=sn(e,"map"),r=Xc.getAttribute.call(t,"name"),n='[usemap="#'+r+'"]';return Xc.querySelector.call(Ft(e),n)}function kt(e){var t=e.parent,r=null;if(e===e.top)return e;if(t===e.top||Bt(e,t))return t;try{r=t.frameElement}catch(n){r=null}return null!==r&&Jt(r)?kt(t):t}function Lt(){if(!uu){var e=Xc.createElement.call(document,"div");e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.width="100px",Xc.appendChild.call(document.body,e);var t=e.offsetWidth-e.clientWidth;uu=t;var r=Xc.nodeParentNodeGetter.call(e);r.removeChild(e)}return uu}function Dt(e){var t=Xc.nodeParentNodeGetter.call(e);return sn(t,"select")}function Mt(e){for(var t=Xc.elementQuerySelectorAll.call(e,"optgroup, option"),r=[],n=Xc.nodeListLengthGetter.call(t),o=0;o=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||36===e||95===e||92===e;var t=String.fromCharCode(e);return ju.test(t)}function xn(e){return 10===e||13===e||8232===e||8233===e}function Cn(e){return 32===e||9===e||xn(e)||11===e||12===e||160===e||e>=5760&&Ru.indexOf(e)>=0}function An(e){return e>=48&&e<=57}function Tn(e,t){var r="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(r+=e);return r}function In(e,t){function r(e){return"object"==typeof e&&e instanceof Object&&!(e instanceof RegExp)}var n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],r(o)?r(e[n])?In(e[n],o):e[n]=In({},o):e[n]=o);return e}function Pn(e){var t,r,n,o,i;if(e===1/0)return Ql?"null":Jl?"1e400":"1e+400";if(t=""+e,!Jl||t.length<3)return t;for(r=t.indexOf("."),Ql||48!==t.charCodeAt(0)||1!==r||(r=0,t=t.slice(1)),n=t,t=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;return 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)).length255?"u"+"0000".slice(r.length)+r:0!==e||An(t)?11===e?"x0B":"x"+"00".slice(r.length)+r:"0"}return n}function Ln(e){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}function Dn(e){var t,r,n,o;for(o="double"===eu?'"':"'",t=0,r=e.length;t=32&&n<=126)){a+=kn(n,e.charCodeAt(t+1));continue}}a+=String.fromCharCode(n)}if(o=!("double"===eu||"auto"===eu&&c"),e.expression){Gu.js+=Gu.optSpace;var r=Yn(t,Fu.e4);"{"===r.charAt(0)&&(r="("+r+")"),Gu.js+=r}else Gu.js+=Fn(t),zu[t.type](t,Fu.s8)}function Wn(e){return!!e&&e.type===ku.LogicalExpression}function Gn(e,t){switch(e.operator){case"||":return!!Wn(t)&&("??"===t.operator||"&&"===t.operator);case"&&":return Wn(t);case"??":return Wn(t)&&"??"!==t.operator}}function qn(e,t,r){var n=e.operator,o=Mu[e.operator],i=o1,i=jn(),a=Gu.newline+Gu.indent;Gu.js+="[";for(var s=0;s0?Rn(o,l):o+l}Gu.indent=a}if(r){var u=Yn(r,Fu.e5);o=Rn(o,"if"+Gu.optSpace),o=Rn(o,"("+u+")")}o=Rn(o,i),o+=n?")":"]",Gu.js+=o}function $n(e,t,r){for(var n=r.length,o=n-1,i=0;i-1&&(f=Yu.generateName(f,void 0,l)),c.push(f),Wo(d,a,r,f)}}}}function $o(e,t,r,n){if(t){t.type!==Lu.ArrayExpression&&(t=Do(t));var o=zo(t,r,n);n||(n=o.name);for(var i=0;i=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 bi(e,t){if(e){if("string"==typeof e)return wi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wi(e,t):void 0}}function wi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 Ti(e,t){if(e){if("string"==typeof e)return Ii(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ii(e,t):void 0}}function Ii(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 Ni(e,t){if(e){if("string"==typeof e)return Oi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oi(e,t):void 0}}function Oi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r\n (function () {\n var currentScript = document.currentScript;\n\n /* NOTE: IE11 doesn't support the 'currentScript' property */\n if (!currentScript) {\n var scripts = document.scripts;\n var scriptsLength = scripts.length;\n\n currentScript = scripts[scriptsLength - 1];\n }\n\n currentScript.parentNode.removeChild(currentScript);\n\n ").concat(e,"\n })();\n \n ").replace(Rd,"")}function Yi(e){var t=Xc.nodeParentNodeGetter.call(e);return t&&Xc.removeChild.call(t,e),e}function Qi(){try{cf.location&&cf.location.toString()}catch(e){cf=Xc.createHTMLDocument.call(document.implementation,"title"),lf=Xc.createDocumentFragment.call(cf),lf[af]=!0}return cf}function Ji(e){return e.replace(Yd,Qd).replace(Kd,$d).replace(qd,zd)}function Zi(e){return e.replace(Jd,"").replace(Xd,"<$2$1$4$3").replace(Gd,"$1")}function ea(e){return/^\s*(<\s*(!doctype|html|head|body)[^>]*>)/i.test(e)}function ta(e,t){var r=Xc.createElement.call(Qi(),"div");e=Ji(e),Xc.appendChild.call(lf,r),Xc.elementInnerHTMLSetter.call(r,e);var n=t(r)?Xc.elementInnerHTMLGetter.call(r):e;return Yi(r),n=Zi(n),Mc&&!Uc&&e!==n&&(n=pa(e,n)),n}function ra(e){var t=Af.getUrlAttr(e);if(t&&Xc.hasAttribute.call(e,t)){var r=_d.getStoredAttrName(t);Xc.hasAttribute.call(e,r)&&(Xc.setAttribute.call(e,t,Xc.getAttribute.call(e,r)),Xc.removeAttribute.call(e,r))}}function na(e){if(Xc.hasAttribute.call(e,"autocomplete")){var t=_d.getStoredAttrName("autocomplete");if(Xc.hasAttribute.call(e,t)){var r=Xc.getAttribute.call(e,t);_d.isAddedAutocompleteAttr("autocomplete",r)?Xc.removeAttribute.call(e,"autocomplete"):Xc.setAttribute.call(e,"autocomplete",r),Xc.removeAttribute.call(e,t)}}}function oa(e){var t=Af.getTargetAttr(e);if(t&&Xc.hasAttribute.call(e,t)){var r=_d.getStoredAttrName(t);Xc.hasAttribute.call(e,r)&&(Xc.setAttribute.call(e,t,Xc.getAttribute.call(e,r)),Xc.removeAttribute.call(e,r))}}function ia(e){if("iframe"===Af.adapter.getTagName(e)&&Xc.hasAttribute.call(e,"sandbox")){var t=_d.getStoredAttrName("sandbox");Xc.hasAttribute.call(e,t)&&(Xc.setAttribute.call(e,"sandbox",Xc.getAttribute.call(e,t)),Xc.removeAttribute.call(e,t))}}function aa(e){if(Xc.hasAttribute.call(e,"style")){var t=_d.getStoredAttrName("style");Xc.hasAttribute.call(e,t)&&(Xc.setAttribute.call(e,"style",Xc.getAttribute.call(e,t)),Xc.removeAttribute.call(e,t))}}function sa(e){return ta(e,function(e){var t=!1;return jt(e,tf,function(e){ra(e),na(e),oa(e),ia(e),aa(e),t=!0}),jt(e,rf,function(e){var r=Xc.nodeParentNodeGetter.call(e);r&&(Xc.removeChild.call(r,e),t=!0)}),jt(e,"script",function(e){var r=Xc.nodeTextContentGetter.call(e),n=yi(r);r!==n&&(Xc.nodeTextContentSetter.call(e,n),t=!0)}),jt(e,"style",function(e){var r=Xc.nodeTextContentGetter.call(e),n=rd.cleanUp(r,jl);r!==n&&(Xc.nodeTextContentSetter.call(e,n),t=!0)}),jt(e,nf,function(e){Xc.removeAttribute.call(e,Qc.hoverPseudoClass),Xc.removeAttribute.call(e,Qc.focusPseudoClass),t=!0}),jt(e,of,function(e){var r=Xc.elementInnerHTMLGetter.call(e);r.indexOf(jd.iframeInit)!==-1&&(Xc.elementInnerHTMLSetter.call(e,r.replace(jd.iframeInit,"")),t=!0)}),t})}function ca(e,t){void 0===t&&(t={});var r=t.parentTag,n=t.prepareDom,o=t.processedContext,i=t.isPage;return ta(e,function(e){var t=null,a=[],s=[],c=0,l=wl.getBaseUrl(document);n&&n(e),Xc.htmlCollectionLengthGetter.call(Xc.elementChildrenGetter.call(e))&&(s=Xc.elementQuerySelectorAll.call(e,"*"),c=Xc.nodeListLengthGetter.call(s));var u=Xc.elementQuerySelector.call(e,"base");u&&wl.updateBase(Xc.getAttribute.call(u,"href"),document);for(var p=0;p=0;r--)try{if(t[r]===e)return}catch(n){t.splice(r,1)}t.push(e)}function fa(e){var t=ha(),r=t.indexOf(e);r!==-1&&t.splice(r,1)}function ma(e){for(var t=ha(),r=0;r=6&&n.length%2===0){for(i={},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}}if(i){var a=qa(t);i.left+=a.left,i.top+=a.top}return i}function Fa(e){var t=Ot(e);if(t){if(/^map$/i.test(e.tagName))return Ba(t);if(/^area$/i.test(e.tagName)){var r=ja(e,t);if(r)return r}}return{height:0,left:0,top:0,width:0}}function Ha(e){var t=Dt(e);if(t){var r=Ba(t),n=Ye(t),o=at(t)===t.clientWidth?0:Lt(),i=ct(t),a=Tt(t,e),s=Math.max(a-ht(t)/i,0);return{height:i,left:r.left+n.left,top:r.top+n.top+tt(t).top+s*i,width:r.width-(n.left+n.right)-o}}return Ba(e)}function Ua(e){var t=an(e,"tspan")||an(e,"tref")||"textpath"===Gt(e),r=e.getBoundingClientRect(),n={height:t?e.offsetHeight:r.height,left:r.left+(document.body.scrollLeft||document.documentElement.scrollLeft),top:r.top+(document.body.scrollTop||document.documentElement.scrollTop),width:t?e.offsetWidth:r.width};if(t){var o=mt(e),i=gt(e),a=gt(o),s=an(o,"body");return{height:n.height||r.height,left:s?e.offsetLeft||i.left:a.left+e.offsetLeft,top:s?e.offsetTop||i.top:a.top+e.offsetTop,width:n.width||r.width}}if(Hc||Mc)return n;var c=Xc.getAttribute.call(e,"stroke-width")||Ke(e,"stroke-width");return c=c?+c.replace(/px|em|ex|pt|pc|cm|mm|in/,""):1,c&&+c%2!==0&&(c=+c+1),!(an(e,"line")||an(e,"polyline")||an(e,"polygon")||an(e,"path"))||n.width&&n.height?(an(e,"polygon")&&(n.height+=2*c,n.left-=c,n.top-=c,n.width+=2*c),n.height+=c,n.left-=c/2,n.top-=c/2,n.width+=c):!n.width&&n.height?(n.left-=c/2,n.width=c):n.width&&!n.height&&(n.height=c,n.top-=c/2),n}function Ba(e){var t={};if(Ar(e))t=Fa(e);else if(ut(e))t=Ha(e);else{var r=qa(e),n=jr(e)?Ua(e):e.getBoundingClientRect();t={height:n.height,left:r.left,top:r.top,width:n.width}}return t.height=Math.round(t.height),t.left=Math.round(t.left),t.top=Math.round(t.top),t.width=Math.round(t.width),t}function Va(e,t,r){if("iframe"!==Gt(e))return!1;var n=Ba(e),o=Ye(e),i=tt(e),a=n.left+o.left+i.left,s=n.top+o.top+i.top,c=n.left+n.width-o.right-i.right,l=n.top+n.height-o.bottom-i.bottom;return t>=a&&t<=c&&r>=s&&r<=l}function Wa(e,t,r){var n=jr(e),o=n?Ua(e):null;return{left:n?o.left+t.left:r.left+t.left,top:n?o.top+t.top:r.top+t.top}}function Ga(e,t,r,n,o){var i=Ye(o);t.left+=i.left,t.top+=i.top;var a=qa(o),s=tt(o),c=null;if(jr(e)){var l=Ua(e);c={x:l.left-(document.body.scrollLeft||document.documentElement.scrollLeft)+t.left,y:l.top-(document.body.scrollTop||document.documentElement.scrollTop)+t.top}}else c=za({x:r.left+t.left,y:r.top+t.top},n);return{left:a.left+c.x+s.left,top:a.top+c.y+s.top}}function qa(e,t){if(void 0===t&&(t=Math.round),Ar(e)){var r=Fa(e);return{left:r.left,top:r.top}}var n=Ft(e),o=$t(e,n),i=o?It(n):null,a=gt(n===e?n.documentElement:e),s=n.body?Ye(n.body):{left:0,top:0},c=o&&i?Ga:Wa,l=c(e,s,a,n,i),u=l.left,p=l.top;return O(t)&&(u=t(u),p=t(p)),{left:u,top:p}}function za(e,t){var r=t||document,n=pt(r),o=ht(r),i=pt(r.body),a=ht(r.body),s=0===n&&0!==i?i:n,c=0===o&&0!==a?a:o;return{x:e.x-s,y:e.y-c}}function Ka(e){for(var t=function(e){var t=am++;Xc.objectDefineProperty(cm.prototype,t,{get:function(){this.item(t)}})},r=0;rr;)delete e[--t];var o=am-im;r>o&&Ka(r-o)}}function Xa(e,t,r){if(r){for(var n=0,o=t;n=0;r--)try{if(e[r].iframe===t)return e[r]}catch(n){e.splice(r,1)}}function rs(e,t){var r=Rt(e),n=e!==r?Nt(e):null,o=r[Am];o||(o=[],Xc.objectDefineProperty(r,Am,{value:o}));var i=ts(o,n);i?i.sandbox=t:o.push({iframe:n,sandbox:t})}function ns(e){var t=Rt(e),r=t[Am],n=e!==t?e.frameElement:null;if(r){var o=ts(r,n);return o?o.sandbox:null}return null}function os(e,t){var r=Xc.anchorHrefGetter.call(e);return Pm||as(),r?(Xc.anchorHrefSetter.call(Pm,Be(r)),t.call(Pm)):t.call(Nm)}function is(e,t,r){var n=Xc.anchorHrefGetter.call(e);return Pm||as(),n&&(Xc.anchorHrefSetter.call(Pm,Be(n)),t.call(Pm,r),e.setAttribute("href",Xc.anchorHrefGetter.call(Pm))),r}function as(){Pm=Xc.createElement.call(document,"a"),Nm=Xc.createElement.call(document,"a")}function ss(){Pm=null,Nm=null}function cs(e){return e[Om]}function ls(e,t){t=Mc&&kc>10&&/MSPointer/.test(t)?t.replace("MS","").toLowerCase():t;var r=cs(e);return r&&r[t]}function us(e){return!!e[Om]}function ps(e,t){for(var r=cs(e)||{},n=0;n-1&&s.splice(c,1)}}function vs(e,t,r,n){e.outerHandlers.push({fn:t,useCapture:n||!1}),e.wrappers.push(r)}function ys(e,t,r){for(var n=e.outerHandlers,o=e.wrappers,i=null,a=0;ae[o].lastAccessed){var i=e[n];e[n]=e[o],e[o]=i}t.push(e[n]);break}o===e.length&&r.push(e[n])}return{outdated:t,actual:r}}function xs(e){return(e.isServerSync?cg.server:"")+(e.isClientSync?cg.client:"")+(e.isWindowSync?cg.window:"")}function Cs(e){var t=xs(e),r=encodeURIComponent(e.key),n=encodeURIComponent(e.domain),o=encodeURIComponent(e.path),i="Infinity"!==e.expires?e.expires.getTime().toString(og):"",a=e.lastAccessed.getTime().toString(og),s=rg.isNil(e.maxAge)||isNaN(Number(e.maxAge))||"Infinity"===String(e.maxAge)?"":e.maxAge.toString(og);return"".concat(t,"|").concat(e.sid,"|").concat(r,"|").concat(n,"|").concat(o,"|").concat(i,"|").concat(a,"|").concat(s)}function As(e){for(var t=e?e.split(";"):"",r=[],n=0,o=t;n-1,isClientSync:o[0].indexOf(cg.client)>-1,isWindowSync:o[0].indexOf(cg.window)>-1,sid:o[1],key:decodeURIComponent(o[2]),domain:decodeURIComponent(o[3]),path:decodeURIComponent(o[4]),expires:o[5]?new Date(parseInt(o[5],og)):"Infinity",lastAccessed:new Date(parseInt(o[6],og)),maxAge:o[7]?parseInt(o[7],og):null,syncKey:r,value:n,cookieStr:e}}function Ns(e,t){var r,n;"server"in t&&(e.isServerSync=t.server),"client"in t&&(e.isClientSync=t.client),"window"in t&&(e.isWindowSync=t.window);var o=xs(e);e.syncKey=null===(r=e.syncKey)||void 0===r?void 0:r.replace(lg,o),e.cookieStr=null===(n=e.cookieStr)||void 0===n?void 0:n.replace(lg,o)}function Os(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}function ks(e){return e.syncKey+ig}function Ls(){if(!pg)for(pg=window.top;pg.opener&&pg!==pg.opener;)pg=pg.opener.top;return pg}function Ds(e){e=k(e);var t=yg.exec(e);t&&(e=e.slice(0,t.index));var r=e.indexOf(";"),n=r>-1?e.substr(0,r):e,o=vg.exec(n);if(!o)return null;var i={key:o[1]?k(o[2]):"",value:k(o[3])};if(r===-1)return i;var a=k(e.slice(r).replace(/^\s*;\s*/,""));if(0===a.length)return i;for(var s=a.split(/\s*;\s*/);s.length;){var c=s.shift(),l=c.indexOf("="),u=null,p=null,h=null;switch(l===-1?u=c:(u=c.substr(0,l),p=k(c.substr(l+1))),u=k(u.toLowerCase())){case"expires":p=p.replace(_g,"$1 $2 $3"),h=Hs(Date.parse(p)),h&&(i.expires=h);break;case"max-age":p&&(i.maxAge=Number(p));break;case"path":i.path=p;break;case"secure":i.secure=!0;break;case"httponly":i.httpOnly=!0;break;case"domain":i.domain=k(p.replace(/^\./,""))}}return i}function Ms(e){var t=e.value||"";return""!==e.key&&(t=e.key+"="+t),t}function Rs(e,t){var r=t.hostname,n=t.pathname;if(e.domain||(e.domain=r),!e.path||"/"!==e.path.charAt(0)){ var o=n,i=o.slice(0,o.lastIndexOf("/"));e.path=i||"/"}e.expires||(e.expires="Infinity"),isNaN(e.maxAge)&&(e.maxAge="Infinity")}function js(e,t){if(!t)return!0;if(e=e.toLowerCase(),t=t.toLowerCase(),e===t)return!0;var r=e.indexOf(t);return r>0&&e.length===t.length+r&&"."===e.charAt(r-1)}function Fs(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 Hs(e){if(arguments.length){if(isNaN(e))return null}else e=Xc.dateNow();return e=1e3*Math.floor(e/1e3),new Xc.date(e)}function Us(){return new mc(function(e){return Xc.setTimeout.call(window,e,0)})}function Bs(e){e=e.replace(/\r\n$/,"");var t=[];if(""===e)return t;e=e.split(/\r\n/);for(var r=0,n=e;r-1}function Ks(e){return e.replace(gv,"")}function $s(e){var t=String(e).toLowerCase();return t===nd.wwwAuthenticate||t===nd.proxyAuthenticate}function Xs(e){return vv+e}function Ys(e){return e.indexOf(vv)>-1}function Qs(e){return e.replace(vv,"")}function Js(e){var t=String(e).toLowerCase();return t===nd.authorization||t===nd.proxyAuthorization}function Zs(e){switch(e=String(e).toLowerCase()){case"omit":return fc.omit;case"same-origin":return fc.sameOrigin;case"include":return fc.include;default:return fc.unknown}}function ec(e,t){return Mv+e+"|"+t}function tc(){var e=new Xc.Uint16Array(1);return Xc.cryptoGetRandomValues.call(Xc.crypto,e),e[0]}function rc(){return new mc(Es)}function nc(){var e=Xc.querySelector.call(document,uy);e&&Yi(e)}var oc,ic="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ac="pending",sc="settled",cc="fulfilled",lc="rejected",uc=function(){},pc="undefined"!=typeof ic&&"undefined"!=typeof ic.process&&"function"==typeof ic.process.emit,hc="undefined"==typeof setImmediate?setTimeout:setImmediate,dc=[];f.prototype={constructor:f,_state:ac,_then:null,_data:void 0,_handled:!1,then:function(e,t){var r={owner:this,then:new this.constructor(uc),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===lc&&pc&&n(d,this)),this._state===cc||this._state===lc?n(i,r):this._then.push(r),r.then},"catch":function(e){return this.then(null,e)}},f.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new f(function(t,r){function n(e){return a++,function(r){i[e]=r,--a||t(i)}}for(var o,i=[],a=0,s=0;s1&&r[1]||""}function r(t){var r=e.match(t);return r&&r.length>1&&r[2]||""}var n=t(/(ipod|iphone|ipad)/i).toLowerCase(),o=/like android/i.test(e),i=!o&&/android/i.test(e),s=/nexus\s*[0-6]\s*/i.test(e),c=!s&&/nexus\s*[0-9]+/i.test(e),l=/CrOS/.test(e),u=/silk/i.test(e),p=/sailfish/i.test(e),h=/tizen/i.test(e),d=/(web|hpw)os/i.test(e),f=/windows phone/i.test(e);/SamsungBrowser/i.test(e);var m,g=!f&&/windows/i.test(e),v=!n&&!u&&/macintosh/i.test(e),y=!i&&!p&&!h&&!d&&/linux/i.test(e),_=t(/edge\/(\d+(\.\d+)?)/i),E=t(/version\/(\d+(\.\d+)?)/i),S=/tablet/i.test(e),b=!S&&/[^-]mobi/i.test(e),w=/xbox/i.test(e);/opera/i.test(e)?m={name:"Opera",opera:a,version:E||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(e)?m={name:"Opera",opera:a,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||E}:/SamsungBrowser/i.test(e)?m={name:"Samsung Internet for Android",samsungBrowser:a,version:E||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(e)?m={name:"Opera Coast",coast:a,version:E||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?m={name:"Yandex Browser",yandexbrowser:a,version:E||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?m={name:"UC Browser",ucbrowser:a,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?m={name:"Maxthon",maxthon:a,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?m={name:"Epiphany",epiphany:a,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?m={name:"Puffin",puffin:a,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?m={name:"Sleipnir",sleipnir:a,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?m={name:"K-Meleon",kMeleon:a,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:f?(m={name:"Windows Phone",windowsphone:a},_?(m.msedge=a,m.version=_):(m.msie=a,m.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?m={name:"Internet Explorer",msie:a,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:l?m={name:"Chrome",chromeos:a,chromeBook:a,chrome:a,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(e)?m={name:"Microsoft Edge",msedge:a,version:_}:/vivaldi/i.test(e)?m={name:"Vivaldi",vivaldi:a,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||E}:p?m={name:"Sailfish",sailfish:a,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?m={name:"SeaMonkey",seamonkey:a,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(m={name:"Firefox",firefox:a,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(m.firefoxos=a)):u?m={name:"Amazon Silk",silk:a,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?m={name:"PhantomJS",phantom:a,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?m={name:"SlimerJS",slimer:a,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?m={name:"BlackBerry",blackberry:a,version:E||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:d?(m={name:"WebOS",webos:a,version:E||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(m.touchpad=a)):/bada/i.test(e)?m={name:"Bada",bada:a,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:h?m={name:"Tizen",tizen:a,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||E}:/qupzilla/i.test(e)?m={name:"QupZilla",qupzilla:a,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||E}:/chromium/i.test(e)?m={name:"Chromium",chromium:a,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||E}:/chrome|crios|crmo/i.test(e)?m={name:"Chrome",chrome:a,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:i?m={name:"Android",version:E}:/safari|applewebkit/i.test(e)?(m={name:"Safari",safari:a},E&&(m.version=E)):n?(m={name:"iphone"==n?"iPhone":"ipad"==n?"iPad":"iPod"},E&&(m.version=E)):m=/googlebot/i.test(e)?{name:"Googlebot",googlebot:a,version:t(/googlebot\/(\d+(\.\d+))/i)||E}:{name:t(/^(.*)\/(.*) /),version:r(/^(.*)\/(.*) /)},!m.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(m.name=m.name||"Blink",m.blink=a):(m.name=m.name||"Webkit",m.webkit=a),!m.version&&E&&(m.version=E)):!m.opera&&/gecko\//i.test(e)&&(m.name=m.name||"Gecko",m.gecko=a,m.version=m.version||t(/gecko\/(\d+(\.\d+)?)/i)),m.windowsphone||m.msedge||!i&&!m.silk?m.windowsphone||m.msedge||!n?v?m.mac=a:w?m.xbox=a:g?m.windows=a:y&&(m.linux=a):(m[n]=a,m.ios=a):m.android=a;var x="";m.windowsphone?x=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):n?(x=t(/os (\d+([_\s]\d+)*) like mac os x/i),x=x.replace(/[_\s]/g,".")):i?x=t(/android[ \/-](\d+(\.\d+)*)/i):m.webos?x=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):m.blackberry?x=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):m.bada?x=t(/bada\/(\d+(\.\d+)*)/i):m.tizen&&(x=t(/tizen[\/\s](\d+(\.\d+)*)/i)),x&&(m.osversion=x);var C=x.split(".")[0];return S||c||"ipad"==n||i&&(3==C||C>=4&&!b)||m.silk?m.tablet=a:(b||"iphone"==n||"ipod"==n||i||s||m.blackberry||m.webos||m.bada)&&(m.mobile=a),m.msedge||m.msie&&m.version>=10||m.yandexbrowser&&m.version>=15||m.vivaldi&&m.version>=1||m.chrome&&m.version>=20||m.samsungBrowser&&m.version>=4||m.firefox&&m.version>=20||m.safari&&m.version>=6||m.opera&&m.version>=10||m.ios&&m.osversion&&m.osversion.split(".")[0]>=6||m.blackberry&&m.version>=10.1||m.chromium&&m.version>=20?m.a=a:m.msie&&m.version<10||m.chrome&&m.version<20||m.firefox&&m.version<20||m.safari&&m.version<6||m.opera&&m.version<10||m.ios&&m.osversion&&m.osversion.split(".")[0]<6||m.chromium&&m.version<20?m.c=a:m.x=a,m}function t(e){return e.split(".").length}function r(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r=0;){if(o[0][n]>o[1][n])return 1;if(o[0][n]!==o[1][n])return-1;if(0===n)return 0}}function o(t,r,o){var i=s;"string"==typeof r&&(o=r,r=void 0),void 0===r&&(r=!1),o&&(i=e(o));var a=""+i.version;for(var c in t)if(t.hasOwnProperty(c)&&i[c]){if("string"!=typeof t[c])throw new Error("Browser version in the minVersion map should be a string: "+c+": "+String(t));return n([a,t[c]])<0}return r}function i(e,t,r){return!o(e,t,r)}var a=!0,s=e("undefined"!=typeof navigator?navigator.userAgent||"":"");return s.test=function(e){for(var t=0;t0,Gl=(Nc||Oc)&&Vl,ql=!!window.DataTransfer,zl=!!Xc.objectGetOwnPropertyDescriptor.call(window.Object,NamedNodeMap.prototype,"getNamedItem"),Kl=Xc.objectGetPrototypeOf.call(window.Object,Xl)===Xc.HTMLCollection.prototype}var Yl,Ql,Jl,Zl,eu,tu,ru,nu,ou,iu,au,su=Object.freeze({__proto__:null,get emptyActionAttrFallbacksToTheLocation(){return Ul},get instanceAndPrototypeToStringAreEqual(){return Bl},get hasTouchEvents(){return Vl},get hasTouchPoints(){return Wl},get isTouchDevice(){return Gl},get hasDataTransfer(){return ql},get attrGetNamedItemIsNotEnumerable(){return zl},get getElementsByNameReturnsHTMLCollection(){return Kl}}),cu=4,lu=Object.freeze({__proto__:null,get:Ke,set:$e,getBordersWidthInternal:Xe,getBordersWidth:Ye,getBordersWidthFloat:Qe,getComputedStyle:Je,getElementMargin:Ze,getElementPaddingInternal:et,getElementPadding:tt,getElementPaddingFloat:rt,getElementScroll:nt,getWidth:ot,getHeight:it,getInnerWidth:at,getInnerHeight:st,getOptionHeight:ct,getSelectElementSize:lt,isVisibleChild:ut,getScrollLeft:pt,getScrollTop:ht,setScrollLeft:dt,setScrollTop:ft,getOffsetParent:mt,getOffset:gt,isElementVisible:vt,isElementInInvisibleIframe:yt}),uu=0,pu=["[object HTMLMapElement]","[object HTMLAreaElement]"],hu="undefined"==typeof window,du=hu?"":Ct(window),fu=/^\[object .*?Document]$/i,mu=/^\[object .*?ProcessingInstruction]$/i,gu=/^\[object SVG\w+?Element]$/i,vu=/^\[object HTML.*?Element]$/i,yu=/^\[object ArrayBuffer]$/i,_u=/^\[object DataView]$/i,Eu=hu?"":Ct(Xc.createElement.call(document,"td")),Su=hu?-1:Node.ELEMENT_NODE,bu=/^(select|option|applet|area|audio|canvas|datalist|keygen|map|meter|object|progress|source|track|video|img)$/,wu=/^(input|textarea|button)$/,xu=/^(script|style)$/i,Cu=/^(email|number|password|search|tel|text|url)$/,Au=/^(number|email)$/,Tu=/^(color|date|datetime-local|month|week)$/,Iu='input, select, textarea, button, body, iframe, [contenteditable="true"], [contenteditable=""], [tabIndex]',Pu="hammerhead|element|shadow-root-parent",Nu=Object.freeze({__proto__:null,instanceToString:Ct,getActiveElement:At,getChildVisibleIndex:Tt,getIframeByElement:It,getIframeLocation:Pt,getFrameElement:Nt,getMapContainer:Ot,getParentWindowWithSrc:kt,getScrollbarSize:Lt,getSelectParent:Dt,getSelectVisibleChildren:Mt,getTopSameDomainWindow:Rt,find:jt,findDocument:Ft,isContentEditableElement:Ht,isCrossDomainIframe:Ut,isCrossDomainWindows:Bt,isIframeWindow:Vt,isDomElement:Wt,getTagName:Gt,SHADOW_ROOT_PARENT_ELEMENT:Pu,getNodeShadowRootParent:qt,getParentExceptShadowRoot:zt,isElementInDocument:Kt,isElementInIframe:$t,isHammerheadAttr:Xt,isIframeElement:Yt,isFrameElement:Qt,isIframeWithoutSrc:Jt,isIframeWithSrcdoc:Zt,isImgElement:er,isInputElement:tr,isTitleElement:rr,isButtonElement:nr,isFieldSetElement:or,isOptGroupElement:ir,isHtmlElement:ar,isBodyElement:sr,isPageBody:cr,isHeadElement:lr,isHeadOrBodyElement:ur,isHeadOrBodyOrHtmlElement:pr,isBaseElement:hr,isScriptElement:dr,isStyleElement:fr,isLabelElement:mr,isTextAreaElement:gr,isOptionElement:vr,isRadioButtonElement:yr,isColorInputElement:_r,isCheckboxElement:Er,isSelectElement:Sr,isFormElement:br,isFileInput:wr,isInputWithNativeDialog:xr,isBodyElementWithChildren:Cr,isMapElement:Ar,isRenderedNode:Tr,getTabIndex:Ir,isElementDisabled:Pr,isElementFocusable:Nr,isShadowUIElement:Or,isWindow:kr,isDocument:Lr,isBlob:Dr,isLocation:Mr,isSVGElement:Rr,isSVGElementOrChild:jr,isFetchHeaders:Fr,isFetchRequest:Hr,isElementReadOnly:Ur,isTextEditableInput:Br,isTextEditableElement:Vr,isTextEditableElementAndEditingAllowed:Wr,isElementNode:Gr,isTextNode:qr,isProcessingInstructionNode:zr,isCommentNode:Kr,isDocumentFragmentNode:$r,isShadowRoot:Xr,isAnchorElement:Yr,isTableElement:Qr,isTableDataCellElement:Jr,isWebSocket:Zr,isMessageEvent:en,isPerformanceNavigationTiming:tn,isArrayBuffer:rn,isArrayBufferView:nn,isDataView:on,matches:an,closest:sn,addClass:cn,removeClass:ln,hasClass:un,parseDocumentCharset:pn,getParents:hn,findParent:fn,nodeListToArray:mn,getFileInputs:gn,getIframes:vn,getScripts:yn,isNumberOrEmailInput:_n,isInputWithoutSelectionProperties:En,getAssociatedElement:Sn}),Ou=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.window=null,t.nativeMethods=Xc,t.document=null,t.proxyless=!1,t}return m(t,e),t.prototype.isDeactivated=function(){try{if(this.document.body,this.window[vc.hammerhead]){var e=Nt(this.window);return!!e&&!Kt(e,Ft(e))}}catch(t){}return!0},t.prototype.attach=function(e,t){this.window=e,this.document=t||e.document,this.proxyless=!!Cl.get().proxyless},t}(Yc),ku={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",Program:"Program",Property:"Property",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"},Lu=ku,Du={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},Mu={"||":Du.LogicalOR,"&&":Du.LogicalAND,"|":Du.BitwiseOR,"^":Du.BitwiseXOR,"&":Du.BitwiseAND,"==":Du.Equality,"!=":Du.Equality,"===":Du.Equality,"!==":Du.Equality,is:Du.Equality,isnt:Du.Equality,"<":Du.Relational,">":Du.Relational,"<=":Du.Relational,">=":Du.Relational,"in":Du.Relational,"instanceof":Du.Relational,"<<":Du.BitwiseSHIFT,">>":Du.BitwiseSHIFT,">>>":Du.BitwiseSHIFT,"+":Du.Additive,"-":Du.Additive,"*":Du.Multiplicative,"%":Du.Multiplicative,"/":Du.Multiplicative,"??":Du.Coalesce,"**":Du.Exponentiation},Ru=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],ju=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");Yl=Array.isArray,Yl||(Yl=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var Fu={e1:function(e){return{precedence:Du.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e2:function(e){return{precedence:Du.LogicalOR,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e3:{precedence:Du.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!1},e4:{precedence:Du.Assignment,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e5:{precedence:Du.Sequence,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e6:function(e){return{precedence:Du.New,allowIn:!0,allowCall:!1,allowUnparenthesizedNew:e}},e7:{precedence:Du.Unary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e8:{precedence:Du.Postfix,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e9:{precedence:void 0,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e10:{precedence:Du.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e11:function(e){return{precedence:Du.Call,allowIn:!0,allowCall:e,allowUnparenthesizedNew:!1}},e12:{precedence:Du.Primary,allowIn:!1,allowCall:!1,allowUnparenthesizedNew:!0},e13:{precedence:Du.Primary,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!0},e14:{precedence:Du.Sequence,allowIn:!1,allowCall:!0,allowUnparenthesizedNew:!0},e15:function(e){return{precedence:Du.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:Du.Call,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e18:function(e){return{precedence:Du.Assignment,allowIn:e,allowCall:!0,allowUnparenthesizedNew:!0}},e19:{precedence:Du.Sequence,allowIn:!0,allowCall:!0,semicolonOptional:!1},e20:{precedence:Du.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}},Hu=/[.eExX]|^0[0-9]+/,Uu=/[0-9]$/,Bu={SequenceExpression:function(e,t){var r=e.expressions,n=r.length,o=n-1,i=Du.Sequence0,s=Yn(e.callee,Fu.e6(!a));if(n&&(Gu.js+="("),Gu.js+=Rn("new",s),a){Gu.js+="(";for(var c=0;c2)Gu.js+=Rn(n,o);else{Gu.js+=n;var i=n.charCodeAt(n.length-1),a=o.charCodeAt(0);(i===a&&(43===i||45===i)||wn(i)&&wn(a))&&(Gu.js+=Gu.space),Gu.js+=o}r&&(Gu.js+=")")},YieldExpression:function(e,t){var r=e.argument,n=e.delegate?"yield*":"yield",o=Du.Yield1?jn():Gu.indent,i=Fu.s3(t.allowIn);Gu.js+=e.kind;for(var a=0;a0&&(Gu.js+="\n");for(var o=0;oe)return!1;if(r+=t[n+1],r>=e)return!0}}function n(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&p.test(String.fromCharCode(e)):t!==!1&&r(e,d)))}function o(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&h.test(String.fromCharCode(e)):t!==!1&&(r(e,d)||r(e,f)))))}t.__esModule=!0,t.isIdentifierChar=o,t.isIdentifierStart=n,t.reservedWords=t.keywords=t.keywordRelationalOperator=void 0;var i={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"};t.reservedWords=i;var a="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",s={5:a,"5module":a+" export import",6:a+" const class extends export import super"};t.keywords=s;var c=/^in(stanceof)?$/;t.keywordRelationalOperator=c;var l="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",p=new RegExp("["+l+"]"),h=new RegExp("["+l+u+"]"); l=u=null;var d=[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],f=[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]}),rh=t(function(e,t){function r(e,t){return new o(e,{beforeExpr:!0,binop:t})}function n(e,t){return void 0===t&&(t={}),t.keyword=e,s[e]=new o(e,t)}t.__esModule=!0,t.types=t.keywords=t.TokenType=void 0;var o=function(){function e(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}return e}();t.TokenType=o;var i={beforeExpr:!0},a={startsExpr:!0},s={};t.keywords=s;var c={num:new o("num",a),regexp:new o("regexp",a),string:new o("string",a),name:new o("name",a),privateId:new o("privateId",a),eof:new o("eof"),bracketL:new o("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new o("]"),braceL:new o("{",{beforeExpr:!0,startsExpr:!0}),braceR:new o("}"),parenL:new o("(",{beforeExpr:!0,startsExpr:!0}),parenR:new o(")"),comma:new o(",",i),semi:new o(";",i),colon:new o(":",i),dot:new o("."),question:new o("?",i),questionDot:new o("?."),arrow:new o("=>",i),template:new o("template"),invalidTemplate:new o("invalidTemplate"),ellipsis:new o("...",i),backQuote:new o("`",a),dollarBraceL:new o("${",{beforeExpr:!0,startsExpr:!0}),eq:new o("=",{beforeExpr:!0,isAssign:!0}),assign:new o("_=",{beforeExpr:!0,isAssign:!0}),incDec:new o("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new o("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:r("||",1),logicalAND:r("&&",2),bitwiseOR:r("|",3),bitwiseXOR:r("^",4),bitwiseAND:r("&",5),equality:r("==/!=/===/!==",6),relational:r("/<=/>=",7),bitShift:r("<>/>>>",8),plusMin:new o("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:r("%",10),star:r("*",10),slash:r("/",10),starstar:new o("**",{beforeExpr:!0}),coalesce:r("??",1),_break:n("break"),_case:n("case",i),_catch:n("catch"),_continue:n("continue"),_debugger:n("debugger"),_default:n("default",i),_do:n("do",{isLoop:!0,beforeExpr:!0}),_else:n("else",i),_finally:n("finally"),_for:n("for",{isLoop:!0}),_function:n("function",a),_if:n("if"),_return:n("return",i),_switch:n("switch"),_throw:n("throw",i),_try:n("try"),_var:n("var"),_const:n("const"),_while:n("while",{isLoop:!0}),_with:n("with"),_new:n("new",{beforeExpr:!0,startsExpr:!0}),_this:n("this",a),_super:n("super",a),_class:n("class",a),_extends:n("extends",i),_export:n("export"),_import:n("import",a),_null:n("null",a),_true:n("true",a),_false:n("false",a),_in:n("in",{beforeExpr:!0,binop:7}),_instanceof:n("instanceof",{beforeExpr:!0,binop:7}),_typeof:n("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:n("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:n("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})};t.types=c}),nh=t(function(e,t){function r(e){return 10===e||13===e||8232===e||8233===e}function n(e,t,n){void 0===n&&(n=e.length);for(var o=t;o=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),(0,oh.isArray)(t.onToken)){var a=t.onToken;t.onToken=function(e){return a.push(e)}}return(0,oh.isArray)(t.onComment)&&(t.onComment=n(t,t.onComment)),t}function n(e,t){return function(r,n,o,i,a,s){var c={type:r?"Block":"Line",value:n,start:o,end:i};e.locations&&(c.loc=new ih.SourceLocation(this,a,s)),e.ranges&&(c.range=[o,i]),t.push(c)}}t.__esModule=!0,t.defaultOptions=void 0,t.getOptions=r;var o={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};t.defaultOptions=o;var i=!1}),sh=t(function(e,t){function r(e,t){return o|(e?i:0)|(t?a:0)}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=r;var n=1,o=2,i=4,a=8,s=16,c=32,l=64,u=128,p=256,h=n|o|p;t.SCOPE_VAR=h,t.SCOPE_CLASS_STATIC_BLOCK=p,t.SCOPE_DIRECT_SUPER=u,t.SCOPE_SUPER=l,t.SCOPE_SIMPLE_CATCH=c,t.SCOPE_ARROW=s,t.SCOPE_GENERATOR=a,t.SCOPE_ASYNC=i,t.SCOPE_FUNCTION=o,t.SCOPE_TOP=n;var d=0,f=1,m=2,g=3,v=4,y=5;t.BIND_OUTSIDE=y,t.BIND_SIMPLE_CATCH=v,t.BIND_FUNCTION=g,t.BIND_LEXICAL=m,t.BIND_VAR=f,t.BIND_NONE=d}),ch=t(function(e,t){t.__esModule=!0,t.Parser=void 0;var r=function(){function e(e,t,r){this.options=e=(0,ah.getOptions)(e),this.sourceFile=e.sourceFile,this.keywords=(0,oh.wordsRegexp)(th.keywords[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";e.allowReserved!==!0&&(n=th.reservedWords[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=(0,oh.wordsRegexp)(n);var o=(n?n+" ":"")+th.reservedWords.strict;this.reservedWordsStrict=(0,oh.wordsRegexp)(o),this.reservedWordsStrictBind=(0,oh.wordsRegexp)(o+" "+th.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(nh.lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=rh.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(sh.SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]}return e.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Object.defineProperty(e.prototype,"inFunction",{get:function(){return(this.currentVarScope().flags&sh.SCOPE_FUNCTION)>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inGenerator",{get:function(){return(this.currentVarScope().flags&sh.SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inAsync",{get:function(){return(this.currentVarScope().flags&sh.SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canAwait",{get:function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&sh.SCOPE_CLASS_STATIC_BLOCK)return!1;if(t.flags&sh.SCOPE_FUNCTION)return(t.flags&sh.SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowSuper",{get:function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&sh.SCOPE_SUPER)>0||r||this.options.allowSuperOutsideMethod},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowDirectSuper",{get:function(){return(this.currentThisScope().flags&sh.SCOPE_DIRECT_SUPER)>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"treatFunctionsAsVar",{get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowNewDotTarget",{get:function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(sh.SCOPE_FUNCTION|sh.SCOPE_CLASS_STATIC_BLOCK))>0||r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inClassStaticBlock",{get:function(){return(this.currentVarScope().flags&sh.SCOPE_CLASS_STATIC_BLOCK)>0},enumerable:!1,configurable:!0}),e.extend=function(){for(var e=[],t=0;t-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},uh.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;return t?(r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),void(n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property"))):r>=0||n>=0},uh.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&n<56320)return!0;if(e)return!1;if(123===n)return!0;if((0,th.isIdentifierStart)(n,!0)){for(var o=r+1;(0,th.isIdentifierChar)(n=this.input.charCodeAt(o),!0);)++o;if(92===n||n>55295&&n<56320)return!0;var i=this.input.slice(r,o);if(!th.keywordRelationalOperator.test(i))return!0}return!1},dh.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;nh.skipWhiteSpace.lastIndex=this.pos;var e,t=nh.skipWhiteSpace.exec(this.input),r=this.pos+t[0].length;return!(nh.lineBreak.test(this.input.slice(this.pos,r))||"function"!==this.input.slice(r,r+8)||r+8!==this.input.length&&((0,th.isIdentifierChar)(e=this.input.charCodeAt(r+8))||e>55295&&e<56320))},dh.parseStatement=function(e,t,r){var n,o=this.type,i=this.startNode();switch(this.isLet(e)&&(o=rh.types._var,n="let"),o){case rh.types._break:case rh.types._continue:return this.parseBreakContinueStatement(i,o.keyword);case rh.types._debugger:return this.parseDebuggerStatement(i);case rh.types._do:return this.parseDoStatement(i);case rh.types._for:return this.parseForStatement(i);case rh.types._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case rh.types._class:return e&&this.unexpected(),this.parseClass(i,!0);case rh.types._if:return this.parseIfStatement(i);case rh.types._return:return this.parseReturnStatement(i);case rh.types._switch:return this.parseSwitchStatement(i);case rh.types._throw:return this.parseThrowStatement(i);case rh.types._try:return this.parseTryStatement(i);case rh.types._const:case rh.types._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(i,n);case rh.types._while:return this.parseWhileStatement(i);case rh.types._with:return this.parseWithStatement(i);case rh.types.braceL:return this.parseBlock(!0,i);case rh.types.semi:return this.parseEmptyStatement(i);case rh.types._export:case rh.types._import:if(this.options.ecmaVersion>10&&o===rh.types._import){nh.skipWhiteSpace.lastIndex=this.pos;var a=nh.skipWhiteSpace.exec(this.input),s=this.pos+a[0].length,c=this.input.charCodeAt(s);if(40===c||46===c)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),o===rh.types._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var l=this.value,u=this.parseExpression();return o===rh.types.name&&"Identifier"===u.type&&this.eat(rh.types.colon)?this.parseLabeledStatement(i,l,u,e):this.parseExpressionStatement(i,u)}},dh.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(rh.types.semi)||this.insertSemicolon()?e.label=null:this.type!==rh.types.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n=6?this.eat(rh.types.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},dh.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(fh),this.enterScope(0),this.expect(rh.types.parenL),this.type===rh.types.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===rh.types._var||this.type===rh.types._const||r){var n=this.startNode(),o=r?"let":this.value;return this.next(),this.parseVar(n,!0,o),this.finishNode(n,"VariableDeclaration"),(this.type===rh.types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===n.declarations.length?(this.options.ecmaVersion>=9&&(this.type===rh.types._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var i=this.isContextual("let"),a=!1,s=new hh.DestructuringErrors,c=this.parseExpression(!(t>-1)||"await",s);return this.type===rh.types._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===rh.types._in?t>-1&&this.unexpected(t):e.await=t>-1),i&&a&&this.raise(c.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(c,!1,s),this.checkLValPattern(c),this.parseForIn(e,c)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))},dh.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,vh|(r?0:yh),!1,t)},dh.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(rh.types._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},dh.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(rh.types.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},dh.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(rh.types.braceL),this.labels.push(mh),this.enterScope(0);for(var t,r=!1;this.type!==rh.types.braceR;)if(this.type===rh.types._case||this.type===rh.types._default){var n=this.type===rh.types._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(rh.types.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},dh.parseThrowStatement=function(e){return this.next(),nh.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")};var gh=[];dh.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===rh.types._catch){var t=this.startNode();if(this.next(),this.eat(rh.types.parenL)){t.param=this.parseBindingAtom();var r="Identifier"===t.param.type;this.enterScope(r?sh.SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(t.param,r?sh.BIND_SIMPLE_CATCH:sh.BIND_LEXICAL),this.expect(rh.types.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(rh.types._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},dh.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},dh.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(fh),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},dh.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")},dh.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},dh.parseLabeledStatement=function(e,t,r,n){for(var o,i=Si(this.labels);!(o=i()).done;){var a=o.value;a.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var s=this.type.isLoop?"loop":this.type===rh.types._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var a=this.labels[c];if(a.statementStart!==e.start)break;a.statementStart=this.start,a.kind=s}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},dh.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},dh.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(rh.types.braceL),e&&this.enterScope(0);this.type!==rh.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")},dh.parseFor=function(e,t){return e.init=t,this.expect(rh.types.semi),e.test=this.type===rh.types.semi?null:this.parseExpression(),this.expect(rh.types.semi),e.update=this.type===rh.types.parenR?null:this.parseExpression(),this.expect(rh.types.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},dh.parseForIn=function(e,t){var r=this.type===rh.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(rh.types.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},dh.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(rh.types.eq)?n.init=this.parseMaybeAssign(t):"const"!==r||this.type===rh.types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||t&&(this.type===rh.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(rh.types.comma))break}return e},dh.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?sh.BIND_VAR:sh.BIND_LEXICAL,!1)};var vh=1,yh=2,_h=4;dh.parseFunction=function(e,t,r,n,o){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===rh.types.star&&t&yh&&this.unexpected(),e.generator=this.eat(rh.types.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&vh&&(e.id=t&_h&&this.type!==rh.types.name?null:this.parseIdent(),!e.id||t&yh||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?sh.BIND_VAR:sh.BIND_LEXICAL:sh.BIND_FUNCTION));var i=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope((0,sh.functionFlags)(e.async,e.generator)),t&vh||(e.id=this.type===rh.types.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,o),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,t&vh?"FunctionDeclaration":"FunctionExpression")},dh.parseFunctionParams=function(e){this.expect(rh.types.parenL),e.params=this.parseBindingList(rh.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},dh.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),o=this.startNode(),i=!1;for(o.body=[],this.expect(rh.types.braceL);this.type!==rh.types.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(o.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(i&&this.raise(a.start,"Duplicate constructor in the same class"),i=!0):a.key&&"PrivateIdentifier"===a.key.type&&xi(n,a)&&this.raiseRecoverable(a.key.start,"Identifier '#".concat(a.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")},dh.parseClassElement=function(e){if(this.eat(rh.types.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",o=!1,i=!1,a="method",s=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(rh.types.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===rh.types.star?s=!0:n="static"}if(r["static"]=s,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==rh.types.star||this.canInsertSemicolon()?n="async":i=!0),!n&&(t>=9||!i)&&this.eat(rh.types.star)&&(o=!0),!n&&!i&&!o){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=c:n=c)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===rh.types.parenL||"method"!==a||o||i){var l=!r["static"]&&Ci(r,"constructor"),u=l&&e;l&&"method"!==a&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=l?"constructor":a,this.parseClassMethod(r,o,i,u)}else this.parseClassField(r);return r},dh.isClassElementNameStart=function(){return this.type===rh.types.name||this.type===rh.types.privateId||this.type===rh.types.num||this.type===rh.types.string||this.type===rh.types.bracketL||this.type.keyword},dh.parseClassElementName=function(e){this.type===rh.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)},dh.parseClassMethod=function(e,t,r,n){var o=e.key;"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"]&&Ci(e,"prototype")&&this.raise(o.start,"Classes may not have a static property named prototype");var i=e.value=this.parseMethod(t,r,n);return"get"===e.kind&&0!==i.params.length&&this.raiseRecoverable(i.start,"getter should have no params"),"set"===e.kind&&1!==i.params.length&&this.raiseRecoverable(i.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===i.params[0].type&&this.raiseRecoverable(i.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},dh.parseClassField=function(e){if(Ci(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e["static"]&&Ci(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(rh.types.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},dh.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(sh.SCOPE_CLASS_STATIC_BLOCK|sh.SCOPE_SUPER);this.type!==rh.types.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},dh.parseClassId=function(e,t){this.type===rh.types.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,sh.BIND_LEXICAL,!1)):(t===!0&&this.unexpected(),e.id=null)},dh.parseClassSuper=function(e){e.superClass=this.eat(rh.types._extends)?this.parseExprSubscripts(!1):null},dh.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},dh.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,n=this.privateNameStack.length,o=0===n?null:this.privateNameStack[n-1],i=0;i=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(), this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==rh.types.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(rh.types._default)){this.checkExport(t,"default",this.lastTokStart);var r=void 0;if(this.type===rh.types._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,vh|_h,!1,r)}else if(this.type===rh.types._class){var o=this.startNode();e.declaration=this.parseClass(o,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.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!==rh.types.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i,a=Si(e.specifiers);!(i=a()).done;){var s=i.value;this.checkUnreserved(s.local),this.checkLocalExport(s.local),"Literal"===s.local.type&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},dh.checkExport=function(e,t,r){e&&((0,oh.hasOwn)(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},dh.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=Si(t.properties);!(n=o()).done;){var i=n.value;this.checkPatternExport(e,i)}else if("ArrayPattern"===r)for(var a,s=Si(t.elements);!(a=s()).done;){var c=a.value;c&&this.checkPatternExport(e,c)}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)},dh.checkVariableExport=function(e,t){if(e)for(var r,n=Si(t);!(r=n()).done;){var o=r.value;this.checkPatternExport(e,o.id)}},dh.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},dh.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(rh.types.braceL);!this.eat(rh.types.braceR);){if(r)r=!1;else if(this.expect(rh.types.comma),this.afterTrailingComma(rh.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},dh.parseImport=function(e){return this.next(),this.type===rh.types.string?(e.specifiers=gh,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===rh.types.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},dh.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===rh.types.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLValSimple(r.local,sh.BIND_LEXICAL),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(rh.types.comma))return e}if(this.type===rh.types.star){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLValSimple(r.local,sh.BIND_LEXICAL),e.push(this.finishNode(r,"ImportNamespaceSpecifier")),e}for(this.expect(rh.types.braceL);!this.eat(rh.types.braceR);){if(t)t=!1;else if(this.expect(rh.types.comma),this.afterTrailingComma(rh.types.braceR))break;var r=this.startNode();r.imported=this.parseModuleExportName(),this.eatContextual("as")?r.local=this.parseIdent():(this.checkUnreserved(r.imported),r.local=r.imported),this.checkLValSimple(r.local,sh.BIND_LEXICAL),e.push(this.finishNode(r,"ImportSpecifier"))}return e},dh.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===rh.types.string){var e=this.parseLiteral(this.value);return oh.loneSurrogate.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},dh.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,o=Ai(e.properties);!(n=o()).done;){var i=n.value;this.toAssignable(i,t),"RestElement"!==i.type||"ArrayPattern"!==i.argument.type&&"ObjectPattern"!==i.argument.type||this.raise(i.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},Eh.toAssignableList=function(e,t){for(var r=e.length,n=0;n=6)switch(this.type){case rh.types.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(rh.types.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case rh.types.braceL:return this.parseObj(!0)}return this.parseIdent()},Eh.parseBindingList=function(e,t,r){for(var n=[],o=!0;!this.eat(e);)if(o?o=!1:this.expect(rh.types.comma),t&&this.type===rh.types.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===rh.types.ellipsis){var i=this.parseRestBinding();this.parseBindingListItem(i),n.push(i),this.type===rh.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a),n.push(a)}return n},Eh.parseBindingListItem=function(e){return e},Eh.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(rh.types.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},Eh.checkLValSimple=function(e,t,r){void 0===t&&(t=sh.BIND_NONE);var n=t!==sh.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===sh.BIND_LEXICAL&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&((0,oh.hasOwn)(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==sh.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")}},Eh.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=sh.BIND_NONE),e.type){case"ObjectPattern":for(var n,o=Ai(e.properties);!(n=o()).done;){var i=n.value;this.checkLValInnerPattern(i,t,r)}break;case"ArrayPattern":for(var a,s=Ai(e.elements);!(a=s()).done;){var c=a.value;c&&this.checkLValInnerPattern(c,t,r)}break;default:this.checkLValSimple(e,t,r)}},Eh.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=sh.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 Sh=t(function(e,t){t.__esModule=!0,t.types=t.TokContext=void 0;var r=function(){function e(e,t,r,n,o){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!o}return e}();t.TokContext=r;var n={b_stat:new 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))};t.types=n;var o=ch.Parser.prototype;o.initialContext=function(){return[n.b_stat]},o.curContext=function(){return this.context[this.context.length-1]},o.braceIsBlock=function(e){var t=this.curContext();return t===n.f_expr||t===n.f_stat||(e!==rh.types.colon||t!==n.b_stat&&t!==n.b_expr?e===rh.types._return||e===rh.types.name&&this.exprAllowed?nh.lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):e===rh.types._else||e===rh.types.semi||e===rh.types.eof||e===rh.types.parenR||e===rh.types.arrow||(e===rh.types.braceL?t===n.b_stat:e!==rh.types._var&&e!==rh.types._const&&e!==rh.types.name&&!this.exprAllowed):!t.isExpr)},o.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},o.updateContext=function(e){var t,r=this.type;r.keyword&&e===rh.types.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},o.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},rh.types.parenR.updateContext=rh.types.braceR.updateContext=function(){if(1===this.context.length)return void(this.exprAllowed=!0);var e=this.context.pop();e===n.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},rh.types.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?n.b_stat:n.b_expr),this.exprAllowed=!0},rh.types.dollarBraceL.updateContext=function(){this.context.push(n.b_tmpl),this.exprAllowed=!0},rh.types.parenL.updateContext=function(e){var t=e===rh.types._if||e===rh.types._for||e===rh.types._with||e===rh.types._while;this.context.push(t?n.p_stat:n.p_expr),this.exprAllowed=!0},rh.types.incDec.updateContext=function(){},rh.types._function.updateContext=rh.types._class.updateContext=function(e){!e.beforeExpr||e===rh.types._else||e===rh.types.semi&&this.curContext()!==n.p_stat||e===rh.types._return&&nh.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(e===rh.types.colon||e===rh.types.braceL)&&this.curContext()===n.b_stat?this.context.push(n.f_stat):this.context.push(n.f_expr),this.exprAllowed=!1},rh.types.backQuote.updateContext=function(){this.curContext()===n.q_tmpl?this.context.pop():this.context.push(n.q_tmpl),this.exprAllowed=!1},rh.types.star.updateContext=function(e){if(e===rh.types._function){var t=this.context.length-1;this.context[t]===n.f_expr?this.context[t]=n.f_expr_gen:this.context[t]=n.f_gen}this.exprAllowed=!0},rh.types.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==rh.types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t}}),bh=ch.Parser.prototype;bh.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,o=e.key;switch(o.type){case"Identifier":n=o.name;break;case"Literal":n=String(o.value);break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)return void("__proto__"===n&&"init"===i&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=o.start):this.raiseRecoverable(o.start,"Redefinition of __proto__ property")),t.proto=!0));n="$"+n;var a=t[n];if(a){var s=void 0;s="init"===i?this.strict&&a.init||a.get||a.set:a.init||a[i],s&&this.raiseRecoverable(o.start,"Redefinition of property")}else a=t[n]={init:!1,get:!1,set:!1};a[i]=!0}},bh.parseExpression=function(e,t){var r=this.start,n=this.startLoc,o=this.parseMaybeAssign(e,t);if(this.type===rh.types.comma){var i=this.startNodeAt(r,n);for(i.expressions=[o];this.eat(rh.types.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")}return o},bh.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,a=-1;t?(o=t.parenthesizedAssign,i=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new hh.DestructuringErrors,n=!0);var s=this.start,c=this.startLoc;this.type!==rh.types.parenL&&this.type!==rh.types.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var l=this.parseMaybeConditional(e,t);if(r&&(l=r.call(this,l,s,c)),this.type.isAssign){var u=this.startNodeAt(s,c);return u.operator=this.value,this.type===rh.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===rh.types.eq?this.checkLValPattern(l):this.checkLValSimple(l),u.left=l,this.next(),u.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(u,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),o>-1&&(t.parenthesizedAssign=o),i>-1&&(t.trailingComma=i),l},bh.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,o=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return o;if(this.eat(rh.types.question)){var i=this.startNodeAt(r,n);return i.test=o,i.consequent=this.parseMaybeAssign(),this.expect(rh.types.colon),i.alternate=this.parseMaybeAssign(e),this.finishNode(i,"ConditionalExpression")}return o},bh.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,o=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)?o:o.start===r&&"ArrowFunctionExpression"===o.type?o:this.parseExprOp(o,r,n,-1,e)},bh.parseExprOp=function(e,t,r,n,o){var i=this.type.binop;if(null!=i&&(!o||this.type!==rh.types._in)&&i>n){var a=this.type===rh.types.logicalOR||this.type===rh.types.logicalAND,s=this.type===rh.types.coalesce;s&&(i=rh.types.logicalAND.binop);var c=this.value;this.next();var l=this.start,u=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,o),l,u,i,o),h=this.buildBinary(t,r,e,p,c,a||s);return(a&&this.type===rh.types.coalesce||s&&(this.type===rh.types.logicalOR||this.type===rh.types.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,r,n,o)}return e},bh.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");var a=this.startNodeAt(e,t);return a.left=r,a.operator=o,a.right=n,this.finishNode(a,i?"LogicalExpression":"BinaryExpression")},bh.parseMaybeUnary=function(e,t,r,n){var o,i=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(n),t=!0;else if(this.type.prefix){var s=this.startNode(),c=this.type===rh.types.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0,c,n),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(s.argument):this.strict&&"delete"===s.operator&&"Identifier"===s.argument.type?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):"delete"===s.operator&&ki(s.argument)?this.raiseRecoverable(s.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(s,c?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==rh.types.privateId){if(o=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(i,a);s.operator=this.value,s.prefix=!1,s.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(s,"UpdateExpression")}}else(n||0===this.privateNameStack.length)&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==rh.types._in&&this.unexpected();return r||!this.eat(rh.types.starstar)?o:t?void this.unexpected(this.lastTokStart):this.buildBinary(i,a,o,this.parseMaybeUnary(null,!1,!1,n),"**",!1)},bh.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,o=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===o.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return o;var i=this.parseSubscripts(o,r,n,!1,t);return e&&"MemberExpression"===i.type&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1),e.trailingComma>=i.start&&(e.trailingComma=-1)),i},bh.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,a=!1;;){var s=this.parseSubscript(e,t,r,n,i,a,o);if(s.optional&&(a=!0),s===e||"ArrowFunctionExpression"===s.type){if(a){var c=this.startNodeAt(t,r);c.expression=s,s=this.finishNode(c,"ChainExpression")}return s}e=s}},bh.parseSubscript=function(e,t,r,n,o,i,a){var s=this.options.ecmaVersion>=11,c=s&&this.eat(rh.types.questionDot);n&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(rh.types.bracketL);if(l||c&&this.type!==rh.types.parenL&&this.type!==rh.types.backQuote||this.eat(rh.types.dot)){var u=this.startNodeAt(t,r);u.object=e,l?(u.property=this.parseExpression(),this.expect(rh.types.bracketR)):this.type===rh.types.privateId&&"Super"!==e.type?u.property=this.parsePrivateIdent():u.property=this.parseIdent("never"!==this.options.allowReserved),u.computed=!!l,s&&(u.optional=c),e=this.finishNode(u,"MemberExpression")}else if(!n&&this.eat(rh.types.parenL)){var p=new hh.DestructuringErrors,h=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(rh.types.parenR,this.options.ecmaVersion>=8,!1,p);if(o&&!c&&!this.canInsertSemicolon()&&this.eat(rh.types.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=h,this.awaitPos=d,this.awaitIdentPos=f,this.parseArrowExpression(this.startNodeAt(t,r),m,!0,a);this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var u=this.startNodeAt(t,r);u.callee=e,u.arguments=m,s&&(u.optional=c),e=this.finishNode(u,"CallExpression")}else if(this.type===rh.types.backQuote){(c||i)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var u=this.startNodeAt(t,r);u.tag=e,u.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(u,"TaggedTemplateExpression")}return e},bh.parseExprAtom=function(e,t){this.type===rh.types.slash&&this.readRegexp();var r,n=this.potentialArrowAt===this.start;switch(this.type){case rh.types._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type!==rh.types.parenL||this.allowDirectSuper||this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==rh.types.dot&&this.type!==rh.types.bracketL&&this.type!==rh.types.parenL&&this.unexpected(),this.finishNode(r,"Super");case rh.types._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case rh.types.name:var o=this.start,i=this.startLoc,a=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(rh.types._function))return this.overrideContext(Sh.types.f_expr),this.parseFunction(this.startNodeAt(o,i),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(rh.types.arrow))return this.parseArrowExpression(this.startNodeAt(o,i),[s],!1,t);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===rh.types.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(rh.types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,i),[s],!0,t)}return s;case rh.types.regexp:var c=this.value;return r=this.parseLiteral(c.value),r.regex={pattern:c.pattern,flags:c.flags},r;case rh.types.num:case rh.types.string:return this.parseLiteral(this.value);case rh.types._null:case rh.types._true:case rh.types._false:return r=this.startNode(),r.value=this.type===rh.types._null?null:this.type===rh.types._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case rh.types.parenL:var l=this.start,u=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),u;case rh.types.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(rh.types.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case rh.types.braceL:return this.overrideContext(Sh.types.b_expr),this.parseObj(!1,e);case rh.types._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case rh.types._class:return this.parseClass(this.startNode(),!1);case rh.types._new:return this.parseNew();case rh.types.backQuote:return this.parseTemplate();case rh.types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},bh.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case rh.types.parenL:return this.parseDynamicImport(e);case rh.types.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},bh.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(rh.types.parenR)){var t=this.start;this.eat(rh.types.comma)&&this.eat(rh.types.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},bh.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")},bh.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")},bh.parseParenExpression=function(){this.expect(rh.types.parenL);var e=this.parseExpression();return this.expect(rh.types.parenR),e},bh.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 a=this.start,s=this.startLoc,c=[],l=!0,u=!1,p=new hh.DestructuringErrors,h=this.yieldPos,d=this.awaitPos,f=void 0;for(this.yieldPos=0,this.awaitPos=0;this.type!==rh.types.parenR;){if(l?l=!1:this.expect(rh.types.comma),i&&this.afterTrailingComma(rh.types.parenR,!0)){u=!0;break}if(this.type===rh.types.ellipsis){f=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===rh.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(rh.types.parenR),e&&!this.canInsertSemicolon()&&this.eat(rh.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(a,s),r.expressions=c,this.finishNodeAt(r,"SequenceExpression",m,g)):r=c[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,o);return v.expression=r,this.finishNode(v,"ParenthesizedExpression")}return r},bh.parseParenItem=function(e){return e},bh.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var wh=[];bh.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(rh.types.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,o=this.startLoc,i=this.type===rh.types._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,o,!0,!1),i&&"ImportExpression"===e.callee.type&&this.raise(n,"Cannot use new with import()"),this.eat(rh.types.parenL)?e.arguments=this.parseExprList(rh.types.parenR,this.options.ecmaVersion>=8,!1):e.arguments=wh,this.finishNode(e,"NewExpression")},bh.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===rh.types.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===rh.types.backQuote,this.finishNode(r,"TemplateElement")},bh.parseTemplate=function(e){var t=void 0===e?{}:e,r=t.isTagged,n=void 0!==r&&r,o=this.startNode();this.next(),o.expressions=[];var i=this.parseTemplateElement({isTagged:n});for(o.quasis=[i];!i.tail;)this.type===rh.types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(rh.types.dollarBraceL),o.expressions.push(this.parseExpression()),this.expect(rh.types.braceR),o.quasis.push(i=this.parseTemplateElement({isTagged:n}));return this.next(),this.finishNode(o,"TemplateLiteral")},bh.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===rh.types.name||this.type===rh.types.num||this.type===rh.types.string||this.type===rh.types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===rh.types.star)&&!nh.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},bh.parseObj=function(e,t){var r=this.startNode(),n=!0,o={};for(r.properties=[],this.next();!this.eat(rh.types.braceR);){if(n)n=!1;else if(this.expect(rh.types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(rh.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")},bh.parseProperty=function(e,t){var r,n,o,i,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(rh.types.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===rh.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===rh.types.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===rh.types.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(o=this.start,i=this.startLoc),e||(r=this.eat(rh.types.star)));var s=this.containsEsc;return this.parsePropertyName(a),!e&&!s&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(a)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(rh.types.star),this.parsePropertyName(a,t)):n=!1,this.parsePropertyValue(a,e,r,n,o,i,t,s),this.finishNode(a,"Property")},bh.parsePropertyValue=function(e,t,r,n,o,i,a,s){if((r||n)&&this.type===rh.types.colon&&this.unexpected(),this.eat(rh.types.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===rh.types.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===rh.types.comma||this.type===rh.types.braceR||this.type===rh.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===rh.types.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(o,i,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c="get"===e.kind?0:1;if(e.value.params.length!==c){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},bh.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(rh.types.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(rh.types.bracketR),e.key;e.computed=!1}return e.key=this.type===rh.types.num||this.type===rh.types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},bh.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1), this.options.ecmaVersion>=8&&(e.async=!1)},bh.parseMethod=function(e,t,r){var n=this.startNode(),o=this.yieldPos,i=this.awaitPos,a=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,sh.functionFlags)(t,n.generator)|sh.SCOPE_SUPER|(r?sh.SCOPE_DIRECT_SUPER:0)),this.expect(rh.types.parenL),n.params=this.parseBindingList(rh.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=o,this.awaitPos=i,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")},bh.parseArrowExpression=function(e,t,r,n){var o=this.yieldPos,i=this.awaitPos,a=this.awaitIdentPos;return this.enterScope((0,sh.functionFlags)(r,!1)|sh.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=a,this.finishNode(e,"ArrowFunctionExpression")},bh.parseFunctionBody=function(e,t,r,n){var o=t&&this.type!==rh.types.braceL,i=this.strict,a=!1;if(o)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!s||(a=this.strictDirective(this.end),a&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var c=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!i&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,sh.BIND_OUTSIDE),e.body=this.parseBlock(!1,void 0,a&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()},bh.isSimpleParamList=function(e){for(var t,r=Pi(e);!(t=r()).done;){var n=t.value;if("Identifier"!==n.type)return!1}return!0},bh.checkParams=function(e,t){for(var r,n=Object.create(null),o=Pi(e.params);!(r=o()).done;){var i=r.value;this.checkLValInnerPattern(i,sh.BIND_VAR,t?null:n)}},bh.parseExprList=function(e,t,r,n){for(var o=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(rh.types.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===rh.types.comma?a=null:this.type===rh.types.ellipsis?(a=this.parseSpread(n),n&&this.type===rh.types.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),o.push(a)}return o},bh.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===n&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==n&&"await"!==n||this.raise(t,"Cannot use ".concat(n," in class static initialization block")),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '".concat(n,"'")),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var o=this.strict?this.reservedWordsStrict:this.reservedWords;o.test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '".concat(n,"' is reserved")))}},bh.parseIdent=function(e,t){var r=this.startNode();return this.type===rh.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},bh.parsePrivateIdent=function(){var e=this.startNode();return this.type===rh.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},bh.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===rh.types.semi||this.canInsertSemicolon()||this.type!==rh.types.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(rh.types.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},bh.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")};var xh=ch.Parser.prototype;xh.raise=function(e,t){var r=(0,ih.getLineInfo)(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},xh.raiseRecoverable=xh.raise,xh.curPosition=function(){if(this.options.locations)return new ih.Position(this.curLine,this.pos-this.lineStart)};var Ch=ch.Parser.prototype,Ah=function(){function e(e){this.flags=e,this["var"]=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1}return e}();Ch.enterScope=function(e){this.scopeStack.push(new Ah(e))},Ch.exitScope=function(){this.scopeStack.pop()},Ch.treatFunctionsAsVarInScope=function(e){return e.flags&sh.SCOPE_FUNCTION||!this.inModule&&e.flags&sh.SCOPE_TOP},Ch.declareName=function(e,t,r){var n=!1;if(t===sh.BIND_LEXICAL){var o=this.currentScope();n=o.lexical.indexOf(e)>-1||o.functions.indexOf(e)>-1||o["var"].indexOf(e)>-1,o.lexical.push(e),this.inModule&&o.flags&sh.SCOPE_TOP&&delete this.undefinedExports[e]}else if(t===sh.BIND_SIMPLE_CATCH){var o=this.currentScope();o.lexical.push(e)}else if(t===sh.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){var o=this.scopeStack[i];if(o.lexical.indexOf(e)>-1&&!(o.flags&sh.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&sh.SCOPE_TOP&&delete this.undefinedExports[e],o.flags&sh.SCOPE_VAR)break}n&&this.raiseRecoverable(r,"Identifier '".concat(e,"' has already been declared"))},Ch.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0]["var"].indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},Ch.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ch.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&sh.SCOPE_VAR)return t}},Ch.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&sh.SCOPE_VAR&&!(t.flags&sh.SCOPE_ARROW))return t}};var Th=t(function(e,t){function r(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.__esModule=!0,t.Node=void 0;var n=function(){function e(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ih.SourceLocation(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])}return e}();t.Node=n;var o=ch.Parser.prototype;o.startNode=function(){return new n(this,this.start,this.startLoc)},o.startNodeAt=function(e,t){return new n(this,e,t)},o.finishNode=function(e,t){return r.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},o.finishNodeAt=function(e,t,n,o){return r.call(this,e,t,n,o)},o.copyNode=function(e){var t=new n(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t}}),Ih=t(function(e,t){function r(e){var t=g[e]={binary:(0,oh.wordsRegexp)(c[e]+" "+l),nonBinary:{General_Category:(0,oh.wordsRegexp)(l),Script:(0,oh.wordsRegexp)(m[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}t.__esModule=!0,t["default"]=void 0;for(var n="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",o=n+" Extended_Pictographic",i=o,a=i+" EBase EComp EMod EPres ExtPict",s=a,c={9:n,10:o,11:i,12:a,13:s},l="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",u="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",p=u+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",h=p+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",d=h+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",f=d+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",m={9:u,10:p,11:h,12:d,13:f},g={},v=0,y=[9,10,11,12,13];v=e.length?{done:!0}:{done:!1,value:e[n++]}}}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){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r>10)+55296,(1023&e)+56320))}function s(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function c(e){return(0,th.isIdentifierStart)(e,!0)||36===e||95===e}function l(e){return(0,th.isIdentifierChar)(e,!0)||36===e||95===e||8204===e||8205===e}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function p(e){return e>=0&&e<=1114111}function h(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function d(e){return u(e)||95===e}function f(e){return d(e)||m(e)}function m(e){return e>=48&&e<=57}function g(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function v(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function y(e){return e>=48&&e<=55}t.__esModule=!0,t.RegExpValidationState=void 0;var _=r(Ih),E=ch.Parser.prototype,S=function(){function e(e){this.parser=e,this.validFlags="gim".concat(e.options.ecmaVersion>=6?"uy":"").concat(e.options.ecmaVersion>=9?"s":"").concat(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=_["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=[]}return e.prototype.reset=function(e,t,r){var n=r.indexOf("u")!==-1;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},e.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /".concat(this.source,"/: ").concat(e))},e.prototype.at=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var o=r.charCodeAt(e);if(!t&&!this.switchU||o<=55295||o>=57344||e+1>=n)return o;var i=r.charCodeAt(e+1);return i>=56320&&i<=57343?(o<<10)+i-56613888:o},e.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var o,i=r.charCodeAt(e);return!t&&!this.switchU||i<=55295||i>=57344||e+1>=n||(o=r.charCodeAt(e+1))<56320||o>57343?e+1:e+2},e.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},e.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},e.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},e.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},e}();t.RegExpValidationState=S,E.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n-1&&this.raise(e.start,"Duplicate regular expression flag")}},E.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},E.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;){var o=t.value;e.groupNames.indexOf(o)===-1&&e.raise("Invalid named capture referenced")}},E.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")},E.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},E.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},E.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},E.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,o=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(o=e.lastIntValue),e.eat(125)))return o!==-1&&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},E.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)},E.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},E.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!s(t)&&(e.lastIntValue=t,e.advance(),!0)},E.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!s(r);)e.advance();return e.pos!==t},E.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(t===-1||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},E.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},E.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},E.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},E.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),c(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},E.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),l(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},E.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)},E.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},E.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},E.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)},E.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},E.regexp_eatZero=function(e){return 48===e.current()&&!m(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},E.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)},E.regexp_eatControlLetter=function(e){var t=e.current();return!!u(t)&&(e.lastIntValue=t%32,e.advance(),!0)},E.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(n&&o>=55296&&o<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(o-55296)+(a-56320)+65536,!0}e.pos=i,e.lastIntValue=o}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&p(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},E.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},E.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},E.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(h(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},E.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var o=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,o),!0}return!1},E.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){(0,oh.hasOwn)(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},E.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},E.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";d(t=e.current());)e.lastStringValue+=a(t),e.advance();return""!==e.lastStringValue},E.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";f(t=e.current());)e.lastStringValue+=a(t),e.advance();return""!==e.lastStringValue},E.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},E.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},E.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;!e.switchU||t!==-1&&r!==-1||e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},E.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||y(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},E.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)},E.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!m(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},E.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},E.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;m(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},E.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;g(r=e.current());)e.lastIntValue=16*e.lastIntValue+v(r),e.advance();return e.pos!==t},E.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r}else e.lastIntValue=t;return!0}return!1},E.regexp_eatOctalDigit=function(e){var t=e.current();return y(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},E.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n>10)+55296,(1023&e)+56320))}t.__esModule=!0,t.Token=void 0;var i=function(){function e(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new ih.SourceLocation(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])}return e}();t.Token=i;var a=ch.Parser.prototype;a.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 i(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},a.getToken=function(){return this.next(),new i(this)},"undefined"!=typeof Symbol&&(a[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===rh.types.eof,value:t}}}}),a.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(rh.types.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},a.readToken=function(e){return(0,th.isIdentifierStart)(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},a.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},a.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,o=t;(n=(0,nh.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())},a.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&&nh.nonASCIIwhitespace.test(String.fromCharCode(e))))break e;++this.pos}}},a.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)},a.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(rh.types.ellipsis)):(++this.pos,this.finishToken(rh.types.dot))},a.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(rh.types.assign,2):this.finishOp(rh.types.slash,1)},a.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?rh.types.star:rh.types.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=rh.types.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(rh.types.assign,r+1):this.finishOp(n,r)},a.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(61===r)return this.finishOp(rh.types.assign,3); }return this.finishOp(124===e?rh.types.logicalOR:rh.types.logicalAND,2)}return 61===t?this.finishOp(rh.types.assign,2):this.finishOp(124===e?rh.types.bitwiseOR:rh.types.bitwiseAND,1)},a.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(rh.types.assign,2):this.finishOp(rh.types.bitwiseXOR,1)},a.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&&!nh.lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(rh.types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(rh.types.assign,2):this.finishOp(rh.types.plusMin,1)},a.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(rh.types.assign,r+1):this.finishOp(rh.types.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(rh.types.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},a.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(rh.types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(rh.types.arrow)):this.finishOp(61===e?rh.types.eq:rh.types.prefix,1)},a.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(rh.types.questionDot,2)}if(63===t){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(61===r)return this.finishOp(rh.types.assign,3)}return this.finishOp(rh.types.coalesce,2)}}return this.finishOp(rh.types.question,1)},a.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;return e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),(0,th.isIdentifierStart)(t,!0)||92===t)?this.finishToken(rh.types.privateId,this.readWord1()):void this.raise(this.pos,"Unexpected character '"+o(t)+"'")},a.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(rh.types.parenL);case 41:return++this.pos,this.finishToken(rh.types.parenR);case 59:return++this.pos,this.finishToken(rh.types.semi);case 44:return++this.pos,this.finishToken(rh.types.comma);case 91:return++this.pos,this.finishToken(rh.types.bracketL);case 93:return++this.pos,this.finishToken(rh.types.bracketR);case 123:return++this.pos,this.finishToken(rh.types.braceL);case 125:return++this.pos,this.finishToken(rh.types.braceR);case 58:return++this.pos,this.finishToken(rh.types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(rh.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(rh.types.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+o(e)+"'")},a.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},a.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(nh.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);++this.pos;var i=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(i);var s=this.regexpState||(this.regexpState=new Ph.RegExpValidationState(this));s.reset(r,o,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var c=null;try{c=new RegExp(o,a)}catch(l){}return this.finishToken(rh.types.regexp,{pattern:o,flags:a,value:c})},a.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,o=r&&48===this.input.charCodeAt(this.pos),i=this.pos,a=0,s=0,c=0,l=null==t?1/0:t;c=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0,p>=e)break;s=u,a=a*e+p}}return n&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===i||null!=t&&this.pos-i!==t?null:a},a.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=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=n(this.input.slice(t,this.pos)),++this.pos):(0,th.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(rh.types.num,r)},a.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var o=this.pos-t>=2&&48===this.input.charCodeAt(t);o&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!o&&!e&&this.options.ecmaVersion>=11&&110===i){var a=n(this.input.slice(t,this.pos));return++this.pos,(0,th.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(rh.types.num,a)}o&&/[89]/.test(this.input.slice(t,this.pos))&&(o=!1),46!==i||o||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||o||(i=this.input.charCodeAt(++this.pos),43!==i&&45!==i||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),(0,th.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=r(this.input.slice(t,this.pos),o);return this.finishToken(rh.types.num,s)},a.readCodePoint=function(){var e,t=this.input.charCodeAt(this.pos);if(123===t){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else e=this.readHexChar(4);return e},a.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+=this.input.slice(r,this.pos),t+=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,nh.isNewLine)(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(rh.types.string,t)};var s={};a.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==s)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},a.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw s;this.raise(e,t)},a.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!==rh.types.template&&this.type!==rh.types.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(rh.types.template,e)):36===r?(this.pos+=2,this.finishToken(rh.types.dollarBraceL)):(++this.pos,this.finishToken(rh.types.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if((0,nh.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}},a.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return(0,nh.isNewLine)(t)?"":String.fromCharCode(t)}},a.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},a.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos=3;if(!r)return e;for(var n=0;n=0&&/\s/.test(t[n][i]);i--)o++;t[n]=t[n].substring(0,t[n].length-o)}return t.join("")},e.prototype._replaceStylesheetUrls=function(e,t){return e.replace(Kh,function(e,r,n,o,i,a,s,c,l){var u=r||a,p=o||c,h=ee(p)?p:t(p),d=i||l;return p?u+h+d:e})},e.prototype._replaceUrlAttributes=function(e){return e.replace($h,function(e,t,r,n,o,i){var a="."===r||"#"===r?"":n;return a&&Bh[o]&&Bh[o].indexOf(a)!==-1?t+_d.getStoredAttrName(o)+i:e})},e}(),rd=new td,nd={authorization:"authorization",wwwAuthenticate:"www-authenticate",proxyAuthorization:"proxy-authorization",proxyAuthenticate:"proxy-authenticate",host:"host",referer:"referer",origin:"origin",contentLength:"content-length",cookie:"cookie",setCookie:"set-cookie",ifModifiedSince:"if-modified-since",ifNoneMatch:"if-none-match",contentType:"content-type",location:"location",xFrameOptions:"x-frame-options",sourceMap:"sourcemap",referrerPolicy:"referrer-policy",refresh:"refresh",link:"link",cacheControl:"cache-control",pragma:"pragma",eTag:"etag",contentDisposition:"content-disposition",accept:"accept",contentEncoding:"content-encoding",expires:"expires",trailer:"trailer",transferEncoding:"transfer-encoding",serviceWorkerAllowed:"service-worker-allowed",accessControlAllowOrigin:"access-control-allow-origin",accessControlAllowCredentials:"access-control-allow-credentials",contentSecurityPolicy:"content-security-policy",contentSecurityPolicyReportOnly:"content-security-policy-report-only",xContentSecurityPolicy:"x-content-security-policy",xContentSecurityPolicyReportOnly:"x-content-security-policy-report-only",xWebkitCsp:"x-webkit-csp",isApiRequest:"is-api-request",userAgent:"user-agent"},od="http://www.w3.org/XML/1998/namespace",id="http://www.w3.org/1999/xlink",ad=/^(\s)*\/\/(\s)*$/,sd=/(\/\/[^\n]*|\n\s*)-->[^\n]*([\n\s]*)?$/,cd=/^(\s)*\s*$/,ud=/^\s*javascript\s*:/i,pd=/^\s*(application\/(x-)?(ecma|java)script|text\/(javascript(1\.[0-5])?|((x-)?ecma|x-java|js|live)script)|module)\s*$/i,hd=["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"],dd=["script","link"],fd=["a","form","area","input","button"],md="script",gd="modulepreload",vd="hammerhead|element-processed",yd="hammerhead|autocomplete-attribute-absence-marker",_d=function(){function e(e){this.adapter=e,this.HTML_PROCESSING_REQUIRED_EVENT="hammerhead|event|html-processing-required",this.SVG_XLINK_HREF_TAGS=hd,this.AUTOCOMPLETE_ATTRIBUTE_ABSENCE_MARKER=yd,this.PROCESSED_PRELOAD_LINK_CONTENT_TYPE=md,this.MODULE_PRELOAD_LINK_REL=gd,this.forceProxySrcForImage=!1,this.allowMultipleWindows=!1,this.proxyless=!1,this.EVENTS=this.adapter.EVENTS,this.elementProcessorPatterns=this._createProcessorPatterns(this.adapter)}return e.isTagWithTargetAttr=function(e){return!!e&&Wh.target.indexOf(e)>-1},e.isTagWithFormTargetAttr=function(e){return!!e&&Wh.formtarget.indexOf(e)>-1},e.isTagWithIntegrityAttr=function(e){return!!e&&dd.indexOf(e)!==-1},e.isIframeFlagTag=function(e){return!!e&&fd.indexOf(e)!==-1},e.isAddedAutocompleteAttr=function(e,t){return"autocomplete"===e&&t===yd},e.processJsAttrValue=function(e,t){var r=t.isJsProtocol,n=t.isEventAttr;return r&&(e=e.replace(ud,"")),e=zi(e,!1,r&&!n,void 0),r&&(e="javascript:"+e),e},e.getStoredAttrName=function(e){return e+Qc.storedAttrPostfix},e.isJsProtocol=function(e){return ud.test(e)},e._isHtmlImportLink=function(e,t){return!!e&&!!t&&"link"===e&&"import"===t},e.isElementProcessed=function(e){return e[vd]},e.setElementProcessed=function(e,t){e[vd]=t},e.prototype._getRelAttribute=function(e){return String(this.adapter.getAttr(e,"rel")).toLowerCase()},e.prototype._getAsAttribute=function(e){return String(this.adapter.getAttr(e,"as")).toLowerCase()},e.prototype._createProcessorPatterns=function(t){var r=this,n={HAS_HREF_ATTR:function(e){return r.isUrlAttr(e,"href")},HAS_SRC_ATTR:function(e){return r.isUrlAttr(e,"src")},HAS_SRCSET_ATTR:function(e){return r.isUrlAttr(e,"srcset")},HAS_ACTION_ATTR:function(e){return r.isUrlAttr(e,"action")},HAS_FORMACTION_ATTR:function(e){return r.isUrlAttr(e,"formaction")},HAS_FORMTARGET_ATTR:function(r){return e.isTagWithFormTargetAttr(t.getTagName(r))&&t.hasAttr(r,"formtarget")},HAS_MANIFEST_ATTR:function(e){return r.isUrlAttr(e,"manifest")},HAS_DATA_ATTR:function(e){return r.isUrlAttr(e,"data")},HAS_SRCDOC_ATTR:function(e){var n=r.adapter.getTagName(e);return("iframe"===n||"frame"===n)&&t.hasAttr(e,"srcdoc")},HTTP_EQUIV_META:function(e){var r=t.getTagName(e);return"meta"===r&&t.hasAttr(e,"http-equiv")},ALL:function(){return!0},IS_SCRIPT:function(e){return"script"===t.getTagName(e)},IS_LINK:function(e){return"link"===t.getTagName(e)},IS_INPUT:function(e){return"input"===t.getTagName(e)},IS_FILE_INPUT:function(e){return"input"===t.getTagName(e)&&t.hasAttr(e,"type")&&"file"===t.getAttr(e,"type").toLowerCase()},IS_STYLE:function(e){return"style"===t.getTagName(e)},HAS_EVENT_HANDLER:function(e){return t.hasEventHandler(e)},IS_SANDBOXED_IFRAME:function(e){var r=t.getTagName(e);return("iframe"===r||"frame"===r)&&t.hasAttr(e,"sandbox")},IS_SVG_ELEMENT_WITH_XLINK_HREF_ATTR:function(e){return t.isSVGElement(e)&&t.hasAttr(e,"xlink:href")&&hd.indexOf(t.getTagName(e))!==-1},IS_SVG_ELEMENT_WITH_XML_BASE_ATTR:function(e){return t.isSVGElement(e)&&t.hasAttr(e,"xml:base")}};return[{selector:n.HAS_FORMTARGET_ATTR,targetAttr:"formtarget",elementProcessors:[this._processTargetBlank]},{selector:n.HAS_HREF_ATTR,urlAttr:"href",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:n.HAS_SRC_ATTR,urlAttr:"src",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:n.HAS_SRCSET_ATTR,urlAttr:"srcset",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:n.HAS_ACTION_ATTR,urlAttr:"action",targetAttr:"target",elementProcessors:[this._processTargetBlank,this._processUrlAttrs,this._processUrlJsAttr]},{selector:n.HAS_FORMACTION_ATTR,urlAttr:"formaction",targetAttr:"formtarget",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:n.HAS_MANIFEST_ATTR,urlAttr:"manifest",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:n.HAS_DATA_ATTR,urlAttr:"data",elementProcessors:[this._processUrlAttrs,this._processUrlJsAttr]},{selector:n.HAS_SRCDOC_ATTR,elementProcessors:[this._processSrcdocAttr]},{selector:n.HTTP_EQUIV_META,urlAttr:"content",elementProcessors:[this._processMetaElement]},{selector:n.IS_SCRIPT,elementProcessors:[this._processScriptElement,this._processIntegrityAttr]},{selector:n.ALL,elementProcessors:[this._processStyleAttr]},{selector:n.IS_LINK,relAttr:"rel",elementProcessors:[this._processIntegrityAttr,this._processRelPrefetch]},{selector:n.IS_STYLE,elementProcessors:[this._processStylesheetElement]},{selector:n.IS_INPUT,elementProcessors:[this._processAutoComplete]},{selector:n.IS_FILE_INPUT,elementProcessors:[this._processRequired]},{selector:n.HAS_EVENT_HANDLER,elementProcessors:[this._processEvtAttr]},{selector:n.IS_SANDBOXED_IFRAME,elementProcessors:[this._processSandboxedIframe]},{selector:n.IS_SVG_ELEMENT_WITH_XLINK_HREF_ATTR,urlAttr:"xlink:href",elementProcessors:[this._processSVGXLinkHrefAttr,this._processUrlAttrs]},{selector:n.IS_SVG_ELEMENT_WITH_XML_BASE_ATTR,urlAttr:"xml:base",elementProcessors:[this._processUrlAttrs]}]},e.prototype.processElement=function(t,r){if(!e.isElementProcessed(t))for(var n=0,o=this.elementProcessorPatterns;n-1)return o}return null},e.prototype._isOpenLinkInIframe=function(t){var r=this.adapter.getTagName(t),n=this.getTargetAttr(t),o=n?this.adapter.getAttr(t,n):null,i=this._getRelAttribute(t);if("_top"!==o){var a="input"===r&&"image"===this.adapter.getAttr(t,"type"),s=!a&&e.isIframeFlagTag(r)||e._isHtmlImportLink(r,i),c=!!o&&"_"!==o[0];if("_parent"===o)return s&&!this.adapter.isTopParentIframe(t);if(s&&(this.adapter.hasIframeParent(t)||c&&this.adapter.isExistingTarget(o,t)))return!0}return!1},e.prototype._isShadowElement=function(e){var t=this.adapter.getClassName(e);return"string"==typeof t&&t.indexOf(Zc.postfix)>-1},e.prototype._processAutoComplete=function(t){var r=e.getStoredAttrName("autocomplete"),n=this.adapter.hasAttr(t,r),o=this.adapter.getAttr(t,n?r:"autocomplete");n||this.adapter.setAttr(t,r,o||""===o?o:yd),this.adapter.setAttr(t,"autocomplete","off")},e.prototype._processRequired=function(t){var r=e.getStoredAttrName("required"),n=this.adapter.hasAttr(t,r);if(!n&&this.adapter.hasAttr(t,"required")){var o=this.adapter.getAttr(t,"required");this.adapter.setAttr(t,r,o),this.adapter.removeAttr(t,"required")}},e.prototype._processIntegrityAttr=function(t){var r=e.getStoredAttrName("integrity"),n=this.adapter.hasAttr(t,r)&&!this.adapter.hasAttr(t,"integrity"),o=this.adapter.getAttr(t,n?r:"integrity");o&&this.adapter.setAttr(t,r,o),n||this.adapter.removeAttr(t,"integrity")},e.prototype._processRelPrefetch=function(t,r,n){if(n.relAttr){var o=e.getStoredAttrName(n.relAttr),i=this.adapter.hasAttr(t,o)&&!this.adapter.hasAttr(t,n.relAttr),a=this.adapter.getAttr(t,i?o:n.relAttr);if(a){var s=k(a.toLowerCase());"prefetch"===s&&(this.adapter.setAttr(t,o,a),i||this.adapter.removeAttr(t,n.relAttr))}}},e.prototype._processJsAttr=function(t,r,n){var o=n.isJsProtocol,i=n.isEventAttr,a=e.getStoredAttrName(r),s=this.adapter.hasAttr(t,a),c=this.adapter.getAttr(t,s?a:r)||"",l=e.processJsAttrValue(c,{isJsProtocol:o,isEventAttr:i});c!==l&&(this.adapter.setAttr(t,a,c),this.adapter.setAttr(t,r,l))},e.prototype._processEvtAttr=function(t){for(var r=this.adapter.EVENTS,n=0;n"),a=a.replace(s,"").replace(l,"")),p&&(a=a.replace(ad,"$2")),a=s+zi(a,!0,!1,t)+l,p&&(a="\n//"),this.adapter.setScriptContent(e,a)}}}},e.prototype._processStyleAttr=function(e,t){var r=this.adapter.getAttr(e,"style");r&&this.adapter.setAttr(e,"style",rd.process(r,t,!1))},e.prototype._processStylesheetElement=function(e,t){var r=this.adapter.getStyleContent(e);r&&t&&this.adapter.needToProcessContent(e)&&(r=rd.process(r,t,!0),this.adapter.setStyleContent(e,r))},e.prototype._processTargetBlank=function(t,r,n){if(!this.allowMultipleWindows&&n.targetAttr){var o=e.getStoredAttrName(n.targetAttr),i=this.adapter.hasAttr(t,o);if(!i){var a=this.adapter.getAttr(t,n.targetAttr);a=a&&a.replace(/\s/g,""),"_blank"===a&&(this.adapter.setAttr(t,n.targetAttr,"_top"),this.adapter.setAttr(t,o,a))}}},e.prototype._processUrlAttrs=function(t,r,n){if(n.urlAttr&&!this.proxyless){var o=e.getStoredAttrName(n.urlAttr),i=this.adapter.getAttr(t,n.urlAttr),a=!!i&&ee(i),s=this.adapter.hasAttr(t,o);if((i||""===i)&&!s&&(K(i)||a)){var c=this.adapter.getTagName(t),l="iframe"===c||"frame"===c,u="script"===c,p="a"===c,h="srcset"===n.urlAttr,d=n.targetAttr?this.adapter.getAttr(t,n.targetAttr):null;if(this.adapter.needToProcessUrl(c,d||"")){var f=this.getElementResourceType(t)||"",m=z(i),g="file:"!==m.protocol&&!m.host,v=u&&this.adapter.getAttr(t,"charset")||"",y="img"===c&&""===i,_=l&&""===i,E=G(r("/")),S=!1,b=i;l&&!a&&!g&&E&&(S=!this.adapter.sameOriginCheck(E.destUrl,i)),a&&!p||y||_||(b="img"!==c||this.forceProxySrcForImage||h?r(i,f,v,S,h):$(i,r)),this.adapter.setAttr(t,o,i),this.adapter.setAttr(t,n.urlAttr,b)}}}},e.prototype._processSrcdocAttr=function(t){var r=e.getStoredAttrName("srcdoc"),n=this.adapter.getAttr(t,"srcdoc")||"",o=this.adapter.processSrcdocAttr(n);this.adapter.setAttr(t,r,n),this.adapter.setAttr(t,"srcdoc",o)},e.prototype._processUrlJsAttr=function(t,r,n){n.urlAttr&&e.isJsProtocol(this.adapter.getAttr(t,n.urlAttr)||"")&&this._processJsAttr(t,n.urlAttr,{isJsProtocol:!0,isEventAttr:!1})},e.prototype._processSVGXLinkHrefAttr=function(t,r,n){if(n.urlAttr){var o=this.adapter.getAttr(t,n.urlAttr)||"";if(ul.test(o)){var i=e.getStoredAttrName(n.urlAttr);this.adapter.setAttr(t,i,o)}}},e}(),Ed=new WeakMap,Sd=function(){function e(){}return e}();Sd.prototype=DOMStringList.prototype;var bd=function(e){function t(t,r){var n=e.call(this)||this,o=t.location.ancestorOrigins,i=o.length,a=t.parent;Ed.set(n,i);for(var s=function(e){var t=kd.getLocationWrapper(a),i=t===a.location;Ki(o,c,e.toString(),i?"":t.origin),i&&r&&r(a,function(t){return Ki(o,n,e,t)}),a=a.parent},c=this,l=0;l]*)?>)/gi,zd="$1".concat(Hd,"$2$3"),Kd=/<(\/?(?:col|noscript))(\s[^>]*?)?(\s?\/)?>/gi,$d="
'),Xd=new RegExp("]*?) ".concat(Wd,'="([^|]+)\\|([^"]*)"([^>]*)'),"ig"),Yd=/]*)>/gi,Qd="<".concat(Ud,">$1"),Jd=new RegExp("<".concat(Ud,">([\\S\\s]*?)"),"ig"),Zd=/]*>/gi,ef=/\s(?:NS[0-9]+:[^"']+('|")[\S\s]*?\1|[^:]+:NS[0-9]+=(?:""|''))/g,tf=function(){for(var e=[],t=0,r=Vh;t"),mf="<".concat(df,">"),gf=new RegExp("^[\\S\\s]*".concat(ff),"g"),vf=new RegExp("".concat(mf,"[\\S\\s]*$"),"g"),yf=/^<[^>]+>/g,_f=/<\/[^<>]+>$/g,Ef=/<\/?(?:[A-Za-z][^>]*)?$/g,Sf="hammerhead|unclosed-element-flag",bf=function(){function e(e,t){this.window=e,this.document=t,this.pending="",this.parentTagChain=[],this.isBeginMarkerInDOM=!1,this.isEndMarkerInDOM=!1,this.isClosingContentEl=!1,this.isNonClosedComment=!1,this.isAddContentToEl=!1,this.contentForProcessing="",this.nonClosedEl=null,this.cachedStartsWithClosingTagRegExps={}}return e.prototype._cutPending=function(e){var t=e.match(Ef);return this.pending=t?t[0]:"",this.pending?e.substring(0,e.length-this.pending.length):e},e.prototype._wrapHtmlChunk=function(e){var t=this.parentTagChain.length?"<"+this.parentTagChain.join("><")+">":"";return this.isNonClosedComment&&(t+="