diff --git "a/out/_next/static/chunks/pages/_app-f7d761699fa587fc.js" "b/out/_next/static/chunks/pages/_app-f7d761699fa587fc.js" deleted file mode 100644--- "a/out/_next/static/chunks/pages/_app-f7d761699fa587fc.js" +++ /dev/null @@ -1,43 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6319:function(e,t,r){"use strict";r.d(t,{xC:function(){return ke},oM:function(){return _e}});var n=r(1413);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"===typeof Symbol&&Symbol.observable||"@@observable",o=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,r){var n;if("function"===typeof t&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error(i(0));if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error(i(1));return r(l)(e,t)}if("function"!==typeof e)throw new Error(i(2));var o=e,c=t,p=[],h=p,d=!1;function f(){h===p&&(h=p.slice())}function m(){if(d)throw new Error(i(3));return c}function y(e){if("function"!==typeof e)throw new Error(i(4));if(d)throw new Error(i(5));var t=!0;return f(),h.push(e),function(){if(t){if(d)throw new Error(i(6));t=!1,f();var r=h.indexOf(e);h.splice(r,1),p=null}}}function g(e){if(!u(e))throw new Error(i(7));if("undefined"===typeof e.type)throw new Error(i(8));if(d)throw new Error(i(9));try{d=!0,c=o(c,e)}finally{d=!1}for(var t=p=h,r=0;r1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:A(e)?2:S(e)?3:0}function E(e,t){return 2===b(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function x(e,t){return 2===b(e)?e.get(t):e[t]}function C(e,t,r){var n=b(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function w(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function A(e){return te&&e instanceof Map}function S(e){return re&&e instanceof Set}function T(e){return e.o||e.t}function F(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=le(e);delete t[oe];for(var r=ue(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=P),Object.freeze(e),t&&D(e,(function(e,t){return k(t,!0)}),!0)),e}function P(){y(2)}function N(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function _(e){var t=ce[e];return t||y(18,e),t}function O(e,t){ce[e]||(ce[e]=t)}function I(){return Z}function B(e,t){t&&(_("Patches"),e.u=[],e.s=[],e.v=t)}function j(e){L(e),e.p.forEach(R),e.p=null}function L(e){e===Z&&(Z=e.l)}function M(e){return Z={p:[],l:Z,h:e,m:!0,_:0}}function R(e){var t=e[oe];0===t.i||1===t.i?t.j():t.g=!0}function $(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.O||_("ES5").S(t,e,n),n?(r[oe].P&&(j(t),y(4)),v(e)&&(e=V(t,e),t.l||q(t,e)),t.u&&_("Patches").M(r[oe].t,e,t.u,t.s)):e=V(t,r,[]),j(t),t.u&&t.v(t.u,t.s),e!==ie?e:void 0}function V(e,t,r){if(N(t))return t;var n=t[oe];if(!n)return D(t,(function(i,s){return U(e,n,t,i,s,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return q(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=4===n.i||5===n.i?n.o=F(n.k):n.o,s=i,o=!1;3===n.i&&(s=new Set(i),i.clear(),o=!0),D(s,(function(t,s){return U(e,n,i,t,s,r,o)})),q(e,i,!1),r&&e.u&&_("Patches").N(n,r,e.u,e.s)}return n.o}function U(e,t,r,n,i,s,o){if(g(i)){var a=V(e,i,s&&t&&3!==t.i&&!E(t.R,n)?s.concat(n):void 0);if(C(r,n,a),!g(a))return;e.m=!1}else o&&r.add(i);if(v(i)&&!N(i)){if(!e.h.D&&e._<1)return;V(e,i),t&&t.A.l||q(e,i)}}function q(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&k(t,r)}function z(e,t){var r=e[oe];return(r?T(r):e)[t]}function W(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function G(e){e.P||(e.P=!0,e.l&&G(e.l))}function H(e){e.o||(e.o=F(e.t))}function J(e,t,r){var n=A(t)?_("MapSet").F(t,r):S(t)?_("MapSet").T(t,r):e.O?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:I(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=n,s=pe;r&&(i=[n],s=he);var o=Proxy.revocable(i,s),a=o.revoke,u=o.proxy;return n.k=u,n.j=a,u}(t,r):_("ES5").J(t,r);return(r?r.A:I()).p.push(n),n}function X(e){return g(e)||y(22,e),function e(t){if(!v(t))return t;var r,n=t[oe],i=b(t);if(n){if(!n.P&&(n.i<4||!_("ES5").K(n)))return n.t;n.I=!0,r=Q(t,i),n.I=!1}else r=Q(t,i);return D(r,(function(t,i){n&&x(n.t,t)===i||C(r,t,e(i))})),3===i?new Set(r):r}(e)}function Q(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return F(e)}function K(){function e(e,t){var r=i[e];return r?r.enumerable=t:i[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[oe];return pe.get(t,e)},set:function(t){var r=this[oe];pe.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][oe];if(!i.P)switch(i.i){case 5:n(i)&&G(i);break;case 4:r(i)&&G(i)}}}function r(e){for(var t=e.t,r=e.k,n=ue(r),i=n.length-1;i>=0;i--){var s=n[i];if(s!==oe){var o=t[s];if(void 0===o&&!E(t,s))return!0;var a=r[s],u=a&&a[oe];if(u?u.t!==o:!w(a,o))return!0}}var l=!!t[oe];return n.length!==ue(t).length+(l?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n1?n-1:0),a=1;a1?n-1:0),s=1;s=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=_("Patches").$;return g(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),fe=new de,me=fe.produce,ye=(fe.produceWithPatches.bind(fe),fe.setAutoFreeze.bind(fe),fe.setUseProxies.bind(fe),fe.applyPatches.bind(fe),fe.createDraft.bind(fe),fe.finishDraft.bind(fe),me),ge=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ve=function(e,t){for(var r=0,n=t.length,i=e.length;r{const d=n.getContext(),{clientAwareness:{name:f,version:v}={},headers:D}=d,b={http:d.http,options:d.fetchOptions,credentials:d.credentials,headers:{...f&&{"apollographql-client-name":f},...v&&{"apollographql-client-version":v},...D}},{options:E,body:C}=l(n,o,x,b),{clone:w,files:A}=h(C,"",r);let S=c(n,e);if(A.size){delete E.headers["content-type"];const e=new(m||FormData);e.append("operations",p(w,"Payload"));const t={};let r=0;A.forEach((e=>{t[++r]=e})),e.append("map",JSON.stringify(t)),r=0,A.forEach(((t,n)=>{y(e,++r,n)})),E.body=e}else if(t&&!n.query.definitions.some((e=>"OperationDefinition"===e.kind&&"mutation"===e.operation))&&(E.method="GET"),"GET"===E.method){const{newURI:e,parseError:t}=u(S,C);if(t)return new i((e=>{e.error(t)}));S=e}else E.body=p(w,"Payload");const{controller:T}=s();T&&(E.signal&&(E.signal.aborted?T.abort():E.signal.addEventListener("abort",(()=>{T.abort()}),{once:!0})),E.signal=T.signal);const F=g||fetch;return new i((e=>{let t;return F(S,E).then((e=>(n.setContext({response:e}),e))).then(a(n)).then((t=>{e.next(t),e.complete()})).catch((r=>{t||(r.result&&r.result.errors&&r.result.data&&e.next(r.result),e.error(r))})),()=>{t=!0,T&&T.abort()}}))}))}},463:function(e){"use strict";e.exports=function(e,t,r){e.append(t,r,r.name)}},8212:function(e,t,r){"use strict";e.exports=r(1268)},9669:function(e,t,r){e.exports=r(1609)},5448:function(e,t,r){"use strict";var n=r(4867),i=r(6026),s=r(4372),o=r(5327),a=r(4097),u=r(4109),l=r(7985),c=r(7874),p=r(2648),h=r(644),d=r(205);e.exports=function(e){return new Promise((function(t,r){var f,m=e.data,y=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var D=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(b+":"+E)}var x=a(e.baseURL,e.url);function C(){if(D){var n="getAllResponseHeaders"in D?u(D.getAllResponseHeaders()):null,s={data:g&&"text"!==g&&"json"!==g?D.response:D.responseText,status:D.status,statusText:D.statusText,headers:n,config:e,request:D};i((function(e){t(e),v()}),(function(e){r(e),v()}),s),D=null}}if(D.open(e.method.toUpperCase(),o(x,e.params,e.paramsSerializer),!0),D.timeout=e.timeout,"onloadend"in D?D.onloadend=C:D.onreadystatechange=function(){D&&4===D.readyState&&(0!==D.status||D.responseURL&&0===D.responseURL.indexOf("file:"))&&setTimeout(C)},D.onabort=function(){D&&(r(new p("Request aborted",p.ECONNABORTED,e,D)),D=null)},D.onerror=function(){r(new p("Network Error",p.ERR_NETWORK,e,D,D)),D=null},D.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new p(t,n.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,e,D)),D=null},n.isStandardBrowserEnv()){var w=(e.withCredentials||l(x))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;w&&(y[e.xsrfHeaderName]=w)}"setRequestHeader"in D&&n.forEach(y,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete y[t]:D.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(D.withCredentials=!!e.withCredentials),g&&"json"!==g&&(D.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&D.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&D.upload&&D.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){D&&(r(!e||e&&e.type?new h:e),D.abort(),D=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null);var A=d(x);A&&-1===["http","https","file"].indexOf(A)?r(new p("Unsupported protocol "+A+":",p.ERR_BAD_REQUEST,e)):D.send(m)}))}},1609:function(e,t,r){"use strict";var n=r(4867),i=r(1849),s=r(321),o=r(7185);var a=function e(t){var r=new s(t),a=i(s.prototype.request,r);return n.extend(a,s.prototype,r),n.extend(a,r),a.create=function(r){return e(o(t,r))},a}(r(5546));a.Axios=s,a.CanceledError=r(644),a.CancelToken=r(4972),a.isCancel=r(6502),a.VERSION=r(7288).version,a.toFormData=r(7675),a.AxiosError=r(2648),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=r(8713),a.isAxiosError=r(6268),e.exports=a,e.exports.default=a},4972:function(e,t,r){"use strict";var n=r(644);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){p.headers[e]=i.merge(l)})),e.exports=p},7874:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:function(e){e.exports={version:"0.27.2"}},1849:function(e){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}})),o):o}},205:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7675:function(e,t,r){"use strict";var n=r(8764).lW,i=r(4867);e.exports=function(e,t){t=t||new FormData;var r=[];function s(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):n.from(e):e}return function e(n,o){if(i.isPlainObject(n)||i.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+o);r.push(n),i.forEach(n,(function(r,n){if(!i.isUndefined(r)){var a,u=o?o+"."+n:n;if(r&&!o&&"object"===typeof r)if(i.endsWith(n,"{}"))r=JSON.stringify(r);else if(i.endsWith(n,"[]")&&(a=i.toArray(r)))return void a.forEach((function(e){!i.isUndefined(e)&&t.append(u,s(e))}));e(r,u)}})),r.pop()}else t.append(o,s(n))}(e),t}},4875:function(e,t,r){"use strict";var n=r(7288).version,i=r(2648),s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};s.transitional=function(e,t,r){function s(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new i(s(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!o[n]&&(o[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!==typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),s=n.length;s-- >0;){var o=n[s],a=t[o];if(a){var u=e[o],l=void 0===u||a(u,o,e);if(!0!==l)throw new i("option "+o+" must be "+l,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+o,i.ERR_BAD_OPTION)}},validators:s}},4867:function(e,t,r){"use strict";var n,i=r(1849),s=Object.prototype.toString,o=(n=Object.create(null),function(e){var t=s.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function a(e){return e=e.toLowerCase(),function(t){return o(t)===e}}function u(e){return Array.isArray(e)}function l(e){return"undefined"===typeof e}var c=a("ArrayBuffer");function p(e){return null!==e&&"object"===typeof e}function h(e){if("object"!==o(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var d=a("Date"),f=a("File"),m=a("Blob"),y=a("FileList");function g(e){return"[object Function]"===s.call(e)}var v=a("URLSearchParams");function D(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r0;)o[s=n[i]]||(t[s]=e[s],o[s]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:o,kindOfTest:a,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(l(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:E,isFileList:y}},9742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,s=u(e),o=s[0],a=s[1],l=new i(function(e,t,r){return 3*(t+r)/4-r}(0,o,a)),c=0,p=a>0?o-4:o;for(r=0;r>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t);1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=16383,a=0,u=n-i;au?u:a+o));1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return s.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=s.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var i,s,o=[],a=t;a>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:function(e,t,r){"use strict";const n=r(9742),i=r(645),s="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=u,t.h2=50;const o=2147483647;function a(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return l(e,t,r)}function l(e,t,r){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|m(e,t);let n=a(r);const i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return d(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const i=function(e){if(u.isBuffer(e)){const t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!==typeof e.length||Q(e.length)?a(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return c(e),a(e<0?0:0|f(e))}function h(e){const t=e.length<0?0:0|f(e.length),r=a(t);for(let n=0;n=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(i)return n?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return F(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:D(e,t,r,n,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):D(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function D(e,t,r,n,i){let s,o=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,a/=2,u/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){let n=-1;for(s=r;sa&&(r=a-u),s=r;s>=0;s--){let r=!0;for(let n=0;ni&&(n=i):n=i;const s=t.length;let o;for(n>s/2&&(n=s/2),o=0;o>8,i=r%256,s.push(i),s.push(n);return s}(t,e.length-r),e,r,n)}function A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function S(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i239?4:t>223?3:t>191?2:1;if(i+o<=r){let r,n,a,u;switch(o){case 1:t<128&&(s=t);break;case 2:r=e[i+1],128===(192&r)&&(u=(31&t)<<6|63&r,u>127&&(s=u));break;case 3:r=e[i+1],n=e[i+2],128===(192&r)&&128===(192&n)&&(u=(15&t)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(s=u));break;case 4:r=e[i+1],n=e[i+2],a=e[i+3],128===(192&r)&&128===(192&n)&&128===(192&a)&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&a,u>65535&&u<1114112&&(s=u))}}null===s?(s=65533,o=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=o}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nn.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tr&&(e+=" ... "),""},s&&(u.prototype[s]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let s=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0);const a=Math.min(s,o),l=this.slice(n,i),c=e.slice(t,r);for(let u=0;u>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let s=!1;for(;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return E(this,e,t,r);case"ascii":case"latin1":case"binary":return x(this,e,t,r);case"base64":return C(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function F(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;in)&&(r=n);let i="";for(let s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,r,n,i,s){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function I(e,t,r,n,i){U(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function B(e,t,r,n,i){U(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r+7]=s,s>>=8,e[r+6]=s,s>>=8,e[r+5]=s,s>>=8,e[r+4]=s;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function j(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(e,t,r,n,s){return t=+t,r>>>=0,s||j(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function M(e,t,r,n,s){return t=+t,r>>>=0,s||j(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],i=1,s=0;for(;++s>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Y((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],i=1,s=0;for(;++s=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=t,i=1,s=this[e+--n];for(;n>0&&(i*=256);)s+=this[e+--n]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},u.prototype.readInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Y((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<>>=0,t||_(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){O(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=1,s=0;for(this[t]=255&e;++s>>=0,r>>>=0,!n){O(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Y((function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Y((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);O(this,e,t,r,n-1,-n)}let i=0,s=1,o=0;for(this[t]=255&e;++i>0)-o&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);O(this,e,t,r,n-1,-n)}let i=r-1,s=1,o=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/s>>0)-o&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Y((function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Y((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,r){return L(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return L(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(i=t;i=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function U(e,t,r,n,i,s){if(e>r||e3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(s+1)}${n}`:`>= -(2${n} ** ${8*(s+1)-1}${n}) and < 2 ** ${8*(s+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new R.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||z(t,e.length-(r+1))}(n,i,s)}function q(e,t){if("number"!==typeof e)throw new R.ERR_INVALID_ARG_TYPE(t,"number",e)}function z(e,t,r){if(Math.floor(e)!==e)throw q(e,r),new R.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new R.ERR_BUFFER_OUT_OF_BOUNDS;throw new R.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}$("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),$("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),$("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=V(String(r)):"bigint"===typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||1/0;const n=e.length;let i=null;const s=[];for(let o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function H(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function J(e,t,r,n){let i;for(i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!==e}const K=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function Y(e){return"undefined"===typeof BigInt?Z:e}function Z(){throw new Error("BigInt not supported")}},4981:function(e,t,r){e=r.nmd(e);var n=r(8764).lW;(e=>{var t,r=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&p(e,r,t[r]);if(u)for(var r of u(t))c.call(t,r)&&p(e,r,t[r]);return e},d=(e,t)=>i(e,o(t)),f=(e,t,r)=>new Promise(((n,i)=>{var s=e=>{try{a(r.next(e))}catch(t){i(t)}},o=e=>{try{a(r.throw(e))}catch(t){i(t)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,o);a((r=r.apply(e,t)).next())})),m={};function y(e){let t=e=>{if(null===e)r.write8(0);else if("boolean"===typeof e)r.write8(1),r.write8(+e);else if("number"===typeof e)r.write8(2),r.write32(0|e);else if("string"===typeof e)r.write8(3),r.write(g(e));else if(e instanceof Uint8Array)r.write8(4),r.write(e);else if(e instanceof Array){r.write8(5),r.write32(e.length);for(let r of e)t(r)}else{let n=Object.keys(e);r.write8(6),r.write32(n.length);for(let i of n)r.write(g(i)),t(e[i])}},r=new D;return r.write32(0),r.write32(e.id<<1|+!e.isRequest),t(e.value),E(r.buf,r.len-4,0),r.buf.subarray(0,r.len)}((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(m,{analyzeMetafile:()=>ue,analyzeMetafileSync:()=>he,build:()=>ie,buildSync:()=>le,default:()=>ye,formatMessages:()=>ae,formatMessagesSync:()=>pe,initialize:()=>fe,serve:()=>se,transform:()=>oe,transformSync:()=>ce,version:()=>ne}),e.exports=(t=m,((e,t,n,i)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let o of a(t))l.call(e,o)||o===n||r(e,o,{get:()=>t[o],enumerable:!(i=s(t,o))||i.enumerable});return e})(r({},"__esModule",{value:!0}),t));var g,v,D=class{constructor(e=new Uint8Array(1024)){this.buf=e,this.len=0,this.ptr=0}_write(e){if(this.len+e>this.buf.length){let t=new Uint8Array(2*(this.len+e));t.set(this.buf),this.buf=t}return this.len+=e,this.len-e}write8(e){let t=this._write(1);this.buf[t]=e}write32(e){let t=this._write(4);E(this.buf,e,t)}write(e){let t=this._write(4+e.length);E(this.buf,e.length,t),this.buf.set(e,t+4)}_read(e){if(this.ptr+e>this.buf.length)throw new Error("Invalid packet");return this.ptr+=e,this.ptr-e}read8(){return this.buf[this._read(1)]}read32(){return b(this.buf,this._read(4))}read(){let e=this.read32(),t=new Uint8Array(e),r=this._read(t.length);return t.set(this.buf.subarray(r,r+e)),t}};if("undefined"!==typeof TextEncoder&&"undefined"!==typeof TextDecoder){let e=new TextEncoder,t=new TextDecoder;g=t=>e.encode(t),v=e=>t.decode(e)}else{if("undefined"===typeof n)throw new Error("No UTF-8 codec found");g=e=>{let t=n.from(e);return t instanceof Uint8Array||(t=new Uint8Array(t)),t},v=e=>{let{buffer:t,byteOffset:r,byteLength:i}=e;return n.from(t,r,i).toString()}}function b(e,t){return e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24}function E(e,t,r){e[r++]=t,e[r++]=t>>8,e[r++]=t>>16,e[r++]=t>>24}function x(e){if((e+="").indexOf(",")>=0)throw new Error(`Invalid target: ${e}`);return e}var C=()=>null,w=e=>"boolean"===typeof e?null:"a boolean",A=e=>"boolean"===typeof e||"object"===typeof e&&!Array.isArray(e)?null:"a boolean or an object",S=e=>"string"===typeof e?null:"a string",T=e=>e instanceof RegExp?null:"a RegExp object",F=e=>"number"===typeof e&&e===(0|e)?null:"an integer",k=e=>"function"===typeof e?null:"a function",P=e=>Array.isArray(e)?null:"an array",N=e=>"object"!==typeof e||null===e||Array.isArray(e)?"an object":null,_=e=>e instanceof WebAssembly.Module?null:"a WebAssembly.Module",O=e=>"object"===typeof e&&null!==e?null:"an array or an object",I=e=>"object"!==typeof e||Array.isArray(e)?"an object or null":null,B=e=>"string"===typeof e||"boolean"===typeof e?null:"a string or a boolean",j=e=>"string"===typeof e||"object"===typeof e&&null!==e&&!Array.isArray(e)?null:"a string or an object",L=e=>"string"===typeof e||Array.isArray(e)?null:"a string or an array",M=e=>"string"===typeof e||e instanceof Uint8Array?null:"a string or a Uint8Array";function R(e,t,r,n){let i=e[r];if(t[r+""]=!0,void 0===i)return;let s=n(i);if(null!==s)throw new Error(`"${r}" must be ${s}`);return i}function $(e,t,r){for(let n in e)if(!(n in t))throw new Error(`Invalid option ${r}: "${n}"`)}function V(e){let t;if(void 0!==e){t=Object.create(null);for(let r of Object.keys(e)){let n=e[r];if("string"!==typeof n&&!1!==n)throw new Error(`Expected ${JSON.stringify(r)} in mangle cache to map to either a string or false`);t[r]=n}}return t}function U(e,t,r,n,i){let s=R(t,r,"color",w),o=R(t,r,"logLevel",S),a=R(t,r,"logLimit",F);void 0!==s?e.push(`--color=${s}`):n&&e.push("--color=true"),e.push(`--log-level=${o||i}`),e.push(`--log-limit=${a||0}`)}function q(e,t,r){let n=R(t,r,"legalComments",S),i=R(t,r,"sourceRoot",S),s=R(t,r,"sourcesContent",w),o=R(t,r,"target",L),a=R(t,r,"format",S),u=R(t,r,"globalName",S),l=R(t,r,"mangleProps",T),c=R(t,r,"reserveProps",T),p=R(t,r,"mangleQuoted",w),h=R(t,r,"minify",w),d=R(t,r,"minifySyntax",w),f=R(t,r,"minifyWhitespace",w),m=R(t,r,"minifyIdentifiers",w),y=R(t,r,"drop",P),g=R(t,r,"charset",S),v=R(t,r,"treeShaking",w),D=R(t,r,"ignoreAnnotations",w),b=R(t,r,"jsx",S),E=R(t,r,"jsxFactory",S),C=R(t,r,"jsxFragment",S),A=R(t,r,"define",N),F=R(t,r,"logOverride",N),k=R(t,r,"pure",P),_=R(t,r,"keepNames",w);if(n&&e.push(`--legal-comments=${n}`),void 0!==i&&e.push(`--source-root=${i}`),void 0!==s&&e.push(`--sources-content=${s}`),o&&(Array.isArray(o)?e.push(`--target=${Array.from(o).map(x).join(",")}`):e.push(`--target=${x(o)}`)),a&&e.push(`--format=${a}`),u&&e.push(`--global-name=${u}`),h&&e.push("--minify"),d&&e.push("--minify-syntax"),f&&e.push("--minify-whitespace"),m&&e.push("--minify-identifiers"),g&&e.push(`--charset=${g}`),void 0!==v&&e.push(`--tree-shaking=${v}`),D&&e.push("--ignore-annotations"),y)for(let x of y)e.push(`--drop:${x}`);if(l&&e.push(`--mangle-props=${l.source}`),c&&e.push(`--reserve-props=${c.source}`),void 0!==p&&e.push(`--mangle-quoted=${p}`),b&&e.push(`--jsx=${b}`),E&&e.push(`--jsx-factory=${E}`),C&&e.push(`--jsx-fragment=${C}`),A)for(let x in A){if(x.indexOf("=")>=0)throw new Error(`Invalid define: ${x}`);e.push(`--define:${x}=${A[x]}`)}if(F)for(let x in F){if(x.indexOf("=")>=0)throw new Error(`Invalid log override: ${x}`);e.push(`--log-override:${x}=${F[x]}`)}if(k)for(let x of k)e.push(`--pure:${x}`);_&&e.push("--keep-names")}function z(e){let t=new Map,r=new Map,n=new Map,i=new Map,s=null,o=0,a=0,u=new Uint8Array(16384),l=0,c=(r,n,i)=>{if(s)return i("The service is no longer running"+s.reason,null);let a=o++;t.set(a,((e,t)=>{try{i(e,t)}finally{r&&r.unref()}})),r&&r.ref(),e.writeToStdin(y({id:a,isRequest:!0,value:n}))},p=(t,r)=>{if(s)throw new Error("The service is no longer running"+s.reason);e.writeToStdin(y({id:t,isRequest:!1,value:r}))},m=(t,s)=>f(this,null,(function*(){try{switch(s.command){case"ping":p(t,{});break;case"on-start":{let e=r.get(s.key);p(t,e?yield e(s):{});break}case"on-resolve":{let e=r.get(s.key);p(t,e?yield e(s):{});break}case"on-load":{let e=r.get(s.key);p(t,e?yield e(s):{});break}case"serve-request":{let e=i.get(s.key);e&&e.onRequest&&e.onRequest(s.args),p(t,{});break}case"serve-wait":{let e=i.get(s.key);e&&e.onWait(s.error),p(t,{});break}case"watch-rebuild":{let e=n.get(s.key);try{e&&e(null,s.args)}catch(o){console.error(o)}p(t,{});break}default:throw new Error("Invalid command: "+s.command)}}catch(a){p(t,{errors:[H(a,e,null,void 0,"")]})}})),E=!0,x=e=>{if(E){E=!1;let t=String.fromCharCode(...e);if("0.14.42"!==t)throw new Error(`Cannot start service: Host version "0.14.42" does not match binary version ${JSON.stringify(t)}`);return}let r=function(e){let t=()=>{switch(r.read8()){case 0:return null;case 1:return!!r.read8();case 2:return r.read32();case 3:return v(r.read());case 4:return r.read();case 5:{let e=r.read32(),n=[];for(let r=0;r>>=1;let s=t();if(r.ptr!==e.length)throw new Error("Invalid packet");return{id:n,isRequest:i,value:s}}(e);if(r.isRequest)m(r.id,r.value);else{let e=t.get(r.id);t.delete(r.id),r.value.error?e(r.value.error,{}):e(null,r.value)}},_=(t,n,i,s,o)=>f(this,null,(function*(){let a=[],u=[],l={},p={},h=0,d=0,m=[],y=!1;n=[...n];for(let r of n){let n={};if("object"!==typeof r)throw new Error(`Plugin at index ${d} must be an object`);const f=R(r,n,"name",S);if("string"!==typeof f||""===f)throw new Error(`Plugin at index ${d} is missing a name`);try{let g=R(r,n,"setup",k);if("function"!==typeof g)throw new Error("Plugin is missing a setup function");$(r,n,`on plugin ${JSON.stringify(f)}`);let v={name:f,onResolve:[],onLoad:[]};d++;let D=g({initialOptions:t,resolve:(e,t={})=>{if(!y)throw new Error('Cannot call "resolve" before plugin setup has completed');if("string"!==typeof e)throw new Error("The path to resolve must be a string");let r=Object.create(null),n=R(t,r,"pluginName",S),a=R(t,r,"importer",S),u=R(t,r,"namespace",S),l=R(t,r,"resolveDir",S),p=R(t,r,"kind",S),h=R(t,r,"pluginData",C);return $(t,r,"in resolve() call"),new Promise(((t,r)=>{const d={command:"resolve",path:e,key:i,pluginName:f};null!=n&&(d.pluginName=n),null!=a&&(d.importer=a),null!=u&&(d.namespace=u),null!=l&&(d.resolveDir=l),null!=p&&(d.kind=p),null!=h&&(d.pluginData=s.store(h)),c(o,d,((e,n)=>{null!==e?r(new Error(e)):t({errors:Q(n.errors,s),warnings:Q(n.warnings,s),path:n.path,external:n.external,sideEffects:n.sideEffects,namespace:n.namespace,suffix:n.suffix,pluginData:s.load(n.pluginData)})}))}))},onStart(t){let r=G(new Error('This error came from the "onStart" callback registered here:'),e,"onStart");a.push({name:f,callback:t,note:r})},onEnd(t){let r=G(new Error('This error came from the "onEnd" callback registered here:'),e,"onEnd");u.push({name:f,callback:t,note:r})},onResolve(t,r){let n=G(new Error('This error came from the "onResolve" callback registered here:'),e,"onResolve"),i={},s=R(t,i,"filter",T),o=R(t,i,"namespace",S);if($(t,i,`in onResolve() call for plugin ${JSON.stringify(f)}`),null==s)throw new Error("onResolve() call is missing a filter");let a=h++;l[a]={name:f,callback:r,note:n},v.onResolve.push({id:a,filter:s.source,namespace:o||""})},onLoad(t,r){let n=G(new Error('This error came from the "onLoad" callback registered here:'),e,"onLoad"),i={},s=R(t,i,"filter",T),o=R(t,i,"namespace",S);if($(t,i,`in onLoad() call for plugin ${JSON.stringify(f)}`),null==s)throw new Error("onLoad() call is missing a filter");let a=h++;p[a]={name:f,callback:r,note:n},v.onLoad.push({id:a,filter:s.source,namespace:o||""})},esbuild:e.esbuild});D&&(yield D),m.push(v)}catch(E){return{ok:!1,error:E,pluginName:f}}}const v=t=>f(this,null,(function*(){switch(t.command){case"on-start":{let t={errors:[],warnings:[]};return yield Promise.all(a.map((r=>f(this,[r],(function*({name:r,callback:n,note:i}){try{let e=yield n();if(null!=e){if("object"!==typeof e)throw new Error(`Expected onStart() callback in plugin ${JSON.stringify(r)} to return an object`);let n={},i=R(e,n,"errors",P),o=R(e,n,"warnings",P);$(e,n,`from onStart() callback in plugin ${JSON.stringify(r)}`),null!=i&&t.errors.push(...Y(i,"errors",s,r)),null!=o&&t.warnings.push(...Y(o,"warnings",s,r))}}catch(E){t.errors.push(H(E,e,s,i&&i(),r))}}))))),t}case"on-resolve":{let r,n,i={},o="";for(let a of t.ids)try{({name:o,callback:r,note:n}=l[a]);let e=yield r({path:t.path,importer:t.importer,namespace:t.namespace,resolveDir:t.resolveDir,kind:t.kind,pluginData:s.load(t.pluginData)});if(null!=e){if("object"!==typeof e)throw new Error(`Expected onResolve() callback in plugin ${JSON.stringify(o)} to return an object`);let t={},r=R(e,t,"pluginName",S),n=R(e,t,"path",S),u=R(e,t,"namespace",S),l=R(e,t,"suffix",S),c=R(e,t,"external",w),p=R(e,t,"sideEffects",w),h=R(e,t,"pluginData",C),d=R(e,t,"errors",P),f=R(e,t,"warnings",P),m=R(e,t,"watchFiles",P),y=R(e,t,"watchDirs",P);$(e,t,`from onResolve() callback in plugin ${JSON.stringify(o)}`),i.id=a,null!=r&&(i.pluginName=r),null!=n&&(i.path=n),null!=u&&(i.namespace=u),null!=l&&(i.suffix=l),null!=c&&(i.external=c),null!=p&&(i.sideEffects=p),null!=h&&(i.pluginData=s.store(h)),null!=d&&(i.errors=Y(d,"errors",s,o)),null!=f&&(i.warnings=Y(f,"warnings",s,o)),null!=m&&(i.watchFiles=Z(m,"watchFiles")),null!=y&&(i.watchDirs=Z(y,"watchDirs"));break}}catch(E){return{id:a,errors:[H(E,e,s,n&&n(),o)]}}return i}case"on-load":{let r,n,i={},o="";for(let a of t.ids)try{({name:o,callback:r,note:n}=p[a]);let e=yield r({path:t.path,namespace:t.namespace,suffix:t.suffix,pluginData:s.load(t.pluginData)});if(null!=e){if("object"!==typeof e)throw new Error(`Expected onLoad() callback in plugin ${JSON.stringify(o)} to return an object`);let t={},r=R(e,t,"pluginName",S),n=R(e,t,"contents",M),u=R(e,t,"resolveDir",S),l=R(e,t,"pluginData",C),c=R(e,t,"loader",S),p=R(e,t,"errors",P),h=R(e,t,"warnings",P),d=R(e,t,"watchFiles",P),f=R(e,t,"watchDirs",P);$(e,t,`from onLoad() callback in plugin ${JSON.stringify(o)}`),i.id=a,null!=r&&(i.pluginName=r),n instanceof Uint8Array?i.contents=n:null!=n&&(i.contents=g(n)),null!=u&&(i.resolveDir=u),null!=l&&(i.pluginData=s.store(l)),null!=c&&(i.loader=c),null!=p&&(i.errors=Y(p,"errors",s,o)),null!=h&&(i.warnings=Y(h,"warnings",s,o)),null!=d&&(i.watchFiles=Z(d,"watchFiles")),null!=f&&(i.watchDirs=Z(f,"watchDirs"));break}}catch(E){return{id:a,errors:[H(E,e,s,n&&n(),o)]}}return i}default:throw new Error("Invalid command: "+t.command)}}));let D=(e,t,r)=>r();u.length>0&&(D=(e,t,r)=>{(()=>f(this,null,(function*(){for(const{name:r,callback:n,note:i}of u)try{yield n(e)}catch(E){e.errors.push(yield new Promise((e=>t(E,r,i&&i(),e))))}})))().then(r)}),y=!0;let b=0;return{ok:!0,requestPlugins:m,runOnEndCallbacks:D,pluginRefs:{ref(){1===++b&&r.set(i,v)},unref(){0===--b&&r.delete(i)}}}}));const I="warning",L="silent";let z=({callName:t,refs:r,serveOptions:o,options:a,isTTY:u,defaultWD:l,callback:p,key:h,details:d,logPluginError:f,requestPlugins:m,runOnEndCallbacks:y,pluginRefs:g})=>{const D={ref(){g&&g.ref(),r&&r.ref()},unref(){g&&g.unref(),r&&r.unref()}};let b=!e.isBrowser,{entries:E,flags:x,write:C,stdinContents:T,stdinResolveDir:_,absWorkingDir:j,incremental:L,nodePaths:M,watch:z,mangleCache:W}=function(e,t,r,n,i){var s;let o=[],a=[],u=Object.create(null),l=null,c=null,p=null;U(o,t,u,r,n),q(o,t,u);let h=R(t,u,"sourcemap",B),d=R(t,u,"bundle",w),f=R(t,u,"watch",A),m=R(t,u,"splitting",w),y=R(t,u,"preserveSymlinks",w),g=R(t,u,"metafile",w),v=R(t,u,"outfile",S),D=R(t,u,"outdir",S),b=R(t,u,"outbase",S),E=R(t,u,"platform",S),x=R(t,u,"tsconfig",S),C=R(t,u,"resolveExtensions",P),T=R(t,u,"nodePaths",P),F=R(t,u,"mainFields",P),_=R(t,u,"conditions",P),I=R(t,u,"external",P),j=R(t,u,"loader",N),L=R(t,u,"outExtension",N),M=R(t,u,"publicPath",S),z=R(t,u,"entryNames",S),W=R(t,u,"chunkNames",S),G=R(t,u,"assetNames",S),H=R(t,u,"inject",P),J=R(t,u,"banner",N),X=R(t,u,"footer",N),Q=R(t,u,"entryPoints",O),K=R(t,u,"absWorkingDir",S),Y=R(t,u,"stdin",N),Z=null!=(s=R(t,u,"write",w))?s:i,ee=R(t,u,"allowOverwrite",w),te=!0===R(t,u,"incremental",w),re=R(t,u,"mangleCache",N);if(u.plugins=!0,$(t,u,`in ${e}() call`),h&&o.push("--sourcemap"+(!0===h?"":`=${h}`)),d&&o.push("--bundle"),ee&&o.push("--allow-overwrite"),f)if(o.push("--watch"),"boolean"===typeof f)p={};else{let t=Object.create(null),r=R(f,t,"onRebuild",k);$(f,t,`on "watch" in ${e}() call`),p={onRebuild:r}}if(m&&o.push("--splitting"),y&&o.push("--preserve-symlinks"),g&&o.push("--metafile"),v&&o.push(`--outfile=${v}`),D&&o.push(`--outdir=${D}`),b&&o.push(`--outbase=${b}`),E&&o.push(`--platform=${E}`),x&&o.push(`--tsconfig=${x}`),C){let e=[];for(let t of C){if(t+="",t.indexOf(",")>=0)throw new Error(`Invalid resolve extension: ${t}`);e.push(t)}o.push(`--resolve-extensions=${e.join(",")}`)}if(M&&o.push(`--public-path=${M}`),z&&o.push(`--entry-names=${z}`),W&&o.push(`--chunk-names=${W}`),G&&o.push(`--asset-names=${G}`),F){let e=[];for(let t of F){if(t+="",t.indexOf(",")>=0)throw new Error(`Invalid main field: ${t}`);e.push(t)}o.push(`--main-fields=${e.join(",")}`)}if(_){let e=[];for(let t of _){if(t+="",t.indexOf(",")>=0)throw new Error(`Invalid condition: ${t}`);e.push(t)}o.push(`--conditions=${e.join(",")}`)}if(I)for(let w of I)o.push(`--external:${w}`);if(J)for(let w in J){if(w.indexOf("=")>=0)throw new Error(`Invalid banner file type: ${w}`);o.push(`--banner:${w}=${J[w]}`)}if(X)for(let w in X){if(w.indexOf("=")>=0)throw new Error(`Invalid footer file type: ${w}`);o.push(`--footer:${w}=${X[w]}`)}if(H)for(let w of H)o.push(`--inject:${w}`);if(j)for(let w in j){if(w.indexOf("=")>=0)throw new Error(`Invalid loader extension: ${w}`);o.push(`--loader:${w}=${j[w]}`)}if(L)for(let w in L){if(w.indexOf("=")>=0)throw new Error(`Invalid out extension: ${w}`);o.push(`--out-extension:${w}=${L[w]}`)}if(Q)if(Array.isArray(Q))for(let w of Q)a.push(["",w+""]);else for(let[w,A]of Object.entries(Q))a.push([w+"",A+""]);if(Y){let e=Object.create(null),t=R(Y,e,"contents",S),r=R(Y,e,"resolveDir",S),n=R(Y,e,"sourcefile",S),i=R(Y,e,"loader",S);$(Y,e,'in "stdin" object'),n&&o.push(`--sourcefile=${n}`),i&&o.push(`--loader=${i}`),r&&(c=r+""),l=t?t+"":""}let ne=[];if(T)for(let w of T)w+="",ne.push(w);return{entries:a,flags:o,write:Z,stdinContents:l,stdinResolveDir:c,absWorkingDir:K,incremental:te,nodePaths:ne,watch:p,mangleCache:V(re)}}(t,a,u,I,b),G={command:"build",key:h,entries:E,flags:x,write:C,stdinContents:T,stdinResolveDir:_,absWorkingDir:j||l,incremental:L,nodePaths:M};m&&(G.plugins=m),W&&(G.mangleCache=W);let H,J,K=o&&((e,t,r,n)=>{let s,o={},a=R(t,o,"port",F),u=R(t,o,"host",S),l=R(t,o,"servedir",S),p=R(t,o,"onRequest",k),h=new Promise(((e,t)=>{s=r=>{i.delete(n),null!==r?t(new Error(r)):e()}}));return r.serve={},$(t,o,"in serve() call"),void 0!==a&&(r.serve.port=a),void 0!==u&&(r.serve.host=u),void 0!==l&&(r.serve.servedir=l),i.set(n,{onRequest:p,onWait:s}),{wait:h,stop(){c(e,{command:"serve-stop",key:n},(()=>{}))}}})(D,o,G,h),Y=(e,t)=>{e.outputFiles&&(t.outputFiles=e.outputFiles.map(ee)),e.metafile&&(t.metafile=JSON.parse(e.metafile)),e.mangleCache&&(t.mangleCache=e.mangleCache),void 0!==e.writeToStdout&&console.log(v(e.writeToStdout).replace(/\n$/,""))},Z=(e,t)=>{let r={errors:Q(e.errors,d),warnings:Q(e.warnings,d)};Y(e,r),y(r,f,(()=>{if(r.errors.length>0)return t(X("Build failed",r.errors,r.warnings),null);if(e.rebuild){if(!H){let e=!1;H=()=>new Promise(((r,n)=>{if(e||s)throw new Error("Cannot rebuild");c(D,{command:"rebuild",key:h},((e,i)=>{if(e){return t(X("Build failed",[{pluginName:"",text:e,location:null,notes:[],detail:void 0}],[]),null)}Z(i,((e,t)=>{e?n(e):r(t)}))}))})),D.ref(),H.dispose=()=>{e||(e=!0,c(D,{command:"rebuild-dispose",key:h},(()=>{})),D.unref())}}r.rebuild=H}if(e.watch){if(!J){let e=!1;D.ref(),J=()=>{e||(e=!0,n.delete(h),c(D,{command:"watch-stop",key:h},(()=>{})),D.unref())},z&&n.set(h,((e,t)=>{if(e)return void(z.onRebuild&&z.onRebuild(e,null));let r={errors:Q(t.errors,d),warnings:Q(t.warnings,d)};Y(t,r),y(r,f,(()=>{r.errors.length>0?z.onRebuild&&z.onRebuild(X("Build failed",r.errors,r.warnings),null):(void 0!==t.rebuildID&&(r.rebuild=H),r.stop=J,z.onRebuild&&z.onRebuild(null,r))}))}))}r.stop=J}t(null,r)}))};if(C&&e.isBrowser)throw new Error('Cannot enable "write" in the browser');if(L&&e.isSync)throw new Error('Cannot use "incremental" with a synchronous build');if(z&&e.isSync)throw new Error('Cannot use "watch" with a synchronous build');c(D,G,((e,t)=>{if(e)return p(new Error(e),null);if(K){let e=t,r=!1;D.ref();let n={port:e.port,host:e.host,wait:K.wait,stop(){r||(r=!0,K.stop(),D.unref())}};return D.ref(),K.wait.then(D.unref,D.unref),p(null,n)}return Z(t,p)}))};return{readFromStdout:e=>{let t=l+e.length;if(t>u.length){let e=new Uint8Array(2*t);e.set(u),u=e}u.set(e,l),l+=e.length;let r=0;for(;r+4<=l;){let e=b(u,r);if(r+4+e>l)break;r+=4,x(u.subarray(r,r+e)),r+=e}r>0&&(u.copyWithin(0,r,l),l-=r)},afterClose:e=>{s={reason:e?": "+(e.message||e):""};const r="The service was stopped"+s.reason;for(let n of t.values())n(r,null);t.clear();for(let t of i.values())t.onWait(r);i.clear();for(let t of n.values())try{t(new Error(r),null)}catch(o){console.error(o)}n.clear()},service:{buildOrServe:t=>{let r=a++;const n=W();let i,{refs:s,options:o,isTTY:u,callback:l}=t;if("object"===typeof o){let e=o.plugins;if(void 0!==e){if(!Array.isArray(e))throw new Error('"plugins" must be an array');i=e}}let p=(t,r,i,a)=>{let l=[];try{U(l,o,{},u,I)}catch(h){}const p=H(t,e,n,i,r);c(s,{command:"error",flags:l,error:p},(()=>{p.detail=n.load(p.detail),a(p)}))},f=(e,t)=>{p(e,t,void 0,(e=>{l(X("Build failed",[e],[]),null)}))};if(i&&i.length>0){if(e.isSync)return f(new Error("Cannot use plugins in synchronous API calls"),"");_(o,i,r,n,s).then((e=>{if(e.ok)try{z(d(h({},t),{key:r,details:n,logPluginError:p,requestPlugins:e.requestPlugins,runOnEndCallbacks:e.runOnEndCallbacks,pluginRefs:e.pluginRefs}))}catch(i){f(i,"")}else f(e.error,e.pluginName)}),(e=>f(e,"")))}else try{z(d(h({},t),{key:r,details:n,logPluginError:p,requestPlugins:null,runOnEndCallbacks:(e,t,r)=>r(),pluginRefs:null}))}catch(m){f(m,"")}},transform:({callName:t,refs:r,input:n,options:i,isTTY:s,fs:o,callback:a})=>{const u=W();let l=l=>{try{if("string"!==typeof n)throw new Error('The input to "transform" must be a string');let{flags:e,mangleCache:p}=function(e,t,r,n){let i=[],s=Object.create(null);U(i,t,s,r,n),q(i,t,s);let o=R(t,s,"sourcemap",B),a=R(t,s,"tsconfigRaw",j),u=R(t,s,"sourcefile",S),l=R(t,s,"loader",S),c=R(t,s,"banner",S),p=R(t,s,"footer",S),h=R(t,s,"mangleCache",N);return $(t,s,`in ${e}() call`),o&&i.push(`--sourcemap=${!0===o?"external":o}`),a&&i.push(`--tsconfig-raw=${"string"===typeof a?a:JSON.stringify(a)}`),u&&i.push(`--sourcefile=${u}`),l&&i.push(`--loader=${l}`),c&&i.push(`--banner=${c}`),p&&i.push(`--footer=${p}`),{flags:i,mangleCache:V(h)}}(t,i,s,L),h={command:"transform",flags:e,inputFS:null!==l,input:null!==l?l:n};p&&(h.mangleCache=p),c(r,h,((e,t)=>{if(e)return a(new Error(e),null);let r=Q(t.errors,u),n=Q(t.warnings,u),i=1,s=()=>{if(0===--i){let e={warnings:n,code:t.code,map:t.map};t.mangleCache&&(e.mangleCache=null==t?void 0:t.mangleCache),a(null,e)}};if(r.length>0)return a(X("Transform failed",r,n),null);t.codeFS&&(i++,o.readFile(t.code,((e,r)=>{null!==e?a(e,null):(t.code=r,s())}))),t.mapFS&&(i++,o.readFile(t.map,((e,r)=>{null!==e?a(e,null):(t.map=r,s())}))),s()}))}catch(p){let t=[];try{U(t,i,{},s,L)}catch(h){}const n=H(p,e,u,void 0,"");c(r,{command:"error",flags:t,error:n},(()=>{n.detail=u.load(n.detail),a(X("Transform failed",[n],[]),null)}))}};if("string"===typeof n&&n.length>1048576){let e=l;l=()=>o.writeFile(n,e)}l(null)},formatMessages:({callName:e,refs:t,messages:r,options:n,callback:i})=>{let s=Y(r,"messages",null,"");if(!n)throw new Error(`Missing second argument in ${e}() call`);let o={},a=R(n,o,"kind",S),u=R(n,o,"color",w),l=R(n,o,"terminalWidth",F);if($(n,o,`in ${e}() call`),void 0===a)throw new Error(`Missing "kind" in ${e}() call`);if("error"!==a&&"warning"!==a)throw new Error(`Expected "kind" to be "error" or "warning" in ${e}() call`);let p={command:"format-msgs",messages:s,isWarning:"warning"===a};void 0!==u&&(p.color=u),void 0!==l&&(p.terminalWidth=l),c(t,p,((e,t)=>{if(e)return i(new Error(e),null);i(null,t.messages)}))},analyzeMetafile:({callName:e,refs:t,metafile:r,options:n,callback:i})=>{void 0===n&&(n={});let s={},o=R(n,s,"color",w),a=R(n,s,"verbose",w);$(n,s,`in ${e}() call`);let u={command:"analyze-metafile",metafile:r};void 0!==o&&(u.color=o),void 0!==a&&(u.verbose=a),c(t,u,((e,t)=>{if(e)return i(new Error(e),null);i(null,t.result)}))}}}}function W(){const e=new Map;let t=0;return{load:t=>e.get(t),store(r){if(void 0===r)return-1;const n=t++;return e.set(n,r),n}}}function G(e,t,r){let n,i=!1;return()=>{if(i)return n;i=!0;try{let i=(e.stack+"").split("\n");i.splice(1,1);let s=J(t,i,r);if(s)return n={text:e.message,location:s},n}catch(s){}}}function H(e,t,r,n,i){let s="Internal error",o=null;try{s=(e&&e.message||e)+""}catch(a){}try{o=J(t,(e.stack+"").split("\n"),"")}catch(a){}return{pluginName:i,text:s,location:o,notes:n?[n]:[],detail:r?r.store(e):-1}}function J(e,t,r){let n=" at ";if(e.readFileSync&&!t[0].startsWith(n)&&t[1].startsWith(n))for(let s=1;s{if(5===t)return"\n...";if(!e.location)return`\nerror: ${e.text}`;let{file:r,line:n,column:i}=e.location;return`\n${r}:${n}:${i}: ERROR: ${e.pluginName?`[plugin: ${e.pluginName}] `:""}${e.text}`})).join(""),i=new Error(`${e}${n}`);return i.errors=t,i.warnings=r,i}function Q(e,t){for(const r of e)r.detail=t.load(r.detail);return e}function K(e,t){if(null==e)return null;let r={},n=R(e,r,"file",S),i=R(e,r,"namespace",S),s=R(e,r,"line",F),o=R(e,r,"column",F),a=R(e,r,"length",F),u=R(e,r,"lineText",S),l=R(e,r,"suggestion",S);return $(e,r,t),{file:n||"",namespace:i||"",line:s||0,column:o||0,length:a||0,lineText:u||"",suggestion:l||""}}function Y(e,t,r,n){let i=[],s=0;for(const o of e){let e={},a=R(o,e,"pluginName",S),u=R(o,e,"text",S),l=R(o,e,"location",I),c=R(o,e,"notes",P),p=R(o,e,"detail",C),h=`in element ${s} of "${t}"`;$(o,e,h);let d=[];if(c)for(const t of c){let e={},r=R(t,e,"text",S),n=R(t,e,"location",I);$(t,e,h),d.push({text:r||"",location:K(n,h)})}i.push({pluginName:a||n,text:u||"",location:K(l,h),notes:d,detail:r?r.store(p):-1}),s++}return i}function Z(e,t){const r=[];for(const n of e){if("string"!==typeof n)throw new Error(`${JSON.stringify(t)} must be an array of strings`);r.push(n)}return r}function ee({path:e,contents:t}){let r=null;return{path:e,contents:t,get text(){return null===r&&(r=v(t)),r}}}var te,re,ne="0.14.42",ie=e=>de().build(e),se=()=>{throw new Error('The "serve" API only works in node')},oe=(e,t)=>de().transform(e,t),ae=(e,t)=>de().formatMessages(e,t),ue=(e,t)=>de().analyzeMetafile(e,t),le=()=>{throw new Error('The "buildSync" API only works in node')},ce=()=>{throw new Error('The "transformSync" API only works in node')},pe=()=>{throw new Error('The "formatMessagesSync" API only works in node')},he=()=>{throw new Error('The "analyzeMetafileSync" API only works in node')},de=()=>{if(re)return re;if(te)throw new Error('You need to wait for the promise returned from "initialize" to be resolved before calling this');throw new Error('You need to call "initialize" before calling this')},fe=e=>{e=function(e){let t=Object.create(null),r=R(e,t,"wasmURL",S),n=R(e,t,"wasmModule",_),i=R(e,t,"worker",w);return $(e,t,"in initialize() call"),{wasmURL:r,wasmModule:n,worker:i}}(e||{});let t=e.wasmURL,r=e.wasmModule,n=!1!==e.worker;if(!t&&!r)throw new Error('Must provide either the "wasmURL" option or the "wasmModule" option');if(te)throw new Error('Cannot call "initialize" more than once');return(te=me(t||"",r,n)).catch((()=>{te=void 0})),te},me=(e,t,r)=>f(void 0,null,(function*(){let n,i;if(t)n=t;else{let t=yield fetch(e);if(!t.ok)throw new Error(`Failed to download ${JSON.stringify(e)}`);n=yield t.arrayBuffer()}if(r){let e=new Blob(['onmessage=((postMessage) => {\n // Copyright 2018 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n };\n let onmessage;\n let globalThis = {};\n for (let o = self; o; o = Object.getPrototypeOf(o))\n for (let k of Object.getOwnPropertyNames(o))\n if (!(k in globalThis))\n Object.defineProperty(globalThis, k, { get: () => self[k] });\n "use strict";\n (() => {\n const enosys = () => {\n const err = new Error("not implemented");\n err.code = "ENOSYS";\n return err;\n };\n if (!globalThis.fs) {\n let outputBuf = "";\n globalThis.fs = {\n constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 },\n writeSync(fd, buf) {\n outputBuf += decoder.decode(buf);\n const nl = outputBuf.lastIndexOf("\\n");\n if (nl != -1) {\n console.log(outputBuf.substr(0, nl));\n outputBuf = outputBuf.substr(nl + 1);\n }\n return buf.length;\n },\n write(fd, buf, offset, length, position, callback) {\n if (offset !== 0 || length !== buf.length || position !== null) {\n callback(enosys());\n return;\n }\n const n = this.writeSync(fd, buf);\n callback(null, n);\n },\n chmod(path, mode, callback) {\n callback(enosys());\n },\n chown(path, uid, gid, callback) {\n callback(enosys());\n },\n close(fd, callback) {\n callback(enosys());\n },\n fchmod(fd, mode, callback) {\n callback(enosys());\n },\n fchown(fd, uid, gid, callback) {\n callback(enosys());\n },\n fstat(fd, callback) {\n callback(enosys());\n },\n fsync(fd, callback) {\n callback(null);\n },\n ftruncate(fd, length, callback) {\n callback(enosys());\n },\n lchown(path, uid, gid, callback) {\n callback(enosys());\n },\n link(path, link, callback) {\n callback(enosys());\n },\n lstat(path, callback) {\n callback(enosys());\n },\n mkdir(path, perm, callback) {\n callback(enosys());\n },\n open(path, flags, mode, callback) {\n callback(enosys());\n },\n read(fd, buffer, offset, length, position, callback) {\n callback(enosys());\n },\n readdir(path, callback) {\n callback(enosys());\n },\n readlink(path, callback) {\n callback(enosys());\n },\n rename(from, to, callback) {\n callback(enosys());\n },\n rmdir(path, callback) {\n callback(enosys());\n },\n stat(path, callback) {\n callback(enosys());\n },\n symlink(path, link, callback) {\n callback(enosys());\n },\n truncate(path, length, callback) {\n callback(enosys());\n },\n unlink(path, callback) {\n callback(enosys());\n },\n utimes(path, atime, mtime, callback) {\n callback(enosys());\n }\n };\n }\n if (!globalThis.process) {\n globalThis.process = {\n getuid() {\n return -1;\n },\n getgid() {\n return -1;\n },\n geteuid() {\n return -1;\n },\n getegid() {\n return -1;\n },\n getgroups() {\n throw enosys();\n },\n pid: -1,\n ppid: -1,\n umask() {\n throw enosys();\n },\n cwd() {\n throw enosys();\n },\n chdir() {\n throw enosys();\n }\n };\n }\n if (!globalThis.crypto) {\n throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");\n }\n if (!globalThis.performance) {\n throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");\n }\n if (!globalThis.TextEncoder) {\n throw new Error("globalThis.TextEncoder is not available, polyfill required");\n }\n if (!globalThis.TextDecoder) {\n throw new Error("globalThis.TextDecoder is not available, polyfill required");\n }\n const encoder = new TextEncoder("utf-8");\n const decoder = new TextDecoder("utf-8");\n globalThis.Go = class {\n constructor() {\n this.argv = ["js"];\n this.env = {};\n this.exit = (code) => {\n if (code !== 0) {\n console.warn("exit code:", code);\n }\n };\n this._exitPromise = new Promise((resolve) => {\n this._resolveExitPromise = resolve;\n });\n this._pendingEvent = null;\n this._scheduledTimeouts = /* @__PURE__ */ new Map();\n this._nextCallbackTimeoutID = 1;\n const setInt64 = (addr, v) => {\n this.mem.setUint32(addr + 0, v, true);\n this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);\n };\n const getInt64 = (addr) => {\n const low = this.mem.getUint32(addr + 0, true);\n const high = this.mem.getInt32(addr + 4, true);\n return low + high * 4294967296;\n };\n const loadValue = (addr) => {\n const f = this.mem.getFloat64(addr, true);\n if (f === 0) {\n return void 0;\n }\n if (!isNaN(f)) {\n return f;\n }\n const id = this.mem.getUint32(addr, true);\n return this._values[id];\n };\n const storeValue = (addr, v) => {\n const nanHead = 2146959360;\n if (typeof v === "number" && v !== 0) {\n if (isNaN(v)) {\n this.mem.setUint32(addr + 4, nanHead, true);\n this.mem.setUint32(addr, 0, true);\n return;\n }\n this.mem.setFloat64(addr, v, true);\n return;\n }\n if (v === void 0) {\n this.mem.setFloat64(addr, 0, true);\n return;\n }\n let id = this._ids.get(v);\n if (id === void 0) {\n id = this._idPool.pop();\n if (id === void 0) {\n id = this._values.length;\n }\n this._values[id] = v;\n this._goRefCounts[id] = 0;\n this._ids.set(v, id);\n }\n this._goRefCounts[id]++;\n let typeFlag = 0;\n switch (typeof v) {\n case "object":\n if (v !== null) {\n typeFlag = 1;\n }\n break;\n case "string":\n typeFlag = 2;\n break;\n case "symbol":\n typeFlag = 3;\n break;\n case "function":\n typeFlag = 4;\n break;\n }\n this.mem.setUint32(addr + 4, nanHead | typeFlag, true);\n this.mem.setUint32(addr, id, true);\n };\n const loadSlice = (addr) => {\n const array = getInt64(addr + 0);\n const len = getInt64(addr + 8);\n return new Uint8Array(this._inst.exports.mem.buffer, array, len);\n };\n const loadSliceOfValues = (addr) => {\n const array = getInt64(addr + 0);\n const len = getInt64(addr + 8);\n const a = new Array(len);\n for (let i = 0; i < len; i++) {\n a[i] = loadValue(array + i * 8);\n }\n return a;\n };\n const loadString = (addr) => {\n const saddr = getInt64(addr + 0);\n const len = getInt64(addr + 8);\n return decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));\n };\n const timeOrigin = Date.now() - performance.now();\n this.importObject = {\n go: {\n "runtime.wasmExit": (sp) => {\n sp >>>= 0;\n const code = this.mem.getInt32(sp + 8, true);\n this.exited = true;\n delete this._inst;\n delete this._values;\n delete this._goRefCounts;\n delete this._ids;\n delete this._idPool;\n this.exit(code);\n },\n "runtime.wasmWrite": (sp) => {\n sp >>>= 0;\n const fd = getInt64(sp + 8);\n const p = getInt64(sp + 16);\n const n = this.mem.getInt32(sp + 24, true);\n globalThis.fs.writeSync(fd, new Uint8Array(this._inst.exports.mem.buffer, p, n));\n },\n "runtime.resetMemoryDataView": (sp) => {\n sp >>>= 0;\n this.mem = new DataView(this._inst.exports.mem.buffer);\n },\n "runtime.nanotime1": (sp) => {\n sp >>>= 0;\n setInt64(sp + 8, (timeOrigin + performance.now()) * 1e6);\n },\n "runtime.walltime": (sp) => {\n sp >>>= 0;\n const msec = new Date().getTime();\n setInt64(sp + 8, msec / 1e3);\n this.mem.setInt32(sp + 16, msec % 1e3 * 1e6, true);\n },\n "runtime.scheduleTimeoutEvent": (sp) => {\n sp >>>= 0;\n const id = this._nextCallbackTimeoutID;\n this._nextCallbackTimeoutID++;\n this._scheduledTimeouts.set(id, setTimeout(() => {\n this._resume();\n while (this._scheduledTimeouts.has(id)) {\n console.warn("scheduleTimeoutEvent: missed timeout event");\n this._resume();\n }\n }, getInt64(sp + 8) + 1));\n this.mem.setInt32(sp + 16, id, true);\n },\n "runtime.clearTimeoutEvent": (sp) => {\n sp >>>= 0;\n const id = this.mem.getInt32(sp + 8, true);\n clearTimeout(this._scheduledTimeouts.get(id));\n this._scheduledTimeouts.delete(id);\n },\n "runtime.getRandomData": (sp) => {\n sp >>>= 0;\n crypto.getRandomValues(loadSlice(sp + 8));\n },\n "syscall/js.finalizeRef": (sp) => {\n sp >>>= 0;\n const id = this.mem.getUint32(sp + 8, true);\n this._goRefCounts[id]--;\n if (this._goRefCounts[id] === 0) {\n const v = this._values[id];\n this._values[id] = null;\n this._ids.delete(v);\n this._idPool.push(id);\n }\n },\n "syscall/js.stringVal": (sp) => {\n sp >>>= 0;\n storeValue(sp + 24, loadString(sp + 8));\n },\n "syscall/js.valueGet": (sp) => {\n sp >>>= 0;\n const result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 32, result);\n },\n "syscall/js.valueSet": (sp) => {\n sp >>>= 0;\n Reflect.set(loadValue(sp + 8), loadString(sp + 16), loadValue(sp + 32));\n },\n "syscall/js.valueDelete": (sp) => {\n sp >>>= 0;\n Reflect.deleteProperty(loadValue(sp + 8), loadString(sp + 16));\n },\n "syscall/js.valueIndex": (sp) => {\n sp >>>= 0;\n storeValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));\n },\n "syscall/js.valueSetIndex": (sp) => {\n sp >>>= 0;\n Reflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));\n },\n "syscall/js.valueCall": (sp) => {\n sp >>>= 0;\n try {\n const v = loadValue(sp + 8);\n const m = Reflect.get(v, loadString(sp + 16));\n const args = loadSliceOfValues(sp + 32);\n const result = Reflect.apply(m, v, args);\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 56, result);\n this.mem.setUint8(sp + 64, 1);\n } catch (err) {\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 56, err);\n this.mem.setUint8(sp + 64, 0);\n }\n },\n "syscall/js.valueInvoke": (sp) => {\n sp >>>= 0;\n try {\n const v = loadValue(sp + 8);\n const args = loadSliceOfValues(sp + 16);\n const result = Reflect.apply(v, void 0, args);\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, result);\n this.mem.setUint8(sp + 48, 1);\n } catch (err) {\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, err);\n this.mem.setUint8(sp + 48, 0);\n }\n },\n "syscall/js.valueNew": (sp) => {\n sp >>>= 0;\n try {\n const v = loadValue(sp + 8);\n const args = loadSliceOfValues(sp + 16);\n const result = Reflect.construct(v, args);\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, result);\n this.mem.setUint8(sp + 48, 1);\n } catch (err) {\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, err);\n this.mem.setUint8(sp + 48, 0);\n }\n },\n "syscall/js.valueLength": (sp) => {\n sp >>>= 0;\n setInt64(sp + 16, parseInt(loadValue(sp + 8).length));\n },\n "syscall/js.valuePrepareString": (sp) => {\n sp >>>= 0;\n const str = encoder.encode(String(loadValue(sp + 8)));\n storeValue(sp + 16, str);\n setInt64(sp + 24, str.length);\n },\n "syscall/js.valueLoadString": (sp) => {\n sp >>>= 0;\n const str = loadValue(sp + 8);\n loadSlice(sp + 16).set(str);\n },\n "syscall/js.valueInstanceOf": (sp) => {\n sp >>>= 0;\n this.mem.setUint8(sp + 24, loadValue(sp + 8) instanceof loadValue(sp + 16) ? 1 : 0);\n },\n "syscall/js.copyBytesToGo": (sp) => {\n sp >>>= 0;\n const dst = loadSlice(sp + 8);\n const src = loadValue(sp + 32);\n if (!(src instanceof Uint8Array || src instanceof Uint8ClampedArray)) {\n this.mem.setUint8(sp + 48, 0);\n return;\n }\n const toCopy = src.subarray(0, dst.length);\n dst.set(toCopy);\n setInt64(sp + 40, toCopy.length);\n this.mem.setUint8(sp + 48, 1);\n },\n "syscall/js.copyBytesToJS": (sp) => {\n sp >>>= 0;\n const dst = loadValue(sp + 8);\n const src = loadSlice(sp + 16);\n if (!(dst instanceof Uint8Array || dst instanceof Uint8ClampedArray)) {\n this.mem.setUint8(sp + 48, 0);\n return;\n }\n const toCopy = src.subarray(0, dst.length);\n dst.set(toCopy);\n setInt64(sp + 40, toCopy.length);\n this.mem.setUint8(sp + 48, 1);\n },\n "debug": (value) => {\n console.log(value);\n }\n }\n };\n }\n run(instance) {\n return __async(this, null, function* () {\n if (!(instance instanceof WebAssembly.Instance)) {\n throw new Error("Go.run: WebAssembly.Instance expected");\n }\n this._inst = instance;\n this.mem = new DataView(this._inst.exports.mem.buffer);\n this._values = [\n NaN,\n 0,\n null,\n true,\n false,\n globalThis,\n this\n ];\n this._goRefCounts = new Array(this._values.length).fill(Infinity);\n this._ids = /* @__PURE__ */ new Map([\n [0, 1],\n [null, 2],\n [true, 3],\n [false, 4],\n [globalThis, 5],\n [this, 6]\n ]);\n this._idPool = [];\n this.exited = false;\n let offset = 4096;\n const strPtr = (str) => {\n const ptr = offset;\n const bytes = encoder.encode(str + "\\0");\n new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);\n offset += bytes.length;\n if (offset % 8 !== 0) {\n offset += 8 - offset % 8;\n }\n return ptr;\n };\n const argc = this.argv.length;\n const argvPtrs = [];\n this.argv.forEach((arg) => {\n argvPtrs.push(strPtr(arg));\n });\n argvPtrs.push(0);\n const keys = Object.keys(this.env).sort();\n keys.forEach((key) => {\n argvPtrs.push(strPtr(`${key}=${this.env[key]}`));\n });\n argvPtrs.push(0);\n const argv = offset;\n argvPtrs.forEach((ptr) => {\n this.mem.setUint32(offset, ptr, true);\n this.mem.setUint32(offset + 4, 0, true);\n offset += 8;\n });\n const wasmMinDataAddr = 4096 + 8192;\n if (offset >= wasmMinDataAddr) {\n throw new Error("total length of command line and environment variables exceeds limit");\n }\n this._inst.exports.run(argc, argv);\n if (this.exited) {\n this._resolveExitPromise();\n }\n yield this._exitPromise;\n });\n }\n _resume() {\n if (this.exited) {\n throw new Error("Go program has already exited");\n }\n this._inst.exports.resume();\n if (this.exited) {\n this._resolveExitPromise();\n }\n }\n _makeFuncWrapper(id) {\n const go = this;\n return function() {\n const event = { id, this: this, args: arguments };\n go._pendingEvent = event;\n go._resume();\n return event.result;\n };\n }\n };\n })();\n onmessage = ({ data: wasm }) => {\n let decoder = new TextDecoder();\n let fs = globalThis.fs;\n let stderr = "";\n fs.writeSync = (fd, buffer) => {\n if (fd === 1) {\n postMessage(buffer);\n } else if (fd === 2) {\n stderr += decoder.decode(buffer);\n let parts = stderr.split("\\n");\n if (parts.length > 1)\n console.log(parts.slice(0, -1).join("\\n"));\n stderr = parts[parts.length - 1];\n } else {\n throw new Error("Bad write");\n }\n return buffer.length;\n };\n let stdin = [];\n let resumeStdin;\n let stdinPos = 0;\n onmessage = ({ data }) => {\n if (data.length > 0) {\n stdin.push(data);\n if (resumeStdin)\n resumeStdin();\n }\n };\n fs.read = (fd, buffer, offset, length, position, callback) => {\n if (fd !== 0 || offset !== 0 || length !== buffer.length || position !== null) {\n throw new Error("Bad read");\n }\n if (stdin.length === 0) {\n resumeStdin = () => fs.read(fd, buffer, offset, length, position, callback);\n return;\n }\n let first = stdin[0];\n let count = Math.max(0, Math.min(length, first.length - stdinPos));\n buffer.set(first.subarray(stdinPos, stdinPos + count), offset);\n stdinPos += count;\n if (stdinPos === first.length) {\n stdin.shift();\n stdinPos = 0;\n }\n callback(null, count);\n };\n let go = new globalThis.Go();\n go.argv = ["", `--service=${"0.14.42"}`];\n if (wasm instanceof WebAssembly.Module) {\n WebAssembly.instantiate(wasm, go.importObject).then((instance) => go.run(instance));\n } else {\n WebAssembly.instantiate(wasm, go.importObject).then(({ instance }) => go.run(instance));\n }\n };\n return (m) => onmessage(m);\n })(postMessage)'],{type:"text/javascript"});i=new Worker(URL.createObjectURL(e))}else{let e=(e=>{let t,r={};for(let n=self;n;n=Object.getPrototypeOf(n))for(let e of Object.getOwnPropertyNames(n))e in r||Object.defineProperty(r,e,{get:()=>self[e]});return(()=>{const e=()=>{const e=new Error("not implemented");return e.code="ENOSYS",e};if(!r.fs){let t="";r.fs={constants:{O_WRONLY:-1,O_RDWR:-1,O_CREAT:-1,O_TRUNC:-1,O_APPEND:-1,O_EXCL:-1},writeSync(e,r){t+=n.decode(r);const i=t.lastIndexOf("\n");return-1!=i&&(console.log(t.substr(0,i)),t=t.substr(i+1)),r.length},write(t,r,n,i,s,o){if(0!==n||i!==r.length||null!==s)return void o(e());o(null,this.writeSync(t,r))},chmod(t,r,n){n(e())},chown(t,r,n,i){i(e())},close(t,r){r(e())},fchmod(t,r,n){n(e())},fchown(t,r,n,i){i(e())},fstat(t,r){r(e())},fsync(e,t){t(null)},ftruncate(t,r,n){n(e())},lchown(t,r,n,i){i(e())},link(t,r,n){n(e())},lstat(t,r){r(e())},mkdir(t,r,n){n(e())},open(t,r,n,i){i(e())},read(t,r,n,i,s,o){o(e())},readdir(t,r){r(e())},readlink(t,r){r(e())},rename(t,r,n){n(e())},rmdir(t,r){r(e())},stat(t,r){r(e())},symlink(t,r,n){n(e())},truncate(t,r,n){n(e())},unlink(t,r){r(e())},utimes(t,r,n,i){i(e())}}}if(r.process||(r.process={getuid:()=>-1,getgid:()=>-1,geteuid:()=>-1,getegid:()=>-1,getgroups(){throw e()},pid:-1,ppid:-1,umask(){throw e()},cwd(){throw e()},chdir(){throw e()}}),!r.crypto)throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");if(!r.performance)throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");if(!r.TextEncoder)throw new Error("globalThis.TextEncoder is not available, polyfill required");if(!r.TextDecoder)throw new Error("globalThis.TextDecoder is not available, polyfill required");const t=new TextEncoder("utf-8"),n=new TextDecoder("utf-8");r.Go=class{constructor(){this.argv=["js"],this.env={},this.exit=e=>{0!==e&&console.warn("exit code:",e)},this._exitPromise=new Promise((e=>{this._resolveExitPromise=e})),this._pendingEvent=null,this._scheduledTimeouts=new Map,this._nextCallbackTimeoutID=1;const e=(e,t)=>{this.mem.setUint32(e+0,t,!0),this.mem.setUint32(e+4,Math.floor(t/4294967296),!0)},i=e=>this.mem.getUint32(e+0,!0)+4294967296*this.mem.getInt32(e+4,!0),s=e=>{const t=this.mem.getFloat64(e,!0);if(0===t)return;if(!isNaN(t))return t;const r=this.mem.getUint32(e,!0);return this._values[r]},o=(e,t)=>{const r=2146959360;if("number"===typeof t&&0!==t)return isNaN(t)?(this.mem.setUint32(e+4,r,!0),void this.mem.setUint32(e,0,!0)):void this.mem.setFloat64(e,t,!0);if(void 0===t)return void this.mem.setFloat64(e,0,!0);let n=this._ids.get(t);void 0===n&&(n=this._idPool.pop(),void 0===n&&(n=this._values.length),this._values[n]=t,this._goRefCounts[n]=0,this._ids.set(t,n)),this._goRefCounts[n]++;let i=0;switch(typeof t){case"object":null!==t&&(i=1);break;case"string":i=2;break;case"symbol":i=3;break;case"function":i=4}this.mem.setUint32(e+4,r|i,!0),this.mem.setUint32(e,n,!0)},a=e=>{const t=i(e+0),r=i(e+8);return new Uint8Array(this._inst.exports.mem.buffer,t,r)},u=e=>{const t=i(e+0),r=i(e+8),n=new Array(r);for(let i=0;i{const t=i(e+0),r=i(e+8);return n.decode(new DataView(this._inst.exports.mem.buffer,t,r))},c=Date.now()-performance.now();this.importObject={go:{"runtime.wasmExit":e=>{e>>>=0;const t=this.mem.getInt32(e+8,!0);this.exited=!0,delete this._inst,delete this._values,delete this._goRefCounts,delete this._ids,delete this._idPool,this.exit(t)},"runtime.wasmWrite":e=>{const t=i((e>>>=0)+8),n=i(e+16),s=this.mem.getInt32(e+24,!0);r.fs.writeSync(t,new Uint8Array(this._inst.exports.mem.buffer,n,s))},"runtime.resetMemoryDataView":e=>{this.mem=new DataView(this._inst.exports.mem.buffer)},"runtime.nanotime1":t=>{e((t>>>=0)+8,1e6*(c+performance.now()))},"runtime.walltime":t=>{t>>>=0;const r=(new Date).getTime();e(t+8,r/1e3),this.mem.setInt32(t+16,r%1e3*1e6,!0)},"runtime.scheduleTimeoutEvent":e=>{e>>>=0;const t=this._nextCallbackTimeoutID;this._nextCallbackTimeoutID++,this._scheduledTimeouts.set(t,setTimeout((()=>{for(this._resume();this._scheduledTimeouts.has(t);)console.warn("scheduleTimeoutEvent: missed timeout event"),this._resume()}),i(e+8)+1)),this.mem.setInt32(e+16,t,!0)},"runtime.clearTimeoutEvent":e=>{e>>>=0;const t=this.mem.getInt32(e+8,!0);clearTimeout(this._scheduledTimeouts.get(t)),this._scheduledTimeouts.delete(t)},"runtime.getRandomData":e=>{e>>>=0,crypto.getRandomValues(a(e+8))},"syscall/js.finalizeRef":e=>{e>>>=0;const t=this.mem.getUint32(e+8,!0);if(this._goRefCounts[t]--,0===this._goRefCounts[t]){const e=this._values[t];this._values[t]=null,this._ids.delete(e),this._idPool.push(t)}},"syscall/js.stringVal":e=>{o((e>>>=0)+24,l(e+8))},"syscall/js.valueGet":e=>{e>>>=0;const t=Reflect.get(s(e+8),l(e+16));e=this._inst.exports.getsp()>>>0,o(e+32,t)},"syscall/js.valueSet":e=>{e>>>=0,Reflect.set(s(e+8),l(e+16),s(e+32))},"syscall/js.valueDelete":e=>{e>>>=0,Reflect.deleteProperty(s(e+8),l(e+16))},"syscall/js.valueIndex":e=>{o((e>>>=0)+24,Reflect.get(s(e+8),i(e+16)))},"syscall/js.valueSetIndex":e=>{e>>>=0,Reflect.set(s(e+8),i(e+16),s(e+24))},"syscall/js.valueCall":e=>{e>>>=0;try{const t=s(e+8),r=Reflect.get(t,l(e+16)),n=u(e+32),i=Reflect.apply(r,t,n);e=this._inst.exports.getsp()>>>0,o(e+56,i),this.mem.setUint8(e+64,1)}catch(t){e=this._inst.exports.getsp()>>>0,o(e+56,t),this.mem.setUint8(e+64,0)}},"syscall/js.valueInvoke":e=>{e>>>=0;try{const t=s(e+8),r=u(e+16),n=Reflect.apply(t,void 0,r);e=this._inst.exports.getsp()>>>0,o(e+40,n),this.mem.setUint8(e+48,1)}catch(t){e=this._inst.exports.getsp()>>>0,o(e+40,t),this.mem.setUint8(e+48,0)}},"syscall/js.valueNew":e=>{e>>>=0;try{const t=s(e+8),r=u(e+16),n=Reflect.construct(t,r);e=this._inst.exports.getsp()>>>0,o(e+40,n),this.mem.setUint8(e+48,1)}catch(t){e=this._inst.exports.getsp()>>>0,o(e+40,t),this.mem.setUint8(e+48,0)}},"syscall/js.valueLength":t=>{e((t>>>=0)+16,parseInt(s(t+8).length))},"syscall/js.valuePrepareString":r=>{r>>>=0;const n=t.encode(String(s(r+8)));o(r+16,n),e(r+24,n.length)},"syscall/js.valueLoadString":e=>{const t=s((e>>>=0)+8);a(e+16).set(t)},"syscall/js.valueInstanceOf":e=>{e>>>=0,this.mem.setUint8(e+24,s(e+8)instanceof s(e+16)?1:0)},"syscall/js.copyBytesToGo":t=>{const r=a((t>>>=0)+8),n=s(t+32);if(!(n instanceof Uint8Array||n instanceof Uint8ClampedArray))return void this.mem.setUint8(t+48,0);const i=n.subarray(0,r.length);r.set(i),e(t+40,i.length),this.mem.setUint8(t+48,1)},"syscall/js.copyBytesToJS":t=>{const r=s((t>>>=0)+8),n=a(t+16);if(!(r instanceof Uint8Array||r instanceof Uint8ClampedArray))return void this.mem.setUint8(t+48,0);const i=n.subarray(0,r.length);r.set(i),e(t+40,i.length),this.mem.setUint8(t+48,1)},debug:e=>{console.log(e)}}}}run(e){return n=this,i=null,s=function*(){if(!(e instanceof WebAssembly.Instance))throw new Error("Go.run: WebAssembly.Instance expected");this._inst=e,this.mem=new DataView(this._inst.exports.mem.buffer),this._values=[NaN,0,null,!0,!1,r,this],this._goRefCounts=new Array(this._values.length).fill(1/0),this._ids=new Map([[0,1],[null,2],[!0,3],[!1,4],[r,5],[this,6]]),this._idPool=[],this.exited=!1;let n=4096;const i=e=>{const r=n,i=t.encode(e+"\0");return new Uint8Array(this.mem.buffer,n,i.length).set(i),n+=i.length,n%8!==0&&(n+=8-n%8),r},s=this.argv.length,o=[];this.argv.forEach((e=>{o.push(i(e))})),o.push(0),Object.keys(this.env).sort().forEach((e=>{o.push(i(`${e}=${this.env[e]}`))})),o.push(0);const a=n;if(o.forEach((e=>{this.mem.setUint32(n,e,!0),this.mem.setUint32(n+4,0,!0),n+=8})),n>=12288)throw new Error("total length of command line and environment variables exceeds limit");this._inst.exports.run(s,a),this.exited&&this._resolveExitPromise(),yield this._exitPromise},new Promise(((e,t)=>{var r=e=>{try{a(s.next(e))}catch(r){t(r)}},o=e=>{try{a(s.throw(e))}catch(r){t(r)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,o);a((s=s.apply(n,i)).next())}));var n,i,s}_resume(){if(this.exited)throw new Error("Go program has already exited");this._inst.exports.resume(),this.exited&&this._resolveExitPromise()}_makeFuncWrapper(e){const t=this;return function(){const r={id:e,this:this,args:arguments};return t._pendingEvent=r,t._resume(),r.result}}}})(),t=({data:e})=>{let n=new TextDecoder,s=r.fs,o="";s.writeSync=(e,t)=>{if(1===e)r=t,i.onmessage({data:r});else{if(2!==e)throw new Error("Bad write");{o+=n.decode(t);let e=o.split("\n");e.length>1&&console.log(e.slice(0,-1).join("\n")),o=e[e.length-1]}}var r;return t.length};let a,u=[],l=0;t=({data:e})=>{e.length>0&&(u.push(e),a&&a())},s.read=(e,t,r,n,i,o)=>{if(0!==e||0!==r||n!==t.length||null!==i)throw new Error("Bad read");if(0===u.length)return void(a=()=>s.read(e,t,r,n,i,o));let c=u[0],p=Math.max(0,Math.min(n,c.length-l));t.set(c.subarray(l,l+p),r),l+=p,l===c.length&&(u.shift(),l=0),o(null,p)};let c=new r.Go;c.argv=["","--service=0.14.42"],e instanceof WebAssembly.Module?WebAssembly.instantiate(e,c.importObject).then((e=>c.run(e))):WebAssembly.instantiate(e,c.importObject).then((({instance:e})=>c.run(e)))},e=>t(e)})();i={onmessage:null,postMessage:t=>setTimeout((()=>e({data:t}))),terminate(){}}}i.postMessage(n),i.onmessage=({data:e})=>s(e);let{readFromStdout:s,service:o}=z({writeToStdin(e){i.postMessage(e)},isSync:!1,isBrowser:!0,esbuild:m});re={build:e=>new Promise(((t,r)=>o.buildOrServe({callName:"build",refs:null,serveOptions:null,options:e,isTTY:!1,defaultWD:"/",callback:(e,n)=>e?r(e):t(n)}))),transform:(e,t)=>new Promise(((r,n)=>o.transform({callName:"transform",refs:null,input:e,options:t||{},isTTY:!1,fs:{readFile(e,t){t(new Error("Internal error"),null)},writeFile(e,t){t(null)}},callback:(e,t)=>e?n(e):r(t)}))),formatMessages:(e,t)=>new Promise(((r,n)=>o.formatMessages({callName:"formatMessages",refs:null,messages:e,options:t,callback:(e,t)=>e?n(e):r(t)}))),analyzeMetafile:(e,t)=>new Promise(((r,n)=>o.analyzeMetafile({callName:"analyzeMetafile",refs:null,metafile:"string"===typeof e?e:JSON.stringify(e),options:t,callback:(e,t)=>e?n(e):r(t)})))}})),ye=m})(e)},2445:function(e){"use strict";e.exports=class{constructor({uri:e,name:t,type:r}){this.uri=e,this.name=t,this.type=r}}},804:function(e,t,r){"use strict";const n=r(1268);e.exports=function(e,t="",r=n){const i=new Map,s=new Map;return{clone:function e(t,n,o){let a=t;if(r(t)){a=null;const e=i.get(t);e?e.push(n):i.set(t,[n])}else{const r=Array.isArray(t)||"undefined"!==typeof FileList&&t instanceof FileList,i=t&&t.constructor===Object;if(r||i){const i=s.has(t);if(i?a=s.get(t):(a=r?[]:{},s.set(t,a)),!o.has(t)){const s=n?`${n}.`:"",u=new Set(o).add(t);if(r){let r=0;for(const n of t){const t=e(n,s+r++,u);i||a.push(t)}}else for(const r in t){const n=e(t[r],s+r,u);i||(a[r]=n)}}}}return a}(e,t,new Set),files:i}}},1268:function(e,t,r){"use strict";const n=r(2445);e.exports=function(e){return"undefined"!==typeof File&&e instanceof File||"undefined"!==typeof Blob&&e instanceof Blob||e instanceof n}},8679:function(e,t,r){"use strict";var n=r(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return n.isMemo(e)?o:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=o;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(f){var i=d(r);i&&i!==f&&e(t,i,n)}var o=c(r);p&&(o=o.concat(p(r)));for(var a=u(t),m=u(r),y=0;y>1,c=-7,p=r?i-1:0,h=r?-1:1,d=e[t+p];for(p+=h,s=d&(1<<-c)-1,d>>=-c,c+=a;c>0;s=256*s+e[t+p],p+=h,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=256*o+e[t+p],p+=h,c-=8);if(0===s)s=1-l;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),s-=l}return(d?-1:1)*o*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var o,a,u,l=8*s-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:s-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+p>=1?h/u:h*Math.pow(2,1-p))*u>=2&&(o++,u/=2),o+p>=c?(a=0,o=c):o+p>=1?(a=(t*u-1)*Math.pow(2,i),o+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&a,d+=f,a/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=f,o/=256,l-=8);e[r+d-f]|=128*m}},9483:function(e,t,r){e.exports=function e(t,r,n){function i(o,a){if(!r[o]){if(!t[o]){if(s)return s(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[o]={exports:{}};t[o][0].call(l.exports,(function(e){var r=t[o][1][e];return i(r||e)}),l,l.exports,e,t,r,n)}return r[o].exports}for(var s=void 0,o=0;o=43)}})).catch((function(){return!1}))}function x(e){return"boolean"===typeof m?l.resolve(m):E(e).then((function(e){return m=e}))}function C(e){var t=y[e.name],r={};r.promise=new l((function(e,t){r.resolve=e,r.reject=t})),t.deferredOperations.push(r),t.dbReady?t.dbReady=t.dbReady.then((function(){return r.promise})):t.dbReady=r.promise}function w(e){var t=y[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function A(e,t){var r=y[e.name].deferredOperations.pop();if(r)return r.reject(t),r.promise}function S(e,t){return new l((function(r,n){if(y[e.name]=y[e.name]||j(),e.db){if(!t)return r(e.db);C(e),e.db.close()}var i=[e.name];t&&i.push(e.version);var s=o.open.apply(o,i);t&&(s.onupgradeneeded=function(t){var r=s.result;try{r.createObjectStore(e.storeName),t.oldVersion<=1&&r.createObjectStore(f)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),s.onerror=function(e){e.preventDefault(),n(s.error)},s.onsuccess=function(){var t=s.result;t.onversionchange=function(e){e.target.close()},r(t),w(e)}}))}function T(e){return S(e,!1)}function F(e){return S(e,!0)}function k(e,t){if(!e.db)return!0;var r=!e.db.objectStoreNames.contains(e.storeName),n=e.versione.db.version;if(n&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||r){if(r){var s=e.db.version+1;s>e.version&&(e.version=s)}return!0}return!1}function P(e){return new l((function(t,r){var n=new FileReader;n.onerror=r,n.onloadend=function(r){var n=btoa(r.target.result||"");t({__local_forage_encoded_blob:!0,data:n,type:e.type})},n.readAsBinaryString(e)}))}function N(e){return u([b(atob(e.data))],{type:e.type})}function _(e){return e&&e.__local_forage_encoded_blob}function O(e){var t=this,r=t._initReady().then((function(){var e=y[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return p(r,e,e),r}function I(e){C(e);for(var t=y[e.name],r=t.forages,n=0;n0&&(!e.db||"InvalidStateError"===s.name||"NotFoundError"===s.name))return l.resolve().then((function(){if(!e.db||"NotFoundError"===s.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),F(e)})).then((function(){return I(e).then((function(){B(e,t,r,n-1)}))})).catch(r);r(s)}}function j(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function L(e){var t=this,r={db:null};if(e)for(var n in e)r[n]=e[n];var i=y[r.name];i||(i=j(),y[r.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=O);var s=[];function o(){return l.resolve()}for(var a=0;a>4,c[u++]=(15&n)<<4|i>>2,c[u++]=(3&i)<<6|63&s;return l}function fe(e){var t,r=new Uint8Array(e),n="";for(t=0;t>2],n+=X[(3&r[t])<<4|r[t+1]>>4],n+=X[(15&r[t+1])<<2|r[t+2]>>6],n+=X[63&r[t+2]];return r.length%3===2?n=n.substring(0,n.length-1)+"=":r.length%3===1&&(n=n.substring(0,n.length-2)+"=="),n}function me(e,t){var r="";if(e&&(r=he.call(e)),e&&("[object ArrayBuffer]"===r||e.buffer&&"[object ArrayBuffer]"===he.call(e.buffer))){var n,i=Y;e instanceof ArrayBuffer?(n=e,i+=ee):(n=e.buffer,"[object Int8Array]"===r?i+=re:"[object Uint8Array]"===r?i+=ne:"[object Uint8ClampedArray]"===r?i+=ie:"[object Int16Array]"===r?i+=se:"[object Uint16Array]"===r?i+=ae:"[object Int32Array]"===r?i+=oe:"[object Uint32Array]"===r?i+=ue:"[object Float32Array]"===r?i+=le:"[object Float64Array]"===r?i+=ce:t(new Error("Failed to get type for BinaryArray"))),t(i+fe(n))}else if("[object Blob]"===r){var s=new FileReader;s.onload=function(){var r=Q+e.type+"~"+fe(this.result);t(Y+te+r)},s.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(o){console.error("Couldn't convert value into a JSON string: ",e),t(null,o)}}function ye(e){if(e.substring(0,Z)!==Y)return JSON.parse(e);var t,r=e.substring(pe),n=e.substring(Z,pe);if(n===te&&K.test(r)){var i=r.match(K);t=i[1],r=r.substring(i[0].length)}var s=de(r);switch(n){case ee:return s;case te:return u([s],{type:t});case re:return new Int8Array(s);case ne:return new Uint8Array(s);case ie:return new Uint8ClampedArray(s);case se:return new Int16Array(s);case ae:return new Uint16Array(s);case oe:return new Int32Array(s);case ue:return new Uint32Array(s);case le:return new Float32Array(s);case ce:return new Float64Array(s);default:throw new Error("Unkown type: "+n)}}var ge={serialize:me,deserialize:ye,stringToBuffer:de,bufferToString:fe};function ve(e,t,r,n){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],r,n)}function De(e){var t=this,r={db:null};if(e)for(var n in e)r[n]="string"!==typeof e[n]?e[n].toString():e[n];var i=new l((function(e,n){try{r.db=openDatabase(r.name,String(r.version),r.description,r.size)}catch(i){return n(i)}r.db.transaction((function(i){ve(i,r,(function(){t._dbInfo=r,e()}),(function(e,t){n(t)}))}),n)}));return r.serializer=ge,i}function be(e,t,r,n,i,s){e.executeSql(r,n,i,(function(e,o){o.code===o.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,a){a.rows.length?s(e,o):ve(e,t,(function(){e.executeSql(r,n,i,s)}),s)}),s):s(e,o)}),s)}function Ee(e,t){var r=this;e=h(e);var n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,r){var n=r.rows.length?r.rows.item(0).value:null;n&&(n=i.serializer.deserialize(n)),t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return c(n,t),n}function xe(e,t){var r=this,n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"SELECT * FROM "+i.storeName,[],(function(r,n){for(var s=n.rows,o=s.length,a=0;a0)return void s(Ce.apply(i,[e,a,r,n-1]));o(t)}}))}))})).catch(o)}));return c(s,r),s}function we(e,t,r){return Ce.apply(this,[e,t,r,1])}function Ae(e,t){var r=this;e=h(e);var n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){n(t)}))}))})).catch(n)}));return c(n,t),n}function Se(e){var t=this,r=new l((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){be(t,n,"DELETE FROM "+n.storeName,[],(function(){e()}),(function(e,t){r(t)}))}))})).catch(r)}));return c(r,e),r}function Te(e){var t=this,r=new l((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){be(t,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],(function(t,r){var n=r.rows.item(0).c;e(n)}),(function(e,t){r(t)}))}))})).catch(r)}));return c(r,e),r}function Fe(e,t){var r=this,n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,r){var n=r.rows.length?r.rows.item(0).key:null;t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return c(n,t),n}function ke(e){var t=this,r=new l((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){be(t,n,"SELECT key FROM "+n.storeName,[],(function(t,r){for(var n=[],i=0;i '__WebKitDatabaseInfoTable__'",[],(function(r,n){for(var i=[],s=0;s0}function Le(e){var t=this,r={};if(e)for(var n in e)r[n]=e[n];return r.keyPrefix=Ie(e,t._defaultConfig),je()?(t._dbInfo=r,r.serializer=ge,l.resolve()):l.reject()}function Me(e){var t=this,r=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,r=localStorage.length-1;r>=0;r--){var n=localStorage.key(r);0===n.indexOf(e)&&localStorage.removeItem(n)}}));return c(r,e),r}function Re(e,t){var r=this;e=h(e);var n=r.ready().then((function(){var t=r._dbInfo,n=localStorage.getItem(t.keyPrefix+e);return n&&(n=t.serializer.deserialize(n)),n}));return c(n,t),n}function $e(e,t){var r=this,n=r.ready().then((function(){for(var t=r._dbInfo,n=t.keyPrefix,i=n.length,s=localStorage.length,o=1,a=0;a=0;t--){var r=localStorage.key(t);0===r.indexOf(e)&&localStorage.removeItem(r)}})):l.reject("Invalid arguments"),c(n,t),n}var He={_driver:"localStorageWrapper",_initStorage:Le,_support:Oe(),iterate:$e,getItem:Re,setItem:We,removeItem:ze,clear:Me,length:qe,key:Ve,keys:Ue,dropInstance:Ge},Je=function(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)},Xe=function(e,t){for(var r=e.length,n=0;nVanilla\n
\n Bare minimal javascript template\n
\n`;\n'},html:{title:"html",entryPoints:"index.html",monacoLanguage:"html",data:'
'},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:"body {\n font-family: sans-serif;\n}\n\n#app {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n"}}},_typescript:{name:"Typescript",description:"By codetree",public:!0,iconSrc:"/icons/typescript.svg",tabs:{javascript:{title:"Ts/Tsx",entryPoints:"index.ts",monacoLanguage:"typescript",data:"function add(x: number, y: number): number {\n return x + y;\n}\n\nconst result = add(2,5)\n\nconsole.log(result)"},html:{title:"Html",entryPoints:"index.html",monacoLanguage:"html",data:'
\n

Typescript

\n
Bare minimal Typescript template \ud83d\ude80
\n
\n'},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:"body {\n font-family: sans-serif;\n}\n\n#app {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n"}}},_p5:{name:"P5js",description:"By codetree",public:!0,iconSrc:"/icons/p5-dot-js.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:'import p5 from "p5";\n\nlet sketch = function (p) {\n p.setup = function () {\n p.createCanvas(window.innerWidth, window.innerHeight);\n p.background(0);\n };\n p.draw = () => {\n // sketch.background(100);\n p.fill(255);\n p.ellipse(p.mouseX, p.mouseY, 50, 50);\n };\n};\n \nnew p5(sketch, window.document.getElementById("container"));\n'},html:{title:"Html",entryPoints:"index.html",monacoLanguage:"html",data:""},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:"body {\n margin: 0px;\n font-family: sans-serif;\n}\ncanvas {\n margin: 0px;\n}\n"}}},_react:{name:"React",description:"By codetree",public:!0,iconSrc:"/icons/reactjs.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:'import React, { useState } from "react";\nimport ReactDOM from "react-dom";\n\nfunction App() {\n const [count, setCount] = useState(0);\n\n return (\n
\n

Hello ReactTree

\n

You clicked {count} times!

\n\n \n \n
\n );\n}\n\nconst rootElement = document.getElementById("root");\nReactDOM.render(, rootElement);\n'},html:{title:"index.html",entryPoints:"index.html",monacoLanguage:"html",data:""},css:{title:"main.css",entryPoints:"main.css",monacoLanguage:"css",data:".App {\n font-family: sans-serif;\n text-align: center;\n}\n"}}},_gsap:{name:"Gsap",description:"By codetree",public:!0,iconSrc:"/icons/gsap-greensock.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:'import gsap from "gsap"\n\nvar tl = gsap.timeline({ repeat: -1 });\ntl.to("h1", 30, { backgroundPosition: "-960px 0" });\n'},html:{title:"Html",entryPoints:"index.html",monacoLanguage:"html",data:'
\n

Codetree

\n

'},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:'body {\n background-color: #1d1d1d;\n margin: 0;\n padding: 0;\n}\n\n.wrapper {\n display: flex;\n height: 100vh;\n justify-content: center;\n align-items: center;\n}\n\nh1 {\n max-width: 75%;\n font-size: 100px;\n text-align: center;\n font-family: "Montserrat", sans-serif;\n color: #540032;\n}\n\n.title {\n background-image: url(https://cdn.pixabay.com/photo/2017/07/03/20/17/abstract-2468874_960_720.jpg);\n background-attachment: fixed;\n -webkit-text-fill-color: transparent;\n -webkit-background-clip: text;\n}'}}}},i={fontSize:12,fontWeight:"500",minimap:{enabled:!1},wordWrap:"on",autoClosingBrackets:"always",showUnused:!0,automaticLayout:!0,tabSize:2,renderLineHighlight:"none",scrollbar:{verticalScrollbarSize:10,verticalSliderSize:10}}},6578:function(e,t,r){"use strict";r.d(t,{I:function(){return g},Z:function(){return b}});var n=r(7294);function i(e,t){return e===t}function s(e){return"function"===typeof e?function(){return e}:e}function o(e,t,r){var o=r&&r.equalityFn||i,a=function(e){var t=(0,n.useState)(s(e)),r=t[0],i=t[1];return[r,(0,n.useCallback)((function(e){return i(s(e))}),[])]}(e),u=a[0],l=a[1],c=function(e,t,r){var i=this,s=(0,n.useRef)(null),o=(0,n.useRef)(0),a=(0,n.useRef)(null),u=(0,n.useRef)([]),l=(0,n.useRef)(),c=(0,n.useRef)(),p=(0,n.useRef)(e),h=(0,n.useRef)(!0);p.current=e;var d=!t&&0!==t&&"undefined"!==typeof window;if("function"!==typeof e)throw new TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,m=!("trailing"in r)||!!r.trailing,y="maxWait"in r,g=y?Math.max(+r.maxWait||0,t):null;(0,n.useEffect)((function(){return h.current=!0,function(){h.current=!1}}),[]);var v=(0,n.useMemo)((function(){var e=function(e){var t=u.current,r=l.current;return u.current=l.current=null,o.current=e,c.current=p.current.apply(r,t)},r=function(e,t){d&&cancelAnimationFrame(a.current),a.current=d?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!h.current)return!1;var r=e-s.current,n=e-o.current;return!s.current||r>=t||r<0||y&&n>=g},v=function(t){return a.current=null,m&&u.current?e(t):(u.current=l.current=null,c.current)},D=function(){var e=Date.now();if(n(e))return v(e);if(h.current){var i=e-s.current,a=e-o.current,u=t-i,l=y?Math.min(u,g-a):u;r(D,l)}},b=function(){for(var p=[],d=0;d{const{theme:e}=(0,m.C)(y.FS),t=(0,n.useRef)(),[i,s]=(0,n.useState)(""),[a]=o(i,1e3);return{onMount:async(n,i)=>{t.current=n,i.editor.defineTheme("myTheme",{base:"vs-dark",inherit:!0,rules:[{background:e.background,token:""}],colors:{"editor.background":e.foreground}}),i.editor.setTheme("myTheme");const{default:s}=await Promise.all([r.e(774),r.e(797),r.e(763)]).then(r.bind(r,5686)),{parse:o}=await r.e(797).then(r.bind(r,7191)),{default:a}=await r.e(426).then(r.bind(r,9426)),l=new a(i,(e=>o(e,{sourceType:"module",plugins:["jsx"]})),s,n);l.highLightOnDidChangeModelContent(0,(()=>{}),(()=>{}),void 0,(()=>{}));let p=t.current.onKeyDown((e=>{(window.navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&"KeyS"===e.code&&(e.preventDefault(),function(){const e=t.current.getModel().getValue();let r;switch(t.current.getModel()._languageIdentifier.language){case"html":r={parser:"html",plugin:[u()]};break;case"css":r={parser:"css",plugin:[c()]};break;case"javascript":r={parser:"babel",plugin:[h()]}}const n=f().format(e,{parser:r&&r.parser,plugins:r&&r.plugin,useTabs:!1,semi:!0});t.current.setValue(n)}())}));return()=>p.dispose()},onChange:e=>{s(e)},code:a}};var v=r(6196),D=r(4531);const b=()=>{const e=(0,m.T)();return{setTree:t=>{e((0,v.M2)()),e((0,v.Vi)(t)),e((0,v.U$)(t)),e((0,D.Li)())}}}},7293:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return hl}});var n=r(5893),i=(r(5030),r(4207),r(2116),r(3814),r(3920),r(3821),r(1677),r(8760),r(7294)),s=r(5617),o=r(7544),a=r.n(o),u=r(1163),l=r.n(u),c=r(4865),p=r.n(c),h=r(8964),d=r(320).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";var f=function(e){var t=e.client,r=e.children,n=function(){var e=i.createContext[d];return e||(Object.defineProperty(i.createContext,d,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}();return i.createElement(n.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,h.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,h.kG)(e.client,26),i.createElement(n.Provider,{value:e},r)}))},m=r(8702),y=r(5367),g=r(8291),v=r(5526),D=r(9776),b=r.n(D),E=r(7582),x=r(6918),C=r(3154),w=r(8216),A=r(990);var S=function(e){function t(t){var r=e.call(this)||this;return r.client=t,r}return(0,E.ZT)(t,e),t.prototype.request=function(e){var t=this;return new w.y((function(r){return t.client.subscribe((0,E.pi)((0,E.pi)({},e),{query:(0,x.S)(e.query)}),{next:r.next.bind(r),complete:r.complete.bind(r),error:function(e){return e instanceof Error?r.error(e):(t=e,(0,C.s)(t)&&"code"in t&&"reason"in t?r.error(new Error("Socket closed with event ".concat(e.code," ").concat(e.reason||""))):r.error(new A.c({graphQLErrors:Array.isArray(e)?e:[e]})));var t}})}))},t}(m.i);function T(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function F(e){return"object"===T(e)}function k(e,t){return e.length<124?e:t}var P,N;function _(e){if(!F(e))throw new Error(`Message is expected to be an object, but got ${T(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if("string"!==typeof e.type)throw new Error(`Message is expects the 'type' property to be a string, but got ${T(e.type)}`);switch(e.type){case N.ConnectionInit:case N.ConnectionAck:case N.Ping:case N.Pong:if(null!=e.payload&&!F(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break;case N.Subscribe:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!F(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${T(e.payload)}`);if("string"!==typeof e.payload.query)throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${T(e.payload.query)}`);if(null!=e.payload.variables&&!F(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${T(e.payload.variables)}`);if(null!=e.payload.operationName&&"string"!==T(e.payload.operationName))throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${T(e.payload.operationName)}`);if(null!=e.payload.extensions&&!F(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${T(e.payload.extensions)}`);break;case N.Next:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!F(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${T(e.payload)}`);break;case N.Error:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(t=e.payload,!(Array.isArray(t)&&t.length>0&&t.every((e=>"message"in e))))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break;case N.Complete:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${e.type}"`)}var t;return e}function O(e,t){return _(e),JSON.stringify(e,t)}!function(e){e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests"}(P||(P={})),function(e){e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete"}(N||(N={}));var I=function(e){return this instanceof I?(this.v=e,this):new I(e)},B=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{(r=i[e](t)).value instanceof I?Promise.resolve(r.value.v).then(u,l):c(s[0][2],r)}catch(n){c(s[0][3],n)}var r}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}};function j(e){return F(e)&&"code"in e&&"reason"in e}var L=r(6765);function M(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{keyArgs:e,merge(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,{args:r}=arguments.length>2?arguments[2]:void 0;var n,i,s;const o=(null===(n=e)||void 0===n?void 0:n.data)?null===(s=e)||void 0===s||null===(i=s.data)||void 0===i?void 0:i.slice(0):[];if(t)if(r){var a,u,l;const{offset:e=0}=null===(a=r)||void 0===a?void 0:a.input;for(let r=0;r<(null===(l=t)||void 0===l||null===(u=l.data)||void 0===u?void 0:u.length);++r){var c;o[e+r]=null===(c=t)||void 0===c?void 0:c.data[r]}}else{var p;o.push.apply(o,null===(p=t)||void 0===p?void 0:p.data)}return{...t,data:o}}}}var R=r(3454);new m.i(((e,t)=>t(e).map((e=>{var t;return console.info("response",null===(t=e)||void 0===t?void 0:t.data),e}))));const $=new S(function(e){const{url:t,connectionParams:r,lazy:n=!0,onNonLazyError:i=console.error,lazyCloseTimeout:s=0,keepAlive:o=0,disablePong:a,connectionAckWaitTimeout:u=0,retryAttempts:l=5,retryWait:c=async function(e){let t=1e3;for(let r=0;rsetTimeout(e,t+Math.floor(2700*Math.random()+300))))},shouldRetry:p=j,isFatalConnectionProblem:h,on:d,webSocketImpl:f,generateID:m=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},jsonMessageReplacer:y,jsonMessageReviver:g}=e;let v;if(f){if(!("function"===typeof(D=f)&&"constructor"in D&&"CLOSED"in D&&"CLOSING"in D&&"CONNECTING"in D&&"OPEN"in D))throw new Error("Invalid WebSocket implementation provided");v=f}else"undefined"!==typeof WebSocket?v=WebSocket:"undefined"!==typeof global?v=global.WebSocket||global.MozWebSocket:"undefined"!==typeof window&&(v=window.WebSocket||window.MozWebSocket);var D;if(!v)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const b=v,E=(()=>{const e=(()=>{const e={};return{on:(t,r)=>(e[t]=r,()=>{delete e[t]}),emit(t){var r;"id"in t&&(null===(r=e[t.id])||void 0===r||r.call(e,t))}}})(),t={connecting:(null===d||void 0===d?void 0:d.connecting)?[d.connecting]:[],opened:(null===d||void 0===d?void 0:d.opened)?[d.opened]:[],connected:(null===d||void 0===d?void 0:d.connected)?[d.connected]:[],ping:(null===d||void 0===d?void 0:d.ping)?[d.ping]:[],pong:(null===d||void 0===d?void 0:d.pong)?[d.pong]:[],message:(null===d||void 0===d?void 0:d.message)?[e.emit,d.message]:[e.emit],closed:(null===d||void 0===d?void 0:d.closed)?[d.closed]:[],error:(null===d||void 0===d?void 0:d.error)?[d.error]:[]};return{onMessage:e.on,on(e,r){const n=t[e];return n.push(r),()=>{n.splice(n.indexOf(r),1)}},emit(e,...r){for(const n of[...t[e]])n(...r)}}})();function x(e){const t=[E.on("error",(r=>{t.forEach((e=>e())),e(r)})),E.on("closed",(r=>{t.forEach((e=>e())),e(r)}))]}let C,w,A=0,S=!1,T=0,F=!1;async function L(){clearTimeout(w);const[e,n]=await(null!==C&&void 0!==C?C:C=new Promise(((e,n)=>(async()=>{if(S){if(await c(T),!A)return C=void 0,n({code:1e3,reason:"All Subscriptions Gone"});T++}E.emit("connecting");const i=new b("function"===typeof t?await t():t,"graphql-transport-ws");let s,l;function p(){isFinite(o)&&o>0&&(clearTimeout(l),l=setTimeout((()=>{i.readyState===b.OPEN&&(i.send(O({type:N.Ping})),E.emit("ping",!1,void 0))}),o))}x((e=>{C=void 0,clearTimeout(s),clearTimeout(l),n(e),j(e)&&4499===e.code&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)})),i.onerror=e=>E.emit("error",e),i.onclose=e=>E.emit("closed",e),i.onopen=async()=>{try{E.emit("opened",i);const e="function"===typeof r?await r():r;if(i.readyState!==b.OPEN)return;i.send(O(e?{type:N.ConnectionInit,payload:e}:{type:N.ConnectionInit},y)),isFinite(u)&&u>0&&(s=setTimeout((()=>{i.close(P.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")}),u)),p()}catch(e){E.emit("error",e),i.close(P.InternalClientError,k(e instanceof Error?e.message:new Error(e).message,"Internal client error"))}};let h=!1;i.onmessage=({data:t})=>{try{const r=function(e,t){return _("string"===typeof e?JSON.parse(e,t):e)}(t,g);if(E.emit("message",r),"ping"===r.type||"pong"===r.type)return E.emit(r.type,!0,r.payload),void("pong"===r.type?p():a||(i.send(O(r.payload?{type:N.Pong,payload:r.payload}:{type:N.Pong})),E.emit("pong",!1,r.payload)));if(h)return;if(r.type!==N.ConnectionAck)throw new Error(`First message cannot be of type ${r.type}`);clearTimeout(s),h=!0,E.emit("connected",i,r.payload),S=!1,T=0,e([i,new Promise(((e,t)=>x(t)))])}catch(r){i.onmessage=null,E.emit("error",r),i.close(P.BadResponse,k(r instanceof Error?r.message:new Error(r).message,"Bad response"))}}})())));e.readyState===b.CLOSING&&await n;let i=()=>{};const l=new Promise((e=>i=e));return[e,i,Promise.race([l.then((()=>{if(!A){const t=()=>e.close(1e3,"Normal Closure");isFinite(s)&&s>0?w=setTimeout((()=>{e.readyState===b.OPEN&&t()}),s):t()}})),n])]}function M(e){if(j(e)&&(t=e.code,![1e3,1001,1006,1005,1012,1013,1013].includes(t)&&t>=1e3&&t<=1999||[P.InternalServerError,P.InternalClientError,P.BadRequest,P.BadResponse,P.Unauthorized,P.SubprotocolNotAcceptable,P.SubscriberAlreadyExists,P.TooManyInitialisationRequests].includes(e.code)))throw e;var t;if(F)return!1;if(j(e)&&1e3===e.code)return A>0;if(!l||T>=l)throw e;if(!p(e))throw e;if(null===h||void 0===h?void 0:h(e))throw e;return S=!0}return n||(async()=>{for(A++;;)try{const[,,e]=await L();await e}catch(e){try{if(!M(e))return}catch(e){return null===i||void 0===i?void 0:i(e)}}})(),{on:E.on,subscribe(e,t){const r=m(e);let n=!1,i=!1,s=()=>{A--,n=!0};return(async()=>{for(A++;;)try{const[o,a,u]=await L();if(n)return a();const l=E.onMessage(r,(e=>{switch(e.type){case N.Next:return void t.next(e.payload);case N.Error:return i=!0,n=!0,t.error(e.payload),void s();case N.Complete:return n=!0,void s()}}));return o.send(O({id:r,type:N.Subscribe,payload:e},y)),s=()=>{n||o.readyState!==b.OPEN||o.send(O({id:r,type:N.Complete},y)),A--,n=!0,a()},void(await u.finally(l))}catch(o){if(!M(o))return}})().then((()=>{i||t.complete()})).catch((e=>{t.error(e)})),()=>{n||s()}},iterate(e){const t=[],r={done:!1,error:null,resolve:()=>{}},n=this.subscribe(e,{next(e){t.push(e),r.resolve()},error(e){r.done=!0,r.error=e,r.resolve()},complete(){r.done=!0,r.resolve()}}),i=function(){return B(this,arguments,(function*(){for(;;){for(t.length||(yield I(new Promise((e=>r.resolve=e))));t.length;)yield yield I(t.shift());if(r.error)throw r.error;if(r.done)return yield I(void 0)}}))}();return i.throw=async e=>(r.done||(r.done=!0,r.error=e,r.resolve()),{done:!0,value:void 0}),i.return=async()=>(n(),{done:!0,value:void 0}),i},async dispose(){if(F=!0,C){const[e]=await C;e.close(1e3,"Normal Closure")}},terminate(){C&&E.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}({url:"".concat(R.env.NEXT_PUBLIC_WS_API_URL)})),V=e=>b()({uri:R.env.NEXT_PUBLIC_API_URL,headers:e?{authorization:"Bearer ".concat(e),"apollo-require-preflight":!0}:{"apollo-require-preflight":!0}}),U=e=>null!=$?(0,y.V)((e=>{let{query:t}=e;const r=(0,L.p$)(t);return"OperationDefinition"===r.kind&&"subscription"===r.operation}),$,V(e)):V(e);var q=r(6319),z=r(9669),W=r.n(z);const G={user:{isLoggedIn:!1,data:{id:"",email:"",username:"",avatar:void 0,bio:void 0,website:void 0,verifiedAt:void 0,createdAt:void 0,updatedAt:void 0},token:void 0,status:!1},errors:null,isLoadingLogin:!1,isLoadingLogout:!1},H=(0,q.oM)({name:"auth",initialState:G,reducers:{set_initial_user:(e,t)=>{let{payload:r}=t;e.user=r,e.errors=null},with_oauth:e=>{e.isLoadingLogin=!0},with_oauth_success:(e,t)=>{let{payload:r}=t;e.isLoadingLogin=!1,e.user=r,e.errors=null},with_oauth_failure:(e,t)=>{let{payload:r}=t;e.isLoadingLogin=!1,e.user=null,e.errors=r},logout_user:e=>{e.isLoadingLogout=!0},logout_user_success:e=>{e.isLoadingLogout=!1,e.user=null,e.errors=null},logout_user_failure:(e,t)=>{let{payload:r}=t;e.isLoadingLogout=!1,e.errors=r}}}),{set_initial_user:J,with_oauth:X,with_oauth_success:Q,with_oauth_failure:K,logout_user:Y,logout_user_success:Z,logout_user_failure:ee}=H.actions;var te=H.reducer;var re=r(6196),ne=r(2645),ie=r(4531),se=r(6678);const oe=(0,q.xC)({reducer:{auth:te,editor:re.ZP,compiler:ne.ZP,modal:ie.ZP,theme:se.ZP}});var ae=r(3454),ue=("undefined"===typeof ae||ae.env,"production");const le=1/60*1e3,ce="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),pe="undefined"!==typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(ce())),le);let he=!0,de=!1,fe=!1;const me={delta:0,timestamp:0},ye=["read","update","preRender","render","postRender"],ge=ye.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(e,s=!1,a=!1)=>{const u=a&&i,l=u?t:r;return s&&o.add(e),-1===l.indexOf(e)&&(l.push(e),u&&i&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),o.delete(e)},process:u=>{if(i)s=!0;else{if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;rde=!0)),e)),{}),ve=ye.reduce(((e,t)=>{const r=ge[t];return e[t]=(e,t=!1,n=!1)=>(de||Ce(),r.schedule(e,t,n)),e}),{}),De=ye.reduce(((e,t)=>(e[t]=ge[t].cancel,e)),{}),be=ye.reduce(((e,t)=>(e[t]=()=>ge[t].process(me),e)),{}),Ee=e=>ge[e].process(me),xe=e=>{de=!1,me.delta=he?le:Math.max(Math.min(e-me.timestamp,40),1),me.timestamp=e,fe=!0,ye.forEach(Ee),fe=!1,de&&(he=!1,pe(xe))},Ce=()=>{de=!0,he=!0,fe||pe(xe)},we=()=>me;var Ae=ve,Se="undefined"!==typeof document,Te=Se?i.useLayoutEffect:i.useEffect;function Fe(){var e=(0,i.useRef)(!1);return Te((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var ke=(0,i.createContext)(null);function Pe(e){var t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}var Ne=0,_e=function(){return Ne++},Oe=function(){return Pe(_e)},Ie=function(e){var t=e.children,r=e.initial,n=e.isPresent,s=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,u=Pe(Be),l=Oe(),c=(0,i.useMemo)((function(){return{id:l,initial:r,isPresent:n,custom:o,onExitComplete:function(e){var t,r;u.set(e,!0);try{for(var n=(0,E.XA)(u.values()),i=n.next();!i.done;i=n.next()){if(!i.value)return}}catch(o){t={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null===s||void 0===s||s()},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),a?void 0:[n]);return(0,i.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[n]),i.useEffect((function(){!n&&!u.size&&(null===s||void 0===s||s())}),[n]),i.createElement(ke.Provider,{value:c},t)};function Be(){return new Map}var je=(0,i.createContext)({});function Le(e){return(0,i.useEffect)((function(){return function(){return e()}}),[])}var Me=function(e){return e.key||""};var Re=function(e){var t=e.children,r=e.custom,n=e.initial,s=void 0===n||n,o=e.onExitComplete,a=e.exitBeforeEnter,u=e.presenceAffectsLayout,l=void 0===u||u,c=(0,E.CR)(function(){var e=Fe(),t=(0,E.CR)((0,i.useState)(0),2),r=t[0],n=t[1],s=(0,i.useCallback)((function(){e.current&&n(r+1)}),[r]);return[(0,i.useCallback)((function(){return Ae.postRender(s)}),[s]),r]}(),1),p=c[0],h=(0,i.useContext)(je).forceRender;h&&(p=h);var d=Fe(),f=function(e){var t=[];return i.Children.forEach(e,(function(e){(0,i.isValidElement)(e)&&t.push(e)})),t}(t),m=f,y=new Set,g=(0,i.useRef)(m),v=(0,i.useRef)(new Map).current,D=(0,i.useRef)(!0);if(Te((function(){D.current=!1,function(e,t){e.forEach((function(e){var r=Me(e);t.set(r,e)}))}(f,v),g.current=m})),Le((function(){D.current=!0,v.clear(),y.clear()})),D.current)return i.createElement(i.Fragment,null,m.map((function(e){return i.createElement(Ie,{key:Me(e),isPresent:!0,initial:!!s&&void 0,presenceAffectsLayout:l},e)})));m=(0,E.ev)([],(0,E.CR)(m),!1);for(var b=g.current.map(Me),x=f.map(Me),C=b.length,w=0;w1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),i.createElement(i.Fragment,null,y.size?m:m.map((function(e){return(0,i.cloneElement)(e)})))},$e=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Ve={measureLayout:$e(["layout","layoutId","drag"]),animation:$e(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:$e(["exit"]),drag:$e(["drag","dragControls"]),focus:$e(["whileFocus"]),hover:$e(["whileHover","onHoverStart","onHoverEnd"]),tap:$e(["whileTap","onTap","onTapStart","onTapCancel"]),pan:$e(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:$e(["whileInView","onViewportEnter","onViewportLeave"])};var Ue=(0,i.createContext)({strict:!1}),qe=Object.keys(Ve),ze=qe.length;var We=(0,i.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Ge=(0,i.createContext)({});var He={current:null},Je=!1;function Xe(){return!Je&&function(){if(Je=!0,Se)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return He.current=e.matches};e.addListener(t),t()}else He.current=!1}(),(0,E.CR)((0,i.useState)(He.current),1)[0]}function Qe(e,t,r,n){var s=(0,i.useContext)(Ue),o=(0,i.useContext)(Ge).visualElement,a=(0,i.useContext)(ke),u=function(){var e=Xe(),t=(0,i.useContext)(We).reducedMotion;return"never"!==t&&("always"===t||e)}(),l=(0,i.useRef)(void 0);n||(n=s.renderer),!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceId:null===a||void 0===a?void 0:a.id,blockInitialAnimation:!1===(null===a||void 0===a?void 0:a.initial),shouldReduceMotion:u}));var c=l.current;return Te((function(){null===c||void 0===c||c.syncRender()})),(0,i.useEffect)((function(){var e;null===(e=null===c||void 0===c?void 0:c.animationState)||void 0===e||e.animateChanges()})),Te((function(){return function(){return null===c||void 0===c?void 0:c.notifyUnmount()}}),[]),c}function Ke(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ye(e){return Array.isArray(e)}function Ze(e){return"string"===typeof e||Ye(e)}function et(e,t,r,n,i){var s;return void 0===n&&(n={}),void 0===i&&(i={}),"function"===typeof t&&(t=t(null!==r&&void 0!==r?r:e.custom,n,i)),"string"===typeof t&&(t=null===(s=e.variants)||void 0===s?void 0:s[t]),"function"===typeof t&&(t=t(null!==r&&void 0!==r?r:e.custom,n,i)),t}function tt(e,t,r){var n=e.getProps();return et(n,t,null!==r&&void 0!==r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function rt(e){var t;return"function"===typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Ze(e.initial)||Ze(e.animate)||Ze(e.whileHover)||Ze(e.whileDrag)||Ze(e.whileTap)||Ze(e.whileFocus)||Ze(e.exit)}function nt(e){return Boolean(rt(e)||e.variants)}function it(e){var t=function(e,t){if(rt(e)){var r=e.initial,n=e.animate;return{initial:!1===r||Ze(r)?r:void 0,animate:Ze(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(Ge)),r=t.initial,n=t.animate;return(0,i.useMemo)((function(){return{initial:r,animate:n}}),[st(r),st(n)])}function st(e){return Array.isArray(e)?e.join(" "):e}var ot={hasAnimatedSinceResize:!0,hasEverUpdated:!1},at=1;var ut=(0,i.createContext)({});var lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,E.ZT)(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,r=e.props;t&&t.setProps(r)},t.prototype.render=function(){return this.props.children},t}(i.Component);function ct(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,s=e.useRender,o=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?Ve.projectionNodeConstructor=e[t]:Ve[t].Component=e[t])}(t),(0,i.forwardRef)((function(e,u){var l=function(e){var t,r=e.layoutId,n=null===(t=(0,i.useContext)(je))||void 0===t?void 0:t.id;return n&&void 0!==r?n+"-"+r:r}(e);e=(0,E.pi)((0,E.pi)({},e),{layoutId:l});var c=(0,i.useContext)(We),p=null,h=it(e),d=c.isStatic?void 0:Pe((function(){if(ot.hasEverUpdated)return at++})),f=o(e,c.isStatic);return!c.isStatic&&Se&&(h.visualElement=Qe(a,f,(0,E.pi)((0,E.pi)({},c),e),r),function(e,t,r,n){var s,o=t.layoutId,a=t.layout,u=t.drag,l=t.dragConstraints,c=t.layoutScroll,p=(0,i.useContext)(ut);n&&r&&!(null===r||void 0===r?void 0:r.projection)&&(r.projection=new n(e,r.getLatestValues(),null===(s=r.parent)||void 0===s?void 0:s.projection),r.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(u)||l&&Ke(l),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"===typeof a?a:"both",initialPromotionConfig:p,layoutScroll:c}))}(d,e,h.visualElement,n||Ve.projectionNodeConstructor),p=function(e,t,r){var n=[],s=(0,i.useContext)(Ue);if(!t)return null;"production"!==ue&&r&&s.strict;for(var o=0;o-1||/[A-Z]/.test(e))}var ft={};var mt=["","X","Y","Z"],yt=["transformPerspective","x","y","z"];function gt(e,t){return yt.indexOf(e)-yt.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return mt.forEach((function(t){return yt.push(e+t)}))}));var vt=new Set(yt);function Dt(e){return vt.has(e)}var bt=new Set(["originX","originY","originZ"]);function Et(e){return bt.has(e)}function xt(e,t){var r=t.layout,n=t.layoutId;return Dt(e)||Et(e)||(r||void 0!==n)&&(!!ft[e]||"opacity"===e)}var Ct=function(e){return Boolean(null!==e&&"object"===typeof e&&e.getVelocity)},wt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function At(e){return e.startsWith("--")}var St=function(e,t){return t&&"number"===typeof e?t.transform(e):e};const Tt=(e,t)=>r=>Math.max(Math.min(r,t),e),Ft=e=>e%1?Number(e.toFixed(5)):e,kt=/(-)?([\d]*\.?[\d])+/g,Pt=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Nt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function _t(e){return"string"===typeof e}const Ot=e=>({test:t=>_t(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),It=Ot("deg"),Bt=Ot("%"),jt=Ot("px"),Lt=Ot("vh"),Mt=Ot("vw"),Rt=Object.assign(Object.assign({},Bt),{parse:e=>Bt.parse(e)/100,transform:e=>Bt.transform(100*e)}),$t={test:e=>"number"===typeof e,parse:parseFloat,transform:e=>e},Vt=Object.assign(Object.assign({},$t),{transform:Tt(0,1)}),Ut=Object.assign(Object.assign({},$t),{default:1});var qt=(0,E.pi)((0,E.pi)({},$t),{transform:Math.round}),zt={borderWidth:jt,borderTopWidth:jt,borderRightWidth:jt,borderBottomWidth:jt,borderLeftWidth:jt,borderRadius:jt,radius:jt,borderTopLeftRadius:jt,borderTopRightRadius:jt,borderBottomRightRadius:jt,borderBottomLeftRadius:jt,width:jt,maxWidth:jt,height:jt,maxHeight:jt,size:jt,top:jt,right:jt,bottom:jt,left:jt,padding:jt,paddingTop:jt,paddingRight:jt,paddingBottom:jt,paddingLeft:jt,margin:jt,marginTop:jt,marginRight:jt,marginBottom:jt,marginLeft:jt,rotate:It,rotateX:It,rotateY:It,rotateZ:It,scale:Ut,scaleX:Ut,scaleY:Ut,scaleZ:Ut,skew:It,skewX:It,skewY:It,distance:jt,translateX:jt,translateY:jt,translateZ:jt,x:jt,y:jt,z:jt,perspective:jt,transformPerspective:jt,opacity:Vt,originX:Rt,originY:Rt,originZ:jt,zIndex:qt,fillOpacity:Vt,strokeOpacity:Vt,numOctaves:qt};function Wt(e,t,r,n){var i,s=e.style,o=e.vars,a=e.transform,u=e.transformKeys,l=e.transformOrigin;u.length=0;var c=!1,p=!1,h=!0;for(var d in t){var f=t[d];if(At(d))o[d]=f;else{var m=zt[d],y=St(f,m);if(Dt(d)){if(c=!0,a[d]=y,u.push(d),!h)continue;f!==(null!==(i=m.default)&&void 0!==i?i:0)&&(h=!1)}else Et(d)?(l[d]=y,p=!0):s[d]=y}}c?s.transform=function(e,t,r,n){var i=e.transform,s=e.transformKeys,o=t.enableHardwareAcceleration,a=void 0===o||o,u=t.allowTransformNone,l=void 0===u||u,c="";s.sort(gt);for(var p=!1,h=s.length,d=0;dr=>t(e(r)),Gr=(...e)=>e.reduce(Wr);var Hr=new Set;var Jr=new WeakMap,Xr=new WeakMap,Qr=function(e){var t;null===(t=Jr.get(e.target))||void 0===t||t(e)},Kr=function(e){e.forEach(Qr)};function Yr(e,t,r){var n=function(e){var t=e.root,r=(0,E._T)(e,["root"]),n=t||document;Xr.has(n)||Xr.set(n,{});var i=Xr.get(n),s=JSON.stringify(r);return i[s]||(i[s]=new IntersectionObserver(Kr,(0,E.pi)({root:t},r))),i[s]}(t);return Jr.set(e,r),n.observe(e),function(){Jr.delete(e),n.unobserve(e)}}var Zr={some:0,all:1};function en(e,t,r,n){var s=n.root,o=n.margin,a=n.amount,u=void 0===a?"some":a,l=n.once;(0,i.useEffect)((function(){if(e){var n={root:null===s||void 0===s?void 0:s.current,rootMargin:o,threshold:"number"===typeof u?u:Zr[u]};return Yr(r.getInstance(),n,(function(e){var n,i=e.isIntersecting;if(t.isInView!==i&&(t.isInView=i,!l||i||!t.hasEnteredView)){i&&(t.hasEnteredView=!0),null===(n=r.animationState)||void 0===n||n.setActive(Er.InView,i);var s=r.getProps(),o=i?s.onViewportEnter:s.onViewportLeave;null===o||void 0===o||o(e)}}))}}),[e,s,o,u])}function tn(e,t,r,n){var s=n.fallback,o=void 0===s||s;(0,i.useEffect)((function(){var n,i;e&&o&&("production"!==ue&&(n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||Hr.has(n)||(console.warn(n),i&&console.warn(i),Hr.add(n))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var n=r.getProps().onViewportEnter;null===n||void 0===n||n(null),null===(e=r.animationState)||void 0===e||e.setActive(Er.InView,!0)})))}),[e])}var rn=function(e){return function(t){return e(t),null}},nn={inView:rn((function(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,s=e.onViewportLeave,o=e.viewport,a=void 0===o?{}:o,u=(0,i.useRef)({hasEnteredView:!1,isInView:!1}),l=Boolean(r||n||s);a.once&&u.current.hasEnteredView&&(l=!1),("undefined"===typeof IntersectionObserver?tn:en)(l,u.current,t,a)})),tap:rn((function(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,s=e.whileTap,o=e.visualElement,a=t||r||n||s,u=(0,i.useRef)(!1),l=(0,i.useRef)(null),c={passive:!(r||t||n||m)};function p(){var e;null===(e=l.current)||void 0===e||e.call(l),l.current=null}function h(){var e;return p(),u.current=!1,null===(e=o.animationState)||void 0===e||e.setActive(Er.Tap,!1),!Ur()}function d(e,r){h()&&(zr(o.getInstance(),e.target)?null===t||void 0===t||t(e,r):null===n||void 0===n||n(e,r))}function f(e,t){h()&&(null===n||void 0===n||n(e,t))}function m(e,t){var n;p(),u.current||(u.current=!0,l.current=Gr(jr(window,"pointerup",d,c),jr(window,"pointercancel",f,c)),null===(n=o.animationState)||void 0===n||n.setActive(Er.Tap,!0),null===r||void 0===r||r(e,t))}Lr(o,"pointerdown",a?m:void 0,c),Le(p)})),focus:rn((function(e){var t=e.whileFocus,r=e.visualElement;Ar(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Er.Focus,!0)}:void 0),Ar(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Er.Focus,!1)}:void 0)})),hover:rn((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Lr(i,"pointerenter",t||n?qr(i,!0,t):void 0,{passive:!t}),Lr(i,"pointerleave",r||n?qr(i,!1,r):void 0,{passive:!r})}))};function sn(){var e=(0,i.useContext)(ke);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,s=Oe();(0,i.useEffect)((function(){return n(s)}),[]);return!t&&r?[!1,function(){return null===r||void 0===r?void 0:r(s)}]:[!0]}function on(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;nMath.min(Math.max(r,e),t),un=.001;function ln({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,s,o=1-t;o=an(.05,1,o),e=an(.01,10,e/1e3),o<1?(i=t=>{const n=t*o,i=n*e,s=n-r,a=cn(t,o),u=Math.exp(-i);return un-s/a*u},s=t=>{const n=t*o*e,s=n*r+r,a=Math.pow(o,2)*Math.pow(t,2)*e,u=Math.exp(-n),l=cn(Math.pow(t,2),o);return(-i(t)+un>0?-1:1)*((s-a)*u)/l}):(i=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,s=t=>Math.exp(-t*e)*(e*e*(r-t)));const a=function(e,t,r){let n=r;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(i,s,5/e);if(e*=1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}function cn(e,t){return e*Math.sqrt(1-t*t)}const pn=["duration","bounce"],hn=["stiffness","damping","mass"];function dn(e,t){return t.some((t=>void 0!==e[t]))}function fn(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,s=(0,E._T)(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:a,damping:u,mass:l,velocity:c,duration:p,isResolvedFromDuration:h}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!dn(e,hn)&&dn(e,pn)){const r=ln(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(s),d=mn,f=mn;function m(){const e=c?-c/1e3:0,n=r-t,s=u/(2*Math.sqrt(a*l)),o=Math.sqrt(a/l)/1e3;if(void 0===i&&(i=Math.min(Math.abs(r-t)/100,.4)),s<1){const t=cn(o,s);d=i=>{const a=Math.exp(-s*o*i);return r-a*((e+s*o*n)/t*Math.sin(t*i)+n*Math.cos(t*i))},f=r=>{const i=Math.exp(-s*o*r);return s*o*i*(Math.sin(t*r)*(e+s*o*n)/t+n*Math.cos(t*r))-i*(Math.cos(t*r)*(e+s*o*n)-t*n*Math.sin(t*r))}}else if(1===s)d=t=>r-Math.exp(-o*t)*(n+(e+o*n)*t);else{const t=o*Math.sqrt(s*s-1);d=i=>{const a=Math.exp(-s*o*i),u=Math.min(t*i,300);return r-a*((e+s*o*n)*Math.sinh(u)+t*n*Math.cosh(u))/t}}}return m(),{next:e=>{const t=d(e);if(h)o.done=e>=p;else{const s=1e3*f(e),a=Math.abs(s)<=n,u=Math.abs(r-t)<=i;o.done=a&&u}return o.value=o.done?r:t,o},flipTarget:()=>{c=-c,[t,r]=[r,t],m()}}}fn.needsInterpolation=(e,t)=>"string"===typeof e||"string"===typeof t;const mn=e=>0,yn=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},gn=(e,t,r)=>-r*e+r*t+e,vn=(e,t)=>r=>Boolean(_t(r)&&Nt.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Dn=(e,t,r)=>n=>{if(!_t(n))return n;const[i,s,o,a]=n.match(kt);return{[e]:parseFloat(i),[t]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},bn=Tt(0,255),En=Object.assign(Object.assign({},$t),{transform:e=>Math.round(bn(e))}),xn={test:vn("rgb","red"),parse:Dn("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+En.transform(e)+", "+En.transform(t)+", "+En.transform(r)+", "+Ft(Vt.transform(n))+")"};const Cn={test:vn("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:xn.transform},wn={test:vn("hsl","hue"),parse:Dn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Bt.transform(Ft(t))+", "+Bt.transform(Ft(r))+", "+Ft(Vt.transform(n))+")"};function An(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Sn({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,s=0,o=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=An(a,n,e+1/3),s=An(a,n,e),o=An(a,n,e-1/3)}else i=s=o=r;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}const Tn=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},Fn=[Cn,xn,wn],kn=e=>Fn.find((t=>t.test(e))),Pn=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,Nn=(e,t)=>{let r=kn(e),n=kn(t);Pn(e),Pn(t);let i=r.parse(e),s=n.parse(t);r===wn&&(i=Sn(i),r=xn),n===wn&&(s=Sn(s),n=xn);const o=Object.assign({},i);return e=>{for(const t in o)"alpha"!==t&&(o[t]=Tn(i[t],s[t],e));return o.alpha=gn(i.alpha,s.alpha,e),r.transform(o)}},_n={test:e=>xn.test(e)||Cn.test(e)||wn.test(e),parse:e=>xn.test(e)?xn.parse(e):wn.test(e)?wn.parse(e):Cn.parse(e),transform:e=>_t(e)?e:e.hasOwnProperty("red")?xn.transform(e):wn.transform(e)},On="${c}",In="${n}";function Bn(e){"number"===typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(Pt);n&&(r=n.length,e=e.replace(Pt,On),t.push(...n.map(_n.parse)));const i=e.match(kt);return i&&(e=e.replace(kt,In),t.push(...i.map($t.parse))),{values:t,numColors:r,tokenised:e}}function jn(e){return Bn(e).values}function Ln(e){const{values:t,numColors:r,tokenised:n}=Bn(e),i=t.length;return e=>{let t=n;for(let n=0;n"number"===typeof e?0:e;const Rn={test:function(e){var t,r,n,i;return isNaN(e)&&_t(e)&&(null!==(r=null===(t=e.match(kt))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(i=null===(n=e.match(Pt))||void 0===n?void 0:n.length)&&void 0!==i?i:0)>0},parse:jn,createTransformer:Ln,getAnimatableNone:function(e){const t=jn(e);return Ln(e)(t.map(Mn))}},$n=e=>"number"===typeof e;function Vn(e,t){return $n(e)?r=>gn(e,t,r):_n.test(e)?Nn(e,t):Wn(e,t)}const Un=(e,t)=>{const r=[...e],n=r.length,i=e.map(((e,r)=>Vn(e,t[r])));return e=>{for(let t=0;t{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=Vn(e[i],t[i]));return e=>{for(const t in n)r[t]=n[t](e);return r}};function zn(e){const t=Rn.parse(e),r=t.length;let n=0,i=0,s=0;for(let o=0;o{const r=Rn.createTransformer(t),n=zn(e),i=zn(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Gr(Un(n.parsed,i.parsed),r):r=>`${r>0?t:e}`},Gn=(e,t)=>r=>gn(e,t,r);function Hn(e,t,r){const n=[],i=r||("number"===typeof(s=e[0])?Gn:"string"===typeof s?_n.test(s)?Nn:Wn:Array.isArray(s)?Un:"object"===typeof s?qn:void 0);var s;const o=e.length-1;for(let a=0;ae[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Hn(t,n,i),a=2===s?function([e,t],[r]){return n=>r(yn(e,t,n))}(e,o):function(e,t){const r=e.length,n=r-1;return i=>{let s=0,o=!1;if(i<=e[0]?o=!0:i>=e[n]&&(s=n-1,o=!0),!o){let t=1;for(;ti||t===n);t++);s=t-1}const a=yn(e[s],e[s+1],i);return t[s](a)}}(e,o);return r?t=>a(an(e[0],e[s-1],t)):a}const Xn=e=>t=>1-e(1-t),Qn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Kn=e=>t=>t*t*((e+1)*t-e),Yn=e=>e,Zn=(ei=2,e=>Math.pow(e,ei));var ei;const ti=Xn(Zn),ri=Qn(Zn),ni=e=>1-Math.sin(Math.acos(e)),ii=Xn(ni),si=Qn(ii),oi=Kn(1.525),ai=Xn(oi),ui=Qn(oi),li=(e=>{const t=Kn(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),ci=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},pi=Xn(ci);function hi(e,t){return e.map((()=>t||ri)).splice(0,e.length-1)}function di({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const s={done:!1,value:e},o=Array.isArray(t)?t:[e,t],a=function(e,t){return e.map((e=>e*t))}(n&&n.length===o.length?n:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(o),i);function u(){return Jn(a,o,{ease:Array.isArray(r)?r:hi(o,r)})}let l=u();return{next:e=>(s.value=l(e),s.done=e>=i,s),flipTarget:()=>{o.reverse(),l=u()}}}const fi={keyframes:di,spring:fn,decay:function({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:s}){const o={done:!1,value:t};let a=r*e;const u=t+a,l=void 0===s?u:s(u);return l!==u&&(a=l-t),{next:e=>{const t=-a*Math.exp(-e/n);return o.done=!(t>i||t<-i),o.value=o.done?l:l+t,o},flipTarget:()=>{}}}};function mi(e,t,r=0){return e-t-r}const yi=e=>{const t=({delta:t})=>e(t);return{start:()=>Ae.update(t,!0),stop:()=>De.update(t)}};function gi(e){var t,r,{from:n,autoplay:i=!0,driver:s=yi,elapsed:o=0,repeat:a=0,repeatType:u="loop",repeatDelay:l=0,onPlay:c,onStop:p,onComplete:h,onRepeat:d,onUpdate:f}=e,m=(0,E._T)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let y,g,v,{to:D}=m,b=0,x=m.duration,C=!1,w=!0;const A=function(e){if(Array.isArray(e.to))return di;if(fi[e.type])return fi[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?di:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?fn:di}(m);(null===(r=(t=A).needsInterpolation)||void 0===r?void 0:r.call(t,n,D))&&(v=Jn([0,100],[n,D],{clamp:!1}),n=0,D=100);const S=A(Object.assign(Object.assign({},m),{from:n,to:D}));function T(){b++,"reverse"===u?(w=b%2===0,o=function(e,t,r=0,n=!0){return n?mi(t+-e,t,r):t-(e-t)+r}(o,x,l,w)):(o=mi(o,x,l),"mirror"===u&&S.flipTarget()),C=!1,d&&d()}function F(e){if(w||(e=-e),o+=e,!C){const e=S.next(Math.max(0,o));g=e.value,v&&(g=v(g)),C=w?e.done:o<=0}null===f||void 0===f||f(g),C&&(0===b&&(null!==x&&void 0!==x||(x=o)),b=t+r:e<=-r}(o,x,l,w)&&T():(y.stop(),h&&h()))}return i&&(null===c||void 0===c||c(),y=s(F),y.start()),{stop:()=>{null===p||void 0===p||p(),y.stop()}}}function vi(e,t){return t?e*(1e3/t):0}var Di=function(e){return 1e3*e};const bi=(e,t)=>1-3*t+3*e,Ei=(e,t)=>3*t-6*e,xi=e=>3*e,Ci=(e,t,r)=>((bi(t,r)*e+Ei(t,r))*e+xi(t))*e,wi=(e,t,r)=>3*bi(t,r)*e*e+2*Ei(t,r)*e+xi(t);const Ai=.1;function Si(e,t,r,n){if(e===t&&r===n)return Yn;const i=new Float32Array(11);for(let o=0;o<11;++o)i[o]=Ci(o*Ai,e,r);function s(t){let n=0,s=1;for(;10!==s&&i[s]<=t;++s)n+=Ai;--s;const o=n+(t-i[s])/(i[s+1]-i[s])*Ai,a=wi(o,e,r);return a>=.001?function(e,t,r,n){for(let i=0;i<8;++i){const i=wi(t,r,n);if(0===i)return t;t-=(Ci(t,r,n)-e)/i}return t}(t,o,e,r):0===a?o:function(e,t,r,n,i){let s,o,a=0;do{o=t+(r-t)/2,s=Ci(o,n,i)-e,s>0?r=o:t=o}while(Math.abs(s)>1e-7&&++a<10);return o}(t,n,n+Ai,e,r)}return e=>0===e||1===e?e:Ci(s(e),t,n)}var Ti={linear:Yn,easeIn:Zn,easeInOut:ri,easeOut:ti,circIn:ni,circInOut:si,circOut:ii,backIn:oi,backInOut:ui,backOut:ai,anticipate:li,bounceIn:pi,bounceInOut:e=>e<.5?.5*(1-ci(1-2*e)):.5*ci(2*e-1)+.5,bounceOut:ci},Fi=function(e){if(Array.isArray(e)){e.length;var t=(0,E.CR)(e,4);return Si(t[0],t[1],t[2],t[3])}return"string"===typeof e?("Invalid easing type '".concat(e,"'"),Ti[e]):e},ki=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!Rn.test(t)||t.startsWith("url(")))},Pi=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Ni=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},_i=function(){return{type:"keyframes",ease:"linear",duration:.3}},Oi=function(e){return{type:"keyframes",duration:.8,values:e}},Ii={x:Pi,y:Pi,z:Pi,rotate:Pi,rotateX:Pi,rotateY:Pi,rotateZ:Pi,scaleX:Ni,scaleY:Ni,scale:Ni,opacity:_i,backgroundColor:_i,color:_i,default:Ni};const Bi=new Set(["brightness","contrast","saturate","opacity"]);function ji(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(kt)||[];if(!n)return e;const i=r.replace(n,"");let s=Bi.has(t)?1:0;return n!==r&&(s*=100),t+"("+s+i+")"}const Li=/([a-z-]*)\(.*?\)/g,Mi=Object.assign(Object.assign({},Rn),{getAnimatableNone:e=>{const t=e.match(Li);return t?t.map(ji).join(" "):e}});var Ri=(0,E.pi)((0,E.pi)({},zt),{color:_n,backgroundColor:_n,outlineColor:_n,fill:_n,stroke:_n,borderColor:_n,borderTopColor:_n,borderRightColor:_n,borderBottomColor:_n,borderLeftColor:_n,filter:Mi,WebkitFilter:Mi}),$i=function(e){return Ri[e]};function Vi(e,t){var r,n=$i(e);return n!==Mi&&(n=Rn),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}var Ui=!1;function qi(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,s=e.loop,o=(0,E._T)(e,["ease","times","yoyo","flip","loop"]),a=(0,E.pi)({},o);return r&&(a.offset=r),o.duration&&(a.duration=Di(o.duration)),o.repeatDelay&&(a.repeatDelay=Di(o.repeatDelay)),t&&(a.ease=function(e){return Array.isArray(e)&&"number"!==typeof e[0]}(t)?t.map(Fi):Fi(t)),"tween"===o.type&&(a.type="keyframes"),(n||s||i)&&(!0,n?a.repeatType="reverse":s?a.repeatType="loop":i&&(a.repeatType="mirror"),a.repeat=s||n||i||o.repeat),"spring"!==o.type&&(a.type="keyframes"),a}function zi(e,t,r){var n;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=(0,E.ev)([],(0,E.CR)(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=(0,E._T)(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=(0,E.pi)((0,E.pi)({},e),function(e,t){var r;return r=mr(t)?Oi:Ii[e]||Ii.default,(0,E.pi)({to:t},r(t))}(r,t.to))),(0,E.pi)((0,E.pi)({},t),qi(e))}function Wi(e,t,r,n,i){var s,o=Ji(n,e),a=null!==(s=o.from)&&void 0!==s?s:t.get(),u=ki(e,r);"none"===a&&u&&"string"===typeof r?a=Vi(e,r):Gi(a)&&"string"===typeof r?a=Hi(r):!Array.isArray(r)&&Gi(r)&&"string"===typeof a&&(r=Hi(a));var l=ki(e,a);return"You are trying to animate ".concat(e,' from "').concat(a,'" to "').concat(r,'". ').concat(a," is not an animatable value - to enable this animation set ").concat(a," to a value animatable to ").concat(r," via the `style` property."),l&&u&&!1!==o.type?function(){var n={from:a,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===o.type||"decay"===o.type?function({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:p,onComplete:h,onStop:d}){let f;function m(e){return void 0!==r&&en}function y(e){return void 0===r?n:void 0===n||Math.abs(r-e){var r;null===p||void 0===p||p(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:h,onStop:d}))}function v(e){g(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:u},e))}if(m(e))v({from:e,velocity:t,to:y(e)});else{let n=i*t+e;"undefined"!==typeof l&&(n=l(n));const o=y(n),a=o===r?-1:1;let c,p;const h=e=>{c=p,p=e,t=vi(e-c,we().delta),(1===a&&e>o||-1===a&&enull===f||void 0===f?void 0:f.stop()}}((0,E.pi)((0,E.pi)({},n),o)):gi((0,E.pi)((0,E.pi)({},zi(o,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=o.onUpdate)||void 0===t||t.call(o,e)},onComplete:function(){var e;n.onComplete(),null===(e=o.onComplete)||void 0===e||e.call(o)}}))}:function(){var e,n,s=yr(r);return t.set(s),i(),null===(e=null===o||void 0===o?void 0:o.onUpdate)||void 0===e||e.call(o,s),null===(n=null===o||void 0===o?void 0:o.onComplete)||void 0===n||n.call(o),{stop:function(){}}}}function Gi(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Hi(e){return"number"===typeof e?0:Vi("",e)}function Ji(e,t){return e[t]||e.default||e}function Xi(e,t,r,n){return void 0===n&&(n={}),Ui&&(n={type:!1}),t.start((function(i){var s,o,a=Wi(e,t,r,n,i),u=function(e,t){var r,n;return null!==(n=null!==(r=(Ji(e,t)||{}).delay)&&void 0!==r?r:e.delay)&&void 0!==n?n:0}(n,e),l=function(){return o=a()};return u?s=window.setTimeout(l,Di(u)):l(),function(){clearTimeout(s),null===o||void 0===o||o.stop()}}))}var Qi=function(e){return/^0[^.\s]+$/.test(e)};function Ki(e,t){-1===e.indexOf(t)&&e.push(t)}function Yi(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Zi=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Ki(this.subscriptions,e),function(){return Yi(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var i=0;if&&g,C=Array.isArray(y)?y:[y],w=C.reduce(s,{});!1===v&&(w={});var A=m.prevResolvedValues,S=void 0===A?{}:A,T=(0,E.pi)((0,E.pi)({},S),w),F=function(e){x=!0,h.delete(e),m.needsAnimating[e]=!0};for(var k in T){var P=w[k],N=S[k];d.hasOwnProperty(k)||(P!==N?mr(P)&&mr(N)?!on(P,N)||b?F(k):m.protectedKeys[k]=!0:void 0!==P?F(k):h.add(k):void 0!==P&&h.has(k)?F(k):m.protectedKeys[k]=!0)}m.prevProp=y,m.prevResolvedValues=w,m.isActive&&(d=(0,E.pi)((0,E.pi)({},d),w)),i&&e.blockInitialAnimation&&(x=!1),x&&!D&&p.push.apply(p,(0,E.ev)([],(0,E.CR)(C.map((function(e){return{animation:e,options:(0,E.pi)({type:n},o)}}))),!1))},y=0;ye.hasOwnProperty("x")&&e.hasOwnProperty("y"),xs=e=>Es(e)&&e.hasOwnProperty("z"),Cs=(e,t)=>Math.abs(e-t);function ws(e,t){if($n(e)&&$n(t))return Cs(e,t);if(Es(e)&&Es(t)){const r=Cs(e.x,t.x),n=Cs(e.y,t.y),i=xs(e)&&xs(t)?Cs(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}var As=function(){function e(e,t,r){var n=this,i=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=Fs(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=ws(e.offset,{x:0,y:0})>=3;if(t||r){var i=e.point,s=we().timestamp;n.history.push((0,E.pi)((0,E.pi)({},i),{timestamp:s}));var o=n.handlers,a=o.onStart,u=o.onMove;t||(a&&a(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),u&&u(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=Ss(t,n.transformPagePoint),Sr(e)&&0===e.buttons?n.handlePointerUp(e,t):Ae.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,i=r.onEnd,s=r.onSessionEnd,o=Fs(Ss(t,n.transformPagePoint),n.history);n.startEvent&&i&&i(e,o),s&&s(e,o)},!(Tr(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var s=Ss(Nr(e),this.transformPagePoint),o=s.point,a=we().timestamp;this.history=[(0,E.pi)((0,E.pi)({},o),{timestamp:a})];var u=t.onSessionStart;u&&u(e,Fs(s,this.history)),this.removeListeners=Gr(jr(window,"pointermove",this.handlePointerMove),jr(window,"pointerup",this.handlePointerUp),jr(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),De.update(this.updatePoint)},e}();function Ss(e,t){return t?{point:t(e.point)}:e}function Ts(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fs(e,t){var r=e.point;return{point:r,delta:Ts(r,Ps(t)),offset:Ts(r,ks(t)),velocity:Ns(t,.1)}}function ks(e){return e[0]}function Ps(e){return e[e.length-1]}function Ns(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=Ps(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Di(t)));)r--;if(!n)return{x:0,y:0};var s=(i.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};var o={x:(i.x-n.x)/s,y:(i.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function _s(e){return e.max-e.min}function Os(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),ws(e,t)t?r="y":Math.abs(e.x)>t&&(r="x");return r}(u),void(null!==r.currentDirection&&(null===o||void 0===o||o(r.currentDirection)));r.updateAxis("x",t.point,u),r.updateAxis("y",t.point,u),r.visualElement.syncRender(),null===a||void 0===a||a(e,t)}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var r=this.isDragging;if(this.cancel(),r){var n=t.velocity;this.startAnimation(n);var i=this.getProps().onDragEnd;null===i||void 0===i||i(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Er.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var n=this.getProps().drag;if(r&&uo(e,n,this.currentDirection)){var i=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,t,r){var n=t.min,i=t.max;return void 0!==n&&ei&&(e=r?gn(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),r=t.dragConstraints,n=t.dragElastic,i=(this.visualElement.projection||{}).layout,s=this.constraints;r&&Ke(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!i)&&function(e,t){var r=t.top,n=t.left,i=t.bottom,s=t.right;return{x:Rs(e.x,n,s),y:Rs(e.y,r,i)}}(i.actual,r),this.elastic=function(e){return void 0===e&&(e=Vs),!1===e?e=0:!0===e&&(e=Vs),{x:Us(e,"left","right"),y:Us(e,"top","bottom")}}(n),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&zs((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(i.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,r=e.onMeasureDragConstraints;if(!t||!Ke(t))return!1;var n=t.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var s=function(e,t,r){var n=so(e,r),i=t.scroll;return i&&(eo(n.x,i.x),eo(n.y,i.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),o=function(e,t){return{x:$s(e.x,t.x),y:$s(e.y,t.y)}}(i.layout.actual,s);if(r){var a=r(function(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(o));this.hasMutatedConstraints=!!a,a&&(o=Ws(a))}return o},e.prototype.startAnimation=function(e){var t=this,r=this.getProps(),n=r.drag,i=r.dragMomentum,s=r.dragElastic,o=r.dragTransition,a=r.dragSnapToOrigin,u=r.onDragTransitionEnd,l=this.constraints||{},c=zs((function(r){var u;if(uo(r,n,t.currentDirection)){var c=null!==(u=null===l||void 0===l?void 0:l[r])&&void 0!==u?u:{};a&&(c={min:0,max:0});var p=s?200:1e6,h=s?40:1e7,d=(0,E.pi)((0,E.pi)({type:"inertia",velocity:i?e[r]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10},o),c);return t.startAxisValueAnimation(r,d)}}));return Promise.all(c).then(u)},e.prototype.startAxisValueAnimation=function(e,t){return Xi(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;zs((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,r,n="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[n];return i||this.visualElement.getValue(e,null!==(r=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==r?r:0)},e.prototype.snapToCursor=function(e){var t=this;zs((function(r){if(uo(r,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,i=t.getAxisMotionValue(r);if(n&&n.layout){var s=n.layout.actual[r],o=s.min,a=s.max;i.set(e[r]-gn(o,a,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,r=this.getProps(),n=r.drag,i=r.dragConstraints,s=this.visualElement.projection;if(Ke(i)&&s&&this.constraints){this.stopAnimation();var o={x:0,y:0};zs((function(e){var r=t.getAxisMotionValue(e);if(r){var n=r.get();o[e]=function(e,t){var r=.5,n=_s(e),i=_s(t);return i>n?r=yn(t.min,t.max-n,e.min):n>i&&(r=yn(e.min,e.max-i,t.min)),an(0,1,r)}({min:n,max:n},t.constraints[e])}}));var a=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=a?a({},""):"none",null===(e=s.root)||void 0===e||e.updateScroll(),s.updateLayout(),this.resolveConstraints(),zs((function(e){if(uo(e,n,null)){var r=t.getAxisMotionValue(e),i=t.constraints[e],s=i.min,a=i.max;r.set(gn(s,a,o[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;oo.set(this.visualElement,this);var r=jr(this.visualElement.getInstance(),"pointerdown",(function(e){var r=t.getProps(),n=r.drag,i=r.dragListener;n&&(void 0===i||i)&&t.start(e)})),n=function(){Ke(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},i=this.visualElement.projection,s=i.addEventListener("measure",n);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),n();var o=wr(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(e){var r=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(zs((function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=r[e].translate,n.set(n.get()+r[e].translate))})),t.visualElement.syncRender())})),function(){o(),r(),s()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,i=void 0!==n&&n,s=e.dragPropagation,o=void 0!==s&&s,a=e.dragConstraints,u=void 0!==a&&a,l=e.dragElastic,c=void 0===l?Vs:l,p=e.dragMomentum,h=void 0===p||p;return(0,E.pi)((0,E.pi)({},e),{drag:r,dragDirectionLock:i,dragPropagation:o,dragConstraints:u,dragElastic:c,dragMomentum:h})},e}();function uo(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}var lo={pan:rn((function(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,s=e.onPanSessionStart,o=e.visualElement,a=t||r||n||s,u=(0,i.useRef)(null),l=(0,i.useContext)(We).transformPagePoint,c={onSessionStart:s,onStart:r,onMove:t,onEnd:function(e,t){u.current=null,n&&n(e,t)}};(0,i.useEffect)((function(){null!==u.current&&u.current.updateHandlers(c)})),Lr(o,"pointerdown",a&&function(e){u.current=new As(e,c,{transformPagePoint:l})}),Le((function(){return u.current&&u.current.end()}))})),drag:rn((function(e){var t=e.dragControls,r=e.visualElement,n=Pe((function(){return new ao(r)}));(0,i.useEffect)((function(){return t&&t.subscribe(n)}),[n,t]),(0,i.useEffect)((function(){return n.addListeners()}),[n])}))},co=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var po=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,i=e.getBaseTarget,s=e.makeTargetAnimatable,o=e.measureViewportBox,a=e.render,u=e.readValueFromInstance,l=e.removeValueFromRenderState,c=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var h=e.parent,d=e.props,f=e.presenceId,m=e.blockInitialAnimation,y=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var v,D,b=!1,x=y.latestValues,C=y.renderState,w=function(){var e=co.map((function(){return new Zi})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){co.forEach((function(n){var i,s="on"+n,o=e[s];null===(i=t[n])||void 0===i||i.call(t),o&&(t[n]=r[s](o))}))}};return e.forEach((function(e,t){r["on"+co[t]]=function(t){return e.add(t)},r["notify"+co[t]]=function(){for(var t=[],r=0;r=0?window.pageYOffset:null,l=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),s=getComputedStyle(i),o=s.display,a={};"none"===o&&t.setStaticValue("display",e.display||"block"),r.forEach((function(e){a[e]=To[e](n,s)})),t.syncRender();var u=t.measureViewportBox();return r.forEach((function(r){var n=t.getValue(r);Eo(n,a[r]),e[r]=To[r](u,s)})),e}(t,e,a);return s.length&&s.forEach((function(t){var r=(0,E.CR)(t,2),n=r[0],i=r[1];e.getValue(n).set(i)})),e.syncRender(),null!==u&&window.scrollTo({top:u}),{target:l,transitionEnd:n}}return{target:t,transitionEnd:n}};function ko(e,t,r,n){return function(e){return Object.keys(e).some(bo)}(t)?Fo(e,t,r,n):{target:t,transitionEnd:n}}var Po=function(e,t,r,n){var i=function(e,t,r){var n,i=(0,E._T)(t,[]),s=e.getInstance();if(!(s instanceof Element))return{target:i,transitionEnd:r};for(var o in r&&(r=(0,E.pi)({},r)),e.forEachValue((function(e){var t=e.get();if(mo(t)){var r=go(t,s);r&&e.set(r)}})),i){var a=i[o];if(mo(a)){var u=go(a,s);u&&(i[o]=u,r&&(null!==(n=r[o])&&void 0!==n||(r[o]=a)))}}return{target:i,transitionEnd:r}}(e,t,n);return ko(e,t=i.target,r,n=i.transitionEnd)};var No={treeType:"dom",readValueFromInstance:function(e,t){if(Dt(t)){var r=$i(t);return r&&r.default||0}var n,i=(n=e,window.getComputedStyle(n));return(At(t)?i.getPropertyValue(t):i[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return so(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;void 0===n&&(n=!0);var s=t.transition,o=t.transitionEnd,a=(0,E._T)(t,["transition","transitionEnd"]),u=function(e,t,r){var n,i,s={};for(var o in e)s[o]=null!==(n=ls(o,t))&&void 0!==n?n:null===(i=r.getValue(o))||void 0===i?void 0:i.get();return s}(a,s||{},e);if(i&&(o&&(o=i(o)),a&&(a=i(a)),u&&(u=i(u))),n){!function(e,t,r){var n,i,s,o,a=Object.keys(t).filter((function(t){return!e.hasValue(t)})),u=a.length;if(u)for(var l=0;l5)return i;var u=Rn.createTransformer(e),l="number"!==typeof a[0]?1:0,c=n.x.scale*r.x,p=n.y.scale*r.y;a[0+l]/=c,a[1+l]/=p;var h=gn(c,p,.5);"number"===typeof a[2+l]&&(a[2+l]/=h),"number"===typeof a[3+l]&&(a[3+l]/=h);var d=u(a);if(s){var f=0;d=d.replace(Lo,(function(){var e=o[f];return f++,e}))}return d}},Ro=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,E.ZT)(t,e),t.prototype.componentDidMount=function(){var e,t=this,r=this.props,n=r.visualElement,i=r.layoutGroup,s=r.switchLayoutGroup,o=r.layoutId,a=n.projection;e=$o,Object.assign(ft,e),a&&((null===i||void 0===i?void 0:i.group)&&i.group.add(a),(null===s||void 0===s?void 0:s.register)&&o&&s.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",(function(){t.safeToRemove()})),a.setOptions((0,E.pi)((0,E.pi)({},a.options),{onExitComplete:function(){return t.safeToRemove()}}))),ot.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,r=this.props,n=r.layoutDependency,i=r.visualElement,s=r.drag,o=r.isPresent,a=i.projection;return a?(a.isPresent=o,s||e.layoutDependency!==n||void 0===n?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||Ae.postRender((function(){var e;(null===(e=a.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,r=e.layoutGroup,n=e.switchLayoutGroup,i=t.projection;i&&(i.scheduleCheckAfterUnmount(),(null===r||void 0===r?void 0:r.group)&&r.group.remove(i),(null===n||void 0===n?void 0:n.deregister)&&n.deregister(i))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null===e||void 0===e||e()},t.prototype.render=function(){return null},t}(i.Component);var $o={borderRadius:(0,E.pi)((0,E.pi)({},jo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:jo,borderTopRightRadius:jo,borderBottomLeftRadius:jo,borderBottomRightRadius:jo,boxShadow:Mo},Vo={measureLayout:function(e){var t=(0,E.CR)(sn(),2),r=t[0],n=t[1],s=(0,i.useContext)(je);return i.createElement(Ro,(0,E.pi)({},e,{layoutGroup:s,switchLayoutGroup:(0,i.useContext)(ut),isPresent:r,safeToRemove:n}))}};var Uo=["TopLeft","TopRight","BottomLeft","BottomRight"],qo=Uo.length,zo=function(e){return"string"===typeof e?parseFloat(e):e},Wo=function(e){return"number"===typeof e||jt.test(e)};function Go(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var Ho=Xo(0,.5,ii),Jo=Xo(.5,.95,Yn);function Xo(e,t,r){return function(n){return nt?1:r(yn(e,t,n))}}function Qo(e,t){e.min=t.min,e.max=t.max}function Ko(e,t){Qo(e.x,t.x),Qo(e.y,t.y)}function Yo(e,t,r,n,i){return e=Qs(e-=t,1/r,n),void 0!==i&&(e=Qs(e,1/i,n)),e}function Zo(e,t,r,n,i){var s=(0,E.CR)(r,3),o=s[0],a=s[1],u=s[2];!function(e,t,r,n,i,s,o){if(void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5),void 0===s&&(s=e),void 0===o&&(o=e),Bt.test(t)&&(t=parseFloat(t),t=gn(o.min,o.max,t/100)-o.min),"number"===typeof t){var a=gn(s.min,s.max,n);e===s&&(a-=t),e.min=Yo(e.min,t,r,a,i),e.max=Yo(e.max,t,r,a,i)}}(e,t[o],t[a],t[u],t.scale,n,i)}var ea=["x","scaleX","originX"],ta=["y","scaleY","originY"];function ra(e,t,r,n){Zo(e.x,t,ea,null===r||void 0===r?void 0:r.x,null===n||void 0===n?void 0:n.x),Zo(e.y,t,ta,null===r||void 0===r?void 0:r.y,null===n||void 0===n?void 0:n.y)}function na(e){return 0===e.translate&&1===e.scale}function ia(e){return na(e.x)&&na(e.y)}function sa(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var oa=function(){function e(){this.members=[]}return e.prototype.add=function(e){Ki(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(Yi(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,r=this.members.findIndex((function(t){return e===t}));if(0===r)return!1;for(var n=r;n>=0;n--){var i=this.members[n];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var r,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,r,n,i,s;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(s=null===(n=e.resumingFrom)||void 0===n?void 0:(i=n.options).onExitComplete)||void 0===s||s.call(i)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function aa(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,s="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(s+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),r){var o=r.rotate,a=r.rotateX,u=r.rotateY;o&&(s+="rotate(".concat(o,"deg) ")),a&&(s+="rotateX(".concat(a,"deg) ")),u&&(s+="rotateY(".concat(u,"deg) "))}var l=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(s+="scale(".concat(l,", ").concat(c,")"))?"none":s}var ua=function(e,t){return e.depth-t.depth},la=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Ki(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Yi(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ua),this.isDirty=!1,this.children.forEach(e)},e}();function ca(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.checkIsScrollRoot,s=e.resetTransform;return function(){function e(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n=null===r||void 0===r?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(ga),i.nodes.forEach(va)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?(0,E.ev)((0,E.ev)([],(0,E.CR)(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var s=0;s=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=(r&&r!==e.root?r.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function Sa(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Ta(e){Sa(e.x),Sa(e.y)}var Fa=ca({attachResizeListener:function(e,t){return wr(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),ka={current:void 0},Pa=ca({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!ka.current){var e=new Fa(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ka.current=e}return ka.current},resetTransform:function(e,t){e.style.transform=null!==t&&void 0!==t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Na=(0,E.pi)((0,E.pi)((0,E.pi)((0,E.pi)({},bs),nn),lo),Vo),_a=pt((function(e,t){return function(e,t,r,n,i){var s=t.forwardMotionProps,o=void 0!==s&&s,a=dt(e)?xr:Cr;return(0,E.pi)((0,E.pi)({},a),{preloadedFeatures:r,useRender:or(o),createVisualElement:n,projectionNodeConstructor:i,Component:e})}(e,t,Na,Io,Pa)}));var Oa=r(4093),Ia=r(3454);function Ba(){const e={redirect_uri:"".concat(Ia.env.NEXT_PUBLIC_APP_URL,"/oauth/google"),client_id:"".concat(Ia.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID),access_type:"offline",response_type:"code",prompt:"consent",scope:["https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/userinfo.email"].join(" ")},t=new URLSearchParams(e);return"".concat("https://accounts.google.com/o/oauth2/v2/auth","?").concat(t.toString())}function ja(){const e={client_id:"".concat(Ia.env.NEXT_PUBLIC_GITHUB_CLIENT_ID),redirect_uri:"".concat(Ia.env.NEXT_PUBLIC_APP_URL,"/oauth/github"),path:"/",scope:"user:email"},t=new URLSearchParams(e);return"".concat("https://github.com/login/oauth/authorize","?").concat(t.toString())}function La(e){let{pageURL:t,pageTitle:r,popupWinWidth:n,popupWinHeight:i}=e,s=(screen.width-n)/2,o=(screen.height-i)/4;window.open(t,r,"resizable=yes, width="+n+", height="+i+", top="+o+", left="+s)}const Ma={initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.98,opacity:0}};var Ra=r(1686);var $a=()=>{const e=(0,Oa.T)();return(0,n.jsx)(_a.div,{className:"sm:mt-10 mx-auto h-full sm:h-auto sm:w-8/12 lg:w-6/12 xl:w-4/12",variants:Ma,initial:"initial",animate:"animate",exit:"exit",transition:{ease:"easeOut",duration:.3},onClick:e=>e.stopPropagation(),children:(0,n.jsxs)("div",{className:"h-full flex flex-col shadow-xl sm:rounded-xl overflow-hidden",children:[(0,n.jsx)("div",{className:"h-64 w-full",style:{backgroundImage:"url(https://cdn.dribbble.com/userupload/3396431/file/original-d865684d8f3afbc99fcab7ab38f9ee9e.png?compress=1&resize=1504x1128)",backgroundPosition:"center",backgroundSize:"cover"}}),(0,n.jsxs)("div",{className:"flex h-52 flex-col justify-center items-center gap-7 glassmorphism",children:[(0,n.jsxs)("button",{onClick:()=>{La({pageURL:Ba(),pageTitle:"Codetree authentication",popupWinWidth:490,popupWinHeight:600}),e((0,ie.Li)())},className:"px-5 border border-gray-400 flex gap-x-5 items-center justify-center w-80 h-12 rounded-xl text-gray-300",children:[(0,n.jsx)(Ra.D27,{size:24}),(0,n.jsx)("div",{children:"Sign in with google"})]}),(0,n.jsxs)("button",{onClick:()=>{La({pageURL:ja(),pageTitle:"Codetree authentication",popupWinWidth:490,popupWinHeight:600}),e((0,ie.Li)())},className:"px-5 border border-gray-400 flex gap-x-5 items-center justify-center w-80 h-12 rounded-xl text-gray-300",children:[(0,n.jsx)(Ra.q7V,{size:24}),(0,n.jsx)("div",{children:"Sign in with github"})]})]})]})})},Va=r(6578),Ua=r(5881);const qa=()=>{let e=[];for(let t=0;t<10;t++)e.push((0,n.jsxs)("div",{className:"flex animate-pulse",children:[(0,n.jsx)("div",{className:"h-9 w-9 bg-gray-400 rounded-sm"}),(0,n.jsxs)("div",{className:"flex flex-col items-start justify-start pl-4 space-y-2.5 mt-1.5",children:[(0,n.jsx)("div",{className:"h-2 w-12 bg-gray-400 rounded-sm"}),(0,n.jsx)("div",{className:"h-2 w-20 bg-gray-400 rounded-sm"})]})]},t));return(0,n.jsx)(n.Fragment,{children:e})};var za=()=>{const{theme:e}=(0,Oa.C)(se.FS),{esbuildStatus:t}=(0,Oa.C)(ne.eX),{setTree:r}=(0,Va.Z)();let i=[];for(const n of Object.entries(Ua.s))i.push(n);const s=i.map(((e,t)=>(0,n.jsx)("button",{name:e[1].name,onClick:()=>r(e[1]),className:"p-2 rounded-sm",children:(0,n.jsxs)("div",{className:"flex pointer-events-none",children:[(0,n.jsx)("img",{alt:e[1].name,src:e[1].iconSrc,className:"h-9 w-9 rounded-sm"}),(0,n.jsxs)("div",{className:"flex flex-col items-start justify-start pl-4",children:[(0,n.jsx)("div",{children:e[1].name}),(0,n.jsx)("div",{className:"text-xs text-gray-400",children:e[1].description})]})]})},t)));return(0,n.jsxs)(_a.div,{className:"sm:mt-44 mx-auto h-full sm:h-auto sm:w-8/12 lg:w-6/12 sm:pb-20 sm:rounded-xl overflow-hidden glassmorphism",variants:Ma,initial:"initial",animate:"animate",exit:"exit",transition:{ease:"easeOut",duration:.3},onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("div",{style:{backgroundColor:e.foreground},className:"border-b border-black h-10 flex items-center px-7",children:(0,n.jsx)("h1",{className:"text-xl",children:"Templates"})}),(0,n.jsx)("div",{className:"pt-6 px-7 flex flex-wrap gap-x-14 gap-y-8",children:t.isReady?s:(0,n.jsx)(qa,{})})]})},Wa=e=>"checkbox"===e.type,Ga=e=>e instanceof Date,Ha=e=>null==e;const Ja=e=>"object"===typeof e;var Xa=e=>!Ha(e)&&!Array.isArray(e)&&Ja(e)&&!Ga(e),Qa=e=>Xa(e)&&e.target?Wa(e.target)?e.target.checked:e.target.value:e,Ka=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Ya="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document;function Za(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Ya&&(e instanceof Blob||e instanceof FileList)||!r&&!Xa(e))return e;if(t=r?[]:{},r||(e=>{const t=e.constructor&&e.constructor.prototype;return Xa(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=Za(e[r]));else t=e}return t}var eu=e=>Array.isArray(e)?e.filter(Boolean):[],tu=e=>void 0===e,ru=(e,t,r)=>{if(!t||!Xa(e))return r;const n=eu(t.split(/[,[\].]+?/)).reduce(((e,t)=>Ha(e)?e:e[t]),e);return tu(n)||n===e?tu(e[t])?r:e[t]:n};const nu="blur",iu="focusout",su="onBlur",ou="onChange",au="onSubmit",uu="onTouched",lu="all",cu="max",pu="min",hu="maxLength",du="minLength",fu="pattern",mu="required",yu="validate";i.createContext(null);var gu=(e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const s in e)Object.defineProperty(i,s,{get:()=>{const i=s;return t._proxyFormState[i]!==lu&&(t._proxyFormState[i]=!n||lu),r&&(r[i]=!0),e[i]}});return i},vu=e=>Xa(e)&&!Object.keys(e).length,Du=(e,t,r,n)=>{r(e);const{name:i,...s}=e;return vu(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find((e=>t[e]===(!n||lu)))},bu=e=>Array.isArray(e)?e:[e];function Eu(e){const t=i.useRef(e);t.current=e,i.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}var xu=e=>"string"===typeof e,Cu=(e,t,r,n,i)=>xu(e)?(n&&t.watch.add(e),ru(r,e,i)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),ru(r,e)))):(n&&(t.watchAll=!0),r);var wu=e=>/^\w*$/.test(e),Au=e=>eu(e.replace(/["|']|\]/g,"").split(/\.|\[/));function Su(e,t,r){let n=-1;const i=wu(t)?[t]:Au(t),s=i.length,o=s-1;for(;++nt?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{};const Fu=(e,t,r)=>{for(const n of r||Object.keys(e)){const r=ru(e,n);if(r){const{_f:e,...n}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else Xa(n)&&Fu(n,t)}}};var ku=e=>({isOnSubmit:!e||e===au,isOnBlur:e===su,isOnChange:e===ou,isOnAll:e===lu,isOnTouch:e===uu}),Pu=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))))),Nu=(e,t,r)=>{const n=eu(ru(e,r));return Su(n,"root",t[r]),Su(e,r,n),e},_u=e=>"boolean"===typeof e,Ou=e=>"file"===e.type,Iu=e=>"function"===typeof e,Bu=e=>{if(!Ya)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},ju=e=>xu(e),Lu=e=>"radio"===e.type,Mu=e=>e instanceof RegExp;const Ru={value:!1,isValid:!1},$u={value:!0,isValid:!0};var Vu=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!tu(e[0].attributes.value)?tu(e[0].value)||""===e[0].value?$u:{value:e[0].value,isValid:!0}:$u:Ru}return Ru};const Uu={isValid:!1,value:null};var qu=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Uu):Uu;function zu(e,t,r="validate"){if(ju(e)||Array.isArray(e)&&e.every(ju)||_u(e)&&!e)return{type:r,message:ju(e)?e:"",ref:t}}var Wu=e=>Xa(e)&&!Mu(e)?e:{value:e,message:""},Gu=async(e,t,r,n,i)=>{const{ref:s,refs:o,required:a,maxLength:u,minLength:l,min:c,max:p,pattern:h,validate:d,name:f,valueAsNumber:m,mount:y,disabled:g}=e._f,v=ru(t,f);if(!y||g)return{};const D=o?o[0]:s,b=e=>{n&&D.reportValidity&&(D.setCustomValidity(_u(e)?"":e||""),D.reportValidity())},E={},x=Lu(s),C=Wa(s),w=x||C,A=(m||Ou(s))&&tu(s.value)&&tu(v)||Bu(s)&&""===s.value||""===v||Array.isArray(v)&&!v.length,S=Tu.bind(null,f,r,E),T=(e,t,r,n=hu,i=du)=>{const o=e?t:r;E[f]={type:e?n:i,message:o,ref:s,...S(e?n:i,o)}};if(i?!Array.isArray(v)||!v.length:a&&(!w&&(A||Ha(v))||_u(v)&&!v||C&&!Vu(o).isValid||x&&!qu(o).isValid)){const{value:e,message:t}=ju(a)?{value:!!a,message:a}:Wu(a);if(e&&(E[f]={type:mu,message:t,ref:D,...S(mu,t)},!r))return b(t),E}if(!A&&(!Ha(c)||!Ha(p))){let e,t;const n=Wu(p),i=Wu(c);if(Ha(v)||isNaN(v)){const r=s.valueAsDate||new Date(v),o=e=>new Date((new Date).toDateString()+" "+e),a="time"==s.type,u="week"==s.type;xu(n.value)&&v&&(e=a?o(v)>o(n.value):u?v>n.value:r>new Date(n.value)),xu(i.value)&&v&&(t=a?o(v)n.value),Ha(i.value)||(t=r+e.value,i=!Ha(t.value)&&v.length<+t.value;if((n||i)&&(T(n,e.message,t.message),!r))return b(E[f].message),E}if(h&&!A&&xu(v)){const{value:e,message:t}=Wu(h);if(Mu(e)&&!v.match(e)&&(E[f]={type:fu,message:t,ref:s,...S(fu,t)},!r))return b(t),E}if(d)if(Iu(d)){const e=zu(await d(v,t),D);if(e&&(E[f]={...e,...S(yu,e.message)},!r))return b(e.message),E}else if(Xa(d)){let e={};for(const n in d){if(!vu(e)&&!r)break;const i=zu(await d[n](v,t),D,n);i&&(e={...i,...S(n,i.message)},b(i.message),r&&(E[f]=e))}if(!vu(e)&&(E[f]={ref:D,...e},!r))return E}return b(!0),E};function Hu(e,t){const r=Array.isArray(t)?t:wu(t)?[t]:Au(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}}var Xu=e=>Ha(e)||!Ja(e);function Qu(e,t){if(Xu(e)||Xu(t))return e===t;if(Ga(e)&&Ga(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const r=e[i];if(!n.includes(i))return!1;if("ref"!==i){const e=t[i];if(Ga(r)&&Ga(e)||Xa(r)&&Xa(e)||Array.isArray(r)&&Array.isArray(e)?!Qu(r,e):r!==e)return!1}}return!0}var Ku=e=>"select-multiple"===e.type,Yu=e=>Bu(e)&&e.isConnected,Zu=e=>{for(const t in e)if(Iu(e[t]))return!0;return!1};function el(e,t={}){const r=Array.isArray(e);if(Xa(e)||r)for(const n in e)Array.isArray(e[n])||Xa(e[n])&&!Zu(e[n])?(t[n]=Array.isArray(e[n])?[]:{},el(e[n],t[n])):Ha(e[n])||(t[n]=!0);return t}function tl(e,t,r){const n=Array.isArray(e);if(Xa(e)||n)for(const i in e)Array.isArray(e[i])||Xa(e[i])&&!Zu(e[i])?tu(t)||Xu(r[i])?r[i]=Array.isArray(e[i])?el(e[i],[]):{...el(e[i])}:tl(e[i],Ha(t)?{}:t[i],r[i]):r[i]=!Qu(e[i],t[i]);return r}var rl=(e,t)=>tl(e,t,el(t)),nl=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>tu(e)?e:t?""===e?NaN:e?+e:e:r&&xu(e)?new Date(e):n?n(e):e;function il(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return Ou(t)?t.files:Lu(t)?qu(e.refs).value:Ku(t)?[...t.selectedOptions].map((({value:e})=>e)):Wa(t)?Vu(e.refs).value:nl(tu(t.value)?e.ref.value:t.value,e)}var sl=e=>tu(e)?e:Mu(e)?e.source:Xa(e)?Mu(e.value)?e.value.source:e.value:e;function ol(e,t,r){const n=ru(e,r);if(n||wu(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const n=i.join("."),s=ru(t,n),o=ru(e,n);if(s&&!Array.isArray(s)&&r!==n)return{name:r};if(o&&o.type)return{name:n,error:o};i.pop()}return{name:r}}const al={mode:au,reValidateMode:ou,shouldFocusError:!0};function ul(e={},t){let r,n={...al,...e},i={submitCount:0,isDirty:!1,isLoading:Iu(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},s={},o=(Xa(n.defaultValues)||Xa(n.values))&&Za(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:Za(o),u={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const p={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:Ju(),array:Ju(),state:Ju()},d=e.resetOptions&&e.resetOptions.keepDirtyValues,f=ku(n.mode),m=ku(n.reValidateMode),y=n.criteriaMode===lu,g=async e=>{if(p.isValid||e){const e=n.resolver?vu((await x()).errors):await C(s,!0);e!==i.isValid&&h.state.next({isValid:e})}},v=e=>p.isValidating&&h.state.next({isValidating:e}),D=(e,t,r,n)=>{const i=ru(s,e);if(i){const s=ru(a,e,tu(r)?ru(o,e):r);tu(s)||n&&n.defaultChecked||t?Su(a,e,t?s:il(i._f)):S(e,s),u.mount&&g()}},b=(e,t,r,n,s)=>{let a=!1,u=!1;const l={name:e};if(!r||n){p.isDirty&&(u=i.isDirty,i.isDirty=l.isDirty=w(),a=u!==l.isDirty);const r=Qu(ru(o,e),t);u=ru(i.dirtyFields,e),r?Hu(i.dirtyFields,e):Su(i.dirtyFields,e,!0),l.dirtyFields=i.dirtyFields,a=a||p.dirtyFields&&u!==!r}if(r){const t=ru(i.touchedFields,e);t||(Su(i.touchedFields,e,r),l.touchedFields=i.touchedFields,a=a||p.touchedFields&&t!==r)}return a&&s&&h.state.next(l),a?l:{}},E=(t,n,s,o)=>{const a=ru(i.errors,t),u=p.isValid&&_u(n)&&i.isValid!==n;var l;if(e.delayError&&s?(l=()=>((e,t)=>{Su(i.errors,e,t),h.state.next({errors:i.errors})})(t,s),r=e=>{clearTimeout(c),c=setTimeout(l,e)},r(e.delayError)):(clearTimeout(c),r=null,s?Su(i.errors,t,s):Hu(i.errors,t)),(s?!Qu(a,s):a)||!vu(o)||u){const e={...o,...u&&_u(n)?{isValid:n}:{},errors:i.errors,name:t};i={...i,...e},h.state.next(e)}v(!1)},x=async e=>n.resolver(a,n.context,((e,t,r,n)=>{const i={};for(const s of e){const e=ru(t,s);e&&Su(i,s,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}})(e||l.mount,s,n.criteriaMode,n.shouldUseNativeValidation)),C=async(e,t,r={valid:!0})=>{for(const s in e){const o=e[s];if(o){const{_f:e,...s}=o;if(e){const s=l.array.has(e.name),u=await Gu(o,a,y,n.shouldUseNativeValidation&&!t,s);if(u[e.name]&&(r.valid=!1,t))break;!t&&(ru(u,e.name)?s?Nu(i.errors,u,e.name):Su(i.errors,e.name,u[e.name]):Hu(i.errors,e.name))}s&&await C(s,t,r)}}return r.valid},w=(e,t)=>(e&&t&&Su(a,e,t),!Qu(N(),o)),A=(e,t,r)=>Cu(e,l,{...u.mount?a:tu(t)?o:xu(e)?{[e]:t}:t},r,t),S=(e,t,r={})=>{const n=ru(s,e);let i=t;if(n){const r=n._f;r&&(!r.disabled&&Su(a,e,nl(t,r)),i=Bu(r.ref)&&Ha(t)?"":t,Ku(r.ref)?[...r.ref.options].forEach((e=>e.selected=i.includes(e.value))):r.refs?Wa(r.ref)?r.refs.length>1?r.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find((t=>t===e.value)):i===e.value))):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach((e=>e.checked=e.value===i)):Ou(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||h.values.next({name:e,values:{...a}})))}(r.shouldDirty||r.shouldTouch)&&b(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&P(e)},T=(e,t,r)=>{for(const n in t){const i=t[n],o=`${e}.${n}`,a=ru(s,o);!l.array.has(e)&&Xu(i)&&(!a||a._f)||Ga(i)?S(o,i,r):T(o,i,r)}},F=(e,r,n={})=>{const c=ru(s,e),d=l.array.has(e),f=Za(r);Su(a,e,f),d?(h.array.next({name:e,values:{...a}}),(p.isDirty||p.dirtyFields)&&n.shouldDirty&&h.state.next({name:e,dirtyFields:rl(o,a),isDirty:w(e,f)})):!c||c._f||Ha(f)?S(e,f,n):T(e,f,n),Pu(e,l)&&h.state.next({...i}),h.values.next({name:e,values:{...a}}),!u.mount&&t()},k=async e=>{const t=e.target;let o=t.name,u=!0;const c=ru(s,o);if(c){let D,w;const A=t.type?il(c._f):Qa(e),S=e.type===nu||e.type===iu,T=!((d=c._f).mount&&(d.required||d.min||d.max||d.maxLength||d.minLength||d.pattern||d.validate))&&!n.resolver&&!ru(i.errors,o)&&!c._f.deps||((e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:!(r?n.isOnChange:i.isOnChange)||e))(S,ru(i.touchedFields,o),i.isSubmitted,m,f),F=Pu(o,l,S);Su(a,o,A),S?(c._f.onBlur&&c._f.onBlur(e),r&&r(0)):c._f.onChange&&c._f.onChange(e);const k=b(o,A,S,!1),N=!vu(k)||F;if(!S&&h.values.next({name:o,type:e.type,values:{...a}}),T)return p.isValid&&g(),N&&h.state.next({name:o,...F?{}:k});if(!S&&F&&h.state.next({...i}),v(!0),n.resolver){const{errors:e}=await x([o]),t=ol(i.errors,s,o),r=ol(e,s,t.name||o);D=r.error,o=r.name,w=vu(e)}else D=(await Gu(c,a,y,n.shouldUseNativeValidation))[o],u=isNaN(A)||A===ru(a,o,A),u&&(D?w=!1:p.isValid&&(w=await C(s,!0)));u&&(c._f.deps&&P(c._f.deps),E(o,w,D,k))}var d},P=async(e,t={})=>{let r,o;const a=bu(e);if(v(!0),n.resolver){const t=await(async e=>{const{errors:t}=await x();if(e)for(const r of e){const e=ru(t,r);e?Su(i.errors,r,e):Hu(i.errors,r)}else i.errors=t;return t})(tu(e)?e:a);r=vu(t),o=e?!a.some((e=>ru(t,e))):r}else e?(o=(await Promise.all(a.map((async e=>{const t=ru(s,e);return await C(t&&t._f?{[e]:t}:t)})))).every(Boolean),(o||i.isValid)&&g()):o=r=await C(s);return h.state.next({...!xu(e)||p.isValid&&r!==i.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:i.errors,isValidating:!1}),t.shouldFocus&&!o&&Fu(s,(e=>e&&ru(i.errors,e)),e?a:l.mount),o},N=e=>{const t={...o,...u.mount?a:{}};return tu(e)?t:xu(e)?ru(t,e):e.map((e=>ru(t,e)))},_=(e,t)=>({invalid:!!ru((t||i).errors,e),isDirty:!!ru((t||i).dirtyFields,e),isTouched:!!ru((t||i).touchedFields,e),error:ru((t||i).errors,e)}),O=(e,t,r)=>{const n=(ru(s,e,{_f:{}})._f||{}).ref;Su(i.errors,e,{...t,ref:n}),h.state.next({name:e,errors:i.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},I=(e,t={})=>{for(const r of e?bu(e):l.mount)l.mount.delete(r),l.array.delete(r),t.keepValue||(Hu(s,r),Hu(a,r)),!t.keepError&&Hu(i.errors,r),!t.keepDirty&&Hu(i.dirtyFields,r),!t.keepTouched&&Hu(i.touchedFields,r),!n.shouldUnregister&&!t.keepDefaultValue&&Hu(o,r);h.values.next({values:{...a}}),h.state.next({...i,...t.keepDirty?{isDirty:w()}:{}}),!t.keepIsValid&&g()},B=(e,t={})=>{let r=ru(s,e);const i=_u(t.disabled);return Su(s,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),tu(t.value)||Su(a,e,t.value),r?i&&Su(a,e,t.disabled?void 0:ru(a,e,il(r._f))):D(e,!0,t.value),{...i?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:sl(t.min),max:sl(t.max),minLength:sl(t.minLength),maxLength:sl(t.maxLength),pattern:sl(t.pattern)}:{},name:e,onChange:k,onBlur:k,ref:i=>{if(i){B(e,t),r=ru(s,e);const n=tu(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=(e=>Lu(e)||Wa(e))(n),u=r._f.refs||[];if(a?u.find((e=>e===n)):n===r._f.ref)return;Su(s,e,{_f:{...r._f,...a?{refs:[...u.filter(Yu),n,...Array.isArray(ru(o,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),D(e,!1,void 0,n)}else r=ru(s,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!Ka(l.array,e)||!u.action)&&l.unMount.add(e)}}},j=()=>n.shouldFocusError&&Fu(s,(e=>e&&ru(i.errors,e)),l.mount),L=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let o=Za(a);if(h.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await x();i.errors=e,o=t}else await C(s);Hu(i.errors,"root"),vu(i.errors)?(h.state.next({errors:{}}),await e(o,r)):(t&&await t({...i.errors},r),j(),setTimeout(j)),h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vu(i.errors),submitCount:i.submitCount+1,errors:i.errors})},M=(r,n={})=>{const c=r||o,f=Za(c),m=r&&!vu(r)?f:o;if(n.keepDefaultValues||(o=c),!n.keepValues){if(n.keepDirtyValues||d)for(const e of l.mount)ru(i.dirtyFields,e)?Su(m,e,ru(a,e)):F(e,ru(m,e));else{if(Ya&&tu(r))for(const e of l.mount){const t=ru(s,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Bu(e)){const t=e.closest("form");if(t){t.reset();break}}}}s={}}a=e.shouldUnregister?n.keepDefaultValues?Za(o):{}:Za(m),h.array.next({values:{...m}}),h.values.next({values:{...m}})}l={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!u.mount&&t(),u.mount=!p.isValid||!!n.keepIsValid,u.watch=!!e.shouldUnregister,h.state.next({submitCount:n.keepSubmitCount?i.submitCount:0,isDirty:n.keepDirty?i.isDirty:!(!n.keepDefaultValues||Qu(r,o)),isSubmitted:!!n.keepIsSubmitted&&i.isSubmitted,dirtyFields:n.keepDirtyValues?i.dirtyFields:n.keepDefaultValues&&r?rl(o,r):{},touchedFields:n.keepTouched?i.touchedFields:{},errors:n.keepErrors?i.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},R=(e,t)=>M(Iu(e)?e(a):e,t);return{control:{register:B,unregister:I,getFieldState:_,handleSubmit:L,setError:O,_executeSchema:x,_getWatch:A,_getDirty:w,_updateValid:g,_removeUnmounted:()=>{for(const e of l.unMount){const t=ru(s,e);t&&(t._f.refs?t._f.refs.every((e=>!Yu(e))):!Yu(t._f.ref))&&I(e)}l.unMount=new Set},_updateFieldArray:(e,t=[],r,n,l=!0,c=!0)=>{if(n&&r){if(u.action=!0,c&&Array.isArray(ru(s,e))){const t=r(ru(s,e),n.argA,n.argB);l&&Su(s,e,t)}if(c&&Array.isArray(ru(i.errors,e))){const t=r(ru(i.errors,e),n.argA,n.argB);l&&Su(i.errors,e,t),((e,t)=>{!eu(ru(e,t)).length&&Hu(e,t)})(i.errors,e)}if(p.touchedFields&&c&&Array.isArray(ru(i.touchedFields,e))){const t=r(ru(i.touchedFields,e),n.argA,n.argB);l&&Su(i.touchedFields,e,t)}p.dirtyFields&&(i.dirtyFields=rl(o,a)),h.state.next({name:e,isDirty:w(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else Su(a,e,t)},_getFieldArray:t=>eu(ru(u.mount?a:o,t,e.shouldUnregister?ru(o,t,[]):[])),_reset:M,_resetDefaultValues:()=>Iu(n.defaultValues)&&n.defaultValues().then((e=>{R(e,n.resetOptions),h.state.next({isLoading:!1})})),_updateFormState:e=>{i={...i,...e}},_subjects:h,_proxyFormState:p,get _fields(){return s},get _formValues(){return a},get _state(){return u},set _state(e){u=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return i},set _formState(e){i=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:P,register:B,handleSubmit:L,watch:(e,t)=>Iu(e)?h.values.subscribe({next:r=>e(A(void 0,t),r)}):A(e,t,!0),setValue:F,getValues:N,reset:R,resetField:(e,t={})=>{ru(s,e)&&(tu(t.defaultValue)?F(e,ru(o,e)):(F(e,t.defaultValue),Su(o,e,t.defaultValue)),t.keepTouched||Hu(i.touchedFields,e),t.keepDirty||(Hu(i.dirtyFields,e),i.isDirty=t.defaultValue?w(e,ru(o,e)):w()),t.keepError||(Hu(i.errors,e),p.isValid&&g()),h.state.next({...i}))},clearErrors:e=>{e&&bu(e).forEach((e=>Hu(i.errors,e))),h.state.next({errors:e?i.errors:{}})},unregister:I,setError:O,setFocus:(e,t={})=>{const r=ru(s,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:_}}var ll=()=>{var e,t;const r=(0,Oa.T)(),{options:s}=(0,Oa.C)(re.UT),{theme:o}=(0,Oa.C)(se.FS),{register:a,handleSubmit:u}=function(e={}){const t=i.useRef(),r=i.useRef(),[n,s]=i.useState({isDirty:!1,isValidating:!1,isLoading:Iu(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:Iu(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...ul(e,(()=>s((e=>({...e}))))),formState:n});const o=t.current.control;return o._options=e,Eu({subject:o._subjects.state,next:e=>{Du(e,o._proxyFormState,o._updateFormState,!0)&&s({...o._formState})}}),i.useEffect((()=>{e.values&&!Qu(e.values,r.current)?(o._reset(e.values,o._options.resetOptions),r.current=e.values):o._resetDefaultValues()}),[e.values,o]),i.useEffect((()=>{o._state.mount||(o._updateValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()})),t.current.formState=gu(n,o),t.current}();return(0,n.jsxs)(_a.div,{className:"sm:mt-10 mx-auto h-full sm:h-auto sm:w-8/12 lg:w-6/12 sm:rounded-xl overflow-hidden glassmorphism",variants:Ma,initial:"initial",animate:"animate",exit:"exit",transition:{ease:"easeOut",duration:.3},onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("div",{style:{backgroundColor:o.foreground},className:"border-b border-black h-10 flex items-center px-7",children:(0,n.jsx)("h1",{className:"text-xl",children:" Settings"})}),(0,n.jsx)("div",{className:"overflow-auto h-full",children:(0,n.jsx)("div",{className:"pt-6 px-7 ",children:(0,n.jsxs)("form",{className:" mb-12 overflow-auto",onSubmit:u((e=>{let{fontSize:t,fontWeight:n,minimapEnabled:i,minimapScale:s,wordWrap:o,autoClosingBrackets:a}=e;const u={fontSize:parseInt(t),fontWeight:n,minimap:{enabled:i,scale:parseInt(s)},wordWrap:o,autoClosingBrackets:{autoClosingBrackets:a},showUnused:!0,automaticLayout:!0,tabSize:2,renderLineHighlight:"none",scrollbar:{verticalScrollbarSize:10,verticalSliderSize:10}};r((0,re.yi)(u))})),children:[(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Font size : "}),(0,n.jsx)("div",{className:"description",children:"Set the font size in pixels."}),(0,n.jsxs)("select",{...a("fontSize"),id:"fontSize",className:"editor-select",defaultValue:s.fontSize,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:9,children:"9"}),(0,n.jsx)("option",{value:10,children:"10"}),(0,n.jsx)("option",{value:11,children:"11"}),(0,n.jsx)("option",{value:12,children:"12"}),(0,n.jsx)("option",{value:13,children:"13"}),(0,n.jsx)("option",{value:14,children:"14"}),(0,n.jsx)("option",{value:15,children:"15"}),(0,n.jsx)("option",{value:16,children:"16"}),(0,n.jsx)("option",{value:17,children:"17"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Font weight : "}),(0,n.jsx)("div",{className:"description",children:"Defines how bold you text are."}),(0,n.jsxs)("select",{...a("fontWeight"),id:"fontWeight",className:"editor-select",defaultValue:s.fontWeight,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:"500",children:"Regular"}),(0,n.jsx)("option",{value:"600",children:"Bold"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Enabled minimap : "}),(0,n.jsx)("div",{className:"description",children:"Control if the minimap should be shown."}),(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("input",{...a("minimapEnabled"),id:"minimap-enabled",className:"editor-select mr-2",type:"checkbox",defaultChecked:null===(e=s.minimap)||void 0===e?void 0:e.enabled,style:{backgroundColor:o.foreground}}),(0,n.jsx)("label",{children:"On "})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Scale : "}),(0,n.jsx)("div",{className:"description",children:"Set the size of the minimap."}),(0,n.jsxs)("select",{...a("minimapScale"),id:"minimap-scale",className:"editor-select",defaultValue:null===(t=s.minimap)||void 0===t?void 0:t.scale,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:1,children:"1"}),(0,n.jsx)("option",{value:2,children:"2"}),(0,n.jsx)("option",{value:3,children:"3"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Word wrap : "}),(0,n.jsx)("div",{className:"description",children:"Control if lines should wrap."}),(0,n.jsxs)("select",{...a("wordWrap"),id:"wordWrap",className:"editor-select",defaultValue:s.wordWrap,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:"on",children:"On"}),(0,n.jsx)("option",{value:"off",children:"Off"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Auto Closing Brackets : "}),(0,n.jsx)("div",{className:"description",children:"Controls if brackets should close automatically"}),(0,n.jsxs)("select",{...a("autoClosingBrackets"),id:"autoClosingBrackets",className:"editor-select",defaultValue:s.autoClosingBrackets,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:"always",children:"always"}),(0,n.jsx)("option",{value:"languageDefined",children:"languageDefined"}),(0,n.jsx)("option",{value:"beforeWhitespace",children:"beforeWhitespace"}),(0,n.jsx)("option",{value:"never",children:"never"})]})]}),(0,n.jsx)("button",{className:"editor-button h-9 mt-6",type:"submit",children:"Save settings"})]})})})]})};const cl=()=>{const{type:e,visible:t}=(0,Oa.C)(ie.d9),r=(0,Oa.T)();return(0,n.jsx)(Re,{exitBeforeEnter:!0,onExitComplete:()=>null,children:t&&(0,n.jsx)(_a.div,{className:"backdrop",onClick:()=>r((0,ie.Li)()),children:(e=>{switch(e){case ie.oV.AUTH:return(0,n.jsx)($a,{});case ie.oV.TEMPLATE:return(0,n.jsx)(za,{});case ie.oV.SETTINGS:return(0,n.jsx)(ll,{});case ie.oV.IDLE:return(0,n.jsx)("div",{})}})(e)})})};function pl(e){let{Component:t,pageProps:r,router:o,initialUser:a}=e;return l().events.on("routeChangeStart",(()=>p().start())),l().events.on("routeChangeComplete",(()=>p().done())),l().events.on("routeChangeError",(()=>p().done())),(0,i.useEffect)((()=>{window.withOauth=function(e,t){oe.dispatch(function(e,t){return async r=>{r(X());try{const n=await W().post("/api/oauth/".concat(t),e);return n.data.status?void r(Q(n.data)):(r(K(n.data.message)),n.data)}catch(n){r(K(n.message))}}}(e,t))}}),[]),(0,i.useEffect)((()=>{oe.dispatch(J(a))}),[a]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(f,{client:new g.f({defaultOptions:{query:{errorPolicy:"all"},mutate:{errorPolicy:"all"}},link:U(u),cache:new v.h({typePolicies:{Query:{fields:{projects:M()}}}})}),children:(0,n.jsxs)(s.zt,{store:oe,children:[(0,n.jsx)(t,{...r}),(0,n.jsx)(cl,{})]})})});var u}var hl=pl;pl.getInitialProps=async e=>await a().getInitialProps(e)},2645:function(e,t,r){"use strict";r.d(t,{eX:function(){return g},ZP:function(){return v},gm:function(){return b},kC:function(){return D}});var n=r(6319),i=r(4981),s=r(9669),o=r.n(s),a=r(9483);const u=r.n(a)().createInstance({name:"fileCache"}),l=(e,t)=>({name:"unpkg-fetch-plugin",setup(r){"index.ts"===t?r.onLoad({filter:/(^index\.ts$)/},(()=>({loader:"tsx",contents:e}))):r.onLoad({filter:/(^index\.js$)/},(()=>({loader:"jsx",contents:e}))),r.onLoad({filter:/.*/},(async e=>{const t=await u.getItem(e.path);if(t)return t})),r.onLoad({filter:/.css$/},(async e=>{const{data:t,request:r}=await o().get(e.path),n=t.replace(/\n/g,"").replace(/"/g,'\\"').replace(/'/g,"\\'"),i={loader:"jsx",contents:'const style = document.createElement("style");\n style.innerText = \''.concat(n,"';\n document.head.appendChild(style);"),resolveDir:new URL("./",r.responseURL).pathname};return await u.setItem(e.path,i),i})),r.onLoad({filter:/.*/},(async e=>{console.log("...fetching ".concat(e.path));const{data:t,request:r}=await o().get(e.path),n={loader:"jsx",contents:t,resolveDir:new URL("./",r.responseURL).pathname};return await u.setItem(e.path,n),console.log("end of fetching"),n}))}}),c=(0,n.oM)({name:"compiler",initialState:{isInitializing:!1,esbuildStatus:{isReady:!1,error:""},isCompiling:!1,output:{code:"",error:""}},reducers:{init_esbuild:e=>{e.isInitializing=!0},init_esbuild_success:e=>{e.esbuildStatus.isReady=!0,e.esbuildStatus.error="",e.isInitializing=!1},init_esbuild_failure:(e,t)=>{let{payload:r}=t;e.esbuildStatus.isReady=!1,e.esbuildStatus.error=r,e.isInitializing=!1},compiled:e=>{e.isCompiling=!0},compiled_success:(e,t)=>{let{payload:r}=t;e.output.code=r,e.output.error="",e.isCompiling=!1},compiled_failure:(e,t)=>{let{payload:r}=t;e.output.code="",e.output.error=r,e.isCompiling=!1}}}),{compiled:p,compiled_success:h,compiled_failure:d,init_esbuild:f,init_esbuild_success:m,init_esbuild_failure:y}=c.actions,g=e=>e.compiler;var v=c.reducer;function D(){return async e=>{e(f()),await i.initialize({worker:!0,wasmURL:"https://unpkg.com/esbuild-wasm@0.14.42/esbuild.wasm"}).then((()=>{e(m())})).catch((t=>e(y(t.message))))}}function b(e,t){return async r=>{r(p());try{const n=await i.build({entryPoints:["".concat(t)],bundle:!0,write:!1,minify:!0,outdir:"/",plugins:[{name:"unpkg-path-plugin",setup(e){e.onResolve({filter:/.*/},(e=>{if("entry-point"===e.kind)return{path:e.path,namespace:"a"}})),e.onResolve({filter:/^\.+\//},(e=>({namespace:"a",path:new URL(e.path,"https://unpkg.com".concat(e.resolveDir,"/")).href}))),e.onResolve({filter:/.*/},(async e=>({namespace:"a",path:"https://unpkg.com/".concat(e.path)})))}},l(e,t)],metafile:!0,allowOverwrite:!0});r(h(n.outputFiles[0].text))}catch(n){r(d(n.message))}}}},6196:function(e,t,r){"use strict";r.d(t,{CH:function(){return a},M2:function(){return l},N4:function(){return u},U$:function(){return h},UT:function(){return f},Vi:function(){return p},sU:function(){return c},yi:function(){return d}});var n=r(6319),i=r(5881);const s={editorValue:i.s._empty,monacoInputValue:i.s._empty,logs:[],isLogTabOpen:!1,options:i.b},o=(0,n.oM)({name:"editor",initialState:s,reducers:{set_editor_value:(e,t)=>{let{payload:r}=t;e.editorValue=r},update_editor_code:(e,t)=>{let{payload:r}=t;e.editorValue.tabs[r.type].data=r.content},update_logs:(e,t)=>{let{payload:r}=t;e.logs=[...e.logs,r]},clear_logs:e=>{e.logs=[]},toggle_logs_tab:e=>{e.isLogTabOpen=!e.isLogTabOpen},set_monaco_input_value:(e,t)=>{let{payload:r}=t;e.monacoInputValue=r},set_options:(e,t)=>{let{payload:r}=t;e.options=r}}}),{update_editor_code:a,update_logs:u,clear_logs:l,toggle_logs_tab:c,set_monaco_input_value:p,set_editor_value:h,set_options:d}=o.actions,f=e=>e.editor;t.ZP=o.reducer},4531:function(e,t,r){"use strict";r.d(t,{Ib:function(){return a},Li:function(){return u},d9:function(){return l},oV:function(){return n}});var n,i=r(6319);!function(e){e.IDLE="IDLE",e.AUTH="AUTH",e.TEMPLATE="TEMPLATE",e.SETTINGS="SETTINGS"}(n||(n={}));const s={type:n.IDLE,visible:!1},o=(0,i.oM)({name:"modal",initialState:s,reducers:{open_modal:(e,t)=>{e.type=t.payload,e.visible=!0},close_modal:e=>{e.type=n.IDLE,e.visible=!1}}}),{open_modal:a,close_modal:u}=o.actions,l=e=>e.modal;t.ZP=o.reducer},6678:function(e,t,r){"use strict";r.d(t,{FS:function(){return s}});const n=(0,r(6319).oM)({name:"theme",initialState:{theme:{text:"#ffffff",background:"#171E25",foreground:"#1B252D",border:"#263440"}},reducers:{set_Theme:e=>{}}}),{set_Theme:i}=n.actions,s=e=>e.theme;t.ZP=n.reducer},4093:function(e,t,r){"use strict";r.d(t,{C:function(){return s},T:function(){return i}});var n=r(5617);const i=()=>(0,n.I0)(),s=n.v9},1677:function(){},8760:function(){},5030:function(){},3821:function(){},3920:function(){},3814:function(){},4207:function(){},2116:function(){},7663:function(e){!function(){var t={229:function(e){var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,u=[],l=!1,c=-1;function p(){l&&a&&(l=!1,a.length?u=a.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=o(p);l=!0;for(var t=u.length;t;){for(a=u,u=[];++c1)for(var r=1;r
'};function r(e,t,r){return er?r:e}function n(e){return 100*(-1+e)}function i(e,r,i){var s;return(s="translate3d"===t.positionUsing?{transform:"translate3d("+n(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+n(e)+"%,0)"}:{"margin-left":n(e)+"%"}).transition="all "+r+"ms "+i,s}e.configure=function(e){var r,n;for(r in e)void 0!==(n=e[r])&&e.hasOwnProperty(r)&&(t[r]=n);return this},e.status=null,e.set=function(n){var a=e.isStarted();n=r(n,t.minimum,1),e.status=1===n?null:n;var u=e.render(!a),l=u.querySelector(t.barSelector),c=t.speed,p=t.easing;return u.offsetWidth,s((function(r){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),o(l,i(n,c,p)),1===n?(o(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout((function(){o(u,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){e.remove(),r()}),c)}),c)):setTimeout(r,c)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var r=function(){setTimeout((function(){e.status&&(e.trickle(),r())}),t.trickleSpeed)};return t.trickle&&r(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var n=e.status;return n?("number"!==typeof t&&(t=(1-n)*r(Math.random()*n,.1,.95)),n=r(n+t,0,.994),e.set(n)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,r=0;e.promise=function(n){return n&&"resolved"!==n.state()?(0===r&&e.start(),t++,r++,n.always((function(){0===--r?(t=0,e.done()):e.set((t-r)/t)})),this):this}}(),e.render=function(r){if(e.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=t.template;var s,a=i.querySelector(t.barSelector),l=r?"-100":n(e.status||0),c=document.querySelector(t.parent);return o(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),t.showSpinner||(s=i.querySelector(t.spinnerSelector))&&p(s),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(i),i},e.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var r=e.shift();r&&r(t)}return function(r){e.push(r),1==e.length&&t()}}(),o=function(){var e=["Webkit","O","Moz","ms"],t={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function n(t){var r=document.body.style;if(t in r)return t;for(var n,i=e.length,s=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((n=e[i]+s)in r)return n;return t}function i(e){return e=r(e),t[e]||(t[e]=n(e))}function s(e,t,r){t=i(t),e.style[t]=r}return function(e,t){var r,n,i=arguments;if(2==i.length)for(r in t)void 0!==(n=t[r])&&t.hasOwnProperty(r)&&s(e,r,n);else s(e,i[1],i[2])}}();function a(e,t){return("string"==typeof e?e:c(e)).indexOf(" "+t+" ")>=0}function u(e,t){var r=c(e),n=r+t;a(r,t)||(e.className=n.substring(1))}function l(e,t){var r,n=c(e);a(e,t)&&(r=n.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e},void 0===(i="function"===typeof n?n.call(t,r,t,e):n)||(e.exports=i)},1952:function(e,t,r){"use strict";r.d(t,{dP:function(){return j},re:function(){return R}});var n=r(657);let i=null;const s={};let o=1;function a(e){try{return e()}catch(t){}}const u="@wry/context:Slot",l=a((()=>globalThis))||a((()=>global))||Object.create(null),c=l[u]||Array[u]||function(e){try{Object.defineProperty(l,u,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=i;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===s)break;return e!==i&&(i.slots[this.id]=t),!0}return i&&(i.slots[this.id]=s),!1}getValue(){if(this.hasValue())return i.slots[this.id]}withValue(e,t,r,n){const s={__proto__:null,[this.id]:e},o=i;i={parent:o,slots:s};try{return t.apply(n,r)}finally{i=o}}static bind(e){const t=i;return function(){const r=i;try{return i=t,e.apply(this,arguments)}finally{i=r}}}static noContext(e,t,r){if(!i)return e.apply(r,t);{const n=i;try{return i=null,e.apply(r,t)}finally{i=n}}}}),{bind:p,noContext:h}=c;function d(){}var f,m=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=d),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),y=new c,g=Object.prototype.hasOwnProperty,v=void 0===(f=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:f;function D(e){var t=e.unsubscribe;"function"===typeof t&&(e.unsubscribe=void 0,t())}var b=[];function E(e,t){if(!e)throw new Error(t||"assertion failure")}function x(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var C=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!S(this))return w(this),this.value[0]},e.prototype.recompute=function(e){return E(!this.recomputing,"already recomputing"),w(this),S(this)?function(e,t){O(e),y.withValue(e,A,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{D(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(r){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,S(e))return;F(e)}(e);return x(e.value)}(this,e):x(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,T(this),D(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),O(this),k(this,(function(t,r){t.setDirty(),I(t,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(v(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),b.push(this.deps),this.deps=null)},e.count=0,e}();function w(e){var t=y.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),S(e)?P(t,e):N(t,e),t}function A(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(r){e.value[1]=r}e.recomputing=!1}function S(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function T(e){k(e,P)}function F(e){k(e,N)}function k(e,t){var r=e.parents.size;if(r)for(var n=v(e.parents),i=0;i0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),_(e,t),S(e)||F(e)}function _(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function O(e){e.childValues.size>0&&e.childValues.forEach((function(t,r){I(e,r)})),e.forgetDeps(),E(null===e.dirtyChildren)}function I(e,t){t.parents.delete(e),e.childValues.delete(t),_(e,t)}var B={setDirty:!0,dispose:!0,forget:!0};function j(e){var t=new Map,r=e&&e.subscribe;function n(e){var n=y.getValue();if(n){var i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"===typeof r&&(D(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){var n=t.get(e);if(n){var i=r&&g.call(B,r)?r:"setDirty";v(n).forEach((function(e){return e[i]()})),t.delete(e),D(n)}},n}function L(){var e=new n.B("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}L();var M=new Set;function R(e,t){void 0===t&&(t=Object.create(null));var r=new m(t.max||Math.pow(2,16),(function(e){return e.dispose()})),n=t.keyArgs,i=t.makeCacheKey||L(),s=function(){var s=i.apply(null,n?n.apply(null,arguments):arguments);if(void 0===s)return e.apply(null,arguments);var o=r.get(s);o||(r.set(s,o=new C(e)),o.subscribe=t.subscribe,o.forget=function(){return r.delete(s)});var a=o.recompute(Array.prototype.slice.call(arguments));return r.set(s,o),M.add(r),y.hasValue()||(M.forEach((function(e){return e.clean()})),M.clear()),a};function o(e){var t=r.get(e);t&&t.setDirty()}function a(e){var t=r.get(e);if(t)return t.peek()}function u(e){return r.delete(e)}return Object.defineProperty(s,"size",{get:function(){return r.map.size},configurable:!1,enumerable:!1}),s.dirtyKey=o,s.dirty=function(){o(i.apply(null,arguments))},s.peekKey=a,s.peek=function(){return a(i.apply(null,arguments))},s.forgetKey=u,s.forget=function(){return u(i.apply(null,arguments))},s.makeCacheKey=i,s.getKey=n?function(){return i.apply(null,n.apply(null,arguments))}:i,Object.freeze(s)}},8182:function(e,t,r){e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),s=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=s(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),a=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),u=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),l=e(((e,t)=>{var r=s(),n=Function.prototype,i=n.call,o=r&&n.bind.bind(i,i);t.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}})),c=e(((e,t)=>{var r=l(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,t)=>{var r=l(),i=n(),s=c(),o=Object,a=r("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o})),h=e(((e,t)=>{t.exports=function(e){return null==e}})),d=e(((e,t)=>{var r=h(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),m=e(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),y=e(((e,t)=>{var r=m(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),g=e(((e,t)=>{var r=y(),n=m(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),v=e(((e,r)=>{var n=t(),i=y(),s=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}})),D=e(((e,t)=>{var r=l();t.exports=r({}.isPrototypeOf)})),b=e(((e,t)=>{var r=v();t.exports=r("navigator","userAgent")||""})),E=e(((e,r)=>{var n,i,s=t(),o=b(),a=s.process,u=s.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),x=e(((e,t)=>{var r=E(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),C=e(((e,t)=>{var r=x();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),w=e(((e,t)=>{var r=v(),n=y(),i=D(),s=C(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),A=e(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),S=e(((e,t)=>{var r=y(),n=A(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),T=e(((e,t)=>{var r=S(),n=h();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),F=e(((e,t)=>{var r=o(),n=y(),i=g(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),P=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=P(),s="__core-js_shared__",o=n[s]||i(s,{});r.exports=o})),_=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),O=e(((e,t)=>{var r=d(),n=Object;t.exports=function(e){return n(r(e))}})),I=e(((e,t)=>{var r=l(),n=O(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),B=e(((e,t)=>{var r=l(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),j=e(((e,r)=>{var n=t(),i=_(),s=I(),o=B(),a=x(),u=C(),l=i("wks"),c=n.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||o;r.exports=function(e){if(!s(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&s(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),L=e(((e,t)=>{var r=o(),n=g(),i=w(),s=T(),a=F(),u=j(),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var o,u=s(e,c);if(u){if(void 0===t&&(t="default"),o=r(u,e,t),!n(o)||i(o))return o;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),M=e(((e,t)=>{var r=L(),n=w();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=g(),s=n.document,o=i(s)&&i(s.createElement);r.exports=function(e){return o?s.createElement(e):{}}})),$=e(((e,t)=>{var r=i(),s=n(),o=R();t.exports=!r&&!s((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),V=e((e=>{var t=i(),r=o(),n=a(),s=u(),l=f(),c=M(),p=I(),h=$(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=l(e),t=c(t),h)try{return d(e,t)}catch{}if(p(e,t))return s(!r(n.f,e,t),e[t])}})),U=e(((e,t)=>{var r=i(),s=n();t.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),q=e(((e,t)=>{var r=g(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),z=e((e=>{var t=i(),r=$(),n=U(),s=q(),o=M(),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(s(e),t=o(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(s(e),t=o(t),s(n),r)try{return u(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),W=e(((e,t)=>{var r=i(),n=z(),s=u();t.exports=r?function(e,t,r){return n.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}})),G=e(((e,t)=>{var r=i(),n=I(),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=n(s,"name"),u=a&&"something"===function(){}.name,l=a&&(!r||r&&o(s,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}})),H=e(((e,t)=>{var r=l(),n=y(),i=N(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),J=e(((e,r)=>{var n=t(),i=y(),s=n.WeakMap;r.exports=i(s)&&/native code/.test(String(s))})),X=e(((e,t)=>{var r=_(),n=B(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),Q=e(((e,t)=>{t.exports={}})),K=e(((e,r)=>{var n,i,s,o,a,u=J(),l=t(),c=g(),p=W(),h=I(),d=N(),f=X(),m=Q(),y="Object already initialized",v=l.TypeError,D=l.WeakMap,b=function(e){return s(e)?i(e):n(e,{})},E=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return r}};u||d.state?((o=d.state||(d.state=new D)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw v(y);return t.facade=e,o.set(e,t),t},i=function(e){return o.get(e)||{}},s=function(e){return o.has(e)}):(m[a=f("state")]=!0,n=function(e,t){if(h(e,a))throw v(y);return t.facade=e,p(e,a,t),t},i=function(e){return h(e,a)?e[a]:{}},s=function(e){return h(e,a)}),r.exports={set:n,get:i,has:s,enforce:b,getterFor:E}})),Y=e(((e,t)=>{var r=n(),s=y(),o=I(),a=i(),u=G().CONFIGURABLE,l=H(),c=K(),p=c.enforce,h=c.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||u&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return o(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return s(this)&&h(this).source||l(this)}),"toString")})),Z=e(((e,t)=>{var r=y(),n=z(),i=Y(),s=P();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),ee=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),te=e(((e,t)=>{var r=ee();t.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}})),re=e(((e,t)=>{var r=te(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ne=e(((e,t)=>{var r=te(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ie=e(((e,t)=>{var r=ne();t.exports=function(e){return r(e.length)}})),se=e(((e,t)=>{var r=f(),n=re(),i=ie(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),oe=e(((e,t)=>{var r=l(),n=I(),i=f(),s=se().indexOf,o=Q(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),ae=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ue=e((e=>{var t=oe(),r=ae().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),le=e((e=>{e.f=Object.getOwnPropertySymbols})),ce=e(((e,t)=>{var r=v(),n=l(),i=ue(),s=le(),o=q(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),pe=e(((e,t)=>{var r=I(),n=ce(),i=V(),s=z();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c{var r=n(),i=y(),s=/#|\.prototype\./,o=function(e,t){var n=u[a(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),de=e(((e,r)=>{var n=t(),i=V().f,s=W(),o=Z(),a=P(),u=pe(),l=he();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),o(r,c,h,e)}}})),fe=e((()=>{var e=de(),r=t();e({global:!0,forced:r.globalThis!==r},{globalThis:r})})),me=e((()=>{fe()})),ye=e(((e,t)=>{var r=Y(),n=z();t.exports=function(e,t,i){return i.get&&r(i.get,t,{getter:!0}),i.set&&r(i.set,t,{setter:!0}),n.f(e,t,i)}})),ge=e(((e,t)=>{var r=q();t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),ve=e((()=>{var e=t(),r=i(),s=ye(),o=ge(),a=n(),u=e.RegExp,l=u.prototype;r&&a((function(){var e=!0;try{u(".","d")}catch{e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(s.hasIndices="d"),s)i(o,s[o]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==n||r!==n}))&&s(l,"flags",{configurable:!0,get:o})})),De=e(((e,t)=>{var r=c();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),be=e(((e,t)=>{var r=TypeError,n=9007199254740991;t.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}})),Ee=e(((e,t)=>{var r=c(),n=l();t.exports=function(e){if("Function"===r(e))return n(e)}})),xe=e(((e,t)=>{var r=Ee(),n=S(),i=s(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),Ce=e(((e,t)=>{var r=De(),n=ie(),i=be(),s=xe(),o=function(e,t,a,u,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&s(p,h);y0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),y++;return m};t.exports=o})),we=e(((e,t)=>{var r={};r[j()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Ae=e(((e,t)=>{var r=we(),n=y(),i=c(),s=j()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch{}};t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Se=e(((e,t)=>{var r=l(),i=n(),s=y(),o=Ae(),a=v(),u=H(),c=function(){},p=[],h=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),m=!d.exec(c),g=function(e){if(!s(e))return!1;try{return h(c,p,e),!0}catch{return!1}},D=function(e){if(!s(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,u(e))}catch{return!0}};D.sham=!0,t.exports=!h||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?D:g})),Te=e(((e,t)=>{var r=De(),n=Se(),i=g(),s=j()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Fe=e(((e,t)=>{var r=Te();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),ke=e((()=>{var e=de(),t=Ce(),r=S(),n=O(),i=ie(),s=Fe();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),u=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Pe=e(((e,t)=>{me(),ve(),ke();var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,o=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},a=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l=(e,t,o,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of i(t))!s.call(e,u)&&u!==o&&r(e,u,{get:()=>t[u],enumerable:!(a=n(t,u))||a.enumerable});return e},c=e=>l(r({},"__esModule",{value:!0}),e),p=o({""(){}}),h=a({"src/utils/try-combinations.js"(e,t){function r(){let e;for(var t=arguments.length,r=new Array(t),n=0;n{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])I="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");I="LE"}}return I}function E(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function x(){return[]}function C(){return 0}function w(){return Number.MAX_VALUE}function A(){return Number.MAX_VALUE}function S(){return[]}function T(){return"Browser"}function F(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function k(){}function P(){}function N(){return"javascript"}function _(){return"browser"}function O(){return"/tmp"}u(D,{EOL:()=>j,arch:()=>N,cpus:()=>S,default:()=>L,endianness:()=>b,freemem:()=>w,getNetworkInterfaces:()=>P,hostname:()=>E,loadavg:()=>x,networkInterfaces:()=>k,platform:()=>_,release:()=>F,tmpDir:()=>O,tmpdir:()=>B,totalmem:()=>A,type:()=>T,uptime:()=>C});var I,B,j,L,M=o({"node-modules-polyfills:os"(){p(),L={EOL:j="\n",tmpdir:B=O,tmpDir:O,networkInterfaces:k,getNetworkInterfaces:P,release:F,type:T,cpus:S,totalmem:A,freemem:w,uptime:C,loadavg:x,hostname:E,endianness:b}}}),R=a({"node-modules-polyfills-commonjs:os"(e,t){p();var r=(M(),c(D));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),$=a({"node_modules/detect-newline/index.js"(e,t){p();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),V=a({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=R();return t=function(){return e},e}function r(){let e=n($());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}p(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=f,e.parse=y,e.parseWithComments=g,e.print=v,e.strip=m;var i=/\*\/$/,s=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,d=[];function f(e){let t=e.match(o);return t?t[0].trimLeft():""}function m(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function y(e){return g(e).pragmas}function g(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(h,"$1");let o="";for(;o!==e;)o=e,e=e.replace(l,`${n}$1 $2${n}`);e=e.replace(u,"").trimRight();let p,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;p=c.exec(e);){let e=p[2].replace(a,"");"string"==typeof f[p[1]]||Array.isArray(f[p[1]])?f[p[1]]=d.concat(f[p[1]],e):f[p[1]]=e}return{comments:m,pragmas:f}}function v(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o="/**",a=" *",u=" */",l=Object.keys(i),c=l.map((e=>D(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${a} ${e}${s}`)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return`${o} ${D(l[0],e)[0]}${u}`}}let p=n.split(s).map((e=>`${a} ${e}`)).join(s)+s;return o+s+(n?p:"")+(n&&l.length?a+s:"")+c+u}function D(e,t){return d.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),U=a({"src/common/end-of-line.js"(e,t){function r(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}p(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),q=a({"src/language-js/pragma.js"(e,t){p();var{parseWithComments:r,strip:n,extract:i,print:s}=V(),{normalizeEndOfLine:o}=U(),a=d();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),z=a({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}p(),t.exports=r}}),W=a({"src/language-js/loc.js"(e,t){p();var r=z();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function o(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}function a(e,t){return s(e,t)&&o(e,t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:a}}}),G=a({"src/language-js/parse/utils/create-parser.js"(e,t){p();var{hasPragma:r}=q(),{locStart:n,locEnd:i}=W();function s(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:n,locEnd:i},e)}t.exports=s}}),H=a({"src/common/parser-create-error.js"(e,t){function r(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}p(),t.exports=r}}),J=a({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){p();var r=H();function n(e){let{message:t,loc:n}=e;return r(t.replace(/ \(.*\)/,""),{start:{line:n?n.line:0,column:n?n.column+1:0}})}t.exports=n}}),X=a({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function r(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}p(),t.exports=r}}),Q=a({"src/language-js/utils/is-block-comment.js"(e,t){p();var r=new Set(["Block","CommentBlock","MultiLine"]),n=e=>r.has(null==e?void 0:e.type);t.exports=n}}),K=a({"src/language-js/utils/is-type-cast-comment.js"(e,t){p();var r=Q();function n(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=n}}),Y=a({"src/utils/get-last.js"(e,t){p();var r=e=>e[e.length-1];t.exports=r}}),Z=a({"src/language-js/parse/postprocess/visit-node.js"(e,t){function r(e,t){if(Array.isArray(e)){for(let n=0;n{e.leadingComments&&e.leadingComments.some(s)&&t.add(r(e))})),e=a(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:n}=e;if("TypeCastExpression"===n.type)return n.range=e.range,n;let i=r(e);if(!t.has(i))return n.extra=Object.assign(Object.assign({},n.extra),{},{parenthesized:!0}),n}}))}return e=a(e,(e=>{switch(e.type){case"ChainExpression":return c(e.expression);case"LogicalExpression":if(h(e))return d(e);break;case"VariableDeclaration":{let t=o(e.declarations);t&&t.init&&l(e,t);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),n(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=r(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"ObjectExpression":if("typescript"===t.parser){let t=e.properties.find((e=>"Property"===e.type&&"TSEmptyBodyFunctionExpression"===e.value.type));t&&u(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=o(e.expressions);e.range=[r(e),Math.min(n(t),n(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let s=t.originalText.slice(r(i),n(i));(s.startsWith('"')||s.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:s}))}break}case"PropertyDefinition":if("meriyah"===t.parser&&e.static&&!e.computed&&!e.key){let t="static",n=r(e);Object.assign(e,{static:!1,key:{type:"Identifier",name:t,range:[n,n+t.length]}})}}}));function l(e,i){";"!==t.originalText[n(i)]&&(e.range=[r(e),n(i)])}}function c(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=c(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=c(e.object);break;case"TSNonNullExpression":e.expression=c(e.expression)}return e}function h(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function d(e){return h(e)?d({type:"LogicalExpression",operator:e.operator,left:d({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),n(e.right.left)]}),right:e.right.right,range:[r(e),n(e)]}):e}t.exports=l}}),re=a({"node_modules/@babel/parser/lib/index.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0});var t={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function r(e){if(e&&null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");let r={};for(let n of Object.keys(t))r[n]=e&&null!=e[n]?e[n]:t[n];return r}var n=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},i={brace:new n("{"),j_oTag:new n("...",!0)};i.template=new n("`",!0);var s=!0,o=!0,a=!0,u=!0,l=!0,c=!0,h=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}},d=new Map;function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let r=C(e,t);return d.set(e,r),r}function m(e,t){return C(e,{beforeExpr:s,binop:t})}var y=-1,g=[],v=[],D=[],b=[],E=[],x=[];function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++y,v.push(e),D.push(null!=(r=t.binop)?r:-1),b.push(null!=(n=t.beforeExpr)&&n),E.push(null!=(i=t.startsExpr)&&i),x.push(null!=(s=t.prefix)&&s),g.push(new h(e,t)),y}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++y,d.set(e,y),v.push(e),D.push(null!=(r=t.binop)?r:-1),b.push(null!=(n=t.beforeExpr)&&n),E.push(null!=(i=t.startsExpr)&&i),x.push(null!=(s=t.prefix)&&s),g.push(new h("name",t)),y}var A={bracketL:C("[",{beforeExpr:s,startsExpr:o}),bracketHashL:C("#[",{beforeExpr:s,startsExpr:o}),bracketBarL:C("[|",{beforeExpr:s,startsExpr:o}),bracketR:C("]"),bracketBarR:C("|]"),braceL:C("{",{beforeExpr:s,startsExpr:o}),braceBarL:C("{|",{beforeExpr:s,startsExpr:o}),braceHashL:C("#{",{beforeExpr:s,startsExpr:o}),braceR:C("}"),braceBarR:C("|}"),parenL:C("(",{beforeExpr:s,startsExpr:o}),parenR:C(")"),comma:C(",",{beforeExpr:s}),semi:C(";",{beforeExpr:s}),colon:C(":",{beforeExpr:s}),doubleColon:C("::",{beforeExpr:s}),dot:C("."),question:C("?",{beforeExpr:s}),questionDot:C("?."),arrow:C("=>",{beforeExpr:s}),template:C("template"),ellipsis:C("...",{beforeExpr:s}),backQuote:C("`",{startsExpr:o}),dollarBraceL:C("${",{beforeExpr:s,startsExpr:o}),templateTail:C("...`",{startsExpr:o}),templateNonTail:C("...${",{beforeExpr:s,startsExpr:o}),at:C("@"),hash:C("#",{startsExpr:o}),interpreterDirective:C("#!..."),eq:C("=",{beforeExpr:s,isAssign:u}),assign:C("_=",{beforeExpr:s,isAssign:u}),slashAssign:C("_=",{beforeExpr:s,isAssign:u}),xorAssign:C("_=",{beforeExpr:s,isAssign:u}),moduloAssign:C("_=",{beforeExpr:s,isAssign:u}),incDec:C("++/--",{prefix:l,postfix:c,startsExpr:o}),bang:C("!",{beforeExpr:s,prefix:l,startsExpr:o}),tilde:C("~",{beforeExpr:s,prefix:l,startsExpr:o}),doubleCaret:C("^^",{startsExpr:o}),doubleAt:C("@@",{startsExpr:o}),pipeline:m("|>",0),nullishCoalescing:m("??",1),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),lt:m("/<=/>=",7),gt:m("/<=/>=",7),relational:m("/<=/>=",7),bitShift:m("<>/>>>",8),bitShiftL:m("<>/>>>",8),bitShiftR:m("<>/>>>",8),plusMin:C("+/-",{beforeExpr:s,binop:9,prefix:l,startsExpr:o}),modulo:C("%",{binop:10,startsExpr:o}),star:C("*",{binop:10}),slash:m("/",10),exponent:C("**",{beforeExpr:s,binop:11,rightAssociative:!0}),_in:f("in",{beforeExpr:s,binop:7}),_instanceof:f("instanceof",{beforeExpr:s,binop:7}),_break:f("break"),_case:f("case",{beforeExpr:s}),_catch:f("catch"),_continue:f("continue"),_debugger:f("debugger"),_default:f("default",{beforeExpr:s}),_else:f("else",{beforeExpr:s}),_finally:f("finally"),_function:f("function",{startsExpr:o}),_if:f("if"),_return:f("return",{beforeExpr:s}),_switch:f("switch"),_throw:f("throw",{beforeExpr:s,prefix:l,startsExpr:o}),_try:f("try"),_var:f("var"),_const:f("const"),_with:f("with"),_new:f("new",{beforeExpr:s,startsExpr:o}),_this:f("this",{startsExpr:o}),_super:f("super",{startsExpr:o}),_class:f("class",{startsExpr:o}),_extends:f("extends",{beforeExpr:s}),_export:f("export"),_import:f("import",{startsExpr:o}),_null:f("null",{startsExpr:o}),_true:f("true",{startsExpr:o}),_false:f("false",{startsExpr:o}),_typeof:f("typeof",{beforeExpr:s,prefix:l,startsExpr:o}),_void:f("void",{beforeExpr:s,prefix:l,startsExpr:o}),_delete:f("delete",{beforeExpr:s,prefix:l,startsExpr:o}),_do:f("do",{isLoop:a,beforeExpr:s}),_for:f("for",{isLoop:a}),_while:f("while",{isLoop:a}),_as:w("as",{startsExpr:o}),_assert:w("assert",{startsExpr:o}),_async:w("async",{startsExpr:o}),_await:w("await",{startsExpr:o}),_from:w("from",{startsExpr:o}),_get:w("get",{startsExpr:o}),_let:w("let",{startsExpr:o}),_meta:w("meta",{startsExpr:o}),_of:w("of",{startsExpr:o}),_sent:w("sent",{startsExpr:o}),_set:w("set",{startsExpr:o}),_static:w("static",{startsExpr:o}),_using:w("using",{startsExpr:o}),_yield:w("yield",{startsExpr:o}),_asserts:w("asserts",{startsExpr:o}),_checks:w("checks",{startsExpr:o}),_exports:w("exports",{startsExpr:o}),_global:w("global",{startsExpr:o}),_implements:w("implements",{startsExpr:o}),_intrinsic:w("intrinsic",{startsExpr:o}),_infer:w("infer",{startsExpr:o}),_is:w("is",{startsExpr:o}),_mixins:w("mixins",{startsExpr:o}),_proto:w("proto",{startsExpr:o}),_require:w("require",{startsExpr:o}),_satisfies:w("satisfies",{startsExpr:o}),_keyof:w("keyof",{startsExpr:o}),_readonly:w("readonly",{startsExpr:o}),_unique:w("unique",{startsExpr:o}),_abstract:w("abstract",{startsExpr:o}),_declare:w("declare",{startsExpr:o}),_enum:w("enum",{startsExpr:o}),_module:w("module",{startsExpr:o}),_namespace:w("namespace",{startsExpr:o}),_interface:w("interface",{startsExpr:o}),_type:w("type",{startsExpr:o}),_opaque:w("opaque",{startsExpr:o}),name:C("name",{startsExpr:o}),string:C("string",{startsExpr:o}),num:C("num",{startsExpr:o}),bigint:C("bigint",{startsExpr:o}),decimal:C("decimal",{startsExpr:o}),regexp:C("regexp",{startsExpr:o}),privateName:C("#name",{startsExpr:o}),eof:C("eof"),jsxName:C("jsxName"),jsxText:C("jsxText",{beforeExpr:!0}),jsxTagStart:C("jsxTagStart",{startsExpr:!0}),jsxTagEnd:C("jsxTagEnd"),placeholder:C("%%",{startsExpr:!0})};function S(e){return e>=93&&e<=130}function T(e){return e<=92}function F(e){return e>=58&&e<=130}function k(e){return e>=58&&e<=134}function P(e){return b[e]}function N(e){return E[e]}function _(e){return e>=29&&e<=33}function O(e){return e>=127&&e<=129}function I(e){return e>=90&&e<=92}function B(e){return e>=58&&e<=92}function j(e){return e>=39&&e<=59}function L(e){return 34===e}function M(e){return x[e]}function R(e){return e>=119&&e<=121}function $(e){return e>=122&&e<=128}function V(e){return v[e]}function U(e){return D[e]}function q(e){return 57===e}function z(e){return e>=24&&e<=25}function W(e){return g[e]}function G(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0)&&(i[r]=e[r]);return i}g[8].updateContext=e=>{e.pop()},g[5].updateContext=g[7].updateContext=g[23].updateContext=e=>{e.push(i.brace)},g[22].updateContext=e=>{e[e.length-1]===i.template?e.pop():e.push(i.template)},g[140].updateContext=e=>{e.push(i.j_expr,i.j_oTag)};var H=class{constructor(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}},J=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function X(e,t){let{line:r,column:n,index:i}=e;return new H(r,n+t,i+t)}var Q={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,i)=>i===t?e[n]=r:e[n]),this)}}},Y=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((e=>{let[,t]=e;return!!t})).map((e=>{let[t,r]=e;return[t,"function"==typeof r?{value:r,enumerable:!1}:"string"==typeof r.reflect?Object.assign({},r,K(r.reflect.split("."))):r]})).reduce(((e,t)=>{let[r,n]=t;return Object.defineProperty(e,r,Object.assign({configurable:!0},n))}),Object.assign(new e,t)),Z={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:Q.SourceTypeModuleError},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:Q.SourceTypeModuleError}},ee={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},te=e=>{let{type:t,prefix:r}=e;return"UpdateExpression"===t?ee.UpdateExpression[String(r)]:ee[t]},re={AccessorIsGenerator:e=>{let{kind:t}=e;return`A ${t}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:e=>{let{kind:t}=e;return`Missing initializer in ${t} declaration.`},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:e=>{let{exportName:t}=e;return`\`${t}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:e=>{let{localName:t,exportName:r}=e;return`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${t}' as '${r}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:e=>{let{type:t}=e;return`'${"ForInStatement"===t?"for-in":"for-of"}' loop variable declaration may not have an initializer.`},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:e=>{let{type:t}=e;return`Unsyntactic ${"BreakStatement"===t?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:e=>{let{importName:t}=e;return`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${t}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:e=>{let{maxArgumentCount:t}=e;return`\`import()\` requires exactly ${1===t?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:e=>{let{radix:t}=e;return`Expected number in radix ${t}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:e=>{let{reservedWord:t}=e;return`Escape sequence in keyword ${t}.`},InvalidIdentifier:e=>{let{identifierName:t}=e;return`Invalid identifier ${t}.`},InvalidLhs:e=>{let{ancestor:t}=e;return`Invalid left-hand side in ${te(t)}.`},InvalidLhsBinding:e=>{let{ancestor:t}=e;return`Binding invalid left-hand side in ${te(t)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:e=>{let{unexpected:t}=e;return`Unexpected character '${t}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:e=>{let{identifierName:t}=e;return`Private name #${t} is not defined.`},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:e=>{let{labelName:t}=e;return`Label '${t}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling the parser plugin: ${t.map((e=>JSON.stringify(e))).join(", ")}.`},MissingOneOfPlugins:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map((e=>JSON.stringify(e))).join(", ")}.`},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:e=>{let{key:t}=e;return`Duplicate key "${t}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:e=>{let{surrogateCharCode:t}=e;return`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`},ModuleExportUndefined:e=>{let{localName:t}=e;return`Export '${t}' is not defined.`},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:e=>{let{identifierName:t}=e;return`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`},PrivateNameRedeclaration:e=>{let{identifierName:t}=e;return`Duplicate private name #${t}.`},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:e=>{let{keyword:t}=e;return`Unexpected keyword '${t}'.`},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:e=>{let{reservedWord:t}=e;return`Unexpected reserved word '${t}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:e=>{let{expected:t,unexpected:r}=e;return`Unexpected token${r?` '${r}'.`:""}${t?`, expected "${t}"`:""}`},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:e=>{let{target:t,onlyValidPropertyName:r}=e;return`The only valid meta property for ${t} is ${t}.${r}.`},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:e=>{let{identifierName:t}=e;return`Identifier '${t}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},ne={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:e=>{let{referenceName:t}=e;return`Assigning to '${t}' in strict mode.`},StrictEvalArgumentsBinding:e=>{let{bindingName:t}=e;return`Binding '${t}' in strict mode.`},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},ie=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),se={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:e=>{let{token:t}=e;return`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:e=>{let{type:t}=e;return`Hack-style pipe body cannot be an unparenthesized ${te({type:t})}; please wrap it in parentheses.`},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},oe=["toMessage"],ae=["message"];function ue(e){let{toMessage:t}=e,r=G(e,oe);return function e(n){let{loc:i,details:s}=n;return Y(SyntaxError,Object.assign({},r,{loc:i}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.loc||{};return e({loc:new H("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:s,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in s&&{reflect:"details.missingPlugin",enumerable:!0}})}}function le(e,t){if(Array.isArray(e))return t=>le(t,e[0]);let r={};for(let n of Object.keys(e)){let i=e[n],s="string"==typeof i?{message:()=>i}:"function"==typeof i?{message:i}:i,{message:o}=s,a=G(s,ae),u="string"==typeof o?()=>o:o;r[n]=ue(Object.assign({code:Q.SyntaxError,reasonCode:n,toMessage:u},t?{syntaxPlugin:t}:{},a))}return r}var ce=Object.assign({},le(Z),le(re),le(ne),le`pipelineOperator`(se)),{defineProperty:pe}=Object,he=(e,t)=>pe(e,t,{enumerable:!1,value:e[t]});function de(e){return e.loc.start&&he(e.loc.start,"index"),e.loc.end&&he(e.loc.end,"index"),e}var fe=e=>class extends e{parse(){let e=de(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(de)),e}parseRegExpLiteral(e){let{pattern:t,flags:r}=e,n=null;try{n=new RegExp(t,r)}catch{}let i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;let r=e;return r.type="ExpressionStatement",r.expression=t,r.directive=t.extra.rawValue,delete t.extra,r}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,r,n,i){super.parseBlockBody(e,t,r,n,i);let s=e.directives.map((e=>this.directiveToStmt(e)));e.body=s.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,s){this.parseMethod(t,r,n,i,s,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,n,i,s){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,r,n,i,s,o),a.type="FunctionExpression",delete a.kind,e.value=a,"ClassPrivateMethod"===s&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(){let e=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition"),e}parseClassPrivateProperty(){let e=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition",e.computed=!1),e}parseObjectMethod(e,t,r,n,i){let s=super.parseObjectMethod(e,t,r,n,i);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s}parseObjectProperty(e,t,r,n){let i=super.parseObjectProperty(e,t,r,n);return i&&(i.kind="init",i.type="Property"),i}isValidLVal(e,t,r){return"Property"===e?"value":super.isValidLVal(e,t,r)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,r){"get"===e.kind||"set"===e.kind?this.raise(ce.PatternHasAccessor,{at:e.key}):e.method?this.raise(ce.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,r)}finishCallExpression(e,t){let r=super.finishCallExpression(e,t);var n;"Import"===r.callee.type&&(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAssertions")&&(r.attributes=null!=(n=r.arguments[1])?n:null),delete r.arguments,delete r.callee);return r}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){let r=this.state.lastTokStartLoc,n=super.parseExport(e,t);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":1===n.specifiers.length&&"ExportNamespaceSpecifier"===n.specifiers[0].type&&(n.type="ExportAllDeclaration",n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var i;let{declaration:e}=n;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(i=e.decorators)?void 0:i.length)>0&&e.start===n.start&&this.resetStartLocation(n,r)}}return n}parseSubscript(e,t,r,n){let i=super.parseSubscript(e,t,r,n);if(n.optionalChainMember){if(("OptionalMemberExpression"===i.type||"OptionalCallExpression"===i.type)&&(i.type=i.type.substring(8)),n.stop){let e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===i.type||"CallExpression"===i.type)&&(i.optional=!1);return i}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,r){return de(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t),de(e)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),de(e)}},me="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",ye="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f",ge=new RegExp("["+me+"]"),ve=new RegExp("["+me+ye+"]");me=ye=null;var De=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,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,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,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,757,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,3104,541,1507,4938,6,4191],be=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Ee(e,t){let r=65536;for(let n=0,i=t.length;ne)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function xe(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ge.test(String.fromCharCode(e)):Ee(e,De)))}function Ce(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ve.test(String.fromCharCode(e)):Ee(e,De)||Ee(e,be))))}var we={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ae=new Set(we.keyword),Se=new Set(we.strict),Te=new Set(we.strictBind);function Fe(e,t){return t&&"await"===e||"enum"===e}function ke(e,t){return Fe(e,t)||Se.has(e)}function Pe(e){return Te.has(e)}function Ne(e,t){return ke(e,t)||Pe(e)}function _e(e){return Ae.has(e)}function Oe(e,t,r){return 64===e&&64===t&&xe(r)}var Ie=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Be(e){return Ie.has(e)}var je=0,Le=1,Me=2,Re=4,$e=8,Ve=16,Ue=32,qe=64,ze=128,We=256,Ge=Le|Me|ze|We,He=1,Je=2,Xe=4,Qe=8,Ke=16,Ye=64,Ze=128,et=256,tt=512,rt=1024,nt=2048,it=4096,st=8192,ot=He|Je|Qe|Ze|st,at=0|He|Qe|st,ut=0|He|Qe|0,lt=0|He|Xe|0,ct=0|He|Ke|0,pt=0|Je|Ze,ht=0|Je,dt=He|Je|Qe|et|st,ft=0|rt,mt=0|Ye,yt=0|He|Ye,gt=dt|tt,vt=0|rt,Dt=0|Je|it,bt=nt,Et=4,xt=2,Ct=1,wt=xt|Ct,At=xt|Et,St=Ct|Et,Tt=xt,Ft=Ct,kt=0,Pt=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},Nt=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&Le)>0}get inFunction(){return(this.currentVarScopeFlags()&Me)>0}get allowSuper(){return(this.currentThisScopeFlags()&Ve)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&Ue)>0}get inClass(){return(this.currentThisScopeFlags()&qe)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&qe)>0&&0===(e&Me)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&ze)return!0;if(t&(Ge|qe))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Me)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Pt(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&(Me|ze)||!this.parser.inModule&&e.flags&Le)}declareName(e,t,r){let n=this.currentScope();if(t&Qe||t&Ke)this.checkRedeclarationInScope(n,e,t,r),t&Ke?n.functions.add(e):n.lexical.add(e),t&Qe&&this.maybeExportDefined(n,e);else if(t&Xe)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.add(e),this.maybeExportDefined(n,e),!(n.flags&Ge));--i);this.parser.inModule&&n.flags&Le&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&Le&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(ce.VarRedeclaration,{at:n,identifierName:t})}isRedeclaredInScope(e,t,r){return!!(r&He)&&(r&Qe?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):r&Ke?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&$e&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,r=this.scopeStack[0];!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)&&this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Ge)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&(Ge|qe)&&!(t&Re))return t}}},_t=class extends Pt{constructor(){super(...arguments),this.declareFunctions=new Set}},Ot=class extends Nt{createScope(e){return new _t(e)}declareName(e,t,r){let n=this.currentScope();if(t&nt)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.add(e);super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(e,t,r)||!!(r&nt)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},It=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,r]=e;if(!this.hasPlugin(t))return!1;let n=this.plugins.get(t);for(let e of Object.keys(r))if((null==n?void 0:n[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}};function Bt(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function jt(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}function Lt(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Mt(e,t,r){let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?Lt(e,r.comments):Bt(n,r.comments)}var Rt=class extends It{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,r=t.length;if(0===r)return;let n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);let{start:s}=e;for(;n>=0;n--){let r=t[n],i=r.end;if(!(i>s)){i===s&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(n,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Bt(e.leadingNode,t),null!==e.trailingNode&&jt(e.trailingNode,t);else{let{containingNode:r,start:n}=e;if(44===this.input.charCodeAt(n-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Mt(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Mt(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Mt(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Mt(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Mt(r,r.specifiers,e);break;default:Lt(r,t)}else Lt(r,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:r}=t;if(0===r)return;let n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:n}=this.state,i=n.length;if(0===i)return;let s=i-1;for(;s>=0;s--){let i=n[s],o=i.end;if(i.start===r)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o=48&&e<=57},Jt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Xt={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function Qt(e,t,r,n,i,s){let o=r,a=n,u=i,l="",c=null,p=r,{length:h}=t;for(;;){if(r>=h){s.unterminated(o,a,u),l+=t.slice(p,r);break}let d=t.charCodeAt(r);if(Kt(e,d,t,r)){l+=t.slice(p,r);break}if(92===d){l+=t.slice(p,r);let o=Yt(t,r,n,i,"template"===e,s);null!==o.ch||c?l+=o.ch:c={pos:r,lineStart:n,curLine:i},({pos:r,lineStart:n,curLine:i}=o),p=r}else 8232===d||8233===d?(++i,n=++r):10===d||13===d?"template"===e?(l+=t.slice(p,r)+"\n",++r,13===d&&10===t.charCodeAt(r)&&++r,++i,p=n=r):s.unterminated(o,a,u):++r}return{pos:r,str:l,firstInvalidLoc:c,lineStart:n,curLine:i,containsInvalid:!!c}}function Kt(e,t,r,n){return"template"===e?96===t||36===t&&123===r.charCodeAt(n+1):t===("double"===e?34:39)}function Yt(e,t,r,n,i,s){let o=!i;t++;let a=e=>({pos:t,ch:e,lineStart:r,curLine:n}),u=e.charCodeAt(t++);switch(u){case 110:return a("\n");case 114:return a("\r");case 120:{let i;return({code:i,pos:t}=Zt(e,t,r,n,2,!1,o,s)),a(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=tr(e,t,r,n,o,s)),a(null===i?null:String.fromCodePoint(i))}case 116:return a("\t");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++n;case 8232:case 8233:return a("");case 56:case 57:if(i)return a(null);s.strictNumericEscape(t-1,r,n);default:if(u>=48&&u<=55){let o=t-1,u=e.slice(o,t+2).match(/^[0-7]+/)[0],l=parseInt(u,8);l>255&&(u=u.slice(0,-1),l=parseInt(u,8)),t+=u.length-1;let c=e.charCodeAt(t);if("0"!==u||56===c||57===c){if(i)return a(null);s.strictNumericEscape(o,r,n)}return a(String.fromCharCode(l))}return a(String.fromCharCode(u))}}function Zt(e,t,r,n,i,s,o,a){let u,l=t;return({n:u,pos:t}=er(e,t,r,n,16,i,s,!1,a,!o)),null===u&&(o?a.invalidEscapeSequence(l,r,n):t=l-1),{code:u,pos:t}}function er(e,t,r,n,i,s,o,a,u,l){let c=t,p=16===i?Jt.hex:Jt.decBinOct,h=16===i?Xt.hex:10===i?Xt.dec:8===i?Xt.oct:Xt.bin,d=!1,f=0;for(let m=0,y=null==s?1/0:s;m=97?c-97+10:c>=65?c-65+10:Ht(c)?c-48:1/0,s>=i){if(s<=9&&l)return{n:null,pos:t};if(s<=9&&u.invalidDigit(t,r,n,i))s=0;else{if(!o)break;s=0,d=!0}}++t,f=f*i+s}else{let i=e.charCodeAt(t-1),s=e.charCodeAt(t+1);if(a){if(Number.isNaN(s)||!h(s)||p.has(i)||p.has(s)){if(l)return{n:null,pos:t};u.unexpectedNumericSeparator(t,r,n)}}else{if(l)return{n:null,pos:t};u.numericSeparatorInEscapeSequence(t,r,n)}++t}}return t===c||null!=s&&t-c!==s||d?{n:null,pos:t}:{n:f,pos:t}}function tr(e,t,r,n,i,s){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=Zt(e,t,r,n,e.indexOf("}",t)-t,!0,i,s)),++t,null!==o&&o>1114111){if(!i)return{code:null,pos:t};s.invalidCodePoint(t,r,n)}}else({code:o,pos:t}=Zt(e,t,r,n,4,!1,i,s));return{code:o,pos:t}}var rr=["at"],nr=["at"];function ir(e,t,r){return new H(r,e-t,e)}var sr=new Set([103,109,115,105,121,117,100,118]),or=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new J(e.startLoc,e.endLoc)}},ar=class extends Rt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,r,n)=>!!this.options.errorRecovery&&(this.raise(ce.InvalidDigit,{at:ir(e,t,r),radix:n}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(ce.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(ce.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(ce.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(ce.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(ce.StrictNumericEscape,{at:ir(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(ce.UnterminatedString,{at:ir(e-1,t,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(ce.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(ce.UnterminatedTemplate,{at:ir(e,t,r)})}}),this.state=new Gt,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new or(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return qt.lastIndex=e,qt.test(this.input)?qt.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296===(64512&t)&&++e{let[t,r]=e;return this.raise(t,{at:r})})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(137):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let r=this.state.pos,n=this.input.indexOf(e,r+2);if(-1===n)throw this.raise(ce.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=n+e.length,Vt.lastIndex=r+2;Vt.test(this.input)&&Vt.lastIndex<=n;)++this.state.curLine,this.state.lineStart=Vt.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(r+2,n),start:r,end:n+e.length,loc:new J(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipLineComment(e){let t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose))break e;{let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}else{if(60!==r||this.inModule||!this.options.annexB)break e;{let e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{let e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}}if(t.length>0){let r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(ce.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?ce.RecordExpressionHashIncorrectStartSyntaxType:ce.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else xe(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!Ut(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(ce.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(ce.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(xe(e))return void this.readWord(e)}throw this.raise(ce.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){let e,t,r=this.state.startLoc,n=this.state.start+1,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(ce.UnterminatedRegExp,{at:X(r,1)});let n=this.input.charCodeAt(i);if(Ut(n))throw this.raise(ce.UnterminatedRegExp,{at:X(r,1)});if(e)e=!1;else{if(91===n)t=!0;else if(93===n&&t)t=!1;else if(47===n&&!t)break;e=92===n}}let s=this.input.slice(n,i);++i;let o="",a=()=>X(r,i+2-n);for(;i2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{n:i,pos:s}=er(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,n,this.errorHandlers_readInt,!1);return this.state.pos=s,i}readRadixNumber(e){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(e);null==n&&this.raise(ce.InvalidDigit,{at:X(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(ce.InvalidDecimal,{at:t});if(xe(this.codePointAtPos(this.state.pos)))throw this.raise(ce.NumberIdentifier,{at:this.state.curPosition()});if(r){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e)}else this.finishToken(132,n)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,s=!1,o=!1,a=!1;!e&&null===this.readInt(10)&&this.raise(ce.InvalidNumber,{at:this.state.curPosition()});let u=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(u){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(ce.StrictOctalLiteral,{at:r}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(ce.ZeroDigitNumericSeparator,{at:X(r,t)})}a=u&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46===l&&!a&&(++this.state.pos,this.readInt(10),n=!0,l=this.input.charCodeAt(this.state.pos)),(69===l||101===l)&&!a&&(l=this.input.charCodeAt(++this.state.pos),(43===l||45===l)&&++this.state.pos,null===this.readInt(10)&&this.raise(ce.InvalidOrMissingExponent,{at:r}),n=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((n||u)&&this.raise(ce.InvalidBigIntLiteral,{at:r}),++this.state.pos,i=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(ce.InvalidDecimal,{at:r}),++this.state.pos,s=!0),xe(this.codePointAtPos(this.state.pos)))throw this.raise(ce.NumberIdentifier,{at:this.state.curPosition()});let c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(133,c);if(s)return void this.finishToken(134,c);let p=a?parseInt(c,8):parseFloat(c);this.finishToken(132,p)}readCodePoint(e){let{code:t,pos:r}=tr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=r,t}readString(e){let{str:t,pos:r,curLine:n,lineStart:i}=Qt(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1,this.state.lineStart=i,this.state.curLine=n,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:t,firstInvalidLoc:r,pos:n,curLine:i,lineStart:s}=Qt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=n+1,this.state.lineStart=s,this.state.curLine=i,r&&(this.state.firstInvalidTemplateEscapePos=new H(r.curLine,r.pos-r.lineStart,r.pos)),96===this.input.codePointAt(n)?this.finishToken(24,r?null:e+t+"`"):(this.state.pos++,this.finishToken(25,r?null:e+t+"${"))}recordStrictModeErrors(e,t){let{at:r}=t,n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,{at:r}):this.state.strictErrors.set(n,[e,r])}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;a--){let t=o[a];if(t.loc.index===s)return o[a]=e({loc:i,details:n});if(t.loc.indexthis.hasPlugin(e))))throw this.raise(ce.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,r,n)=>{this.raise(e,{at:ir(t,r,n)})}}},ur=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},lr=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ur)}exit(){let e=this.stack.pop(),t=this.current();for(let[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.parser.raise(ce.InvalidPrivateFieldResolution,{at:n,identifierName:r})}declarePrivateName(e,t,r){let{privateNames:n,loneAccessors:i,undefinedPrivateNames:s}=this.current(),o=n.has(e);if(t&wt){let r=o&&i.get(e);if(r){let n=r&Et,s=t&Et;o=(r&wt)===(t&wt)||n!==s,o||i.delete(e)}else o||i.set(e,t)}o&&this.parser.raise(ce.PrivateNameRedeclaration,{at:r,identifierName:e}),n.add(e),s.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.parser.raise(ce.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},cr=0,pr=1,hr=2,dr=3,fr=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cr;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===hr||this.type===pr}isCertainlyParameterDeclaration(){return this.type===dr}},mr=class extends fr{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:r}=t,n=r.index;this.declarationErrors.set(n,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},yr=class{constructor(e){this.parser=void 0,this.stack=[new fr],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:r}=t,n={at:r.loc.start},{stack:i}=this,s=i.length-1,o=i[s];for(;!o.isCertainlyParameterDeclaration();){if(!o.canBeArrowParameterDeclaration())return;o.recordDeclarationError(e,n),o=i[--s]}this.parser.raise(e,n)}recordArrowParameterBindingError(e,t){let{at:r}=t,{stack:n}=this,i=n[n.length-1],s={at:r.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,s);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,s)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:r}=this,n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)i.type===hr&&i.recordDeclarationError(ce.AwaitBindingIdentifier,{at:t}),i=r[--n]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((t=>{let[r,n]=t;this.parser.raise(r,{at:n});let i=e.length-2,s=e[i];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(n.index),s=e[--i]}))}};function gr(){return new fr(dr)}function vr(){return new mr(pr)}function Dr(){return new mr(hr)}function br(){return new fr}var Er=0,xr=1,Cr=2,wr=4,Ar=8,Sr=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Cr)>0}get hasYield(){return(this.currentFlags()&xr)>0}get hasReturn(){return(this.currentFlags()&wr)>0}get hasIn(){return(this.currentFlags()&Ar)>0}};function Tr(e,t){return(e?Cr:0)|(t?xr:0)}var Fr=class extends ar{addExtra(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!e)return;let i=e.extra=e.extra||{};n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let r=e+t.length;if(this.input.slice(e,r)===t){let e=this.input.charCodeAt(r);return!(Ce(e)||55296===(64512&e))}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return $t.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return zt.lastIndex=this.state.end,zt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(ce.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),r={node:null};try{let n=e((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw r.node=e,r}));if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(n){let e=this.state;if(this.state=t,n instanceof SyntaxError)return{node:null,error:n,thrown:!0,aborted:!1,failState:e};if(n===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:e};throw n}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:i,optionalParametersLoc:s}=e;if(!t)return!!r||!!n||!!s||!!i;null!=r&&this.raise(ce.InvalidCoverInitializedName,{at:r}),null!=n&&this.raise(ce.DuplicateProto,{at:n}),null!=i&&this.raise(ce.UnexpectedPrivateField,{at:i}),null!=s&&this.unexpected(s)}isLiteralPropertyName(){return k(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let n=this.inModule;this.inModule=e;let i=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let o=this.prodParam;this.prodParam=new Sr;let a=this.classScope;this.classScope=new lr(this);let u=this.expressionScope;return this.expressionScope=new yr(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=o,this.classScope=a,this.expressionScope=u}}enterInitialScopes(){let e=Er;this.inModule&&(e|=Cr),this.scope.enter(Le),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}},kr=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Pr=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new J(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},Nr=Pr.prototype;function _r(e){return Or(e)}function Or(e){let{type:t,start:r,end:n,loc:i,range:s,extra:o,name:a}=e,u=Object.create(Nr);return u.type=t,u.start=r,u.end=n,u.loc=i,u.range=s,u.extra=o,u.name=a,"Placeholder"===t&&(u.expectedNode=e.expectedNode),u}function Ir(e){let{type:t,start:r,end:n,loc:i,range:s,extra:o}=e;if("Placeholder"===t)return _r(e);let a=Object.create(Nr);return a.type=t,a.start=r,a.end=n,a.loc=i,a.range=s,void 0!==e.raw?a.raw=e.raw:a.extra=o,a.value=e.value,a}Nr.__clone=function(){let e=new Pr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,n=t.length;r1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}},jr=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Lr=le`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:e=>{let{reservedType:t}=e;return`Cannot overwrite reserved type ${t}.`},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:e=>{let{memberName:t,enumName:r}=e;return`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${r}\`.`},EnumDuplicateMemberName:e=>{let{memberName:t,enumName:r}=e;return`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${r}\`.`},EnumInconsistentMemberValues:e=>{let{enumName:t}=e;return`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:e=>{let{invalidEnumType:t,enumName:r}=e;return`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${r}\`.`},EnumInvalidExplicitTypeUnknownSupplied:e=>{let{enumName:t}=e;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`},EnumInvalidMemberInitializerPrimaryType:e=>{let{enumName:t,memberName:r,explicitType:n}=e;return`Enum \`${t}\` has type \`${n}\`, so the initializer of \`${r}\` needs to be a ${n} literal.`},EnumInvalidMemberInitializerSymbolType:e=>{let{enumName:t,memberName:r}=e;return`Symbol enum members cannot be initialized. Use \`${r},\` in enum \`${t}\`.`},EnumInvalidMemberInitializerUnknownType:e=>{let{enumName:t,memberName:r}=e;return`The enum member initializer for \`${r}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`},EnumInvalidMemberName:e=>{let{enumName:t,memberName:r,suggestion:n}=e;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${r}\`, consider using \`${n}\`, in enum \`${t}\`.`},EnumNumberMemberNotInitialized:e=>{let{enumName:t,memberName:r}=e;return`Number enum members need to be initialized, e.g. \`${r} = 1\` in enum \`${t}\`.`},EnumStringMemberInconsistentlyInitailized:e=>{let{enumName:t}=e;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:e=>{let{reservedType:t}=e;return`Unexpected reserved type ${t}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:e=>{let{unsupportedExportKind:t,suggestion:r}=e;return`\`declare export ${t}\` is not supported. Use \`${r}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Mr(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function Rr(e){return"type"===e.importKind||"typeof"===e.importKind}function $r(e){return F(e)&&97!==e}var Vr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Ur(e,t){let r=[],n=[];for(let i=0;iclass extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return Ot}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){131!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=qr.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>t.index+1&&this.raise(Lr.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,bt,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Lr.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e)):this.isContextual(128)?this.flowParseDeclareTypeAlias(e):this.isContextual(129)?this.flowParseDeclareOpaqueType(e):this.isContextual(127)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,lt,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(je),this.match(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(Lr.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,Lr.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let n=null,i=!1;return r.forEach((e=>{Mr(e)?("CommonJS"===n&&this.raise(Lr.AmbiguousDeclareModuleKind,{at:e}),n="ES"):"DeclareModuleExports"===e.type&&(i&&this.raise(Lr.DuplicateDeclareModuleExports,{at:e}),"ES"===n&&this.raise(Lr.AmbiguousDeclareModuleKind,{at:e}),n="CommonJS",i=!0)})),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){let e=this.state.value;throw this.raise(Lr.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Vr[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();let t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?ct:at,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(this.eatContextual(115))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(111))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Lr.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){jr.has(e)&&this.raise(r?Lr.AssignReservedType:Lr.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,at,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,at,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Lr.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let r=!1;do{let e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){let r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType(e){let{allowStatic:t,allowExact:r,allowSpread:n,allowProto:i,allowInexact:s}=e,o=this.state.inType;this.state.inType=!0;let a=this.startNode();a.callProperties=[],a.properties=[],a.indexers=[],a.internalSlots=[];let u,l,c=!1;for(r&&this.match(6)?(this.expect(6),u=9,l=!0):(this.expect(5),u=8,l=!1),a.exact=l;!this.match(u);){let e=!1,r=null,o=null,u=this.startNode();if(i&&this.isContextual(116)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),r=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}let p=this.flowParseVariance();if(this.eat(0))null!=r&&this.unexpected(r),this.eat(0)?(p&&this.unexpected(p.loc.start),a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,e))):a.indexers.push(this.flowParseObjectTypeIndexer(u,e,p));else if(this.match(10)||this.match(47))null!=r&&this.unexpected(r),p&&this.unexpected(p.loc.start),a.callProperties.push(this.flowParseObjectTypeCallProperty(u,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&k(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(u,e,r,p,t,n,null!=s?s:!l);null===i?(c=!0,o=this.state.lastTokStartLoc):a.properties.push(i)}this.flowObjectTypeSemicolon(),o&&!this.match(8)&&!this.match(9)&&this.raise(Lr.UnexpectedExplicitInexactInObject,{at:o})}this.expect(u),n&&(a.inexact=c);let p=this.finishNode(a,"ObjectTypeAnnotation");return this.state.inType=o,p}flowParseObjectTypeProperty(e,t,r,n,i,s,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?o||this.raise(Lr.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Lr.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),n&&this.raise(Lr.InexactVariance,{at:n}),null):(s||this.raise(Lr.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),n&&this.raise(Lr.SpreadVariance,{at:n}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(Lr.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Lr.GetterMayNotHaveThisParam:Lr.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?ce.BadGetterArity:ce.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(ce.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let r=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let t=this.startNodeAt(e);t.qualification=r,t.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(t,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t){let r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],t=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){let e,t,r=this.state.startLoc,n=this.startNode(),i=!1,s=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,t=this.flowParseTupleType(),this.state.noAnonFunctionType=s,t;case 47:return n.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),n.params=e.params,n.rest=e.rest,n.this=e._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),this.finishNode(n,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(S(this.state.type)||this.match(78)){let e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=s,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),n.params=e.params,n.rest=e.rest,n.this=e._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return n.value=this.match(85),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(Lr.UnexpectedSubtractionOperand,{at:this.state.startLoc})}return void this.unexpected();case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(n,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(n,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(n,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(B(this.state.type)){let e=V(this.state.type);return this.next(),super.createIdentifier(n,e)}if(S(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,t=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let n=this.startNodeAt(e),i=this.eat(18);r=r||i,this.expect(0),!i&&this.match(3)?(n.elementType=t,this.next(),t=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=t,n.indexType=this.flowParseType(),this.expect(3),r?(n.optional=i,t=this.finishNode(n,"OptionalIndexedAccessType")):t=this.finishNode(n,"IndexedAccessType"))}return t}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(130===this.state.type&&"_"===this.state.value){let e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){if(F(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let t=super.parseStatementLike(e);return void 0===this.flowPragma&&!this.isValidDirective(t)&&(this.flowPragma=null),t}parseExpressionStatement(e,t,r){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||S(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(S(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){let{type:e}=this.state;return O(e)||this.shouldParseEnums()&&124===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return O(e)||this.shouldParseEnums()&&124===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(r),e}this.expect(17);let n=this.state.clone(),i=this.state.noArrowAt,s=this.startNodeAt(t),{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[u,l]=this.getArrowLikeExpressions(o);if(a||l.length>0){let e=[...i];if(l.length>0){this.state=n,this.state.noArrowAt=e;for(let t=0;t1&&this.raise(Lr.AmbiguousConditionalArrow,{at:n.startLoc}),a&&1===u.length&&(this.state=n,e.push(u[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=i,this.expect(14),s.test=e,s.consequent=o,s.alternate=this.forwardNoArrowParamsConversionAt(s,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(s,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let r=[e],n=[];for(;0!==r.length;){let e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach((e=>this.finishArrowValidation(e))),[n,[]]):Ur(n,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(Me|Re),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e,t){let r=super.parseExport(e,t);return("ExportNamedDeclaration"===r.type||"ExportAllDeclaration"===r.type)&&(r.exportKind=r.exportKind||"value"),r}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(129)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(128)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){let{startLoc:n}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Lr.DeclareClassElement,{at:n}):t.value&&this.raise(Lr.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(ce.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(130,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):Oe(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!t&&"AssignmentExpression"===e.type&&"TypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,r){for(let n=0;n1||!t)&&this.raise(Lr.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e,t,r){return"TypeCastExpression"===e||super.isValidLVal(e,t,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,n,i,s),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Lr.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Lr.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(Lr.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Lr.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,i,s,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!s&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let u=super.parseObjPropValue(e,t,r,n,i,s,o);return a&&((u.value||u).typeParameters=a),u}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Lr.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Lr.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Lr.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Lr.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t)),s),!n.error)return n.node;let{context:r}=this.state,o=r[r.length-1];(o===i.j_oTag||o===i.j_expr)&&r.pop()}if(null!=(r=n)&&r.error||this.match(47)){var o,a;s=s||this.state.clone();let r,i=this.tryParse((n=>{var i;r=this.flowParseTypeParameterDeclaration();let s=this.forwardNoArrowParamsConversionAt(r,(()=>{let n=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(n,r),n}));null!=(i=s.extra)&&i.parenthesized&&n();let o=this.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==o.type&&n(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),s}),s),u=null;if(i.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(i.node).type){if(!i.error&&!i.aborted)return i.node.async&&this.raise(Lr.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),i.node;u=i.node}if(null!=(o=n)&&o.node)return this.state=n.failState,n.node;if(u)return this.state=i.failState,u;throw null!=(a=n)&&a.thrown?n.error:i.thrown?i.error:this.raise(Lr.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t0&&this.raise(Lr.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,r,n)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();let r=this.startNodeAt(t);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let n=this.state.clone(),i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),n);if(!i.error&&!i.aborted)return i.node;let s=this.tryParse((()=>super.parseSubscripts(e,t,r)),n);if(s.node&&!s.error)return s.node;if(i.node)return this.state=i.failState,i.node;if(s.node)return this.state=s.failState,s.node;throw i.error||s.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();let i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){let r=this.startNodeAt(t);r.callee=e;let i=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=super.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,n.optionalChainMember))));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){let t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){let r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Lr.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Lr.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(ce.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Lr.EnumBooleanMemberNotInitialized,{at:e,memberName:n,enumName:r})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Lr.EnumInvalidMemberInitializerSymbolType:Lr.EnumInvalidMemberInitializerPrimaryType:Lr.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Lr.EnumNumberMemberNotInitialized,{at:e,enumName:r,memberName:n})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:r}=t;this.raise(Lr.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:r})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 131:{let r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){let{explicitType:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:r}=e,n=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;for(;!this.match(8);){if(this.eat(21)){s=!0;break}let e=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),u=o.name;if(""===u)continue;/^[a-z]/.test(u)&&this.raise(Lr.EnumInvalidMemberName,{at:o,memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:t}),n.has(u)&&this.raise(Lr.EnumDuplicateMemberName,{at:o,memberName:u,enumName:t}),n.add(u);let l={enumName:t,explicitType:r,memberName:u};switch(e.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"boolean"),e.init=a.value,i.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"number"),e.init=a.value,i.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"string"),e.init=a.value,i.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,l);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,l);break;default:i.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:s}}flowEnumStringMembers(e,t,r){let{enumName:n}=r;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:n});return t}for(let i of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(i,{enumName:n});return e}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!S(this.state.type))throw this.raise(Lr.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:r}=this.state;return this.next(),"boolean"!==r&&"number"!==r&&"string"!==r&&"symbol"!==r&&this.raise(Lr.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:r}),r}flowEnumBody(e,t){let r=t.name,n=t.loc.start,i=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:s,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:i});switch(e.hasUnknownMembers=o,i){case"boolean":return e.explicitType=!0,e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=s.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let i=s.booleanMembers.length,o=s.numberMembers.length,a=s.stringMembers.length,u=s.defaultedMembers.length;if(!i&&!o&&!a&&!u)return t();if(!i&&!o)return e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!o&&!a&&i>=u){for(let e of s.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!a&&o>=u){for(let e of s.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Lr.EnumInconsistentMemberValues,{at:n,enumName:r}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},Wr={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Gr=le`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:e=>{let{openingTagName:t}=e;return`Expected corresponding JSX closing tag for <${t}>.`},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:e=>{let{unexpected:t,HTMLEntity:r}=e;return`Unexpected token \`${t}\`. Did you mean \`${r}\` or \`{'${t}'}\`?`},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function Hr(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Jr(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Jr(e.object)+"."+Jr(e.property);throw new Error("Node had unexpected type: "+e.type)}var Xr=e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Gr.UnterminatedJsxContent,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?void(60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(r)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(139,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Ut(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ce.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):Ut(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(131,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,r=!1;for(;t++<10&&this.state.pos1)for(let n=0;n=0;e--){let r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}},Yr=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],Zr=e=>"ParenthesizedExpression"===e.type?Zr(e.expression):e,en=class extends Br{toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r,n;let i;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=Zr(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(ce.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(ce.InvalidParenthesizedAssignment,{at:e}):this.raise(ce.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let r of e)"ArrayExpression"===(null==r?void 0:r.type)&&this.toReferencedListDeep(r.elements)}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r){let n=1&r,i=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),n&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding(),r)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(ce.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(r,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,startLoc:r}=this.state;return 21===t?this.parseBindingRestProperty(e):(136===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,!1,!1,!0,!1))}parseAssignableListItem(e,t){let r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r,e);let n=this.parseMaybeDefault(r.loc.start,r);return t.length&&(r.decorators=t),n}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var r;if(null!=e||(e=this.state.startLoc),t=null!=(r=t)?r:this.parseBindingAtom(),!this.eat(29))return t;let n=this.startNodeAt(e);return n.left=t,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(e,t,r){return Yr({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){let{in:r,binding:n=mt,checkClashes:i=!1,strictModeChanged:s=!1,hasParenthesizedAncestor:o=!1}=t;var a;let u=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===u)return void(n!==mt&&this.raise(ce.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===u){this.checkIdentifier(e,n,s);let{name:t}=e;return void(i&&(i.has(t)?this.raise(ce.ParamDupe,{at:e}):i.add(t)))}let l=this.isValidLVal(u,!(o||null!=(a=e.extra)&&a.parenthesized)&&"AssignmentExpression"===r.type,n);if(!0===l)return;if(!1===l){let t=n===mt?ce.InvalidLhs:ce.InvalidLhsBinding;return void this.raise(t,{at:e,ancestor:r})}let[c,p]=Array.isArray(l)?l:[l,"ParenthesizedExpression"===u],h="ArrayPattern"===u||"ObjectPattern"===u||"ParenthesizedExpression"===u?{type:u}:r;for(let d of[].concat(e[c]))d&&this.checkLVal(d,{in:h,binding:n,checkClashes:i,strictModeChanged:s,hasParenthesizedAncestor:p})}checkIdentifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.strict&&(r?Ne(e.name,this.inModule):Pe(e.name))&&(t===mt?this.raise(ce.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(ce.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),t&st&&"let"===e.name&&this.raise(ce.LetInLexicalBinding,{at:e}),t&mt||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(ce.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?ce.RestTrailingComma:ce.ElementAfterRest,{at:this.state.startLoc}),!0)}},tn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function rn(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}function nn(e){if(!e)throw new Error("Assert fail")}var sn=le`typescript`({AbstractMethodHasImplementation:e=>{let{methodName:t}=e;return`Method '${t}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:e=>{let{propertyName:t}=e;return`Property '${t}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:e=>{let{kind:t}=e;return`'declare' is not allowed in ${t}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:e=>{let{modifier:t}=e;return"Accessibility modifier already seen."},DuplicateModifier:e=>{let{modifier:t}=e;return`Duplicate modifier: '${t}'.`},EmptyHeritageClauseType:e=>{let{token:t}=e;return`'${t}' list cannot be empty.`},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:e=>{let{modifiers:t}=e;return`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:e=>{let{modifier:t}=e;return`Index signatures cannot have an accessibility modifier ('${t}').`},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:e=>{let{modifier:t}=e;return`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:e=>{let{orderedModifiers:t}=e;return`'${t[0]}' modifier must precede '${t[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:e=>{let{modifier:t}=e;return`Private elements cannot have an accessibility modifier ('${t}').`},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:e=>{let{typeParameterName:t}=e;return`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:e=>{let{type:t}=e;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`}});function on(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function an(e){return"private"===e||"public"===e||"protected"===e}function un(e){return"in"===e||"out"===e}var ln=e=>class extends e{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:sn.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:sn.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:sn.InvalidModifierOnTypeParameter})}getScopeHandler(){return Kr}tsIsIdentifier(){return S(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!S(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;let r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e,t){let{allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:i,errorTemplate:s=sn.InvalidModifierOnTypeMember}=e,o=(e,r,n,i)=>{r===n&&t[i]&&this.raise(sn.InvalidModifiersOrder,{at:e,orderedModifiers:[n,i]})},a=(e,r,n,i)=>{(t[n]&&r===i||t[i]&&r===n)&&this.raise(sn.IncompatibleModifiers,{at:e,modifiers:[n,i]})};for(;;){let{startLoc:e}=this.state,u=this.tsParseModifier(r.concat(null!=n?n:[]),i);if(!u)break;an(u)?t.accessibility?this.raise(sn.DuplicateAccessibilityModifier,{at:e,modifier:u}):(o(e,u,u,"override"),o(e,u,u,"static"),o(e,u,u,"readonly"),t.accessibility=u):un(u)?(t[u]&&this.raise(sn.DuplicateModifier,{at:e,modifier:u}),t[u]=!0,o(e,u,"in","out")):(Object.hasOwnProperty.call(t,u)?this.raise(sn.DuplicateModifier,{at:e,modifier:u}):(o(e,u,"static","readonly"),o(e,u,"static","override"),o(e,u,"override","readonly"),o(e,u,"abstract","override"),a(e,u,"declare","override"),a(e,u,"static","abstract")),t[u]=!0),null!=n&&n.includes(u)&&this.raise(s,{at:e,modifier:u})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){let r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return rn(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,n){let i=[],s=-1;for(;!this.tsIsListTerminator(e);){s=-1;let n=t();if(null==n)return;if(i.push(n),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}s=this.state.lastTokStart}return n&&(n.value=s),i}tsParseBracketedList(e,t,r,n,i){n||(r?this.expect(0):this.expect(47));let s=this.tsParseDelimitedList(e,t,i);return r?this.expect(3):this.expect(48),s}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(sn.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.parseIdentifier(e);for(;this.eat(16);){let r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(sn.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){let r=19===e,n="parameters",i="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t[n]=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t[i]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(sn.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e)))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!S(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let r=e;if(this.match(10)||this.match(47)){t&&this.raise(sn.ReadonlyForMethodSignature,{at:e});let n=r;n.kind&&this.match(47)&&this.raise(sn.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let i="parameters",s="typeAnnotation";if("get"===n.kind)n[i].length>0&&(this.raise(ce.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(n[i][0])&&this.raise(sn.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===n.kind){if(1!==n[i].length)this.raise(ce.BadSetterArity,{at:this.state.curPosition()});else{let e=n[i][0];this.isThisParam(e)&&this.raise(sn.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(sn.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(sn.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}n[s]&&this.raise(sn.SetAccesorCannotHaveReturnType,{at:n[s]})}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}{let e=r;t&&(e.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!(!this.match(0)||(this.next(),!this.tsIsIdentifier()))&&(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{let{type:n}=e;t&&"TSRestType"!==n&&"TSOptionalType"!==n&&!("TSNamedTupleMember"===n&&e.optional)&&this.raise(sn.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===n&&e.optional||"TSOptionalType"===n);let i=n;"TSRestType"===n&&(i=(e=e.typeAnnotation).type);let s="TSNamedTupleMember"===i;null!=r||(r=s),r!==s&&this.raise(sn.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let e,t,r,n,{startLoc:i}=this.state,s=this.eat(21),o=F(this.state.type)?this.lookaheadCharCode():null;if(58===o)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),n=this.tsParseType();else if(63===o){r=!0;let i=this.state.startLoc,s=this.state.value,o=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(i),s),this.expect(17),this.expect(14),n=this.tsParseType()):(e=!1,n=o,this.expect(17))}else n=this.tsParseType(),r=this.eat(17),e=this.eat(14);if(e){let e;t?(e=this.startNodeAtNode(t),e.optional=r,e.label=t,e.elementType=n,this.eat(17)&&(e.optional=!0,this.raise(sn.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(e=this.startNodeAtNode(n),e.optional=r,this.raise(sn.InvalidTupleMemberLabel,{at:n}),e.label=n,e.elementType=this.tsParseType()),n=this.finishNode(e,"TSNamedTupleMember")}else if(r){let e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(s){let e=this.startNodeAt(i);e.typeAnnotation=n,n=this.finishNode(e,"TSRestType")}return n}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,r))),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();return 132!==t.type&&133!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(S(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":on(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(sn.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(113);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return R(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){let n=this.startNode(),i=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||i?(n.types=s,this.finishNode(n,e)):s[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(S(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{let t=this.startNode();this.expect(e);let r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let s=this.tsParseTypeAnnotation(!1);return r.parameterName=i,r.typeAnnotation=s,r.asserts=n,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(107!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!(!S(this.state.type)&&!this.match(78))&&(e&&this.raise(ce.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){nn(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(sn.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(sn.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),t.declare&&(e.declare=!0),S(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,pt)):(e.id=null,this.raise(sn.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,ht),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&16!==this.lookahead().type){let e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?gt:dt),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(je),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,vt),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(We),this.prodParam.enter(Er),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(We),this.prodParam.enter(Er),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,it),this.expect(29);let r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(sn.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){let t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(99)&&(r=74,t="let"),this.tsInAmbientContext((()=>{if(68===r)return e.declare=!0,super.parseFunctionStatement(e,!1,!1);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(124===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(110===r)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(127===r){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return S(r)?this.tsParseDeclaration(e,this.state.value,!0,null):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,r){switch(t.name){case"declare":{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(We),this.prodParam.enter(Er);let r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1,r)}}tsParseDeclaration(e,t,r,n){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||S(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&S(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch((()=>{let t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,r?super.parseArrowExpression(r,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(sn.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return $(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let r=this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);let i=n.accessibility,s=n.override,o=n.readonly;!(4&e)&&(i||o||s)&&this.raise(sn.UnexpectedParameterModifier,{at:r});let a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a,e);let u=this.parseMaybeDefault(a.loc.start,a);if(i||o||s){let e=this.startNodeAt(r);return t.length&&(e.decorators=t),i&&(e.accessibility=i),o&&(e.readonly=o),s&&(e.override=s),"Identifier"!==u.type&&"AssignmentPattern"!==u.type&&this.raise(sn.UnsupportedParameterPropertyKind,{at:e}),e.parameter=u,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),u}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(sn.PatternIsOptional,{at:t})}setArrowFunctionParameters(e,t,r){super.setArrowFunctionParameters(e,t,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):"TSDeclareFunction"===n&&this.state.isAmbientContext&&(this.raise(sn.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,ft):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(sn.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return"ArrayExpression"===i.type&&this.tsCheckForInvalidTypeCasts(i.elements),i}parseSubscript(e,t,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let r=this.startNodeAt(t);return r.expression=e,this.finishNode(r,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let s,o=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}let o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(i&&!this.match(10))return void(s=this.state.curPosition());if(z(this.state.type)){let r=super.parseTaggedTemplateExpression(e,t,n);return r.typeParameters=o,r}if(!r&&this.eat(10)){let r=this.startNodeAt(t);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(r.arguments),r.typeParameters=o,n.optionalChainMember&&(r.optional=i),this.finishCallExpression(r,n.optionalChainMember)}let a=this.state.type;if(48===a||52===a||10!==a&&N(a)&&!this.hasPrecedingLineBreak())return;let u=this.startNodeAt(t);return u.expression=e,u.typeParameters=o,this.finishNode(u,"TSInstantiationExpression")}));if(s&&this.unexpected(s,10),o)return"TSInstantiationExpression"===o.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(sn.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),o}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:r}=e;"TSInstantiationExpression"===r.type&&(null==(t=r.extra)||!t.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,t,r){let n;if(U(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(118)))){let i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(n&&this.raise(ce.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(i,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,n){this.state.isAmbientContext||super.checkReservedWord(e,t,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(sn.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",S(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(128)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),S(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(sn.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e,t){if(this.match(83))return this.next(),this.isContextual(128)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=super.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){let t=e;return this.expectContextual(126),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}if(e.exportKind="value",this.isContextual(128)){let t=this.lookaheadCharCode();(123===t||42===t)&&(this.next(),e.exportKind="type")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(122)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{isAmbientContext:n}=this.state,i=super.parseVarStatement(e,t,r||n);if(!n)return i;for(let{id:s,init:o}of i.declarations)o&&("const"!==t||s.typeAnnotation?this.raise(sn.InitializerNotAllowedInAmbientContext,{at:o}):pn(o,this.hasPlugin("estree"))||this.raise(sn.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:o}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>an(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:sn.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,n)&&this.raise(sn.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){let i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(sn.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(sn.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(sn.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(sn.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(sn.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(sn.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(sn.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(sn.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t,r){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,r):void 0)||super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r);let n=this.tryParse((()=>super.parseConditional(e,t)));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(r,n.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));let t=this.state.startLoc,r=this.eatContextual(123);if(r&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(sn.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let n=S(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return n?(("TSInterfaceDeclaration"===n.type||"TSTypeAliasDeclaration"===n.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(n,t),n.declare=!0),n):null}parseClassId(e,t,r,n){if((!t||r)&&this.isContextual(111))return;super.parseClassId(e,t,r,e.declare?ft:ot);let i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(sn.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(sn.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(sn.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(sn.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(sn.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,n,i,s){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(sn.ConstructorHasTypeParameters,{at:o});let{declare:a=!1,kind:u}=t;a&&("get"===u||"set"===u)&&this.raise(sn.DeclareAccessor,{at:t,kind:u}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&!e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,r,n,i,s,o){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,r,n,i,s,o)}parseFunctionParams(e,t){let r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var r,n,s,o,a,u,l;let c,p,h;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(c=this.state.clone(),p=this.tryParse((()=>super.parseMaybeAssign(e,t)),c),!p.error)return p.node;let{context:r}=this.state,n=r[r.length-1];(n===i.j_oTag||n===i.j_expr)&&r.pop()}if((null==(r=p)||!r.error)&&!this.match(47))return super.parseMaybeAssign(e,t);(!c||c===this.state)&&(c=this.state.clone());let d,f=this.tryParse((r=>{var n,i;d=this.tsParseTypeParameters(this.tsParseConstModifier);let s=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==s.type||null!=(n=s.extra)&&n.parenthesized)&&r(),0!==(null==(i=d)?void 0:i.params.length)&&this.resetStartLocationFromNode(s,d),s.typeParameters=d,s}),c);if(!f.error&&!f.aborted)return d&&this.reportReservedArrowTypeParam(d),f.node;if(!p&&(nn(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(e,t)),c),!h.error))return h.node;if(null!=(n=p)&&n.node)return this.state=p.failState,p.node;if(f.node)return this.state=f.failState,d&&this.reportReservedArrowTypeParam(d),f.node;if(null!=(s=h)&&s.node)return this.state=h.failState,h.node;throw null!=(o=p)&&o.thrown?p.error:f.thrown?f.error:null!=(a=h)&&a.thrown?h.error:(null==(u=p)?void 0:u.error)||f.error||(null==(l=h)?void 0:l.error)}reportReservedArrowTypeParam(e){var t;1===e.params.length&&!e.params[0].constraint&&(null==(t=e.extra)||!t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(sn.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(sn.UnexpectedTypeCastInParameter,{at:e}):this.raise(sn.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":!t&&"TSTypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return tn({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==mt||!t)&&["expression",!0],TSSatisfiesExpression:(r!==mt||!t)&&["expression",!0],TSTypeAssertion:(r!==mt||!t)&&["expression",!0]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){let r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.startthis.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,r){let n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(sn.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,r,n,i,s,o){let a=super.parseMethod(e,t,r,n,i,s,o);if(a.abstract&&(this.hasPlugin("estree")?a.value.body:a.body)){let{key:e}=a;this.raise(sn.AbstractMethodHasImplementation,{at:a,methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return a}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,n))}parseImportSpecifier(e,t,r,n,i){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,n,r?Dt:it))}parseTypeOnlyImportExportSpecifier(e,t,r){let n,i=t?"imported":"local",s=t?"local":"exported",o=e[i],a=!1,u=!0,l=o.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let r=this.parseIdentifier();F(this.state.type)?(a=!0,o=e,n=t?this.parseIdentifier():this.parseModuleExportName(),u=!1):(n=r,u=!1)}else F(this.state.type)?(u=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else F(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&r&&this.raise(t?sn.TypeModifierIsUsedInTypeImports:sn.TypeModifierIsUsedInTypeExports,{at:l}),e[i]=o,e[s]=n,e[t?"importKind":"exportKind"]=a?"type":"value",u&&this.eatContextual(93)&&(e[s]=t?this.parseIdentifier():this.parseModuleExportName()),e[s]||(e[s]=Or(e[i])),t&&this.checkIdentifier(e[s],a?Dt:it)}};function cn(e){if("MemberExpression"!==e.type)return!1;let{computed:t,property:r}=e;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&fn(e.object)}function pn(e,t){var r;let{type:n}=e;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===n){let{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===n||"BooleanLiteral"===n)return!0;return!!(hn(e,t)||dn(e,t)||"TemplateLiteral"===n&&0===e.expressions.length||cn(e))}function hn(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function dn(e,t){if("UnaryExpression"===e.type){let{operator:r,argument:n}=e;if("-"===r&&hn(n,t))return!0}return!1}function fn(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&fn(e.object)}var mn=le`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),yn=e=>class extends e{parsePlaceholder(e){if(this.match(142)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,r,n){void 0!==e&&super.checkReservedWord(e,t,r,n)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,r){return"Placeholder"===e||super.isValidLVal(e,t,r)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!(!super.chStartsBindingIdentifier(e,t)&&142!==this.lookahead().type)}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){let r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,t,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,r){let n=t?"ClassDeclaration":"ClassExpression";this.next();let i=this.state.strict,s=this.parsePlaceholder("Identifier");if(s){if(!(this.match(81)||this.match(142)||this.match(5))){if(r||!t)return e.id=null,e.body=this.finishPlaceholder(s,"ClassBody"),this.finishNode(e,n);throw this.raise(mn.ClassNameIsRequired,{at:this.state.startLoc})}e.id=s}else this.parseClassId(e,t,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,i),this.finishNode(e,n)}parseExport(e,t){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let n=this.startNode();return n.exported=r,e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(V(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(e)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(mn.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},gn=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),S(this.state.type)){let e=this.parseIdentifierName(),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function vn(e,t){let[r,n]="string"==typeof t?[t,{}]:t,i=Object.keys(n),s=0===i.length;return e.some((e=>{if("string"==typeof e)return s&&e===r;{let[t,s]=e;if(t!==r)return!1;for(let e of i)if(s[e]!==n[e])return!1;return!0}}))}function Dn(e,t,r){let n=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return n&&Array.isArray(n)&&n.length>1?n[1][r]:null}var bn=["minimal","fsharp","hack","smart"],En=["^^","@@","^","%","#"],xn=["hash","bar"];function Cn(e){if(vn(e,"decorators")){if(vn(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Dn(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=Dn(e,"decorators","allowCallParenthesized");if(null!=r&&"boolean"!=typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(vn(e,"flow")&&vn(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(vn(e,"placeholders")&&vn(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(vn(e,"pipelineOperator")){let t=Dn(e,"pipelineOperator","proposal");if(!bn.includes(t)){let e=bn.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}let r=vn(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(vn(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(vn(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=Dn(e,"pipelineOperator","topicToken");if(!En.includes(t)){let e=En.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(vn(e,"moduleAttributes")){if(vn(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Dn(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(vn(e,"recordAndTuple")&&null!=Dn(e,"recordAndTuple","syntaxType")&&!xn.includes(Dn(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+xn.map((e=>`'${e}'`)).join(", "));if(vn(e,"asyncDoExpressions")&&!vn(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}var wn={estree:fe,jsx:Xr,flow:zr,typescript:ln,v8intrinsic:gn,placeholders:yn},An=Object.keys(wn),Sn=class extends en{checkProto(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(ce.RecordNoProto,{at:i});r.used&&(n?null===n.doubleProtoLoc&&(n.doubleProtoLoc=i.loc.start):this.raise(ce.DuplicateProto,{at:i})),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){let t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){let n=this.startNodeAt(t);for(n.expressions=[r];this.eat(12);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){let r,n=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n)),e}e?r=!1:(e=new kr,r=!0);let{type:i}=this.state;(10===i||S(i))&&(this.state.potentialArrowAt=this.state.start);let s=this.parseMaybeConditional(e);if(t&&(s=t.call(this,s,n)),_(this.state.type)){let t=this.startNodeAt(n),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(s,!0),t.left=s;let r=n.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=s;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(s,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),s}parseMaybeConditional(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseExprOps(e);return this.shouldExitDescending(n,r)?n:this.parseConditional(n,t,e)}parseConditional(e,t,r){if(this.eat(17)){let r=this.startNodeAt(t);return r.test=e,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(n,r)?n:this.parseExprOp(n,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(r>=U(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(ce.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let n=this.state.type;if(j(n)&&(this.prodParam.hasIn||!this.match(58))){let i=U(n);if(i>r){if(39===n){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}let s=this.startNodeAt(t);s.left=e,s.operator=this.state.value;let o=41===n||42===n,a=40===n;if(a&&(i=U(42)),this.next(),39===n&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(ce.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});s.right=this.parseExprOpRightExpr(n,i);let u=this.finishNode(s,o||a?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(a&&(41===l||42===l)||o&&40===l)throw this.raise(ce.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(u,t,r)}}return e}parseExprOpRightExpr(e,t){let r=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(ce.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,q(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return ie.has(r.type)&&!(null!=(e=r.extra)&&e.parenthesized)&&this.raise(ce.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(ce.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(ce.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let r=this.state.startLoc,n=this.isContextual(96);if(n&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(r);return t||this.checkExponentialAfterUnary(e),e}let i=this.match(34),s=this.startNode();if(M(this.state.type)){s.operator=this.state.value,s.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let r=this.match(89);if(this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){let e=s.argument;"Identifier"===e.type?this.raise(ce.StrictDelete,{at:s}):this.hasPropertyAsPrivateName(e)&&this.raise(ce.DeletePrivateField,{at:s})}if(!i)return t||this.checkExponentialAfterUnary(s),this.finishNode(s,"UnaryExpression")}let o=this.parseUpdate(s,i,e);if(n){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?N(e):N(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(ce.AwaitNotInAsyncContext,{at:r}),this.parseAwait(r)}return o}parseUpdate(e,t,r){if(t){let t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}let n=this.state.startLoc,i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return i;for(;L(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(n);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(e,"UpdateExpression")})}return i}parseExprSubscripts(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseExprAtom(e);return this.shouldExitDescending(n,r)?n:this.parseSubscripts(n,t)}parseSubscripts(e,t,r){let n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n),n.maybeAsyncArrow=!1}while(!n.stop);return e}parseSubscript(e,t,r,n){let{type:i}=this.state;if(!r&&15===i)return this.parseBind(e,t,r,n);if(z(i))return this.parseTaggedTemplateExpression(e,t,n);let s=!1;if(18===i){if(r&&(this.raise(ce.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return n.stop=!0,e;n.optionalChainMember=s=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,n,s);{let r=this.eat(0);return r||s||this.eat(16)?this.parseMember(e,t,n,r,s):(n.stop=!0,e)}}parseMember(e,t,r,n,i){let s=this.startNodeAt(t);return s.object=e,s.computed=n,n?(s.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===e.type&&this.raise(ce.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),r.optionalChainMember?(s.optional=i,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")}parseBind(e,t,r,n){let i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),n.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,n){let i=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t);o.callee=e;let{maybeAsyncArrow:a,optionalChainMember:u}=r;a&&(this.expressionScope.enter(Dr()),s=new kr),u&&(o.optional=n),o.arguments=n?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,s);let l=this.finishCallExpression(o,u);return a&&this.shouldParseAsyncArrow()&&!n?(r.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(a&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){let n=this.startNodeAt(t);return n.tag=e,n.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(ce.OptionalChainingNoTemplate,{at:t}),this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(ce.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let r of e.arguments)"SpreadElement"===r.type&&this.raise(ce.ImportCallSpreadArgument,{at:r});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){let s=[],o=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(ce.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),n&&this.addTrailingCommaExtraToNode(n),this.next();break}s.push(this.parseExprListItem(!1,i,r))}return this.state.inFSharpPipelineDirectBody=a,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingCommaLoc),t.innerComments&&Lt(e,t.innerComments),t.callee.trailingComments&&Lt(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,r=null,{type:n}=this.state;switch(n){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(ce.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(ce.UnsupportedBind,{at:e})}case 136:return this.raise(ce.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{let e=this.input.codePointAt(this.nextTokenStart());xe(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(S(n)){if(this.isContextual(125)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(r));if(S(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(90===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=X(this.state.endLoc,-1),this.parseTopicReference(r);this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?ce.PrimaryTopicNotAllowed:ce.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,n)}throw this.raise(ce.PipeTopicUnconfiguredToken,{at:t,token:V(n)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:V(r)}]);case"smart":return 27===r;default:throw this.raise(ce.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Tr(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(ce.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(Cr),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(ce.UnexpectedSuper,{at:e}):this.raise(ce.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(ce.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(X(this.state.startLoc,1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;let n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(ce.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(ce.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){let r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t,r=this.state.startLoc;this.next(),this.expressionScope.enter(vr());let n=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let s,o,a=this.state.startLoc,u=[],l=new kr,c=!0;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,null===l.optionalParametersLoc?null:l.optionalParametersLoc),this.match(11)){o=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(s=this.state.startLoc,u.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else u.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}let p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=n,this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(r);return e&&this.shouldParseArrow(u)&&(h=this.parseArrow(h))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(h,u,!1),h):(this.expressionScope.exit(),u.length||this.unexpected(this.state.lastTokStartLoc),o&&this.unexpected(o),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(u,!0),u.length>1?(t=this.startNodeAt(a),t.expressions=u,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,p)):t=u[0],this.wrapParenthesis(r,t))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let r=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(ce.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type&&this.raise(ce.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){let{start:t,startLoc:r,end:n,value:i}=this.state,s=t+1,o=this.startNodeAt(X(r,1));null===i&&(e||this.raise(ce.InvalidEscapeSequenceTemplate,{at:X(this.state.firstInvalidTemplateEscapePos,1)}));let a=this.match(24),u=a?-1:-2,l=n+u;o.value={raw:this.input.slice(s,l).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,u)},o.tail=a,this.next();let c=this.finishNode(o,"TemplateElement");return this.resetEndLocation(c,X(this.state.lastTokEndLoc,u)),c}parseTemplate(e){let t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=Object.create(null),o=!0,a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(a);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(n),this.checkProto(i,r,s,n)),r&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(ce.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),a.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let u="ObjectExpression";return t?u="ObjectPattern":r&&(u="RecordExpression"),this.finishNode(a,u)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(ce.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r,n=this.startNode(),i=!1,s=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(r=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let a=this.state.containsEsc,u=this.parsePropertyName(n,e);if(!o&&!a&&this.maybeAsyncOrAccessorProp(n)){let e=u.name;"async"===e&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(n)),("get"===e||"set"===e)&&(s=!0,this.resetPreviousNodeTrailingComments(u),n.kind=e,this.match(55)&&(o=!0,this.raise(ce.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,r,o,i,!1,s,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==r&&this.raise("get"===e.kind?ce.BadGetterArity:ce.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(ce.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,n,i){if(i){let r=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(r),r}if(r||t||this.match(10))return n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,r,n){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(n),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,Or(e.key));else if(this.match(29)){let r=this.state.startLoc;null!=n?null===n.shorthandAssignLoc&&(n.shorthandAssignLoc=r):this.raise(ce.InvalidCoverInitializedName,{at:r}),e.value=this.parseMaybeDefault(t,Or(e.key))}else e.value=Or(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,i,s,o){let a=this.parseObjectMethod(e,r,n,i,s)||this.parseObjectProperty(e,t,i,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let r,{type:n,value:i}=this.state;if(F(n))r=this.parseIdentifier(!0);else switch(n){case 132:r=this.parseNumericLiteral(i);break;case 131:r=this.parseStringLiteral(i);break;case 133:r=this.parseBigIntLiteral(i);break;case 134:r=this.parseDecimalLiteral(i);break;case 136:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(ce.UnexpectedPrivateField,{at:e}),r=this.parsePrivateName();break}default:this.unexpected()}e.key=r,136!==n&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,r,n,i,s){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,r),e.generator=t,this.scope.enter(Me|Ve|(o?qe:0)|(i?Ue:0)),this.prodParam.enter(Tr(r,e.generator)),this.parseFunctionParams(e,n);let a=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),a}parseArrayLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,n,s),this.state.inFSharpPipelineDirectBody=i,this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(Me|Re);let i=Tr(r,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=Ar),this.prodParam.enter(i),this.initFunction(e,r);let s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t&&!this.match(5);if(this.expressionScope.enter(br()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|wr),e.body=this.parseBlock(!0,!1,(i=>{let s=!this.isSimpleParamList(e.params);i&&s&&this.raise(ce.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let o=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,yt,o)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t3&&void 0!==arguments[3])||arguments[3],i=!t&&new Set,s={type:"FormalParameters"};for(let o of e.params)this.checkLVal(o,{in:s,binding:lt,checkClashes:i,strictModeChanged:n})}parseExprList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(t,r))}return i}parseExprListItem(e,t,r){let n;if(this.match(12))e||this.raise(ce.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),n=null;else if(this.match(21)){let e=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(ce.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return n}parseIdentifier(e){let t=this.startNode(),r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t,{startLoc:r,type:n}=this.state;F(n)?t=this.state.value:this.unexpected();let i=T(n);return e?i&&this.replaceToken(130):this.checkReservedWord(t,r,i,!1),this.next(),t}checkReservedWord(e,t,r,n){if(!(e.length>10)&&Be(e))if(r&&_e(e))this.raise(ce.UnexpectedKeyword,{at:t,keyword:e});else if((this.state.strict?n?Ne:ke:Fe)(e,this.inModule))this.raise(ce.UnexpectedReservedWord,{at:t,reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(ce.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(ce.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(ce.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(ce.ArgumentsInClass,{at:t})}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(ce.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(ce.ObsoleteAwaitStar,{at:t}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||z(e)||101===e&&!this.state.containsEsc||135===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(ce.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(ce.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}{let r=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),r.expression=e,this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(ce.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(ce.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(Ar&~t){this.prodParam.enter(t|Ar);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(Ar&t){this.prodParam.enter(t&~Ar);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,n}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}},Tn={kind:"loop"},Fn={kind:"switch"},kn=/[\uD800-\uDFFF]/u,Pn=/in(?:stanceof)?/y;function Nn(e,t){for(let r=0;r1&&void 0!==arguments[1]?arguments[1]:137,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[i,s]of Array.from(this.scope.undefinedExports))this.raise(ce.ModuleExportUndefined,{at:s,localName:i});return t=137===r?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",X(this.state.startLoc,-1)),t}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,n=r.value,i=this.input.slice(r.start,r.end),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",n),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(xe(e)){if(Pn.lastIndex=t,Pn.test(this.input)){let e=this.codePointAtPos(Pn.lastIndex);if(!Ce(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){let e=this.lookahead();return!(101===e.type&&!e.containsEsc)&&(this.expectPlugin("explicitResourceManagement"),!0)}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type,n=this.startNode(),i=!!(2&e),s=!!(4&e),o=1&e;switch(r){case 60:return this.parseBreakContinueStatement(n,!0);case 63:return this.parseBreakContinueStatement(n,!1);case 64:return this.parseDebuggerStatement(n);case 90:return this.parseDoWhileStatement(n);case 91:return this.parseForStatement(n);case 68:if(46===this.lookaheadCharCode())break;return s||this.raise(this.state.strict?ce.StrictFunction:this.options.annexB?ce.SloppyFunctionAnnexB:ce.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(n,!1,!i&&s);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,n),!0);case 69:return this.parseIfStatement(n);case 70:return this.parseReturnStatement(n);case 71:return this.parseSwitchStatement(n);case 72:return this.parseThrowStatement(n);case 73:return this.parseTryStatement(n);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(ce.UnexpectedUsingDeclaration,{at:this.state.startLoc}):i||this.raise(ce.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(n,"using");case 99:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&123!==t))break}case 75:i||this.raise(ce.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let e=this.state.value;return this.parseVarStatement(n,e)}case 92:return this.parseWhileStatement(n);case 76:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return!this.options.allowImportExportEverywhere&&!o&&this.raise(ce.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===r?(e=this.parseImport(n),"ImportDeclaration"===e.type&&(!e.importKind||"value"===e.importKind)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(n,t),("ExportNamedDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportAllDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportDefaultDeclaration"===e.type)&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return i||this.raise(ce.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(n,!0,!i&&s)}let a=this.state.value,u=this.parseExpression();return S(r)&&"Identifier"===u.type&&this.eat(14)?this.parseLabeledStatement(n,a,u,e):this.parseExpressionStatement(n,u,t)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(ce.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,r){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(ce.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(ce.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(ce.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){let t,r=this.state.startLoc;if(this.match(10)){let r=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(r,t);let n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==t&&this.raise(ce.DecoratorArgumentsOutsideParentheses,{at:n})}else{for(t=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(r);e.object=t,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,t=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;rthis.parseStatement())),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(Tn);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(je),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(99),n=this.isContextual(105)&&!this.hasFollowingLineBreak(),i=r&&this.hasFollowingBindingAtom()||n&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||i){let r=this.startNode(),i=this.state.value;this.next(),this.parseVar(r,!0,i);let s=this.finishNode(r,"VariableDeclaration"),o=this.match(58);return o&&n&&this.raise(ce.ForInUsing,{at:s}),(o||this.isContextual(101))&&1===s.declarations.length?this.parseForIn(e,s,t):(null!==t&&this.unexpected(t),this.parseFor(e,s))}let s=this.isContextual(95),o=new kr,a=this.parseExpression(!0,o),u=this.isContextual(101);if(u&&(r&&this.raise(ce.ForOfLet,{at:a}),null===t&&s&&"Identifier"===a.type&&this.raise(ce.ForOfAsync,{at:a})),u||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(a,!0);let r=u?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:r}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(o,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(ce.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t,r,n=e.cases=[];for(this.expect(5),this.state.labels.push(Fn),this.scope.enter(je);!this.match(8);)if(this.match(61)||this.match(65)){let e=this.match(61);t&&this.finishNode(t,"SwitchCase"),n.push(t=this.startNode()),t.consequent=[],this.next(),e?t.test=this.parseExpression():(r&&this.raise(ce.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),r=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(ce.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?$e:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:ut}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(je)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(ce.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Tn),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(ce.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let s of this.state.labels)s.name===t&&this.raise(ce.LabelRedeclaration,{at:r,labelName:t});let i=I(this.state.type)?"loop":this.match(71)?"switch":null;for(let s=this.state.labels.length-1;s>=0;s--){let t=this.state.labels[s];if(t.statementStart!==e.start)break;t.statementStart=this.state.start,t.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=8&n?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(je),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){let s=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?o:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){let s=this.state.strict,o=!1,a=!1;for(;!this.match(n);){let n=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!a){if(this.isValidDirective(n)){let e=this.stmtToDirective(n);t.push(e),!o&&"use strict"===e.value.value&&(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,o),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){let n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||!this.options.annexB||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(ce.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(ce.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=r;;){let e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null===e.init&&!n&&("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===r&&!(this.match(58)||this.isContextual(101))&&this.raise(ce.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(ce.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){"using"===t&&!this.inModule&&this.match(96)&&this.raise(ce.AwaitInUsingBinding,{at:this.state.startLoc});let r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:"var"===t?lt:at}),e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=2&t,n=!!(1&t),i=n&&!(4&t),s=!!(8&t);this.initFunction(e,s),this.match(55)&&(r&&this.raise(ce.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),n&&(e.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Me),this.prodParam.enter(Tr(s,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!r&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||S(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(gr()),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?lt:at:ct,e.id.loc.start)}parseClass(e,t,r){this.next();let n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&("constructor"===e.key.name||"constructor"===e.key.value)}parseClassBody(e,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:e},n=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(n.length>0)throw this.raise(ce.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){n.push(this.parseDecorator());continue}let e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(ce.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),n.length)throw this.raise(ce.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){let n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){let i=t,s=t,o=t,a=t,u=t,l=i,c=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";let t=this.match(136);return this.parseClassElementName(l),t?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(ce.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}let p=S(this.state.type)&&!this.state.containsEsc,h=this.match(136),d=this.parseClassElementName(t),f=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(l.kind="method",h)return void this.pushClassPrivateMethod(e,s,!1,!1);let n=this.isNonstaticConstructor(i),o=!1;n&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(ce.DuplicateConstructor,{at:d}),n&&this.hasPlugin("typescript")&&t.override&&this.raise(ce.OverrideOnConstructor,{at:d}),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,o)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(p&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let t=this.eat(55);c.optional&&this.unexpected(f),l.kind="method";let r=this.match(136);this.parseClassElementName(l),this.parsePostMemberNameModifiers(c),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(i)&&this.raise(ce.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let t=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(e,u,t)}else this.isLineTerminator()?h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),l.kind=d.name;let t=this.match(136);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(ce.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){let{type:t,value:r}=this.state;if((130===t||131===t)&&e.static&&"prototype"===r&&this.raise(ce.StaticPrototype,{at:this.state.startLoc}),136===t){"constructor"===r&&this.raise(ce.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(qe|ze|Ve);let n=this.state.labels;this.state.labels=[],this.prodParam.enter(Er);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(ce.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(ce.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),kt,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(ce.ConstructorClassField,{at:e})}let n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),kt,n.key.loc.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){let i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let s="get"===i.kind?i.static?At:Tt:"set"===i.kind?i.static?St:Ft:kt;this.declareClassPrivateMethodInScope(i,s)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(qe|Ve),this.expressionScope.enter(br()),this.prodParam.enter(Er),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ot;if(S(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else{if(!r&&t)throw this.raise(ce.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let r=this.maybeParseExportDefaultSpecifier(e),n=!r||this.eat(12),i=n&&this.eatExportStar(e),s=i&&this.maybeParseExportNamespaceSpecifier(e),o=n&&(!s||this.eat(12)),a=r||i;if(i&&!s){if(r&&this.unexpected(),t)throw this.raise(ce.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}let u,l=this.maybeParseExportNamedSpecifiers(e);if(r&&n&&!i&&!l&&this.unexpected(null,5),s&&o&&this.unexpected(null,97),a||l){if(u=!1,t)throw this.raise(ce.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,a)}else u=this.maybeParseExportDeclaration(e);if(a||l||u){var c;let r=e;if(this.checkExport(r,!0,!1,!!r.source),"ClassDeclaration"===(null==(c=r.declaration)?void 0:c.type))this.maybeTakeDecorators(t,r.declaration,r);else if(t)throw this.raise(ce.UnsupportedDecoratorExport,{at:e});return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){let r=e,n=this.parseExportDefaultExpression();if(r.declaration=n,"ClassDeclaration"===n.type)this.maybeTakeDecorators(t,n,r);else if(t)throw this.raise(ce.UnsupportedDecoratorExport,{at:e});return this.checkExport(r,!0,!0),this.finishNode(r,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!$t.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(ce.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(ce.UnsupportedDefaultExport,{at:this.state.startLoc});let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(S(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((128===e||127===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(S(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||S(this.state.type)&&r)return!0;if(this.match(65)&&r){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(ce.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"===t.type&&"from"===t.name&&t.end-t.start===4&&(null==(i=t.extra)||!i.parenthesized)&&this.raise(ce.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let s of e.specifiers){let{exported:e}=s,t="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(s,t),!n&&s.local){let{local:e}=s;"Identifier"!==e.type?this.raise(ce.ExportBindingIsString,{at:s,localName:e.value,exportName:t}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let s of e.declaration.declarations)this.checkDeclaration(s.id)}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(ce.DuplicateDefaultExport,{at:e}):this.raise(ce.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;let n=this.isContextual(128),i=this.match(131),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=Ir(e.local):e.exported||(e.exported=Or(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(kn);return t&&this.raise(ce.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some((e=>{let{key:t,value:r}=e;return"json"===r.value&&("Identifier"===t.type?"type"===t.name:"type"===t.value)}))}checkImportReflection(e){var t;e.module&&((1!==e.specifiers.length||"ImportDefaultSpecifier"!==e.specifiers[0].type)&&this.raise(ce.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),(null==(t=e.assertions)?void 0:t.length)>0&&this.raise(ce.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start}))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){let{specifiers:t}=e;if(null!=t){let e=t.find((e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==e&&this.raise(ce.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){let e=this.lookahead(),r=e.type;S(r)?(97!==r||102===this.input.charCodeAt(this.nextTokenStartSince(e.end)))&&(t=!0):12!==r&&(t=!0)}t?(this.expectPlugin("importReflection"),this.next(),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return S(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:at;return this.checkLVal(e.local,{in:{type:t},binding:r}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(ce.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n}),t.add(n),this.match(131)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(ce.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(ce.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(ce.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(131))throw this.raise(ce.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(ce.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),n=this.match(131),i=this.isContextual(128);r.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,n,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:r}=e;if(t)throw this.raise(ce.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=Or(r))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}},On=class extends _n{constructor(e,t){super(e=r(e),t),this.options=e,this.initializeScopes(),this.plugins=In(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Nt}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};function In(e){let t=new Map;for(let r of e){let[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}function Bn(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return Rn(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let r=Rn(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Rn(t,e).parse()}catch{}else n.program.sourceType="script";return n}catch(n){try{return t.sourceType="script",Rn(t,e).parse()}catch{}throw n}}function jn(e,t){let r=Rn(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function Ln(e){let t={};for(let r of Object.keys(e))t[r]=W(e[r]);return t}var Mn=Ln(A);function Rn(e,t){let r=On;return null!=e&&e.plugins&&(Cn(e.plugins),r=Vn(e.plugins)),new r(e,t)}var $n={};function Vn(e){let t=An.filter((t=>vn(e,t))),r=t.join("/"),n=$n[r];if(!n){n=On;for(let e of t)n=wn[e](n);$n[r]=n}return n}e.parse=Bn,e.parseExpression=jn,e.tokTypes=Mn}}),ne=a({"src/language-js/parse/json.js"(e,t){p();var r=z(),n=H(),i=G(),s=J();function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let n,{parseExpression:i}=re();try{n=i(e,{tokens:!0,ranges:!0})}catch(o){throw s(o)}if(!t&&r(n.comments))throw a(n.comments[0],"Comment");return u(n),n}}function a(e,t){let[r,i]=[e.loc.start,e.loc.end].map((e=>{let{line:t,column:r}=e;return{line:t,column:r+1}}));return n(`${t} is not allowed in JSON.`,{start:r,end:i})}function u(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)null!==t&&u(t);return;case"ObjectExpression":for(let t of e.properties)u(t);return;case"ObjectProperty":if(e.computed)throw a(e.key,"Computed key");if(e.shorthand)throw a(e.key,"Shorthand property");return"Identifier"!==e.key.type&&u(e.key),void u(e.value);case"UnaryExpression":{let{operator:t,argument:r}=e;if("+"!==t&&"-"!==t)throw a(e,`Operator '${e.operator}'`);if("NumericLiteral"===r.type||"Identifier"===r.type&&("Infinity"===r.name||"NaN"===r.name))return;throw a(r,`Operator '${t}' before '${r.type}'`)}case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw a(e,`Identifier '${e.name}'`);return;case"TemplateLiteral":if(r(e.expressions))throw a(e.expressions[0],"'TemplateLiteral' with expression");for(let t of e.quasis)u(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw a(e,`'${e.type}'`)}}var l=o(),c={json:i({parse:l,hasPragma:()=>!0}),json5:i(l),"json-stringify":i({parse:o({allowComments:!1}),astFormat:"estree-json"})};t.exports=c}});p();var ie=h(),se=d(),oe=v(),ae=G(),ue=J(),le=te(),ce=ne(),pe={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},he=["recordAndTuple",{syntaxType:"hash"}],de="v8intrinsic",fe=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],ye=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pe;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},ge=/@(?:no)?flow\b/;function De(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let r=se(e);r&&(e=e.slice(r.length));let n=oe(e,0);return!1!==n&&(e=e.slice(0,n)),ge.test(e)}function be(e,t,r){let n=(0,re()[e])(t,r),i=n.errors.find((e=>!Fe.has(e.reasonCode)));if(i)throw i;return n}function Ee(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===i.parser||"__babel_estree"===i.parser)&&De(t,i))return i.parser="babel-flow",Ce(t,n,i);let s=r;"script"===i.__babelSourceType&&(s=s.map((e=>Object.assign(Object.assign({},e),{},{sourceType:"script"})))),/#[[{]/.test(t)&&(s=s.map((e=>ye([he],e))));let o=/%[A-Z]/.test(t);t.includes("|>")?s=(o?[...fe,de]:fe).flatMap((e=>s.map((t=>ye([e],t))))):o&&(s=s.map((e=>ye([de],e))));let{result:a,error:u}=ie(...s.map((r=>()=>be(e,t,r))));if(!a)throw ue(u);return i.originalText=t,le(a,i)}}var xe=Ee("parse",ye(["jsx","flow"])),Ce=Ee("parse",ye(["jsx",["flow",{all:!0,enums:!0}]])),we=Ee("parse",ye(["jsx","typescript"]),ye(["typescript"])),Ae=Ee("parse",ye(["jsx","flow","estree"])),Se=Ee("parseExpression",ye(["jsx"])),Te=Ee("parseExpression",ye(["typescript"])),Fe=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Pe=ae(xe),Ne=ae(we),_e=ae(Se),Oe=ae(Te);t.exports={parsers:Object.assign(Object.assign({babel:Pe,"babel-flow":ae(Ce),"babel-ts":Ne},ce),{},{__js_expression:_e,__vue_expression:_e,__vue_ts_expression:Oe,__vue_event_binding:Pe,__vue_ts_event_binding:Ne,__babel_estree:ae(Ae)})}}));return Pe()}()},2237:function(e,t,r){e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),s=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=s(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),a=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),u=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),l=e(((e,t)=>{var r=s(),n=Function.prototype,i=n.call,o=r&&n.bind.bind(i,i);t.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}})),c=e(((e,t)=>{var r=l(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,t)=>{var r=l(),i=n(),s=c(),o=Object,a=r("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o})),h=e(((e,t)=>{t.exports=function(e){return null==e}})),d=e(((e,t)=>{var r=h(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),m=e(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),y=e(((e,t)=>{var r=m(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),g=e(((e,t)=>{var r=y(),n=m(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),v=e(((e,r)=>{var n=t(),i=y(),s=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}})),D=e(((e,t)=>{var r=l();t.exports=r({}.isPrototypeOf)})),b=e(((e,t)=>{var r=v();t.exports=r("navigator","userAgent")||""})),E=e(((e,r)=>{var n,i,s=t(),o=b(),a=s.process,u=s.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),x=e(((e,t)=>{var r=E(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),C=e(((e,t)=>{var r=x();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),w=e(((e,t)=>{var r=v(),n=y(),i=D(),s=C(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),A=e(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),S=e(((e,t)=>{var r=y(),n=A(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),T=e(((e,t)=>{var r=S(),n=h();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),F=e(((e,t)=>{var r=o(),n=y(),i=g(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),P=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=P(),s="__core-js_shared__",o=n[s]||i(s,{});r.exports=o})),_=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),O=e(((e,t)=>{var r=d(),n=Object;t.exports=function(e){return n(r(e))}})),I=e(((e,t)=>{var r=l(),n=O(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),B=e(((e,t)=>{var r=l(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),j=e(((e,r)=>{var n=t(),i=_(),s=I(),o=B(),a=x(),u=C(),l=i("wks"),c=n.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||o;r.exports=function(e){if(!s(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&s(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),L=e(((e,t)=>{var r=o(),n=g(),i=w(),s=T(),a=F(),u=j(),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var o,u=s(e,c);if(u){if(void 0===t&&(t="default"),o=r(u,e,t),!n(o)||i(o))return o;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),M=e(((e,t)=>{var r=L(),n=w();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=g(),s=n.document,o=i(s)&&i(s.createElement);r.exports=function(e){return o?s.createElement(e):{}}})),$=e(((e,t)=>{var r=i(),s=n(),o=R();t.exports=!r&&!s((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),V=e((e=>{var t=i(),r=o(),n=a(),s=u(),l=f(),c=M(),p=I(),h=$(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=l(e),t=c(t),h)try{return d(e,t)}catch{}if(p(e,t))return s(!r(n.f,e,t),e[t])}})),U=e(((e,t)=>{var r=i(),s=n();t.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),q=e(((e,t)=>{var r=g(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),z=e((e=>{var t=i(),r=$(),n=U(),s=q(),o=M(),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(s(e),t=o(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(s(e),t=o(t),s(n),r)try{return u(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),W=e(((e,t)=>{var r=i(),n=z(),s=u();t.exports=r?function(e,t,r){return n.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}})),G=e(((e,t)=>{var r=i(),n=I(),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=n(s,"name"),u=a&&"something"===function(){}.name,l=a&&(!r||r&&o(s,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}})),H=e(((e,t)=>{var r=l(),n=y(),i=N(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),J=e(((e,r)=>{var n=t(),i=y(),s=n.WeakMap;r.exports=i(s)&&/native code/.test(String(s))})),X=e(((e,t)=>{var r=_(),n=B(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),Q=e(((e,t)=>{t.exports={}})),K=e(((e,r)=>{var n,i,s,o,a,u=J(),l=t(),c=g(),p=W(),h=I(),d=N(),f=X(),m=Q(),y="Object already initialized",v=l.TypeError,D=l.WeakMap,b=function(e){return s(e)?i(e):n(e,{})},E=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return r}};u||d.state?((o=d.state||(d.state=new D)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw v(y);return t.facade=e,o.set(e,t),t},i=function(e){return o.get(e)||{}},s=function(e){return o.has(e)}):(m[a=f("state")]=!0,n=function(e,t){if(h(e,a))throw v(y);return t.facade=e,p(e,a,t),t},i=function(e){return h(e,a)?e[a]:{}},s=function(e){return h(e,a)}),r.exports={set:n,get:i,has:s,enforce:b,getterFor:E}})),Y=e(((e,t)=>{var r=n(),s=y(),o=I(),a=i(),u=G().CONFIGURABLE,l=H(),c=K(),p=c.enforce,h=c.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||u&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return o(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return s(this)&&h(this).source||l(this)}),"toString")})),Z=e(((e,t)=>{var r=y(),n=z(),i=Y(),s=P();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),ee=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),te=e(((e,t)=>{var r=ee();t.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}})),re=e(((e,t)=>{var r=te(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ne=e(((e,t)=>{var r=te(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ie=e(((e,t)=>{var r=ne();t.exports=function(e){return r(e.length)}})),se=e(((e,t)=>{var r=f(),n=re(),i=ie(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),oe=e(((e,t)=>{var r=l(),n=I(),i=f(),s=se().indexOf,o=Q(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),ae=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ue=e((e=>{var t=oe(),r=ae().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),le=e((e=>{e.f=Object.getOwnPropertySymbols})),ce=e(((e,t)=>{var r=v(),n=l(),i=ue(),s=le(),o=q(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),pe=e(((e,t)=>{var r=I(),n=ce(),i=V(),s=z();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c{var r=n(),i=y(),s=/#|\.prototype\./,o=function(e,t){var n=u[a(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),de=e(((e,r)=>{var n=t(),i=V().f,s=W(),o=Z(),a=P(),u=pe(),l=he();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),o(r,c,h,e)}}})),fe=e((()=>{var e=de(),r=t();e({global:!0,forced:r.globalThis!==r},{globalThis:r})})),me=e((()=>{fe()})),ye=e(((e,t)=>{var r=c();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),ge=e(((e,t)=>{var r=TypeError,n=9007199254740991;t.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}})),ve=e(((e,t)=>{var r=c(),n=l();t.exports=function(e){if("Function"===r(e))return n(e)}})),De=e(((e,t)=>{var r=ve(),n=S(),i=s(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),be=e(((e,t)=>{var r=ye(),n=ie(),i=ge(),s=De(),o=function(e,t,a,u,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&s(p,h);y0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),y++;return m};t.exports=o})),Ee=e(((e,t)=>{var r={};r[j()("toStringTag")]="z",t.exports="[object z]"===String(r)})),xe=e(((e,t)=>{var r=Ee(),n=y(),i=c(),s=j()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch{}};t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Ce=e(((e,t)=>{var r=l(),i=n(),s=y(),o=xe(),a=v(),u=H(),c=function(){},p=[],h=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),m=!d.exec(c),g=function(e){if(!s(e))return!1;try{return h(c,p,e),!0}catch{return!1}},D=function(e){if(!s(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,u(e))}catch{return!0}};D.sham=!0,t.exports=!h||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?D:g})),we=e(((e,t)=>{var r=ye(),n=Ce(),i=g(),s=j()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Ae=e(((e,t)=>{var r=we();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),Se=e((()=>{var e=de(),t=be(),r=S(),n=O(),i=ie(),s=Ae();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),u=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Te=e(((e,t)=>{t.exports={}})),Fe=e(((e,t)=>{var r=j(),n=Te(),i=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}})),ke=e(((e,t)=>{var r=xe(),n=T(),i=h(),s=Te(),o=j()("iterator");t.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[r(e)]}})),Pe=e(((e,t)=>{var r=o(),n=S(),i=q(),s=A(),a=ke(),u=TypeError;t.exports=function(e,t){var o=arguments.length<2?a(e):t;if(n(o))return i(r(o,e));throw u(s(e)+" is not iterable")}})),Ne=e(((e,t)=>{var r=o(),n=q(),i=T();t.exports=function(e,t,s){var o,a;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=r(o,e)}catch(u){a=!0,o=u}if("throw"===t)throw s;if(a)throw o;return n(o),s}})),_e=e(((e,t)=>{var r=De(),n=o(),i=q(),s=A(),a=Fe(),u=ie(),l=D(),c=Pe(),p=ke(),h=Ne(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,o){var y,g,v,D,b,E,x,C=o&&o.that,w=!(!o||!o.AS_ENTRIES),A=!(!o||!o.IS_RECORD),S=!(!o||!o.IS_ITERATOR),T=!(!o||!o.INTERRUPTED),F=r(t,C),k=function(e){return y&&h(y,"normal",e),new f(!0,e)},P=function(e){return w?(i(e),T?F(e[0],e[1],k):F(e[0],e[1])):T?F(e,k):F(e)};if(A)y=e.iterator;else if(S)y=e;else{if(!(g=p(e)))throw d(s(e)+" is not iterable");if(a(g)){for(v=0,D=u(e);D>v;v++)if((b=P(e[v]))&&l(m,b))return b;return new f(!1)}y=c(e,g)}for(E=A?e.next:y.next;!(x=n(E,y)).done;){try{b=P(x.value)}catch(N){h(y,"throw",N)}if("object"==typeof b&&b&&l(m,b))return b}return new f(!1)}})),Oe=e(((e,t)=>{var r=M(),n=z(),i=u();t.exports=function(e,t,s){var o=r(t);o in e?n.f(e,o,i(0,s)):e[o]=s}})),Ie=e((()=>{var e=de(),t=_e(),r=Oe();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),Be=e(((e,t)=>{var r=["cliName","cliCategory","cliDescription"];function n(e,t){if(null==e)return{};var r,n,s=i(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function i(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0)&&(i[r]=e[r]);return i}me(),Se(),Ie();var s,o=Object.create,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,h=(e,t)=>function(){return e&&(t=(0,e[l(e)[0]])(e=0)),t},d=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},f=(e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})},m=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))!p.call(e,i)&&i!==r&&a(e,i,{get:()=>t[i],enumerable:!(n=u(t,i))||n.enumerable});return e},y=(e,t,r)=>(r=null!=e?o(c(e)):{},m(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)),g=e=>m(a({},"__esModule",{value:!0}),e),v=h({""(){s={env:{},argv:[]}}}),D=d({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function r(t){return e.$0<=t&&t<=e.$9}function n(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||r(t)}function s(t){return t===e.$LF||t===e.$CR}function o(t){return e.$0<=t&&t<=e.$7}v(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=t,e.isDigit=r,e.isAsciiLetter=n,e.isAsciiHexDigit=i,e.isNewLine=s,e.isOctalDigit=o}}),b=d({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;var r=class{constructor(){this.cache=new Map}get(e,r,n){let i=`"${e}".${r}${(n=n||[]).length?`.${n.join(".")}`:""}`,s=this.cache.get(i);return s||(s=new t(e,r,n),this.cache.set(i,s)),s}};e.StaticSymbolCache=r}}),E=d({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;ro(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((n=>{r[n]=o(e[n],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function c(e){throw new Error(`Internal Error: ${e}`)}function p(e,t){let r=Error(e);return r[h]=!0,t&&(r[d]=t),r}e.ValueTransformer=l,e.SyncAsync={assertSync:e=>{if(C(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>C(e)?e.then(t):t(e),all:e=>e.some(C)?Promise.all(e):e},e.error=c,e.syntaxError=p;var h="ngSyntaxError",d="ngParseErrors";function f(e){return e[h]}function m(e){return e[d]||[]}function y(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=f,e.getParseErrors=m,e.escapeRegExp=y;var g=Object.getPrototypeOf({});function D(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===g}function b(e){let t="";for(let r=0;r=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t}function E(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(E).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return"object";let t=e.toString();if(null==t)return""+t;let r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function x(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function C(e){return!!e&&"function"==typeof e.then}e.utf8Encode=b,e.stringify=E,e.resolveForwardRef=x,e.isPromise=C;var w=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};e.Version=w;var A=typeof window<"u"&&window,S=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,T=typeof globalThis<"u"&&globalThis||A||S;e.global=T}}),x=d({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=b(),r=E(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function u(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_"+a++,n.__anonymousType=s):s=i(s),s}function l(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`}function c(e,t){return`View_${u({reference:e})}_${t}`}function p(e){return`RenderType_${u({reference:e})}`}function h(e){return`HostView_${u({reference:e})}`}function d(e){return`${u({reference:e})}NgFactory`}function f(e){return null!=e.value?i(e.value):u(e.identifier)}function m(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=u,e.identifierModuleUrl=l,e.viewClassName=c,e.rendererTypeName=p,e.hostViewClassName=h,e.componentFactoryName=d,(o=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=f,e.tokenReference=m;var y=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=S(t),this.styleUrls=S(r)}};e.CompileStylesheetMetadata=y;var g=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:u,ngContentSelectors:l,interpolation:c,isInline:p,preserveWhitespaces:h}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=S(s),this.styleUrls=S(o),this.externalStylesheets=S(a),this.animations=u?F(u):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=p,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=g;var D=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:u,inputs:l,outputs:c,host:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:b,rendererType:E,componentFactory:x}=e,C={},w={},A={};null!=p&&Object.keys(p).forEach((e=>{let t=p[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?w[r[1]]=t:null!=r[2]&&(C[r[2]]=t)}));let S={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));let T={};return null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new D({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:u,inputs:S,outputs:T,hostListeners:C,hostProperties:w,hostAttributes:A,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:b,rendererType:E,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:u,hostListeners:l,hostProperties:c,hostAttributes:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:D,rendererType:b,componentFactory:E}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=u,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=S(h),this.viewProviders=S(d),this.queries=S(f),this.guards=m,this.viewQueries=S(y),this.entryComponents=S(g),this.template=v,this.componentViewType=D,this.rendererType=b,this.componentFactory=E}toSummary(){return{summaryKind:s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=D;var x=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=x;var C=class{};e.CompileShallowModuleMetadata=C;var w=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:u,importedModules:l,exportedModules:c,schemas:p,transitiveModule:h,id:d}=e;this.type=t||null,this.declaredDirectives=S(n),this.exportedDirectives=S(i),this.declaredPipes=S(s),this.exportedPipes=S(o),this.providers=S(r),this.entryComponents=S(a),this.bootstrapComponents=S(u),this.importedModules=S(l),this.exportedModules=S(c),this.schemas=S(p),this.id=d||null,this.transitiveModule=h||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=w;var A=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function S(e){return e||[]}e.TransitiveCompileNgModuleMetadata=A;var T=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:o,multi:a}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=o||null,this.multi=!!a}};function F(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?F(t):t;return e.concat(r)}),[])}function k(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function P(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${u(e)}/${u(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:k(i)}function N(e,t){let r=e.moduleUrl.split(/\/\\/g);return k(`css/${t}${r[r.length-1]}.ngstyle.js`)}function _(e){return k(`${u(e.type)}/module.ngfactory.js`)}function O(e,t){return k(`${u(e)}/${u(t.type)}.ngfactory.js`)}e.ProviderMeta=T,e.flatten=F,e.templateSourceUrl=P,e.sharedStylesheetJitUrl=N,e.ngModuleJitUrl=_,e.templateJitUrl=O}}),C=d({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=D(),r=x(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,o=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){o--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?s-e:s}else a--;for(;s0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(o++,a=0):a++}return new n(this.file,s,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";var u=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${s[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};function l(e,t){let s=r.identifierModuleUrl(t),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,u=new i("",o);return new a(new n(u,-1,-1,-1),new n(u,-1,-1,-1))}function c(e,t,r){let s=new i("",`in ${e} ${t} in ${r}`);return new a(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}e.ParseError=u,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=c}}),w=d({"src/utils/front-matter/parse.js"(e,t){v();var r=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}t.exports=n}}),A=d({"src/utils/get-last.js"(e,t){v();var r=e=>e[e.length-1];t.exports=r}}),S=d({"src/common/parser-create-error.js"(e,t){function r(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}v(),t.exports=r}}),T={};function F(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}f(T,{default:()=>F});var k=h({"node_modules/escape-string-regexp/index.js"(){v()}}),P=d({"node_modules/semver/internal/debug.js"(e,t){v();var r="object"==typeof s&&s.env&&s.env.NODE_DEBUG&&/\bsemver\b/i.test(s.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r{};t.exports=r}}),N=d({"node_modules/semver/internal/constants.js"(e,t){v();var r="2.0.0",n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;t.exports={SEMVER_SPEC_VERSION:r,MAX_LENGTH:n,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:s}}}),_=d({"node_modules/semver/internal/re.js"(e,t){v();var{MAX_SAFE_COMPONENT_LENGTH:r}=N(),n=P(),i=(e=t.exports={}).re=[],s=e.src=[],o=e.t={},a=0,u=(e,t,r)=>{let u=a++;n(e,u,t),o[e]=u,s[u]=t,i[u]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),u("FULL",`^${s[o.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),u("LOOSE",`^${s[o.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),u("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",s[o.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",u("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",u("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),O=d({"node_modules/semver/internal/parse-options.js"(e,t){v();var r=["includePrerelease","loose","rtl"],n=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};t.exports=n}}),I=d({"node_modules/semver/internal/identifiers.js"(e,t){v();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:en(t,e);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}}),B=d({"node_modules/semver/classes/semver.js"(e,t){v();var r=P(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=N(),{re:s,t:o}=_(),a=O(),{compareIdentifiers:u}=I(),l=class{constructor(e,t){if(t=a(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let u=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!u)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),j=d({"node_modules/semver/functions/compare.js"(e,t){v();var r=B(),n=(e,t,n)=>new r(e,n).compare(new r(t,n));t.exports=n}}),L=d({"node_modules/semver/functions/lt.js"(e,t){v();var r=j(),n=(e,t,n)=>r(e,t,n)<0;t.exports=n}}),M=d({"node_modules/semver/functions/gte.js"(e,t){v();var r=j(),n=(e,t,n)=>r(e,t,n)>=0;t.exports=n}}),R=d({"src/utils/arrayify.js"(e,t){v(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),$=d({"package.json"(e,t){t.exports={version:"2.8.8"}}}),V=d({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:u,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:u,description:r` - Custom directory that contains prettier plugins in node_modules subdirectory. - Overrides default behavior when plugins are searched relatively to the location of Prettier. - Multiple values are accepted. - `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:u,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:l,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` - Format code ending at a given character offset (exclusive). - The range will extend forwards to the end of the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:i},rangeStart:{since:"1.4.0",category:l,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` - Format code starting at a given character offset. - The range will extend backwards to the start of the first line containing the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:i},requirePragma:{since:"1.7.0",category:l,type:"boolean",default:!1,description:r` - Require either '@prettier' or '@format' to be present in the file's first docblock comment - in order for it to be formatted. - `,cliCategory:o},tabWidth:{type:"int",category:u,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:u,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:u,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:s,CATEGORY_OTHER:o,CATEGORY_OUTPUT:a,CATEGORY_GLOBAL:u,CATEGORY_SPECIAL:l,options:c}}}),q=d({"src/main/support.js"(e,t){v();var i={compare:j(),lt:L(),gte:M()},s=R(),o=$().version,a=U().options;function u(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:u=!1,showInternal:c=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=o.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=s(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),a),"name").filter((e=>f(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort(((e,t)=>i.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&l(t,h,e));let r=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:r})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&i.gte(p,e.since)}function m(e){return u||!("deprecated"in e)||e.deprecated&&i.lt(p,e.deprecated)}function y(e){if(c)return e;let{cliName:t,cliCategory:i,cliDescription:s}=e;return n(e,r)}}function l(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;s&&s.name&&(o+=` (plugin: ${s.name})`),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:u}}}),z=d({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}v(),t.exports=r}});function W(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var G=h({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){v()}});function H(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(W(),"")}var J=h({"node_modules/strip-ansi/index.js"(){v(),G()}});function X(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var Q=h({"node_modules/is-fullwidth-code-point/index.js"(){v()}}),K=d({"node_modules/emoji-regex/index.js"(e,t){v(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Y={};function Z(e){if("string"!=typeof e||0===e.length||0===(e=H(e)).length)return 0;e=e.replace((0,ee.default)()," ");let t=0;for(let r=0;r=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=X(n)?2:1)}return t}f(Y,{default:()=>Z});var ee,te=h({"node_modules/string-width/index.js"(){v(),J(),Q(),ee=y(K())}}),re=d({"src/utils/get-string-width.js"(e,t){v();var r=(te(),g(Y)).default,n=/[^\x20-\x7F]/;function i(e){return e?n.test(e)?r(e):e.length:0}t.exports=i}}),ne=d({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&oe[e.length-2];function y(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function b(e,t,r){for(let n=t;n2&&void 0!==arguments[2]?arguments[2]:{};return u(e,r.backwards?t-1:t,r)!==t}function P(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n(e.match(s.regex)||[]).length?s:i),o}function O(e,t){let r=e.slice(1,-1);return I(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function I(e,t,r){let n='"'===t?"'":'"',i=/\\(.)|(["'])/gs,s=e.replace(i,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+s+t}function B(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function j(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)}function L(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let r of n){let e=r.length/t.length;i.set(e,!0),e>s&&(s=e)}for(let r=1;r{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)}));return n&&n.parsers[0]}function W(e){return e&&"front-matter"===e.type}function G(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function H(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}t.exports={inferParserByLanguage:U,getStringWidth:o,getMaxContinuousCount:j,getMinNotPresentContinuousCount:L,getPenultimate:m,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:S,skip:y,skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:x,isNextLineEmpty:C,isPreviousLineEmpty:E,hasNewline:D,hasNewlineInRange:b,hasSpaces:F,getAlignmentSize:P,getIndentSize:N,getPreferredQuote:_,printString:O,printNumber:B,makeString:I,addLeadingComment:R,addDanglingComment:$,addTrailingComment:V,isFrontMatterNode:W,isNonEmptyArray:s,createGroupIdMapper:G}}}),le=d({"vendors/html-tag-names.json"(e,t){t.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),ce=d({"src/language-html/utils/array-to-map.js"(e,t){function r(e){let t=Object.create(null);for(let r of e)t[r]=!0;return t}v(),t.exports=r}}),pe=d({"src/language-html/utils/html-tag-names.js"(e,t){v();var{htmlTagNames:r}=le(),n=ce()(r);t.exports=n}}),he=d({"vendors/html-element-attributes.json"(e,t){t.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),de=d({"src/language-html/utils/map-object.js"(e,t){function r(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))r[n]=t(i,n);return r}v(),t.exports=r}}),fe=d({"src/language-html/utils/html-elements-attributes.js"(e,t){v();var{htmlElementAttributes:r}=he(),n=de()(r,ce());t.exports=n}}),ye=d({"src/language-html/utils/is-unknown-namespace.js"(e,t){function r(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}v(),t.exports=r}}),ge=d({"src/language-html/pragma.js"(e,t){function r(e){return/^\s*/.test(e)}function n(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}v(),t.exports={hasPragma:r,insertPragma:n}}}),ve=d({"src/language-html/ast.js"(e,t){v();var r={attrs:!0,children:!0},n=new Set(["parent"]),i=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let t of new Set([...n,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in r&&(t=t.map((e=>this.createChild(e)))),!n.has(e))return void(this[e]=t);Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let n in r){let r=this[n];if(r){let o=s(r,(t=>t.map(e)));t!==r&&(t||(t=new i({parent:this.parent})),t.setProperty(n,o))}}if(t)for(let n in this)n in r||(t[n]=this[n]);return e(t||this)}walk(e){for(let t in r){let r=this[t];if(r)for(let t=0;t[e.fullName,e.value])))}};function s(e,t){let r=e.map(t);return r.some(((t,r)=>t!==e[r]))?r:e}t.exports={Node:i}}}),De=d({"src/language-html/conditional-comment.js"(e,t){v();var{ParseSourceSpan:r}=C(),n=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,t(o,u).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new r(u,l)}]]}})();return{type:"ieConditionalComment",complete:c,children:p,condition:s.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new r(e.sourceSpan.start,u),endSourceSpan:new r(l,e.sourceSpan.end)}}function o(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}function a(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}t.exports={parseIeConditionalComment:i}}}),be=d({"src/language-html/loc.js"(e,t){function r(e){return e.sourceSpan.start.offset}function n(e){return e.sourceSpan.end.offset}v(),t.exports={locStart:r,locEnd:n}}}),Ee=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){var t;function r(e){if(":"!=e[0])return[null,e];let t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function n(e){return"ng-container"===r(e)[1]}function i(e){return"ng-content"===r(e)[1]}function s(e){return"ng-template"===r(e)[1]}function o(e){return null===e?null:r(e)[0]}function a(e,t){return e?`:${e}:${t}`:t}v(),Object.defineProperty(e,"__esModule",{value:!0}),(t=e.TagContentType||(e.TagContentType={}))[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA",e.splitNsName=r,e.isNgContainer=n,e.isNgContent=i,e.isNgTemplate=s,e.getNsPrefix=o,e.mergeNsAndName=a,e.NAMED_ENTITIES={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",AMP:"&",amp:"&",And:"\u2a53",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",ap:"\u2248",apacir:"\u2a6f",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250c",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252c",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxUL:"\u255d",boxUl:"\u255c",boxuL:"\u255b",boxul:"\u2518",boxUR:"\u255a",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256c",boxVh:"\u256b",boxvH:"\u256a",boxvh:"\u253c",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255f",boxvR:"\u255e",boxvr:"\u251c",bprime:"\u2035",Breve:"\u02d8",breve:"\u02d8",brvbar:"\xa6",Bscr:"\u212c",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22d2",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"\u212d",cfr:"\ud835\udd20",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",Conint:"\u222f",conint:"\u222e",ContourIntegral:"\u222e",Copf:"\u2102",copf:"\ud835\udd54",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xa9",copy:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",Cross:"\u2a2f",cross:"\u2717",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",Cup:"\u22d3",cup:"\u222a",cupbrcap:"\u2a48",CupCap:"\u224d",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21a1",dArr:"\u21d3",darr:"\u2193",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",Diamond:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21d3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",ecir:"\u2256",Ecirc:"\xca",ecirc:"\xea",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212f",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",ForAll:"\u2200",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\ud835\udcbb",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",Gg:"\u22d9",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gnE:"\u2269",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",GT:">",Gt:"\u226b",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",hArr:"\u21d4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",Hfr:"\u210c",hfr:"\ud835\udd25",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",Hopf:"\u210d",hopf:"\ud835\udd59",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210b",hscr:"\ud835\udcbd",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",Ifr:"\u2111",ifr:"\ud835\udd26",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",Int:"\u222c",int:"\u222b",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",Iscr:"\u2110",iscr:"\ud835\udcbe",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",Lang:"\u27ea",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",Larr:"\u219e",lArr:"\u21d0",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",lAtail:"\u291b",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lBarr:"\u290e",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",Leftarrow:"\u21d0",leftarrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22d8",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lnE:"\u2268",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftarrow:"\u27f5",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\ud835\udcc1",Lsh:"\u21b0",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226a",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",Mscr:"\u2133",mscr:"\ud835\udcc2",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21d7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlArr:"\u21cd",nlarr:"\u219a",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21cd",nleftarrow:"\u219a",nLeftrightarrow:"\u21ce",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",nopf:"\ud835\udd5f",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nRightarrow:"\u21cf",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nVDash:"\u22af",nVdash:"\u22ae",nvDash:"\u22ad",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwArr:"\u21d6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",ocir:"\u229a",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",Or:"\u2a54",or:"\u2228",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",Otimes:"\u2a37",otimes:"\u2297",otimesas:"\u2a36",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",Popf:"\u2119",popf:"\ud835\udd61",pound:"\xa3",Pr:"\u2abb",pr:"\u227a",prap:"\u2ab7",prcue:"\u227c",prE:"\u2ab3",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",Qopf:"\u211a",qopf:"\ud835\udd62",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",QUOT:'"',quot:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",Rang:"\u27eb",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",Rarr:"\u21a0",rArr:"\u21d2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",rAtail:"\u291c",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",RBarr:"\u2910",rBarr:"\u290f",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",REG:"\xae",reg:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",Rfr:"\u211c",rfr:"\ud835\udd2f",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",Rightarrow:"\u21d2",rightarrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",Ropf:"\u211d",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",Rscr:"\u211b",rscr:"\ud835\udcc7",Rsh:"\u21b1",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",Sc:"\u2abc",sc:"\u227b",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227d",scE:"\u2ab4",sce:"\u2ab0",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",seArr:"\u21d8",searr:"\u2198",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",Square:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",Sub:"\u22d0",sub:"\u2282",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",Subset:"\u22d0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",Sum:"\u2211",sum:"\u2211",sung:"\u266a",Sup:"\u22d1",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",Supset:"\u22d1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swArr:"\u21d9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",Tilde:"\u223c",tilde:"\u02dc",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",Uarr:"\u219f",uArr:"\u21d1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrow:"\u2191",Uparrow:"\u21d1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",Updownarrow:"\u21d5",updownarrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",upsi:"\u03c5",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",vArr:"\u21d5",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",Vbar:"\u2aeb",vBar:"\u2ae8",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22ab",Vdash:"\u22a9",vDash:"\u22a8",vdash:"\u22a2",Vdashl:"\u2ae6",Vee:"\u22c1",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",Wedge:"\u22c0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",Xi:"\u039e",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",Yuml:"\u0178",yuml:"\xff",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",Zfr:"\u2128",zfr:"\ud835\udd37",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",Zopf:"\u2124",zopf:"\ud835\udd6b",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"},e.NGSP_UNICODE="\ue500",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),xe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=Ee(),i=class{constructor(){let{closedByChildren:e,implicitNamespacePrefix:t,contentType:r=n.TagContentType.PARSABLE_DATA,closedByParent:i=!1,isVoid:s=!1,ignoreFirstLf:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=s,this.closedByParent=i||s,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}};function s(e){return r||(t=new i,r={base:new i({isVoid:!0}),meta:new i({isVoid:!0}),area:new i({isVoid:!0}),embed:new i({isVoid:!0}),link:new i({isVoid:!0}),img:new i({isVoid:!0}),input:new i({isVoid:!0}),param:new i({isVoid:!0}),hr:new i({isVoid:!0}),br:new i({isVoid:!0}),source:new i({isVoid:!0}),track:new i({isVoid:!0}),wbr:new i({isVoid:!0}),p:new i({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new i({closedByChildren:["tbody","tfoot"]}),tbody:new i({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new i({closedByChildren:["tbody"],closedByParent:!0}),tr:new i({closedByChildren:["tr"],closedByParent:!0}),td:new i({closedByChildren:["td","th"],closedByParent:!0}),th:new i({closedByChildren:["td","th"],closedByParent:!0}),col:new i({isVoid:!0}),svg:new i({implicitNamespacePrefix:"svg"}),math:new i({implicitNamespacePrefix:"math"}),li:new i({closedByChildren:["li"],closedByParent:!0}),dt:new i({closedByChildren:["dt","dd"]}),dd:new i({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new i({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new i({closedByChildren:["optgroup"],closedByParent:!0}),option:new i({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new i({ignoreFirstLf:!0}),listing:new i({ignoreFirstLf:!0}),style:new i({contentType:n.TagContentType.RAW_TEXT}),script:new i({contentType:n.TagContentType.RAW_TEXT}),title:new i({contentType:n.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new i({contentType:n.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),r[e]||t}e.HtmlTagDefinition=i,e.getHtmlTagDefinition=s}}),Ce=d({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let r=this.path[t];if(r instanceof e)return r}}push(e){this.path.push(e)}pop(){return this.path.pop()}};e.AstPath=t}}),we=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ce(),r=class{constructor(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r,this.type="text"}visit(e,t){return e.visitText(this,t)}};e.Text=r;var n=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};e.CDATA=n;var i=class{constructor(e,t,r,n,i,s){this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=i,this.i18n=s}visit(e,t){return e.visitExpansion(this,t)}};e.Expansion=i;var s=class{constructor(e,t,r,n,i){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}};e.ExpansionCase=s;var o=class{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.nameSpan=i,this.i18n=s,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}};e.Attribute=o;var a=class{constructor(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=s,this.nameSpan=o,this.i18n=a,this.type="element"}visit(e,t){return e.visitElement(this,t)}};e.Element=a;var u=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};e.Comment=u;var l=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}};function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[],i=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach((e=>{let t=i(e);t&&n.push(t)})),n}e.DocType=l,e.visitAll=c;var p=class{constructor(){}visitElement(e,t){this.visitChildren(t,(t=>{t(e.attrs),t(e.children)}))}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,(t=>{t(e.cases)}))}visitExpansionCase(e,t){}visitChildren(e,t){let r=[],n=this;function i(t){t&&r.push(c(n,t,e))}return t(i),Array.prototype.concat.apply([],r)}};function h(e){let t=e.sourceSpan.start.offset,r=e.sourceSpan.end.offset;return e instanceof a&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=h(e.children[e.children.length-1]).end)),{start:t,end:r}}function d(e,r){let n=[];return c(new class extends p{visit(e,t){let i=h(e);if(!(i.start<=r&&r]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function n(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){let e=t[0],n=t[1];r.forEach((t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)}))}}e.assertInterpolationSymbols=n}}),Te=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ae(),r=class{constructor(e,t){this.start=e,this.end=t}static fromArray(n){return n?(t.assertInterpolationSymbols("interpolation",n),new r(n[0],n[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=r,e.DEFAULT_INTERPOLATION_CONFIG=new r("{{","}}")}}),Fe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=D(),i=C(),s=Te(),o=Ee();(r=t=e.TokenType||(e.TokenType={}))[r.TAG_OPEN_START=0]="TAG_OPEN_START",r[r.TAG_OPEN_END=1]="TAG_OPEN_END",r[r.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",r[r.TAG_CLOSE=3]="TAG_CLOSE",r[r.TEXT=4]="TEXT",r[r.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",r[r.RAW_TEXT=6]="RAW_TEXT",r[r.COMMENT_START=7]="COMMENT_START",r[r.COMMENT_END=8]="COMMENT_END",r[r.CDATA_START=9]="CDATA_START",r[r.CDATA_END=10]="CDATA_END",r[r.ATTR_NAME=11]="ATTR_NAME",r[r.ATTR_QUOTE=12]="ATTR_QUOTE",r[r.ATTR_VALUE=13]="ATTR_VALUE",r[r.DOC_TYPE_START=14]="DOC_TYPE_START",r[r.DOC_TYPE_END=15]="DOC_TYPE_END",r[r.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",r[r.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",r[r.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",r[r.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",r[r.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",r[r.EOF=21]="EOF";var a=class{constructor(e,t,r){this.type=e,this.parts=t,this.sourceSpan=r}};e.Token=a;var u=class extends i.ParseError{constructor(e,t,r){super(r,e),this.tokenType=t}};e.TokenError=u;var l=class{constructor(e,t){this.tokens=e,this.errors=t}};function c(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new m(new i.ParseSourceFile(e,t),r,n).tokenize()}e.TokenizeResult=l,e.tokenize=c;var p=/\r\n?/g;function h(e){return`Unexpected character "${e===n.$EOF?"EOF":String.fromCharCode(e)}"`}function d(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}var f=class{constructor(e){this.error=e}},m=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||s.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new k(e,n):new F(e,n);try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return e.replace(p,"\n")}tokenize(){for(;this._cursor.peek()!==n.$EOF;){let t=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(t):this._attemptStr("--")?this._consumeComment(t):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(t):this._consumeBogusComment(t);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(t);else{let e=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=e,this._consumeBogusComment(t)):this._consumeTagOpen(t)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(t.EOF),this._endToken([]),new l(T(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(w(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===n.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new u("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new u("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r=new a(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let r=new u(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new f(r)}handleError(e){if(e instanceof P&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof f))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!A(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("--\x3e"))),this._beginToken(t.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===n.$GT)),this._beginToken(t.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(t.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(t.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(t.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===n.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;this._cursor.peek()!==n.$COLON&&!b(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===n.$COLON?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(g,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,s,a=this.tokens.length,u=this._cursor.clone(),l=[];try{if(!n.isAsciiLetter(this._cursor.peek()))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),i=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(y);this._cursor.peek()!==n.$SLASH&&this._cursor.peek()!==n.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(y),this._attemptCharCode(n.$EQ)){this._attemptCharCodeUntilFn(y);let r=this._consumeAttributeValue();l.push({prefix:e,name:t,value:r})}else l.push({prefix:e,name:t});this._attemptCharCodeUntilFn(y)}this._consumeTagOpenEnd()}catch(p){if(p instanceof f)return this._cursor=u,s&&(this.tokens.length=a),this._beginToken(t.TEXT,e),void this._endToken(["<"]);throw p}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===t.TAG_OPEN_END_VOID)return;let c=this._getTagContentType(r,i,this._fullNameStack.length>0,l);this._handleFullNameStackForTagOpen(i,r),c===o.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,r,!1):c===o.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,r,!0)}_consumeRawTextWithTagClose(e,r,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(n.$LT)&&this._attemptCharCode(n.$SLASH)&&(this._attemptCharCodeUntilFn(y),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(y),this._attemptCharCode(n.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===n.$GT),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(t.TAG_OPEN_START,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===n.$SQ||e===n.$DQ)throw this._createError(h(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===n.$SQ||this._cursor.peek()===n.$DQ){this._beginToken(t.ATTR_QUOTE);let r=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(r)]),this._beginToken(t.ATTR_VALUE);let n=[];for(;this._cursor.peek()!==r;)n.push(this._readChar(!0));e=this._processCarriageReturns(n.join("")),this._endToken([e]),this._beginToken(t.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(r)])}else{this._beginToken(t.ATTR_VALUE);let r=this._cursor.clone();this._requireCharCodeUntilFn(g,1),e=this._processCarriageReturns(this._cursor.getChars(r)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(n.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(n.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(y),this._allowHtmComponentClosingTags&&this._attemptCharCode(n.$SLASH))this._attemptCharCodeUntilFn(y),this._requireCharCode(n.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(y),this._requireCharCode(n.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(n.$COMMA);this._endToken([e]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(y),this._beginToken(t.RAW_TEXT);let r=this._readUntil(n.$COMMA);this._endToken([r]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(y)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(n.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(y),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let e=this._cursor.clone();this._beginToken(t.TEXT,e);let r=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(r.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(r.push(this._interpolationConfig.end),this._inInterpolation=!1):r.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(r.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===n.$LT||this._cursor.peek()===n.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===n.$RBRACE&&this._isInExpansionCase()))}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==n.$LBRACE)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=o.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=o.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function y(e){return!n.isWhitespace(e)||e===n.$EOF}function g(e){return n.isWhitespace(e)||e===n.$GT||e===n.$SLASH||e===n.$SQ||e===n.$DQ||e===n.$EQ}function b(e){return(en.$9)}function E(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiHexDigit(e)}function x(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiLetter(e)}function w(e){return e===n.$EQ||n.isAsciiLetter(e)||n.isDigit(e)}function A(e,t){return S(e)==S(t)}function S(e){return e>=n.$a&&e<=n.$z?e-n.$a+n.$A:e}function T(e){let r,n=[];for(let i=0;i0&&-1!==t.indexOf(e.peek());)e.advance();return new i.ParseSourceSpan(new i.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new i.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new P('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===n.$LF?(e.line++,e.column=0):n.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?n.$EOF:this.charAt(e.offset)}},k=class extends F{constructor(e,t){e instanceof k?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new k(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek;if(e()===n.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===n.$n)this.state.peek=n.$LF;else if(e()===n.$r)this.state.peek=n.$CR;else if(e()===n.$v)this.state.peek=n.$VTAB;else if(e()===n.$t)this.state.peek=n.$TAB;else if(e()===n.$b)this.state.peek=n.$BSPACE;else if(e()===n.$f)this.state.peek=n.$FF;else if(e()===n.$u)if(this.advanceState(this.internalState),e()===n.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==n.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===n.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(n.isOctalDigit(e())){let t="",r=0,i=this.clone();for(;n.isOctalDigit(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else n.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.substr(e.internalState.offset,t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new P("Invalid hexadecimal escape sequence",e);return n}},P=class{constructor(e,t){this.msg=e,this.cursor=t}};e.CursorError=P}}),ke=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=C(),r=we(),n=Fe(),i=Ee(),s=class extends t.ParseError{constructor(e,t,r){super(t,r),this.elementName=e}static create(e,t,r){return new s(e,t,r)}};e.TreeError=s;var o=class{constructor(e,t){this.rootNodes=e,this.errors=t}};e.ParseTreeResult=o;var a=class{constructor(e){this.getTagDefinition=e}parse(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0,a=e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;il(e).contentType,p=i?s:a(s),h=s?(e,t,r,n)=>{let i=p(e,t,r,n);return void 0!==i?i:c(e)}:c,d=n.tokenize(e,t,h,r),f=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,y=new u(d.tokens,l,f,m,i).build();return new o(y.rootNodes,d.errors.concat(y.errors))}};e.Parser=a;var u=class{constructor(e,t,r,n,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=i,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==n.TokenType.EOF;)this._peek.type===n.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===n.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===n.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===n.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===n.TokenType.TEXT||this._peek.type===n.TokenType.RAW_TEXT||this._peek.type===n.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===n.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===n.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new o(this._rootNodes,this._errors)}_advance(){let e=this._peek;return this._index0)return this._errors=this._errors.concat(l.errors),null;let c=new t.ParseSourceSpan(e.sourceSpan.start,a.sourceSpan.end),p=new t.ParseSourceSpan(i.sourceSpan.start,a.sourceSpan.end);return new r.ExpansionCase(e.parts[0],l.rootNodes,c,e.sourceSpan,p)}_collectExpansionExpTokens(e){let t=[],r=[n.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===n.TokenType.EXPANSION_FORM_START||this._peek.type===n.TokenType.EXPANSION_CASE_EXP_START)&&r.push(this._peek.type),this._peek.type===n.TokenType.EXPANSION_CASE_EXP_END){if(!l(r,n.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(s.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t}if(this._peek.type===n.TokenType.EXPANSION_FORM_END){if(!l(r,n.TokenType.EXPANSION_FORM_START))return this._errors.push(s.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===n.TokenType.EOF)return this._errors.push(s.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){let e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=this._getText(e);t.length>0&&this._addToParent(new r.Text(t,e.sourceSpan))}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let o=e.parts[0],a=e.parts[1],u=[];for(;this._peek.type===n.TokenType.ATTR_NAME;)u.push(this._consumeAttr(this._advance()));let l=this._getElementFullName(o,a,this._getParentElement()),c=!1;if(this._peek.type===n.TokenType.TAG_OPEN_END_VOID){this._advance(),c=!0;let t=this.getTagDefinition(l);this.canSelfClose||t.canSelfClose||null!==i.getNsPrefix(l)||t.isVoid||this._errors.push(s.create(l,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===n.TokenType.TAG_OPEN_END&&(this._advance(),c=!1);let p=this._peek.sourceSpan.start,h=new t.ParseSourceSpan(e.sourceSpan.start,p),d=new t.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new r.Element(l,u,[],h,h,void 0,d);this._pushElement(f),c&&(this._popElement(l),f.endSourceSpan=h)}_pushElement(e){let t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(s.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(s.create(t,e.sourceSpan,r))}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){let r=this._elementStack[t];if(!e||(i.getNsPrefix(r.name)?r.name==e:r.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1}_consumeAttr(e){let s,o,a=i.mergeNsAndName(e.parts[0],e.parts[1]),u=e.sourceSpan.end,l="";if(this._peek.type===n.TokenType.ATTR_QUOTE&&(o=this._advance().sourceSpan.start),this._peek.type===n.TokenType.ATTR_VALUE){let e=this._advance();l=e.parts[0],u=e.sourceSpan.end,s=e.sourceSpan}return this._peek.type===n.TokenType.ATTR_QUOTE&&(u=this._advance().sourceSpan.end,s=new t.ParseSourceSpan(o,u)),new r.Attribute(a,l,new t.ParseSourceSpan(e.sourceSpan.start,u),s,e.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let e=null;for(let t=this._elementStack.length-1;t>=0;t--){if(!i.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}_addToParent(e){let t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}_insertBeforeContainer(e,t,r){if(t){if(e){let n=e.children.indexOf(t);e.children[n]=r}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r)}else this._addToParent(r),this._elementStack.push(r)}_getElementFullName(e,t,r){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r&&(e=i.getNsPrefix(r.name)),i.mergeNsAndName(e,t)}};function l(e,t){return e.length>0&&e[e.length-1]===t}}}),Pe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=xe(),r=ke(),n=ke();e.ParseTreeResult=n.ParseTreeResult,e.TreeError=n.TreeError;var i=class extends r.Parser{constructor(){super(t.getHtmlTagDefinition)}parse(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,r,n,i)}};e.HtmlParser=i}}),Ne=d({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pe(),r=Ee();e.TagContentType=r.TagContentType;var n=null,i=()=>(n||(n=new t.HtmlParser),n);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:o}=t;return i().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},s,o)}e.parse=s}});v();var{ParseSourceSpan:_e,ParseLocation:Oe,ParseSourceFile:Be}=C(),je=w(),Le=A(),Me=S(),{inferParserByLanguage:Re}=ue(),$e=pe(),Ve=fe(),Ue=ye(),{hasPragma:qe}=ge(),{Node:ze}=ve(),{parseIeConditionalComment:We}=De(),{locStart:Ge,locEnd:He}=be();function Je(e,t,r){let{canSelfClose:n,normalizeTagName:i,normalizeAttributeName:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a,getTagContentType:u}=t,l=Ne(),{RecursiveVisitor:c,visitAll:p}=we(),{ParseSourceSpan:h}=C(),{getHtmlTagDefinition:d}=xe(),{rootNodes:f,errors:m}=l.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a,getTagContentType:u});if("vue"===r.parser)if(f.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))){n=!0,i=!0,s=!0,o=!0,a=!1;let t=l.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a});f=t.rootNodes,m=t.errors}else{let t=e=>{if(!e||"element"!==e.type||"template"!==e.name)return!1;let t=e.attrs.find((e=>"lang"===e.name)),n=t&&t.value;return!n||"html"===Re(n,r)};if(f.some(t)){let r,i=()=>l.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a}),s=()=>r||(r=i()),u=e=>s().rootNodes.find((t=>{let{startSourceSpan:r}=t;return r&&r.start.offset===e.startSourceSpan.start.offset}));for(let e=0;e0){let{msg:e,span:{start:t,end:r}}=m[0];throw Me(e,{start:{line:t.line+1,column:t.col+1},end:{line:r.line+1,column:r.col+1}})}let y=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith(`${t}:`),i=n?r.slice(t.length+1):r;e.name=i,e.namespace=t,e.hasExplicitNamespace=n},g=e=>{switch(e.type){case"element":y(e);for(let t of e.attrs)y(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}},v=(e,t)=>{let r=e.toLowerCase();return t(r)?r:e},D=e=>{if("element"===e.type&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||Ue(e))&&(e.name=v(e.name,(e=>e in $e))),s)){let t=Ve[e.name]||Object.create(null);for(let r of e.attrs)r.namespace||(r.name=v(r.name,(r=>e.name in Ve&&(r in Ve["*"]||r in t))))}},b=e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))},E=e=>{if("element"===e.type){let t=d(a?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||Ue(e)?e.tagDefinition=t:e.tagDefinition=d("")}};return p(new class extends c{visit(e){g(e),E(e),D(e),b(e)}},f),f}function Xe(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:s}=n?je(e):{frontMatter:null,content:e},o=new Be(e,t.filepath),a=new Oe(o,0,0,0),u=a.moveBy(e.length),l={type:"root",sourceSpan:new _e(a,u),children:Je(s,r,t)};if(i){let e=new Oe(o,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new _e(e,t),l.children.unshift(i)}let c=new ze(l),p=(n,i)=>{let{offset:s}=i,o=Xe(e.slice(0,s).replace(/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new _e(i,Le(o.children).sourceSpan.end);let a=o.children[0];return a.length===s?o.children.shift():(a.sourceSpan=new _e(a.sourceSpan.start.moveBy(s),a.sourceSpan.end),a.value=a.value.slice(s)),o};return c.walk((e=>{if("comment"===e.type){let t=We(e,p);t&&e.parent.replaceChild(e,t)}})),c}function Qe(){let{name:e,canSelfClose:t=!1,normalizeTagName:r=!1,normalizeAttributeName:n=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:s=!1,getTagContentType:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{parse:(a,u,l)=>Xe(a,Object.assign({parser:e},l),{canSelfClose:t,normalizeTagName:r,normalizeAttributeName:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:s,getTagContentType:o}),hasPragma:qe,astFormat:"html",locStart:Ge,locEnd:He}}t.exports={parsers:{html:Qe({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Qe({name:"angular",canSelfClose:!0}),vue:Qe({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,r,n)=>{if("html"!==e.toLowerCase()&&!r&&("template"!==e||n.some((e=>{let{name:t,value:r}=e;return"lang"===t&&"html"!==r&&""!==r&&void 0!==r}))))return Ne().TagContentType.RAW_TEXT}}),lwc:Qe({name:"lwc"})}}}));return Be()}()},5657:function(e,t,r){var n=r(8764).lW;e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),i=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),s=e(((e,t)=>{var r=i();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),o=e(((e,t)=>{var r=i();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),a=e(((e,t)=>{var r=o(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),u=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),l=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),c=e(((e,t)=>{var r=o(),n=Function.prototype,i=n.call,s=r&&n.bind.bind(i,i);t.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}})),p=e(((e,t)=>{var r=c(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),h=e(((e,t)=>{var r=c(),n=i(),s=p(),o=Object,a=r("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o})),d=e(((e,t)=>{t.exports=function(e){return null==e}})),f=e(((e,t)=>{var r=d(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),m=e(((e,t)=>{var r=h(),n=f();t.exports=function(e){return r(n(e))}})),y=e(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),g=e(((e,t)=>{var r=y(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),v=e(((e,t)=>{var r=g(),n=y(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),D=e(((e,r)=>{var n=t(),i=g(),s=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}})),b=e(((e,t)=>{var r=c();t.exports=r({}.isPrototypeOf)})),E=e(((e,t)=>{var r=D();t.exports=r("navigator","userAgent")||""})),x=e(((e,r)=>{var n,i,s=t(),o=E(),a=s.process,u=s.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),C=e(((e,t)=>{var r=x(),n=i();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),w=e(((e,t)=>{var r=C();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),A=e(((e,t)=>{var r=D(),n=g(),i=b(),s=w(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),S=e(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),T=e(((e,t)=>{var r=g(),n=S(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),F=e(((e,t)=>{var r=T(),n=d();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),k=e(((e,t)=>{var r=a(),n=g(),i=v(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),P=e(((e,t)=>{t.exports=!1})),N=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),_=e(((e,r)=>{var n=t(),i=N(),s="__core-js_shared__",o=n[s]||i(s,{});r.exports=o})),O=e(((e,t)=>{var r=P(),n=_();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),I=e(((e,t)=>{var r=f(),n=Object;t.exports=function(e){return n(r(e))}})),B=e(((e,t)=>{var r=c(),n=I(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),j=e(((e,t)=>{var r=c(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),L=e(((e,r)=>{var n=t(),i=O(),s=B(),o=j(),a=C(),u=w(),l=i("wks"),c=n.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||o;r.exports=function(e){if(!s(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&s(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),M=e(((e,t)=>{var r=a(),n=v(),i=A(),s=F(),o=k(),u=L(),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var a,u=s(e,c);if(u){if(void 0===t&&(t="default"),a=r(u,e,t),!n(a)||i(a))return a;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),R=e(((e,t)=>{var r=M(),n=A();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),$=e(((e,r)=>{var n=t(),i=v(),s=n.document,o=i(s)&&i(s.createElement);r.exports=function(e){return o?s.createElement(e):{}}})),V=e(((e,t)=>{var r=s(),n=i(),o=$();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),U=e((e=>{var t=s(),r=a(),n=u(),i=l(),o=m(),c=R(),p=B(),h=V(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=o(e),t=c(t),h)try{return d(e,t)}catch{}if(p(e,t))return i(!r(n.f,e,t),e[t])}})),q=e(((e,t)=>{var r=s(),n=i();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),z=e(((e,t)=>{var r=v(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),W=e((e=>{var t=s(),r=V(),n=q(),i=z(),o=R(),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(i(e),t=o(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(i(e),t=o(t),i(n),r)try{return u(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),G=e(((e,t)=>{var r=s(),n=W(),i=l();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),H=e(((e,t)=>{var r=s(),n=B(),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=n(i,"name"),u=a&&"something"===function(){}.name,l=a&&(!r||r&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}})),J=e(((e,t)=>{var r=c(),n=g(),i=_(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),X=e(((e,r)=>{var n=t(),i=g(),s=n.WeakMap;r.exports=i(s)&&/native code/.test(String(s))})),Q=e(((e,t)=>{var r=O(),n=j(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),K=e(((e,t)=>{t.exports={}})),Y=e(((e,r)=>{var n,i,s,o,a,u=X(),l=t(),c=v(),p=G(),h=B(),d=_(),f=Q(),m=K(),y="Object already initialized",g=l.TypeError,D=l.WeakMap,b=function(e){return s(e)?i(e):n(e,{})},E=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}};u||d.state?((o=d.state||(d.state=new D)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw g(y);return t.facade=e,o.set(e,t),t},i=function(e){return o.get(e)||{}},s=function(e){return o.has(e)}):(m[a=f("state")]=!0,n=function(e,t){if(h(e,a))throw g(y);return t.facade=e,p(e,a,t),t},i=function(e){return h(e,a)?e[a]:{}},s=function(e){return h(e,a)}),r.exports={set:n,get:i,has:s,enforce:b,getterFor:E}})),Z=e(((e,t)=>{var r=i(),n=g(),o=B(),a=s(),u=H().CONFIGURABLE,l=J(),c=Y(),p=c.enforce,h=c.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||u&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return o(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return n(this)&&h(this).source||l(this)}),"toString")})),ee=e(((e,t)=>{var r=g(),n=W(),i=Z(),s=N();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),te=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),re=e(((e,t)=>{var r=te();t.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}})),ne=e(((e,t)=>{var r=re(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ie=e(((e,t)=>{var r=re(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),se=e(((e,t)=>{var r=ie();t.exports=function(e){return r(e.length)}})),oe=e(((e,t)=>{var r=m(),n=ne(),i=se(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),ae=e(((e,t)=>{var r=c(),n=B(),i=m(),s=oe().indexOf,o=K(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),ue=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),le=e((e=>{var t=ae(),r=ue().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ce=e((e=>{e.f=Object.getOwnPropertySymbols})),pe=e(((e,t)=>{var r=D(),n=c(),i=le(),s=ce(),o=z(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),he=e(((e,t)=>{var r=B(),n=pe(),i=U(),s=W();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c{var r=i(),n=g(),s=/#|\.prototype\./,o=function(e,t){var i=u[a(e)];return i==c||i!=l&&(n(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),fe=e(((e,r)=>{var n=t(),i=U().f,s=G(),o=ee(),a=N(),u=he(),l=de();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),o(r,c,h,e)}}})),me=e((()=>{var e=fe(),r=t();e({global:!0,forced:r.globalThis!==r},{globalThis:r})})),ye=e((()=>{me()})),ge=e(((e,t)=>{ye();var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a=(e,t)=>function(){return e&&(t=(0,e[s(e)[0]])(e=0)),t},u=(e,t)=>function(){return t||(0,e[s(e)[0]])((t={exports:{}}).exports,t),t.exports},l=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},c=(e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of s(t))!o.call(e,u)&&u!==n&&r(e,u,{get:()=>t[u],enumerable:!(a=i(t,u))||a.enumerable});return e},p=e=>c(r({},"__esModule",{value:!0}),e),h=a({""(){}}),d=u({"src/common/parser-create-error.js"(e,t){function r(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}h(),t.exports=r}}),f=u({"src/utils/get-last.js"(e,t){h();var r=e=>e[e.length-1];t.exports=r}}),m=u({"src/utils/front-matter/parse.js"(e,t){h();var r=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}t.exports=n}}),y={};function g(){if(typeof N>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])N="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");N="LE"}}return N}function v(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function D(){return[]}function b(){return 0}function E(){return Number.MAX_VALUE}function x(){return Number.MAX_VALUE}function C(){return[]}function w(){return"Browser"}function A(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function S(){}function T(){}function F(){return"javascript"}function k(){return"browser"}function P(){return"/tmp"}l(y,{EOL:()=>O,arch:()=>F,cpus:()=>C,default:()=>I,endianness:()=>g,freemem:()=>E,getNetworkInterfaces:()=>T,hostname:()=>v,loadavg:()=>D,networkInterfaces:()=>S,platform:()=>k,release:()=>A,tmpDir:()=>P,tmpdir:()=>_,totalmem:()=>x,type:()=>w,uptime:()=>b});var N,_,O,I,B=a({"node-modules-polyfills:os"(){h(),I={EOL:O="\n",tmpdir:_=P,tmpDir:P,networkInterfaces:S,getNetworkInterfaces:T,release:A,type:w,cpus:C,totalmem:x,freemem:E,uptime:b,loadavg:D,hostname:v,endianness:g}}}),j=u({"node-modules-polyfills-commonjs:os"(e,t){h();var r=(B(),p(y));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),L=u({"node_modules/detect-newline/index.js"(e,t){h();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),M=u({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=j();return t=function(){return e},e}function r(){let e=n(L());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}h(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=f,e.parse=y,e.parseWithComments=g,e.print=v,e.strip=m;var i=/\*\/$/,s=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,d=[];function f(e){let t=e.match(o);return t?t[0].trimLeft():""}function m(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function y(e){return g(e).pragmas}function g(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(p,"$1");let o="";for(;o!==e;)o=e,e=e.replace(l,`${n}$1 $2${n}`);e=e.replace(u,"").trimRight();let h,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;h=c.exec(e);){let e=h[2].replace(a,"");"string"==typeof f[h[1]]||Array.isArray(f[h[1]])?f[h[1]]=d.concat(f[h[1]],e):f[h[1]]=e}return{comments:m,pragmas:f}}function v(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o="/**",a=" *",u=" */",l=Object.keys(i),c=l.map((e=>D(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${a} ${e}${s}`)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return`${o} ${D(l[0],e)[0]}${u}`}}let p=n.split(s).map((e=>`${a} ${e}`)).join(s)+s;return o+s+(n?p:"")+(n&&l.length?a+s:"")+c+u}function D(e,t){return d.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),R=u({"src/common/end-of-line.js"(e,t){function r(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}h(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),$=u({"src/language-js/utils/get-shebang.js"(e,t){function r(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}h(),t.exports=r}}),V=u({"src/language-js/pragma.js"(e,t){h();var{parseWithComments:r,strip:n,extract:i,print:s}=M(),{normalizeEndOfLine:o}=R(),a=$();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),U=u({"src/language-css/pragma.js"(e,t){h();var r=V(),n=m();function i(e){return r.hasPragma(n(e).content)}function s(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}t.exports={hasPragma:i,insertPragma:s}}}),q=u({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o0}h(),t.exports=r}}),H=u({"src/language-css/utils/has-scss-interpolation.js"(e,t){h();var r=G();function n(e){if(r(e))for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1}t.exports=n}}),J=u({"src/language-css/utils/has-string-or-function.js"(e,t){function r(e){return e.some((e=>"string"===e.type||"func"===e.type))}h(),t.exports=r}}),X=u({"src/language-css/utils/is-less-parser.js"(e,t){function r(e){return"css"===e.parser||"less"===e.parser}h(),t.exports=r}}),Q=u({"src/language-css/utils/is-scss.js"(e,t){function r(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}h(),t.exports=r}}),K=u({"src/language-css/utils/is-scss-nested-property-node.js"(e,t){function r(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}h(),t.exports=r}}),Y=u({"src/language-css/utils/is-scss-variable.js"(e,t){function r(e){return Boolean("word"===(null==e?void 0:e.type)&&e.value.startsWith("$"))}h(),t.exports=r}}),Z=u({"src/language-css/utils/stringify-node.js"(e,t){function r(e){var t,n,i,s,o,a;if(e.groups)return((null===(s=e.open)||void 0===s?void 0:s.value)||"")+e.groups.map((e=>r(e))).join("comma_group"===(null===(o=e.groups[0])||void 0===o?void 0:o.type)?",":"")+((null===(a=e.close)||void 0===a?void 0:a.value)||"");let u=(null===(t=e.raws)||void 0===t?void 0:t.before)||"",l=(null===(n=e.raws)||void 0===n?void 0:n.quote)||"";return u+l+("atword"===e.type?"@":"")+(e.value||"")+l+(e.unit||"")+(e.group?r(e.group):"")+((null===(i=e.raws)||void 0===i?void 0:i.after)||"")}h(),t.exports=r}}),ee=u({"src/language-css/utils/is-module-rule-name.js"(e,t){h();var r=new Set(["import","use","forward"]);function n(e){return r.has(e)}t.exports=n}}),te=u({"node_modules/postcss-values-parser/lib/node.js"(e,t){h();var r=function(e,t){let n=new e.constructor;for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i],o=typeof s;"parent"===i&&"object"===o?t&&(n[i]=t):"source"===i?n[i]=s:s instanceof Array?n[i]=s.map((e=>r(e,n))):"before"!==i&&"after"!==i&&"between"!==i&&"semicolon"!==i&&("object"===o&&null!==s&&(s=r(s)),n[i]=s)}return n};t.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let t in e)this[t]=e[t]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let t=r(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e){e=e||{};let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e){e=e||{};let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let t of e)this.parent.insertBefore(this,t);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let t in this){if(!this.hasOwnProperty(t)||"parent"===t)continue;let r=this[t];r instanceof Array?e[t]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON():e)):"object"==typeof r&&r.toJSON?e[t]=r.toJSON():e[t]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let t=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i{let n=e(t,r);return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkType(e,t){if(!e||!t)throw new Error("Parameters {type} and {callback} are required.");let r="function"==typeof e;return this.walk(((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return t.call(this,n,i)}))}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertAfter(e,t){let r,n=this.index(e);this.nodes.splice(n+1,0,t);for(let i in this.indexes)r=this.indexes[i],n<=r&&(this.indexes[i]=r+this.nodes.length);return this}insertBefore(e,t){let r,n=this.index(e);this.nodes.splice(n,0,t);for(let i in this.indexes)r=this.indexes[i],n<=r&&(this.indexes[i]=r+this.nodes.length);return this}removeChild(e){let t;e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};n.registerWalker=e=>{let t="walk"+e.name;t.lastIndexOf("s")!==t.length-1&&(t+="s"),!n.prototype[t]&&(n.prototype[t]=function(t){return this.walkType(e,t)})},t.exports=n}}),ne=u({"node_modules/postcss-values-parser/lib/root.js"(e,t){h();var r=re();t.exports=class extends r{constructor(e){super(e),this.type="root"}}}}),ie=u({"node_modules/postcss-values-parser/lib/value.js"(e,t){h();var r=re();t.exports=class extends r{constructor(e){super(e),this.type="value",this.unbalanced=0}}}}),se=u({"node_modules/postcss-values-parser/lib/atword.js"(e,t){h();var r=re(),n=class extends r{constructor(e){super(e),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};r.registerWalker(n),t.exports=n}}),oe=u({"node_modules/postcss-values-parser/lib/colon.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="colon"}};r.registerWalker(i),t.exports=i}}),ae=u({"node_modules/postcss-values-parser/lib/comma.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="comma"}};r.registerWalker(i),t.exports=i}}),ue=u({"node_modules/postcss-values-parser/lib/comment.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};r.registerWalker(i),t.exports=i}}),le=u({"node_modules/postcss-values-parser/lib/function.js"(e,t){h();var r=re(),n=class extends r{constructor(e){super(e),this.type="func",this.unbalanced=-1}};r.registerWalker(n),t.exports=n}}),ce=u({"node_modules/postcss-values-parser/lib/number.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};r.registerWalker(i),t.exports=i}}),pe=u({"node_modules/postcss-values-parser/lib/operator.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="operator"}};r.registerWalker(i),t.exports=i}}),he=u({"node_modules/postcss-values-parser/lib/paren.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="paren",this.parenType=""}};r.registerWalker(i),t.exports=i}}),de=u({"node_modules/postcss-values-parser/lib/string.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};r.registerWalker(i),t.exports=i}}),fe=u({"node_modules/postcss-values-parser/lib/word.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="word"}};r.registerWalker(i),t.exports=i}}),me=u({"node_modules/postcss-values-parser/lib/unicode-range.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="unicode-range"}};r.registerWalker(i),t.exports=i}});function ge(){throw new Error("setTimeout has not been defined")}function ve(){throw new Error("clearTimeout has not been defined")}function De(e){if(_e===setTimeout)return setTimeout(e,0);if((_e===ge||!_e)&&setTimeout)return _e=setTimeout,setTimeout(e,0);try{return _e(e,0)}catch{try{return _e.call(null,e,0)}catch{return _e.call(this,e,0)}}}function be(e){if(Oe===clearTimeout)return clearTimeout(e);if((Oe===ve||!Oe)&&clearTimeout)return Oe=clearTimeout,clearTimeout(e);try{return Oe(e)}catch{try{return Oe.call(null,e)}catch{return Oe.call(this,e)}}}function Ee(){!Be||!je||(Be=!1,je.length?Ie=je.concat(Ie):Le=-1,Ie.length&&xe())}function xe(){if(!Be){var e=De(Ee);Be=!0;for(var t=Ie.length;t;){for(je=Ie,Ie=[];++Le1)for(var r=1;r=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return e}})),o=n[r];r=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ct(t)?r.showHidden=t:t&&Vt(r,t),kt(r.showHidden)&&(r.showHidden=!1),kt(r.depth)&&(r.depth=2),kt(r.colors)&&(r.colors=!1),kt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=dt),yt(r,e,r.depth)}function dt(e,t){var r=ht.styles[t];return r?"\x1b["+ht.colors[r][0]+"m"+e+"\x1b["+ht.colors[r][1]+"m":e}function ft(e,t){return e}function mt(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}function yt(e,t,r){if(e.customInspect&&t&&It(t.inspect)&&t.inspect!==ht&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Tt(n)||(n=yt(e,n,r)),n}var i=gt(e,t);if(i)return i;var s=Object.keys(t),o=mt(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),Ot(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return vt(t);if(0===s.length){if(It(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Pt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(_t(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ot(t))return vt(t)}var u,l="",c=!1,p=["{","}"];return xt(t)&&(c=!0,p=["[","]"]),It(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),Pt(t)&&(l=" "+RegExp.prototype.toString.call(t)),_t(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Ot(t)&&(l=" "+vt(t)),0!==s.length||c&&0!=t.length?r<0?Pt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=c?Dt(e,t,r,o,s):s.map((function(n){return bt(e,t,r,o,n,c)})),e.seen.pop(),Et(u,l,p)):p[0]+l+p[1]}function gt(e,t){if(kt(t))return e.stylize("undefined","undefined");if(Tt(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return St(t)?e.stylize(""+t,"number"):Ct(t)?e.stylize(""+t,"boolean"):wt(t)?e.stylize("null","null"):void 0}function vt(e){return"["+Error.prototype.toString.call(e)+"]"}function Dt(e,t,r,n,i){for(var s=[],o=0,a=t.length;o-1&&(a=s?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),kt(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function Et(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function xt(e){return Array.isArray(e)}function Ct(e){return"boolean"==typeof e}function wt(e){return null===e}function At(e){return null==e}function St(e){return"number"==typeof e}function Tt(e){return"string"==typeof e}function Ft(e){return"symbol"==typeof e}function kt(e){return void 0===e}function Pt(e){return Nt(e)&&"[object RegExp]"===Lt(e)}function Nt(e){return"object"==typeof e&&null!==e}function _t(e){return Nt(e)&&"[object Date]"===Lt(e)}function Ot(e){return Nt(e)&&("[object Error]"===Lt(e)||e instanceof Error)}function It(e){return"function"==typeof e}function Bt(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||typeof e>"u"}function jt(e){return n.isBuffer(e)}function Lt(e){return Object.prototype.toString.call(e)}function Mt(e){return e<10?"0"+e.toString(10):e.toString(10)}function Rt(){var e=new Date,t=[Mt(e.getHours()),Mt(e.getMinutes()),Mt(e.getSeconds())].join(":");return[e.getDate(),Gt[e.getMonth()],t].join(" ")}function $t(){console.log("%s - %s",Rt(),lt.apply(null,arguments))}function Vt(e,t){if(!t||!Nt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function Ut(e,t){return Object.prototype.hasOwnProperty.call(e,t)}l(ut,{_extend:()=>Vt,debuglog:()=>pt,default:()=>Ht,deprecate:()=>ct,format:()=>lt,inherits:()=>st,inspect:()=>ht,isArray:()=>xt,isBoolean:()=>Ct,isBuffer:()=>jt,isDate:()=>_t,isError:()=>Ot,isFunction:()=>It,isNull:()=>wt,isNullOrUndefined:()=>At,isNumber:()=>St,isObject:()=>Nt,isPrimitive:()=>Bt,isRegExp:()=>Pt,isString:()=>Tt,isSymbol:()=>Ft,isUndefined:()=>kt,log:()=>$t});var qt,zt,Wt,Gt,Ht,Jt=a({"node-modules-polyfills:util"(){h(),ot(),at(),qt=/%[sdj%]/g,zt={},ht.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ht.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Gt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ht={inherits:st,_extend:Vt,log:$t,isBuffer:jt,isPrimitive:Bt,isFunction:It,isError:Ot,isDate:_t,isObject:Nt,isRegExp:Pt,isUndefined:kt,isSymbol:Ft,isString:Tt,isNumber:St,isNullOrUndefined:At,isNull:wt,isBoolean:Ct,isArray:xt,inspect:ht,deprecate:ct,format:lt,debuglog:pt}}}),Xt=u({"node-modules-polyfills-commonjs:util"(e,t){h();var r=(Jt(),p(ut));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Qt=u({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(e,t){h();var r=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.","function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};t.exports=r}}),Kt=u({"node_modules/postcss-values-parser/lib/tokenize.js"(e,t){h();var r="{".charCodeAt(0),n="}".charCodeAt(0),i="(".charCodeAt(0),s=")".charCodeAt(0),o="'".charCodeAt(0),a='"'.charCodeAt(0),u="\\".charCodeAt(0),l="/".charCodeAt(0),c=".".charCodeAt(0),p=",".charCodeAt(0),d=":".charCodeAt(0),f="*".charCodeAt(0),m="-".charCodeAt(0),y="+".charCodeAt(0),g="#".charCodeAt(0),v="\n".charCodeAt(0),D=" ".charCodeAt(0),b="\f".charCodeAt(0),E="\t".charCodeAt(0),x="\r".charCodeAt(0),C="@".charCodeAt(0),w="e".charCodeAt(0),A="E".charCodeAt(0),S="0".charCodeAt(0),T="9".charCodeAt(0),F="u".charCodeAt(0),k="U".charCodeAt(0),P=/[ \n\t\r\{\(\)'"\\;,/]/g,N=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,_=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,O=/^[a-z0-9]/i,I=/^[a-f0-9?\-]/i,B=Xt(),j=Qt();t.exports=function(e,t){t=t||{};let h,L,M,R,$,V,U,q,z,W,G,H,J=[],X=e.valueOf(),Q=X.length,K=-1,Y=1,Z=0,ee=0,te=null;function re(e){let t=B.format("Unclosed %s at line: %d, column: %d, token: %d",e,Y,Z-K,Z);throw new j(t)}for(;Z0&&"word"===J[J.length-1][0]&&"url"===J[J.length-1][1],J.push(["(","(",Y,Z-K,Y,L-K,Z]);break;case s:ee--,te=te&&ee>0,J.push([")",")",Y,Z-K,Y,L-K,Z]);break;case o:case a:M=h===o?"'":'"',L=Z;do{for(W=!1,L=X.indexOf(M,L+1),-1===L&&re("quote",M),G=L;X.charCodeAt(G-1)===u;)G-=1,W=!W}while(W);J.push(["string",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case C:P.lastIndex=Z+1,P.test(X),L=0===P.lastIndex?X.length-1:P.lastIndex-2,J.push(["atword",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case u:L=Z,h=X.charCodeAt(L+1),U&&h!==l&&h!==D&&h!==v&&h!==E&&h!==x&&h!==b&&(L+=1),J.push(["word",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case y:case m:case f:if(L=Z+1,H=X.slice(Z+1,L+1),X.slice(Z-1,Z),h===m&&H.charCodeAt(0)===m){L++,J.push(["word",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break}J.push(["operator",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break;default:if(h===l&&(X.charCodeAt(Z+1)===f||t.loose&&!te&&X.charCodeAt(Z+1)===l)){if(X.charCodeAt(Z+1)===f)L=X.indexOf("*/",Z+2)+1,0===L&&re("comment","*/");else{let e=X.indexOf("\n",Z+2);L=-1!==e?e-1:Q}V=X.slice(Z,L+1),R=V.split("\n"),$=R.length-1,$>0?(q=Y+$,z=L-R[$].length):(q=Y,z=K),J.push(["comment",V,Y,Z-K,q,L-z,Z]),K=z,Y=q,Z=L}else if(h!==g||O.test(X.slice(Z+1,Z+2)))if(h!==F&&h!==k||X.charCodeAt(Z+1)!==y)if(h===l)L=Z+1,J.push(["operator",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;else{let e=N;if(h>=S&&h<=T&&(e=_),e.lastIndex=Z+1,e.test(X),L=0===e.lastIndex?X.length-1:e.lastIndex-2,e===_||h===c){let e=X.charCodeAt(L),t=X.charCodeAt(L+1),r=X.charCodeAt(L+2);(e===w||e===A)&&(t===m||t===y)&&r>=S&&r<=T&&(_.lastIndex=L+2,_.test(X),L=0===_.lastIndex?X.length-1:_.lastIndex-2)}J.push(["word",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L}else{L=Z+2;do{L+=1,h=X.charCodeAt(L)}while(Le-t))}t.exports=class{constructor(e,t){let i={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},i,t),this.position=0,this.unbalanced=0,this.root=new r;let s=new n;this.root.append(s),this.current=s,this.tokens=y(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new s({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new o({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e,t=!1,r=this.currToken[1].replace(/\/\*|\*\//g,"");this.options.loose&&r.startsWith("//")&&(r=r.substring(2),t=!0),e=new a({value:r,inline:t,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(e),this.position++}error(e,t){throw new b(e+` at line: ${t[2]}, column ${t[3]}`)}loop(){for(;this.position0&&("func"===this.current.type&&"calc"===this.current.value?("space"!==this.prevToken[0]&&"("!==this.prevToken[0]||"space"!==this.nextToken[0]&&"word"!==this.nextToken[0]||"word"===this.nextToken[0]&&"operator"!==this.current.last.type&&"("!==this.current.last.value)&&this.error("Syntax Error",this.currToken):("space"===this.nextToken[0]||"operator"===this.nextToken[0]||"operator"===this.prevToken[0])&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&"operator"===this.current.last.type)&&"word"===this.nextToken[0])return this.word()}else if("word"===this.nextToken[0])return this.word();return e=new c({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(e)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":default:this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange()}}parenOpen(){let e,t=1,r=this.position+1,n=this.currToken;for(;r=this.tokens.length-1)||this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||","===this.nextToken[0]||")"===this.nextToken[0]?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new m({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e,t,r=this.nextToken,n=this.currToken[1],s=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/;if(!/^(?!\#([a-z0-9]+))[\#\{\}]/gi.test(n))for(;r&&"word"===r[0];){this.position++;let e=this.currToken[1];n+=e,r=this.nextToken}e=v(n,"@"),t=E(D(g([[0],e]))),t.forEach(((o,a)=>{let c,p=t[a+1]||n.length,h=n.slice(o,p);if(~e.indexOf(o))c=new i({value:h.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+o},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[a]});else if(s.test(this.currToken[1])){let e=h.replace(s,"");c=new l({value:h.replace(e,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+o},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[a],unit:e})}else c=new(r&&"("===r[0]?u:f)({value:h,source:{start:{line:this.currToken[2],column:this.currToken[3]+o},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[a]}),"word"===c.type?(c.isHex=/^#(.+)/.test(h),c.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(h)):this.cache.push(this.current);this.newNode(c)})),this.position++}string(){let e,t=this.currToken,r=this.currToken[1],n=/^(\"|\')/,i=n.test(r),s="";i&&(s=r.match(n)[0],r=r.slice(1,r.length-1)),e=new d({value:r,source:{start:{line:t[2],column:t[3]},end:{line:t[4],column:t[5]}},sourceIndex:t[6],quoted:i}),e.raws.quote=s,this.newNode(e),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),nr=u({"node_modules/postcss-values-parser/lib/index.js"(e,t){h();var r=rr(),n=se(),i=oe(),s=ae(),o=ue(),a=le(),u=ce(),l=pe(),c=he(),p=de(),d=me(),f=ie(),m=fe(),y=function(e,t){return new r(e,t)};y.atword=function(e){return new n(e)},y.colon=function(e){return new i(Object.assign({value:":"},e))},y.comma=function(e){return new s(Object.assign({value:","},e))},y.comment=function(e){return new o(e)},y.func=function(e){return new a(e)},y.number=function(e){return new u(e)},y.operator=function(e){return new l(e)},y.paren=function(e){return new c(Object.assign({value:"("},e))},y.string=function(e){return new p(Object.assign({quote:"'"},e))},y.value=function(e){return new f(e)},y.word=function(e){return new m(e)},y.unicodeRange=function(e){return new d(e)},t.exports=y}}),ir=u({"node_modules/postcss-selector-parser/dist/selectors/node.js"(e,t){h(),e.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function e(t,n){if("object"!==(typeof t>"u"?"undefined":r(t)))return t;var i=new t.constructor;for(var s in t)if(t.hasOwnProperty(s)){var o=t[s],a=typeof o>"u"?"undefined":r(o);"parent"===s&&"object"===a?n&&(i[s]=n):i[s]=o instanceof Array?o.map((function(t){return e(t,i)})):e(o,i)}return i},s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var r in n(this,e),t)this[r]=t[r];var i=t.spaces,s=(i=void 0===i?{}:i).before,o=void 0===s?"":s,a=i.after,u=void 0===a?"":a;this.spaces={before:o,after:u}}return e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},e.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i(this);for(var r in e)t[r]=e[r];return t},e.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},e}();e.default=s,t.exports=e.default}}),sr=u({"node_modules/postcss-selector-parser/dist/selectors/types.js"(e){h(),e.__esModule=!0,e.TAG="tag",e.STRING="string",e.SELECTOR="selector",e.ROOT="root",e.PSEUDO="pseudo",e.NESTING="nesting",e.ID="id",e.COMMENT="comment",e.COMBINATOR="combinator",e.CLASS="class",e.ATTRIBUTE="attribute",e.UNIVERSAL="universal"}}),or=u({"node_modules/postcss-selector-parser/dist/selectors/container.js"(e,t){h(),e.__esModule=!0;var r=function(){function e(e,t){for(var r=0;r=e&&(this.indexes[r]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),r=0;for(e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{if((r=e.next()).done)break;n=r.value}n.parent=void 0}return this.nodes=[],this},t.prototype.empty=function(){return this.removeAll()},t.prototype.insertAfter=function(e,t){var r=this.index(e);this.nodes.splice(r+1,0,t);var n=void 0;for(var i in this.indexes)r<=(n=this.indexes[i])&&(this.indexes[i]=n+this.nodes.length);return this},t.prototype.insertBefore=function(e,t){var r=this.index(e);this.nodes.splice(r,0,t);var n=void 0;for(var i in this.indexes)r<=(n=this.indexes[i])&&(this.indexes[i]=n+this.nodes.length);return this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r=void 0,n=void 0;this.indexes[t],\[\]\\]|\/(?=\*)/g;function F(e){for(var t=[],h=e.css.valueOf(),F=void 0,k=void 0,P=void 0,N=void 0,_=void 0,O=void 0,I=void 0,B=void 0,j=void 0,L=void 0,M=void 0,R=h.length,$=-1,V=1,U=0,q=function(t,r){if(!e.safe)throw e.error("Unclosed "+t,V,U-$,U);k=(h+=r).length-1};U0?(B=V+_,j=k-N[_].length):(B=V,j=$),t.push(["comment",O,V,U-$,B,k-j,U]),$=j,V=B,U=k):(T.lastIndex=U+1,T.test(h),k=0===T.lastIndex?h.length-1:T.lastIndex-2,t.push(["word",h.slice(U,k+1),V,U-$,V,k-$,U]),U=k)}U++}return t}t.exports=e.default}}),xr=u({"node_modules/postcss-selector-parser/dist/parser.js"(e,t){h(),e.__esModule=!0;var r=function(){function e(e,t){for(var r=0;r1?(""===i[0]&&(i[0]=!0),s.attribute=this.parseValue(i[2]),s.namespace=this.parseNamespace(i[0])):s.attribute=this.parseValue(n[0]),t=new m.default(s),n[2]){var o=n[2].split(/(\s+i\s*?)$/),a=o[0].trim();t.value=this.lossy?a:o[0],o[1]&&(t.insensitive=!0,this.lossy||(t.raws.insensitive=o[1])),t.quoted="'"===a[0]||'"'===a[0],t.raws.unquoted=t.quoted?a.slice(1,-1):a}this.newNode(t),this.position++},e.prototype.combinator=function(){if("|"===this.currToken[1])return this.namespace();for(var e=new g.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position1&&e.nextToken&&"("===e.nextToken[0]&&e.error("Misplaced parenthesis.")}))}else this.error('Unexpected "'+this.currToken[0]+'" found.')},e.prototype.space=function(){var e=this.currToken;0===this.position||","===this.prevToken[0]||"("===this.prevToken[0]?(this.spaces=this.parseSpace(e[1]),this.position++):this.position===this.tokens.length-1||","===this.nextToken[0]||")"===this.nextToken[0]?(this.current.last.spaces.after=this.parseSpace(e[1]),this.position++):this.combinator()},e.prototype.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.currToken[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++},e.prototype.universal=function(e){var t=this.nextToken;if(t&&"|"===t[1])return this.position++,this.namespace();this.newNode(new y.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),e),this.position++},e.prototype.splitWord=function(e,t){for(var r=this,o=this.nextToken,a=this.currToken[1];o&&"word"===o[0];){this.position++;var l=this.currToken[1];if(a+=l,l.lastIndexOf("\\")===l.length-1){var h=this.nextToken;h&&"space"===h[0]&&(a+=this.parseSpace(h[1]," "),this.position++)}o=this.nextToken}var d=(0,i.default)(a,"."),f=(0,i.default)(a,"#"),m=(0,i.default)(a,"#{");m.length&&(f=f.filter((function(e){return!~m.indexOf(e)})));var y=(0,D.default)((0,s.default)((0,n.default)([[0],d,f])));y.forEach((function(n,i){var s=y[i+1]||a.length,o=a.slice(n,s);if(0===i&&t)return t.call(r,o,y.length);var l=void 0;l=~d.indexOf(n)?new u.default({value:o.slice(1),source:{start:{line:r.currToken[2],column:r.currToken[3]+n},end:{line:r.currToken[4],column:r.currToken[3]+(s-1)}},sourceIndex:r.currToken[6]+y[i]}):~f.indexOf(n)?new c.default({value:o.slice(1),source:{start:{line:r.currToken[2],column:r.currToken[3]+n},end:{line:r.currToken[4],column:r.currToken[3]+(s-1)}},sourceIndex:r.currToken[6]+y[i]}):new p.default({value:o,source:{start:{line:r.currToken[2],column:r.currToken[3]+n},end:{line:r.currToken[4],column:r.currToken[3]+(s-1)}},sourceIndex:r.currToken[6]+y[i]}),r.newNode(l,e)})),this.position++},e.prototype.word=function(e){var t=this.nextToken;return t&&"|"===t[1]?(this.position++,this.namespace()):this.splitWord(e)},e.prototype.loop=function(){for(;this.position1&&void 0!==arguments[1]?arguments[1]:{},r=new n.default({css:e,error:function(e){throw new Error(e)},options:t});return this.res=r,this.func(r),this},r(e,[{key:"result",get:function(){return String(this.res)}}]),e}();e.default=o,t.exports=e.default}}),wr=u({"node_modules/postcss-selector-parser/dist/index.js"(e,t){h(),e.__esModule=!0;var r=v(Cr()),n=v(yr()),i=v(cr()),s=v(vr()),o=v(pr()),a=v(hr()),u=v(Dr()),l=v(mr()),c=v(ar()),p=v(ur()),d=v(fr()),f=v(dr()),m=v(gr()),y=g(sr());function g(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function v(e){return e&&e.__esModule?e:{default:e}}var D=function(e){return new r.default(e)};D.attribute=function(e){return new n.default(e)},D.className=function(e){return new i.default(e)},D.combinator=function(e){return new s.default(e)},D.comment=function(e){return new o.default(e)},D.id=function(e){return new a.default(e)},D.nesting=function(e){return new u.default(e)},D.pseudo=function(e){return new l.default(e)},D.root=function(e){return new c.default(e)},D.selector=function(e){return new p.default(e)},D.string=function(e){return new d.default(e)},D.tag=function(e){return new f.default(e)},D.universal=function(e){return new m.default(e)},Object.keys(y).forEach((function(e){"__esModule"!==e&&(D[e]=y[e])})),e.default=D,t.exports=e.default}}),Ar=u({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(e){function t(e){this.after=e.after,this.before=e.before,this.type=e.type,this.value=e.value,this.sourceIndex=e.sourceIndex}h(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t}}),Sr=u({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(e){h(),Object.defineProperty(e,"__esModule",{value:!0});var t=r(Ar());function r(e){return e&&e.__esModule?e:{default:e}}function n(e){var t=this;this.constructor(e),this.nodes=e.nodes,void 0===this.after&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),void 0===this.before&&(this.before=this.nodes.length>0?this.nodes[0].before:""),void 0===this.sourceIndex&&(this.sourceIndex=this.before.length),this.nodes.forEach((function(e){e.parent=t}))}n.prototype=Object.create(t.default.prototype),n.constructor=t.default,n.prototype.walk=function(e,t){for(var r="string"==typeof e||e instanceof RegExp,n=r?t:e,i="string"==typeof e?new RegExp(e):e,s=0;s0&&(s[h-1].after=u.before),void 0===u.type){if(h>0){if("media-feature-expression"===s[h-1].type){u.type="keyword";continue}if("not"===s[h-1].value||"only"===s[h-1].value){u.type="media-type";continue}if("and"===s[h-1].value){u.type="media-feature-expression";continue}"media-type"===s[h-1].type&&(s[h+1]?u.type="media-feature-expression"===s[h+1].type?"keyword":"media-feature-expression":u.type="media-feature-expression")}if(0===h){if(!s[h+1]){u.type="media-type";continue}if(s[h+1]&&("media-feature-expression"===s[h+1].type||"keyword"===s[h+1].type)){u.type="media-type";continue}if(s[h+2]){if("media-feature-expression"===s[h+2].type){u.type="media-type",s[h+1].type="keyword";continue}if("keyword"===s[h+2].type){u.type="keyword",s[h+1].type="media-type";continue}}if(s[h+3]&&"media-feature-expression"===s[h+3].type){u.type="keyword",s[h+1].type="media-type",s[h+2].type="keyword";continue}}}return s}function o(e){var n=[],i=0,o=0,a=/^(\s*)url\s*\(/.exec(e);if(null!==a){for(var u=a[0].length,l=1;l>0;){var c=e[u];"("===c&&l++,")"===c&&l--,u++}n.unshift(new t.default({type:"url",value:e.substring(0,u).trim(),sourceIndex:a[1].length,before:a[1],after:/^(\s*)/.exec(e.substring(u))[1]})),i=u}for(var p=i;p=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function Nr(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=Pr(Rr(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function _r(e){var t=Or(e),r="/"===Wr(e,-1);return!(e=Pr(Rr(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Or(e){return"/"===e.charAt(0)}function Ir(){return _r(Rr(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Br(e,t){function r(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Nr(e).substr(1),t=Nr(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;aLr,default:()=>zr,delimiter:()=>qr,dirname:()=>jr,extname:()=>Mr,isAbsolute:()=>Or,join:()=>Ir,normalize:()=>_r,relative:()=>Br,resolve:()=>Nr,sep:()=>Ur});var $r,Vr,Ur,qr,zr,Wr,Gr=a({"node-modules-polyfills:path"(){h(),$r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Vr=function(e){return $r.exec(e).slice(1)},zr={extname:Mr,basename:Lr,dirname:jr,sep:Ur="/",delimiter:qr=":",relative:Br,join:Ir,isAbsolute:Or,normalize:_r,resolve:Nr},Wr=function(e,t,r){return e.substr(t,r)}}}),Hr=u({"node-modules-polyfills-commonjs:path"(e,t){h();var r=(Gr(),p(kr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Jr=u({"node_modules/picocolors/picocolors.browser.js"(e,t){h();var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}};t.exports=n(),t.exports.createColors=n}}),Xr=u({"(disabled):node_modules/postcss/lib/terminal-highlight"(){h()}}),Qr=u({"node_modules/postcss/lib/css-syntax-error.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(Jr()),n=i(Xr());function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!c(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},a(e)}function u(e,t,r){return(u=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&p(i,r.prototype),i}).apply(null,arguments)}function l(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}}function c(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){function t(r,n,i,o,a,u){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),o&&(l.source=o),u&&(l.plugin=u),typeof n<"u"&&typeof i<"u"&&(l.line=n,l.column=i),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(s(l),t),l}o(t,e);var i=t.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(e){var t=this;if(!this.source)return"";var i=this.source;n.default&&(typeof e>"u"&&(e=r.default.isColorSupported),e&&(i=(0,n.default)(i)));var s=i.split(/\r?\n/),o=Math.max(this.line-3,0),a=Math.min(this.line+2,s.length),u=String(a).length;function l(t){return e&&r.default.red?r.default.red(r.default.bold(t)):t}function c(t){return e&&r.default.gray?r.default.gray(t):t}return s.slice(o,a).map((function(e,r){var n=o+1+r,i=" "+(" "+n).slice(-u)+" | ";if(n===t.line){var s=c(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return l(">")+c(i)+e+"\n "+s+l("^")}return" "+c(i)+e})).join("\n")},i.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(a(Error));e.default=f,t.exports=e.default}}),Kr=u({"node_modules/postcss/lib/previous-map.js"(e,t){h(),t.exports=class{}}}),Yr=u({"node_modules/postcss/lib/input.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=s(Hr()),n=s(Qr()),i=s(Kr());function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var r=0;r"u"||"object"==typeof e&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(/^\w+:\/\//.test(t.from)||r.default.isAbsolute(t.from)?this.file=t.from:this.file=r.default.resolve(t.from));var n=new i.default(this.css,t);if(n.text){this.map=n;var s=n.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}this.file||(u+=1,this.id=""),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,i){void 0===i&&(i={});var s,o=this.origin(t,r);return(s=o?new n.default(e,o.line,o.column,o.source,o.file,i.plugin):new n.default(e,t,r,this.css,this.file,i.plugin)).input={line:t,column:r,source:this.css},this.file&&(s.input.file=this.file),s},t.origin=function(e,t){if(!this.map)return!1;var r=this.map.consumer(),n=r.originalPositionFor({line:e,column:t});if(!n.source)return!1;var i={file:this.mapResolve(n.source),line:n.line,column:n.column},s=r.sourceContentFor(n.source);return s&&(i.source=s),i},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:r.default.resolve(this.map.consumer().sourceRoot||".",e)},a(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();e.default=l,t.exports=e.default}}),Zr=u({"node_modules/postcss/lib/stringifier.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function n(e){return e[0].toUpperCase()+e.slice(1)}var i=function(){function e(e){this.builder=e}var t=e.prototype;return t.stringify=function(e,t){this[e.type](e,t)},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n"u"&&(s=r[i]),a.rawCache[i]=s,s},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&typeof(t=e.raws.semicolon)<"u")return!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&typeof(t=e.raws.after)<"u")return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/[^\s]/g,""),!1}})),t);var t},t.rawBeforeComment=function(e,t){var r;return e.walkComments((function(e){if(typeof e.raws.before<"u")return-1!==(r=e.raws.before).indexOf("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),typeof r>"u"?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/[^\s]/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls((function(e){if(typeof e.raws.before<"u")return-1!==(r=e.raws.before).indexOf("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),typeof r>"u"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/[^\s]/g,"")),r},t.rawBeforeRule=function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return-1!==(t=r.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},t.rawBeforeClose=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&typeof e.raws.after<"u")return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&typeof(t=e.raws.between)<"u")return!1})),t},t.rawColon=function(e){var t;return e.walkDecls((function(e){if(typeof e.raws.between<"u")return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(-1!==r.indexOf("\n")){var s=this.raw(e,null,"indent");if(s.length)for(var o=0;o=V}function Q(e){if(G.length)return G.pop();if(!(z>=V)){var t=!!e&&e.ignoreUnclosed;switch(((h=R.charCodeAt(z))===o||h===u||h===c&&R.charCodeAt(z+1)!==o)&&(U=z,q+=1),h){case o:case a:case l:case c:case u:S=z;do{S+=1,(h=R.charCodeAt(S))===o&&(U=S,q+=1)}while(h===a||h===o||h===l||h===c||h===u);M=["space",R.slice(z,S)],z=S-1;break;case p:case d:case y:case g:case b:case v:case m:var H=String.fromCharCode(h);M=[H,H,q,z-U];break;case f:if(j=W.length?W.pop()[1]:"",L=R.charCodeAt(z+1),"url"===j&&L!==r&&L!==n&&L!==a&&L!==o&&L!==l&&L!==u&&L!==c){S=z;do{if(I=!1,-1===(S=R.indexOf(")",S+1))){if($||t){S=z;break}J("bracket")}for(B=S;R.charCodeAt(B-1)===i;)B-=1,I=!I}while(I);M=["brackets",R.slice(z,S+1),q,z-U,q,S-U],z=S}else S=R.indexOf(")",z+1),P=R.slice(z,S+1),-1===S||w.test(P)?M=["(","(",q,z-U]:(M=["brackets",P,q,z-U,q,S-U],z=S);break;case r:case n:T=h===r?"'":'"',S=z;do{if(I=!1,-1===(S=R.indexOf(T,S+1))){if($||t){S=z+1;break}J("string")}for(B=S;R.charCodeAt(B-1)===i;)B-=1,I=!I}while(I);P=R.slice(z,S+1),F=P.split("\n"),(k=F.length-1)>0?(_=q+k,O=S-F[k].length):(_=q,O=U),M=["string",R.slice(z,S+1),q,z-U,_,S-O],U=O,q=_,z=S;break;case E:x.lastIndex=z+1,x.test(R),S=0===x.lastIndex?R.length-1:x.lastIndex-2,M=["at-word",R.slice(z,S+1),q,z-U,q,S-U],z=S;break;case i:for(S=z,N=!0;R.charCodeAt(S+1)===i;)S+=1,N=!N;if(h=R.charCodeAt(S+1),N&&h!==s&&h!==a&&h!==o&&h!==l&&h!==c&&h!==u&&(S+=1,A.test(R.charAt(S)))){for(;A.test(R.charAt(S+1));)S+=1;R.charCodeAt(S+1)===a&&(S+=1)}M=["word",R.slice(z,S+1),q,z-U,q,S-U],z=S;break;default:h===s&&R.charCodeAt(z+1)===D?(0===(S=R.indexOf("*/",z+2)+1)&&($||t?S=R.length:J("comment")),P=R.slice(z,S+1),F=P.split("\n"),(k=F.length-1)>0?(_=q+k,O=S-F[k].length):(_=q,O=U),M=["comment",P,q,z-U,_,S-O],U=O,q=_,z=S):(C.lastIndex=z+1,C.test(R),S=0===C.lastIndex?R.length-1:C.lastIndex-2,M=["word",R.slice(z,S+1),q,z-U,q,S-U],W.push(M),z=S)}return z++,M}}function K(e){G.push(e)}return{back:K,nextToken:Q,endOfFile:X,position:H}}t.exports=e.default}}),on=u({"node_modules/postcss/lib/parse.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(vn()),n=i(Yr());function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var i=new n.default(e,t),s=new r.default(i);try{s.parse()}catch(o){throw o}return s.root}var o=s;e.default=o,t.exports=e.default}}),an=u({"node_modules/postcss/lib/list.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r={split:function(e,t,r){for(var n=[],i="",s=!1,o=0,a=!1,u=!1,l=0;l0&&(o-=1):0===o&&-1!==t.indexOf(c)&&(s=!0),s?(""!==i&&n.push(i.trim()),i="",s=!1):i+=c}return(r||""!==i)&&n.push(i.trim()),n},space:function(e){var t=[" ","\n","\t"];return r.split(e,t)},comma:function(e){return r.split(e,[","],!0)}},n=r;e.default=n,t.exports=e.default}}),un=u({"node_modules/postcss/lib/rule.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(ln()),n=i(an());function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e&&(this.indexes[r]=t-1);return this},i.removeAll=function(){for(var e,t=s(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},i.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls((function(n){t.props&&-1===t.props.indexOf(n.prop)||t.fast&&-1===n.value.indexOf(t.fast)||(n.value=n.value.replace(e,r))})),this},i.every=function(e){return this.nodes.every(e)},i.some=function(e){return this.nodes.some(e)},i.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},i.normalize=function(e,t){var i=this;if("string"==typeof e)e=p(on()(e).nodes);else if(Array.isArray(e))for(var o,a=s(e=e.slice(0));!(o=a()).done;){var u=o.value;u.parent&&u.parent.removeChild(u,"ignore")}else if("root"===e.type)for(var l,c=s(e=e.nodes.slice(0));!(l=c()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new r.default(e)]}else if(e.selector)e=[new(un())(e)];else if(e.name)e=[new(cn())(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new n.default(e)]}return e.map((function(e){return e.parent&&e.parent.removeChild(e),typeof e.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=i,e}))},l(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(i(tn()).default),f=d;e.default=f,t.exports=e.default}}),cn=u({"node_modules/postcss/lib/at-rule.js"(e,t){function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h(),e.__esModule=!0,e.default=void 0;var i=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}n(t,e);var r=t.prototype;return r.append=function(){var t;this.nodes||(this.nodes=[]);for(var r=arguments.length,n=new Array(r),i=0;i"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=s.default;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{o=a(r,n)}catch(u){this.error=u}}this.result=new i.default(t,o,n)}var t=e.prototype;return t.warnings=function(){return this.sync().warnings()},t.toString=function(){return this.css},t.then=function(e,t){return this.async().then(e,t)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.handleError=function(e,t){try{this.error=e,"CssSyntaxError"!==e.name||e.plugin?t.postcssVersion:(e.plugin=t.postcssPlugin,e.setMessage())}catch(r){console&&console.error&&console.error(r)}},t.asyncTick=function(e,t){var r=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var n=this.processor.plugins[this.plugin],i=this.run(n);this.plugin+=1,d(i)?i.then((function(){r.asyncTick(e,t)})).catch((function(e){r.handleError(e,n),r.processed=!0,t(e)})):this.asyncTick(e,t)}catch(s){this.processed=!0,t(s)}},t.async=function(){var e=this;return this.processed?new Promise((function(t,r){e.error?r(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,r){if(e.error)return r(e.error);e.plugin=0,e.asyncTick(t,r)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},t.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var e,t=a(this.result.processor.plugins);!(e=t()).done;){var r=e.value;if(d(this.run(r)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},t.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},t.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=n.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var i=new r.default(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result},p(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();e.default=f,t.exports=e.default}}),yn=u({"node_modules/postcss/lib/processor.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=n(mn());function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function s(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function i(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.normalize=function(t,r,i){var s=e.prototype.normalize.call(this,t);if(r)if("prepend"===i)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,a=n(s);!(o=a()).done;)o.value.raws.before=r.raws.before;return s},r.toResult=function(e){return void 0===e&&(e={}),new(mn())(new(yn()),this,e).stringify()},t}(r(ln()).default);e.default=a,t.exports=e.default}}),vn=u({"node_modules/postcss/lib/parser.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=u(nn()),n=u(sn()),i=u(rn()),s=u(cn()),o=u(gn()),a=u(un());function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(e){this.input=e,this.root=new o.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{line:1,column:1}}}var t=e.prototype;return t.createTokenizer=function(){this.tokenizer=(0,n.default)(this.input)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.comment=function(e){var t=new i.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.emptyRule=function(e){var t=new a.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,s=[],o=[],a=e;a;){if(r=a[0],o.push(a),"("===r||"["===r)i||(i=a),s.push("("===r?")":"]");else if(0===s.length){if(";"===r){if(n)return void this.decl(o);break}if("{"===r)return void this.rule(o);if("}"===r){this.tokenizer.back(o.pop()),t=!0;break}":"===r&&(n=!0)}else r===s[s.length-1]&&(s.pop(),0===s.length&&(i=null));a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&n){for(;o.length&&("space"===(a=o[o.length-1][0])||"comment"===a);)this.tokenizer.back(o.pop());this.decl(o)}else this.unknownWord(o)},t.rule=function(e){e.pop();var t=new a.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.decl=function(e){var t=new r.default;this.init(t);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),i[4]?t.source.end={line:i[4],column:i[5]}:t.source.end={line:i[2],column:i[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var s=e[0][0];if(":"===s||"space"===s||"comment"===s)break;t.prop+=e.shift()[1]}for(t.raws.between="";e.length;){if(":"===(n=e.shift())[0]){t.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),t.raws.between+=n[1]}("_"===t.prop[0]||"*"===t.prop[0])&&(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var o=e.length-1;o>0;o--){if("!important"===(n=e[o])[1].toLowerCase()){t.important=!0;var a=this.stringFrom(e,o);" !important"!==(a=this.spacesFromEnd(e)+a)&&(t.raws.important=a);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),l="",c=o;c>0;c--){var p=u[c][0];if(0===l.trim().indexOf("!")&&"space"!==p)break;l=u.pop()[1]+l}0===l.trim().indexOf("!")&&(t.important=!0,t.raws.important=l,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},t.atrule=function(e){var t=new s.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var r,n,i=!1,o=!1,a=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){o=!0;break}if("}"===e[0]){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(t.source.end={line:r[4],column:r[5]})}this.end(e);break}if(a.push(e),this.tokenizer.endOfFile()){i=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(t.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(t,"params",a),i&&(e=a[a.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],this.current=t)},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.init=function(e,t,r){this.current.push(e),e.source={start:{line:t,column:r},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.raw=function(e,t,r){for(var n,i,s,o,a=r.length,u="",l=!0,c=/^([.|#])?([\w])+/i,p=0;p=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();e.default=l,t.exports=e.default}}),Dn=u({"node_modules/postcss-less/lib/nodes/inline-comment.js"(e,t){h();var r=sn(),n=Yr();t.exports={isInlineComment(e){if("word"===e[0]&&"//"===e[1].slice(0,2)){let t,i=e,s=[];for(;e;){if(/\r?\n/.test(e[1])){if(/['"].*\r?\n/.test(e[1])){s.push(e[1].substring(0,e[1].indexOf("\n")));let t=e[1].substring(e[1].indexOf("\n"));t+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new n(t),this.tokenizer=r(this.input)}else this.tokenizer.back(e);break}s.push(e[1]),t=e,e=this.tokenizer.nextToken({ignoreUnclosed:!0})}let o=["comment",s.join(""),i[2],i[3],t[2],t[3]];return this.inlineComment(o),!0}if("/"===e[1]){let r=this.tokenizer.nextToken({ignoreUnclosed:!0});if("comment"===r[0]&&/^\/\*/.test(r[1]))return r[0]="word",r[1]=r[1].slice(1),e[1]="//",this.tokenizer.back(r),t.exports.isInlineComment.bind(this)(e)}return!1}}}}),bn=u({"node_modules/postcss-less/lib/nodes/interpolation.js"(e,t){h(),t.exports={interpolation(e){let t=e,r=[e],n=["word","{","}"];if(e=this.tokenizer.nextToken(),t[1].length>1||"{"!==e[0])return this.tokenizer.back(e),!1;for(;e&&n.includes(e[0]);)r.push(e),e=this.tokenizer.nextToken();let i=r.map((e=>e[1]));[t]=r;let s=r.pop(),o=[t[2],t[3]],a=[s[4]||s[2],s[5]||s[3]],u=["word",i.join("")].concat(o,a);return this.tokenizer.back(e),this.tokenizer.back(u),!0}}}}),En=u({"node_modules/postcss-less/lib/nodes/mixin.js"(e,t){h();var r=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,n=/\.[0-9]/,i=e=>{let[,t]=e,[i]=t;return("."===i||"#"===i)&&!1===r.test(t)&&!1===n.test(t)};t.exports={isMixinToken:i}}}),xn=u({"node_modules/postcss-less/lib/nodes/import.js"(e,t){h();var r=sn(),n=/^url\((.+)\)/;t.exports=e=>{let{name:t,params:i=""}=e;if("import"===t&&i.length){e.import=!0;let t=r({css:i});for(e.filename=i.replace(n,"$1");!t.endOfFile();){let[r,n]=t.nextToken();if("word"===r&&"url"===n)return;if("brackets"===r){e.options=n,e.filename=i.replace(n,"").trim();break}}}}}}),Cn=u({"node_modules/postcss-less/lib/nodes/variable.js"(e,t){h();var r=/:$/,n=/^:(\s+)?/;t.exports=e=>{let{name:t,params:i=""}=e;if(":"===e.name.slice(-1)){if(r.test(t)){let[n]=t.match(r);e.name=t.replace(n,""),e.raws.afterName=n+(e.raws.afterName||""),e.variable=!0,e.value=e.params}if(n.test(i)){let[t]=i.match(n);e.value=i.replace(t,""),e.raws.afterName=(e.raws.afterName||"")+t,e.variable=!0}}}}}),wn=u({"node_modules/postcss-less/lib/LessParser.js"(e,t){h();var r=rn(),n=vn(),{isInlineComment:i}=Dn(),{interpolation:s}=bn(),{isMixinToken:o}=En(),a=xn(),u=Cn(),l=/(!\s*important)$/i;t.exports=class extends n{constructor(){super(...arguments),this.lastNode=null}atrule(e){s.bind(this)(e)||(super.atrule(e),a(this.lastNode),u(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let t=e.findIndex((e=>"("===e[0])),r=e.reverse().find((e=>")"===e[0])),n=e.reverse().indexOf(r),i=e.splice(t,n).map((e=>e[1])).join("");for(let s of e.reverse())this.tokenizer.back(s);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=i}init(e,t,r){super.init(e,t,r),this.lastNode=e}inlineComment(e){let t=new r,n=e[1].slice(2);if(this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]},t.inline=!0,t.raws.begin="//",/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*[^\s])(\s*)$/);[,t.raws.left,t.text,t.raws.right]=e}}mixin(e){let[t]=e,r=t[1].slice(0,1),n=e.findIndex((e=>"brackets"===e[0])),i=e.findIndex((e=>"("===e[0])),s="";if((n<0||n>3)&&i>0){let t=e.reduce(((e,t,r)=>")"===t[0]?r:e)),r=e.slice(i,t+i).map((e=>e[1])).join(""),[n]=e.slice(i),s=[n[2],n[3]],[o]=e.slice(t,t+1),a=[o[2],o[3]],u=["brackets",r].concat(s,a),l=e.slice(0,i),c=e.slice(t+1);(e=l).push(u),e=e.concat(c)}let o=[];for(let u of e)if(("!"===u[1]||o.length)&&o.push(u),"important"===u[1])break;if(o.length){let[t]=o,r=e.indexOf(t),n=o[o.length-1],i=[t[2],t[3]],s=[n[4],n[5]],a=["word",o.map((e=>e[1])).join("")].concat(i,s);e.splice(r,o.length,a)}let a=e.findIndex((e=>l.test(e[1])));a>0&&([,s]=e[a],e.splice(a,1));for(let u of e.reverse())this.tokenizer.back(u);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,s&&(this.lastNode.important=!0,this.lastNode.raws.important=s)}other(e){i.bind(this)(e)||super.other(e)}rule(e){let t=e[e.length-1],r=e[e.length-2];if("at-word"===r[0]&&"{"===t[0]&&(this.tokenizer.back(t),s.bind(this)(r))){let t=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([t]);for(let r of e.reverse())this.tokenizer.back(r)}else super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[t]=e;"each"!==e[0][1]||"("!==e[1][0]?o(t)?this.mixin(e):super.unknownWord(e):this.each(e)}}}}),An=u({"node_modules/postcss-less/lib/LessStringifier.js"(e,t){h();var r=Zr();t.exports=class extends r{atrule(e,t){if(!e.mixin&&!e.variable&&!e.function)return void super.atrule(e,t);let r=`${e.function?"":e.raws.identifier||"@"}${e.name}`,n=e.params?this.rawValue(e,"params"):"",i=e.raws.important||"";if(e.variable&&(n=e.value),typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n+i);else{let s=(e.raws.between||"")+i+(t?";":"");this.builder(r+n+s,e)}}comment(e){if(e.inline){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${t}${e.text}${r}`,e)}else super.comment(e)}}}}),Sn=u({"node_modules/postcss-less/lib/index.js"(e,t){h();var r=Yr(),n=wn(),i=An();t.exports={parse(e,t){let i=new r(e,t),s=new n(i);return s.parse(),s.root},stringify(e,t){new i(t).stringify(e)},nodeToString(e){let r="";return t.exports.stringify(e,(e=>{r+=e})),r}}}}),Tn=u({"node_modules/postcss-scss/lib/scss-stringifier.js"(e,t){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h();var n=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");if(e.raws.inline){var n=e.raws.text||e.text;this.builder("//"+t+n+r,e)}else this.builder("/*"+t+e.text+r+"*/",e)},n.decl=function(t,r){if(t.isNested){var n,i=this.raw(t,"between","colon"),s=t.prop+i+this.rawValue(t,"value");t.important&&(s+=t.raws.important||" !important"),this.builder(s+"{",t,"start"),t.nodes&&t.nodes.length?(this.body(t),n=this.raw(t,"after")):n=this.raw(t,"after","emptyBody"),n&&this.builder(n),this.builder("}",t,"end")}else e.prototype.decl.call(this,t,r)},n.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.scss?n.scss:n.raw:r},t}(Zr());t.exports=n}}),Fn=u({"node_modules/postcss-scss/lib/scss-stringify.js"(e,t){h();var r=Tn();t.exports=function(e,t){new r(t).stringify(e)}}}),kn=u({"node_modules/postcss-scss/lib/nested-declaration.js"(e,t){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h();var n=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="decl",r.isNested=!0,r.nodes||(r.nodes=[]),r}return r(t,e),t}(ln());t.exports=n}}),Pn=u({"node_modules/postcss-scss/lib/scss-tokenize.js"(e,t){h();var r="'".charCodeAt(0),n='"'.charCodeAt(0),i="\\".charCodeAt(0),s="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),u="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),p="[".charCodeAt(0),d="]".charCodeAt(0),f="(".charCodeAt(0),m=")".charCodeAt(0),y="{".charCodeAt(0),g="}".charCodeAt(0),v=";".charCodeAt(0),D="*".charCodeAt(0),b=":".charCodeAt(0),E="@".charCodeAt(0),x=",".charCodeAt(0),C="#".charCodeAt(0),w=/[ \n\t\r\f{}()'"\\;/[\]#]/g,A=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,S=/.[\\/("'\n]/,T=/[a-f0-9]/i,F=/[\r\f\n]/g;t.exports=function(e,t){void 0===t&&(t={});var h,k,P,N,_,O,I,B,j,L,M,R,$,V,U=e.css.valueOf(),q=t.ignoreErrors,z=U.length,W=-1,G=1,H=0,J=[],X=[];function Q(t){throw e.error("Unclosed "+t,G,H-W)}function K(){return 0===X.length&&H>=z}function Y(){for(var e=1,t=!1,s=!1;e>0;)k+=1,U.length<=k&&Q("interpolation"),h=U.charCodeAt(k),R=U.charCodeAt(k+1),t?s||h!==t?h===i?s=!L:s&&(s=!1):(t=!1,s=!1):h===r||h===n?t=h:h===g?e-=1:h===C&&R===y&&(e+=1)}function Z(){if(X.length)return X.pop();if(!(H>=z)){switch(((h=U.charCodeAt(H))===o||h===u||h===c&&U.charCodeAt(H+1)!==o)&&(W=H,G+=1),h){case o:case a:case l:case c:case u:k=H;do{k+=1,(h=U.charCodeAt(k))===o&&(W=k,G+=1)}while(h===a||h===o||h===l||h===c||h===u);$=["space",U.slice(H,k)],H=k-1;break;case p:$=["[","[",G,H-W];break;case d:$=["]","]",G,H-W];break;case y:$=["{","{",G,H-W];break;case g:$=["}","}",G,H-W];break;case x:$=["word",",",G,H-W,G,H-W+1];break;case b:$=[":",":",G,H-W];break;case v:$=[";",";",G,H-W];break;case f:if(M=J.length?J.pop()[1]:"",R=U.charCodeAt(H+1),"url"===M&&R!==r&&R!==n){for(V=1,L=!1,k=H+1;k<=U.length-1;){if((R=U.charCodeAt(k))===i)L=!L;else if(R===f)V+=1;else if(R===m&&0===(V-=1))break;k+=1}O=U.slice(H,k+1),N=O.split("\n"),(_=N.length-1)>0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["brackets",O,G,H-W,B,k-j],W=j,G=B,H=k}else k=U.indexOf(")",H+1),O=U.slice(H,k+1),-1===k||S.test(O)?$=["(","(",G,H-W]:($=["brackets",O,G,H-W,G,k-W],H=k);break;case m:$=[")",")",G,H-W];break;case r:case n:for(P=h,k=H,L=!1;k0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["string",U.slice(H,k+1),G,H-W,B,k-j],W=j,G=B,H=k;break;case E:w.lastIndex=H+1,w.test(U),k=0===w.lastIndex?U.length-1:w.lastIndex-2,$=["at-word",U.slice(H,k+1),G,H-W,G,k-W],H=k;break;case i:for(k=H,I=!0;U.charCodeAt(k+1)===i;)k+=1,I=!I;if(h=U.charCodeAt(k+1),I&&h!==s&&h!==a&&h!==o&&h!==l&&h!==c&&h!==u&&(k+=1,T.test(U.charAt(k)))){for(;T.test(U.charAt(k+1));)k+=1;U.charCodeAt(k+1)===a&&(k+=1)}$=["word",U.slice(H,k+1),G,H-W,G,k-W],H=k;break;default:R=U.charCodeAt(H+1),h===C&&R===y?(k=H,Y(),O=U.slice(H,k+1),N=O.split("\n"),(_=N.length-1)>0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["word",O,G,H-W,B,k-j],W=j,G=B,H=k):h===s&&R===D?(0===(k=U.indexOf("*/",H+2)+1)&&(q?k=U.length:Q("comment")),O=U.slice(H,k+1),N=O.split("\n"),(_=N.length-1)>0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["comment",O,G,H-W,B,k-j],W=j,G=B,H=k):h===s&&R===s?(F.lastIndex=H+1,F.test(U),k=0===F.lastIndex?U.length-1:F.lastIndex-2,O=U.slice(H,k+1),$=["comment",O,G,H-W,G,k-W,"inline"],H=k):(A.lastIndex=H+1,A.test(U),k=0===A.lastIndex?U.length-1:A.lastIndex-2,$=["word",U.slice(H,k+1),G,H-W,G,k-W],J.push($),H=k)}return H++,$}}function ee(e){X.push(e)}return{back:ee,nextToken:Z,endOfFile:K}}}}),Nn=u({"node_modules/postcss-scss/lib/scss-parser.js"(e,t){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h();var n=rn(),i=vn(),s=kn(),o=Pn(),a=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var i=t.prototype;return i.createTokenizer=function(){this.tokenizer=o(this.input)},i.rule=function(t){var r=!1,n=0,i="",o=t,a=Array.isArray(o),u=0;for(o=a?o:o[Symbol.iterator]();;){var l;if(a){if(u>=o.length)break;l=o[u++]}else{if((u=o.next()).done)break;l=u.value}var c=l;if(r)"comment"!==c[0]&&"{"!==c[0]&&(i+=c[1]);else{if("space"===c[0]&&-1!==c[1].indexOf("\n"))break;"("===c[0]?n+=1:")"===c[0]?n-=1:0===n&&":"===c[0]&&(r=!0)}}if(!r||""===i.trim()||/^[a-zA-Z-:#]/.test(i))e.prototype.rule.call(this,t);else{t.pop();var p=new s;this.init(p);var h,d=t[t.length-1];for(d[4]?p.source.end={line:d[4],column:d[5]}:p.source.end={line:d[2],column:d[3]};"word"!==t[0][0];)p.raws.before+=t.shift()[1];for(p.source.start={line:t[0][2],column:t[0][3]},p.prop="";t.length;){var f=t[0][0];if(":"===f||"space"===f||"comment"===f)break;p.prop+=t.shift()[1]}for(p.raws.between="";t.length;){if(":"===(h=t.shift())[0]){p.raws.between+=h[1];break}p.raws.between+=h[1]}("_"===p.prop[0]||"*"===p.prop[0])&&(p.raws.before+=p.prop[0],p.prop=p.prop.slice(1)),p.raws.between+=this.spacesAndCommentsFromStart(t),this.precheckMissedSemicolon(t);for(var m=t.length-1;m>0;m--){if("!important"===(h=t[m])[1]){p.important=!0;var y=this.stringFrom(t,m);" !important"!==(y=this.spacesFromEnd(t)+y)&&(p.raws.important=y);break}if("important"===h[1]){for(var g=t.slice(0),v="",D=m;D>0;D--){var b=g[D][0];if(0===v.trim().indexOf("!")&&"space"!==b)break;v=g.pop()[1]+v}0===v.trim().indexOf("!")&&(p.important=!0,p.raws.important=v,t=g)}if("space"!==h[0]&&"comment"!==h[0])break}this.raw(p,"value",t),-1!==p.value.indexOf(":")&&this.checkMissedSemicolon(t),this.current=p}},i.comment=function(t){if("inline"===t[6]){var r=new n;this.init(r,t[2],t[3]),r.raws.inline=!0,r.source.end={line:t[4],column:t[5]};var i=t[1].slice(2);if(/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{var s=i.match(/^(\s*)([^]*[^\s])(\s*)$/),o=s[2].replace(/(\*\/|\/\*)/g,"*//*");r.text=o,r.raws.left=s[1],r.raws.right=s[3],r.raws.text=s[2]}}else e.prototype.comment.call(this,t)},i.raw=function(t,r,n){if(e.prototype.raw.call(this,t,r,n),t.raws[r]){var i=t.raws[r].raw;t.raws[r].raw=n.reduce((function(e,t){return"comment"===t[0]&&"inline"===t[6]?e+"/*"+t[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*")+"*/":e+t[1]}),""),i!==t.raws[r].raw&&(t.raws[r].scss=i)}},t}(i);t.exports=a}}),_n=u({"node_modules/postcss-scss/lib/scss-parse.js"(e,t){h();var r=Yr(),n=Nn();t.exports=function(e,t){var i=new r(e,t),s=new n(i);return s.parse(),s.root}}}),On=u({"node_modules/postcss-scss/lib/scss-syntax.js"(e,t){h();var r=Fn(),n=_n();t.exports={parse:n,stringify:r}}});h();var In=d(),Bn=f(),jn=m(),{hasPragma:Ln}=U(),{locStart:Mn,locEnd:Rn}=W(),{calculateLoc:$n,replaceQuotesInInlineComments:Vn}=W(),Un=H(),qn=J(),zn=X(),Wn=Q(),Gn=K(),Hn=Y(),Jn=Z(),Xn=ee(),Qn=e=>{for(;e.parent;)e=e.parent;return e};function Kn(e,t){let{nodes:r}=e,n={open:null,close:null,groups:[],type:"paren_group"},i=[n],s=n,o={groups:[],type:"comma_group"},a=[o];for(let u=0;u0&&n.groups.push(o),n.close=s,1===a.length)throw new Error("Unbalanced parenthesis");a.pop(),o=Bn(a),o.groups.push(n),i.pop(),n=Bn(i)}else"comma"===s.type?(n.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(s)}return o.groups.length>0&&n.groups.push(o),s}function Yn(e){return"paren_group"===e.type&&!e.open&&!e.close&&1===e.groups.length||"comma_group"===e.type&&1===e.groups.length?Yn(e.groups[0]):"paren_group"===e.type||"comma_group"===e.type?Object.assign(Object.assign({},e),{},{groups:e.groups.map(Yn)}):e}function Zn(e,t,r){if(e&&"object"==typeof e){delete e.parent;for(let n in e)Zn(e[n],t,r),"type"===n&&"string"==typeof e[n]&&!e[n].startsWith(t)&&(!r||!r.test(e[n]))&&(e[n]=t+e[n])}return e}function ei(e){if(e&&"object"==typeof e){delete e.parent;for(let t in e)ei(e[t]);!Array.isArray(e)&&e.value&&!e.type&&(e.type="unknown")}return e}function ti(e,t){if(e&&"object"==typeof e){for(let r in e)"parent"!==r&&(ti(e[r],t),"nodes"===r&&(e.group=Yn(Kn(e,t)),delete e[r]));delete e.parent}return e}function ri(e,t){let r=nr(),n=null;try{n=r(e,{loose:!0}).parse()}catch{return{type:"value-unknown",value:e}}return n.text=e,Zn(ti(n,t),"value-",/^selector-/)}function ni(e){if(/\/\/|\/\*/.test(e))return{type:"selector-unknown",value:e.trim()};let t=wr(),r=null;try{t((e=>{r=e})).process(e)}catch{return{type:"selector-unknown",value:e}}return Zn(r,"selector-")}function ii(e){let t=Fr().default,r=null;try{r=t(e)}catch{return{type:"selector-unknown",value:e}}return Zn(ei(r),"media-")}var si=/(\s*)(!default).*$/,oi=/(\s*)(!global).*$/;function ai(e,t){if(e&&"object"==typeof e){delete e.parent;for(let r in e)ai(e[r],t);if(!e.type)return e;e.raws||(e.raws={});let s="";var r;"string"==typeof e.selector&&(s=e.raws.selector?null!==(r=e.raws.selector.scss)&&void 0!==r?r:e.raws.selector.raw:e.selector,e.raws.between&&e.raws.between.trim().length>0&&(s+=e.raws.between),e.raws.selector=s);let o="";var n;"string"==typeof e.value&&(o=e.raws.value?null!==(n=e.raws.value.scss)&&void 0!==n?n:e.raws.value.raw:e.value,o=o.trim(),e.raws.value=o);let a="";var i;if("string"==typeof e.params&&(a=e.raws.params?null!==(i=e.raws.params.scss)&&void 0!==i?i:e.raws.params.raw:e.params,e.raws.afterName&&e.raws.afterName.trim().length>0&&(a=e.raws.afterName+a),e.raws.between&&e.raws.between.trim().length>0&&(a+=e.raws.between),a=a.trim(),e.raws.params=a),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?e:e.mixin?(e.selector=ri(s,t),e):(Gn(e)&&(e.isSCSSNesterProperty=!0),e.selector=ni(s),e);if(o.length>0){let r=o.match(si);r&&(o=o.slice(0,r.index),e.scssDefault=!0,"!default"!==r[0].trim()&&(e.raws.scssDefault=r[0]));let n=o.match(oi);if(n&&(o=o.slice(0,n.index),e.scssGlobal=!0,"!global"!==n[0].trim()&&(e.raws.scssGlobal=n[0])),o.startsWith("progid:"))return{type:"value-unknown",value:o};e.value=ri(o,t)}if(zn(t)&&"css-decl"===e.type&&o.startsWith("extend(")&&(e.extend||(e.extend=":"===e.raws.between),e.extend&&!e.selector&&(delete e.value,e.selector=ni(o.slice(7,-1)))),"css-atrule"===e.type){if(zn(t)){if(e.mixin){let t=e.raws.identifier+e.name+e.raws.afterName+e.raws.params;return e.selector=ni(t),delete e.params,e}if(e.function)return e}if("css"===t.parser&&"custom-selector"===e.name){let t=e.params.match(/:--\S+\s+/)[0].trim();return e.customSelector=t,e.selector=ni(e.params.slice(t.length).trim()),delete e.params,e}if(zn(t)){if(e.name.includes(":")&&!e.params){e.variable=!0;let r=e.name.split(":");e.name=r[0],e.value=ri(r.slice(1).join(":"),t)}if(!["page","nest","keyframes"].includes(e.name)&&e.params&&":"===e.params[0]){e.variable=!0;let r=e.params.slice(1);r&&(e.value=ri(r,t)),e.raws.afterName+=":"}if(e.variable)return delete e.params,e.value||delete e.value,e}}if("css-atrule"===e.type&&a.length>0){let{name:r}=e,n=e.name.toLowerCase();return"warn"===r||"error"===r?(e.params={type:"media-unknown",value:a},e):"extend"===r||"nest"===r?(e.selector=ni(a),delete e.params,e):"at-root"===r?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(a)?e.params=ri(a,t):(e.selector=ni(a),delete e.params),e):Xn(n)?(e.import=!0,delete e.filename,e.params=ri(a,t),e):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(r)?(a=a.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),a=a.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),e.value=ri(a,t),delete e.params,e):["media","custom-media"].includes(n)?a.includes("#{")?{type:"media-unknown",value:a}:(e.params=ii(a),e):(e.params=a,e)}}return e}function ui(e,t,r){let n,i=jn(t),{frontMatter:s}=i;t=i.content;try{n=e(t)}catch(o){let{name:e,reason:t,line:r,column:n}=o;throw"number"!=typeof r?o:In(`${e}: ${t}`,{start:{line:r,column:n}})}return n=ai(Zn(n,"css-"),r),$n(n,t),s&&(s.source={startOffset:0,endOffset:s.raw.length},n.nodes.unshift(s)),n}function li(e,t){let r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Wn(n.parser,e)?[pi,ci]:[ci,pi];for(let o of i)try{return o(e,t,n)}catch(s){r=r||s}if(r)throw r}function ci(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Sn();return ui((e=>n.parse(Vn(e))),e,r)}function pi(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{parse:n}=On();return ui(n,e,r)}var hi={astFormat:"postcss",hasPragma:Ln,locStart:Mn,locEnd:Rn};t.exports={parsers:{css:Object.assign(Object.assign({},hi),{},{parse:li}),less:Object.assign(Object.assign({},hi),{},{parse:ci}),scss:Object.assign(Object.assign({},hi),{},{parse:pi})}}}));return ge()}()},3945:function(e,t,r){var n,i,s;e.exports=function(){"use strict";var o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),a=o(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),u=o(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),l=o(((e,t)=>{var r=u();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),c=o(((e,t)=>{var r=u();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),p=o(((e,t)=>{var r=c(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),h=o((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),d=o(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),f=o(((e,t)=>{var r=c(),n=Function.prototype,i=n.call,s=r&&n.bind.bind(i,i);t.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}})),m=o(((e,t)=>{var r=f(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),y=o(((e,t)=>{var r=f(),n=u(),i=m(),s=Object,o=r("".split);t.exports=n((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o(e,""):s(e)}:s})),g=o(((e,t)=>{t.exports=function(e){return null==e}})),v=o(((e,t)=>{var r=g(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),D=o(((e,t)=>{var r=y(),n=v();t.exports=function(e){return r(n(e))}})),b=o(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),E=o(((e,t)=>{var r=b(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),x=o(((e,t)=>{var r=E(),n=b(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),C=o(((e,t)=>{var r=a(),n=E(),i=function(e){return n(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}})),w=o(((e,t)=>{var r=f();t.exports=r({}.isPrototypeOf)})),A=o(((e,t)=>{var r=C();t.exports=r("navigator","userAgent")||""})),S=o(((e,t)=>{var r,n,i=a(),s=A(),o=i.process,u=i.Deno,l=o&&o.versions||u&&u.version,c=l&&l.v8;c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),T=o(((e,t)=>{var r=S(),n=u();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),F=o(((e,t)=>{var r=T();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),k=o(((e,t)=>{var r=C(),n=E(),i=w(),s=F(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),P=o(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),N=o(((e,t)=>{var r=E(),n=P(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),_=o(((e,t)=>{var r=N(),n=g();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),O=o(((e,t)=>{var r=p(),n=E(),i=x(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),I=o(((e,t)=>{t.exports=!1})),B=o(((e,t)=>{var r=a(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),j=o(((e,t)=>{var r=a(),n=B(),i="__core-js_shared__",s=r[i]||n(i,{});t.exports=s})),L=o(((e,t)=>{var r=I(),n=j();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),M=o(((e,t)=>{var r=v(),n=Object;t.exports=function(e){return n(r(e))}})),R=o(((e,t)=>{var r=f(),n=M(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),$=o(((e,t)=>{var r=f(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),V=o(((e,t)=>{var r=a(),n=L(),i=R(),s=$(),o=T(),u=F(),l=n("wks"),c=r.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||s;t.exports=function(e){if(!i(l,e)||!o&&"string"!=typeof l[e]){var t="Symbol."+e;o&&i(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),U=o(((e,t)=>{var r=p(),n=x(),i=k(),s=_(),o=O(),a=V(),u=TypeError,l=a("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var a,c=s(e,l);if(c){if(void 0===t&&(t="default"),a=r(c,e,t),!n(a)||i(a))return a;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),q=o(((e,t)=>{var r=U(),n=k();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),z=o(((e,t)=>{var r=a(),n=x(),i=r.document,s=n(i)&&n(i.createElement);t.exports=function(e){return s?i.createElement(e):{}}})),W=o(((e,t)=>{var r=l(),n=u(),i=z();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),G=o((e=>{var t=l(),r=p(),n=h(),i=d(),s=D(),o=q(),a=R(),u=W(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=s(e),t=o(t),u)try{return c(e,t)}catch{}if(a(e,t))return i(!r(n.f,e,t),e[t])}})),H=o(((e,t)=>{var r=l(),n=u();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),J=o(((e,t)=>{var r=x(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),X=o((e=>{var t=l(),r=W(),n=H(),i=J(),s=q(),o=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(i(e),t=s(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return a(e,t,r)}:a:function(e,t,n){if(i(e),t=s(t),i(n),r)try{return a(e,t,n)}catch{}if("get"in n||"set"in n)throw o("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),Q=o(((e,t)=>{var r=l(),n=X(),i=d();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),K=o(((e,t)=>{var r=l(),n=R(),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,o=n(i,"name"),a=o&&"something"===function(){}.name,u=o&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:o,PROPER:a,CONFIGURABLE:u}})),Y=o(((e,t)=>{var r=f(),n=E(),i=j(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),Z=o(((e,t)=>{var r=a(),n=E(),i=r.WeakMap;t.exports=n(i)&&/native code/.test(String(i))})),ee=o(((e,t)=>{var r=L(),n=$(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),te=o(((e,t)=>{t.exports={}})),re=o(((e,t)=>{var r,n,i,s,o,u=Z(),l=a(),c=x(),p=Q(),h=R(),d=j(),f=ee(),m=te(),y="Object already initialized",g=l.TypeError,v=l.WeakMap,D=function(e){return i(e)?n(e):r(e,{})},b=function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}};u||d.state?((s=d.state||(d.state=new v)).get=s.get,s.has=s.has,s.set=s.set,r=function(e,t){if(s.has(e))throw g(y);return t.facade=e,s.set(e,t),t},n=function(e){return s.get(e)||{}},i=function(e){return s.has(e)}):(m[o=f("state")]=!0,r=function(e,t){if(h(e,o))throw g(y);return t.facade=e,p(e,o,t),t},n=function(e){return h(e,o)?e[o]:{}},i=function(e){return h(e,o)}),t.exports={set:r,get:n,has:i,enforce:D,getterFor:b}})),ne=o(((e,t)=>{var r=u(),n=E(),i=R(),s=l(),o=K().CONFIGURABLE,a=Y(),c=re(),p=c.enforce,h=c.get,d=Object.defineProperty,f=s&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||o&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&i(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return i(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return n(this)&&h(this).source||a(this)}),"toString")})),ie=o(((e,t)=>{var r=E(),n=X(),i=ne(),s=B();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),se=o(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),oe=o(((e,t)=>{var r=se();t.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}})),ae=o(((e,t)=>{var r=oe(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ue=o(((e,t)=>{var r=oe(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),le=o(((e,t)=>{var r=ue();t.exports=function(e){return r(e.length)}})),ce=o(((e,t)=>{var r=D(),n=ae(),i=le(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),pe=o(((e,t)=>{var r=f(),n=R(),i=D(),s=ce().indexOf,o=te(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),he=o(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),de=o((e=>{var t=pe(),r=he().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),fe=o((e=>{e.f=Object.getOwnPropertySymbols})),me=o(((e,t)=>{var r=C(),n=f(),i=de(),s=fe(),o=J(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),ye=o(((e,t)=>{var r=R(),n=me(),i=G(),s=X();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c{var r=u(),n=E(),i=/#|\.prototype\./,s=function(e,t){var i=a[o(e)];return i==c||i!=l&&(n(t)?r(t):!!t)},o=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s})),ve=o(((e,t)=>{var r=a(),n=G().f,i=Q(),s=ie(),o=B(),u=ye(),l=ge();t.exports=function(e,t){var a,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(a=m?r:y?r[f]||o(f,{}):(r[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=n(a,c))&&d.value:a[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&i(h,"sham",!0),s(a,c,h,e)}}})),De=o(((e,t)=>{var r=m();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),be=o(((e,t)=>{var r=TypeError,n=9007199254740991;t.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}})),Ee=o(((e,t)=>{var r=m(),n=f();t.exports=function(e){if("Function"===r(e))return n(e)}})),xe=o(((e,t)=>{var r=Ee(),n=N(),i=c(),s=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}})),Ce=o(((e,t)=>{var r=De(),n=le(),i=be(),s=xe(),o=function(e,t,a,u,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&s(p,h);y0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),y++;return m};t.exports=o})),we=o(((e,t)=>{var r={};r[V()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Ae=o(((e,t)=>{var r=we(),n=E(),i=m(),s=V()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch{}};t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Se=o(((e,t)=>{var r=f(),n=u(),i=E(),s=Ae(),o=C(),a=Y(),l=function(){},c=[],p=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=r(h.exec),m=!h.exec(l),y=function(e){if(!i(e))return!1;try{return p(l,c,e),!0}catch{return!1}},g=function(e){if(!i(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(h,a(e))}catch{return!0}};g.sham=!0,t.exports=!p||n((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?g:y})),Te=o(((e,t)=>{var r=De(),n=Se(),i=x(),s=V()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Fe=o(((e,t)=>{var r=Te();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),ke=o((()=>{var e=ve(),t=Ce(),r=N(),n=M(),i=le(),s=Fe();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),u=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Pe=o(((e,t)=>{t.exports={}})),Ne=o(((e,t)=>{var r=V(),n=Pe(),i=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}})),_e=o(((e,t)=>{var r=Ae(),n=_(),i=g(),s=Pe(),o=V()("iterator");t.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[r(e)]}})),Oe=o(((e,t)=>{var r=p(),n=N(),i=J(),s=P(),o=_e(),a=TypeError;t.exports=function(e,t){var u=arguments.length<2?o(e):t;if(n(u))return i(r(u,e));throw a(s(e)+" is not iterable")}})),Ie=o(((e,t)=>{var r=p(),n=J(),i=_();t.exports=function(e,t,s){var o,a;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=r(o,e)}catch(u){a=!0,o=u}if("throw"===t)throw s;if(a)throw o;return n(o),s}})),Be=o(((e,t)=>{var r=xe(),n=p(),i=J(),s=P(),o=Ne(),a=le(),u=w(),l=Oe(),c=_e(),h=Ie(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,p){var y,g,v,D,b,E,x,C=p&&p.that,w=!(!p||!p.AS_ENTRIES),A=!(!p||!p.IS_RECORD),S=!(!p||!p.IS_ITERATOR),T=!(!p||!p.INTERRUPTED),F=r(t,C),k=function(e){return y&&h(y,"normal",e),new f(!0,e)},P=function(e){return w?(i(e),T?F(e[0],e[1],k):F(e[0],e[1])):T?F(e,k):F(e)};if(A)y=e.iterator;else if(S)y=e;else{if(!(g=c(e)))throw d(s(e)+" is not iterable");if(o(g)){for(v=0,D=a(e);D>v;v++)if((b=P(e[v]))&&u(m,b))return b;return new f(!1)}y=l(e,g)}for(E=A?e.next:y.next;!(x=n(E,y)).done;){try{b=P(x.value)}catch(N){h(y,"throw",N)}if("object"==typeof b&&b&&u(m,b))return b}return new f(!1)}})),je=o(((e,t)=>{var r=q(),n=X(),i=d();t.exports=function(e,t,s){var o=r(t);o in e?n.f(e,o,i(0,s)):e[o]=s}})),Le=o((()=>{var e=ve(),t=Be(),r=je();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),Me=o(((e,t)=>{var r=ne(),n=X();t.exports=function(e,t,i){return i.get&&r(i.get,t,{getter:!0}),i.set&&r(i.set,t,{setter:!0}),n.f(e,t,i)}})),Re=o(((e,t)=>{var r=J();t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),$e=o((()=>{var e=a(),t=l(),r=Me(),n=Re(),i=u(),s=e.RegExp,o=s.prototype,c=t&&i((function(){var e=!0;try{s(".","d")}catch{e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var u in e&&(a.hasIndices="d"),a)i(u,a[u]);return Object.getOwnPropertyDescriptor(o,"flags").get.call(t)!==n||r!==n}));c&&r(o,"flags",{configurable:!0,get:n})})),Ve=o((()=>{var e=ve(),t=a();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),Ue=o((()=>{Ve()})),qe=o((()=>{var e=ve(),t=Ce(),r=M(),n=le(),i=oe(),s=Fe();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=r(this),a=n(o),u=s(o,0);return u.length=t(u,o,o,a,0,void 0===e?1:i(e)),u}})})),ze=o(((r,o)=>{var a=["cliName","cliCategory","cliDescription"],u=["_"],l=["languageId"];function c(e,t){if(null==e)return{};var r,n,i=p(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function p(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0)&&(i[r]=e[r]);return i}ke(),Le(),$e(),Ue(),qe();var h,d=Object.create,f=Object.defineProperty,m=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,g=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,D=(e,t)=>function(){return e&&(t=(0,e[y(e)[0]])(e=0)),t},b=(e,t)=>function(){return t||(0,e[y(e)[0]])((t={exports:{}}).exports,t),t.exports},E=(e,t)=>{for(var r in t)f(e,r,{get:t[r],enumerable:!0})},x=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of y(t))!v.call(e,i)&&i!==r&&f(e,i,{get:()=>t[i],enumerable:!(n=m(t,i))||n.enumerable});return e},C=(e,t,r)=>(r=null!=e?d(g(e)):{},x(!t&&e&&e.__esModule?r:f(r,"default",{value:e,enumerable:!0}),e)),w=e=>x(f({},"__esModule",{value:!0}),e),A=D({""(){h={env:{},argv:[]}}}),S=b({"package.json"(e,t){t.exports={version:"2.8.8"}}}),T=b({"node_modules/diff/lib/diff/base.js"(e){function t(){}function r(e,t,r,n,i){for(var s=0,o=t.length,a=0,u=0;se.length?r:e})),l.value=e.join(p)}else l.value=e.join(r.slice(a,a+l.count));a+=l.count,l.added||(u+=l.count)}}var h=t[o-1];return o>1&&"string"==typeof h.value&&(h.added||h.removed)&&e.equals("",h.value)&&(t[o-2].value+=h.value,t.pop()),t}function n(e){return{newPos:e.newPos,components:e.components.slice(0)}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.callback;"function"==typeof i&&(s=i,i={}),this.options=i;var o=this;function a(e){return s?(setTimeout((function(){s(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=u+l,h=[{newPos:-1,components:[]}],d=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=u&&d+1>=l)return a([{value:this.join(t),count:t.length}]);function f(){for(var i=-1*c;i<=c;i+=2){var s=void 0,p=h[i-1],d=h[i+1],f=(d?d.newPos:0)-i;p&&(h[i-1]=void 0);var m=p&&p.newPos+1=u&&f+1>=l)return a(r(o,s.components,t,e,o.useLongestToken));h[i]=s}else h[i]=void 0}c++}if(s)!function e(){setTimeout((function(){if(c>p)return s();f()||e()}),0)}();else for(;c<=p;){var m=f();if(m)return m}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,s=r.length,o=e.newPos,a=o-n,u=0;o+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}function o(e){return i(Number.NEGATIVE_INFINITY,e)}function a(e){return i({type:"root"},e)}function u(e){return i(-1,e)}function l(e,t){return s(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))}function c(e){return{type:"fill",parts:e}}function p(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}}function h(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}}function d(e){return{type:"line-suffix",contents:e}}A();var f={type:"line-suffix-boundary"},m={type:"break-parent"},y={type:"trim"},g={type:"line",hard:!0},v={type:"line",hard:!0,literal:!0},D={type:"line"},b={type:"line",soft:!0},E=r([g,m]),x=r([v,m]),C={type:"cursor",placeholder:Symbol("cursor")};function w(e,t){let n=[];for(let r=0;r0){for(let e=0;e=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}A(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),N=b({"src/utils/get-last.js"(e,t){A();var r=e=>e[e.length-1];t.exports=r}});function _(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var O=D({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){A()}});function I(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(_(),"")}var B=D({"node_modules/strip-ansi/index.js"(){A(),O()}});function j(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var L=D({"node_modules/is-fullwidth-code-point/index.js"(){A()}}),M=b({"node_modules/emoji-regex/index.js"(e,t){A(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),R={};function $(e){if("string"!=typeof e||0===e.length||0===(e=I(e)).length)return 0;e=e.replace((0,V.default)()," ");let t=0;for(let r=0;r=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=j(n)?2:1)}return t}E(R,{default:()=>$});var V,U=D({"node_modules/string-width/index.js"(){A(),B(),L(),V=C(M())}}),q=b({"src/utils/get-string-width.js"(e,t){A();var r=(U(),w(R)).default,n=/[^\x20-\x7F]/;function i(e){return e?n.test(e)?r(e):e.length:0}t.exports=i}}),z=b({"src/document/doc-utils.js"(e,t){A();var r=N(),{literalline:n,join:i}=k(),s=e=>Array.isArray(e)||e&&"concat"===e.type,o=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},a={};function u(e,t,r,n){let i=[e];for(;i.length>0;){let e=i.pop();if(e!==a){if(r&&i.push(e,a),!t||!1!==t(e))if(s(e)||"fill"===e.type){let t=o(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(n)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else r(i.pop())}}function l(e,t){let r=new Map;return n(e);function n(e){if(r.has(e))return r.get(e);let t=i(e);return r.set(e,t),t}function i(e){if(Array.isArray(e))return t(e.map(n));if("concat"===e.type||"fill"===e.type){let r=e.parts.map(n);return t(Object.assign(Object.assign({},e),{},{parts:r}))}if("if-break"===e.type){let r=e.breakContents&&n(e.breakContents),i=e.flatContents&&n(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:r,flatContents:i}))}if("group"===e.type&&e.expandedStates){let r=e.expandedStates.map(n),i=r[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:r}))}if(e.contents){let r=n(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:r}))}return t(e)}}function c(e,t,r){let n=r,i=!1;function s(e){let r=t(e);if(void 0!==r&&(i=!0,n=r),i)return!1}return u(e,s),n}function p(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function h(e){return c(e,p,!1)}function d(e){if(e.length>0){let t=r(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function f(e){let t=new Set,r=[];function n(e){if("break-parent"===e.type&&d(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}function i(e){"group"===e.type&&r.pop().break&&d(r)}u(e,n,i,!0)}function m(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function y(e){return l(e,m)}var g=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function v(e){if(!e)return e;if(s(e)||"fill"===e.type){let t=o(e);for(;t.length>1&&g(...t.slice(-2));)t.length-=2;if(t.length>0){let e=v(r(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let t=v(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=v(e.breakContents),r=v(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:r})}}return e}function D(e){return v(E(e))}function b(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!s(e))return e;let t=[];for(let n of o(e)){if(!n)continue;let[e,...i]=s(n)?o(n):[n];"string"==typeof e&&"string"==typeof r(t)?t[t.length-1]+=e:t.push(e),t.push(...i)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}function E(e){return l(e,(e=>b(e)))}function x(e){let t=[],n=e.filter(Boolean);for(;n.length>0;){let e=n.shift();if(e){if(s(e)){n.unshift(...o(e));continue}if(t.length>0&&"string"==typeof r(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function C(e){return l(e,(e=>Array.isArray(e)?x(e):e.parts?Object.assign(Object.assign({},e),{},{parts:x(e.parts)}):e))}function w(e){return l(e,(e=>"string"==typeof e&&e.includes("\n")?S(e):e))}function S(e){return i(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,e.split("\n")).parts}function T(e){if("line"===e.type)return!0}function F(e){return c(e,T,!1)}t.exports={isConcat:s,getDocParts:o,willBreak:h,traverseDoc:u,findInDoc:c,mapDoc:l,propagateBreaks:f,removeLines:y,stripTrailingHardline:D,normalizeParts:x,normalizeDoc:C,cleanDoc:E,replaceTextEndOfLine:S,replaceEndOfLine:w,canBreak:F}}}),W=b({"src/document/doc-printer.js"(e,t){A();var r,{convertEndOfLineToChars:n}=P(),i=N(),s=q(),{fill:o,cursor:a,indent:u}=k(),{isConcat:l,getDocParts:c}=z(),p=1,h=2;function d(){return{value:"",length:0,queue:[]}}function f(e,t){return y(e,{type:"indent"},t)}function m(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||d():t<0?y(e,{type:"dedent"},r):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):y(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function y(e,t,r){let n="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],i="",s=0,o=0,a=0;for(let f of n)switch(f.type){case"indent":c(),r.useTabs?u(1):l(r.tabWidth);break;case"stringAlign":c(),i+=f.n,s+=f.n.length;break;case"numberAlign":o+=1,a+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return h(),Object.assign(Object.assign({},e),{},{value:i,length:s,queue:n});function u(e){i+="\t".repeat(e),s+=r.tabWidth*e}function l(e){i+=" ".repeat(e),s+=e}function c(){r.useTabs?p():h()}function p(){o>0&&u(o),d()}function h(){a>0&&l(a),d()}function d(){o=0,a=0}}function g(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof i(e)&&/^[\t ]*$/.test(i(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof i(e)){let r=i(e).replace(/[\t ]*$/,"");t+=i(e).length-r.length,e[e.length-1]=r}return t}function v(e,t,n,o,a){let u=t.length,d=[e],f=[];for(;n>=0;){if(0===d.length){if(0===u)return!0;d.push(t[--u]);continue}let{mode:e,doc:m}=d.pop();if("string"==typeof m)f.push(m),n-=s(m);else if(l(m)||"fill"===m.type){let t=c(m);for(let r=t.length-1;r>=0;r--)d.push({mode:e,doc:t[r]})}else switch(m.type){case"indent":case"align":case"indent-if-break":case"label":d.push({mode:e,doc:m.contents});break;case"trim":n+=g(f);break;case"group":{if(a&&m.break)return!1;let t=m.break?p:e,r=m.expandedStates&&t===p?i(m.expandedStates):m.contents;d.push({mode:t,doc:r});break}case"if-break":{let t=(m.groupId?r[m.groupId]||h:e)===p?m.breakContents:m.flatContents;t&&d.push({mode:e,doc:t});break}case"line":if(e===p||m.hard)return!0;m.soft||(f.push(" "),n--);break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1}}return!1}function D(e,t){r={};let y=t.printWidth,D=n(t.endOfLine),b=0,E=[{ind:d(),mode:p,doc:e}],x=[],C=!1,w=[];for(;E.length>0;){let{ind:e,mode:n,doc:d}=E.pop();if("string"==typeof d){let e="\n"!==D?d.replace(/\n/g,D):d;x.push(e),b+=s(e)}else if(l(d)){let t=c(d);for(let r=t.length-1;r>=0;r--)E.push({ind:e,mode:n,doc:t[r]})}else switch(d.type){case"cursor":x.push(a.placeholder);break;case"indent":E.push({ind:f(e,t),mode:n,doc:d.contents});break;case"align":E.push({ind:m(e,d.n,t),mode:n,doc:d.contents});break;case"trim":b-=g(x);break;case"group":switch(n){case h:if(!C){E.push({ind:e,mode:d.break?p:h,doc:d.contents});break}case p:{C=!1;let t={ind:e,mode:h,doc:d.contents},r=y-b,n=w.length>0;if(!d.break&&v(t,E,r,n))E.push(t);else if(d.expandedStates){let t=i(d.expandedStates);if(d.break){E.push({ind:e,mode:p,doc:t});break}for(let i=1;i=d.expandedStates.length){E.push({ind:e,mode:p,doc:t});break}{let t=d.expandedStates[i],s={ind:e,mode:h,doc:t};if(v(s,E,r,n)){E.push(s);break}}}}else E.push({ind:e,mode:p,doc:d.contents});break}}d.id&&(r[d.id]=i(E).mode);break;case"fill":{let t=y-b,{parts:r}=d;if(0===r.length)break;let[i,s]=r,a={ind:e,mode:h,doc:i},u={ind:e,mode:p,doc:i},l=v(a,[],t,w.length>0,!0);if(1===r.length){l?E.push(a):E.push(u);break}let c={ind:e,mode:h,doc:s},f={ind:e,mode:p,doc:s};if(2===r.length){l?E.push(c,a):E.push(f,u);break}r.splice(0,2);let m={ind:e,mode:n,doc:o(r)},g=r[0];v({ind:e,mode:h,doc:[i,s,g]},[],t,w.length>0,!0)?E.push(m,c,a):l?E.push(m,f,a):E.push(m,f,u);break}case"if-break":case"indent-if-break":{let t=d.groupId?r[d.groupId]:n;if(t===p){let t="if-break"===d.type?d.breakContents:d.negate?d.contents:u(d.contents);t&&E.push({ind:e,mode:n,doc:t})}if(t===h){let t="if-break"===d.type?d.flatContents:d.negate?u(d.contents):d.contents;t&&E.push({ind:e,mode:n,doc:t})}break}case"line-suffix":w.push({ind:e,mode:n,doc:d.contents});break;case"line-suffix-boundary":w.length>0&&E.push({ind:e,mode:n,doc:{type:"line",hard:!0}});break;case"line":switch(n){case h:if(!d.hard){d.soft||(x.push(" "),b+=1);break}C=!0;case p:if(w.length>0){E.push({ind:e,mode:n,doc:d},...w.reverse()),w.length=0;break}d.literal?e.root?(x.push(D,e.root.value),b=e.root.length):(x.push(D),b=0):(b-=g(x),x.push(D+e.value),b=e.length)}break;case"label":E.push({ind:e,mode:n,doc:d.contents})}0===E.length&&w.length>0&&(E.push(...w.reverse()),w.length=0)}let A=x.indexOf(a.placeholder);if(-1!==A){let e=x.indexOf(a.placeholder,A+1),t=x.slice(0,A).join(""),r=x.slice(A+1,e).join("");return{formatted:t+r+x.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:x.join("")}}t.exports={printDocToString:D}}}),G=b({"src/document/doc-debug.js"(e,t){A();var{isConcat:r,getDocParts:n}=z();function i(e){if(!e)return"";if(r(e)){let t=[];for(let s of n(e))if(r(s))t.push(...i(s).parts);else{let e=i(s);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:i(e.breakContents),flatContents:i(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:i(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(i)}):"fill"===e.type?{type:"fill",parts:e.parts.map(i)}:e.contents?Object.assign(Object.assign({},e),{},{contents:i(e.contents)}):e}function s(e){let t=Object.create(null),s=new Set;return o(i(e));function o(e,t,i){if("string"==typeof e)return JSON.stringify(e);if(r(e)){let t=n(e).map(o).filter(Boolean);return 1===t.length?t[0]:`[${t.join(", ")}]`}if("line"===e.type){let r=Array.isArray(i)&&i[t+1]&&"break-parent"===i[t+1].type;return e.literal?r?"literalline":"literallineWithoutBreakParent":e.hard?r?"hardline":"hardlineWithoutBreakParent":e.soft?"softline":"line"}if("break-parent"===e.type)return Array.isArray(i)&&i[t-1]&&"line"===i[t-1].type&&i[t-1].hard?void 0:"breakParent";if("trim"===e.type)return"trim";if("indent"===e.type)return"indent("+o(e.contents)+")";if("align"===e.type)return e.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+o(e.contents)+")":e.n<0?"dedent("+o(e.contents)+")":"root"===e.n.type?"markAsRoot("+o(e.contents)+")":"align("+JSON.stringify(e.n)+", "+o(e.contents)+")";if("if-break"===e.type)return"ifBreak("+o(e.breakContents)+(e.flatContents?", "+o(e.flatContents):"")+(e.groupId?(e.flatContents?"":', ""')+`, { groupId: ${a(e.groupId)} }`:"")+")";if("indent-if-break"===e.type){let t=[];e.negate&&t.push("negate: true"),e.groupId&&t.push(`groupId: ${a(e.groupId)}`);let r=t.length>0?`, { ${t.join(", ")} }`:"";return`indentIfBreak(${o(e.contents)}${r})`}if("group"===e.type){let t=[];e.break&&"propagated"!==e.break&&t.push("shouldBreak: true"),e.id&&t.push(`id: ${a(e.id)}`);let r=t.length>0?`, { ${t.join(", ")} }`:"";return e.expandedStates?`conditionalGroup([${e.expandedStates.map((e=>o(e))).join(",")}]${r})`:`group(${o(e.contents)}${r})`}if("fill"===e.type)return`fill([${e.parts.map((e=>o(e))).join(", ")}])`;if("line-suffix"===e.type)return"lineSuffix("+o(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";if("label"===e.type)return`label(${JSON.stringify(e.label)}, ${o(e.contents)})`;throw new Error("Unknown doc type "+e.type)}function a(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let r=String(e).slice(7,-1)||"symbol";for(let n=0;;n++){let i=r+(n>0?` #${n}`:"");if(!s.has(i))return s.add(i),t[e]=`Symbol.for(${JSON.stringify(i)})`}}}t.exports={printDocToDebug:s}}}),H=b({"src/document/index.js"(e,t){A(),t.exports={builders:k(),printer:W(),utils:z(),debug:G()}}}),J={};function X(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}E(J,{default:()=>X});var Q=D({"node_modules/escape-string-regexp/index.js"(){A()}}),K=b({"node_modules/semver/internal/debug.js"(e,t){A();var r="object"==typeof h&&h.env&&h.env.NODE_DEBUG&&/\bsemver\b/i.test(h.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r{};t.exports=r}}),Y=b({"node_modules/semver/internal/constants.js"(e,t){A();var r="2.0.0",n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;t.exports={SEMVER_SPEC_VERSION:r,MAX_LENGTH:n,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:s}}}),Z=b({"node_modules/semver/internal/re.js"(e,t){A();var{MAX_SAFE_COMPONENT_LENGTH:r}=Y(),n=K(),i=(e=t.exports={}).re=[],s=e.src=[],o=e.t={},a=0,u=(e,t,r)=>{let u=a++;n(e,u,t),o[e]=u,s[u]=t,i[u]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),u("FULL",`^${s[o.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),u("LOOSE",`^${s[o.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),u("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",s[o.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",u("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",u("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),ee=b({"node_modules/semver/internal/parse-options.js"(e,t){A();var r=["includePrerelease","loose","rtl"],n=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};t.exports=n}}),te=b({"node_modules/semver/internal/identifiers.js"(e,t){A();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:en(t,e);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}}),re=b({"node_modules/semver/classes/semver.js"(e,t){A();var r=K(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=Y(),{re:s,t:o}=Z(),a=ee(),{compareIdentifiers:u}=te(),l=class{constructor(e,t){if(t=a(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let u=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!u)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),ne=b({"node_modules/semver/functions/compare.js"(e,t){A();var r=re(),n=(e,t,n)=>new r(e,n).compare(new r(t,n));t.exports=n}}),ie=b({"node_modules/semver/functions/lt.js"(e,t){A();var r=ne(),n=(e,t,n)=>r(e,t,n)<0;t.exports=n}}),se=b({"node_modules/semver/functions/gte.js"(e,t){A();var r=ne(),n=(e,t,n)=>r(e,t,n)>=0;t.exports=n}}),oe=b({"src/utils/arrayify.js"(e,t){A(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),ae=b({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:u,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:u,description:r` - Custom directory that contains prettier plugins in node_modules subdirectory. - Overrides default behavior when plugins are searched relatively to the location of Prettier. - Multiple values are accepted. - `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:u,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:l,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` - Format code ending at a given character offset (exclusive). - The range will extend forwards to the end of the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:i},rangeStart:{since:"1.4.0",category:l,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` - Format code starting at a given character offset. - The range will extend backwards to the start of the first line containing the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:i},requirePragma:{since:"1.7.0",category:l,type:"boolean",default:!1,description:r` - Require either '@prettier' or '@format' to be present in the file's first docblock comment - in order for it to be formatted. - `,cliCategory:o},tabWidth:{type:"int",category:u,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:u,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:u,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:s,CATEGORY_OTHER:o,CATEGORY_OUTPUT:a,CATEGORY_GLOBAL:u,CATEGORY_SPECIAL:l,options:c}}}),le=b({"src/main/support.js"(e,t){A();var r={compare:ne(),lt:ie(),gte:se()},n=oe(),i=S().version,s=ue().options;function o(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:o=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=i.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),s),"name").filter((e=>f(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&u(t,h,e));let n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&r.gte(p,e.since)}function m(e){return o||!("deprecated"in e)||e.deprecated&&r.lt(p,e.deprecated)}function y(e){if(l)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return c(e,a)}}function u(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;s&&s.name&&(o+=` (plugin: ${s.name})`),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:o}}}),ce=b({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}A(),t.exports=r}}),pe=b({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&oe[e.length-2];function y(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function v(e,t,r){for(let n=t;n2&&void 0!==arguments[2]?arguments[2]:{};return u(e,r.backwards?t-1:t,r)!==t}function T(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n(e.match(s.regex)||[]).length?s:i),o}function P(e,t){let r=e.slice(1,-1);return _(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":k(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function _(e,t,r){let n='"'===t?"'":'"',i=/\\(.)|(["'])/gs,s=e.replace(i,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+s+t}function O(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function I(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)}function B(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let r of n){let e=r.length/t.length;i.set(e,!0),e>s&&(s=e)}for(let r=1;r{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)}));return n&&n.parsers[0]}function V(e){return e&&"front-matter"===e.type}function U(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function z(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}t.exports={inferParserByLanguage:$,getStringWidth:o,getMaxContinuousCount:I,getMinNotPresentContinuousCount:B,getPenultimate:m,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:x,getNextNonSpaceNonCommentCharacter:C,skip:y,skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:b,isNextLineEmpty:E,isPreviousLineEmpty:D,hasNewline:g,hasNewlineInRange:v,hasSpaces:S,getAlignmentSize:T,getIndentSize:F,getPreferredQuote:k,printString:P,printNumber:O,makeString:_,addLeadingComment:L,addDanglingComment:M,addTrailingComment:R,isFrontMatterNode:V,isNonEmptyArray:s,createGroupIdMapper:U}}}),ge={};function ve(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function De(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=ve(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function be(e){var t=Ee(e),r="/"===Ie(e,-1);return!(e=ve(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Ee(e){return"/"===e.charAt(0)}function xe(){return be(Te(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Ce(e,t){function r(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=De(e).substr(1),t=De(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;aAe,default:()=>Oe,delimiter:()=>_e,dirname:()=>we,extname:()=>Se,isAbsolute:()=>Ee,join:()=>xe,normalize:()=>be,relative:()=>Ce,resolve:()=>De,sep:()=>Ne});var Fe,Pe,Ne,_e,Oe,Ie,Be=D({"node-modules-polyfills:path"(){A(),Fe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Pe=function(e){return Fe.exec(e).slice(1)},Oe={extname:Se,basename:Ae,dirname:we,sep:Ne="/",delimiter:_e=":",relative:Ce,join:xe,isAbsolute:Ee,normalize:be,resolve:De},Ie=function(e,t,r){return e.substr(t,r)}}}),je=b({"node-modules-polyfills-commonjs:path"(e,t){A();var r=(Be(),w(ge));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Me=b({"src/common/errors.js"(e,t){A();var r=class extends Error{},n=class extends Error{},i=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:s}}}),Re={};function Ve(e,t){function r(){this.constructor=e}pt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ze(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function Ge(e,t){return function(r,n){t(r,n,e)}}function He(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function Je(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function o(e){try{u(n.next(e))}catch(t){s(t)}}function a(e){try{u(n.throw(e))}catch(t){s(t)}}function u(e){e.done?r(e.value):i(e.value).then(o,a)}u((n=n.apply(e,t||[])).next())}))}function Xe(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ze(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function et(){for(var e=[],t=0;t1||a(e,t)}))})}function a(e,t){try{u(i[e](t))}catch(r){p(s[0][3],r)}}function u(e){e.value instanceof rt?Promise.resolve(e.value.v).then(l,c):p(s[0][2],e)}function l(e){a("next",e)}function c(e){a("throw",e)}function p(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function it(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:rt(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function st(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof Ye?Ye(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,s){i(n,s,(t=e[r](t)).done,t.value)}))}}function i(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}}function ot(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function at(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function ut(e){return e&&e.__esModule?e:{default:e}}function lt(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function ct(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}E(Re,{__assign:()=>ht,__asyncDelegator:()=>it,__asyncGenerator:()=>nt,__asyncValues:()=>st,__await:()=>rt,__awaiter:()=>Je,__classPrivateFieldGet:()=>lt,__classPrivateFieldSet:()=>ct,__createBinding:()=>Qe,__decorate:()=>We,__exportStar:()=>Ke,__extends:()=>Ve,__generator:()=>Xe,__importDefault:()=>ut,__importStar:()=>at,__makeTemplateObject:()=>ot,__metadata:()=>He,__param:()=>Ge,__read:()=>Ze,__rest:()=>ze,__spread:()=>et,__spreadArrays:()=>tt,__values:()=>Ye});var pt,ht,dt=D({"node_modules/tslib/tslib.es6.js"(){A(),pt=function(e,t){return(pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},ht=function(){return ht=Object.assign||function(e){for(var t,r=1,n=arguments.length;r/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map((t=>e.apiDescriptor.value(t))).join(", ")}]`;let r=Object.keys(t);return 0===r.length?"{}":`{ ${r.map((r=>`${e.apiDescriptor.key(r)}: ${e.apiDescriptor.value(t[r])}`)).join(", ")} }`},pair:t=>{let{key:r,value:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),mt=b({"node_modules/vnopts/lib/descriptors/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(ft(),e)}}),yt=b({"scripts/build/shims/chalk.cjs"(e,t){A();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),gt=b({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=yt();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:i}=n,s=[`${t.default.yellow("string"==typeof e?i.key(e):i.pair(e))} is deprecated`];return r&&s.push(`we now treat it as ${t.default.blue("string"==typeof r?i.key(r):i.pair(r))}`),s.join("; ")+"."}}}),vt=b({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(gt(),e)}}),Dt=b({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=yt();e.commonInvalidHandler=(e,r,n)=>[`Invalid ${t.default.red(n.descriptor.key(e))} value.`,`Expected ${t.default.blue(n.schemas[e].expected(n))},`,`but received ${t.default.red(n.descriptor.value(r))}.`].join(" ")}}),bt=b({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(Dt(),e)}}),Et=b({"node_modules/vnopts/node_modules/leven/index.js"(e,t){A();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var s=e.length,o=t.length;if(0===s)return o;if(0===o)return s;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-o);)s--,o--;if(0===s)return o;for(var a=0;al?p>l?l+1:p:p>c?c+1:p;return l}}}),xt=b({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=yt(),r=Et();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:o,schemas:a}=i,u=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:n}))}.`],l=Object.keys(a).sort().find((t=>r(e,t)<3));l&&u.push(`Did you mean ${t.default.blue(s.key(l))}?`),o.warn(u.join(" "))}}}),Ct=b({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(xt(),e)}}),wt=b({"node_modules/vnopts/lib/handlers/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re));t.__exportStar(vt(),e),t.__exportStar(bt(),e),t.__exportStar(Ct(),e)}}),At=b({"node_modules/vnopts/lib/schema.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let s=new e(r),o=Object.create(s);for(let a of t)a in r&&(o[a]=i(r[a],s,n.prototype[a].length));return o}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),s=0;se}e.Schema=n}}),St=b({"node_modules/vnopts/lib/schemas/alias.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=r}}),Tt=b({"node_modules/vnopts/lib/schemas/any.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),Ft=b({"node_modules/vnopts/lib/schemas/array.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re)),r=At(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(i))}return r}redirect(e,t){let r=[],n=[];for(let s of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(s,t),s);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(i))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),kt=b({"node_modules/vnopts/lib/schemas/boolean.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),Pt=b({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r[e]=n}return r}function r(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r.set(e,n)}return r}function n(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}}function i(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]}function s(e){return e===Math.floor(e)}function o(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)}function a(e){return void 0===e?{}:e}function u(e,t){return!0===e||(!1===e?{value:t}:e)}function l(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)}function c(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function p(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>c(e,t))):[c(e,t)]}function h(e,t){let r=p("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===r.length?{remain:t,redirect:r}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=t,e.mapFromArray=r,e.createAutoChecklist=n,e.partition=i,e.isInt=s,e.comparePrimitive=o,e.normalizeDefaultResult=a,e.normalizeValidateResult=u,e.normalizeDeprecatedResult=l,e.normalizeTransferResult=c,e.normalizeForwardResult=p,e.normalizeRedirectResult=h}}),Nt=b({"node_modules/vnopts/lib/schemas/choice.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=Pt(),n=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(r.comparePrimitive).map(t.value),i=n.slice(0,-2),s=n.slice(-2);return i.concat(s.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=n}}),_t=b({"node_modules/vnopts/lib/schemas/number.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),Ot=b({"node_modules/vnopts/lib/schemas/integer.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=_t(),n=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=n}}),It=b({"node_modules/vnopts/lib/schemas/string.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),Bt=b({"node_modules/vnopts/lib/schemas/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re));t.__exportStar(St(),e),t.__exportStar(Tt(),e),t.__exportStar(Ft(),e),t.__exportStar(kt(),e),t.__exportStar(Nt(),e),t.__exportStar(Ot(),e),t.__exportStar(_t(),e),t.__exportStar(It(),e)}}),jt=b({"node_modules/vnopts/lib/defaults.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=ft(),r=gt(),n=bt(),i=xt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Lt=b({"node_modules/vnopts/lib/normalize.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=Pt();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:i=console,descriptor:s=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:a=t.defaultInvalidHandler,deprecated:u=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:s,logger:i||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=a,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],i=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};i();for(let s of Object.keys(this._utils.schemas)){let e=this._utils.schemas[s];if(!(s in t)){let t=r.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[s]:t.value})}}i();for(let r of Object.keys(this._utils.schemas)){let e=this._utils.schemas[r];r in t&&(t[r]=e.postprocess(t[r],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,s]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let o of i){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils),a=r.normalizeValidateResult(i.validate(s,this._utils),s);if(!0!==a){let{value:e}=a,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}let u=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},l=e=>{let{value:t,redirectTo:n}=e,a=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),s,!0);if(!1!==a)if(!0===a)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,n,this._utils));else for(let{value:r}of a){let e={key:o,value:r};if(!this._hasDeprecationWarned(e)){let t="string"==typeof n?{key:n,value:r}:n;this._utils.logger.warn(this._deprecatedHandler(e,t,this._utils))}}};r.normalizeForwardResult(i.forward(s,this._utils),s).forEach(u);let c=r.normalizeRedirectResult(i.redirect(s,this._utils),s);if(c.redirect.forEach(u),"remain"in c){let e=c.remain;t[o]=o in t?i.overlap(t[o],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of c.redirect)l({value:e,redirectTo:t})}for(let r of s){let i=e[r],s=this._unknownHandler(r,i,this._utils);if(s)for(let e of Object.keys(s)){let r={[e]:s[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),Mt=b({"node_modules/vnopts/lib/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re));t.__exportStar(mt(),e),t.__exportStar(wt(),e),t.__exportStar(Bt(),e),t.__exportStar(Lt(),e),t.__exportStar(At(),e)}}),Rt=b({"src/main/options-normalizer.js"(e,t){A();var r,n=Mt(),i=N(),s={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?`--no-${t}`:!0===r?s.key(t):""===r?`${s.key(t)} without an argument`:`${s.key(t)}=${r}`}},o=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find((t=>r(t,e)<3));if(i)return n.logger.warn([`Unknown flag ${t.yellow(n.descriptor.value(e))},`,`did you mean ${t.blue(n.descriptor.value(i))}?`].join(" ")),i}return e}expected(){return"a flag"}}};function a(e,t){let{logger:i=!1,isCLI:o=!1,passThrough:a=!1,colorsModule:p=null,levenshteinDistance:h=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=a?Array.isArray(a)?(e,t)=>a.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let i=r.schemas,{_:s}=i,o=c(i,u);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:o}))},f=o?s:n.apiDescriptor,m=l(t,{isCLI:o,colorsModule:p,levenshteinDistance:h}),y=new n.Normalizer(m,{logger:i,unknown:d,descriptor:f}),g=!1!==i;g&&r&&(y._hasDeprecationWarned=r);let v=y.normalize(e);return g&&(r=y._hasDeprecationWarned),o&&!1===v["plugin-search"]&&(v["plugin-search-dir"]=!1),v}function l(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,o=[];r&&o.push(n.AnySchema.create({name:"_"}));for(let a of e)o.push(p(a,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),a.alias&&r&&o.push(n.AliasSchema.create({name:a.alias,sourceName:a.name}));return o}function p(e,t){let{isCLI:r,optionInfos:s,colorsModule:a,levenshteinDistance:u}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return n.AnySchema.create({name:l,preprocess:e=>(!1===e||(e=Array.isArray(e)?e:[e]),e),validate:e=>!1===e||e.every((e=>"string"==typeof e)),expected:()=>"false or paths to plugin search dir"});let c,p={name:l},h={};switch(e.type){case"int":c=n.IntegerSchema,r&&(p.preprocess=Number);break;case"string":case"path":c=n.StringSchema;break;case"choice":c=n.ChoiceSchema,p.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":c=n.BooleanSchema;break;case"flag":c=o({colorsModule:a,levenshteinDistance:u}),p.flags=s.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?p.validate=(t,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(h.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(h.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?i(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),h),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),h))}function h(e,t,r){return a(e,t,r)}function d(e,t,r){return a(e,t,Object.assign({isCLI:!0},r))}t.exports={normalizeApiOptions:h,normalizeCliOptions:d}}}),$t=b({"src/language-js/loc.js"(e,t){A();var r=ce();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function o(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}function a(e,t){return s(e,t)&&o(e,t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:a}}}),Vt=b({"src/main/load-parser.js"(e,t){A(),t.exports=()=>{}}}),Ut=b({"scripts/build/shims/babel-highlight.cjs"(e,t){A();var r=yt(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),qt=b({"node_modules/@babel/code-frame/lib/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=o,e.default=a;var t=Ut(),r=!1;function n(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var i=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:o=3}=r||{},a=n.line,u=n.column,l=i.line,c=i.column,p=Math.max(a-(s+1),0),h=Math.min(t.length,l+o);-1===a&&(p=0),-1===l&&(h=t.length);let d=l-a,f={};if(d)for(let m=0;m<=d;m++){let e=m+a;if(u)if(0===m){let r=t[e-1].length;f[e]=[u,r-u+1]}else if(m===d)f[e]=[0,c];else{let r=t[e-m].length;f[e]=[0,r]}else f[e]=!0}else f[a]=u===c?!u||[u,0]:[u,c-u];return{start:p,end:h,markerLines:f}}function o(e,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(o.highlightCode||o.forceColor)&&(0,t.shouldHighlight)(o),u=(0,t.getChalk)(o),l=n(u),c=(e,t)=>a?e(t):t,p=e.split(i),{start:h,end:d,markerLines:f}=s(r,p,o),m=r.start&&"number"==typeof r.start.column,y=String(d).length,g=(a?(0,t.default)(e,o):e).split(i,d).slice(h,d).map(((e,t)=>{let r=h+1+t,n=` ${` ${r}`.slice(-y)} |`,i=f[r],s=!f[r+1];if(i){let t="";if(Array.isArray(i)){let r=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),a=i[1]||1;t=["\n ",c(l.gutter,n.replace(/\d/g," "))," ",r,c(l.marker,"^").repeat(a)].join(""),s&&o.message&&(t+=" "+c(l.message,o.message))}return[c(l.marker,">"),c(l.gutter,n),e.length>0?` ${e}`:"",t].join("")}return` ${c(l.gutter,n)}${e.length>0?` ${e}`:""}`})).join("\n");return o.message&&!m&&(g=`${" ".repeat(y+1)}${o.message}\n${g}`),a?u.reset(g):g}function a(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";h.emitWarning?h.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return o(e,{start:{column:n=Math.max(n,0),line:t}},i)}}}),zt=b({"src/main/parser.js"(e,t){A();var{ConfigError:r}=Me(),n=$t(),{locStart:i,locEnd:s}=(Vt(),n),o=Object.getOwnPropertyNames,a=Object.getOwnPropertyDescriptor;function u(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of o(r.parsers))Object.defineProperty(t,e,a(r.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:s};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function c(e,t){let r=u(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get:()=>r[e].parse}])))),i=l(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(s){let{loc:t}=s;if(t){let{codeFrameColumns:r}=qt();throw s.codeFrame=r(e,t,{highlightCode:!0}),s.message+="\n"+s.codeFrame,s}throw s}}t.exports={parse:c,resolveParser:l}}}),Wt=b({"src/main/options.js"(e,t){A();var r=je(),{UndefinedParserError:n}=Me(),{getSupportInfo:i}=le(),s=Rt(),{resolveParser:o}=zt(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),u=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,p=Object.assign(Object.assign({},a),Object.fromEntries(u.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=c(r.filepath,r.plugins),!r.parser)throw new n(`No parser could be inferred for file: ${r.filepath}`)}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),r.parser="babel";let h=o(s.normalizeApiOptions(r,[u.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=h.astFormat,r.locEnd=h.locEnd,r.locStart=h.locStart;let d=l(r);r.printer=d.printers[r.astFormat];let f=Object.fromEntries(u.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[d.name])).map((e=>[e.name,e.pluginDefaults[d.name]]))),m=Object.assign(Object.assign({},p),f);for(let[n,i]of Object.entries(m))(null===r[n]||void 0===r[n])&&(r[n]=i);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,u,Object.assign({passThrough:Object.keys(a)},t))}function l(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find((e=>e.printers&&e.printers[t]));if(!r)throw new Error(`Couldn't find plugin for AST format "${t}"`);return r}function c(e,t){let n=r.basename(e).toLowerCase(),s=i({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));return s&&s.parsers[0]}t.exports={normalize:u,hiddenDefaults:a,inferParser:c}}}),Gt=b({"src/main/massage-ast.js"(e,t){function r(e,t,n){if(Array.isArray(e))return e.map((e=>r(e,t,n))).filter(Boolean);if(!e||"object"!=typeof e)return e;let i,s=t.printer.massageAstNode;i=s&&s.ignoredProperties?s.ignoredProperties:new Set;let o={};for(let[a,u]of Object.entries(e))!i.has(a)&&"function"!=typeof u&&(o[a]=r(u,t,e));if(s){let t=s(e,o,n);if(null===t)return;if(t)return t}return o}A(),t.exports=r}}),Ht=b({"scripts/build/shims/assert.cjs"(e,t){A();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),Jt=b({"src/main/comments.js"(e,t){A();var r=Ht(),{builders:{line:n,hardline:i,breakParent:s,indent:o,lineSuffix:a,join:u,cursor:l}}=H(),{hasNewline:c,skipNewline:p,skipSpaces:h,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:y}=ye(),g=new WeakMap;function v(e,t,r){if(!e)return;let{printer:n,locStart:i,locEnd:s}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(i(r[t])<=i(e)&&s(r[t])<=s(e));--t);return void r.splice(t+1,0,e)}}else if(g.has(e))return g.get(e);let o=n.getCommentChildNodes&&n.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t})).map((e=>{let[,t]=e;return t}));if(o){r||(r=[],g.set(e,r));for(let e of o)v(e,t,r);return r}}function D(e,t,r,n){let i,s,{locStart:o,locEnd:a}=r,u=o(t),l=a(t),c=v(e,r),p=0,h=c.length;for(;p>1,n=c[e],d=o(n),f=a(n);if(d<=u&&l<=f)return D(n,t,r,n);if(f<=u)i=n,p=e+1;else{if(!(l<=d))throw new Error("Comment location overlaps with node location");s=n,h=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,o=F(e,t,r);i&&F(e,i,r)!==o&&(i=null),s&&F(e,s,r)!==o&&(s=null)}return{enclosingNode:n,precedingNode:i,followingNode:s}}var b=()=>!1;function E(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:s,locEnd:o,printer:{handleComments:a={}}}=n,{avoidAstMutation:u,ownLine:l=b,endOfLine:c=b,remaining:p=b}=a,h=e.map(((i,s)=>Object.assign(Object.assign({},D(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===s})));for(let[d,g]of h.entries()){let e,{comment:t,precedingNode:r,enclosingNode:n,followingNode:a,text:v,options:D,ast:b,isLastComment:E}=g;if("json"===D.parser||"json5"===D.parser||"__js_expression"===D.parser||"__vue_expression"===D.parser||"__vue_ts_expression"===D.parser){if(s(t)-s(b)<=0){f(b,t);continue}if(o(t)-o(b)>=0){y(b,t);continue}}if(u?e=[g]:(t.enclosingNode=n,t.precedingNode=r,t.followingNode=a,e=[t,v,D,b,E]),C(v,D,h,d))t.placement="ownLine",l(...e)||(a?f(a,t):r?y(r,t):m(n||b,t));else if(w(v,D,h,d))t.placement="endOfLine",c(...e)||(r?y(r,t):a?f(a,t):m(n||b,t));else if(t.placement="remaining",!p(...e))if(r&&a){let e=i.length;e>0&&i[e-1].followingNode!==a&&S(i,v,D),i.push(g)}else r?y(r,t):a?f(a,t):m(n||b,t)}if(S(i,r,n),!u)for(let d of e)delete d.precedingNode,delete d.enclosingNode,delete d.followingNode}var x=e=>!/[\S\n\u2028\u2029]/.test(e);function C(e,t,r,n){let{comment:i,precedingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=o(i);if(s)for(let l=n-1;l>=0;l--){let{comment:t,precedingNode:n}=r[l];if(n!==s||!x(e.slice(a(t),u)))break;u=o(t)}return c(e,u,{backwards:!0})}function w(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=a(i);if(s)for(let l=n+1;l0;--s){let{comment:i,precedingNode:u,followingNode:p}=e[s-1];r.strictEqual(u,o),r.strictEqual(p,a);let h=t.slice(n.locEnd(i),c);if(!l.test(h))break;c=n.locStart(i)}for(let[r,{comment:p}]of e.entries())r1&&r.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function T(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function F(e,t,r){let n=r.locStart(t)-1;for(let i=1;i{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&s.push(T(e,t))}),"comments"),0!==s.length)?r?u(i,s):o([i,u(i,s)]):""}function _(e,t,r){let n=e.getValue();if(!n)return{};let i=n.comments||[];r&&(i=i.filter((e=>!r.has(e))));let s=n===t.cursorNode;if(0===i.length){let e=s?l:"";return{leading:e,trailing:e}}let o=[],a=[];return e.each((()=>{let n=e.getValue();if(r&&r.has(n))return;let{leading:i,trailing:s}=n;i?o.push(k(e,t)):s&&a.push(P(e,t))}),"comments"),s&&(o.unshift(l),a.push(l)),{leading:o,trailing:a}}function O(e,t,r,n){let{leading:i,trailing:s}=_(e,r,n);return i||s?[i,t,s]:t}function I(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}t.exports={attach:E,printComments:O,printCommentsSeparately:_,printDanglingComments:N,getSortedChildNodes:v,ensureAllCommentsPrinted:I}}}),Xt=b({"src/common/ast-path.js"(e,t){A();var r=N();function n(e,t){let r=i(e.stack,t);return-1===r?null:e.stack[r]}function i(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}return-1}var s=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return r(this.stack)}getNode(){return n(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return n(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),s=e(this);return this.stack.push(...n),s}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a1?r-1:0),i=1;i{t[n]=e(r,n,i)}),...n),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var n=arguments.length,i=new Array(n),s=0;so(e,t,r,n,i)),r)}function o(e,t,s,o){let{stripTrailingHardline:a=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=n(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),l=zt().parse(e,u),{ast:c}=l;e=l.text;let p=c.comments;delete c.comments,i.attach(p,c,e,u),u[Symbol.for("comments")]=p||[],u[Symbol.for("tokens")]=c.tokens||[];let h=o(c,u);return i.ensureAllCommentsPrinted(p),a?"string"==typeof h?h.replace(/(?:\r?\n)*$/,""):r(h):h}t.exports={printSubtree:s}}}),Kt=b({"src/main/ast-to-doc.js"(e,t){A();var r=Xt(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:s}}=H(),{printComments:o}=Jt(),a=Qt();function u(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:a}=t;a.preprocess&&(e=a.preprocess(e,t));let u=new Map,l=new r(e),p=h();return o>0&&(p=i([n,p],o,t.tabWidth)),s(p),p;function h(e,t){return void 0===e||e===l?d(t):Array.isArray(e)?l.call((()=>d(t)),...e):l.call((()=>d(t)),e)}function d(e){let r=l.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&u.has(r))return u.get(r);let i=c(l,t,h,e);return n&&u.set(r,i),i}}function l(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:s}=t,o=i(e),a=s(e),u=new Set;for(let l of n)i(l)>=o&&s(l)<=a&&(l.printed=!0,u.add(l));return{doc:r.slice(o,a),printedComments:u}}function c(e,t,r,n){let i,s,c=e.getValue(),{printer:p}=t;if(p.hasPrettierIgnore&&p.hasPrettierIgnore(e))({doc:i,printedComments:s}=l(c,t));else{if(c)try{i=a.printSubtree(e,r,t,u)}catch(h){if(globalThis.PRETTIER_DEBUG)throw h}i||(i=p.print(e,t,r,n))}return(!p.willPrintOwnComments||!p.willPrintOwnComments(e,t))&&(i=o(e,i,t,s)),i}t.exports=u}}),Yt=b({"src/main/range-util.js"(e,t){A();var r=Ht(),n=Jt(),i=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t};function s(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((e=>c.has(e.type)&&n.has(e)))}function o(e){let t=e.length-1;for(;;){let r=e[t];if(!r||"Program"!==r.type&&"File"!==r.type)break;t--}return e.slice(0,t+1)}function a(e,t,r){let{locStart:n,locEnd:i}=r,s=e.node,a=t.node;if(s===a)return{startNode:s,endNode:a};let u=n(e.node);for(let c of o(t.parentNodes)){if(!(n(c)>=u))break;a=c}let l=i(t.node);for(let c of o(e.parentNodes)){if(!(i(c)<=l))break;if(s=c,s===a)break}return{startNode:s,endNode:a}}function u(e,t,r,i){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5?arguments[5]:void 0,{locStart:a,locEnd:l}=r,c=a(e),p=l(e);if(!(t>p||to);let d=e.slice(o,l).search(/\S/),f=-1===d;if(!f)for(o+=d;l>o&&!/\S/.test(e[l-1]);--l);let m,y,g=u(n,o,t,((e,r)=>h(t,e,r)),[],"rangeStart"),v=f?g:u(n,l,t,(e=>h(t,e)),[],"rangeEnd");if(!g||!v)return{rangeStart:0,rangeEnd:0};if(i(t)){let e=s(g,v);m=e,y=e}else({startNode:m,endNode:y}=a(g,v,t));return{rangeStart:Math.min(c(m),c(y)),rangeEnd:Math.max(p(m),p(y))}}t.exports={calculateRange:d,findNodeAtOffset:u}}}),Zt=b({"src/main/core.js"(e,t){A();var{diffArrays:r}=F(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=H(),{getAlignmentSize:s}=ye(),{guessEndOfLine:o,convertEndOfLineToChars:a,countEndOfLineChars:u,normalizeEndOfLine:l}=P(),c=Wt().normalize,p=Gt(),h=Jt(),d=zt(),f=Kt(),m=Yt(),y="\ufeff",g=Symbol("cursor");function v(e,t,r){let n=t.comments;return n&&(delete t.comments,h.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function D(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:s,text:o}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(s,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let u=v(o,s,t),l=f(s,t,i),c=n(l,t);if(h.ensureAllCommentsPrinted(u),i>0){let e=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(e)),c.formatted=e+a(t.endOfLine)}if(t.cursorOffset>=0){let e,n,i,s,a;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,s=c.cursorNodeStart,a=c.cursorNodeText):(e=0,n=o,i=t.cursorOffset,s=0,a=c.formatted),n===a)return{formatted:c.formatted,cursorOffset:s+i,comments:u};let l=[...n];l.splice(i,0,g);let p=[...a],h=r(l,p),d=s;for(let t of h)if(t.removed){if(t.value.includes(g))break}else d+=t.count;return{formatted:c.formatted,cursorOffset:d,comments:u}}return{formatted:c.formatted,cursorOffset:-1,comments:u}}function b(e,t){let{ast:r,text:n}=d.parse(e,t),{rangeStart:i,rangeEnd:o}=m.calculateRange(n,t,r),l=n.slice(i,o),c=Math.min(i,n.lastIndexOf("\n",i)+1),p=n.slice(c,i).match(/^\s*/)[0],h=s(p,t.tabWidth),f=D(l,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"}),h),y=f.formatted.trimEnd(),{cursorOffset:g}=t;g>o?g+=y.length-l.length:f.cursorOffset>=0&&(g=f.cursorOffset+i);let v=n.slice(0,i)+y+n.slice(o);if("lf"!==t.endOfLine){let e=a(t.endOfLine);g>=0&&"\r\n"===e&&(g+=u(v.slice(0,g),"\n")),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:g,comments:f.comments}}function E(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function x(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=E(e,r,-1),n=E(e,n,0),i=E(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function C(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=x(e,t),a=e.charAt(0)===y;if(a&&(e=e.slice(1),r--,n--,i--),"auto"===s&&(s=o(e)),e.includes("\r")){let t=t=>u(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=l(e)}return{hasBOM:a,text:e,options:x(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}))}}function w(e,t){let r=d.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function S(e,t){let r,{hasBOM:n,text:i,options:s}=C(e,c(t));return s.rangeStart>=s.rangeEnd&&""!==i||s.requirePragma&&!w(i,s)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(s.rangeStart>0||s.rangeEnd=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:S,parse(e,t,r){let{text:n,options:i}=C(e,c(t)),s=d.parse(n,i);return r&&(s.ast=p(s.ast,i)),s},formatAST(e,t){t=c(t);let r=f(e,t);return n(r,t)},formatDoc:(e,t)=>S(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:r,text:n}=d.parse(e,t);return v(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,c(t))}}}),er=b({"src/common/util-shared.js"(e,t){A();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:y,isNextLineEmpty:g,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:D,getNextNonSpaceNonCommentCharacterIndex:b,makeString:E,addLeadingComment:x,addDanglingComment:C,addTrailingComment:w}=ye();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:y,isNextLineEmpty:g,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:D,getNextNonSpaceNonCommentCharacterIndex:b,makeString:E,addLeadingComment:x,addDanglingComment:C,addTrailingComment:w}}}),tr=b({"src/utils/create-language.js"(e,t){A(),t.exports=function(e,t){let{languageId:r}=e,n=c(e,l);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),rr=b({"node_modules/esutils/lib/ast.js"(e,t){A(),function(){function e(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function r(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function n(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){return n(e)||null!=e&&"FunctionDeclaration"===e.type}function s(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function o(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=s(t)}while(t);return!1}t.exports={isExpression:e,isStatement:n,isIterationStatement:r,isSourceElement:i,isProblematicIfStatement:o,trailingStatement:s}}()}}),nr=b({"node_modules/esutils/lib/code.js"(e,t){A(),function(){var e,r,n,i,s,o;function a(e){return 48<=e&&e<=57}function u(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}function c(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0}function p(e){return 10===e||13===e||8232===e||8233===e}function h(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(s=new Array(128),o=0;o<128;++o)s[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||36===o||95===o;function d(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(h(e))}function f(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(h(e))}function m(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(h(t))}function y(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(h(t))}t.exports={isDecimalDigit:a,isHexDigit:u,isOctalDigit:l,isWhiteSpace:c,isLineTerminator:p,isIdentifierStartES5:d,isIdentifierPartES5:f,isIdentifierStartES6:m,isIdentifierPartES6:y}}()}}),ir=b({"node_modules/esutils/lib/keyword.js"(e,t){A(),function(){var e=nr();function r(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function n(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,t){if(t&&r(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function s(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function a(e){return"eval"===e||"arguments"===e}function u(t){var r,n,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(r=1,n=t.length;r=n||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;i=l(i,s)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}function p(e,t){return u(e)&&!s(e,t)}function h(e,t){return c(e)&&!o(e,t)}t.exports={isKeywordES5:n,isKeywordES6:i,isReservedWordES5:s,isReservedWordES6:o,isRestrictedWord:a,isIdentifierNameES5:u,isIdentifierNameES6:c,isIdentifierES5:p,isIdentifierES6:h}}()}}),sr=b({"node_modules/esutils/lib/utils.js"(e){A(),e.ast=rr(),e.code=nr(),e.keyword=ir()}}),or=b({"src/language-js/utils/is-block-comment.js"(e,t){A();var r=new Set(["Block","CommentBlock","MultiLine"]),n=e=>r.has(null==e?void 0:e.type);t.exports=n}}),ar=b({"src/language-js/utils/is-node-matches.js"(e,t){function r(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let t=r[n];if(0===n)return"Identifier"===e.type&&e.name===t;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==t)return!1;e=e.object}}function n(e,t){return t.some((t=>r(e,t)))}A(),t.exports=n}}),ur=b({"src/language-js/utils/index.js"(e,t){A();var r=sr().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:s,isNonEmptyArray:o,isNextLineEmptyAfterIndex:a,getStringWidth:u}=ye(),{locStart:l,locEnd:c,hasSameLocStart:p}=$t(),h=or(),d=ar(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),y=new RegExp(`^${f}*::`);function g(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&h(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&m.test(e.trailingComments[0].value)}function v(e){let t=null==e?void 0:e[0];return h(t)&&y.test(t.value)}function D(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some((e=>D(e,t)));let r=t(e);return"boolean"==typeof r?r:Object.values(e).some((e=>D(e,t)))}function b(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Q(e)||K(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||qe(e)||"TSNonNullExpression"===e.type}function E(e){var t,r,n,i,s,o;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e.left)&&void 0!==o?o:e.test)&&void 0!==s?s:e.callee)&&void 0!==i?i:e.object)&&void 0!==n?n:e.tag)&&void 0!==r?r:e.argument)&&void 0!==t?t:e.expression}function x(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function C(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var w=C(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),S=C(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function T(e){let t=e.getParentNode();return"declaration"===e.getName()&&S(t)?t:null}var F=C(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function k(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function P(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&k(e.argument)}function N(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var _=C(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),O=C(["FunctionExpression","ArrowFunctionExpression"]);function I(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}function B(e){return Q(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var j=C(["JSXElement","JSXFragment"]);function L(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!j(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.body.length}function M(e){return"get"===e.kind||"set"===e.kind}function R(e){return M(e)||p(e,e.value)}function $(e){return("ObjectTypeProperty"===e.type||"ObjectTypeInternalSlot"===e.type)&&"FunctionTypeAnnotation"===e.value.type&&!e.static&&!R(e)}function V(e){return("TypeAnnotation"===e.type||"TSTypeAnnotation"===e.type)&&"FunctionTypeAnnotation"===e.typeAnnotation.type&&!e.static&&!p(e,e.typeAnnotation)}var U=C(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function q(e){return K(e)||"BindExpression"===e.type&&Boolean(e.object)}var z=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function W(e){return!!e&&!(("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!z.has(e.type))}function G(e){let t=/^(?:before|after)(?:Each|All)$/;return"Identifier"===e.callee.type&&t.test(e.callee.name)&&1===e.arguments.length}var H=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function J(e){return d(e,H)}function X(e,t){if("CallExpression"!==e.type)return!1;if(1===e.arguments.length){if(B(e)&&t&&X(t))return O(e.arguments[0]);if(G(e))return B(e.arguments[0])}else if((2===e.arguments.length||3===e.arguments.length)&&("TemplateLiteral"===e.arguments[0].type||N(e.arguments[0]))&&J(e.callee))return!(e.arguments[2]&&!k(e.arguments[2]))&&((2===e.arguments.length?O(e.arguments[1]):I(e.arguments[1])&&Se(e.arguments[1]).length<=1)||B(e.arguments[1]));return!1}var Q=C(["CallExpression","OptionalCallExpression"]),K=C(["MemberExpression","OptionalMemberExpression"]);function Y(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(je(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(K(e)){let t=e;for(;K(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,je(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))}function Z(e,t){return"+"===e||"-"===e?e+t:t}function ee(e,t){let r=l(t),n=s(e,c(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)}function te(e,t){return j(t)?_e(t):je(t,Ie.Leading,(t=>i(e,c(t))))}function re(e,t){return"json"!==t.parser&&N(e.key)&&pe(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||ne(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))}function ne(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function ie(e,t){let r=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&r.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&r.test(t.tag.object.object.name))}function se(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function oe(e,t){return("TemplateLiteral"===e.type&&se(e)||"TaggedTemplateExpression"===e.type&&se(e.quasi))&&!i(t,l(e),{backwards:!0})}function ae(e){if(!je(e))return!1;let t=n(Le(e,Ie.Dangling));return t&&!h(t)}function ue(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(O(r)){if(t+=1,t>1)return!0}else if(Q(r))for(let e of r.arguments)if(O(e))return!0;return!1}function le(e){let t=e.getValue(),r=e.getParentNode();return Q(t)&&Q(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0}function ce(e,t){if(t>=2)return!1;let r=e=>ce(e,t+1),n="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;if(n&&u(n)>5)return!1;if("Literal"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"BooleanLiteral"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"Identifier"===e.type||"ThisExpression"===e.type||"Super"===e.type||"PrivateName"===e.type||"PrivateIdentifier"===e.type||"ArgumentPlaceholder"===e.type||"Import"===e.type)return!0;if("TemplateLiteral"===e.type)return e.quasis.every((e=>!e.value.raw.includes("\n")))&&e.expressions.every(r);if("ObjectExpression"===e.type)return e.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value))));if("ArrayExpression"===e.type)return e.elements.every((e=>null===e||r(e)));if(Re(e))return("ImportExpression"===e.type||ce(e.callee,t))&&ke(e).every(r);if(K(e))return ce(e.object,t)&&ce(e.property,t);let i={"!":!0,"-":!0,"+":!0,"~":!0};if("UnaryExpression"===e.type&&i[e.operator])return ce(e.argument,t);let s={"++":!0,"--":!0};return"UpdateExpression"===e.type&&s[e.operator]?ce(e.argument,t):"TSNonNullExpression"===e.type&&ce(e.expression,t)}function pe(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}function he(e){return e}function de(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function fe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)}function me(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return me(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return me(e.object,t);case"TaggedTemplateExpression":return"FunctionExpression"!==e.tag.type&&me(e.tag,t);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==e.callee.type&&me(e.callee,t);case"ConditionalExpression":return me(e.test,t);case"UpdateExpression":return!e.prefix&&me(e.argument,t);case"BindExpression":return e.object&&me(e.object,t);case"SequenceExpression":return me(e.expressions[0],t);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return me(e.expression,t);default:return t(e)}}var ge={"==":!0,"!=":!0,"===":!0,"!==":!0},ve={"*":!0,"/":!0,"%":!0},De={">>":!0,">>>":!0,"<<":!0};function be(e,t){return!(xe(t)!==xe(e)||"**"===e||ge[e]&&ge[t]||"%"===t&&ve[e]||"%"===e&&ve[t]||t!==e&&ve[t]&&ve[e]||De[e]&&De[t])}var Ee=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function xe(e){return Ee.get(e)}function Ce(e){return Boolean(De[e])||"|"===e||"^"===e||"&"===e}function we(e){var t;if(e.rest)return!0;let r=Se(e);return"RestElement"===(null===(t=n(r))||void 0===t?void 0:t.type)}var Ae=new WeakMap;function Se(e){if(Ae.has(e))return Ae.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Ae.set(e,t),t}function Te(e,t){let r=e.getValue(),n=0,i=e=>t(e,n++);r.this&&e.call(i,"this"),Array.isArray(r.parameters)?e.each(i,"parameters"):Array.isArray(r.params)&&e.each(i,"params"),r.rest&&e.call(i,"rest")}var Fe=new WeakMap;function ke(e){if(Fe.has(e))return Fe.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Fe.set(e,t),t}function Pe(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call((e=>t(e,0)),"source"),r.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")}function Ne(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function _e(e){return e&&(e.prettierIgnore||je(e,Ie.PrettierIgnore))}function Oe(e){return _e(e.getValue())}var Ie={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Be=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&Ie.Leading&&!r.leading||e&Ie.Trailing&&!r.trailing||e&Ie.Dangling&&(r.leading||r.trailing)||e&Ie.Block&&!h(r)||e&Ie.Line&&!w(r)||e&Ie.First&&0!==n||e&Ie.Last&&n!==i.length-1||e&Ie.PrettierIgnore&&!Ne(r)||t&&!t(r))};function je(e,t,r){if(!o(null==e?void 0:e.comments))return!1;let n=Be(t,r);return!n||e.comments.some(n)}function Le(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=Be(t,r);return n?e.comments.filter(n):e.comments}var Me=(e,t)=>{let{originalText:r}=t;return a(r,c(e))};function Re(e){return Q(e)||"NewExpression"===e.type||"ImportExpression"===e.type}function $e(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)}function Ve(e){return Boolean(e.__isUsingHackPipeline)}var Ue=Symbol("ifWithoutBlockAndSameLineComment");function qe(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:Se,iterateFunctionParametersPath:Te,getCallArguments:ke,iterateCallArgumentsPath:Pe,hasRestParameter:we,getLeftSide:E,getLeftSidePathName:x,getParentExportDeclaration:T,getTypeScriptMappedTypeModifier:Z,hasFlowAnnotationComment:v,hasFlowShorthandAnnotationComment:g,hasLeadingOwnLineComment:te,hasNakedLeftSide:b,hasNode:D,hasIgnoreComment:Oe,hasNodeIgnoreComment:_e,identity:he,isBinaryish:U,isCallLikeExpression:Re,isEnabledHackPipeline:Ve,isLineComment:w,isPrettierIgnoreComment:Ne,isCallExpression:Q,isMemberExpression:K,isExportDeclaration:S,isFlowAnnotationComment:ee,isFunctionCompositionArgs:ue,isFunctionNotation:R,isFunctionOrArrowExpression:O,isGetterOrSetter:M,isJestEachTemplateLiteral:ie,isJsxNode:j,isLiteral:F,isLongCurriedCallExpression:le,isSimpleCallArgument:ce,isMemberish:q,isNumericLiteral:k,isSignedNumericLiteral:P,isObjectProperty:$e,isObjectType:_,isObjectTypePropertyAFunction:$,isSimpleType:W,isSimpleNumber:ne,isSimpleTemplateLiteral:Y,isStringLiteral:N,isStringPropSafeToUnquote:re,isTemplateOnItsOwnLine:oe,isTestCall:X,isTheOnlyJsxElementInMarkdown:L,isTSXFile:de,isTypeAnnotationAFunction:V,isNextLineEmpty:Me,needsHardlineAfterDanglingComment:ae,rawText:pe,shouldPrintComma:fe,isBitwiseOperator:Ce,shouldFlatten:be,startsWithNoLookaheadToken:me,getPrecedence:xe,hasComment:je,getComments:Le,CommentCheckFlags:Ie,markerForIfWithoutBlockAndSameLineComment:Ue,isTSTypeExpression:qe}}}),lr=b({"src/language-js/print/template-literal.js"(e,t){A();var r=N(),{getStringWidth:n,getIndentSize:i}=ye(),{builders:{join:s,hardline:o,softline:a,group:u,indent:l,align:c,lineSuffixBoundary:p,addAlignmentToDoc:h},printer:{printDocToString:d},utils:{mapDoc:f}}=H(),{isBinaryish:m,isJestEachTemplateLiteral:y,isSimpleTemplateLiteral:g,hasComment:v,isMemberExpression:D,isTSTypeExpression:b}=ur();function E(e,t,r){let n=e.getValue();if("TemplateLiteral"===n.type&&y(n,e.getParentNode())){let n=x(e,r,t);if(n)return n}let s="expressions";"TSTemplateLiteralType"===n.type&&(s="types");let o=[],f=e.map(t,s),E=g(n);return E&&(f=f.map((e=>d(e,Object.assign(Object.assign({},r),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),o.push(p,"`"),e.each((e=>{let d=e.getName();if(o.push(t()),d1||u.some((e=>e.length>0))){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let h=[],f=c.map((e=>"${"+d(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length))),g=Array.from({length:y}).fill(0),v=[{cells:u},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of v.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())g[t]=Math.max(g[t],n(r));return h.push(p,"`",l([o,s(o,v.map((e=>s(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(g[r]-n(t))))))))]),o,"`"),h}}function C(e,t){let r=e.getValue(),n=t();return v(r)&&(n=u([l([a,n]),a])),["${",n,p,"}"]}function w(e,t){return e.map((e=>C(e,t)),"expressions")}function S(e,t){return f(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):T(e):e))}function T(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:E,printTemplateExpressions:w,escapeTemplateCharacters:S,uncookTemplateElementValue:T}}}),cr=b({"src/language-js/embed/markdown.js"(e,t){A();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:s}}=H(),{escapeTemplateCharacters:o}=lr();function a(e,t,a){let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`")),c=u(l),p=""!==c;p&&(l=l.replace(new RegExp(`^${c}`,"gm"),""));let h=o(a(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",p?r([n,h]):[i,s(h)],n,"`"]}function u(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}t.exports=a}}),pr=b({"src/language-js/embed/css.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{indent:n,hardline:i,softline:s},utils:{mapDoc:o,replaceEndOfLine:a,cleanDoc:u}}=H(),{printTemplateExpressions:l}=lr();function c(e,t,r){let n=e.getValue(),i=n.quasis.map((e=>e.value.raw)),s=0;return p(r(i.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+s+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),n,l(e,t))}function p(e,t,r){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let o=h(e,r);if(!o)throw new Error("Couldn't insert all the expressions");return["`",n([i,o]),s,"`"]}function h(e,t){if(!r(t))return e;let n=0,i=o(u(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2===0?a(e):(n++,t[e]))):e));return t.length===n?i:null}t.exports=c}}),hr=b({"src/language-js/embed/graphql.js"(e,t){A();var{builders:{indent:r,join:n,hardline:i}}=H(),{escapeTemplateCharacters:s,printTemplateExpressions:o}=lr();function a(e,t,a){let l=e.getValue(),c=l.quasis.length;if(1===c&&""===l.quasis[0].value.raw.trim())return"``";let p=o(e,t),h=[];for(let r=0;r2&&""===i[0].trim()&&""===i[1].trim(),m=o>2&&""===i[o-1].trim()&&""===i[o-2].trim(),y=i.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!t&&/#[^\n\r]*$/.test(i[o-1]))return null;let g=null;g=y?u(i):a(n,{parser:"graphql"},{stripTrailingHardline:!0}),g?(g=s(g,!1),!e&&f&&h.push(""),h.push(g),!t&&m&&h.push("")):!e&&!t&&f&&h.push(""),d&&h.push(d)}return["`",r([i,n(i,h)]),i,"`"]}function u(e){let t=[],r=!1,s=e.map((e=>e.trim()));for(let[n,o]of s.entries())""!==o&&(""===s[n-1]&&r?t.push([i,o]):t.push(o),r=!0);return 0===t.length?null:n(i,t)}t.exports=a}}),dr=b({"src/language-js/embed/html.js"(e,t){A();var{builders:{indent:r,line:n,hardline:i,group:s},utils:{mapDoc:o}}=H(),{printTemplateExpressions:a,uncookTemplateElementValue:u}=lr(),l=0;function c(e,t,c,p,h){let{parser:d}=h,f=e.getValue(),m=l;l=l+1>>>0;let y=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,g=f.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+y(t))).join(""),v=a(e,t);if(0===v.length&&0===g.trim().length)return"``";let D=new RegExp(y("(\\d+)"),"g"),b=0,E=c(g,{parser:d,__onHtmlRoot(e){b=e.children.length}},{stripTrailingHardline:!0}),x=o(E,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(D);for(let n=0;n1?r(s(x)):s(x),w,"`"])}t.exports=c}}),fr=b({"src/language-js/embed.js"(e,t){A();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=ur(),s=cr(),o=pr(),a=hr(),u=dr();function l(e){return h(e)||y(e)||g(e)||d(e)?"css":b(e)?"graphql":x(e)?"html":f(e)?"angular":p(e)?"markdown":void 0}function c(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||C(i))return;let c=l(e);if(c){if("markdown"===c)return s(e,t,r);if("css"===c)return o(e,t,r);if("graphql"===c)return a(e,t,r);if("html"===c||"angular"===c)return u(e,t,r,n,{parser:c})}}function p(e){let t=e.getValue(),r=e.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===t.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.tag.name)}function h(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.openingElement.attributes.some((e=>"jsx"===e.name.name))||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}function d(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...m)}function f(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...m)}var m=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function y(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return v(r.object)||D(r);case"CallExpression":return v(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(v(r.callee.object.object)||D(r.callee.object))||"CallExpression"===r.callee.object.type&&v(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}function g(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}function v(e){return"Identifier"===e.type&&"styled"===e.name}function D(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function b(e){let t=e.getValue(),r=e.getParentNode();return E(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.callee.name)}function E(e,t){return r(e,n.Block|n.Leading,(e=>{let{value:r}=e;return r===` ${t} `}))}function x(e){return E(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}function C(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}t.exports=c}}),mr=b({"src/language-js/clean.js"(e,t){A();var r=or(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function s(e,t,n){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(let{type:r,expression:a}of t.children)"JSXExpressionContainer"===r&&"TemplateLiteral"===a.type&&i(a);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&i(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&i(n.value)}}var o;return"TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&i(t.quasi),"TemplateLiteral"===e.type&&((null===(o=e.leadingComments)||void 0===o?void 0:o.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `)))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&i(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}s.ignoredProperties=n,t.exports=s}}),yr={};function gr(){if(typeof Nr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])Nr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");Nr="LE"}}return Nr}function vr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Dr(){return[]}function br(){return 0}function Er(){return Number.MAX_VALUE}function xr(){return Number.MAX_VALUE}function Cr(){return[]}function wr(){return"Browser"}function Ar(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Sr(){}function Tr(){}function Fr(){return"javascript"}function kr(){return"browser"}function Pr(){return"/tmp"}E(yr,{EOL:()=>Or,arch:()=>Fr,cpus:()=>Cr,default:()=>Ir,endianness:()=>gr,freemem:()=>Er,getNetworkInterfaces:()=>Tr,hostname:()=>vr,loadavg:()=>Dr,networkInterfaces:()=>Sr,platform:()=>kr,release:()=>Ar,tmpDir:()=>Pr,tmpdir:()=>_r,totalmem:()=>xr,type:()=>wr,uptime:()=>br});var Nr,_r,Or,Ir,Br=D({"node-modules-polyfills:os"(){A(),Ir={EOL:Or="\n",tmpdir:_r=Pr,tmpDir:Pr,networkInterfaces:Sr,getNetworkInterfaces:Tr,release:Ar,type:wr,cpus:Cr,totalmem:xr,freemem:Er,uptime:br,loadavg:Dr,hostname:vr,endianness:gr}}}),jr=b({"node-modules-polyfills-commonjs:os"(e,t){A();var r=(Br(),w(yr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Lr=b({"node_modules/detect-newline/index.js"(e,t){A();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),Mr=b({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=jr();return t=function(){return e},e}function r(){let e=n(Lr());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=d,e.parse=m,e.parseWithComments=y,e.print=g,e.strip=f;var i=/\*\/$/,s=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,h=[];function d(e){let t=e.match(o);return t?t[0].trimLeft():""}function f(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function m(e){return y(e).pragmas}function y(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(p,"$1");let o="";for(;o!==e;)o=e,e=e.replace(l,`${n}$1 $2${n}`);e=e.replace(u,"").trimRight();let d,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;d=c.exec(e);){let e=d[2].replace(a,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=h.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function g(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o="/**",a=" *",u=" */",l=Object.keys(i),c=l.map((e=>v(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${a} ${e}${s}`)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return`${o} ${v(l[0],e)[0]}${u}`}}let p=n.split(s).map((e=>`${a} ${e}`)).join(s)+s;return o+s+(n?p:"")+(n&&l.length?a+s:"")+c+u}function v(e,t){return h.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),Rr=b({"src/language-js/utils/get-shebang.js"(e,t){function r(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}A(),t.exports=r}}),$r=b({"src/language-js/pragma.js"(e,t){A();var{parseWithComments:r,strip:n,extract:i,print:s}=Mr(),{normalizeEndOfLine:o}=P(),a=Rr();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),Vr=b({"src/language-js/utils/is-type-cast-comment.js"(e,t){A();var r=or();function n(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=n}}),Ur=b({"src/language-js/comments.js"(e,t){A();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:o,addLeadingComment:a,addTrailingComment:u,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=ye(),{getFunctionParameters:h,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:y,hasIgnoreComment:g,isCallLikeExpression:v,getCallArguments:D,isCallExpression:b,isMemberExpression:E,isObjectProperty:x,isLineComment:C,getComments:w,CommentCheckFlags:S,markerForIfWithoutBlockAndSameLineComment:T}=ur(),{locStart:F,locEnd:k}=$t(),P=or(),N=Vr();function _(e){return[he,Y,V,M,R,$,W,se,re,ie,oe,ae,H,Z,ee].some((t=>t(e)))}function O(e){return[L,Y,U,oe,M,R,$,W,Z,te,ne,ie,ce,ee,fe].some((t=>t(e)))}function I(e){return[he,M,R,q,K,H,ie,Q,X,de,ee,pe].some((t=>t(e)))}function B(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?a(r,t):l(e,t)}function j(e,t){"BlockStatement"===e.type?B(e,t):a(e,t)}function L(e){let{comment:t,followingNode:r}=e;return!(!r||!N(t))&&(a(r,t),!0)}function M(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;if("IfStatement"!==(null==n?void 0:n.type)||!i)return!1;if(")"===s(o,t,k))return u(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)u(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===r.loc.start.line;e&&i?l(r,t,T):l(n,t)}return!0}return"BlockStatement"===i.type?(B(i,t),!0):"IfStatement"===i.type?(j(i.consequent,t),!0):n.consequent===i&&(a(i,t),!0)}function R(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;return!("WhileStatement"!==(null==n?void 0:n.type)||!i)&&(")"===s(o,t,k)?(u(r,t),!0):"BlockStatement"===i.type?(B(i,t),!0):n.body===i&&(a(i,t),!0))}function $(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TryStatement"!==(null==n?void 0:n.type)&&"CatchClause"!==(null==n?void 0:n.type)||!i)&&("CatchClause"===n.type&&r?(u(r,t),!0):"BlockStatement"===i.type?(B(i,t),!0):"TryStatement"===i.type?(j(i.finalizer,t),!0):"CatchClause"===i.type&&(j(i.body,t),!0))}function V(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!E(r)||"Identifier"!==(null==n?void 0:n.type))&&(a(r,t),!0)}function U(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}=e,u=r&&!o(s,k(r),F(t));return!(r&&u||"ConditionalExpression"!==(null==n?void 0:n.type)&&"TSConditionalType"!==(null==n?void 0:n.type)||!i)&&(a(i,t),!0)}function q(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!x(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type)&&(u(n.value.left,t),!0)}var z=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function W(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:s}=e;if(z.has(null==i?void 0:i.type)){if(p(i.decorators)&&(!s||"Decorator"!==s.type))return u(r(i.decorators),t),!0;if(i.body&&s===i.body)return B(i.body,t),!0;if(s){if(i.superClass&&s===i.superClass&&n&&(n===i.id||n===i.typeParameters))return u(n,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&s===i[e][0])return!n||n!==i.id&&n!==i.typeParameters&&n!==i.superClass?l(i,t,e):u(n,t),!0}}return!1}var G=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function H(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!!(n&&r&&"("===s(i,t,k)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==s(i,r,k)||"Decorator"===(null==r?void 0:r.type)&&G.has(null==n?void 0:n.type))&&(u(r,t),!0)}var J=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function X(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return"("===s(i,t,k)&&!(!r||!J.has(null==n?void 0:n.type))&&(u(r,t),!0)}function Q(e){let{comment:t,enclosingNode:r,text:n}=e;if("ArrowFunctionExpression"!==(null==r?void 0:r.type))return!1;let i=c(n,t,k);return!1!==i&&"=>"===n.slice(i,i+2)&&(l(r,t),!0)}function K(e){let{comment:t,enclosingNode:r,text:n}=e;return")"===s(n,t,k)&&(r&&(me(r)&&0===h(r).length||v(r)&&0===D(r).length)?(l(r,t),!0):("MethodDefinition"===(null==r?void 0:r.type)||"TSAbstractMethodDefinition"===(null==r?void 0:r.type))&&0===h(r.value).length&&(l(r.value,t),!0))}function Y(e){let{comment:t,precedingNode:n,enclosingNode:o,followingNode:a,text:l}=e;if("FunctionTypeParam"===(null==n?void 0:n.type)&&"FunctionTypeAnnotation"===(null==o?void 0:o.type)&&"FunctionTypeParam"!==(null==a?void 0:a.type)||("Identifier"===(null==n?void 0:n.type)||"AssignmentPattern"===(null==n?void 0:n.type))&&o&&me(o)&&")"===s(l,t,k))return u(n,t),!0;if("FunctionDeclaration"===(null==o?void 0:o.type)&&"BlockStatement"===(null==a?void 0:a.type)){let e=(()=>{let e=h(o);if(e.length>0)return i(l,k(r(e)));let t=i(l,k(o.id));return!1!==t&&i(l,t+1)})();if(F(t)>e)return B(a,t),!0}return!1}function Z(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(a(r,t),!0)}function ee(e){let{comment:t,enclosingNode:r}=e;return!("ContinueStatement"!==(null==r?void 0:r.type)&&"BreakStatement"!==(null==r?void 0:r.type)||r.label)&&(u(r,t),!0)}function te(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(b(n)&&r&&n.callee===r&&n.arguments.length>0)&&(a(n.arguments[0],t),!0)}function re(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"UnionTypeAnnotation"===(null==n?void 0:n.type)||"TSUnionType"===(null==n?void 0:n.type)?(d(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!r&&(u(r,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&d(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ne(e){let{comment:t,enclosingNode:r}=e;return!!x(r)&&(a(r,t),!0)}function ie(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:s}=e;return i&&i.body&&0===i.body.length?(s?l(i,t):a(i,t),!0):"Program"!==(null==r?void 0:r.type)||0!==(null==r?void 0:r.body.length)||p(r.directives)?"Program"===(null==n?void 0:n.type)&&0===(null==n?void 0:n.body.length)&&"ModuleExpression"===(null==r?void 0:r.type)&&(l(n,t),!0):(s?l(r,t):a(r,t),!0)}function se(e){let{comment:t,enclosingNode:r}=e;return("ForInStatement"===(null==r?void 0:r.type)||"ForOfStatement"===(null==r?void 0:r.type))&&(a(r,t),!0)}function oe(e){let{comment:t,precedingNode:r,enclosingNode:i,text:s}=e;if("ImportSpecifier"===(null==i?void 0:i.type)||"ExportSpecifier"===(null==i?void 0:i.type))return a(i,t),!0;let o="ImportSpecifier"===(null==r?void 0:r.type)&&"ImportDeclaration"===(null==i?void 0:i.type),l="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!o&&!l||!n(s,k(t)))&&(u(r,t),!0)}function ae(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(a(r,t),!0)}var ue=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),le=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ce(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!ue.has(null==r?void 0:r.type)||!n||!le.has(n.type)&&!P(t))&&(a(n,t),!0)}function pe(e){let{comment:t,enclosingNode:r,followingNode:n,text:i}=e;return!(n||"TSMethodSignature"!==(null==r?void 0:r.type)&&"TSDeclareFunction"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||";"!==s(i,t,k))&&(u(r,t),!0)}function he(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(d(t)&&"TSMappedType"===(null==r?void 0:r.type)&&"TSTypeParameter"===(null==n?void 0:n.type)&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function de(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"TSMappedType"===(null==n?void 0:n.type)&&("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(a(i.name,t),!0):!("TSTypeParameter"!==(null==r?void 0:r.type)||!r.constraint)&&(u(r.constraint,t),!0))}function fe(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||!n||n!==r.consequent[0])&&("BlockStatement"===n.type&&C(t)?B(n,t):l(r,t),!0)}function me(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function ge(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===h(e.value).length&&!e.value.returnType&&!p(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function ve(e){let t=e.getValue(),r=e.getParentNode(),n=e=>y(w(e,S.Leading))||y(w(e,S.Trailing));return(t&&(f(t)||m(t)||b(r)&&n(t))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!g(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)}t.exports={handleOwnLineComment:_,handleEndOfLineComment:O,handleRemainingComment:I,getCommentChildNodes:ge,willPrintOwnComments:ve}}}),qr=b({"src/language-js/needs-parens.js"(e,t){A();var r=N(),n=ce(),{getFunctionParameters:i,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:a,hasNode:u,isBitwiseOperator:l,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:h,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:y}=ur();function g(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&E(a)&&x(e))return!0;if(v(a))return!1;if("flow"!==t.parser&&o(e.getValue()))return!0;if("Identifier"===a.type){if(a.extra&&a.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(a.name)||"left"===s&&("async"===a.name&&!r.await||"let"===a.name)&&"ForOfStatement"===r.type)return!0;if("let"===a.name){var u;let t=null===(u=e.findAncestor((e=>"ForOfStatement"===e.type)))||void 0===u?void 0:u.left;if(t&&c(t,(e=>e===a)))return!0}if("object"===s&&"let"===a.name&&"MemberExpression"===r.type&&r.computed&&!r.optional){let t=e.findAncestor((e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type)),r=t?"ExpressionStatement"===t.type?t.expression:"ForStatement"===t.type?t.init:t.left:void 0;if(r&&c(r,(e=>e===a)))return!0}return!1}if("ObjectExpression"===a.type||"FunctionExpression"===a.type||"ClassExpression"===a.type||"DoExpression"===a.type){var g;let t=null===(g=e.findAncestor((e=>"ExpressionStatement"===e.type)))||void 0===g?void 0:g.expression;if(t&&c(t,(e=>e===a)))return!0}switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===s&&("ArrowFunctionExpression"===a.type||"AssignmentExpression"===a.type||"AwaitExpression"===a.type||"BinaryExpression"===a.type||"ConditionalExpression"===a.type||"LogicalExpression"===a.type||"NewExpression"===a.type||"ObjectExpression"===a.type||"SequenceExpression"===a.type||"TaggedTemplateExpression"===a.type||"UnaryExpression"===a.type||"UpdateExpression"===a.type||"YieldExpression"===a.type||"TSNonNullExpression"===a.type))return!0;break;case"ExportDefaultDeclaration":return C(e,t)||"SequenceExpression"===a.type;case"Decorator":if("expression"===s){if(f(a)&&a.computed)return!0;let e=!1,r=!1,n=a;for(;n;)switch(n.type){case"MemberExpression":r=!0,n=n.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===s&&"SequenceExpression"!==a.type&&c(a,(e=>"ObjectExpression"===e.type)))return!0}switch(a.type){case"UpdateExpression":if("UnaryExpression"===r.type)return a.prefix&&("++"===a.operator&&"+"===r.operator||"--"===a.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return a.operator===r.operator&&("+"===a.operator||"-"===a.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"BinaryExpression":return"left"===s&&"**"===r.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type||"in"===a.operator&&D(e))return!0;if("|>"===a.operator&&a.extra&&a.extra.parenthesized){let t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(r.type){case"TSSatisfiesExpression":case"TSAsExpression":return!y(a);case"ConditionalExpression":return y(a);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===s;case"ClassExpression":case"ClassDeclaration":return"superClass"===s;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"AssignmentExpression":case"AssignmentPattern":return"left"===s&&("TSTypeAssertion"===a.type||y(a));case"LogicalExpression":if("LogicalExpression"===a.type)return r.operator!==a.operator;case"BinaryExpression":{let{operator:e,type:t}=a;if(!e&&"TSTypeAssertion"!==t)return!0;let n=h(e),i=r.operator,o=h(i);return o>n||"right"===s&&o===n||o===n&&!p(i,e)||(o"===r.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===s&&"TSConditionalType"===r.type){if("TSConditionalType"===a.type)return!0;let{typeAnnotation:e}=a.returnType||a.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===s&&"TSConditionalType"===r.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===r.type||"TSIntersectionType"===r.type)&&r.types.length>1&&(!a.types||a.types.length>1))return!0;case"TSInferType":if("TSInferType"===a.type&&"TSRestType"===r.type)return!1;case"TSTypeOperator":return"TSArrayType"===r.type||"TSOptionalType"===r.type||"TSRestType"===r.type||"objectType"===s&&"TSIndexedAccessType"===r.type||"TSTypeOperator"===r.type||"TSTypeAnnotation"===r.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===s&&"TSIndexedAccessType"===r.type||"elementType"===s&&"TSArrayType"===r.type;case"TypeofTypeAnnotation":return"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type)||"elementType"===s&&"ArrayTypeAnnotation"===r.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===s&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===r.type&&null===r.name&&i(a).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===s&&"IndexedAccessType"===r.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof a.value&&"ExpressionStatement"===r.type&&!r.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===s&&"MemberExpression"===r.type&&"number"==typeof a.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===s&&"ArrowFunctionExpression"===r.type||("key"!==s||"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type||!r.computed)&&("init"!==s&&"update"!==s||"ForStatement"!==r.type)&&("ExpressionStatement"===r.type?"ObjectPattern"===a.left.type:!("key"===s&&"TSPropertySignature"===r.type||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&t&&"ForStatement"===t.type&&(t.init===r||t.update===r)||"value"===s&&"Property"===r.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(r)||"NGChainedExpression"===r.type))}case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return"|>"!==r.operator||a.extra&&a.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===s;default:return!1}case"ClassExpression":return!!n(a.decorators)||"NewExpression"===r.type&&"callee"===s;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===s&&"MemberExpression"===r.type||"callee"===s&&("CallExpression"===r.type||"NewExpression"===r.type)||"TSNonNullExpression"===r.type&&"MemberExpression"===t.type&&t.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)){let e=a;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)||"object"===s&&f(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!a.extra||!a.extra.parenthesized)||"ArrayExpression"===r.type||d(r)&&r.arguments[s]===a||"right"===s&&"NGPipeExpression"===r.type||"property"===s&&"MemberExpression"===r.type||"AssignmentExpression"===r.type);case"JSXFragment":case"JSXElement":return"callee"===s||"left"===s&&"BinaryExpression"===r.type&&"<"===r.operator||"ArrayExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"AssignmentExpression"!==r.type&&"AssignmentPattern"!==r.type&&"BinaryExpression"!==r.type&&"NewExpression"!==r.type&&"ConditionalExpression"!==r.type&&"ExpressionStatement"!==r.type&&"JsExpressionRoot"!==r.type&&"JSXAttribute"!==r.type&&"JSXElement"!==r.type&&"JSXExpressionContainer"!==r.type&&"JSXFragment"!==r.type&&"LogicalExpression"!==r.type&&!d(r)&&!m(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===s&&"ArrowFunctionExpression"===r.type&&b(a)}return!1}function v(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}function D(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}return!1}function b(e){return u(e,(e=>"ObjectTypeAnnotation"===e.type&&u(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}function E(e){return"ObjectExpression"===e.type}function x(e){let t=e.getValue(),n=e.getParentNode(),i=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof i&&n.arguments[i]===t&&n.arguments.length-1===i)return e.callParent(x);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return r(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(x);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(x);break;case"UnaryExpression":if(n.prefix)return e.callParent(x)}return!1}function C(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!g(e,t):!(!a(r)||"ExportDefaultDeclaration"!==n.type&&g(e,t))&&e.call((e=>C(e,t)),...s(e,r))}t.exports=g}}),zr=b({"src/language-js/print-preprocess.js"(e,t){function r(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}A(),t.exports=r}}),Wr=b({"src/language-js/print/html-binding.js"(e,t){A();var{builders:{join:r,line:n,group:i,softline:s,indent:o}}=H();function a(e,t,a){let u=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(u,t),"File"===u.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",n],e.map(a,"params")),{params:u}=e.getValue();return 1===u.length?t:["(",o([s,i(t)]),s,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",n],e.map(a,"params"))),"program","body",0)}}function u(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return u(e.object)}return!1;case"Identifier":return!0;default:return!1}}t.exports={isVueEventBindingExpression:u,printHtmlBinding:a}}}),Gr=b({"src/language-js/print/binaryish.js"(e,t){A();var{printComments:r}=Jt(),{getLast:n}=ye(),{builders:{join:i,line:s,softline:o,group:a,indent:u,align:l,indentIfBreak:c},utils:{cleanDoc:p,getDocParts:h,isConcat:d}}=H(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:y,shouldFlatten:g,hasComment:v,CommentCheckFlags:D,isCallExpression:b,isMemberExpression:E,isObjectProperty:x,isEnabledHackPipeline:C}=ur(),w=0;function S(e,t,r){let i=e.getValue(),s=e.getParentNode(),l=e.getParentNode(1),p=i!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),h=C(t)&&"|>"===i.operator,d=T(e,r,t,!1,p);if(p)return d;if(h)return a(d);if(b(s)&&s.callee===i||"UnaryExpression"===s.type||E(s)&&!s.computed)return a([u([o,...d]),o]);let f="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===l.type||"|"!==i.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==i.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===l.type&&1===l.body.length)||i===s.body&&"ArrowFunctionExpression"===s.type||i!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==l.type&&"ThrowStatement"!==l.type&&!b(l)||"TemplateLiteral"===s.type,v="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||x(s),D=m(i.left)&&g(i.operator,i.left.operator);if(f||F(i)&&!D||!F(i)&&v)return a(d);if(0===d.length)return"";let A=y(i.right),S=d.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),k=d.slice(0,-1===S?1:S+1),P=d.slice(k.length,A?-1:void 0),N=Symbol("logicalChain-"+ ++w),_=a([...k,u(P)],{id:N});if(!A)return _;let O=n(d);return a([_,c(O,{groupId:N})])}function T(e,t,n,o,c){let y=e.getValue();if(!m(y))return[a(t())];let b=[];g(y.operator,y.left.operator)?b=e.call((e=>T(e,t,n,!0,c)),"left"):b.push(a(t("left")));let E,x=F(y),w=("|>"===y.operator||"NGPipeExpression"===y.type||"|"===y.operator&&"__vue_expression"===n.parser)&&!f(n.originalText,y.right),A="NGPipeExpression"===y.type?"|":y.operator,S="NGPipeExpression"===y.type&&y.arguments.length>0?a(u([s,": ",i([s,": "],e.map(t,"arguments").map((e=>l(2,a(e)))))])):"";if(x)E=[A," ",t("right"),S];else{let r=C(n)&&"|>"===A?e.call((e=>T(e,t,n,!0,c)),"right"):t("right");E=[w?s:"",A,w?" ":s,r,S]}let k=e.getParentNode(),P=v(y.left,D.Trailing|D.Line),N=P||!(c&&"LogicalExpression"===y.type)&&k.type!==y.type&&y.left.type!==y.type&&y.right.type!==y.type;if(b.push(w?"":" ",N?a(E,{shouldBreak:P}):E),o&&v(y)){let t=p(r(e,b,n));return d(t)||"fill"===t.type?h(t):[t]}return b}function F(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||y(e.right))}t.exports={printBinaryishExpression:S,shouldInlineLogicalExpression:F}}}),Hr=b({"src/language-js/print/angular.js"(e,t){A();var{builders:{join:r,line:n,group:i}}=H(),{hasNode:s,hasComment:o,getComments:a}=ur(),{printBinaryishExpression:u}=Gr();function l(e,t,s){let l=e.getValue();if(l.type.startsWith("NG"))switch(l.type){case"NGRoot":return[s("node"),o(l.node)?" //"+a(l.node)[0].value.trimEnd():""];case"NGPipeExpression":return u(e,t,s);case"NGChainedExpression":return i(r([";",n],e.map((e=>p(e)?s():["(",s(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[l.prefix,": ",l.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":c(e.getValue(),t,l)?" ":[";",n],s()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(l.name)?l.name:JSON.stringify(l.name);case"NGMicrosyntaxExpression":return[s("expression"),null===l.alias?"":[" as ",s("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),r=e.getParentNode(),n=c(l,t,r)||(1===t&&("then"===l.key.name||"else"===l.key.name)||2===t&&"else"===l.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[s("key"),n?" ":": ",s("expression")]}case"NGMicrosyntaxLet":return["let ",s("key"),null===l.value?"":[" = ",s("value")]];case"NGMicrosyntaxAs":return[s("key")," as ",s("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(l.type)}.`)}}function c(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}function p(e){return s(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}t.exports={printAngular:l}}}),Jr=b({"src/language-js/print/jsx.js"(e,t){A();var{printComments:r,printDanglingComments:n,printCommentsSeparately:i}=Jt(),{builders:{line:s,hardline:o,softline:a,group:u,indent:l,conditionalGroup:c,fill:p,ifBreak:h,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=H(),{getLast:y,getPreferredQuote:g}=ye(),{isJsxNode:v,rawText:D,isCallExpression:b,isStringLiteral:E,isBinaryish:x,hasComment:C,CommentCheckFlags:w,hasNodeIgnoreComment:S}=ur(),T=qr(),{willPrintOwnComments:F}=Ur(),k=e=>""===e||e===s||e===o||e===a;function P(e,t,r){let n=e.getValue();if("JSXElement"===n.type&&K(n))return[r("openingElement"),r("closingElement")];let i="JSXElement"===n.type?r("openingElement"):r("openingFragment"),s="JSXElement"===n.type?r("closingElement"):r("closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return[i,...e.map(r,"children"),s];n.children=n.children.map((e=>Z(e)?{type:"JSXText",value:" ",raw:" "}:e));let d=n.children.some(v),f=n.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,g="JSXElement"===n.type&&n.openingElement.attributes.length>1,D=m(i)||d||g||f,b="mdx"===e.getParentNode().rootMarker,E=t.singleQuote?"{' '}":'{" "}',x=b?" ":h([E,a]," "),C=N(e,t,r,x,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),w=n.children.some((e=>Y(e)));for(let u=C.length-2;u>=0;u--){let e=""===C[u]&&""===C[u+1],t=C[u]===o&&""===C[u+1]&&C[u+2]===o,r=(C[u]===a||C[u]===o)&&""===C[u+1]&&C[u+2]===x,n=C[u]===x&&""===C[u+1]&&(C[u+2]===a||C[u+2]===o),i=C[u]===x&&""===C[u+1]&&C[u+2]===x,s=C[u]===a&&""===C[u+1]&&C[u+2]===o||C[u]===o&&""===C[u+1]&&C[u+2]===a;t&&w||e||r||i||s?C.splice(u,2):n&&C.splice(u+1,2)}for(;C.length>0&&k(y(C));)C.pop();for(;C.length>1&&k(C[0])&&k(C[1]);)C.shift(),C.shift();let A=[];for(let[a,u]of C.entries()){if(u===x){if(1===a&&""===C[a-1]){if(2===C.length){A.push(E);continue}A.push([E,o]);continue}if(a===C.length-1){A.push(E);continue}if(""===C[a-1]&&C[a-2]===o){A.push(E);continue}}A.push(u),m(u)&&(D=!0)}let S=w?p(A):u(A,{shouldBreak:!0});if(b)return S;let T=u([i,l([o,S]),o,s]);return D?T:c([u([i,...C,s]),T])}function N(e,t,r,n,i){let a=[];return e.each(((e,t,u)=>{let l=e.getValue();if("JSXText"===l.type){let e=D(l);if(Y(l)){let r,o=e.split(J);if(""===o[0]){if(a.push(""),o.shift(),/\n/.test(o[0])){let e=u[t+1];a.push(O(i,o[1],l,e))}else a.push(n);o.shift()}if(""===y(o)&&(o.pop(),r=o.pop()),0===o.length)return;for(let[e,t]of o.entries())e%2===1?a.push(s):a.push(t);if(void 0!==r)if(/\n/.test(r)){let e=u[t+1];a.push(O(i,y(a),l,e))}else a.push(n);else{let e=u[t+1];a.push(_(i,y(a),l,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&a.push("",o):a.push("",n)}else{let e=r();a.push(e);let n=u[t+1];if(n&&Y(n)){let e=Q(D(n)).split(J)[0];a.push(_(i,e,l,n))}else a.push(o)}}),"children"),a}function _(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?a:o:a}function O(e,t,r,n){return e?o:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?o:a:o}function I(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),b,(e=>"JSXExpressionContainer"===e.type)),s=T(e,r);return u([s?"":h("("),l([a,t]),a,s?"":h(")")],{shouldBreak:i})}function B(e,t,r){let n=e.getValue(),s=[];if(s.push(r("name")),n.value){let o;if(E(n.value)){let r=D(n.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:s,quote:a,regex:u}=g(r,t.jsxSingleQuote?"'":'"');r=r.replace(u,s);let{leading:l,trailing:c}=e.call((()=>i(e,t)),"value");o=[l,a,r,a,c]}else o=r("value");s.push("=",o)}return s}function j(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!C(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||b(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||v(t)&&("ConditionalExpression"===e.type||x(e)));return i(n.expression,e.getParentNode(0))?u(["{",r("expression"),d,"}"]):u(["{",l([a,r("expression")]),a,d,"}"])}function L(e,t,r){let n=e.getValue(),i=n.name&&C(n.name)||n.typeParameters&&C(n.typeParameters);if(n.selfClosing&&0===n.attributes.length&&!i)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&1===n.attributes.length&&n.attributes[0].value&&E(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!i&&!C(n.attributes[0]))return u(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let a=n.attributes&&n.attributes.some((e=>e.value&&E(e.value)&&e.value.value.includes("\n"))),c=t.singleAttributePerLine&&n.attributes.length>1?o:s;return u(["<",r("name"),r("typeParameters"),l(e.map((()=>[c,r()]),"attributes")),...M(n,t,i)],{shouldBreak:a})}function M(e,t,r){return e.selfClosing?[s,"/>"]:R(e,t,r)?[">"]:[a,">"]}function R(e,t,r){let n=e.attributes.length>0&&C(y(e.attributes),w.Trailing);return 0===e.attributes.length&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function $(e,t,r){let n=e.getValue(),i=[];i.push(""),i}function V(e,t){let r=e.getValue(),i=C(r),s=C(r,w.Line),a="JSXOpeningFragment"===r.type;return[a?"<":""]}function U(e,t,n){return I(e,r(e,P(e,t,n),t),t)}function q(e,t){let r=e.getValue(),i=C(r,w.Line);return[n(e,t,!i),i?o:""]}function z(e,t,n){let i=e.getValue();return["{",e.call((e=>{let i=["...",n()],s=e.getValue();return C(s)&&F(e)?[l([a,r(e,i,t)]),a]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}function W(e,t,r){let n=e.getValue();if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return B(e,t,r);case"JSXIdentifier":return String(n.name);case"JSXNamespacedName":return f(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return f(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return z(e,t,r);case"JSXExpressionContainer":return j(e,t,r);case"JSXFragment":case"JSXElement":return U(e,t,r);case"JSXOpeningElement":return L(e,t,r);case"JSXClosingElement":return $(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return V(e,t);case"JSXEmptyExpression":return q(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(n.type)}.`)}}var G=" \n\r\t",J=new RegExp("(["+G+"]+)"),X=new RegExp("[^"+G+"]"),Q=e=>e.replace(new RegExp("(?:^"+J.source+"|"+J.source+"$)"),"");function K(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!Y(t)}function Y(e){return"JSXText"===e.type&&(X.test(D(e))||!/\n/.test(D(e)))}function Z(e){return"JSXExpressionContainer"===e.type&&E(e.expression)&&" "===e.expression.value&&!C(e.expression)}function ee(e){let t=e.getValue(),r=e.getParentNode();if(!r||!t||!v(t)||!v(r))return!1;let n=null;for(let i=r.children.indexOf(t);i>0;i--){let e=r.children[i-1];if("JSXText"!==e.type||Y(e)){n=e;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&S(n.expression)}t.exports={hasJsxIgnoreComment:ee,printJsx:W}}}),Xr=b({"src/language-js/print/misc.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{indent:n,join:i,line:s}}=H(),{isFlowAnnotationComment:o}=ur();function a(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function u(e){return e.getValue().definite||e.match(void 0,((e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite))?"!":""}function l(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function c(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let i=e.getParentNode(),s="DeclareFunction"===i.type&&i.id===n;return o(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[s?"":": ",r("typeAnnotation")]}function p(e,t,r){return["::",r("callee")]}function h(e,t,n){let s=e.getValue();return r(s.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""}function d(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([s,t])}function f(e,t,r){return["...",r("argument"),c(e,t,r)]}function m(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}t.exports={printOptionalToken:a,printDefiniteToken:u,printFunctionTypeParameters:l,printBindExpressionCallee:p,printTypeScriptModifiers:h,printTypeAnnotation:c,printRestSpread:f,adjustClause:d,printDirective:m}}}),Qr=b({"src/language-js/print/array.js"(e,t){A();var{printDanglingComments:r}=Jt(),{builders:{line:n,softline:i,hardline:s,group:o,indent:a,ifBreak:u,fill:l}}=H(),{getLast:c,hasNewline:p}=ye(),{shouldPrintComma:h,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:y,isSignedNumericLiteral:g}=ur(),{locStart:v}=$t(),{printOptionalToken:D,printTypeAnnotation:b}=Xr();function E(e,t,n){let s=e.getValue(),l=[],p="TupleExpression"===s.type?"#[":"[",m="]";if(0===s.elements.length)d(s,f.Dangling)?l.push(o([p,r(e,t),i,m])):l.push(p,m);else{let d=c(s.elements),f=!(d&&"RestElement"===d.type),y=null===d,g=Symbol("array"),v=!t.__inJestEach&&s.elements.length>1&&s.elements.every(((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let i=r[t+1];if(i&&n!==i.type)return!1;let s="ArrayExpression"===n?"elements":"properties";return e[s]&&e[s].length>1})),D=x(s,t),b=f?y?",":h(t)?D?u(",","",{groupId:g}):u(","):"":"";l.push(o([p,a([i,D?w(e,t,n,b):[C(e,t,"elements",n),b],r(e,t,!0)]),i,m],{shouldBreak:v,id:g}))}return l.push(D(e),b(e,t,n)),l}function x(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(y(e)||g(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,(e=>!p(t.originalText,v(e),{backwards:!0})))))}function C(e,t,r,s){let a=[],u=[];return e.each((e=>{a.push(u,o(s())),u=[",",n],e.getValue()&&m(e.getValue(),t)&&u.push(i)}),r),a}function w(e,t,r,i){let o=[];return e.each(((e,a,u)=>{let l=a===u.length-1;o.push([r(),l?i:","]),l||o.push(m(e.getValue(),t)?[s,s]:d(u[a+1],f.Leading|f.Line)?s:n)}),"elements"),l(o)}t.exports={printArray:E,printArrayItems:C,isConciselyPrintedArray:x}}}),Kr=b({"src/language-js/print/call-arguments.js"(e,t){A();var{printDanglingComments:r}=Jt(),{getLast:n,getPenultimate:i}=ye(),{getFunctionParameters:s,hasComment:o,CommentCheckFlags:a,isFunctionCompositionArgs:u,isJsxNode:l,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:h,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:y,isObjectProperty:g,isTSTypeExpression:v}=ur(),{builders:{line:D,hardline:b,softline:E,group:x,indent:C,conditionalGroup:w,ifBreak:S,breakParent:T},utils:{willBreak:F}}=H(),{ArgExpansionBailout:k}=Me(),{isConciselyPrintedArray:P}=Qr();function N(e,t,i){let s=e.getValue(),o="ImportExpression"===s.type,a=h(s);if(0===a.length)return["(",r(e,t,!0),")"];if(B(a))return["(",i(["arguments",0]),", ",i(["arguments",1]),")"];let l=!1,m=!1,y=a.length-1,g=[];d(e,((e,r)=>{let n=e.getNode(),s=[i()];r===y||(f(n,t)?(0===r&&(m=!0),l=!0,s.push(",",b,b)):s.push(",",D)),g.push(s)}));let v=o||s.callee&&"Import"===s.callee.type||!p(t,"all")?"":",";function A(){return x(["(",C([D,...g]),v,D,")"],{shouldBreak:!0})}if(l||"Decorator"!==e.getParentNode().type&&u(a))return A();let P=I(a),N=O(a,t);if(P||N){if(P?g.slice(1).some(F):g.slice(0,-1).some(F))return A();let t=[];try{e.try((()=>{d(e,((e,r)=>{P&&0===r&&(t=[[i([],{expandFirstArg:!0}),g.length>1?",":"",m?b:D,m?b:""],...g.slice(1)]),N&&r===y&&(t=[...g.slice(0,-1),i([],{expandLastArg:!0})])}))}))}catch(j){if(j instanceof k)return A();throw j}return[g.some(F)?T:"",w([["(",...t,")"],P?["(",x(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...g.slice(0,-1),x(n(t),{shouldBreak:!0}),")"],A()])]}let _=["(",C([E,...g]),S(v),E,")"];return c(e)?_:x(_,{shouldBreak:g.some(F)||l})}function _(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||o(e))||"ArrayExpression"===e.type&&(e.elements.length>0||o(e))||"TSTypeAssertion"===e.type&&_(e.expression)||v(e)&&_(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||j(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&_(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||l(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function O(e,t){let r=n(e),s=i(e);return!o(r,a.Leading)&&!o(r,a.Trailing)&&_(r)&&(!s||s.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==s.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&P(r,t))}function I(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!L(r))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!_(r)}function B(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===s(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>o(e)))}function j(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||o(e,a.Dangling))}function L(e){return"ObjectExpression"===e.type&&1===e.properties.length&&g(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&y(e.properties[0].value)&&"module"===e.properties[0].value.value}t.exports=N}}),Yr=b({"src/language-js/print/member.js"(e,t){A();var{builders:{softline:r,group:n,indent:i,label:s}}=H(),{isNumericLiteral:o,isMemberExpression:a,isCallExpression:u}=ur(),{printOptionalToken:l}=Xr();function c(e,t,o){let l,c=e.getValue(),h=e.getParentNode(),d=0;do{l=e.getParentNode(d),d++}while(l&&(a(l)||"TSNonNullExpression"===l.type));let f=o("object"),m=p(e,t,o),y=l&&("NewExpression"===l.type||"BindExpression"===l.type||"AssignmentExpression"===l.type&&"Identifier"!==l.left.type)||c.computed||"Identifier"===c.object.type&&"Identifier"===c.property.type&&!a(h)||("AssignmentExpression"===h.type||"VariableDeclarator"===h.type)&&(u(c.object)&&c.object.arguments.length>0||"TSNonNullExpression"===c.object.type&&u(c.object.expression)&&c.object.expression.arguments.length>0||"member-chain"===f.label);return s("member-chain"===f.label?"member-chain":"member",[f,y?m:n(i([r,m]))])}function p(e,t,s){let a=s("property"),u=e.getValue(),c=l(e);return u.computed?!u.property||o(u.property)?[c,"[",a,"]"]:n([c,"[",i([r,a]),r,"]"]):[c,".",a]}t.exports={printMemberExpression:c,printMemberLookup:p}}}),Zr=b({"src/language-js/print/member-chain.js"(e,t){A();var{printComments:r}=Jt(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:s}=ye(),o=qr(),{isCallExpression:a,isMemberExpression:u,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:h,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:y}=ur(),{locEnd:g}=$t(),{builders:{join:v,hardline:D,group:b,indent:E,conditionalGroup:x,breakParent:C,label:w},utils:{willBreak:S}}=H(),T=Kr(),{printMemberLookup:F}=Yr(),{printOptionalToken:k,printFunctionTypeParameters:P,printBindExpressionCallee:N}=Xr();function _(e,t,A){let _=e.getParentNode(),O=!_||"ExpressionStatement"===_.type,I=[];function B(e){let{originalText:r}=t,n=s(r,e,g);return")"===r.charAt(n)?!1!==n&&i(r,n+1):y(e,t)}function j(e){let n=e.getValue();a(n)&&(p(n.callee)||a(n.callee))?(I.unshift({node:n,printed:[r(e,[k(e),P(e,t,A),T(e,t,A)],t),B(n)?D:""]}),e.call((e=>j(e)),"callee")):p(n)?(I.unshift({node:n,needsParens:o(e,t),printed:r(e,u(n)?F(e,t,A):N(e,t,A),t)}),e.call((e=>j(e)),"object")):"TSNonNullExpression"===n.type?(I.unshift({node:n,printed:r(e,"!",t)}),e.call((e=>j(e)),"expression")):I.unshift({node:n,printed:A()})}let L=e.getValue();I.unshift({node:L,printed:[k(e),P(e,t,A),T(e,t,A)]}),L.callee&&e.call((e=>j(e)),"callee");let M=[],R=[I[0]],$=1;for(;$0&&e[1][0].node.computed;if(1===e[0].length){let r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(U(r.name)||O&&q(r.name)||t)}let r=n(e[0]).node;return u(r)&&"Identifier"===r.property.type&&(U(r.property.name)||t)}R.length>0&&M.push(R);let W=M.length>=2&&!f(M[1][0].node)&&z(M);function G(e){let t=e.map((e=>e.printed));return e.length>0&&n(e).needsParens?["(",...t,")"]:t}function H(e){return 0===e.length?"":E(b([D,v(D,e.map(G))]))}let J=M.map(G),X=J,Q=W?3:2,K=M.flat(),Y=K.slice(1,-1).some((e=>f(e.node,m.Leading)))||K.slice(0,-1).some((e=>f(e.node,m.Trailing)))||M[Q]&&f(M[Q][0].node,m.Leading);if(M.length<=Q&&!Y)return c(e)?X:b(X);let Z,ee=n(M[W?1:0]).node,te=!a(ee)&&B(ee),re=[G(M[0]),W?M.slice(1,2).map(G):"",te?D:"",H(M.slice(W?2:1))],ne=I.map((e=>{let{node:t}=e;return t})).filter(a);function ie(){let e=n(n(M)).node,t=n(J);return a(e)&&S(t)&&ne.slice(0,-1).some((e=>e.arguments.some(l)))}return Z=Y||ne.length>2&&ne.some((e=>!e.arguments.every((e=>d(e,0)))))||J.slice(0,-1).some(S)||ie()?b(re):[S(X)||te?C:"",x([X,re])],w("member-chain",Z)}t.exports=_}}),en=b({"src/language-js/print/call-expression.js"(e,t){A();var{builders:{join:r,group:n}}=H(),i=qr(),{getCallArguments:s,hasFlowAnnotationComment:o,isCallExpression:a,isMemberish:u,isStringLiteral:l,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:h}=ur(),d=Zr(),f=Kr(),{printOptionalToken:m,printFunctionTypeParameters:y}=Xr();function g(e,t,l){let g=e.getValue(),D=e.getParentNode(),b="NewExpression"===g.type,E="ImportExpression"===g.type,x=m(e),C=s(g);if(C.length>0&&(!E&&!b&&v(g,D)||1===C.length&&c(C[0],t.originalText)||!b&&p(g,D))){let n=[];return h(e,(()=>{n.push(l())})),[b?"new ":"",l("callee"),x,y(e,t,l),"(",r(", ",n),")"]}let w=("babel"===t.parser||"babel-flow"===t.parser)&&g.callee&&"Identifier"===g.callee.type&&o(g.callee.trailingComments);if(w&&(g.callee.trailingComments[0].printed=!0),!E&&!b&&u(g.callee)&&!e.call((e=>i(e,t)),"callee"))return d(e,t,l);let A=[b?"new ":"",E?"import":l("callee"),x,w?`/*:: ${g.callee.trailingComments[0].value.slice(2).trim()} */`:"",y(e,t,l),f(e,t,l)];return E||a(g.callee)?n(A):A}function v(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=s(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&l(r[0])&&"ArrayExpression"===r[1].type)}return!1}t.exports={printCallExpression:g}}}),tn=b({"src/language-js/print/assignment.js"(e,t){A();var{isNonEmptyArray:r,getStringWidth:n}=ye(),{builders:{line:i,group:s,indent:o,indentIfBreak:a,lineSuffixBoundary:u},utils:{cleanDoc:l,willBreak:c,canBreak:p}}=H(),{hasLeadingOwnLineComment:h,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:y,isCallExpression:g,isMemberExpression:v,getCallArguments:D,rawText:b,hasComment:E,isSignedNumericLiteral:x,isObjectProperty:C}=ur(),{shouldInlineLogicalExpression:w}=Gr(),{printCallExpression:S}=en();function T(e,t,r,n,l,c){let p=P(e,t,r,n,c),h=r(c,{assignmentLayout:p});switch(p){case"break-after-operator":return s([s(n),l,s(o([i,h]))]);case"never-break-after-operator":return s([s(n),l," ",h]);case"fluid":{let e=Symbol("assignment");return s([s(n),l,s(o(i),{id:e}),u,a(h,{groupId:e})])}case"break-lhs":return s([n,l," ",s(h)]);case"chain":return[s(n),l,i,h];case"chain-tail":return[s(n),l,o([i,h])];case"chain-tail-arrow-chain":return[s(n),l,h];case"only-left":return n}}function F(e,t,r){let n=e.getValue();return T(e,t,r,r("left"),[" ",n.operator],"right")}function k(e,t,r){return T(e,t,r,r("id")," =","init")}function P(e,t,r,n,i){let s=e.getValue(),o=s[i];if(!o)return"only-left";let a=!O(o);if(e.match(O,I,(e=>!a||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return a?"ArrowFunctionExpression"===o.type&&"ArrowFunctionExpression"===o.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&O(o.right)||h(t.originalText,o))return"break-after-operator";if("CallExpression"===o.type&&"require"===o.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(_(s)||B(s)||M(s)||R(s)&&p(n))return"break-lhs";let u=W(s,n,t);return e.call((()=>N(e,t,r,u)),i)?"break-after-operator":u||"TemplateLiteral"===o.type||"TaggedTemplateExpression"===o.type||"BooleanLiteral"===o.type||y(o)||"ClassExpression"===o.type?"never-break-after-operator":"fluid"}function N(e,t,n,i){let s=e.getValue();if(d(s)&&!w(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return d(e)&&!w(e)}case"ClassExpression":return r(s.decorators)}if(i)return!1;let o=s,a=[];for(;;)if("UnaryExpression"===o.type)o=o.argument,a.push("argument");else{if("TSNonNullExpression"!==o.type)break;o=o.expression,a.push("expression")}return!(!f(o)&&!e.call((()=>U(e,t,n)),...a))}function _(e){if(I(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>C(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}function O(e){return"AssignmentExpression"===e.type}function I(e){return O(e)||"VariableDeclarator"===e.type}function B(e){let t=j(e);if(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[r]||e.default)))return!0}return!1}function j(e){return L(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function L(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}function M(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=$(t.typeAnnotation);return r(n)&&n.length>1&&n.some((e=>r($(e))||"TSConditionalType"===e.type))}function R(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function $(e){return V(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function V(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}function U(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.getValue(),s=()=>U(e,t,r,!0);if("TSNonNullExpression"===i.type)return e.call(s,"expression");if(g(i)){if("member-chain"===S(e,t,r).label)return!1;let n=D(i);return!(!(0===n.length||1===n.length&&z(n[0],t))||G(i,r))&&e.call(s,"callee")}return v(i)?e.call(s,"object"):n&&("Identifier"===i.type||"ThisExpression"===i.type)}var q=.25;function z(e,t){let{printWidth:r}=t;if(E(e))return!1;let n=r*q;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||x(e)&&!E(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=n:f(e)?b(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):m(e)}function W(e,t,r){if(!C(e))return!1;let i=3;return"string"==typeof(t=l(t))&&n(t)1)return!0;if(1===n.length){let e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(c(t(r)))return!0}return!1}function J(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}t.exports={printVariableDeclarator:k,printAssignmentExpression:F,printAssignment:T,isArrowFunctionVariableDeclarator:R}}}),rn=b({"src/language-js/print/function-parameters.js"(e,t){A();var{getNextNonSpaceNonCommentCharacter:r}=ye(),{printDanglingComments:n}=Jt(),{builders:{line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l},utils:{removeLines:c,willBreak:p}}=H(),{getFunctionParameters:h,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:y,isObjectType:g,isObjectTypePropertyAFunction:v,hasRestParameter:D,shouldPrintComma:b,hasComment:E,isNextLineEmpty:x}=ur(),{locEnd:C}=$t(),{ArgExpansionBailout:w}=Me(),{printFunctionTypeParameters:S}=Xr();function T(e,t,g,E,A){let T=e.getValue(),k=h(T),P=A?S(e,g,t):"";if(0===k.length)return[P,"(",n(e,g,!0,(e=>")"===r(g.originalText,e,C))),")"];let N=e.getParentNode(),_=m(N),O=F(T),I=[];if(d(e,((e,r)=>{let n=r===k.length-1;n&&T.rest&&I.push("..."),I.push(t()),!n&&(I.push(","),_||O?I.push(" "):x(k[r],g)?I.push(s,s):I.push(i))})),E){if(p(P)||p(I))throw new w;return a([c(P),"(",c(I),")"])}let B=k.every((e=>!e.decorators));return O&&B||_?[P,"(",...I,")"]:(v(N)||y(N)||"TypeAlias"===N.type||"UnionTypeAnnotation"===N.type||"TSUnionType"===N.type||"IntersectionTypeAnnotation"===N.type||"FunctionTypeAnnotation"===N.type&&N.returnType===T)&&1===k.length&&null===k[0].name&&T.this!==k[0]&&k[0].typeAnnotation&&null===T.typeParameters&&f(k[0].typeAnnotation)&&!T.rest?"always"===g.arrowParens?["(",...I,")"]:I:[P,"(",u([o,...I]),l(!D(T)&&b(g,"all")?",":""),o,")"]}function F(e){if(!e)return!1;let t=h(e);if(1!==t.length)return!1;let[r]=t;return!E(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&g(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&g(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}function k(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function P(e,t){let r=k(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(1===n.length){let e=n[0];if(e.constraint||e.default)return!1}}return 1===h(e).length&&(g(r)||p(t))}t.exports={printFunctionParameters:T,shouldHugFunctionParameters:F,shouldGroupFunctionParameters:P}}}),nn=b({"src/language-js/print/type-annotation.js"(e,t){A();var{printComments:r,printDanglingComments:n}=Jt(),{isNonEmptyArray:i}=ye(),{builders:{group:s,join:o,line:a,softline:u,indent:l,align:c,ifBreak:p}}=H(),h=qr(),{locStart:d}=$t(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:y,isObjectTypePropertyAFunction:g,shouldPrintComma:v}=ur(),{printAssignment:D}=tn(),{printFunctionParameters:b,shouldGroupFunctionParameters:E}=rn(),{printArrayItems:x}=Qr();function C(e){if(f(e)||m(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,r=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&r)return!0}return!1}function w(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];return s.push("opaque type ",r("id"),r("typeParameters")),i.supertype&&s.push(": ",r("supertype")),i.impltype&&s.push(" = ",r("impltype")),s.push(n),s}function S(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];i.declare&&s.push("declare "),s.push("type ",r("id"),r("typeParameters"));let o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[D(e,t,r,s," =",o),n]}function T(e,t,r){let n=e.getValue(),i=e.map(r,"types"),o=[],u=!1;for(let s=0;s1&&(u=!0),o.push(" & ",s>1?l(i[s]):i[s])):o.push(l([" &",a,i[s]]));return s(o)}function F(e,t,n){let i=e.getValue(),d=e.getParentNode(),f="TypeParameterInstantiation"!==d.type&&"TSTypeParameterInstantiation"!==d.type&&"GenericTypeAnnotation"!==d.type&&"TSTypeReference"!==d.type&&"TSTypeAssertion"!==d.type&&"TupleTypeAnnotation"!==d.type&&"TSTupleType"!==d.type&&!("FunctionTypeParam"===d.type&&!d.name&&e.getParentNode(1).this!==d)&&!(("TypeAlias"===d.type||"VariableDeclarator"===d.type||"TSTypeAliasDeclaration"===d.type)&&y(t.originalText,i)),m=C(i),g=e.map((e=>{let i=n();return m||(i=c(2,i)),r(e,i,t)}),"types");if(m)return o(" | ",g);let v=f&&!y(t.originalText,i),D=[p([v?a:"","| "]),o([a,"| "],g)];return h(e,t)?s([l(D),u]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?s([l([p(["(",u]),D]),u,p(")")]):s(f?l(D):D)}function k(e,t,r){let n=e.getValue(),i=[],o=e.getParentNode(0),a=e.getParentNode(1),u=e.getParentNode(2),l="TSFunctionType"===n.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&d(o)===d(n)||"ObjectTypeCallProperty"===o.type||u&&"DeclareFunction"===u.type),c=l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=c&&l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;g(o)&&(l=!0,c=!0),p&&i.push("(");let h=b(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[l?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=E(n,f);return i.push(m?s(h):h),f&&i.push(f),p&&i.push(")"),s(i)}function P(e,t,r){let o=e.getValue(),a="TSTupleType"===o.type?"elementTypes":"types",c=o[a],h=i(c),d=h?u:"";return s(["[",l([d,x(e,t,a,r)]),p(h&&v(t,"all")?",":""),n(e,t,!0),d,"]"])}function N(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]}function _(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}t.exports={printOpaqueType:w,printTypeAlias:S,printIntersectionType:T,printUnionType:F,printFunctionType:k,printTupleType:P,printIndexedAccessType:N,shouldHugType:C,printJSDocType:_}}}),sn=b({"src/language-js/print/type-parameters.js"(e,t){A();var{printDanglingComments:r}=Jt(),{builders:{join:n,line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l}}=H(),{isTestCall:c,hasComment:p,CommentCheckFlags:h,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:y,getTypeScriptMappedTypeModifier:g}=ur(),{createGroupIdMapper:v}=ye(),{shouldHugType:D}=nn(),{isArrowFunctionVariableDeclarator:b}=tn(),E=v("typeParameters");function x(e,t,r,s){let p=e.getValue();if(!p[s])return"";if(!Array.isArray(p[s]))return r(s);let h=e.getNode(2),g=h&&c(h),v=e.match((e=>!(1===e[s].length&&y(e[s][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),b);if(0===p[s].length||!v&&(g||1===p[s].length&&("NullableTypeAnnotation"===p[s][0].type||D(p[s][0]))))return["<",n(", ",e.map(r,s)),C(e,t),">"];let x="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return a(["<",u([o,n([",",i],e.map(r,s))]),x,o,">"],{id:E(p)})}function C(e,t){let n=e.getValue();if(!p(n,h.Dangling))return"";let i=!p(n,h.Line),o=r(e,t,i);return i?o:[o,s]}function w(e,t,r){let n=e.getValue(),i=["TSTypeParameter"===n.type&&n.const?"const ":""],s=e.getParentNode();return"TSMappedType"===s.type?(s.readonly&&i.push(g(s.readonly,"readonly")," "),i.push("[",r("name")),n.constraint&&i.push(" in ",r("constraint")),s.nameType&&i.push(" as ",e.callParent((()=>r("nameType")))),i.push("]"),i):(n.variance&&i.push(r("variance")),n.in&&i.push("in "),n.out&&i.push("out "),i.push(r("name")),n.bound&&i.push(": ",r("bound")),n.constraint&&i.push(" extends ",r("constraint")),n.default&&i.push(" = ",r("default")),i)}t.exports={printTypeParameter:w,printTypeParameters:x,getTypeParametersGroupId:E}}}),on=b({"src/language-js/print/property.js"(e,t){A();var{printComments:r}=Jt(),{printString:n,printNumber:i}=ye(),{isNumericLiteral:s,isSimpleNumber:o,isStringLiteral:a,isStringPropSafeToUnquote:u,rawText:l}=ur(),{printAssignment:c}=tn(),p=new WeakMap;function h(e,t,c){let h=e.getNode();if(h.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=h;if("consistent"===t.quoteProps&&!p.has(d)){let e=(d.properties||d.body||d.members).some((e=>!e.computed&&e.key&&a(e.key)&&!u(e,t)));p.set(d,e)}if(("Identifier"===f.type||s(f)&&o(i(l(f)))&&String(f.value)===i(l(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(d))){let i=n(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call((e=>r(e,i,t)),"key")}return u(h,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(d))?e.call((e=>r(e,/^\d/.test(f.value)?i(f.value):f.value,t)),"key"):c("key")}function d(e,t,r){return e.getValue().shorthand?r("value"):c(e,t,r,h(e,t,r),":","value")}t.exports={printProperty:d,printPropertyKey:h}}}),an=b({"src/language-js/print/function.js"(e,t){A();var r=Ht(),{printDanglingComments:n,printCommentsSeparately:i}=Jt(),s=N(),{getNextNonSpaceNonCommentCharacterIndex:o}=ye(),{builders:{line:a,softline:u,group:l,indent:c,ifBreak:p,hardline:h,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:y}}=H(),{ArgExpansionBailout:g}=Me(),{getFunctionParameters:v,hasLeadingOwnLineComment:D,isFlowAnnotationComment:b,isJsxNode:E,isTemplateOnItsOwnLine:x,shouldPrintComma:C,startsWithNoLookaheadToken:w,isBinaryish:S,isLineComment:T,hasComment:F,getComments:k,CommentCheckFlags:P,isCallLikeExpression:_,isCallExpression:O,getCallArguments:I,hasNakedLeftSide:B,getLeftSide:j}=ur(),{locEnd:L}=$t(),{printFunctionParameters:M,shouldGroupFunctionParameters:R}=rn(),{printPropertyKey:$}=on(),{printFunctionTypeParameters:V}=Xr();function U(e,t,r,n){let i=e.getValue(),s=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();O(t)&&I(t).length>1&&(s=!0)}let o=[];"TSDeclareFunction"===i.type&&i.declare&&o.push("declare "),i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(t("id"));let a=M(e,t,r,s),u=K(e,t,r),c=R(i,u);return o.push(V(e,r,t),l([c?l(a):a,u]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&o.push(";"),o}function q(e,t,n){let i=e.getNode(),{kind:s}=i,o=i.value||i,a=[];return s&&"init"!==s&&"method"!==s&&"constructor"!==s?(r.ok("get"===s||"set"===s),a.push(s," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push($(e,t,n),i.optional||i.key.optional?"?":""),i===o?a.push(z(e,t,n)):"FunctionExpression"===o.type?a.push(e.call((e=>z(e,t,n)),"value")):a.push(n("value")),a}function z(e,t,r){let n=e.getNode(),i=M(e,r,t),s=K(e,r,t),o=R(n,s),a=[V(e,t,r),l([o?l(i):i,s])];return n.body?a.push(" ",r("body")):a.push(t.semi?";":""),a}function W(e,t,r,i){let s=[];if(e.getValue().async&&s.push("async "),Q(e,t))s.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),o=K(e,r,t);if(n){if(y(o))throw new g;o=l(m(o))}s.push(l([M(e,r,t,n,!0),o]))}let a=n(e,t,!0,(e=>{let r=o(t.originalText,e,L);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return a&&s.push(" ",a),s}function G(e,t,r,n,i,s){let o=e.getName(),h=e.getParentNode(),m=_(h)&&"callee"===o,y=Boolean(t&&t.assignmentLayout),g="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,v=m&&g||t&&"chain-tail-arrow-chain"===t.assignmentLayout,D=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(i=l(["(",c([u,i]),u,")"])),l([l(c([m||y?u:"",l(d([" =>",a],r),{shouldBreak:n})]),{id:D,shouldBreak:v})," =>",f(g?c([a,i]):[" ",i],{groupId:D}),m?p(u,"",{groupId:D}):""])}function J(e,t,r,n){let s=e.getValue(),o=[],h=[],d=!1;if(function a(){let u=W(e,t,r,n);if(0===o.length)o.push(u);else{let{leading:r,trailing:n}=i(e,t);o.push([r,u]),h.unshift(n)}d=d||s.returnType&&v(s).length>0||s.typeParameters||v(s).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==s.body.type||n&&n.expandLastArg?h.unshift(r("body",n)):(s=s.body,e.call(a,"body"))}(),o.length>1)return G(e,n,o,d,h,s);let f=o;if(f.push(" =>"),!D(t.originalText,s.body)&&("ArrayExpression"===s.body.type||"ObjectExpression"===s.body.type||"BlockStatement"===s.body.type||E(s.body)||x(s.body,t.originalText)||"ArrowFunctionExpression"===s.body.type||"DoExpression"===s.body.type))return l([...f," ",h]);if("SequenceExpression"===s.body.type)return l([...f,l([" (",c([u,h]),u,")"])]);let m=(n&&n.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!F(s),y=n&&n.expandLastArg&&C(t,"all"),g="ConditionalExpression"===s.body.type&&!w(s.body,(e=>"ObjectExpression"===e.type));return l([...f,l([c([a,g?p("","("):"",h,g?p("",")"):""]),m?[p(y?",":""),u]:""])])}function X(e){let t=v(e);return 1===t.length&&!e.typeParameters&&!F(e,P.Dangling)&&"Identifier"===t[0].type&&!t[0].typeAnnotation&&!F(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function Q(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&X(e.getValue()))}function K(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&b(r.originalText,n.returnType))return[" /*: ",i," */"];let s=[i];return n.returnType&&n.returnType.typeAnnotation&&s.unshift(": "),n.predicate&&s.push(n.returnType?" ":": ",t("predicate")),s}function Y(e,t,r){let i=e.getValue(),o=t.semi?";":"",a=[];i.argument&&(te(t,i.argument)?a.push([" (",c([h,r("argument")]),h,")"]):S(i.argument)||"SequenceExpression"===i.argument.type?a.push(l([p(" ("," "),c([u,r("argument")]),u,p(")")])):a.push(" ",r("argument")));let d=k(i),f=s(d),m=f&&T(f);return m&&a.push(o),F(i,P.Dangling)&&a.push(" ",n(e,t,!0)),m||a.push(o),a}function Z(e,t,r){return["return",Y(e,t,r)]}function ee(e,t,r){return["throw",Y(e,t,r)]}function te(e,t){if(D(e.originalText,t))return!0;if(B(t)){let r,n=t;for(;r=j(n);)if(n=r,D(e.originalText,n))return!0}return!1}t.exports={printFunction:U,printArrowFunction:J,printMethod:q,printReturnStatement:Z,printThrowStatement:ee,printMethodInternal:z,shouldPrintParamsWithoutParens:Q}}}),un=b({"src/language-js/print/decorators.js"(e,t){A();var{isNonEmptyArray:r,hasNewline:n}=ye(),{builders:{line:i,hardline:s,join:o,breakParent:a,group:u}}=H(),{locStart:l,locEnd:c}=$t(),{getParentExportDeclaration:p}=ur();function h(e,t,r){let n=e.getValue();return u([o(i,e.map(r,"decorators")),m(n,t)?s:i])}function d(e,t,r){return[o(s,e.map(r,"declaration","decorators")),s]}function f(e,t,n){let u=e.getValue(),{decorators:l}=u;if(!r(l)||y(e.getParentNode()))return;let c="ClassExpression"===u.type||"ClassDeclaration"===u.type||m(u,t);return[p(e)?s:c?a:"",o(i,e.map(n,"decorators")),i]}function m(e,t){return e.decorators.some((e=>n(t.originalText,c(e))))}function y(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return r(t)&&l(e)===l(t[0])}t.exports={printDecorators:f,printClassMemberDecorators:h,printDecoratorsBeforeExport:d,hasDecoratorsBeforeExport:y}}}),ln=b({"src/language-js/print/class.js"(e,t){A();var{isNonEmptyArray:r,createGroupIdMapper:n}=ye(),{printComments:i,printDanglingComments:s}=Jt(),{builders:{join:o,line:a,hardline:u,softline:l,group:c,indent:p,ifBreak:h}}=H(),{hasComment:d,CommentCheckFlags:f}=ur(),{getTypeParametersGroupId:m}=sn(),{printMethod:y}=an(),{printOptionalToken:g,printTypeAnnotation:v,printDefiniteToken:D}=Xr(),{printPropertyKey:b}=on(),{printAssignment:E}=tn(),{printClassMemberDecorators:x}=un();function C(e,t,n){let s=e.getValue(),o=[];s.declare&&o.push("declare "),s.abstract&&o.push("abstract "),o.push("class");let u=s.id&&d(s.id,f.Trailing)||s.typeParameters&&d(s.typeParameters,f.Trailing)||s.superClass&&d(s.superClass)||r(s.extends)||r(s.mixins)||r(s.implements),l=[],h=[];if(s.id&&l.push(" ",n("id")),l.push(n("typeParameters")),s.superClass){let r=[P(e,t,n),n("superTypeParameters")],s=e.call((e=>["extends ",i(e,r,t)]),"superClass");u?h.push(a,c(s)):h.push(" ",s)}else h.push(k(e,t,n,"extends"));if(h.push(k(e,t,n,"mixins"),k(e,t,n,"implements")),u){let e;e=F(s)?[...l,p(h)]:p([...l,h]),o.push(c(e,{id:w(s)}))}else o.push(...l,...h);return o.push(" ",n("body")),o}var w=n("heritageGroup");function S(e){return h(u,"",{groupId:w(e)})}function T(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}function F(e){return e.typeParameters&&!d(e.typeParameters,f.Trailing|f.Line)&&!T(e)}function k(e,t,n,i){let l=e.getValue();if(!r(l[i]))return"";let d=s(e,t,!0,(e=>{let{marker:t}=e;return t===i}));return[F(l)?h(" ",a,{groupId:m(l.typeParameters)}):a,d,d&&u,i,c(p([a,o([",",a],e.map(n,i))]))]}function P(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?c(h(["(",p([l,n]),l,")"],n)):n}function N(e,t,n){let i=e.getValue(),s=[];return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.readonly&&s.push("readonly "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),s.push(y(e,t,n)),s}function _(e,t,n){let i=e.getValue(),s=[],o=t.semi?";":"";return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractPropertyDefinition"===i.type||"TSAbstractAccessorProperty"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),i.readonly&&s.push("readonly "),i.variance&&s.push(n("variance")),("ClassAccessorProperty"===i.type||"AccessorProperty"===i.type||"TSAbstractAccessorProperty"===i.type)&&s.push("accessor "),s.push(b(e,t,n),g(e),D(e),v(e,t,n)),[E(e,t,n,s," =","value"),o]}t.exports={printClass:C,printClassMethod:N,printClassProperty:_,printHardlineAfterHeritage:S}}}),cn=b({"src/language-js/print/interface.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{join:n,line:i,group:s,indent:o,ifBreak:a}}=H(),{hasComment:u,identity:l,CommentCheckFlags:c}=ur(),{getTypeParametersGroupId:p}=sn(),{printTypeScriptModifiers:h}=Xr();function d(e,t,d){let f=e.getValue(),m=[];f.declare&&m.push("declare "),"TSInterfaceDeclaration"===f.type&&m.push(f.abstract?"abstract ":"",h(e,t,d)),m.push("interface");let y=[],g=[];"InterfaceTypeAnnotation"!==f.type&&y.push(" ",d("id"),d("typeParameters"));let v=f.typeParameters&&!u(f.typeParameters,c.Trailing|c.Line);return r(f.extends)&&g.push(v?a(" ",i,{groupId:p(f.typeParameters)}):i,"extends ",(1===f.extends.length?l:o)(n([",",i],e.map(d,"extends")))),f.id&&u(f.id,c.Trailing)||r(f.extends)?v?m.push(s([...y,o(g)])):m.push(s(o([...y,...g]))):m.push(...y,...g),m.push(" ",d("body")),s(m)}t.exports={printInterface:d}}}),pn=b({"src/language-js/print/module.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{softline:n,group:i,indent:s,join:o,line:a,ifBreak:u,hardline:l}}=H(),{printDanglingComments:c}=Jt(),{hasComment:p,CommentCheckFlags:h,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:y}=ur(),{locStart:g,hasSameLoc:v}=$t(),{hasDecoratorsBeforeExport:D,printDecoratorsBeforeExport:b}=un();function E(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{importKind:o}=n;return s.push("import"),o&&"value"!==o&&s.push(" ",o),s.push(T(e,t,r),S(e,t,r),k(e,t,r),i),s}function x(e,t,r){let n=e.getValue(),i=[];D(n)&&i.push(b(e,t,r));let{type:s,exportKind:o,declaration:a}=n;return i.push("export"),(n.default||"ExportDefaultDeclaration"===s)&&i.push(" default"),p(n,h.Dangling)&&(i.push(" ",c(e,t,!0)),f(n)&&i.push(l)),a?i.push(" ",r("declaration")):i.push("type"===o?" type":"",T(e,t,r),S(e,t,r),k(e,t,r)),w(n,t)&&i.push(";"),i}function C(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{exportKind:o,exported:a}=n;return s.push("export"),"type"===o&&s.push(" type"),s.push(" *"),a&&s.push(" as ",r("exported")),s.push(S(e,t,r),k(e,t,r),i),s}function w(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,i=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:s}=n;return!(!i||"ClassDeclaration"===s||"FunctionDeclaration"===s||"TSInterfaceDeclaration"===s||"DeclareClass"===s||"DeclareFunction"===s||"TSDeclareFunction"===s||"EnumDeclaration"===s)}function S(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return F(n,t)||i.push(" from"),i.push(" ",r("source")),i}function T(e,t,l){let c=e.getValue();if(F(c,t))return"";let h=[" "];if(r(c.specifiers)){let r=[],f=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(l());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);f.push(l())}}),"specifiers"),h.push(o(", ",r)),f.length>0&&(r.length>0&&h.push(", "),f.length>1||r.length>0||c.specifiers.some((e=>p(e)))?h.push(i(["{",s([t.bracketSpacing?a:n,o([",",a],f)]),u(d(t)?",":""),t.bracketSpacing?a:n,"}"])):h.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else h.push("{}");return h}function F(e,t){let{type:n,importKind:i,source:s,specifiers:o}=e;return"ImportDeclaration"===n&&!r(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(g(e),g(s)))}function k(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}function P(e,t,r){let n=e.getNode(),{type:i}=n,s=[],o="ImportSpecifier"===i?n.importKind:n.exportKind;o&&"value"!==o&&s.push(o," ");let a=i.startsWith("Import"),u=a?"imported":"local",l=a?"local":"exported",c=n[u],p=n[l],h="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?h="*":c&&(h=r(u)),p&&!N(n)&&(d=r(l)),s.push(h,h&&d?" as ":"",d),s}function N(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!(t.type!==r.type||!v(t,r))&&(m(t)?t.value===r.value&&y(t)===y(r):"Identifier"===t.type&&t.name===r.name)}t.exports={printImportDeclaration:E,printExportDeclaration:x,printExportAllDeclaration:C,printModuleSpecifier:P}}}),hn=b({"src/language-js/print/object.js"(e,t){A();var{printDanglingComments:r}=Jt(),{builders:{line:n,softline:i,group:s,indent:o,ifBreak:a,hardline:u}}=H(),{getLast:l,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:h}=ye(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:y,isNextLineEmpty:g}=ur(),{locStart:v,locEnd:D}=$t(),{printOptionalToken:b,printTypeAnnotation:E}=Xr(),{shouldHugFunctionParameters:x}=rn(),{shouldHugType:C}=nn(),{printHardlineAfterHeritage:w}=ln();function S(e,t,A){let S,T=t.semi?";":"",F=e.getValue();S="TSTypeLiteral"===F.type?"members":"TSInterfaceBody"===F.type?"body":"properties";let k="ObjectTypeAnnotation"===F.type,P=[S];k&&P.push("indexers","callProperties","internalSlots");let N=P.map((e=>F[e][0])).sort(((e,t)=>v(e)-v(t)))[0],_=e.getParentNode(0),O=k&&_&&("InterfaceDeclaration"===_.type||"DeclareInterface"===_.type||"DeclareClass"===_.type)&&"body"===e.getName(),I="TSInterfaceBody"===F.type||O||"ObjectPattern"===F.type&&"FunctionDeclaration"!==_.type&&"FunctionExpression"!==_.type&&"ArrowFunctionExpression"!==_.type&&"ObjectMethod"!==_.type&&"ClassMethod"!==_.type&&"ClassPrivateMethod"!==_.type&&"AssignmentPattern"!==_.type&&"CatchClause"!==_.type&&F.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==F.type&&N&&c(t.originalText,v(F),v(N)),B=O?";":"TSInterfaceBody"===F.type||"TSTypeLiteral"===F.type?a(T,";"):",",j="RecordExpression"===F.type?"#{":F.exact?"{|":"{",L=F.exact?"|}":"}",M=[];for(let r of P)e.each((e=>{let t=e.getValue();M.push({node:t,printed:A(),loc:v(t)})}),r);P.length>1&&M.sort(((e,t)=>e.loc-t.loc));let R=[],$=M.map((e=>{let r=[...R,s(e.printed)];return R=[B,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,y.PrettierIgnore)&&R.shift(),g(e.node,t)&&R.push(u),r}));if(F.inexact){let i;if(f(F,y.Dangling)){let s=f(F,y.Line);i=[r(e,t,!0),s||p(t.originalText,D(l(m(F))))?u:n,"..."]}else i=["..."];$.push([...R,...i])}let V,U=l(F[S]),q=!(F.inexact||U&&"RestElement"===U.type||U&&("TSPropertySignature"===U.type||"TSCallSignatureDeclaration"===U.type||"TSMethodSignature"===U.type||"TSConstructSignatureDeclaration"===U.type)&&f(U,y.PrettierIgnore));if(0===$.length){if(!f(F,y.Dangling))return[j,L,E(e,t,A)];V=s([j,r(e,t),i,L,b(e),E(e,t,A)])}else V=[O&&h(F.properties)?w(_):"",j,o([t.bracketSpacing?n:i,...$]),a(q&&(","!==B||d(t))?B:""),t.bracketSpacing?n:i,L,b(e),E(e,t,A)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(C,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!I&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?V:s(V,{shouldBreak:I})}t.exports={printObject:S}}}),dn=b({"src/language-js/print/flow.js"(e,t){A();var r=Ht(),{printDanglingComments:n}=Jt(),{printString:i,printNumber:s}=ye(),{builders:{hardline:o,softline:a,group:u,indent:l}}=H(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:h,rawText:d,shouldPrintComma:f}=ur(),{locStart:m,locEnd:y}=$t(),{replaceTextEndOfLine:g}=z(),{printClass:v}=ln(),{printOpaqueType:D,printTypeAlias:b,printIntersectionType:E,printUnionType:x,printFunctionType:C,printTupleType:w,printIndexedAccessType:S}=nn(),{printInterface:T}=cn(),{printTypeParameter:F,printTypeParameters:k}=sn(),{printExportDeclaration:P,printExportAllDeclaration:N}=pn(),{printArrayItems:_}=Qr(),{printObject:O}=hn(),{printPropertyKey:I}=on(),{printOptionalToken:B,printTypeAnnotation:j,printRestSpread:L}=Xr();function M(e,t,c){let A=e.getValue(),M=t.semi?";":"",$=[];switch(A.type){case"DeclareClass":return R(e,v(e,t,c));case"DeclareFunction":return R(e,["function ",c("id"),A.predicate?" ":"",c("predicate"),M]);case"DeclareModule":return R(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return R(e,["module.exports",": ",c("typeAnnotation"),M]);case"DeclareVariable":return R(e,["var ",c("id"),M]);case"DeclareOpaqueType":return R(e,D(e,t,c));case"DeclareInterface":return R(e,T(e,t,c));case"DeclareTypeAlias":return R(e,b(e,t,c));case"DeclareExportDeclaration":return R(e,P(e,t,c));case"DeclareExportAllDeclaration":return R(e,N(e,t,c));case"OpaqueType":return D(e,t,c);case"TypeAlias":return b(e,t,c);case"IntersectionTypeAnnotation":return E(e,t,c);case"UnionTypeAnnotation":return x(e,t,c);case"FunctionTypeAnnotation":return C(e,t,c);case"TupleTypeAnnotation":return w(e,t,c);case"GenericTypeAnnotation":return[c("id"),k(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return S(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return F(e,t,c);case"TypeofTypeAnnotation":return["typeof ",c("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[c("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(A.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===A.type||A.explicitType){let e=null;switch(A.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}$.push("of ",e," ")}if(0!==A.members.length||A.hasUnknownMembers){let r=A.members.length>0?[o,_(e,t,"members",c),A.hasUnknownMembers||f(t)?",":""]:[];$.push(u(["{",l([...r,...A.hasUnknownMembers?[o,"..."]:[]]),n(e,t,!0),o,"}"]))}else $.push(u(["{",n(e,t),a,"}"]));return $;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof A.init?c("init"):String(A.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=A.name?c("name"):e.getParentNode().this===A?"this":"";return[t,B(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return T(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=A;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return A.static&&$.push("static "),$.push(c("value")),$;case"ObjectTypeIndexer":return[A.static?"static ":"",A.variance?c("variance"):"","[",c("id"),A.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let r="";return A.proto?r="proto ":A.static&&(r="static "),[r,h(A)?A.kind+" ":"",A.variance?c("variance"):"",I(e,t,c),B(e),p(A)?"":": ",c("value")]}case"ObjectTypeAnnotation":return O(e,t,c);case"ObjectTypeInternalSlot":return[A.static?"static ":"","[[",c("id"),"]]",B(e),A.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return L(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return g(i(d(A),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof A.value,"number");case"BigIntLiteralTypeAnnotation":return A.extra?s(A.extra.raw):s(A.raw);case"TypeCastExpression":return["(",c("expression"),j(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=k(e,t,c,"params");if("flow"===t.parser){let e=m(A),n=y(A),i=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==s){let e=t.originalText.slice(i+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",c("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(A.type))}}function R(e,t){let n=c(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:M}}}),fn=b({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function r(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}A(),t.exports=r}}),mn=b({"src/language-js/print/ternary.js"(e,t){A();var{hasNewlineInRange:r}=ye(),{isJsxNode:n,getComments:i,isCallExpression:s,isMemberExpression:o,isTSTypeExpression:a}=ur(),{locStart:u,locEnd:l}=$t(),c=or(),{builders:{line:p,softline:h,group:d,indent:f,align:m,ifBreak:y,dedent:g,breakParent:v}}=H();function D(e){let t=[e];for(let r=0;r_[e]===C)),I=_.type===C.type&&!O,B=0;do{E=a||C,a=e.getParentNode(B),B++}while(a&&a.type===C.type&&T.every((e=>a[e]!==E)));let j=a||_,L=E;if(w&&(n(C[T[0]])||n(F)||n(k)||D(L))){N=!0,I=!0;let e=e=>[y("("),f([h,e]),h,y(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;P.push(" ? ",t(F)?s(A):e(s(A))," : ",k.type===C.type||t(k)?s(S):e(s(S)))}else{let e=[p,"? ",F.type===C.type?y("","("):"",m(2,s(A)),F.type===C.type?y("",")"):"",p,": ",k.type===C.type?s(S):m(2,s(S))];P.push(_.type!==C.type||_[S]===C||O?e:t.useTabs?g(f(e)):m(Math.max(0,t.tabWidth-2),e))}let M=[...T.map((e=>i(C[e]))),i(F),i(k)].flat().some((e=>c(e)&&r(t.originalText,u(e),l(e)))),R=e=>_===j?d(e,{shouldBreak:M}):M?[e,v]:e,$=!N&&(o(_)||"NGPipeExpression"===_.type&&_.left===C)&&!_.computed,V=x(e),U=R([b(e,t,s),I?P:f(P),w&&$&&!V?h:""]);return O||V?d([f([h,U]),h]):U}t.exports={printTernary:C}}}),yn=b({"src/language-js/print/statement.js"(e,t){A();var{builders:{hardline:r}}=H(),n=qr(),{getLeftSidePathName:i,hasNakedLeftSide:s,isJsxNode:o,isTheOnlyJsxElementInMarkdown:a,hasComment:u,CommentCheckFlags:l,isNextLineEmpty:c}=ur(),{shouldPrintParamsWithoutParens:p}=an();function h(e,t,n,i){let s=e.getValue(),o=[],p="ClassBody"===s.type,h=d(s[i]);return e.each(((e,i,s)=>{let d=e.getValue();if("EmptyStatement"===d.type)return;let m=n();t.semi||p||a(t,e)||!f(e,t)?o.push(m):u(d,l.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",m),!t.semi&&p&&v(d)&&D(d,s[i+1])&&o.push(";"),d!==h&&(o.push(r),c(d,t)&&o.push(r))}),i),o}function d(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}function f(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((e=>m(e,t)),"expression")}function m(e,t){let r=e.getValue();switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!p(e,t))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=r;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(o(r))return!0}return!!n(e,t)||!!s(r)&&e.call((e=>m(e,t)),...i(e,r))}function y(e,t,r){return h(e,t,r,"body")}function g(e,t,r){return h(e,t,r,"consequent")}var v=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};function D(e,t){let{type:r,name:n}=e.key;if(!e.computed&&"Identifier"===r&&("static"===n||"get"===n||"set"===n||"accessor"===n)&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(v(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}t.exports={printBody:y,printSwitchCaseConsequent:g}}}),gn=b({"src/language-js/print/block.js"(e,t){A();var{printDanglingComments:r}=Jt(),{isNonEmptyArray:n}=ye(),{builders:{hardline:i,indent:s}}=H(),{hasComment:o,CommentCheckFlags:a,isNextLineEmpty:u}=ur(),{printHardlineAfterHeritage:l}=ln(),{printBody:c}=yn();function p(e,t,r){let o=e.getValue(),a=[];if("StaticBlock"===o.type&&a.push("static "),"ClassBody"===o.type&&n(o.body)){let t=e.getParentNode();a.push(l(t))}a.push("{");let u=h(e,t,r);if(u)a.push(s([i,u]),i);else{let t=e.getParentNode(),r=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!r.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===o.type||"ClassBody"===o.type||a.push(i)}return a.push("}"),a}function h(e,t,s){let l=e.getValue(),p=n(l.directives),h=l.body.some((e=>"EmptyStatement"!==e.type)),d=o(l,a.Dangling);if(!p&&!h&&!d)return"";let f=[];if(p&&e.each(((e,r,n)=>{f.push(s()),(r"]),r=[p("("),l([a,A("expression")]),a,p(")")];return e?c([[t,A("expression")],[t,u(r,{shouldBreak:!0})],[t,A("expression")]]):u([t,A("expression")])}case"TSDeclareFunction":return I(e,A,t);case"TSExportAssignment":return["export = ",A("expression"),G];case"TSModuleBlock":return L(e,t,A);case"TSInterfaceBody":case"TSTypeLiteral":return F(e,t,A);case"TSTypeAliasDeclaration":return M(e,t,A);case"TSQualifiedName":return i(".",[A("left"),A("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return P(e,t,A);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return k(e,t,A);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return H.push(A("expression")),W.typeParameters&&H.push(A("typeParameters")),H;case"TSTemplateLiteralType":return S(e,A,t);case"TSNamedTupleMember":return[A("label"),W.optional?"?":"",": ",A("elementType")];case"TSRestType":return["...",A("typeAnnotation")];case"TSOptionalType":return[A("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return j(e,t,A);case"TSClassImplements":case"TSInstantiationExpression":return[A("expression"),A("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return _(e,t,A,"params");case"TSTypeParameter":return N(e,t,A);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===W.type?"as":"satisfies";H.push(A("expression"),` ${t} `,A("typeAnnotation"));let r=e.getParentNode();return m(r)&&r.callee===W||y(r)&&r.object===W?u([l([a,...H]),a]):H}case"TSArrayType":return[A("elementType"),"[]"];case"TSPropertySignature":return W.readonly&&H.push("readonly "),H.push(O(e,t,A),b(e)),W.typeAnnotation&&H.push(": ",A("typeAnnotation")),W.initializer&&H.push(" = ",A("initializer")),H;case"TSParameterProperty":return W.accessibility&&H.push(W.accessibility+" "),W.export&&H.push("export "),W.static&&H.push("static "),W.override&&H.push("override "),W.readonly&&H.push("readonly "),H.push(A("parameter")),H;case"TSTypeQuery":return["typeof ",A("exprName"),A("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=W.parameters.length>1?p(f(t)?",":""):"",s=u([l([a,i([", ",a],e.map(A,"parameters"))]),n,a]);return[W.export?"export ":"",W.accessibility?[W.accessibility," "]:"",W.static?"static ":"",W.readonly?"readonly ":"",W.declare?"declare ":"","[",W.parameters?s:"",W.typeAnnotation?"]: ":"]",W.typeAnnotation?A("typeAnnotation"):"","ClassBody"===r.type?G:""]}case"TSTypePredicate":return[W.asserts?"asserts ":"",A("parameterName"),W.typeAnnotation?[" is ",A("typeAnnotation")]:""];case"TSNonNullExpression":return[A("expression"),"!"];case"TSImportType":return[W.isTypeOf?"typeof ":"","import(",A(W.parameter?"parameter":"argument"),")",W.qualifier?[".",A("qualifier")]:"",_(e,t,A,"typeParameters")];case"TSLiteralType":return A("literal");case"TSIndexedAccessType":return q(e,t,A);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===W.type&&W.abstract&&H.push("abstract "),"TSCallSignatureDeclaration"!==W.type&&H.push("new "),H.push(u(C(e,A,t,!1,!0))),W.returnType||W.typeAnnotation){let e="TSConstructorType"===W.type;H.push(e?" => ":": ",A("returnType"),A("typeAnnotation"))}return H;case"TSTypeOperator":return[W.operator," ",A("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,v(W),D(W));return u(["{",l([t.bracketSpacing?s:a,A("typeParameter"),W.optional?d(W.optional,"?"):"",W.typeAnnotation?": ":"",A("typeAnnotation"),p(G)]),r(e,t,!0),t.bracketSpacing?s:a,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=W.kind&&"method"!==W.kind?`${W.kind} `:"";H.push(W.accessibility?[W.accessibility," "]:"",r,W.export?"export ":"",W.static?"static ":"",W.readonly?"readonly ":"",W.abstract?"abstract ":"",W.declare?"declare ":"",W.computed?"[":"",A("key"),W.computed?"]":"",b(e));let n=C(e,A,t,!1,!0),i=W.returnType?"returnType":"typeAnnotation",s=W[i],o=s?A(i):"",a=w(W,o);return H.push(a?u(n):n),s&&H.push(": ",u(o)),u(H)}case"TSNamespaceExportDeclaration":return H.push("export as namespace ",A("id")),t.semi&&H.push(";"),u(H);case"TSEnumDeclaration":return W.declare&&H.push("declare "),W.modifiers&&H.push(E(e,t,A)),W.const&&H.push("const "),H.push("enum ",A("id")," "),0===W.members.length?H.push(u(["{",r(e,t),a,"}"])):H.push(u(["{",l([o,T(e,t,"members",A),f(t,"es5")?",":""]),r(e,t,!0),o,"}"])),H;case"TSEnumMember":return W.computed?H.push("[",A("id"),"]"):H.push(A("id")),W.initializer&&H.push(" = ",A("initializer")),H;case"TSImportEqualsDeclaration":return W.isExport&&H.push("export "),H.push("import "),W.importKind&&"value"!==W.importKind&&H.push(W.importKind," "),H.push(A("id")," = ",A("moduleReference")),t.semi&&H.push(";"),u(H);case"TSExternalModuleReference":return["require(",A("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=h(W.id),i="TSModuleDeclaration"===r.type,s=W.body&&"TSModuleDeclaration"===W.body.type;if(i)H.push(".");else{W.declare&&H.push("declare "),H.push(E(e,t,A));let r=t.originalText.slice(v(W),v(W.id));"Identifier"===W.id.type&&"global"===W.id.name&&!/namespace|module/.test(r)||H.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return H.push(A("id")),s?H.push(A("body")):W.body?H.push(" ",u(A("body"))):H.push(G),H}case"TSConditionalType":return x(e,t,A);case"TSInferType":return["infer"," ",A("typeParameter")];case"TSIntersectionType":return R(e,t,A);case"TSUnionType":return $(e,t,A);case"TSFunctionType":return V(e,t,A);case"TSTupleType":return U(e,t,A);case"TSTypeReference":return[A("typeName"),_(e,t,A,"typeParameters")];case"TSTypeAnnotation":return A("typeAnnotation");case"TSEmptyBodyFunctionExpression":return B(e,t,A);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return z(e,A,"?");case"TSJSDocNonNullableType":return z(e,A,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(W.type)}.`)}}t.exports={printTypescript:W}}}),Dn=b({"src/language-js/print/comment.js"(e,t){A();var{hasNewline:r}=ye(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:s}}=H(),{isLineComment:o}=ur(),{locStart:a,locEnd:u}=$t(),l=or();function c(e,t){let n=e.getValue();if(o(n))return t.originalText.slice(a(n),u(n)).trimEnd();if(l(n)){if(p(n)){let e=h(n);return n.trailing&&!r(t.originalText,a(n),{backwards:!0})?[i,e]:e}let e=u(n),o="*-/"===t.originalText.slice(e-3,e);return["/*",s(n.value),o?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}function p(e){let t=`*${e.value}*`.split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}function h(e){let t=e.value.split("\n");return["/*",n(i,t.map(((e,r)=>0===r?e.trimEnd():" "+(r{let{marker:t}=e;return t===F}));return[p("expression"),b(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return v(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?u(["(",l([a,p("expression")]),a,")"]):["(",p("expression"),")"];case"AssignmentExpression":return he(e,t,p);case"VariableDeclarator":return pe(e,t,p);case"BinaryExpression":case"LogicalExpression":return de(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return me(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(u(l([a,$(e,t,p)]))),m;case"Identifier":return[d.name,R(e),z(e),V(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return q(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return se(e,p,t,h);case"ArrowFunctionExpression":return oe(e,t,p,h);case"YieldExpression":return m.push("yield"),d.delegate&&m.push("*"),d.argument&&m.push(" ",p("argument")),m;case"AwaitExpression":if(m.push("await"),d.argument){m.push(" ",p("argument"));let t=e.getParentNode();if(S(t)&&t.callee===d||T(t)&&t.object===d){m=[l([a,...m]),a];let t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return u(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return J(e,t,p);case"ExportAllDeclaration":return X(e,t,p);case"ImportDeclaration":return G(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Q(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ge(e,t,p);case"ThrowStatement":return le(e,t,p);case"ReturnStatement":return ue(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ce(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,p);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?ae(e,t,p):ie(e,t,p);case"ObjectMethod":return ae(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Z(e,t,p);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,r)=>{0===r?t.push(p()):t.push(",",l([s,p()]))}),"expressions"),u(t)}return u(i([",",s],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return W(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),v(d.argument)?m.push(u(["(",l([a,p("argument")]),a,")"])):m.push(p("argument")),m;case"UpdateExpression":return m.push(p("argument"),d.operator),d.prefix&&m.reverse(),m;case"ConditionalExpression":return K(e,t,p);case"VariableDeclaration":{let t,r=e.map(p,"declarations"),n=e.getParentNode(),i="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,a=d.declarations.some((e=>e.init));return 1!==r.length||v(d.declarations[0])?r.length>0&&(t=l(r[0])):t=r[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",l(r.slice(1).map((e=>[",",a&&!i?o:s,e])))],i&&n.body!==d||m.push(f),u(m)}case"WithStatement":return u(["with (",p("object"),")",U(d.body,p("body"))]);case"IfStatement":{let n=U(d.consequent,p("consequent")),i=u(["if (",u([l([a,p("test")]),a]),")",n]);if(m.push(i),d.alternate){let n=v(d.consequent,D.Trailing|D.Line)||C(d),i="BlockStatement"===d.consequent.type&&!n;m.push(i?" ":o),v(d,D.Dangling)&&m.push(r(e,t,!0),n?o:" "),m.push("else",u(U(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let n=U(d.body,p("body")),i=r(e,t,!0),o=i?[i,a]:"";return d.init||d.test||d.update?[o,u(["for (",u([l([a,p("init"),";",s,p("test"),";",s,p("update")]),a]),")",n])]:[o,u(["for (;;)",n])]}case"WhileStatement":return u(["while (",u([l([a,p("test")]),a]),")",U(d.body,p("body"))]);case"ForInStatement":return u(["for (",p("left")," in ",p("right"),")",U(d.body,p("body"))]);case"ForOfStatement":return u(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",U(d.body,p("body"))]);case"DoWhileStatement":{let e=U(d.body,p("body"));return m=[u(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(o),m.push("while (",u([l([a,p("test")]),a]),")",f),m}case"DoExpression":return[d.async?"async ":"","do ",p("body")];case"BreakStatement":return m.push("break"),d.label&&m.push(" ",p("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),d.label&&m.push(" ",p("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===d.body.type?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),d.handler?[" ",p("handler")]:"",d.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(d.param){let e=v(d.param,(e=>!N(e)||e.leading&&n(t.originalText,P(e))||e.trailing&&n(t.originalText,k(e),{backwards:!0}))),r=p("param");return["catch ",e?["(",l([a,r]),a,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[u(["switch (",l([a,p("discriminant")]),a,")"])," {",d.cases.length>0?l([o,i(o,e.map(((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&x(i,t)?o:""]}),"cases"))]):"",o,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),v(d,D.Dangling)&&m.push(" ",r(e,t,!0));let n=d.consequent.filter((e=>"EmptyStatement"!==e.type));if(n.length>0){let r=fe(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:l([o,r]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return te(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ne(e,t,p);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return Y(e,p,t);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("quasi")];case"PrivateIdentifier":return["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return m.push("#!",d.value,o),x(d,t)&&m.push(o),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=p("body");return e&&m.push(l([o,e]),o),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(d.type))}}function we(e){return e.type&&!N(e)&&!E(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type}t.exports={preprocess:y,print:xe,embed:p,insertPragma:d,massageAstNode:h,hasPrettierIgnore:e=>w(e)||j(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:we,printComment:De,isBlockComment:N,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),xn=b({"src/language-js/printer-estree-json.js"(e,t){A();var{builders:{hardline:r,indent:n,join:i}}=H(),s=zr();function o(e,t,s){let o=e.getValue();switch(o.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===o.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":s()),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===o.properties.length?"{}":["{",n([r,i([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===o.operator?"":o.operator,s("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return o.value?"true":"false";case"StringLiteral":return JSON.stringify(o.value);case"NumericLiteral":return a(e)?JSON.stringify(String(o.value)):JSON.stringify(o.value);case"Identifier":return a(e)?JSON.stringify(o.name):o.name;case"TemplateLiteral":return s(["quasis",0]);case"TemplateElement":return JSON.stringify(o.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(o.type))}}function a(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var u=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function l(e,t){let{type:r}=e;if("ObjectProperty"!==r){if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"!==r)return"TemplateLiteral"===r?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,n]of e.elements.entries())null===n&&t.elements.splice(r,0,{type:"NullLiteral"})}else{let{key:r}=e;"Identifier"===r.type?t.key={type:"StringLiteral",value:r.name}:"NumericLiteral"===r.type&&(t.key={type:"StringLiteral",value:String(r.value)})}}l.ignoredProperties=u,t.exports={preprocess:s,print:o,massageAstNode:l}}}),Cn=b({"src/common/common-options.js"(e,t){A();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:r,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),wn=b({"src/language-js/options.js"(e,t){A();var r=Cn(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:n,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:r.singleAttributePerLine}}}),An=b({"src/language-js/parse/parsers.js"(){A()}}),Sn=b({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),Tn=b({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Fn=b({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),kn=b({"node_modules/linguist-languages/data/JSON.json"(e,t){t.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Pn=b({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),Nn=b({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),_n=b({"src/language-js/index.js"(e,t){A();var r=tr(),n=En(),i=xn(),s=wn(),o=An(),a=[r(Sn(),(e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),r(Sn(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(Sn(),(()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}))),r(Tn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),r(Fn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(kn(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),r(kn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(Pn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(Nn(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],u={estree:n,"estree-json":i};t.exports={languages:a,options:s,printers:u,parsers:o}}}),On=b({"src/language-css/clean.js"(e,t){A();var{isFrontMatterNode:r}=ye(),n=N(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(e,t,i){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||r(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&n(i.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=o(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,r)=>{let n=Number(t);return Number.isNaN(n)?e:n+r.toLowerCase()}))),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let r=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==r&&(t.groups[r].unit="",t.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}return"value-comma_group"===e.type&&e.groups.some((e=>"value-atword"===e.type&&e.value.endsWith("[")||"value-word"===e.type&&e.value.startsWith("]")))?{type:"value-atword",value:e.groups.map((e=>e.value)).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}:void 0}function o(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}s.ignoredProperties=i,t.exports=s}}),In=b({"src/utils/front-matter/print.js"(e,t){A();var{builders:{hardline:r,markAsRoot:n}}=H();function i(e,t){if("yaml"===e.lang){let i=e.value.trim(),s=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,s,s?r:"",e.endDelimiter])}}t.exports=i}}),Bn=b({"src/language-css/embed.js"(e,t){A();var{builders:{hardline:r}}=H(),n=In();function i(e,t,i){let s=e.getValue();if("front-matter"===s.type){let e=n(s,i);return e?[e,r]:""}}t.exports=i}}),jn=b({"src/utils/front-matter/parse.js"(e,t){A();var r=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}t.exports=n}}),Ln=b({"src/language-css/pragma.js"(e,t){A();var r=$r(),n=jn();function i(e){return r.hasPragma(n(e).content)}function s(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}t.exports={hasPragma:i,insertPragma:s}}}),Mn=b({"src/language-css/utils/index.js"(e,t){A();var r=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function n(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function i(e,t){let r=n(e,t);return-1===r?null:e.getParentNode(r)}function s(e){var t;let r=i(e,"css-decl");return null==r||null===(t=r.prop)||void 0===t?void 0:t.toLowerCase()}var o=new Set(["initial","inherit","unset","revert"]);function a(e){return o.has(e.toLowerCase())}function u(e,t){let r=i(e,"css-atrule");return(null==r?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())}function l(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function c(e,t){var r;let n=i(e,"value-func");return(null==n||null===(r=n.value)||void 0===r?void 0:r.toLowerCase())===t}function p(e){var t;let r=i(e,"css-rule"),n=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))}function h(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())}function d(e){let t=e.getValue(),r=i(e,"css-atrule");return"import"===(null==r?void 0:r.name)&&"url"===t.groups[0].value&&2===t.groups.length}function f(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()}function m(e,t){var r;let n=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return n&&n.indexOf(t)===n.length-1}function y(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))}function g(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)}function v(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)}function D(e){return"value-word"===e.type&&"in"===e.value}function b(e){return"value-operator"===e.type&&"*"===e.value}function E(e){return"value-operator"===e.type&&"/"===e.value}function x(e){return"value-operator"===e.type&&"+"===e.value}function C(e){return"value-operator"===e.type&&"-"===e.value}function w(e){return"value-operator"===e.type&&"%"===e.value}function S(e){return b(e)||E(e)||x(e)||C(e)||w(e)}function T(e){return"value-word"===e.type&&["==","!="].includes(e.value)}function F(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)}function k(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)}function P(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)}function N(e){return e.name.startsWith("prettier-placeholder")}function _(e){return e.prop.startsWith("@prettier-placeholder")}function O(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before}function I(e){var t,r;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(r=e.value.group)||void 0===r?void 0:r.type)&&"composes"===e.prop.toLowerCase()}function B(e){var t,r,n;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(n=r.group)||void 0===n?void 0:n.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close}function j(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)}function L(e){var t,r;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.type)}function M(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&L(e.groups[0])}function R(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!M(r)&&(!n||!M(n)))return!1;let s=i(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||M(n)||"value-func"===n.type)}function $(e){return"value-comment"===e.type&&e.inline}function V(e){return"value-word"===e.type&&"#"===e.value}function U(e){return"value-word"===e.type&&"{"===e.value}function q(e){return"value-word"===e.type&&"}"===e.value}function z(e){return["value-word","value-atword"].includes(e.type)}function W(e){return"value-colon"===(null==e?void 0:e.type)}function G(e,t){if(!L(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&W(r[n+1])}function H(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function J(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())}function X(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function Q(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")}function K(e,t){var r,n;if("("!==(null===(r=e.open)||void 0===r?void 0:r.value)||")"!==(null===(n=e.close)||void 0===n?void 0:n.value)||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,n=t.groups[r];if("value-word"===(null==n?void 0:n.type)&&"with"===n.value)return!0}return!1}function Y(e){var t,r;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(r=e.close)||void 0===r?void 0:r.value)}t.exports={getAncestorCounter:n,getAncestorNode:i,getPropOfDeclNode:s,maybeToLowerCase:l,insideValueFunctionNode:c,insideICSSRuleNode:p,insideAtRuleNode:h,insideURLFunctionInImportAtRuleNode:d,isKeyframeAtRuleKeywords:u,isWideKeywords:a,isLastNode:m,isSCSSControlDirectiveNode:k,isDetachedRulesetDeclarationNode:y,isRelationalOperatorNode:F,isEqualityOperatorNode:T,isMultiplicationNode:b,isDivisionNode:E,isAdditionNode:x,isSubtractionNode:C,isModuloNode:w,isMathOperatorNode:S,isEachKeywordNode:D,isForKeywordNode:g,isURLFunctionNode:f,isIfElseKeywordNode:v,hasComposesNode:I,hasParensAroundNode:B,hasEmptyRawBefore:j,isDetachedRulesetCallNode:P,isTemplatePlaceholderNode:N,isTemplatePropNode:_,isPostcssSimpleVarNode:O,isKeyValuePairNode:L,isKeyValuePairInParenGroupNode:M,isKeyInValuePairNode:G,isSCSSMapItemNode:R,isInlineValueCommentNode:$,isHashNode:V,isLeftCurlyBraceNode:U,isRightCurlyBraceNode:q,isWordNode:z,isColonNode:W,isMediaAndSupportsKeywords:H,isColorAdjusterFuncNode:J,lastLineHasInlineComment:X,isAtWordPlaceholderNode:Q,isConfigurationNode:K,isParenGroupNode:Y}}}),Rn=b({"src/utils/line-column-to-index.js"(e,t){A(),t.exports=function(e,t){let r=0;for(let n=0;n0?p:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(De(s),be(s));return e?r.trimEnd():r}case"css-rule":return[n("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&fe(s.selector.value)?c:" ","{",s.nodes.length>0?m([p,Se(e,t,n)]):"",p,"}",L(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=s.raws,o=i.trim(),a=":"===o,u=Q(s)?D(n("value")):n("value");return!a&&fe(o)&&(u=m([p,y(u)])),[s.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||k(e)?s.prop:T(s.prop),o.startsWith("//")?" ":"",o,s.extend?"":" ",Ee(t)&&s.extend&&s.selector?["extend(",n("selector"),")"]:"",u,s.raws.important?s.raws.important.replace(/\s*!\s*important/i," !important"):s.important?" !important":"",s.raws.scssDefault?s.raws.scssDefault.replace(/\s*!default/i," !default"):s.scssDefault?" !default":"",s.raws.scssGlobal?s.raws.scssGlobal.replace(/\s*!global/i," !global"):s.scssGlobal?" !global":"",s.nodes?[" {",m([h,Se(e,t,n)]),h,"}"]:ne(s)&&!r.raws.semicolon&&";"!==t.originalText[be(s)-1]?"":t.__isHTMLStyleAttribute&&B(e,s)?g(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(s)&&!r.raws.semicolon&&";"!==t.originalText[be(s)-1];if(Ee(t)){if(s.mixin)return[n("selector"),s.important?" !important":"",i?"":";"];if(s.function)return[s.name,n("params"),i?"":";"];if(s.variable)return["@",s.name,": ",s.value?n("value"):"",s.raws.between.trim()?s.raws.between.trim()+" ":"",s.nodes?["{",m([s.nodes.length>0?h:"",Se(e,t,n)]),h,"}"]:"",i?"":";"]}return["@",te(s)||s.name.endsWith(":")?s.name:T(s.name),s.params?[te(s)?"":re(s)?""===s.raws.afterName?"":s.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(s.raws.afterName)?[p,p]:/^\s*\n/.test(s.raws.afterName)?p:" ":" ",n("params")]:"",s.selector?m([" ",n("selector")]):"",s.value?d([" ",n("value"),j(s)?K(s)?" ":c:""]):"else"===s.name?" ":"",s.nodes?[j(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&fe(s.selector.value)||!s.selector&&"string"==typeof s.params&&fe(s.params)?c:" ","{",m([s.nodes.length>0?h:"",Se(e,t,n)]),h,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),d(m(l(c,t)))}case"media-query":return[l(" ",e.map(n,"nodes")),B(e,s)?"":","];case"media-type":case"media-value":return Ie(_e(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(n,"nodes"),")"]:s.value;case"media-feature":return T(_e(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return _e(s.value,t);case"media-url":return _e(s.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return s.value;case"selector-root":return d([P(e,"custom-selector")?[w(e,"css-atrule").customSelector,c]:"",l([",",P(e,["extend","custom-selector","nest"])?c:p],e.map(n,"nodes"))]);case"selector-selector":return d(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(s),n=r&&t.nodes[r-1];return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"","selector-nesting"===n.type?s.value:Ie(O(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",Ie(_e(s.value,t))];case"selector-attribute":var o;return["[",s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.attribute.trim(),null!==(o=s.operator)&&void 0!==o?o:"",s.value?Oe(_e(s.value.trim(),t),t):"",s.insensitive?" i":"","]"];case"selector-combinator":if("+"===s.value||">"===s.value||"~"===s.value||">>>"===s.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===s?"":c,s.value,B(e,s)?"":" "]}return[s.value.trim().startsWith("(")?c:"",Ie(_e(s.value.trim(),t))||c];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[T(s.value),u(s.nodes)?d(["(",m([h,l([",",c],e.map(n,"nodes"))]),h,")"]):""];case"selector-unknown":{let r=w(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Ie(_e(T(s.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=De(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let i=e.getParentNode(1);if("value-paren_group"===n.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=be(n.open)+1,r=De(n.close),i=t.originalText.slice(e,r).trim();return fe(i)?[v,i]:i}return s.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(De(s),be(s));case"value-comma_group":{let r=e.getParentNode(),i=e.getParentNode(1),o=S(e),a=o&&"value-value"===r.type&&("grid"===o||o.startsWith("grid-template")),u=w(e,"css-atrule"),l=u&&j(u),g=s.groups.some((e=>oe(e))),D=e.map(n,"groups"),b=[],x=F(e,"url"),C=!1,A=!1;for(let n=0;nt:-1!==e?C=!0:-1!==t&&(C=!1)}if(C||pe(d)||pe(f)||"value-atword"===d.type&&(""===d.value||d.value.endsWith("["))||"value-word"===f.type&&f.value.startsWith("]")||"~"===d.value||d.value&&d.value.includes("\\")&&f&&"value-comment"!==f.type||o&&o.value&&o.value.indexOf("\\")===o.value.length-1&&"value-operator"===d.type&&"/"===d.value||"\\"===d.value||ie(d,f)||ae(d)||ue(d)||le(f)||ue(f)&&Y(f)||le(d)&&Y(f)||"--"===d.value&&ae(f))continue;let g=z(d),v=z(f);if((g&&ae(f)||v&&le(d))&&Y(f)||!o&&V(d)||F(e,"calc")&&(U(d)||U(f)||q(d)||q(f))&&Y(f))continue;let w=(U(d)||q(d))&&0===n&&("value-number"===f.type||f.isHex)&&i&&de(i)&&!Y(f),S=m&&"value-func"===m.type||m&&ce(m)||"value-func"===d.type||ce(d),T="value-func"===f.type||ce(f)||o&&"value-func"===o.type||o&&ce(o);if(($(f)||$(d)||F(e,"calc")||w||!(V(f)&&!S||V(d)&&!T||U(f)&&!S||U(d)&&!T||q(f)||q(d))||!(Y(f)||g&&(!o||o&&z(o))))&&("scss"!==t.parser&&"less"!==t.parser||!g||"-"!==d.value||!ve(f)||be(d)!==De(f.open)||"("!==f.open.value)){if(oe(d)){if("value-paren_group"===r.type){b.push(y(p));continue}b.push(p);continue}if(l&&(R(f)||M(f)||X(f)||W(d)||G(d))){b.push(" ");continue}if(u&&"namespace"===u.name.toLowerCase()){b.push(" ");continue}if(a){d.source&&f.source&&d.source.start.line!==f.source.start.line?(b.push(p),A=!0):b.push(" ");continue}if(v){b.push(" ");continue}if((!f||"..."!==f.value)&&(!me(d)||!me(f)||be(d)!==De(f))){if(me(d)&&ve(f)&&be(d)===De(f.open)){b.push(h);continue}if("with"===d.value&&ve(f)){b.push(" ");continue}null!==(E=d.value)&&void 0!==E&&E.endsWith("#")&&"{"===f.value&&ve(f.group)||b.push(c)}}}return g&&b.push(v),A&&b.unshift(p),l?d(m(b)):_(e)?d(f(b)):d(m(f(b)))}case"value-paren_group":{let i=e.getParentNode();if(i&&J(i)&&(1===s.groups.length||s.groups.length>0&&"value-comma_group"===s.groups[0].type&&s.groups[0].groups.length>0&&"value-word"===s.groups[0].groups[0].type&&s.groups[0].groups[0].value.startsWith("data:")))return[s.open?n("open"):"",l(",",e.map(n,"groups")),s.close?n("close"):""];if(!s.open){let t=e.map(n,"groups"),r=[];for(let e=0;e{let o=e.getValue(),l=i===s.groups.length-1,c=[n(),l?"":","];if(Z(o)&&"value-comma_group"===o.type&&o.groups&&"value-paren_group"!==o.groups[0].type&&o.groups[2]&&"value-paren_group"===o.groups[2].type){let e=b(c[0].contents.contents);e[1]=d(e[1]),c=[d(y(c))]}if(!l&&"value-comma_group"===o.type&&u(o.groups)){let e=r(o.groups);!e.source&&e.close&&(e=e.close),e.source&&a(t.originalText,e,be)&&c.push(p)}return c}),"groups"))]),g(!D&&xe(t.parser,t.originalText)&&o&&we(t)?",":""),h,s.close?n("close"):""],{shouldBreak:C});return w?y(A):A}case"value-func":return[s.value,P(e,"supports")&&he(s)?" ":"",n("group")];case"value-number":return[Be(s.value),Ce(s.unit)];case"value-word":return s.isColor&&s.isHex||I(s.value)?s.value.toLowerCase():s.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(s),i=n&&t.groups[n-1];return[s.value,i&&"string"==typeof i.value&&"\\"===r(i.value)||F(e,"url")?"":c]}case"value-string":return i(s.raws.quote+s.value+s.raws.quote,t);case"value-atword":return["@",s.value];default:throw new Error(`Unknown postcss type ${JSON.stringify(s.type)}`)}}function Se(e,t,r){let n=[];return e.each(((e,i,u)=>{let l=u[i-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let r=e.getValue();n.push(t.originalText.slice(De(r),be(r)))}else n.push(r());i!==u.length-1&&("css-comment"===u[i+1].type&&!s(t.originalText,De(u[i+1]),{backwards:!0})&&!o(u[i])||"css-atrule"===u[i+1].type&&"else"===u[i+1].name&&"css-comment"!==u[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?c:p),a(t.originalText,e.getValue(),be)&&!o(u[i])&&n.push(p)))}),"nodes"),n}var Te=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Fe=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,ke=/[A-Za-z]+/g,Pe=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Ne=new RegExp(Te.source+`|(${Pe.source})?(${Fe.source})(${ke.source})?`,"g");function _e(e,t){return e.replace(Te,(e=>i(e,t)))}function Oe(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Ie(e){return e.replace(Ne,((e,t,r,n,i)=>!r&&n?Be(n)+T(i||""):e))}function Be(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:Ae,embed:x,insertPragma:C,massageAstNode:E}}}),Gn=b({"src/language-css/options.js"(e,t){A();var r=Cn();t.exports={singleQuote:r.singleQuote}}}),Hn=b({"src/language-css/parsers.js"(){A()}}),Jn=b({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Xn=b({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Qn=b({"node_modules/linguist-languages/data/Less.json"(e,t){t.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Kn=b({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Yn=b({"src/language-css/index.js"(e,t){A();var r=tr(),n=Wn(),i=Gn(),s=Hn(),o=[r(Jn(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r(Xn(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(Qn(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(Kn(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],a={postcss:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Zn=b({"src/language-handlebars/loc.js"(e,t){function r(e){return e.loc.start.offset}function n(e){return e.loc.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),ei=b({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}A(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),ti=b({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),ri=b({"src/language-handlebars/utils.js"(e,t){A();var r=N(),n=ti();function i(e){let t=e.getValue(),n=e.getParentNode(0);return!!(h(e,["ElementNode"])&&r(n.children)===t||h(e,["Block"])&&r(n.body)===t)}function s(e){return e.toUpperCase()===e}function o(e){return p(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(s(e.tag[0])||e.tag.includes("."))}var a=new Set(n);function u(e){return a.has(e.toLowerCase())&&!s(e[0])}function l(e){return!0===e.selfClosing||u(e.tag)||o(e)&&e.children.every((e=>c(e)))}function c(e){return p(e,["TextNode"])&&!/\S/.test(e.chars)}function p(e,t){return e&&t.includes(e.type)}function h(e,t){return p(e.getParentNode(0),t)}function d(e,t){return p(y(e),t)}function f(e,t){return p(g(e),t)}function m(e,t){var r,n,i,s;let o=e.getValue(),a=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},u=null!==(n=null!==(i=null!==(s=a.children)&&void 0!==s?s:a.body)&&void 0!==i?i:a.parts)&&void 0!==n?n:[],l=u.indexOf(o);return-1!==l&&u[l+t]}function y(e){return m(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function g(e){return m(e,1)}function v(e){return p(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}function D(e){let t=e.getValue(),r=y(e,2);return v(t)||v(r)}t.exports={getNextNode:g,getPreviousNode:y,hasPrettierIgnore:D,isLastNodeOfSiblings:i,isNextNodeOfSomeType:f,isNodeOfSomeType:p,isParentOfSomeType:h,isPreviousNodeOfSomeType:d,isVoid:l,isWhitespaceNode:c}}}),ni=b({"src/language-handlebars/printer-glimmer.js"(e,t){A();var{builders:{dedent:r,fill:n,group:i,hardline:s,ifBreak:o,indent:a,join:u,line:l,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:h}}=H(),{getPreferredQuote:d,isNonEmptyArray:f}=ye(),{locStart:m,locEnd:y}=Zn(),g=ei(),{getNextNode:v,getPreviousNode:D,hasPrettierIgnore:b,isLastNodeOfSiblings:E,isNextNodeOfSomeType:x,isNodeOfSomeType:C,isParentOfSomeType:w,isPreviousNodeOfSomeType:S,isVoid:T,isWhitespaceNode:F}=ri(),k=2;function P(e,t,o){let p=e.getValue();if(!p)return"";if(b(e))return t.originalText.slice(m(p),y(p));let f=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(o,"body"));case"ElementNode":{let r=i(_(e,o)),n="ignore"===t.htmlWhitespaceSensitivity&&x(e,["ElementNode"])?c:"";if(T(p))return[r,n];let u=[""];return 0===p.children.length?[r,a(u),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,a(O(e,t,o)),s,a(u),n]:[r,a(i(O(e,t,o))),a(u),n]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===p&&r.inverse.body[0].path.parts[0]===r.path.parts[0]?[W(e,o,r.inverse.body[0].path.parts[0]),K(e,o,t),Y(e,o,t)]:[q(e,o),i([K(e,o,t),Y(e,o,t),G(e,o,t)])]}case"ElementModifierStatement":return i(["{{",le(e,o),"}}"]);case"MustacheStatement":return i([B(p),le(e,o),j(p)]);case"SubExpression":return i(["(",ue(e,o),c,")"]);case"AttrNode":{let e="TextNode"===p.value.type;if(e&&""===p.value.chars&&m(p.value)===y(p.value))return p.name;let t=e?d(p.value.chars,f).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),f).quote:"",r=o("value");return[p.name,"=",t,"class"===p.name&&t?i(a(r)):r,t]}case"ConcatStatement":return e.map(o,"parts");case"Hash":return u(l,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),s=te(e);if(s){if("class"===s){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return w(e,["ConcatStatement"])&&(S(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),x(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?l:"",t,n?l:""]}return h(i)}let o=/^[\t\n\f\r ]*$/.test(i),a=!D(e),u=!v(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,c=u&&w(e,["Template"]),p=a&&w(e,["Template"]);if(o){if(p||c)return"";let t=[l],n=re(i);return n&&(t=se(n)),E(e)&&(t=t.map((e=>r(e)))),t}let[h]=i.match(t),[d]=i.match(s),f=[];if(h){f=[l];let e=re(h);e&&(f=se(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[l];let t=re(d);t&&(m=se(t)),E(e)&&(m=m.map((e=>r(e))))}i=i.replace(s,"")}return[...f,n(Z(i)),...m]}let c=re(i),d=ne(i),f=ie(i);if((a||u)&&o&&w(e,["Block","ElementNode","Template"]))return"";o&&c?(d=Math.min(c,k),f=0):(x(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),S(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",y="";return 0===f&&x(e,["MustacheStatement"])&&(y=" "),0===d&&S(e,["MustacheStatement"])&&(m=" "),a&&(d=0,m=""),u&&(f=0,y=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,y),[...se(d),n(Z(i)),...se(f)]}case"MustacheCommentStatement":{let e=m(p),r=y(p),n="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(r-3),s=p.value.includes("}}")?"--":"";return["{{",n?"~":"","!",s,p.value,s,i?"~":"","}}"]}case"PathExpression":return p.original;case"BooleanLiteral":case"NumberLiteral":return String(p.value);case"CommentStatement":return["\x3c!--",p.value,"--\x3e"];case"StringLiteral":if(ae(e)){let e=t.singleQuote?'"':"'";return oe(p.value,e)}return oe(p.value,f);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}}function N(e,t){return m(e)-m(t)}function _(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter((e=>f(r[e]))),i=n.flatMap((e=>r[e])).sort(N);for(let s of n)e.each((e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[l,t()])}),s);return f(r.blockParams)&&i.push(l,he(r)),["<",r.tag,a(i),I(r)]}function O(e,t,r){let n=e.getValue().children.every((e=>F(e)));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map(((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i}),"children")}function I(e){return T(e)?o([c,"/>"],[" />",c]):o([c,">"],">")}function B(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function j(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function L(e){return[B(e),e.openStrip.open?"~":"","#"]}function M(e){let t=j(e);return[e.openStrip.close?"~":"",t]}function R(e){return[B(e),e.closeStrip.open?"~":"","/"]}function $(e){let t=j(e);return[e.closeStrip.close?"~":"",t]}function V(e){return[B(e),e.inverseStrip.open?"~":""]}function U(e){let t=j(e);return[e.inverseStrip.close?"~":"",t]}function q(e,t){let r=e.getValue(),n=[],s=pe(e,t);return s&&n.push(i(s)),f(r.program.blockParams)&&n.push(he(r.program)),i([L(r),ce(e,t),n.length>0?a([l,u(l,n)]):"",c,M(r)])}function z(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",V(e),"else",U(e)]}function W(e,t,r){let n=e.getValue(),s=e.getParentNode(1);return i([V(s),["else"," ",r],a([l,i(pe(e,t)),...f(n.program.blockParams)?[l,he(n.program)]:[]]),c,U(s)])}function G(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[J(n)?c:s,R(n),t("path"),$(n)]:[R(n),t("path"),$(n)]}function J(e){return C(e,["BlockStatement"])&&e.program.body.every((e=>F(e)))}function X(e){return Q(e)&&1===e.inverse.body.length&&C(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}function Q(e){return C(e,["BlockStatement"])&&e.inverse}function K(e,t,r){if(J(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?a([s,n]):a(n)}function Y(e,t,r){let n=e.getValue(),i=t("inverse"),o="ignore"===r.htmlWhitespaceSensitivity?[s,i]:i;return X(n)?o:Q(n)?[z(n,r),a(o)]:""}function Z(e){return p(u(l,ee(e)))}function ee(e){return e.split(/[\t\n\f\r ]+/)}function te(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}function re(e){return(e="string"==typeof e?e:"").split("\n").length-1}function ne(e){return re(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}function ie(e){return re(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}function se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,k)}).fill(s)}function oe(e,t){let{quote:r,regex:n}=d(e,t);return[r,e.replace(n,`\\${r}`),r]}function ae(e){let t=0,r=e.getParentNode(t);for(;r&&C(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&C(e.getParentNode(t+1),["ConcatStatement"])&&C(e.getParentNode(t+2),["AttrNode"]))}function ue(e,t){let r=ce(e,t),n=pe(e,t);return n?a([r,l,i(n)]):r}function le(e,t){let r=ce(e,t),n=pe(e,t);return n?[a([r,l,n]),c]:r}function ce(e,t){return t("path")}function pe(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":u(l,n)}function he(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:P,massageAstNode:g}}}),ii=b({"src/language-handlebars/parsers.js"(){A()}}),si=b({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),oi=b({"src/language-handlebars/index.js"(e,t){A();var r=tr(),n=ni(),i=ii(),s=[r(si(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],o={glimmer:n};t.exports={languages:s,printers:o,parsers:i}}}),ai=b({"src/language-graphql/pragma.js"(e,t){function r(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function n(e){return"# @format\n\n"+e}A(),t.exports={hasPragma:r,insertPragma:n}}}),ui=b({"src/language-graphql/loc.js"(e,t){function r(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start}function n(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}A(),t.exports={locStart:r,locEnd:n}}}),li=b({"src/language-graphql/printer-graphql.js"(e,t){A();var{builders:{join:r,hardline:n,line:i,softline:s,group:o,indent:a,ifBreak:u}}=H(),{isNextLineEmpty:l,isNonEmptyArray:c}=ye(),{insertPragma:p}=ai(),{locStart:h,locEnd:d}=ui();function f(e,t,p){let f=e.getValue();if(!f)return"";if("string"==typeof f)return f;switch(f.kind){case"Document":{let r=[];return e.each(((e,i,s)=>{r.push(p()),i!==s.length-1&&(r.push(n),l(t.originalText,e.getValue(),d)&&r.push(n))}),"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[h(f)],i=Boolean(f.name);return[n?f.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&c(f.variableDefinitions)?" ":"",c(f.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):"",m(e,p,f),f.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(f.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):""," on ",p("typeCondition"),m(e,p,f)," ",p("selectionSet")];case"SelectionSet":return["{",a([n,r(n,y(e,t,p,"selections"))]),n,"}"];case"Field":return o([f.alias?[p("alias"),": "]:"",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",m(e,p,f),f.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return f.value;case"StringValue":if(f.block){let e=f.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),r(n,['"""',...e,'"""'])}return['"',f.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return f.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",a([s,r([u("",", "),s],e.map(p,"values"))]),s,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&f.fields.length>0?" ":"",a([s,r([u("",", "),s],e.map(p,"fields"))]),s,u("",t.bracketSpacing&&f.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),f.defaultValue?[" = ",p("defaultValue")]:"",m(e,p,f)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),f.description?n:"","ObjectTypeExtension"===f.kind?"extend ":"","type ",p("name"),f.interfaces.length>0?[" implements ",...D(e,t,p)]:"",m(e,p,f),f.fields.length>0?[" {",a([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),f.description?n:"",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",": ",p("type"),m(e,p,f)];case"DirectiveDefinition":return[p("description"),f.description?n:"","directive ","@",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",f.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),f.description?n:"","EnumTypeExtension"===f.kind?"extend ":"","enum ",p("name"),m(e,p,f),f.values.length>0?[" {",a([n,r(n,y(e,t,p,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),f.description?n:"",p("name"),m(e,p,f)];case"InputValueDefinition":return[p("description"),f.description?f.description.block?n:i:"",p("name"),": ",p("type"),f.defaultValue?[" = ",p("defaultValue")]:"",m(e,p,f)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),f.description?n:"","InputObjectTypeExtension"===f.kind?"extend ":"","input ",p("name"),m(e,p,f),f.fields.length>0?[" {",a([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",m(e,p,f),...f.operationTypes.length>0?[" {",a([n,r(n,y(e,t,p,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[p("description"),f.description?n:"","schema",m(e,p,f)," {",f.operationTypes.length>0?a([n,r(n,y(e,t,p,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),f.description?n:"","InterfaceTypeExtension"===f.kind?"extend ":"","interface ",p("name"),f.interfaces.length>0?[" implements ",...D(e,t,p)]:"",m(e,p,f),f.fields.length>0?[" {",a([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),m(e,p,f)];case"InlineFragment":return["...",f.typeCondition?[" on ",p("typeCondition")]:"",m(e,p,f)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),f.description?n:"",o(["UnionTypeExtension"===f.kind?"extend ":"","union ",p("name"),m(e,p,f),f.types.length>0?[" =",u(""," "),a([u([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),f.description?n:"","ScalarTypeExtension"===f.kind?"extend ":"","scalar ",p("name"),m(e,p,f)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(f.kind))}}function m(e,t,n){if(0===n.directives.length)return"";let u=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?o([i,u]):[" ",o(a([s,u]))]}function y(e,t,r,i){return e.map(((e,i,s)=>{let o=r();return ir(e)),"interfaces");for(let u=0;u"prettier-ignore"===e.value.trim()))}b.ignoredProperties=new Set(["loc","comments"]),t.exports={print:f,massageAstNode:b,hasPrettierIgnore:E,insertPragma:p,printComment:v,canAttachComment:g}}}),ci=b({"src/language-graphql/options.js"(e,t){A();var r=Cn();t.exports={bracketSpacing:r.bracketSpacing}}}),pi=b({"src/language-graphql/parsers.js"(){A()}}),hi=b({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),di=b({"src/language-graphql/index.js"(e,t){A();var r=tr(),n=li(),i=ci(),s=pi(),o=[r(hi(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],a={graphql:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),fi=b({"node_modules/collapse-white-space/index.js"(e,t){function r(e){return String(e).replace(/\s+/g," ")}A(),t.exports=r}}),mi=b({"src/language-markdown/loc.js"(e,t){function r(e){return e.position.start.offset}function n(e){return e.position.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),yi=b({"src/language-markdown/constants.evaluate.js"(e,t){t.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),gi=b({"src/language-markdown/utils.js"(e,t){A();var{getLast:r}=ye(),{locStart:n,locEnd:i}=mi(),{cjkPattern:s,kPattern:o,punctuationPattern:a}=yi(),u=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...u,"tableCell","paragraph","heading"],c=new RegExp(o),p=new RegExp(a);function h(e,t){let n="non-cjk",i="cj-letter",o="k-letter",a="cjk-punctuation",u=[],l=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${s})\n(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[d,f]of l.entries()){if(d%2===1){u.push({type:"whitespace",value:/\n/.test(f)?"\n":" "});continue}if((0===d||d===l.length-1)&&""===f)continue;let e=f.split(new RegExp(`(${s})`));for(let[t,s]of e.entries())if(0!==t&&t!==e.length-1||""!==s){if(t%2===0){""!==s&&h({type:"word",value:s,kind:n,hasLeadingPunctuation:p.test(s[0]),hasTrailingPunctuation:p.test(r(s))});continue}h(p.test(s)?{type:"word",value:s,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:c.test(s)?o:i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return u;function h(e){let t=r(u);function s(r,n){return t.kind===r&&e.kind===n||t.kind===n&&e.kind===r}t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?u.push({type:"whitespace",value:" "}):!s(n,a)&&![t.value,e.value].some((e=>/\u3000/.test(e)))&&u.push({type:"whitespace",value:""})),u.push(e)}}function d(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}function f(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(d(e.children[0],t.originalText).numberText),n=Number(d(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(d(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n}function m(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r}function y(e,t){return function e(r,n,i){let s=Object.assign({},t(r,n,i));return s.children&&(s.children=s.children.map(((t,r)=>e(t,r,[s,...i])))),s}(e,null,[])}function g(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;let[t]=e.children;return n(e)===n(t)&&i(e)===i(t)}t.exports={mapAst:y,splitText:h,punctuationPattern:a,getFencedCodeBlockValue:m,getOrderedListItemInfo:d,hasGitDiffFriendlyOrderedList:f,INLINE_NODE_TYPES:u,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:g}}}),vi=b({"src/language-markdown/embed.js"(e,t){A();var{inferParserByLanguage:r,getMaxContinuousCount:n}=ye(),{builders:{hardline:i,markAsRoot:s},utils:{replaceEndOfLine:o}}=H(),a=In(),{getFencedCodeBlockValue:u}=gi();function l(e,t,l,c){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=r(p.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(p.value,t)+1)),a={parser:e};"tsx"===p.lang&&(a.filepath="dummy.tsx");let h=l(u(p,c.originalText),a,{stripTrailingHardline:!0});return s([r,p.lang,p.meta?" "+p.meta:"",i,o(h),i,r])}}switch(p.type){case"front-matter":return a(p,l);case"importExport":return[l(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return l(`<$>${p.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}t.exports=l}}),Di=b({"src/language-markdown/pragma.js"(e,t){A();var r=jn(),n=["format","prettier"];function i(e){let t=`@(${n.join("|")})`,r=new RegExp([`\x3c!--\\s*${t}\\s*--\x3e`,`{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${t}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),i=e.match(r);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i=`\x3c!-- @${n[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${i}\n\n${t.content}`:`${i}\n\n${t.content}`}}}}),bi=b({"src/language-markdown/print-preprocess.js"(e,t){A();var r=N(),{getOrderedListItemInfo:n,mapAst:i,splitText:s}=gi(),o=/^.$/us;function a(e,t){return e=p(e=u(e=f(e=y(e=m(e=l(e=d(e=c(e,t)),t),t),t),t)))}function u(e){return i(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}function l(e,t){return i(e,(e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}function c(e,t){return i(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&o.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}function p(e){return h(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}function h(e,t,n){return i(e,(e=>{if(!e.children)return e;let i=e.children.reduce(((e,i)=>{let s=r(e);return s&&t(s,i)?e.splice(-1,1,n(s,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}function d(e){return h(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}function f(e,t){return i(e,((e,r,n)=>{let[i]=n;if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===i.type&&(0===r&&(o=o.trimStart()),r===i.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:s(o,t)}}))}function m(e,t){return i(e,((e,r,n)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;let o=r(i);return-1!==o&&(1===e.children.length?o%t.tabWidth===0:o===r(s)&&(o%t.tabWidth===0||n(s,t.originalText).leadingSpaces.length>1))}}t.exports=a}}),Ei=b({"src/language-markdown/clean.js"(e,t){A();var r=fi(),{isFrontMatterNode:n}=ye(),{startWithPragma:i}=Di(),s=new Set(["position","raw"]);function o(e,t,s){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type||"imageReference"===e.type)&&(t.label=r(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),s&&"root"===s.type&&s.children.length>0&&(s.children[0]===e||n(s.children[0])&&s.children[1]===e)&&"html"===e.type&&i(e.value)))return null}o.ignoredProperties=s,t.exports=o}}),xi=b({"src/language-markdown/printer-markdown.js"(e,t){A();var r=fi(),{getLast:n,getMinNotPresentContinuousCount:i,getMaxContinuousCount:s,getStringWidth:o,isNonEmptyArray:a}=ye(),{builders:{breakParent:u,join:l,line:c,literalline:p,markAsRoot:h,hardline:d,softline:f,ifBreak:m,fill:y,align:g,indent:v,group:D,hardlineWithoutBreakParent:b},utils:{normalizeDoc:E,replaceTextEndOfLine:x},printer:{printDocToString:C}}=H(),w=vi(),{insertPragma:S}=Di(),{locStart:T,locEnd:F}=mi(),k=bi(),P=Ei(),{getFencedCodeBlockValue:N,hasGitDiffFriendlyOrderedList:_,splitText:O,punctuationPattern:I,INLINE_NODE_TYPES:B,INLINE_NODE_WRAPPER_TYPES:j,isAutolink:L}=gi(),M=new Set(["importExport"]),R=["heading","tableCell","link","wikiLink"],$=new Set(["listItem","definition","footnoteDefinition"]);function V(e,t,r){let o=e.getValue();if(se(e))return O(t.originalText.slice(o.position.start.offset,o.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":X(e,r.value,t)));switch(o.type){case"front-matter":return t.originalText.slice(o.position.start.offset,o.position.end.offset);case"root":return 0===o.children.length?"":[E(K(e,t,r)),M.has(ee(o).type)?"":d];case"paragraph":return Y(e,t,r,{postprocessor:y});case"sentence":return Y(e,t,r);case"word":{let t=o.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${I})(_+)`,`(_+)(${I}|$)`].join("|"),"g"),((e,t,r,n,i)=>(r?`${t}${r}`:`${n}${i}`).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>L(e.children[r-1]);return t!==o.value&&(e.match(void 0,r,n)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),n))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(o),i=r.children[n+1],s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return X(e,o.value,{proseWrap:s})}case"emphasis":{let i;if(L(o.children[0]))i=t.originalText[o.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(o),s=t.children[r-1],a=t.children[r+1];i=s&&"sentence"===s.type&&s.children.length>0&&"word"===n(s.children).type&&!n(s.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||J(e,"emphasis")?"*":"_"}return[i,Y(e,t,r),i]}case"strong":return["**",Y(e,t,r),"**"];case"delete":return["~~",Y(e,t,r),"~~"];case"inlineCode":{let e=i(o.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(o.value)?" ":"";return[t,r,o.value,r,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?o.value:o.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[o.position.start.offset]){case"<":{let e="mailto:";return["<",o.url.startsWith(e)&&t.originalText.slice(o.position.start.offset+1,o.position.start.offset+1+e.length)!==e?o.url.slice(e.length):o.url,">"]}case"[":return["[",Y(e,t,r),"](",oe(o.url,")"),ae(o.title,t),")"];default:return t.originalText.slice(o.position.start.offset,o.position.end.offset)}case"image":return["![",o.alt||"","](",oe(o.url,")"),ae(o.title,t),")"];case"blockquote":return["> ",g("> ",Y(e,t,r))];case"heading":return["#".repeat(o.depth)+" ",Y(e,t,r)];case"code":{if(o.isIndented){let e=" ".repeat(4);return g(e,[e,...x(o.value,d)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,s(o.value,e)+1));return[r,o.lang||"",o.meta?" "+o.meta:"",d,...x(N(o,t.originalText),d),d,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&n(t.children)===o?o.value.trimEnd():o.value,i=/^$/s.test(r);return x(r,i?d:h(p))}case"list":{let n=z(o,e.getParentNode()),i=_(o,t);return Y(e,t,r,{processor:(e,s)=>{let a=l(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?[a,U(e,t,r,a)]:[a,g(" ".repeat(a.length),U(e,t,r,a))];function l(){let e=o.ordered?(0===s?o.start:i?1:o.start+s)+(n%2===0?". ":") "):n%2===0?"- ":"* ";return o.isAligned||o.hasIndentedCodeblock?q(e,t):e}}})}case"thematicBreak":{let t=G(e,"list");return-1===t?"---":z(e.getParentNode(t),e.getParentNode(t+1))%2===0?"***":"---"}case"linkReference":return["[",Y(e,t,r),"]","full"===o.referenceType?ce(o):"collapsed"===o.referenceType?"[]":""];case"imageReference":return"full"===o.referenceType?["![",o.alt||"","]",ce(o)]:["![",o.alt,"]","collapsed"===o.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?c:" ";return D([ce(o),":",v([e,oe(o.url),null===o.title?"":[e,ae(o.title,t,!1)]])])}case"footnote":return["[^",Y(e,t,r),"]"];case"footnoteReference":return pe(o);case"footnoteDefinition":{let n=e.getParentNode().children[e.getName()+1],i=1===o.children.length&&"paragraph"===o.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&o.children[0].position.start.line===o.children[0].position.end.line);return[pe(o),": ",i?Y(e,t,r):D([g(" ".repeat(4),Y(e,t,r,{processor:(e,t)=>0===t?D([f,r()]):r()})),n&&"footnoteDefinition"===n.type?f:""])]}case"table":return Q(e,t,r);case"tableCell":return Y(e,t,r);case"break":return/\s/.test(t.originalText[o.position.start.offset])?[" ",h(p)]:["\\",d];case"liquidNode":return x(o.value,d);case"importExport":return[o.value,d];case"esComment":return["{/* ",o.value," */}"];case"jsx":return o.value;case"math":return["$$",d,o.value?[...x(o.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(T(o),F(o));default:throw new Error(`Unknown markdown type ${JSON.stringify(o.type)}`)}}function U(e,t,r,n){let i=e.getValue(),s=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[s,Y(e,t,r,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return g(" ".repeat(s.length),r());let o=" ".repeat(ue(t.tabWidth-n.length,0,3));return[o,g(o,r())]}})]}function q(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}function z(e,t){return W(e,t,(t=>t.ordered===e.ordered))}function W(e,t,r){let n=-1;for(let i of t.children)if(i.type===e.type&&r(i)?n++:n=-1,i===e)return n}function G(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function J(e,t){let r=G(e,t);return-1===r?null:e.getParentNode(r)}function X(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return d;let n="always"===r.proseWrap&&!J(e,R);return""!==t?n?c:" ":n?f:""}function Q(e,t,r){let n=e.getValue(),i=[],s=e.map((e=>e.map(((e,n)=>{let s=C(r(),t).formatted,a=o(s);return i[n]=Math.max(i[n]||3,a),{text:s,width:a}}),"children")),"children"),a=p(!1);if("never"!==t.proseWrap)return[u,a];let c=p(!0);return[u,D(m(c,a))];function p(e){let t=[d(s[0],e),h(e)];return s.length>1&&t.push(l(b,s.slice(1).map((t=>d(t,e))))),l(b,t)}function h(e){return`| ${i.map(((t,r)=>{let i=n.align[r],s="center"===i||"right"===i?":":"-";return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${s}`})).join(" | ")} |`}function d(e,t){return`| ${e.map(((e,r)=>{let{text:s,width:o}=e;if(t)return s;let a=i[r]-o,u=n.align[r],l=0;"right"===u?l=a:"center"===u&&(l=Math.floor(a/2));let c=a-l;return`${" ".repeat(l)}${s}${" ".repeat(c)}`})).join(" | ")} |`}}function K(e,t,r){let n=[],i=null,{children:s}=e.getValue();for(let[o,a]of s.entries())switch(te(a)){case"start":null===i&&(i={index:o,offset:a.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:o,offset:a.position.start.offset}}),i=null)}return Y(e,t,r,{processor:(e,i)=>{if(n.length>0){let e=n[0];if(i===e.start.index)return[Z(s[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),Z(s[e.end.index])];if(e.start.index3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=i,o=i.processor||(()=>r()),a=e.getValue(),u=[];return e.each(((e,r)=>{let i=e.getValue(),s=o(e,r);if(!1!==s){let e={parts:u,prevNode:n,parentNode:a,options:t};re(i,e)&&(u.push(d),n&&M.has(n.type)||(ne(i,e)||ie(i,e))&&u.push(d),ie(i,e)&&u.push(d)),u.push(s),n=i}}),"children"),s?s(u):u}function Z(e){return"html"===e.type?e.value:"paragraph"===e.type&&Array.isArray(e.children)&&1===e.children.length&&"esComment"===e.children[0].type?["{/* ",e.children[0].value," */}"]:void 0}function ee(e){let t=e;for(;a(t.children);)t=n(t.children);return t}function te(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function re(e,t){let r=0===t.parts.length,n=B.includes(e.type),i="html"===e.type&&j.includes(t.parentNode.type);return!r&&!n&&!i}function ne(e,t){var r,n,i;let s=(t.prevNode&&t.prevNode.type)===e.type&&$.has(e.type),o="listItem"===t.parentNode.type&&!t.parentNode.loose,a="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,u="next"===te(t.prevNode),l="html"===e.type&&"html"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return a||!(s||o||u||l||c)}function ie(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function se(e){let t=J(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}function oe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function ae(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+ae(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,n=e.split('"').length-1,i=r>n?'"':n>r||t.singleQuote?"'":'"';return`${i}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${i})`,"g"),"\\$1")}${i}`}function ue(e,t,r){return er?r:e}function le(e){let t=Number(e.getName());return 0!==t&&"next"===te(e.getParentNode().children[t-1])}function ce(e){return`[${r(e.label)}]`}function pe(e){return`[^${e.label}]`}t.exports={preprocess:k,print:V,embed:w,massageAstNode:P,hasPrettierIgnore:le,insertPragma:S}}}),Ci=b({"src/language-markdown/options.js"(e,t){A();var r=Cn();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),wi=b({"src/language-markdown/parsers.js"(){A()}}),Ai=b({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Si=b({"src/language-markdown/index.js"(e,t){A();var r=tr(),n=xi(),i=Ci(),s=wi(),o=[r(Ai(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(Ai(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],a={mdast:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Ti=b({"src/language-html/clean.js"(e,t){A();var{isFrontMatterNode:r}=ye(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=n,t.exports=i}}),Fi=b({"src/language-html/constants.evaluate.js"(e,t){t.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),ki=b({"src/language-html/utils/is-unknown-namespace.js"(e,t){function r(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}A(),t.exports=r}}),Pi=b({"src/language-html/utils/index.js"(e,t){A();var{inferParserByLanguage:r,isFrontMatterNode:n}=ye(),{builders:{line:i,hardline:s,join:o},utils:{getDocParts:a,replaceTextEndOfLine:u}}=H(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:h}=Fi(),d=ki(),f=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/^[\t\n\f\r ]+/,""),y=e=>e.replace(/[\t\n\f\r ]+$/,""),g=e=>m(y(e)),v=e=>e.replace(/^[\t\f\r ]*\n/g,""),D=e=>v(y(e)),b=e=>e.split(/[\t\n\f\r ]+/),E=e=>e.match(/^[\t\n\f\r ]*/)[0],x=e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},C=e=>/[\t\n\f\r ]/.test(e);function w(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||ne(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||me(e,t)&&!k(e)&&"interpolation"!==e.type)}function S(e){return!("attribute"===e.type||!e.parent||!e.prev)&&T(e.prev)}function T(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}function F(e){return"text"===e.type||"comment"===e.type}function k(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function P(e){return e.children&&!k(e)}function N(e){return k(e)||"interpolation"===e.type||_(e)}function _(e){return ae(e).startsWith("pre")}function O(e,t){let r=i();return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r;function i(){return!n(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!ne(e.parent)||!(!e.prev&&("root"===e.parent.type||ne(e)&&e.parent||k(e.parent)||de(e.parent,t)||!Y(e.parent.cssDisplay))||e.prev&&!te(e.prev.cssDisplay))))}}function I(e,t){return!n(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!ne(e.parent)||!(!e.next&&("root"===e.parent.type||ne(e)&&e.parent||k(e.parent)||de(e.parent,t)||!Z(e.parent.cssDisplay))||e.next&&!ee(e.next.cssDisplay))))}function B(e){return re(e.cssDisplay)&&!k(e)}function j(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some((e=>G(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&U(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||q(e.lastChild))}function M(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function R(e){return z(e)||e.prev&&$(e.prev)||V(e)}function $(e){return z(e)||"element"===e.type&&"br"===e.fullName||V(e)}function V(e){return U(e)&&q(e)}function U(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function z(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function W(e){return e.lastChild?W(e.lastChild):e}function G(e){return e.children&&e.children.some((e=>"text"!==e.type))}function J(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function X(e,t){let{lang:n}=e.attrMap;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}function Q(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?X(e,t):t&&me(e,t)?J(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?J(e):"babel"}function K(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Y(e){return!K(e)&&"inline-block"!==e}function Z(e){return!K(e)&&"inline-block"!==e}function ee(e){return!K(e)}function te(e){return!K(e)}function re(e){return!K(e)&&"inline-block"!==e}function ne(e){return ae(e).startsWith("pre")}function ie(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let i=e.stack[n];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&r++}return r}function se(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function oe(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!se(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||d(e))&&l[e.name]||c}}function ae(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||h}function ue(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!f.has(r[0]))return 0;let e=E(r).length;r.length!==e&&e1&&void 0!==arguments[1]?arguments[1]:ue(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}function ce(e,t){let r=0;for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?u(t):u(le(D(t)),s):a(o(i,b(t)))}function be(e,t){return fe(e,t)&&"script"===e.name}t.exports={htmlTrim:g,htmlTrimPreserveIndentation:D,hasHtmlWhitespace:C,getLeadingAndTrailingHtmlWhitespace:x,canHaveInterpolation:P,countChars:ce,countParents:ie,dedentString:le,forceBreakChildren:M,forceBreakContent:L,forceNextEmptyLine:j,getLastDescendant:W,getNodeCssStyleDisplay:oe,getNodeCssStyleWhiteSpace:ae,hasPrettierIgnore:S,inferScriptParser:Q,isVueCustomBlock:de,isVueNonHtmlBlock:me,isVueScriptTag:be,isVueSlotAttribute:ge,isVueSfcBindingsAttribute:ve,isVueSfcBlock:fe,isDanglingSpaceSensitiveNode:B,isIndentationSensitiveNode:_,isLeadingSpaceSensitiveNode:O,isPreLikeNode:ne,isScriptLikeTag:k,isTextLikeNode:F,isTrailingSpaceSensitiveNode:I,isWhitespaceSensitiveNode:N,isUnknownNamespace:d,preferHardlineAsLeadingSpaces:R,preferHardlineAsTrailingSpaces:$,shouldPreserveContent:w,unescapeQuoteEntities:pe,getTextValueParts:De}}}),Ni=b({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function r(t){return e.$0<=t&&t<=e.$9}function n(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||r(t)}function s(t){return t===e.$LF||t===e.$CR}function o(t){return e.$0<=t&&t<=e.$7}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=t,e.isDigit=r,e.isAsciiLetter=n,e.isAsciiHexDigit=i,e.isNewLine=s,e.isOctalDigit=o}}),_i=b({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;var r=class{constructor(){this.cache=new Map}get(e,r,n){let i=`"${e}".${r}${(n=n||[]).length?`.${n.join(".")}`:""}`,s=this.cache.get(i);return s||(s=new t(e,r,n),this.cache.set(i,s)),s}};e.StaticSymbolCache=r}}),Oi=b({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;ro(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((n=>{r[n]=o(e[n],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function c(e){throw new Error(`Internal Error: ${e}`)}function p(e,t){let r=Error(e);return r[h]=!0,t&&(r[d]=t),r}e.ValueTransformer=l,e.SyncAsync={assertSync:e=>{if(x(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>x(e)?e.then(t):t(e),all:e=>e.some(x)?Promise.all(e):e},e.error=c,e.syntaxError=p;var h="ngSyntaxError",d="ngParseErrors";function f(e){return e[h]}function m(e){return e[d]||[]}function y(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=f,e.getParseErrors=m,e.escapeRegExp=y;var g=Object.getPrototypeOf({});function v(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===g}function D(e){let t="";for(let r=0;r=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t}function b(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(b).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return"object";let t=e.toString();if(null==t)return""+t;let r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function E(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function x(e){return!!e&&"function"==typeof e.then}e.utf8Encode=D,e.stringify=b,e.resolveForwardRef=E,e.isPromise=x;var C=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};e.Version=C;var w=typeof window<"u"&&window,S=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,T=typeof globalThis<"u"&&globalThis||w||S;e.global=T}}),Ii=b({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=_i(),r=Oi(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function u(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_"+a++,n.__anonymousType=s):s=i(s),s}function l(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`}function c(e,t){return`View_${u({reference:e})}_${t}`}function p(e){return`RenderType_${u({reference:e})}`}function h(e){return`HostView_${u({reference:e})}`}function d(e){return`${u({reference:e})}NgFactory`}function f(e){return null!=e.value?i(e.value):u(e.identifier)}function m(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=u,e.identifierModuleUrl=l,e.viewClassName=c,e.rendererTypeName=p,e.hostViewClassName=h,e.componentFactoryName=d,(o=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=f,e.tokenReference=m;var y=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=C(t),this.styleUrls=C(r)}};e.CompileStylesheetMetadata=y;var g=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:u,ngContentSelectors:l,interpolation:c,isInline:p,preserveWhitespaces:h}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=C(s),this.styleUrls=C(o),this.externalStylesheets=C(a),this.animations=u?S(u):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=p,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=g;var v=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:u,inputs:l,outputs:c,host:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:D,componentViewType:b,rendererType:E,componentFactory:x}=e,C={},w={},A={};null!=p&&Object.keys(p).forEach((e=>{let t=p[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?w[r[1]]=t:null!=r[2]&&(C[r[2]]=t)}));let S={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));let T={};return null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new v({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:u,inputs:S,outputs:T,hostListeners:C,hostProperties:w,hostAttributes:A,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:D,componentViewType:b,rendererType:E,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:u,hostListeners:l,hostProperties:c,hostAttributes:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:D,rendererType:b,componentFactory:E}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=u,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=C(h),this.viewProviders=C(d),this.queries=C(f),this.guards=m,this.viewQueries=C(y),this.entryComponents=C(g),this.template=v,this.componentViewType=D,this.rendererType=b,this.componentFactory=E}toSummary(){return{summaryKind:s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=v;var D=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=D;var b=class{};e.CompileShallowModuleMetadata=b;var E=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:u,importedModules:l,exportedModules:c,schemas:p,transitiveModule:h,id:d}=e;this.type=t||null,this.declaredDirectives=C(n),this.exportedDirectives=C(i),this.declaredPipes=C(s),this.exportedPipes=C(o),this.providers=C(r),this.entryComponents=C(a),this.bootstrapComponents=C(u),this.importedModules=C(l),this.exportedModules=C(c),this.schemas=C(p),this.id=d||null,this.transitiveModule=h||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=E;var x=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function C(e){return e||[]}e.TransitiveCompileNgModuleMetadata=x;var w=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:o,multi:a}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=o||null,this.multi=!!a}};function S(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?S(t):t;return e.concat(r)}),[])}function T(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function F(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${u(e)}/${u(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:T(i)}function k(e,t){let r=e.moduleUrl.split(/\/\\/g);return T(`css/${t}${r[r.length-1]}.ngstyle.js`)}function P(e){return T(`${u(e.type)}/module.ngfactory.js`)}function N(e,t){return T(`${u(e)}/${u(t.type)}.ngfactory.js`)}e.ProviderMeta=w,e.flatten=S,e.templateSourceUrl=F,e.sharedStylesheetJitUrl=k,e.ngModuleJitUrl=P,e.templateJitUrl=N}}),Bi=b({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ni(),r=Ii(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,o=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){o--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?s-e:s}else a--;for(;s0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(o++,a=0):a++}return new n(this.file,s,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";var u=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${s[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};function l(e,t){let s=r.identifierModuleUrl(t),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,u=new i("",o);return new a(new n(u,-1,-1,-1),new n(u,-1,-1,-1))}function c(e,t,r){let s=new i("",`in ${e} ${t} in ${r}`);return new a(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}e.ParseError=u,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=c}}),ji=b({"src/language-html/print-preprocess.js"(e,t){A();var{ParseSourceSpan:r}=Bi(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:s,canHaveInterpolation:o,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:u,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:h,isVueScriptTag:d}=Pi(),f=[y,g,D,E,x,S,C,w,T,b,F];function m(e,t){for(let r of f)r(e,t);return e}function y(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))}function g(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children)for(let n=0;n{if(e.children)for(let i=0;i"cdata"===e.type),(e=>``))}function b(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!s(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children)for(let n=0;n`+i.firstChild.value+``+o.value,s.sourceSpan=new r(s.sourceSpan.start,o.sourceSpan.end),s.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,s.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),n--,e.removeChild(o)}}))}function E(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk((e=>{if(o(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,s=null,o=t.value.split(n);for(let n=0;n0&&e.insertChildBefore(t,{type:"text",value:a,sourceSpan:new r(i,s)}))}e.removeChild(t)}}))}function x(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===n(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=h(e),s=l(e);if(!t)for(let n=0;n{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))}function w(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))}function S(e,t){e.walk((e=>{e.cssDisplay=a(e,t)}))}function T(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=u(e));for(let e of r)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;ed(e,t)));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}t.exports=m}}),Li=b({"src/language-html/pragma.js"(e,t){function r(e){return/^\s*/.test(e)}function n(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}A(),t.exports={hasPragma:r,insertPragma:n}}}),Mi=b({"src/language-html/loc.js"(e,t){function r(e){return e.sourceSpan.start.offset}function n(e){return e.sourceSpan.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),Ri=b({"src/language-html/print/tag.js"(e,t){A();var r=Ht(),{isNonEmptyArray:n}=ye(),{builders:{indent:i,join:s,line:o,softline:a,hardline:u},utils:{replaceTextEndOfLine:l}}=H(),{locStart:c,locEnd:p}=Mi(),{isTextLikeNode:h,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:y,isVueSfcBlock:g}=Pi();function v(e,t){return[e.isSelfClosing?"":D(e,t),b(e,t)]}function D(e,t){return e.lastChild&&k(e.lastChild)?"":[E(e,t),C(e,t)]}function b(e,t){return(e.next?T(e.next):F(e.parent))?"":[w(e,t),x(e,t)]}function E(e,t){return F(e)?w(e.lastChild,t):""}function x(e,t){return k(e)?C(e.parent,t):P(e)?M(e.next):""}function C(e,t){if(r(!e.isSelfClosing),S(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function S(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||y(e.parent,t))}function T(e){return e.prev&&"docType"!==e.prev.type&&!h(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function F(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!h(d(e.lastChild))&&!f(e)}function k(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&h(d(e))}function P(e){return e.next&&!h(e.next)&&h(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function N(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}function _(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function O(e,t,r){let h=e.getValue();if(!n(h.attrs))return h.isSelfClosing?" ":"";let d=h.prev&&"comment"===h.prev.type&&N(h.prev.value),f="boolean"==typeof d?()=>d:Array.isArray(d)?e=>d.includes(e.rawName):()=>!1,m=e.map((e=>{let n=e.getValue();return f(n)?l(t.originalText.slice(c(n),p(n))):r()}),"attrs"),y="element"===h.type&&"script"===h.fullName&&1===h.attrs.length&&"src"===h.attrs[0].fullName&&0===h.children.length,v=t.singleAttributePerLine&&h.attrs.length>1&&!g(h,t)?u:o,D=[i([y?" ":o,s(v,m)])];return h.firstChild&&_(h.firstChild)||h.isSelfClosing&&F(h.parent)||y?D.push(h.isSelfClosing?" ":""):D.push(t.bracketSameLine?h.isSelfClosing?" ":"":h.isSelfClosing?o:a),D}function I(e){return e.firstChild&&_(e.firstChild)?"":R(e)}function B(e,t,r){let n=e.getValue();return[j(n,t),O(e,t,r),n.isSelfClosing?"":I(n)]}function j(e,t){return e.prev&&P(e.prev)?"":[L(e,t),M(e)]}function L(e,t){return _(e)?R(e.parent):T(e)?w(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function R(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}t.exports={printClosingTag:v,printClosingTagStart:D,printClosingTagStartMarker:C,printClosingTagEndMarker:w,printClosingTagSuffix:x,printClosingTagEnd:b,needsToBorrowLastChildClosingTagEndMarker:F,needsToBorrowParentClosingTagStartMarker:k,needsToBorrowPrevClosingTagEndMarker:T,printOpeningTag:B,printOpeningTagStart:j,printOpeningTagPrefix:L,printOpeningTagStartMarker:M,printOpeningTagEndMarker:R,needsToBorrowNextOpeningTagStartMarker:P,needsToBorrowParentOpeningTagEndMarker:_}}}),$i=b({"node_modules/parse-srcset/src/parse-srcset.js"(r,o){var a;A(),a=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(g));if(n)return r=n[0],g+=r.length,r}for(var s,o,a,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,v=[];;){if(i(h),g>=c)return v;s=i(d),o=[],","===s.slice(-1)?(s=s.replace(f,""),b()):D()}function D(){for(i(p),a="",u="in descriptor";;){if(l=e.charAt(g),"in descriptor"===u)if(n(l))a&&(o.push(a),a="",u="after descriptor");else{if(","===l)return g+=1,a&&o.push(a),void b();if("("===l)a+=l,u="in parens";else{if(""===l)return a&&o.push(a),void b();a+=l}}else if("in parens"===u)if(")"===l)a+=l,u="in descriptor";else{if(""===l)return o.push(a),void b();a+=l}else if("after descriptor"===u&&!n(l)){if(""===l)return void b();u="in descriptor",g-=1}g+=1}}function b(){var t,n,i,a,u,l,c,p,h,d=!1,f={};for(a=0;a{let{w:t}=e;return t})),a=t.some((e=>{let{h:t}=e;return t}));if(o+a+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let u=o?"w":a?"h":"d",l=o?"w":a?"h":"x",c=e=>Math.max(...e),p=t.map((e=>e.url)),h=c(p.map((e=>e.length))),d=t.map((e=>e[u])).map((e=>e?e.toString():"")),f=d.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=c(f);return i([",",s],p.map(((e,t)=>{let r=[e],i=d[t];if(i){let s=h-e.length+1,o=m-f[t],a=" ".repeat(s+o);r.push(n(a," "),i+l)}return r})))}function a(e){return e.trim().split(/\s+/).join(" ")}t.exports={printImgSrcset:o,printClassNames:a}}}),Ui=b({"src/language-html/syntax-vue.js"(e,t){A();var{builders:{group:r}}=H();function n(e,t){let{left:n,operator:s,right:o}=i(e);return[r(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",s," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function i(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let s={};if(s.for=i[3].trim(),!s.for)return;let o=i[1].trim().replace(n,""),a=o.match(r);a?(s.alias=o.replace(r,""),s.iterator1=a[1].trim(),a[2]&&(s.iterator2=a[2].trim())):s.alias=o;let u=[s.alias,s.iterator1,s.iterator2];return u.some(((e,t)=>!e&&(0===t||u.slice(t+1).some(Boolean))))?void 0:{left:u.filter(Boolean).join(","),operator:i[2],right:s.for}}function s(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}function o(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,n=e.trim();return t.test(n)||r.test(n)}t.exports={isVueEventBindingExpression:o,printVueFor:n,printVueBindings:s}}}),qi=b({"src/language-html/get-node-content.js"(e,t){A();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:a}=Ri();function u(e,t){let u=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(u-=a(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=n(e,t).length:i(e)&&(l-=s(e.lastChild,t).length),t.originalText.slice(u,l)}t.exports=u}}),zi=b({"src/language-html/embed.js"(e,t){A();var{builders:{breakParent:r,group:n,hardline:i,indent:s,line:o,fill:a,softline:u},utils:{mapDoc:l,replaceTextEndOfLine:c}}=H(),p=In(),{printClosingTag:h,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:y}=Ri(),{printImgSrcset:g,printClassNames:v}=Vi(),{printVueFor:D,printVueBindings:b,isVueEventBindingExpression:E}=Ui(),{isScriptLikeTag:x,isVueNonHtmlBlock:C,inferScriptParser:w,htmlTrimPreserveIndentation:S,dedentString:T,unescapeQuoteEntities:F,isVueSlotAttribute:k,isVueSfcBindingsAttribute:P,getTextValueParts:N}=Pi(),_=qi();function O(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>F(e.value),p=!1,h=(e,t)=>{let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(p=!0)},d=e=>n(e),f=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([s([u,e]),t?u:""])},m=e=>p?d(e):f(e),y=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return f(g(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return v(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return f(y(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return D(l(),y);if(k(e)||P(e,r))return b(l(),y);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=l(),t=E(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return m(y(e,{parser:t}))}if(i(t))return m(y(l(),{parser:"__vue_expression"}));if(i(n))return m(y(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>y(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],u=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return m(t(l(),{parser:"__ng_action"}));if(i(u))return m(t(l(),{parser:"__ng_binding"}));if(i(p)){let t=l().trim();return f(a(N(e,t)),!t.includes("@@"))}if(i(r))return m(t(l(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,d=l();if(h.test(d)){let e=[];for(let[r,i]of d.split(h).entries())if(r%2===0)e.push(c(i));else try{e.push(n(["{{",s([o,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{e.push("{{",c(i),"}}")}return n(e)}}return null}function I(e,t,a,u){let c=e.getValue();switch(c.type){case"element":if(x(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&C(c,u)){let r=w(c,u);if(!r)return;let s=_(c,u),o=/^\s*$/.test(s),l="";return o||(l=a(S(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===l),[m(c,u),n(y(e,u,t)),o?"":i,l,o?"":i,h(c,u),d(c,u)]}break;case"text":if(x(c.parent)){let e=w(c.parent,u);if(e){let t="markdown"===e?T(c.value.replace(/^[^\S\n]*\n/,"")):c.value,n={parser:e,__embeddedInHtml:!0};if("html"===u.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(c,u),a(t,n,{stripTrailingHardline:!0}),d(c,u)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===u.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===u.parser?e.parser=u.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([o,a(c.value,e,{stripTrailingHardline:!0})]),c.parent.next&&f(c.parent.next)?" ":o]}break;case"attribute":{if(!c.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===u.parser&&/^{.*}$/s.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=O(c,((e,t)=>a(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),u);if(e)return[c.rawName,'="',n(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return p(c,a)}}t.exports=I}}),Wi=b({"src/language-html/print/children.js"(e,t){A();var{builders:{breakParent:r,group:n,ifBreak:i,line:s,softline:o,hardline:a},utils:{replaceTextEndOfLine:u}}=H(),{locStart:l,locEnd:c}=Mi(),{forceBreakChildren:p,forceNextEmptyLine:h,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=Pi(),{printOpeningTagPrefix:y,needsToBorrowNextOpeningTagStartMarker:g,printOpeningTagStartMarker:v,needsToBorrowPrevClosingTagEndMarker:D,printClosingTagEndMarker:b,printClosingTagSuffix:E,needsToBorrowParentClosingTagStartMarker:x}=Ri();function C(e,t,r){let n=e.getValue();return f(n)?[y(n,t),...u(t.originalText.slice(l(n)+(n.prev&&g(n.prev)?v(n).length:0),c(n)-(n.next&&D(n.next)?b(n,t).length:0))),E(n,t)]:r()}function w(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?a:s:"":m(t)?a:o:g(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&D(t)?"":!t.isLeadingSpaceSensitive||m(t)||D(t)&&e.lastChild&&x(e.lastChild)&&e.lastChild.lastChild&&x(e.lastChild.lastChild)?a:t.hasLeadingSpaces?s:o}function S(e,t,s){let u=e.getValue();if(p(u))return[r,...e.map((e=>{let r=e.getValue(),n=r.prev?w(r.prev,r):"";return[n?[n,h(r.prev)?a:""]:"",C(e,t,s)]}),"children")];let l=u.children.map((()=>Symbol("")));return e.map(((e,r)=>{let u=e.getValue();if(d(u)){if(u.prev&&d(u.prev)){let r=w(u.prev,u);if(r)return h(u.prev)?[a,a,C(e,t,s)]:[r,C(e,t,s)]}return C(e,t,s)}let c=[],p=[],f=[],m=[],y=u.prev?w(u.prev,u):"",g=u.next?w(u,u.next):"";return y&&(h(u.prev)?c.push(a,a):y===a?c.push(a):d(u.prev)?p.push(y):p.push(i("",o,{groupId:l[r-1]}))),g&&(h(u)?d(u.next)&&m.push(a,a):g===a?d(u.next)&&m.push(a):f.push(g)),[...c,n([...p,n([C(e,t,s),...f],{id:l[r]})]),...m]}),"children")}t.exports={printChildren:S}}}),Gi=b({"src/language-html/print/element.js"(e,t){A();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:s,indentIfBreak:o,indent:a,line:u,softline:l},utils:{replaceTextEndOfLine:c}}=H(),p=qi(),{shouldPreserveContent:h,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:y}=Pi(),{printOpeningTagPrefix:g,printOpeningTag:v,printClosingTagSuffix:D,printClosingTag:b,needsToBorrowPrevClosingTagEndMarker:E,needsToBorrowLastChildClosingTagEndMarker:x}=Ri(),{printChildren:C}=Wi();function w(e,t,w){let A=e.getValue();if(h(A,t))return[g(A,t),i(v(e,t,w)),...c(p(A,t)),...b(A,t),D(A,t)];let S=1===A.children.length&&"interpolation"===A.firstChild.type&&A.firstChild.isLeadingSpaceSensitive&&!A.firstChild.hasLeadingSpaces&&A.lastChild.isTrailingSpaceSensitive&&!A.lastChild.hasTrailingSpaces,T=Symbol("element-attr-group-id"),F=r=>i([i(v(e,t,w),{id:T}),r,b(A,t)]),k=e=>S?o(e,{groupId:T}):!d(A)&&!f(A,t)||"root"!==A.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?a(e):e,P=()=>S?s(l,"",{groupId:T}):A.firstChild.hasLeadingSpaces&&A.firstChild.isLeadingSpaceSensitive?u:"text"===A.firstChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive?n(l):l,N=()=>(A.next?E(A.next):x(A.parent))?A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?" ":"":S?s(l,"",{groupId:T}):A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?u:("comment"===A.lastChild.type||"text"===A.lastChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(A.lastChild.value)?"":l;return 0===A.children.length?F(A.hasDanglingSpaces&&A.isDanglingSpaceSensitive?u:""):F([y(A)?r:"",k([P(),C(e,t,w)]),N()])}t.exports={printElement:w}}}),Hi=b({"src/language-html/printer-html.js"(e,t){A();var{builders:{fill:r,group:n,hardline:i,literalline:s},utils:{cleanDoc:o,getDocParts:a,isConcat:u,replaceTextEndOfLine:l}}=H(),c=Ti(),{countChars:p,unescapeQuoteEntities:h,getTextValueParts:d}=Pi(),f=ji(),{insertPragma:m}=Li(),{locStart:y,locEnd:g}=Mi(),v=zi(),{printClosingTagSuffix:D,printClosingTagEnd:b,printOpeningTagPrefix:E,printOpeningTagStart:x}=Ri(),{printElement:C}=Gi(),{printChildren:w}=Wi();function S(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return l(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[n(w(e,t,c)),i];case"element":case"ieConditionalComment":return C(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[x(f),b(f)];case"interpolation":return[x(f,t),...e.map(c,"children"),b(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),r=t?f.value.replace(e,""):f.value;return[...l(r),t?i:""]}let e=o([E(f,t),...d(f),D(f,t)]);return u(e)||"fill"===e.type?r(a(e)):e}case"docType":return[n([x(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),b(f,t)];case"comment":return[E(f,t),...l(t.originalText.slice(y(f),g(f)),s),D(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=h(f.value),t=p(e,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Qi(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Qi(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Ki(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],a={html:n};t.exports={languages:o,printers:a,options:i,parsers:s}}}),Zi=b({"src/language-yaml/pragma.js"(e,t){function r(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function n(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function i(e){return`# @format\n\n${e}`}A(),t.exports={isPragma:r,hasPragma:n,insertPragma:i}}}),es=b({"src/language-yaml/loc.js"(e,t){function r(e){return e.position.start.offset}function n(e){return e.position.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),ts=b({"src/language-yaml/embed.js"(e,t){function r(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}A(),t.exports=r}}),rs=b({"src/language-yaml/utils.js"(e,t){A();var{getLast:r,isNonEmptyArray:n}=ye();function i(e,t){let r=0,n=e.stack.length-1;for(let i=0;io(r,t,e)))}):e,r)}function a(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})}function u(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?i.map((e=>0===e.length?[]:[e])):i.map((e=>0===e.length?[]:b(e))).reduce(((t,n,s)=>0!==s&&i[s-1].length>0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))}function x(e,t){let n,{parentIndent:i,isLastDescendant:s,options:o}=t,a=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=a.match(/^(? *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let u=a.split("\n").map((e=>e.slice(n)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?l(u.map((e=>0===e.length?[]:[e]))):l(u.map((e=>0===e.length?[]:b(e))).reduce(((e,t,n)=>0!==n&&u[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===o.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!s?t.slice(0,-(n-1)):t.slice(0,-n)}}function C(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}t.exports={getLast:r,getAncestorCount:i,isNode:s,isEmptyNode:d,isInlineNode:C,mapNode:o,defineShortcut:a,isNextLineEmpty:u,isLastDescendantNode:l,getBlockValueLineContents:x,getFlowScalarLineContents:E,getLastDescendantNode:c,hasPrettierIgnore:h,hasLeadingComments:m,hasMiddleComments:y,hasIndicatorComment:g,hasTrailingComment:v,hasEndComments:D}}}),ns=b({"src/language-yaml/print-preprocess.js"(e,t){A();var{defineShortcut:r,mapNode:n}=rs();function i(e){return n(e,s)}function s(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=i}}),is=b({"src/language-yaml/print/misc.js"(e,t){A();var{builders:{softline:r,align:n}}=H(),{hasEndComments:i,isNextLineEmpty:s,isNode:o}=rs(),a=new WeakMap;function u(e,t){let n,i=e.getValue(),o=e.stack[0];return a.has(o)?n=a.get(o):(n=new Set,a.set(o,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!s(i,t)||l(e.getParentNode()))?"":r}function l(e){return i(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}function c(e,t){return n(" ".repeat(e),t)}t.exports={alignWithSpaces:c,shouldPrintEndComments:l,printNextEmptyLine:u}}}),ss=b({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){A();var{builders:{ifBreak:r,line:n,softline:i,hardline:s,join:o}}=H(),{isEmptyNode:a,getLast:u,hasEndComments:l}=rs(),{printNextEmptyLine:c,alignWithSpaces:p}=is();function h(e,t,c){let h=e.getValue(),f="flowMapping"===h.type,m=f?"{":"[",y=f?"}":"]",g=i;f&&h.children.length>0&&c.bracketSpacing&&(g=n);let v=u(h.children),D=v&&"flowMappingItem"===v.type&&a(v.key)&&a(v.value);return[m,p(c.tabWidth,[g,d(e,t,c),"none"===c.trailingComma?"":r(","),l(h)?[s,o(s,e.map(t,"endComments"))]:""]),D?"":g,y]}function d(e,t,r){let i=e.getValue();return e.map(((e,s)=>[t(),s===i.children.length-1?"":[",",n,i.children[s].position.start.line!==i.children[s+1].position.start.line?c(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:h,printFlowSequence:h}}}),os=b({"src/language-yaml/print/mapping-item.js"(e,t){A();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:s,join:o,line:a}}=H(),{hasLeadingComments:u,hasMiddleComments:l,hasTrailingComment:c,hasEndComments:p,isNode:h,isEmptyNode:d,isInlineNode:f}=rs(),{alignWithSpaces:m}=is();function y(e,t,y,b,E){let{key:x,value:C}=e,w=d(x),A=d(C);if(w&&A)return": ";let S=b("key"),T=v(e)?" ":"";if(A)return"flowMappingItem"===e.type&&"flowMapping"===t.type?S:"mappingItem"!==e.type||!g(x.content,E)||c(x.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,S)]:[S,T,":"];let F=b("value");if(w)return[": ",m(2,F)];if(u(C)||!f(x.content))return["? ",m(2,S),i,o("",y.map(b,"value","leadingComments").map((e=>[e,i]))),": ",m(2,F)];if(D(x.content)&&!u(x.content)&&!l(x.content)&&!c(x.content)&&!p(x)&&!u(C.content)&&!l(C.content)&&!p(C)&&g(C.content,E))return[S,T,": ",F];let k=Symbol("mappingKey"),P=n([s("? "),n(m(2,S),{id:k})]),N=[i,": ",m(2,F)],_=[T,":"];u(C.content)||p(C)&&C.content&&!h(C.content,["mapping","sequence"])||"mapping"===t.type&&c(x.content)&&f(C.content)||h(C.content,["mapping","sequence"])&&null===C.content.tag&&null===C.content.anchor?_.push(i):C.content&&_.push(a),_.push(F);let O=m(E.tabWidth,_);return!g(x.content,E)||u(x.content)||l(x.content)||p(x)?r([[P,s(N,O,{groupId:k})]]):r([[S,O]])}function g(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function v(e){return e.key.content&&"alias"===e.key.content.type}function D(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}t.exports=y}}),as=b({"src/language-yaml/print/block.js"(e,t){A();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:s,join:o,line:a,literalline:u,markAsRoot:l},utils:{getDocParts:c}}=H(),{getAncestorCount:p,getBlockValueLineContents:h,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=rs(),{alignWithSpaces:y}=is();function g(e,t,g){let v=e.getValue(),D=p(e,(e=>m(e,["sequence","mapping"]))),b=f(e),E=["blockFolded"===v.type?">":"|"];null!==v.indent&&E.push(v.indent.toString()),"clip"!==v.chomping&&E.push("keep"===v.chomping?"+":"-"),d(v)&&E.push(" ",t("indicatorComment"));let x=h(v,{parentIndent:D,isLastDescendant:b,options:g}),C=[];for(let[r,p]of x.entries())0===r&&C.push(s),C.push(i(c(o(a,p)))),r!==x.length-1?C.push(0===p.length?s:l(u)):"keep"===v.chomping&&b&&C.push(n(0===p.length?s:u));return null===v.indent?E.push(r(y(g.tabWidth,C))):E.push(n(y(v.indent-1+D,C))),E}t.exports=g}}),us=b({"src/language-yaml/printer-yaml.js"(e,t){A();var{builders:{breakParent:r,fill:n,group:i,hardline:s,join:o,line:a,lineSuffix:u,literalline:l},utils:{getDocParts:c,replaceTextEndOfLine:p}}=H(),{isPreviousLineEmpty:h}=ye(),{insertPragma:d,isPragma:f}=Zi(),{locStart:m}=es(),y=ts(),{getFlowScalarLineContents:g,getLastDescendantNode:v,hasLeadingComments:D,hasMiddleComments:b,hasTrailingComment:E,hasEndComments:x,hasPrettierIgnore:C,isLastDescendantNode:w,isNode:S,isInlineNode:T}=rs(),F=ns(),{alignWithSpaces:k,printNextEmptyLine:P,shouldPrintEndComments:N}=is(),{printFlowMapping:_,printFlowSequence:O}=ss(),I=os(),B=as();function j(e,t,n){let a=e.getValue(),c=[];"mappingValue"!==a.type&&D(a)&&c.push([o(s,e.map(n,"leadingComments")),s]);let{tag:d,anchor:f}=a;d&&c.push(n("tag")),d&&f&&c.push(" "),f&&c.push(n("anchor"));let y="";S(a,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!w(e)&&(y=P(e,t.originalText)),(d||f)&&(S(a,["sequence","mapping"])&&!b(a)?c.push(s):c.push(" ")),b(a)&&c.push([1===a.middleComments.length?"":s,o(s,e.map(n,"middleComments")),s]);let g=e.getParentNode();return C(e)?c.push(p(t.originalText.slice(a.position.start.offset,a.position.end.offset).trimEnd(),l)):c.push(i(L(a,g,e,t,n))),E(a)&&!S(a,["document","documentHead"])&&c.push(u(["mappingValue"!==a.type||a.content?" ":"","mappingKey"===g.type&&"mapping"===e.getParentNode(2).type&&T(a)?"":r,n("trailingComment")])),N(a)&&c.push(k("sequenceItem"===a.type?2:0,[s,o(s,e.map((e=>[h(t.originalText,e.getValue(),m)?s:"",n()]),"endComments"))])),c.push(y),c}function L(e,t,r,n,i){switch(e.type){case"root":{let{children:t}=e,n=[];r.each(((e,r)=>{let o=t[r],a=t[r+1];0!==r&&n.push(s),n.push(i()),R(o,a)?(n.push(s,"..."),E(o)&&n.push(" ",i("trailingComment"))):a&&!E(a.head)&&n.push(s,"---")}),"children");let o=v(e);return(!S(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&n.push(s),n}case"document":{let a=[];return"head"===$(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&a.push(i("head")),E(e.head)?a.push(["---"," ",i(["head","trailingComment"])]):a.push("---")),M(e)&&a.push(i("body")),o(s,a)}case"documentHead":return o(s,[...r.map(i,"children"),...r.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,a="";if(t.length>0&&n.length>0){let t=v(e);S(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(a=[s,s]):a=s}return[o(s,r.map(i,"children")),a,o(s,r.map(i,"endComments"))]}case"directive":return["%",o(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return V(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t="'",r='"',i=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let s="quoteDouble"===e.type?r:t;return[s,V(e.type,i,n),s]}if(i.includes(r))return[t,V(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,V(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let s=n.singleQuote?t:r;return[s,V(e.type,i,n),s]}case"blockFolded":case"blockLiteral":return B(r,i,n);case"mapping":case"sequence":return o(s,r.map(i,"children"));case"sequenceItem":return["- ",k(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return I(e,t,r,i,n);case"flowMapping":return _(r,i,n);case"flowSequence":return O(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error(`Unexpected node type ${e.type}`)}}function M(e){return e.body.children.length>0||x(e.body)}function R(e,t){return E(e)||t&&(t.head.children.length>0||x(t.head))}function $(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||x(e.head)||E(e.head)?"head":!R(e,t)&&!!t&&"root"}function V(e,t,r){let i=g(e,t,r);return o(s,i.map((e=>n(c(o(a,e))))))}function U(e,t){if(S(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}}t.exports={preprocess:F,embed:y,print:j,massageAstNode:U,insertPragma:d}}}),ls=b({"src/language-yaml/options.js"(e,t){A();var r=Cn();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),cs=b({"src/language-yaml/parsers.js"(){A()}}),ps=b({"node_modules/linguist-languages/data/YAML.json"(e,t){t.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),hs=b({"src/language-yaml/index.js"(e,t){A();var r=tr(),n=us(),i=ls(),s=cs(),o=[r(ps(),(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc",".lintstagedrc"]})))];t.exports={languages:o,printers:{yaml:n},options:i,parsers:s}}}),ds=b({"src/languages.js"(e,t){A(),t.exports=[_n(),Yn(),oi(),di(),Si(),Yi(),hs()]}});A();var{version:fs}=S(),ms=Zt(),{getSupportInfo:ys}=le(),gs=er(),vs=ds(),Ds=H();function bs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),i=0;iEs(e,t).formatted,check(e,t){let{formatted:r}=Es(e,t);return r===e},doc:Ds,getSupportInfo:bs(ys,0),version:fs,util:gs,__debug:{parse:bs(ms.parse),formatAST:bs(ms.formatAST),formatDoc:bs(ms.formatDoc),printToDoc:bs(ms.printToDoc),printDocToString:bs(ms.printDocToString)}}}));return ze()}()},1686:function(e,t,r){"use strict";r.d(t,{q7V:function(){return h},D27:function(){return d},bge:function(){return p}});var n=r(7294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n.createContext&&n.createContext(i),o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof k?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){E.RI.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof k;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!E.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){(0,l.Yk)(e)&&(t[e.__ref]=!0),(0,g.s)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,g.s)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),S=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.dP)():null,this.keyMaker=new b.B(p.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(T(e,t));var r=(0,E.E_)(t);r!==t&&this.d(T(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(T(e,t),"__exists"===t?"forget":"setDirty")},e}();function T(e,t){return t+"#"+e}function F(e,t){_(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,s=t.seed,o=e.call(this,r,new S(i))||this;return o.stump=new P(o),o.storageTrie=new b.B(p.mr),s&&o.replace(s),o}return(0,n.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(A||(A={}));var k=function(e){function t(t,r,n,i){var s=e.call(this,r.policies,i)||this;return s.id=t,s.parent=r,s.replay=n,s.group=i,n(s),s}return(0,n.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,o.D)(n[r],i[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.pi)((0,n.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return E.RI.call(this.data,t)?(0,n.pi)((0,n.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(A),P=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new S(t.group.caching,t.group))||this}return(0,n.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(k);function N(e,t,r){var n=e[r],i=t[r];return(0,o.D)(n,i)?n:i}function _(e){return!!(e instanceof A&&e.group.caching)}var O=r(900);function I(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var B=function(){function e(e){var t=this;this.knownResults=new(p.mr?WeakMap:Map),this.config=(0,h.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,E.lg)(e)}),this.canon=e.canon||new O.h,this.executeSelectionSet=(0,s.re)((function(e){var r,i=e.context.canonizeResults,s=I(e);s[3]=!i;var o=(r=t.executeSelectionSet).peek.apply(r,s);return o?i?(0,n.pi)((0,n.pi)({},o),{result:t.canon.admit(o.result)}):o:(F(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:I,makeCacheKey:function(e,t,r,n){if(_(r.store))return r.store.makeCacheKey(e,(0,l.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,s.re)((function(e){return F(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(_(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new O.h},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,s=void 0===i?"ROOT_QUERY":i,o=e.variables,a=e.returnPartialData,c=void 0===a||a,p=e.canonizeResults,h=void 0===p?this.config.canonizeResults:p,m=this.config.cache.policies;o=(0,n.pi)((0,n.pi)({},(0,d.O4)((0,d.iW)(r))),o);var y,g=(0,l.kQ)(s),v=this.executeSelectionSet({selectionSet:(0,d.p$)(r).selectionSet,objectOrReference:g,enclosingRef:g,context:{store:t,query:r,policies:m,variables:o,varString:(0,O.B)(o),canonizeResults:h,fragmentMap:(0,f.F)((0,d.kU)(r))}});if(v.missing&&(y=[new u.y(j(v.missing),v.missing,r,o)],!c))throw y[0];return{result:v.result,complete:!y,missing:y}},e.prototype.isFresh=function(e,t,r,n){if(_(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,i=e.enclosingRef,s=e.context;if((0,l.Yk)(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var o,a=s.variables,u=s.policies,p=s.store.getFieldValue(n,"__typename"),h=[],d=new m.w0;function g(e,t){var r;return e.missing&&(o=d.merge(o,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"===typeof p&&!u.rootIdsByTypename[p]&&h.push({__typename:p});var v=new Set(r.selections);v.forEach((function(e){var r,m;if((0,y.LZ)(e,a))if((0,l.My)(e)){var D=u.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),b=(0,l.u2)(e);void 0===D?c.Gw.added(e)||(o=d.merge(o,((r={})[b]="Can't find field '".concat(e.name.value,"' on ").concat((0,l.Yk)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,E.kJ)(D)?D=g(t.executeSubSelectedArray({field:e,array:D,enclosingRef:i,context:s}),b):e.selectionSet?null!=D&&(D=g(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:D,enclosingRef:(0,l.Yk)(D)?D:i,context:s}),b)):s.canonizeResults&&(D=t.canon.pass(D)),void 0!==D&&h.push(((m={})[b]=D,m))}else{var x=(0,f.hi)(e,s.fragmentMap);x&&u.fragmentMatches(x,p)&&x.selectionSet.selections.forEach(v.add,v)}}));var b={result:(0,m.bw)(h),missing:o},x=s.canonizeResults?this.canon.admit(b):D(b);return x.result&&this.knownResults.set(x.result,r),x},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,s=e.array,o=e.enclosingRef,a=e.context,u=new m.w0;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(s=s.filter(a.store.canRead)),s=s.map((function(e,t){return null===e?null:(0,E.kJ)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,l.Yk)(e)?e:o,context:a}),t):(__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){(0,g.s)(r)&&(__DEV__?(0,i.kG)(!(0,l.Yk)(r),"Missing selection set for object of type ".concat((0,E.jp)(e,r)," returned for query field ").concat(t.name.value)):(0,i.kG)(!(0,l.Yk)(r),5),Object.values(r).forEach(n.add,n))}))}}(a.store,n,e),e)})),{result:a.canonizeResults?this.canon.admit(s):s,missing:t}},e}();function j(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var L=r(9487),M=r(1436),R=r(897);var $=r(5983),V=Object.create(null);function U(e){var t=JSON.stringify(e);return V[t]||(V[t]=Object.create(null))}function q(e){var t=U(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},s=r.keyObject=W(e,(function(e){var s=J(r.storeObject,e,n);return void 0===s&&t!==r.storeObject&&E.RI.call(t,e[0])&&(s=J(t,e,H)),__DEV__?(0,i.kG)(void 0!==s,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,i.kG)(void 0!==s,2),s}));return"".concat(r.typename,":").concat(JSON.stringify(s))})}function z(e){var t=U(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,s=r.fieldName,o=W(e,(function(e){var r=e[0],s=r.charAt(0);if("@"!==s)if("$"!==s){if(t)return J(t,e)}else{var o=r.slice(1);if(i&&E.RI.call(i,o)){var a=e.slice(0);return a[0]=o,J(i,a)}}else if(n&&(0,M.O)(n.directives)){var u=r.slice(1),c=n.directives.find((function(e){return e.name.value===u})),p=c&&(0,l.NC)(c,i);return p&&J(p,e.slice(1))}})),a=JSON.stringify(o);return(t||"{}"!==a)&&(s+=":"+a),s})}function W(e,t){var r=new m.w0;return G(e).reduce((function(e,n){var i,s=t(n);if(void 0!==s){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=s,s=i;e=r.merge(e,s)}return e}),Object.create(null))}function G(e){var t=U(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,i){(0,E.kJ)(t)?(G(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),(0,E.kJ)(e[i+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function H(e,t){return e[t]}function J(e,t,r){return r=r||H,X(t.reduce((function e(t,n){return(0,E.kJ)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function X(e){return(0,g.s)(e)?(0,E.kJ)(e)?e.map(X):W(Object.keys(e).sort(),(function(t){return J(e,t)})):e}function Q(e){return void 0!==e.args?e.args:e.field?(0,l.NC)(e.field,e.variables):null}l.PT.setStringify(O.B);var K=function(){},Y=function(e,t){return t.fieldName},Z=function(e,t,r){return(0,r.mergeObjects)(e,t)},ee=function(e,t){return t},te=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.pi)({dataIdFromObject:E.uG},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,s=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o,a=t&&t.storeObject||e,u=(0,n.pi)((0,n.pi)({},t),{typename:s,storeObject:a,readField:t&&t.readField||function(){var e=ne(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),l=s&&this.getTypePolicy(s),c=l&&l.keyFn||this.config.dataIdFromObject;c;){var p=c(e,u);if(!(0,E.kJ)(p)){o=p;break}c=q(p)}return o=o?String(o):void 0,u.keyObject?[o,u.keyObject]:[o]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var i=e[r],s=i.queryType,o=i.mutationType,a=i.subscriptionType,u=(0,n._T)(i,["queryType","mutationType","subscriptionType"]);s&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),E.RI.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,s=t.fields;function o(e,t){e.merge="function"===typeof t?t:!0===t?Z:!1===t?ee:e.merge}o(n,t.merge),n.keyFn=!1===i?K:(0,E.kJ)(i)?q(i):"function"===typeof i?i:n.keyFn,s&&Object.keys(s).forEach((function(t){var n=r.getFieldPolicy(e,t,!0),i=s[t];if("function"===typeof i)n.read=i;else{var a=i.keyArgs,u=i.read,l=i.merge;n.keyFn=!1===a?Y:(0,E.kJ)(a)?z(a):"function"===typeof a?a:n.keyFn,"function"===typeof u&&(n.read=u),o(n,l)}n.read&&n.merge&&(n.keyFn=n.keyFn||Y)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(__DEV__?(0,i.kG)(!n||n===e,"Cannot change root ".concat(e," __typename more than once")):(0,i.kG)(!n||n===e,3),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(E.$O);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!E.RI.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),s=i.fields,o=(0,n._T)(i,["fields"]);Object.assign(r,o),Object.assign(r.fields,s)}))}var s=this.toBeAdded[e];return s&&s.length&&s.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var s=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),u=[a],l=function(e){var t=s.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},c=!(!r||!this.fuzzySubtypes.size),p=!1,h=0;h1?a:t}:(s=(0,n.pi)({},o),E.RI.call(s,"from")||(s.from=t)),__DEV__&&void 0===s.from&&__DEV__&&i.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function(e){var t=(0,R.X)("stringifyForDisplay");return JSON.stringify(e,(function(e,r){return void 0===r?t:r})).split(JSON.stringify(t)).join("")}(Array.from(e)))),void 0===s.variables&&(s.variables=r),s}function ie(e){return function(t,r){if((0,E.kJ)(t)||(0,E.kJ)(r))throw __DEV__?new i.ej("Cannot automatically merge arrays"):new i.ej(4);if((0,g.s)(t)&&(0,g.s)(r)){var s=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(s&&o&&s!==o)return r;if((0,l.Yk)(t)&&(0,E.j)(r))return e.merge(t.__ref,r),t;if((0,E.j)(t)&&(0,l.Yk)(r))return e.merge(t,r.__ref),r;if((0,E.j)(t)&&(0,E.j)(r))return(0,n.pi)((0,n.pi)({},t),r)}return r}}function se(e,t,r){var i="".concat(t).concat(r),s=e.flavors.get(i);return s||e.flavors.set(i,s=e.clientOnly===t&&e.deferred===r?e:(0,n.pi)((0,n.pi)({},e),{clientOnly:t,deferred:r})),s}var oe=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var r=this,s=t.query,a=t.result,u=t.dataId,c=t.variables,p=t.overwrite,h=(0,d.$H)(s),m=(0,E.ig)();c=(0,n.pi)((0,n.pi)({},(0,d.O4)(h)),c);var y={store:e,written:Object.create(null),merge:function(e,t){return m.merge(e,t)},variables:c,varString:(0,O.B)(c),fragmentMap:(0,f.F)((0,d.kU)(s)),overwrite:!!p,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},g=this.processSelectionSet({result:a||Object.create(null),dataId:u,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:y});if(!(0,l.Yk)(g))throw __DEV__?new i.ej("Could not identify object ".concat(JSON.stringify(a))):new i.ej(6);return y.incomingById.forEach((function(t,n){var s=t.storeObject,a=t.mergeTree,u=t.fieldNodeSet,c=(0,l.kQ)(n);if(a&&a.map.size){var p=r.applyMerges(a,c,s,y);if((0,l.Yk)(p))return;s=p}if(__DEV__&&!y.overwrite){var h=Object.create(null);u.forEach((function(e){e.selectionSet&&(h[e.name.value]=!0)}));Object.keys(s).forEach((function(e){(function(e){return!0===h[(0,E.E_)(e)]})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var s=function(e){var t=n.getFieldValue(e,r);return"object"===typeof t&&t},a=s(e);if(!a)return;var u=s(t);if(!u)return;if((0,l.Yk)(a))return;if((0,o.D)(a,u))return;if(Object.keys(a).every((function(e){return void 0!==n.getFieldValue(u,e)})))return;var c=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),p=(0,E.E_)(r),h="".concat(c,".").concat(p);if(he.has(h))return;he.add(h);var d=[];(0,E.kJ)(a)||(0,E.kJ)(u)||[a,u].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!==typeof t||d.includes(t)||d.push(t)}));__DEV__&&i.kG.warn("Cache data may be lost when replacing the ".concat(p," field of a ").concat(c," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(h," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(a).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(u).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(c,s,e,y.store)}))}e.merge(n,s)})),e.retain(g.__ref),g},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,s=e.result,o=e.selectionSet,a=e.context,u=e.mergeTree,p=this.cache.policies,h=Object.create(null),d=r&&p.rootTypenamesById[r]||(0,l.qw)(s,o,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"===typeof d&&(h.__typename=d);var f=function(){var e=ne(arguments,h,a.variables);if((0,l.Yk)(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=p.readField((0,n.pi)((0,n.pi)({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return p.readField(e,a)},m=new Set;this.flattenFields(o,s,a,d).forEach((function(e,r){var n,o=(0,l.u2)(r),a=s[o];if(m.add(r),void 0!==a){var y=p.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),g=ue(u,y),v=t.processFieldValue(a,r,r.selectionSet?se(e,!1,!1):e,g),D=void 0;r.selectionSet&&((0,l.Yk)(v)||(0,E.j)(v))&&(D=f("__typename",v));var b=p.getMergeFunction(d,r.name.value,D);b?g.info={field:r,typename:d,merge:b}:pe(u,y),h=e.merge(h,((n={})[y]=v,n))}else!__DEV__||e.clientOnly||e.deferred||c.Gw.added(r)||p.getReadFunction(d,r.name.value)||__DEV__&&i.kG.error("Missing field '".concat((0,l.u2)(r),"' while writing result ").concat(JSON.stringify(s,null,2)).substring(0,1e3))}));try{var y=p.identify(s,{typename:d,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:h,readField:f}),g=y[0],v=y[1];r=r||g,v&&(h=a.merge(h,v))}catch(C){if(!r)throw C}if("string"===typeof r){var D=(0,l.kQ)(r),b=a.written[r]||(a.written[r]=[]);if(b.indexOf(o)>=0)return D;if(b.push(o),this.reader&&this.reader.isFresh(s,D,o,a))return D;var x=a.incomingById.get(r);return x?(x.storeObject=a.merge(x.storeObject,h),x.mergeTree=le(x.mergeTree,u),m.forEach((function(e){return x.fieldNodeSet.add(e)}))):a.incomingById.set(r,{storeObject:h,mergeTree:ce(u)?void 0:u,fieldNodeSet:m}),D}return h},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,E.kJ)(e)?e.map((function(e,s){var o=i.processFieldValue(e,t,r,ue(n,s));return pe(n,s),o})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):__DEV__?(0,L.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,l.qw)(t,e,r.fragmentMap));var i=new Map,s=this.cache.policies,o=new b.B(!1);return function e(a,u){var c=o.lookup(a,u.clientOnly,u.deferred);c.visited||(c.visited=!0,a.selections.forEach((function(o){if((0,y.LZ)(o,r.variables)){var a=u.clientOnly,c=u.deferred;if(a&&c||!(0,M.O)(o.directives)||o.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(a=!0),"defer"===t){var n=(0,l.NC)(e,r.variables);n&&!1===n.if||(c=!0)}})),(0,l.My)(o)){var p=i.get(o);p&&(a=a&&p.clientOnly,c=c&&p.deferred),i.set(o,se(r,a,c))}else{var h=(0,f.hi)(o,r.fragmentMap);h&&s.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,se(r,a,c))}}})))}(e,r),i},e.prototype.applyMerges=function(e,t,r,s,o){var a,u=this;if(e.map.size&&!(0,l.Yk)(r)){var c,p=(0,E.kJ)(r)||!(0,l.Yk)(t)&&!(0,E.j)(t)?void 0:t,h=r;p&&!o&&(o=[(0,l.Yk)(p)?p.__ref:p]);var d=function(e,t){return(0,E.kJ)(e)?"number"===typeof t?e[t]:void 0:s.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=d(p,t),n=d(h,t);if(void 0!==n){o&&o.push(t);var a=u.applyMerges(e,r,n,s,o);a!==n&&(c=c||new Map).set(t,a),o&&(0,i.kG)(o.pop()===t)}})),c&&(r=(0,E.kJ)(h)?h.slice(0):(0,n.pi)({},h),c.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,s,o&&(a=s.store).getStorage.apply(a,o)):r},e}(),ae=[];function ue(e,t){var r=e.map;return r.has(t)||r.set(t,ae.pop()||{map:new Map}),r.get(t)}function le(e,t){if(e===t||!t||ce(t))return e;if(!e||ce(e))return t;var r=e.info&&t.info?(0,n.pi)((0,n.pi)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,s={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var o=new Set(t.map.keys());e.map.forEach((function(e,r){s.map.set(r,le(e,t.map.get(r))),o.delete(r)})),o.forEach((function(r){s.map.set(r,le(t.map.get(r),e.map.get(r)))}))}return s}function ce(e){return!e||!(e.info||e.map.size)}function pe(e,t){var r=e.map,n=r.get(t);n&&ce(n)&&(ae.push(n),r.delete(t))}var he=new Set;var de=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=$.QS,r.txCount=0,r.config=(0,E.jS)(t),r.addTypename=!!r.config.addTypename,r.policies=new te({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.ZT)(t,e),t.prototype.init=function(){var e=this.data=new A.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader;this.storeWriter=new oe(this,this.storeReader=new B({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,E.lg)(this.config),canon:e?void 0:r&&r.canon})),this.maybeBroadcastWatch=(0,s.re)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(_(r)){var n=e.optimistic,i=e.rootId,s=e.variables;return r.makeCacheKey(e.query,e.callback,(0,O.B)({optimistic:n,rootId:i,variables:s}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(i){if(i instanceof u.y)return null;throw i}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(E.RI.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,$._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,$.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){O.B.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,l.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){__DEV__&&i.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(E.RI.call(e,"id"))return!1;e=(0,n.pi)((0,n.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),O.B.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,$.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,s=e.optimistic,o=void 0===s||s,a=e.removeOptimistic,u=e.onWatchUpdated,l=function(e){var n=r,s=n.data,o=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=s,r.optimisticData=o}},c=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"===typeof o?this.optimisticData=this.optimisticData.addLayer(o,l):!1===o?l(this.data):l(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),u&&c.size?(this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=(0,c.Gw)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"===typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,o.D)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(a.R)},900:function(e,t,r){"use strict";r.d(t,{B:function(){return p},h:function(){return c}});var n=r(7582),i=(r(8964),r(657)),s=r(3154),o=r(320),a=r(9641);var u,l,c=function(){function e(){this.known=new(o.sy?WeakSet:Set),this.pool=new i.B(o.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.s)(e)){var t=function(e){return(0,s.s)(e)?(0,a.kJ)(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,s.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(u=this.pool.lookupArray(n)).array||(this.known.add(u.array=n),__DEV__&&Object.freeze(n)),u.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],a=this.sortedKeys(e);o.push(a.json);var u,l=o.length;if(a.sorted.forEach((function(r){o.push(t.admit(e[r]))})),!(u=this.pool.lookupArray(o)).object){var c=u.object=Object.create(i);this.known.add(c),a.sorted.forEach((function(e,t){c[e]=o[l+t]})),__DEV__&&Object.freeze(c)}return u.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),p=Object.assign((function(e){if((0,s.s)(e)){void 0===u&&h();var t=u.admit(e),r=l.get(t);return void 0===r&&l.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:h});function h(){u=new c,l=new(o.mr?WeakMap:Map)}},5983:function(e,t,r){"use strict";r.d(t,{ab:function(){return c},li:function(){return d},QS:function(){return m},_v:function(){return f}});var n=r(1952),i=null,s={},o=1,a="@wry/context:Slot",u=Array,l=u[a]||function(){var e=function(){function e(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=i;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===s)break;return e!==i&&(i.slots[this.id]=t),!0}return i&&(i.slots[this.id]=s),!1},e.prototype.getValue=function(){if(this.hasValue())return i.slots[this.id]},e.prototype.withValue=function(e,t,r,n){var s,o=((s={__proto__:null})[this.id]=e,s),a=i;i={parent:a,slots:o};try{return t.apply(n,r)}finally{i=a}},e.bind=function(e){var t=i;return function(){var r=i;try{return i=t,e.apply(this,arguments)}finally{i=r}}},e.noContext=function(e,t,r){if(!i)return e.apply(r,t);var n=i;try{return i=null,e.apply(r,t)}finally{i=n}},e}();try{Object.defineProperty(u,a,{value:u[a]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();l.bind,l.noContext;var c=new l,p=new WeakMap;function h(e){var t=p.get(e);return t||p.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function d(e){h(e).vars.forEach((function(t){return t.forgetCache(e)}))}function f(e){h(e).vars.forEach((function(t){return t.attachCache(e)}))}function m(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){h(e).dep.dirty(n),y(e)}));var o=Array.from(r);r.clear(),o.forEach((function(t){return t(e)}))}}else{var a=c.getValue();a&&(i(a),h(a).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),h(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}function y(e){e.broadcastWatches&&e.broadcastWatches()}},8291:function(e,t,r){"use strict";r.d(t,{f:function(){return U}});var n=r(7582),i=r(8964),s=r(8702),o=r(7037),a=r(2198),u=r(20),l=r(900),c=r(320),p=r(8216);function h(e,t,r){return new p.y((function(n){var i=n.next,s=n.error,o=n.complete,a=0,u=!1,l={then:function(e){return new Promise((function(t){return t(e())}))}};function c(e,t){return e?function(t){++a;var r=function(){return e(t)};l=l.then(r,r).then((function(e){--a,i&&i.call(n,e),u&&p.complete()}),(function(e){throw--a,e})).catch((function(e){s&&s.call(n,e)}))}:function(e){return t&&t.call(n,e)}}var p={next:c(t,i),error:c(r,s),complete:function(){u=!0,a||o&&o.call(n)}},h=e.subscribe(p);return function(){return h.unsubscribe()}}))}function d(e){return e.errors&&e.errors.length>0||!1}var f=r(6765),m=r(6982),y=r(9065),g=r(1761),v=r(3154),D=r(897),b=r(8263),E=r(6403);function x(e){return e&&"function"===typeof e.then}var C=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.addCount=0,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],(0,b.p)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest=["error",e],r.reject(e),(0,b.p)(r.observers,"error",e))},complete:function(){var e=r.sub;if(null!==e){var t=r.sources.shift();t?x(t)?t.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=t.subscribe(r.handlers):(e&&setTimeout((function(){return e.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),(0,b.p)(r.observers,"complete"))}}},r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),"function"===typeof t&&(t=[new p.y(t)]),x(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,n.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},t.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.complete()},t.prototype.cleanup=function(e){var t=this,r=!1,n=function(){r||(r=!0,t.observers.delete(i),e())},i={next:n,error:n,complete:n},s=this.addCount;this.addObserver(i),this.addCount=s},t}(p.y);(0,E.D)(C);var w=r(1436),A=r(990),S=r(4780),T=r(1644),F=r(7304),k=r(182),P=r(3361),N=r(5983),_=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,k.Ee)(t.resolvers,e)})):this.resolvers=(0,k.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,s=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,s,this.fragmentMatcher,a).then((function(e){return(0,n.pi)((0,n.pi)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,y.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,m.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,F.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return F.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,m.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,s,o){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===s&&(s=function(){return!0}),void 0===o&&(o=!1),(0,n.mG)(this,void 0,void 0,(function(){var a,u,l,c,p,h,d,m,y;return(0,n.Jh)(this,(function(g){return a=(0,f.p$)(e),u=(0,f.kU)(e),l=(0,P.F)(u),c=a.operation,p=c?c.charAt(0).toUpperCase()+c.slice(1):"Query",d=(h=this).cache,m=h.client,y={fragmentMap:l,context:(0,n.pi)((0,n.pi)({},r),{cache:d,client:m}),variables:i,fragmentMatcher:s,defaultOperationType:p,exportedVariables:{},onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var s,o,a,u,l,c=this;return(0,n.Jh)(this,(function(p){return s=r.fragmentMap,o=r.context,a=r.variables,u=[t],l=function(e){return(0,n.mG)(c,void 0,void 0,(function(){var l,c;return(0,n.Jh)(this,(function(n){return(0,y.LZ)(e,a)?(0,g.My)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;"undefined"!==typeof t&&u.push(((r={})[(0,g.u2)(e)]=t,r))}))]:((0,g.Ao)(e)?l=e:(l=s[e.name.value],__DEV__?(0,i.kG)(l,"No fragment named ".concat(e.name.value)):(0,i.kG)(l,9)),l&&l.typeCondition&&(c=l.typeCondition.name.value,r.fragmentMatcher(t,c,o))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,k.bw)(u)}))]}))}))},e.prototype.resolveField=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var i,s,o,a,u,l,c,p,h,d=this;return(0,n.Jh)(this,(function(n){return i=r.variables,s=e.name.value,o=(0,g.u2)(e),a=s!==o,u=t[o]||t[s],l=Promise.resolve(u),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(c=t.__typename||r.defaultOperationType,(p=this.resolvers&&this.resolvers[c])&&(h=p[a?s:o])&&(l=Promise.resolve(N.ab.withValue(this.cache,h,[t,(0,g.NC)(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,l.then((function(t){return void 0===t&&(t=u),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,r):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}(),O=new(c.mr?WeakMap:Map);function I(e,t){var r=e[t];"function"===typeof r&&(e[t]=function(){return O.set(e,(O.get(e)+1)%1e15),r.apply(this,arguments)})}function B(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var j=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;O.has(r)||(O.set(r,0),I(r,"evict"),I(r,"modify"),I(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||T.I.loading;return this.variables&&this.networkStatus!==T.I.loading&&!(0,u.D)(this.variables,e.variables)&&(t=T.I.setVariables),(0,u.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){B(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,u.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(t);return this.updateLastDiff(n,t),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,u.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():(0,S.vj)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;B(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,T.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.pi)((0,n.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,u.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===O.get(this.cache)&&(0,u.D)(t,r.variables)&&(0,u.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r){var n=this;this.graphQLErrors=(0,w.O)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==r&&(L(e,t.errorPolicy)?this.cache.performTransaction((function(i){if(n.shouldWrite(e,t.variables))i.writeQuery({query:n.document,data:e.data,variables:t.variables,overwrite:1===r}),n.lastWrite={result:e,variables:t.variables,dmCount:O.get(n.cache)};else if(n.lastDiff&&n.lastDiff.diff.complete)return void(e.data=n.lastDiff.diff.result);var s=n.getDiffOptions(t.variables),o=i.diff(s);n.stopped||n.updateWatch(t.variables),n.updateLastDiff(o,s),o.complete&&(e.data=o.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=T.I.ready},e.prototype.markError=function(e){return this.networkStatus=T.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function L(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!d(e);return!n&&r&&e.data&&(n=!0),n}var M=Object.prototype.hasOwnProperty,R=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.queryDeduplication,s=void 0!==i&&i,o=e.onBroadcast,a=e.ssrMode,u=void 0!==a&&a,l=e.clientAwareness,p=void 0===l?{}:l,h=e.localState,d=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(c.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=s,this.clientAwareness=p,this.localState=h||new _({cache:t}),this.ssrMode=u,this.assumeImmutableResults=!!d,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches(__DEV__?new i.ej("QueryManager stopped while query was in flight"):new i.ej(11))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,s=e.mutation,o=e.variables,a=e.optimisticResponse,u=e.updateQueries,l=e.refetchQueries,c=void 0===l?[]:l,p=e.awaitRefetchQueries,f=void 0!==p&&p,m=e.update,y=e.onQueryUpdated,g=e.fetchPolicy,v=void 0===g?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":g,D=e.errorPolicy,b=void 0===D?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":D,E=e.keepRootFields,x=e.context;return(0,n.mG)(this,void 0,void 0,(function(){var e,t,r;return(0,n.Jh)(this,(function(l){switch(l.label){case 0:return __DEV__?(0,i.kG)(s,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,i.kG)(s,12),__DEV__?(0,i.kG)("network-only"===v||"no-cache"===v,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,i.kG)("network-only"===v||"no-cache"===v,13),e=this.generateMutationId(),s=this.transform(s).document,o=this.getVariables(s,o),this.transform(s).hasClientExports?[4,this.localState.addExportedVariables(s,o,x)]:[3,2];case 1:o=l.sent(),l.label=2;case 2:return t=this.mutationStore&&(this.mutationStore[e]={mutation:s,variables:o,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:s,variables:o,fetchPolicy:v,errorPolicy:b,context:x,updateQueries:u,update:m,keepRootFields:E}),this.broadcastQueries(),r=this,[2,new Promise((function(i,l){return h(r.getObservableFromLink(s,(0,n.pi)((0,n.pi)({},x),{optimisticResponse:a}),o,!1),(function(i){if(d(i)&&"none"===b)throw new A.c({graphQLErrors:i.errors});t&&(t.loading=!1,t.error=null);var l=(0,n.pi)({},i);return"function"===typeof c&&(c=c(l)),"ignore"===b&&d(l)&&delete l.errors,r.markMutationResult({mutationId:e,result:l,document:s,variables:o,fetchPolicy:v,errorPolicy:b,context:x,update:m,updateQueries:u,awaitRefetchQueries:f,refetchQueries:c,removeOptimistic:a?e:void 0,onQueryUpdated:y,keepRootFields:E})})).subscribe({next:function(e){r.broadcastQueries(),i(e)},error:function(n){t&&(t.loading=!1,t.error=n),a&&r.cache.removeOptimistic(e),r.broadcastQueries(),l(n instanceof A.c?n:new A.c({networkError:n}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,s=[],o="no-cache"===e.fetchPolicy;if(!o&&L(i,e.errorPolicy)){s.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var a=e.updateQueries;a&&this.queries.forEach((function(e,n){var o=e.observableQuery,u=o&&o.queryName;if(u&&M.call(a,u)){var l=a[u],c=r.queries.get(n),p=c.document,h=c.variables,d=t.diff({query:p,variables:h,returnPartialData:!0,optimistic:!1}),m=d.result;if(d.complete&&m){var y=l(m,{mutationResult:i,queryName:p&&(0,f.rY)(p)||void 0,queryVariables:h});y&&s.push({result:y,dataId:"ROOT_QUERY",query:p,variables:h})}}}))}if(s.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){o||s.forEach((function(e){return t.write(e)}));var a=e.update;if(a){if(!o){var u=t.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&(i=(0,n.pi)((0,n.pi)({},i),{data:u.result}))}a(t,i,{context:e.context,variables:e.variables})}o||e.keepRootFields||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return u.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,s="function"===typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:s}}),e)}catch(o){__DEV__&&i.kG.error(o)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),i=(0,m.Fo)(this.cache.transformForLink(r)),s=this.localState.clientQuery(r),o=i&&this.localState.serverQuery(i),a={document:r,hasClientExports:(0,y.mj)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:s,serverQuery:o,defaultVars:(0,f.O4)((0,f.$H)(r)),asQuery:(0,n.pi)((0,n.pi)({},r),{definitions:r.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.pi)((0,n.pi)({},e),{operation:"query"}):e}))})},u=function(e){e&&!t.has(e)&&t.set(e,a)};u(e),u(r),u(s),u(o)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new j(this),r=new S.ue({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,i.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,i.kG)(e.query,14),__DEV__?(0,i.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,i.kG)("Document"===e.query.kind,15),__DEV__?(0,i.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,i.kG)(!e.returnPartialData,16),__DEV__?(0,i.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,i.kG)(!e.pollInterval,17),this.fetchQuery(t,e).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new i.ej("Store reset while query was in flight (not completed in link chain)"):new i.ej(18)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=T.I.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,s=new Map,o=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?s.set(e,!1):(0,g.JW)(e)?s.set(t.transform(e).document,!1):(0,v.s)(e)&&e.query&&o.add(e)})),this.queries.forEach((function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var a=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||a&&s.has(a)||o&&s.has(o))&&(r.set(n,i),a&&s.set(a,!0),o&&s.set(o,!0))}})),o.size&&o.forEach((function(e){var s=(0,D.X)("legacyOneTimeQuery"),o=t.getQuery(s).init({document:e.query,variables:e.variables}),a=new S.ue({queryManager:t,queryInfo:o,options:(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(a.queryId===s),o.setObservableQuery(a),r.set(s,a)})),__DEV__&&s.size&&s.forEach((function(e,t){e||__DEV__&&i.kG.warn("Unknown query ".concat("string"===typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var s=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==s&&"cache-only"!==s)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,s=e.variables,o=e.context,a=void 0===o?{}:o;r=this.transform(r).document,s=this.getVariables(r,s);var u=function(e){return t.getObservableFromLink(r,a,e).map((function(s){if("no-cache"!==n&&(L(s,i)&&t.cache.write({query:r,result:s.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),d(s))throw new A.c({graphQLErrors:s.errors});return s}))};if(this.transform(r).hasClientExports){var l=this.localState.addExportedVariables(r,s,a).then(u);return new p.y((function(e){var t=null;return l.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(s)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var s,a,u=this;void 0===i&&(i=null!==(s=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var c=this.transform(e).serverQuery;if(c){var d=this.inFlightLinkObservables,m=this.link,y={query:c,variables:r,operationName:(0,f.rY)(c)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=y.context,i){var g=d.get(c)||new Map;d.set(c,g);var v=(0,l.B)(r);if(!(a=g.get(v))){var D=new C([(0,o.h)(m,y)]);g.set(v,a=D),D.cleanup((function(){g.delete(v)&&g.size<1&&d.delete(c)}))}}else a=new C([(0,o.h)(m,y)])}else a=new C([p.y.of({data:{}})]),t=this.prepareContext(t);var b=this.transform(e).clientQuery;return b&&(a=h(a,(function(e){return u.localState.runResolvers({document:b,remoteResult:e,context:t,variables:r})}))),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId();return h(this.getObservableFromLink(e.document,r.context,r.variables),(function(i){var s=(0,w.O)(i.errors);if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new A.c({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var o={data:i.data,loading:!1,networkStatus:T.I.ready};return s&&"ignore"!==r.errorPolicy&&(o.errors=i.errors,o.networkStatus=T.I.error),o}),(function(t){var r=(0,A.M)(t)?t:new A.c({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchQueryObservable=function(e,t,r){var n=this;void 0===r&&(r=T.I.loading);var i=this.transform(t.query).document,s=this.getVariables(i,t.variables),o=this.getQuery(e),a=this.defaultOptions.watchQuery,u=t.fetchPolicy,l=void 0===u?a&&a.fetchPolicy||"cache-first":u,c=t.errorPolicy,p=void 0===c?a&&a.errorPolicy||"none":c,h=t.returnPartialData,d=void 0!==h&&h,f=t.notifyOnNetworkStatusChange,m=void 0!==f&&f,y=t.context,g=void 0===y?{}:y,v=Object.assign({},t,{query:i,variables:s,fetchPolicy:l,errorPolicy:p,returnPartialData:d,notifyOnNetworkStatusChange:m,context:g}),D=function(e){v.variables=e;var i=n.fetchQueryByPolicy(o,v,r);return"standby"!==v.fetchPolicy&&i.length>0&&o.observableQuery&&o.observableQuery.applyNextFetchPolicy("after-fetch",t),i},b=function(){return n.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,(function(e){b(),setTimeout((function(){return E.cancel(e)}))}));var E=new C(this.transform(v.query).hasClientExports?this.localState.addExportedVariables(v.query,v.variables,v.context).then(D):D(v.variables));return E.promise.then(b,b),E},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,s=void 0!==i&&i,o=e.removeOptimistic,a=void 0===o?s?(0,D.X)("refetchQueries"):void 0:o,u=e.onQueryUpdated,l=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){l.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var c=new Map;return r&&this.cache.batch({update:r,optimistic:s&&a||!1,removeOptimistic:a,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof j&&e.watcher.observableQuery;if(n){if(u){l.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==u&&l.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),l.size&&l.forEach((function(e,r){var n,i=e.oq,s=e.lastDiff,o=e.diff;if(u){if(!o){var a=i.queryInfo;a.reset(),o=a.getDiff()}n=u(i,o,s)}u&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),a&&this.cache.removeOptimistic(a),c},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,s=t.query,o=t.variables,a=t.fetchPolicy,l=t.refetchWritePolicy,c=t.errorPolicy,h=t.returnPartialData,d=t.context,f=t.notifyOnNetworkStatusChange,m=e.networkStatus;e.init({document:this.transform(s).document,variables:o,networkStatus:r});var y=function(){return e.getDiff(o)},g=function(t,r){void 0===r&&(r=e.networkStatus||T.I.loading);var a=t.result;!__DEV__||h||(0,u.D)(a,{})||(0,S.DC)(t.missing);var l=function(e){return p.y.of((0,n.pi)({data:e,loading:(0,T.O)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&i.transform(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:a},context:d,variables:o,onlyRunForcedResolvers:!0}).then((function(e){return l(e.data||void 0)})):l(a)},v="no-cache"===a?0:r===T.I.refetch&&"merge"!==l?1:2,D=function(){return i.getResultsFromLink(e,v,{variables:o,context:d,fetchPolicy:a,errorPolicy:c})},b=f&&"number"===typeof m&&m!==r&&(0,T.O)(r);switch(a){default:case"cache-first":return(E=y()).complete?[g(E,e.markReady())]:h||b?[g(E),D()]:[D()];case"cache-and-network":var E;return(E=y()).complete||h||b?[g(E),D()]:[D()];case"cache-only":return[g(y(),e.markReady())];case"network-only":return b?[g(y()),D()]:[D()];case"no-cache":return b?[g(e.getDiff()),D()]:[D()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new j(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),$=r(4012),V=!1,U=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,o=e.headers,u=e.cache,l=e.ssrMode,c=void 0!==l&&l,p=e.ssrForceFetchDelay,h=void 0===p?0:p,d=e.connectToDevTools,f=void 0===d?"object"===typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:d,m=e.queryDeduplication,y=void 0===m||m,g=e.defaultOptions,v=e.assumeImmutableResults,D=void 0!==v&&v,b=e.resolvers,E=e.typeDefs,x=e.fragmentMatcher,C=e.name,w=e.version,A=e.link;if(A||(A=r?new a.u({uri:r,credentials:n,headers:o}):s.i.empty()),!u)throw __DEV__?new i.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new i.ej(7);if(this.link=A,this.cache=u,this.disableNetworkFetches=c||h>0,this.queryDeduplication=y,this.defaultOptions=g||Object.create(null),this.typeDefs=E,h&&setTimeout((function(){return t.disableNetworkFetches=!1}),h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),f&&"object"===typeof window&&(window.__APOLLO_CLIENT__=this),!V&&__DEV__&&(V=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var S=window.navigator,T=S&&S.userAgent,F=void 0;"string"===typeof T&&(T.indexOf("Chrome/")>-1?F="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":T.indexOf("Firefox/")>-1&&(F="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),F&&__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: "+F)}this.version="3.6.9",this.localState=new _({cache:u,client:this,resolvers:b,fragmentMatcher:x}),this.queryManager=new R({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:y,ssrMode:c,clientAwareness:{name:C,version:w},localState:this.localState,assumeImmutableResults:D,onBroadcast:f?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,$.J)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,$.J)(this.defaultOptions.query,e)),__DEV__?(0,i.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,i.kG)("cache-and-network"!==e.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,$.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,o.h)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var s=Promise.all(n);return s.queries=r,s.results=n,s.catch((function(e){__DEV__&&i.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),s},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},4780:function(e,t,r){"use strict";r.d(t,{DC:function(){return D},ue:function(){return y},vj:function(){return g}});var n=r(7582),i=r(8964),s=r(20),o=r(1644),a=r(6765),u=r(9487),l=r(1436),c=r(3712),p=r(8263),h=r(8216),d=r(6403),f=Object.assign,m=Object.hasOwnProperty,y=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,s=t.options,o=e.call(this,(function(e){try{var r=e._subscription._observer;r&&!r.error&&(r.error=v)}catch(t){}var n=!o.observers.size;o.observers.add(e);var i=o.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.result),n&&o.reobserve().catch((function(){})),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}}))||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=i,o.queryManager=r,o.isTornDown=!1;var u=r.defaultOptions.watchQuery,l=(void 0===u?{}:u).fetchPolicy,c=void 0===l?"cache-first":l,p=s.fetchPolicy,h=void 0===p?c:p,d=s.initialFetchPolicy,f=void 0===d?"standby"===h?c:h:d;o.options=(0,n.pi)((0,n.pi)({},s),{initialFetchPolicy:f,fetchPolicy:h}),o.queryId=i.queryId||r.generateQueryId();var m=(0,a.$H)(o.query);return o.queryName=m&&m.name&&m.name.value,o}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||o.I.ready,i=(0,n.pi)((0,n.pi)({},t),{loading:(0,o.O)(r),networkStatus:r}),a=this.options.fetchPolicy,u=void 0===a?"cache-first":a;if("network-only"===u||"no-cache"===u||"standby"===u||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(i.data=l.result),(0,s.D)(i.data,{})&&(i.data=void 0),l.complete?(delete i.partial,!l.complete||i.networkStatus!==o.I.loading||"cache-first"!==u&&"cache-only"!==u||(i.networkStatus=o.I.ready,i.loading=!1)):i.partial=!0,!__DEV__||l.complete||this.options.partialRefetch||i.loading||i.data||i.error||D(l.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e){return!this.last||!(0,s.D)(this.last.result,e)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,s.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},u=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===u?u:"no-cache"===u?"no-cache":"network-only",__DEV__&&e&&m.call(e,"variables")){var l=(0,a.iW)(this.query),c=l.variableDefinitions;c&&c.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&i.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=l.name)||void 0===t?void 0:t.value)||JSON.stringify(l),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,s.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,o.I.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)((0,n.pi)({},this.options),{query:this.query}),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId(),s=this.queryInfo,a=s.networkStatus;s.networkStatus=o.I.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set;return this.queryManager.fetchQuery(i,r,o.I.fetchMore).then((function(n){return t.queryManager.removeQuery(i),s.networkStatus===o.I.fetchMore&&(s.networkStatus=a),t.queryManager.cache.batch({update:function(i){var s=e.updateQuery;s?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return s(e,{fetchMoreResult:n.data,variables:r.variables})})):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(e){u.add(e.query)}}),n})).finally((function(){u.has(t.query)||g(t)}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError?e.onError(t):__DEV__&&i.kG.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,s.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},o.I.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,s=void 0===i?n:i;"standby"===n||("function"===typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:s}):t.fetchPolicy="variables-changed"===e?s:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r){if(!t||t.interval!==r){__DEV__?(0,i.kG)(r,"Attempted to start a polling query without a polling interval."):(0,i.kG)(r,10),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&((0,o.O)(e.queryInfo.networkStatus)?s():e.reobserve({fetchPolicy:"network-only"},o.I.poll).then(s,s))},s=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};s()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,n.pi)((0,n.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:(0,u.X)(e),variables:t}),(0,l.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var r=this;this.isTornDown=!1;var i=t===o.I.refetch||t===o.I.fetchMore||t===o.I.poll,a=this.options.variables,u=this.options.fetchPolicy,l=(0,c.o)(this.options,e||{}),p=i?l:f(this.options,l);i||(this.updatePolling(),e&&e.variables&&!(0,s.D)(e.variables,a)&&"standby"!==p.fetchPolicy&&p.fetchPolicy===u&&(this.applyNextFetchPolicy("variables-changed",p),void 0===t&&(t=o.I.setVariables)));var h=p.variables&&(0,n.pi)({},p.variables),d=this.fetch(p,t),m={next:function(e){r.reportResult(e,h)},error:function(e){r.reportError(e,h)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=m),d.addObserver(m),d.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError();(r||this.isDifferentFromLastResult(e))&&((r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(0,p.p)(this.observers,"next",e))},t.prototype.reportError=function(e,t){var r=(0,n.pi)((0,n.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:o.I.error,loading:!1});this.updateLastResult(r,t),(0,p.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(h.y);function g(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"===typeof n?n.apply(this,arguments):r}}):e.reobserve()}function v(e){__DEV__&&i.kG.error("Unhandled error",e.message,e.stack)}function D(e){__DEV__&&e&&__DEV__&&i.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}(0,d.D)(y)},476:function(e,t,r){"use strict";r.r(t),r.d(t,{ApolloCache:function(){return c.R},ApolloClient:function(){return s.f},ApolloError:function(){return l.c},ApolloLink:function(){return m.i},Cache:function(){return n},HttpLink:function(){return E.HttpLink},InMemoryCache:function(){return p.h},MissingFieldError:function(){return h.y},NetworkStatus:function(){return u.I},Observable:function(){return C.y},ObservableQuery:function(){return a.ue},checkFetcher:function(){return E.checkFetcher},concat:function(){return D},createHttpLink:function(){return E.createHttpLink},createSignalIfSupported:function(){return E.createSignalIfSupported},defaultDataIdFromObject:function(){return d.uG},defaultPrinter:function(){return E.defaultPrinter},disableExperimentalFragmentVariables:function(){return we},disableFragmentWarnings:function(){return xe},empty:function(){return y},enableExperimentalFragmentVariables:function(){return Ce},execute:function(){return b.h},fallbackHttpConfig:function(){return E.fallbackHttpConfig},from:function(){return g},fromError:function(){return A.Q},fromPromise:function(){return w},gql:function(){return be},isApolloError:function(){return l.M},isReference:function(){return T.Yk},makeReference:function(){return T.kQ},makeVar:function(){return f.QS},mergeOptions:function(){return o.J},parseAndCheckHttpResponse:function(){return E.parseAndCheckHttpResponse},resetCaches:function(){return Ee},rewriteURIForGET:function(){return E.rewriteURIForGET},selectHttpOptionsAndBody:function(){return E.selectHttpOptionsAndBody},selectHttpOptionsAndBodyInternal:function(){return E.selectHttpOptionsAndBodyInternal},selectURI:function(){return E.selectURI},serializeFetchParameter:function(){return E.serializeFetchParameter},setLogVerbosity:function(){return F.U6},split:function(){return v.V},throwServerError:function(){return S.P},toPromise:function(){return x}});var n,i=r(8964),s=r(8291),o=r(4012),a=r(4780),u=r(1644),l=r(990);n||(n={});var c=r(1294),p=r(5526),h=r(5727),d=r(9641),f=r(5983),m=r(8702),y=m.i.empty,g=m.i.from,v=r(5367),D=m.i.concat,b=r(7037),E=r(5645);function x(e){var t=!1;return new Promise((function(r,n){e.subscribe({next:function(e){t?__DEV__&&i.kG.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,r(e))},error:n})}))}var C=r(8216);function w(e){return new C.y((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}var A=r(6261),S=r(2782),T=r(1761),F=r(6128),k=r(7582);function P(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const N=/\r\n|[\n\r]/g;function _(e,t){let r=0,n=1;for(const i of e.body.matchAll(N)){if("number"===typeof i.index||P(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function O(e,t){const r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=1===t.line?r:0,u=t.column+a,l=`${e.name}:${o}:${u}\n`,c=n.split(/\r\n|[\n\r]/g),p=c[i];if(p.length>120){const e=Math.floor(u/80),t=u%80,r=[];for(let n=0;n["|",e])),["|","^".padStart(t)],["|",r[e+1]]])}return l+I([[o-1+" |",c[i-1]],[`${o} |`,p],["|","^".padStart(u)],[`${o+1} |`,c[i+1]]])}function I(e){const t=e.filter((([e,t])=>void 0!==t)),r=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(r)+(t?" "+t:""))).join("\n")}class B extends Error{constructor(e,...t){var r,n,i;const{nodes:s,source:o,positions:a,path:u,originalError:l,extensions:c}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!==u&&void 0!==u?u:void 0,this.originalError=null!==l&&void 0!==l?l:void 0,this.nodes=j(Array.isArray(s)?s:s?[s]:void 0);const p=j(null===(r=this.nodes)||void 0===r?void 0:r.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==o&&void 0!==o?o:null===p||void 0===p||null===(n=p[0])||void 0===n?void 0:n.source,this.positions=null!==a&&void 0!==a?a:null===p||void 0===p?void 0:p.map((e=>e.start)),this.locations=a&&o?a.map((e=>_(o,e))):null===p||void 0===p?void 0:p.map((e=>_(e.source,e.start)));const h="object"==typeof(d=null===l||void 0===l?void 0:l.extensions)&&null!==d?null===l||void 0===l?void 0:l.extensions:void 0;var d;this.extensions=null!==(i=null!==c&&void 0!==c?c:h)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==l&&void 0!==l&&l.stack?Object.defineProperty(this,"stack",{value:l.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,B):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const r of this.nodes)r.loc&&(e+="\n\n"+O((t=r.loc).source,_(t.source,t.start)));else if(this.source&&this.locations)for(const r of this.locations)e+="\n\n"+O(this.source,r);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function j(e){return void 0===e||0===e.length?void 0:e}function L(e,t,r){return new B(`Syntax Error: ${r}`,{source:e,positions:[t]})}var M,R=r(2380);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(M||(M={}));var $,V=r(7359),U=r(7392),q=r(8297);!function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}($||($={}));class z{constructor(e){const t=new R.WU($.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==$.EOF)do{if(e.next)e=e.next;else{const t=K(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===$.COMMENT);return e}}function W(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function G(e,t){return H(e.charCodeAt(t))&&J(e.charCodeAt(t+1))}function H(e){return e>=55296&&e<=56319}function J(e){return e>=56320&&e<=57343}function X(e,t){const r=e.source.body.codePointAt(t);if(void 0===r)return $.EOF;if(r>=32&&r<=126){const e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function Q(e,t,r,n,i){const s=e.line,o=1+r-e.lineStart;return new R.WU(t,r,n,s,o,i)}function K(e,t){const r=e.source.body,n=r.length;let i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function oe(e,t){const r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw L(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}function ae(e,t){const r=e.source.body,n=r.length;let i=e.lineStart,s=t+3,o=s,a="";const u=[];for(;sthis.parseValueLiteral(e)),$.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:V.h.OBJECT,fields:this.any($.BRACE_L,(()=>this.parseObjectField(e)),$.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,r=this.parseName();return this.expectToken($.COLON),this.node(t,{kind:V.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek($.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken($.AT),this.node(t,{kind:V.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken($.BRACKET_L)){const r=this.parseTypeReference();this.expectToken($.BRACKET_R),t=this.node(e,{kind:V.h.LIST_TYPE,type:r})}else t=this.parseNamedType();return this.expectOptionalToken($.BANG)?this.node(e,{kind:V.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:V.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek($.STRING)||this.peek($.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),n=this.many($.BRACE_L,this.parseOperationTypeDefinition,$.BRACE_R);return this.node(e,{kind:V.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken($.COLON);const r=this.parseNamedType();return this.node(e,{kind:V.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:V.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:V.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany($.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany($.BRACE_L,this.parseFieldDefinition,$.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken($.COLON);const i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:V.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany($.PAREN_L,this.parseInputValueDef,$.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken($.COLON);const n=this.parseTypeReference();let i;this.expectOptionalToken($.EQUALS)&&(i=this.parseConstValueLiteral());const s=this.parseConstDirectives();return this.node(e,{kind:V.h.INPUT_VALUE_DEFINITION,description:t,name:r,type:n,defaultValue:i,directives:s})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:V.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:s})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:V.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken($.EQUALS)?this.delimitedMany($.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:V.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany($.BRACE_L,this.parseEnumValueDefinition,$.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:V.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw L(this._lexer.source,this._lexer.token.start,`${pe(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:V.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany($.BRACE_L,this.parseInputValueDef,$.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===$.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),r=this.optionalMany($.BRACE_L,this.parseOperationTypeDefinition,$.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:V.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:V.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:V.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:V.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:V.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:V.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:V.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken($.AT);const r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const s=this.parseDirectiveLocations();return this.node(e,{kind:V.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany($.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(M,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new R.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw L(this._lexer.source,t.start,`Expected ${he(e)}, found ${pe(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==$.NAME||t.value!==e)throw L(this._lexer.source,t.start,`Expected "${e}", found ${pe(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===$.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return L(this._lexer.source,t.start,`Unexpected ${pe(t)}.`)}any(e,t,r){this.expectToken(e);const n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);const n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);const r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==$.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw L(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function pe(e){const t=e.value;return he(e.kind)+(null!=t?` "${t}"`:"")}function he(e){return function(e){return e===$.BANG||e===$.DOLLAR||e===$.AMP||e===$.PAREN_L||e===$.PAREN_R||e===$.SPREAD||e===$.COLON||e===$.EQUALS||e===$.AT||e===$.BRACKET_L||e===$.BRACKET_R||e===$.BRACE_L||e===$.PIPE||e===$.BRACE_R}(e)?`"${e}"`:e}var de=new Map,fe=new Map,me=!0,ye=!1;function ge(e){return e.replace(/[\s,]+/g," ").trim()}function ve(e){var t=new Set,r=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,i=ge((o=e.loc).source.body.substring(o.start,o.end)),s=fe.get(n);s&&!s.has(i)?me&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):s||fe.set(n,s=new Set),s.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e);var o})),(0,k.pi)((0,k.pi)({},e),{definitions:r})}function De(e){var t=ge(e);if(!de.has(t)){var r=function(e,t){return new ce(e,t).parseDocument()}(e,{experimentalFragmentVariables:ye,allowLegacyFragmentVariables:ye});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");de.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"===typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}(ve(r)))}return de.get(t)}function be(e){for(var t=[],r=1;r=300&&(0,n.P)(t,r,"Response not successful: Received status code ".concat(t.status)),Array.isArray(r)||i.call(r,"data")||i.call(r,"errors")||(0,n.P)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),r}))}}},8663:function(e,t,r){"use strict";r.d(t,{H:function(){return i}});var n=r(5049);function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var s=void 0;try{s=(0,n.g)(t.variables,"Variables map")}catch(p){return{parseError:p}}i("variables",s)}if(t.extensions){var o=void 0;try{o=(0,n.g)(t.extensions,"Extensions map")}catch(p){return{parseError:p}}i("extensions",o)}var a="",u=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),u=e.substr(0,l));var c=-1===u.indexOf("?")?"?":"&";return{newURI:u+c+r.join("&")+a}}},3453:function(e,t,r){"use strict";r.d(t,{E4:function(){return a},SC:function(){return s},sb:function(){return o},ve:function(){return u}});var n=r(7582),i=r(6918),s={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},o=function(e,t){return t(e)};function a(e,t){for(var r=[],i=2;i0}r.d(t,{O:function(){return n}})},320:function(e,t,r){"use strict";r.d(t,{aS:function(){return o},mr:function(){return i},sy:function(){return s}});var n=r(8964),i="function"===typeof WeakMap&&"ReactNative"!==(0,n.wY)((function(){return navigator.product})),s="function"===typeof WeakSet,o="function"===typeof Symbol&&"function"===typeof Symbol.for;(0,n.wY)((function(){return window.document.createElement})),(0,n.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))},9487:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=Object.prototype.toString;function i(e){return s(e)}function s(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=s(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(r){i[r]=s(e[r],t)})),i;default:return e}}},3712:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t1)for(var n=new l,i=1;i-1}))}function a(e){return e&&o(["client"],e)&&o(["export"],e)}},3361:function(e,t,r){"use strict";r.d(t,{F:function(){return o},Yk:function(){return s},hi:function(){return a}});var n=r(7582),i=r(8964);function s(e,t){var r=t,s=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new i.ej("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new i.ej(41);"FragmentDefinition"===e.kind&&s.push(e)})),"undefined"===typeof r&&(__DEV__?(0,i.kG)(1===s.length,"Found ".concat(s.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,i.kG)(1===s.length,42),r=s[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function o(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function a(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=t&&t[e.name.value];return __DEV__?(0,i.kG)(r,"No fragment named ".concat(e.name.value,".")):(0,i.kG)(r,43),r;default:return null}}},6765:function(e,t,r){"use strict";r.d(t,{$H:function(){return o},A$:function(){return s},O4:function(){return h},iW:function(){return l},kU:function(){return u},p$:function(){return p},pD:function(){return c},rY:function(){return a}});var n=r(8964),i=r(1761);function s(e){__DEV__?(0,n.kG)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.kG)(e&&"Document"===e.kind,44);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new n.ej('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new n.ej(45);return e}));return __DEV__?(0,n.kG)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,n.kG)(t.length<=1,46),e}function o(e){return s(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function a(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function u(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function l(e){var t=o(e);return __DEV__?(0,n.kG)(t&&"query"===t.operation,"Must contain a query definition."):(0,n.kG)(t&&"query"===t.operation,47),t}function c(e){__DEV__?(0,n.kG)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.kG)("Document"===e.kind,48),__DEV__?(0,n.kG)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,n.kG)(e.definitions.length<=1,49);var t=e.definitions[0];return __DEV__?(0,n.kG)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,n.kG)("FragmentDefinition"===t.kind,50),t}function p(e){var t;s(e);for(var r=0,i=e.definitions;r0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(d(i),")")}return r.connection.key}var s=e;if(t){var o=d(t);s+="(".concat(o,")")}return r&&Object.keys(r).forEach((function(e){-1===p.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?s+="@".concat(e,"(").concat(d(r[e]),")"):s+="@".concat(e))})),s}),{setStringify:function(e){var t=d;return d=e,t}}),d=function(e){return JSON.stringify(e,f)};function f(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function m(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return l(r,n,i,t)})),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function g(e,t,r){if("string"===typeof e.__typename)return e.__typename;for(var n=0,i=t.selections;n=0&&e.indexOf(t,r)===r}(r,p)}}return!1}function l(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}const p="{ [native code] }";function h(e,t){let r=o.get(e);if(r){if(r.has(t))return!0}else o.set(e,r=new Set);return r.add(t),!1}},7826:function(e,t,r){"use strict";function n(e,t){if(!Boolean(e))throw new Error(t)}r.d(t,{a:function(){return n}})},7820:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});function n(e){return i(e,[])}function i(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:i(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const r=Math.min(10,e.length),n=e.length-r,s=[];for(let o=0;o1&&s.push(`... ${n} more items`);return"["+s.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){const t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+i(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},2380:function(e,t,r){"use strict";r.d(t,{UG:function(){return a},WU:function(){return i},Ye:function(){return n},h8:function(){return s},ku:function(){return u}});class n{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,r,n,i,s){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o=new Set(Object.keys(s));function a(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&o.has(t)}var u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},7392:function(e,t,r){"use strict";r.d(t,{LZ:function(){return o},wv:function(){return i}});var n=r(8297);function i(e){var t;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let a=0;a0===t?e:e.slice(r))).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function s(e){let t=0;for(;t1&&i.slice(1).every((e=>0===e.length||(0,n.FD)(e.charCodeAt(0)))),a=r.endsWith('\\"""'),u=e.endsWith('"')&&!a,l=e.endsWith("\\"),c=u||l,p=!(null!==t&&void 0!==t&&t.minimize)&&(!s||e.length>70||c||o||a);let h="";const d=s&&(0,n.FD)(e.charCodeAt(0));return(p&&!d||o)&&(h+="\n"),h+=r,(p||c)&&(h+="\n"),'"""'+h+'"""'}},8297:function(e,t,r){"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function s(e){return e>=97&&e<=122||e>=65&&e<=90}function o(e){return s(e)||95===e}function a(e){return s(e)||i(e)||95===e}r.d(t,{FD:function(){return n},HQ:function(){return a},LQ:function(){return o},X1:function(){return i}})},7359:function(e,t,r){"use strict";var n;r.d(t,{h:function(){return n}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},6918:function(e,t,r){"use strict";r.d(t,{S:function(){return u}});var n=r(7392);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function s(e){return o[e.charCodeAt(0)]}const o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var a=r(7304);function u(e){return(0,a.Vn)(e,l)}const l={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=h("(",c(e.variableDefinitions,", "),")"),r=c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+h(" = ",r)+h(" ",c(n," "))},SelectionSet:{leave:({selections:e})=>p(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const s=h("",e,": ")+t;let o=s+h("(",c(r,", "),")");return o.length>80&&(o=s+h("(\n",d(c(r,"\n")),"\n)")),c([o,c(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>c(["...",h("on ",e),c(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${h("(",c(r,", "),")")} on ${t} ${h("",c(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.LZ)(e):`"${e.replace(i,s)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>h("",e,"\n")+c(["schema",c(t," "),p(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+c(["scalar",t,c(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+c(["type",t,h("implements ",c(r," & ")),c(n," "),p(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(f(r)?h("(\n",d(c(r,"\n")),"\n)"):h("(",c(r,", "),")"))+": "+n+h(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+c([t+": "+r,h("= ",n),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+c(["interface",t,h("implements ",c(r," & ")),c(n," "),p(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+c(["union",t,c(r," "),h("= ",c(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+c(["enum",t,c(r," "),p(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+c([t,c(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+c(["input",t,c(r," "),p(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(f(r)?h("(\n",d(c(r,"\n")),"\n)"):h("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),p(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend type",e,h("implements ",c(t," & ")),c(r," "),p(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend interface",e,h("implements ",c(t," & ")),c(r," "),p(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>c(["extend union",e,c(t," "),h("= ",c(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>c(["extend enum",e,c(t," "),p(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>c(["extend input",e,c(t," "),p(r)]," ")}};function c(e,t=""){var r;return null!==(r=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==r?r:""}function p(e){return h("{\n",d(c(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function d(e){return h(" ",e.replace(/\n/g,"\n "))}function f(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},1270:function(e,t,r){"use strict";r.d(t,{H:function(){return o},T:function(){return a}});var n=r(7826),i=r(7820);const s=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"===typeof e&&null!==e){var r;const n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(r=e.constructor)||void 0===r?void 0:r.name)){const t=(0,i.X)(e);throw new Error(`Cannot use ${n} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class o{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"===typeof e||(0,n.a)(!1,`Body must be a string. Received: ${(0,i.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,n.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function a(e){return s(e,o)}},7304:function(e,t,r){"use strict";r.d(t,{$_:function(){return a},Vn:function(){return u}});var n=r(7826),i=r(7820),s=r(2380),o=r(7359);const a=Object.freeze({});function u(e,t,r=s.h8){const u=new Map;for(const n of Object.values(o.h))u.set(n,l(t,n));let c,p,h,d=Array.isArray(e),f=[e],m=-1,y=[],g=e;const v=[],D=[];do{m++;const e=m===f.length,o=e&&0!==y.length;if(e){if(p=0===D.length?void 0:v[v.length-1],g=h,h=D.pop(),o)if(d){g=g.slice();let e=0;for(const[t,r]of y){const n=t-e;null===r?(g.splice(n,1),e++):g[n]=r}}else{g=Object.defineProperties({},Object.getOwnPropertyDescriptors(g));for(const[e,t]of y)g[e]=t}m=c.index,f=c.keys,y=c.edits,d=c.inArray,c=c.prev}else if(h){if(p=d?m:f[m],g=h[p],null===g||void 0===g)continue;v.push(p)}let l;if(!Array.isArray(g)){var b,E;(0,s.UG)(g)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(g)}.`);const r=e?null===(b=u.get(g.kind))||void 0===b?void 0:b.leave:null===(E=u.get(g.kind))||void 0===E?void 0:E.enter;if(l=null===r||void 0===r?void 0:r.call(t,g,p,h,v,D),l===a)break;if(!1===l){if(!e){v.pop();continue}}else if(void 0!==l&&(y.push([p,l]),!e)){if(!(0,s.UG)(l)){v.pop();continue}g=l}}var x;if(void 0===l&&o&&y.push([p,g]),e)v.pop();else c={inArray:d,index:m,keys:f,edits:y,prev:c},d=Array.isArray(g),f=d?g:null!==(x=r[g.kind])&&void 0!==x?x:[],m=-1,y=[],h&&D.push(h),h=g}while(void 0!==c);return 0!==y.length?y[y.length-1][1]:e}function l(e,t){const r=e[t];return"object"===typeof r?r:"function"===typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}},6128:function(e,t,r){"use strict";r.d(t,{U6:function(){return h},ej:function(){return a},kG:function(){return u}});var n=r(7582),i="Invariant Violation",s=Object.setPrototypeOf,o=void 0===s?function(e,t){return e.__proto__=t,e}:s,a=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"===typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,o(n,t.prototype),n}return(0,n.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new a(t)}var l=["debug","log","warn","error","silent"],c=l.indexOf("log");function p(e){return function(){if(l.indexOf(e)>=c){var t=console[e]||console.log;return t.apply(console,arguments)}}}function h(e){var t=l[c];return c=Math.max(0,l.indexOf(e)),t}!function(e){e.debug=p("debug"),e.log=p("log"),e.warn=p("warn"),e.error=p("error")}(u||(u={}))},7582:function(e,t,r){"use strict";r.d(t,{CR:function(){return c},Jh:function(){return u},XA:function(){return l},ZT:function(){return i},_T:function(){return o},ev:function(){return p},mG:function(){return a},pi:function(){return s}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function p(e,t,r){if(r||2===arguments.length)for(var n,i=0,s=t.length;i=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1,i=!1,s=arguments[1],o=s;return new r((function(r){return t.subscribe({next:function(t){var s=!i;if(i=!0,!s||n)try{o=e(o,t)}catch(a){return r.error(a)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&i.splice(e,1),o()}});i.push(s)},error:function(e){n.error(e)},complete:function(){o()}});function o(){s.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),s.unsubscribe()}}))},t[p]=function(){return this},e.from=function(t){var r="function"===typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=d(t,p);if(i){var s=i.call(t);if(Object(s)!==s)throw new TypeError(s+" is not an object");return m(s)&&s.constructor===r?s:new r((function(e){return s.subscribe(e)}))}if(u("iterator")&&(i=d(t,c)))return new r((function(e){g((function(){if(!e.closed){for(var r,s=n(i.call(t));!(r=s()).done;){var o=r.value;if(e.next(o),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){g((function(){if(!e.closed){for(var r=0;r