douxiaoyun.js/profiles/douyin-profile/Default/Cache/Cache_Data/f_00039e
2026-07-17 22:23:39 +08:00

2 lines
187 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see 63375.62b66c92.js.LICENSE.txt */
!function(t,e){"object"==typeof module&&"object"==typeof module.exports?e():"function"==typeof define&&define.amd?define([],e):(t="undefined"!=typeof globalThis?globalThis:t||self)&&e()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).xss={})}(this,function(t){"use strict";var e=function(){return(e=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function i(t,e,i){if(i||2==arguments.length)for(var r,n=0,s=e.length;n<s;n++)!r&&n in e||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return t.concat(r||Array.prototype.slice.call(e))}var r=/[^a-zA-Z0-9\\_:.-]/gim,n=/</g,s=/>/g,a=/&#([a-zA-Z0-9]*);?/gim,o=/&quot;/g,h=/&colon;?/gim,c=/&newline;?/gim,l=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,u=/u\s*r\s*l\s*\(.*/gi,p=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,d=/"/g,f=function(t){return t.replace(n,"&lt;").replace(s,"&gt;")},m={indexOf:function(t,e){var i,r;for(i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return -1},forEach:function(t,e,i){var r,n;for(r=0,n=t.length;r<n;r++)e.call(i,t[r],r,t)},some:function(t,e,i){var r,n;for(r=0,n=t.length;r<n;r++)if(e.call(i,t[r],r,t))return!0;return!1},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")},includes:function(t,e){if("string"==typeof t)return -1!==t.indexOf(e);for(var i=0;i<t.length;i++)if(t[i]===e)return!0;return!1},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1},uniq:function(t){for(var e={},i=[],r=0;r<t.length;r++)e[t[r]]||(i.push(t[r]),e[t[r]]=!0);return i},from:function(t){for(var e=[],i=0;i<t.length;i++)e.push(t[i]);return e},keys:function(t){var e=[];for(var i in t)e.push(i);return e}};function g(t){return null==t}function v(t){var e;return'"'===(e=t)[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]?t.substr(1,t.length-2):t}function x(t){var e,i,r,n,s,a,o,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;for(t=function(t){t=t.replace(/rn/g,"n");for(var e="",i=0;i<t.length;i++){var r=t.charCodeAt(i);r<128?e+=String.fromCharCode(r):r>127&&r<2048?e+=String.fromCharCode(r>>6|192)+String.fromCharCode(63&r|128):e+=String.fromCharCode(r>>12|224)+String.fromCharCode(r>>6&63|128)+String.fromCharCode(63&r|128)}return e}(t);l<t.length;)n=(e=t.charCodeAt(l++))>>2,s=(3&e)<<4|(i=t.charCodeAt(l++))>>4,a=(15&i)<<2|(r=t.charCodeAt(l++))>>6,o=63&r,isNaN(i)?a=o=64:isNaN(r)&&(o=64),c=c+h.charAt(n)+h.charAt(s)+h.charAt(a)+h.charAt(o);return c}function y(t){var e,i,r,n,s,a,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h="",c=0;for(t=t.replace(/[^A-Za-z0-9+/=]/g,"");c<t.length;)e=o.indexOf(t.charAt(c++))<<2|(n=o.indexOf(t.charAt(c++)))>>4,i=(15&n)<<4|(s=o.indexOf(t.charAt(c++)))>>2,r=(3&s)<<6|(a=o.indexOf(t.charAt(c++))),h+=String.fromCharCode(e),64!==s&&(h+=String.fromCharCode(i)),64!==a&&(h+=String.fromCharCode(r));return function(t){for(var e="",i=0,r=0,n=0,s=0;i<t.length;)(r=t.charCodeAt(i))<128?(e+=String.fromCharCode(r),i++):r>191&&r<224?(e+=String.fromCharCode((31&r)<<6|63&(s=t.charCodeAt(i+1))),i+=2):(s=t.charCodeAt(i+1),e+=String.fromCharCode((15&r)<<12|(63&s)<<6|63&(n=t.charCodeAt(i+2))),i+=3);return e}(h)}function b(t,e,i){var r="",n=0,s=!1,a=!1,o=0,h=t.length,c="",l="";t:for(o=0;o<h;o++){var u=t.charAt(o);if(!1===s){if("<"===u){s=o;continue}}else if(!1===a){if("<"===u){r+=i(t.slice(n,o)),s=o,n=o;continue}if(">"===u||o===h-1){r+=i(t.slice(n,s)),c=function(t){var e,i=m.spaceIndex(t);return e=-1===i?t.slice(1,-1):t.slice(1,i+1),"/"===(e=m.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}(l=t.slice(s,o+1)),r+=e(s,r.length,c,l,"</"===l.slice(0,2)),n=o+1,s=!1;continue}if('"'===u||"'"===u)for(var p=1,d=t.charAt(o-p);""===d.trim()||"="===d;){if("="===d){a=u;continue t}d=t.charAt(o-++p)}}else if(u===a){a=!1;continue}}return n<h&&(r+=i(t.substr(n))),r}function C(t,e){var i=0,n=0,s=[],a=!1,o=t.length;function h(t,i){if(!((t=(t=m.trim(t)).replace(r,"").toLowerCase()).length<1)){var n=e(t,i||"");n&&s.push(n)}}for(var c=0;c<o;c++){var l=t.charAt(c),u=void 0;if(!1!==a||"="!==l){if(!1===a||c!==n){if(/\s|\n|\t/.test(l)){if(t=t.replace(/\s|\n|\t/g," "),!1===a){if(-1===(u=function(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"="===i?e:-1}return -1}(t,c))){h(m.trim(t.slice(i,c))),a=!1,i=c+1;continue}c=u-1;continue}if(-1===(u=function(t,e){for(;e>0;e--){var i=t[e];if(" "!==i)return"="===i?e:-1}return -1}(t,c-1))){h(a,v(m.trim(t.slice(i,c)))),a=!1,i=c+1;continue}}}else{if(-1===(u=t.indexOf(l,c+1)))break;h(a,m.trim(t.slice(n+1,u))),a=!1,i=(c=u)+1}}else a=t.slice(i,c),i=c+1,n='"'===t.charAt(i)||"'"===t.charAt(i)?i:function(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"'"===i||'"'===i?e:-1}return -1}(t,c+1)}return i<t.length&&(!1===a?h(t.slice(i)):h(a,v(m.trim(t.slice(i))))),m.trim(s.join(" "))}function k(t,e,i){if(i=function(t){return t=function(t){for(var e="",i=0,r=t.length;i<r;i++)e+=32>t.charCodeAt(i)?" ":t.charAt(i);return m.trim(e)}(t=(t=(t=t.replace(o,'"')).replace(a,function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))})).replace(h,":").replace(c," "))}(i),"href"===e||"src"===e){if("#"===(i=m.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===e){if(l.lastIndex=0,l.test(i))return""}else if("style"===e&&(p.lastIndex=0,p.test(i)||(u.lastIndex=0,u.test(i)&&(l.lastIndex=0,l.test(i)))))return"";return i=function(t){return t=f(t=t.replace(d,"&quot;"))}(i)}var S=function(t){return"string"==typeof t?t.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},_=function(){function t(t){var e=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{});e.stripIgnoreTag&&(e.onIgnoreTag,e.onIgnoreTag=function(){return""}),e.whiteList={},e.onTag=function(){},e.onTagAttr=function(){},e.onIgnoreTag=function(){},e.onIgnoreTagAttr=function(){},e.safeAttrValue=k,e.escapeHtml=f,this.options=Object.assign(e,t)}return t.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e,i,r,n,s,a,o=this.options,h=o.whiteList,c=o.onTag,l=o.onIgnoreTag,u=o.onTagAttr,p=o.onIgnoreTagAttr,d=o.safeAttrValue,f=o.escapeHtml;o.stripBlankChar&&(t=(e=(e=t.split("")).filter(function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)})).join("")),o.allowCommentTag||(t=function(t){for(var e="",i=0;i<t.length;){var r=t.indexOf("\x3c!--",i);if(-1===r){e+=t.slice(i);break}e+=t.slice(i,r);var n=t.indexOf("--\x3e",r);if(-1===n)break;i=n+3}return e}(t));var g=!1;o.stripIgnoreTagBody&&(i=o.stripIgnoreTagBody,"function"!=typeof(r=l)&&(r=function(){}),n=!Array.isArray(i),s=[],a=!1,l=(g={onIgnoreTag:function(t,e,o){var h;if(h=t,n||-1!==m.indexOf(i,h)){if(o.isClosing){var c="[/removed]",l=o.position+c.length;return s.push([!1!==a?a:o.position,l]),a=!1,c}return a||(a=o.position),"[removed]"}return r(t,e,o)},remove:function(t){var e="",i=0;return m.forEach(s,function(r){e+=t.slice(i,r[0]),i=r[1]}),e+=t.slice(i)}}).onIgnoreTag);var v=b(t,function(t,e,i,r,n){var s={sourcePosition:t,position:e,isClosing:n,isWhite:Object.prototype.hasOwnProperty.call(h,i)},a=c(i,r,s);if(null!=a)return a;if(s.isWhite){if(s.isClosing)return"</".concat(i,">");var o=function(t){var e=m.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=m.trim(t.slice(e+1,-1)))[t.length-1];return i&&(t=m.trim(t.slice(0,-1))),{html:t,closing:i}}(r),g=h[i],v=C(o.html,function(t,e){var r=-1!==m.indexOf(g,t),n=u(i,t,e,r);return null==n?r?(e=d(i,t,e,null))?"".concat(t,'="').concat(e,'"'):t:null==(n=p(i,t,e,r))?void 0:n:n});return r="<".concat(i),v&&(r+=" ".concat(v)),o.closing&&(r+=" /"),r+=">"}return null==(a=l(i,r,s))?f(r):a},f);return g&&(v=g.remove(v)),v},t}(),w=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),E=new(function(){function t(){var t=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var e,i,r="douyin_web";if(!m.includes(r,"bid"))return r;if(t.config&&t.config.bid)return t.config.bid;if(w&&w._xssBid)return w._xssBid;if(w&&w.slardar&&"function"==typeof w.slardar.config){var n=(w.slardar.config()||{}).bid;if(n)return n}if(w&&w.Slardar&&"function"==typeof w.Slardar.config){var s=(w.Slardar.config()||{}).bid;if(s)return s}return(null===(i=null===(e=null==w?void 0:w.Slardar)||void 0===e?void 0:e._baseParams)||void 0===i?void 0:i.bid)||"argus"},this.getConfigRegion=function(){var e;return m.includes("cn","region")?t.config&&t.config.region?t.config.region:((null===(e=null==w?void 0:w.gfdatav1)||void 0===e?void 0:e.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var e={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[t.getConfigRegion()];if(e)return e+t.getSlardarBid()}}return t.prototype.setConfig=function(t){this.config=t},t.prototype.upload=function(){var t=this,e=this.gerReportUrl();!this.lock&&e&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var i=t.batchData.slice(0,100);t.batchData=t.batchData.slice(100),w.fetch(e,{method:"post",body:JSON.stringify(i),headers:{"Content-Type":"application/json"}}).catch(function(t){}),t.lock=!1,t.upload()},this.timeout))},t.prototype.generateKey=function(t){return t.collectKey?[t.collectMode,t.collectKey].join("___"):""},t.prototype.push=function(t){this.batchData.push(t),this.upload()},t.prototype.report=function(t){var e=this.generateKey(t);if(w.fetch&&t.collectKey){var i="object"==typeof window?window.location.href:"SSR";t.documentUrl=i;var r={age:Math.floor(Date.now()),type:"xss",url:i,body:t,"user-agent":""};"enforce"===t.disposition&&"SSR"!==i||(r.url=e),"SSR"===i&&(r.url="SSR___".concat(r.url),r.body.ssr=!0),this.push(r)}},t}()),I=function(t){for(var e=0,i=function(i){Array.isArray(t[i])?0===t[i].length?delete t[i]:(t[i]=m.from(m.uniq(t[i])),e+=t[i].length):0===m.keys(t[i]).length?delete t[i]:m.keys(t[i]).forEach(function(r){t[i][r]=m.from(m.uniq(t[i][r])),e+=t[i][r].length})},r=0,n=m.keys(t);r<n.length;r++)i(n[r]);return{count:e,ret:t}};function P(t,e){return E.setConfig(e),new _(e).process(t)}function A(t){var e,i=(e=/\s|\n|\t/.exec(t))?e.index:-1;if(-1===i)return{html:"",closing:"/"===t[t.length-2]};var r="/"===(t=t.slice(i+1,-1).trim())[t.length-1];return r&&(t=t.slice(0,-1).trim()),{html:t,closing:r}}var L=function(t){return -1===(t=(t=(t=(t=t.replace(/&colon;/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?t.trim().toLowerCase():t.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(t,e,i,r){return String.fromCharCode(e?parseInt(i,16):parseInt(r))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function N(t,e){if(void 0===t&&(t=""),"string"!=typeof t)return!0;if(t=L(t),m.includes(t,"base64")&&!function(t){if(""===t||""===t.trim())return!0;try{return!m.includes(t,"data:text/html;base64")}catch(t){return!0}}(t))return e&&e("data:text/html;base64"),!1;var i=["expression(","behavior:","view-source:"];if(m.some(i,function(e){return -1!==t.indexOf(e)}))return m.forEach(i,function(i){-1!==t.indexOf(i)&&e&&e(i)}),!1;var r=["data:application","data:javascript","data:text/html","data:texthtml"];if(m.some(r,function(e){return -1!==t.indexOf(e)}))return m.forEach(r,function(i){-1!==t.indexOf(i)&&e&&e(i)}),!1;if(t.indexOf("javascript:")>0)return e&&e("javascript:"),!1;if(/^javascript:/i.test(t)){var n=t.slice(11).replace(/\s/g,"").trim();return!!m.some(["void","void(0)","void0","false","undefined",";"],function(t){return t===n})||(e&&e("javascript:"),!1)}return!0}var T=function(t,e){var i,r,n="<%= isSaveValidUrl =>";if("string"!=typeof t||(r=Number("<%= urlLimit =>"),void 0!==i&&(r=i),"NaN"!==t.toString()&&-1!==r&&t.length>=r)||N(t,e))return t;try{if(!0===(n=JSON.parse(n))||"true"===n){var s=new URL(t);return s.origin+s.pathname}}catch(t){}return"#"};function R(t,e,r){if(void 0===t&&(t=""),void 0===e&&(e=[]),"string"!=typeof t)return!0;if(!N(t=L(t)))return!1;var n,s={url:(n=t.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:n[1],slash:n[2],host:n[3],port:n[4],path:n[5],query:n[6],hash:n[7]},a=s.scheme,o=s.host;return r?!!r(t):!(!a||!o)&&(!m.includes(["http","https","file"],a)||("object"==typeof window&&window&&(e=i(i([],e,!0),[location.host],!1)),m.some(e,function(t){return!!(t instanceof RegExp&&t.test(o))||t===o})))}var V={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},O={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var t=I(this.collect),e=t.count,i=t.ret;return this.collect=null,{collectKey:0===e?null:JSON.stringify(i),collectMode:"white"}},onIgnoreTagAttr:function(t,e,r){return t&&m.indexOf(["href","src"],e)>-1?O.domainWhiteList&&Array.isArray(O.domainWhiteList)&&O.domainWhiteList.length>0&&!R(r,i([],O.domainWhiteList,!0))?"":"".concat(e,'="').concat(T(r,function(t){var e;null===(e=O.collect)||void 0===e||e.filterProtocol.push(t)}),'"'):t&&(m.indexOf(["style","class","id"],e)>-1||e.indexOf("data-")>-1)?"".concat(e,'="').concat(r,'"'):(O.collect.whiteList[t]=O.collect.whiteList[t]||[],void O.collect.whiteList[t].push(e))},onIgnoreTag:function(t,e){if("style"===t)return e;b(e,function(t,e,i,r){C(A(r).html.replace("/",""),function(t){O.collect.whiteList[i]=O.collect.whiteList[i]||[],O.collect.whiteList[i].push(t)})},f)},whiteList:V,mergeWhiteList:function(t){for(var e,i={},r=0,n=m.keys(V);r<n.length;r++)i[e=n[r]]=m.from(V[e]);for(var s=0,a=m.keys(t);s<a.length;s++)i[e=a[s]]=e in V?V[e].concat(t[e]):m.from(t[e]);return i},setWhiteList:function(t){for(var e=0,i=m.keys(t);e<i.length;e++){var r=i[e];this.whiteList[r]=r in V?V[r].concat(t[r]):m.from(t[r])}}};try{var F={},M="merge";m.includes(M,"override")&&(O.whiteList=F.whiteList),m.includes(M,"merge")&&O.setWhiteList(F.whiteList)}catch(t){}var D=function(t,e){for(var i={},r=0,n=m.keys(t);r<n.length;r++){var s=n[r];Array.isArray(t[s])?i[s]=m.from(t[s]):i[s]=D({},t[s])}for(var a=0,o=m.keys(e);a<o.length;a++)(s=o[a])in t?Array.isArray(t[s])?i[s]=t[s].concat(e[s]):i[s]=D(t[s],e[s]):Array.isArray(e[s])?i[s]=m.from(e[s]):i[s]=D({},e[s]);return i},j={blackList:{a:["folder"],meta:["content"],iframe:["srcdoc"],input:["pattern"],vmlframe:["xmlns"]},blackTags:["script","xml","embed","isindex","object","base","set","handler","animate","payload","import"],blackAttrs:["charset","ns","namespace","formaction","xlink:href","xmlns:xlink","handler","repeat","repeat-start","repeat-end"],blackAttrRegExps:[/^on/],filterList:{param:["value"],video:["poster"],form:["action"]},filterAttrs:["href","src","background","style","dynsrc","lowsrc","content"]};try{var B={};B.blackAttrRegExps&&(B.blackAttrRegExps=B.blackAttrRegExps.map(function(t){return new RegExp(t.toString().slice(1,t.toString().length-1))}));var U="merge";m.includes(U,"override")&&(j=B),m.includes(U,"merge")&&(j=D(j,B))}catch(t){}var H={mode:"black",whiteList:{},blackConfig:j,collect:null,initCollect:function(){H.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var t=I(H.collect),e=t.count,i=t.ret;return H.collect=null,{collectKey:0===e?null:JSON.stringify(i),collectMode:"black"}},onIgnoreTag:function(t,e){var i;if(!m.includes(j.blackTags,t))return b(e,function(t,e,i,r,n){if(-1!==i.indexOf("/"))return f(r);if(n)return"</".concat(i,">");var s=A(r),a=C(s.html,function(t,e){var r,n=0;if(j.blackList[i]&&m.includes(j.blackList[i],t)&&(H.collect.blackList[i]=H.collect.blackList[i]||[],H.collect.blackList[i].push(t),n++),j.blackAttrRegExps.length&&j.blackAttrRegExps.some(function(e){return e.test(t)})&&m.forEach(j.blackAttrRegExps,function(e){e.test(t)&&(H.collect.blackAttrRegExps.push("".concat(e.toString(),"->").concat(t)),n++)}),j.blackAttrs.length&&m.includes(j.blackAttrs,t)&&(j.blackAttrs.push(t),n++),!n){if(j.filterList&&j.filterList[i]&&m.includes(j.filterList[i],t)){var s=T(e,function(t){var e;null===(e=H.collect)||void 0===e||e.filterProtocol.push(t)});return s!==e&&(H.collect.filterList[i]=H.collect.filterList[i]||[],H.collect.filterList[i].push(t)),e?"".concat(t,"='").concat(s,"'"):t}return j.filterAttrs&&m.includes(j.filterAttrs,t)?((s=T(e,function(t){var e;null===(e=H.collect)||void 0===e||e.filterProtocol.push(t)}))!==e&&(null===(r=H.collect)||void 0===r||r.filterAttrs.push(t)),e?"".concat(t,"='").concat(s,"'"):t):e?"".concat(t,"='").concat(e,"'"):t}});return r="<".concat(i),a&&(r+=" ".concat(a)),s.closing&&(r+=" /"),r+=">"},f);null===(i=H.collect)||void 0===i||i.blackTags.push(t)}},Z=function(t){var e=t.reportOnly,i=void 0===e||e,r=t.block;return i&&"all"===i?"report":("string"==typeof i&&("true"===i&&(i=!0),"false"===i&&(i=!1)),r?"enforce":i?"report":"enforce")},W=function(t){return function(i,r,n){if(!i||"string"!=typeof i)return i;var s=r;t===P&&(s=O).initCollect();var a=t(i,s);if(S(a)===S(i))return i;if(!n)return a;var o=n.logType,h=Z(n),c=s.removeCollect();return E.report(e(e({type:o,disposition:h},c),{sourceText:x(i),filterText:x(a)})),"enforce"===h?a:i}},z=W(function(t,e){return void 0===e&&(e={}),e&&e.whiteList||(e.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new _(e).process(t)}),$=W(P),q=function(t,e,i){var r=[],n=T(t,function(t){r.push(t)});if(n===t)return t;r=m.from(m.uniq(r));var s=e||i||{};if(!s)return n;var a=s.logType,o=Z(i);return E.report({type:a,disposition:o,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:x(t),filterText:x(n)}),"enforce"===o?n:t},G=w._xssProject||{},X=w.xssNamespace||{},K="3.0.26",Y={FilterXSS:_,version:K,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:z,_filterXSS:$,filterUrl:q,Config:O,BlackConfig:H,project:G,setProjectName:function(t){G[t]=this,w._xssProjectName=t}};X.douyin_web=Y,w.xssNamespace=X,w.Math&&!w.Math.xssNamespace&&(w.Math.xssNamespace=X),G[K]=Y,w.globalThis=w,w.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:Y},w.xss=Y,w.isSafeUrl=R,w.isSafeDomain=R,w.isSafeProtocol=N,w._xssProject=G,w._xssProjectName&&(G[w._xssProjectName]=Y);var Q=Y.setProjectName.bind(Y);t.BlackConfig=H,t.Config=O,t.FilterXSS=_,t._filterXSS=$,t.filterUrl=q,t.filterXSS=z,t.isSafeDomain=R,t.isSafeProtocol=N,t.isSafeUrl=R,t.project=G,t.setProjectName=Q,t.setXssNamespace=function(t){var e=t.appId,i=t.bid,r=t.region;X[e]=Y;O.bid=i,O.region=r,O.enabled=!0},t.xssNamespace=X,Object.defineProperty(t,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["63375"],{402336:function(t,e,i){"use strict";var r=i(101199),n=i(994298);let s=(0,n.A)(function(t){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},t),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.22 20.77a4.24 4.24 0 0 1 .02-5.98l9.33-9.28-.94-.95a1.41 1.41 0 0 1 0-1.99 1.39 1.39 0 0 1 1.97 0l.95.97L14.9 1.2a4.16 4.16 0 0 1 5.89.02 4.24 4.24 0 0 1-.02 5.98l-2.3 2.28 1.02 1.02c.54.55.54 1.44 0 1.99-.55.55-1.43.55-1.97 0l-1.03-1.03-9.37 9.32a4.16 4.16 0 0 1-5.89-.02ZM12.54 7.49l1.97 1.99-9.35 9.3c-.55.55-1.42.55-1.97 0a1.41 1.41 0 0 1 .01-2l9.34-9.29Z",fill:"currentColor"}))},"eyedropper");e.Z=s},793576:function(t,e,i){"use strict";i.d(e,{P:function(){return w}});var r=i(646317),n=i(392982),s=i(169136),a=i(68546),o=i(376386),h=i(788034),c=i(673620),l=i(970509),u=i.n(l),p=Object.defineProperty,d=Object.defineProperties,f=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,x=(t,e,i)=>e in t?p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,y=(t,e)=>{for(var i in e||(e={}))g.call(e,i)&&x(t,i,e[i]);if(m)for(var i of m(e))v.call(e,i)&&x(t,i,e[i]);return t},b=(t,e)=>d(t,f(e)),C=(t,e)=>{var i={};for(var r in t)g.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&m)for(var r of m(t))0>e.indexOf(r)&&v.call(t,r)&&(i[r]=t[r]);return i},k=(t,e,i)=>new Promise((r,n)=>{var s=t=>{try{o(i.next(t))}catch(t){n(t)}},a=t=>{try{o(i.throw(t))}catch(t){n(t)}},o=t=>t.done?r(t.value):Promise.resolve(t.value).then(s,a);o((i=i.apply(t,e)).next())}),S=class{abort(){this.xhr&&this.xhr.abort()}getAllResponseHeaders(){let t=this.xhr.getAllResponseHeaders(),e=null==t?void 0:t.trim().split(/[\r\n]+/),i={};return e.forEach(t=>{let e=t.split(": "),r=e.shift(),n=e.join(": ");i[r]=n}),i}baseFetch(t,e,i,r){let n=new XMLHttpRequest;return this.xhr=n,n.responseType="arraybuffer",n.timeout=1e4,new Promise((s,a)=>{try{if(n.open(t,e,!0),n.setRequestHeader("Content-Type","application/x-protobuf;"),r){for(let t in r)if(r.hasOwnProperty(t)){let e=r[t];n.setRequestHeader(t,e)}}n.withCredentials=!0,n.onload=function(){n.readyState===XMLHttpRequest.DONE&&200===n.status&&n.response?s(new Uint8Array(n.response)):a(Error(`[XHR Error] ${n.status} ${n.statusText}`))},n.onerror=()=>{a(Error(`[XHR Error] request to ${e} error.`))},n.ontimeout=()=>{a(Error(`[XHR Error] request to ${e} timeout.`))},n.send(i)}catch(t){a(t)}})}fetch(t){return this.baseFetch("GET",t)}post(t,e,i){return this.baseFetch("POST",t,e,i)}};S.VERSION="0.0.3";var _=u()("im:polling"),w=class t{constructor(t,e,i,s,a){this.transport=r.J.instance,this.isStopped=!1,this.isStarted=!1,this.stopPolling=!1,this.isTryingSocket=!1,this.pollingInterval=n.yD,this.errorInterval=n.qW,this.emitter=t,this.props=e,this.cursor=i,this.reporter=a,this.publishCenter=s}static getQuery(t,e,i){let{version_code:r=n.ry,aid:s}=null!=e?e:{};return b(y({},t),{version_code:r,aid:s,bytelink_cursor:i.cursor,bytelink_internal_ext:i.internal_ext})}start(t){if(this.isStarted)throw Error("[live-im-sdk] you have started polling!");this.isStarted=!0,this.isStopped=!1,this.stopPolling=!1,_("start polling"),this.emitter.emit("start-driver","polling"),this.startProps=t,this.reporter&&this.reporter(b(y(y({},this.startProps),this.props),{type:"start"})),this._recursiveFetch({})}stop(){if(!!this.isStarted)this.isStopped=!0,this.stopPolling=!0,this.isStarted=!1,this.isTryingSocket=!1,this.xhr.abort(),this.cursor.clear(),this.emitter.emit("stop-driver","polling")}restart(t){if(!!this.stopPolling)this.startProps=t,_("restart polling"),this.emitter.emit("start-driver","polling"),this.isStarted=!0,this.isTryingSocket=!1,this.isStopped=!1,this.stopPolling=!1,this.reporter&&this.reporter(b(y(y({},this.startProps),this.props),{type:"restart"})),this._recursiveFetch({})}stopBySocket(t){t?this.restart(this.startProps):(this.stopPolling=!0,this.isStopped=!0,_("upgraded to websocket, so stop polling"),this.emitter.emit("upgraded-driver","websocket"))}_recursiveFetch(e){return k(this,null,function*(){if(this.isStopped)return;let i=null;if(!this.stopPolling){let r=t.getQuery(this.startProps,y({version_code:this.props.version_code,aid:this.props.aid,webcast_app_id:this.props.webcast_app_id},e),this.cursor);i=yield this._fetchImServer(r).catch(t=>(_("polling error",t),this.emitter.emit("error","polling-driver",t),null))}return!this.props.only_short&&!this.isTryingSocket&&(null==i?void 0:i.fetch_type)===n.Om.Socket&&(this.isTryingSocket=!0,_("trying upgrade to websocket"),this.emitter.emit("upgrade","websocket")),i?yield(0,s.g)(Math.max(Number(i.fetch_interval),this.props.pollingInterval||this.pollingInterval)):yield(0,s.g)(this.errorInterval),this._recursiveFetch(y({},null!=e?e:{}))})}_fetchImServer(t){return k(this,null,function*(){let e=this.props,{host:i,im_path:r,device_id:s,websocket_key:l,aid:u}=e,p=C(e,["host","im_path","device_id","websocket_key","aid"]),{bytelink_cursor:d="",bytelink_internal_ext:f=""}=t,m=`${i}${r||n.xr}`,g=a.P(y(y(y({resp_content_type:n.DA.Protobuf,device_id:s},(0,o.F)(p,["pushServer"])),t),(0,h.K)()));this.xhr=new S,_("fetching",`${m}?${g}`);let v=yield this.transport.encode({tenant_publishers_map:this.publishCenter.generateAllPublishers()||{}},"AllTenantPublishers"),x=yield this.xhr.post(`${m}?${g}`,v,{"X-ByteLink-Cursor":d,"X-ByteLink-InternalExt":f}).catch(t=>(_("fetch error",t),this.emitter.emit("error","polling-driver",t),null));if(this.isStopped||this.stopPolling||!x)return;let b=yield this.transport.decode(x).catch(t=>(this.emitter.emit("error","decode",t),null));if(!b)return;let{response:k,cursor:w,internalExt:E}=b;return this.cursor.set(w,E),this.emitter.emit("message",k),this.emitter.emit("header","http",(0,c.G)(this.xhr.xhr.getAllResponseHeaders())),k})}}},723695:function(t,e,i){"use strict";i.d(e,{C:function(){return r}});class r{constructor(t){this.emitter=t,this._cursor="",this._first_cursor="",this._internal_ext=""}get cursor(){return this._cursor}get firstCursor(){return this._first_cursor}get internal_ext(){return this._internal_ext}set(t,e){var i;this._cursor=t,!this._first_cursor&&(this._first_cursor=t,null==(i=this.emitter)||i.emit("first_cursor",t)),this._internal_ext=e}clear(){this._cursor="",this._first_cursor="",this._internal_ext=""}}},344569:function(t,e,i){var r,n;r=0,n=function(t){return t.enc.Utf8},t.exports=n(i(776340))},802532:function(t,e,i){"use strict";var r=i(803742),n=i(197579),s=i(125465),a=i(409925),o=i(246067);(t.exports=function(t,e){var i,n,h,c,l;return arguments.length<2||"string"!=typeof t?(c=e,e=t,t=null):c=arguments[2],r(t)?(i=o.call(t,"c"),n=o.call(t,"e"),h=o.call(t,"w")):(i=h=!0,n=!1),l={value:e,configurable:i,enumerable:n,writable:h},c?s(a(c),l):l}).gs=function(t,e,i){var h,c,l,u;return"string"!=typeof t?(l=i,i=e,e=t,t=null):l=arguments[3],r(e)?n(e)?r(i)?!n(i)&&(l=i,i=void 0):i=void 0:(l=e,e=i=void 0):e=void 0,r(t)?(h=o.call(t,"c"),c=o.call(t,"e")):(h=!0,c=!1),u={get:e,set:i,configurable:h,enumerable:c},l?s(a(l),u):u}},557094:function(t,e,i){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}i.d(e,{Z:function(){return r}})},708863:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var r=i(557094),n=i(726588),s=i(471839),a=i(144256);function o(t,e){(0,a.Z)(2,arguments);var i=(0,n.Z)(t),o=(0,r.Z)(e),h=i.getFullYear(),c=i.getDate(),l=new Date(0);l.setFullYear(h,o,15),l.setHours(0,0,0,0);var u=(0,s.Z)(l);return i.setMonth(o,Math.min(c,u)),i}},623879:function(t,e,i){"use strict";var r=i(177405).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,s.default)(1,arguments),t instanceof Date||"object"===(0,n.default)(t)&&"[object Date]"===Object.prototype.toString.call(t)};var n=r(i(321669)),s=r(i(826204));t.exports=e.default},821295:function(t,e,i){var r=i(785798),n=i(210385),s=i(216766),a=i(365425),o=i(812958),h=i(891779),c=i(146814);t.exports=function t(e,i,l,u,p){if(e!==i)s(i,function(s,h){if(p||(p=new r),o(s))a(e,i,h,l,t,u,p);else{var d=u?u(c(e,h),s,h+"",e,i,p):void 0;void 0===d&&(d=s),n(e,h,d)}},h)}},993659:function(t){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},695707:function(t){t.exports=function(t,e){for(var i=-1,r=Array(t);++i<t;)r[i]=e(i);return r}},390748:function(t,e,i){var r=i(187232),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:n.call(e,t)}},726713:function(t,e,i){var r=i(326883),n=i(605782);t.exports=function(t,e){return null!=t&&n(t,e,r)}},657486:function(t,e,i){var r=i(370477),n=i(867924),s=i(293137),a=i(22186),o=i(701821);t.exports=function(t){if(null==t)return 0;if(s(t))return a(t)?o(t):t.length;var e=n(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},369765:function(t,e,i){var r,n,s,a,o;r=i(964573),n=i(857144).utf8,s=i(141549),a=i(857144).bin,(o=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?a.stringToBytes(t):n.stringToBytes(t):s(t)?t=Array.prototype.slice.call(t,0):!Array.isArray(t)&&t.constructor!==Uint8Array&&(t=t.toString());for(var i=r.bytesToWords(t),h=8*t.length,c=1732584193,l=-271733879,u=-1732584194,p=271733878,d=0;d<i.length;d++)i[d]=(i[d]<<8|i[d]>>>24)&16711935|(i[d]<<24|i[d]>>>8)&4278255360;i[h>>>5]|=128<<h%32,i[(h+64>>>9<<4)+14]=h;for(var f=o._ff,m=o._gg,g=o._hh,v=o._ii,d=0;d<i.length;d+=16){var x=c,y=l,b=u,C=p;c=f(c,l,u,p,i[d+0],7,-680876936),p=f(p,c,l,u,i[d+1],12,-389564586),u=f(u,p,c,l,i[d+2],17,606105819),l=f(l,u,p,c,i[d+3],22,-1044525330),c=f(c,l,u,p,i[d+4],7,-176418897),p=f(p,c,l,u,i[d+5],12,1200080426),u=f(u,p,c,l,i[d+6],17,-1473231341),l=f(l,u,p,c,i[d+7],22,-45705983),c=f(c,l,u,p,i[d+8],7,1770035416),p=f(p,c,l,u,i[d+9],12,-1958414417),u=f(u,p,c,l,i[d+10],17,-42063),l=f(l,u,p,c,i[d+11],22,-1990404162),c=f(c,l,u,p,i[d+12],7,1804603682),p=f(p,c,l,u,i[d+13],12,-40341101),u=f(u,p,c,l,i[d+14],17,-1502002290),l=f(l,u,p,c,i[d+15],22,1236535329),c=m(c,l,u,p,i[d+1],5,-165796510),p=m(p,c,l,u,i[d+6],9,-1069501632),u=m(u,p,c,l,i[d+11],14,643717713),l=m(l,u,p,c,i[d+0],20,-373897302),c=m(c,l,u,p,i[d+5],5,-701558691),p=m(p,c,l,u,i[d+10],9,38016083),u=m(u,p,c,l,i[d+15],14,-660478335),l=m(l,u,p,c,i[d+4],20,-405537848),c=m(c,l,u,p,i[d+9],5,568446438),p=m(p,c,l,u,i[d+14],9,-1019803690),u=m(u,p,c,l,i[d+3],14,-187363961),l=m(l,u,p,c,i[d+8],20,1163531501),c=m(c,l,u,p,i[d+13],5,-1444681467),p=m(p,c,l,u,i[d+2],9,-51403784),u=m(u,p,c,l,i[d+7],14,1735328473),l=m(l,u,p,c,i[d+12],20,-1926607734),c=g(c,l,u,p,i[d+5],4,-378558),p=g(p,c,l,u,i[d+8],11,-2022574463),u=g(u,p,c,l,i[d+11],16,1839030562),l=g(l,u,p,c,i[d+14],23,-35309556),c=g(c,l,u,p,i[d+1],4,-1530992060),p=g(p,c,l,u,i[d+4],11,1272893353),u=g(u,p,c,l,i[d+7],16,-155497632),l=g(l,u,p,c,i[d+10],23,-1094730640),c=g(c,l,u,p,i[d+13],4,681279174),p=g(p,c,l,u,i[d+0],11,-358537222),u=g(u,p,c,l,i[d+3],16,-722521979),l=g(l,u,p,c,i[d+6],23,76029189),c=g(c,l,u,p,i[d+9],4,-640364487),p=g(p,c,l,u,i[d+12],11,-421815835),u=g(u,p,c,l,i[d+15],16,530742520),l=g(l,u,p,c,i[d+2],23,-995338651),c=v(c,l,u,p,i[d+0],6,-198630844),p=v(p,c,l,u,i[d+7],10,1126891415),u=v(u,p,c,l,i[d+14],15,-1416354905),l=v(l,u,p,c,i[d+5],21,-57434055),c=v(c,l,u,p,i[d+12],6,1700485571),p=v(p,c,l,u,i[d+3],10,-1894986606),u=v(u,p,c,l,i[d+10],15,-1051523),l=v(l,u,p,c,i[d+1],21,-2054922799),c=v(c,l,u,p,i[d+8],6,1873313359),p=v(p,c,l,u,i[d+15],10,-30611744),u=v(u,p,c,l,i[d+6],15,-1560198380),l=v(l,u,p,c,i[d+13],21,1309151649),c=v(c,l,u,p,i[d+4],6,-145523070),p=v(p,c,l,u,i[d+11],10,-1120210379),u=v(u,p,c,l,i[d+2],15,718787259),l=v(l,u,p,c,i[d+9],21,-343485551),c=c+x>>>0,l=l+y>>>0,u=u+b>>>0,p=p+C>>>0}return r.endian([c,l,u,p])})._ff=function(t,e,i,r,n,s,a){var o=t+(e&i|~e&r)+(n>>>0)+a;return(o<<s|o>>>32-s)+e},o._gg=function(t,e,i,r,n,s,a){var o=t+(e&r|i&~r)+(n>>>0)+a;return(o<<s|o>>>32-s)+e},o._hh=function(t,e,i,r,n,s,a){var o=t+(e^i^r)+(n>>>0)+a;return(o<<s|o>>>32-s)+e},o._ii=function(t,e,i,r,n,s,a){var o=t+(i^(e|~r))+(n>>>0)+a;return(o<<s|o>>>32-s)+e},o._blocksize=16,o._digestsize=16,t.exports=function(t,e){if(null==t)throw Error("Illegal argument "+t);var i=r.wordsToBytes(o(t,e));return e&&e.asBytes?i:e&&e.asString?a.bytesToString(i):r.bytesToHex(i)}},912476:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addClassName=c,e.addEvent=function(t,e,i,r){if(!t)return;let n={capture:!0,...r};t.addEventListener?t.addEventListener(e,i,n):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i},e.addUserSelectStyles=function(t){if(!t)return;let e=t.getElementById("react-draggable-style-el");!e&&((e=t.createElement("style")).type="text/css",e.id="react-draggable-style-el",e.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",e.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",t.getElementsByTagName("head")[0].appendChild(e)),t.body&&c(t.body,"react-draggable-transparent-selection")},e.createCSSTransform=function(t,e){let i=h(t,e,"px");return{[(0,n.browserPrefixToKey)("transform",n.default)]:i}},e.createSVGTransform=function(t,e){return h(t,e,"")},e.getTouch=function(t,e){return t.targetTouches&&(0,r.findInArray)(t.targetTouches,t=>e===t.identifier)||t.changedTouches&&(0,r.findInArray)(t.changedTouches,t=>e===t.identifier)},e.getTouchIdentifier=function(t){return t.targetTouches&&t.targetTouches[0]?t.targetTouches[0].identifier:t.changedTouches&&t.changedTouches[0]?t.changedTouches[0].identifier:void 0},e.getTranslation=h,e.innerHeight=function(t){let e=t.clientHeight,i=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,r.int)(i.paddingTop),e-=(0,r.int)(i.paddingBottom)},e.innerWidth=function(t){let e=t.clientWidth,i=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,r.int)(i.paddingLeft),e-=(0,r.int)(i.paddingRight)},e.matchesSelector=o,e.matchesSelectorAndParentsTo=function(t,e,i){let r=t;do{if(o(r,e))return!0;if(r===i)break;r=r.parentNode}while(r);return!1},e.offsetXYFromParent=function(t,e,i){let r=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect(),n=(t.clientX+e.scrollLeft-r.left)/i;return{x:n,y:(t.clientY+e.scrollTop-r.top)/i}},e.outerHeight=function(t){let e=t.clientHeight,i=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,r.int)(i.borderTopWidth)+(0,r.int)(i.borderBottomWidth)},e.outerWidth=function(t){let e=t.clientWidth,i=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,r.int)(i.borderLeftWidth)+(0,r.int)(i.borderRightWidth)},e.removeClassName=l,e.removeEvent=function(t,e,i,r){if(!t)return;let n={capture:!0,...r};t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent?t.detachEvent("on"+e,i):t["on"+e]=null},e.removeUserSelectStyles=function(t){if(t)try{if(t.body&&l(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{let e=(t.defaultView||window).getSelection();e&&"Caret"!==e.type&&e.removeAllRanges()}}catch(t){}};var r=i(419084),n=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=s(e);if(i&&i.has(t))return i.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var o=n?Object.getOwnPropertyDescriptor(t,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=t[a]}return r.default=t,i&&i.set(t,r),r}(i(453033));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(s=function(t){return t?i:e})(t)}let a="";function o(t,e){return!a&&(a=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(e){return(0,r.isFunction)(t[e])})),!!(0,r.isFunction)(t[a])&&t[a](e)}function h(t,e,i){let{x:r,y:n}=t,s="translate(".concat(r).concat(i,",").concat(n).concat(i,")");if(e){let t="".concat("string"==typeof e.x?e.x:e.x+i),r="".concat("string"==typeof e.y?e.y:e.y+i);s="translate(".concat(t,", ").concat(r,")")+s}return s}function c(t,e){t.classList?t.classList.add(e):!t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))&&(t.className+=" ".concat(e))}function l(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}},951877:function(t,e,i){"use strict";for(var r=i(517478),n=[],s=0;s<256;++s)n.push((s+256).toString(16).substr(1));e.Z=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(n[t[e+0]]+n[t[e+1]]+n[t[e+2]]+n[t[e+3]]+"-"+n[t[e+4]]+n[t[e+5]]+"-"+n[t[e+6]]+n[t[e+7]]+"-"+n[t[e+8]]+n[t[e+9]]+"-"+n[t[e+10]]+n[t[e+11]]+n[t[e+12]]+n[t[e+13]]+n[t[e+14]]+n[t[e+15]]).toLowerCase();if(!(0,r.Z)(i))throw TypeError("Stringified UUID is invalid");return i}},436503:function(t,e,i){"use strict";i.r(e)},768737:function(t,e,i){"use strict";i.r(e)},138440:function(t,e,i){"use strict";i.r(e)},875366:function(t,e,i){"use strict";i.r(e)},321557:function(t,e,i){"use strict";i.d(e,{Z:function(){return x}}),i(932651);var r=i(795233),n=i.n(r),s=i(22186),a=i.n(s),o=i(243392),h=i.n(o),c=i(101199),l=i(469935),u=i.n(l),p=i(622689),d=i.n(p),f=i(230720),m=i(556871);i(383454);var g=function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)0>e.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i};let v=m.UX.PREFIX;class x extends c.PureComponent{render(){let t;let{direction:e}=this.context,i=this.props,{count:r,dot:n,type:s,countClassName:o,countStyle:l,theme:p,position:d="rtl"===e?"leftTop":"rightTop",overflowCount:f,style:m,children:x,className:y}=i,b=g(i,["count","dot","type","countClassName","countStyle","theme","position","overflowCount","style","children","className"]),C=r&&!(h()(r)||a()(r)),k=null!=r,S=u()(o,{[`${v}-${s}`]:!C,[`${v}-${p}`]:!C,[`${v}-${d}`]:!!d&&!!x,[`${v}-block`]:!x,[`${v}-dot`]:n,[`${v}-count`]:!n&&!C&&k,[`${v}-custom`]:C});return t=h()(r)?f&&f<r?`${f}+`:`${r}`:r,c.createElement("span",Object.assign({className:u()(v,y)},b),x,c.createElement("span",{className:S,style:m||l,"x-semi-prop":"count"},n?null:t))}}x.contextType=f.Z,x.propTypes={count:d().node,dot:d().bool,type:d().oneOf(m.j2.TYPE_SET),theme:d().oneOf(m.j2.THEME_SET),position:d().oneOf(m.j2.POS_SET),overflowCount:d().number,style:d().object,className:d().string,children:d().node,onClick:d().func,onMouseEnter:d().func,onMouseLeave:d().func,countClassName:d().string,countStyle:d().object},x.defaultProps={dot:!1,type:"primary",theme:"solid",className:"",onClick:()=>n(),onMouseEnter:()=>n(),onMouseLeave:()=>n()}},497614:function(t,e,i){"use strict";i(932651),i(490629);var r=i(22186),n=i.n(r),s=i(285406),a=i.n(s),o=i(101199),h=i(622689),c=i.n(h),l=i(430329);i(83186);var u=i(821814),p=i(469935),d=i.n(p),f=i(151261),m=i(392129),g=i(739541),v=function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)0>e.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i};let x=l.U.PREFIX;class y extends o.PureComponent{render(){let t=this.props,{bordered:e,shadows:i,style:r,className:n}=t,s=v(t,["bordered","shadows","style","className"]),h=a()(s,["actions","bodyStyle","cover","headerExtraContent","footer","footerLine","footerStyle","header","headerLine","headerStyle","loading","title"]),c=d()(x,n,{[`${x}-bordered`]:e,[`${x}-shadows`]:i,[`${x}-shadows-${i}`]:i});return o.createElement("div",Object.assign({},h,{"aria-busy":this.props.loading,className:c,style:r}),this.renderHeader(),this.renderCover(),this.renderBody(),this.renderFooter())}constructor(){super(...arguments),this.renderHeader=()=>{let{title:t,headerExtraContent:e,header:i,headerLine:r,headerStyle:s}=this.props,a=d()(`${x}-header`,{[`${x}-header-bordered`]:!!r}),h=d()(`${x}-header-wrapper`),c=d()(`${x}-header-wrapper-title`,{[`${x}-header-wrapper-spacing`]:!!e});return i||e||t?o.createElement("div",{style:s,className:a},i||o.createElement("div",{className:h},e&&o.createElement("div",{className:`${x}-header-wrapper-extra`,"x-semi-prop":"headerExtraContent"},e),t&&o.createElement("div",{className:c},n()(t)?o.createElement(m.Z.Title,{heading:6,ellipsis:{showTooltip:!0,rows:1},"x-semi-prop":"title"},t):t))):null},this.renderCover=()=>{let{cover:t}=this.props,e=d()(`${x}-cover`);return t&&o.createElement("div",{className:e,"x-semi-prop":"cover"},t)},this.renderBody=()=>{let{bodyStyle:t,children:e,actions:i,loading:r}=this.props,n=d()(`${x}-body`),s=d()(`${x}-body-actions`),a=d()(`${x}-body-actions-item`),h=o.createElement("div",null,o.createElement(f.Z.Title,null),o.createElement("br",null),o.createElement(f.Z.Paragraph,{rows:3}));return o.createElement("div",{style:t,className:n},e&&o.createElement(f.Z,{placeholder:h,loading:r,active:!0},e),Array.isArray(i)&&o.createElement("div",{className:s},o.createElement(g.Z,{spacing:12},i.map((t,e)=>o.createElement("div",{key:e,className:a,"x-semi-prop":`actions.${e}`},t)))))},this.renderFooter=()=>{let{footer:t,footerLine:e,footerStyle:i}=this.props,r=d()(`${x}-footer`,{[`${x}-footer-bordered`]:e});return t&&o.createElement("div",{style:i,className:r,"x-semi-prop":"footer"},t)}}}y.Meta=u.Z,y.propTypes={actions:c().array,bodyStyle:c().object,bordered:c().bool,children:c().node,className:c().string,cover:c().node,footer:c().node,footerLine:c().bool,footerStyle:c().object,header:c().node,headerExtraContent:c().node,headerLine:c().bool,headerStyle:c().object,loading:c().bool,shadows:c().oneOf(l.j.SHADOWS),style:c().object,title:c().node,"aria-label":c().string},y.defaultProps={bordered:!0,footerLine:!1,headerLine:!0,loading:!1},e.Z=y},321499:function(t,e,i){"use strict";var r=i(101199),n=i(469935),s=i.n(n),a=i(764682),o=i(738169),h=i(597841),c=i(314215),l=i(228968);let{PREFIX_CHAT_BOX:u}=l.U,{ROLE:p,CHAT_ALIGN:d}=l.j,f=r.memo(t=>{let{message:e,lastChat:i,align:n,toast:l,mode:f,roleConfig:m,onMessageBadFeedback:g,onMessageGoodFeedback:v,onMessageCopy:x,onChatsChange:y,onMessageDelete:b,onMessageReset:C,chatBoxRenderConfig:k={},customMarkDownComponents:S,previousMessage:_,markdownRenderProps:w}=t,{renderChatBoxAvatar:E,renderChatBoxAction:I,renderChatBoxContent:P,renderChatBoxTitle:A,renderFullChatBox:L}=k,N=(0,r.useMemo)(()=>(null==e?void 0:e.role)===(null==_?void 0:_.role),[e.role,_]),T=(0,r.useMemo)(()=>{var t;let i={};return m&&(i=null!==(t=m[e.role])&&void 0!==t?t:{}),i},[e.role,m]),R=(0,r.useMemo)(()=>r.createElement(a.Z,{continueSend:N,role:T,message:e,customRenderFunc:E}),[T,e,E]),V=(0,r.useMemo)(()=>r.createElement(o.Z,{role:T,message:e,customRenderFunc:A}),[T,e,A]),O=(0,r.useMemo)(()=>r.createElement(h.Z,{mode:f,role:T,message:e,customMarkDownComponents:S,customRenderFunc:P,markdownRenderProps:w}),[e,T,P,f]),F=(0,r.useMemo)(()=>r.createElement(c.Z,{toast:l,role:T,message:e,lastChat:i,onMessageBadFeedback:g,onMessageCopy:x,onChatsChange:y,onMessageDelete:b,onMessageGoodFeedback:v,onMessageReset:C,customRenderFunc:I}),[e,T,i,g,v,x,y,b,C,I]),M=(0,r.useMemo)(()=>s()(u,{[`${u}-right`]:e.role===p.USER&&n===d.LEFT_RIGHT}),[e.role,n]);return"function"!=typeof L?r.createElement("div",{className:M},R,r.createElement("div",{className:`${u}-wrap`},!N&&V,O,F)):L({message:e,role:T,defaultNodes:{avatar:R,title:V,content:O,action:F},className:M})});e.Z=f},168947:function(t,e,i){"use strict";i.d(e,{Z:function(){return C}}),i(932651),i(490629),i(228983),i(759943),i(706056);var r=i(198412),n=i.n(r),s=i(101199),a=i(469935),o=i.n(a),h=i(622689),c=i.n(h),l=i(277030),u=i(109242),p=i(786202),d=i(109841),f=i(329206),m=i(491437),g=i(848202),v=i(426337),x=i(975044),y=i(231555),b=function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)0>e.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i};class C extends v.Z{get adapter(){var t=this;return Object.assign(Object.assign({},super.adapter),{updateIsFocusing:t=>this.setState({isFocusing:t}),notifyClick:function(){return t.props.onClick(...arguments)},notifyChange:function(){return t.props.onChange(...arguments)},notifyEnter:function(){return t.props.onEnterPress(...arguments)},notifyBlur:function(){return t.props.onBlur(...arguments)},notifyClear:function(){return t.props.onClear(...arguments)},notifyFocus:function(){return t.props.onFocus(...arguments)},notifyRangeInputClear:function(){return t.props.onRangeClear(...arguments)},notifyRangeInputFocus:function(){return t.props.onFocus(...arguments)},notifyTabPress:function(){return t.props.onRangeEndTabPress(...arguments)},notifyInsetInputChange:t=>this.props.onInsetInputChange(t)})}componentDidMount(){this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}formatText(t){return t&&t.length?this.foundation.formatShowText(t):""}renderRangePrefix(){let{prefix:t,insetLabel:e,prefixCls:i,disabled:r,rangeInputFocus:n}=this.props,a=t||e;return a?s.createElement("div",{className:`${i}-range-input-prefix`,onClick:t=>!r&&!n&&this.handleRangeStartFocus(t),"x-semi-prop":"prefix,insetLabel"},a):null}renderRangeSeparator(t,e){let{disabled:i,rangeSeparator:r}=this.props,n=o()({[`${u.UX.PREFIX}-range-input-separator`]:!0,[`${u.UX.PREFIX}-range-input-separator-active`]:(t||e)&&!i});return s.createElement("span",{onClick:t=>!i&&this.handleRangeStartFocus(t),className:n},r)}renderRangeClearBtn(t,e){let{showClear:i,prefixCls:r,disabled:n,clearIcon:a,showClearIgnoreDisabled:o}=this.props;return(t||e)&&i&&!(n&&!o)?s.createElement("div",{role:"button",tabIndex:0,"aria-label":"Clear range input value",className:`${r}-range-input-clearbtn`,onMouseDown:t=>this.handleRangeInputClear(t)},a||s.createElement(f.Z,{"aria-hidden":!0})):null}renderRangeSuffix(t){let{prefixCls:e,disabled:i,rangeInputFocus:r}=this.props;return t?s.createElement("div",{className:`${e}-range-input-suffix`,onClick:t=>!i&&!r&&this.handleRangeStartFocus(t)},t):null}renderRangeInput(t){let{placeholder:e,inputStyle:i,disabled:r,inputReadOnly:n,autofocus:a,size:h,text:c,suffix:l,inputCls:u,rangeInputStartRef:p,rangeInputEndRef:d,rangeInputFocus:f,prefixCls:m,rangeSeparator:g,borderless:v}=t,[y,b=""]=c.split(g)||[],C="large"===h?"default":"small",[k,S]=Array.isArray(e)?e:[e,e],_=o()(`${m}-range-input-wrapper-start`,`${m}-range-input-wrapper`,{[`${m}-range-input-wrapper-active`]:"rangeStart"===f&&!r,[`${m}-range-input-wrapper-start-with-prefix`]:this.props.prefix||this.props.insetLabel,[`${m}-borderless`]:v}),w=o()(`${m}-range-input-wrapper-end`,`${m}-range-input-wrapper`,{[`${m}-range-input-wrapper-active`]:"rangeEnd"===f&&!r,[`${m}-borderless`]:v});return s.createElement(s.Fragment,null,this.renderRangePrefix(),s.createElement("div",{onClick:t=>!r&&this.handleRangeInputFocus(t,"rangeStart"),className:`${u} ${_}`},s.createElement(x.Z,{borderless:v,size:C,style:i,disabled:r,readonly:n,placeholder:k,value:y,onChange:(t,e)=>this.handleRangeInputChange(t,b,e),onEnterPress:t=>this.handleRangeInputEnterPress(t,y,b),onFocus:t=>this.handleRangeInputFocus(t,"rangeStart"),autoFocus:a,ref:p})),this.renderRangeSeparator(y,b),s.createElement("div",{className:`${u} ${w}`,onClick:t=>!r&&this.handleRangeInputFocus(t,"rangeEnd")},s.createElement(x.Z,{borderless:v,size:C,style:i,disabled:r,readonly:n,placeholder:S,value:b,onChange:(t,e)=>this.handleRangeInputChange(y,t,e),onEnterPress:t=>this.handleRangeInputEnterPress(t,y,b),onFocus:t=>this.handleRangeInputFocus(t,"rangeEnd"),onKeyDown:this.handleRangeInputEndKeyPress,ref:d})),this.renderRangeClearBtn(y,b),this.renderRangeSuffix(l))}isRenderMultipleInputs(){let{type:t}=this.props;return t.includes("Range")&&"monthRange"!==t}renderInputInset(){let{type:t,handleInsetDateFocus:e,handleInsetTimeFocus:i,value:r,insetInputValue:a,prefixCls:o,rangeInputStartRef:h,rangeInputEndRef:c,density:l,insetInput:u}=this.props,p=this.foundation.getInsetInputValue({value:r,insetInputValue:a}),{dateStart:d,dateEnd:f,timeStart:m,timeEnd:g}=n()(u,"placeholder",{}),{datePlaceholder:v,timePlaceholder:x}=this.foundation.getInsetInputPlaceholder(),b=`${o}-inset-input-wrapper`,C=`${o}-inset-input-separator`;return s.createElement("div",{className:b,"x-type":t},s.createElement(y.E,{forwardRef:h,insetInputValue:p,placeholder:null!=d?d:v,valuePath:"monthLeft.dateInput",onChange:this.handleInsetInputChange,onFocus:t=>e(t,"rangeStart")}),s.createElement(y.F,{disabled:!p.monthLeft.dateInput,insetInputValue:p,placeholder:null!=m?m:x,type:t,valuePath:"monthLeft.timeInput",onChange:this.handleInsetInputChange,onFocus:i}),this.isRenderMultipleInputs()&&s.createElement(s.Fragment,null,s.createElement("div",{className:C},"compact"===l?null:"-"),s.createElement(y.E,{forwardRef:c,insetInputValue:p,placeholder:null!=f?f:v,valuePath:"monthRight.dateInput",onChange:this.handleInsetInputChange,onFocus:t=>e(t,"rangeEnd")}),s.createElement(y.F,{disabled:!p.monthRight.dateInput,insetInputValue:p,placeholder:null!=g?g:x,type:t,valuePath:"monthRight.timeInput",onChange:this.handleInsetInputChange,onFocus:i})))}renderTriggerInput(){let t=this.props,{placeholder:e,type:i,value:r,inputValue:n,inputStyle:a,disabled:h,showClear:c,inputReadOnly:l,insetLabel:u,validateStatus:p,block:f,prefixCls:v,multiple:y,dateFnsLocale:C,onBlur:k,onClear:S,onFocus:_,prefix:w,autofocus:E,size:I,inputRef:P,rangeInputStartRef:A,rangeInputEndRef:L,onRangeClear:N,onRangeBlur:T,onRangeEndTabPress:R,rangeInputFocus:V,rangeSeparator:O,insetInput:F,insetInputValue:M,defaultPickerValue:D,showClearIgnoreDisabled:j}=t,B=b(t,["placeholder","type","value","inputValue","inputStyle","disabled","showClear","inputReadOnly","insetLabel","validateStatus","block","prefixCls","multiple","dateFnsLocale","onBlur","onClear","onFocus","prefix","autofocus","size","inputRef","rangeInputStartRef","rangeInputEndRef","onRangeClear","onRangeBlur","onRangeEndTabPress","rangeInputFocus","rangeSeparator","insetInput","insetInputValue","defaultPickerValue","showClearIgnoreDisabled"]),U=s.createElement(m.Z,{"aria-hidden":!0}),H=s.createElement(g.Z,{"aria-hidden":!0}),Z=i.includes("Time")?H:U,W="";(0,d.Z)(n)?r&&(W=this.formatText(r)):W=n;let z=o()({[`${v}-input-readonly`]:l,[`${v}-monthRange-input`]:"monthRange"===i}),$=Object.assign(Object.assign({},this.props),{text:W,suffix:Z,inputCls:z});return this.isRenderMultipleInputs()?this.renderRangeInput($):s.createElement(x.Z,Object.assign({},B,{ref:P,insetLabel:u,disabled:h,showClearIgnoreDisabled:j,readonly:l,className:z,style:a,hideSuffix:c,placeholder:"monthRange"===i&&Array.isArray(e)?e[0]+O+e[1]:e,onEnterPress:this.handleEnterPress,onChange:this.handleChange,onClear:this.handleInputClear,suffix:Z,showClear:c,value:W,validateStatus:p,prefix:w,autoFocus:E,size:I,onBlur:k,onFocus:_}))}render(){let{insetInput:t}=this.props;return t?this.renderInputInset():this.renderTriggerInput()}constructor(t){super(t),this.handleChange=(t,e)=>this.foundation.handleChange(t,e),this.handleEnterPress=t=>this.foundation.handleInputComplete(t),this.handleInputClear=t=>this.foundation.handleInputClear(t),this.handleRangeInputChange=(t,e,i)=>{let r=this.getRangeInputValue(t,e);this.foundation.handleChange(r,i)},this.handleRangeInputClear=t=>{this.foundation.handleRangeInputClear(t)},this.handleRangeInputEnterPress=(t,e,i)=>{let r=this.getRangeInputValue(e,i);this.foundation.handleRangeInputEnterPress(t,r)},this.handleRangeInputEndKeyPress=t=>{this.foundation.handleRangeInputEndKeyPress(t)},this.handleRangeInputFocus=(t,e)=>{this.foundation.handleRangeInputFocus(t,e)},this.handleRangeStartFocus=t=>{this.handleRangeInputFocus(t,"rangeStart")},this.handleInsetInputChange=t=>{this.foundation.handleInsetInputChange(t)},this.getRangeInputValue=(t,e)=>{let{rangeSeparator:i}=this.props;return`${t}${i}${e}`},this.foundation=new l.Z(this.adapter)}}C.propTypes={borderless:c().bool,onClick:c().func,onChange:c().func,onEnterPress:c().func,onBlur:c().func,onClear:c().func,onFocus:c().func,value:c().array,disabled:c().bool,type:c().oneOf(u.j2.TYPE_SET),showClear:c().bool,format:c().string,inputStyle:c().object,inputReadOnly:c().bool,insetLabel:c().node,validateStatus:c().string,prefix:c().node,prefixCls:c().string,dateFnsLocale:c().object.isRequired,placeholder:c().oneOfType([c().string,c().array]),rangeInputFocus:c().oneOfType([c().string,c().bool]),rangeInputStartRef:c().object,rangeInputEndRef:c().object,rangeSeparator:c().string,insetInput:c().oneOfType([c().bool,c().object]),insetInputValue:c().object,defaultPickerValue:c().oneOfType([c().string,c().number,c().object,c().array])},C.defaultProps={borderless:!1,showClear:!0,onClick:p.Z,onChange:p.Z,onEnterPress:p.Z,onBlur:p.Z,onClear:p.Z,onFocus:p.Z,type:"date",inputStyle:{},inputReadOnly:!1,prefixCls:u.UX.PREFIX,rangeSeparator:u.j2.DEFAULT_SEPARATOR_RANGE}},863648:function(t,e,i){"use strict";i.d(e,{A:function(){return x}}),i(932651),i(490629),i(679308);var r=i(101199),n=i(469935),s=i.n(n),a=i(622689),o=i.n(a),h=i(7982);i(356297);var c=i(192815),l=i(57732),u=function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)0>e.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i};let p={Header:"header",Footer:"footer",Content:"main",Layout:"section"};function d(t){let e=p[t],i=t.toLowerCase();return t=>{class n extends r.PureComponent{render(){return r.createElement(t,Object.assign({role:this.props.role,"aria-label":this.props["aria-label"],type:i,tagName:e},this.props))}}return n}}class f extends r.PureComponent{render(){let t=this.props,{prefixCls:e,type:i,className:n,children:a,tagName:o}=t,h=u(t,["prefixCls","type","className","children","tagName"]),c=s()(n,`${e}-${i}`);return r.createElement(o,Object.assign({className:c},h),a)}}f.propTypes={prefixCls:o().string,style:o().object,className:o().string},f.defaultProps={prefixCls:h.U.PREFIX};let m=d("Header")(f),g=d("Footer")(f),v=d("Content")(f);class x extends r.Component{getSiderHook(){return{addSider:t=>{this.setState(e=>({siders:[...e.siders,t]}))},removeSider:t=>{this.setState(e=>({siders:e.siders.filter(e=>e!==t)}))}}}render(){let t=this.props,{prefixCls:e,className:i,children:n,hasSider:a,tagName:o}=t,h=u(t,["prefixCls","className","children","hasSider","tagName"]),{siders:l}=this.state,p=s()(i,e,{[`${e}-has-sider`]:"boolean"==typeof a&&a||l.length>0||r.Children.toArray(n).some(t=>r.isValidElement(t)&&t.type&&"Layout.Sider"===t.type.elementType)});return r.createElement(c.Z.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(o,Object.assign({className:p},h),n))}constructor(t){super(t),this.state={siders:[]}}}x.propTypes={prefixCls:o().string,style:o().object,className:o().string},x.defaultProps={prefixCls:h.U.PREFIX,tagName:"section"},x.Header=m,x.Footer=g,x.Content=v,x.Sider=l.Z},753991:function(t,e,i){"use strict";i(932651),i(228983),i(759943),i(374954),i(490629);var r=i(795233),n=i.n(r),s=i(101199),a=i(469935),o=i.n(a),h=i(622689),c=i.n(h),l=i(27254);i(607981);var u=i(209873),p=i(6793),d=i(219311),f=i(180007),m=i(669123),g=i(426337),v=function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)0>e.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i};let x=l.U.PREFIX;class y extends g.Z{wrapChildren(t,e){let{grid:i}=this.props;if(i){let r={};return["align","gutter","justify","type"].forEach(t=>{t in i&&(r[t]=i[t])}),s.createElement(d.Z,Object.assign({type:"flex"},r),t||null,e)}return s.createElement("ul",{className:`${x}-items`},t||null,e)}render(){let t;let e=this.props,{style:i,className:r,header:n,loading:a,onRightClick:h,onClick:c,footer:u,layout:p,grid:d,size:g,split:y,loadMore:b,bordered:C,dataSource:k,renderItem:S,children:_}=e,w=v(e,["style","className","header","loading","onRightClick","onClick","footer","layout","grid","size","split","loadMore","bordered","dataSource","renderItem","children"]),E=o()(x,r,{[`${x}-flex`]:"horizontal"===p,[`${x}-${g}`]:g,[`${x}-grid`]:d,[`${x}-split`]:y,[`${x}-bordered`]:C});if(k&&k.length){t=[];let e=S?k.map((t,e)=>S(t,e)):[];s.Children.forEach(e,(e,i)=>{let r=e.key||`list-item-${i}`;t.push(s.cloneElement(e,{key:r}))})}else!_&&(t=this.renderEmpty());return s.createElement("div",Object.assign({className:E,style:i},this.getDataAttr(w)),n?s.createElement("div",{className:`${l.U.PREFIX}-header`,"x-semi-prop":"header"},n):null,s.createElement(m.Z.Provider,{value:{grid:d,onRightClick:h,onClick:c}},s.createElement(f.Z,{spinning:a,size:"large"},this.wrapChildren(t,_))),u?s.createElement("div",{className:`${l.U.PREFIX}-footer`,"x-semi-prop":"footer"},u):null,b||null)}constructor(){super(...arguments),this.renderEmpty=()=>{let{emptyContent:t}=this.props;return t?s.createElement("div",{className:`${l.U.PREFIX}-empty`,"x-semi-prop":"emptyContent"},t):s.createElement(u.Z,{componentName:"List"},t=>s.createElement("div",{className:`${l.U.PREFIX}-empty`},t.emptyText))}}}y.Item=p.Z,y.propTypes={style:c().object,className:c().string,bordered:c().bool,footer:c().node,header:c().node,layout:c().oneOf(l.j.LAYOUT),size:c().oneOf(l.j.SIZE),split:c().bool,emptyContent:c().node,dataSource:c().array,renderItem:c().func,grid:c().object,loading:c().bool,loadMore:c().node,onRightClick:c().func,onClick:c().func},y.defaultProps={bordered:!1,split:!0,loading:!1,layout:"vertical",size:"default",onRightClick:n(),onClick:n()},e.Z=y},882295:function(t,e,i){"use strict";i(932651);var r=i(101199),n=i(392129);e.Z=t=>r.createElement(n.Z.Text,Object.assign({link:Object.assign({},t)},t))},573105:function(t,e,i){"use strict";let r=i(101199).createContext({});e.Z=r},445083:function(t,e,i){"use strict";i.d(e,{l:function(){return s}});var r=i(480333),n=i(906331);class s{do(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!t)return;let s=t.currentTime,a=0;if(this._prevCurrentTime===s){let o=n.l.info(n.l.get(t),s);if(!o.buffers.length)return;i&&o.nextStart||o.nextStart&&o.nextStart-s<e?a=o.nextStart+.1:o.end&&o.end-s>r&&!t.seeking&&(a=s+.1)}this._prevCurrentTime=s,a&&s!==a&&(t.currentTime=a)}constructor(){(0,r._)(this,"_prevCurrentTime",0)}}},681325:function(t,e,i){"use strict";i.d(e,{Z:function(){return m}}),i(932651),i(490629);var r=i(22186),n=i.n(r),s=i(243392),a=i.n(s),o=i(390063),h=i.n(o),c=i(795233),l=i.n(c),u=i(856445),p=i(238550),d=i(224596),f=i(850672);class m extends u.Z{static get textAreaDefaultAdapter(){return{notifyChange:l(),setValue:l(),toggleFocusing:l(),toggleHovering:l(),notifyFocus:l(),notifyBlur:l(),notifyKeyDown:l(),notifyEnterPress:l()}}destroy(){}handleValueChange(t){this._adapter.setValue(t)}handleChange(t,e){let{maxLength:i,minLength:r,getValueLength:n}=this._adapter.getProps(),s=t;i&&h()(n)&&(s=this.handleVisibleMaxLength(t)),r&&h()(n)&&this.handleVisibleMinLength(s),this._isControlledComponent()||this._adapter.setValue(s),this._adapter.notifyChange(s,e)}handleVisibleMinLength(t){let{minLength:e,getValueLength:i}=this._adapter.getProps(),{minLength:r}=this._adapter.getStates();if(a()(e)&&e>=0&&h()(i)&&n()(t)){let n=i(t);if(n<e){let i=t.length+(e-n);i!==r&&this._adapter.setMinLength(i)}else r!==e&&this._adapter.setMinLength(e)}}handleVisibleMaxLength(t){let{maxLength:e,getValueLength:i}=this._adapter.getProps();if(a()(e)&&e>=0&&n()(t)){if(h()(i)){if(i(t)>e)return this.handleTruncateValue(t,e)}else if(t.length>e)return t.slice(0,e);return t}}handleTruncateValue(t,e){let{getValueLength:i}=this._adapter.getProps();return(0,f.Z)({value:t,maxLength:e,getValueLength:i})}handleFocus(t){let{value:e}=this.getStates();this._adapter.toggleFocusing(!0),this._adapter.notifyFocus(e,t)}handleBlur(t){let{value:e}=this.getStates(),{maxLength:i}=this.getProps(),r=e;i&&(r=this.handleVisibleMaxLength(e))!==e&&(!this._isControlledComponent()&&this._adapter.setValue(r),this._adapter.notifyChange(r,t)),this._adapter.toggleFocusing(!1),this._adapter.notifyBlur(r,t)}handleKeyDown(t){let{disabledEnterStartNewLine:e}=this.getProps();e&&"Enter"===t.key&&!t.shiftKey&&t.preventDefault(),this._adapter.notifyKeyDown(t),13===t.keyCode&&this._adapter.notifyPressEnter(t)}handleMouseEnter(t){this._adapter.toggleHovering(!0)}handleMouseLeave(t){this._adapter.toggleHovering(!1)}isAllowClear(){let{value:t,isFocus:e,isHover:i}=this._adapter.getStates(),{showClear:r,disabled:n,readonly:s}=this._adapter.getProps();return t&&r&&!n&&(e||i)&&!s}handleClear(t){let{isFocus:e}=this.getStates();this._isControlledComponent("value")?this._adapter.setState({isFocus:!1}):this._adapter.setState({value:"",isFocus:!1}),e&&this._adapter.notifyBlur("",t),this._adapter.notifyChange("",t),this._adapter.notifyClear(t),this.stopPropagation(t)}constructor(t){super(Object.assign(Object.assign({},m.textAreaDefaultAdapter),t)),this.resizeTextarea=()=>{var t;let{height:e}=this.getStates(),{rows:i,autosize:r}=this.getProps(),n=this._adapter.getRef(),s=(0,d.Z)(n);if(!s)return;let[a,o]=null!==r&&"object"==typeof r?[null!==(t=null==r?void 0:r.minRows)&&void 0!==t?t:i,null==r?void 0:r.maxRows]:[i],h=(0,p.Z)(s,n.value||n.placeholder||"x",a,o);if(e!==h){this._adapter.notifyHeightUpdate(h),n.style.height=`${h}px`;return}}}}},516784:function(t,e,i){"use strict";function r(t,e){if(t===e)return!0;if(!t||!e)return!1;let i=Object.keys(t),r=Object.keys(e),n=i.length;if(r.length!==n)return!1;for(let r=0;r<n;r++){let n=i[r];if(t[n]!==e[n]||!Object.prototype.hasOwnProperty.call(e,n))return!1}return!0}i.d(e,{Z:function(){return r}})},756863:function(t,e,i){"use strict";i.d(e,{Q:function(){return f}}),i(490629);var r=i(320165),n=i(509608),s=i(693653),a=i(705998),o=i(101199),h=i(541156);i(14790);var c=i(772767),l=i(505311);let u="douyin-player-mini",p=["width","height","left","top"],d=(0,o.forwardRef)((t,e)=>{let{playerRef:i,el:s}=(0,o.useContext)(n.E),d=(0,o.useRef)({mini:!1,style:{}}),f=(0,a.DM)(()=>{if(!!d.current.mini){for(let t of(d.current.mini=!1,s.classList.remove(u),p))s.style[t]=d.current.style[t];d.current.style={},i.current.emit("mini_state_change",{isPip:!1})}});(0,o.useImperativeHandle)(e,()=>({getMini(){if(d.current.mini)return!0;for(let t of(d.current.mini=!0,p))d.current.style[t]=s.style[t];s.classList.add(u);let{width:e=320,height:r=180,left:n=window.innerWidth-e-20,top:a=window.innerHeight-r-20}=t;s.style.height=r+"px",s.style.width=e+"px",s.style.left=n+"px",s.style.top=a+"px",i.current.emit("mini_state_change",{isPip:!0})},exitMini:f}),[]);let m=(0,a.DM)(()=>{i.current.play()}),g=(0,a.DM)(()=>{i.current.pause()});return(0,r.jsxs)("div",{className:"douyin-player-mini-layer",children:[(0,r.jsx)("div",{className:"mini-cancel-btn",children:(0,r.jsx)(h.Z,{onClick:f})}),(0,r.jsxs)("div",{className:"play-icon",children:[(0,r.jsx)(l.Z,{className:"douyin-player-icon-play",onClick:m}),(0,r.jsx)(c.Z,{className:"douyin-player-icon-pause",onClick:g})]})]})}),f=(0,s.n)(d,!0)},427597:function(t,e,i){"use strict";i(679308),i.e("72327").then(i.bind(i,136141)),i.e("72327").then(i.bind(i,522573)),i.e("72327").then(i.bind(i,735608)),i.e("72327").then(i.bind(i,825710)),i.e("72327").then(i.bind(i,671195)),i.e("72327").then(i.bind(i,66425)),i.e("72327").then(i.bind(i,787831)),i.e("72327").then(i.bind(i,595980)),i.e("72327").then(i.bind(i,619619)),i.e("72327").then(i.bind(i,138440)),i.e("72327").then(i.bind(i,915669)),i.e("72327").then(i.bind(i,571508)),i.e("72327").then(i.bind(i,869275)),i.e("72327").then(i.bind(i,26604)),i.e("72327").then(i.bind(i,415134)),i.e("72327").then(i.bind(i,945173)),i.e("72327").then(i.bind(i,621401)),i.e("72327").then(i.bind(i,695755)),i.e("72327").then(i.bind(i,526317)),i.e("72327").then(i.bind(i,530266)),i.e("72327").then(i.bind(i,586441)),i.e("72327").then(i.bind(i,983190)),i.e("72327").then(i.bind(i,304495)),i.e("72327").then(i.bind(i,310443)),i.e("72327").then(i.bind(i,105345)),i.e("72327").then(i.bind(i,180388)),i.e("72327").then(i.bind(i,766903)),i.e("72327").then(i.bind(i,364759)),i.e("72327").then(i.bind(i,631214)),i.e("72327").then(i.bind(i,24913)),i.e("72327").then(i.bind(i,893933)),i.e("72327").then(i.bind(i,140939)),i.e("72327").then(i.bind(i,524491)),i.e("72327").then(i.bind(i,315659)),i.e("72327").then(i.bind(i,51600)),i.e("72327").then(i.bind(i,522030)),i.e("72327").then(i.bind(i,865525)),i.e("72327").then(i.bind(i,593870)),i.e("72327").then(i.bind(i,130289)),i.e("72327").then(i.bind(i,497409)),i.e("72327").then(i.bind(i,631056)),i.e("72327").then(i.bind(i,588386)),i.e("72327").then(i.bind(i,93458)),i.e("72327").then(i.bind(i,225479)),i.e("72327").then(i.bind(i,769591)),i.e("72327").then(i.bind(i,124653))},887478:function(t,e,i){"use strict";i(679308),i.e("78501").then(i.bind(i,39706))},890192:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});var r=i(110616);function n(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?(0,r.Z)(t,e):void 0}}},222072:function(t,e,i){"use strict";i.d(e,{_b:function(){return W}});var r=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,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,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],n=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,20,1,64,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],s="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",a={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"},o="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",h={5:o,"5module":o+" export import",6:o+" const class extends export import super"},c=/^in(stanceof)?$/,l=RegExp("["+s+"]"),u=RegExp("["+s+"\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--9_・]");function p(t,e){for(var i=65536,r=0;r<e.length&&!((i+=e[r])>t);r+=2){;if((i+=e[r+1])>=t)return!0}return!1}function d(t,e){return t<65?36===t:!!(t<91)||(t<97?95===t:!!(t<123)||(t<=65535?t>=170&&l.test(String.fromCharCode(t)):!1!==e&&p(t,n)))}function f(t,e){return t<48?36===t:!!(t<58)||!(t<65)&&(!!(t<91)||(t<97?95===t:!!(t<123)||(t<=65535?t>=170&&u.test(String.fromCharCode(t)):!1!==e&&(p(t,n)||p(t,r)))))}var m=function(t,e){void 0===e&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function g(t,e){return new m(t,{beforeExpr:!0,binop:e})}var v={beforeExpr:!0},x={startsExpr:!0},y={};function b(t,e){return void 0===e&&(e={}),e.keyword=t,y[t]=new m(t,e)}var C={num:new m("num",x),regexp:new m("regexp",x),string:new m("string",x),name:new m("name",x),privateId:new m("privateId",x),eof:new m("eof"),bracketL:new m("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new m("]"),braceL:new m("{",{beforeExpr:!0,startsExpr:!0}),braceR:new m("}"),parenL:new m("(",{beforeExpr:!0,startsExpr:!0}),parenR:new m(")"),comma:new m(",",v),semi:new m(";",v),colon:new m(":",v),dot:new m("."),question:new m("?",v),questionDot:new m("?."),arrow:new m("=>",v),template:new m("template"),invalidTemplate:new m("invalidTemplate"),ellipsis:new m("...",v),backQuote:new m("`",x),dollarBraceL:new m("${",{beforeExpr:!0,startsExpr:!0}),eq:new m("=",{beforeExpr:!0,isAssign:!0}),assign:new m("_=",{beforeExpr:!0,isAssign:!0}),incDec:new m("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new m("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("</>/<=/>=",7),bitShift:g("<</>>/>>>",8),plusMin:new m("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new m("**",{beforeExpr:!0}),coalesce:g("??",1),_break:b("break"),_case:b("case",v),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",v),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",v),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",x),_if:b("if"),_return:b("return",v),_switch:b("switch"),_throw:b("throw",v),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",x),_super:b("super",x),_class:b("class",x),_extends:b("extends",v),_export:b("export"),_import:b("import",x),_null:b("null",x),_true:b("true",x),_false:b("false",x),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},k=/\r\n?|\n|\u2028|\u2029/,S=RegExp(k.source,"g");function _(t){return 10===t||13===t||8232===t||8233===t}function w(t,e,i){void 0===i&&(i=t.length);for(var r=e;r<i;r++){var n=t.charCodeAt(r);if(_(n))return r<i-1&&13===n&&10===t.charCodeAt(r+1)?r+2:r+1}return -1}var E=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,I=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,P=Object.prototype,A=P.hasOwnProperty,L=P.toString,N=Object.hasOwn||function(t,e){return A.call(t,e)},T=Array.isArray||function(t){return"[object Array]"===L.call(t)},R=Object.create(null);function V(t){return R[t]||(R[t]=RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function O(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,(1023&t)+56320)}var F=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,M=function(t,e){this.line=t,this.column=e};M.prototype.offset=function(t){return new M(this.line,this.column+t)};var D=function(t,e,i){this.start=e,this.end=i,null!==t.sourceFile&&(this.source=t.sourceFile)};function j(t,e){for(var i=1,r=0;;){var n=w(t,r,e);if(n<0)return new M(i,e-r);++i,r=n}}var B={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},U=!1,H=259;function Z(t,e){return 2|(t?4:0)|(e?8:0)}var W=function(t,e,i){this.options=t=function(t){var e={};for(var i in B)e[i]=t&&N(t,i)?t[i]:B[i];if("latest"===e.ecmaVersion?e.ecmaVersion=1e8:null==e.ecmaVersion?(!U&&"object"==typeof console&&console.warn&&(U=!0),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),(!t||null==t.allowHashBang)&&(e.allowHashBang=e.ecmaVersion>=14),T(e.onToken)){var r=e.onToken;e.onToken=function(t){return r.push(t)}}return T(e.onComment)&&(e.onComment=function(t,e){return function(i,r,n,s,a,o){var h={type:i?"Block":"Line",value:r,start:n,end:s};t.locations&&(h.loc=new D(this,a,o)),t.ranges&&(h.range=[n,s]),e.push(h)}}(e,e.onComment)),e}(t),this.sourceFile=t.sourceFile,this.keywords=V(h[t.ecmaVersion>=6?6:"module"===t.sourceType?"5module":5]);var r="";!0!==t.allowReserved&&(r=a[t.ecmaVersion>=6?6:5===t.ecmaVersion?5:3],"module"===t.sourceType&&(r+=" await")),this.reservedWords=V(r);var n=(r?r+" ":"")+a.strict;this.reservedWordsStrict=V(n),this.reservedWordsStrictBind=V(n+" "+a.strictBind),this.input=String(e),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(k).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=C.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"===t.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&&t.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},z={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};W.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},z.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},z.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},z.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},z.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t].flags;if(768&e)return!1;if(2&e)return(4&e)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},z.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},z.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},z.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},z.allowNewDotTarget.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t].flags;if(768&e||2&e&&!(16&e))return!0}return!1},z.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},W.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var i=this,r=0;r<t.length;r++)i=t[r](i);return i},W.parse=function(t,e){return new this(e,t).parse()},W.parseExpressionAt=function(t,e,i){var r=new this(i,t,e);return r.nextToken(),r.parseExpression()},W.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(W.prototype,z);var $=W.prototype,q=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;$.strictDirective=function(t){if(this.options.ecmaVersion<5)return!1;for(;;){I.lastIndex=t,t+=I.exec(this.input)[0].length;var e=q.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2])){I.lastIndex=t+e[0].length;var i=I.exec(this.input),r=i.index+i[0].length,n=this.input.charAt(r);return";"===n||"}"===n||k.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||"!"===n&&"="===this.input.charAt(r+1))}t+=e[0].length,I.lastIndex=t,t+=I.exec(this.input)[0].length,";"===this.input[t]&&t++}},$.eat=function(t){return this.type===t&&(this.next(),!0)},$.isContextual=function(t){return this.type===C.name&&this.value===t&&!this.containsEsc},$.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},$.expectContextual=function(t){!this.eatContextual(t)&&this.unexpected()},$.canInsertSemicolon=function(){return this.type===C.eof||this.type===C.braceR||k.test(this.input.slice(this.lastTokEnd,this.start))},$.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},$.semicolon=function(){!this.eat(C.semi)&&!this.insertSemicolon()&&this.unexpected()},$.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),!e&&this.next(),!0},$.expect=function(t){this.eat(t)||this.unexpected()},$.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")};var G=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$.checkPatternErrors=function(t,e){if(!!t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var i=e?t.parenthesizedAssign:t.parenthesizedBind;i>-1&&this.raiseRecoverable(i,e?"Assigning to rvalue":"Parenthesized pattern")}},$.checkExpressionErrors=function(t,e){if(!t)return!1;var i=t.shorthandAssign,r=t.doubleProto;if(!e)return i>=0||r>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},$.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},$.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var X=W.prototype;X.parseTopLevel=function(t){var e=Object.create(null);for(!t.body&&(t.body=[]);this.type!==C.eof;){var i=this.parseStatement(null,!0,e);t.body.push(i)}if(this.inModule)for(var r=0,n=Object.keys(this.undefinedExports);r<n.length;r+=1){var s=n[r];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var K={kind:"loop"},Y={kind:"switch"};X.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;I.lastIndex=this.pos;var e=I.exec(this.input),i=this.pos+e[0].length,r=this.input.charCodeAt(i);if(91===r||92===r)return!0;if(t)return!1;if(123===r||r>55295&&r<56320)return!0;if(d(r,!0)){for(var n=i+1;f(r=this.input.charCodeAt(n),!0);)++n;if(92===r||r>55295&&r<56320)return!0;var s=this.input.slice(i,n);if(!c.test(s))return!0}return!1},X.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;I.lastIndex=this.pos;var t=I.exec(this.input),e,i=this.pos+t[0].length;return!k.test(this.input.slice(this.pos,i))&&"function"===this.input.slice(i,i+8)&&(i+8===this.input.length||!(f(e=this.input.charCodeAt(i+8))||e>55295&&e<56320))},X.parseStatement=function(t,e,i){var r,n=this.type,s=this.startNode();switch(this.isLet(t)&&(n=C._var,r="let"),n){case C._break:case C._continue:return this.parseBreakContinueStatement(s,n.keyword);case C._debugger:return this.parseDebuggerStatement(s);case C._do:return this.parseDoStatement(s);case C._for:return this.parseForStatement(s);case C._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!t);case C._class:return t&&this.unexpected(),this.parseClass(s,!0);case C._if:return this.parseIfStatement(s);case C._return:return this.parseReturnStatement(s);case C._switch:return this.parseSwitchStatement(s);case C._throw:return this.parseThrowStatement(s);case C._try:return this.parseTryStatement(s);case C._const:case C._var:return r=r||this.value,t&&"var"!==r&&this.unexpected(),this.parseVarStatement(s,r);case C._while:return this.parseWhileStatement(s);case C._with:return this.parseWithStatement(s);case C.braceL:return this.parseBlock(!0,s);case C.semi:return this.parseEmptyStatement(s);case C._export:case C._import:if(this.options.ecmaVersion>10&&n===C._import){I.lastIndex=this.pos;var a=I.exec(this.input),o=this.pos+a[0].length,h=this.input.charCodeAt(o);if(40===h||46===h)return this.parseExpressionStatement(s,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(!e&&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'")),n===C._import?this.parseImport(s):this.parseExport(s,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!t);var c=this.value,l=this.parseExpression();if(n===C.name&&"Identifier"===l.type&&this.eat(C.colon))return this.parseLabeledStatement(s,c,l,t);return this.parseExpressionStatement(s,l)}},X.parseBreakContinueStatement=function(t,e){var i="break"===e;this.next(),this.eat(C.semi)||this.insertSemicolon()?t.label=null:this.type!==C.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var n=this.labels[r];if((null==t.label||n.name===t.label.name)&&(null!=n.kind&&(i||"loop"===n.kind)||t.label&&i))break}return r===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,i?"BreakStatement":"ContinueStatement")},X.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},X.parseDoStatement=function(t){return this.next(),this.labels.push(K),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(C._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(C.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},X.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(K),this.enterScope(0),this.expect(C.parenL),this.type===C.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var i=this.isLet();if(this.type===C._var||this.type===C._const||i){var r=this.startNode(),n=i?"let":this.value;return(this.next(),this.parseVar(r,!0,n),this.finishNode(r,"VariableDeclaration"),(this.type===C._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length)?(this.options.ecmaVersion>=9&&(this.type===C._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,r)):(e>-1&&this.unexpected(e),this.parseFor(t,r))}var s=this.isContextual("let"),a=!1,o=this.containsEsc,h=new G,c=this.start,l=e>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(!0,h);return this.type===C._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(e>-1?(this.type===C._in&&this.unexpected(e),t.await=!0):a&&this.options.ecmaVersion>=8&&(l.start!==c||o||"Identifier"!==l.type||"async"!==l.name?this.options.ecmaVersion>=9&&(t.await=!1):this.unexpected()),s&&a&&this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(l,!1,h),this.checkLValPattern(l),this.parseForIn(t,l)):(this.checkExpressionErrors(h,!0),e>-1&&this.unexpected(e),this.parseFor(t,l))},X.parseFunctionStatement=function(t,e,i){return this.next(),this.parseFunction(t,J|(i?0:tt),!1,e)},X.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(C._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},X.parseReturnStatement=function(t){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(C.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},X.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(C.braceL),this.labels.push(Y),this.enterScope(0);for(var e,i=!1;this.type!==C.braceR;)if(this.type===C._case||this.type===C._default){var r=this.type===C._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),r?e.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(C.colon)}else!e&&this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},X.parseThrowStatement=function(t){return this.next(),k.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var Q=[];X.parseCatchClauseParam=function(){var t=this.parseBindingAtom(),e="Identifier"===t.type;return this.enterScope(e?32:0),this.checkLValPattern(t,e?4:2),this.expect(C.parenR),t},X.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===C._catch){var e=this.startNode();this.next(),this.eat(C.parenL)?e.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0)),e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(C._finally)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},X.parseVarStatement=function(t,e,i){return this.next(),this.parseVar(t,!1,e,i),this.semicolon(),this.finishNode(t,"VariableDeclaration")},X.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(K),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},X.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},X.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},X.parseLabeledStatement=function(t,e,i,r){for(var n=0,s=this.labels;n<s.length;n+=1)s[n].name===e&&this.raise(i.start,"Label '"+e+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===C._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var h=this.labels[o];if(h.statementStart===t.start)h.statementStart=this.start,h.kind=a;else break}return this.labels.push({name:e,kind:a,statementStart:this.start}),t.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")},X.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},X.parseBlock=function(t,e,i){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(C.braceL),t&&this.enterScope(0);this.type!==C.braceR;){var r=this.parseStatement(null);e.body.push(r)}return i&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(e,"BlockStatement")},X.parseFor=function(t,e){return t.init=e,this.expect(C.semi),t.test=this.type===C.semi?null:this.parseExpression(),this.expect(C.semi),t.update=this.type===C.parenR?null:this.parseExpression(),this.expect(C.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},X.parseForIn=function(t,e){var i=this.type===C._in;return this.next(),"VariableDeclaration"===e.type&&null!=e.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==e.kind||"Identifier"!==e.declarations[0].id.type)&&this.raise(e.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(C.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")},X.parseVar=function(t,e,i,r){for(t.declarations=[],t.kind=i;;){var n=this.startNode();if(this.parseVarId(n,i),this.eat(C.eq)?n.init=this.parseMaybeAssign(e):r||"const"!==i||this.type===C._in||this.options.ecmaVersion>=6&&this.isContextual("of")?r||"Identifier"===n.id.type||e&&(this.type===C._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(C.comma))break}return t},X.parseVarId=function(t,e){t.id=this.parseBindingAtom(),this.checkLValPattern(t.id,"var"===e?1:2,!1)};var J=1,tt=2;X.parseFunction=function(t,e,i,r,n){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===C.star&&e&tt&&this.unexpected(),t.generator=this.eat(C.star)),this.options.ecmaVersion>=8&&(t.async=!!r),e&J&&(t.id=4&e&&this.type!==C.name?null:this.parseIdent(),t.id&&!(e&tt)&&this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?1:2:3));var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Z(t.async,t.generator)),!(e&J)&&(t.id=this.type===C.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1,n),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(t,e&J?"FunctionDeclaration":"FunctionExpression")},X.parseFunctionParams=function(t){this.expect(C.parenL),t.params=this.parseBindingList(C.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},X.parseClass=function(t,e){this.next();var i=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var r=this.enterClassBody(),n=this.startNode(),s=!1;for(n.body=[],this.expect(C.braceL);this.type!==C.braceR;){var a=this.parseClassElement(null!==t.superClass);a&&(n.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&"PrivateIdentifier"===a.key.type&&function(t,e){var i=e.key.name,r=t[i],n="true";return("MethodDefinition"===e.type&&("get"===e.kind||"set"===e.kind)&&(n=(e.static?"s":"i")+e.kind),"iget"===r&&"iset"===n||"iset"===r&&"iget"===n||"sget"===r&&"sset"===n||"sset"===r&&"sget"===n)?(t[i]="true",!1):!!r||(t[i]=n,!1)}(r,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=i,this.next(),t.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},X.parseClassElement=function(t){if(this.eat(C.semi))return null;var e=this.options.ecmaVersion,i=this.startNode(),r="",n=!1,s=!1,a="method",o=!1;if(this.eatContextual("static")){if(e>=13&&this.eat(C.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===C.star?o=!0:r="static"}if(i.static=o,!r&&e>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===C.star)&&!this.canInsertSemicolon()?s=!0:r="async"),!r&&(e>=9||!s)&&this.eat(C.star)&&(n=!0),!r&&!s&&!n){var h=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=h:r=h)}if(r?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=r,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),e<13||this.type===C.parenL||"method"!==a||n||s){var c=!i.static&&te(i,"constructor");c&&"method"!==a&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=c?"constructor":a,this.parseClassMethod(i,n,s,c&&t)}else this.parseClassField(i);return i},X.isClassElementNameStart=function(){return this.type===C.name||this.type===C.privateId||this.type===C.num||this.type===C.string||this.type===C.bracketL||this.type.keyword},X.parseClassElementName=function(t){this.type===C.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),t.computed=!1,t.key=this.parsePrivateIdent()):this.parsePropertyName(t)},X.parseClassMethod=function(t,e,i,r){var n=t.key;"constructor"===t.kind?(e&&this.raise(n.start,"Constructor can't be a generator"),i&&this.raise(n.start,"Constructor can't be an async method")):t.static&&te(t,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var s=t.value=this.parseMethod(e,i,r);return"get"===t.kind&&0!==s.params.length&&this.raiseRecoverable(s.start,"getter should have no params"),"set"===t.kind&&1!==s.params.length&&this.raiseRecoverable(s.start,"setter should have exactly one param"),"set"===t.kind&&"RestElement"===s.params[0].type&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(t,"MethodDefinition")},X.parseClassField=function(t){return te(t,"constructor")?this.raise(t.key.start,"Classes can't have a field named 'constructor'"):t.static&&te(t,"prototype")&&this.raise(t.key.start,"Classes can't have a static field named 'prototype'"),this.eat(C.eq)?(this.enterScope(576),t.value=this.parseMaybeAssign(),this.exitScope()):t.value=null,this.semicolon(),this.finishNode(t,"PropertyDefinition")},X.parseClassStaticBlock=function(t){t.body=[];var e=this.labels;for(this.labels=[],this.enterScope(320);this.type!==C.braceR;){var i=this.parseStatement(null);t.body.push(i)}return this.next(),this.exitScope(),this.labels=e,this.finishNode(t,"StaticBlock")},X.parseClassId=function(t,e){this.type===C.name?(t.id=this.parseIdent(),e&&this.checkLValSimple(t.id,2,!1)):(!0===e&&this.unexpected(),t.id=null)},X.parseClassSuper=function(t){t.superClass=this.eat(C._extends)?this.parseExprSubscripts(null,!1):null},X.enterClassBody=function(){var t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared},X.exitClassBody=function(){var t=this.privateNameStack.pop(),e=t.declared,i=t.used;if(!!this.options.checkPrivateFields)for(var r=this.privateNameStack.length,n=0===r?null:this.privateNameStack[r-1],s=0;s<i.length;++s){var a=i[s];!N(e,a.name)&&(n?n.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}};function te(t,e){var i=t.computed,r=t.key;return!i&&("Identifier"===r.type&&r.name===e||"Literal"===r.type&&r.value===e)}X.parseExportAllDeclaration=function(t,e){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseModuleExportName(),this.checkExport(e,t.exported,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==C.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ExportAllDeclaration")},X.parseExport=function(t,e){if(this.next(),this.eat(C.star))return this.parseExportAllDeclaration(t,e);if(this.eat(C._default))return this.checkExport(e,"default",this.lastTokStart),t.declaration=this.parseExportDefaultDeclaration(),this.finishNode(t,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())t.declaration=this.parseExportDeclaration(t),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id,t.declaration.id.start),t.specifiers=[],t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[]);else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==C.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause());else{for(var i=0,r=t.specifiers;i<r.length;i+=1){var n=r[i];this.checkUnreserved(n.local),this.checkLocalExport(n.local),"Literal"===n.local.type&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[])}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},X.parseExportDeclaration=function(t){return this.parseStatement(null)},X.parseExportDefaultDeclaration=function(){if(this.type===C._function||(t=this.isAsyncFunction())){var t,e=this.startNode();return this.next(),t&&this.next(),this.parseFunction(e,4|J,!1,t)}if(this.type===C._class){var i=this.startNode();return this.parseClass(i,"nullableID")}var r=this.parseMaybeAssign();return this.semicolon(),r},X.checkExport=function(t,e,i){if(!!t)"string"!=typeof e&&(e="Identifier"===e.type?e.name:e.value),N(t,e)&&this.raiseRecoverable(i,"Duplicate export '"+e+"'"),t[e]=!0},X.checkPatternExport=function(t,e){var i=e.type;if("Identifier"===i)this.checkExport(t,e,e.start);else if("ObjectPattern"===i)for(var r=0,n=e.properties;r<n.length;r+=1){var s=n[r];this.checkPatternExport(t,s)}else if("ArrayPattern"===i)for(var a=0,o=e.elements;a<o.length;a+=1){var h=o[a];h&&this.checkPatternExport(t,h)}else"Property"===i?this.checkPatternExport(t,e.value):"AssignmentPattern"===i?this.checkPatternExport(t,e.left):"RestElement"===i&&this.checkPatternExport(t,e.argument)},X.checkVariableExport=function(t,e){if(!!t)for(var i=0;i<e.length;i+=1){var r=e[i];this.checkPatternExport(t,r.id)}},X.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},X.parseExportSpecifier=function(t){var e=this.startNode();return e.local=this.parseModuleExportName(),e.exported=this.eatContextual("as")?this.parseModuleExportName():e.local,this.checkExport(t,e.exported,e.exported.start),this.finishNode(e,"ExportSpecifier")},X.parseExportSpecifiers=function(t){var e=[],i=!0;for(this.expect(C.braceL);!this.eat(C.braceR);){if(i)i=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;e.push(this.parseExportSpecifier(t))}return e},X.parseImport=function(t){return this.next(),this.type===C.string?(t.specifiers=Q,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===C.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},X.parseImportSpecifier=function(){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.eatContextual("as")?t.local=this.parseIdent():(this.checkUnreserved(t.imported),t.local=t.imported),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportSpecifier")},X.parseImportDefaultSpecifier=function(){var t=this.startNode();return t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportDefaultSpecifier")},X.parseImportNamespaceSpecifier=function(){var t=this.startNode();return this.next(),this.expectContextual("as"),t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportNamespaceSpecifier")},X.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===C.name&&(t.push(this.parseImportDefaultSpecifier()),!this.eat(C.comma)))return t;if(this.type===C.star)return t.push(this.parseImportNamespaceSpecifier()),t;for(this.expect(C.braceL);!this.eat(C.braceR);){if(e)e=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;t.push(this.parseImportSpecifier())}return t},X.parseWithClause=function(){var t=[];if(!this.eat(C._with))return t;this.expect(C.braceL);for(var e={},i=!0;!this.eat(C.braceR);){if(i)i=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;var r=this.parseImportAttribute(),n="Identifier"===r.key.type?r.key.name:r.key.value;N(e,n)&&this.raiseRecoverable(r.key.start,"Duplicate attribute key '"+n+"'"),e[n]=!0,t.push(r)}return t},X.parseImportAttribute=function(){var t=this.startNode();return t.key=this.type===C.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(C.colon),this.type!==C.string&&this.unexpected(),t.value=this.parseExprAtom(),this.finishNode(t,"ImportAttribute")},X.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===C.string){var t=this.parseLiteral(this.value);return F.test(t.value)&&this.raise(t.start,"An export name cannot include a lone surrogate."),t}return this.parseIdent(!0)},X.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},X.isDirectiveCandidate=function(t){return this.options.ecmaVersion>=5&&"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&('"'===this.input[t.start]||"'"===this.input[t.start])};var ti=W.prototype;ti.toAssignable=function(t,e,i){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var r=0,n=t.properties;r<n.length;r+=1){var s=n[r];this.toAssignable(s,e),"RestElement"===s.type&&("ArrayPattern"===s.argument.type||"ObjectPattern"===s.argument.type)&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==t.kind&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),"AssignmentPattern"===t.argument.type&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,i);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return t},ti.toAssignableList=function(t,e){for(var i=t.length,r=0;r<i;r++){var n=t[r];n&&this.toAssignable(n,e)}if(i){var s=t[i-1];6===this.options.ecmaVersion&&e&&s&&"RestElement"===s.type&&"Identifier"!==s.argument.type&&this.unexpected(s.argument.start)}return t},ti.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},ti.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==C.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},ti.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case C.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(C.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case C.braceL:return this.parseObj(!0)}return this.parseIdent()},ti.parseBindingList=function(t,e,i,r){for(var n=[],s=!0;!this.eat(t);)if(s?s=!1:this.expect(C.comma),e&&this.type===C.comma)n.push(null);else if(i&&this.afterTrailingComma(t))break;else if(this.type===C.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}else n.push(this.parseAssignableListItem(r));return n},ti.parseAssignableListItem=function(t){var e=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(e),e},ti.parseBindingListItem=function(t){return t},ti.parseMaybeDefault=function(t,e,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(C.eq))return i;var r=this.startNodeAt(t,e);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},ti.checkLValSimple=function(t,e,i){void 0===e&&(e=0);var r=0!==e;switch(t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(r?"Binding ":"Assigning to ")+t.name+" in strict mode"),r&&(2===e&&"let"===t.name&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),i&&(N(i,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),i[t.name]=!0),5!==e&&this.declareName(t.name,e,t.start));break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(t.start,"Binding parenthesized expression"),this.checkLValSimple(t.expression,e,i);default:this.raise(t.start,(r?"Binding":"Assigning to")+" rvalue")}},ti.checkLValPattern=function(t,e,i){switch(void 0===e&&(e=0),t.type){case"ObjectPattern":for(var r=0,n=t.properties;r<n.length;r+=1){var s=n[r];this.checkLValInnerPattern(s,e,i)}break;case"ArrayPattern":for(var a=0,o=t.elements;a<o.length;a+=1){var h=o[a];h&&this.checkLValInnerPattern(h,e,i)}break;default:this.checkLValSimple(t,e,i)}},ti.checkLValInnerPattern=function(t,e,i){switch(void 0===e&&(e=0),t.type){case"Property":this.checkLValInnerPattern(t.value,e,i);break;case"AssignmentPattern":this.checkLValPattern(t.left,e,i);break;case"RestElement":this.checkLValPattern(t.argument,e,i);break;default:this.checkLValPattern(t,e,i)}};var tr=function(t,e,i,r,n){this.token=t,this.isExpr=!!e,this.preserveSpace=!!i,this.override=r,this.generator=!!n},tn={b_stat:new tr("{",!1),b_expr:new tr("{",!0),b_tmpl:new tr("${",!1),p_stat:new tr("(",!1),p_expr:new tr("(",!0),q_tmpl:new tr("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new tr("function",!1),f_expr:new tr("function",!0),f_expr_gen:new tr("function",!0,!1,null,!0),f_gen:new tr("function",!1,!1,null,!0)},ts=W.prototype;ts.initialContext=function(){return[tn.b_stat]},ts.curContext=function(){return this.context[this.context.length-1]},ts.braceIsBlock=function(t){var e=this.curContext();return e===tn.f_expr||e===tn.f_stat||(t===C.colon&&(e===tn.b_stat||e===tn.b_expr)?!e.isExpr:t===C._return||t===C.name&&this.exprAllowed?k.test(this.input.slice(this.lastTokEnd,this.start)):t===C._else||t===C.semi||t===C.eof||t===C.parenR||t===C.arrow||(t===C.braceL?e===tn.b_stat:t!==C._var&&t!==C._const&&t!==C.name&&!this.exprAllowed))},ts.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if("function"===e.token)return e.generator}return!1},ts.updateContext=function(t){var e,i=this.type;i.keyword&&t===C.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr},ts.overrideContext=function(t){this.curContext()!==t&&(this.context[this.context.length-1]=t)},C.parenR.updateContext=C.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var t=this.context.pop();t===tn.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr},C.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?tn.b_stat:tn.b_expr),this.exprAllowed=!0},C.dollarBraceL.updateContext=function(){this.context.push(tn.b_tmpl),this.exprAllowed=!0},C.parenL.updateContext=function(t){var e=t===C._if||t===C._for||t===C._with||t===C._while;this.context.push(e?tn.p_stat:tn.p_expr),this.exprAllowed=!0},C.incDec.updateContext=function(){},C._function.updateContext=C._class.updateContext=function(t){!t.beforeExpr||t===C._else||t===C.semi&&this.curContext()!==tn.p_stat||t===C._return&&k.test(this.input.slice(this.lastTokEnd,this.start))||(t===C.colon||t===C.braceL)&&this.curContext()===tn.b_stat?this.context.push(tn.f_stat):this.context.push(tn.f_expr),this.exprAllowed=!1},C.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},C.backQuote.updateContext=function(){this.curContext()===tn.q_tmpl?this.context.pop():this.context.push(tn.q_tmpl),this.exprAllowed=!1},C.star.updateContext=function(t){if(t===C._function){var e=this.context.length-1;this.context[e]===tn.f_expr?this.context[e]=tn.f_expr_gen:this.context[e]=tn.f_gen}this.exprAllowed=!0},C.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==C.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var ta=W.prototype;ta.checkPropClash=function(t,e,i){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==t.type)&&(!(this.options.ecmaVersion>=6)||!t.computed&&!t.method&&!t.shorthand)){var r,n,s=t.key;switch(s.type){case"Identifier":r=s.name;break;case"Literal":r=String(s.value);break;default:return}var a=t.kind;if(this.options.ecmaVersion>=6){"__proto__"===r&&"init"===a&&(e.proto&&(i?i.doubleProto<0&&(i.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),e.proto=!0);return}var o=e[r="$"+r];o?(n="init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(s.start,"Redefinition of property"):o=e[r]={init:!1,get:!1,set:!1},o[a]=!0}},ta.parseExpression=function(t,e){var i=this.start,r=this.startLoc,n=this.parseMaybeAssign(t,e);if(this.type===C.comma){var s=this.startNodeAt(i,r);for(s.expressions=[n];this.eat(C.comma);)s.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(s,"SequenceExpression")}return n},ta.parseMaybeAssign=function(t,e,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var r=!1,n=-1,s=-1,a=-1;e?(n=e.parenthesizedAssign,s=e.trailingComma,a=e.doubleProto,e.parenthesizedAssign=e.trailingComma=-1):(e=new G,r=!0);var o=this.start,h=this.startLoc;(this.type===C.parenL||this.type===C.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===t);var c=this.parseMaybeConditional(t,e);if(i&&(c=i.call(this,c,o,h)),this.type.isAssign){var l=this.startNodeAt(o,h);return l.operator=this.value,this.type===C.eq&&(c=this.toAssignable(c,!1,e)),!r&&(e.parenthesizedAssign=e.trailingComma=e.doubleProto=-1),e.shorthandAssign>=c.start&&(e.shorthandAssign=-1),this.type===C.eq?this.checkLValPattern(c):this.checkLValSimple(c),l.left=c,this.next(),l.right=this.parseMaybeAssign(t),a>-1&&(e.doubleProto=a),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(e,!0),n>-1&&(e.parenthesizedAssign=n),s>-1&&(e.trailingComma=s),c},ta.parseMaybeConditional=function(t,e){var i=this.start,r=this.startLoc,n=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return n;if(this.eat(C.question)){var s=this.startNodeAt(i,r);return s.test=n,s.consequent=this.parseMaybeAssign(),this.expect(C.colon),s.alternate=this.parseMaybeAssign(t),this.finishNode(s,"ConditionalExpression")}return n},ta.parseExprOps=function(t,e){var i=this.start,r=this.startLoc,n=this.parseMaybeUnary(e,!1,!1,t);return this.checkExpressionErrors(e)?n:n.start===i&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,i,r,-1,t)},ta.parseExprOp=function(t,e,i,r,n){var s=this.type.binop;if(null!=s&&(!n||this.type!==C._in)&&s>r){var a=this.type===C.logicalOR||this.type===C.logicalAND,o=this.type===C.coalesce;o&&(s=C.logicalAND.binop);var h=this.value;this.next();var c=this.start,l=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),c,l,s,n),p=this.buildBinary(e,i,t,u,h,a||o);return(a&&this.type===C.coalesce||o&&(this.type===C.logicalOR||this.type===C.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(p,e,i,r,n)}return t},ta.buildBinary=function(t,e,i,r,n,s){"PrivateIdentifier"===r.type&&this.raise(r.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(t,e);return a.left=i,a.operator=n,a.right=r,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},ta.parseMaybeUnary=function(t,e,i,r){var n,s=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(r),e=!0;else if(this.type.prefix){var o=this.startNode(),h=this.type===C.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,h,r),this.checkExpressionErrors(t,!0),h?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function t(e){return"Identifier"===e.type||"ParenthesizedExpression"===e.type&&t(e.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function t(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&t(e.expression)||"ParenthesizedExpression"===e.type&&t(e.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):e=!0,n=this.finishNode(o,h?"UpdateExpression":"UnaryExpression")}else if(e||this.type!==C.privateId){if(n=this.parseExprSubscripts(t,r),this.checkExpressionErrors(t))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(s,a);c.operator=this.value,c.prefix=!1,c.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(c,"UpdateExpression")}}else(r||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==C._in&&this.unexpected();if(!(!i&&this.eat(C.starstar)))return n;if(!e)return this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,r),"**",!1);this.unexpected(this.lastTokStart)};ta.parseExprSubscripts=function(t,e){var i=this.start,r=this.startLoc,n=this.parseExprAtom(t,e);if("ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return n;var s=this.parseSubscripts(n,i,r,!1,e);return t&&"MemberExpression"===s.type&&(t.parenthesizedAssign>=s.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=s.start&&(t.parenthesizedBind=-1),t.trailingComma>=s.start&&(t.trailingComma=-1)),s},ta.parseSubscripts=function(t,e,i,r,n){for(var s=this.options.ecmaVersion>=8&&"Identifier"===t.type&&"async"===t.name&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&this.potentialArrowAt===t.start,a=!1;;){var o=this.parseSubscript(t,e,i,r,s,a,n);if(o.optional&&(a=!0),o===t||"ArrowFunctionExpression"===o.type){if(a){var h=this.startNodeAt(e,i);h.expression=o,o=this.finishNode(h,"ChainExpression")}return o}t=o}},ta.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(C.arrow)},ta.parseSubscriptAsyncArrow=function(t,e,i,r){return this.parseArrowExpression(this.startNodeAt(t,e),i,!0,r)},ta.parseSubscript=function(t,e,i,r,n,s,a){var o=this.options.ecmaVersion>=11,h=o&&this.eat(C.questionDot);r&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(C.bracketL);if(c||h&&this.type!==C.parenL&&this.type!==C.backQuote||this.eat(C.dot)){var l=this.startNodeAt(e,i);l.object=t,c?(l.property=this.parseExpression(),this.expect(C.bracketR)):this.type===C.privateId&&"Super"!==t.type?l.property=this.parsePrivateIdent():l.property=this.parseIdent("never"!==this.options.allowReserved),l.computed=!!c,o&&(l.optional=h),t=this.finishNode(l,"MemberExpression")}else if(!r&&this.eat(C.parenL)){var u=new G,p=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(C.parenR,this.options.ecmaVersion>=8,!1,u);if(n&&!h&&this.shouldParseAsyncArrow())return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=p,this.awaitPos=d,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(e,i,m,a);this.checkExpressionErrors(u,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var g=this.startNodeAt(e,i);g.callee=t,g.arguments=m,o&&(g.optional=h),t=this.finishNode(g,"CallExpression")}else if(this.type===C.backQuote){(h||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var v=this.startNodeAt(e,i);v.tag=t,v.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(v,"TaggedTemplateExpression")}return t},ta.parseExprAtom=function(t,e,i){this.type===C.slash&&this.readRegexp();var r,n=this.potentialArrowAt===this.start;switch(this.type){case C._super:return!this.allowSuper&&this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===C.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==C.dot&&this.type!==C.bracketL&&this.type!==C.parenL&&this.unexpected(),this.finishNode(r,"Super");case C._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case C.name:var s=this.start,a=this.startLoc,o=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===h.name&&!this.canInsertSemicolon()&&this.eat(C._function))return this.overrideContext(tn.f_expr),this.parseFunction(this.startNodeAt(s,a),0,!1,!0,e);if(n&&!this.canInsertSemicolon()){if(this.eat(C.arrow))return this.parseArrowExpression(this.startNodeAt(s,a),[h],!1,e);if(this.options.ecmaVersion>=8&&"async"===h.name&&this.type===C.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return h=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(C.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,a),[h],!0,e)}return h;case C.regexp:var c=this.value;return(r=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},r;case C.num:case C.string:return this.parseLiteral(this.value);case C._null:case C._true:case C._false:return(r=this.startNode()).value=this.type===C._null?null:this.type===C._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case C.parenL:var l=this.start,u=this.parseParenAndDistinguishExpression(n,e);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(t.parenthesizedAssign=l),t.parenthesizedBind<0&&(t.parenthesizedBind=l)),u;case C.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(C.bracketR,!0,!0,t),this.finishNode(r,"ArrayExpression");case C.braceL:return this.overrideContext(tn.b_expr),this.parseObj(!1,t);case C._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case C._class:return this.parseClass(this.startNode(),!1);case C._new:return this.parseNew();case C.backQuote:return this.parseTemplate();case C._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(i);return this.unexpected();default:return this.parseExprAtomDefault()}},ta.parseExprAtomDefault=function(){this.unexpected()},ta.parseExprImport=function(t){var e=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===C.parenL&&!t)return this.parseDynamicImport(e);if(this.type===C.dot){var i=this.startNodeAt(e.start,e.loc&&e.loc.start);return i.name="import",e.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(e)}this.unexpected()},ta.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(C.parenR)?t.options=null:(this.expect(C.comma),this.afterTrailingComma(C.parenR)?t.options=null:(t.options=this.parseMaybeAssign(),!this.eat(C.parenR)&&(this.expect(C.comma),!this.afterTrailingComma(C.parenR)&&this.unexpected())));else if(!this.eat(C.parenR)){var e=this.start;this.eat(C.comma)&&this.eat(C.parenR)?this.raiseRecoverable(e,"Trailing comma is not allowed in import()"):this.unexpected(e)}return this.finishNode(t,"ImportExpression")},ta.parseImportMeta=function(t){this.next();var e=this.containsEsc;return t.property=this.parseIdent(!0),"meta"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),e&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},ta.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),110===e.raw.charCodeAt(e.raw.length-1)&&(e.bigint=e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal")},ta.parseParenExpression=function(){this.expect(C.parenL);var t=this.parseExpression();return this.expect(C.parenR),t},ta.shouldParseArrow=function(t){return!this.canInsertSemicolon()},ta.parseParenAndDistinguishExpression=function(t,e){var i,r=this.start,n=this.startLoc,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,h=this.startLoc,c=[],l=!0,u=!1,p=new G,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==C.parenR;){if(l?l=!1:this.expect(C.comma),s&&this.afterTrailingComma(C.parenR,!0)){u=!0;break}if(this.type===C.ellipsis){a=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(C.parenR),t&&this.shouldParseArrow(c)&&this.eat(C.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(r,n,c,e);(!c.length||u)&&this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,c.length>1?((i=this.startNodeAt(o,h)).expressions=c,this.finishNodeAt(i,"SequenceExpression",m,g)):i=c[0]}else i=this.parseParenExpression();if(!this.options.preserveParens)return i;var v=this.startNodeAt(r,n);return v.expression=i,this.finishNode(v,"ParenthesizedExpression")},ta.parseParenItem=function(t){return t},ta.parseParenArrowList=function(t,e,i,r){return this.parseArrowExpression(this.startNodeAt(t,e),i,!1,r)};var to=[];ta.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===C.dot){var e=this.startNodeAt(t.start,t.loc&&t.loc.start);e.name="new",t.meta=this.finishNode(e,"Identifier"),this.next();var i=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),!this.allowNewDotTarget&&this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var r=this.start,n=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,n,!0,!1),this.eat(C.parenL)?t.arguments=this.parseExprList(C.parenR,this.options.ecmaVersion>=8,!1):t.arguments=to,this.finishNode(t,"NewExpression")},ta.parseTemplateElement=function(t){var e=t.isTagged,i=this.startNode();return this.type===C.invalidTemplate?(!e&&this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===C.backQuote,this.finishNode(i,"TemplateElement")},ta.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var i=this.startNode();this.next(),i.expressions=[];var r=this.parseTemplateElement({isTagged:e});for(i.quasis=[r];!r.tail;)this.type===C.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(C.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(C.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(i,"TemplateLiteral")},ta.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===C.name||this.type===C.num||this.type===C.string||this.type===C.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===C.star)&&!k.test(this.input.slice(this.lastTokEnd,this.start))},ta.parseObj=function(t,e){var i=this.startNode(),r=!0,n={};for(i.properties=[],this.next();!this.eat(C.braceR);){if(r)r=!1;else if(this.expect(C.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(C.braceR))break;var s=this.parseProperty(t,e);!t&&this.checkPropClash(s,n,e),i.properties.push(s)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},ta.parseProperty=function(t,e){var i,r,n,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(C.ellipsis))return t?(a.argument=this.parseIdent(!1),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,e),this.type===C.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(t||e)&&(n=this.start,s=this.startLoc),!t&&(i=this.eat(C.star)));var o=this.containsEsc;return this.parsePropertyName(a),!t&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(a)?(r=!0,i=this.options.ecmaVersion>=9&&this.eat(C.star),this.parsePropertyName(a)):r=!1,this.parsePropertyValue(a,t,i,r,n,s,e,o),this.finishNode(a,"Property")},ta.parseGetterSetter=function(t){var e=t.key.name;this.parsePropertyName(t),t.value=this.parseMethod(!1),t.kind=e;var i="get"===t.kind?0:1;if(t.value.params.length!==i){var r=t.value.start;"get"===t.kind?this.raiseRecoverable(r,"getter should have no params"):this.raiseRecoverable(r,"setter should have exactly one param")}else"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")},ta.parsePropertyValue=function(t,e,i,r,n,s,a,o){(i||r)&&this.type===C.colon&&this.unexpected(),this.eat(C.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init"):this.options.ecmaVersion>=6&&this.type===C.parenL?(e&&this.unexpected(),t.method=!0,t.value=this.parseMethod(i,r),t.kind="init"):e||o||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===C.comma||this.type===C.braceR||this.type===C.eq?this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((i||r)&&this.unexpected(),this.checkUnreserved(t.key),"await"===t.key.name&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e?t.value=this.parseMaybeDefault(n,s,this.copyNode(t.key)):this.type===C.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),t.value=this.parseMaybeDefault(n,s,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.kind="init",t.shorthand=!0):this.unexpected():((i||r)&&this.unexpected(),this.parseGetterSetter(t))},ta.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(C.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(C.bracketR),t.key;t.computed=!1}return t.key=this.type===C.num||this.type===C.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ta.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},ta.parseMethod=function(t,e,i){var r=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=t),this.options.ecmaVersion>=8&&(r.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Z(e,r.generator)|(i?128:0)),this.expect(C.parenL),r.params=this.parseBindingList(C.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(r,"FunctionExpression")},ta.parseArrowExpression=function(t,e,i,r){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|Z(i,!1)),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1,r),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(t,"ArrowFunctionExpression")},ta.parseFunctionBody=function(t,e,i,r){var n=e&&this.type!==C.braceL,s=this.strict,a=!1;if(n)t.body=this.parseMaybeAssign(r),t.expression=!0,this.checkParams(t,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);(!s||o)&&(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var h=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(t,!s&&!a&&!e&&!i&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLValSimple(t.id,5),t.body=this.parseBlock(!1,void 0,a&&!s),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=h}this.exitScope()},ta.isSimpleParamList=function(t){for(var e=0;e<t.length;e+=1)if("Identifier"!==t[e].type)return!1;return!0},ta.checkParams=function(t,e){for(var i=Object.create(null),r=0,n=t.params;r<n.length;r+=1){var s=n[r];this.checkLValInnerPattern(s,1,e?null:i)}},ta.parseExprList=function(t,e,i,r){for(var n=[],s=!0;!this.eat(t);){if(s)s=!1;else if(this.expect(C.comma),e&&this.afterTrailingComma(t))break;var a=void 0;i&&this.type===C.comma?a=null:this.type===C.ellipsis?(a=this.parseSpread(r),r&&this.type===C.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):a=this.parseMaybeAssign(!1,r),n.push(a)}return n},ta.checkUnreserved=function(t){var e=t.start,i=t.end,r=t.name;if(this.inGenerator&&"yield"===r&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===r&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&H)&&"arguments"===r&&this.raiseRecoverable(e,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===r||"await"===r)&&this.raise(e,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(e,"Unexpected keyword '"+r+"'"),!(this.options.ecmaVersion<6)||-1===this.input.slice(e,i).indexOf("\\"))(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(!this.inAsync&&"await"===r&&this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+r+"' is reserved"))},ta.parseIdent=function(t){var e=this.parseIdentNode();return this.next(!!t),this.finishNode(e,"Identifier"),!t&&(this.checkUnreserved(e),"await"===e.name&&!this.awaitIdentPos&&(this.awaitIdentPos=e.start)),e},ta.parseIdentNode=function(){var t=this.startNode();return this.type===C.name?t.name=this.value:this.type.keyword?(t.name=this.type.keyword,("class"===t.name||"function"===t.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=C.name):this.unexpected(),t},ta.parsePrivateIdent=function(){var t=this.startNode();return this.type===C.privateId?t.name=this.value:this.unexpected(),this.next(),this.finishNode(t,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(t.start,"Private field '#"+t.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(t)),t},ta.parseYield=function(t){!this.yieldPos&&(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===C.semi||this.canInsertSemicolon()||this.type!==C.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(C.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},ta.parseAwait=function(t){!this.awaitPos&&(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0,!1,t),this.finishNode(e,"AwaitExpression")};var th=W.prototype;th.raise=function(t,e){var i=j(this.input,t);e+=" ("+i.line+":"+i.column+")",this.sourceFile&&(e+=" in "+this.sourceFile);var r=SyntaxError(e);throw r.pos=t,r.loc=i,r.raisedAt=this.pos,r},th.raiseRecoverable=th.raise,th.curPosition=function(){if(this.options.locations)return new M(this.curLine,this.pos-this.lineStart)};var tc=W.prototype,tl=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};tc.enterScope=function(t){this.scopeStack.push(new tl(t))},tc.exitScope=function(){this.scopeStack.pop()},tc.treatFunctionsAsVarInScope=function(t){return 2&t.flags||!this.inModule&&1&t.flags},tc.declareName=function(t,e,i){var r=!1;if(2===e){var n=this.currentScope();r=n.lexical.indexOf(t)>-1||n.functions.indexOf(t)>-1||n.var.indexOf(t)>-1,n.lexical.push(t),this.inModule&&1&n.flags&&delete this.undefinedExports[t]}else if(4===e)this.currentScope().lexical.push(t);else if(3===e){var s=this.currentScope();r=this.treatFunctionsAsVar?s.lexical.indexOf(t)>-1:s.lexical.indexOf(t)>-1||s.var.indexOf(t)>-1,s.functions.push(t)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(t)>-1&&!(32&o.flags&&o.lexical[0]===t)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(t)>-1){r=!0;break}if(o.var.push(t),this.inModule&&1&o.flags&&delete this.undefinedExports[t],o.flags&H)break}r&&this.raiseRecoverable(i,"Identifier '"+t+"' has already been declared")},tc.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},tc.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},tc.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&(768|H))return e}},tc.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&(768|H)&&!(16&e.flags))return e}};var tu=function(t,e,i){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new D(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])},tp=W.prototype;function td(t,e,i,r){return t.type=e,t.end=i,this.options.locations&&(t.loc.end=r),this.options.ranges&&(t.range[1]=i),t}tp.startNode=function(){return new tu(this,this.start,this.startLoc)},tp.startNodeAt=function(t,e){return new tu(this,t,e)},tp.finishNode=function(t,e){return td.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},tp.finishNodeAt=function(t,e,i,r){return td.call(this,t,e,i,r)},tp.copyNode=function(t){var e=new tu(this,t.start,this.startLoc);for(var i in t)e[i]=t[i];return e};for(var tf="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",tm=tf+" Extended_Pictographic",tg=tm+" EBase EComp EMod EPres ExtPict",tv={9:tf,10:tm,11:tm,12:tg,13:tg,14:tg},tx={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},ty="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",tb="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",tC=tb+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",tk=tC+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",tS=tk+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",t_=tS+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",tw={9:tb,10:tC,11:tk,12:tS,13:t_,14:t_+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},tE={},tI=0,tP=[9,10,11,12,13,14];tI<tP.length;tI+=1)!function(t){var e=tE[t]={binary:V(tv[t]+" "+ty),binaryOfStrings:V(tx[t]),nonBinary:{General_Category:V(ty),Script:V(tw[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}(tP[tI]);var tA=W.prototype,tL=function(t,e){this.parent=t,this.base=e||this};tL.prototype.separatedFrom=function(t){for(var e=this;e;e=e.parent)for(var i=t;i;i=i.parent)if(e.base===i.base&&e!==i)return!0;return!1},tL.prototype.sibling=function(){return new tL(this.parent,this.base)};var tN=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=tE[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};tN.prototype.reset=function(t,e,i){var r=-1!==i.indexOf("v"),n=-1!==i.indexOf("u");this.start=0|t,this.source=e+"",this.flags=i,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=n&&this.parser.options.ecmaVersion>=9)},tN.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},tN.prototype.at=function(t,e){void 0===e&&(e=!1);var i=this.source,r=i.length;if(t>=r)return -1;var n=i.charCodeAt(t);if(!(e||this.switchU)||n<=55295||n>=57344||t+1>=r)return n;var s=i.charCodeAt(t+1);return s>=56320&&s<=57343?(n<<10)+s-56613888:n},tN.prototype.nextIndex=function(t,e){void 0===e&&(e=!1);var i=this.source,r=i.length;if(t>=r)return r;var n,s=i.charCodeAt(t);return!(e||this.switchU)||s<=55295||s>=57344||t+1>=r||(n=i.charCodeAt(t+1))<56320||n>57343?t+1:t+2},tN.prototype.current=function(t){return void 0===t&&(t=!1),this.at(this.pos,t)},tN.prototype.lookahead=function(t){return void 0===t&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},tN.prototype.advance=function(t){void 0===t&&(t=!1),this.pos=this.nextIndex(this.pos,t)},tN.prototype.eat=function(t,e){return void 0===e&&(e=!1),this.current(e)===t&&(this.advance(e),!0)},tN.prototype.eatChars=function(t,e){void 0===e&&(e=!1);for(var i=this.pos,r=0;r<t.length;r+=1){var n=t[r],s=this.at(i,e);if(-1===s||s!==n)return!1;i=this.nextIndex(i,e)}return this.pos=i,!0},tA.validateRegExpFlags=function(t){for(var e=t.validFlags,i=t.flags,r=!1,n=!1,s=0;s<i.length;s++){var a=i.charAt(s);-1===e.indexOf(a)&&this.raise(t.start,"Invalid regular expression flag"),i.indexOf(a,s+1)>-1&&this.raise(t.start,"Duplicate regular expression flag"),"u"===a&&(r=!0),"v"===a&&(n=!0)}this.options.ecmaVersion>=15&&r&&n&&this.raise(t.start,"Invalid regular expression flag")};tA.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&function(t){for(var e in t)return!0;return!1}(t.groupNames)&&(t.switchN=!0,this.regexp_pattern(t))},tA.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames=Object.create(null),t.backReferenceNames.length=0,t.branchID=null,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,i=t.backReferenceNames;e<i.length;e+=1){var r=i[e];!t.groupNames[r]&&t.raise("Invalid named capture referenced")}},tA.regexp_disjunction=function(t){var e=this.options.ecmaVersion>=16;for(e&&(t.branchID=new tL(t.branchID,null)),this.regexp_alternative(t);t.eat(124);)e&&(t.branchID=t.branchID.sibling()),this.regexp_alternative(t);e&&(t.branchID=t.branchID.parent),this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")},tA.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},tA.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):(t.switchU?!!this.regexp_eatAtom(t):!!this.regexp_eatExtendedAtom(t))&&(this.regexp_eatQuantifier(t),!0)},tA.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),!t.eat(41)&&t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!i,!0}return t.pos=e,!1},tA.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},tA.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},tA.regexp_eatBracedQuantifier=function(t,e){var i=t.pos;if(t.eat(123)){var r=0,n=-1;if(this.regexp_eatDecimalDigits(t)&&(r=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(n=t.lastIntValue),t.eat(125)))return -1!==n&&n<r&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=i}return!1},tA.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)},tA.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},tA.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)){if(this.options.ecmaVersion>=16){var i=this.regexp_eatModifiers(t),r=t.eat(45);if(i||r){for(var n=0;n<i.length;n++){var s=i.charAt(n);i.indexOf(s,n+1)>-1&&t.raise("Duplicate regular expression modifiers")}if(r){var a=this.regexp_eatModifiers(t);!i&&!a&&58===t.current()&&t.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var h=a.charAt(o);(a.indexOf(h,o+1)>-1||i.indexOf(h)>-1)&&t.raise("Duplicate regular expression modifiers")}}}}if(t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}}t.pos=e}return!1},tA.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},tA.regexp_eatModifiers=function(t){for(var e="",i=0;-1!==(i=t.current())&&function(t){return 105===t||109===t||115===t}(i);)e+=O(i),t.advance();return e};function tT(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}tA.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},tA.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},tA.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!tT(e)&&(t.lastIntValue=e,t.advance(),!0)},tA.regexp_eatPatternCharacters=function(t){for(var e=t.pos,i=0;-1!==(i=t.current())&&!tT(i);)t.advance();return t.pos!==e},tA.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return -1!==e&&36!==e&&(!(e>=40)||!(e<=43))&&46!==e&&63!==e&&91!==e&&94!==e&&124!==e&&(t.advance(),!0)},tA.regexp_groupSpecifier=function(t){if(t.eat(63)){!this.regexp_eatGroupName(t)&&t.raise("Invalid group");var e=this.options.ecmaVersion>=16,i=t.groupNames[t.lastStringValue];if(i){if(e)for(var r=0;r<i.length;r+=1)!i[r].separatedFrom(t.branchID)&&t.raise("Duplicate capture group name");else t.raise("Duplicate capture group name")}e?(i||(t.groupNames[t.lastStringValue]=[])).push(t.branchID):t.groupNames[t.lastStringValue]=!0}},tA.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},tA.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=O(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=O(t.lastIntValue);return!0}return!1},tA.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,r=t.current(i);return(t.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(r=t.lastIntValue),function(t){return d(t,!0)||36===t||95===t}(r))?(t.lastIntValue=r,!0):(t.pos=e,!1)};tA.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,r=t.current(i);return(t.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(r=t.lastIntValue),function(t){return f(t,!0)||36===t||95===t||8204===t||8205===t}(r))?(t.lastIntValue=r,!0):(t.pos=e,!1)};function tR(t){return t>=65&&t<=90||t>=97&&t<=122}tA.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},tA.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var i=t.lastIntValue;if(t.switchU)return i>t.maxBackReference&&(t.maxBackReference=i),!0;if(i<=t.numCapturingParens)return!0;t.pos=e}return!1},tA.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},tA.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t,!1)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},tA.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},tA.regexp_eatZero=function(t){return!(48!==t.current()||tO(t.lookahead()))&&(t.lastIntValue=0,t.advance(),!0)},tA.regexp_eatControlEscape=function(t){var e=t.current();return 116===e?(t.lastIntValue=9,t.advance(),!0):110===e?(t.lastIntValue=10,t.advance(),!0):118===e?(t.lastIntValue=11,t.advance(),!0):102===e?(t.lastIntValue=12,t.advance(),!0):114===e&&(t.lastIntValue=13,t.advance(),!0)},tA.regexp_eatControlLetter=function(t){var e=t.current();return!!tR(e)&&(t.lastIntValue=e%32,t.advance(),!0)},tA.regexp_eatRegExpUnicodeEscapeSequence=function(t,e){void 0===e&&(e=!1);var i=t.pos,r=e||t.switchU;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var n=t.lastIntValue;if(r&&n>=55296&&n<=56319){var s=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var a=t.lastIntValue;if(a>=56320&&a<=57343)return t.lastIntValue=(n-55296)*1024+(a-56320)+65536,!0}t.pos=s,t.lastIntValue=n}return!0}if(r&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&function(t){return t>=0&&t<=1114111}(t.lastIntValue))return!0;r&&t.raise("Invalid unicode escape"),t.pos=i}return!1};tA.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var e=t.current();return 99!==e&&(!t.switchN||107!==e)&&(t.lastIntValue=e,t.advance(),!0)},tA.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do t.lastIntValue=10*t.lastIntValue+(e-48),t.advance();while((e=t.current())>=48&&e<=57);return!0}return!1};tA.regexp_eatCharacterClassEscape=function(t){var e,i=t.current();if(function(t){return 100===t||68===t||115===t||83===t||119===t||87===t}(i))return t.lastIntValue=-1,t.advance(),1;var r=!1;if(t.switchU&&this.options.ecmaVersion>=9&&((r=80===i)||112===i)){if(t.lastIntValue=-1,t.advance(),t.eat(123)&&(e=this.regexp_eatUnicodePropertyValueExpression(t))&&t.eat(125))return r&&2===e&&t.raise("Invalid property name"),e;t.raise("Invalid property name")}return 0};function tV(t){return tR(t)||95===t}tA.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var i=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var r=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,i,r),1}}if(t.pos=e,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var n=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,n)}return 0},tA.regexp_validateUnicodePropertyNameAndValue=function(t,e,i){!N(t.unicodeProperties.nonBinary,e)&&t.raise("Invalid property name"),!t.unicodeProperties.nonBinary[e].test(i)&&t.raise("Invalid property value")},tA.regexp_validateUnicodePropertyNameOrValue=function(t,e){return t.unicodeProperties.binary.test(e)?1:t.switchV&&t.unicodeProperties.binaryOfStrings.test(e)?2:void t.raise("Invalid property name")},tA.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";tV(e=t.current());)t.lastStringValue+=O(e),t.advance();return""!==t.lastStringValue},tA.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";function(t){return tV(t)||tO(t)}(e=t.current());)t.lastStringValue+=O(e),t.advance();return""!==t.lastStringValue};tA.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},tA.regexp_eatCharacterClass=function(t){if(t.eat(91)){var e=t.eat(94),i=this.regexp_classContents(t);return!t.eat(93)&&t.raise("Unterminated character class"),e&&2===i&&t.raise("Negated character class may contain strings"),!0}return!1},tA.regexp_classContents=function(t){return 93===t.current()?1:t.switchV?this.regexp_classSetExpression(t):(this.regexp_nonEmptyClassRanges(t),1)},tA.regexp_nonEmptyClassRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var i=t.lastIntValue;t.switchU&&(-1===e||-1===i)&&t.raise("Invalid character class"),-1!==e&&-1!==i&&e>i&&t.raise("Range out of order in character class")}}},tA.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var i=t.current();(99===i||tD(i))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var r=t.current();return 93!==r&&(t.lastIntValue=r,t.advance(),!0)},tA.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},tA.regexp_classSetExpression=function(t){var e,i=1;if(this.regexp_eatClassSetRange(t));else if(e=this.regexp_eatClassSetOperand(t)){2===e&&(i=2);for(var r=t.pos;t.eatChars([38,38]);){if(38!==t.current()&&(e=this.regexp_eatClassSetOperand(t))){2!==e&&(i=1);continue}t.raise("Invalid character in character class")}if(r!==t.pos)return i;for(;t.eatChars([45,45]);){if(!this.regexp_eatClassSetOperand(t))t.raise("Invalid character in character class")}if(r!==t.pos)return i}else t.raise("Invalid character in character class");for(;;){if(!this.regexp_eatClassSetRange(t)){if(!(e=this.regexp_eatClassSetOperand(t)))return i;2===e&&(i=2)}}},tA.regexp_eatClassSetRange=function(t){var e=t.pos;if(this.regexp_eatClassSetCharacter(t)){var i=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassSetCharacter(t)){var r=t.lastIntValue;return -1!==i&&-1!==r&&i>r&&t.raise("Range out of order in character class"),!0}t.pos=e}return!1},tA.regexp_eatClassSetOperand=function(t){return this.regexp_eatClassSetCharacter(t)?1:this.regexp_eatClassStringDisjunction(t)||this.regexp_eatNestedClass(t)},tA.regexp_eatNestedClass=function(t){var e=t.pos;if(t.eat(91)){var i=t.eat(94),r=this.regexp_classContents(t);if(t.eat(93))return i&&2===r&&t.raise("Negated character class may contain strings"),r;t.pos=e}if(t.eat(92)){var n=this.regexp_eatCharacterClassEscape(t);if(n)return n;t.pos=e}return null},tA.regexp_eatClassStringDisjunction=function(t){var e=t.pos;if(t.eatChars([92,113])){if(t.eat(123)){var i=this.regexp_classStringDisjunctionContents(t);if(t.eat(125))return i}else t.raise("Invalid escape");t.pos=e}return null},tA.regexp_classStringDisjunctionContents=function(t){for(var e=this.regexp_classString(t);t.eat(124);)2===this.regexp_classString(t)&&(e=2);return e},tA.regexp_classString=function(t){for(var e=0;this.regexp_eatClassSetCharacter(t);)e++;return 1===e?1:2},tA.regexp_eatClassSetCharacter=function(t){var e=t.pos;if(t.eat(92))return!!(this.regexp_eatCharacterEscape(t)||this.regexp_eatClassSetReservedPunctuator(t))||(t.eat(98)?(t.lastIntValue=8,!0):(t.pos=e,!1));var i=t.current();return!(i<0||i===t.lookahead()&&function(t){return 33===t||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t}(i)||function(t){return 40===t||41===t||45===t||47===t||t>=91&&t<=93||t>=123&&t<=125}(i))&&(t.advance(),t.lastIntValue=i,!0)};tA.regexp_eatClassSetReservedPunctuator=function(t){var e=t.current();return!!function(t){return 33===t||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t}(e)&&(t.lastIntValue=e,t.advance(),!0)};function tO(t){return t>=48&&t<=57}function tF(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function tM(t){return t>=65&&t<=70?10+(t-65):t>=97&&t<=102?10+(t-97):t-48}function tD(t){return t>=48&&t<=55}tA.regexp_eatClassControlLetter=function(t){var e=t.current();return(!!tO(e)||95===e)&&(t.lastIntValue=e%32,t.advance(),!0)},tA.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1},tA.regexp_eatDecimalDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;tO(i=t.current());)t.lastIntValue=10*t.lastIntValue+(i-48),t.advance();return t.pos!==e},tA.regexp_eatHexDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;tF(i=t.current());)t.lastIntValue=16*t.lastIntValue+tM(i),t.advance();return t.pos!==e},tA.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var i=t.lastIntValue;e<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=64*e+8*i+t.lastIntValue:t.lastIntValue=8*e+i}else t.lastIntValue=e;return!0}return!1},tA.regexp_eatOctalDigit=function(t){var e=t.current();return tD(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},tA.regexp_eatFixedHexDigits=function(t,e){var i=t.pos;t.lastIntValue=0;for(var r=0;r<e;++r){var n=t.current();if(!tF(n))return t.pos=i,!1;t.lastIntValue=16*t.lastIntValue+tM(n),t.advance()}return!0};var tj=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new D(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},tB=W.prototype;tB.next=function(t){!t&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new tj(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},tB.getToken=function(){return this.next(),new tj(this)},"undefined"!=typeof Symbol&&(tB[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===C.eof,value:e}}}}),tB.nextToken=function(){var t=this.curContext();return((!t||!t.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(C.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},tB.readToken=function(t){return d(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},tB.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);if(t<=55295||t>=56320)return t;var e=this.input.charCodeAt(this.pos+1);return e<=56319||e>=57344?t:(t<<10)+e-56613888},tB.skipBlockComment=function(){var t=this.options.onComment&&this.curPosition(),e=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var r=void 0,n=e;(r=w(this.input,n,this.pos))>-1;)++this.curLine,n=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(e+2,i),e,this.pos,t,this.curPosition())},tB.skipLineComment=function(t){for(var e=this.pos,i=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!_(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,i,this.curPosition())},tB.skipSpace=function(){e:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(t>8&&t<14||t>=5760&&E.test(String.fromCharCode(t)))++this.pos;else break e}}},tB.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)},tB.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(C.ellipsis)):(++this.pos,this.finishToken(C.dot))},tB.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(C.assign,2):this.finishOp(C.slash,1)},tB.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),i=1,r=42===t?C.star:C.modulo;return(this.options.ecmaVersion>=7&&42===t&&42===e&&(++i,r=C.starstar,e=this.input.charCodeAt(this.pos+2)),61===e)?this.finishOp(C.assign,i+1):this.finishOp(r,i)},tB.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(C.assign,3):this.finishOp(124===t?C.logicalOR:C.logicalAND,2);return 61===e?this.finishOp(C.assign,2):this.finishOp(124===t?C.bitwiseOR:C.bitwiseAND,1)},tB.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(C.assign,2):this.finishOp(C.bitwiseXOR,1)},tB.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t)return 45===e&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||k.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(C.incDec,2);return 61===e?this.finishOp(C.assign,2):this.finishOp(C.plusMin,1)},tB.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;if(e===t)return(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i))?this.finishOp(C.assign,i+1):this.finishOp(C.bitShift,i);return 33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(i=2),this.finishOp(C.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},tB.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(C.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(C.arrow)):this.finishOp(61===t?C.eq:C.prefix,1)},tB.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var e=this.input.charCodeAt(this.pos+1);if(46===e){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(C.questionDot,2)}if(63===e)return t>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(C.assign,3):this.finishOp(C.coalesce,2)}return this.finishOp(C.question,1)},tB.readToken_numberSign=function(){var t=this.options.ecmaVersion,e=35;if(t>=13&&(++this.pos,d(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(C.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+O(e)+"'")},tB.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(C.parenL);case 41:return++this.pos,this.finishToken(C.parenR);case 59:return++this.pos,this.finishToken(C.semi);case 44:return++this.pos,this.finishToken(C.comma);case 91:return++this.pos,this.finishToken(C.bracketL);case 93:return++this.pos,this.finishToken(C.bracketR);case 123:return++this.pos,this.finishToken(C.braceL);case 125:return++this.pos,this.finishToken(C.braceR);case 58:return++this.pos,this.finishToken(C.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(C.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)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(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(C.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+O(t)+"'")},tB.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)},tB.readRegexp=function(){for(var t,e,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(k.test(r)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if("["===r)e=!0;else if("]"===r&&e)e=!1;else if("/"===r&&!e)break;t="\\"===r}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new tN(this));o.reset(i,n,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var h=null;try{h=new RegExp(n,a)}catch(t){}return this.finishToken(C.regexp,{pattern:n,flags:a,value:h})},tB.readInt=function(t,e,i){for(var r=this.options.ecmaVersion>=12&&void 0===e,n=i&&48===this.input.charCodeAt(this.pos),s=this.pos,a=0,o=0,h=0,c=null==e?1/0:e;h<c;++h,++this.pos){var l=this.input.charCodeAt(this.pos),u=void 0;if(r&&95===l){n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===h&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=l;continue}if((u=l>=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=t)break;o=l,a=a*t+u}return(r&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||null!=e&&this.pos-s!==e)?null:a};function tU(t){return"function"!=typeof BigInt?null:BigInt(t.replace(/_/g,""))}tB.readRadixNumber=function(t){var e=this.pos;this.pos+=2;var i=this.readInt(t);return null==i&&this.raise(this.start+2,"Expected number in radix "+t),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=tU(this.input.slice(e,this.pos)),++this.pos):d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(C.num,i)},tB.readNumber=function(t){var e,i=this.pos;!t&&null===this.readInt(10,void 0,!0)&&this.raise(i,"Invalid number");var r=this.pos-i>=2&&48===this.input.charCodeAt(i);r&&this.strict&&this.raise(i,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!t&&this.options.ecmaVersion>=11&&110===n){var s=tU(this.input.slice(i,this.pos));return++this.pos,d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(C.num,s)}r&&/[89]/.test(this.input.slice(i,this.pos))&&(r=!1),46===n&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(69===n||101===n)&&!r&&((43===(n=this.input.charCodeAt(++this.pos))||45===n)&&++this.pos,null===this.readInt(10)&&this.raise(i,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=(e=this.input.slice(i,this.pos),r?parseInt(e,8):parseFloat(e.replace(/_/g,"")));return this.finishToken(C.num,a)},tB.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var e=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")}else t=this.readHexChar(4);return t},tB.readString=function(t){for(var e="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===t)break;92===r?(e+=this.input.slice(i,this.pos)+this.readEscapedChar(!1),i=this.pos):8232===r||8233===r?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(_(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(C.string,e)};var tH={};tB.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t===tH)this.readInvalidTemplateToken();else throw t}this.inTemplateElement=!1},tB.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw tH;this.raise(t,e)},tB.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===C.template||this.type===C.invalidTemplate)){if(36===i)return this.pos+=2,this.finishToken(C.dollarBraceL);return++this.pos,this.finishToken(C.backQuote)}return t+=this.input.slice(e,this.pos),this.finishToken(C.template,t)}if(92===i)t+=this.input.slice(e,this.pos)+this.readEscapedChar(!0),e=this.pos;else if(_(i)){switch(t+=this.input.slice(e,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},tB.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(C.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},tB.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return O(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),t){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(e>=48&&e<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(r,8);return n>255&&(n=parseInt(r=r.slice(0,-1),8)),this.pos+=r.length-1,e=this.input.charCodeAt(this.pos),("0"!==r||56===e||57===e)&&(this.strict||t)&&this.invalidStringToken(this.pos-1-r.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}if(_(e))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(e)}},tB.readHexChar=function(t){var e=this.pos,i=this.readInt(16,t);return null===i&&this.invalidStringToken(e,"Bad character escape sequence"),i},tB.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,i=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(f(n,r))this.pos+=n<=65535?1:2;else if(92===n){this.containsEsc=!0,t+=this.input.slice(i,this.pos);var s=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();!(e?d:f)(a,r)&&this.invalidStringToken(s,"Invalid Unicode escape"),t+=O(a),i=this.pos}else break;e=!1}return t+this.input.slice(i,this.pos)},tB.readWord=function(){var t=this.readWord1(),e=C.name;return this.keywords.test(t)&&(e=y[t]),this.finishToken(e,t)};W.acorn={Parser:W,version:"8.14.1",defaultOptions:B,Position:M,SourceLocation:D,getLineInfo:j,Node:tu,TokenType:m,tokTypes:C,keywordTypes:y,TokContext:tr,tokContexts:tn,isIdentifierChar:f,isIdentifierStart:d,Token:tj,isNewLine:_,lineBreak:k,lineBreakG:S,nonASCIIwhitespace:E}},326148:function(t,e,i){"use strict";function r(t,e){let i=e||{};return(""===t[t.length-1]?[...t,""]:t).join((i.padRight?" ":"")+","+(!1===i.padLeft?"":" ")).trim()}i.d(e,{P:function(){return r}})},208952:function(t,e,i){"use strict";i.d(e,{B:function(){return s}});var r=i(319135);let n={};function s(t,e){let{SourceMapGenerator:i,filePath:s,handlers:a}=e||n,o=i?new i({file:s||"<unknown>.js"}):void 0,h=(0,r.R_)(t,{comments:!0,generator:{...r.en,...a},sourceMap:o||void 0});return{value:h,map:o?o.toJSON():void 0}}},101006:function(t,e,i){"use strict";i.d(e,{Q:function(){return n}});let r=/[ \t\n\f\r]/g;function n(t){return"object"==typeof t?"text"===t.type&&s(t.value):s(t)}function s(t){return""===t.replace(r,"")}},402433:function(t,e,i){"use strict";function r(t){return"&#x"+t.toString(16).toUpperCase()+";"}i.d(e,{w:function(){return r}})},664491:function(t,e,i){"use strict";i.d(e,{L:function(){return s}});var r=i(890131),n=i(368183);let s={name:"htmlText",tokenize:function(t,e,i){let s,a,o;let h=this;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),c};function c(e){return 33===e?(t.consume(e),l):47===e?(t.consume(e),k):63===e?(t.consume(e),b):(0,n.jv)(e)?(t.consume(e),_):i(e)}function l(e){return 45===e?(t.consume(e),u):91===e?(t.consume(e),a=0,m):(0,n.jv)(e)?(t.consume(e),y):i(e)}function u(e){return 45===e?(t.consume(e),f):i(e)}function p(e){return null===e?i(e):45===e?(t.consume(e),d):(0,n.Ch)(e)?(o=p,T(e)):(t.consume(e),p)}function d(e){return 45===e?(t.consume(e),f):p(e)}function f(t){return 62===t?N(t):45===t?d(t):p(t)}function m(e){let r="CDATA[";return e===r.charCodeAt(a++)?(t.consume(e),a===r.length?g:m):i(e)}function g(e){return null===e?i(e):93===e?(t.consume(e),v):(0,n.Ch)(e)?(o=g,T(e)):(t.consume(e),g)}function v(e){return 93===e?(t.consume(e),x):g(e)}function x(e){return 62===e?N(e):93===e?(t.consume(e),x):g(e)}function y(e){return null===e||62===e?N(e):(0,n.Ch)(e)?(o=y,T(e)):(t.consume(e),y)}function b(e){return null===e?i(e):63===e?(t.consume(e),C):(0,n.Ch)(e)?(o=b,T(e)):(t.consume(e),b)}function C(t){return 62===t?N(t):b(t)}function k(e){return(0,n.jv)(e)?(t.consume(e),S):i(e)}function S(e){return 45===e||(0,n.H$)(e)?(t.consume(e),S):function e(i){return(0,n.Ch)(i)?(o=e,T(i)):(0,n.xz)(i)?(t.consume(i),e):N(i)}(e)}function _(e){return 45===e||(0,n.H$)(e)?(t.consume(e),_):47===e||62===e||(0,n.z3)(e)?w(e):i(e)}function w(e){return 47===e?(t.consume(e),N):58===e||95===e||(0,n.jv)(e)?(t.consume(e),E):(0,n.Ch)(e)?(o=w,T(e)):(0,n.xz)(e)?(t.consume(e),w):N(e)}function E(e){return 45===e||46===e||58===e||95===e||(0,n.H$)(e)?(t.consume(e),E):function e(i){return 61===i?(t.consume(i),I):(0,n.Ch)(i)?(o=e,T(i)):(0,n.xz)(i)?(t.consume(i),e):w(i)}(e)}function I(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),s=e,P):(0,n.Ch)(e)?(o=I,T(e)):(0,n.xz)(e)?(t.consume(e),I):(t.consume(e),A)}function P(e){return e===s?(t.consume(e),s=void 0,L):null===e?i(e):(0,n.Ch)(e)?(o=P,T(e)):(t.consume(e),P)}function A(e){return null===e||34===e||39===e||60===e||61===e||96===e?i(e):47===e||62===e||(0,n.z3)(e)?w(e):(t.consume(e),A)}function L(t){return 47===t||62===t||(0,n.z3)(t)?w(t):i(t)}function N(r){return 62===r?(t.consume(r),t.exit("htmlTextData"),t.exit("htmlText"),e):i(r)}function T(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),R}function R(e){return(0,n.xz)(e)?(0,r.f)(t,V,"linePrefix",h.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):V(e)}function V(e){return t.enter("htmlTextData"),o(e)}}}},396808:function(t,e,i){"use strict";i.d(e,{K:function(){return h}});var r=i(29394),n=i(890131),s=i(368183),a=i(460968);let o={tokenize:function(t,e,i){let r=this;return(0,n.f)(t,function(t){let n=r.events[r.events.length-1];return n&&"gfmFootnoteDefinitionIndent"===n[1].type&&4===n[2].sliceSerialize(n[1],!0).length?e(t):i(t)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function h(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:p,continuation:{tokenize:d},exit:f}},text:{91:{name:"gfmFootnoteCall",tokenize:u},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:c,resolveTo:l}}}}function c(t,e,i){let r;let n=this,s=n.events.length,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);for(;s--;){let t=n.events[s][1];if("labelImage"===t.type){r=t;break}if("gfmFootnoteCall"===t.type||"labelLink"===t.type||"label"===t.type||"image"===t.type||"link"===t.type)break}return function(s){if(!r||!r._balanced)return i(s);let h=(0,a.d)(n.sliceSerialize({start:r.end,end:n.now()}));return 94===h.codePointAt(0)&&o.includes(h.slice(1))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),e(s)):i(s)}}function l(t,e){let i,r=t.length;for(;r--;)if("labelImage"===t[r][1].type&&"enter"===t[r][0]){t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},t[t.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},h=[t[r+1],t[r+2],["enter",n,e],t[r+3],t[r+4],["enter",s,e],["exit",s,e],["enter",a,e],["enter",o,e],["exit",o,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(r,t.length-r+1,...h),t}function u(t,e,i){let r;let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),h=0;return function(e){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(e),t.exit("gfmFootnoteCallLabelMarker"),c};function c(e){return 94!==e?i(e):(t.enter("gfmFootnoteCallMarker"),t.consume(e),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",l)}function l(c){if(h>999||93===c&&!r||null===c||91===c||(0,s.z3)(c))return i(c);if(93===c){t.exit("chunkString");let r=t.exit("gfmFootnoteCallString");return o.includes((0,a.d)(n.sliceSerialize(r)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):i(c)}return!(0,s.z3)(c)&&(r=!0),h++,t.consume(c),92===c?u:l}function u(e){return 91===e||92===e||93===e?(t.consume(e),h++,l):l(e)}}function p(t,e,i){let r,o;let h=this,c=h.parser.gfmFootnotes||(h.parser.gfmFootnotes=[]),l=0;return function(e){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),u};function u(e){return 94===e?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",p):i(e)}function p(e){if(l>999||93===e&&!o||null===e||91===e||(0,s.z3)(e))return i(e);if(93===e){t.exit("chunkString");let i=t.exit("gfmFootnoteDefinitionLabelString");return r=(0,a.d)(h.sliceSerialize(i)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),f}return!(0,s.z3)(e)&&(o=!0),l++,t.consume(e),92===e?d:p}function d(e){return 91===e||92===e||93===e?(t.consume(e),l++,p):p(e)}function f(e){return 58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),!c.includes(r)&&c.push(r),(0,n.f)(t,m,"gfmFootnoteDefinitionWhitespace")):i(e)}function m(t){return e(t)}}function d(t,e,i){return t.check(r.w,e,t.attempt(o,e,i))}function f(t){t.exit("gfmFootnoteDefinition")}},419416:function(t,e,i){"use strict";i.d(e,{r:function(){return n}});var r=i(368183);function n(t){return null===t||(0,r.z3)(t)||(0,r.B8)(t)?1:(0,r.Xh)(t)?2:void 0}},40829:function(t,e,i){"use strict";i.d(e,{Q:function(){return l}});var r=i(99329),n=i(951797),s=i(934163),a=i(985295),o=i(470342),h=i(401192),c=i(281501);function l(t){let e={constructs:(0,r.W)([h,...(t||{}).extensions||[]]),content:i(n.k),defined:[],document:i(s.t),flow:i(a.l),lazy:{},string:i(o.Z_),text:i(o.fL)};return e;function i(t){return function(i){return(0,c.C)(e,t,i)}}}},462270:function(t,e,i){"use strict";i.d(e,{YP:function(){return u},dy:function(){return l}});var r=i(204765),n=i(28255),s=i(786023),a=i(418621),o=i(118622),h=i(81625),c=i(329123);let l=(0,r.T)([n.P,s.d,o.H,h.w,c.L],"html"),u=(0,r.T)([n.P,a.Y,o.H,h.w,c.L],"svg")},66217:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});var r=i(585417);function n(t){if("string"==typeof t)t=new URL(t);else if(!(0,r.C)(t)){let e=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if("file:"!==t.protocol){let t=TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(t){if(""!==t.hostname){let t=TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}let e=t.pathname,i=-1;for(;++i<e.length;)if(37===e.codePointAt(i)&&50===e.codePointAt(i+1)){let t=e.codePointAt(i+2);if(70===t||102===t){let t=TypeError("File URL path must not include encoded / characters");throw t.code="ERR_INVALID_FILE_URL_PATH",t}}return decodeURIComponent(e)}(t)}}}]);