/home/ivoiecob/email.hirewise-va.com/static/js/1026.app.867b03a8cd80eb649ba2.min.js
(self.webpackChunkafterlogic_aurora_platform=self.webpackChunkafterlogic_aurora_platform||[]).push([[1026],{"/M09":(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")()}),l=o((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),u=o((e,t)=>{var r=l();t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})}),c=o((e,t)=>{var r=l();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)}}),g=o((e,t)=>{var r=f(),n=l(),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}),O=o((e,t)=>{t.exports=function(e){return null==e}}),D=o((e,t)=>{var r=O(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}}),y=o((e,t)=>{var r=g(),n=D();t.exports=function(e){return r(n(e))}}),v=o((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}}),S=o((e,t)=>{var r=v(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}}),C=o((e,t)=>{var r=S(),n=v(),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)}}),b=o((e,t)=>{var r=a(),n=S();t.exports=function(e,t){return arguments.length<2?function(e){return n(e)?e:void 0}(r[e]):r[e]&&r[e][t]}}),E=o((e,t)=>{var r=f();t.exports=r({}.isPrototypeOf)}),x=o((e,t)=>{var r=b();t.exports=r("navigator","userAgent")||""}),w=o((e,t)=>{var r,n,i=a(),s=x(),o=i.process,l=i.Deno,u=o&&o.versions||l&&l.version,c=u&&u.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}),A=o((e,t)=>{var r=w(),n=l();t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),T=o((e,t)=>{var r=A();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),k=o((e,t)=>{var r=b(),n=S(),i=E(),s=T(),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))}}),F=o((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}}),P=o((e,t)=>{var r=S(),n=F(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}}),Q=o((e,t)=>{var r=P(),n=O();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}}),$=o((e,t)=>{var r=p(),n=S(),i=C(),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")}}),B=o((e,t)=>{t.exports=!1}),_=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}}),N=o((e,t)=>{var r=a(),n=_(),i="__core-js_shared__",s=r[i]||n(i,{});t.exports=s}),M=o((e,t)=>{var r=B(),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:"© 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"})}),R=o((e,t)=>{var r=D(),n=Object;t.exports=function(e){return n(r(e))}}),L=o((e,t)=>{var r=f(),n=R(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}}),I=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)}}),j=o((e,t)=>{var r=a(),n=M(),i=L(),s=I(),o=A(),l=T(),u=n("wks"),c=r.Symbol,p=c&&c.for,h=l?c:c&&c.withoutSetter||s;t.exports=function(e){if(!i(u,e)||!o&&"string"!=typeof u[e]){var t="Symbol."+e;o&&i(c,e)?u[e]=c[e]:u[e]=l&&p?p(t):h(t)}return u[e]}}),X=o((e,t)=>{var r=p(),n=C(),i=k(),s=Q(),o=$(),a=j(),l=TypeError,u=a("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var a,c=s(e,u);if(c){if(void 0===t&&(t="default"),a=r(c,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)}}),Z=o((e,t)=>{var r=X(),n=k();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}}),V=o((e,t)=>{var r=a(),n=C(),i=r.document,s=n(i)&&n(i.createElement);t.exports=function(e){return s?i.createElement(e):{}}}),q=o((e,t)=>{var r=u(),n=l(),i=V();t.exports=!r&&!n(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})}),z=o(e=>{var t=u(),r=p(),n=h(),i=d(),s=y(),o=Z(),a=L(),l=q(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=s(e),t=o(t),l)try{return c(e,t)}catch{}if(a(e,t))return i(!r(n.f,e,t),e[t])}}),W=o((e,t)=>{var r=u(),n=l();t.exports=r&&n(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),Y=o((e,t)=>{var r=C(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}}),G=o(e=>{var t=u(),r=q(),n=W(),i=Y(),s=Z(),o=TypeError,a=Object.defineProperty,l=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=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 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}}),U=o((e,t)=>{var r=u(),n=G(),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}}),H=o((e,t)=>{var r=u(),n=L(),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,o=n(i,"name"),a=o&&"something"===function(){}.name,l=o&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:o,PROPER:a,CONFIGURABLE:l}}),J=o((e,t)=>{var r=f(),n=S(),i=N(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource}),K=o((e,t)=>{var r=a(),n=S(),i=r.WeakMap;t.exports=n(i)&&/native code/.test(String(i))}),ee=o((e,t)=>{var r=M(),n=I(),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,l=K(),u=a(),c=C(),p=U(),h=L(),d=N(),f=ee(),m=te(),g="Object already initialized",O=u.TypeError,D=u.WeakMap;l||d.state?((s=d.state||(d.state=new D)).get=s.get,s.has=s.has,s.set=s.set,r=function(e,t){if(s.has(e))throw O(g);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 O(g);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:function(e){return i(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw O("Incompatible receiver, "+e+" required");return r}}}}),ne=o((e,t)=>{var r=l(),n=S(),i=L(),s=u(),o=H().CONFIGURABLE,a=J(),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"),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),(!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=g(function(){return n(this)&&h(this).source||a(this)},"toString")}),ie=o((e,t)=>{var r=S(),n=G(),i=ne(),s=_();t.exports=function(e,t,o,a){a||(a={});var l=a.enumerable,u=void 0!==a.name?a.name:t;if(r(o)&&i(o,u,a),a.global)l?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch{}l?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)}}),le=o((e,t)=>{var r=oe(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}}),ue=o((e,t)=>{var r=le();t.exports=function(e){return r(e.length)}}),ce=o((e,t)=>{var r=y(),n=ae(),i=ue(),s=function(e){return function(t,s,o){var a,l=r(t),u=i(l),c=n(o,u);if(e&&s!=s){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[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=L(),i=y(),s=ce().indexOf,o=te(),a=r([].push);t.exports=function(e,t){var r,l=i(e),u=0,c=[];for(r in l)!n(o,r)&&n(l,r)&&a(c,r);for(;t.length>u;)n(l,r=t[u++])&&(~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=b(),n=f(),i=de(),s=fe(),o=Y(),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}}),ge=o((e,t)=>{var r=L(),n=me(),i=z(),s=G();t.exports=function(e,t,o){for(var a=n(t),l=s.f,u=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&l(e,p,u(t,p))}}}),Oe=o((e,t)=>{var r=l(),n=S(),i=/#|\.prototype\./,s=function(e,t){var i=a[o(e)];return i==c||i!=u&&(n(t)?r(t):!!t)},o=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=s.data={},u=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s}),De=o((e,t)=>{var r=a(),n=z().f,i=U(),s=ie(),o=_(),l=ge(),u=Oe();t.exports=function(e,t){var a,c,p,h,d,f=e.target,m=e.global,g=e.stat;if(a=m?r:g?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],!u(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;l(h,p)}(e.sham||p&&p.sham)&&i(h,"sham",!0),s(a,c,h,e)}}}),ye=o((e,t)=>{var r=m();t.exports=Array.isArray||function(e){return"Array"==r(e)}}),ve=o((e,t)=>{var r=TypeError;t.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}}),Se=o((e,t)=>{var r=m(),n=f();t.exports=function(e){if("Function"===r(e))return n(e)}}),Ce=o((e,t)=>{var r=Se(),n=P(),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)}}}),be=o((e,t)=>{var r=ye(),n=ue(),i=ve(),s=Ce(),o=function(e,t,a,l,u,c,p,h){for(var d,f,m=u,g=0,O=!!p&&s(p,h);g<l;)g in a&&(d=O?O(a[g],g,t):a[g],c>0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),g++;return m};t.exports=o}),Ee=o((e,t)=>{var r={};r[j()("toStringTag")]="z",t.exports="[object z]"===String(r)}),xe=o((e,t)=>{var r=Ee(),n=S(),i=m(),s=j()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}}),we=o((e,t)=>{var r=f(),n=l(),i=S(),s=xe(),o=b(),a=J(),u=function(){},c=[],p=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=r(h.exec),m=!h.exec(u),g=function(e){if(!i(e))return!1;try{return p(u,c,e),!0}catch{return!1}},O=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}};O.sham=!0,t.exports=!p||n(function(){var e;return g(g.call)||!g(Object)||!g(function(){e=!0})||e})?O:g}),Ae=o((e,t)=>{var r=ye(),n=we(),i=C(),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}}),Te=o((e,t)=>{var r=Ae();t.exports=function(e,t){return new(r(e))(0===t?0:t)}}),ke=o(()=>{var e=De(),t=be(),r=P(),n=R(),i=ue(),s=Te();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),l=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,l,0,1,e,arguments.length>1?arguments[1]:void 0),o}})}),Fe=o((e,t)=>{t.exports={}}),Pe=o((e,t)=>{var r=j(),n=Fe(),i=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}}),Qe=o((e,t)=>{var r=xe(),n=Q(),i=O(),s=Fe(),o=j()("iterator");t.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[r(e)]}}),$e=o((e,t)=>{var r=p(),n=P(),i=Y(),s=F(),o=Qe(),a=TypeError;t.exports=function(e,t){var l=arguments.length<2?o(e):t;if(n(l))return i(r(l,e));throw a(s(e)+" is not iterable")}}),Be=o((e,t)=>{var r=p(),n=Y(),i=Q();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(e){a=!0,o=e}if("throw"===t)throw s;if(a)throw o;return n(o),s}}),_e=o((e,t)=>{var r=Ce(),n=p(),i=Y(),s=F(),o=Pe(),a=ue(),l=E(),u=$e(),c=Qe(),h=Be(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,p){var g,O,D,y,v,S,C,b=p&&p.that,E=!(!p||!p.AS_ENTRIES),x=!(!p||!p.IS_RECORD),w=!(!p||!p.IS_ITERATOR),A=!(!p||!p.INTERRUPTED),T=r(t,b),k=function(e){return g&&h(g,"normal",e),new f(!0,e)},F=function(e){return E?(i(e),A?T(e[0],e[1],k):T(e[0],e[1])):A?T(e,k):T(e)};if(x)g=e.iterator;else if(w)g=e;else{if(!(O=c(e)))throw d(s(e)+" is not iterable");if(o(O)){for(D=0,y=a(e);y>D;D++)if((v=F(e[D]))&&l(m,v))return v;return new f(!1)}g=u(e,O)}for(S=x?e.next:g.next;!(C=n(S,g)).done;){try{v=F(C.value)}catch(e){h(g,"throw",e)}if("object"==typeof v&&v&&l(m,v))return v}return new f(!1)}}),Ne=o((e,t)=>{var r=Z(),n=G(),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}}),Me=o(()=>{var e=De(),t=_e(),r=Ne();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,function(e,t){r(n,e,t)},{AS_ENTRIES:!0}),n}})}),Re=o((e,t)=>{var r=ne(),n=G();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)}}),Le=o((e,t)=>{var r=Y();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}}),Ie=o(()=>{var e=a(),t=u(),r=Re(),n=Le(),i=l(),s=e.RegExp,o=s.prototype;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 l in e&&(a.hasIndices="d"),a)i(l,a[l]);return Object.getOwnPropertyDescriptor(o,"flags").get.call(t)!==n||r!==n})&&r(o,"flags",{configurable:!0,get:n})}),je=o(()=>{var e=De(),t=a();e({global:!0,forced:t.globalThis!==t},{globalThis:t})}),Xe=o(()=>{je()}),Ze=o(()=>{var e=De(),t=be(),r=R(),n=ue(),i=oe(),s=Te();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=r(this),a=n(o),l=s(o,0);return l.length=t(l,o,o,a,0,void 0===e?1:i(e)),l}})}),Ve=o((r,o)=>{var a=["cliName","cliCategory","cliDescription"],l=["_"],u=["languageId"];function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}ke(),Me(),Ie(),Xe(),Ze();var p,h=Object.create,d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,g=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,D=(e,t)=>function(){return e&&(t=(0,e[m(e)[0]])(e=0)),t},y=(e,t)=>function(){return t||(0,e[m(e)[0]])((t={exports:{}}).exports,t),t.exports},v=(e,t)=>{for(var r in t)d(e,r,{get:t[r],enumerable:!0})},S=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of m(t))!O.call(e,i)&&i!==r&&d(e,i,{get:()=>t[i],enumerable:!(n=f(t,i))||n.enumerable});return e},C=e=>S(d({},"__esModule",{value:!0}),e),b=D({"<define:process>"(){p={env:{},argv:[]}}}),E=y({"package.json"(e,t){t.exports={version:"2.8.8"}}}),x=y({"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,l=0;s<o;s++){var u=t[s];if(u.removed){if(u.value=e.join(n.slice(l,l+u.count)),l+=u.count,s&&t[s-1].added){var c=t[s-1];t[s-1]=t[s],t[s]=c}}else{if(!u.added&&i){var p=r.slice(a,a+u.count);p=p.map(function(e,t){var r=n[l+t];return r.length>e.length?r:e}),u.value=e.join(p)}else u.value=e.join(r.slice(a,a+u.count));a+=u.count,u.added||(l+=u.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)}}b(),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 l=(t=this.removeEmpty(this.tokenize(t))).length,u=e.length,c=1,p=l+u,h=[{newPos:-1,components:[]}],d=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=l&&d+1>=u)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<l,g=d&&0<=f&&f<u;if(m||g){if(!m||g&&p.newPos<d.newPos?(s=n(d),o.pushComponent(s.components,void 0,!0)):((s=p).newPos++,o.pushComponent(s.components,!0,void 0)),f=o.extractCommon(s,t,e,i),s.newPos+1>=l&&f+1>=u)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,l=0;o+1<i&&a+1<s&&this.equals(t[o+1],r[a+1]);)o++,a++,l++;return l&&e.components.push({count:l}),e.newPos=o,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}}}),w=y({"node_modules/diff/lib/diff/array.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=function(e,t,n){return r.diff(e,t,n)},e.arrayDiff=void 0;var t,r=new((t=x(),t&&t.__esModule?t:{default:t}).default);e.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}}}),A=y({"src/document/doc-builders.js"(e,t){function r(e){return{type:"concat",parts:e}}function n(e){return{type:"indent",contents:e}}function i(e,t){return{type:"align",contents:t,n:e}}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}b();var o={type:"break-parent"},a={type:"line",hard:!0},l={type:"line",hard:!0,literal:!0},u=r([a,o]),c=r([l,o]),p={type:"cursor",placeholder:Symbol("cursor")};t.exports={concat:r,join:function(e,t){let n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return r(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:u,literalline:c,group:s,conditionalGroup:function(e,t){return s(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:p,breakParent:o,ifBreak:function(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:n,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:i,addAlignmentToDoc:function(e,t,r){let s=e;if(t>0){for(let e=0;e<Math.floor(t/r);++e)s=n(s);s=i(t%r,s),s=i(Number.NEGATIVE_INFINITY,s)}return s},markAsRoot:function(e){return i({type:"root"},e)},dedentToRoot:function(e){return i(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return i(-1,e)},hardlineWithoutBreakParent:a,literallineWithoutBreakParent:l,label:function(e,t){return{type:"label",label:e,contents:t}}}}}),T=y({"src/common/end-of-line.js"(e,t){b(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(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},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),k=y({"src/utils/get-last.js"(e,t){b();t.exports=e=>e[e.length-1]}});var F=D({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){b()}});function P(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(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 Q=D({"node_modules/strip-ansi/index.js"(){b(),F()}});function $(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 B=D({"node_modules/is-fullwidth-code-point/index.js"(){b()}}),_=y({"node_modules/emoji-regex/index.js"(e,t){b(),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[\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DE92]|\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\uDFF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]|\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}}}),N={};function M(e){if("string"!=typeof e||0===e.length||0===(e=P(e)).length)return 0;e=e.replace((0,R.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=$(n)?2:1)}return t}v(N,{default:()=>M});var R,L=D({"node_modules/string-width/index.js"(){var e,t,r;b(),Q(),B(),e=_(),r=null!=e?h(g(e)):{},R=S(!t&&e&&e.__esModule?r:d(r,"default",{value:e,enumerable:!0}),e)}}),I=y({"src/utils/get-string-width.js"(e,t){b();var r=(L(),C(N)).default,n=/[^\x20-\x7F]/;t.exports=function(e){return e?n.test(e)?r(e):e.length:0}}}),j=y({"src/document/doc-utils.js"(e,t){b();var r=k(),{literalline:n,join:i}=A(),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 l(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 u(e,t){let r=new Map;return n(e);function n(e){if(r.has(e))return r.get(e);let i=function(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)}(e);return r.set(e,i),i}}function c(e,t,r){let n=r,i=!1;return l(e,function(e){let r=t(e);if(void 0!==r&&(i=!0,n=r),i)return!1}),n}function p(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function h(e){if(e.length>0){let t=r(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function d(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var f=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function m(e){if(!e)return e;if(s(e)||"fill"===e.type){let t=o(e);for(;t.length>1&&f(...t.slice(-2));)t.length-=2;if(t.length>0){let e=m(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=m(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=m(e.breakContents),r=m(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:r})}}return e}function g(e){return u(e,e=>function(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})}(e))}function O(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 D(e){return i(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,e.split("\n")).parts}function y(e){if("line"===e.type)return!0}t.exports={isConcat:s,getDocParts:o,willBreak:function(e){return c(e,p,!1)},traverseDoc:l,findInDoc:c,mapDoc:u,propagateBreaks:function(e){let t=new Set,r=[];l(e,function(e){if("break-parent"===e.type&&h(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}},function(e){"group"===e.type&&r.pop().break&&h(r)},!0)},removeLines:function(e){return u(e,d)},stripTrailingHardline:function(e){return m(g(e))},normalizeParts:O,normalizeDoc:function(e){return u(e,e=>Array.isArray(e)?O(e):e.parts?Object.assign(Object.assign({},e),{},{parts:O(e.parts)}):e)},cleanDoc:g,replaceTextEndOfLine:D,replaceEndOfLine:function(e){return u(e,e=>"string"==typeof e&&e.includes("\n")?D(e):e)},canBreak:function(e){return c(e,y,!1)}}}}),X=y({"src/document/doc-printer.js"(e,t){b();var r,{convertEndOfLineToChars:n}=T(),i=k(),s=I(),{fill:o,cursor:a,indent:l}=A(),{isConcat:u,getDocParts:c}=j();function p(e,t){return d(e,{type:"indent"},t)}function h(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?d(e,{type:"dedent"},r):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):d(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function d(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 e of n)switch(e.type){case"indent":c(),r.useTabs?l(1):u(r.tabWidth);break;case"stringAlign":c(),i+=e.n,s+=e.n.length;break;case"numberAlign":o+=1,a+=e.n;break;default:throw new Error(`Unexpected type '${e.type}'`)}return p(),Object.assign(Object.assign({},e),{},{value:i,length:s,queue:n});function l(e){i+="\t".repeat(e),s+=r.tabWidth*e}function u(e){i+=" ".repeat(e),s+=e}function c(){r.useTabs?(o>0&&l(o),h()):p()}function p(){a>0&&u(a),h()}function h(){o=0,a=0}}function f(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 m(e,t,n,o,a){let l=t.length,p=[e],h=[];for(;n>=0;){if(0===p.length){if(0===l)return!0;p.push(t[--l]);continue}let{mode:e,doc:d}=p.pop();if("string"==typeof d)h.push(d),n-=s(d);else if(u(d)||"fill"===d.type){let t=c(d);for(let r=t.length-1;r>=0;r--)p.push({mode:e,doc:t[r]})}else switch(d.type){case"indent":case"align":case"indent-if-break":case"label":p.push({mode:e,doc:d.contents});break;case"trim":n+=f(h);break;case"group":{if(a&&d.break)return!1;let t=d.break?1:e,r=d.expandedStates&&1===t?i(d.expandedStates):d.contents;p.push({mode:t,doc:r});break}case"if-break":{let t=1===(d.groupId?r[d.groupId]||2:e)?d.breakContents:d.flatContents;t&&p.push({mode:e,doc:t});break}case"line":if(1===e||d.hard)return!0;d.soft||(h.push(" "),n--);break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1}}return!1}t.exports={printDocToString:function(e,t){r={};let d=t.printWidth,g=n(t.endOfLine),O=0,D=[{ind:{value:"",length:0,queue:[]},mode:1,doc:e}],y=[],v=!1,S=[];for(;D.length>0;){let{ind:e,mode:n,doc:C}=D.pop();if("string"==typeof C){let e="\n"!==g?C.replace(/\n/g,g):C;y.push(e),O+=s(e)}else if(u(C)){let t=c(C);for(let r=t.length-1;r>=0;r--)D.push({ind:e,mode:n,doc:t[r]})}else switch(C.type){case"cursor":y.push(a.placeholder);break;case"indent":D.push({ind:p(e,t),mode:n,doc:C.contents});break;case"align":D.push({ind:h(e,C.n,t),mode:n,doc:C.contents});break;case"trim":O-=f(y);break;case"group":switch(n){case 2:if(!v){D.push({ind:e,mode:C.break?1:2,doc:C.contents});break}case 1:{v=!1;let t={ind:e,mode:2,doc:C.contents},r=d-O,n=S.length>0;if(!C.break&&m(t,D,r,n))D.push(t);else if(C.expandedStates){let t=i(C.expandedStates);if(C.break){D.push({ind:e,mode:1,doc:t});break}for(let i=1;i<C.expandedStates.length+1;i++){if(i>=C.expandedStates.length){D.push({ind:e,mode:1,doc:t});break}{let t={ind:e,mode:2,doc:C.expandedStates[i]};if(m(t,D,r,n)){D.push(t);break}}}}else D.push({ind:e,mode:1,doc:C.contents});break}}C.id&&(r[C.id]=i(D).mode);break;case"fill":{let t=d-O,{parts:r}=C;if(0===r.length)break;let[i,s]=r,a={ind:e,mode:2,doc:i},l={ind:e,mode:1,doc:i},u=m(a,[],t,S.length>0,!0);if(1===r.length){u?D.push(a):D.push(l);break}let c={ind:e,mode:2,doc:s},p={ind:e,mode:1,doc:s};if(2===r.length){u?D.push(c,a):D.push(p,l);break}r.splice(0,2);let h={ind:e,mode:n,doc:o(r)};m({ind:e,mode:2,doc:[i,s,r[0]]},[],t,S.length>0,!0)?D.push(h,c,a):u?D.push(h,p,a):D.push(h,p,l);break}case"if-break":case"indent-if-break":{let t=C.groupId?r[C.groupId]:n;if(1===t){let t="if-break"===C.type?C.breakContents:C.negate?C.contents:l(C.contents);t&&D.push({ind:e,mode:n,doc:t})}if(2===t){let t="if-break"===C.type?C.flatContents:C.negate?l(C.contents):C.contents;t&&D.push({ind:e,mode:n,doc:t})}break}case"line-suffix":S.push({ind:e,mode:n,doc:C.contents});break;case"line-suffix-boundary":S.length>0&&D.push({ind:e,mode:n,doc:{type:"line",hard:!0}});break;case"line":switch(n){case 2:if(!C.hard){C.soft||(y.push(" "),O+=1);break}v=!0;case 1:if(S.length>0){D.push({ind:e,mode:n,doc:C},...S.reverse()),S.length=0;break}C.literal?e.root?(y.push(g,e.root.value),O=e.root.length):(y.push(g),O=0):(O-=f(y),y.push(g+e.value),O=e.length)}break;case"label":D.push({ind:e,mode:n,doc:C.contents})}0===D.length&&S.length>0&&(D.push(...S.reverse()),S.length=0)}let C=y.indexOf(a.placeholder);if(-1!==C){let e=y.indexOf(a.placeholder,C+1),t=y.slice(0,C).join(""),r=y.slice(C+1,e).join("");return{formatted:t+r+y.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:y.join("")}}}}}),Z=y({"src/document/doc-debug.js"(e,t){b();var{isConcat:r,getDocParts:n}=j();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}t.exports={printDocToDebug:function(e){let t=Object.create(null),s=new Set;return function e(t,i,s){if("string"==typeof t)return JSON.stringify(t);if(r(t)){let r=n(t).map(e).filter(Boolean);return 1===r.length?r[0]:`[${r.join(", ")}]`}if("line"===t.type){let e=Array.isArray(s)&&s[i+1]&&"break-parent"===s[i+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(s)&&s[i-1]&&"line"===s[i-1].type&&s[i-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+`, { groupId: ${o(t.groupId)} }`:"")+")";if("indent-if-break"===t.type){let r=[];t.negate&&r.push("negate: true"),t.groupId&&r.push(`groupId: ${o(t.groupId)}`);let n=r.length>0?`, { ${r.join(", ")} }`:"";return`indentIfBreak(${e(t.contents)}${n})`}if("group"===t.type){let r=[];t.break&&"propagated"!==t.break&&r.push("shouldBreak: true"),t.id&&r.push(`id: ${o(t.id)}`);let n=r.length>0?`, { ${r.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map(t=>e(t)).join(",")}]${n})`:`group(${e(t.contents)}${n})`}if("fill"===t.type)return`fill([${t.parts.map(t=>e(t)).join(", ")}])`;if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return`label(${JSON.stringify(t.label)}, ${e(t.contents)})`;throw new Error("Unknown doc type "+t.type)}(i(e));function o(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)})`}}}}}}),V=y({"src/document/index.js"(e,t){b(),t.exports={builders:A(),printer:X(),utils:j(),debug:Z()}}}),q={};function z(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}v(q,{default:()=>z});var W=D({"node_modules/escape-string-regexp/index.js"(){b()}}),Y=y({"node_modules/semver/internal/debug.js"(e,t){b();var r="object"==typeof p&&p.env&&p.env.NODE_DEBUG&&/\bsemver\b/i.test(p.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),G=y({"node_modules/semver/internal/constants.js"(e,t){b();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),U=y({"node_modules/semver/internal/re.js"(e,t){b();var{MAX_SAFE_COMPONENT_LENGTH:r}=G(),n=Y(),i=(e=t.exports={}).re=[],s=e.src=[],o=e.t={},a=0,l=(e,t,r)=>{let l=a++;n(e,l,t),o[e]=l,s[l]=t,i[l]=new RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),l("FULL",`^${s[o.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),l("LOOSE",`^${s[o.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),l("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",s[o.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",l("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",l("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),H=y({"node_modules/semver/internal/parse-options.js"(e,t){b();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}}}),J=y({"node_modules/semver/internal/identifiers.js"(e,t){b();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:e<t?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}}}),K=y({"node_modules/semver/classes/semver.js"(e,t){b();var r=Y(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=G(),{re:s,t:o}=U(),a=H(),{compareIdentifiers:l}=J(),u=class{constructor(e,t){if(t=a(t),e instanceof u){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 l=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!l)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+l[1],this.minor=+l[2],this.patch=+l[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");l[4]?this.prerelease=l[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return l(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return l(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===l(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=u}}),ee=y({"node_modules/semver/functions/compare.js"(e,t){b();var r=K();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),te=y({"node_modules/semver/functions/lt.js"(e,t){b();var r=ee();t.exports=(e,t,n)=>r(e,t,n)<0}}),re=y({"node_modules/semver/functions/gte.js"(e,t){b();var r=ee();t.exports=(e,t,n)=>r(e,t,n)>=0}}),ne=y({"src/utils/arrayify.js"(e,t){b(),t.exports=(e,t)=>Object.entries(e).map(e=>{let[r,n]=e;return Object.assign({[t]:r},n)})}}),ie=y({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}b(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var i=Object.prototype.hasOwnProperty,s=function(e,t){return i.call(e,t)};function o(e,t){for(var r in t)s(t,r)&&(e[r]=t[r]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,l=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function h(e,t,r){var n=0,i=e[0].match(c);i&&(n=i[1].length);var s=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,u=r.trimLeadingNewline,p=r.trimTrailingNewline,h="string"==typeof o,d=e.length;return e.map(function(e,t){return e=e.replace(s,"$1"),0===t&&u&&(e=e.replace(a,"")),t===d-1&&p&&(e=e.replace(l,"")),h&&(e=e.replace(/\r\n|\n|\r/g,function(e){return o})),e})}var d=function e(t){var r=n(),i=n();return o(function n(a){for(var l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];if(function(e){return s(e,"raw")&&s(e,"length")}(a)){var f=a,m=(l[0]===n||l[0]===d)&&p.test(f[0])&&u.test(f[1]),g=m?i:r,O=g.get(f);return O||(O=h(f,m,t),g.set(f,O)),0===l.length?O[0]:function(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}(O,m?l.slice(1):l)}return e(o(o({},t),a||{}))},{string:function(e){return h([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=d,e.default=d,typeof t<"u")try{t.exports=d,Object.defineProperty(d,"__esModule",{value:!0}),d.default=d,d.outdent=d}catch{}}}),se=y({"src/main/core-options.js"(e,t){b();var{outdent:r}=ie(),n="Config",i="Editor",s="Other",o="Global",a="Special",l={cursorOffset:{since:"1.4.0",category:a,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:r`
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:i},endOfLine:{since:"1.15.0",category:o,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:r`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:a,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:s,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:a,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:s},parser:{since:"0.0.10",category:o,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"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:o,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:o,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:o,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:a,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:a,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:a,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:s},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,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:"Format",CATEGORY_OTHER:s,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:a,options:l}}}),oe=y({"src/main/support.js"(e,t){b();var r={compare:ee(),lt:te(),gte:re()},n=ne(),i=E().version,s=se().options;t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:o=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=i.split("-",1)[0],p=e.flatMap(e=>e.languages||[]).filter(d),h=n(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),s),"name").filter(e=>d(e)&&f(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(function(e){if(l)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return c(e,a)}).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(d).sort((e,t)=>r.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>d(e)&&f(e)),"parser"===t.name&&function(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,p,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:p,options:h};function d(e){return t||!("since"in e)||e.since&&r.gte(u,e.since)}function f(e){return o||!("deprecated"in e)||e.deprecated&&r.lt(u,e.deprecated)}}}}}),ae=y({"src/utils/is-non-empty-array.js"(e,t){b(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),le=y({"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&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}b();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),ue=y({"src/utils/text/skip-inline-comment.js"(e,t){b(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),ce=y({"src/utils/text/skip-trailing-comment.js"(e,t){b();var{skipEverythingButNewLine:r}=le();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),pe=y({"src/utils/text/skip-newline.js"(e,t){b(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),he=y({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){b();var r=ue(),n=pe(),i=ce(),{skipSpaces:s}=le();t.exports=function(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}}}),de=y({"src/common/util.js"(e,t){b();var{default:r}=(W(),C(q)),n=k(),{getSupportInfo:i}=oe(),s=ae(),o=I(),{skipWhitespace:a,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c}=le(),p=ue(),h=ce(),d=pe(),f=he();function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=l(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function g(e,t){let r=null,n=t;for(;n!==r;)r=n,n=u(e,n),n=p(e,n),n=l(e,n);return n=h(e,n),n=d(e,n),!1!==n&&m(e,n)}function O(e,t,r){return f(e,r(t))}function D(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function y(e,t){let r={quote:'"',regex:/"/g,escaped:"""},n={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?n:r,s=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(s.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i),o}function v(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,(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+i+t}function S(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(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)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find(t=>{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]},getStringWidth:o,getMaxContinuousCount:function(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)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>s&&(s=r)}for(let e=1;e<s;e++)if(!i.get(e))return e;return s+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:O,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(O(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}},skipWhitespace:a,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:g,isNextLineEmpty:function(e,t,r){return g(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=l(e,n,{backwards:!0}),n=d(e,n,{backwards:!0}),n=l(e,n,{backwards:!0}),n!==d(e,n,{backwards:!0})},hasNewline:m,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:D,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:D(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:y,printString:function(e,t){let r=e.slice(1,-1);return v(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":y(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(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|$)/,"")},makeString:v,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,S(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),S(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,S(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:s,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),fe={};function me(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 ge(){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=me(Ee(e.split("/"),function(e){return!!e}),!t).join("/"))||"."}function Oe(e){var t=De(e),r="/"===Pe(e,-1);return!(e=me(Ee(e.split("/"),function(e){return!!e}),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function De(e){return"/"===e.charAt(0)}function ye(){return Oe(Ee(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 ve(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=ge(e).substr(1),t=ge(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;a<s;a++)if(n[a]!==i[a]){o=a;break}var l=[];for(a=o;a<n.length;a++)l.push("..");return(l=l.concat(i.slice(o))).join("/")}function Se(e){var t=we(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function Ce(e,t){var r=we(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function be(e){return we(e)[3]}function Ee(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}v(fe,{basename:()=>Ce,default:()=>Fe,delimiter:()=>Te,dirname:()=>Se,extname:()=>be,isAbsolute:()=>De,join:()=>ye,normalize:()=>Oe,relative:()=>ve,resolve:()=>ge,sep:()=>Ae});var xe,we,Ae,Te,Fe,Pe,Qe=D({"node-modules-polyfills:path"(){b(),xe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,we=function(e){return xe.exec(e).slice(1)},Fe={extname:be,basename:Ce,dirname:Se,sep:Ae="/",delimiter:Te=":",relative:ve,join:ye,isAbsolute:De,normalize:Oe,resolve:ge},Pe=function(e,t,r){return e.substr(t,r)}}}),$e=y({"node-modules-polyfills-commonjs:path"(e,t){b();var r=(Qe(),C(fe));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Be=y({"src/common/errors.js"(e,t){b();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}}}),_e={};function Ne(e,t){function r(){this.constructor=e}lt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Re(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<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function Le(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=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 je(e,t){return function(r,n){t(r,n,e)}}function Ve(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function qe(e,t,r,n){return new(r||(r=Promise))(function(i,s){function o(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof r?e:new r(function(t){t(e)})}(e.value).then(o,a)}l((n=n.apply(e,t||[])).next())})}function ze(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(s){return function(a){return function(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]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function We(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function Ye(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Ge(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=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 Ue(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(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function He(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ue(arguments[t]));return e}function Je(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function Ke(e){return this instanceof Ke?(this.v=e,this):new Ke(e)}function et(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{!function(e){e.value instanceof Ke?Promise.resolve(e.value.v).then(l,u):c(s[0][2],e)}(i[e](t))}catch(e){c(s[0][3],e)}}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function tt(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:Ke(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function rt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Ge(e),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,i){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,i,(t=e[r](t)).done,t.value)})}}}function nt(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function it(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 st(e){return e&&e.__esModule?e:{default:e}}function ot(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function at(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}v(_e,{__assign:()=>ut,__asyncDelegator:()=>tt,__asyncGenerator:()=>et,__asyncValues:()=>rt,__await:()=>Ke,__awaiter:()=>qe,__classPrivateFieldGet:()=>ot,__classPrivateFieldSet:()=>at,__createBinding:()=>We,__decorate:()=>Le,__exportStar:()=>Ye,__extends:()=>Ne,__generator:()=>ze,__importDefault:()=>st,__importStar:()=>it,__makeTemplateObject:()=>nt,__metadata:()=>Ve,__param:()=>je,__read:()=>Ue,__rest:()=>Re,__spread:()=>He,__spreadArrays:()=>Je,__values:()=>Ge});var lt,ut,ct=D({"node_modules/tslib/tslib.es6.js"(){b(),lt=function(e,t){return(lt=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)},ut=function(){return ut=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ut.apply(this,arguments)}}}),pt=y({"node_modules/vnopts/lib/descriptors/api.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_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})}}}}),ht=y({"node_modules/vnopts/lib/descriptors/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),C(_e)).__exportStar(pt(),e)}}),dt=y({"scripts/build/shims/chalk.cjs"(e,t){b();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}}),ft=y({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();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("; ")+"."}}}),mt=y({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),C(_e)).__exportStar(ft(),e)}}),gt=y({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();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(" ")}}),Ot=y({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),C(_e)).__exportStar(gt(),e)}}),Dt=y({"node_modules/vnopts/node_modules/leven/index.js"(e,t){b();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;a<s&&e.charCodeAt(a)===t.charCodeAt(a);)a++;if(o-=a,0===(s-=a))return o;for(var l,u,c,p,h=0,d=0;h<s;)n[a+h]=e.charCodeAt(a+h),r[h]=++h;for(;d<o;)for(l=t.charCodeAt(a+d),c=d++,u=d,h=0;h<s;h++)p=l===n[a+h]?c:c+1,c=r[h],u=r[h]=c>u?p>u?u+1:p:p>c?c+1:p;return u}}}),yt=y({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt(),r=Dt();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:o,schemas:a}=i,l=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:n}))}.`],u=Object.keys(a).sort().find(t=>r(e,t)<3);u&&l.push(`Did you mean ${t.default.blue(s.key(u))}?`),o.warn(l.join(" "))}}}),vt=y({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),C(_e)).__exportStar(yt(),e)}}),St=y({"node_modules/vnopts/lib/handlers/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),C(_e));t.__exportStar(mt(),e),t.__exportStar(Ot(),e),t.__exportStar(vt(),e)}}),Ct=y({"node_modules/vnopts/lib/schema.js"(e){b(),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 e of t)e in r&&(o[e]=i(r[e],s,n.prototype[e].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;s<n;s++)i[s]=arguments[s];return e(...i.slice(0,r-1),t,...i.slice(r-1))}:()=>e}e.Schema=n}}),bt=y({"node_modules/vnopts/lib/schemas/alias.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),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}}),Et=y({"node_modules/vnopts/lib/schemas/any.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),xt=y({"node_modules/vnopts/lib/schemas/array.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),C(_e)),r=Ct(),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}}),wt=y({"node_modules/vnopts/lib/schemas/boolean.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),At=y({"node_modules/vnopts/lib/utils.js"(e){function t(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 r(e,r){return void 0===e?[]:Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]}b(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(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},e.mapFromArray=function(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},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}},e.partition=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(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)},e.normalizeDefaultResult=function(e){return void 0===e?{}:e},e.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},e.normalizeDeprecatedResult=function(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)},e.normalizeTransferResult=t,e.normalizeForwardResult=r,e.normalizeRedirectResult=function(e,t){let n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}}),Tt=y({"node_modules/vnopts/lib/schemas/choice.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),r=At(),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}}),kt=y({"node_modules/vnopts/lib/schemas/number.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),Ft=y({"node_modules/vnopts/lib/schemas/integer.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=kt(),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}}),Pt=y({"node_modules/vnopts/lib/schemas/string.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),Qt=y({"node_modules/vnopts/lib/schemas/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),C(_e));t.__exportStar(bt(),e),t.__exportStar(Et(),e),t.__exportStar(xt(),e),t.__exportStar(wt(),e),t.__exportStar(Tt(),e),t.__exportStar(Ft(),e),t.__exportStar(kt(),e),t.__exportStar(Pt(),e)}}),$t=y({"node_modules/vnopts/lib/defaults.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=pt(),r=ft(),n=Ot(),i=yt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Bt=y({"node_modules/vnopts/lib/normalize.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=$t(),r=At();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:l=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=l,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 e of Object.keys(this._utils.schemas)){let i=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(i.default(this._utils));"value"in t&&n.push({[e]:t.value})}}i();for(let e of Object.keys(this._utils.schemas)){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,s]=r.partition(Object.keys(e),e=>e in this._utils.schemas);for(let s of i){let i=this._utils.schemas[s],o=i.preprocess(e[s],this._utils),a=r.normalizeValidateResult(i.validate(o,this._utils),o);if(!0!==a){let{value:e}=a,t=this._invalidHandler(s,e,this._utils);throw"string"==typeof t?new Error(t):t}let l=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},u=e=>{let{value:t,redirectTo:n}=e,a=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),o,!0);if(!1!==a)if(!0===a)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,n,this._utils));else for(let{value:e}of a){let t={key:s,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};r.normalizeForwardResult(i.forward(o,this._utils),o).forEach(l);let c=r.normalizeRedirectResult(i.redirect(o,this._utils),o);if(c.redirect.forEach(l),"remain"in c){let e=c.remain;t[s]=s in t?i.overlap(t[s],e,this._utils):e,u({value:e})}for(let{from:e,to:t}of c.redirect)u({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}}),_t=y({"node_modules/vnopts/lib/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),C(_e));t.__exportStar(ht(),e),t.__exportStar(St(),e),t.__exportStar(Qt(),e),t.__exportStar(Bt(),e),t.__exportStar(Ct(),e)}}),Nt=y({"src/main/options-normalizer.js"(e,t){b();var r,n=_t(),i=k(),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,l);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:o}))},f=o?s:n.apiDescriptor,m=function(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,o=[];r&&o.push(n.AnySchema.create({name:"_"}));for(let t of e)o.push(u(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),t.alias&&r&&o.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}(t,{isCLI:o,colorsModule:p,levenshteinDistance:h}),g=new n.Normalizer(m,{logger:i,unknown:d,descriptor:f}),O=!1!==i;O&&r&&(g._hasDeprecationWarned=r);let D=g.normalize(e);return O&&(r=g._hasDeprecationWarned),o&&!1===D["plugin-search"]&&(D["plugin-search-dir"]=!1),D}function u(e,t){let{isCLI:r,optionInfos:s,colorsModule:a,levenshteinDistance:l}=t,{name:u}=e;if("plugin-search-dir"===u||"pluginSearchDirs"===u)return n.AnySchema.create({name:u,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:u},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:l}),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))}t.exports={normalizeApiOptions:function(e,t,r){return a(e,t,r)},normalizeCliOptions:function(e,t,r){return a(e,t,Object.assign({isCLI:!0},r))}}}}),Mt=y({"src/language-js/loc.js"(e,t){b();var r=ae();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)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:function(e,t){return s(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),Rt=y({"src/main/load-parser.js"(e,t){b(),t.exports=()=>{}}}),Lt=y({"scripts/build/shims/babel-highlight.cjs"(e,t){b();var r=dt(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),It=y({"node_modules/@babel/code-frame/lib/index.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=i,e.default=function(e,t,n){let s=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`.";p.emitWarning?p.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return i(e,{start:{column:n=Math.max(n,0),line:t}},s)};var t=Lt(),r=!1;var n=/\r\n|[\n\r\u2028\u2029]/;function i(e,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(i.highlightCode||i.forceColor)&&(0,t.shouldHighlight)(i),o=(0,t.getChalk)(i),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(o),l=(e,t)=>s?e(t):t,u=e.split(n),{start:c,end:p,markerLines:h}=function(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,l=n.column,u=i.line,c=i.column,p=Math.max(a-(s+1),0),h=Math.min(t.length,u+o);-1===a&&(p=0),-1===u&&(h=t.length);let d=u-a,f={};if(d)for(let e=0;e<=d;e++){let r=e+a;if(l)if(0===e){let e=t[r-1].length;f[r]=[l,e-l+1]}else if(e===d)f[r]=[0,c];else{let n=t[r-e].length;f[r]=[0,n]}else f[r]=!0}else f[a]=l===c?!l||[l,0]:[l,c-l];return{start:p,end:h,markerLines:f}}(r,u,i),d=r.start&&"number"==typeof r.start.column,f=String(p).length,m=(s?(0,t.default)(e,i):e).split(n,p).slice(c,p).map((e,t)=>{let r=c+1+t,n=` ${` ${r}`.slice(-f)} |`,s=h[r],o=!h[r+1];if(s){let t="";if(Array.isArray(s)){let r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),u=s[1]||1;t=["\n ",l(a.gutter,n.replace(/\d/g," "))," ",r,l(a.marker,"^").repeat(u)].join(""),o&&i.message&&(t+=" "+l(a.message,i.message))}return[l(a.marker,">"),l(a.gutter,n),e.length>0?` ${e}`:"",t].join("")}return` ${l(a.gutter,n)}${e.length>0?` ${e}`:""}`}).join("\n");return i.message&&!d&&(m=`${" ".repeat(f+1)}${i.message}\n${m}`),s?o.reset(m):m}}}),jt=y({"src/main/parser.js"(e,t){b();var{ConfigError:r}=Be(),n=Mt(),{locStart:i,locEnd:s}=(Rt(),n),o=Object.getOwnPropertyNames,a=Object.getOwnPropertyDescriptor;function l(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 u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l(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.`)}}t.exports={parse:function(e,t){let r=l(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map(e=>[e,{enumerable:!0,get:()=>r[e].parse}]))),i=u(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(t){let{loc:r}=t;if(r){let{codeFrameColumns:n}=It();throw t.codeFrame=n(e,r,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t}},resolveParser:u}}}),Xt=y({"src/main/options.js"(e,t){b();var r=$e(),{UndefinedParserError:n}=Be(),{getSupportInfo:i}=oe(),s=Nt(),{resolveParser:o}=jt(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function l(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:function(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,c=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=l(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 p=o(s.normalizeApiOptions(r,[u.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));r.astFormat=p.astFormat,r.locEnd=p.locEnd,r.locStart=p.locStart;let h=function(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}(r);r.printer=h.printers[r.astFormat];let d=Object.fromEntries(u.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[h.name]).map(e=>[e.name,e.pluginDefaults[h.name]])),f=Object.assign(Object.assign({},c),d);for(let[e,t]of Object.entries(f))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,u,Object.assign({passThrough:Object.keys(a)},t))},hiddenDefaults:a,inferParser:l}}}),Zt=y({"src/main/massage-ast.js"(e,t){b(),t.exports=function e(t,r,n){if(Array.isArray(t))return t.map(t=>e(t,r,n)).filter(Boolean);if(!t||"object"!=typeof t)return t;let i,s=r.printer.massageAstNode;i=s&&s.ignoredProperties?s.ignoredProperties:new Set;let o={};for(let[n,s]of Object.entries(t))!i.has(n)&&"function"!=typeof s&&(o[n]=e(s,r,t));if(s){let e=s(t,o,n);if(null===e)return;if(e)return e}return o}}}),Vt=y({"scripts/build/shims/assert.cjs"(e,t){b();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),qt=y({"src/main/comments.js"(e,t){b();var r=Vt(),{builders:{line:n,hardline:i,breakParent:s,indent:o,lineSuffix:a,join:l,cursor:u}}=V(),{hasNewline:c,skipNewline:p,skipSpaces:h,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:g}=de(),O=new WeakMap;function D(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(O.has(e))return O.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=[],O.set(e,r));for(let e of o)D(e,t,r);return r}}function y(e,t,r,n){let i,s,{locStart:o,locEnd:a}=r,l=o(t),u=a(t),c=D(e,r),p=0,h=c.length;for(;p<h;){let e=p+h>>1,n=c[e],d=o(n),f=a(n);if(d<=l&&u<=f)return y(n,t,r,n);if(f<=l)i=n,p=e+1;else{if(!(u<=d))throw new Error("Comment location overlaps with node location");s=n,h=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,o=A(e,t,r);i&&A(e,i,r)!==o&&(i=null),s&&A(e,s,r)!==o&&(s=null)}return{enclosingNode:n,precedingNode:i,followingNode:s}}var v=()=>!1;var S=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,l=o(i);if(s)for(let t=n-1;t>=0;t--){let{comment:n,precedingNode:i}=r[t];if(i!==s||!S(e.slice(a(n),l)))break;l=o(n)}return c(e,l,{backwards:!0})}function E(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:o,locEnd:a}=t,l=a(i);if(s)for(let t=n+1;t<r.length;t++){let{comment:n,followingNode:i}=r[t];if(i!==s||!S(e.slice(l,o(n))))break;l=a(n)}return c(e,l)}function x(e,t,n){let i=e.length;if(0===i)return;let s,{precedingNode:o,followingNode:a,enclosingNode:l}=e[0],u=n.printer.getGapRegex&&n.printer.getGapRegex(l)||/^[\s(]*$/,c=n.locStart(a);for(s=i;s>0;--s){let{comment:i,precedingNode:l,followingNode:p}=e[s-1];r.strictEqual(l,o),r.strictEqual(p,a);let h=t.slice(n.locEnd(i),c);if(!u.test(h))break;c=n.locStart(i)}for(let[t,{comment:r}]of e.entries())t<s?g(o,r):f(a,r);for(let e of[o,a])e.comments&&e.comments.length>1&&e.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function w(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function A(e,t,r){let n=r.locStart(t)-1;for(let t=1;t<e.length;++t)if(n<r.locStart(e[t]))return t-1;return 0}function T(e,t,r){let o=e.getValue();if(!o)return{};let l=o.comments||[];r&&(l=l.filter(e=>!r.has(e)));let f=o===t.cursorNode;if(0===l.length){let e=f?u:"";return{leading:e,trailing:e}}let m=[],g=[];return e.each(()=>{let o=e.getValue();if(r&&r.has(o))return;let{leading:l,trailing:u}=o;l?m.push(function(e,t){let r=e.getValue(),s=[w(e,t)],{printer:o,originalText:a,locStart:l,locEnd:u}=t;if(o.isBlockComment&&o.isBlockComment(r)){let e=c(a,u(r))?c(a,l(r),{backwards:!0})?i:n:" ";s.push(e)}else s.push(i);let d=p(a,h(a,u(r)));return!1!==d&&c(a,d)&&s.push(i),s}(e,t)):u&&g.push(function(e,t){let r=e.getValue(),n=w(e,t),{printer:o,originalText:l,locStart:u}=t,p=o.isBlockComment&&o.isBlockComment(r);if(c(l,u(r),{backwards:!0})){let e=d(l,r,u);return a([i,e?i:"",n])}let h=[" ",n];return p||(h=[a(h),s]),h}(e,t))},"comments"),f&&(m.unshift(u),g.push(u)),{leading:m,trailing:g}}t.exports={attach:function(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:s,locEnd:o,printer:{handleComments:a={}}}=n,{avoidAstMutation:l,ownLine:u=v,endOfLine:c=v,remaining:p=v}=a,h=e.map((i,s)=>Object.assign(Object.assign({},y(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===s}));for(let[e,t]of h.entries()){let r,{comment:n,precedingNode:a,enclosingNode:d,followingNode:O,text:D,options:y,ast:v,isLastComment:S}=t;if("json"===y.parser||"json5"===y.parser||"__js_expression"===y.parser||"__vue_expression"===y.parser||"__vue_ts_expression"===y.parser){if(s(n)-s(v)<=0){f(v,n);continue}if(o(n)-o(v)>=0){g(v,n);continue}}if(l?r=[t]:(n.enclosingNode=d,n.precedingNode=a,n.followingNode=O,r=[n,D,y,v,S]),C(D,y,h,e))n.placement="ownLine",u(...r)||(O?f(O,n):a?g(a,n):m(d||v,n));else if(E(D,y,h,e))n.placement="endOfLine",c(...r)||(a?g(a,n):O?f(O,n):m(d||v,n));else if(n.placement="remaining",!p(...r))if(a&&O){let e=i.length;e>0&&i[e-1].followingNode!==O&&x(i,D,y),i.push(t)}else a?g(a,n):O?f(O,n):m(d||v,n)}if(x(i,r,n),!l)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,r,n){let{leading:i,trailing:s}=T(e,r,n);return i||s?[i,t,s]:t},printCommentsSeparately:T,printDanglingComments:function(e,t,r,n){let s=[],a=e.getValue();return a&&a.comments&&(e.each(()=>{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&s.push(w(e,t))},"comments"),0!==s.length)?r?l(i,s):o([i,l(i,s)]):""},getSortedChildNodes:D,ensureAllCommentsPrinted:function(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}}}}}),zt=y({"src/common/ast-path.js"(e,t){b();var r=k();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}t.exports=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;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);let l=e(this);return t.length=n,l}callParent(e){let t=arguments.length>1&&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;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);for(let r=0;r<i.length;++r)t.push(r,i[r]),e(this,r,i),t.length-=2;t.length=n}map(e){let t=[];for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this.each((r,n,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;s<n;s++)i[s]=arguments[s];for(let n of i){if(void 0===r)return!1;let i=null;if("number"==typeof t&&(i=t,t=this.stack[e--],r=this.stack[e--]),n&&!n(r,t,i))return!1;t=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(;n;){let i=null;if("number"==typeof r&&(i=r,r=this.stack[t--],n=this.stack[t--]),null!==r&&e(n,r,i))return n;r=this.stack[t--],n=this.stack[t--]}}}}}),Wt=y({"src/main/multiparser.js"(e,t){b();var{utils:{stripTrailingHardline:r}}=V(),{normalize:n}=Xt(),i=qt();t.exports={printSubtree:function(e,t,s,o){if(s.printer.embed&&"auto"===s.embeddedLanguageFormatting)return s.printer.embed(e,t,(e,t,a)=>function(e,t,s,o){let{stripTrailingHardline:a=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=n(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),u=jt().parse(e,l),{ast:c}=u;e=u.text;let p=c.comments;delete c.comments,i.attach(p,c,e,l),l[Symbol.for("comments")]=p||[],l[Symbol.for("tokens")]=c.tokens||[];let h=o(c,l);return i.ensureAllCommentsPrinted(p),a?"string"==typeof h?h.replace(/(?:\r?\n)*$/,""):r(h):h}(e,t,s,o,a),s)}}}}),Yt=y({"src/main/ast-to-doc.js"(e,t){b();var r=zt(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:s}}=V(),{printComments:o}=qt(),a=Wt();function l(e,t){let u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:c}=t;c.preprocess&&(e=c.preprocess(e,t));let p=new Map,h=new r(e),d=f();return u>0&&(d=i([n,d],u,t.tabWidth)),s(d),d;function f(e,t){return void 0===e||e===h?m(t):Array.isArray(e)?h.call(()=>m(t),...e):h.call(()=>m(t),e)}function m(e){let r=h.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&p.has(r))return p.get(r);let i=function(e,t,r,n){let i,s,u=e.getValue(),{printer:c}=t;if(c.hasPrettierIgnore&&c.hasPrettierIgnore(e))({doc:i,printedComments:s}=function(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:s}=t,o=i(e),a=s(e),l=new Set;for(let e of n)i(e)>=o&&s(e)<=a&&(e.printed=!0,l.add(e));return{doc:r.slice(o,a),printedComments:l}}(u,t));else{if(u)try{i=a.printSubtree(e,r,t,l)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}i||(i=c.print(e,t,r,n))}return(!c.willPrintOwnComments||!c.willPrintOwnComments(e,t))&&(i=o(e,i,t,s)),i}(h,t,f,e);return n&&p.set(r,i),i}}t.exports=l}}),Gt=y({"src/main/range-util.js"(e,t){b();var r=Vt(),n=qt();function i(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 s(e,t,r,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,{locStart:l,locEnd:u}=r,c=l(e),p=u(e);if(!(t>p||t<c||"rangeEnd"===a&&t===c||"rangeStart"===a&&t===p)){for(let l of n.getSortedChildNodes(e,r)){let n=s(l,t,r,i,[e,...o],a);if(n)return n}if(!i||i(e,o[0]))return{node:e,parentNodes:o}}}var o=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),a=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function l(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,r&&r.type);case"json":case"json5":case"json-stringify":return o.has(t.type);case"graphql":return a.has(t.kind);case"vue":return"root"!==t.tag}return!1}t.exports={calculateRange:function(e,t,n){let{rangeStart:a,rangeEnd:u,locStart:c,locEnd:p}=t;r.ok(u>a);let h=e.slice(a,u).search(/\S/),d=-1===h;if(!d)for(a+=h;u>a&&!/\S/.test(e[u-1]);--u);let f,m,g=s(n,a,t,(e,r)=>l(t,e,r),[],"rangeStart"),O=d?g:s(n,u,t,e=>l(t,e),[],"rangeEnd");if(!g||!O)return{rangeStart:0,rangeEnd:0};if((e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t})(t)){let e=function(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(e=>o.has(e.type)&&n.has(e))}(g,O);f=e,m=e}else({startNode:f,endNode:m}=function(e,t,r){let{locStart:n,locEnd:s}=r,o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let l=n(e.node);for(let e of i(t.parentNodes)){if(!(n(e)>=l))break;a=e}let u=s(t.node);for(let t of i(e.parentNodes)){if(!(s(t)<=u))break;if(o=t,o===a)break}return{startNode:o,endNode:a}}(g,O,t));return{rangeStart:Math.min(c(f),c(m)),rangeEnd:Math.max(p(f),p(m))}},findNodeAtOffset:s}}}),Ut=y({"src/main/core.js"(e,t){b();var{diffArrays:r}=w(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=V(),{getAlignmentSize:s}=de(),{guessEndOfLine:o,convertEndOfLineToChars:a,countEndOfLineChars:l,normalizeEndOfLine:u}=T(),c=Xt().normalize,p=Zt(),h=qt(),d=jt(),f=Yt(),m=Gt(),g=Symbol("cursor");function O(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 l=O(o,s,t),u=f(s,t,i),c=n(u,t);if(h.ensureAllCommentsPrinted(l),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:l};let u=[...n];u.splice(i,0,g);let p=[...a],h=r(u,p),d=s;for(let e of h)if(e.removed){if(e.value.includes(g))break}else d+=e.count;return{formatted:c.formatted,cursorOffset:d,comments:l}}return{formatted:c.formatted,cursorOffset:-1,comments:l}}function y(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function v(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=y(e,r,-1),n=y(e,n,0),i=y(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function S(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=v(e,t),a="\ufeff"===e.charAt(0);if(a&&(e=e.slice(1),r--,n--,i--),"auto"===s&&(s=o(e)),e.includes("\r")){let t=t=>l(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=u(e)}return{hasBOM:a,text:e,options:v(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}))}}function C(e,t){let r=d.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function E(e,t){let r,{hasBOM:n,text:i,options:o}=S(e,c(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!C(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<i.length?r=function(e,t){let{ast:r,text:n}=d.parse(e,t),{rangeStart:i,rangeEnd:o}=m.calculateRange(n,t,r),u=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(u,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),g=f.formatted.trimEnd(),{cursorOffset:O}=t;O>o?O+=g.length-u.length:f.cursorOffset>=0&&(O=f.cursorOffset+i);let y=n.slice(0,i)+g+n.slice(o);if("lf"!==t.endOfLine){let e=a(t.endOfLine);O>=0&&"\r\n"===e&&(O+=l(y.slice(0,O),"\n")),y=y.replace(/\n/g,e)}return{formatted:y,cursorOffset:O,comments:f.comments}}(i,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!C(i,o)&&(i=o.printer.insertPragma(i)),r=D(i,o)),n&&(r.formatted="\ufeff"+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:E,parse(e,t,r){let{text:n,options:i}=S(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)=>E(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 O(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,c(t))}}}),Ht=y({"src/common/util-shared.js"(e,t){b();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:l,skipNewline:u,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:O,isNextLineEmptyAfterIndex:D,isPreviousLineEmpty:y,getNextNonSpaceNonCommentCharacterIndex:v,makeString:S,addLeadingComment:C,addDanglingComment:E,addTrailingComment:x}=de();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:l,skipNewline:u,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:O,isNextLineEmptyAfterIndex:D,isPreviousLineEmpty:y,getNextNonSpaceNonCommentCharacterIndex:v,makeString:S,addLeadingComment:C,addDanglingComment:E,addTrailingComment:x}}}),Jt=y({"src/utils/create-language.js"(e,t){b(),t.exports=function(e,t){let{languageId:r}=e,n=c(e,u);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),Kt=y({"node_modules/esutils/lib/ast.js"(e,t){b(),function(){function e(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 r(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}t.exports={isExpression:function(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},isStatement:e,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(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=r(t)}while(t);return!1},trailingStatement:r}}()}}),er=y({"node_modules/esutils/lib/code.js"(e,t){b(),function(){var e,r,n,i,s,o;function a(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-\u0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BC\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\u0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-\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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\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;t.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(a(t))},isIdentifierPartES6:function(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(a(t))}}}()}}),tr=y({"node_modules/esutils/lib/keyword.js"(e,t){b(),function(){var e=er();function r(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(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 i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(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;++r)if(i=t.charCodeAt(r),!e.isIdentifierPartES5(i))return!1;return!0}function a(e,t){return 1024*(e-55296)+(t-56320)+65536}function l(t){var r,n,i,s,o;if(0===t.length)return!1;for(o=e.isIdentifierStartES6,r=0,n=t.length;r<n;++r){if(55296<=(i=t.charCodeAt(r))&&i<=56319){if(++r>=n||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;i=a(i,s)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:i,isReservedWordES6:s,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:l,isIdentifierES5:function(e,t){return o(e)&&!i(e,t)},isIdentifierES6:function(e,t){return l(e)&&!s(e,t)}}}()}}),rr=y({"node_modules/esutils/lib/utils.js"(e){b(),e.ast=Kt(),e.code=er(),e.keyword=tr()}}),nr=y({"src/language-js/utils/is-block-comment.js"(e,t){b();var r=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>r.has(null==e?void 0:e.type)}}),ir=y({"src/language-js/utils/is-node-matches.js"(e,t){b(),t.exports=function(e,t){return t.some(t=>function(e,t){let r=t.split(".");for(let t=r.length-1;t>=0;t--){let n=r[t];if(0===t)return"Identifier"===e.type&&e.name===n;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}(e,t))}}}),sr=y({"src/language-js/utils/index.js"(e,t){b();var r=rr().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:s,isNonEmptyArray:o,isNextLineEmptyAfterIndex:a,getStringWidth:l}=de(),{locStart:u,locEnd:c,hasSameLocStart:p}=Mt(),h=nr(),d=ir(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),g=new RegExp(`^${f}*::`);function O(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var D=O(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),y=O(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);var v=O(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function S(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function C(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var E=O(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),x=O(["FunctionExpression","ArrowFunctionExpression"]);function w(e){return $(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var A=O(["JSXElement","JSXFragment"]);function T(e){return"get"===e.kind||"set"===e.kind}function k(e){return T(e)||p(e,e.value)}var F=O(["BinaryExpression","LogicalExpression","NGPipeExpression"]);var P=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"]);var Q=["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"];var $=O(["CallExpression","OptionalCallExpression"]),B=O(["MemberExpression","OptionalMemberExpression"]);function _(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function N(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function M(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}var R={"==":!0,"!=":!0,"===":!0,"!==":!0},L={"*":!0,"/":!0,"%":!0},I={">>":!0,">>>":!0,"<<":!0};var j=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(e=>[e,t])));function X(e){return j.get(e)}var Z=new WeakMap;function V(e){if(Z.has(e))return Z.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),Z.set(e,t),t}var q=new WeakMap;function z(e){if(q.has(e))return q.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),q.set(e,t),t}function W(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Y(e){return e&&(e.prettierIgnore||H(e,G.PrettierIgnore))}var G={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},U=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&G.Leading&&!r.leading||e&G.Trailing&&!r.trailing||e&G.Dangling&&(r.leading||r.trailing)||e&G.Block&&!h(r)||e&G.Line&&!D(r)||e&G.First&&0!==n||e&G.Last&&n!==i.length-1||e&G.PrettierIgnore&&!W(r)||t&&!t(r))};function H(e,t,r){if(!o(null==e?void 0:e.comments))return!1;let n=U(t,r);return!n||e.comments.some(n)}function J(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=U(t,r);return n?e.comments.filter(n):e.comments}function K(e){return $(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var ee=Symbol("ifWithoutBlockAndSameLineComment");function te(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:V,iterateFunctionParametersPath:function(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")},getCallArguments:z,iterateCallArgumentsPath:function(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")},hasRestParameter:function(e){var t;if(e.rest)return!0;let r=V(e);return"RestElement"===(null===(t=n(r))||void 0===t?void 0:t.type)},getLeftSide:function(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},getLeftSidePathName:function(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.")},getParentExportDeclaration:function(e){let t=e.getParentNode();return"declaration"===e.getName()&&y(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e||"-"===e?e+t:t},hasFlowAnnotationComment:function(e){let t=null==e?void 0:e[0];return h(t)&&g.test(t.value)},hasFlowShorthandAnnotationComment:function(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)},hasLeadingOwnLineComment:function(e,t){return A(t)?Y(t):H(t,G.Leading,t=>i(e,c(t)))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||$(e)||B(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||te(e)||"TSNonNullExpression"===e.type},hasNode:function e(t,r){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some(t=>e(t,r));let n=r(t);return"boolean"==typeof n?n:Object.values(t).some(t=>e(t,r))},hasIgnoreComment:function(e){return Y(e.getValue())},hasNodeIgnoreComment:Y,identity:function(e){return e},isBinaryish:F,isCallLikeExpression:K,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:D,isPrettierIgnoreComment:W,isCallExpression:$,isMemberExpression:B,isExportDeclaration:y,isFlowAnnotationComment:function(e,t){let r=u(t),n=s(e,c(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(x(r)){if(t+=1,t>1)return!0}else if($(r))for(let e of r.arguments)if(x(e))return!0;return!1},isFunctionNotation:k,isFunctionOrArrowExpression:x,isGetterOrSetter:T,isJestEachTemplateLiteral:function(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))},isJsxNode:A,isLiteral:v,isLongCurriedCallExpression:function(e){let t=e.getValue(),r=e.getParentNode();return $(t)&&$(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0},isSimpleCallArgument:function e(t,r){if(r>=2)return!1;let n=t=>e(t,r+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&l(i)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every(e=>!e.value.raw.includes("\n"))&&t.expressions.every(n):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&n(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||n(e)):K(t)?("ImportExpression"===t.type||e(t.callee,r))&&z(t).every(n):B(t)?e(t.object,r)&&e(t.property,r):"UnaryExpression"===t.type&&{"!":!0,"-":!0,"+":!0,"~":!0}[t.operator]||"UpdateExpression"===t.type&&{"++":!0,"--":!0}[t.operator]?e(t.argument,r):"TSNonNullExpression"===t.type&&e(t.expression,r)))},isMemberish:function(e){return B(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:S,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&S(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:E,isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||k(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!P.has(e.type))},isSimpleNumber:_,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every(e=>{if(H(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(B(e)){let t=e;for(;B(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,H(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:C,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&C(e.key)&&M(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)||_(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))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&N(e)||"TaggedTemplateExpression"===e.type&&N(e.quasi))&&!i(t,u(e),{backwards:!0})},isTestCall:function e(t,r){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(w(t)&&r&&e(r))return x(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return w(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("TemplateLiteral"===t.arguments[0].type||C(t.arguments[0]))&&function(e){return d(e,Q)}(t.callee))return!(t.arguments[2]&&!S(t.arguments[2]))&&((2===t.arguments.length?x(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&V(t.arguments[1]).length<=1)||w(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!A(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||p(e,e.typeAnnotation))},isNextLineEmpty:(e,t)=>{let{originalText:r}=t;return a(r,c(e))},needsHardlineAfterDanglingComment:function(e){if(!H(e))return!1;let t=n(J(e,G.Dangling));return t&&!h(t)},rawText:M,shouldPrintComma:function(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)},isBitwiseOperator:function(e){return Boolean(I[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(X(t)!==X(e)||"**"===e||R[e]&&R[t]||"%"===t&&L[e]||"%"===e&&L[t]||t!==e&&L[t]&&L[e]||I[e]&&I[t])},startsWithNoLookaheadToken:function e(t,r){switch(t.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return e(t.left,r);case"MemberExpression":case"OptionalMemberExpression":return e(t.object,r);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,r);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,r);case"ConditionalExpression":return e(t.test,r);case"UpdateExpression":return!t.prefix&&e(t.argument,r);case"BindExpression":return t.object&&e(t.object,r);case"SequenceExpression":return e(t.expressions[0],r);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,r);default:return r(t)}},getPrecedence:X,hasComment:H,getComments:J,CommentCheckFlags:G,markerForIfWithoutBlockAndSameLineComment:ee,isTSTypeExpression:te}}}),or=y({"src/language-js/print/template-literal.js"(e,t){b();var r=k(),{getStringWidth:n,getIndentSize:i}=de(),{builders:{join:s,hardline:o,softline:a,group:l,indent:u,align:c,lineSuffixBoundary:p,addAlignmentToDoc:h},printer:{printDocToString:d},utils:{mapDoc:f}}=V(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:O,hasComment:D,isMemberExpression:y,isTSTypeExpression:v}=sr();function S(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,f){let S=e.getValue();if("TemplateLiteral"===S.type&&g(S,e.getParentNode())){let i=function(e,t,i){let a=e.getNode(),l=a.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(l.length>1||l.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;e<a.quasis.length;e++){let t=r(m),n=f[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),a.quasis[e].value.raw.includes("\n")&&m.push({hasLineBreak:!1,cells:[]})}let g=Math.max(l.length,...m.map(e=>e.cells.length)),O=Array.from({length:g}).fill(0),D=[{cells:l},...m.filter(e=>e.cells.length>0)];for(let{cells:e}of D.filter(e=>!e.hasLineBreak))for(let[t,r]of e.entries())O[t]=Math.max(O[t],n(r));return h.push(p,"`",u([o,s(o,D.map(e=>s(" | ",e.cells.map((t,r)=>e.hasLineBreak?t:t+" ".repeat(O[r]-n(t))))))]),o,"`"),h}}(e,f,t);if(i)return i}let C="expressions";"TSTemplateLiteralType"===S.type&&(C="types");let b=[],E=e.map(t,C),x=O(S);return x&&(E=E.map(e=>d(e,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),b.push(p,"`"),e.each(e=>{let r=e.getName();if(b.push(t()),r<E.length){let{tabWidth:t}=f,n=e.getValue(),s=i(n.value.raw,t),o=E[r];if(!x){let e=S[C][r];(D(e)||y(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||v(e)||m(e))&&(o=[u([a,o]),a])}let d=0===s&&n.value.raw.endsWith("\n")?c(Number.NEGATIVE_INFINITY,o):h(o,s,t);b.push(l(["${",d,p,"}"]))}},"quasis"),b.push("`"),b},printTemplateExpressions:function(e,t){return e.map(e=>function(e,t){let r=e.getValue(),n=t();return D(r)&&(n=l([u([a,n]),a])),["${",n,p,"}"]}(e,t),"expressions")},escapeTemplateCharacters:function(e,t){return f(e,e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):S(e):e)},uncookTemplateElementValue:S}}}),ar=y({"src/language-js/embed/markdown.js"(e,t){b();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:s}}=V(),{escapeTemplateCharacters:o}=or();t.exports=function(e,t,a){let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`"),u=function(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(l),c=""!==u;c&&(l=l.replace(new RegExp(`^${u}`,"gm"),""));let p=o(a(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",c?r([n,p]):[i,s(p)],n,"`"]}}}),lr=y({"src/language-js/embed/css.js"(e,t){b();var{isNonEmptyArray:r}=de(),{builders:{indent:n,hardline:i,softline:s},utils:{mapDoc:o,replaceEndOfLine:a,cleanDoc:l}}=V(),{printTemplateExpressions:u}=or();t.exports=function(e,t,c){let p=e.getValue(),h=p.quasis.map(e=>e.value.raw),d=0;return function(e,t,u){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let c=function(e,t){if(!r(t))return e;let n=0,i=o(l(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}(e,u);if(!c)throw new Error("Couldn't insert all the expressions");return["`",n([i,c]),s,"`"]}(c(h.reduce((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+d+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),p,u(e,t))}}}),ur=y({"src/language-js/embed/graphql.js"(e,t){b();var{builders:{indent:r,join:n,hardline:i}}=V(),{escapeTemplateCharacters:s,printTemplateExpressions:o}=or();function a(e){let t=[],r=!1,s=e.map(e=>e.trim());for(let[e,n]of s.entries())""!==n&&(""===s[e-1]&&r?t.push([i,n]):t.push(n),r=!0);return 0===t.length?null:n(i,t)}t.exports=function(e,t,l){let u=e.getValue(),c=u.quasis.length;if(1===c&&""===u.quasis[0].value.raw.trim())return"``";let p=o(e,t),h=[];for(let e=0;e<c;e++){let t=0===e,r=e===c-1,n=u.quasis[e].value.cooked,i=n.split("\n"),o=i.length,d=p[e],f=o>2&&""===i[0].trim()&&""===i[1].trim(),m=o>2&&""===i[o-1].trim()&&""===i[o-2].trim(),g=i.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!r&&/#[^\n\r]*$/.test(i[o-1]))return null;let O=null;O=g?a(i):l(n,{parser:"graphql"},{stripTrailingHardline:!0}),O?(O=s(O,!1),!t&&f&&h.push(""),h.push(O),!r&&m&&h.push("")):!t&&!r&&f&&h.push(""),d&&h.push(d)}return["`",r([i,n(i,h)]),i,"`"]}}}),cr=y({"src/language-js/embed/html.js"(e,t){b();var{builders:{indent:r,line:n,hardline:i,group:s},utils:{mapDoc:o}}=V(),{printTemplateExpressions:a,uncookTemplateElementValue:l}=or(),u=0;t.exports=function(e,t,c,p,h){let{parser:d}=h,f=e.getValue(),m=u;u=u+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,O=f.quasis.map((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+g(t)).join(""),D=a(e,t);if(0===D.length&&0===O.trim().length)return"``";let y=new RegExp(g("(\\d+)"),"g"),v=0,S=c(O,{parser:d,__onHtmlRoot(e){v=e.children.length}},{stripTrailingHardline:!0}),C=o(S,e=>{if("string"!=typeof e)return e;let t=[],r=e.split(y);for(let e=0;e<r.length;e++){let n=r[e];if(e%2==0){n&&(n=l(n),p.__embeddedInHtml&&(n=n.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(n));continue}let i=Number(n);t.push(D[i])}return t}),b=/^\s/.test(O)?" ":"",E=/\s$/.test(O)?" ":"",x="ignore"===p.htmlWhitespaceSensitivity?i:b&&E?n:null;return s(x?["`",r([x,s(C)]),x,"`"]:["`",b,v>1?r(s(C)):s(C),E,"`"])}}}),pr=y({"src/language-js/embed.js"(e,t){b();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=sr(),s=ar(),o=lr(),a=ur(),l=cr();function u(e){return function(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)}(e)||function(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 p(r.object)||h(r);case"CallExpression":return p(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(p(r.callee.object.object)||h(r.callee.object))||"CallExpression"===r.callee.object.type&&p(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}(e)||function(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}(e)||function(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,...c)}(e)?"css":function(e){let t=e.getValue(),r=e.getParentNode();return d(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)}(e)?"graphql":function(e){return d(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...c)}(e)?"angular":function(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)}(e)?"markdown":void 0}var c=[(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 p(e){return"Identifier"===e.type&&"styled"===e.name}function h(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function d(e,t){return r(e,n.Block|n.Leading,e=>{let{value:r}=e;return r===` ${t} `})}t.exports=function(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||function(e){let{quasis:t}=e;return t.some(e=>{let{value:{cooked:t}}=e;return null===t})}(i))return;let c=u(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 l(e,t,r,n,{parser:c})}}}}),hr=y({"src/language-js/clean.js"(e,t){b();var r=nr(),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:e,expression:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&i(r);"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}}),dr={};function fr(){if(typeof Tr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])Tr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");Tr="LE"}}return Tr}function mr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function gr(){return[]}function Or(){return 0}function Dr(){return Number.MAX_VALUE}function yr(){return Number.MAX_VALUE}function vr(){return[]}function Sr(){return"Browser"}function Cr(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function br(){}function Er(){}function xr(){return"javascript"}function wr(){return"browser"}function Ar(){return"/tmp"}v(dr,{EOL:()=>Fr,arch:()=>xr,cpus:()=>vr,default:()=>Pr,endianness:()=>fr,freemem:()=>Dr,getNetworkInterfaces:()=>Er,hostname:()=>mr,loadavg:()=>gr,networkInterfaces:()=>br,platform:()=>wr,release:()=>Cr,tmpDir:()=>Ar,tmpdir:()=>kr,totalmem:()=>yr,type:()=>Sr,uptime:()=>Or});var Tr,kr,Fr,Pr,Qr=D({"node-modules-polyfills:os"(){b(),Pr={EOL:Fr="\n",tmpdir:kr=Ar,tmpDir:Ar,networkInterfaces:br,getNetworkInterfaces:Er,release:Cr,type:Sr,cpus:vr,totalmem:yr,freemem:Dr,uptime:Or,loadavg:gr,hostname:mr,endianness:fr}}}),$r=y({"node-modules-polyfills-commonjs:os"(e,t){b();var r=(Qr(),C(dr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Br=y({"node_modules/detect-newline/index.js"(e,t){b();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"}}),_r=y({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=$r();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(Br());return r=function(){return e},e}b(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(s);return t?t[0].trimLeft():""},e.parse=function(e){return h(e).pragmas},e.parseWithComments=h,e.print=function(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o=" *",a=Object.keys(i),l=a.map(e=>d(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>`${o} ${e}${s}`).join("");if(!n){if(0===a.length)return"";if(1===a.length&&!Array.isArray(i[a[0]])){let e=i[a[0]];return`/** ${d(a[0],e)[0]} */`}}let u=n.split(s).map(e=>`${o} ${e}`).join(s)+s;return"/**"+s+(n?u:"")+(n&&a.length?o+s:"")+l+" */"},e.strip=function(e){let t=e.match(s);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*?/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,a=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,c=/(\r?\n|^) *\* ?/g,p=[];function h(e){let s=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(c,"$1");let h="";for(;h!==e;)h=e,e=e.replace(l,`${s}$1 $2${s}`);e=e.replace(a,"").trimRight();let d,f=Object.create(null),m=e.replace(u,"").replace(a,"").trimRight();for(;d=u.exec(e);){let e=d[2].replace(o,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=p.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function d(e,t){return p.concat(t).map(t=>`@${e} ${t}`.trim())}}}),Nr=y({"src/language-js/utils/get-shebang.js"(e,t){b(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),Mr=y({"src/language-js/pragma.js"(e,t){b();var{parseWithComments:r,strip:n,extract:i,print:s}=_r(),{normalizeEndOfLine:o}=T(),a=Nr();function l(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}}t.exports={hasPragma:function(e){let t=Object.keys(l(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:a}=l(e),u=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(u.startsWith("\n")?"\n":"\n\n")+u}}}}),Rr=y({"src/language-js/utils/is-type-cast-comment.js"(e,t){b();var r=nr();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),Lr=y({"src/language-js/comments.js"(e,t){b();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:o,addLeadingComment:a,addTrailingComment:l,addDanglingComment:u,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=de(),{getFunctionParameters:h,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:O,isCallLikeExpression:D,getCallArguments:y,isCallExpression:v,isMemberExpression:S,isObjectProperty:C,isLineComment:E,getComments:x,CommentCheckFlags:w,markerForIfWithoutBlockAndSameLineComment:A}=sr(),{locStart:T,locEnd:k}=Mt(),F=nr(),P=Rr();function Q(e,t){let r=(e.body||e.properties).find(e=>{let{type:t}=e;return"EmptyStatement"!==t});r?a(r,t):u(e,t)}function $(e,t){"BlockStatement"===e.type?Q(e,t):a(e,t)}function B(e){let{comment:t,followingNode:r}=e;return!(!r||!P(t)||(a(r,t),0))}function _(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 l(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)l(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?u(r,t,A):u(n,t)}return!0}return"BlockStatement"===i.type?(Q(i,t),!0):"IfStatement"===i.type?($(i.consequent,t),!0):n.consequent===i&&(a(i,t),!0)}function N(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)?(l(r,t),0):"BlockStatement"===i.type?(Q(i,t),0):n.body!==i||(a(i,t),0)))}function M(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?(l(r,t),0):"BlockStatement"===i.type?(Q(i,t),0):"TryStatement"===i.type?($(i.finalizer,t),0):"CatchClause"!==i.type||($(i.body,t),0)))}function R(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!S(r)||"Identifier"!==(null==n?void 0:n.type)||(a(r,t),0))}function L(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}=e,l=r&&!o(s,k(r),T(t));return!(r&&l||"ConditionalExpression"!==(null==n?void 0:n.type)&&"TSConditionalType"!==(null==n?void 0:n.type)||!i||(a(i,t),0))}function I(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!C(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type||(l(n.value.left,t),0))}var j=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function X(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:s}=e;if(j.has(null==i?void 0:i.type)){if(p(i.decorators)&&(!s||"Decorator"!==s.type))return l(r(i.decorators),t),!0;if(i.body&&s===i.body)return Q(i.body,t),!0;if(s){if(i.superClass&&s===i.superClass&&n&&(n===i.id||n===i.typeParameters))return l(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?u(i,t,e):l(n,t),!0}}return!1}var Z=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function V(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)&&Z.has(null==n?void 0:n.type))&&(l(r,t),!0)}var q=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function z(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!("("!==s(i,t,k)||!r||!q.has(null==n?void 0:n.type)||(l(r,t),0))}function W(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)&&(u(r,t),!0)}function Y(e){let{comment:t,enclosingNode:r,text:n}=e;return!(")"!==s(n,t,k)||(r&&(he(r)&&0===h(r).length||D(r)&&0===y(r).length)?(u(r,t),0):"MethodDefinition"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||0!==h(r.value).length||(u(r.value,t),0)))}function G(e){let{comment:t,precedingNode:n,enclosingNode:o,followingNode:a,text:u}=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&&he(o)&&")"===s(u,t,k))return l(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(u,k(r(e)));let t=i(u,k(o.id));return!1!==t&&i(u,t+1)})();if(T(t)>e)return Q(a,t),!0}return!1}function U(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(a(r,t),!0)}function H(e){let{comment:t,enclosingNode:r}=e;return!("ContinueStatement"!==(null==r?void 0:r.type)&&"BreakStatement"!==(null==r?void 0:r.type)||r.label||(l(r,t),0))}function J(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(v(n)&&r&&n.callee===r&&n.arguments.length>0)&&(a(n.arguments[0],t),!0)}function K(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&&(l(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 ee(e){let{comment:t,enclosingNode:r}=e;return!!C(r)&&(a(r,t),!0)}function te(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:s}=e;return i&&i.body&&0===i.body.length?(s?u(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)&&(u(n,t),!0):(s?u(r,t):a(r,t),!0)}function re(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 ne(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),u="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!o&&!u||!n(s,k(t))||(l(r,t),0))}function ie(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(a(r,t),!0)}var se=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),oe=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ae(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!se.has(null==r?void 0:r.type)||!n||!oe.has(n.type)&&!F(t)||(a(n,t),0))}function le(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)||(l(r,t),0))}function ue(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 ce(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||(l(r.constraint,t),0)))}function pe(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||!n||n!==r.consequent[0]||("BlockStatement"===n.type&&E(t)?Q(n,t):u(r,t),0))}function he(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}t.exports={handleOwnLineComment:function(e){return[ue,G,R,_,N,M,X,re,K,te,ne,ie,V,U,H].some(t=>t(e))},handleEndOfLineComment:function(e){return[B,G,L,ne,_,N,M,X,U,J,ee,te,ae,H,pe].some(t=>t(e))},handleRemainingComment:function(e){return[ue,_,N,I,Y,V,te,W,z,ce,H,le].some(t=>t(e))},getCommentChildNodes:function(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]},willPrintOwnComments:function(e){let t=e.getValue(),r=e.getParentNode();return(t&&(f(t)||m(t)||v(r)&&(g(x(n=t,w.Leading))||g(x(n,w.Trailing))))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!O(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type);var n}}}}),Ir=y({"src/language-js/needs-parens.js"(e,t){b();var r=k(),n=ae(),{getFunctionParameters:i,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:a,hasNode:l,isBitwiseOperator:u,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:h,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:g}=sr();function O(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(a)&&D(e))return!0;if(function(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}(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 O;let t=null===(O=e.findAncestor(e=>"ForOfStatement"===e.type))||void 0===O?void 0:O.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 v;let t=null===(v=e.findAncestor(e=>"ExpressionStatement"===e.type))||void 0===v?void 0:v.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 y(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&&function(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}(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!g(a);case"ConditionalExpression":return g(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||g(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<n&&"%"===e?"+"===i||"-"===i:!!u(i))}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==s;case"ArrowFunctionExpression":return"body"!==s;default:return!0}case"YieldExpression":if("UnaryExpression"===r.type||"AwaitExpression"===r.type||g(r)||"TSNonNullExpression"===r.type)return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"BinaryExpression":return!(!a.argument&&"|>"===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&&function(e){return l(e,e=>"ObjectTypeAnnotation"===e.type&&l(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(a)}return!1}function D(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(D);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(D);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(D);break;case"UnaryExpression":if(n.prefix)return e.callParent(D)}return!1}function y(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!O(e,t):!(!a(r)||"ExportDefaultDeclaration"!==n.type&&O(e,t))&&e.call(e=>y(e,t),...s(e,r))}t.exports=O}}),jr=y({"src/language-js/print-preprocess.js"(e,t){b(),t.exports=function(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}}}}),Xr=y({"src/language-js/print/html-binding.js"(e,t){b();var{builders:{join:r,line:n,group:i,softline:s,indent:o}}=V();t.exports={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,a){let l=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(l,t),"File"===l.type){if(t.__isVueForBindingLeft)return e.call(e=>{let t=r([",",n],e.map(a,"params")),{params:l}=e.getValue();return 1===l.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)}}}}}),Zr=y({"src/language-js/print/binaryish.js"(e,t){b();var{printComments:r}=qt(),{getLast:n}=de(),{builders:{join:i,line:s,softline:o,group:a,indent:l,align:u,indentIfBreak:c},utils:{cleanDoc:p,getDocParts:h,isConcat:d}}=V(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:g,shouldFlatten:O,hasComment:D,CommentCheckFlags:y,isCallExpression:v,isMemberExpression:S,isObjectProperty:C,isEnabledHackPipeline:E}=sr(),x=0;function w(e,t,n,o,c){let g=e.getValue();if(!m(g))return[a(t())];let v=[];O(g.operator,g.left.operator)?v=e.call(e=>w(e,t,n,!0,c),"left"):v.push(a(t("left")));let S,C=A(g),b=("|>"===g.operator||"NGPipeExpression"===g.type||"|"===g.operator&&"__vue_expression"===n.parser)&&!f(n.originalText,g.right),x="NGPipeExpression"===g.type?"|":g.operator,T="NGPipeExpression"===g.type&&g.arguments.length>0?a(l([s,": ",i([s,": "],e.map(t,"arguments").map(e=>u(2,a(e))))])):"";if(C)S=[x," ",t("right"),T];else{let r=E(n)&&"|>"===x?e.call(e=>w(e,t,n,!0,c),"right"):t("right");S=[b?s:"",x,b?" ":s,r,T]}let k=e.getParentNode(),F=D(g.left,y.Trailing|y.Line),P=F||!(c&&"LogicalExpression"===g.type)&&k.type!==g.type&&g.left.type!==g.type&&g.right.type!==g.type;if(v.push(b?"":" ",P?a(S,{shouldBreak:F}):S),o&&D(g)){let t=p(r(e,v,n));return d(t)||"fill"===t.type?h(t):[t]}return v}function A(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||g(e.right))}t.exports={printBinaryishExpression:function(e,t,r){let i=e.getValue(),s=e.getParentNode(),u=e.getParentNode(1),p=i!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),h=E(t)&&"|>"===i.operator,d=w(e,r,t,!1,p);if(p)return d;if(h)return a(d);if(v(s)&&s.callee===i||"UnaryExpression"===s.type||S(s)&&!s.computed)return a([l([o,...d]),o]);let f="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===u.type||"|"!==i.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==i.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===u.type&&1===u.body.length)||i===s.body&&"ArrowFunctionExpression"===s.type||i!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==u.type&&"ThrowStatement"!==u.type&&!v(u)||"TemplateLiteral"===s.type,D="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||C(s),y=m(i.left)&&O(i.operator,i.left.operator);if(f||A(i)&&!y||!A(i)&&D)return a(d);if(0===d.length)return"";let b=g(i.right),T=d.findIndex(e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type),k=d.slice(0,-1===T?1:T+1),F=d.slice(k.length,b?-1:void 0),P=Symbol("logicalChain-"+ ++x),Q=a([...k,l(F)],{id:P});if(!b)return Q;let $=n(d);return a([Q,c($,{groupId:P})])},shouldInlineLogicalExpression:A}}}),Vr=y({"src/language-js/print/angular.js"(e,t){b();var{builders:{join:r,line:n,group:i}}=V(),{hasNode:s,hasComment:o,getComments:a}=sr(),{printBinaryishExpression:l}=Zr();function u(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}t.exports={printAngular:function(e,t,c){let p=e.getValue();if(p.type.startsWith("NG"))switch(p.type){case"NGRoot":return[c("node"),o(p.node)?" //"+a(p.node)[0].value.trimEnd():""];case"NGPipeExpression":return l(e,t,c);case"NGChainedExpression":return i(r([";",n],e.map(e=>function(e){return s(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}(e)?c():["(",c(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[p.prefix,": ",p.value.trim()];case"NGMicrosyntax":return e.map((e,t)=>[0===t?"":u(e.getValue(),t,p)?" ":[";",n],c()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(p.name)?p.name:JSON.stringify(p.name);case"NGMicrosyntaxExpression":return[c("expression"),null===p.alias?"":[" as ",c("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),r=e.getParentNode(),n=u(p,t,r)||(1===t&&("then"===p.key.name||"else"===p.key.name)||2===t&&"else"===p.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[c("key"),n?" ":": ",c("expression")]}case"NGMicrosyntaxLet":return["let ",c("key"),null===p.value?"":[" = ",c("value")]];case"NGMicrosyntaxAs":return[c("key")," as ",c("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(p.type)}.`)}}}}}),qr=y({"src/language-js/print/jsx.js"(e,t){b();var{printComments:r,printDanglingComments:n,printCommentsSeparately:i}=qt(),{builders:{line:s,hardline:o,softline:a,group:l,indent:u,conditionalGroup:c,fill:p,ifBreak:h,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=V(),{getLast:g,getPreferredQuote:O}=de(),{isJsxNode:D,rawText:y,isCallExpression:v,isStringLiteral:S,isBinaryish:C,hasComment:E,CommentCheckFlags:x,hasNodeIgnoreComment:w}=sr(),A=Ir(),{willPrintOwnComments:T}=Lr(),k=e=>""===e||e===s||e===o||e===a;function F(e,t,r){let n=e.getValue();if("JSXElement"===n.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!R(t)}(n))return[r("openingElement"),r("closingElement")];let i="JSXElement"===n.type?r("openingElement"):r("openingFragment"),d="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"),d];n.children=n.children.map(e=>function(e){return"JSXExpressionContainer"===e.type&&S(e.expression)&&" "===e.expression.value&&!E(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e);let f=n.children.some(D),O=n.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,v="JSXElement"===n.type&&n.openingElement.attributes.length>1,C=m(i)||f||v||O,b="mdx"===e.getParentNode().rootMarker,x=t.singleQuote?"{' '}":'{" "}',w=b?" ":h([x,a]," "),A=function(e,t,r,n,i){let a=[];return e.each((e,t,l)=>{let u=e.getValue();if("JSXText"===u.type){let e=y(u);if(R(u)){let r,o=e.split(_);if(""===o[0]){if(a.push(""),o.shift(),/\n/.test(o[0])){let e=l[t+1];a.push(Q(i,o[1],u,e))}else a.push(n);o.shift()}if(""===g(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=l[t+1];a.push(Q(i,g(a),u,e))}else a.push(n);else{let e=l[t+1];a.push(P(i,g(a),u,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=l[t+1];if(n&&R(n)){let e=M(y(n)).split(_)[0];a.push(P(i,e,u,n))}else a.push(o)}},"children"),a}(e,0,r,w,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),T=n.children.some(e=>R(e));for(let e=A.length-2;e>=0;e--){let t=""===A[e]&&""===A[e+1],r=A[e]===o&&""===A[e+1]&&A[e+2]===o,n=(A[e]===a||A[e]===o)&&""===A[e+1]&&A[e+2]===w,i=A[e]===w&&""===A[e+1]&&(A[e+2]===a||A[e+2]===o),s=A[e]===w&&""===A[e+1]&&A[e+2]===w,l=A[e]===a&&""===A[e+1]&&A[e+2]===o||A[e]===o&&""===A[e+1]&&A[e+2]===a;r&&T||t||n||s||l?A.splice(e,2):i&&A.splice(e+1,2)}for(;A.length>0&&k(g(A));)A.pop();for(;A.length>1&&k(A[0])&&k(A[1]);)A.shift(),A.shift();let F=[];for(let[e,t]of A.entries()){if(t===w){if(1===e&&""===A[e-1]){if(2===A.length){F.push(x);continue}F.push([x,o]);continue}if(e===A.length-1){F.push(x);continue}if(""===A[e-1]&&A[e-2]===o){F.push(x);continue}}F.push(t),m(t)&&(C=!0)}let $=T?p(F):l(F,{shouldBreak:!0});if(b)return $;let B=l([i,u([o,$]),o,d]);return C?B:c([l([i,...A,d]),B])}function P(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?a:o:a}function Q(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 $(e,t,r){return e.selfClosing?[s,"/>"]:function(e,t,r){let n=e.attributes.length>0&&E(g(e.attributes),x.Trailing);return 0===e.attributes.length&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}(e,t,r)?[">"]:[a,">"]}function B(e,t,n){return function(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,v,e=>"JSXExpressionContainer"===e.type),s=A(e,r);return l([s?"":h("("),u([a,t]),a,s?"":h(")")],{shouldBreak:i})}(e,r(e,F(e,t,n),t),t)}var _=new RegExp("([ \n\r\t]+)"),N=new RegExp("[^ \n\r\t]"),M=e=>e.replace(new RegExp("(?:^"+_.source+"|"+_.source+"$)"),"");function R(e){return"JSXText"===e.type&&(N.test(y(e))||!/\n/.test(y(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&D(t)&&D(r)))return!1;let n=null;for(let e=r.children.indexOf(t);e>0;e--){let t=r.children[e-1];if("JSXText"!==t.type||R(t)){n=t;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&w(n.expression)},printJsx:function(e,t,c){let p=e.getValue();if(p.type.startsWith("JSX"))switch(p.type){case"JSXAttribute":return function(e,t,r){let n=e.getValue(),s=[];if(s.push(r("name")),n.value){let o;if(S(n.value)){let r=y(n.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:s,quote:a,regex:l}=O(r,t.jsxSingleQuote?"'":'"');r=r.replace(l,s);let{leading:u,trailing:c}=e.call(()=>i(e,t),"value");o=[u,a,r,a,c]}else o=r("value");s.push("=",o)}return s}(e,t,c);case"JSXIdentifier":return String(p.name);case"JSXNamespacedName":return f(":",[c("namespace"),c("name")]);case"JSXMemberExpression":return f(".",[c("object"),c("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){let i=e.getValue();return["{",e.call(e=>{let i=["...",n()],s=e.getValue();return E(s)&&T(e)?[u([a,r(e,i,t)]),a]:i},"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}(e,t,c);case"JSXExpressionContainer":return function(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!E(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||v(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||D(t)&&("ConditionalExpression"===e.type||C(e)));return i(n.expression,e.getParentNode(0))?l(["{",r("expression"),d,"}"]):l(["{",u([a,r("expression")]),a,d,"}"])}(e,0,c);case"JSXFragment":case"JSXElement":return B(e,t,c);case"JSXOpeningElement":return function(e,t,r){let n=e.getValue(),i=n.name&&E(n.name)||n.typeParameters&&E(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&&S(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!i&&!E(n.attributes[0]))return l(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let a=n.attributes&&n.attributes.some(e=>e.value&&S(e.value)&&e.value.value.includes("\n")),c=t.singleAttributePerLine&&n.attributes.length>1?o:s;return l(["<",r("name"),r("typeParameters"),u(e.map(()=>[c,r()],"attributes")),...$(n,t,i)],{shouldBreak:a})}(e,t,c);case"JSXClosingElement":return function(e,t,r){let n=e.getValue(),i=[];i.push("</");let s=r("name");return E(n.name,x.Leading|x.Line)?i.push(u([o,s]),o):E(n.name,x.Leading|x.Block)?i.push(" ",s):i.push(s),i.push(">"),i}(e,0,c);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){let r=e.getValue(),i=E(r),s=E(r,x.Line),a="JSXOpeningFragment"===r.type;return[a?"<":"</",u([s?o:i&&!a?" ":"",n(e,t,!0)]),s?o:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){let r=e.getValue(),i=E(r,x.Line);return[n(e,t,!i),i?o:""]}(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(p.type)}.`)}}}}}),zr=y({"src/language-js/print/misc.js"(e,t){b();var{isNonEmptyArray:r}=de(),{builders:{indent:n,join:i,line:s}}=V(),{isFlowAnnotationComment:o}=sr();function a(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")]}t.exports={printOptionalToken:function(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printDefiniteToken:function(e){return e.getValue().definite||e.match(void 0,(e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite)?"!":""},printFunctionTypeParameters:function(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""},printBindExpressionCallee:function(e,t,r){return["::",r("callee")]},printTypeScriptModifiers:function(e,t,n){let s=e.getValue();return r(s.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:a,printRestSpread:function(e,t,r){return["...",r("argument"),a(e,t,r)]},adjustClause:function(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([s,t])},printDirective:function(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}}}}),Wr=y({"src/language-js/print/array.js"(e,t){b();var{printDanglingComments:r}=qt(),{builders:{line:n,softline:i,hardline:s,group:o,indent:a,ifBreak:l,fill:u}}=V(),{getLast:c,hasNewline:p}=de(),{shouldPrintComma:h,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:O}=sr(),{locStart:D}=Mt(),{printOptionalToken:y,printTypeAnnotation:v}=zr();function S(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(g(e)||O(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,e=>!p(t.originalText,D(e),{backwards:!0})))}function C(e,t,r,s){let a=[],l=[];return e.each(e=>{a.push(l,o(s())),l=[",",n],e.getValue()&&m(e.getValue(),t)&&l.push(i)},r),a}function E(e,t,r,i){let o=[];return e.each((e,a,l)=>{let u=a===l.length-1;o.push([r(),u?i:","]),u||o.push(m(e.getValue(),t)?[s,s]:d(l[a+1],f.Leading|f.Line)?s:n)},"elements"),u(o)}t.exports={printArray:function(e,t,n){let s=e.getValue(),u=[],p="TupleExpression"===s.type?"#[":"[";if(0===s.elements.length)d(s,f.Dangling)?u.push(o([p,r(e,t),i,"]"])):u.push(p,"]");else{let d=c(s.elements),f=!(d&&"RestElement"===d.type),m=null===d,g=Symbol("array"),O=!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=S(s,t),y=f?m?",":h(t)?D?l(",","",{groupId:g}):l(","):"":"";u.push(o([p,a([i,D?E(e,t,n,y):[C(e,t,"elements",n),y],r(e,t,!0)]),i,"]"],{shouldBreak:O,id:g}))}return u.push(y(e),v(e,t,n)),u},printArrayItems:C,isConciselyPrintedArray:S}}}),Yr=y({"src/language-js/print/call-arguments.js"(e,t){b();var{printDanglingComments:r}=qt(),{getLast:n,getPenultimate:i}=de(),{getFunctionParameters:s,hasComment:o,CommentCheckFlags:a,isFunctionCompositionArgs:l,isJsxNode:u,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:h,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:g,isObjectProperty:O,isTSTypeExpression:D}=sr(),{builders:{line:y,hardline:v,softline:S,group:C,indent:E,conditionalGroup:x,ifBreak:w,breakParent:A},utils:{willBreak:T}}=V(),{ArgExpansionBailout:k}=Be(),{isConciselyPrintedArray:F}=Wr();function P(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&&P(e.expression)||D(e)&&P(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||function(e){return"BlockStatement"===e.type&&(e.body.some(e=>"EmptyStatement"!==e.type)||o(e,a.Dangling))}(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&P(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||u(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}t.exports=function(e,t,u){let m=e.getValue(),D="ImportExpression"===m.type,b=h(m);if(0===b.length)return["(",r(e,t,!0),")"];if(function(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))}(b))return["(",u(["arguments",0]),", ",u(["arguments",1]),")"];let Q=!1,$=!1,B=b.length-1,_=[];d(e,(e,r)=>{let n=e.getNode(),i=[u()];r===B||(f(n,t)?(0===r&&($=!0),Q=!0,i.push(",",v,v)):i.push(",",y)),_.push(i)});let N=D||m.callee&&"Import"===m.callee.type||!p(t,"all")?"":",";function M(){return C(["(",E([y,..._]),N,y,")"],{shouldBreak:!0})}if(Q||"Decorator"!==e.getParentNode().type&&l(b))return M();let R=function(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&O(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&g(e.properties[0].value)&&"module"===e.properties[0].value.value}(r))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!P(r)}(b),L=function(e,t){let r=n(e),s=i(e);return!o(r,a.Leading)&&!o(r,a.Trailing)&&P(r)&&(!s||s.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==s.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&F(r,t))}(b,t);if(R||L){if(R?_.slice(1).some(T):_.slice(0,-1).some(T))return M();let t=[];try{e.try(()=>{d(e,(e,r)=>{R&&0===r&&(t=[[u([],{expandFirstArg:!0}),_.length>1?",":"",$?v:y,$?v:""],..._.slice(1)]),L&&r===B&&(t=[..._.slice(0,-1),u([],{expandLastArg:!0})])})})}catch(e){if(e instanceof k)return M();throw e}return[_.some(T)?A:"",x([["(",...t,")"],R?["(",C(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",..._.slice(0,-1),C(n(t),{shouldBreak:!0}),")"],M()])]}let I=["(",E([S,..._]),w(N),S,")"];return c(e)?I:C(I,{shouldBreak:_.some(T)||Q})}}}),Gr=y({"src/language-js/print/member.js"(e,t){b();var{builders:{softline:r,group:n,indent:i,label:s}}=V(),{isNumericLiteral:o,isMemberExpression:a,isCallExpression:l}=sr(),{printOptionalToken:u}=zr();function c(e,t,s){let a=s("property"),l=e.getValue(),c=u(e);return l.computed?!l.property||o(l.property)?[c,"[",a,"]"]:n([c,"[",i([r,a]),r,"]"]):[c,".",a]}t.exports={printMemberExpression:function(e,t,o){let u,p=e.getValue(),h=e.getParentNode(),d=0;do{u=e.getParentNode(d),d++}while(u&&(a(u)||"TSNonNullExpression"===u.type));let f=o("object"),m=c(e,0,o),g=u&&("NewExpression"===u.type||"BindExpression"===u.type||"AssignmentExpression"===u.type&&"Identifier"!==u.left.type)||p.computed||"Identifier"===p.object.type&&"Identifier"===p.property.type&&!a(h)||("AssignmentExpression"===h.type||"VariableDeclarator"===h.type)&&(l(p.object)&&p.object.arguments.length>0||"TSNonNullExpression"===p.object.type&&l(p.object.expression)&&p.object.expression.arguments.length>0||"member-chain"===f.label);return s("member-chain"===f.label?"member-chain":"member",[f,g?m:n(i([r,m]))])},printMemberLookup:c}}}),Ur=y({"src/language-js/print/member-chain.js"(e,t){b();var{printComments:r}=qt(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:s}=de(),o=Ir(),{isCallExpression:a,isMemberExpression:l,isFunctionOrArrowExpression:u,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:h,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:g}=sr(),{locEnd:O}=Mt(),{builders:{join:D,hardline:y,group:v,indent:S,conditionalGroup:C,breakParent:E,label:x},utils:{willBreak:w}}=V(),A=Yr(),{printMemberLookup:T}=Gr(),{printOptionalToken:k,printFunctionTypeParameters:F,printBindExpressionCallee:P}=zr();t.exports=function(e,t,b){let Q=e.getParentNode(),$=!Q||"ExpressionStatement"===Q.type,B=[];function _(e){let{originalText:r}=t,n=s(r,e,O);return")"===r.charAt(n)?!1!==n&&i(r,n+1):g(e,t)}function N(e){let n=e.getValue();a(n)&&(p(n.callee)||a(n.callee))?(B.unshift({node:n,printed:[r(e,[k(e),F(e,t,b),A(e,t,b)],t),_(n)?y:""]}),e.call(e=>N(e),"callee")):p(n)?(B.unshift({node:n,needsParens:o(e,t),printed:r(e,l(n)?T(e,t,b):P(e,t,b),t)}),e.call(e=>N(e),"object")):"TSNonNullExpression"===n.type?(B.unshift({node:n,printed:r(e,"!",t)}),e.call(e=>N(e),"expression")):B.unshift({node:n,printed:b()})}let M=e.getValue();B.unshift({node:M,printed:[k(e),F(e,t,b),A(e,t,b)]}),M.callee&&e.call(e=>N(e),"callee");let R=[],L=[B[0]],I=1;for(;I<B.length&&("TSNonNullExpression"===B[I].node.type||a(B[I].node)||l(B[I].node)&&B[I].node.computed&&h(B[I].node.property));++I)L.push(B[I]);if(!a(B[0].node))for(;I+1<B.length&&p(B[I].node)&&p(B[I+1].node);++I)L.push(B[I]);R.push(L),L=[];let j=!1;for(;I<B.length;++I){if(j&&p(B[I].node)){if(B[I].node.computed&&h(B[I].node.property)){L.push(B[I]);continue}R.push(L),L=[],j=!1}(a(B[I].node)||"ImportExpression"===B[I].node.type)&&(j=!0),L.push(B[I]),f(B[I].node,m.Trailing)&&(R.push(L),L=[],j=!1)}function X(e){return/^[A-Z]|^[$_]+$/.test(e)}L.length>0&&R.push(L);let Z=R.length>=2&&!f(R[1][0].node)&&function(e){let r=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&(X(n.name)||$&&function(e){return e.length<=t.tabWidth}(n.name)||r)}let i=n(e[0]).node;return l(i)&&"Identifier"===i.property.type&&(X(i.property.name)||r)}(R);function V(e){let t=e.map(e=>e.printed);return e.length>0&&n(e).needsParens?["(",...t,")"]:t}let q=R.map(V),z=q,W=Z?3:2,Y=R.flat(),G=Y.slice(1,-1).some(e=>f(e.node,m.Leading))||Y.slice(0,-1).some(e=>f(e.node,m.Trailing))||R[W]&&f(R[W][0].node,m.Leading);if(R.length<=W&&!G)return c(e)?z:v(z);let U,H=n(R[Z?1:0]).node,J=!a(H)&&_(H),K=[V(R[0]),Z?R.slice(1,2).map(V):"",J?y:"",(te=R.slice(Z?2:1),0===te.length?"":S(v([y,D(y,te.map(V))])))],ee=B.map(e=>{let{node:t}=e;return t}).filter(a);var te;return U=G||ee.length>2&&ee.some(e=>!e.arguments.every(e=>d(e,0)))||q.slice(0,-1).some(w)||function(){let e=n(n(R)).node,t=n(q);return a(e)&&w(t)&&ee.slice(0,-1).some(e=>e.arguments.some(u))}()?v(K):[w(z)||J?E:"",C([z,K])],x("member-chain",U)}}}),Hr=y({"src/language-js/print/call-expression.js"(e,t){b();var{builders:{join:r,group:n}}=V(),i=Ir(),{getCallArguments:s,hasFlowAnnotationComment:o,isCallExpression:a,isMemberish:l,isStringLiteral:u,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:h}=sr(),d=Ur(),f=Yr(),{printOptionalToken:m,printFunctionTypeParameters:g}=zr();t.exports={printCallExpression:function(e,t,O){let D=e.getValue(),y=e.getParentNode(),v="NewExpression"===D.type,S="ImportExpression"===D.type,C=m(e),b=s(D);if(b.length>0&&(!S&&!v&&function(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&&u(r[0])&&"ArrayExpression"===r[1].type)}return!1}(D,y)||1===b.length&&c(b[0],t.originalText)||!v&&p(D,y))){let n=[];return h(e,()=>{n.push(O())}),[v?"new ":"",O("callee"),C,g(e,t,O),"(",r(", ",n),")"]}let E=("babel"===t.parser||"babel-flow"===t.parser)&&D.callee&&"Identifier"===D.callee.type&&o(D.callee.trailingComments);if(E&&(D.callee.trailingComments[0].printed=!0),!S&&!v&&l(D.callee)&&!e.call(e=>i(e,t),"callee"))return d(e,t,O);let x=[v?"new ":"",S?"import":O("callee"),C,E?`/*:: ${D.callee.trailingComments[0].value.slice(2).trim()} */`:"",g(e,t,O),f(e,t,O)];return S||a(D.callee)?n(x):x}}}}),Jr=y({"src/language-js/print/assignment.js"(e,t){b();var{isNonEmptyArray:r,getStringWidth:n}=de(),{builders:{line:i,group:s,indent:o,indentIfBreak:a,lineSuffixBoundary:l},utils:{cleanDoc:u,willBreak:c,canBreak:p}}=V(),{hasLeadingOwnLineComment:h,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:g,isCallExpression:O,isMemberExpression:D,getCallArguments:y,rawText:v,hasComment:S,isSignedNumericLiteral:C,isObjectProperty:E}=sr(),{shouldInlineLogicalExpression:x}=Zr(),{printCallExpression:w}=Hr();function A(e,t,c,m,O,D){let y=function(e,t,i,s,o){let a=e.getValue(),l=a[o];if(!l)return"only-left";let c=!T(l);if(e.match(T,k,e=>!c||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type))return c?"ArrowFunctionExpression"===l.type&&"ArrowFunctionExpression"===l.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!c&&T(l.right)||h(t.originalText,l))return"break-after-operator";if("CallExpression"===l.type&&"require"===l.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(k(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some(e=>E(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type))}return!1}(a)||function(e){let t=function(e){return function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}(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}(a)||function(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=P(t.typeAnnotation);return r(n)&&n.length>1&&n.some(e=>r(P(e))||"TSConditionalType"===e.type)}(a)||F(a)&&p(s))return"break-lhs";let m=function(e,t,r){if(!E(e))return!1;let i=3;return"string"==typeof(t=u(t))&&n(t)<r.tabWidth+i}(a,s,t);return e.call(()=>function(e,t,n,i){let s=e.getValue();if(d(s)&&!x(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return d(e)&&!x(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(()=>Q(e,t,n),...a))}(e,t,i,m),o)?"break-after-operator":m||"TemplateLiteral"===l.type||"TaggedTemplateExpression"===l.type||"BooleanLiteral"===l.type||g(l)||"ClassExpression"===l.type?"never-break-after-operator":"fluid"}(e,t,c,m,D),v=c(D,{assignmentLayout:y});switch(y){case"break-after-operator":return s([s(m),O,s(o([i,v]))]);case"never-break-after-operator":return s([s(m),O," ",v]);case"fluid":{let e=Symbol("assignment");return s([s(m),O,s(o(i),{id:e}),l,a(v,{groupId:e})])}case"break-lhs":return s([m,O," ",s(v)]);case"chain":return[s(m),O,i,v];case"chain-tail":return[s(m),O,o([i,v])];case"chain-tail-arrow-chain":return[s(m),O,v];case"only-left":return m}}function T(e){return"AssignmentExpression"===e.type}function k(e){return T(e)||"VariableDeclarator"===e.type}function F(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function P(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function Q(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=e.getValue(),o=()=>Q(e,t,n,!0);if("TSNonNullExpression"===s.type)return e.call(o,"expression");if(O(s)){if("member-chain"===w(e,t,n).label)return!1;let i=y(s);return!(!(0===i.length||1===i.length&&function(e,t){let{printWidth:r}=t;if(S(e))return!1;let n=.25*r;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||C(e)&&!S(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)?v(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)}(i[0],t))||function(e,t){let n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(r(n)){if(n.length>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}(s,n))&&e.call(o,"callee")}return D(s)?e.call(o,"object"):i&&("Identifier"===s.type||"ThisExpression"===s.type)}t.exports={printVariableDeclarator:function(e,t,r){return A(e,t,r,r("id")," =","init")},printAssignmentExpression:function(e,t,r){let n=e.getValue();return A(e,t,r,r("left"),[" ",n.operator],"right")},printAssignment:A,isArrowFunctionVariableDeclarator:F}}}),Kr=y({"src/language-js/print/function-parameters.js"(e,t){b();var{getNextNonSpaceNonCommentCharacter:r}=de(),{printDanglingComments:n}=qt(),{builders:{line:i,hardline:s,softline:o,group:a,indent:l,ifBreak:u},utils:{removeLines:c,willBreak:p}}=V(),{getFunctionParameters:h,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:O,isObjectTypePropertyAFunction:D,hasRestParameter:y,shouldPrintComma:v,hasComment:S,isNextLineEmpty:C}=sr(),{locEnd:E}=Mt(),{ArgExpansionBailout:x}=Be(),{printFunctionTypeParameters:w}=zr();function A(e){if(!e)return!1;let t=h(e);if(1!==t.length)return!1;let[r]=t;return!S(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&O(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&O(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))}t.exports={printFunctionParameters:function(e,t,O,S,b){let T=e.getValue(),k=h(T),F=b?w(e,O,t):"";if(0===k.length)return[F,"(",n(e,O,!0,e=>")"===r(O.originalText,e,E)),")"];let P=e.getParentNode(),Q=m(P),$=A(T),B=[];if(d(e,(e,r)=>{let n=r===k.length-1;n&&T.rest&&B.push("..."),B.push(t()),!n&&(B.push(","),Q||$?B.push(" "):C(k[r],O)?B.push(s,s):B.push(i))}),S){if(p(F)||p(B))throw new x;return a([c(F),"(",c(B),")"])}let _=k.every(e=>!e.decorators);return $&&_||Q?[F,"(",...B,")"]:(D(P)||g(P)||"TypeAlias"===P.type||"UnionTypeAnnotation"===P.type||"TSUnionType"===P.type||"IntersectionTypeAnnotation"===P.type||"FunctionTypeAnnotation"===P.type&&P.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"===O.arrowParens?["(",...B,")"]:B:[F,"(",l([o,...B]),u(!y(T)&&v(O,"all")?",":""),o,")"]},shouldHugFunctionParameters:A,shouldGroupFunctionParameters:function(e,t){let r=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(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&&(O(r)||p(t))}}}}),en=y({"src/language-js/print/type-annotation.js"(e,t){b();var{printComments:r,printDanglingComments:n}=qt(),{isNonEmptyArray:i}=de(),{builders:{group:s,join:o,line:a,softline:l,indent:u,align:c,ifBreak:p}}=V(),h=Ir(),{locStart:d}=Mt(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:O,shouldPrintComma:D}=sr(),{printAssignment:y}=Jr(),{printFunctionParameters:v,shouldGroupFunctionParameters:S}=Kr(),{printArrayItems:C}=Wr();function E(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}t.exports={printOpaqueType:function(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},printTypeAlias:function(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[y(e,t,r,s," =",o),n]},printIntersectionType:function(e,t,r){let n=e.getValue(),i=e.map(r,"types"),o=[],l=!1;for(let e=0;e<i.length;++e)0===e?o.push(i[e]):m(n.types[e-1])&&m(n.types[e])?o.push([" & ",l?u(i[e]):i[e]]):m(n.types[e-1])||m(n.types[e])?(e>1&&(l=!0),o.push(" & ",e>1?u(i[e]):i[e])):o.push(u([" &",a,i[e]]));return s(o)},printUnionType:function(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)&&g(t.originalText,i)),m=E(i),O=e.map(e=>{let i=n();return m||(i=c(2,i)),r(e,i,t)},"types");if(m)return o(" | ",O);let D=f&&!g(t.originalText,i),y=[p([D?a:"","| "]),o([a,"| "],O)];return h(e,t)?s([u(y),l]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?s([u([p(["(",l]),y]),l,p(")")]):s(f?u(y):y)},printFunctionType:function(e,t,r){let n=e.getValue(),i=[],o=e.getParentNode(0),a=e.getParentNode(1),l=e.getParentNode(2),u="TSFunctionType"===n.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&d(o)===d(n)||"ObjectTypeCallProperty"===o.type||l&&"DeclareFunction"===l.type),c=u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=c&&u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;O(o)&&(u=!0,c=!0),p&&i.push("(");let h=v(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[u?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=S(n,f);return i.push(m?s(h):h),f&&i.push(f),p&&i.push(")"),s(i)},printTupleType:function(e,t,r){let o=e.getValue(),a="TSTupleType"===o.type?"elementTypes":"types",c=o[a],h=i(c),d=h?l:"";return s(["[",u([d,C(e,t,a,r)]),p(h&&D(t,"all")?",":""),n(e,t,!0),d,"]"])},printIndexedAccessType:function(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]},shouldHugType:E,printJSDocType:function(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}}}}),tn=y({"src/language-js/print/type-parameters.js"(e,t){b();var{printDanglingComments:r}=qt(),{builders:{join:n,line:i,hardline:s,softline:o,group:a,indent:l,ifBreak:u}}=V(),{isTestCall:c,hasComment:p,CommentCheckFlags:h,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:g,getTypeScriptMappedTypeModifier:O}=sr(),{createGroupIdMapper:D}=de(),{shouldHugType:y}=en(),{isArrowFunctionVariableDeclarator:v}=Jr(),S=D("typeParameters");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]}t.exports={printTypeParameter:function(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(O(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)},printTypeParameters:function(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),O=h&&c(h),D=e.match(e=>!(1===e[s].length&&g(e[s][0])),void 0,(e,t)=>"typeAnnotation"===t,e=>"Identifier"===e.type,v);if(0===p[s].length||!D&&(O||1===p[s].length&&("NullableTypeAnnotation"===p[s][0].type||y(p[s][0]))))return["<",n(", ",e.map(r,s)),C(e,t),">"];let b="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?u(","):"";return a(["<",l([o,n([",",i],e.map(r,s))]),b,o,">"],{id:S(p)})},getTypeParametersGroupId:S}}}),rn=y({"src/language-js/print/property.js"(e,t){b();var{printComments:r}=qt(),{printString:n,printNumber:i}=de(),{isNumericLiteral:s,isSimpleNumber:o,isStringLiteral:a,isStringPropSafeToUnquote:l,rawText:u}=sr(),{printAssignment:c}=Jr(),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)&&!l(e,t));p.set(d,e)}if(("Identifier"===f.type||s(f)&&o(i(u(f)))&&String(f.value)===i(u(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 l(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")}t.exports={printProperty:function(e,t,r){return e.getValue().shorthand?r("value"):c(e,t,r,h(e,t,r),":","value")},printPropertyKey:h}}}),nn=y({"src/language-js/print/function.js"(e,t){b();var r=Vt(),{printDanglingComments:n,printCommentsSeparately:i}=qt(),s=k(),{getNextNonSpaceNonCommentCharacterIndex:o}=de(),{builders:{line:a,softline:l,group:u,indent:c,ifBreak:p,hardline:h,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:g}}=V(),{ArgExpansionBailout:O}=Be(),{getFunctionParameters:D,hasLeadingOwnLineComment:y,isFlowAnnotationComment:v,isJsxNode:S,isTemplateOnItsOwnLine:C,shouldPrintComma:E,startsWithNoLookaheadToken:x,isBinaryish:w,isLineComment:A,hasComment:T,getComments:F,CommentCheckFlags:P,isCallLikeExpression:Q,isCallExpression:$,getCallArguments:B,hasNakedLeftSide:_,getLeftSide:N}=sr(),{locEnd:M}=Mt(),{printFunctionParameters:R,shouldGroupFunctionParameters:L}=Kr(),{printPropertyKey:I}=rn(),{printFunctionTypeParameters:j}=zr();function X(e,t,r){let n=e.getNode(),i=R(e,r,t),s=q(e,r,t),o=L(n,s),a=[j(e,t,r),u([o?u(i):i,s])];return n.body?a.push(" ",r("body")):a.push(t.semi?";":""),a}function Z(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){let t=D(e);return!(1!==t.length||e.typeParameters||T(e,P.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||T(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function q(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&v(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 z(e,t,r){let i=e.getValue(),o=t.semi?";":"",a=[];i.argument&&(function(e,t){if(y(e.originalText,t))return!0;if(_(t)){let r,n=t;for(;r=N(n);)if(n=r,y(e.originalText,n))return!0}return!1}(t,i.argument)?a.push([" (",c([h,r("argument")]),h,")"]):w(i.argument)||"SequenceExpression"===i.argument.type?a.push(u([p(" ("," "),c([l,r("argument")]),l,p(")")])):a.push(" ",r("argument")));let d=F(i),f=s(d),m=f&&A(f);return m&&a.push(o),T(i,P.Dangling)&&a.push(" ",n(e,t,!0)),m||a.push(o),a}t.exports={printFunction:function(e,t,r,n){let i=e.getValue(),s=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();$(t)&&B(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=R(e,t,r,s),l=q(e,t,r),c=L(i,l);return o.push(j(e,r,t),u([c?u(a):a,l]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&o.push(";"),o},printArrowFunction:function(e,t,r,s){let h=e.getValue(),v=[],b=[],w=!1;if(function a(){let l=function(e,t,r,i){let s=[];if(e.getValue().async&&s.push("async "),Z(e,t))s.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),o=q(e,r,t);if(n){if(g(o))throw new O;o=u(m(o))}s.push(u([R(e,r,t,n,!0),o]))}let a=n(e,t,!0,e=>{let r=o(t.originalText,e,M);return!1!==r&&"=>"===t.originalText.slice(r,r+2)});return a&&s.push(" ",a),s}(e,t,r,s);if(0===v.length)v.push(l);else{let{leading:r,trailing:n}=i(e,t);v.push([r,l]),b.unshift(n)}w=w||h.returnType&&D(h).length>0||h.typeParameters||D(h).some(e=>"Identifier"!==e.type),"ArrowFunctionExpression"!==h.body.type||s&&s.expandLastArg?b.unshift(r("body",s)):(h=h.body,e.call(a,"body"))}(),v.length>1)return function(e,t,r,n,i,s){let o=e.getName(),h=e.getParentNode(),m=Q(h)&&"callee"===o,g=Boolean(t&&t.assignmentLayout),O="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,D=m&&O||t&&"chain-tail-arrow-chain"===t.assignmentLayout,y=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(i=u(["(",c([l,i]),l,")"])),u([u(c([m||g?l:"",u(d([" =>",a],r),{shouldBreak:n})]),{id:y,shouldBreak:D})," =>",f(O?c([a,i]):[" ",i],{groupId:y}),m?p(l,"",{groupId:y}):""])}(e,s,v,w,b,h);let A=v;if(A.push(" =>"),!y(t.originalText,h.body)&&("ArrayExpression"===h.body.type||"ObjectExpression"===h.body.type||"BlockStatement"===h.body.type||S(h.body)||C(h.body,t.originalText)||"ArrowFunctionExpression"===h.body.type||"DoExpression"===h.body.type))return u([...A," ",b]);if("SequenceExpression"===h.body.type)return u([...A,u([" (",c([l,b]),l,")"])]);let k=(s&&s.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!T(h),F=s&&s.expandLastArg&&E(t,"all"),P="ConditionalExpression"===h.body.type&&!x(h.body,e=>"ObjectExpression"===e.type);return u([...A,u([c([a,P?p("","("):"",b,P?p("",")"):""]),k?[p(F?",":""),l]:""])])},printMethod:function(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(I(e,t,n),i.optional||i.key.optional?"?":""),i===o?a.push(X(e,t,n)):"FunctionExpression"===o.type?a.push(e.call(e=>X(e,t,n),"value")):a.push(n("value")),a},printReturnStatement:function(e,t,r){return["return",z(e,t,r)]},printThrowStatement:function(e,t,r){return["throw",z(e,t,r)]},printMethodInternal:X,shouldPrintParamsWithoutParens:Z}}}),sn=y({"src/language-js/print/decorators.js"(e,t){b();var{isNonEmptyArray:r,hasNewline:n}=de(),{builders:{line:i,hardline:s,join:o,breakParent:a,group:l}}=V(),{locStart:u,locEnd:c}=Mt(),{getParentExportDeclaration:p}=sr();function h(e,t){return e.decorators.some(e=>n(t.originalText,c(e)))}function d(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return r(t)&&u(e)===u(t[0])}t.exports={printDecorators:function(e,t,n){let l=e.getValue(),{decorators:u}=l;if(!r(u)||d(e.getParentNode()))return;let c="ClassExpression"===l.type||"ClassDeclaration"===l.type||h(l,t);return[p(e)?s:c?a:"",o(i,e.map(n,"decorators")),i]},printClassMemberDecorators:function(e,t,r){let n=e.getValue();return l([o(i,e.map(r,"decorators")),h(n,t)?s:i])},printDecoratorsBeforeExport:function(e,t,r){return[o(s,e.map(r,"declaration","decorators")),s]},hasDecoratorsBeforeExport:d}}}),on=y({"src/language-js/print/class.js"(e,t){b();var{isNonEmptyArray:r,createGroupIdMapper:n}=de(),{printComments:i,printDanglingComments:s}=qt(),{builders:{join:o,line:a,hardline:l,softline:u,group:c,indent:p,ifBreak:h}}=V(),{hasComment:d,CommentCheckFlags:f}=sr(),{getTypeParametersGroupId:m}=tn(),{printMethod:g}=nn(),{printOptionalToken:O,printTypeAnnotation:D,printDefiniteToken:y}=zr(),{printPropertyKey:v}=rn(),{printAssignment:S}=Jr(),{printClassMemberDecorators:C}=sn();var E=n("heritageGroup");function x(e){return e.typeParameters&&!d(e.typeParameters,f.Trailing|f.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter(t=>Boolean(e[t])).length>1}(e)}function w(e,t,n,i){let u=e.getValue();if(!r(u[i]))return"";let d=s(e,t,!0,e=>{let{marker:t}=e;return t===i});return[x(u)?h(" ",a,{groupId:m(u.typeParameters)}):a,d,d&&l,i,c(p([a,o([",",a],e.map(n,i))]))]}function A(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?c(h(["(",p([u,n]),u,")"],n)):n}t.exports={printClass:function(e,t,n){let s=e.getValue(),o=[];s.declare&&o.push("declare "),s.abstract&&o.push("abstract "),o.push("class");let l=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),u=[],h=[];if(s.id&&u.push(" ",n("id")),u.push(n("typeParameters")),s.superClass){let r=[A(e,0,n),n("superTypeParameters")],s=e.call(e=>["extends ",i(e,r,t)],"superClass");l?h.push(a,c(s)):h.push(" ",s)}else h.push(w(e,t,n,"extends"));if(h.push(w(e,t,n,"mixins"),w(e,t,n,"implements")),l){let e;e=x(s)?[...u,p(h)]:p([...u,h]),o.push(c(e,{id:E(s)}))}else o.push(...u,...h);return o.push(" ",n("body")),o},printClassMethod:function(e,t,n){let i=e.getValue(),s=[];return r(i.decorators)&&s.push(C(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(g(e,t,n)),s},printClassProperty:function(e,t,n){let i=e.getValue(),s=[],o=t.semi?";":"";return r(i.decorators)&&s.push(C(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(v(e,t,n),O(e),y(e),D(e,t,n)),[S(e,t,n,s," =","value"),o]},printHardlineAfterHeritage:function(e){return h(l,"",{groupId:E(e)})}}}}),an=y({"src/language-js/print/interface.js"(e,t){b();var{isNonEmptyArray:r}=de(),{builders:{join:n,line:i,group:s,indent:o,ifBreak:a}}=V(),{hasComment:l,identity:u,CommentCheckFlags:c}=sr(),{getTypeParametersGroupId:p}=tn(),{printTypeScriptModifiers:h}=zr();t.exports={printInterface:function(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 g=[],O=[];"InterfaceTypeAnnotation"!==f.type&&g.push(" ",d("id"),d("typeParameters"));let D=f.typeParameters&&!l(f.typeParameters,c.Trailing|c.Line);return r(f.extends)&&O.push(D?a(" ",i,{groupId:p(f.typeParameters)}):i,"extends ",(1===f.extends.length?u:o)(n([",",i],e.map(d,"extends")))),f.id&&l(f.id,c.Trailing)||r(f.extends)?D?m.push(s([...g,o(O)])):m.push(s(o([...g,...O]))):m.push(...g,...O),m.push(" ",d("body")),s(m)}}}}),ln=y({"src/language-js/print/module.js"(e,t){b();var{isNonEmptyArray:r}=de(),{builders:{softline:n,group:i,indent:s,join:o,line:a,ifBreak:l,hardline:u}}=V(),{printDanglingComments:c}=qt(),{hasComment:p,CommentCheckFlags:h,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:g}=sr(),{locStart:O,hasSameLoc:D}=Mt(),{hasDecoratorsBeforeExport:y,printDecoratorsBeforeExport:v}=sn();function S(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return E(n,t)||i.push(" from"),i.push(" ",r("source")),i}function C(e,t,u){let c=e.getValue();if(E(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(u());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);f.push(u())}},"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)]),l(d(t)?",":""),t.bracketSpacing?a:n,"}"])):h.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else h.push("{}");return h}function E(e,t){let{type:n,importKind:i,source:s,specifiers:o}=e;return"ImportDeclaration"===n&&!r(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(O(e),O(s)))}function x(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(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(C(e,t,r),S(e,t,r),x(e,t,r),i),s},printExportDeclaration:function(e,t,r){let n=e.getValue(),i=[];y(n)&&i.push(v(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(u)),a?i.push(" ",r("declaration")):i.push("type"===o?" type":"",C(e,t,r),S(e,t,r),x(e,t,r)),function(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)}(n,t)&&i.push(";"),i},printExportAllDeclaration:function(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),x(e,t,r),i),s},printModuleSpecifier:function(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"),l=a?"imported":"local",u=a?"local":"exported",c=n[l],p=n[u],h="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?h="*":c&&(h=r(l)),p&&!function(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||!D(t,r))&&(m(t)?t.value===r.value&&g(t)===g(r):"Identifier"===t.type&&t.name===r.name)}(n)&&(d=r(u)),s.push(h,h&&d?" as ":"",d),s}}}}),un=y({"src/language-js/print/object.js"(e,t){b();var{printDanglingComments:r}=qt(),{builders:{line:n,softline:i,group:s,indent:o,ifBreak:a,hardline:l}}=V(),{getLast:u,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:h}=de(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:g,isNextLineEmpty:O}=sr(),{locStart:D,locEnd:y}=Mt(),{printOptionalToken:v,printTypeAnnotation:S}=zr(),{shouldHugFunctionParameters:C}=Kr(),{shouldHugType:E}=en(),{printHardlineAfterHeritage:x}=on();t.exports={printObject:function(e,t,b){let w,A=t.semi?";":"",T=e.getValue();w="TSTypeLiteral"===T.type?"members":"TSInterfaceBody"===T.type?"body":"properties";let k="ObjectTypeAnnotation"===T.type,F=[w];k&&F.push("indexers","callProperties","internalSlots");let P=F.map(e=>T[e][0]).sort((e,t)=>D(e)-D(t))[0],Q=e.getParentNode(0),$=k&&Q&&("InterfaceDeclaration"===Q.type||"DeclareInterface"===Q.type||"DeclareClass"===Q.type)&&"body"===e.getName(),B="TSInterfaceBody"===T.type||$||"ObjectPattern"===T.type&&"FunctionDeclaration"!==Q.type&&"FunctionExpression"!==Q.type&&"ArrowFunctionExpression"!==Q.type&&"ObjectMethod"!==Q.type&&"ClassMethod"!==Q.type&&"ClassPrivateMethod"!==Q.type&&"AssignmentPattern"!==Q.type&&"CatchClause"!==Q.type&&T.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==T.type&&P&&c(t.originalText,D(T),D(P)),_=$?";":"TSInterfaceBody"===T.type||"TSTypeLiteral"===T.type?a(A,";"):",",N="RecordExpression"===T.type?"#{":T.exact?"{|":"{",M=T.exact?"|}":"}",R=[];for(let t of F)e.each(e=>{let t=e.getValue();R.push({node:t,printed:b(),loc:D(t)})},t);F.length>1&&R.sort((e,t)=>e.loc-t.loc);let L=[],I=R.map(e=>{let r=[...L,s(e.printed)];return L=[_,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,g.PrettierIgnore)&&L.shift(),O(e.node,t)&&L.push(l),r});if(T.inexact){let i;if(f(T,g.Dangling)){let s=f(T,g.Line);i=[r(e,t,!0),s||p(t.originalText,y(u(m(T))))?l:n,"..."]}else i=["..."];I.push([...L,...i])}let j,X=u(T[w]),Z=!(T.inexact||X&&"RestElement"===X.type||X&&("TSPropertySignature"===X.type||"TSCallSignatureDeclaration"===X.type||"TSMethodSignature"===X.type||"TSConstructSignatureDeclaration"===X.type)&&f(X,g.PrettierIgnore));if(0===I.length){if(!f(T,g.Dangling))return[N,M,S(e,t,b)];j=s([N,r(e,t),i,M,v(e),S(e,t,b)])}else j=[$&&h(T.properties)?x(Q):"",N,o([t.bracketSpacing?n:i,...I]),a(Z&&(","!==_||d(t))?_:""),t.bracketSpacing?n:i,M,v(e),S(e,t,b)];return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,r)=>C(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r)||e.match(E,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,r)=>C(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r)||!B&&e.match(e=>"ObjectPattern"===e.type,e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type)?j:s(j,{shouldBreak:B})}}}}),cn=y({"src/language-js/print/flow.js"(e,t){b();var r=Vt(),{printDanglingComments:n}=qt(),{printString:i,printNumber:s}=de(),{builders:{hardline:o,softline:a,group:l,indent:u}}=V(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:h,rawText:d,shouldPrintComma:f}=sr(),{locStart:m,locEnd:g}=Mt(),{replaceTextEndOfLine:O}=j(),{printClass:D}=on(),{printOpaqueType:y,printTypeAlias:v,printIntersectionType:S,printUnionType:C,printFunctionType:E,printTupleType:x,printIndexedAccessType:w}=en(),{printInterface:A}=an(),{printTypeParameter:T,printTypeParameters:k}=tn(),{printExportDeclaration:F,printExportAllDeclaration:P}=ln(),{printArrayItems:Q}=Wr(),{printObject:$}=un(),{printPropertyKey:B}=rn(),{printOptionalToken:_,printTypeAnnotation:N,printRestSpread:M}=zr();function R(e,t){let n=c(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,c){let b=e.getValue(),L=t.semi?";":"",I=[];switch(b.type){case"DeclareClass":return R(e,D(e,t,c));case"DeclareFunction":return R(e,["function ",c("id"),b.predicate?" ":"",c("predicate"),L]);case"DeclareModule":return R(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return R(e,["module.exports",": ",c("typeAnnotation"),L]);case"DeclareVariable":return R(e,["var ",c("id"),L]);case"DeclareOpaqueType":return R(e,y(e,t,c));case"DeclareInterface":return R(e,A(e,t,c));case"DeclareTypeAlias":return R(e,v(e,t,c));case"DeclareExportDeclaration":return R(e,F(e,t,c));case"DeclareExportAllDeclaration":return R(e,P(e,t,c));case"OpaqueType":return y(e,t,c);case"TypeAlias":return v(e,t,c);case"IntersectionTypeAnnotation":return S(e,t,c);case"UnionTypeAnnotation":return C(e,t,c);case"FunctionTypeAnnotation":return E(e,t,c);case"TupleTypeAnnotation":return x(e,t,c);case"GenericTypeAnnotation":return[c("id"),k(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return w(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return T(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(b.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===b.type||b.explicitType){let e=null;switch(b.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}I.push("of ",e," ")}if(0!==b.members.length||b.hasUnknownMembers){let r=b.members.length>0?[o,Q(e,t,"members",c),b.hasUnknownMembers||f(t)?",":""]:[];I.push(l(["{",u([...r,...b.hasUnknownMembers?[o,"..."]:[]]),n(e,t,!0),o,"}"]))}else I.push(l(["{",n(e,t),a,"}"]));return I;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof b.init?c("init"):String(b.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=b.name?c("name"):e.getParentNode().this===b?"this":"";return[t,_(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return A(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=b;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return b.static&&I.push("static "),I.push(c("value")),I;case"ObjectTypeIndexer":return[b.static?"static ":"",b.variance?c("variance"):"","[",c("id"),b.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let r="";return b.proto?r="proto ":b.static&&(r="static "),[r,h(b)?b.kind+" ":"",b.variance?c("variance"):"",B(e,t,c),_(e),p(b)?"":": ",c("value")]}case"ObjectTypeAnnotation":return $(e,t,c);case"ObjectTypeInternalSlot":return[b.static?"static ":"","[[",c("id"),"]]",_(e),b.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return M(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return O(i(d(b),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof b.value,"number");case"BigIntLiteralTypeAnnotation":return b.extra?s(b.extra.raw):s(b.raw);case"TypeCastExpression":return["(",c("expression"),N(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=k(e,t,c,"params");if("flow"===t.parser){let e=m(b),n=g(b),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(b.type))}}}}}),pn=y({"src/language-js/utils/is-ts-keyword-type.js"(e,t){b(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),hn=y({"src/language-js/print/ternary.js"(e,t){b();var{hasNewlineInRange:r}=de(),{isJsxNode:n,getComments:i,isCallExpression:s,isMemberExpression:o,isTSTypeExpression:a}=sr(),{locStart:l,locEnd:u}=Mt(),c=nr(),{builders:{line:p,softline:h,group:d,indent:f,align:m,ifBreak:g,dedent:O,breakParent:D}}=V();function y(e,t,r){let n=e.getValue(),i="ConditionalExpression"===n.type,s=i?"alternate":"falseType",o=e.getParentNode(),a=i?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return o.type===n.type&&o[s]===n?m(2,a):a}var v=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,S){let C,b,E=e.getValue(),x="ConditionalExpression"===E.type,w=x?"consequent":"trueType",A=x?"alternate":"falseType",T=x?["test"]:["checkType","extendsType"],k=E[w],F=E[A],P=[],Q=!1,$=e.getParentNode(),B=$.type===E.type&&T.some(e=>$[e]===E),_=$.type===E.type&&!B,N=0;do{b=C||E,C=e.getParentNode(N),N++}while(C&&C.type===E.type&&T.every(e=>C[e]!==b));let M=C||$,R=b;if(x&&(n(E[T[0]])||n(k)||n(F)||function(e){let t=[e];for(let e=0;e<t.length;e++){let r=t[e];for(let e of["test","consequent","alternate"]){let i=r[e];if(n(i))return!0;"ConditionalExpression"===i.type&&t.push(i)}}return!1}(R))){Q=!0,_=!0;let e=e=>[g("("),f([h,e]),h,g(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;P.push(" ? ",t(k)?S(w):e(S(w))," : ",F.type===E.type||t(F)?S(A):e(S(A)))}else{let e=[p,"? ",k.type===E.type?g("","("):"",m(2,S(w)),k.type===E.type?g("",")"):"",p,": ",F.type===E.type?S(A):m(2,S(A))];P.push($.type!==E.type||$[A]===E||B?e:t.useTabs?O(f(e)):m(Math.max(0,t.tabWidth-2),e))}let L=[...T.map(e=>i(E[e])),i(k),i(F)].flat().some(e=>c(e)&&r(t.originalText,l(e),u(e))),I=!Q&&(o($)||"NGPipeExpression"===$.type&&$.left===E)&&!$.computed,j=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let r,n=t;for(let t=0;!r;t++){let i=e.getParentNode(t);s(i)&&i.callee===n||o(i)&&i.object===n||"TSNonNullExpression"===i.type&&i.expression===n?n=i:"NewExpression"===i.type&&i.callee===n||a(i)&&i.expression===n?(r=e.getParentNode(t+1),n=i):r=i}return n!==t&&r[v.get(r.type)]===n}(e),X=(Z=[y(e,0,S),_?P:f(P),x&&I&&!j?h:""],$===M?d(Z,{shouldBreak:L}):L?[Z,D]:Z);var Z;return B||j?d([f([h,X]),h]):X}}}}),dn=y({"src/language-js/print/statement.js"(e,t){b();var{builders:{hardline:r}}=V(),n=Ir(),{getLeftSidePathName:i,hasNakedLeftSide:s,isJsxNode:o,isTheOnlyJsxElementInMarkdown:a,hasComment:l,CommentCheckFlags:u,isNextLineEmpty:c}=sr(),{shouldPrintParamsWithoutParens:p}=nn();function h(e,t,n,i){let s=e.getValue(),o=[],p="ClassBody"===s.type,h=function(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}(s[i]);return e.each((e,i,s)=>{let m=e.getValue();if("EmptyStatement"===m.type)return;let g=n();t.semi||p||a(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>d(e,t),"expression")}(e,t)?o.push(g):l(m,u.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",g),!t.semi&&p&&f(m)&&function(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(f(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}(m,s[i+1])&&o.push(";"),m!==h&&(o.push(r),c(m,t)&&o.push(r))},i),o}function d(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=>d(e,t),...i(e,r))}var f=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};t.exports={printBody:function(e,t,r){return h(e,t,r,"body")},printSwitchCaseConsequent:function(e,t,r){return h(e,t,r,"consequent")}}}}),fn=y({"src/language-js/print/block.js"(e,t){b();var{printDanglingComments:r}=qt(),{isNonEmptyArray:n}=de(),{builders:{hardline:i,indent:s}}=V(),{hasComment:o,CommentCheckFlags:a,isNextLineEmpty:l}=sr(),{printHardlineAfterHeritage:u}=on(),{printBody:c}=dn();function p(e,t,s){let u=e.getValue(),p=n(u.directives),h=u.body.some(e=>"EmptyStatement"!==e.type),d=o(u,a.Dangling);if(!p&&!h&&!d)return"";let f=[];if(p&&e.each((e,r,n)=>{f.push(s()),(r<n.length-1||h||d)&&(f.push(i),l(e.getValue(),t)&&f.push(i))},"directives"),h&&f.push(c(e,t,s)),d&&f.push(r(e,t,!0)),"Program"===u.type){let t=e.getParentNode();(!t||"ModuleExpression"!==t.type)&&f.push(i)}return f}t.exports={printBlock:function(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(u(t))}a.push("{");let l=p(e,t,r);if(l)a.push(s([i,l]),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},printBlockBody:p}}}),mn=y({"src/language-js/print/typescript.js"(e,t){b();var{printDanglingComments:r}=qt(),{hasNewlineInRange:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:l,indent:u,conditionalGroup:c,ifBreak:p}}=V(),{isStringLiteral:h,getTypeScriptMappedTypeModifier:d,shouldPrintComma:f,isCallExpression:m,isMemberExpression:g}=sr(),O=pn(),{locStart:D,locEnd:y}=Mt(),{printOptionalToken:v,printTypeScriptModifiers:S}=zr(),{printTernary:C}=hn(),{printFunctionParameters:E,shouldGroupFunctionParameters:x}=Kr(),{printTemplateLiteral:w}=or(),{printArrayItems:A}=Wr(),{printObject:T}=un(),{printClassProperty:k,printClassMethod:F}=on(),{printTypeParameter:P,printTypeParameters:Q}=tn(),{printPropertyKey:$}=rn(),{printFunction:B,printMethodInternal:_}=nn(),{printInterface:N}=an(),{printBlock:M}=fn(),{printTypeAlias:R,printIntersectionType:L,printUnionType:I,printFunctionType:j,printTupleType:X,printIndexedAccessType:Z,printJSDocType:q}=en();t.exports={printTypescript:function(e,t,b){let V=e.getValue();if(!V.type.startsWith("TS"))return;if(O(V))return V.type.slice(2,-7).toLowerCase();let z=t.semi?";":"",W=[];switch(V.type){case"TSThisType":return"this";case"TSTypeAssertion":{let e=!("ArrayExpression"===V.expression.type||"ObjectExpression"===V.expression.type),t=l(["<",u([a,b("typeAnnotation")]),a,">"]),r=[p("("),u([a,b("expression")]),a,p(")")];return e?c([[t,b("expression")],[t,l(r,{shouldBreak:!0})],[t,b("expression")]]):l([t,b("expression")])}case"TSDeclareFunction":return B(e,b,t);case"TSExportAssignment":return["export = ",b("expression"),z];case"TSModuleBlock":return M(e,t,b);case"TSInterfaceBody":case"TSTypeLiteral":return T(e,t,b);case"TSTypeAliasDeclaration":return R(e,t,b);case"TSQualifiedName":return i(".",[b("left"),b("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return F(e,t,b);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return k(e,t,b);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return W.push(b("expression")),V.typeParameters&&W.push(b("typeParameters")),W;case"TSTemplateLiteralType":return w(e,b,t);case"TSNamedTupleMember":return[b("label"),V.optional?"?":"",": ",b("elementType")];case"TSRestType":return["...",b("typeAnnotation")];case"TSOptionalType":return[b("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return N(e,t,b);case"TSClassImplements":case"TSInstantiationExpression":return[b("expression"),b("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Q(e,t,b,"params");case"TSTypeParameter":return P(e,t,b);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===V.type?"as":"satisfies";W.push(b("expression"),` ${t} `,b("typeAnnotation"));let r=e.getParentNode();return m(r)&&r.callee===V||g(r)&&r.object===V?l([u([a,...W]),a]):W}case"TSArrayType":return[b("elementType"),"[]"];case"TSPropertySignature":return V.readonly&&W.push("readonly "),W.push($(e,t,b),v(e)),V.typeAnnotation&&W.push(": ",b("typeAnnotation")),V.initializer&&W.push(" = ",b("initializer")),W;case"TSParameterProperty":return V.accessibility&&W.push(V.accessibility+" "),V.export&&W.push("export "),V.static&&W.push("static "),V.override&&W.push("override "),V.readonly&&W.push("readonly "),W.push(b("parameter")),W;case"TSTypeQuery":return["typeof ",b("exprName"),b("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=V.parameters.length>1?p(f(t)?",":""):"",s=l([u([a,i([", ",a],e.map(b,"parameters"))]),n,a]);return[V.export?"export ":"",V.accessibility?[V.accessibility," "]:"",V.static?"static ":"",V.readonly?"readonly ":"",V.declare?"declare ":"","[",V.parameters?s:"",V.typeAnnotation?"]: ":"]",V.typeAnnotation?b("typeAnnotation"):"","ClassBody"===r.type?z:""]}case"TSTypePredicate":return[V.asserts?"asserts ":"",b("parameterName"),V.typeAnnotation?[" is ",b("typeAnnotation")]:""];case"TSNonNullExpression":return[b("expression"),"!"];case"TSImportType":return[V.isTypeOf?"typeof ":"","import(",b(V.parameter?"parameter":"argument"),")",V.qualifier?[".",b("qualifier")]:"",Q(e,t,b,"typeParameters")];case"TSLiteralType":return b("literal");case"TSIndexedAccessType":return Z(e,t,b);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===V.type&&V.abstract&&W.push("abstract "),"TSCallSignatureDeclaration"!==V.type&&W.push("new "),W.push(l(E(e,b,t,!1,!0))),V.returnType||V.typeAnnotation){let e="TSConstructorType"===V.type;W.push(e?" => ":": ",b("returnType"),b("typeAnnotation"))}return W;case"TSTypeOperator":return[V.operator," ",b("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,D(V),y(V));return l(["{",u([t.bracketSpacing?s:a,b("typeParameter"),V.optional?d(V.optional,"?"):"",V.typeAnnotation?": ":"",b("typeAnnotation"),p(z)]),r(e,t,!0),t.bracketSpacing?s:a,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=V.kind&&"method"!==V.kind?`${V.kind} `:"";W.push(V.accessibility?[V.accessibility," "]:"",r,V.export?"export ":"",V.static?"static ":"",V.readonly?"readonly ":"",V.abstract?"abstract ":"",V.declare?"declare ":"",V.computed?"[":"",b("key"),V.computed?"]":"",v(e));let n=E(e,b,t,!1,!0),i=V.returnType?"returnType":"typeAnnotation",s=V[i],o=s?b(i):"",a=x(V,o);return W.push(a?l(n):n),s&&W.push(": ",l(o)),l(W)}case"TSNamespaceExportDeclaration":return W.push("export as namespace ",b("id")),t.semi&&W.push(";"),l(W);case"TSEnumDeclaration":return V.declare&&W.push("declare "),V.modifiers&&W.push(S(e,t,b)),V.const&&W.push("const "),W.push("enum ",b("id")," "),0===V.members.length?W.push(l(["{",r(e,t),a,"}"])):W.push(l(["{",u([o,A(e,t,"members",b),f(t,"es5")?",":""]),r(e,t,!0),o,"}"])),W;case"TSEnumMember":return V.computed?W.push("[",b("id"),"]"):W.push(b("id")),V.initializer&&W.push(" = ",b("initializer")),W;case"TSImportEqualsDeclaration":return V.isExport&&W.push("export "),W.push("import "),V.importKind&&"value"!==V.importKind&&W.push(V.importKind," "),W.push(b("id")," = ",b("moduleReference")),t.semi&&W.push(";"),l(W);case"TSExternalModuleReference":return["require(",b("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=h(V.id),i="TSModuleDeclaration"===r.type,s=V.body&&"TSModuleDeclaration"===V.body.type;if(i)W.push(".");else{V.declare&&W.push("declare "),W.push(S(e,t,b));let r=t.originalText.slice(D(V),D(V.id));"Identifier"===V.id.type&&"global"===V.id.name&&!/namespace|module/.test(r)||W.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return W.push(b("id")),s?W.push(b("body")):V.body?W.push(" ",l(b("body"))):W.push(z),W}case"TSConditionalType":return C(e,t,b);case"TSInferType":return["infer"," ",b("typeParameter")];case"TSIntersectionType":return L(e,t,b);case"TSUnionType":return I(e,t,b);case"TSFunctionType":return j(e,t,b);case"TSTupleType":return X(e,t,b);case"TSTypeReference":return[b("typeName"),Q(e,t,b,"typeParameters")];case"TSTypeAnnotation":return b("typeAnnotation");case"TSEmptyBodyFunctionExpression":return _(e,t,b);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return q(e,b,"?");case"TSJSDocNonNullableType":return q(e,b,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(V.type)}.`)}}}}}),gn=y({"src/language-js/print/comment.js"(e,t){b();var{hasNewline:r}=de(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:s}}=V(),{isLineComment:o}=sr(),{locStart:a,locEnd:l}=Mt(),u=nr();t.exports={printComment:function(e,t){let c=e.getValue();if(o(c))return t.originalText.slice(a(c),l(c)).trimEnd();if(u(c)){if(function(e){let t=`*${e.value}*`.split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(c)){let e=function(e){let t=e.value.split("\n");return["/*",n(i,t.map((e,r)=>0===r?e.trimEnd():" "+(r<t.length-1?e.trim():e.trimStart()))),"*/"]}(c);return c.trailing&&!r(t.originalText,a(c),{backwards:!0})?[i,e]:e}let e=l(c),o="*-/"===t.originalText.slice(e-3,e);return["/*",s(c.value),o?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(c))}}}}),On=y({"src/language-js/print/literal.js"(e,t){b();var{printString:r,printNumber:n}=de(),{replaceTextEndOfLine:i}=j(),{printDirective:s}=zr();function o(e){return e.toLowerCase()}function a(e){let{pattern:t,flags:r}=e;return r=[...r].sort().join(""),`/${t}/${r}`}t.exports={printLiteral:function(e,t){let l=e.getNode();switch(l.type){case"RegExpLiteral":return a(l);case"BigIntLiteral":return o(l.bigint||l.extra.raw);case"NumericLiteral":return n(l.extra.raw);case"StringLiteral":return i(r(l.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(l.value);case"DecimalLiteral":return n(l.value)+"m";case"Literal":{if(l.regex)return a(l.regex);if(l.bigint)return o(l.raw);if(l.decimal)return n(l.decimal)+"m";let{value:u}=l;return"number"==typeof u?n(l.raw):"string"==typeof u?function(e){if("expression"!==e.getName())return;let t=e.getParentNode();return"ExpressionStatement"===t.type&&t.directive}(e)?s(l.raw,t):i(r(l.raw,t)):String(u)}}}}}}),Dn=y({"src/language-js/printer-estree.js"(e,t){b();var{printDanglingComments:r}=qt(),{hasNewline:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:l,indent:u},utils:{replaceTextEndOfLine:c}}=V(),p=pr(),h=hr(),{insertPragma:d}=Mr(),f=Lr(),m=Ir(),g=jr(),{hasFlowShorthandAnnotationComment:O,hasComment:D,CommentCheckFlags:y,isTheOnlyJsxElementInMarkdown:v,isLineComment:S,isNextLineEmpty:C,needsHardlineAfterDanglingComment:E,hasIgnoreComment:x,isCallExpression:w,isMemberExpression:A,markerForIfWithoutBlockAndSameLineComment:T}=sr(),{locStart:k,locEnd:F}=Mt(),P=nr(),{printHtmlBinding:Q,isVueEventBindingExpression:$}=Xr(),{printAngular:B}=Vr(),{printJsx:_,hasJsxIgnoreComment:N}=qr(),{printFlow:M}=cn(),{printTypescript:R}=mn(),{printOptionalToken:L,printBindExpressionCallee:I,printTypeAnnotation:j,adjustClause:X,printRestSpread:Z,printDefiniteToken:q,printDirective:z}=zr(),{printImportDeclaration:W,printExportDeclaration:Y,printExportAllDeclaration:G,printModuleSpecifier:U}=ln(),{printTernary:H}=hn(),{printTemplateLiteral:J}=or(),{printArray:K}=Wr(),{printObject:ee}=un(),{printClass:te,printClassMethod:re,printClassProperty:ne}=on(),{printProperty:ie}=rn(),{printFunction:se,printArrowFunction:oe,printMethod:ae,printReturnStatement:le,printThrowStatement:ue}=nn(),{printCallExpression:ce}=Hr(),{printVariableDeclarator:pe,printAssignmentExpression:he}=Jr(),{printBinaryishExpression:fe}=Zr(),{printSwitchCaseConsequent:me}=dn(),{printMemberExpression:ge}=Gr(),{printBlock:Oe,printBlockBody:De}=fn(),{printComment:ye}=gn(),{printLiteral:ve}=On(),{printDecorators:Se}=sn();t.exports={preprocess:g,print:function(e,t,p,h){let d=function(e,t,p,h){let d=e.getValue(),f=t.semi?";":"";if(!d)return"";if("string"==typeof d)return d;for(let r of[ve,Q,B,_,M,R]){let n=r(e,t,p);if(typeof n<"u")return n}let m=[];switch(d.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),o];case"File":return d.program&&d.program.interpreter&&m.push(p(["program","interpreter"])),m.push(p("program")),m;case"Program":return De(e,t,p);case"EmptyStatement":return"";case"ExpressionStatement":{if("__vue_event_binding"===t.parser||"__vue_ts_event_binding"===t.parser){let t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===d)return[p("expression"),$(d.expression)?";":""]}let n=r(e,t,!0,e=>{let{marker:t}=e;return t===T});return[p("expression"),v(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return D(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?l(["(",u([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 fe(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return ge(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(l(u([a,I(e,t,p)]))),m;case"Identifier":return[d.name,L(e),q(e),j(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Z(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(w(t)&&t.callee===d||A(t)&&t.object===d){m=[u([a,...m]),a];let t=e.findAncestor(e=>"AwaitExpression"===e.type||"BlockStatement"===e.type);if(!t||"AwaitExpression"!==t.type)return l(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Y(e,t,p);case"ExportAllDeclaration":return G(e,t,p);case"ImportDeclaration":return W(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return U(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Oe(e,t,p);case"ThrowStatement":return ue(e,t,p);case"ReturnStatement":return le(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 K(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(",",u([s,p()]))},"expressions"),l(t)}return l(i([",",s],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return z(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),D(d.argument)?m.push(l(["(",u([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 H(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||D(d.declarations[0])?r.length>0&&(t=u(r[0])):t=r[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",u(r.slice(1).map(e=>[",",a&&!i?o:s,e]))],i&&n.body!==d||m.push(f),l(m)}case"WithStatement":return l(["with (",p("object"),")",X(d.body,p("body"))]);case"IfStatement":{let n=X(d.consequent,p("consequent")),i=l(["if (",l([u([a,p("test")]),a]),")",n]);if(m.push(i),d.alternate){let n=D(d.consequent,y.Trailing|y.Line)||E(d),i="BlockStatement"===d.consequent.type&&!n;m.push(i?" ":o),D(d,y.Dangling)&&m.push(r(e,t,!0),n?o:" "),m.push("else",l(X(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let n=X(d.body,p("body")),i=r(e,t,!0),o=i?[i,a]:"";return d.init||d.test||d.update?[o,l(["for (",l([u([a,p("init"),";",s,p("test"),";",s,p("update")]),a]),")",n])]:[o,l(["for (;;)",n])]}case"WhileStatement":return l(["while (",l([u([a,p("test")]),a]),")",X(d.body,p("body"))]);case"ForInStatement":return l(["for (",p("left")," in ",p("right"),")",X(d.body,p("body"))]);case"ForOfStatement":return l(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",X(d.body,p("body"))]);case"DoWhileStatement":{let e=X(d.body,p("body"));return m=[l(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(o),m.push("while (",l([u([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=D(d.param,e=>!P(e)||e.leading&&n(t.originalText,F(e))||e.trailing&&n(t.originalText,k(e),{backwards:!0})),r=p("param");return["catch ",e?["(",u([a,r]),a,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[l(["switch (",u([a,p("discriminant")]),a,")"])," {",d.cases.length>0?u([o,i(o,e.map((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&C(i,t)?o:""]},"cases"))]):"",o,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),D(d,y.Dangling)&&m.push(" ",r(e,t,!0));let n=d.consequent.filter(e=>"EmptyStatement"!==e.type);if(n.length>0){let r=me(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:u([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 J(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),C(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(u([o,e]),o),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(d.type))}}(e,t,p,h);if(!d)return"";let f=e.getValue(),{type:g}=f;if("ClassMethod"===g||"ClassPrivateMethod"===g||"ClassProperty"===g||"ClassAccessorProperty"===g||"AccessorProperty"===g||"TSAbstractAccessorProperty"===g||"PropertyDefinition"===g||"TSAbstractPropertyDefinition"===g||"ClassPrivateProperty"===g||"MethodDefinition"===g||"TSAbstractMethodDefinition"===g||"TSDeclareMethod"===g)return d;let S=[d],b=Se(e,t,p),x="ClassExpression"===f.type&&b;if(b&&(S=[...b,d],!x))return l(S);if(!m(e,t))return h&&h.needsSemi&&S.unshift(";"),1===S.length&&S[0]===d?d:S;if(x&&(S=[u([s,...S])]),S.unshift("("),h&&h.needsSemi&&S.unshift(";"),O(f)){let[e]=f.trailingComments;S.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return x&&S.push(s),S.push(")"),S},embed:p,insertPragma:d,massageAstNode:h,hasPrettierIgnore:e=>x(e)||N(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function(e){return e.type&&!P(e)&&!S(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:ye,isBlockComment:P,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),yn=y({"src/language-js/printer-estree-json.js"(e,t){b();var{builders:{hardline:r,indent:n,join:i}}=V(),s=jr();function o(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var a=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function l(e,t){let{type:r}=e;if("ObjectProperty"===r){let{key:r}=e;return void("Identifier"===r.type?t.key={type:"StringLiteral",value:r.name}:"NumericLiteral"===r.type&&(t.key={type:"StringLiteral",value:String(r.value)}))}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"})}l.ignoredProperties=a,t.exports={preprocess:s,print:function(e,t,s){let a=e.getValue();switch(a.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===a.elements.length)return"[]";let t=e.map(()=>null===e.getValue()?"null":s(),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===a.properties.length?"{}":["{",n([r,i([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===a.operator?"":a.operator,s("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return a.value?"true":"false";case"StringLiteral":return JSON.stringify(a.value);case"NumericLiteral":return o(e)?JSON.stringify(String(a.value)):JSON.stringify(a.value);case"Identifier":return o(e)?JSON.stringify(a.name):a.name;case"TemplateLiteral":return s(["quasis",0]);case"TemplateElement":return JSON.stringify(a.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(a.type))}},massageAstNode:l}}}),vn=y({"src/common/common-options.js"(e,t){b();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."}}}}),Sn=y({"src/language-js/options.js"(e,t){b();var r=vn(),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}}}),Cn=y({"src/language-js/parse/parsers.js"(){b()}}),bn=y({"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}}}),En=y({"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}}}),xn=y({"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}}}),wn=y({"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}}}),An=y({"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}}}),Tn=y({"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}}}),kn=y({"src/language-js/index.js"(e,t){b();var r=Jt(),n=Dn(),i=yn(),s=Sn(),o=Cn(),a=[r(bn(),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(bn(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),r(bn(),()=>({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(En(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),r(xn(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),r(wn(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),r(wn(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),r(An(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]})),r(Tn(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],l={estree:n,"estree-json":i};t.exports={languages:a,options:s,printers:l,parsers:o}}}),Fn=y({"src/language-css/clean.js"(e,t){b();var{isFrontMatterNode:r}=de(),n=k(),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=function(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}(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}s.ignoredProperties=i,t.exports=s}}),Pn=y({"src/utils/front-matter/print.js"(e,t){b();var{builders:{hardline:r,markAsRoot:n}}=V();t.exports=function(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])}}}}),Qn=y({"src/language-css/embed.js"(e,t){b();var{builders:{hardline:r}}=V(),n=Pn();t.exports=function(e,t,i){let s=e.getValue();if("front-matter"===s.type){let e=n(s,i);return e?[e,r]:""}}}}),$n=y({"src/utils/front-matter/parse.js"(e,t){b();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(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[l]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:l.replace(/\n$/,"")},content:l.replace(/[^\n]/g," ")+e.slice(l.length)}}}}),Bn=y({"src/language-css/pragma.js"(e,t){b();var r=Mr(),n=$n();t.exports={hasPragma:function(e){return r.hasPragma(n(e).content)},insertPragma:function(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}}}}),_n=y({"src/language-css/utils/index.js"(e,t){b();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)}var s=new Set(["initial","inherit","unset","revert"]);function o(e){return"value-operator"===e.type&&"*"===e.value}function a(e){return"value-operator"===e.type&&"/"===e.value}function l(e){return"value-operator"===e.type&&"+"===e.value}function u(e){return"value-operator"===e.type&&"-"===e.value}function c(e){return"value-operator"===e.type&&"%"===e.value}function p(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 h(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&p(e.groups[0])}function d(e){return"value-colon"===(null==e?void 0:e.type)}t.exports={getAncestorCounter:n,getAncestorNode:i,getPropOfDeclNode:function(e){var t;let r=i(e,"css-decl");return null==r||null===(t=r.prop)||void 0===t?void 0:t.toLowerCase()},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(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},insideICSSRuleNode:function(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"))},insideAtRuleNode:function(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(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},isKeyframeAtRuleKeywords:function(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())},isWideKeywords:function(e){return s.has(e.toLowerCase())},isLastNode:function(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},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:o,isDivisionNode:a,isAdditionNode:l,isSubtractionNode:u,isModuloNode:c,isMathOperatorNode:function(e){return o(e)||a(e)||l(e)||u(e)||c(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(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()},hasParensAroundNode:function(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},hasEmptyRawBefore:function(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)},isDetachedRulesetCallNode:function(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before},isKeyValuePairNode:p,isKeyValuePairInParenGroupNode:h,isKeyInValuePairNode:function(e,t){if(!p(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&d(r[n+1])},isSCSSMapItemNode:function(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!(h(r)||n&&h(n)))return!1;let s=i(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||h(n)||"value-func"===n.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:d,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},isAtWordPlaceholderNode:function(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")},isConfigurationNode:function(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},isParenGroupNode:function(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)}}}}),Nn=y({"src/utils/line-column-to-index.js"(e,t){b(),t.exports=function(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf("\n",r)+1;return r+e.column}}}),Mn=y({"src/language-css/loc.js"(e,t){b();var{skipEverythingButNewLine:r}=le(),n=k(),i=Nn();function s(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if("css-comment"===e.type&&e.inline)return r(t,e.source.startOffset);let s=e.nodes&&n(e.nodes);return s&&e.source&&!e.source.end&&(e=s),e.source&&e.source.end?i(e.source.end,t):null}function a(e,t,r){e.source&&(e.source.startOffset=s(e,r)+t,e.source.endOffset=o(e,r)+t);for(let n in e){let i=e[n];"source"===n||!i||"object"!=typeof i||a(i,t,r)}}function l(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}t.exports={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,r){t.source&&(t.source.startOffset=s(t,r),t.source.endOffset=o(t,r));for(let n in t){let i=t[n];"source"===n||!i||"object"!=typeof i||("value-root"===i.type||"value-unknown"===i.type?a(i,l(t),i.text||i.value):e(i,r))}},replaceQuotesInInlineComments:function(e){let t,r="initial",n="initial",i=!1,s=[];for(let o=0;o<e.length;o++){let a=e[o];switch(r){case"initial":if("'"===a){r="single-quotes";continue}if('"'===a){r="double-quotes";continue}if(("u"===a||"U"===a)&&"url("===e.slice(o,o+4).toLowerCase()){r="url",o+=3;continue}if("*"===a&&"/"===e[o-1]){r="comment-block";continue}if("/"===a&&"/"===e[o-1]){r="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"double-quotes":if('"'===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"url":if(")"===a&&(r="initial"),"\n"===a||"\r"===a)return e;if("'"===a){r="single-quotes",n="url";continue}if('"'===a){r="double-quotes",n="url";continue}continue;case"comment-block":"/"===a&&"*"===e[o-1]&&(r="initial");continue;case"comment-inline":('"'===a||"'"===a||"*"===a)&&(i=!0),("\n"===a||"\r"===a)&&(i&&s.push([t,o]),r="initial",i=!1);continue}}for(let[t,r]of s)e=e.slice(0,t)+e.slice(t,r).replace(/["'*]/g," ")+e.slice(r);return e}}}}),Rn=y({"src/language-css/utils/is-less-parser.js"(e,t){b(),t.exports=function(e){return"css"===e.parser||"less"===e.parser}}}),Ln=y({"src/language-css/utils/is-scss.js"(e,t){b(),t.exports=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}}}),In=y({"src/language-css/utils/css-units.evaluate.js"(e,t){t.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),jn=y({"src/language-css/utils/print-unit.js"(e,t){b();var r=In();t.exports=function(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:e}}}),Xn=y({"src/language-css/printer-postcss.js"(e,t){b();var r=k(),{printNumber:n,printString:i,hasNewline:s,isFrontMatterNode:o,isNextLineEmpty:a,isNonEmptyArray:l}=de(),{builders:{join:u,line:c,hardline:p,softline:h,group:d,fill:f,indent:m,dedent:g,ifBreak:O,breakParent:D},utils:{removeLines:y,getDocParts:v}}=V(),S=Fn(),C=Qn(),{insertPragma:E}=Bn(),{getAncestorNode:x,getPropOfDeclNode:w,maybeToLowerCase:A,insideValueFunctionNode:T,insideICSSRuleNode:F,insideAtRuleNode:P,insideURLFunctionInImportAtRuleNode:Q,isKeyframeAtRuleKeywords:$,isWideKeywords:B,isLastNode:_,isSCSSControlDirectiveNode:N,isDetachedRulesetDeclarationNode:M,isRelationalOperatorNode:R,isEqualityOperatorNode:L,isMultiplicationNode:I,isDivisionNode:j,isAdditionNode:X,isSubtractionNode:Z,isMathOperatorNode:q,isEachKeywordNode:z,isForKeywordNode:W,isURLFunctionNode:Y,isIfElseKeywordNode:G,hasComposesNode:U,hasParensAroundNode:H,hasEmptyRawBefore:J,isKeyValuePairNode:K,isKeyInValuePairNode:ee,isDetachedRulesetCallNode:te,isTemplatePlaceholderNode:re,isTemplatePropNode:ne,isPostcssSimpleVarNode:ie,isSCSSMapItemNode:se,isInlineValueCommentNode:oe,isHashNode:ae,isLeftCurlyBraceNode:le,isRightCurlyBraceNode:ue,isWordNode:ce,isColonNode:pe,isMediaAndSupportsKeywords:he,isColorAdjusterFuncNode:fe,lastLineHasInlineComment:me,isAtWordPlaceholderNode:ge,isConfigurationNode:Oe,isParenGroupNode:De}=_n(),{locStart:ye,locEnd:ve}=Mn(),Se=Rn(),Ce=Ln(),be=jn();function Ee(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function xe(e,t,r){let n=[];return e.each((e,i,l)=>{let u=l[i-1];if(u&&"css-comment"===u.type&&"prettier-ignore"===u.text.trim()){let r=e.getValue();n.push(t.originalText.slice(ye(r),ve(r)))}else n.push(r());i!==l.length-1&&("css-comment"===l[i+1].type&&!s(t.originalText,ye(l[i+1]),{backwards:!0})&&!o(l[i])||"css-atrule"===l[i+1].type&&"else"===l[i+1].name&&"css-comment"!==l[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?c:p),a(t.originalText,e.getValue(),ve)&&!o(l[i])&&n.push(p)))},"nodes"),n}var we=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ae=new RegExp(we.source+`|(${/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source})?(${/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source})(${/[A-Za-z]+/g.source})?`,"g");function Te(e,t){return e.replace(we,e=>i(e,t))}function ke(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Fe(e){return e.replace(Ae,(e,t,r,n,i)=>!r&&n?Pe(n)+A(i||""):e)}function Pe(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,n){let s=e.getValue();if(!s)return"";if("string"==typeof s)return s;switch(s.type){case"front-matter":return[s.raw,p];case"css-root":{let r=xe(e,t,n),i=s.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[r,i?` ${i}`:"",v(r).length>0?p:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(ye(s),ve(s));return e?r.trimEnd():r}case"css-rule":return[n("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&me(s.selector.value)?c:" ","{",s.nodes.length>0?m([p,xe(e,t,n)]):"",p,"}",M(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=s.raws,o=i.trim(),a=":"===o,l=U(s)?y(n("value")):n("value");return!a&&me(o)&&(l=m([p,g(l)])),[s.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||F(e)?s.prop:A(s.prop),o.startsWith("//")?" ":"",o,s.extend?"":" ",Se(t)&&s.extend&&s.selector?["extend(",n("selector"),")"]:"",l,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,xe(e,t,n)]),h,"}"]:ne(s)&&!r.raws.semicolon&&";"!==t.originalText[ve(s)-1]?"":t.__isHTMLStyleAttribute&&_(e,s)?O(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(s)&&!r.raws.semicolon&&";"!==t.originalText[ve(s)-1];if(Se(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:"",xe(e,t,n)]),h,"}"]:"",i?"":";"]}return["@",te(s)||s.name.endsWith(":")?s.name:A(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"),N(s)?H(s)?" ":c:""]):"else"===s.name?" ":"",s.nodes?[N(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&me(s.selector.value)||!s.selector&&"string"==typeof s.params&&me(s.params)?c:" ","{",m([s.nodes.length>0?h:"",xe(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(u(c,t)))}case"media-query":return[u(" ",e.map(n,"nodes")),_(e,s)?"":","];case"media-type":case"media-value":return Fe(Te(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(n,"nodes"),")"]:s.value;case"media-feature":return A(Te(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return Te(s.value,t);case"media-url":return Te(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")?[x(e,"css-atrule").customSelector,c]:"",u([",",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:Fe($(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",Fe(Te(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?ke(Te(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,_(e,s)?"":" "]}return[s.value.trim().startsWith("(")?c:"",Fe(Te(s.value.trim(),t))||c];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[A(s.value),l(s.nodes)?d(["(",m([h,u([",",c],e.map(n,"nodes"))]),h,")"]):""];case"selector-unknown":{let r=x(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Fe(Te(A(s.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=ye(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=ve(n.open)+1,r=ye(n.close),i=t.originalText.slice(e,r).trim();return me(i)?[D,i]:i}return s.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(ye(s),ve(s));case"value-comma_group":{let r=e.getParentNode(),i=e.getParentNode(1),o=w(e),a=o&&"value-value"===r.type&&("grid"===o||o.startsWith("grid-template")),l=x(e,"css-atrule"),u=l&&N(l),O=s.groups.some(e=>oe(e)),y=e.map(n,"groups"),v=[],C=T(e,"url"),b=!1,E=!1;for(let n=0;n<s.groups.length;++n){var S;v.push(y[n]);let o=s.groups[n-1],d=s.groups[n],f=s.groups[n+1],m=s.groups[n+2];if(C){(f&&X(f)||X(d))&&v.push(" ");continue}if(P(e,"forward")&&"value-word"===d.type&&d.value&&void 0!==o&&"value-word"===o.type&&"as"===o.value&&"value-operator"===f.type&&"*"===f.value||!f||"value-word"===d.type&&d.value.endsWith("-")&&ge(f))continue;if("value-string"===d.type&&d.quoted){let e=d.value.lastIndexOf("#{"),t=d.value.lastIndexOf("}");-1!==e&&-1!==t?b=e>t:-1!==e?b=!0:-1!==t&&(b=!1)}if(b||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)||le(d)||ue(f)||le(f)&&J(f)||ue(d)&&J(f)||"--"===d.value&&ae(f))continue;let O=q(d),D=q(f);if((O&&ae(f)||D&&ue(d))&&J(f)||!o&&j(d)||T(e,"calc")&&(X(d)||X(f)||Z(d)||Z(f))&&J(f))continue;let x=(X(d)||Z(d))&&0===n&&("value-number"===f.type||f.isHex)&&i&&fe(i)&&!J(f),w=m&&"value-func"===m.type||m&&ce(m)||"value-func"===d.type||ce(d),A="value-func"===f.type||ce(f)||o&&"value-func"===o.type||o&&ce(o);if((I(f)||I(d)||T(e,"calc")||x||!(j(f)&&!w||j(d)&&!A||X(f)&&!w||X(d)&&!A||Z(f)||Z(d))||!(J(f)||O&&(!o||o&&q(o))))&&("scss"!==t.parser&&"less"!==t.parser||!O||"-"!==d.value||!De(f)||ve(d)!==ye(f.open)||"("!==f.open.value)){if(oe(d)){if("value-paren_group"===r.type){v.push(g(p));continue}v.push(p);continue}if(u&&(L(f)||R(f)||G(f)||z(d)||W(d))){v.push(" ");continue}if(l&&"namespace"===l.name.toLowerCase()){v.push(" ");continue}if(a){d.source&&f.source&&d.source.start.line!==f.source.start.line?(v.push(p),E=!0):v.push(" ");continue}if(D){v.push(" ");continue}if(!(f&&"..."===f.value||ge(d)&&ge(f)&&ve(d)===ye(f))){if(ge(d)&&De(f)&&ve(d)===ye(f.open)){v.push(h);continue}if("with"===d.value&&De(f)){v.push(" ");continue}null!==(S=d.value)&&void 0!==S&&S.endsWith("#")&&"{"===f.value&&De(f.group)||v.push(c)}}}return O&&v.push(D),E&&v.unshift(p),u?d(m(v)):Q(e)?d(f(v)):d(m(f(v)))}case"value-paren_group":{let i=e.getParentNode();if(i&&Y(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"):"",u(",",e.map(n,"groups")),s.close?n("close"):""];if(!s.open){let t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",c]),r.push(t[e]);return d(m(f(r)))}let o=se(e),D=r(s.groups),y=D&&"value-comment"===D.type,S=ee(s,i),C=Oe(s,i),b=C||o&&!S,E=C||S,x=d([s.open?n("open"):"",m([h,u([c],e.map((e,i)=>{let o=e.getValue(),u=i===s.groups.length-1,c=[n(),u?"":","];if(K(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=v(c[0].contents.contents);e[1]=d(e[1]),c=[d(g(c))]}if(!u&&"value-comma_group"===o.type&&l(o.groups)){let e=r(o.groups);!e.source&&e.close&&(e=e.close),e.source&&a(t.originalText,e,ve)&&c.push(p)}return c},"groups"))]),O(!y&&Ce(t.parser,t.originalText)&&o&&Ee(t)?",":""),h,s.close?n("close"):""],{shouldBreak:b});return E?g(x):x}case"value-func":return[s.value,P(e,"supports")&&he(s)?" ":"",n("group")];case"value-number":return[Pe(s.value),be(s.unit)];case"value-word":return s.isColor&&s.isHex||B(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)||T(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)}`)}},embed:C,insertPragma:E,massageAstNode:S}}}),Zn=y({"src/language-css/options.js"(e,t){b();var r=vn();t.exports={singleQuote:r.singleQuote}}}),Vn=y({"src/language-css/parsers.js"(){b()}}),qn=y({"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}}}),zn=y({"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}}}),Wn=y({"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}}}),Yn=y({"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}}}),Gn=y({"src/language-css/index.js"(e,t){b();var r=Jt(),n=Xn(),i=Zn(),s=Vn(),o=[r(qn(),e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),r(zn(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),r(Wn(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),r(Yn(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],a={postcss:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Un=y({"src/language-handlebars/loc.js"(e,t){b(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),Hn=y({"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}b(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),Jn=y({"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"]}}),Kn=y({"src/language-handlebars/utils.js"(e,t){b();var r=k(),n=Jn();function i(e){return e.toUpperCase()===e}var s=new Set(n);function o(e){return a(e,["TextNode"])&&!/\S/.test(e.chars)}function a(e,t){return e&&t.includes(e.type)}function l(e,t){return a(e.getParentNode(0),t)}function u(e,t){var r,n,i,s;let o=e.getValue(),a=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},l=null!==(n=null!==(i=null!==(s=a.children)&&void 0!==s?s:a.body)&&void 0!==i?i:a.parts)&&void 0!==n?n:[],u=l.indexOf(o);return-1!==u&&l[u+t]}function c(e){return u(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function p(e){return u(e,1)}function h(e){return a(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:p,getPreviousNode:c,hasPrettierIgnore:function(e){let t=e.getValue(),r=c(e,2);return h(t)||h(r)},isLastNodeOfSiblings:function(e){let t=e.getValue(),n=e.getParentNode(0);return!!(l(e,["ElementNode"])&&r(n.children)===t||l(e,["Block"])&&r(n.body)===t)},isNextNodeOfSomeType:function(e,t){return a(p(e),t)},isNodeOfSomeType:a,isParentOfSomeType:l,isPreviousNodeOfSomeType:function(e,t){return a(c(e),t)},isVoid:function(e){return!0===e.selfClosing||function(e){return s.has(e.toLowerCase())&&!i(e[0])}(e.tag)||function(e){return a(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(i(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every(e=>o(e))},isWhitespaceNode:o}}}),ei=y({"src/language-handlebars/printer-glimmer.js"(e,t){b();var{builders:{dedent:r,fill:n,group:i,hardline:s,ifBreak:o,indent:a,join:l,line:u,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:h}}=V(),{getPreferredQuote:d,isNonEmptyArray:f}=de(),{locStart:m,locEnd:g}=Un(),O=Hn(),{getNextNode:D,getPreviousNode:y,hasPrettierIgnore:v,isLastNodeOfSiblings:S,isNextNodeOfSomeType:C,isNodeOfSomeType:E,isParentOfSomeType:x,isPreviousNodeOfSomeType:w,isVoid:A,isWhitespaceNode:T}=Kn();function k(e,t){return m(e)-m(t)}function F(e,t,r){let n=e.getValue().children.every(e=>T(e));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i},"children")}function P(e){return A(e)?o([c,"/>"],[" />",c]):o([c,">"],">")}function Q(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function $(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function B(e){return[Q(e),e.openStrip.open?"~":"","#"]}function _(e){let t=$(e);return[e.openStrip.close?"~":"",t]}function N(e){return[Q(e),e.closeStrip.open?"~":"","/"]}function M(e){let t=$(e);return[e.closeStrip.close?"~":"",t]}function R(e){return[Q(e),e.inverseStrip.open?"~":""]}function L(e){let t=$(e);return[e.inverseStrip.close?"~":"",t]}function I(e,t){let r=e.getValue(),n=[],s=re(e,t);return s&&n.push(i(s)),f(r.program.blockParams)&&n.push(ne(r.program)),i([B(r),te(0,t),n.length>0?a([u,l(u,n)]):"",c,_(r)])}function j(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",R(e),"else",L(e)]}function X(e,t,r){let n=e.getValue(),s=e.getParentNode(1);return i([R(s),["else"," ",r],a([u,i(re(e,t)),...f(n.program.blockParams)?[u,ne(n.program)]:[]]),c,L(s)])}function Z(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[q(n)?c:s,N(n),t("path"),M(n)]:[N(n),t("path"),M(n)]}function q(e){return E(e,["BlockStatement"])&&e.program.body.every(e=>T(e))}function z(e){return E(e,["BlockStatement"])&&e.inverse}function W(e,t,r){if(q(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 function(e){return z(e)&&1===e.inverse.body.length&&E(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}(n)?o:z(n)?[j(n,r),a(o)]:""}function G(e){return p(l(u,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function U(e){return(e="string"==typeof e?e:"").split("\n").length-1}function H(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(s)}function J(e,t){let{quote:r,regex:n}=d(e,t);return[r,e.replace(n,`\\${r}`),r]}function K(e,t){let r=te(0,t),n=re(e,t);return n?a([r,u,i(n)]):r}function ee(e,t){let r=te(0,t),n=re(e,t);return n?[a([r,u,n]),c]:r}function te(e,t){return t("path")}function re(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?"":l(u,n)}function ne(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,o){let p=e.getValue();if(!p)return"";if(v(e))return t.originalText.slice(m(p),g(p));let O=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(o,"body"));case"ElementNode":{let r=i(function(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter(e=>f(r[e])),i=n.flatMap(e=>r[e]).sort(k);for(let r of n)e.each(e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[u,t()])},r);return f(r.blockParams)&&i.push(u,ne(r)),["<",r.tag,a(i),P(r)]}(e,o)),n="ignore"===t.htmlWhitespaceSensitivity&&C(e,["ElementNode"])?c:"";if(A(p))return[r,n];let l=["</",p.tag,">"];return 0===p.children.length?[r,a(l),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,a(F(e,t,o)),s,a(l),n]:[r,a(i(F(e,t,o))),a(l),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]?[X(e,o,r.inverse.body[0].path.parts[0]),W(e,o,t),Y(e,o,t)]:[I(e,o),i([W(e,o,t),Y(e,o,t),Z(e,o,t)])]}case"ElementModifierStatement":return i(["{{",ee(e,o),"}}"]);case"MustacheStatement":return i([Q(p),ee(e,o),$(p)]);case"SubExpression":return i(["(",K(e,o),c,")"]);case"AttrNode":{let e="TextNode"===p.value.type;if(e&&""===p.value.chars&&m(p.value)===g(p.value))return p.name;let t=e?d(p.value.chars,O).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter(e=>"TextNode"===e.type).map(e=>e.chars).join(""),O).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 l(u,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),s=function(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}(e);if(s){if("class"===s){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return x(e,["ConcatStatement"])&&(w(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),C(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?u:"",t,n?u:""]}return h(i)}let o=/^[\t\n\f\r ]*$/.test(i),a=!y(e),l=!D(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,c=l&&x(e,["Template"]),p=a&&x(e,["Template"]);if(o){if(p||c)return"";let t=[u],n=U(i);return n&&(t=H(n)),S(e)&&(t=t.map(e=>r(e))),t}let[h]=i.match(t),[d]=i.match(s),f=[];if(h){f=[u];let e=U(h);e&&(f=H(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[u];let t=U(d);t&&(m=H(t)),S(e)&&(m=m.map(e=>r(e)))}i=i.replace(s,"")}return[...f,n(G(i)),...m]}let c=U(i),d=function(e){return U(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(i),f=function(e){return U(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(i);if((a||l)&&o&&x(e,["Block","ElementNode","Template"]))return"";o&&c?(d=Math.min(c,2),f=0):(C(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),w(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",g="";return 0===f&&C(e,["MustacheStatement"])&&(g=" "),0===d&&w(e,["MustacheStatement"])&&(m=" "),a&&(d=0,m=""),l&&(f=0,g=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,g),[...H(d),n(G(i)),...H(f)]}case"MustacheCommentStatement":{let e=m(p),r=g(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(function(e){let t=0,r=e.getParentNode(t);for(;r&&E(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&E(e.getParentNode(t+1),["ConcatStatement"])&&E(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return J(p.value,e)}return J(p.value,O);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}},massageAstNode:O}}}),ti=y({"src/language-handlebars/parsers.js"(){b()}}),ri=y({"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}}}),ni=y({"src/language-handlebars/index.js"(e,t){b();var r=Jt(),n=ei(),i=ti(),s=[r(ri(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],o={glimmer:n};t.exports={languages:s,printers:o,parsers:i}}}),ii=y({"src/language-graphql/pragma.js"(e,t){b(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}}}}),si=y({"src/language-graphql/loc.js"(e,t){b(),t.exports={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}}),oi=y({"src/language-graphql/printer-graphql.js"(e,t){b();var{builders:{join:r,hardline:n,line:i,softline:s,group:o,indent:a,ifBreak:l}}=V(),{isNextLineEmpty:u,isNonEmptyArray:c}=de(),{insertPragma:p}=ii(),{locStart:h,locEnd:d}=si();function f(e,t,n){if(0===n.directives.length)return"";let l=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?o([i,l]):[" ",o(a([s,l]))]}function m(e,t,r,i){return e.map((e,i,s)=>{let o=r();return i<s.length-1&&u(t.originalText,e.getValue(),d)?[o,n]:o},i)}function g(e,t,r){let n=e.getNode(),s=[],{interfaces:o}=n,a=e.map(e=>r(e),"interfaces");for(let e=0;e<o.length;e++){let r=o[e];s.push(a[e]);let n=o[e+1];if(n){let e=t.originalText.slice(r.loc.end,n.loc.start),o=e.includes("#"),a=e.replace(/#.*/g,"").trim();s.push(","===a?",":" &",o?i:" ")}}return s}function O(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes("\n")&&(t.value=t.value.trim())}O.ignoredProperties=new Set(["loc","comments"]),t.exports={print:function(e,t,p){let O=e.getValue();if(!O)return"";if("string"==typeof O)return O;switch(O.kind){case"Document":{let r=[];return e.each((e,i,s)=>{r.push(p()),i!==s.length-1&&(r.push(n),u(t.originalText,e.getValue(),d)&&r.push(n))},"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[h(O)],i=Boolean(O.name);return[n?O.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&c(O.variableDefinitions)?" ":"",c(O.variableDefinitions)?o(["(",a([s,r([l("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):"",f(e,p,O),O.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(O.variableDefinitions)?o(["(",a([s,r([l("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):""," on ",p("typeCondition"),f(e,p,O)," ",p("selectionSet")];case"SelectionSet":return["{",a([n,r(n,m(e,t,p,"selections"))]),n,"}"];case"Field":return o([O.alias?[p("alias"),": "]:"",p("name"),O.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",f(e,p,O),O.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return O.value;case"StringValue":if(O.block){let e=O.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['"',O.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return O.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",a([s,r([l("",", "),s],e.map(p,"values"))]),s,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&O.fields.length>0?" ":"",a([s,r([l("",", "),s],e.map(p,"fields"))]),s,l("",t.bracketSpacing&&O.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),O.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),O.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,O)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),O.description?n:"","ObjectTypeExtension"===O.kind?"extend ":"","type ",p("name"),O.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,O),O.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),O.description?n:"",p("name"),O.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",": ",p("type"),f(e,p,O)];case"DirectiveDefinition":return[p("description"),O.description?n:"","directive ","@",p("name"),O.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",O.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),O.description?n:"","EnumTypeExtension"===O.kind?"extend ":"","enum ",p("name"),f(e,p,O),O.values.length>0?[" {",a([n,r(n,m(e,t,p,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),O.description?n:"",p("name"),f(e,p,O)];case"InputValueDefinition":return[p("description"),O.description?O.description.block?n:i:"",p("name"),": ",p("type"),O.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,O)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),O.description?n:"","InputObjectTypeExtension"===O.kind?"extend ":"","input ",p("name"),f(e,p,O),O.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",f(e,p,O),...O.operationTypes.length>0?[" {",a([n,r(n,m(e,t,p,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[p("description"),O.description?n:"","schema",f(e,p,O)," {",O.operationTypes.length>0?a([n,r(n,m(e,t,p,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),O.description?n:"","InterfaceTypeExtension"===O.kind?"extend ":"","interface ",p("name"),O.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,O),O.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),f(e,p,O)];case"InlineFragment":return["...",O.typeCondition?[" on ",p("typeCondition")]:"",f(e,p,O)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),O.description?n:"",o(["UnionTypeExtension"===O.kind?"extend ":"","union ",p("name"),f(e,p,O),O.types.length>0?[" =",l(""," "),a([l([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),O.description?n:"","ScalarTypeExtension"===O.kind?"extend ":"","scalar ",p("name"),f(e,p,O)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(O.kind))}},massageAstNode:O,hasPrettierIgnore:function(e){var t;let r=e.getValue();return null==r||null===(t=r.comments)||void 0===t?void 0:t.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:p,printComment:function(e){let t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}}}}),ai=y({"src/language-graphql/options.js"(e,t){b();var r=vn();t.exports={bracketSpacing:r.bracketSpacing}}}),li=y({"src/language-graphql/parsers.js"(){b()}}),ui=y({"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}}}),ci=y({"src/language-graphql/index.js"(e,t){b();var r=Jt(),n=oi(),i=ai(),s=li(),o=[r(ui(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],a={graphql:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),pi=y({"node_modules/collapse-white-space/index.js"(e,t){b(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),hi=y({"src/language-markdown/loc.js"(e,t){b(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),di=y({"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]"}}}),fi=y({"src/language-markdown/utils.js"(e,t){b();var{getLast:r}=de(),{locStart:n,locEnd:i}=hi(),{cjkPattern:s,kPattern:o,punctuationPattern:a}=di(),l=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],u=[...l,"tableCell","paragraph","heading"],c=new RegExp(o),p=new RegExp(a);function h(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}}t.exports={mapAst:function(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,[])},splitText:function(e,t){let n="non-cjk",i="cj-letter",o="cjk-punctuation",a=[],l=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${s})\n(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of l.entries()){if(e%2==1){a.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===l.length-1)&&""===t)continue;let h=t.split(new RegExp(`(${s})`));for(let[e,t]of h.entries())if(0!==e&&e!==h.length-1||""!==t){if(e%2==0){""!==t&&u({type:"word",value:t,kind:n,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(r(t))});continue}u(p.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:c.test(t)?"k-letter":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return a;function u(e){let t=r(a);var s,l;t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?a.push({type:"whitespace",value:" "}):(s=n,l=o,!(t.kind===s&&e.kind===l||t.kind===l&&e.kind===s||[t.value,e.value].some(e=>/\u3000/.test(e)))&&a.push({type:"whitespace",value:""}))),a.push(e)}},punctuationPattern:a,getFencedCodeBlockValue:function(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:h,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(h(e.children[0],t.originalText).numberText),n=Number(h(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(h(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:l,INLINE_NODE_WRAPPER_TYPES:u,isAutolink:function(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)}}}}),mi=y({"src/language-markdown/embed.js"(e,t){b();var{inferParserByLanguage:r,getMaxContinuousCount:n}=de(),{builders:{hardline:i,markAsRoot:s},utils:{replaceEndOfLine:o}}=V(),a=Pn(),{getFencedCodeBlockValue:l}=fi();t.exports=function(e,t,u,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=u(l(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,u);case"importExport":return[u(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return u(`<$>${p.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),gi=y({"src/language-markdown/pragma.js"(e,t){b();var r=$n(),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}`}}}}),Oi=y({"src/language-markdown/print-preprocess.js"(e,t){b();var r=k(),{getOrderedListItemInfo:n,mapAst:i,splitText:s}=fi(),o=/^.$/su;function a(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})})}t.exports=function(e,t){return function(e){return a(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}}))}(e=function(e){return i(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"}))}(e=function(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)}})}(e=function(e,t){return i(e,(e,t,r)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<r.length;t++){let n=r[t];if("list"===n.type&&!n.isAligned)return e.isAligned=!1,e}e.isAligned=s(e)}return e});function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function s(e){if(!e.ordered)return!0;let[i,s]=e.children;if(n(i,t.originalText).leadingSpaces.length>1)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))}}(e=function(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<n.length;e++){let t=n[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e})}(e=function(e,t){return i(e,e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return a(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}}))}(e=function(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)}(e,t)),t),t),t),t)))}}}),Di=y({"src/language-markdown/clean.js"(e,t){b();var r=pi(),{isFrontMatterNode:n}=de(),{startWithPragma:i}=gi(),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}}),yi=y({"src/language-markdown/printer-markdown.js"(e,t){b();var r=pi(),{getLast:n,getMinNotPresentContinuousCount:i,getMaxContinuousCount:s,getStringWidth:o,isNonEmptyArray:a}=de(),{builders:{breakParent:l,join:u,line:c,literalline:p,markAsRoot:h,hardline:d,softline:f,ifBreak:m,fill:g,align:O,indent:D,group:y,hardlineWithoutBreakParent:v},utils:{normalizeDoc:S,replaceTextEndOfLine:C},printer:{printDocToString:E}}=V(),x=mi(),{insertPragma:w}=gi(),{locStart:A,locEnd:T}=hi(),k=Oi(),F=Di(),{getFencedCodeBlockValue:P,hasGitDiffFriendlyOrderedList:Q,splitText:$,punctuationPattern:B,INLINE_NODE_TYPES:_,INLINE_NODE_WRAPPER_TYPES:N,isAutolink:M}=fi(),R=new Set(["importExport"]),L=["heading","tableCell","link","wikiLink"],I=new Set(["listItem","definition","footnoteDefinition"]);function j(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 O(" ".repeat(s.length),r());let o=" ".repeat(function(e,t,r){return e<t?t:e>r?r:e}(t.tabWidth-n.length,0,3));return[o,O(o,r())]}})]}function X(e,t){return function(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}(e,t,t=>t.ordered===e.ordered)}function Z(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 q(e,t){let r=Z(e,t);return-1===r?null:e.getParentNode(r)}function z(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return d;let n="always"===r.proseWrap&&!q(e,L);return""!==t?n?c:" ":n?f:""}function W(e,t,r){let n=[],i=null,{children:s}=e.getValue();for(let[e,t]of s.entries())switch(H(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:e,offset:t.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[G(s[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),G(s[e.end.index])];if(e.start.index<i&&i<e.end.index)return!1;if(i===e.end.index)return n.shift(),!1}return r()}})}function Y(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=i,o=i.processor||(()=>r()),a=e.getValue(),l=[];return e.each((e,r)=>{let i=e.getValue(),s=o(e,r);if(!1!==s){let e={parts:l,prevNode:n,parentNode:a,options:t};(function(e,t){let r=0===t.parts.length,n=_.includes(e.type),i="html"===e.type&&N.includes(t.parentNode.type);return!r&&!n&&!i})(i,e)&&(l.push(d),n&&R.has(n.type)||(function(e,t){var r,n,i;let s=(t.prevNode&&t.prevNode.type)===e.type&&I.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,l="next"===H(t.prevNode),u="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||l||u||c)}(i,e)||J(i,e))&&l.push(d),J(i,e)&&l.push(d)),l.push(s),n=i}},"children"),s?s(l):l}function G(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 U(e){let t=e;for(;a(t.children);)t=n(t.children);return t}function H(e){let t;if("html"===e.type)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);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 J(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function K(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 ee(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+ee(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 te(e){return`[${r(e.label)}]`}function re(e){return`[^${e.label}]`}t.exports={preprocess:k,print:function(e,t,r){let a=e.getValue();if(function(e){let t=q(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return $(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map(r=>"word"===r.type?r.value:""===r.value?"":z(e,r.value,t));switch(a.type){case"front-matter":return t.originalText.slice(a.position.start.offset,a.position.end.offset);case"root":return 0===a.children.length?"":[S(W(e,t,r)),R.has(U(a).type)?"":d];case"paragraph":return Y(e,t,r,{postprocessor:g});case"sentence":return Y(e,t,r);case"word":{let t=a.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${B})(_+)`,`(_+)(${B}|$)`].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)=>M(e.children[r-1]);return t!==a.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(a),i=r.children[n+1],s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return z(e,a.value,{proseWrap:s})}case"emphasis":{let i;if(M(a.children[0]))i=t.originalText[a.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(a),s=t.children[r-1],o=t.children[r+1];i=s&&"sentence"===s.type&&s.children.length>0&&"word"===n(s.children).type&&!n(s.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||q(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(a.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(a.value)?" ":"";return[t,r,a.value,r,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?a.value:a.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[a.position.start.offset]){case"<":{let e="mailto:";return["<",a.url.startsWith(e)&&t.originalText.slice(a.position.start.offset+1,a.position.start.offset+1+e.length)!==e?a.url.slice(e.length):a.url,">"]}case"[":return["[",Y(e,t,r),"](",K(a.url,")"),ee(a.title,t),")"];default:return t.originalText.slice(a.position.start.offset,a.position.end.offset)}case"image":return[""),ee(a.title,t),")"];case"blockquote":return["> ",O("> ",Y(e,t,r))];case"heading":return["#".repeat(a.depth)+" ",Y(e,t,r)];case"code":{if(a.isIndented){let e=" ".repeat(4);return O(e,[e,...C(a.value,d)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,s(a.value,e)+1));return[r,a.lang||"",a.meta?" "+a.meta:"",d,...C(P(a,t.originalText),d),d,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&n(t.children)===a?a.value.trimEnd():a.value,i=/^<!--.*-->$/s.test(r);return C(r,i?d:h(p))}case"list":{let n=X(a,e.getParentNode()),i=Q(a,t);return Y(e,t,r,{processor:(e,s)=>{let o=function(){let e=a.ordered?(0===s?a.start:i?1:a.start+s)+(n%2==0?". ":") "):n%2==0?"- ":"* ";return a.isAligned||a.hasIndentedCodeblock?function(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}}(e,t):e}(),l=e.getValue();return 2===l.children.length&&"html"===l.children[1].type&&l.children[0].position.start.column!==l.children[1].position.start.column?[o,j(e,t,r,o)]:[o,O(" ".repeat(o.length),j(e,t,r,o))]}})}case"thematicBreak":{let t=Z(e,"list");return-1===t?"---":X(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",Y(e,t,r),"]","full"===a.referenceType?te(a):"collapsed"===a.referenceType?"[]":""];case"imageReference":return"full"===a.referenceType?["![",a.alt||"","]",te(a)]:["![",a.alt,"]","collapsed"===a.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?c:" ";return y([te(a),":",D([e,K(a.url),null===a.title?"":[e,ee(a.title,t,!1)]])])}case"footnote":return["[^",Y(e,t,r),"]"];case"footnoteReference":return re(a);case"footnoteDefinition":{let n=e.getParentNode().children[e.getName()+1],i=1===a.children.length&&"paragraph"===a.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&a.children[0].position.start.line===a.children[0].position.end.line);return[re(a),": ",i?Y(e,t,r):y([O(" ".repeat(4),Y(e,t,r,{processor:(e,t)=>0===t?y([f,r()]):r()})),n&&"footnoteDefinition"===n.type?f:""])]}case"table":return function(e,t,r){let n=e.getValue(),i=[],s=e.map(e=>e.map((e,n)=>{let s=E(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[l,a];let c=p(!0);return[l,y(m(c,a))];function p(e){let t=[d(s[0],e),h(e)];return s.length>1&&t.push(u(v,s.slice(1).map(t=>d(t,e)))),u(v,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,l=n.align[r],u=0;"right"===l?u=a:"center"===l&&(u=Math.floor(a/2));let c=a-u;return`${" ".repeat(u)}${s}${" ".repeat(c)}`}).join(" | ")} |`}}(e,t,r);case"tableCell":return Y(e,t,r);case"break":return/\s/.test(t.originalText[a.position.start.offset])?[" ",h(p)]:["\\",d];case"liquidNode":return C(a.value,d);case"importExport":return[a.value,d];case"esComment":return["{/* ",a.value," */}"];case"jsx":return a.value;case"math":return["$$",d,a.value?[...C(a.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(A(a),T(a));default:throw new Error(`Unknown markdown type ${JSON.stringify(a.type)}`)}},embed:x,massageAstNode:F,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===H(e.getParentNode().children[t-1])},insertPragma:w}}}),vi=y({"src/language-markdown/options.js"(e,t){b();var r=vn();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),Si=y({"src/language-markdown/parsers.js"(){b()}}),Ci=y({"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}}}),bi=y({"src/language-markdown/index.js"(e,t){b();var r=Jt(),n=yi(),i=vi(),s=Si(),o=[r(Ci(),e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(e=>".mdx"!==e)})),r(Ci(),()=>({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}}}),Ei=y({"src/language-html/clean.js"(e,t){b();var{isFrontMatterNode:r}=de(),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}}),xi=y({"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"}}}),wi=y({"src/language-html/utils/is-unknown-namespace.js"(e,t){b(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),Ai=y({"src/language-html/utils/index.js"(e,t){b();var{inferParserByLanguage:r,isFrontMatterNode:n}=de(),{builders:{line:i,hardline:s,join:o},utils:{getDocParts:a,replaceTextEndOfLine:l}}=V(),{CSS_DISPLAY_TAGS:u,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:h}=xi(),d=wi(),f=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/[\t\n\f\r ]+$/,""),g=e=>(e=>e.replace(/^[\t\f\r ]*\n/g,""))(m(e)),O=e=>e.match(/^[\t\n\f\r ]*/)[0];function D(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function y(e){return F(e).startsWith("pre")}function v(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 S(e){return w(e)||"element"===e.type&&"br"===e.fullName||C(e)}function C(e){return E(e)&&x(e)}function E(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function x(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function w(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function A(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 T(e){return"block"===e||"list-item"===e||e.startsWith("table")}function k(e){return F(e).startsWith("pre")}function F(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||h}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(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=O(r).length;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}(e);return 0===t?e:e.split("\n").map(e=>e.slice(t)).join("\n")}var Q=new Set(["template","style","script"]);function $(e,t){return B(e,t)&&!Q.has(e.fullName)}function B(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function _(e,t){return B(e,t)&&($(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}t.exports={htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(m(e)),htmlTrimPreserveIndentation:g,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},canHaveInterpolation:function(e){return e.children&&!D(e)},countChars:function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r},countParents:function(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},dedentString:P,forceBreakChildren:v,forceBreakContent:function(e){return v(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type)}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&E(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||x(e.lastChild))},forceNextEmptyLine:function(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(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(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}(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))&&u[e.name]||c}},getNodeCssStyleWhiteSpace:F,hasPrettierIgnore:function(e){return!("attribute"===e.type||!e.parent||!e.prev)&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.prev)},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(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"}(e,t):t&&_(e,t)?A(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?A(e):"babel"},isVueCustomBlock:$,isVueNonHtmlBlock:_,isVueScriptTag:function(e,t){return B(e,t)&&"script"===e.name},isVueSlotAttribute:function(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){let r=e.parent;if(!B(r,t))return!1;let n=r.fullName,i=e.fullName;return"script"===n&&"setup"===i||"style"===n&&"vars"===i},isVueSfcBlock:B,isDanglingSpaceSensitiveNode:function(e){return function(e){return!T(e)&&"inline-block"!==e}(e.cssDisplay)&&!D(e)},isIndentationSensitiveNode:y,isLeadingSpaceSensitiveNode:function(e,t){let r=!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!k(e.parent)&&(!e.prev&&("root"===e.parent.type||k(e)&&e.parent||D(e.parent)||$(e.parent,t)||!function(e){return!T(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.prev&&!function(e){return!T(e)}(e.prev.cssDisplay))));return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r},isPreLikeNode:k,isScriptLikeTag:D,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(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||!k(e.parent)&&(!e.next&&("root"===e.parent.type||k(e)&&e.parent||D(e.parent)||$(e.parent,t)||!function(e){return!T(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.next&&!function(e){return!T(e)}(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return D(e)||"interpolation"===e.type||y(e)},isUnknownNamespace:d,preferHardlineAsLeadingSpaces:function(e){return w(e)||e.prev&&S(e.prev)||C(e)},preferHardlineAsTrailingSpaces:S,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||k(e)&&e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type)||_(e,t)&&!D(e)&&"interpolation"!==e.type)},unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')},getTextValueParts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?l(t):l(P(g(t)),s):a(o(i,(e=>e.split(/[\t\n\f\r ]+/))(t)))}}}}),Ti=y({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}b(),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=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),ki=y({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){b(),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;e.StaticSymbolCache=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}}}}),Fi=y({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()})},e.splitAtColon=function(e,t){return r(e,":",t)},e.splitAtPeriod=function(e,t){return r(e,".",t)},e.visitValue=n,e.isDefined=function(e){return null!=e},e.noUndefined=function(e){return void 0===e?null:e};e.ValueTransformer=class{visitArray(e,t){return e.map(e=>n(e,this,t))}visitStringMap(e,t){let r={};return Object.keys(e).forEach(i=>{r[i]=n(e[i],this,t)}),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(a(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>a(e)?e.then(t):t(e),all:e=>e.some(a)?Promise.all(e):e},e.error=function(e){throw new Error(`Internal Error: ${e}`)},e.syntaxError=function(e,t){let r=Error(e);return r[i]=!0,t&&(r[s]=t),r};var i="ngSyntaxError",s="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[s]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var o=Object.getPrototypeOf({});function a(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=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},e.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;if(!t.toString)return"object";let r=t.toString();if(null==r)return""+r;let n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=a;e.Version=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};var l=typeof window<"u"&&window,u=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,c=typeof globalThis<"u"&&globalThis||l||u;e.global=c}}),Pi=y({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=ki(),r=Fi(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function l(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}e.identifierName=l,e.identifierModuleUrl=function(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`},e.viewClassName=function(e,t){return`View_${l({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${l({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${l({reference:e})}`},e.componentFactoryName=function(e){return`${l({reference:e})}NgFactory`},(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=function(e){return null!=e.value?i(e.value):l(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=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.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:l,ngContentSelectors:u,interpolation:h,isInline:d,preserveWhitespaces:f}=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=l?p(l):[],this.ngContentSelectors=u||[],h&&2!=h.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=h,this.isInline=d,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var u=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:l,inputs:c,outputs:p,host:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:O,entryComponents:D,template:y,componentViewType:v,rendererType:S,componentFactory:C}=e,b={},E={},x={};null!=h&&Object.keys(h).forEach(e=>{let t=h[e],r=e.match(n);null===r?x[e]=t:null!=r[1]?E[r[1]]=t:null!=r[2]&&(b[r[2]]=t)});let w={};null!=c&&c.forEach(e=>{let t=r.splitAtColon(e,[e,e]);w[t[0]]=t[1]});let A={};return null!=p&&p.forEach(e=>{let t=r.splitAtColon(e,[e,e]);A[t[0]]=t[1]}),new u({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:l,inputs:w,outputs:A,hostListeners:b,hostProperties:E,hostAttributes:x,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:O,entryComponents:D,template:y,componentViewType:v,rendererType:S,componentFactory:C})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:l,hostListeners:u,hostProperties:p,hostAttributes:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:O,entryComponents:D,template:y,componentViewType:v,rendererType:S,componentFactory:C}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=l,this.hostListeners=u,this.hostProperties=p,this.hostAttributes=h,this.providers=c(d),this.viewProviders=c(f),this.queries=c(m),this.guards=g,this.viewQueries=c(O),this.entryComponents=c(D),this.template=y,this.componentViewType=v,this.rendererType=S,this.componentFactory=C}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=u;e.CompilePipeMetadata=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.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:l,importedModules:u,exportedModules:p,schemas:h,transitiveModule:d,id:f}=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(l),this.importedModules=c(u),this.exportedModules=c(p),this.schemas=c(h),this.id=f||null,this.transitiveModule=d||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}}};function c(e){return e||[]}e.TransitiveCompileNgModuleMetadata=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 p(e){return e.reduce((e,t)=>{let r=Array.isArray(t)?p(t):t;return e.concat(r)},[])}function h(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=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}},e.flatten=p,e.templateSourceUrl=function(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${l(e)}/${l(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:h(i)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g);return h(`css/${t}${r[r.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return h(`${l(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return h(`${l(e)}/${l(t.type)}.ngfactory.js`)}}}),Qi=y({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){b(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ti(),r=Pi(),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(;s<i&&e>0;){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(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var s,o,a=class{constructor(e,t){let r=arguments.length>2&&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";e.ParseError=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}`}},e.typeSourceSpan=function(e,t){let s=r.identifierModuleUrl(t),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,l=new i("",o);return new a(new n(l,-1,-1,-1),new n(l,-1,-1,-1))},e.r3JitTypeSourceSpan=function(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))}}}),$i=y({"src/language-html/print-preprocess.js"(e,t){b();var{ParseSourceSpan:r}=Qi(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:s,canHaveInterpolation:o,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:l,isIndentationSensitiveNode:u,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:h,isVueScriptTag:d}=Ai(),f=[function(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(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<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.firstChild;e.removeChild(s),n--;let a=new r(s.sourceSpan.start,o.sourceSpan.end),l=new r(a.start,i.sourceSpan.end);i.condition=s.condition,i.sourceSpan=l,i.startSourceSpan=a,i.removeChild(o)}})},function(e){return function(e,t,n){e.walk(e=>{if(e.children)for(let i=0;i<e.children.length;i++){let s=e.children[i];if("text"!==s.type&&!t(s))continue;"text"!==s.type&&(s.type="text",s.value=n(s));let o=s.prev;!o||"text"!==o.type||(o.value+=s.value,o.sourceSpan=new r(o.sourceSpan.start,s.sourceSpan.end),e.removeChild(s),i--)}})}(e,e=>"cdata"===e.type,e=>`<![CDATA[${e.value}]]>`)},function(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;n<o.length;n++,i=s){let a=o[n];n%2!=0?(s=i.moveBy(a.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new r(i,s),children:0===a.length?[]:[{type:"text",value:a,sourceSpan:new r(i.moveBy(2),s.moveBy(-2))}]})):(s=i.moveBy(a.length),a.length>0&&e.insertChildBefore(t,{type:"text",value:a,sourceSpan:new r(i,s)}))}e.removeChild(t)}})},function(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=u(e);if(!t)for(let t=0;t<e.children.length;t++){let n=e.children[t];if("text"!==n.type)continue;let{leadingWhitespace:s,text:o,trailingWhitespace:a}=i(n.value),l=n.prev,u=n.next;o?(n.value=o,n.sourceSpan=new r(n.sourceSpan.start.moveBy(s.length),n.sourceSpan.end.moveBy(-a.length)),s&&(l&&(l.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),a&&(n.hasTrailingSpaces=!0,u&&(u.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(s||a)&&(l&&(l.hasTrailingSpaces=!0),u&&(u.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=s})},function(e,t){e.walk(e=>{e.cssDisplay=a(e,t)})},function(e){e.walk(e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})},function(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(e,t){e.walk(e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=l(e));for(let e of r)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}})},function(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<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.next;s.value+=`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+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,t){if("vue"===t.parser){let r=e.children.find(e=>d(e,t));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}];t.exports=function(e,t){for(let r of f)r(e,t);return e}}}),Bi=y({"src/language-html/pragma.js"(e,t){b(),t.exports={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),_i=y({"src/language-html/loc.js"(e,t){b(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),Ni=y({"src/language-html/print/tag.js"(e,t){b();var r=Vt(),{isNonEmptyArray:n}=de(),{builders:{indent:i,join:s,line:o,softline:a,hardline:l},utils:{replaceTextEndOfLine:u}}=V(),{locStart:c,locEnd:p}=_i(),{isTextLikeNode:h,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:g,isVueSfcBlock:O}=Ai();function D(e,t){return e.lastChild&&T(e.lastChild)?"":[v(e,t),C(e,t)]}function y(e,t){return(e.next?w(e.next):A(e.parent))?"":[E(e,t),S(e,t)]}function v(e,t){return A(e)?E(e.lastChild,t):""}function S(e,t){return T(e)?C(e.parent,t):k(e)?_(e.next):""}function C(e,t){if(r(!e.isSelfClosing),x(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function E(e,t){if(x(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function x(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function w(e){return e.prev&&"docType"!==e.prev.type&&!h(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function A(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!h(d(e.lastChild))&&!f(e)}function T(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&h(d(e))}function k(e){return e.next&&!h(e.next)&&h(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function F(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function P(e,t,r){let h=e.getValue();if(!n(h.attrs))return h.isSelfClosing?" ":"";let d=h.prev&&"comment"===h.prev.type&&function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(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)?u(t.originalText.slice(c(n),p(n))):r()},"attrs"),g="element"===h.type&&"script"===h.fullName&&1===h.attrs.length&&"src"===h.attrs[0].fullName&&0===h.children.length,D=t.singleAttributePerLine&&h.attrs.length>1&&!O(h,t)?l:o,y=[i([g?" ":o,s(D,m)])];return h.firstChild&&F(h.firstChild)||h.isSelfClosing&&A(h.parent)||g?y.push(h.isSelfClosing?" ":""):y.push(t.bracketSameLine?h.isSelfClosing?" ":"":h.isSelfClosing?o:a),y}function Q(e){return e.firstChild&&F(e.firstChild)?"":N(e)}function $(e,t){return e.prev&&k(e.prev)?"":[B(e,t),_(e)]}function B(e,t){return F(e)?N(e.parent):w(e)?E(e.prev,t):""}function _(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return`\x3c!--[if ${e.condition}]>\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function N(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":D(e,t),y(e,t)]},printClosingTagStart:D,printClosingTagStartMarker:C,printClosingTagEndMarker:E,printClosingTagSuffix:S,printClosingTagEnd:y,needsToBorrowLastChildClosingTagEndMarker:A,needsToBorrowParentClosingTagStartMarker:T,needsToBorrowPrevClosingTagEndMarker:w,printOpeningTag:function(e,t,r){let n=e.getValue();return[$(n,t),P(e,t,r),n.isSelfClosing?"":Q(n)]},printOpeningTagStart:$,printOpeningTagPrefix:B,printOpeningTagStartMarker:_,printOpeningTagEndMarker:N,needsToBorrowNextOpeningTagStartMarker:k,needsToBorrowParentOpeningTagEndMarker:F}}}),Mi=y({"node_modules/parse-srcset/src/parse-srcset.js"(r,o){b(),i=[],void 0===(s="function"==typeof(n=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(O));if(n)return r=n[0],O+=r.length,r}for(var s,o,a,l,u,c=e.length,p=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,O=0,D=[];;){if(i(h),O>=c)return D;s=i(d),o=[],","===s.slice(-1)?(s=s.replace(f,""),v()):y()}function y(){for(i(p),a="",l="in descriptor";;){if(u=e.charAt(O),"in descriptor"===l)if(n(u))a&&(o.push(a),a="",l="after descriptor");else{if(","===u)return O+=1,a&&o.push(a),void v();if("("===u)a+=u,l="in parens";else{if(""===u)return a&&o.push(a),void v();a+=u}}else if("in parens"===l)if(")"===u)a+=u,l="in descriptor";else{if(""===u)return o.push(a),void v();a+=u}else if("after descriptor"===l&&!n(u)){if(""===u)return void v();l="in descriptor",O-=1}O+=1}}function v(){var t,n,i,a,l,u,c,p,h,d=!1,f={};for(a=0;a<o.length;a++)u=(l=o[a])[l.length-1],c=l.substring(0,l.length-1),p=parseInt(c,10),h=parseFloat(c),m.test(c)&&"w"===u?((t||n)&&(d=!0),0===p?d=!0:t=p):g.test(c)&&"x"===u?((t||n||i)&&(d=!0),h<0?d=!0:n=h):m.test(c)&&"h"===u?((i||n)&&(d=!0),0===p?d=!0:i=p):d=!0;d?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+l+"'."):(f.url=s,t&&(f.w=t),n&&(f.d=n),i&&(f.h=i),D.push(f))}}})?n.apply(t,i):n)||(e.exports=s)}}),Ri=y({"src/language-html/syntax-attribute.js"(e,t){b();var r=Mi(),{builders:{ifBreak:n,join:i,line:s}}=V();t.exports={printImgSrcset:function(e){let t=r(e,{logger:{error(e){throw new Error(e)}}}),o=t.some(e=>{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 l=o?"w":a?"h":"d",u=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[l]).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+u)}return r}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),Li=y({"src/language-html/syntax-vue.js"(e,t){b();var{builders:{group:r}}=V();t.exports={isVueEventBindingExpression:function(e){let t=e.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){let{left:n,operator:i,right:s}=function(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 l=[s.alias,s.iterator1,s.iterator2];return l.some((e,t)=>!e&&(0===t||l.slice(t+1).some(Boolean)))?void 0:{left:l.filter(Boolean).join(","),operator:i[2],right:s.for}}(e);return[r(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(s,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),Ii=y({"src/language-html/get-node-content.js"(e,t){b();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:a}=Ni();t.exports=function(e,t){let l=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(l-=a(e).length);let u=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?u+=n(e,t).length:i(e)&&(u-=s(e.lastChild,t).length),t.originalText.slice(l,u)}}}),ji=y({"src/language-html/embed.js"(e,t){b();var{builders:{breakParent:r,group:n,hardline:i,indent:s,line:o,fill:a,softline:l},utils:{mapDoc:u,replaceTextEndOfLine:c}}=V(),p=Pn(),{printClosingTag:h,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:g}=Ni(),{printImgSrcset:O,printClassNames:D}=Ri(),{printVueFor:y,printVueBindings:v,isVueEventBindingExpression:S}=Li(),{isScriptLikeTag:C,isVueNonHtmlBlock:E,inferScriptParser:x,htmlTrimPreserveIndentation:w,dedentString:A,unescapeQuoteEntities:T,isVueSlotAttribute:k,isVueSfcBindingsAttribute:F,getTextValueParts:P}=Ai(),Q=Ii();function $(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),u=()=>T(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=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([s([l,e]),t?l:""])},f=e=>p?(e=>n(e))(e):d(e),m=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return d(O(u()));if("class"===e.fullName&&!r.parentParser){let e=u();if(!e.includes("{{"))return D(e)}if("style"===e.fullName&&!r.parentParser){let e=u();if(!e.includes("{{"))return d(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return y(u(),m);if(k(e)||F(e,r))return v(u(),m);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=u(),t=S(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return f(m(e,{parser:t}))}if(i(t))return f(m(u(),{parser:"__vue_expression"}));if(i(n))return f(m(u(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],l=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return f(t(u(),{parser:"__ng_action"}));if(i(l))return f(t(u(),{parser:"__ng_binding"}));if(i(p)){let t=u().trim();return d(a(P(e,t)),!t.includes("@@"))}if(i(r))return f(t(u(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,g=u();if(h.test(g)){let e=[];for(let[r,i]of g.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}t.exports=function(e,t,a,l){let c=e.getValue();switch(c.type){case"element":if(C(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&E(c,l)){let r=x(c,l);if(!r)return;let s=Q(c,l),o=/^\s*$/.test(s),u="";return o||(u=a(w(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===u),[m(c,l),n(g(e,l,t)),o?"":i,u,o?"":i,h(c,l),d(c,l)]}break;case"text":if(C(c.parent)){let e=x(c.parent,l);if(e){let t="markdown"===e?A(c.value.replace(/^[^\S\n]*\n/,"")):c.value,n={parser:e,__embeddedInHtml:!0};if("html"===l.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,l),a(t,n,{stripTrailingHardline:!0}),d(c,l)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===l.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===l.parser?e.parser=l.__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(l.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===l.parser&&/^{.*}$/s.test(l.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=$(c,(e,t)=>a(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}),l);if(e)return[c.rawName,'="',n(u(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"'];break}case"front-matter":return p(c,a)}}}}),Xi=y({"src/language-html/print/children.js"(e,t){b();var{builders:{breakParent:r,group:n,ifBreak:i,line:s,softline:o,hardline:a},utils:{replaceTextEndOfLine:l}}=V(),{locStart:u,locEnd:c}=_i(),{forceBreakChildren:p,forceNextEmptyLine:h,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=Ai(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:O,printOpeningTagStartMarker:D,needsToBorrowPrevClosingTagEndMarker:y,printClosingTagEndMarker:v,printClosingTagSuffix:S,needsToBorrowParentClosingTagStartMarker:C}=Ni();function E(e,t,r){let n=e.getValue();return f(n)?[g(n,t),...l(t.originalText.slice(u(n)+(n.prev&&O(n.prev)?D(n).length:0),c(n)-(n.next&&y(n.next)?v(n,t).length:0))),S(n,t)]:r()}function x(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?a:s:"":m(t)?a:o:O(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&y(t)?"":!t.isLeadingSpaceSensitive||m(t)||y(t)&&e.lastChild&&C(e.lastChild)&&e.lastChild.lastChild&&C(e.lastChild.lastChild)?a:t.hasLeadingSpaces?s:o}t.exports={printChildren:function(e,t,s){let l=e.getValue();if(p(l))return[r,...e.map(e=>{let r=e.getValue(),n=r.prev?x(r.prev,r):"";return[n?[n,h(r.prev)?a:""]:"",E(e,t,s)]},"children")];let u=l.children.map(()=>Symbol(""));return e.map((e,r)=>{let l=e.getValue();if(d(l)){if(l.prev&&d(l.prev)){let r=x(l.prev,l);if(r)return h(l.prev)?[a,a,E(e,t,s)]:[r,E(e,t,s)]}return E(e,t,s)}let c=[],p=[],f=[],m=[],g=l.prev?x(l.prev,l):"",O=l.next?x(l,l.next):"";return g&&(h(l.prev)?c.push(a,a):g===a?c.push(a):d(l.prev)?p.push(g):p.push(i("",o,{groupId:u[r-1]}))),O&&(h(l)?d(l.next)&&m.push(a,a):O===a?d(l.next)&&m.push(a):f.push(O)),[...c,n([...p,n([E(e,t,s),...f],{id:u[r]})]),...m]},"children")}}}}),Zi=y({"src/language-html/print/element.js"(e,t){b();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:s,indentIfBreak:o,indent:a,line:l,softline:u},utils:{replaceTextEndOfLine:c}}=V(),p=Ii(),{shouldPreserveContent:h,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:g}=Ai(),{printOpeningTagPrefix:O,printOpeningTag:D,printClosingTagSuffix:y,printClosingTag:v,needsToBorrowPrevClosingTagEndMarker:S,needsToBorrowLastChildClosingTagEndMarker:C}=Ni(),{printChildren:E}=Xi();t.exports={printElement:function(e,t,b){let x=e.getValue();if(h(x,t))return[O(x,t),i(D(e,t,b)),...c(p(x,t)),...v(x,t),y(x,t)];let w=1===x.children.length&&"interpolation"===x.firstChild.type&&x.firstChild.isLeadingSpaceSensitive&&!x.firstChild.hasLeadingSpaces&&x.lastChild.isTrailingSpaceSensitive&&!x.lastChild.hasTrailingSpaces,A=Symbol("element-attr-group-id"),T=r=>i([i(D(e,t,b),{id:A}),r,v(x,t)]);return 0===x.children.length?T(x.hasDanglingSpaces&&x.isDanglingSpaceSensitive?l:""):T([g(x)?r:"",(k=[w?s(u,"",{groupId:A}):x.firstChild.hasLeadingSpaces&&x.firstChild.isLeadingSpaceSensitive?l:"text"===x.firstChild.type&&x.isWhitespaceSensitive&&x.isIndentationSensitive?n(u):u,E(e,t,b)],w?o(k,{groupId:A}):!d(x)&&!f(x,t)||"root"!==x.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?a(k):k),(x.next?S(x.next):C(x.parent))?x.lastChild.hasTrailingSpaces&&x.lastChild.isTrailingSpaceSensitive?" ":"":w?s(u,"",{groupId:A}):x.lastChild.hasTrailingSpaces&&x.lastChild.isTrailingSpaceSensitive?l:("comment"===x.lastChild.type||"text"===x.lastChild.type&&x.isWhitespaceSensitive&&x.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,e=>e.parent&&"root"!==e.parent.type)}}$`).test(x.lastChild.value)?"":u]);var k}}}}),Vi=y({"src/language-html/printer-html.js"(e,t){b();var{builders:{fill:r,group:n,hardline:i,literalline:s},utils:{cleanDoc:o,getDocParts:a,isConcat:l,replaceTextEndOfLine:u}}=V(),c=Ei(),{countChars:p,unescapeQuoteEntities:h,getTextValueParts:d}=Ai(),f=$i(),{insertPragma:m}=Bi(),{locStart:g,locEnd:O}=_i(),D=ji(),{printClosingTagSuffix:y,printClosingTagEnd:v,printOpeningTagPrefix:S,printOpeningTagStart:C}=Ni(),{printElement:E}=Zi(),{printChildren:x}=Xi();t.exports={preprocess:f,print:function(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return u(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[n(x(e,t,c)),i];case"element":case"ieConditionalComment":return E(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[C(f),v(f)];case"interpolation":return[C(f,t),...e.map(c,"children"),v(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[...u(r),t?i:""]}let e=o([S(f,t),...d(f),y(f,t)]);return l(e)||"fill"===e.type?r(a(e)):e}case"docType":return[n([C(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),v(f,t)];case"comment":return[S(f,t),...u(t.originalText.slice(g(f),O(f)),s),y(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=h(f.value),t=p(e,"'")<p(e,'"')?"'":'"';return[f.rawName,"=",t,...u('"'===t?e.replace(/"/g,"""):e.replace(/'/g,"'")),t]}default:throw new Error(`Unexpected node type ${f.type}`)}},insertPragma:m,massageAstNode:c,embed:D}}}),qi=y({"src/language-html/options.js"(e,t){b();var r=vn(),n="HTML";t.exports={bracketSameLine:r.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:n,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:r.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:n,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),zi=y({"src/language-html/parsers.js"(){b()}}),Wi=y({"node_modules/linguist-languages/data/HTML.json"(e,t){t.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Yi=y({"node_modules/linguist-languages/data/Vue.json"(e,t){t.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Gi=y({"src/language-html/index.js"(e,t){b();var r=Jt(),n=Vi(),i=qi(),s=zi(),o=[r(Wi(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),r(Wi(),e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),r(Wi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),r(Yi(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],a={html:n};t.exports={languages:o,printers:a,options:i,parsers:s}}}),Ui=y({"src/language-yaml/pragma.js"(e,t){b(),t.exports={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return`# @format\n\n${e}`}}}}),Hi=y({"src/language-yaml/loc.js"(e,t){b(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),Ji=y({"src/language-yaml/embed.js"(e,t){b(),t.exports=function(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"}))}}}),Ki=y({"src/language-yaml/utils.js"(e,t){b();var{getLast:r,isNonEmptyArray:n}=de();function i(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function s(e){return"prettier-ignore"===e.value.trim()}function o(e){return n(null==e?void 0:e.leadingComments)}function a(e){return n(null==e?void 0:e.middleComments)}function l(e){return null==e?void 0:e.indicatorComment}function u(e){return null==e?void 0:e.trailingComment}function c(e){return n(null==e?void 0:e.endComments)}function p(e){let t,r=[];for(let n of e.split(/( +)/))" "!==n?" "===t?r.push(n):r.push((r.pop()||"")+n):void 0===t&&r.unshift(""),t=n;return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}t.exports={getLast:r,getAncestorCount:function(e,t){let r=0,n=e.stack.length-1;for(let s=0;s<n;s++){let n=e.stack[s];i(n)&&t(n)&&r++}return r},isNode:i,isEmptyNode:function(e){return!n(e.children)&&!function(e){return o(e)||a(e)||l(e)||u(e)||c(e)}(e)},isInlineNode:function(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}},mapNode:function e(t,r,n){return r("children"in t?Object.assign(Object.assign({},t),{},{children:t.children.map(n=>e(n,r,t))}):t,n)},defineShortcut:function(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})},isNextLineEmpty:function(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i<n;i++){let e=t[i];if("\n"===e&&r++,1===r&&/\S/.test(e))return!1;if(2===r)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let t=e.stack.length;for(let r=1;r<t;r++){let t=e.stack[r],n=e.stack[r-1];if(Array.isArray(n)&&"number"==typeof t&&t!==n.length-1)return!1}return!0},getBlockValueLineContents:function(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(/^(?<leadingSpace> *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let l=a.split("\n").map(e=>e.slice(n));return"preserve"===o.proseWrap||"blockLiteral"===e.type?u(l.map(e=>0===e.length?[]:[e])):u(l.map(e=>0===e.length?[]:p(e)).reduce((e,t,n)=>0!==n&&l[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 u(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)}},getFlowScalarLineContents:function(e,t,n){let i=t.split("\n").map((e,t,r)=>0===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?[]:p(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)},getLastDescendantNode:function e(t){return n(t.children)?e(r(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return c(t.head)&&s(r(t.head.endComments))}return o(t)&&s(r(t.leadingComments))},hasLeadingComments:o,hasMiddleComments:a,hasIndicatorComment:l,hasTrailingComment:u,hasEndComments:c}}}),es=y({"src/language-yaml/print-preprocess.js"(e,t){b();var{defineShortcut:r,mapNode:n}=Ki();function i(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=function(e){return n(e,i)}}}),ts=y({"src/language-yaml/print/misc.js"(e,t){b();var{builders:{softline:r,align:n}}=V(),{hasEndComments:i,isNextLineEmpty:s,isNode:o}=Ki(),a=new WeakMap;function l(e){return i(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return n(" ".repeat(e),t)},shouldPrintEndComments:l,printNextEmptyLine:function(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}}}}),rs=y({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){b();var{builders:{ifBreak:r,line:n,softline:i,hardline:s,join:o}}=V(),{isEmptyNode:a,getLast:l,hasEndComments:u}=Ki(),{printNextEmptyLine:c,alignWithSpaces:p}=ts();function h(e,t,c){let h=e.getValue(),f="flowMapping"===h.type,m=f?"{":"[",g=f?"}":"]",O=i;f&&h.children.length>0&&c.bracketSpacing&&(O=n);let D=l(h.children),y=D&&"flowMappingItem"===D.type&&a(D.key)&&a(D.value);return[m,p(c.tabWidth,[O,d(e,t,c),"none"===c.trailingComma?"":r(","),u(h)?[s,o(s,e.map(t,"endComments"))]:""]),y?"":O,g]}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}}}),ns=y({"src/language-yaml/print/mapping-item.js"(e,t){b();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:s,join:o,line:a}}=V(),{hasLeadingComments:l,hasMiddleComments:u,hasTrailingComment:c,hasEndComments:p,isNode:h,isEmptyNode:d,isInlineNode:f}=Ki(),{alignWithSpaces:m}=ts();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}}t.exports=function(e,t,O,D,y){let{key:v,value:S}=e,C=d(v),b=d(S);if(C&&b)return": ";let E=D("key"),x=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(b)return"flowMappingItem"===e.type&&"flowMapping"===t.type?E:"mappingItem"!==e.type||!g(v.content,y)||c(v.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,E)]:[E,x,":"];let w=D("value");if(C)return[": ",m(2,w)];if(l(S)||!f(v.content))return["? ",m(2,E),i,o("",O.map(D,"value","leadingComments").map(e=>[e,i])),": ",m(2,w)];if(function(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}}(v.content)&&!l(v.content)&&!u(v.content)&&!c(v.content)&&!p(v)&&!l(S.content)&&!u(S.content)&&!p(S)&&g(S.content,y))return[E,x,": ",w];let A=Symbol("mappingKey"),T=n([s("? "),n(m(2,E),{id:A})]),k=[i,": ",m(2,w)],F=[x,":"];l(S.content)||p(S)&&S.content&&!h(S.content,["mapping","sequence"])||"mapping"===t.type&&c(v.content)&&f(S.content)||h(S.content,["mapping","sequence"])&&null===S.content.tag&&null===S.content.anchor?F.push(i):S.content&&F.push(a),F.push(w);let P=m(y.tabWidth,F);return!g(v.content,y)||l(v.content)||u(v.content)||p(v)?r([[T,s(k,P,{groupId:A})]]):r([[E,P]])}}}),is=y({"src/language-yaml/print/block.js"(e,t){b();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:s,join:o,line:a,literalline:l,markAsRoot:u},utils:{getDocParts:c}}=V(),{getAncestorCount:p,getBlockValueLineContents:h,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=Ki(),{alignWithSpaces:g}=ts();t.exports=function(e,t,O){let D=e.getValue(),y=p(e,e=>m(e,["sequence","mapping"])),v=f(e),S=["blockFolded"===D.type?">":"|"];null!==D.indent&&S.push(D.indent.toString()),"clip"!==D.chomping&&S.push("keep"===D.chomping?"+":"-"),d(D)&&S.push(" ",t("indicatorComment"));let C=h(D,{parentIndent:y,isLastDescendant:v,options:O}),b=[];for(let[e,t]of C.entries())0===e&&b.push(s),b.push(i(c(o(a,t)))),e!==C.length-1?b.push(0===t.length?s:u(l)):"keep"===D.chomping&&v&&b.push(n(0===t.length?s:l));return null===D.indent?S.push(r(g(O.tabWidth,b))):S.push(n(g(D.indent-1+y,b))),S}}}),ss=y({"src/language-yaml/printer-yaml.js"(e,t){b();var{builders:{breakParent:r,fill:n,group:i,hardline:s,join:o,line:a,lineSuffix:l,literalline:u},utils:{getDocParts:c,replaceTextEndOfLine:p}}=V(),{isPreviousLineEmpty:h}=de(),{insertPragma:d,isPragma:f}=Ui(),{locStart:m}=Hi(),g=Ji(),{getFlowScalarLineContents:O,getLastDescendantNode:D,hasLeadingComments:y,hasMiddleComments:v,hasTrailingComment:S,hasEndComments:C,hasPrettierIgnore:E,isLastDescendantNode:x,isNode:w,isInlineNode:A}=Ki(),T=es(),{alignWithSpaces:k,printNextEmptyLine:F,shouldPrintEndComments:P}=ts(),{printFlowMapping:Q,printFlowSequence:$}=rs(),B=ns(),_=is();function N(e,t){return S(e)||t&&(t.head.children.length>0||C(t.head))}function M(e,t,r){let i=O(e,t,r);return o(s,i.map(e=>n(c(o(a,e)))))}t.exports={preprocess:T,embed:g,print:function(e,t,n){let a=e.getValue(),c=[];"mappingValue"!==a.type&&y(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 g="";w(a,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!x(e)&&(g=F(e,t.originalText)),(d||f)&&(w(a,["sequence","mapping"])&&!v(a)?c.push(s):c.push(" ")),v(a)&&c.push([1===a.middleComments.length?"":s,o(s,e.map(n,"middleComments")),s]);let O=e.getParentNode();return E(e)?c.push(p(t.originalText.slice(a.position.start.offset,a.position.end.offset).trimEnd(),u)):c.push(i(function(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()),N(o,a)?(n.push(s,"..."),S(o)&&n.push(" ",i("trailingComment"))):a&&!S(a.head)&&n.push(s,"---")},"children");let o=D(e);return(!w(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&n.push(s),n}case"document":{let a=[];return"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||C(e.head)||S(e.head)?"head":!N(e,t)&&!!t&&"root"}(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&a.push(i("head")),S(e.head)?a.push(["---"," ",i(["head","trailingComment"])]):a.push("---")),function(e){return e.body.children.length>0||C(e.body)}(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=D(e);w(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 M(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,M(e.type,i,n),s]}if(i.includes(r))return[t,M(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,M(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let s=n.singleQuote?t:r;return[s,M(e.type,i,n),s]}case"blockFolded":case"blockLiteral":return _(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 B(e,t,r,i,n);case"flowMapping":return Q(r,i,n);case"flowSequence":return $(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error(`Unexpected node type ${e.type}`)}}(a,O,e,t,n))),S(a)&&!w(a,["document","documentHead"])&&c.push(l(["mappingValue"!==a.type||a.content?" ":"","mappingKey"===O.type&&"mapping"===e.getParentNode(2).type&&A(a)?"":r,n("trailingComment")])),P(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(g),c},massageAstNode:function(e,t){if(w(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:d}}}),os=y({"src/language-yaml/options.js"(e,t){b();var r=vn();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),as=y({"src/language-yaml/parsers.js"(){b()}}),ls=y({"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}}}),us=y({"src/language-yaml/index.js"(e,t){b();var r=Jt(),n=ss(),i=os(),s=as(),o=[r(ls(),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}}}),cs=y({"src/languages.js"(e,t){b(),t.exports=[kn(),Gn(),ni(),ci(),bi(),Gi(),us()]}});b();var{version:ps}=E(),hs=Ut(),{getSupportInfo:ds}=oe(),fs=Ht(),ms=cs(),gs=V();function Os(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;i<r;i++)n[i]=arguments[i];let s=n[t]||{},o=s.plugins||[];return n[t]=Object.assign(Object.assign({},s),{},{plugins:[...ms,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}var Ds=Os(hs.formatWithCursor);o.exports={formatWithCursor:Ds,format:(e,t)=>Ds(e,t).formatted,check(e,t){let{formatted:r}=Ds(e,t);return r===e},doc:gs,getSupportInfo:Os(ds,0),version:ps,util:fs,__debug:{parse:Os(hs.parse),formatAST:Os(hs.formatAST),formatDoc:Os(hs.formatDoc),printToDoc:Os(hs.printToDoc),printDocToString:Os(hs.printDocToString)}}});return Ve()}()},"3Rrw":(e,t)=>{"use strict";let r=[],n=[];function i(e){if(e<768)return!1;for(let t=0,i=r.length;;){let s=t+i>>1;if(e<r[s])i=s;else{if(!(e>=n[s]))return!0;t=s+1}if(t==i)return!1}}function s(e){return e>=127462&&e<=127487}function o(e,t,r){if(t==e.length)return t;t&&u(e.charCodeAt(t))&&c(e.charCodeAt(t-1))&&t--;let n=l(e,t);for(t+=p(n);t<e.length;){let o=l(e,t);if(8205==n||8205==o||r&&i(o))t+=p(o),n=o;else{if(!s(o))break;{let r=0,n=t-2;for(;n>=0&&s(l(e,n));)r++,n-=2;if(r%2==0)break;t+=2}}}return t}function a(e,t,r){for(;t>0;){let n=o(e,t-2,r);if(n<t)return n;t--}return 0}function l(e,t){let r=e.charCodeAt(t);if(!c(r)||t+1==e.length)return r;let n=e.charCodeAt(t+1);return u(n)?n-56320+(r-55296<<10)+65536:r}function u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,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,i=0;t<e.length;t++)(t%2?n:r).push(i+=e[t])})(),t.findClusterBreak=function(e,t,r=!0,n=!0){return(r?o:a)(e,t,n)},t.isExtendingChar=i},"7ymw":(e,t,r)=>{"use strict";var n=r("f/Rv"),i=r("MxJC"),s=r("TXND"),o=r("DCQ6"),a=r("bgcN"),l=r("cEeD");const u=["_blank","_self","_top","_parent"],c=["ascii","utf-8","utf-16","latin1","latin1"],p=["get","post","put","delete"],h=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],d=["true","false"],f={},m={a:{attrs:{href:null,ping:null,type:null,media:null,target:u,hreflang:null}},abbr:f,address:f,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:f,aside:f,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:f,base:{attrs:{href:null,target:u}},bdi:f,bdo:f,blockquote:{attrs:{cite:null}},body:f,br:f,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:h,formmethod:p,formnovalidate:["novalidate"],formtarget:u,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:f,center:f,cite:f,code:f,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:f,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:f,div:f,dl:f,dt:f,em:f,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:f,figure:f,footer:f,form:{attrs:{action:null,name:null,"accept-charset":c,autocomplete:["on","off"],enctype:h,method:p,novalidate:["novalidate"],target:u}},h1:f,h2:f,h3:f,h4:f,h5:f,h6:f,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:f,hgroup:f,hr:f,html:{attrs:{manifest:null}},i:f,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:h,formmethod:p,formnovalidate:["novalidate"],formtarget:u,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:f,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:f,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:f,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:c,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:f,noscript:f,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:f,param:{attrs:{name:null,value:null}},pre:f,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:f,rt:f,ruby:f,samp:f,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:c}},section:f,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:f,source:{attrs:{src:null,type:null,media:null}},span:f,strong:f,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:f,summary:f,sup:f,table:f,tbody:f,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:f,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:f,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:f,time:{attrs:{datetime:null}},title:f,tr:f,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:f,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:f},g={accesskey:null,class:null,contenteditable:d,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:d,autocorrect:d,autocapitalize:d,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":d,"aria-autocomplete":["inline","list","both","none"],"aria-busy":d,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":d,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":d,"aria-hidden":d,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":d,"aria-multiselectable":d,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":d,"aria-relevant":null,"aria-required":d,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},O="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of O)g[e]=null;class D{constructor(e,t){this.tags={...m,...e},this.globalAttrs={...g,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function y(e,t,r=e.length){if(!t)return"";let n=t.firstChild,i=n&&n.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,r)):""}function v(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function S(e,t,r){let n=r.tags[y(e,v(t))];return(null==n?void 0:n.children)||r.allTags}function C(e,t){let r=[];for(let n=v(t);n&&!n.type.isTop;n=v(n.parent)){let i=y(e,n);if(i&&"CloseTag"==n.lastChild.name)break;i&&r.indexOf(i)<0&&("EndTag"==t.name||t.from>=n.firstChild.to)&&r.push(i)}return r}D.default=new D;const b=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e,t,r,n,i){let s=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",o=v(r,"StartTag"==r.name||"TagName"==r.name);return{from:n,to:i,options:S(e.doc,o,t).map(e=>({label:e,type:"type"})).concat(C(e.doc,r).map((e,t)=>({label:"/"+e,apply:"/"+e+s,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function x(e,t,r,n){let i=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:r,to:n,options:C(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:"type",boost:99-t})),validFor:b}}function w(e,t){let{state:r,pos:n}=t,i=l.syntaxTree(r).resolveInner(n,-1),s=i.resolve(n);for(let e,t=n;s==i&&(e=i.childBefore(t));){let r=e.lastChild;if(!r||!r.type.isError||r.from<r.to)break;s=i=e,t=r.from}return"TagName"==i.name?i.parent&&/CloseTag$/.test(i.parent.name)?x(r,i,i.from,n):E(r,e,i,i.from,n):"StartTag"==i.name||"IncompleteTag"==i.name?E(r,e,i,n,n):"StartCloseTag"==i.name||"IncompleteCloseTag"==i.name?x(r,i,n,n):"OpenTag"==i.name||"SelfClosingTag"==i.name||"AttributeName"==i.name?function(e,t,r,n,i){let s=v(r),o=s?t.tags[y(e.doc,s)]:null,a=o&&o.attrs?Object.keys(o.attrs):[];return{from:n,to:i,options:(o&&!1===o.globalAttrs?a:a.length?a.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:b}}(r,e,i,"AttributeName"==i.name?i.from:n,n):"Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name?function(e,t,r,n,i){var s;let o,a=null===(s=r.parent)||void 0===s?void 0:s.getChild("AttributeName"),l=[];if(a){let s=e.sliceDoc(a.from,a.to),u=t.globalAttrs[s];if(!u){let n=v(r),i=n?t.tags[y(e.doc,n)]:null;u=(null==i?void 0:i.attrs)&&i.attrs[s]}if(u){let t=e.sliceDoc(n,i).toLowerCase(),r='"',s='"';/^['"]/.test(t)?(o='"'==t[0]?/^[^"]*$/:/^[^']*$/,r="",s=e.sliceDoc(i,i+1)==t[0]?"":t[0],t=t.slice(1),n++):o=/^[^\s<>='"]*$/;for(let e of u)l.push({label:e,apply:r+e+s,type:"constant"})}}return{from:n,to:i,options:l,validFor:o}}(r,e,i,"Is"==i.name?n:i.from,n):!t.explicit||"Element"!=s.name&&"Text"!=s.name&&"Document"!=s.name?null:function(e,t,r,n){let i=[],s=0;for(let n of S(e.doc,r,t))i.push({label:"<"+n,type:"type"});for(let t of C(e.doc,r))i.push({label:"</"+t+">",type:"type",boost:99-s++});return{from:n,to:n,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(r,e,i,n)}function A(e){let{extraTags:t,extraGlobalAttributes:r}=e,n=r||t?new D(t,r):D.default;return e=>w(n,e)}const T=s.javascriptLanguage.parser.configure({top:"SingleExpression"}),k=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:s.typescriptLanguage.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:s.jsxLanguage.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:s.tsxLanguage.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:T},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:s.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:i.cssLanguage.parser}],F=[{name:"style",parser:i.cssLanguage.parser.configure({top:"Styles"})}].concat(O.map(e=>({name:e,parser:s.javascriptLanguage.parser}))),P=l.LRLanguage.define({name:"html",parser:n.parser.configure({props:[l.indentNodeProp.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t,r=null;for(let t=e.node;;){let e=t.lastChild;if(!e||"Element"!=e.name||e.to!=t.to)break;r=t=e}return r&&(!(t=r.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(r.from)+e.unit:null}}),l.foldNodeProp.add({Element(e){let t=e.firstChild,r=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==r.name?r.from:e.to}:null}}),l.bracketMatchingHandle.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),Q=P.configure({wrap:n.configureNesting(k,F)}),$=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),B=o.EditorView.inputHandler.of((e,t,r,n,i)=>{if(e.composing||e.state.readOnly||t!=r||">"!=n&&"/"!=n||!Q.isActiveAt(e.state,t,-1))return!1;let s=i(),{state:o}=s,u=o.changeByRange(e=>{var t,r,i;let s,u=o.doc.sliceString(e.from-1,e.to)==n,{head:c}=e,p=l.syntaxTree(o).resolveInner(c,-1);if(u&&">"==n&&"EndTag"==p.name){let n=p.parent;if("CloseTag"!=(null===(r=null===(t=n.parent)||void 0===t?void 0:t.lastChild)||void 0===r?void 0:r.name)&&(s=y(o.doc,n.parent,c))&&!$.has(s))return{range:e,changes:{from:c,to:c+(">"===o.doc.sliceString(c,c+1)?1:0),insert:`</${s}>`}}}else if(u&&"/"==n&&"IncompleteCloseTag"==p.name){let e=p.parent;if(p.from==c-2&&"CloseTag"!=(null===(i=e.lastChild)||void 0===i?void 0:i.name)&&(s=y(o.doc,e,c))&&!$.has(s)){let e=c+(">"===o.doc.sliceString(c,c+1)?1:0),t=`${s}>`;return{range:a.EditorSelection.cursor(c+t.length,-1),changes:{from:c,to:e,insert:t}}}}return{range:e}});return!u.changes.empty&&(e.dispatch([s,o.update(u,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});t.autoCloseTags=B,t.html=function(e={}){let t,r="";!1===e.matchClosingTags&&(r="noMatch"),!0===e.selfClosingTags&&(r=(r?r+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=n.configureNesting((e.nestedLanguages||[]).concat(k),(e.nestedAttributes||[]).concat(F)));let o=t?P.configure({wrap:t,dialect:r}):r?Q.configure({dialect:r}):Q;return new l.LanguageSupport(o,[Q.data.of({autocomplete:A(e)}),!1!==e.autoCloseTags?B:[],s.javascript().support,i.css().support])},t.htmlCompletionSource=function(e){return w(D.default,e)},t.htmlCompletionSourceWith=A,t.htmlLanguage=Q},AjgN:(e,t)=>{var r="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),n="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{},s=t.StyleModule=function(e,t){this.rules=[];var r=(t||{}).finish;function n(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,s,o){var a=[],l=/^@(\w+)\b/.exec(e[0]),u=l&&"keyframes"==l[1];if(l&&null==t)return s.push(e[0]+";");for(var c in t){var p=t[c];if(/&/.test(c))i(c.split(/,\s*/).map(function(t){return e.map(function(e){return t.replace(/&/,e)})}).reduce(function(e,t){return e.concat(t)}),p,s);else if(p&&"object"==typeof p){if(!l)throw new RangeError("The value of a property ("+c+") should be a primitive value.");i(n(c),p,a,u)}else null!=p&&a.push(c.replace(/_.*/,"").replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})+": "+p+";")}(a.length||u)&&s.push((!r||l||o?e:e.map(r)).join(", ")+" {"+a.join(" ")+"}")}for(var s in e)i(n(s),e[s],this.rules)};s.prototype.getRules=function(){return this.rules.join("\n")},s.newName=function(){var e=i[r]||1;return i[r]=e+1,"ͼ"+e.toString(36)},s.mount=function(e,t,r){var i=e[n],s=r&&r.nonce;i?s&&i.setNonce(s):i=new a(e,s),i.mount(Array.isArray(t)?t:[t],e)};var o=new Map,a=function(e,t){var r=e.ownerDocument||e,i=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){var s=o.get(r);if(s)return e[n]=s;this.sheet=new i.CSSStyleSheet,o.set(r,this)}else this.styleTag=r.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[n]=this};a.prototype.mount=function(e,t){for(var r=this.sheet,n=0,i=0,s=0;s<e.length;s++){var o=e[s],a=this.modules.indexOf(o);if(a<i&&a>-1&&(this.modules.splice(a,1),i--,a=-1),-1==a){if(this.modules.splice(i++,0,o),r)for(var l=0;l<o.rules.length;l++)r.insertRule(o.rules[l],n++)}else{for(;i<a;)n+=this.modules[i++].rules.length;n+=o.rules.length,i++}}if(r)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet].concat(t.adoptedStyleSheets));else{for(var u="",c=0;c<this.modules.length;c++)u+=this.modules[c].getRules()+"\n";this.styleTag.textContent=u;var p=t.head||t;this.styleTag.parentNode!=p&&p.insertBefore(this.styleTag,p.firstChild)}},a.prototype.setNonce=function(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}},DBQq:(e,t,r)=>{"use strict";var n=r("G5nY");class i{constructor(e,t,r,n,i,s,o,a,l,u=0,c){this.p=e,this.stack=t,this.state=r,this.reducePos=n,this.pos=i,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=u,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,r=0){let n=e.parser.context;return new i(e,[],t,r,r,0,[],0,n?new s(n,n.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let r=e>>19,n=65535&e,{parser:i}=this.p,s=this.reducePos<this.pos-25;s&&this.setLookAhead(this.pos);let o=i.dynamicPrecedence(n);if(o&&(this.score+=o),0==r)return this.pushState(i.getGoto(this.state,n,!0),this.reducePos),n<i.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,s?8:4,!0),void this.reduceContext(n,this.reducePos);let a=this.stack.length-3*(r-1)-(262144&e?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,u=this.reducePos-l;u>=2e3&&!(null===(t=this.p.parser.nodeSet.types[n])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=u));let c=a?this.stack[a-1]:0,p=this.bufferBase+this.buffer.length-c;if(n<i.minRepeatTerm||131072&e){let e=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,l,e,p+4,!0)}if(262144&e)this.state=this.stack[a];else{let e=this.stack[a-3];this.state=i.getGoto(e,n,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(n,l)}storeNode(e,t,r,n=4,i=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,n=this.buffer.length;if(0==n&&e.parent&&(n=e.bufferBase-e.parent.bufferBase,e=e.parent),n>0&&0==e.buffer[n-4]&&e.buffer[n-1]>-1){if(t==r)return;if(e.buffer[n-2]>=t)return void(e.buffer[n-2]=r)}}if(i&&this.pos!=r){let i=this.buffer.length;if(i>0&&0!=this.buffer[i-4]){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>r;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>r;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,n>4&&(n-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=r,this.buffer[i+3]=n}else this.buffer.push(e,t,r,n)}shift(e,t,r,n){if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=n,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,n,4);else{let i=e,{parser:s}=this.p;(n>this.pos||t<=s.maxNode)&&(this.pos=n,s.stateFlag(i,1)||(this.reducePos=n)),this.pushState(i,r),this.shiftContext(t,r),t<=s.maxNode&&this.buffer.push(t,r,n,4)}}apply(e,t,r,n){65536&e?this.reduce(e):this.shift(e,t,r,n)}useNode(e,t){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(t,n),this.buffer.push(r,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let r=e.buffer.slice(t),n=e.bufferBase+t;for(;e&&n==e.bufferBase;)e=e.parent;return new i(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,n,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,r?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new o(this);;){let r=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==r)return!1;if(!(65536&r))return!0;t.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let r=[];for(let n,i=0;i<t.length;i+=2)(n=t[i+1])!=this.state&&this.p.parser.hasAction(n,e)&&r.push(t[i],n);if(this.stack.length<120)for(let e=0;r.length<8&&e<t.length;e+=2){let n=t[e+1];r.some((e,t)=>1&t&&e==n)||r.push(t[e],n)}t=r}let r=[];for(let e=0;e<t.length&&r.length<4;e+=2){let n=t[e+1];if(n==this.state)continue;let i=this.split();i.pushState(n,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,r.push(i)}return r}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1;if(!e.validAction(this.state,t)){let r=t>>19,n=65535&t,i=this.stack.length-3*r;if(i<0||e.getGoto(this.stack[i],n,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],r=(n,i)=>{if(!t.includes(n))return t.push(n),e.allActions(n,t=>{if(393216&t);else if(65536&t){let r=(t>>19)-i;if(r>1){let n=65535&t,i=this.stack.length-3*r;if(i>=0&&e.getGoto(this.stack[i],n,!1)>=0)return r<<19|65536|n}}else{let e=r(t,i+1);if(null!=e)return e}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new s(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class s{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class o{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,r=e>>19;0==r?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(r-1);let n=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=n}}class a{constructor(e,t,r){this.stack=e,this.pos=t,this.index=r,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new a(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function l(e,t=Uint16Array){if("string"!=typeof e)return e;let r=null;for(let n=0,i=0;n<e.length;){let s=0;for(;;){let t=e.charCodeAt(n++),r=!1;if(126==t){s=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,r=!0),s+=i,r)break;s*=46}r?r[i++]=s:r=new t(s)}return r}class u{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const c=new u;class p{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=c,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let r=this.range,n=this.rangeIndex,i=this.pos+e;for(;i<r.from;){if(!n)return null;let e=this.ranges[--n];i-=r.from-e.to,r=e}for(;t<0?i>r.to:i>=r.to;){if(n==this.ranges.length-1)return null;let e=this.ranges[++n];i+=e.from-r.to,r=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,r,n=this.chunkOff+e;if(n>=0&&n<this.chunk.length)t=this.pos+e,r=this.chunk.charCodeAt(n);else{let n=this.resolveOffset(e,1);if(null==n)return-1;if(t=n,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,n=this.range;for(;n.to<=t;)n=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>n.to&&(this.chunk2=this.chunk2.slice(0,n.to-t)),r=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),r}acceptToken(e,t=0){let r=t?this.resolveOffset(t,-1):this.pos;if(null==r||r<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=r}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=c,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let r="";for(let n of this.ranges){if(n.from>=t)break;n.to>e&&(r+=this.input.read(Math.max(n.from,e),Math.min(n.to,t)))}return r}}class h{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:r}=t.p;f(this.data,e,t,this.id,r.data,r.tokenPrecTable)}}h.prototype.contextual=h.prototype.fallback=h.prototype.extend=!1;class d{constructor(e,t,r){this.precTable=t,this.elseToken=r,this.data="string"==typeof e?l(e):e}token(e,t){let r=e.pos,n=0;for(;;){let r=e.next<0,i=e.resolveOffset(1,1);if(f(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(r||n++,null==i)break;e.reset(i,e.token)}n&&(e.reset(r,e.token),e.acceptToken(this.elseToken,n))}}function f(e,t,r,n,i,s){let o=0,a=1<<n,{dialect:l}=r.p.parser;e:for(;0!=(a&e[o]);){let r=e[o+1];for(let n=o+3;n<r;n+=2)if((e[n+1]&a)>0){let r=e[n];if(l.allows(r)&&(-1==t.token.value||t.token.value==r||g(r,t.token.value,i,s))){t.acceptToken(r);break}}let n=t.next,u=0,c=e[o+2];if(!(t.next<0&&c>u&&65535==e[r+3*c-3])){for(;u<c;){let i=u+c>>1,s=r+i+(i<<1),a=e[s],l=e[s+1]||65536;if(n<a)c=i;else{if(!(n>=l)){o=e[s+2],t.advance();continue e}u=i+1}}break}o=e[r+3*c-1]}}function m(e,t,r){for(let n,i=t;65535!=(n=e[i]);i++)if(n==r)return i-t;return-1}function g(e,t,r,n){let i=m(r,n,t);return i<0||m(r,n,e)<i}d.prototype.contextual=h.prototype.fallback=h.prototype.extend=!1;const O="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let D=null;function y(e,t,r){let i=e.cursor(n.IterMode.IncludeAnonymous);for(i.moveTo(t);;)if(!(r<0?i.childBefore(t):i.childAfter(t)))for(;;){if((r<0?i.to<t:i.from>t)&&!i.type.isError)return r<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(r<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return r<0?0:e.length}}class v{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?y(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?y(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let r=this.trees[t],i=this.index[t];if(i==r.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let s=r.children[i],o=this.start[t]+r.positions[i];if(o>e)return this.nextStart=o,null;if(s instanceof n.Tree){if(o==e){if(o<this.safeFrom)return null;let e=o+s.length;if(e<=this.safeTo){let t=s.prop(n.NodeProp.lookAhead);if(!t||e+t<this.fragment.to)return s}}this.index[t]++,o+s.length>=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+s.length}}}class S{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new u)}getActions(e){let t=0,r=null,{parser:n}=e.p,{tokenizers:i}=n,s=n.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let n=0;n<i.length;n++){if(!(1<<n&s))continue;let l=i[n],u=this.tokens[n];if((!r||l.fallback)&&((l.contextual||u.start!=e.pos||u.mask!=s||u.context!=o)&&(this.updateCachedToken(u,l,e),u.mask=s,u.context=o),u.lookAhead>u.end+25&&(a=Math.max(u.lookAhead,a)),0!=u.value)){let n=t;if(u.extended>-1&&(t=this.addActions(e,u.extended,u.end,t)),t=this.addActions(e,u.value,u.end,t),!l.extend&&(r=u,t>n))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),r||e.pos!=this.stream.end||(r=new u,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,t=this.addActions(e,r.value,r.end,t)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new u,{pos:r,p:n}=e;return t.start=r,t.end=Math.min(r+1,n.stream.end),t.value=r==n.stream.end?n.parser.eofTerm:0,t}updateCachedToken(e,t,r){let n=this.stream.clipPos(r.pos);if(t.token(this.stream.reset(n,e),r),e.value>-1){let{parser:t}=r.p;for(let n=0;n<t.specialized.length;n++)if(t.specialized[n]==e.value){let i=t.specializers[n](this.stream.read(e.start,e.end),r);if(i>=0&&r.p.parser.dialect.allows(i>>1)){1&i?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,t,r,n){for(let t=0;t<n;t+=3)if(this.actions[t]==e)return n;return this.actions[n++]=e,this.actions[n++]=t,this.actions[n++]=r,n}addActions(e,t,r,n){let{state:i}=e,{parser:s}=e.p,{data:o}=s;for(let e=0;e<2;e++)for(let a=s.stateSlot(i,e?2:1);;a+=3){if(65535==o[a]){if(1!=o[a+1]){0==n&&2==o[a+1]&&(n=this.putAction(A(o,a+2),t,r,n));break}a=A(o,a+2)}o[a]==t&&(n=this.putAction(A(o,a+1),t,r,n))}return n}}class C{constructor(e,t,r,n){this.parser=e,this.input=t,this.ranges=n,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new p(t,n),this.tokens=new S(e,this.stream),this.topTerm=e.top[1];let{from:s}=n[0];this.stacks=[i.start(this,e.top[0],s)],this.fragments=r.length&&this.stream.end-s>4*e.bufferLength?new v(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,r=this.stacks,n=this.minStackPos,i=this.stacks=[];if(this.bigReductionCount>300&&1==r.length){let[e]=r;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<r.length;s++){let o=r[s];for(;;){if(this.tokens.mainToken=null,o.pos>n)i.push(o);else{if(this.advanceStack(o,i,r))continue;{e||(e=[],t=[]),e.push(o);let r=this.tokens.getMainToken(o);t.push(r.value,r.end)}}break}}if(!i.length){let t=e&&function(e){let t=null;for(let r of e){let e=r.p.stoppedAt;(r.pos==r.p.stream.end||null!=e&&r.pos>e)&&r.p.parser.stateFlag(r.state,2)&&(!t||t.score<r.score)&&(t=r)}return t}(e);if(t)return O&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw O&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&e){let r=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,i);if(r)return O&&console.log("Force-finish "+this.stackID(r)),this.stackToTree(r.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(i.length>e)for(i.sort((e,t)=>t.score-e.score);i.length>e;)i.pop();i.some(e=>e.reducePos>n)&&this.recovering--}else if(i.length>1){e:for(let e=0;e<i.length-1;e++){let t=i[e];for(let r=e+1;r<i.length;r++){let n=i[r];if(t.sameState(n)||t.buffer.length>500&&n.buffer.length>500){if(!((t.score-n.score||t.buffer.length-n.buffer.length)>0)){i.splice(e--,1);continue e}i.splice(r--,1)}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let e=1;e<i.length;e++)i[e].pos<this.minStackPos&&(this.minStackPos=i[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,r){let i=e.pos,{parser:s}=this,o=O?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,r=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(i);a;){let i=this.parser.nodeSet.types[a.type.id]==a.type?s.getGoto(e.state,a.type.id):-1;if(i>-1&&a.length&&(!t||(a.prop(n.NodeProp.contextHash)||0)==r))return e.useNode(a,i),O&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(a.type.id)})`),!0;if(!(a instanceof n.Tree)||0==a.children.length||a.positions[0]>0)break;let l=a.children[0];if(!(l instanceof n.Tree&&0==a.positions[0]))break;a=l}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),O&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(65535&a)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let n=0;n<l.length;){let a=l[n++],u=l[n++],c=l[n++],p=n==l.length||!r,h=p?e:e.split(),d=this.tokens.mainToken;if(h.apply(a,u,d?d.start:h.pos,c),O&&console.log(o+this.stackID(h)+` (via ${65536&a?`reduce of ${s.getName(65535&a)}`:"shift"} for ${s.getName(u)} @ ${i}${h==e?"":", split"})`),p)return!0;h.pos>i?t.push(h):r.push(h)}return!1}advanceFully(e,t){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return b(e,t),!0}}runRecovery(e,t,r){let n=null,i=!1;for(let s=0;s<e.length;s++){let o=e[s],a=t[s<<1],l=t[1+(s<<1)],u=O?this.stackID(o)+" -> ":"";if(o.deadEnd){if(i)continue;if(i=!0,o.restart(),O&&console.log(u+this.stackID(o)+" (restarted)"),this.advanceFully(o,r))continue}let c=o.split(),p=u;for(let e=0;c.forceReduce()&&e<10&&(O&&console.log(p+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,r));e++)O&&(p=this.stackID(c)+" -> ");for(let e of o.recoverByInsert(a))O&&console.log(u+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,r);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),O&&console.log(u+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),b(o,r)):(!n||n.score<o.score)&&(n=o)}return n}stackToTree(e){return e.close(),n.Tree.build({buffer:a.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(D||(D=new WeakMap)).get(e);return t||D.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function b(e,t){for(let r=0;r<t.length;r++){let n=t[r];if(n.pos==e.pos&&n.sameState(e))return void(t[r].score<e.score&&(t[r]=e))}t.push(e)}class E{constructor(e,t,r){this.source=e,this.flags=t,this.disabled=r}allows(e){return!this.disabled||0==this.disabled[e]}}const x=e=>e;class w extends n.Parser{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;r<e.repeatNodeCount;r++)t.push("");let r=Object.keys(e.topRules).map(t=>e.topRules[t][1]),i=[];for(let e=0;e<t.length;e++)i.push([]);function s(e,t,r){i[e].push([t,t.deserialize(String(r))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=n.NodeProp[e]);for(let r=1;r<t.length;){let n=t[r++];if(n>=0)s(n,e,t[r++]);else{let i=t[r+-n];for(let o=-n;o>0;o--)s(t[r++],e,i);r++}}}this.nodeSet=new n.NodeSet(t.map((t,s)=>n.NodeType.define({name:s>=this.minRepeatTerm?void 0:t,id:s,props:i[s],top:r.indexOf(s)>-1,error:0==s,skipped:e.skippedNodes&&e.skippedNodes.indexOf(s)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=n.DefaultBufferLength;let o=l(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(T),this.states=l(e.states,Uint32Array),this.data=l(e.stateData),this.goto=l(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new h(o,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,r){let n=new C(this,e,t,r);for(let i of this.wrappers)n=i(n,e,t,r);return n}getGoto(e,t,r=!1){let n=this.goto;if(t>=n[0])return-1;for(let i=n[t+1];;){let t=n[i++],s=1&t,o=n[i++];if(s&&r)return o;for(let r=i+(t>>1);i<r;i++)if(n[i]==e)return o;if(s)return-1}}hasAction(e,t){let r=this.data;for(let n=0;n<2;n++)for(let i,s=this.stateSlot(e,n?2:1);;s+=3){if(65535==(i=r[s])){if(1!=r[s+1]){if(2==r[s+1])return A(r,s+2);break}i=r[s=A(r,s+2)]}if(i==t||0==i)return A(r,s+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let r=this.stateSlot(e,4),n=r?t(r):void 0;for(let r=this.stateSlot(e,1);null==n;r+=3){if(65535==this.data[r]){if(1!=this.data[r+1])break;r=A(this.data,r+2)}n=t(A(this.data,r+1))}return n}nextStates(e){let t=[];for(let r=this.stateSlot(e,1);;r+=3){if(65535==this.data[r]){if(1!=this.data[r+1])break;r=A(this.data,r+2)}if(!(1&this.data[r+2])){let e=this.data[r+1];t.some((t,r)=>1&r&&t==e)||t.push(this.data[r],e)}}return t}configure(e){let t=Object.assign(Object.create(w.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=r}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let r=e.tokenizers.find(e=>e.from==t);return r?r.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((r,n)=>{let i=e.specializers.find(e=>e.from==r.external);if(!i)return r;let s=Object.assign(Object.assign({},r),{external:i.to});return t.specializers[n]=T(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),r=t.map(()=>!1);if(e)for(let n of e.split(" ")){let e=t.indexOf(n);e>=0&&(r[e]=!0)}let n=null;for(let e=0;e<t.length;e++)if(!r[e])for(let r,i=this.dialects[t[e]];65535!=(r=this.data[i++]);)(n||(n=new Uint8Array(this.maxTerm+1)))[r]=1;return new E(e,r,n)}static deserialize(e){return new w(e)}}function A(e,t){return e[t]|e[t+1]<<16}function T(e){if(e.external){let t=e.extend?1:0;return(r,n)=>e.external(r,n)<<1|t}return e.get}t.ContextTracker=class{constructor(e){this.start=e.start,this.shift=e.shift||x,this.reduce=e.reduce||x,this.reuse=e.reuse||x,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},t.ExternalTokenizer=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},t.InputStream=p,t.LRParser=w,t.LocalTokenGroup=d,t.Stack=i},DCQ6:(e,t,r)=>{"use strict";var n=r("bgcN"),i=r("AjgN"),s=r("Q2Ay"),o=r("UV+R");let a="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},l="undefined"!=typeof document?document:{documentElement:{style:{}}};const u=/Edge\/(\d+)/.exec(a.userAgent),c=/MSIE \d/.test(a.userAgent),p=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(a.userAgent),h=!!(c||p||u),d=!h&&/gecko\/(\d+)/i.test(a.userAgent),f=!h&&/Chrome\/(\d+)/.exec(a.userAgent),m="webkitFontSmoothing"in l.documentElement.style,g=!h&&/Apple Computer/.test(a.vendor),O=g&&(/Mobile\/\w+/.test(a.userAgent)||a.maxTouchPoints>2);var D={mac:O||/Mac/.test(a.platform),windows:/Win/.test(a.platform),linux:/Linux|X11/.test(a.platform),ie:h,ie_version:c?l.documentMode||6:p?+p[1]:u?+u[1]:0,gecko:d,gecko_version:d?+(/Firefox\/(\d+)/.exec(a.userAgent)||[0,0])[1]:0,chrome:!!f,chrome_version:f?+f[1]:0,ios:O,android:/Android\b/.test(a.userAgent),webkit:m,webkit_version:m?+(/\bAppleWebKit\/(\d+)/.exec(a.userAgent)||[0,0])[1]:0,safari:g,safari_version:g?+(/\bVersion\/(\d+(\.\d+)?)/.exec(a.userAgent)||[0,0])[1]:0,tabSize:null!=l.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};function y(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function v(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function S(e,t){if(!t.anchorNode)return!1;try{return v(e,t.anchorNode)}catch(e){return!1}}function C(e){return 3==e.nodeType?_(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function b(e,t,r,n){return!!r&&(w(e,t,r,n,-1)||w(e,t,r,n,1))}function E(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function x(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function w(e,t,r,n,i){for(;;){if(e==r&&t==n)return!0;if(t==(i<0?0:A(e))){if("DIV"==e.nodeName)return!1;let r=e.parentNode;if(!r||1!=r.nodeType)return!1;t=E(e)+(i<0?0:1),e=r}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(i<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=i<0?A(e):0}}}function A(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function T(e,t){let r=t?e.left:e.right;return{left:r,right:r,top:e.top,bottom:e.bottom}}function k(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function F(e,t){let r=t.width/e.offsetWidth,n=t.height/e.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.width-e.offsetWidth)<1)&&(r=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.height-e.offsetHeight)<1)&&(n=1),{scaleX:r,scaleY:n}}class P{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:r}=e;this.set(t,Math.min(e.anchorOffset,t?A(t):0),r,Math.min(e.focusOffset,r?A(r):0))}set(e,t,r,n){this.anchorNode=e,this.anchorOffset=t,this.focusNode=r,this.focusOffset=n}}let Q,$=null;function B(e){if(e.setActive)return e.setActive();if($)return e.focus($);let t=[];for(let r=e;r&&(t.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(e.focus(null==$?{get preventScroll(){return $={preventScroll:!0},!0}}:void 0),!$){$=!1;for(let e=0;e<t.length;){let r=t[e++],n=t[e++],i=t[e++];r.scrollTop!=n&&(r.scrollTop=n),r.scrollLeft!=i&&(r.scrollLeft=i)}}}function _(e,t,r=t){let n=Q||(Q=document.createRange());return n.setEnd(e,r),n.setStart(e,t),n}function N(e,t,r,n){let i={key:t,code:t,keyCode:r,which:r,cancelable:!0};n&&({altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,metaKey:i.metaKey}=n);let s=new KeyboardEvent("keydown",i);s.synthetic=!0,e.dispatchEvent(s);let o=new KeyboardEvent("keyup",i);return o.synthetic=!0,e.dispatchEvent(o),s.defaultPrevented||o.defaultPrevented}function M(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function R(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function L(e,t){for(let r=e,n=t;;){if(3==r.nodeType&&n>0)return{node:r,offset:n};if(1==r.nodeType&&n>0){if("false"==r.contentEditable)return null;r=r.childNodes[n-1],n=A(r)}else{if(!r.parentNode||x(r))return null;n=E(r),r=r.parentNode}}}function I(e,t){for(let r=e,n=t;;){if(3==r.nodeType&&n<r.nodeValue.length)return{node:r,offset:n};if(1==r.nodeType&&n<r.childNodes.length){if("false"==r.contentEditable)return null;r=r.childNodes[n],n=0}else{if(!r.parentNode||x(r))return null;n=E(r)+1,r=r.parentNode}}}D.safari&&D.safari_version>=26&&($=!1);class j{constructor(e,t,r=!0){this.node=e,this.offset=t,this.precise=r}static before(e,t){return new j(e.parentNode,E(e),t)}static after(e,t){return new j(e.parentNode,E(e)+1,t)}}const X=[];class Z{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let r of this.children){if(r==e)return t;t+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(2&this.flags){let r,n=this.dom,i=null;for(let s of this.children){if(7&s.flags){if(!s.dom&&(r=i?i.nextSibling:n.firstChild)){let e=Z.get(r);(!e||!e.parent&&e.canReuseDOM(s))&&s.reuseDOM(r)}s.sync(e,t),s.flags&=-8}if(r=i?i.nextSibling:n.firstChild,t&&!t.written&&t.node==n&&r!=s.dom&&(t.written=!0),s.dom.parentNode==n)for(;r&&r!=s.dom;)r=V(r);else n.insertBefore(s.dom,r);i=s.dom}for(r=i?i.nextSibling:n.firstChild,r&&t&&t.node==n&&(t.written=!0);r;)r=V(r)}else if(1&this.flags)for(let r of this.children)7&r.flags&&(r.sync(e,t),r.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let r;if(e==this.dom)r=this.dom.childNodes[t];else{let n=0==A(e)?0:0==t?-1:1;for(;;){let t=e.parentNode;if(t==this.dom)break;0==n&&t.firstChild!=t.lastChild&&(n=e==t.firstChild?-1:1),e=t}r=n<0?e:e.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!Z.get(r);)r=r.nextSibling;if(!r)return this.length;for(let e=0,t=0;;e++){let n=this.children[e];if(n.dom==r)return t;t+=n.length+n.breakAfter}}domBoundsAround(e,t,r=0){let n=-1,i=-1,s=-1,o=-1;for(let a=0,l=r,u=r;a<this.children.length;a++){let r=this.children[a],c=l+r.length;if(l<e&&c>t)return r.domBoundsAround(e,t,l);if(c>=e&&-1==n&&(n=a,i=l),l>t&&r.dom.parentNode==this.dom){s=a,o=u;break}u=c,l=c+r.breakAfter}return{from:i,to:o<0?r+this.length:o,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s<this.children.length&&s>=0?this.children[s].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,r=X){this.markDirty();for(let n=e;n<t;n++){let e=this.children[n];e.parent==this&&r.indexOf(e)<0&&e.destroy()}r.length<250?this.children.splice(e,t-e,...r):this.children=[].concat(this.children.slice(0,e),r,this.children.slice(t));for(let e=0;e<r.length;e++)r[e].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new q(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,r,n,i,s){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!(8&(this.flags|e.flags))}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}}function V(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}Z.prototype.breakAfter=0;class q{constructor(e,t,r){this.children=e,this.pos=t,this.i=r,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}}function z(e,t,r,n,i,s,o,a,l){let{children:u}=e,c=u.length?u[t]:null,p=s.length?s[s.length-1]:null,h=p?p.breakAfter:o;if(!(t==n&&c&&!o&&!h&&s.length<2&&c.merge(r,i,s.length?p:null,0==r,a,l))){if(n<u.length){let e=u[n];e&&(i<e.length||e.breakAfter&&(null==p?void 0:p.breakAfter))?(t==n&&(e=e.split(i),i=0),!h&&p&&e.merge(0,i,p,!0,0,l)?s[s.length-1]=e:((i||e.children.length&&!e.children[0].length)&&e.merge(0,i,null,!1,0,l),s.push(e))):(null==e?void 0:e.breakAfter)&&(p?p.breakAfter=1:o=1),n++}for(c&&(c.breakAfter=o,r>0&&(!o&&s.length&&c.merge(r,c.length,s[0],!1,a,0)?c.breakAfter=s.shift().breakAfter:(r<c.length||c.children.length&&0==c.children[c.children.length-1].length)&&c.merge(r,c.length,null,!1,a,0),t++));t<n&&s.length;)if(u[n-1].become(s[s.length-1]))n--,s.pop(),l=s.length?0:a;else{if(!u[t].become(s[0]))break;t++,s.shift(),a=s.length?0:l}!s.length&&t&&n<u.length&&!u[t-1].breakAfter&&u[n].merge(0,0,u[t-1],!1,a,l)&&t--,(t<n||s.length)&&e.replaceChildren(t,n,s)}}function W(e,t,r,n,i,s){let o=e.childCursor(),{i:a,off:l}=o.findPos(r,1),{i:u,off:c}=o.findPos(t,-1),p=t-r;for(let e of n)p+=e.length;e.length+=p,z(e,u,c,a,l,n,0,i,s)}class Y extends Z{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}merge(e,t,r){return!(8&this.flags||r&&(!(r instanceof Y)||this.length-(t-e)+r.length>256||8&r.flags)||(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(t),this.markDirty(),0))}split(e){let t=new Y(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new j(this.dom,e)}domBoundsAround(e,t,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return function(e,t,r){let n=e.nodeValue.length;t>n&&(t=n);let i=t,s=t,o=0;0==t&&r<0||t==n&&r>=0?D.chrome||D.gecko||(t?(i--,o=1):s<n&&(s++,o=-1)):r<0?i--:s<n&&s++;let a=_(e,i,s).getClientRects();if(!a.length)return null;let l=a[(o?o<0:r>=0)?0:a.length-1];return D.safari&&!o&&0==l.width&&(l=Array.prototype.find.call(a,e=>e.width)||l),o?T(l,o<0):l||null}(this.dom,e,t)}}class G extends Z{constructor(e,t=[],r=0){super(),this.mark=e,this.children=t,this.length=r;for(let e of t)e.setParent(this)}setAttrs(e){if(M(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!(8&(this.flags|e.flags))}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,r,n,i,s){return!(r&&(!(r instanceof G&&r.mark.eq(this.mark))||e&&i<=0||t<this.length&&s<=0)||(W(this,e,t,r?r.children.slice():[],i-1,s-1),this.markDirty(),0))}split(e){let t=[],r=0,n=-1,i=0;for(let s of this.children){let o=r+s.length;o>e&&t.push(r<e?s.split(e-r):s),n<0&&r>=e&&(n=i),r=o,i++}let s=this.length-e;return this.length=e,n>-1&&(this.children.length=n,this.markDirty()),new G(this.mark,t,s)}domAtPos(e){return J(this,e)}coordsAt(e,t){return ee(this,e,t)}}class U extends Z{static create(e,t,r){return new U(e,t,r)}constructor(e,t,r){super(),this.widget=e,this.length=t,this.side=r,this.prevWidget=null}split(e){let t=U.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,t,r,n,i,s){return!(r&&(!(r instanceof U&&this.widget.compare(r.widget))||e>0&&i<=0||t<this.length&&s<=0)||(this.length=e+(r?r.length:0)+(this.length-t),0))}become(e){return e instanceof U&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(0==this.length)return n.Text.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,r=t&&t.state.doc,i=this.posAtStart;return r?r.slice(i,i+this.length):n.Text.empty}domAtPos(e){return(this.length?0==e:this.side>0)?j.before(this.dom):j.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let r=this.widget.coordsAt(this.dom,e,t);if(r)return r;let n=this.dom.getClientRects(),i=null;if(!n.length)return null;let s=this.side?this.side<0:e>0;for(let t=s?n.length-1:0;i=n[t],!(e>0?0==t:t==n.length-1||i.top<i.bottom);t+=s?-1:1);return T(i,!s)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class H extends Z{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof H&&e.side==this.side}split(){return new H(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?j.before(this.dom):j.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return n.Text.empty}get isHidden(){return!0}}function J(e,t){let r=e.dom,{children:n}=e,i=0;for(let e=0;i<n.length;i++){let s=n[i],o=e+s.length;if(!(o==e&&s.getSide()<=0)){if(t>e&&t<o&&s.dom.parentNode==r)return s.domAtPos(t-e);if(t<=e)break;e=o}}for(let e=i;e>0;e--){let t=n[e-1];if(t.dom.parentNode==r)return t.domAtPos(t.length)}for(let e=i;e<n.length;e++){let t=n[e];if(t.dom.parentNode==r)return t.domAtPos(0)}return new j(r,0)}function K(e,t,r){let n,{children:i}=e;r>0&&t instanceof G&&i.length&&(n=i[i.length-1])instanceof G&&n.mark.eq(t.mark)?K(n,t.children[0],r-1):(i.push(t),t.setParent(e)),e.length+=t.length}function ee(e,t,r){let n=null,i=-1,s=null,o=-1;!function e(t,a){for(let l=0,u=0;l<t.children.length&&u<=a;l++){let c=t.children[l],p=u+c.length;p>=a&&(c.children.length?e(c,a-u):(!s||s.isHidden&&(r>0||te(s,c)))&&(p>a||u==p&&c.getSide()>0)?(s=c,o=a-u):(u<a||u==p&&c.getSide()<0&&!c.isHidden)&&(n=c,i=a-u)),u=p}}(e,t);let a=(r<0?n:s)||n||s;return a?a.coordsAt(Math.max(0,a==n?i:o),r):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let r=C(t);return r[r.length-1]||null}(e)}function te(e,t){let r=e.coordsAt(0,1),n=t.coordsAt(0,1);return r&&n&&n.top<r.bottom}function re(e,t){for(let r in e)"class"==r&&t.class?t.class+=" "+e.class:"style"==r&&t.style?t.style+=";"+e.style:t[r]=e[r];return t}Y.prototype.children=U.prototype.children=H.prototype.children=X;const ne=Object.create(null);function ie(e,t,r){if(e==t)return!0;e||(e=ne),t||(t=ne);let n=Object.keys(e),i=Object.keys(t);if(n.length-(r&&n.indexOf(r)>-1?1:0)!=i.length-(r&&i.indexOf(r)>-1?1:0))return!1;for(let s of n)if(s!=r&&(-1==i.indexOf(s)||e[s]!==t[s]))return!1;return!0}function se(e,t,r){let n=!1;if(t)for(let i in t)r&&i in r||(n=!0,"style"==i?e.style.cssText="":e.removeAttribute(i));if(r)for(let i in r)t&&t[i]==r[i]||(n=!0,"style"==i?e.style.cssText=r[i]:e.setAttribute(i,r[i]));return n}function oe(e){let t=Object.create(null);for(let r=0;r<e.attributes.length;r++){let n=e.attributes[r];t[n.name]=n.value}return t}class ae{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var le,ue;t.BlockType=void 0,(le=t.BlockType||(t.BlockType={}))[le.Text=0]="Text",le[le.WidgetBefore=1]="WidgetBefore",le[le.WidgetAfter=2]="WidgetAfter",le[le.WidgetRange=3]="WidgetRange";class ce extends n.RangeValue{constructor(e,t,r,n){super(),this.startSide=e,this.endSide=t,this.widget=r,this.spec=n}get heightRelevant(){return!1}static mark(e){return new pe(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),r=!!e.block;return t+=r&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new de(e,t,t,r,e.widget||null,!1)}static replace(e){let t,r,n=!!e.block;if(e.isBlockGap)t=-5e8,r=4e8;else{let{start:i,end:s}=fe(e,n);t=(i?n?-3e8:-1:5e8)-1,r=1+(s?n?2e8:1:-6e8)}return new de(e,t,r,n,e.widget||null,!0)}static line(e){return new he(e)}static set(e,t=!1){return n.RangeSet.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}ce.none=n.RangeSet.empty;class pe extends ce{constructor(e){let{start:t,end:r}=fe(e);super(t?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,r;return this==e||e instanceof pe&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(r=e.attrs)||void 0===r?void 0:r.class))&&ie(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}pe.prototype.point=!1;class he extends ce{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof he&&this.spec.class==e.spec.class&&ie(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}he.prototype.mapMode=n.MapMode.TrackBefore,he.prototype.point=!0;class de extends ce{constructor(e,t,r,i,s,o){super(t,r,s,e),this.block=i,this.isReplace=o,this.mapMode=i?t<=0?n.MapMode.TrackBefore:n.MapMode.TrackAfter:n.MapMode.TrackDel}get type(){return this.startSide!=this.endSide?t.BlockType.WidgetRange:this.startSide<=0?t.BlockType.WidgetBefore:t.BlockType.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof de&&((t=this.widget)==(r=e.widget)||!!(t&&r&&t.compare(r)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide;var t,r}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function fe(e,t=!1){let{inclusiveStart:r,inclusiveEnd:n}=e;return null==r&&(r=e.inclusive),null==n&&(n=e.inclusive),{start:null!=r?r:t,end:null!=n?n:t}}function me(e,t,r,n=0){let i=r.length-1;i>=0&&r[i]+n>=e?r[i]=Math.max(r[i],t):r.push(e,t)}de.prototype.point=!0;class ge extends Z{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,r,n,i,s){if(r){if(!(r instanceof ge))return!1;this.dom||r.transferDOM(this)}return n&&this.setDeco(r?r.attrs:null),W(this,e,t,r?r.children.slice():[],i,s),!0}split(e){let t=new ge;if(t.breakAfter=this.breakAfter,0==this.length)return t;let{i:r,off:n}=this.childPos(e);n&&(t.append(this.children[r].split(n),0),this.children[r].merge(n,this.children[r].length,null,!1,0,0),r++);for(let e=r;e<this.children.length;e++)t.append(this.children[e],0);for(;r>0&&0==this.children[r-1].length;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){ie(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){K(this,e,t)}addLineDeco(e){let t=e.spec.attributes,r=e.spec.class;t&&(this.attrs=re(t,this.attrs||{})),r&&(this.attrs=re({class:r},this.attrs||{}))}domAtPos(e){return J(this,e)}reuseDOM(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var r;this.dom?4&this.flags&&(M(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(se(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let n=this.dom.lastChild;for(;n&&Z.get(n)instanceof G;)n=n.lastChild;if(!(n&&this.length&&("BR"==n.nodeName||0!=(null===(r=Z.get(n))||void 0===r?void 0:r.isEditable)||D.ios&&this.children.some(e=>e instanceof Y)))){let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let e,t=0;for(let r of this.children){if(!(r instanceof Y)||/[^ -~]/.test(r.text))return null;let n=C(r.dom);if(1!=n.length)return null;t+=n[0].width,e=n[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:e}:null}coordsAt(e,t){let r=ee(this,e,t);if(!this.children.length&&r&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=r.bottom-r.top;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let n=(t-e.textHeight)/2;return{top:r.top+n,bottom:r.bottom-n,left:r.left,right:r.left}}}return r}become(e){return e instanceof ge&&0==this.children.length&&0==e.children.length&&ie(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter}covers(){return!0}static find(e,t){for(let r=0,n=0;r<e.children.length;r++){let i=e.children[r],s=n+i.length;if(s>=t){if(i instanceof ge)return i;if(s>t)break}n=s+i.breakAfter}return null}}class Oe extends Z{constructor(e,t,r){super(),this.widget=e,this.length=t,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,t,r,n,i,s){return!(r&&(!(r instanceof Oe&&this.widget.compare(r.widget))||e>0&&i<=0||t<this.length&&s<=0)||(this.length=e+(r?r.length:0)+(this.length-t),0))}domAtPos(e){return 0==e?j.before(this.dom):j.after(this.dom,e==this.length)}split(e){let t=this.length-e;this.length=e;let r=new Oe(this.widget,t,this.deco);return r.breakAfter=this.breakAfter,r}get children(){return X}sync(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):n.Text.empty}domBoundsAround(){return null}become(e){return e instanceof Oe&&e.widget.constructor==this.widget.constructor&&(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)||(this.widget instanceof De?null:T(this.dom.getBoundingClientRect(),this.length?0==e:t<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:r}=this.deco;return t!=r&&(e<0?t<0:r>0)}}class De extends ae{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class ye{constructor(e,t,r,n){this.doc=e,this.pos=t,this.end=r,this.disallowBlockEffectsFor=n,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Oe&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new ge),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(ve(new H(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||e&&this.content.length&&this.content[this.content.length-1]instanceof Oe||this.getLine()}buildText(e,t,r){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:r,done:n}=this.cursor.next(this.skip);if(this.skip=0,n)throw new Error("Ran out of text content when drawing inline views");if(r){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}this.text=t,this.textOff=0}let n=Math.min(this.text.length-this.textOff,e),i=Math.min(n,512);this.flushBuffer(t.slice(t.length-r)),this.getLine().append(ve(new Y(this.text.slice(this.textOff,this.textOff+i)),t),r),this.atCursorPos=!0,this.textOff+=i,e-=i,r=n<=i?0:t.length}}span(e,t,r,n){this.buildText(t-e,r,n),this.pos=t,this.openStart<0&&(this.openStart=n)}point(e,t,r,n,i,s){if(this.disallowBlockEffectsFor[s]&&r instanceof de){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=t-e;if(r instanceof de)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Oe(r.widget||Se.block,o,r));else{let s=U.create(r.widget||Se.inline,o,o?0:r.startSide),a=this.atCursorPos&&!s.isEditable&&i<=n.length&&(e<t||r.startSide>0),l=!s.isEditable&&(e<t||i>n.length||r.startSide<=0),u=this.getLine();2!=this.pendingBuffer||a||s.isEditable||(this.pendingBuffer=0),this.flushBuffer(n),a&&(u.append(ve(new H(1),n),i),i=n.length+Math.max(0,i-n.length)),u.append(ve(s,n),i),this.atCursorPos=l,this.pendingBuffer=l?e<t||i>n.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=n.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}static build(e,t,r,i,s){let o=new ye(e,t,r,s);return o.openEnd=n.RangeSet.spans(i,t,r,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function ve(e,t){for(let r of t)e=new G(r,[e],e.length);return e}class Se extends ae{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}Se.inline=new Se("span"),Se.block=new Se("div"),t.Direction=void 0,(ue=t.Direction||(t.Direction={}))[ue.LTR=0]="LTR",ue[ue.RTL=1]="RTL";const Ce=t.Direction.LTR,be=t.Direction.RTL;function Ee(e){let t=[];for(let r=0;r<e.length;r++)t.push(1<<+e[r]);return t}const xe=Ee("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),we=Ee("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Ae=Object.create(null),Te=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),r=e.charCodeAt(1);Ae[t]=r,Ae[r]=-t}function ke(e){return e<=247?xe[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?we[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const Fe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Pe{get dir(){return this.level%2?be:Ce}constructor(e,t,r){this.from=e,this.to=t,this.level=r}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,r,n){let i=-1;for(let s=0;s<e.length;s++){let o=e[s];if(o.from<=t&&o.to>=t){if(o.level==r)return s;(i<0||(0!=n?n<0?o.from<t:o.to>t:e[i].level>o.level))&&(i=s)}}if(i<0)throw new RangeError("Index out of range");return i}}function Qe(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],i=t[r];if(n.from!=i.from||n.to!=i.to||n.direction!=i.direction||!Qe(n.inner,i.inner))return!1}return!0}const $e=[];function Be(e,t,r,n,i,s,o){let a=n%2?2:1;if(n%2==i%2)for(let l=t,u=0;l<r;){let t=!0,c=!1;if(u==s.length||l<s[u].from){let e=$e[l];e!=a&&(t=!1,c=16==e)}let p=t||1!=a?null:[],h=t?n:n+1,d=l;e:for(;;)if(u<s.length&&d==s[u].from){if(c)break e;let f=s[u];if(!t)for(let e=f.to,t=u+1;;){if(e==r)break e;if(!(t<s.length&&s[t].from==e)){if($e[e]==a)break e;break}e=s[t++].to}u++,p?p.push(f):(f.from>l&&o.push(new Pe(l,f.from,h)),_e(e,f.direction==Ce!=!(h%2)?n+1:n,i,f.inner,f.from,f.to,o),l=f.to),d=f.to}else{if(d==r||(t?$e[d]!=a:$e[d]==a))break;d++}p?Be(e,l,d,n+1,i,p,o):l<d&&o.push(new Pe(l,d,h)),l=d}else for(let l=r,u=s.length;l>t;){let r=!0,c=!1;if(!u||l>s[u-1].to){let e=$e[l-1];e!=a&&(r=!1,c=16==e)}let p=r||1!=a?null:[],h=r?n:n+1,d=l;e:for(;;)if(u&&d==s[u-1].to){if(c)break e;let f=s[--u];if(!r)for(let e=f.from,r=u;;){if(e==t)break e;if(!r||s[r-1].to!=e){if($e[e-1]==a)break e;break}e=s[--r].from}p?p.push(f):(f.to<l&&o.push(new Pe(f.to,l,h)),_e(e,f.direction==Ce!=!(h%2)?n+1:n,i,f.inner,f.from,f.to,o),l=f.from),d=f.from}else{if(d==t||(r?$e[d-1]!=a:$e[d-1]==a))break;d--}p?Be(e,d,l,n+1,i,p,o):d<l&&o.push(new Pe(d,l,h)),l=d}}function _e(e,t,r,n,i,s,o){let a=t%2?2:1;!function(e,t,r,n,i){for(let s=0;s<=n.length;s++){let o=s?n[s-1].to:t,a=s<n.length?n[s].from:r,l=s?256:i;for(let t=o,r=l,n=l;t<a;t++){let i=ke(e.charCodeAt(t));512==i?i=r:8==i&&4==n&&(i=16),$e[t]=4==i?2:i,7&i&&(n=i),r=i}for(let e=o,t=l,n=l;e<a;e++){let i=$e[e];if(128==i)e<a-1&&t==$e[e+1]&&24&t?i=$e[e]=t:$e[e]=256;else if(64==i){let i=e+1;for(;i<a&&64==$e[i];)i++;let s=e&&8==t||i<r&&8==$e[i]?1==n?1:8:256;for(let t=e;t<i;t++)$e[t]=s;e=i-1}else 8==i&&1==n&&($e[e]=1);t=i,7&i&&(n=i)}}}(e,i,s,n,a),function(e,t,r,n,i){let s=1==i?2:1;for(let o=0,a=0,l=0;o<=n.length;o++){let u=o?n[o-1].to:t,c=o<n.length?n[o].from:r;for(let t,r,n,o=u;o<c;o++)if(r=Ae[t=e.charCodeAt(o)])if(r<0){for(let e=a-3;e>=0;e-=3)if(Te[e+1]==-r){let t=Te[e+2],r=2&t?i:4&t?1&t?s:i:0;r&&($e[o]=$e[Te[e]]=r),a=e;break}}else{if(189==Te.length)break;Te[a++]=o,Te[a++]=t,Te[a++]=l}else if(2==(n=$e[o])||1==n){let e=n==i;l=e?0:1;for(let t=a-3;t>=0;t-=3){let r=Te[t+2];if(2&r)break;if(e)Te[t+2]|=2;else{if(4&r)break;Te[t+2]|=4}}}}}(e,i,s,n,a),function(e,t,r,n){for(let i=0,s=n;i<=r.length;i++){let o=i?r[i-1].to:e,a=i<r.length?r[i].from:t;for(let l=o;l<a;){let o=$e[l];if(256==o){let o=l+1;for(;;)if(o==a){if(i==r.length)break;o=r[i++].to,a=i<r.length?r[i].from:t}else{if(256!=$e[o])break;o++}let u=1==s,c=u==(1==(o<t?$e[o]:n))?u?1:2:n;for(let t=o,n=i,s=n?r[n-1].to:e;t>l;)t==s&&(t=r[--n].from,s=n?r[n-1].to:e),$e[--t]=c;l=o}else s=o,l++}}}(i,s,n,a),Be(e,i,s,t,r,n,o)}function Ne(e,t,r){if(!e)return[new Pe(0,0,t==be?1:0)];if(t==Ce&&!r.length&&!Fe.test(e))return Me(e.length);if(r.length)for(;e.length>$e.length;)$e[$e.length]=256;let n=[],i=t==Ce?0:1;return _e(e,i,i,r,0,e.length,n),n}function Me(e){return[new Pe(0,e,0)]}let Re="";function Le(e,t,r,i,s){var o;let a=i.head-e.from,l=Pe.find(t,a,null!==(o=i.bidiLevel)&&void 0!==o?o:-1,i.assoc),u=t[l],c=u.side(s,r);if(a==c){let e=l+=s?1:-1;if(e<0||e>=t.length)return null;u=t[l=e],a=u.side(!s,r),c=u.side(s,r)}let p=n.findClusterBreak(e.text,a,u.forward(s,r));(p<u.from||p>u.to)&&(p=c),Re=e.text.slice(Math.min(a,p),Math.max(a,p));let h=l==(s?t.length-1:0)?null:t[l+(s?1:-1)];return h&&p==c&&h.level+(s?0:1)<u.level?n.EditorSelection.cursor(h.side(!s,r)+e.from,h.forward(s,r)?1:-1,h.level):n.EditorSelection.cursor(p+e.from,u.forward(s,r)?-1:1,u.level)}function Ie(e,t,r){for(let n=t;n<r;n++){let t=ke(e.charCodeAt(n));if(1==t)return Ce;if(2==t||4==t)return be}return Ce}const je=n.Facet.define(),Xe=n.Facet.define(),Ze=n.Facet.define(),Ve=n.Facet.define(),qe=n.Facet.define(),ze=n.Facet.define(),We=n.Facet.define(),Ye=n.Facet.define(),Ge=n.Facet.define(),Ue=n.Facet.define({combine:e=>e.some(e=>e)}),He=n.Facet.define({combine:e=>e.some(e=>e)}),Je=n.Facet.define();class Ke{constructor(e,t="nearest",r="nearest",n=5,i=5,s=!1){this.range=e,this.y=t,this.x=r,this.yMargin=n,this.xMargin=i,this.isSnapshot=s}map(e){return e.empty?this:new Ke(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Ke(n.EditorSelection.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const et=n.StateEffect.define({map:(e,t)=>e.map(t)}),tt=n.StateEffect.define();function rt(e,t,r){let n=e.facet(Ve);n.length?n[0](t):window.onerror&&window.onerror(String(t),r,void 0,void 0,t)||(r?console.error(r+":",t):console.error(t))}const nt=n.Facet.define({combine:e=>!e.length||e[0]});let it=0;const st=n.Facet.define({combine:e=>e.filter((t,r)=>{for(let n=0;n<r;n++)if(e[n].plugin==t.plugin)return!1;return!0})});class ot{constructor(e,t,r,n,i){this.id=e,this.create=t,this.domEventHandlers=r,this.domEventObservers=n,this.baseExtensions=i(this),this.extension=this.baseExtensions.concat(st.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(st.of({plugin:this,arg:e}))}static define(e,t){const{eventHandlers:r,eventObservers:n,provide:i,decorations:s}=t||{};return new ot(it++,e,r,n,e=>{let t=[];return s&&t.push(ct.of(t=>{let r=t.plugin(e);return r?s(r):ce.none})),i&&t.push(i(e)),t})}static fromClass(e,t){return ot.define((t,r)=>new e(t,r),t)}}class at{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(rt(e.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(e){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(t){rt(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(t){rt(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const lt=n.Facet.define(),ut=n.Facet.define(),ct=n.Facet.define(),pt=n.Facet.define(),ht=n.Facet.define(),dt=n.Facet.define();function ft(e,t){let r=e.state.facet(dt);if(!r.length)return r;let i=r.map(t=>t instanceof Function?t(e):t),s=[];return n.RangeSet.spans(i,t.from,t.to,{point(){},span(e,r,n,i){let o=e-t.from,a=r-t.from,l=s;for(let e=n.length-1;e>=0;e--,i--){let r,s=n[e].spec.bidiIsolate;if(null==s&&(s=Ie(t.text,o,a)),i>0&&l.length&&(r=l[l.length-1]).to==o&&r.direction==s)r.to=a,l=r.inner;else{let e={from:o,to:a,direction:s,inner:[]};l.push(e),l=e.inner}}}}),s}const mt=n.Facet.define();function gt(e){let t=0,r=0,n=0,i=0;for(let s of e.state.facet(mt)){let o=s(e);o&&(null!=o.left&&(t=Math.max(t,o.left)),null!=o.right&&(r=Math.max(r,o.right)),null!=o.top&&(n=Math.max(n,o.top)),null!=o.bottom&&(i=Math.max(i,o.bottom)))}return{left:t,right:r,top:n,bottom:i}}const Ot=n.Facet.define();class Dt{constructor(e,t,r,n){this.fromA=e,this.toA=t,this.fromB=r,this.toB=n}join(e){return new Dt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,r=this;for(;t>0;t--){let n=e[t-1];if(!(n.fromA>r.toA)){if(n.toA<r.fromA)break;r=r.join(n),e.splice(t-1,1)}}return e.splice(t,0,r),e}static extendWithRanges(e,t){if(0==t.length)return e;let r=[];for(let n=0,i=0,s=0,o=0;;n++){let a=n==e.length?null:e[n],l=s-o,u=a?a.fromB:1e9;for(;i<t.length&&t[i]<u;){let e=t[i],n=t[i+1],s=Math.max(o,e),a=Math.min(u,n);if(s<=a&&new Dt(s+l,a+l,s,a).addToSet(r),n>u)break;i+=2}if(!a)return r;new Dt(a.fromA,a.toA,a.fromB,a.toB).addToSet(r),s=a.toA,o=a.toB}}}class yt{constructor(e,t,r){this.view=e,this.state=t,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=n.ChangeSet.empty(this.startState.doc.length);for(let e of r)this.changes=this.changes.compose(e.changes);let i=[];this.changes.iterChangedRanges((e,t,r,n)=>i.push(new Dt(e,t,r,n))),this.changedRanges=i}static create(e,t,r){return new yt(e,t,r)}get viewportChanged(){return(4&this.flags)>0}get viewportMoved(){return(8&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(18&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}class vt extends Z{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=ce.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new ge],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Dt(0,0,0,e.state.doc.length)],0,null)}update(e){var t;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?i=this.domChanged.newSel.head:function(e,t){let r=!1;return t&&e.iterChangedRanges((e,n)=>{e<t.to&&n>t.from&&(r=!0)}),r}(e.changes,this.hasComposition)||e.selectionSet||(i=e.state.selection.main.head));let s=i>-1?function(e,t,r){let n=St(e,r);if(!n)return null;let{node:i,from:s,to:o}=n,a=i.nodeValue;if(/[\n\r]/.test(a))return null;if(e.state.doc.sliceString(n.from,n.to)!=a)return null;let l=t.invertedDesc,u=new Dt(l.mapPos(s),l.mapPos(o),s,o),c=[];for(let t=i.parentNode;;t=t.parentNode){let r=Z.get(t);if(r instanceof G)c.push({node:t,deco:r.mark});else{if(r instanceof ge||"DIV"==t.nodeName&&t.parentNode==e.contentDOM)return{range:u,text:i,marks:c,line:t};if(t==e.contentDOM)return null;c.push({node:t,deco:new pe({inclusive:!0,attributes:oe(t),tagName:t.tagName.toLowerCase()})})}}}(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:t,to:n}=this.hasComposition;r=new Dt(t,n,e.changes.mapPos(t,-1),e.changes.mapPos(n,1)).addToSet(r.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(D.ie||D.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=function(e,t,r){let i=new Ct;return n.RangeSet.compare(e,t,r,i),i.changes}(this.decorations,this.updateDeco(),e.changes);return r=Dt.extendWithRanges(r,o),!!(7&this.flags||0!=r.length)&&(this.updateInner(r,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,r);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let e=D.chrome||D.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,e),this.flags&=-8,e&&(e.written||n.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(e=>e.flags&=-9);let i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.children)e instanceof Oe&&e.widget instanceof De&&i.push(e.dom);n.updateGaps(i)}updateChildren(e,t,r){let n=r?r.range.addToSet(e.slice()):e,i=this.childCursor(t);for(let e=n.length-1;;e--){let t=e>=0?n[e]:null;if(!t)break;let s,o,a,l,{fromA:u,toA:c,fromB:p,toB:h}=t;if(r&&r.range.fromB<h&&r.range.toB>p){let e=ye.build(this.view.state.doc,p,r.range.fromB,this.decorations,this.dynamicDecorationMap),t=ye.build(this.view.state.doc,r.range.toB,h,this.decorations,this.dynamicDecorationMap);o=e.breakAtStart,a=e.openStart,l=t.openEnd;let n=this.compositionView(r);t.breakAtStart?n.breakAfter=1:t.content.length&&n.merge(n.length,n.length,t.content[0],!1,t.openStart,0)&&(n.breakAfter=t.content[0].breakAfter,t.content.shift()),e.content.length&&n.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),s=e.content.concat(n).concat(t.content)}else({content:s,breakAtStart:o,openStart:a,openEnd:l}=ye.build(this.view.state.doc,p,h,this.decorations,this.dynamicDecorationMap));let{i:d,off:f}=i.findPos(c,1),{i:m,off:g}=i.findPos(u,-1);z(this,m,g,d,f,s,o,a,l)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(tt)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new Y(e.text.nodeValue);t.flags|=8;for(let{deco:r}of e.marks)t=new G(r,[t],t.length);let r=new ge;return r.append(t,0),r}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|(t.children.some(e=>7&e.flags)?1:0),this.markedForComposition.add(t);let r=Z.get(e);r&&r!=t&&(r.dom=null),t.setDOM(e)},r=this.childPos(e.range.fromB,1),n=this.children[r.i];t(e.line,n);for(let i=e.marks.length-1;i>=-1;i--)r=n.childPos(r.off,1),n=n.children[r.i],t(i>=0?e.marks[i].node:e.text,n)}updateSelection(e=!1,t=!1){!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let r=this.view.root.activeElement,n=r==this.dom,i=!n&&!(this.view.state.facet(nt)||this.dom.tabIndex>-1)&&S(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(n||t||i))return;let s=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,a=this.moveToLine(this.domAtPos(o.anchor)),l=o.empty?a:this.moveToLine(this.domAtPos(o.head));if(D.gecko&&o.empty&&!this.hasComposition&&1==(u=a).node.nodeType&&u.node.firstChild&&(0==u.offset||"false"==u.node.childNodes[u.offset-1].contentEditable)&&(u.offset==u.node.childNodes.length||"false"==u.node.childNodes[u.offset].contentEditable)){let e=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(e,a.node.childNodes[a.offset]||null)),a=l=new j(e,0),s=!0}var u;let c=this.view.observer.selectionRange;!s&&c.focusNode&&(b(a.node,a.offset,c.anchorNode,c.anchorOffset)&&b(l.node,l.offset,c.focusNode,c.focusOffset)||this.suppressWidgetCursorChange(c,o))||(this.view.observer.ignore(()=>{D.android&&D.chrome&&this.dom.contains(c.focusNode)&&function(e,t){for(let r=e;r&&r!=t;r=r.assignedSlot||r.parentNode)if(1==r.nodeType&&"false"==r.contentEditable)return!0;return!1}(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=y(this.view.root);if(e)if(o.empty){if(D.gecko){let e=(t=a.node,n=a.offset,1!=t.nodeType?0:(n&&"false"==t.childNodes[n-1].contentEditable?1:0)|(n<t.childNodes.length&&"false"==t.childNodes[n].contentEditable?2:0));if(e&&3!=e){let t=(1==e?L:I)(a.node,a.offset);t&&(a=new j(t.node,t.offset))}}e.collapse(a.node,a.offset),null!=o.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=o.bidiLevel)}else if(e.extend){e.collapse(a.node,a.offset);try{e.extend(l.node,l.offset)}catch(e){}}else{let t=document.createRange();o.anchor>o.head&&([a,l]=[l,a]),t.setEnd(l.node,l.offset),t.setStart(a.node,a.offset),e.removeAllRanges(),e.addRange(t)}var t,n;i&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(a,l)),this.impreciseAnchor=a.precise?null:new j(c.anchorNode,c.anchorOffset),this.impreciseHead=l.precise?null:new j(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&b(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,r=y(e.root),{anchorNode:n,anchorOffset:i}=e.observer.selectionRange;if(!(r&&t.empty&&t.assoc&&r.modify))return;let s=ge.find(this,t.head);if(!s)return;let o=s.posAtStart;if(t.head==o||t.head==o+s.length)return;let a=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1);if(!a||!l||a.bottom>l.top)return;let u=this.domAtPos(t.head+t.assoc);r.collapse(u.node,u.offset),r.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let c=e.observer.selectionRange;e.docView.posFromDOM(c.anchorNode,c.anchorOffset)!=t.from&&r.collapse(n,i)}moveToLine(e){let t,r=this.dom;if(e.node!=r)return e;for(let n=e.offset;!t&&n<r.childNodes.length;n++){let e=Z.get(r.childNodes[n]);e instanceof ge&&(t=e.domAtPos(0))}for(let n=e.offset-1;!t&&n>=0;n--){let e=Z.get(r.childNodes[n]);e instanceof ge&&(t=e.domAtPos(e.length))}return t?new j(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){let e=Z.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,t)+r.posAtStart}domAtPos(e){let{i:t,off:r}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let e=this.children[t];if(r<e.length||e instanceof ge)break;t++,r=0}return this.children[t].domAtPos(r)}coordsAt(e,t){let r=null,n=0;for(let i=this.length,s=this.children.length-1;s>=0;s--){let o=this.children[s],a=i-o.breakAfter,l=a-o.length;if(a<e)break;if(l<=e&&(l<e||o.covers(-1))&&(a>e||o.covers(1))&&(!r||o instanceof ge&&!(r instanceof ge&&t>=0)))r=o,n=l;else if(r&&l==e&&a==e&&o instanceof Oe&&Math.abs(t)<2){if(o.deco.startSide<0)break;s&&(r=null)}i=l}return r?r.coordsAt(e-n,t):null}coordsForChar(e){let{i:t,off:r}=this.childPos(e,1),i=this.children[t];if(!(i instanceof ge))return null;for(;i.children.length;){let{i:e,off:t}=i.childPos(r,1);for(;;e++){if(e==i.children.length)return null;if((i=i.children[e]).length)break}r=t}if(!(i instanceof Y))return null;let s=n.findClusterBreak(i.text,r);if(s==r)return null;let o=_(i.dom,r,s).getClientRects();for(let e=0;e<o.length;e++){let t=o[e];if(e==o.length-1||t.top<t.bottom&&t.left<t.right)return t}return null}measureVisibleLineHeights(e){let r=[],{from:n,to:i}=e,s=this.view.contentDOM.clientWidth,o=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==t.Direction.LTR;for(let e=0,t=0;t<this.children.length;t++){let u=this.children[t],c=e+u.length;if(c>i)break;if(e>=n){let t=u.dom.getBoundingClientRect();if(r.push(t.height),o){let r=u.dom.lastChild,n=r?C(r):[];if(n.length){let r=n[n.length-1],i=l?r.right-t.left:t.right-r.left;i>a&&(a=i,this.minWidth=s,this.minWidthFrom=e,this.minWidthTo=c)}}}e=c+u.breakAfter}return r}textDirectionAt(e){let{i:r}=this.childPos(e,1);return"rtl"==getComputedStyle(this.children[r].dom).direction?t.Direction.RTL:t.Direction.LTR}measureTextSize(){for(let e of this.children)if(e instanceof ge){let t=e.measureTextSize();if(t)return t}let e,t,r,n=document.createElement("div");return n.className="cm-line",n.style.width="99999px",n.style.position="absolute",n.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(n);let i=C(n.firstChild)[0];e=n.getBoundingClientRect().height,t=i?i.width/27:7,r=i?i.height:e,n.remove()}),{lineHeight:e,charWidth:t,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new q(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let r=0,n=0;;n++){let i=n==t.viewports.length?null:t.viewports[n],s=i?i.from-1:this.length;if(s>r){let n=(t.lineBlockAt(s).bottom-t.lineBlockAt(r).top)/this.view.scaleY;e.push(ce.replace({widget:new De(n),block:!0,inclusive:!0,isBlockGap:!0}).range(r,s))}if(!i)break;r=i.to+1}return ce.set(e)}updateDeco(){let e=1,t=this.view.state.facet(ct).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),r=!1,i=this.view.state.facet(pt).map((e,t)=>{let n="function"==typeof e;return n&&(r=!0),n?e(this.view):e});for(i.length&&(this.dynamicDecorationMap[e++]=r,t.push(n.RangeSet.join(i))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);return this.view.scrollDOM.scrollTop=t.top-e.yMargin,void(this.view.scrollDOM.scrollLeft=e.xMargin)}for(let t of this.view.state.facet(Je))try{if(t(this.view,e.range,e))return!0}catch(e){rt(this.view.state,e,"scroll handler")}let r,{range:n}=e,i=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1);if(!i)return;!n.empty&&(r=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=gt(this.view),o={left:i.left-s.left,top:i.top-s.top,right:i.right+s.right,bottom:i.bottom+s.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;!function(e,t,r,n,i,s,o,a){let l=e.ownerDocument,u=l.defaultView||window;for(let c=e,p=!1;c&&!p;)if(1==c.nodeType){let e,h=c==l.body,d=1,f=1;if(h)e=k(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(p=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let t=c.getBoundingClientRect();({scaleX:d,scaleY:f}=F(c,t)),e={left:t.left,right:t.left+c.clientWidth*d,top:t.top,bottom:t.top+c.clientHeight*f}}let m=0,g=0;if("nearest"==i)t.top<e.top?(g=t.top-(e.top+o),r>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+o)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+o,r<0&&t.top-g<e.top&&(g=t.top-(e.top+o)));else{let n=t.bottom-t.top,s=e.bottom-e.top;g=("center"==i&&n<=s?t.top+n/2-s/2:"start"==i||"center"==i&&r<0?t.top-o:t.bottom-s+o)-e.top}if("nearest"==n?t.left<e.left?(m=t.left-(e.left+s),r>0&&t.right>e.right+m&&(m=t.right-e.right+s)):t.right>e.right&&(m=t.right-e.right+s,r<0&&t.left<e.left+m&&(m=t.left-(e.left+s))):m=("center"==n?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==n==a?t.left-s:t.right-(e.right-e.left)+s)-e.left,m||g)if(h)u.scrollBy(m,g);else{let e=0,r=0;if(g){let e=c.scrollTop;c.scrollTop+=g/f,r=(c.scrollTop-e)*f}if(m){let t=c.scrollLeft;c.scrollLeft+=m/d,e=(c.scrollLeft-t)*d}t={left:t.left-e,top:t.top-r,right:t.right-e,bottom:t.bottom-r},e&&Math.abs(e-m)<1&&(n="nearest"),r&&Math.abs(r-g)<1&&(i="nearest")}if(h)break;(t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)&&(t={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)}),c=c.assignedSlot||c.parentNode}else{if(11!=c.nodeType)break;c=c.host}}(this.view.scrollDOM,o,n.head<n.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==t.Direction.LTR)}}function St(e,t){let r=e.observer.selectionRange;if(!r.focusNode)return null;let n=L(r.focusNode,r.focusOffset),i=I(r.focusNode,r.focusOffset),s=n||i;if(i&&n&&i.node!=n.node){let t=Z.get(i.node);if(!t||t instanceof Y&&t.text!=i.node.nodeValue)s=i;else if(e.docView.lastCompositionAfterCursor){let e=Z.get(n.node);!e||e instanceof Y&&e.text!=n.node.nodeValue||(s=i)}}if(e.docView.lastCompositionAfterCursor=s!=n,!s)return null;let o=t-s.offset;return{from:o,to:o+s.node.nodeValue.length,node:s.node}}let Ct=class{constructor(){this.changes=[]}compareRange(e,t){me(e,t,this.changes)}comparePoint(e,t){me(e,t,this.changes)}boundChange(e){me(e,e,this.changes)}};function bt(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function Et(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function xt(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function wt(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function At(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function Tt(e,t,r){let n,i,s,o,a,l,u,c,p=!1;for(let h=e.firstChild;h;h=h.nextSibling){let e=C(h);for(let d=0;d<e.length;d++){let f=e[d];i&&xt(i,f)&&(f=wt(At(f,i.bottom),i.top));let m=bt(t,f),g=Et(r,f);if(0==m&&0==g)return 3==h.nodeType?kt(h,t,r):Tt(h,t,r);(!n||o>g||o==g&&s>m)&&(n=h,i=f,s=m,o=g,p=!m||(t<f.left?d>0:d<e.length-1)),0==m?r>f.bottom&&(!u||u.bottom<f.bottom)?(a=h,u=f):r<f.top&&(!c||c.top>f.top)&&(l=h,c=f):u&&xt(u,f)?u=At(u,f.bottom):c&&xt(c,f)&&(c=wt(c,f.top))}}if(u&&u.bottom>=r?(n=a,i=u):c&&c.top<=r&&(n=l,i=c),!n)return{node:e,offset:0};let h=Math.max(i.left,Math.min(i.right,t));return 3==n.nodeType?kt(n,h,r):p&&"false"!=n.contentEditable?Tt(n,h,r):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,n)+(t>=(i.left+i.right)/2?1:0)}}function kt(e,t,r){let n=e.nodeValue.length,i=-1,s=1e9,o=0;for(let a=0;a<n;a++){let n=_(e,a,a+1).getClientRects();for(let l=0;l<n.length;l++){let u=n[l];if(u.top==u.bottom)continue;o||(o=t-u.left);let c=(u.top>r?u.top-r:r-u.bottom)-1;if(u.left-1<=t&&u.right+1>=t&&c<s){let r=t>=(u.left+u.right)/2,n=r;if((D.chrome||D.gecko)&&_(e,a).getBoundingClientRect().left==u.right&&(n=!r),c<=0)return{node:e,offset:a+(n?1:0)};i=a+(n?1:0),s=c}}}return{node:e,offset:i>-1?i:o>0?e.nodeValue.length:0}}function Ft(e,r,n,i=-1){var s,o;let a,l=e.contentDOM.getBoundingClientRect(),u=l.top+e.viewState.paddingTop,{docHeight:c}=e.viewState,{x:p,y:h}=r,d=h-u;if(d<0)return 0;if(d>c)return e.state.doc.length;for(let r=e.viewState.heightOracle.textHeight/2,s=!1;a=e.elementAtHeight(d),a.type!=t.BlockType.Text;)for(;d=i>0?a.bottom+r:a.top-r,!(d>=0&&d<=c);){if(s)return n?null:0;s=!0,i=-i}h=u+d;let f=a.from;if(f<e.viewport.from)return 0==e.viewport.from?0:n?null:Pt(e,l,a,p,h);if(f>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:Pt(e,l,a,p,h);let m=e.dom.ownerDocument,g=e.root.elementFromPoint?e.root:m,O=g.elementFromPoint(p,h);O&&!e.contentDOM.contains(O)&&(O=null),O||(p=Math.max(l.left+1,Math.min(l.right-1,p)),O=g.elementFromPoint(p,h),O&&!e.contentDOM.contains(O)&&(O=null));let y,v=-1;if(O&&0!=(null===(s=e.docView.nearest(O))||void 0===s?void 0:s.isEditable)){if(m.caretPositionFromPoint){let e=m.caretPositionFromPoint(p,h);e&&({offsetNode:y,offset:v}=e)}else if(m.caretRangeFromPoint){let e=m.caretRangeFromPoint(p,h);e&&({startContainer:y,startOffset:v}=e)}y&&(!e.contentDOM.contains(y)||D.safari&&function(e,t,r){return Qt(e,t,r)}(y,v,p)||D.chrome&&function(e,t,r){if(0!=t)return Qt(e,t,r);for(let t=e;;){let e=t.parentNode;if(!e||1!=e.nodeType||e.firstChild!=t)return!1;if(e.classList.contains("cm-line"))break;t=e}return r-(1==e.nodeType?e.getBoundingClientRect():_(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}(y,v,p))&&(y=void 0),y&&(v=Math.min(A(y),v))}if(!y||!e.docView.dom.contains(y)){let t=ge.find(e.docView,f);if(!t)return d>a.top+a.height/2?a.to:a.from;({node:y,offset:v}=Tt(t.dom,p,h))}let S=e.docView.nearest(y);if(!S)return null;if(S.isWidget&&1==(null===(o=S.dom)||void 0===o?void 0:o.nodeType)){let e=S.dom.getBoundingClientRect();return r.y<e.top||r.y<=e.bottom&&r.x<=(e.left+e.right)/2?S.posAtStart:S.posAtEnd}return S.localPosFromDOM(y,v)+S.posAtStart}function Pt(e,t,r,i,s){let o=Math.round((i-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&r.height>1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;o+=Math.floor((s-r.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength}let a=e.state.sliceDoc(r.from,r.to);return r.from+n.findColumn(a,o,e.state.tabSize)}function Qt(e,t,r){let n,i=e;if(3!=e.nodeType||t!=(n=e.nodeValue.length))return!1;for(;;){let e=i.nextSibling;if(e){if("BR"==e.nodeName)break;return!1}{let e=i.parentNode;if(!e||"DIV"==e.nodeName)break;i=e}}return _(e,n-1,n).getBoundingClientRect().right>r}function $t(e,r,n){let i=e.lineBlockAt(r);if(Array.isArray(i.type)){let e;for(let s of i.type){if(s.from>r)break;if(!(s.to<r)){if(s.from<r&&s.to>r)return s;e&&(s.type!=t.BlockType.Text||e.type==s.type&&!(n<0?s.from<r:s.to>r))||(e=s)}}return e||i}return i}function Bt(e,t,r,n){let i=e.state.doc.lineAt(t.head),s=e.bidiSpans(i),o=e.textDirectionAt(i.from);for(let a=t,l=null;;){let t=Le(i,s,o,a,r),u=Re;if(!t){if(i.number==(r?e.state.doc.lines:1))return a;u="\n",i=e.state.doc.line(i.number+(r?1:-1)),s=e.bidiSpans(i),t=e.visualLineSide(i,!r)}if(l){if(!l(u))return a}else{if(!n)return t;l=n(u)}a=t}}function _t(e,t,r){for(;;){let n=0;for(let i of e)i.between(t-1,t+1,(e,i,s)=>{if(t>e&&t<i){let s=n||r||(t-e<i-t?-1:1);t=s<0?e:i,n=s}});if(!n)return t}}function Nt(e,t){let r=null;for(let i=0;i<t.ranges.length;i++){let s=t.ranges[i],o=null;if(s.empty){let t=_t(e,s.from,0);t!=s.from&&(o=n.EditorSelection.cursor(t,-1))}else{let t=_t(e,s.from,-1),r=_t(e,s.to,1);t==s.from&&r==s.to||(o=n.EditorSelection.range(s.from==s.anchor?t:r,s.from==s.head?t:r))}o&&(r||(r=t.ranges.slice()),r[i]=o)}return r?n.EditorSelection.create(r,t.mainIndex):t}function Mt(e,t,r){let i=_t(e.state.facet(ht).map(t=>t(e)),r.from,t.head>r.from?-1:1);return i==r.from?r:n.EditorSelection.cursor(i,i<r.from?1:-1)}const Rt="";class Lt{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(n.EditorState.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Rt}readRange(e,t){if(!e)return this;let r=e.parentNode;for(let n=e;;){this.findPointBefore(r,n);let e=this.text.length;this.readNode(n);let i=n.nextSibling;if(i==t)break;let s=Z.get(n),o=Z.get(i);(s&&o?s.breakAfter:(s?s.breakAfter:x(n))||x(i)&&("BR"!=n.nodeName||n.cmIgnore)&&this.text.length>e)&&!jt(i,t)&&this.lineBreak(),n=i}return this.findPointBefore(r,t),this}readTextNode(e){let t=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,t.length));for(let r=0,n=this.lineSeparator?null:/\r\n?|\n/g;;){let i,s=-1,o=1;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,r),o=this.lineSeparator.length):(i=n.exec(t))&&(s=i.index,o=i[0].length),this.append(t.slice(r,s<0?t.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=o-1);r=s+o}}readNode(e){if(e.cmIgnore)return;let t=Z.get(e),r=t&&t.overrideDOMText;if(null!=r){this.findPointInside(e,r.length);for(let e=r.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==t&&(r.pos=this.text.length)}findPointInside(e,t){for(let r of this.points)(3==e.nodeType?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(It(e,r.node,r.offset)?t:0))}}function It(e,t,r){for(;;){if(!t||r<A(t))return!1;if(t==e)return!0;r=E(t)+1,t=t.parentNode}}function jt(e,t){let r;for(;e!=t&&e;e=e.nextSibling){let t=Z.get(e);if(!(null==t?void 0:t.isWidget)&&!e.cmIgnore)return!1;t&&(r||(r=[])).push(t)}if(r)for(let e of r){let t=e.overrideDOMText;if(null==t?void 0:t.length)return!1}return!0}class Xt{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class Zt{constructor(e,t,r,i){this.typeOver=i,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:s,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,r,0))){let t=s||o?[]:function(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:r,anchorOffset:n,focusNode:i,focusOffset:s}=e.observer.selectionRange;return r&&(t.push(new Xt(r,n)),i==r&&s==n||t.push(new Xt(i,s))),t}(e),r=new Lt(t,e.state);r.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=r.text,this.newSel=function(e,t){if(0==e.length)return null;let r=e[0].pos,i=2==e.length?e[1].pos:r;return r>-1&&i>-1?n.EditorSelection.single(r+t,i+t):null}(t,this.bounds.from)}else{let t=e.observer.selectionRange,r=s&&s.node==t.focusNode&&s.offset==t.focusOffset||!v(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),i=o&&o.node==t.anchorNode&&o.offset==t.anchorOffset||!v(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),a=e.viewport;if((D.ios||D.chrome)&&e.state.selection.main.empty&&r!=i&&(a.from>0||a.to<e.state.doc.length)){let t=Math.min(r,i),n=Math.max(r,i),s=a.from-t,o=a.to-n;0!=s&&1!=s&&0!=t||0!=o&&-1!=o&&n!=e.state.doc.length||(r=0,i=e.state.doc.length)}this.newSel=n.EditorSelection.single(i,r)}}}function Vt(e,t){let r,{newSel:i}=t,s=e.state.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:i,to:a}=t.bounds,l=s.from,u=null;(8===o||D.android&&t.text.length<a-i)&&(l=s.to,u="end");let c=zt(e.state.doc.sliceString(i,a,Rt),t.text,l-i,u);c&&(D.chrome&&13==o&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==Rt+Rt&&c.toB--,r={from:i+c.from,to:i+c.toA,insert:n.Text.of(t.text.slice(c.from,c.toB).split(Rt))})}else i&&(!e.hasFocus&&e.state.facet(nt)||i.main.eq(s))&&(i=null);if(!r&&!i)return!1;if(!r&&t.typeOver&&!s.empty&&i&&i.main.empty?r={from:s.from,to:s.to,insert:e.state.doc.slice(s.from,s.to)}:(D.mac||D.android)&&r&&r.from==r.to&&r.from==s.head-1&&/^\. ?$/.test(r.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(i&&2==r.insert.length&&(i=n.EditorSelection.single(i.main.anchor-1,i.main.head-1)),r={from:r.from,to:r.to,insert:n.Text.of([r.insert.toString().replace("."," ")])}):r&&r.from>=s.from&&r.to<=s.to&&(r.from!=s.from||r.to!=s.to)&&s.to-s.from-(r.to-r.from)<=4?r={from:s.from,to:s.to,insert:e.state.doc.slice(s.from,r.from).append(r.insert).append(e.state.doc.slice(r.to,s.to))}:D.chrome&&r&&r.from==r.to&&r.from==s.head&&"\n "==r.insert.toString()&&e.lineWrapping&&(i&&(i=n.EditorSelection.single(i.main.anchor-1,i.main.head-1)),r={from:s.from,to:s.to,insert:n.Text.of([" "])}),r)return qt(e,r,i,o);if(i&&!i.main.eq(s)){let t=!1,r="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),r=e.inputState.lastSelectionOrigin,"select.pointer"==r&&(i=Nt(e.state.facet(ht).map(t=>t(e)),i))),e.dispatch({selection:i,scrollIntoView:t,userEvent:r}),!0}return!1}function qt(e,t,r,i=-1){if(D.ios&&e.inputState.flushIOSKey(t))return!0;let s=e.state.selection.main;if(D.android&&(t.to==s.to&&(t.from==s.from||t.from==s.from-1&&" "==e.state.sliceDoc(t.from,s.from))&&1==t.insert.length&&2==t.insert.lines&&N(e.contentDOM,"Enter",13)||(t.from==s.from-1&&t.to==s.to&&0==t.insert.length||8==i&&t.insert.length<t.to-t.from&&t.to>s.head)&&N(e.contentDOM,"Backspace",8)||t.from==s.from&&t.to==s.to+1&&0==t.insert.length&&N(e.contentDOM,"Delete",46)))return!0;let o,a=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let l=()=>o||(o=function(e,t,r){let i,s=e.state,o=s.selection.main,a=-1;if(t.from==t.to&&t.from<o.from||t.from>o.to){let r=t.from<o.from?-1:1,n=r<0?o.from:o.to,i=_t(s.facet(ht).map(t=>t(e)),n,r);t.from==i&&(a=i)}if(a>-1)i={changes:t,selection:n.EditorSelection.cursor(t.from+t.insert.length,-1)};else if(t.from>=o.from&&t.to<=o.to&&t.to-t.from>=(o.to-o.from)/3&&(!r||r.main.empty&&r.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let r=o.from<t.from?s.sliceDoc(o.from,t.from):"",n=o.to>t.to?s.sliceDoc(t.to,o.to):"";i=s.replaceSelection(e.state.toText(r+t.insert.sliceString(0,void 0,e.state.lineBreak)+n))}else{let a=s.changes(t),l=r&&r.main.to<=a.newLength?r.main:void 0;if(s.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=o.to&&t.to>=o.to-10){let u,c=e.state.sliceDoc(t.from,t.to),p=r&&St(e,r.main.head);if(p){let e=t.insert.length-(t.to-t.from);u={from:p.from,to:p.to-e}}else u=e.state.doc.lineAt(o.head);let h=o.to-t.to,d=o.to-o.from;i=s.changeByRange(r=>{if(r.from==o.from&&r.to==o.to)return{changes:a,range:l||r.map(a)};let i=r.to-h,p=i-c.length;if(r.to-r.from!=d||e.state.sliceDoc(p,i)!=c||r.to>=u.from&&r.from<=u.to)return{range:r};let f=s.changes({from:p,to:i,insert:t.insert}),m=r.to-o.to;return{changes:f,range:l?n.EditorSelection.range(Math.max(0,l.anchor+m),Math.max(0,l.head+m)):r.map(f)}})}else i={changes:a,selection:l&&s.selection.replaceRange(l)}}let l="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,l+=".compose",e.inputState.compositionFirstChange&&(l+=".start",e.inputState.compositionFirstChange=!1)),s.update(i,{userEvent:l,scrollIntoView:!0})}(e,t,r));return e.state.facet(ze).some(r=>r(e,t.from,t.to,a,l))||e.dispatch(l()),!0}function zt(e,t,r,n){let i=Math.min(e.length,t.length),s=0;for(;s<i&&e.charCodeAt(s)==t.charCodeAt(s);)s++;if(s==i&&e.length==t.length)return null;let o=e.length,a=t.length;for(;o>0&&a>0&&e.charCodeAt(o-1)==t.charCodeAt(a-1);)o--,a--;return"end"==n&&(r-=o+Math.max(0,s-Math.min(o,a))-s),o<s&&e.length<t.length?(s-=r<=s&&r>=o?s-r:0,a=s+(a-o),o=s):a<s&&(s-=r<=s&&r>=a?s-r:0,o=s+(o-a),a=s),{from:s,toA:o,toB:a}}class Wt{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,D.safari&&e.contentDOM.addEventListener("input",()=>null),D.gecko&&function(e){vr.has(e)||(vr.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}(e.contentDOM.ownerDocument)}handleEvent(e){(function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let r,n=t.target;n!=e.contentDOM;n=n.parentNode)if(!n||11==n.nodeType||(r=Z.get(n))&&r.ignoreEvent(t))return!1;return!0})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||(0!=this.view.updateState?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e)))}runHandlers(e,t){let r=this.handlers[e];if(r){for(let e of r.observers)e(this.view,t);for(let e of r.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=Gt(e),r=this.handlers,n=this.view.contentDOM;for(let e in t)if("scroll"!=e){let i=!t[e].handlers.length,s=r[e];s&&i!=!s.handlers.length&&(n.removeEventListener(e,this.handleEvent),s=null),s||n.addEventListener(e,this.handleEvent,{passive:i})}for(let e in r)"scroll"==e||t[e]||n.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=e.keyCode&&Jt.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),D.android&&D.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return!D.ios||e.synthetic||e.altKey||e.metaKey||!((t=Ut.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||Ht.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),!1):(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0)}flushIOSKey(e){let t=this.pendingIOSKey;return!!t&&!("Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,N(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0))}ignoreDuringComposition(e){return!(!/^key/.test(e.type)||e.synthetic)&&(this.composing>0||!!(D.safari&&!D.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Yt(e,t){return(r,n)=>{try{return t.call(e,n,r)}catch(e){rt(r.state,e)}}}function Gt(e){let t=Object.create(null);function r(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec,n=e&&e.plugin.domEventHandlers,i=e&&e.plugin.domEventObservers;if(n)for(let e in n){let i=n[e];i&&r(e).handlers.push(Yt(t.value,i))}if(i)for(let e in i){let n=i[e];n&&r(e).observers.push(Yt(t.value,n))}}for(let e in tr)r(e).handlers.push(tr[e]);for(let e in rr)r(e).observers.push(rr[e]);return t}const Ut=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Ht="dthko",Jt=[16,17,18,20,91,92,224,225];function Kt(e){return.7*Math.max(0,e)+8}class er{constructor(e,t,r,i){this.view=e,this.startEvent=t,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=function(e){let t,r,n=e.ownerDocument;for(let i=e.parentNode;i&&!(i==n.body||t&&r);)if(1==i.nodeType)!r&&i.scrollHeight>i.clientHeight&&(r=i),!t&&i.scrollWidth>i.clientWidth&&(t=i),i=i.assignedSlot||i.parentNode;else{if(11!=i.nodeType)break;i=i.host}return{x:t,y:r}}(e.contentDOM),this.atoms=e.state.facet(ht).map(t=>t(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(n.EditorState.allowMultipleSelections)&&function(e,t){let r=e.state.facet(je);return r.length?r[0](t):D.mac?t.metaKey:t.ctrlKey}(e,t),this.dragging=!(!function(e,t){let{main:r}=e.state.selection;if(r.empty)return!1;let n=y(e.root);if(!n||0==n.rangeCount)return!0;let i=n.getRangeAt(0).getClientRects();for(let e=0;e<i.length;e++){let r=i[e];if(r.left<=t.clientX&&r.right>=t.clientX&&r.top<=t.clientY&&r.bottom>=t.clientY)return!0}return!1}(e,t)||1!=fr(t))&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&(t=this.startEvent,r=e,Math.max(Math.abs(t.clientX-r.clientX),Math.abs(t.clientY-r.clientY))<10))return;var t,r;this.select(this.lastEvent=e);let n=0,i=0,s=0,o=0,a=this.view.win.innerWidth,l=this.view.win.innerHeight;this.scrollParents.x&&({left:s,right:a}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:o,bottom:l}=this.scrollParents.y.getBoundingClientRect());let u=gt(this.view);e.clientX-u.left<=s+6?n=-Kt(s-e.clientX):e.clientX+u.right>=a-6&&(n=Kt(e.clientX-a)),e.clientY-u.top<=o+6?i=-Kt(o-e.clientY):e.clientY+u.bottom>=l-6&&(i=Kt(e.clientY-l)),this.setScrollSpeed(n,i)}up(e){null==this.dragging&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),!1===this.dragging&&this.select(this.lastEvent)}select(e){let{view:t}=this,r=Nt(this.atoms,this.style.get(e,this.extend,this.multiple));!this.mustSelect&&r.eq(t.state.selection,!1===this.dragging)||this.view.dispatch({selection:r,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(e=>e.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}const tr=Object.create(null),rr=Object.create(null),nr=D.ie&&D.ie_version<15||D.ios&&D.webkit_version<604;function ir(e,t,r){for(let n of e.facet(t))r=n(r,e);return r}function sr(e,t){t=ir(e.state,Ye,t);let r,{state:i}=e,s=1,o=i.toText(t),a=o.lines==i.selection.ranges.length;if(null!=gr&&i.selection.ranges.every(e=>e.empty)&&gr==o.toString()){let e=-1;r=i.changeByRange(r=>{let l=i.doc.lineAt(r.from);if(l.from==e)return{range:r};e=l.from;let u=i.toText((a?o.line(s++).text:t)+i.lineBreak);return{changes:{from:l.from,insert:u},range:n.EditorSelection.cursor(r.from+u.length)}})}else r=a?i.changeByRange(e=>{let t=o.line(s++);return{changes:{from:e.from,to:e.to,insert:t.text},range:n.EditorSelection.cursor(e.from+t.length)}}):i.replaceSelection(o);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}function or(e,t,r,i){if(1==i)return n.EditorSelection.cursor(t,r);if(2==i)return function(e,t,r=1){let i=e.charCategorizer(t),s=e.doc.lineAt(t),o=t-s.from;if(0==s.length)return n.EditorSelection.cursor(t);0==o?r=1:o==s.length&&(r=-1);let a=o,l=o;r<0?a=n.findClusterBreak(s.text,o,!1):l=n.findClusterBreak(s.text,o);let u=i(s.text.slice(a,l));for(;a>0;){let e=n.findClusterBreak(s.text,a,!1);if(i(s.text.slice(e,a))!=u)break;a=e}for(;l<s.length;){let e=n.findClusterBreak(s.text,l);if(i(s.text.slice(l,e))!=u)break;l=e}return n.EditorSelection.range(a+s.from,l+s.from)}(e.state,t,r);{let r=ge.find(e.docView,t),i=e.state.doc.lineAt(r?r.posAtEnd:t),s=r?r.posAtStart:i.from,o=r?r.posAtEnd:i.to;return o<e.state.doc.length&&o==i.to&&o++,n.EditorSelection.range(s,o)}}rr.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},tr.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),rr.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},rr.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},tr.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let n of e.state.facet(Ze))if(r=n(e,t),r)break;if(r||0!=t.button||(r=function(e,t){let r=ur(e,t),i=fr(t),s=e.state.selection;return{update(e){e.docChanged&&(r.pos=e.changes.mapPos(r.pos),s=s.map(e.changes))},get(t,o,a){let l,u=ur(e,t),c=or(e,u.pos,u.bias,i);if(r.pos!=u.pos&&!o){let t=or(e,r.pos,r.bias,i),s=Math.min(t.from,c.from),o=Math.max(t.to,c.to);c=s<c.from?n.EditorSelection.range(s,o):n.EditorSelection.range(o,s)}return o?s.replaceRange(s.main.extend(c.from,c.to)):a&&1==i&&s.ranges.length>1&&(l=function(e,t){for(let r=0;r<e.ranges.length;r++){let{from:i,to:s}=e.ranges[r];if(i<=t&&s>=t)return n.EditorSelection.create(e.ranges.slice(0,r).concat(e.ranges.slice(r+1)),e.mainIndex==r?0:e.mainIndex-(e.mainIndex>r?1:0))}return null}(s,u.pos))?l:a?s.addRange(c):n.EditorSelection.create([c])}}}(e,t)),r){let n=!e.hasFocus;e.inputState.startMouseSelection(new er(e,t,r,n)),n&&e.observer.ignore(()=>{B(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let i=e.inputState.mouseSelection;if(i)return i.start(t),!1===i.dragging}else e.inputState.setSelectionOrigin("select.pointer");return!1};let ar=(e,t,r)=>t>=r.top&&t<=r.bottom&&e>=r.left&&e<=r.right;function lr(e,t,r,n){let i=ge.find(e.docView,t);if(!i)return 1;let s=t-i.posAtStart;if(0==s)return 1;if(s==i.length)return-1;let o=i.coordsAt(s,-1);if(o&&ar(r,n,o))return-1;let a=i.coordsAt(s,1);return a&&ar(r,n,a)?1:o&&o.bottom>=n?-1:1}function ur(e,t){let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:r,bias:lr(e,r,t.clientX,t.clientY)}}const cr=D.ie&&D.ie_version<=11;let pr=null,hr=0,dr=0;function fr(e){if(!cr)return e.detail;let t=pr,r=dr;return pr=e,dr=Date.now(),hr=!t||r>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(hr+1)%3:1}function mr(e,t,r,n){if(!(r=ir(e.state,Ye,r)))return;let i=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:s}=e.inputState,o=n&&s&&function(e,t){let r=e.state.facet(Xe);return r.length?r[0](t):D.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:s.from,to:s.to}:null,a={from:i,insert:r},l=e.state.changes(o?[o,a]:a);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:o?"move.drop":"input.drop"}),e.inputState.draggedContent=null}tr.dragstart=(e,t)=>{let{selection:{main:r}}=e.state;if(t.target.draggable){let i=e.docView.nearest(t.target);if(i&&i.isWidget){let e=i.posAtStart,t=e+i.length;(e>=r.to||t<=r.from)&&(r=n.EditorSelection.range(e,t))}}let{inputState:i}=e;return i.mouseSelection&&(i.mouseSelection.dragging=!0),i.draggedContent=r,t.dataTransfer&&(t.dataTransfer.setData("Text",ir(e.state,Ge,e.state.sliceDoc(r.from,r.to))),t.dataTransfer.effectAllowed="copyMove"),!1},tr.dragend=e=>(e.inputState.draggedContent=null,!1),tr.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let r=t.dataTransfer.files;if(r&&r.length){let n=Array(r.length),i=0,s=()=>{++i==r.length&&mr(e,t,n.filter(e=>null!=e).join(e.state.lineBreak),!1)};for(let e=0;e<r.length;e++){let t=new FileReader;t.onerror=s,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(n[e]=t.result),s()},t.readAsText(r[e])}return!0}{let r=t.dataTransfer.getData("Text");if(r)return mr(e,t,r,!0),!0}return!1},tr.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let r=nr?null:t.clipboardData;return r?(sr(e,r.getData("text/plain")||r.getData("text/uri-list")),!0):(function(e){let t=e.dom.parentNode;if(!t)return;let r=t.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{e.focus(),r.remove(),sr(e,r.value)},50)}(e),!1)};let gr=null;tr.copy=tr.cut=(e,t)=>{let{text:r,ranges:n,linewise:i}=function(e){let t=[],r=[],n=!1;for(let n of e.selection.ranges)n.empty||(t.push(e.sliceDoc(n.from,n.to)),r.push(n));if(!t.length){let i=-1;for(let{from:n}of e.selection.ranges){let s=e.doc.lineAt(n);s.number>i&&(t.push(s.text),r.push({from:s.from,to:Math.min(e.doc.length,s.to+1)})),i=s.number}n=!0}return{text:ir(e,Ge,t.join(e.lineBreak)),ranges:r,linewise:n}}(e.state);if(!r&&!i)return!1;gr=i?r:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=nr?null:t.clipboardData;return s?(s.clearData(),s.setData("text/plain",r),!0):(function(e,t){let r=e.dom.parentNode;if(!r)return;let n=r.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=t,n.focus(),n.selectionEnd=t.length,n.selectionStart=0,setTimeout(()=>{n.remove(),e.focus()},50)}(e,r),!1)};const Or=n.Annotation.define();function Dr(e,t){let r=[];for(let n of e.facet(We)){let i=n(e,t);i&&r.push(i)}return r.length?e.update({effects:r,annotations:Or.of(!0)}):null}function yr(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let r=Dr(e.state,t);r?e.dispatch(r):e.update([])}},10)}rr.focus=e=>{e.inputState.lastFocusTime=Date.now(),e.scrollDOM.scrollTop||!e.inputState.lastScrollTop&&!e.inputState.lastScrollLeft||(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),yr(e)},rr.blur=e=>{e.observer.clearSelectionRange(),yr(e)},rr.compositionstart=rr.compositionupdate=e=>{e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},rr.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,D.chrome&&D.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},rr.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},tr.beforeinput=(e,t)=>{var r,n;if("insertReplacementText"==t.inputType&&e.observer.editContext){let n=null===(r=t.dataTransfer)||void 0===r?void 0:r.getData("text/plain"),i=t.getTargetRanges();if(n&&i.length){let t=i[0],r=e.posAtDOM(t.startContainer,t.startOffset),s=e.posAtDOM(t.endContainer,t.endOffset);return qt(e,{from:r,to:s,insert:e.state.toText(n)},null),!0}}let i;if(D.chrome&&D.android&&(i=Ut.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(i.key,i.keyCode),"Backspace"==i.key||"Delete"==i.key)){let t=(null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0;setTimeout(()=>{var r;((null===(r=window.visualViewport)||void 0===r?void 0:r.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return D.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),D.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>rr.compositionend(e,t),20),!1};const vr=new Set,Sr=["pre-wrap","normal","pre-line","break-spaces"];let Cr=!1;function br(){Cr=!1}class Er{constructor(e){this.lineWrapping=e,this.doc=n.Text.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let r=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((t-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Sr.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];n<0?r++:this.heightSamples[Math.floor(10*n)]||(t=!0,this.heightSamples[Math.floor(10*n)]=!0)}return t}refresh(e,t,r,n,i,s){let o=Sr.indexOf(e)>-1,a=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=r,this.textHeight=n,this.lineLength=i,a){this.heightSamples={};for(let e=0;e<s.length;e++){let t=s[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return a}}class xr{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class wr{constructor(e,t,r,n,i){this.from=e,this.length=t,this.top=r,this.height=n,this._content=i}get type(){return"number"==typeof this._content?t.BlockType.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof de?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new wr(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var Ar;!function(e){e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight"}(Ar||(Ar={}));const Tr=.001;class kr{constructor(e,t,r=2){this.length=e,this.height=t,this.flags=r}get outdated(){return(2&this.flags)>0}set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>Tr&&(Cr=!0),this.height=e)}replace(e,t,r){return kr.of(r)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,r,n){let i=this,s=r.doc;for(let o=n.length-1;o>=0;o--){let{fromA:a,toA:l,fromB:u,toB:c}=n[o],p=i.lineAt(a,Ar.ByPosNoHeight,r.setDoc(t),0,0),h=p.to>=l?p:i.lineAt(l,Ar.ByPosNoHeight,r,0,0);for(c+=h.to-l,l=h.to;o>0&&p.from<=n[o-1].toA;)a=n[o-1].fromA,u=n[o-1].fromB,o--,a<p.from&&(p=i.lineAt(a,Ar.ByPosNoHeight,r,0,0));u+=p.from-a,a=p.from;let d=Nr.build(r.setDoc(s),e,u,c);i=Fr(i,i.replace(a,l,d))}return i.updateHeight(r,0)}static empty(){return new Qr(0,0)}static of(e){if(1==e.length)return e[0];let t=0,r=e.length,n=0,i=0;for(;;)if(t==r)if(n>2*i){let i=e[t-1];i.break?e.splice(--t,1,i.left,null,i.right):e.splice(--t,1,i.left,i.right),r+=1+i.break,n-=i.size}else{if(!(i>2*n))break;{let t=e[r];t.break?e.splice(r,1,t.left,null,t.right):e.splice(r,1,t.left,t.right),r+=2+t.break,i-=t.size}}else if(n<i){let r=e[t++];r&&(n+=r.size)}else{let t=e[--r];t&&(i+=t.size)}let s=0;return null==e[t-1]?(s=1,t--):null==e[t]&&(s=1,r++),new Br(kr.of(e.slice(0,t)),s,kr.of(e.slice(r)))}}function Fr(e,t){return e==t?e:(e.constructor!=t.constructor&&(Cr=!0),t)}kr.prototype.size=1;class Pr extends kr{constructor(e,t,r){super(e,t),this.deco=r}blockAt(e,t,r,n){return new wr(n,this.length,r,this.height,this.deco||0)}lineAt(e,t,r,n,i){return this.blockAt(0,r,n,i)}forEachLine(e,t,r,n,i,s){e<=i+this.length&&t>=i&&s(this.blockAt(0,r,n,i))}updateHeight(e,t=0,r=!1,n){return n&&n.from<=t&&n.more&&this.setHeight(n.heights[n.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Qr extends Pr{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,r,n){return new wr(n,this.length,r,this.height,this.breaks)}replace(e,t,r){let n=r[0];return 1==r.length&&(n instanceof Qr||n instanceof $r&&4&n.flags)&&Math.abs(this.length-n.length)<10?(n instanceof $r?n=new Qr(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):kr.of(r)}updateHeight(e,t=0,r=!1,n){return n&&n.from<=t&&n.more?this.setHeight(n.heights[n.index++]):(r||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class $r extends kr{constructor(e){super(e,0)}heightMetrics(e,t){let r,n=e.doc.lineAt(t).number,i=e.doc.lineAt(t+this.length).number,s=i-n+1,o=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*s);r=t/s,this.length>s+1&&(o=(this.height-t)/(this.length-s-1))}else r=this.height/s;return{firstLine:n,lastLine:i,perLine:r,perChar:o}}blockAt(e,t,r,n){let{firstLine:i,lastLine:s,perLine:o,perChar:a}=this.heightMetrics(t,n);if(t.lineWrapping){let i=n+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-r)/this.height))*this.length)),s=t.doc.lineAt(i),l=o+s.length*a,u=Math.max(r,e-l/2);return new wr(s.from,s.length,u,l,0)}{let n=Math.max(0,Math.min(s-i,Math.floor((e-r)/o))),{from:a,length:l}=t.doc.line(i+n);return new wr(a,l,r+o*n,o,0)}}lineAt(e,t,r,n,i){if(t==Ar.ByHeight)return this.blockAt(e,r,n,i);if(t==Ar.ByPosNoHeight){let{from:t,to:n}=r.doc.lineAt(e);return new wr(t,n-t,0,0,0)}let{firstLine:s,perLine:o,perChar:a}=this.heightMetrics(r,i),l=r.doc.lineAt(e),u=o+l.length*a,c=l.number-s,p=n+o*c+a*(l.from-i-c);return new wr(l.from,l.length,Math.max(n,Math.min(p,n+this.height-u)),u,0)}forEachLine(e,t,r,n,i,s){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:o,perLine:a,perChar:l}=this.heightMetrics(r,i);for(let u=e,c=n;u<=t;){let t=r.doc.lineAt(u);if(u==e){let r=t.number-o;c+=a*r+l*(e-i-r)}let n=a+l*t.length;s(new wr(t.from,t.length,c,n,0)),c+=n,u=t.to+1}}replace(e,t,r){let n=this.length-t;if(n>0){let e=r[r.length-1];e instanceof $r?r[r.length-1]=new $r(e.length+n):r.push(null,new $r(n-1))}if(e>0){let t=r[0];t instanceof $r?r[0]=new $r(e+t.length):r.unshift(new $r(e-1),null)}return kr.of(r)}decomposeLeft(e,t){t.push(new $r(e-1),null)}decomposeRight(e,t){t.push(null,new $r(this.length-e-1))}updateHeight(e,t=0,r=!1,n){let i=t+this.length;if(n&&n.from<=t+this.length&&n.more){let r=[],s=Math.max(t,n.from),o=-1;for(n.from>t&&r.push(new $r(n.from-t-1).updateHeight(e,t));s<=i&&n.more;){let t=e.doc.lineAt(s).length;r.length&&r.push(null);let i=n.heights[n.index++];-1==o?o=i:Math.abs(i-o)>=Tr&&(o=-2);let a=new Qr(t,i);a.outdated=!1,r.push(a),s+=t+1}s<=i&&r.push(null,new $r(i-s).updateHeight(e,s));let a=kr.of(r);return(o<0||Math.abs(a.height-this.height)>=Tr||Math.abs(o-this.heightMetrics(e,t).perLine)>=Tr)&&(Cr=!0),Fr(this,a)}return(r||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class Br extends kr{constructor(e,t,r){super(e.length+t+r.length,e.height+r.height,t|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return 1&this.flags}blockAt(e,t,r,n){let i=r+this.left.height;return e<i?this.left.blockAt(e,t,r,n):this.right.blockAt(e,t,i,n+this.left.length+this.break)}lineAt(e,t,r,n,i){let s=n+this.left.height,o=i+this.left.length+this.break,a=t==Ar.ByHeight?e<s:e<o,l=a?this.left.lineAt(e,t,r,n,i):this.right.lineAt(e,t,r,s,o);if(this.break||(a?l.to<o:l.from>o))return l;let u=t==Ar.ByPosNoHeight?Ar.ByPosNoHeight:Ar.ByPos;return a?l.join(this.right.lineAt(o,u,r,s,o)):this.left.lineAt(o,u,r,n,i).join(l)}forEachLine(e,t,r,n,i,s){let o=n+this.left.height,a=i+this.left.length+this.break;if(this.break)e<a&&this.left.forEachLine(e,t,r,n,i,s),t>=a&&this.right.forEachLine(e,t,r,o,a,s);else{let l=this.lineAt(a,Ar.ByPos,r,n,i);e<l.from&&this.left.forEachLine(e,l.from-1,r,n,i,s),l.to>=e&&l.from<=t&&s(l),t>l.to&&this.right.forEachLine(l.to+1,t,r,o,a,s)}}replace(e,t,r){let n=this.left.length+this.break;if(t<n)return this.balanced(this.left.replace(e,t,r),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-n,t-n,r));let i=[];e>0&&this.decomposeLeft(e,i);let s=i.length;for(let e of r)i.push(e);if(e>0&&_r(i,s-1),t<this.length){let e=i.length;this.decomposeRight(t,i),_r(i,e)}return kr.of(i)}decomposeLeft(e,t){let r=this.left.length;if(e<=r)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(r++,e>=r&&t.push(null)),e>r&&this.right.decomposeLeft(e-r,t)}decomposeRight(e,t){let r=this.left.length,n=r+this.break;if(e>=n)return this.right.decomposeRight(e-n,t);e<r&&this.left.decomposeRight(e,t),this.break&&e<n&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?kr.of(this.break?[e,null,t]:[e,t]):(this.left=Fr(this.left,e),this.right=Fr(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,r=!1,n){let{left:i,right:s}=this,o=t+i.length+this.break,a=null;return n&&n.from<=t+i.length&&n.more?a=i=i.updateHeight(e,t,r,n):i.updateHeight(e,t,r),n&&n.from<=o+s.length&&n.more?a=s=s.updateHeight(e,o,r,n):s.updateHeight(e,o,r),a?this.balanced(i,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function _r(e,t){let r,n;null==e[t]&&(r=e[t-1])instanceof $r&&(n=e[t+1])instanceof $r&&e.splice(t-1,3,new $r(r.length+1+n.length))}class Nr{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof Qr?r.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new Qr(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,r){if(e<t||r.heightRelevant){let n=r.widget?r.widget.estimatedHeight:0,i=r.widget?r.widget.lineBreaks:0;n<0&&(n=this.oracle.lineHeight);let s=t-e;r.block?this.addBlock(new Pr(s,n,r)):(s||i||n>=5)&&this.addLineDeco(n,i,s)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new Qr(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let r=new $r(t-e);return this.oracle.doc.lineAt(e).to==t&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Qr)return e;let t=new Qr(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,r){let n=this.ensureLine();n.length+=r,n.collapsed+=r,n.widgetHeight=Math.max(n.widgetHeight,e),n.breaks+=t,this.writtenTo=this.pos=this.pos+r}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof Qr||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new Qr(0,-1));let r=e;for(let e of this.nodes)e instanceof Qr&&e.updateHeight(this.oracle,r),r+=e?e.length:1;return this.nodes}static build(e,t,r,i){let s=new Nr(r,e);return n.RangeSet.spans(t,r,i,s,0),s.finish(r)}}class Mr{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,r,n){(e<t||r&&r.heightRelevant||n&&n.heightRelevant)&&me(e,t,this.changes,5)}}function Rr(e,t){let r=e.getBoundingClientRect(),n=e.ownerDocument,i=n.defaultView||window,s=Math.max(0,r.left),o=Math.min(i.innerWidth,r.right),a=Math.max(0,r.top),l=Math.min(i.innerHeight,r.bottom);for(let t=e.parentNode;t&&t!=n.body;)if(1==t.nodeType){let r=t,n=window.getComputedStyle(r);if((r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth)&&"visible"!=n.overflow){let n=r.getBoundingClientRect();s=Math.max(s,n.left),o=Math.min(o,n.right),a=Math.max(a,n.top),l=Math.min(t==e.parentNode?i.innerHeight:l,n.bottom)}t="absolute"==n.position||"fixed"==n.position?r.offsetParent:r.parentNode}else{if(11!=t.nodeType)break;t=t.host}return{left:s-r.left,right:Math.max(s,o)-r.left,top:a-(r.top+t),bottom:Math.max(a,l)-(r.top+t)}}function Lr(e,t){let r=e.getBoundingClientRect();return{left:0,right:r.right-r.left,top:t,bottom:r.bottom-(r.top+t)}}class Ir{constructor(e,t,r,n){this.from=e,this.to=t,this.size=r,this.displaySize=n}static same(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],i=t[r];if(n.from!=i.from||n.to!=i.to||n.size!=i.size)return!1}return!0}draw(e,t){return ce.replace({widget:new jr(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class jr extends ae{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class Xr{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=zr,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=t.Direction.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let r=e.facet(ut).some(e=>"function"!=typeof e&&"cm-lineWrapping"==e.class);this.heightOracle=new Er(r),this.stateDeco=e.facet(ct).filter(e=>"function"!=typeof e),this.heightMap=kr.empty().applyChanges(this.stateDeco,n.Text.empty,this.heightOracle.setDoc(e.doc),[new Dt(0,0,0,e.doc.length)]);for(let e=0;e<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());e++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ce.set(this.lineGaps.map(e=>e.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let r=0;r<=1;r++){let n=r?t.head:t.anchor;if(!e.some(({from:e,to:t})=>n>=e&&n<=t)){let{from:t,to:r}=this.lineBlockAt(n);e.push(new Zr(t,r))}}return this.viewports=e.sort((e,t)=>e.from-t.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?zr:new Wr(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(Yr(e,this.scaler))})}update(e,t=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(ct).filter(e=>"function"!=typeof e);let i=e.changedRanges,s=Dt.extendWithRanges(i,function(e,t,r){let i=new Mr;return n.RangeSet.compare(e,t,r,i,0),i.changes}(r,this.stateDeco,e?e.changes:n.ChangeSet.empty(this.state.doc.length))),o=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);br(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=o||Cr)&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o);let l=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<l.from||t.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,t));let u=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(u||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(He)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let r=e.contentDOM,i=window.getComputedStyle(r),s=this.heightOracle,o=i.whiteSpace;this.defaultTextDirection="rtl"==i.direction?t.Direction.RTL:t.Direction.LTR;let a=this.heightOracle.mustRefreshForWrapping(o),l=r.getBoundingClientRect(),u=a||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let c=0,p=0;if(l.width&&l.height){let{scaleX:e,scaleY:t}=F(r,l);(e>.005&&Math.abs(this.scaleX-e)>.005||t>.005&&Math.abs(this.scaleY-t)>.005)&&(this.scaleX=e,this.scaleY=t,c|=16,a=u=!0)}let h=(parseInt(i.paddingTop)||0)*this.scaleY,d=(parseInt(i.paddingBottom)||0)*this.scaleY;this.paddingTop==h&&this.paddingBottom==d||(this.paddingTop=h,this.paddingBottom=d,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(s.lineWrapping&&(u=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let f=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=f&&(this.scrollAnchorHeight=-1,this.scrollTop=f),this.scrolledToBottom=R(e.scrollDOM);let m=(this.printing?Lr:Rr)(r,this.paddingTop),g=m.top-this.pixelViewport.top,O=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let D=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(D!=this.inView&&(this.inView=D,D&&(u=!0)),!this.inView&&!this.scrollTarget&&!function(e){let t=e.getBoundingClientRect(),r=e.ownerDocument.defaultView||window;return t.left<r.innerWidth&&t.right>0&&t.top<r.innerHeight&&t.bottom>0}(e.dom))return 0;let y=l.width;if(this.contentDOMWidth==y&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),u){let t=e.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(t)&&(a=!0),a||s.lineWrapping&&Math.abs(y-this.contentDOMWidth)>s.charWidth){let{lineHeight:r,charWidth:n,textHeight:i}=e.docView.measureTextSize();a=r>0&&s.refresh(o,r,n,i,Math.max(5,y/n),t),a&&(e.docView.minWidth=0,c|=16)}g>0&&O>0?p=Math.max(g,O):g<0&&O<0&&(p=Math.min(g,O)),br();for(let r of this.viewports){let i=r.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(r);this.heightMap=(a?kr.empty().applyChanges(this.stateDeco,n.Text.empty,this.heightOracle,[new Dt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(s,0,a,new xr(r.from,i))}Cr&&(c|=2)}let v=!this.viewportIsAppropriate(this.viewport,p)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return v&&(2&c&&(c|=this.updateScaler()),this.viewport=this.getViewport(p,this.scrollTarget),c|=this.updateForViewport()),(2&c||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),n=this.heightMap,i=this.heightOracle,{visibleTop:s,visibleBottom:o}=this,a=new Zr(n.lineAt(s-1e3*r,Ar.ByHeight,i,0,0).from,n.lineAt(o+1e3*(1-r),Ar.ByHeight,i,0,0).to);if(t){let{head:e}=t.range;if(e<a.from||e>a.to){let r,s=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),o=n.lineAt(e,Ar.ByPos,i,0,0);r="center"==t.y?(o.top+o.bottom)/2-s/2:"start"==t.y||"nearest"==t.y&&e<a.from?o.top:o.bottom-s,a=new Zr(n.lineAt(r-500,Ar.ByHeight,i,0,0).from,n.lineAt(r+s+500,Ar.ByHeight,i,0,0).to)}}return a}mapViewport(e,t){let r=t.mapPos(e.from,-1),n=t.mapPos(e.to,1);return new Zr(this.heightMap.lineAt(r,Ar.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(n,Ar.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},r=0){if(!this.inView)return!0;let{top:n}=this.heightMap.lineAt(e,Ar.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(t,Ar.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:o}=this;return(0==e||n<=s-Math.max(10,Math.min(-r,250)))&&(t==this.state.doc.length||i>=o+Math.max(10,Math.min(r,250)))&&n>s-2e3&&i<o+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let r=[];for(let n of e)t.touchesRange(n.from,n.to)||r.push(new Ir(t.mapPos(n.from),t.mapPos(n.to),n.size,n.displaySize));return r}ensureLineGaps(e,r){let i=this.heightOracle.lineWrapping,s=i?1e4:2e3,o=s>>1,a=s<<1;if(this.defaultTextDirection!=t.Direction.LTR&&!i)return[];let l=[],u=(t,s,a,c)=>{if(s-t<o)return;let p=this.state.selection.main,h=[p.from];p.empty||h.push(p.to);for(let e of h)if(e>t&&e<s)return u(t,e-10,a,c),void u(e+10,s,a,c);let d=function(e,t){for(let r of e)if(t(r))return r}(e,e=>e.from>=a.from&&e.to<=a.to&&Math.abs(e.from-t)<o&&Math.abs(e.to-s)<o&&!h.some(t=>e.from<t&&e.to>t));if(!d){if(s<a.to&&r&&i&&r.visibleRanges.some(e=>e.from<=s&&e.to>=s)){let e=r.moveToLineBoundary(n.EditorSelection.cursor(s),!1,!0).head;e>t&&(s=e)}let e=this.gapSize(a,t,s,c);d=new Ir(t,s,e,i||e<2e6?e:2e6)}l.push(d)},c=r=>{if(r.length<a||r.type!=t.BlockType.Text)return;let o=function(e,t,r){let i=[],s=e,o=0;return n.RangeSet.spans(r,e,t,{span(){},point(e,t){e>s&&(i.push({from:s,to:e}),o+=e-s),s=t}},20),s<t&&(i.push({from:s,to:t}),o+=t-s),{total:o,ranges:i}}(r.from,r.to,this.stateDeco);if(o.total<a)return;let l,c,p=this.scrollTarget?this.scrollTarget.range.head:null;if(i){let e,t,n=s/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=p){let i=qr(o,p),s=((this.visibleBottom-this.visibleTop)/2+n)/r.height;e=i-s,t=i+s}else e=(this.visibleTop-r.top-n)/r.height,t=(this.visibleBottom-r.top+n)/r.height;l=Vr(o,e),c=Vr(o,t)}else{let t=o.total*this.heightOracle.charWidth,n=s*this.heightOracle.charWidth,i=0;if(t>2e6)for(let t of e)t.from>=r.from&&t.from<r.to&&t.size!=t.displaySize&&t.from*this.heightOracle.charWidth+i<this.pixelViewport.left&&(i=t.size-t.displaySize);let a,u,h=this.pixelViewport.left+i,d=this.pixelViewport.right+i;if(null!=p){let e=qr(o,p),r=((d-h)/2+n)/t;a=e-r,u=e+r}else a=(h-n)/t,u=(d+n)/t;l=Vr(o,a),c=Vr(o,u)}l>r.from&&u(r.from,l,r,o),c<r.to&&u(c,r.to,r,o)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(c):c(e);return l}gapSize(e,t,r,n){let i=qr(n,r)-qr(n,t);return this.heightOracle.lineWrapping?e.height*i:n.total*this.heightOracle.charWidth*i}updateLineGaps(e){Ir.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=ce.set(e.map(e=>e.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let r=[];n.RangeSet.spans(t,this.viewport.from,this.viewport.to,{span(e,t){r.push({from:e,to:t})},point(){}},20);let i=0;if(r.length!=this.visibleRanges.length)i=12;else for(let t=0;t<r.length&&!(8&i);t++){let n=this.visibleRanges[t],s=r[t];n.from==s.from&&n.to==s.to||(i|=4,e&&e.mapPos(n.from,-1)==s.from&&e.mapPos(n.to,1)==s.to||(i|=8))}return this.visibleRanges=r,i}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Yr(this.heightMap.lineAt(e,Ar.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||Yr(this.heightMap.lineAt(this.scaler.fromDOM(e),Ar.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Yr(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Zr{constructor(e,t){this.from=e,this.to=t}}function Vr({total:e,ranges:t},r){if(r<=0)return t[0].from;if(r>=1)return t[t.length-1].to;let n=Math.floor(e*r);for(let e=0;;e++){let{from:r,to:i}=t[e],s=i-r;if(n<=s)return r+n;n-=s}}function qr(e,t){let r=0;for(let{from:n,to:i}of e.ranges){if(t<=i){r+=t-n;break}r+=i-n}return r/e.total}const zr={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};class Wr{constructor(e,t,r){let n=0,i=0,s=0;this.viewports=r.map(({from:r,to:i})=>{let s=t.lineAt(r,Ar.ByPos,e,0,0).top,o=t.lineAt(i,Ar.ByPos,e,0,0).bottom;return n+=o-s,{from:r,to:i,top:s,bottom:o,domTop:0,domBottom:0}}),this.scale=(7e6-n)/(t.height-n);for(let e of this.viewports)e.domTop=s+(e.top-i)*this.scale,s=e.domBottom=e.domTop+(e.bottom-e.top),i=e.bottom}toDOM(e){for(let t=0,r=0,n=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return n+(e-r)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);r=i.bottom,n=i.domBottom}}fromDOM(e){for(let t=0,r=0,n=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return r+(e-n)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);r=i.bottom,n=i.domBottom}}eq(e){return e instanceof Wr&&this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((t,r)=>t.from==e.viewports[r].from&&t.to==e.viewports[r].to)}}function Yr(e,t){if(1==t.scale)return e;let r=t.toDOM(e.top),n=t.toDOM(e.bottom);return new wr(e.from,e.length,r,n-r,Array.isArray(e._content)?e._content.map(e=>Yr(e,t)):e._content)}const Gr=n.Facet.define({combine:e=>e.join(" ")}),Ur=n.Facet.define({combine:e=>e.indexOf(!0)>-1}),Hr=i.StyleModule.newName(),Jr=i.StyleModule.newName(),Kr=i.StyleModule.newName(),en={"&light":"."+Jr,"&dark":"."+Kr};function tn(e,t,r){return new i.StyleModule(t,{finish:t=>/&/.test(t)?t.replace(/&\w*/,t=>{if("&"==t)return e;if(!r||!r[t])throw new RangeError(`Unsupported selector: ${t}`);return r[t]}):e+" "+t})}const rn=tn("."+Hr,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},en),nn={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},sn=D.ie&&D.ie_version<=11;class on{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new P,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(D.ie&&D.ie_version<=11||D.ios&&e.composing)&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),!window.EditContext||!D.android||!1===e.constructor.EDIT_CONTEXT||D.chrome&&D.chrome_version<126||(this.editContext=new un(e),e.state.facet(nt)&&(e.contentDOM.editContext=this.editContext.editContext)),sn&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver(()=>{var e;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){("change"!=e.type&&e.type||e.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,r)=>t!=e[r]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,n=this.selectionRange;if(r.state.facet(nt)?r.root.activeElement!=this.dom:!S(this.dom,n))return;let i=n.anchorNode&&r.docView.nearest(n.anchorNode);i&&i.ignoreEvent(e)?t||(this.selectionChanged=!1):(D.ie&&D.ie_version<=11||D.android&&D.chrome)&&!r.state.selection.main.empty&&n.focusNode&&b(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=y(e.root);if(!t)return!1;let r=D.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){if(t.getComposedRanges){let r=t.getComposedRanges(e.root)[0];if(r)return ln(e,r)}let r=null;function n(e){e.preventDefault(),e.stopImmediatePropagation(),r=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",n,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",n,!0),r?ln(e,r):null}(this.view,t)||t;if(!r||this.selectionRange.eq(r))return!1;let n=S(this.dom,r);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){let r=t.focusNode,n=t.focusOffset;if(!r||t.anchorNode!=r||t.anchorOffset!=n)return!1;for(n=Math.min(n,A(r));;)if(n){if(1!=r.nodeType)return!1;let e=r.childNodes[n-1];"false"==e.contentEditable?n--:(r=e,n=A(r))}else{if(r==e)return!0;n=E(r),r=r.parentNode}}(this.dom,r)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(r),n&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let r=this.dom;r;)if(1==r.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==r?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(r),r=r.assignedSlot||r.parentNode;else{if(11!=r.nodeType)break;r=r.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,nn),sn&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),sn&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var r;if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&N(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(null===(r=this.delayedAndroidKey)||void 0===r?void 0:r.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,r=-1,n=!1;for(let i of e){let e=this.readMutation(i);e&&(e.typeOver&&(n=!0),-1==t?({from:t,to:r}=e):(t=Math.min(e.from,t),r=Math.max(e.to,r)))}return{from:t,to:r,typeOver:n}}readChange(){let{from:e,to:t,typeOver:r}=this.processRecords(),n=this.selectionChanged&&S(this.dom,this.selectionRange);if(e<0&&!n)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new Zt(this.view,e,t,r);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let r=this.view.state,n=Vt(this.view,t);return this.view.state==r&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),n}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),"childList"==e.type){let r=an(t,e.previousSibling||e.target.previousSibling,-1),n=an(t,e.nextSibling||e.target.nextSibling,1);return{from:r?t.posAfter(r):t.posAtStart,to:n?t.posBefore(n):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(nt)!=e.state.facet(nt)&&(e.view.contentDOM.editContext=e.state.facet(nt)?this.editContext.editContext:null))}destroy(){var e,t,r;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(r=this.resizeScroll)||void 0===r||r.disconnect();for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function an(e,t,r){for(;t;){let n=Z.get(t);if(n&&n.parent==e)return n;let i=t.parentNode;t=i!=e.dom?i:r>0?t.nextSibling:t.previousSibling}return null}function ln(e,t){let r=t.startContainer,n=t.startOffset,i=t.endContainer,s=t.endOffset,o=e.docView.domAtPos(e.state.selection.main.anchor);return b(o.node,o.offset,i,s)&&([r,n,i,s]=[i,s,r,n]),{anchorNode:r,anchorOffset:n,focusNode:i,focusOffset:s}}class un{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=r=>{let i=e.state.selection.main,{anchor:s,head:o}=i,a=this.toEditorPos(r.updateRangeStart),l=this.toEditorPos(r.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:r.updateRangeStart,editorBase:a,drifted:!1});let u=l-a>r.text.length;a==this.from&&s<this.from?a=s:l==this.to&&s>this.to&&(l=s);let c=zt(e.state.sliceDoc(a,l),r.text,(u?i.from:i.to)-a,u?"end":null);if(!c){let t=n.EditorSelection.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd));return void(t.main.eq(i)||e.dispatch({selection:t,userEvent:"select"}))}let p={from:c.from+a,to:c.toA+a,insert:n.Text.of(r.text.slice(c.from,c.toB).split("\n"))};if((D.mac||D.android)&&p.from==o-1&&/^\. ?$/.test(r.text)&&"off"==e.contentDOM.getAttribute("autocorrect")&&(p={from:a,to:l,insert:n.Text.of([r.text.replace("."," ")])}),this.pendingContextChange=p,!e.state.readOnly){let t=this.to-this.from+(p.to-p.from+p.insert.length);qt(e,p,n.EditorSelection.single(this.toEditorPos(r.selectionStart,t),this.toEditorPos(r.selectionEnd,t)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),p.from<p.to&&!p.insert.length&&e.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(t.text.slice(Math.max(0,r.updateRangeStart-1),Math.min(t.text.length,r.updateRangeStart+1)))&&this.handlers.compositionend(r)},this.handlers.characterboundsupdate=r=>{let n=[],i=null;for(let t=this.toEditorPos(r.rangeStart),s=this.toEditorPos(r.rangeEnd);t<s;t++){let r=e.coordsForChar(t);i=r&&new DOMRect(r.left,r.top,r.right-r.left,r.bottom-r.top)||i||new DOMRect,n.push(i)}t.updateCharacterBounds(r.rangeStart,n)},this.handlers.textformatupdate=t=>{let r=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,n=e.underlineThickness;if(!/none/i.test(t)&&!/none/i.test(n)){let i=this.toEditorPos(e.rangeStart),s=this.toEditorPos(e.rangeEnd);if(i<s){let e=`text-decoration: underline ${/^[a-z]/.test(t)?t+" ":"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${/thin/i.test(n)?1:2}px`;r.push(ce.mark({attributes:{style:e}}).range(i,s))}}}e.dispatch({effects:tt.of(ce.set(r))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}};for(let e in this.handlers)t.addEventListener(e,this.handlers[e]);this.measureReq={read:e=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=y(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,r=!1,n=this.pendingContextChange;return e.changes.iterChanges((i,s,o,a,l)=>{if(r)return;let u=l.length-(s-i);if(n&&s>=n.to){if(n.from==i&&n.to==s&&n.insert.eq(l))return n=this.pendingContextChange=null,t+=u,void(this.to+=u);n=null,this.revertPending(e.state)}if(i+=t,(s+=t)<=this.from)this.from+=u,this.to+=u;else if(i<this.to){if(i<this.from||s>this.to||this.to-this.from+l.length>3e4)return void(r=!0);this.editContext.updateText(this.toContextPos(i),this.toContextPos(s),l.toString()),this.to+=u}t+=u}),n&&!r&&this.revertPending(e.state),!r}update(e){let t=this.pendingContextChange,r=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(r.from,r.to)&&e.transactions.some(e=>!e.isUserEvent("input.type")&&e.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(e.state)),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),n=this.toContextPos(t.head);this.editContext.selectionStart==r&&this.editContext.selectionEnd==n||this.editContext.updateSelection(r,n)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let r=this.composing;return r&&r.drifted?r.editorBase+(e-r.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class cn{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(e=>e.forEach(e=>r(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(e.parent)||document,this.viewState=new Xr(e.state||n.EditorState.create(e)),e.scrollTo&&e.scrollTo.is(et)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(st).map(e=>new at(e));for(let e of this.plugins)e.update(this);this.observer=new on(this),this.inputState=new Wt(this),this.inputState.ensureHandlers(this.plugins),this.docView=new vt(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null===(t=document.fonts)||void 0===t?void 0:t.ready)&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let t=1==e.length&&e[0]instanceof n.Transaction?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t,r=!1,i=!1,s=this.state;for(let t of e){if(t.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=t.state}if(this.destroyed)return void(this.viewState.state=s);let o=this.hasFocus,a=0,l=null;e.some(e=>e.annotation(Or))?(this.inputState.notifiedFocused=o,a=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,l=Dr(s,o),l||(a=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(n.EditorState.phrases)!=this.state.facet(n.EditorState.phrases))return this.setState(s);t=yt.create(this,s,e),t.flags|=a;let p=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(p&&(p=p.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection;p=new Ke(e.empty?e:n.EditorSelection.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(et)&&(p=e.value.clip(this.state))}this.viewState.update(t,p),this.bidiCache=dn.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),r=this.docView.update(t),this.state.facet(Ot)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some(e=>e.isUserEvent("select.pointer")))}finally{this.updateState=0}if(t.startState.facet(Gr)!=t.state.facet(Gr)&&(this.viewState.mustMeasureContent=!0),(r||i||p||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),r&&this.docViewUpdate(),!t.empty)for(let e of this.state.facet(qe))try{e(t)}catch(e){rt(this.state,e,"update listener")}(l||c)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),c&&!Vt(this,c)&&u.force&&N(this.contentDOM,u.key,u.keyCode)})}setState(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=e);this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new Xr(e),this.plugins=e.facet(st).map(e=>new at(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new vt(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(st),r=e.state.facet(st);if(t!=r){let n=[];for(let i of r){let r=t.indexOf(i);if(r<0)n.push(new at(i));else{let t=this.plugins[r];t.mustUpdate=e,n.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=n,this.pluginMap.clear()}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e<this.plugins.length;e++)this.plugins[e].update(this);t!=r&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{t.docViewUpdate(this)}catch(e){rt(this.state,e,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,r=this.scrollDOM,n=r.scrollTop*this.scaleY,{scrollAnchorPos:i,scrollAnchorHeight:s}=this.viewState;Math.abs(n-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(s<0)if(R(r))i=-1,s=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(n);i=e.from,s=e.top}this.updateState=1;let o=this.viewState.measure(this);if(!o&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(e>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let a=[];4&o||([this.measureRequests,a]=[a,this.measureRequests]);let l=a.map(e=>{try{return e.read(this)}catch(e){return rt(this.state,e),hn}}),u=yt.create(this,this.state,[]),c=!1;u.flags|=o,t?t.flags|=o:t=u,this.updateState=2,u.empty||(this.updatePlugins(u),this.inputState.update(u),this.updateAttrs(),c=this.docView.update(u),c&&this.docViewUpdate());for(let e=0;e<a.length;e++)if(l[e]!=hn)try{let t=a[e];t.write&&t.write(l[e],this)}catch(e){rt(this.state,e)}if(c&&this.docView.updateSelection(!0),!u.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}{let e=(i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)-s;if(e>1||e<-1){n+=e,r.scrollTop=n/this.scaleY,s=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(qe))e(t)}get themeClasses(){return Hr+" "+(this.state.facet(Ur)?Kr:Jr)+" "+this.state.facet(Gr)}updateAttrs(){let e=fn(this,lt,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(nt)?"true":"false",class:"cm-content",style:`${D.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),fn(this,ut,t);let r=this.observer.ignore(()=>{let r=se(this.contentDOM,this.contentAttrs,t),n=se(this.dom,this.editorAttrs,e);return r||n});return this.editorAttrs=e,this.contentAttrs=t,r}showAnnouncements(e){let t=!0;for(let r of e)for(let e of r.effects)e.is(cn.announce)&&(t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value)}mountStyles(){this.styleModules=this.state.facet(Ot);let e=this.state.facet(cn.cspNonce);i.StyleModule.mount(this.root,this.styleModules.concat(rn).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e);this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.plugin!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.plugin==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,r){return Mt(this,e,Bt(this,e,t,r))}moveByGroup(e,t){return Mt(this,e,Bt(this,e,t,t=>function(e,t,r){let i=e.state.charCategorizer(t),s=i(r);return e=>{let t=i(e);return s==n.CharCategory.Space&&(s=t),s==t}}(this,e.head,t)))}visualLineSide(e,t){let r=this.bidiSpans(e),i=this.textDirectionAt(e.from),s=r[t?r.length-1:0];return n.EditorSelection.cursor(s.side(t,i)+e.from,s.forward(!t,i)?1:-1)}moveToLineBoundary(e,r,i=!0){return function(e,r,i,s){let o=$t(e,r.head,r.assoc||-1),a=s&&o.type==t.BlockType.Text&&(e.lineWrapping||o.widgetLineBreaks)?e.coordsAtPos(r.assoc<0&&r.head>o.from?r.head-1:r.head):null;if(a){let r=e.dom.getBoundingClientRect(),s=e.textDirectionAt(o.from),l=e.posAtCoords({x:i==(s==t.Direction.LTR)?r.right-1:r.left+1,y:(a.top+a.bottom)/2});if(null!=l)return n.EditorSelection.cursor(l,i?-1:1)}return n.EditorSelection.cursor(i?o.to:o.from,i?-1:1)}(this,e,r,i)}moveVertically(e,t,r){return Mt(this,e,function(e,t,r,i){let s=t.head,o=r?1:-1;if(s==(r?e.state.doc.length:0))return n.EditorSelection.cursor(s,t.assoc);let a,l=t.goalColumn,u=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(s,t.assoc||-1),p=e.documentTop;if(c)null==l&&(l=c.left-u.left),a=o<0?c.top:c.bottom;else{let t=e.viewState.lineBlockAt(s);null==l&&(l=Math.min(u.right-u.left,e.defaultCharacterWidth*(s-t.from))),a=(o<0?t.top:t.bottom)+p}let h=u.left+l,d=null!=i?i:e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let r=a+(d+t)*o,i=Ft(e,{x:h,y:r},!1,o);if(r<u.top||r>u.bottom||(o<0?i<s:i>s)){let t=e.docView.coordsForChar(i),s=!t||r<t.top?-1:1;return n.EditorSelection.cursor(i,s,void 0,l)}}}(this,e,t,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),Ft(this,e,t)}coordsAtPos(e,r=1){this.readMeasured();let n=this.docView.coordsAt(e,r);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(e),s=this.bidiSpans(i);return T(n,s[Pe.find(s,e-i.from,-1,r)].dir==t.Direction.LTR==r>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Ue)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>pn)return Me(e.length);let t,r=this.textDirectionAt(e.from);for(let n of this.bidiCache)if(n.from==e.from&&n.dir==r&&(n.fresh||Qe(n.isolates,t=ft(this,e))))return n.order;t||(t=ft(this,e));let n=Ne(e.text,r,t);return this.bidiCache.push(new dn(e.from,e.to,r,t,!0,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||D.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{B(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return et.of(new Ke("number"==typeof e?n.EditorSelection.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return et.of(new Ke(n.EditorSelection.cursor(r.from),"start","start",r.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return ot.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return ot.define(()=>({}),{eventObservers:e})}static theme(e,t){let r=i.StyleModule.newName(),n=[Gr.of(r),Ot.of(tn(`.${r}`,e))];return t&&t.dark&&n.push(Ur.of(!0)),n}static baseTheme(e){return n.Prec.lowest(Ot.of(tn("."+Hr,e,en)))}static findFromDOM(e){var t;let r=e.querySelector(".cm-content"),n=r&&Z.get(r)||Z.get(e);return(null===(t=null==n?void 0:n.rootView)||void 0===t?void 0:t.view)||null}}cn.styleModule=Ot,cn.inputHandler=ze,cn.clipboardInputFilter=Ye,cn.clipboardOutputFilter=Ge,cn.scrollHandler=Je,cn.focusChangeEffect=We,cn.perLineTextDirection=Ue,cn.exceptionSink=Ve,cn.updateListener=qe,cn.editable=nt,cn.mouseSelectionStyle=Ze,cn.dragMovesSelection=Xe,cn.clickAddsSelectionRange=je,cn.decorations=ct,cn.outerDecorations=pt,cn.atomicRanges=ht,cn.bidiIsolatedRanges=dt,cn.scrollMargins=mt,cn.darkTheme=Ur,cn.cspNonce=n.Facet.define({combine:e=>e.length?e[0]:""}),cn.contentAttributes=ut,cn.editorAttributes=lt,cn.lineWrapping=cn.contentAttributes.of({class:"cm-lineWrapping"}),cn.announce=n.StateEffect.define();const pn=4096,hn={};class dn{constructor(e,t,r,n,i,s){this.from=e,this.to=t,this.dir=r,this.isolates=n,this.fresh=i,this.order=s}static update(e,r){if(r.empty&&!e.some(e=>e.fresh))return e;let n=[],i=e.length?e[e.length-1].dir:t.Direction.LTR;for(let t=Math.max(0,e.length-10);t<e.length;t++){let s=e[t];s.dir!=i||r.touchesRange(s.from,s.to)||n.push(new dn(r.mapPos(s.from,1),r.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return n}}function fn(e,t,r){for(let n=e.state.facet(t),i=n.length-1;i>=0;i--){let t=n[i],s="function"==typeof t?t(e):t;s&&re(s,r)}return r}const mn=D.mac?"mac":D.windows?"win":D.linux?"linux":"key";function gn(e,t,r){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==r&&t.shiftKey&&(e="Shift-"+e),e}const On=n.Prec.default(cn.domEventHandlers({keydown:(e,t)=>En(vn(t.state),e,t,"editor")})),Dn=n.Facet.define({enables:On}),yn=new WeakMap;function vn(e){let t=e.facet(Dn),r=yn.get(t);return r||yn.set(t,r=function(e,t=mn){let r=Object.create(null),n=Object.create(null),i=(e,t)=>{let r=n[e];if(null==r)n[e]=t;else if(r!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},s=(e,n,s,o,a)=>{var l,u;let c=r[e]||(r[e]=Object.create(null)),p=n.split(/ (?!$)/).map(e=>function(e,t){const r=e.split(/-(?!$)/);let n,i,s,o,a=r[r.length-1];"Space"==a&&(a=" ");for(let e=0;e<r.length-1;++e){const a=r[e];if(/^(cmd|meta|m)$/i.test(a))o=!0;else if(/^a(lt)?$/i.test(a))n=!0;else if(/^(c|ctrl|control)$/i.test(a))i=!0;else if(/^s(hift)?$/i.test(a))s=!0;else{if(!/^mod$/i.test(a))throw new Error("Unrecognized modifier name: "+a);"mac"==t?o=!0:i=!0}}return n&&(a="Alt-"+a),i&&(a="Ctrl-"+a),o&&(a="Meta-"+a),s&&(a="Shift-"+a),a}(e,t));for(let t=1;t<p.length;t++){let r=p.slice(0,t).join(" ");i(r,!0),c[r]||(c[r]={preventDefault:!0,stopPropagation:!1,run:[t=>{let n=Sn={view:t,prefix:r,scope:e};return setTimeout(()=>{Sn==n&&(Sn=null)},Cn),!0}]})}let h=p.join(" ");i(h,!1);let d=c[h]||(c[h]={preventDefault:!1,stopPropagation:!1,run:(null===(u=null===(l=c._any)||void 0===l?void 0:l.run)||void 0===u?void 0:u.slice())||[]});s&&d.run.push(s),o&&(d.preventDefault=!0),a&&(d.stopPropagation=!0)};for(let n of e){let e=n.scope?n.scope.split(" "):["editor"];if(n.any)for(let t of e){let e=r[t]||(r[t]=Object.create(null));e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:i}=n;for(let t in e)e[t].run.push(e=>i(e,bn))}let i=n[t]||n.key;if(i)for(let t of e)s(t,i,n.run,n.preventDefault,n.stopPropagation),n.shift&&s(t,"Shift-"+i,n.shift,n.preventDefault,n.stopPropagation)}return r}(t.reduce((e,t)=>e.concat(t),[]))),r}let Sn=null;const Cn=4e3;let bn=null;function En(e,t,r,i){bn=t;let o=s.keyName(t),a=n.codePointAt(o,0),l=n.codePointSize(a)==o.length&&" "!=o,u="",c=!1,p=!1,h=!1;Sn&&Sn.view==r&&Sn.scope==i&&(u=Sn.prefix+" ",Jt.indexOf(t.keyCode)<0&&(p=!0,Sn=null));let d,f,m=new Set,g=e=>{if(e){for(let t of e.run)if(!m.has(t)&&(m.add(t),t(r)))return e.stopPropagation&&(h=!0),!0;e.preventDefault&&(e.stopPropagation&&(h=!0),p=!0)}return!1},O=e[i];return O&&(g(O[u+gn(o,t,!l)])?c=!0:!l||!(t.altKey||t.metaKey||t.ctrlKey)||D.windows&&t.ctrlKey&&t.altKey||D.mac&&t.altKey&&!t.ctrlKey&&!t.metaKey||!(d=s.base[t.keyCode])||d==o?l&&t.shiftKey&&g(O[u+gn(o,t,!0)])&&(c=!0):(g(O[u+gn(d,t,!0)])||t.shiftKey&&(f=s.shift[t.keyCode])!=o&&f!=d&&g(O[u+gn(f,t,!1)]))&&(c=!0),!c&&g(O._any)&&(c=!0)),p&&(c=!0),c&&h&&t.stopPropagation(),bn=null,c}class xn{constructor(e,t,r,n,i){this.className=e,this.left=t,this.top=r,this.width=n,this.height=i}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className==this.className&&(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",null!=this.width&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,r,n){if(n.empty){let t=e.coordsAtPos(n.head,n.assoc||1);if(!t)return[];let i=wn(e);return[new xn(r,t.left-i.left,t.top-i.top,null,t.bottom-t.top)]}return function(e,r,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let i=Math.max(n.from,e.viewport.from),s=Math.min(n.to,e.viewport.to),o=e.textDirection==t.Direction.LTR,a=e.contentDOM,l=a.getBoundingClientRect(),u=wn(e),c=a.querySelector(".cm-line"),p=c&&window.getComputedStyle(c),h=l.left+(p?parseInt(p.paddingLeft)+Math.min(0,parseInt(p.textIndent)):0),d=l.right-(p?parseInt(p.paddingRight):0),f=$t(e,i,1),m=$t(e,s,-1),g=f.type==t.BlockType.Text?f:null,O=m.type==t.BlockType.Text?m:null;if(g&&(e.lineWrapping||f.widgetLineBreaks)&&(g=An(e,i,1,g)),O&&(e.lineWrapping||m.widgetLineBreaks)&&(O=An(e,s,-1,O)),g&&O&&g.from==O.from&&g.to==O.to)return y(v(n.from,n.to,g));{let r=g?v(n.from,null,g):S(f,!1),i=O?v(null,n.to,O):S(m,!0),s=[];return(g||f).to<(O||m).from-(g&&O?1:0)||f.widgetLineBreaks>1&&r.bottom+e.defaultLineHeight/2<i.top?s.push(D(h,r.bottom,d,i.top)):r.bottom<i.top&&e.elementAtHeight((r.bottom+i.top)/2).type==t.BlockType.Text&&(r.bottom=i.top=(r.bottom+i.top)/2),y(r).concat(s).concat(y(i))}function D(e,t,n,i){return new xn(r,e-u.left,t-u.top,n-e,i-t)}function y({top:e,bottom:t,horizontal:r}){let n=[];for(let i=0;i<r.length;i+=2)n.push(D(r[i],e,r[i+1],t));return n}function v(r,n,i){let s=1e9,a=-1e9,l=[];function u(r,n,u,c,p){let f=e.coordsAtPos(r,r==i.to?-2:2),m=e.coordsAtPos(u,u==i.from?2:-2);f&&m&&(s=Math.min(f.top,m.top,s),a=Math.max(f.bottom,m.bottom,a),p==t.Direction.LTR?l.push(o&&n?h:f.left,o&&c?d:m.right):l.push(!o&&c?h:m.left,!o&&n?d:f.right))}let c=null!=r?r:i.from,p=null!=n?n:i.to;for(let t of e.visibleRanges)if(t.to>c&&t.from<p)for(let i=Math.max(t.from,c),s=Math.min(t.to,p);;){let t=e.state.doc.lineAt(i);for(let o of e.bidiSpans(t)){let e=o.from+t.from,a=o.to+t.from;if(e>=s)break;a>i&&u(Math.max(e,i),null==r&&e<=c,Math.min(a,s),null==n&&a>=p,o.dir)}if(i=t.to+1,i>=s)break}return 0==l.length&&u(c,null==r,p,null==n,e.textDirection),{top:s,bottom:a,horizontal:l}}function S(e,t){let r=l.top+(t?e.top:e.bottom);return{top:r,bottom:r,horizontal:[]}}}(e,r,n)}}function wn(e){let r=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==t.Direction.LTR?r.left:r.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:r.top-e.scrollDOM.scrollTop*e.scaleY}}function An(e,t,r,n){let i=e.coordsAtPos(t,2*r);if(!i)return n;let s=e.dom.getBoundingClientRect(),o=(i.top+i.bottom)/2,a=e.posAtCoords({x:s.left+1,y:o}),l=e.posAtCoords({x:s.right-1,y:o});return null==a||null==l?n:{from:Math.max(n.from,Math.min(a,l)),to:Math.min(n.to,Math.max(a,l))}}class Tn{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(kn)!=e.state.facet(kn)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){!1!==this.layer.updateOnDocViewUpdate&&e.requestMeasure(this.measureReq)}setOrder(e){let t=0,r=e.facet(kn);for(;t<r.length&&r[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:t}=this.view;e==this.scaleX&&t==this.scaleY||(this.scaleX=e,this.scaleY=t,this.dom.style.transform=`scale(${1/e}, ${1/t})`)}draw(e){if(e.length!=this.drawn.length||e.some((e,t)=>{return r=e,n=this.drawn[t],!(r.constructor==n.constructor&&r.eq(n));var r,n})){let t=this.dom.firstChild,r=0;for(let n of e)n.update&&t&&n.constructor&&this.drawn[r].constructor&&n.update(t,this.drawn[r])?(t=t.nextSibling,r++):this.dom.insertBefore(n.draw(),t);for(;t;){let e=t.nextSibling;t.remove(),t=e}this.drawn=e,D.safari&&D.safari_version>=26&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const kn=n.Facet.define();function Fn(e){return[ot.define(t=>new Tn(t,e)),kn.of(e)]}const Pn=n.Facet.define({combine:e=>n.combineConfig(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})});function Qn(e){return e.startState.facet(Pn)!=e.state.facet(Pn)}const $n=Fn({above:!0,markers(e){let{state:t}=e,r=t.facet(Pn),i=[];for(let s of t.selection.ranges){let o=s==t.selection.main;if(s.empty||r.drawRangeCursor){let t=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",r=s.empty?s:n.EditorSelection.cursor(s.head,s.head>s.anchor?-1:1);for(let n of xn.forRange(e,t,r))i.push(n)}}return i},update(e,t){e.transactions.some(e=>e.selection)&&(t.style.animationName="cm-blink"==t.style.animationName?"cm-blink2":"cm-blink");let r=Qn(e);return r&&Bn(e.state,t),e.docChanged||e.selectionSet||r},mount(e,t){Bn(t.state,e)},class:"cm-cursorLayer"});function Bn(e,t){t.style.animationDuration=e.facet(Pn).cursorBlinkRate+"ms"}const _n=Fn({above:!1,markers:e=>e.state.selection.ranges.map(t=>t.empty?[]:xn.forRange(e,"cm-selectionBackground",t)).reduce((e,t)=>e.concat(t)),update:(e,t)=>e.docChanged||e.selectionSet||e.viewportChanged||Qn(e),class:"cm-selectionLayer"}),Nn=n.Prec.highest(cn.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),Mn=n.StateEffect.define({map:(e,t)=>null==e?null:t.mapPos(e)}),Rn=n.StateField.define({create:()=>null,update:(e,t)=>(null!=e&&(e=t.changes.mapPos(e)),t.effects.reduce((e,t)=>t.is(Mn)?t.value:e,e))}),Ln=ot.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let r=e.state.field(Rn);null==r?null!=this.cursor&&(null===(t=this.cursor)||void 0===t||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(Rn)!=r||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(Rn),r=null!=t&&e.coordsAtPos(t);if(!r)return null;let n=e.scrollDOM.getBoundingClientRect();return{left:r.left-n.left+e.scrollDOM.scrollLeft*e.scaleX,top:r.top-n.top+e.scrollDOM.scrollTop*e.scaleY,height:r.bottom-r.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:r}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/r+"px",this.cursor.style.height=e.height/r+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(Rn)!=e&&this.view.dispatch({effects:Mn.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){e.target!=this.view.contentDOM&&this.view.contentDOM.contains(e.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function In(e,t,r,n,i){t.lastIndex=0;for(let s,o=e.iterRange(r,n),a=r;!o.next().done;a+=o.value.length)if(!o.lineBreak)for(;s=t.exec(o.value);)i(a+s.index,s)}class jn{constructor(e){const{regexp:t,decoration:r,decorate:n,boundary:i,maxLength:s=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,n)this.addMatch=(e,t,r,i)=>n(i,r,r+e[0].length,e,t);else if("function"==typeof r)this.addMatch=(e,t,n,i)=>{let s=r(e,t,n);s&&i(n,n+e[0].length,s)};else{if(!r)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(e,t,n,i)=>i(n,n+e[0].length,r)}this.boundary=i,this.maxLength=s}createDeco(e){let t=new n.RangeSetBuilder,r=t.add.bind(t);for(let{from:t,to:n}of function(e,t){let r=e.visibleRanges;if(1==r.length&&r[0].from==e.viewport.from&&r[0].to==e.viewport.to)return r;let n=[];for(let{from:i,to:s}of r)i=Math.max(e.state.doc.lineAt(i).from,i-t),s=Math.min(e.state.doc.lineAt(s).to,s+t),n.length&&n[n.length-1].to>=i?n[n.length-1].to=s:n.push({from:i,to:s});return n}(e,this.maxLength))In(e.state.doc,this.regexp,t,n,(t,n)=>this.addMatch(n,e,t,r));return t.finish()}updateDeco(e,t){let r=1e9,n=-1;return e.docChanged&&e.changes.iterChanges((t,i,s,o)=>{o>=e.view.viewport.from&&s<=e.view.viewport.to&&(r=Math.min(s,r),n=Math.max(o,n))}),e.viewportMoved||n-r>1e3?this.createDeco(e.view):n>-1?this.updateRange(e.view,t.map(e.changes),r,n):t}updateRange(e,t,r,n){for(let i of e.visibleRanges){let s=Math.max(i.from,r),o=Math.min(i.to,n);if(o>=s){let r=e.state.doc.lineAt(s),n=r.to<o?e.state.doc.lineAt(o):r,a=Math.max(i.from,r.from),l=Math.min(i.to,n.to);if(this.boundary){for(;s>r.from;s--)if(this.boundary.test(r.text[s-1-r.from])){a=s;break}for(;o<n.to;o++)if(this.boundary.test(n.text[o-n.from])){l=o;break}}let u,c=[],p=(e,t,r)=>c.push(r.range(e,t));if(r==n)for(this.regexp.lastIndex=a-r.from;(u=this.regexp.exec(r.text))&&u.index<l-r.from;)this.addMatch(u,e,u.index+r.from,p);else In(e.state.doc,this.regexp,a,l,(t,r)=>this.addMatch(r,e,t,p));t=t.update({filterFrom:a,filterTo:l,filter:(e,t)=>e<a||t>l,add:c})}}return t}}const Xn=null!=/x/.unicode?"gu":"g",Zn=new RegExp("[\0-\b\n--\u2028\u2029\ufeff-]",Xn),Vn={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let qn=null;const zn=n.Facet.define({combine(e){let t=n.combineConfig(e,{render:null,specialChars:Zn,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==qn&&"undefined"!=typeof document&&document.body){let t=document.body.style;qn=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return qn||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,Xn)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Xn)),t}});let Wn=null;class Yn extends ae{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=(r=this.code)>=32?"•":10==r?"":String.fromCharCode(9216+r);var r;let n=e.state.phrase("Control character")+" "+(Vn[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,n,t);if(i)return i;let s=document.createElement("span");return s.textContent=t,s.title=n,s.setAttribute("aria-label",n),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class Gn extends ae{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}const Un=ot.fromClass(class{constructor(){this.height=1e3,this.attrs={style:"padding-bottom: 1000px"}}update(e){let{view:t}=e,r=t.viewState.editorHeight-t.defaultLineHeight-t.documentPadding.top-.5;r>=0&&r!=this.height&&(this.height=r,this.attrs={style:`padding-bottom: ${r}px`})}}),Hn=ce.line({class:"cm-activeLine"}),Jn=ot.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,r=[];for(let n of e.state.selection.ranges){let i=e.lineBlockAt(n.head);i.from>t&&(r.push(Hn.range(i.from)),t=i.from)}return ce.set(r)}},{decorations:e=>e.decorations});class Kn extends ae{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(e):this.content.cloneNode(!0)),t.setAttribute("aria-hidden","true"),t}coordsAt(e){let t=e.firstChild?C(e.firstChild):[];if(!t.length)return null;let r=window.getComputedStyle(e.parentNode),n=T(t[0],"rtl"!=r.direction),i=parseInt(r.lineHeight);return n.bottom-n.top>1.5*i?{left:n.left,right:n.right,top:n.top,bottom:n.top+i}:n}ignoreEvent(){return!1}}const ei=2e3;function ti(e,t){let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1),i=e.state.doc.lineAt(r),s=r-i.from,o=s>ei?-1:s==i.length?function(e,t){let r=e.coordsAtPos(e.viewport.from);return r?Math.round(Math.abs((r.left-t)/e.defaultCharacterWidth)):-1}(e,t.clientX):n.countColumn(i.text,e.state.tabSize,r-i.from);return{line:i.number,col:o,off:s}}const ri={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},ni={style:"cursor: crosshair"},ii="-10000px";class si{constructor(e,t,r,n){this.facet=t,this.createTooltipView=r,this.removeTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let i=null;this.tooltipViews=this.tooltips.map(e=>i=r(e,i))}update(e,t){var r;let n=e.state.facet(this.facet),i=n.filter(e=>e);if(n===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let s=[],o=t?[]:null;for(let r=0;r<i.length;r++){let n=i[r],a=-1;if(n){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==n.create&&(a=e)}if(a<0)s[r]=this.createTooltipView(n,r?s[r-1]:null),o&&(o[r]=!!n.above);else{let n=s[r]=this.tooltipViews[a];o&&(o[r]=t[a]),n.update&&n.update(e)}}}for(let e of this.tooltipViews)s.indexOf(e)<0&&(this.removeTooltipView(e),null===(r=e.destroy)||void 0===r||r.call(e));return t&&(o.forEach((e,r)=>t[r]=e),t.length=o.length),this.input=n,this.tooltips=i,this.tooltipViews=s,!0}}function oi(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}const ai=n.Facet.define({combine:e=>{var t,r,n;return{position:D.ios?"absolute":(null===(t=e.find(e=>e.position))||void 0===t?void 0:t.position)||"fixed",parent:(null===(r=e.find(e=>e.parent))||void 0===r?void 0:r.parent)||null,tooltipSpace:(null===(n=e.find(e=>e.tooltipSpace))||void 0===n?void 0:n.tooltipSpace)||oi}}}),li=new WeakMap,ui=ot.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(ai);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new si(e,di,(e,t)=>this.createTooltip(e,t),e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()}),this.above=this.manager.tooltips.map(e=>!!e.above),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let r=t||e.geometryChanged,n=e.state.facet(ai);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;r=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);r=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);r&&this.maybeMeasure()}createTooltip(e,t){let r=e.create(this.view),n=t?t.dom:null;if(r.dom.classList.add("cm-tooltip"),e.arrow&&!r.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",r.dom.appendChild(e)}return r.dom.style.position=this.position,r.dom.style.top=ii,r.dom.style.left="0px",this.container.insertBefore(r.dom,n),r.mount&&r.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(r.dom),r}destroy(){var e,t,r;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),null===(e=t.destroy)||void 0===e||e.call(t);this.parent&&this.container.remove(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(r=this.intersectionObserver)||void 0===r||r.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,r=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(D.gecko)r=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==ii&&"0px"==e.style.left){let t=e.getBoundingClientRect();r=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}if(r||"absolute"==this.position)if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,t=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),i=gt(this.view);return{visible:{left:n.left+i.left,top:n.top+i.top,right:n.right-i.right,bottom:n.bottom-i.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let r=this.manager.tooltipViews[t];return r.getCoords?r.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(ai).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:r}}writeMeasure(e){var r;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}let{visible:n,space:i,scaleX:s,scaleY:o}=e,a=[];for(let l=0;l<this.manager.tooltips.length;l++){let u=this.manager.tooltips[l],c=this.manager.tooltipViews[l],{dom:p}=c,h=e.pos[l],d=e.size[l];if(!h||!1!==u.clip&&(h.bottom<=Math.max(n.top,i.top)||h.top>=Math.min(n.bottom,i.bottom)||h.right<Math.max(n.left,i.left)-.1||h.left>Math.min(n.right,i.right)+.1)){p.style.top=ii;continue}let f=u.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,m=f?7:0,g=d.right-d.left,O=null!==(r=li.get(c))&&void 0!==r?r:d.bottom-d.top,D=c.offset||hi,y=this.view.textDirection==t.Direction.LTR,v=d.width>i.right-i.left?y?i.left:i.right-d.width:y?Math.max(i.left,Math.min(h.left-(f?14:0)+D.x,i.right-g)):Math.min(Math.max(i.left,h.left-g+(f?14:0)-D.x),i.right-g),S=this.above[l];!u.strictSide&&(S?h.top-O-m-D.y<i.top:h.bottom+O+m+D.y>i.bottom)&&S==i.bottom-h.bottom>h.top-i.top&&(S=this.above[l]=!S);let C=(S?h.top-i.top:i.bottom-h.bottom)-m;if(C<O&&!1!==c.resize){if(C<this.view.defaultLineHeight){p.style.top=ii;continue}li.set(c,O),p.style.height=(O=C)/o+"px"}else p.style.height&&(p.style.height="");let b=S?h.top-O-m-D.y:h.bottom+m+D.y,E=v+g;if(!0!==c.overlap)for(let e of a)e.left<E&&e.right>v&&e.top<b+O&&e.bottom>b&&(b=S?e.top-O-2-m:e.bottom+m+2);if("absolute"==this.position?(p.style.top=(b-e.parent.top)/o+"px",ci(p,(v-e.parent.left)/s)):(p.style.top=b/o+"px",ci(p,v/s)),f){let e=h.left+(y?D.x:-D.x)-(v+14-7);f.style.left=e/s+"px"}!0!==c.overlap&&a.push({left:v,top:b,right:E,bottom:b+O}),p.classList.toggle("cm-tooltip-above",S),p.classList.toggle("cm-tooltip-below",!S),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=ii}},{eventObservers:{scroll(){this.maybeMeasure()}}});function ci(e,t){let r=parseInt(e.style.left,10);(isNaN(r)||Math.abs(t-r)>1)&&(e.style.left=t+"px")}const pi=cn.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),hi={x:0,y:0},di=n.Facet.define({enables:[ui,pi]}),fi=n.Facet.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])});class mi{static create(e){return new mi(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new si(e,fi,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)null===(e=t.destroy)||void 0===e||e.call(t)}passProp(e){let t;for(let r of this.manager.tooltipViews){let n=r[e];if(void 0!==n)if(void 0===t)t=n;else if(t!==n)return}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const gi=di.compute([fi],e=>{let t=e.facet(fi);return 0===t.length?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos})),create:mi.create,above:t[0].above,arrow:t.some(e=>e.arrow)}});class Oi{constructor(e,t,r,n,i){this.view=e,this.source=t,this.field=r,this.setHover=n,this.hoverTime=i,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:r}=this,n=e.docView.nearest(r.target);if(!n)return;let i,s=1;if(n instanceof U)i=n.posAtStart;else{if(i=e.posAtCoords(r),null==i)return;let n=e.coordsAtPos(i);if(!n||r.y<n.top||r.y>n.bottom||r.x<n.left-e.defaultCharacterWidth||r.x>n.right+e.defaultCharacterWidth)return;let o=e.bidiSpans(e.state.doc.lineAt(i)).find(e=>e.from<=i&&e.to>=i),a=o&&o.dir==t.Direction.RTL?-1:1;s=r.x<n.left?-a:a}let o=this.source(e,i,s);if(null==o?void 0:o.then){let t=this.pending={pos:i};o.then(r=>{this.pending==t&&(this.pending=null,!r||Array.isArray(r)&&!r.length||e.dispatch({effects:this.setHover.of(Array.isArray(r)?r:[r])}))},t=>rt(e.state,t,"hover tooltip"))}else!o||Array.isArray(o)&&!o.length||e.dispatch({effects:this.setHover.of(Array.isArray(o)?o:[o])})}get tooltip(){let e=this.view.plugin(ui),t=e?e.manager.tooltips.findIndex(e=>e.create==mi.create):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,r;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:n,tooltip:i}=this;if(n.length&&i&&!function(e,t){let r,{left:n,right:i,top:s,bottom:o}=e.getBoundingClientRect();if(r=e.querySelector(".cm-tooltip-arrow")){let e=r.getBoundingClientRect();s=Math.min(e.top,s),o=Math.max(e.bottom,o)}return t.clientX>=n-Di&&t.clientX<=i+Di&&t.clientY>=s-Di&&t.clientY<=o+Di}(i.dom,e)||this.pending){let{pos:i}=n[0]||this.pending,s=null!==(r=null===(t=n[0])||void 0===t?void 0:t.end)&&void 0!==r?r:i;(i==s?this.view.posAtCoords(this.lastMove)==i:function(e,t,r,n,i){let s=e.scrollDOM.getBoundingClientRect(),o=e.documentTop+e.documentPadding.top+e.contentHeight;if(s.left>n||s.right<n||s.top>i||Math.min(s.bottom,o)<i)return!1;let a=e.posAtCoords({x:n,y:i},!1);return a>=t&&a<=r}(this.view,i,s,e.clientX,e.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=r=>{e.removeEventListener("mouseleave",t),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const Di=4,yi=n.StateEffect.define(),vi=yi.of(null),Si=n.Facet.define({combine(e){let t,r;for(let n of e)t=t||n.topContainer,r=r||n.bottomContainer;return{topContainer:t,bottomContainer:r}}});function Ci(e,t){let r=e.plugin(bi),n=r?r.specs.indexOf(t):-1;return n>-1?r.panels[n]:null}const bi=ot.fromClass(class{constructor(e){this.input=e.state.facet(wi),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(Si);this.top=new Ei(e,!0,t.topContainer),this.bottom=new Ei(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top));for(let e of this.panels)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}update(e){let t=e.state.facet(Si);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Ei(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ei(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let r=e.state.facet(wi);if(r!=this.input){let t=r.filter(e=>e),n=[],i=[],s=[],o=[];for(let r of t){let t,a=this.specs.indexOf(r);a<0?(t=r(e.view),o.push(t)):(t=this.panels[a],t.update&&t.update(e)),n.push(t),(t.top?i:s).push(t)}this.specs=t,this.panels=n,this.top.sync(i),this.bottom.sync(s);for(let e of o)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>cn.scrollMargins.of(t=>{let r=t.plugin(e);return r&&{top:r.top.scrollMargin(),bottom:r.bottom.scrollMargin()}})});class Ei{constructor(e,t,r){this.view=e,this.top=t,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=xi(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=xi(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function xi(e){let t=e.nextSibling;return e.remove(),t}const wi=n.Facet.define({enables:bi}),Ai=n.StateField.define({create:()=>[],update(e,t){for(let r of t.effects)r.is(Ti)?e=[r.value].concat(e):r.is(ki)&&(e=e.filter(e=>e!=r.value));return e},provide:e=>wi.computeN([e],t=>t.field(e))}),Ti=n.StateEffect.define(),ki=n.StateEffect.define();class Fi extends n.RangeValue{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Fi.prototype.elementClass="",Fi.prototype.toDOM=void 0,Fi.prototype.mapMode=n.MapMode.TrackBefore,Fi.prototype.startSide=Fi.prototype.endSide=-1,Fi.prototype.point=!0;const Pi=n.Facet.define(),Qi=n.Facet.define(),$i={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>n.RangeSet.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},Bi=n.Facet.define(),_i=n.Facet.define({combine:e=>e.some(e=>e)});function Ni(e){let t=[Mi];return e&&!1===e.fixed&&t.push(_i.of(!0)),t}const Mi=ot.fromClass(class{constructor(e){this.view=e,this.domAfter=null,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(Bi).map(t=>new ji(e,t)),this.fixed=!e.state.facet(_i);for(let e of this.gutters)"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(e){if(this.updateGutters(e)){let t=this.prevViewport,r=e.view.viewport,n=Math.min(t.to,r.to)-Math.max(t.from,r.from);this.syncGutters(n<.8*(r.to-r.from))}if(e.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(_i)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=e.view.viewport}syncGutters(e){let r=this.dom.nextSibling;e&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let i=n.RangeSet.iter(this.view.state.facet(Pi),this.view.viewport.from),s=[],o=this.gutters.map(e=>new Ii(e,this.view.viewport,-this.view.documentPadding.top));for(let e of this.view.viewportLineBlocks)if(s.length&&(s=[]),Array.isArray(e.type)){let r=!0;for(let n of e.type)if(n.type==t.BlockType.Text&&r){Li(i,s,n.from);for(let e of o)e.line(this.view,n,s);r=!1}else if(n.widget)for(let e of o)e.widget(this.view,n)}else if(e.type==t.BlockType.Text){Li(i,s,e.from);for(let t of o)t.line(this.view,e,s)}else if(e.widget)for(let t of o)t.widget(this.view,e);for(let e of o)e.finish();e&&(this.view.scrollDOM.insertBefore(this.dom,r),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(e){let t=e.startState.facet(Bi),r=e.state.facet(Bi),i=e.docChanged||e.heightChanged||e.viewportChanged||!n.RangeSet.eq(e.startState.facet(Pi),e.state.facet(Pi),e.view.viewport.from,e.view.viewport.to);if(t==r)for(let t of this.gutters)t.update(e)&&(i=!0);else{i=!0;let n=[];for(let i of r){let r=t.indexOf(i);r<0?n.push(new ji(this.view,i)):(this.gutters[r].update(e),n.push(this.gutters[r]))}for(let e of this.gutters)e.dom.remove(),n.indexOf(e)<0&&e.destroy();for(let e of n)"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.gutters=n}return i}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:e=>cn.scrollMargins.of(r=>{let n=r.plugin(e);if(!n||0==n.gutters.length||!n.fixed)return null;let i=n.dom.offsetWidth*r.scaleX,s=n.domAfter?n.domAfter.offsetWidth*r.scaleX:0;return r.textDirection==t.Direction.LTR?{left:i,right:s}:{right:i,left:s}})});function Ri(e){return Array.isArray(e)?e:[e]}function Li(e,t,r){for(;e.value&&e.from<=r;)e.from==r&&t.push(e.value),e.next()}class Ii{constructor(e,t,r){this.gutter=e,this.height=r,this.i=0,this.cursor=n.RangeSet.iter(e.markers,t.from)}addElement(e,t,r){let{gutter:n}=this,i=(t.top-this.height)/e.scaleY,s=t.height/e.scaleY;if(this.i==n.elements.length){let t=new Xi(e,s,i,r);n.elements.push(t),n.dom.appendChild(t.dom)}else n.elements[this.i].update(e,s,i,r);this.height=t.bottom,this.i++}line(e,t,r){let n=[];Li(this.cursor,n,t.from),r.length&&(n=n.concat(r));let i=this.gutter.config.lineMarker(e,t,n);i&&n.unshift(i);let s=this.gutter;(0!=n.length||s.config.renderEmptyElements)&&this.addElement(e,t,n)}widget(e,t){let r=this.gutter.config.widgetMarker(e,t.widget,t),n=r?[r]:null;for(let r of e.state.facet(Qi)){let i=r(e,t.widget,t);i&&(n||(n=[])).push(i)}n&&this.addElement(e,t,n)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class ji{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in t.domEventHandlers)this.dom.addEventListener(r,n=>{let i,s=n.target;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let e=s.getBoundingClientRect();i=(e.top+e.bottom)/2}else i=n.clientY;let o=e.lineBlockAtHeight(i-e.documentTop);t.domEventHandlers[r](e,o,n)&&n.preventDefault()});this.markers=Ri(t.markers(e)),t.initialSpacer&&(this.spacer=new Xi(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=Ri(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let r=e.view.viewport;return!n.RangeSet.eq(this.markers,t,r.from,r.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}}class Xi{constructor(e,t,r,n){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,r,n)}update(e,t,r,n){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),function(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].compare(t[r]))return!1;return!0}(this.markers,n)||this.setMarkers(e,n)}setMarkers(e,t){let r="cm-gutterElement",n=this.dom.firstChild;for(let i=0,s=0;;){let o=s,a=i<t.length?t[i++]:null,l=!1;if(a){let e=a.elementClass;e&&(r+=" "+e);for(let e=s;e<this.markers.length;e++)if(this.markers[e].compare(a)){o=e,l=!0;break}}else o=this.markers.length;for(;s<o;){let e=this.markers[s++];if(e.toDOM){e.destroy(n);let t=n.nextSibling;n.remove(),n=t}}if(!a)break;a.toDOM&&(l?n=n.nextSibling:this.dom.insertBefore(a.toDOM(e),n)),l&&s++}this.dom.className=r,this.markers=t}destroy(){this.setMarkers(null,[])}}const Zi=n.Facet.define(),Vi=n.Facet.define(),qi=n.Facet.define({combine:e=>n.combineConfig(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let r=Object.assign({},e);for(let e in t){let n=r[e],i=t[e];r[e]=n?(e,t,r)=>n(e,t,r)||i(e,t,r):i}return r}})});class zi extends Fi{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Wi(e,t){return e.state.facet(qi).formatNumber(t,e.state)}const Yi=Bi.compute([qi],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(Zi),lineMarker:(e,t,r)=>r.some(e=>e.toDOM)?null:new zi(Wi(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,r)=>{for(let n of e.state.facet(Vi)){let i=n(e,t,r);if(i)return i}return null},lineMarkerChange:e=>e.startState.facet(qi)!=e.state.facet(qi),initialSpacer:e=>new zi(Wi(e,Gi(e.state.doc.lines))),updateSpacer(e,t){let r=Wi(t.view,Gi(t.view.state.doc.lines));return r==e.number?e:new zi(r)},domEventHandlers:e.facet(qi).domEventHandlers,side:"before"}));function Gi(e){let t=9;for(;t<e;)t=10*t+9;return t}const Ui=new class extends Fi{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},Hi=Pi.compute(["selection"],e=>{let t=[],r=-1;for(let n of e.selection.ranges){let i=e.doc.lineAt(n.head).from;i>r&&(r=i,t.push(Ui.range(i)))}return n.RangeSet.of(t)});function Ji(e){return ot.define(t=>({decorations:e.createDeco(t),update(t){this.decorations=e.updateDeco(t,this.decorations)}}),{decorations:e=>e.decorations})}const Ki=ce.mark({class:"cm-highlightTab"}),es=ce.mark({class:"cm-highlightSpace"}),ts=Ji(new jn({regexp:/\t| /g,decoration:e=>"\t"==e[0]?Ki:es,boundary:/\S/})),rs=Ji(new jn({regexp:/\s+$/g,decoration:ce.mark({class:"cm-trailingSpace"})})),ns={HeightMap:kr,HeightOracle:Er,MeasuredHeights:xr,QueryType:Ar,ChangedRange:Dt,computeOrder:Ne,moveVisually:Le,clearHeightChangeFlag:br,getHeightChangeFlag:()=>Cr};t.BidiSpan=Pe,t.BlockInfo=wr,t.Decoration=ce,t.EditorView=cn,t.GutterMarker=Fi,t.MatchDecorator=jn,t.RectangleMarker=xn,t.ViewPlugin=ot,t.ViewUpdate=yt,t.WidgetType=ae,t.__test=ns,t.closeHoverTooltips=vi,t.crosshairCursor=function(e={}){let[t,r]=ri[e.key||"Alt"],n=ot.fromClass(class{constructor(e){this.view=e,this.isDown=!1}set(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}},{eventObservers:{keydown(e){this.set(e.keyCode==t||r(e))},keyup(e){e.keyCode!=t&&r(e)||this.set(!1)},mousemove(e){this.set(r(e))}}});return[n,cn.contentAttributes.of(e=>{var t;return(null===(t=e.plugin(n))||void 0===t?void 0:t.isDown)?ni:null})]},t.drawSelection=function(e={}){return[Pn.of(e),$n,_n,Nn,He.of(!0)]},t.dropCursor=function(){return[Rn,Ln]},t.getDialog=function(e,t){let r=e.state.field(Ai,!1)||[];for(let n of r){let r=Ci(e,n);if(r&&r.dom.classList.contains(t))return r}return null},t.getDrawSelectionConfig=function(e){return e.facet(Pn)},t.getPanel=Ci,t.getTooltip=function(e,t){let r=e.plugin(ui);if(!r)return null;let n=r.manager.tooltips.indexOf(t);return n<0?null:r.manager.tooltipViews[n]},t.gutter=function(e){return[Ni(),Bi.of({...$i,...e})]},t.gutterLineClass=Pi,t.gutterWidgetClass=Qi,t.gutters=Ni,t.hasHoverTooltips=function(e){return e.facet(fi).some(e=>e)},t.highlightActiveLine=function(){return Jn},t.highlightActiveLineGutter=function(){return Hi},t.highlightSpecialChars=function(e={}){return[zn.of(e),Wn||(Wn=ot.fromClass(class{constructor(e){this.view=e,this.decorations=ce.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(zn)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new jn({regexp:e.specialChars,decoration:(t,r,i)=>{let{doc:s}=r.state,o=n.codePointAt(t[0],0);if(9==o){let e=s.lineAt(i),t=r.state.tabSize,o=n.countColumn(e.text,t,i-e.from);return ce.replace({widget:new Gn((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=ce.replace({widget:new Yn(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(zn);e.startState.facet(zn)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))]},t.highlightTrailingWhitespace=function(){return rs},t.highlightWhitespace=function(){return ts},t.hoverTooltip=function(e,t={}){let r=n.StateEffect.define(),i=n.StateField.define({create:()=>[],update(e,i){if(e.length&&(t.hideOnChange&&(i.docChanged||i.selection)?e=[]:t.hideOn&&(e=e.filter(e=>!t.hideOn(i,e))),i.docChanged)){let t=[];for(let r of e){let e=i.changes.mapPos(r.pos,-1,n.MapMode.TrackDel);if(null!=e){let n=Object.assign(Object.create(null),r);n.pos=e,null!=n.end&&(n.end=i.changes.mapPos(n.end)),t.push(n)}}e=t}for(let t of i.effects)t.is(r)&&(e=t.value),t.is(yi)&&(e=[]);return e},provide:e=>fi.from(e)});return{active:i,extension:[i,ot.define(n=>new Oi(n,e,i,r,t.hoverTime||300)),gi]}},t.keymap=Dn,t.layer=Fn,t.lineNumberMarkers=Zi,t.lineNumberWidgetMarker=Vi,t.lineNumbers=function(e={}){return[qi.of(e),Ni(),Yi]},t.logException=rt,t.panels=function(e){return e?[Si.of(e)]:[]},t.placeholder=function(e){let t=ot.fromClass(class{constructor(t){this.view=t,this.placeholder=e?ce.set([ce.widget({widget:new Kn(e),side:1}).range(0)]):ce.none}get decorations(){return this.view.state.doc.length?ce.none:this.placeholder}},{decorations:e=>e.decorations});return"string"==typeof e?[t,cn.contentAttributes.of({"aria-placeholder":e})]:t},t.rectangularSelection=function(e){let t=(null==e?void 0:e.eventFilter)||(e=>e.altKey&&0==e.button);return cn.mouseSelectionStyle.of((e,r)=>t(r)?function(e,t){let r=ti(e,t),i=e.state.selection;return r?{update(e){if(e.docChanged){let t=e.changes.mapPos(e.startState.doc.line(r.line).from),n=e.state.doc.lineAt(t);r={line:n.number,col:r.col,off:Math.min(r.off,n.length)},i=i.map(e.changes)}},get(t,s,o){let a=ti(e,t);if(!a)return i;let l=function(e,t,r){let i=Math.min(t.line,r.line),s=Math.max(t.line,r.line),o=[];if(t.off>ei||r.off>ei||t.col<0||r.col<0){let a=Math.min(t.off,r.off),l=Math.max(t.off,r.off);for(let t=i;t<=s;t++){let r=e.doc.line(t);r.length<=l&&o.push(n.EditorSelection.range(r.from+a,r.to+l))}}else{let a=Math.min(t.col,r.col),l=Math.max(t.col,r.col);for(let t=i;t<=s;t++){let r=e.doc.line(t),i=n.findColumn(r.text,a,e.tabSize,!0);if(i<0)o.push(n.EditorSelection.cursor(r.to));else{let t=n.findColumn(r.text,l,e.tabSize);o.push(n.EditorSelection.range(r.from+i,r.from+t))}}}return o}(e.state,r,a);return l.length?o?n.EditorSelection.create(l.concat(i.ranges)):n.EditorSelection.create(l):i}}:null}(e,r):null)},t.repositionTooltips=function(e){let t=e.plugin(ui);t&&t.maybeMeasure()},t.runScopeHandlers=function(e,t,r){return En(vn(e.state),t,e,r)},t.scrollPastEnd=function(){return[Un,ut.of(e=>{var t;return(null===(t=e.plugin(Un))||void 0===t?void 0:t.attrs)||null})]},t.showDialog=function(e,t){let r,i=new Promise(e=>r=e),s=e=>function(e,t,r){let n=t.content?t.content(e,()=>a(null)):null;if(!n){if(n=o("form"),t.input){let e=o("input",t.input);/^(text|password|number|email|tel|url)$/.test(e.type)&&e.classList.add("cm-textfield"),e.name||(e.name="input"),n.appendChild(o("label",(t.label||"")+": ",e))}else n.appendChild(document.createTextNode(t.label||""));n.appendChild(document.createTextNode(" ")),n.appendChild(o("button",{class:"cm-button",type:"submit"},t.submitLabel||"OK"))}let i="FORM"==n.nodeName?[n]:n.querySelectorAll("form");for(let e=0;e<i.length;e++){let t=i[e];t.addEventListener("keydown",e=>{27==e.keyCode?(e.preventDefault(),a(null)):13==e.keyCode&&(e.preventDefault(),a(t))}),t.addEventListener("submit",e=>{e.preventDefault(),a(t)})}let s=o("div",n,o("button",{onclick:()=>a(null),"aria-label":e.state.phrase("close"),class:"cm-dialog-close",type:"button"},["×"]));function a(t){s.contains(s.ownerDocument.activeElement)&&e.focus(),r(t)}return t.class&&(s.className=t.class),s.classList.add("cm-dialog"),{dom:s,top:t.top,mount:()=>{if(t.focus){let e;e="string"==typeof t.focus?n.querySelector(t.focus):n.querySelector("input")||n.querySelector("button"),e&&"select"in e?e.select():e&&"focus"in e&&e.focus()}}}}(e,t,r);e.state.field(Ai,!1)?e.dispatch({effects:Ti.of(s)}):e.dispatch({effects:n.StateEffect.appendConfig.of(Ai.init(()=>[s]))});let a=ki.of(s);return{close:a,result:i.then(t=>((e.win.queueMicrotask||(t=>e.win.setTimeout(t,10)))(()=>{e.state.field(Ai).indexOf(s)>-1&&e.dispatch({effects:a})}),t))}},t.showPanel=wi,t.showTooltip=di,t.tooltips=function(e={}){return ai.of(e)}},G5nY:(e,t)=>{"use strict";const r=1024;let n=0;class i{constructor(e,t){this.from=e,this.to=t}}class s{constructor(e={}){this.id=n++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=l.match(e)),t=>{let r=e(t);return void 0===r?null:[this,r]}}}s.closedBy=new s({deserialize:e=>e.split(" ")}),s.openedBy=new s({deserialize:e=>e.split(" ")}),s.group=new s({deserialize:e=>e.split(" ")}),s.isolate=new s({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),s.contextHash=new s({perNode:!0}),s.lookAhead=new s({perNode:!0}),s.mounted=new s({perNode:!0});class o{constructor(e,t,r){this.tree=e,this.overlay=t,this.parser=r}static get(e){return e&&e.props&&e.props[s.mounted.id]}}const a=Object.create(null);class l{constructor(e,t,r,n=0){this.name=e,this.props=t,this.id=r,this.flags=n}static define(e){let t=e.props&&e.props.length?Object.create(null):a,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),n=new l(e.name||"",t,e.id,r);if(e.props)for(let r of e.props)if(Array.isArray(r)||(r=r(n)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}return n}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(s.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let r in e)for(let n of r.split(" "))t[n]=e[r];return e=>{for(let r=e.prop(s.group),n=-1;n<(r?r.length:0);n++){let i=t[n<0?e.name:r[n]];if(i)return i}}}}l.none=new l("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let r of this.types){let n=null;for(let t of e){let e=t(r);e&&(n||(n=Object.assign({},r.props)),n[e[0].id]=e[1])}t.push(n?new l(r.name,n,r.id,r.flags):r)}return new u(t)}}const c=new WeakMap,p=new WeakMap;var h;t.IterMode=void 0,(h=t.IterMode||(t.IterMode={}))[h.ExcludeBuffers=1]="ExcludeBuffers",h[h.IncludeAnonymous=2]="IncludeAnonymous",h[h.IgnoreMounts=4]="IgnoreMounts",h[h.IgnoreOverlays=8]="IgnoreOverlays";class d{constructor(e,t,r,n,i){if(this.type=e,this.children=t,this.positions=r,this.length=n,this.props=null,i&&i.length){this.props=Object.create(null);for(let[e,t]of i)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=o.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let r=e.toString();r&&(t&&(t+=","),t+=r)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new w(this.topNode,e)}cursorAt(e,t=0,r=0){let n=c.get(this)||this.topNode,i=new w(n);return i.moveTo(e,t),c.set(this,i._tree),i}get topNode(){return new y(this,0,0,null)}resolve(e,t=0){let r=O(c.get(this)||this.topNode,e,t,!1);return c.set(this,r),r}resolveInner(e,t=0){let r=O(p.get(this)||this.topNode,e,t,!0);return p.set(this,r),r}resolveStack(e,t=0){return function(e,t,r){let n=e.resolveInner(t,r),i=null;for(let e=n instanceof y?n:n.context.parent;e;e=e.parent)if(e.index<0){let s=e.parent;(i||(i=[n])).push(s.resolve(t,r)),e=s}else{let s=o.get(e.tree);if(s&&s.overlay&&s.overlay[0].from<=t&&s.overlay[s.overlay.length-1].to>=t){let o=new y(s.tree,s.overlay[0].from+e.from,-1,e);(i||(i=[n])).push(O(o,t,r,!1))}}return i?E(i):n}(this,e,t)}iterate(e){let{enter:r,leave:n,from:i=0,to:s=this.length}=e,o=e.mode||0,a=(o&t.IterMode.IncludeAnonymous)>0;for(let e=this.cursor(o|t.IterMode.IncludeAnonymous);;){let t=!1;if(e.from<=s&&e.to>=i&&(!a&&e.type.isAnonymous||!1!==r(e))){if(e.firstChild())continue;t=!0}for(;t&&n&&(a||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;t=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:F(l.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,r)=>new d(this.type,e,t,r,this.propValues),e.makeTree||((e,t,r)=>new d(l.none,e,t,r)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:o=r,reused:a=[],minRepeatType:l=i.types.length}=e,u=Array.isArray(n)?new f(n,n.length):n,c=i.types,p=0,h=0;function g(e,t,r,n,f,S){let{id:C,start:b,end:E,size:x}=u,w=h,A=p;for(;x<0;){if(u.next(),-1==x){let t=a[C];return r.push(t),void n.push(b-e)}if(-3==x)return void(p=C);if(-4==x)return void(h=C);throw new RangeError(`Unrecognized record size: ${x}`)}let T,k,P=c[C],Q=b-e;if(E-b<=o&&(k=function(e,t){let r=u.fork(),n=0,i=0,s=0,a=r.end-o,c={size:0,start:0,skip:0};e:for(let o=r.pos-e;r.pos>o;){let e=r.size;if(r.id==t&&e>=0){c.size=n,c.start=i,c.skip=s,s+=4,n+=4,r.next();continue}let u=r.pos-e;if(e<0||u<o||r.start<a)break;let p=r.id>=l?4:0,h=r.start;for(r.next();r.pos>u;){if(r.size<0){if(-3!=r.size)break e;p+=4}else r.id>=l&&(p+=4);r.next()}i=h,n+=e,s+=p}return(t<0||n==e)&&(c.size=n,c.start=i,c.skip=s),c.size>4?c:void 0}(u.pos-t,f))){let t=new Uint16Array(k.size-k.skip),r=u.pos-k.size,n=t.length;for(;u.pos>r;)n=v(k.start,t,n);T=new m(t,E-k.start,i),Q=k.start-e}else{let e=u.pos-x;u.next();let t=[],r=[],n=C>=l?C:-1,i=0,a=E;for(;u.pos>e;)n>=0&&u.id==n&&u.size>=0?(u.end<=a-o&&(D(t,r,b,i,u.end,a,n,w,A),i=t.length,a=u.end),u.next()):S>2500?O(b,e,t,r):g(b,e,t,r,n,S+1);if(n>=0&&i>0&&i<t.length&&D(t,r,b,i,b,a,n,w,A),t.reverse(),r.reverse(),n>-1&&i>0){let e=function(e,t){return(r,n,i)=>{let o,a,l=0,u=r.length-1;if(u>=0&&(o=r[u])instanceof d){if(!u&&o.type==e&&o.length==i)return o;(a=o.prop(s.lookAhead))&&(l=n[u]+o.length+a)}return y(e,r,n,i,l,t)}}(P,A);T=F(P,t,r,0,t.length,0,E-b,e,e)}else T=y(P,t,r,E-b,w-E,A)}r.push(T),n.push(Q)}function O(e,t,r,n){let s=[],a=0,l=-1;for(;u.pos>t;){let{id:e,start:t,end:r,size:n}=u;if(n>4)u.next();else{if(l>-1&&t<l)break;l<0&&(l=r-o),s.push(e,t,r),a++,u.next()}}if(a){let t=new Uint16Array(4*a),o=s[s.length-2];for(let e=s.length-3,r=0;e>=0;e-=3)t[r++]=s[e],t[r++]=s[e+1]-o,t[r++]=s[e+2]-o,t[r++]=r;r.push(new m(t,s[2]-o,i)),n.push(o-e)}}function D(e,t,r,n,s,o,a,l,u){let c=[],p=[];for(;e.length>n;)c.push(e.pop()),p.push(t.pop()+r-s);e.push(y(i.types[a],c,p,o-s,l-o,u)),t.push(s-r)}function y(e,t,r,n,i,o,a){if(o){let e=[s.contextHash,o];a=a?[e].concat(a):[e]}if(i>25){let e=[s.lookAhead,i];a=a?[e].concat(a):[e]}return new d(e,t,r,n,a)}function v(e,t,r){let{id:n,start:i,end:s,size:o}=u;if(u.next(),o>=0&&n<l){let a=r;if(o>4){let n=u.pos-(o-4);for(;u.pos>n;)r=v(e,t,r)}t[--r]=a,t[--r]=s-e,t[--r]=i-e,t[--r]=n}else-3==o?p=n:-4==o&&(h=n);return r}let S=[],C=[];for(;u.pos>0;)g(e.start||0,e.bufferStart||0,S,C,-1,0);let b=null!==(t=e.length)&&void 0!==t?t:S.length?C[0]+S[0].length:0;return new d(c[e.topID],S.reverse(),C.reverse(),b)}(e)}}d.empty=new d(l.none,[],[],0);class f{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new f(this.buffer,this.index)}}class m{constructor(e,t,r){this.buffer=e,this.length=t,this.set=r}get type(){return l.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],r=this.buffer[e+3],n=this.set.types[t],i=n.name;if(/\W/.test(i)&&!n.isError&&(i=JSON.stringify(i)),r==(e+=4))return i;let s=[];for(;e<r;)s.push(this.childString(e)),e=this.buffer[e+3];return i+"("+s.join(",")+")"}findChild(e,t,r,n,i){let{buffer:s}=this,o=-1;for(let a=e;a!=t&&!(g(i,n,s[a+1],s[a+2])&&(o=a,r>0));a=s[a+3]);return o}slice(e,t,r){let n=this.buffer,i=new Uint16Array(t-e),s=0;for(let o=e,a=0;o<t;){i[a++]=n[o++],i[a++]=n[o++]-r;let t=i[a++]=n[o++]-r;i[a++]=n[o++]-e,s=Math.max(s,t)}return new m(i,s,this.set)}}function g(e,t,r,n){switch(e){case-2:return r<t;case-1:return n>=t&&r<t;case 0:return r<t&&n>t;case 1:return r<=t&&n>t;case 2:return n>t;case 4:return!0}}function O(e,r,n,i){for(var s;e.from==e.to||(n<1?e.from>=r:e.from>r)||(n>-1?e.to<=r:e.to<r);){let t=!i&&e instanceof y&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=i?0:t.IterMode.IgnoreOverlays;if(i)for(let t=e,i=t.parent;i;t=i,i=t.parent)t instanceof y&&t.index<0&&(null===(s=i.enter(r,n,o))||void 0===s?void 0:s.from)!=t.from&&(e=i);for(;;){let t=e.enter(r,n,o);if(!t)return e;e=t}}class D{cursor(e=0){return new w(this,e)}getChild(e,t=null,r=null){let n=v(this,e,t,r);return n.length?n[0]:null}getChildren(e,t=null,r=null){return v(this,e,t,r)}resolve(e,t=0){return O(this,e,t,!1)}resolveInner(e,t=0){return O(this,e,t,!0)}matchContext(e){return S(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),r=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(r=t,t=e.prevSibling):t=e}return r}get node(){return this}get next(){return this.parent}}class y extends D{constructor(e,t,r,n){super(),this._tree=e,this.from=t,this.index=r,this._parent=n}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,r,n,i,s=0){for(let a=this;;){for(let{children:l,positions:u}=a._tree,c=r>0?l.length:-1;e!=c;e+=r){let c=l[e],p=u[e]+a.from;if(g(i,n,p,p+c.length))if(c instanceof m){if(s&t.IterMode.ExcludeBuffers)continue;let o=c.findChild(0,c.buffer.length,r,n-p,i);if(o>-1)return new b(new C(a,c,e,p),null,o)}else if(s&t.IterMode.IncludeAnonymous||!c.type.isAnonymous||A(c)){let l;if(!(s&t.IterMode.IgnoreMounts)&&(l=o.get(c))&&!l.overlay)return new y(l.tree,p,e,a);let u=new y(c,p,e,a);return s&t.IterMode.IncludeAnonymous||!u.type.isAnonymous?u:u.nextChild(r<0?c.children.length-1:0,r,n,i)}}if(s&t.IterMode.IncludeAnonymous||!a.type.isAnonymous)return null;if(e=a.index>=0?a.index+r:r<0?-1:a._parent._tree.children.length,a=a._parent,!a)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,r,n=0){let i;if(!(n&t.IterMode.IgnoreOverlays)&&(i=o.get(this._tree))&&i.overlay){let t=e-this.from;for(let{from:e,to:n}of i.overlay)if((r>0?e<=t:e<t)&&(r<0?n>=t:n>t))return new y(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,r,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function v(e,t,r,n){let i=e.cursor(),s=[];if(!i.firstChild())return s;if(null!=r)for(let e=!1;!e;)if(e=i.type.is(r),!i.nextSibling())return s;for(;;){if(null!=n&&i.type.is(n))return s;if(i.type.is(t)&&s.push(i.node),!i.nextSibling())return null==n?s:[]}}function S(e,t,r=t.length-1){for(let n=e;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(t[r]&&t[r]!=n.name)return!1;r--}}return!0}class C{constructor(e,t,r,n){this.parent=e,this.buffer=t,this.index=r,this.start=n}}class b extends D{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,r){super(),this.context=e,this._parent=t,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,t,r){let{buffer:n}=this.context,i=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.context.start,r);return i<0?null:new b(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,r,n=0){if(n&t.IterMode.ExcludeBuffers)return null;let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],r>0?1:-1,e-this.context.start,r);return s<0?null:new b(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new b(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new b(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:r}=this.context,n=this.index+4,i=r.buffer[this.index+3];if(i>n){let s=r.buffer[this.index+1];e.push(r.slice(n,i,s)),t.push(0)}return new d(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function E(e){if(!e.length)return null;let t=0,r=e[0];for(let n=1;n<e.length;n++){let i=e[n];(i.from>r.from||i.to<r.to)&&(r=i,t=n)}let n=r instanceof y&&r.index<0?null:r.parent,i=e.slice();return n?i[t]=n:i.splice(t,1),new x(i,r)}class x{constructor(e,t){this.heads=e,this.node=t}get next(){return E(this.heads)}}class w{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof y)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:r,buffer:n}=this.buffer;return this.type=t||n.set.types[n.buffer[e]],this.from=r+n.buffer[e+1],this.to=r+n.buffer[e+2],!0}yield(e){return!!e&&(e instanceof y?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,r,this.mode));let{buffer:n}=this.buffer,i=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.buffer.start,r);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,r,n=this.mode){return this.buffer?!(n&t.IterMode.ExcludeBuffers)&&this.enterChild(1,e,r):this.yield(this._tree.enter(e,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&t.IterMode.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&t.IterMode.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,r=this.stack.length-1;if(e<0){let e=r<0?0:this.stack[r]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(r<0?t.buffer.length:t.buffer[this.stack[r]+3]))return this.yieldBuf(e)}return r<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let r,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(i.buffer.buffer[e+3]<this.index)return!1;({index:r,parent:n}=i)}else({index:r,_parent:n}=this._tree);for(;n;({index:r,_parent:n}=n))if(r>-1)for(let i=r+e,s=e<0?-1:n._tree.children.length;i!=s;i+=e){let e=n._tree.children[i];if(this.mode&t.IterMode.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||A(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,r=0;if(e&&e.context==this.buffer)e:for(let n=this.index,i=this.stack.length;i>=0;){for(let s=e;s;s=s._parent)if(s.index==n){if(n==this.index)return s;t=s,r=i+1;break e}n=this.stack[--i]}for(let e=r;e<this.stack.length;e++)t=new b(this.buffer,t,this.stack[e]);return this.bufferNode=new b(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let r=0;;){let n=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){r++;continue}this.type.isAnonymous||(n=!0)}for(;;){if(n&&t&&t(this),n=this.type.isAnonymous,!r)return;if(this.nextSibling())break;this.parent(),r--,n=!0}}}matchContext(e){if(!this.buffer)return S(this.node.parent,e);let{buffer:t}=this.buffer,{types:r}=t.set;for(let n=e.length-1,i=this.stack.length-1;n>=0;i--){if(i<0)return S(this._tree,e,n);let s=r[t.buffer[this.stack[i]]];if(!s.isAnonymous){if(e[n]&&e[n]!=s.name)return!1;n--}}return!0}}function A(e){return e.children.some(e=>e instanceof m||!e.type.isAnonymous||A(e))}const T=new WeakMap;function k(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let r=T.get(t);if(null==r){r=1;for(let n of t.children){if(n.type!=e||!(n instanceof d)){r=1;break}r+=k(e,n)}T.set(t,r)}return r}function F(e,t,r,n,i,s,o,a,l){let u=0;for(let r=n;r<i;r++)u+=k(e,t[r]);let c=Math.ceil(1.5*u/8),p=[],h=[];return function t(r,n,i,o,a){for(let u=i;u<o;){let i=u,d=n[u],f=k(e,r[u]);for(u++;u<o;u++){let t=k(e,r[u]);if(f+t>=c)break;f+=t}if(u==i+1){if(f>c){let e=r[i];t(e.children,e.positions,0,e.children.length,n[i]+a);continue}p.push(r[i])}else{let t=n[u-1]+r[u-1].length-d;p.push(F(e,r,n,i,u,d,t,null,l))}h.push(d+a-s)}}(t,r,n,i,0),(a||l)(p,h,o)}class P{constructor(e,t,r,n,i=!1,s=!1){this.from=e,this.to=t,this.tree=r,this.offset=n,this.open=(i?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],r=!1){let n=[new P(0,e.length,e,0,!1,r)];for(let r of t)r.to>e.length&&n.push(r);return n}static applyChanges(e,t,r=128){if(!t.length)return e;let n=[],i=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let u=o<t.length?t[o]:null,c=u?u.fromA:1e9;if(c-a>=r)for(;s&&s.from<c;){let t=s;if(a>=t.from||c<=t.to||l){let e=Math.max(t.from,a)-l,r=Math.min(t.to,c)-l;t=e>=r?null:new P(e,r,t.tree,t.offset+l,o>0,!!u)}if(t&&n.push(t),s.to>c)break;s=i<e.length?e[i++]:null}if(!u)break;a=u.toA,l=u.toA-u.toB}return n}}class Q{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class ${constructor(e,t,r,n,i){this.parser=e,this.parse=t,this.overlay=r,this.target=n,this.from=i}}function B(e){if(!e.length||e.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class _{constructor(e,t,r,n,i,s,o){this.parser=e,this.predicate=t,this.mounts=r,this.index=n,this.start=i,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}const N=new s({perNode:!0});class M{constructor(e,t,r,n,i){this.nest=t,this.input=r,this.fragments=n,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new d(e.type,e.children,e.positions,e.length,e.propValues.concat([[N,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[s.mounted.id]=new o(t,e.overlay,e.parser),e.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new X(this.fragments),r=null,n=null,s=new w(new y(this.baseTree,this.ranges[0].from,0,null),t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts);e:for(let t,o;;){let a,l=!0;if(null!=this.stoppedAt&&s.from>=this.stoppedAt)l=!1;else if(e.hasNode(s)){if(r){let e=r.mounts.find(e=>e.frag.from<=s.from&&e.frag.to>=s.to&&e.mount.overlay);if(e)for(let t of e.mount.overlay){let n=t.from+e.pos,i=t.to+e.pos;n>=s.from&&i<=s.to&&!r.ranges.some(e=>e.from<i&&e.to>n)&&r.ranges.push({from:n,to:i})}}l=!1}else if(n&&(o=R(n.ranges,s.from,s.to)))l=2!=o;else if(!s.type.isAnonymous&&(t=this.nest(s,this.input))&&(s.from<s.to||!t.overlay)){s.tree||I(s);let o=e.findMounts(s.from,t.parser);if("function"==typeof t.overlay)r=new _(t.parser,t.overlay,o,this.inner.length,s.from,s.tree,r);else{let e=Z(this.ranges,t.overlay||(s.from<s.to?[new i(s.from,s.to)]:[]));e.length&&B(e),!e.length&&t.overlay||this.inner.push(new $(t.parser,e.length?t.parser.startParse(this.input,q(o,e),e):t.parser.startParse(""),t.overlay?t.overlay.map(e=>new i(e.from-s.from,e.to-s.from)):null,s.tree,e.length?e[0].from:s.from)),t.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):l=!1}}else if(r&&(a=r.predicate(s))&&(!0===a&&(a=new i(s.from,s.to)),a.from<a.to)){let e=r.ranges.length-1;e>=0&&r.ranges[e].to==a.from?r.ranges[e]={from:r.ranges[e].from,to:a.to}:r.ranges.push(a)}if(l&&s.firstChild())r&&r.depth++,n&&n.depth++;else for(;!s.nextSibling();){if(!s.parent())break e;if(r&&! --r.depth){let e=Z(this.ranges,r.ranges);e.length&&(B(e),this.inner.splice(r.index,0,new $(r.parser,r.parser.startParse(this.input,q(r.mounts,e),e),r.ranges.map(e=>new i(e.from-r.start,e.to-r.start)),r.target,e[0].from))),r=r.prev}n&&! --n.depth&&(n=n.prev)}}}}function R(e,t,r){for(let n of e){if(n.from>=r)break;if(n.to>t)return n.from<=t&&n.to>=r?2:1}return 0}function L(e,t,r,n,i,s){if(t<r){let o=e.buffer[t+1];n.push(e.slice(t,r,o)),i.push(o-s)}}function I(e){let{node:t}=e,r=[],n=t.context.buffer;do{r.push(e.index),e.parent()}while(!e.tree);let i=e.tree,s=i.children.indexOf(n),o=i.children[s],a=o.buffer,u=[s];i.children[s]=function e(n,i,s,l,c,p){let h=r[p],f=[],m=[];L(o,n,h,f,m,l);let g=a[h+1],O=a[h+2];u.push(f.length);let D=p?e(h+4,a[h+3],o.set.types[a[h]],g,O-g,p-1):t.toTree();return f.push(D),m.push(g-l),L(o,a[h+3],i,f,m,l),new d(s,f,m,c)}(0,a.length,l.none,0,o.length,r.length-1);for(let t of u){let r=e.tree.children[t],n=e.tree.positions[t];e.yield(new y(r,n+e.from,t,e._tree))}}class j{constructor(e,r){this.offset=r,this.done=!1,this.cursor=e.cursor(t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts)}moveTo(e){let{cursor:r}=this,n=e-this.offset;for(;!this.done&&r.from<n;)r.to>=e&&r.enter(n,1,t.IterMode.IgnoreOverlays|t.IterMode.ExcludeBuffers)||r.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof d))break;t=t.children[0]}return!1}}class X{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let r=this.curFrag=e[0];this.curTo=null!==(t=r.tree.prop(N))&&void 0!==t?t:r.to,this.inner=new j(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(N))&&void 0!==e?e:t.to,this.inner=new j(t.tree,-t.offset)}}findMounts(e,t){var r;let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let i=null===(r=e.tree)||void 0===r?void 0:r.prop(s.mounted);if(i&&i.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let r=this.fragments[t];if(r.from>=e.to)break;r.tree==this.curFrag.tree&&n.push({frag:r,pos:e.from-r.offset,mount:i})}}}return n}}function Z(e,t){let r=null,n=t;for(let s=1,o=0;s<e.length;s++){let a=e[s-1].to,l=e[s].from;for(;o<n.length;o++){let e=n[o];if(e.from>=l)break;e.to<=a||(r||(n=r=t.slice()),e.from<a?(r[o]=new i(e.from,a),e.to>l&&r.splice(o+1,0,new i(l,e.to))):e.to>l?r[o--]=new i(l,e.to):r.splice(o--,1))}}return n}function V(e,t,r,n){let s=0,o=0,a=!1,l=!1,u=-1e9,c=[];for(;;){let p=s==e.length?1e9:a?e[s].to:e[s].from,h=o==t.length?1e9:l?t[o].to:t[o].from;if(a!=l){let e=Math.max(u,r),t=Math.min(p,h,n);e<t&&c.push(new i(e,t))}if(u=Math.min(p,h),1e9==u)break;p==u&&(a?(a=!1,s++):a=!0),h==u&&(l?(l=!1,o++):l=!0)}return c}function q(e,t){let r=[];for(let{pos:n,mount:s,frag:o}of e){let e=n+(s.overlay?s.overlay[0].from:0),a=e+s.tree.length,l=Math.max(o.from,e),u=Math.min(o.to,a);if(s.overlay){let a=V(t,s.overlay.map(e=>new i(e.from+n,e.to+n)),l,u);for(let t=0,n=l;;t++){let i=t==a.length,l=i?u:a[t].from;if(l>n&&r.push(new P(n,l,s.tree,-e,o.from>=n||o.openStart,o.to<=l||o.openEnd)),i)break;n=a[t].to}}else r.push(new P(l,u,s.tree,-e,o.from>=e||o.openStart,o.to<=a||o.openEnd))}return r}t.DefaultBufferLength=r,t.MountedTree=o,t.NodeProp=s,t.NodeSet=u,t.NodeType=l,t.NodeWeakMap=class{constructor(){this.map=new WeakMap}setBuffer(e,t,r){let n=this.map.get(e);n||this.map.set(e,n=new Map),n.set(t,r)}getBuffer(e,t){let r=this.map.get(e);return r&&r.get(t)}set(e,t){e instanceof b?this.setBuffer(e.context.buffer,e.index,t):e instanceof y&&this.map.set(e.tree,t)}get(e){return e instanceof b?this.getBuffer(e.context.buffer,e.index):e instanceof y?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},t.Parser=class{startParse(e,t,r){return"string"==typeof e&&(e=new Q(e)),r=r?r.length?r.map(e=>new i(e.from,e.to)):[new i(0,0)]:[new i(0,e.length)],this.createParse(e,t||[],r)}parse(e,t,r){let n=this.startParse(e,t,r);for(;;){let e=n.advance();if(e)return e}}},t.Tree=d,t.TreeBuffer=m,t.TreeCursor=w,t.TreeFragment=P,t.parseMixed=function(e){return(t,r,n,i)=>new M(t,e,r,n,i)}},HI7g:(e,t,r)=>{"use strict";var n=r("bgcN"),i=r("DCQ6"),s=r("cEeD");class o{constructor(e,t,r,n){this.state=e,this.pos=t,this.explicit=r,this.view=n,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=s.syntaxTree(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),r=Math.max(t.from,this.pos-250),n=t.text.slice(r-t.from,this.pos-t.from),i=n.search(p(e,!1));return i<0?null:{from:r+i,to:this.pos,text:n.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,r){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function a(e){let t=Object.keys(e).join(""),r=/\w/.test(t);return r&&(t=t.replace(/\w/g,"")),`[${r?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function l(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[r,n]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),r=Object.create(null);for(let{label:n}of e){t[n[0]]=!0;for(let e=1;e<n.length;e++)r[n[e]]=!0}let n=a(t)+a(r)+"*$";return[new RegExp("^"+n),new RegExp(n)]}(t);return e=>{let i=e.matchBefore(n);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:r}:null}}class u{constructor(e,t,r,n){this.completion=e,this.source=t,this.match=r,this.score=n}}function c(e){return e.selection.main.from}function p(e,t){var r;let{source:n}=e,i=t&&"^"!=n[0],s="$"!=n[n.length-1];return i||s?new RegExp(`${i?"^":""}(?:${n})${s?"$":""}`,null!==(r=e.flags)&&void 0!==r?r:e.ignoreCase?"i":""):e}const h=n.Annotation.define();function d(e,t,r,i){let{main:s}=e.selection,o=r-s.from,a=i-s.from;return{...e.changeByRange(l=>{if(l!=s&&r!=i&&e.sliceDoc(l.from+o,l.from+a)!=e.sliceDoc(r,i))return{range:l};let u=e.toText(t);return{changes:{from:l.from+o,to:i==s.from?l.to:l.from+a,insert:u},range:n.EditorSelection.cursor(l.from+o+u.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const f=new WeakMap;function m(e){if(!Array.isArray(e))return e;let t=f.get(e);return t||f.set(e,t=l(e)),t}const g=n.StateEffect.define(),O=n.StateEffect.define();class D{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let r=n.codePointAt(e,t),i=n.codePointSize(r);this.chars.push(r);let s=e.slice(t,t+i),o=s.toUpperCase();this.folded.push(n.codePointAt(o==s?s.toLowerCase():o,0)),t+=i}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:r,any:i,precise:s,byWord:o}=this;if(1==t.length){let i=n.codePointAt(e,0),s=n.codePointSize(i),o=s==e.length?0:-100;if(i==t[0]);else{if(i!=r[0])return null;o+=-200}return this.ret(o,[0,s])}let a=e.indexOf(this.pattern);if(0==a)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=t.length,u=0;if(a<0){for(let s=0,o=Math.min(e.length,200);s<o&&u<l;){let o=n.codePointAt(e,s);o!=t[u]&&o!=r[u]||(i[u++]=s),s+=n.codePointSize(o)}if(u<l)return null}let c=0,p=0,h=!1,d=0,f=-1,m=-1,g=/[a-z]/.test(e),O=!0;for(let i=0,u=Math.min(e.length,200),D=0;i<u&&p<l;){let u=n.codePointAt(e,i);a<0&&(c<l&&u==t[c]&&(s[c++]=i),d<l&&(u==t[d]||u==r[d]?(0==d&&(f=i),m=i+1,d++):d=0));let y,v=u<255?u>=48&&u<=57||u>=97&&u<=122?2:u>=65&&u<=90?1:0:(y=n.fromCodePoint(u))!=y.toLowerCase()?1:y!=y.toUpperCase()?2:0;(!i||1==v&&g||0==D&&0!=v)&&(t[p]==u||r[p]==u&&(h=!0)?o[p++]=i:o.length&&(O=!1)),D=v,i+=n.codePointSize(u)}return p==l&&0==o[0]&&O?this.result((h?-200:0)-100,o,e):d==l&&0==f?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):d==l?this.ret(-900-e.length,[f,m]):p==l?this.result((h?-200:0)-100-700+(O?0:-1100),o,e):2==t.length?null:this.result((i[0]?-700:0)-200-1100,i,e)}result(e,t,r){let i=[],s=0;for(let e of t){let t=e+(this.astral?n.codePointSize(n.codePointAt(r,e)):1);s&&i[s-1]==e?i[s-1]=t:(i[s++]=e,i[s++]=t)}return this.ret(e-r.length,i)}}class y{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),r=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==r?null:(this.matched=[0,t.length],this.score=r+(e.length==this.pattern.length?0:-100),this)}}const v=n.Facet.define({combine:e=>n.combineConfig(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:C,filterStrict:!1,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>r=>S(e(r),t(r)),optionClass:(e,t)=>r=>S(e(r),t(r)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function S(e,t){return e?t?e+" "+t:e:t}function C(e,t,r,n,s,o){let a,l,u=e.textDirection==i.Direction.RTL,c=u,p=!1,h="top",d=t.left-s.left,f=s.right-t.right,m=n.right-n.left,g=n.bottom-n.top;if(c&&d<Math.min(m,f)?c=!1:!c&&f<Math.min(m,d)&&(c=!0),m<=(c?d:f))a=Math.max(s.top,Math.min(r.top,s.bottom-g))-t.top,l=Math.min(400,c?d:f);else{p=!0,l=Math.min(400,(u?t.right:s.right-t.left)-30);let e=s.bottom-t.bottom;e>=g||e>t.top?a=r.bottom-t.top:(h="bottom",a=t.bottom-r.top)}return{style:`${h}: ${a/((t.bottom-t.top)/o.offsetHeight)}px; max-width: ${l/((t.right-t.left)/o.offsetWidth)}px`,class:"cm-completionInfo-"+(p?u?"left-narrow":"right-narrow":c?"left":"right")}}function b(e,t,r){if(e<=r)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/r);return{from:e*r,to:(e+1)*r}}let n=Math.floor((e-t)/r);return{from:e-(n+1)*r,to:e-n*r}}class E{constructor(e,t,r){this.view=e,this.stateField=t,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let n=e.state.field(t),{options:i,selected:s}=n.open,o=e.state.facet(v);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,r,n){let i=document.createElement("span");i.className="cm-completionLabel";let s=e.displayLabel||e.label,o=0;for(let e=0;e<n.length;){let t=n[e++],r=n[e++];t>o&&i.appendChild(document.createTextNode(s.slice(o,t)));let a=i.appendChild(document.createElement("span"));a.appendChild(document.createTextNode(s.slice(t,r))),a.className="cm-completionMatchedText",o=r}return o<s.length&&i.appendChild(document.createTextNode(s.slice(o))),i},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=b(i.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",r=>{let{options:n}=e.state.field(t).open;for(let t,i=r.target;i&&i!=this.dom;i=i.parentNode)if("LI"==i.nodeName&&(t=/-(\d+)$/.exec(i.id))&&+t[1]<n.length)return this.applyCompletion(e,n[+t[1]]),void r.preventDefault()}),this.dom.addEventListener("focusout",t=>{let r=e.state.field(this.stateField,!1);r&&r.tooltip&&e.state.facet(v).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:O.of(null)})}),this.showOptions(i,n.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let r=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=n){let{options:i,selected:s,disabled:o}=r.open;n.open&&n.open.options==i||(this.range=b(i.length,s,e.state.facet(v).maxRenderedOptions),this.showOptions(i,r.id)),this.updateSel(),o!=(null===(t=n.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=b(t.options.length,t.selected,this.view.state.facet(v).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:n}=r;if(!n)return;let s="string"==typeof n?document.createTextNode(n):n(r);if(!s)return;"then"in s?s.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>i.logException(this.view.state,e,"completion info")):this.addInfoPane(s,r)}}addInfoPane(e,t){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",null!=e.nodeType)r.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:n}=e;r.appendChild(t),this.infoDestroy=n||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let r=this.list.firstChild,n=this.range.from;r;r=r.nextSibling,n++)"LI"==r.nodeName&&r.id?n==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),t=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected"):n--;return t&&function(e,t){let r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),i=r.height/e.offsetHeight;n.top<r.top?e.scrollTop-=(r.top-n.top)/i:n.bottom>r.bottom&&(e.scrollTop+=(n.bottom-r.bottom)/i)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return n.top>Math.min(i.bottom,t.bottom)-10||n.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(v).positionInfo(this.view,t,n,r,i,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,r){const n=document.createElement("ul");n.id=t,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions")),n.addEventListener("mousedown",e=>{e.target==n&&e.preventDefault()});let i=null;for(let s=r.from;s<r.to;s++){let{completion:o,match:a}=e[s],{section:l}=o;if(l){let e="string"==typeof l?l:l.name;e!=i&&(s>r.from||0==r.from)&&(i=e,"string"!=typeof l&&l.header?n.appendChild(l.header(l)):n.appendChild(document.createElement("completion-section")).textContent=e)}const u=n.appendChild(document.createElement("li"));u.id=t+"-"+s,u.setAttribute("role","option");let c=this.optionClass(o);c&&(u.className=c);for(let e of this.optionContent){let t=e(o,this.view.state,this.view,a);t&&u.appendChild(t)}}return r.from&&n.classList.add("cm-completionListIncompleteTop"),r.to<e.length&&n.classList.add("cm-completionListIncompleteBottom"),n}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function x(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class w{constructor(e,t,r,n,i,s){this.options=e,this.attrs=t,this.tooltip=r,this.timestamp=n,this.selected=i,this.disabled=s}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new w(this.options,F(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,r,n,i,s){if(n&&!s&&e.some(e=>e.isPending))return n.setDisabled();let o=function(e,t){let r=[],n=null,i=null,s=e=>{r.push(e);let{section:t}=e.completion;if(t){n||(n=[]);let e="string"==typeof t?t:t.name;n.some(t=>t.name==e)||n.push("string"==typeof t?{name:e}:t)}},o=t.facet(v);for(let n of e)if(n.hasResult()){let e=n.result.getMatch;if(!1===n.result.filter)for(let t of n.result.options)s(new u(t,n.source,e?e(t):[],1e9-r.length));else{let r,a=t.sliceDoc(n.from,n.to),l=o.filterStrict?new y(a):new D(a);for(let t of n.result.options)if(r=l.match(t.label)){let o=t.displayLabel?e?e(t,r.matched):[]:r.matched,a=r.score+(t.boost||0);if(s(new u(t,n.source,o,a)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(a,i[e]||-1e9)}}}}if(n){let e=Object.create(null),t=0,s=(e,t)=>("dynamic"===e.rank&&"dynamic"===t.rank?i[t.name]-i[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.name<t.name?-1:1);for(let r of n.sort(s))t-=1e5,e[r.name]=t;for(let t of r){let{section:r}=t.completion;r&&(t.score+=e["string"==typeof r?r:r.name])}}let a=[],l=null,c=o.compareCompletions;for(let e of r.sort((e,t)=>t.score-e.score||c(e.completion,t.completion))){let t=e.completion;!l||l.label!=t.label||l.detail!=t.detail||null!=l.type&&null!=t.type&&l.type!=t.type||l.apply!=t.apply||l.boost!=t.boost?a.push(e):x(e.completion)>x(l)&&(a[a.length-1]=e),l=e.completion}return a}(e,t);if(!o.length)return n&&e.some(e=>e.isPending)?n.setDisabled():null;let a=t.facet(v).selectOnOpen?0:-1;if(n&&n.selected!=a&&-1!=n.selected){let e=n.options[n.selected].completion;for(let t=0;t<o.length;t++)if(o[t].completion==e){a=t;break}}return new w(o,F(r,a),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:L,above:i.aboveCursor},n?n.timestamp:Date.now(),a,!1)}map(e){return new w(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new w(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class A{constructor(e,t,r){this.active=e,this.id=t,this.open=r}static start(){return new A(P,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,r=t.facet(v),n=(r.override||t.languageDataAt("autocomplete",c(t)).map(m)).map(t=>(this.active.find(e=>e.source==t)||new $(t,this.active.some(e=>0!=e.state)?1:0)).update(e,r));n.length==this.active.length&&n.every((e,t)=>e==this.active[t])&&(n=this.active);let i=this.open,s=e.effects.some(e=>e.is(_));i&&e.docChanged&&(i=i.map(e.changes)),e.selection||n.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let r=0,n=0;;){for(;r<e.length&&!e[r].hasResult();)r++;for(;n<t.length&&!t[n].hasResult();)n++;let i=r==e.length,s=n==t.length;if(i||s)return i==s;if(e[r++].result!=t[n++].result)return!1}}(n,this.active)||s?i=w.build(n,t,this.id,i,r,s):i&&i.disabled&&!n.some(e=>e.isPending)&&(i=null),!i&&n.every(e=>!e.isPending)&&n.some(e=>e.hasResult())&&(n=n.map(e=>e.hasResult()?new $(e.source,0):e));for(let t of e.effects)t.is(N)&&(i=i&&i.setSelected(t.value,this.id));return n==this.active&&i==this.open?this:new A(n,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?T:k}}const T={"aria-autocomplete":"list"},k={};function F(e,t){let r={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(r["aria-activedescendant"]=e+"-"+t),r}const P=[];function Q(e,t){if(e.isUserEvent("input.complete")){let r=e.annotation(h);if(r&&t.activateOnCompletion(r))return 12}let r=e.isUserEvent("input.type");return r&&t.activateOnTyping?5:r?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class ${constructor(e,t,r=!1){this.source=e,this.state=t,this.explicit=r}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let r=Q(e,t),n=this;(8&r||16&r&&this.touches(e))&&(n=new $(n.source,0)),4&r&&0==n.state&&(n=new $(this.source,1)),n=n.updateFor(e,r);for(let t of e.effects)if(t.is(g))n=new $(n.source,1,t.value);else if(t.is(O))n=new $(n.source,0);else if(t.is(_))for(let e of t.value)e.source==n.source&&(n=e);return n}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(c(e.state))}}class B extends ${constructor(e,t,r,n,i,s){super(e,3,t),this.limit=r,this.result=n,this.from=i,this.to=s}hasResult(){return!0}updateFor(e,t){var r;if(!(3&t))return this.map(e.changes);let n=this.result;n.map&&!e.changes.empty&&(n=n.map(n,e.changes));let i=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=c(e.state);if(a>s||!n||2&t&&(c(e.startState)==this.from||a<this.limit))return new $(this.source,4&t?1:0);let l=e.changes.mapPos(this.limit);return function(e,t,r,n){if(!e)return!1;let i=t.sliceDoc(r,n);return"function"==typeof e?e(i,r,n,t):p(e,!0).test(i)}(n.validFor,e.state,i,s)?new B(this.source,this.explicit,l,n,i,s):n.update&&(n=n.update(n,i,s,new o(e.state,a,!1)))?new B(this.source,this.explicit,l,n,n.from,null!==(r=n.to)&&void 0!==r?r:c(e.state)):new $(this.source,1,this.explicit)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new B(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new $(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}const _=n.StateEffect.define({map:(e,t)=>e.map(e=>e.map(t))}),N=n.StateEffect.define(),M=n.StateField.define({create:()=>A.start(),update:(e,t)=>e.update(t),provide:e=>[i.showTooltip.from(e,e=>e.tooltip),i.EditorView.contentAttributes.from(e,e=>e.attrs)]});function R(e,t){const r=t.completion.apply||t.completion.label;let n=e.state.field(M).active.find(e=>e.source==t.source);return n instanceof B&&("string"==typeof r?e.dispatch({...d(e.state,r,n.from,n.to),annotations:h.of(t.completion)}):r(e,t.completion,n.from,n.to),!0)}const L=function(e,t){return r=>new E(r,e,t)}(M,R);function I(e,t="option"){return r=>{let n=r.state.field(M,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<r.state.facet(v).interactionDelay)return!1;let s,o=1;"page"==t&&(s=i.getTooltip(r,n.open.tooltip))&&(o=Math.max(2,Math.floor(s.dom.offsetHeight/s.dom.querySelector("li").offsetHeight)-1));let{length:a}=n.open.options,l=n.open.selected>-1?n.open.selected+o*(e?1:-1):e?0:a-1;return l<0?l="page"==t?0:a-1:l>=a&&(l="page"==t?a-1:0),r.dispatch({effects:N.of(l)}),!0}}const j=e=>{let t=e.state.field(M,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(v).interactionDelay)&&R(e,t.open.options[t.open.selected])},X=e=>!!e.state.field(M,!1)&&(e.dispatch({effects:g.of(!0)}),!0),Z=e=>{let t=e.state.field(M,!1);return!(!t||!t.active.some(e=>0!=e.state)||(e.dispatch({effects:O.of(null)}),0))};class V{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const q=i.ViewPlugin.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(M).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(M),r=e.state.facet(v);if(!e.selectionSet&&!e.docChanged&&e.startState.field(M)==t)return;let n=e.transactions.some(e=>{let t=Q(e,r);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let r=this.running[t];if(n||r.context.abortOnDocChange&&e.docChanged||r.updates.length+e.transactions.length>50&&Date.now()-r.time>1e3){for(let e of r.context.abortListeners)try{e()}catch(e){i.logException(this.view.state,e)}r.context.abortListeners=null,this.running.splice(t--,1)}else r.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(g)))&&(this.pendingStart=!0);let s=this.pendingStart?50:r.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),s):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(M);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(v).updateSyncTime))}startQuery(e){let{state:t}=this.view,r=c(t),n=new o(t,r,e.explicit,this.view),s=new V(e,n);this.running.push(s),Promise.resolve(e.source(n)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:O.of(null)}),i.logException(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(v).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],r=this.view.state.facet(v),n=this.view.state.field(M);for(let i=0;i<this.running.length;i++){let s=this.running[i];if(void 0===s.done)continue;if(this.running.splice(i--,1),s.done){let n=c(s.updates.length?s.updates[0].startState:this.view.state),i=Math.min(n,s.done.from+(s.active.explicit?0:1)),o=new B(s.active.source,s.active.explicit,i,s.done,s.done.from,null!==(e=s.done.to)&&void 0!==e?e:n);for(let e of s.updates)o=o.update(e,r);if(o.hasResult()){t.push(o);continue}}let o=n.active.find(e=>e.source==s.active.source);if(o&&o.isPending)if(null==s.done){let e=new $(s.active.source,0);for(let t of s.updates)e=e.update(t,r);e.isPending||t.push(e)}else this.startQuery(o)}(t.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:_.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(M,!1);if(t&&t.tooltip&&this.view.state.facet(v).closeOnBlur){let r=t.open&&i.getTooltip(this.view,t.open.tooltip);r&&r.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:O.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:g.of(!1)}),20),this.composing=0}}}),z="object"==typeof navigator&&/Win/.test(navigator.platform),W=n.Prec.highest(i.EditorView.domEventHandlers({keydown(e,t){let r=t.state.field(M,!1);if(!r||!r.open||r.open.disabled||r.open.selected<0||e.key.length>1||e.ctrlKey&&(!z||!e.altKey)||e.metaKey)return!1;let n=r.open.options[r.open.selected],i=r.active.find(e=>e.source==n.source),s=n.completion.commitCharacters||i.result.commitCharacters;return s&&s.indexOf(e.key)>-1&&R(t,n),!1}})),Y=i.EditorView.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class G{constructor(e,t,r,n){this.field=e,this.line=t,this.from=r,this.to=n}}class U{constructor(e,t,r){this.field=e,this.from=t,this.to=r}map(e){let t=e.mapPos(this.from,-1,n.MapMode.TrackDel),r=e.mapPos(this.to,1,n.MapMode.TrackDel);return null==t||null==r?null:new U(this.field,t,r)}}class H{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let r=[],n=[t],i=e.doc.lineAt(t),o=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(r.length){let r=o,a=/^\t*/.exec(i)[0].length;for(let t=0;t<a;t++)r+=e.facet(s.indentUnit);n.push(t+r.length-a),i=r+i.slice(a)}r.push(i),t+=i.length+1}let a=this.fieldPositions.map(e=>new U(e.field,n[e.line]+e.from,n[e.line]+e.to));return{text:r,ranges:a}}static parse(e){let t,r=[],n=[],i=[];for(let s of e.split(/\r\n?|\n/)){for(;t=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(s);){let e=t[1]?+t[1]:null,o=t[2]||t[3]||"",a=-1,l=o.replace(/\\[{}]/g,e=>e[1]);for(let t=0;t<r.length;t++)(null!=e?r[t].seq==e:l&&r[t].name==l)&&(a=t);if(a<0){let t=0;for(;t<r.length&&(null==e||null!=r[t].seq&&r[t].seq<e);)t++;r.splice(t,0,{seq:e,name:l}),a=t;for(let e of i)e.field>=a&&e.field++}for(let e of i)if(e.line==n.length&&e.from>t.index){let r=t[2]?3+(t[1]||"").length:2;e.from-=r,e.to-=r}i.push(new G(a,n.length,t.index,t.index+l.length)),s=s.slice(0,t.index)+o+s.slice(t.index+t[0].length)}s=s.replace(/\\([{}])/g,(e,t,r)=>{for(let e of i)e.line==n.length&&e.from>r&&(e.from--,e.to--);return t}),n.push(s)}return new H(n,i)}}let J=i.Decoration.widget({widget:new class extends i.WidgetType{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),K=i.Decoration.mark({class:"cm-snippetField"});class ee{constructor(e,t){this.ranges=e,this.active=t,this.deco=i.Decoration.set(e.map(e=>(e.from==e.to?J:K).range(e.from,e.to)),!0)}map(e){let t=[];for(let r of this.ranges){let n=r.map(e);if(!n)return null;t.push(n)}return new ee(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}const te=n.StateEffect.define({map:(e,t)=>e&&e.map(t)}),re=n.StateEffect.define(),ne=n.StateField.define({create:()=>null,update(e,t){for(let r of t.effects){if(r.is(te))return r.value;if(r.is(re)&&e)return new ee(e.ranges,r.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>i.EditorView.decorations.from(e,e=>e?e.deco:i.Decoration.none)});function ie(e,t){return n.EditorSelection.create(e.filter(e=>e.field==t).map(e=>n.EditorSelection.range(e.from,e.to)))}function se(e){let t=H.parse(e);return(e,r,i,s)=>{let{text:o,ranges:a}=t.instantiate(e.state,i),{main:l}=e.state.selection,u={changes:{from:i,to:s==l.from?l.to:s,insert:n.Text.of(o)},scrollIntoView:!0,annotations:r?[h.of(r),n.Transaction.userEvent.of("input.complete")]:void 0};if(a.length&&(u.selection=ie(a,0)),a.some(e=>e.field>0)){let t=new ee(a,0),r=u.effects=[te.of(t)];void 0===e.state.field(ne,!1)&&r.push(n.StateEffect.appendConfig.of([ne,he,de,Y]))}e.dispatch(e.state.update(u))}}function oe(e){return({state:t,dispatch:r})=>{let n=t.field(ne,!1);if(!n||e<0&&0==n.active)return!1;let i=n.active+e,s=e>0&&!n.ranges.some(t=>t.field==i+e);return r(t.update({selection:ie(n.ranges,i),effects:te.of(s?null:new ee(n.ranges,i)),scrollIntoView:!0})),!0}}const ae=({state:e,dispatch:t})=>!!e.field(ne,!1)&&(t(e.update({effects:te.of(null)})),!0),le=oe(1),ue=oe(-1),ce=[{key:"Tab",run:le,shift:ue},{key:"Escape",run:ae}],pe=n.Facet.define({combine:e=>e.length?e[0]:ce}),he=n.Prec.highest(i.keymap.compute([pe],e=>e.facet(pe))),de=i.EditorView.domEventHandlers({mousedown(e,t){let r,n=t.state.field(ne,!1);if(!n||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!(!i||i.field==n.active||(t.dispatch({selection:ie(n.ranges,i.field),effects:te.of(n.ranges.some(e=>e.field>i.field)?new ee(n.ranges,i.field):null),scrollIntoView:!0}),0))}});function fe(e,t){return new RegExp(t(e.source),e.unicode?"u":"")}const me=Object.create(null);function ge(e,t,r,n,i){for(let s=e.iterLines(),o=0;!s.next().done;){let e,{value:a}=s;for(t.lastIndex=0;e=t.exec(a);)if(!n[e[0]]&&o+e.index!=i&&(r.push({type:"text",label:e[0]}),n[e[0]]=!0,r.length>=2e3))return;o+=a.length+1}}function Oe(e,t,r,n,i){let s=e.length>=1e3,o=s&&t.get(e);if(o)return o;let a=[],l=Object.create(null);if(e.children){let s=0;for(let o of e.children){if(o.length>=1e3)for(let e of Oe(o,t,r,n-s,i-s))l[e.label]||(l[e.label]=!0,a.push(e));else ge(o,r,a,l,i-s);s+=o.length+1}}else ge(e,r,a,l,i);return s&&a.length<2e3&&t.set(e,a),a}const De={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ye=n.StateEffect.define({map(e,t){let r=t.mapPos(e,-1,n.MapMode.TrackAfter);return null==r?void 0:r}}),ve=new class extends n.RangeValue{};ve.startSide=1,ve.endSide=-1;const Se=n.StateField.define({create:()=>n.RangeSet.empty,update(e,t){if(e=e.map(t.changes),t.selection){let r=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=r.from&&e<=r.to})}for(let r of t.effects)r.is(ye)&&(e=e.update({add:[ve.range(r.value,r.value+1)]}));return e}}),Ce="()[]{}<>«»»«[]{}";function be(e){for(let t=0;t<16;t+=2)if(Ce.charCodeAt(t)==e)return Ce.charAt(t+1);return n.fromCodePoint(e<128?e:e+1)}function Ee(e,t){return e.languageDataAt("closeBrackets",t)[0]||De}const xe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),we=i.EditorView.inputHandler.of((e,t,r,i)=>{if((xe?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let s=e.state.selection.main;if(i.length>2||2==i.length&&1==n.codePointSize(n.codePointAt(i,0))||t!=s.from||r!=s.to)return!1;let o=ke(e.state,i);return!!o&&(e.dispatch(o),!0)}),Ae=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Ee(e,e.selection.main.head).brackets||De.brackets,i=null,s=e.changeByRange(t=>{if(t.empty){let i=function(e,t){let r=e.sliceString(t-2,t);return n.codePointSize(n.codePointAt(r,0))==r.length?r:r.slice(1)}(e.doc,t.head);for(let s of r)if(s==i&&Pe(e.doc,t.head)==be(n.codePointAt(s,0)))return{changes:{from:t.head-s.length,to:t.head+s.length},range:n.EditorSelection.cursor(t.head-s.length)}}return{range:i=t}});return i||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},Te=[{key:"Backspace",run:Ae}];function ke(e,t){let r=Ee(e,e.selection.main.head),i=r.brackets||De.brackets;for(let s of i){let o=be(n.codePointAt(s,0));if(t==s)return o==s?Be(e,s,i.indexOf(s+s+s)>-1,r):Qe(e,s,o,r.before||De.before);if(t==o&&Fe(e,e.selection.main.from))return $e(e,0,o)}return null}function Fe(e,t){let r=!1;return e.field(Se).between(0,e.doc.length,e=>{e==t&&(r=!0)}),r}function Pe(e,t){let r=e.sliceString(t,t+2);return r.slice(0,n.codePointSize(n.codePointAt(r,0)))}function Qe(e,t,r,i){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:r,from:o.to}],effects:ye.of(o.to+t.length),range:n.EditorSelection.range(o.anchor+t.length,o.head+t.length)};let a=Pe(e.doc,o.head);return!a||/\s/.test(a)||i.indexOf(a)>-1?{changes:{insert:t+r,from:o.head},effects:ye.of(o.head+t.length),range:n.EditorSelection.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function $e(e,t,r){let i=null,s=e.changeByRange(t=>t.empty&&Pe(e.doc,t.head)==r?{changes:{from:t.head,to:t.head+r.length,insert:r},range:n.EditorSelection.cursor(t.head+r.length)}:i={range:t});return i?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function Be(e,t,r,i){let o=i.stringPrefixes||De.stringPrefixes,a=null,l=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:t,from:i.to}],effects:ye.of(i.to+t.length),range:n.EditorSelection.range(i.anchor+t.length,i.head+t.length)};let l,u=i.head,c=Pe(e.doc,u);if(c==t){if(_e(e,u))return{changes:{insert:t+t,from:u},effects:ye.of(u+t.length),range:n.EditorSelection.cursor(u+t.length)};if(Fe(e,u)){let i=r&&e.sliceDoc(u,u+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:u,to:u+i.length,insert:i},range:n.EditorSelection.cursor(u+i.length)}}}else{if(r&&e.sliceDoc(u-2*t.length,u)==t+t&&(l=Ne(e,u-2*t.length,o))>-1&&_e(e,l))return{changes:{insert:t+t+t+t,from:u},effects:ye.of(u+t.length),range:n.EditorSelection.cursor(u+t.length)};if(e.charCategorizer(u)(c)!=n.CharCategory.Word&&Ne(e,u,o)>-1&&!function(e,t,r,n){let i=s.syntaxTree(e).resolveInner(t,-1),o=n.reduce((e,t)=>Math.max(e,t.length),0);for(let s=0;s<5;s++){let s=e.sliceDoc(i.from,Math.min(i.to,i.from+r.length+o)),a=s.indexOf(r);if(!a||a>-1&&n.indexOf(s.slice(0,a))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>r.length+a;){if(e.sliceDoc(t.to-r.length,t.to)==r)return!1;t=t.firstChild}return!0}let l=i.to==t&&i.parent;if(!l)break;i=l}return!1}(e,u,t,o))return{changes:{insert:t+t,from:u},effects:ye.of(u+t.length),range:n.EditorSelection.cursor(u+t.length)}}return{range:a=i}});return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function _e(e,t){let r=s.syntaxTree(e).resolveInner(t+1);return r.parent&&r.from==t}function Ne(e,t,r){let i=e.charCategorizer(t);if(i(e.sliceDoc(t-1,t))!=n.CharCategory.Word)return t;for(let s of r){let r=t-s.length;if(e.sliceDoc(r,t)==s&&i(e.sliceDoc(r-1,r))!=n.CharCategory.Word)return r}return-1}const Me=[{key:"Ctrl-Space",run:X},{mac:"Alt-`",run:X},{mac:"Alt-i",run:X},{key:"Escape",run:Z},{key:"ArrowDown",run:I(!0)},{key:"ArrowUp",run:I(!1)},{key:"PageDown",run:I(!0,"page")},{key:"PageUp",run:I(!1,"page")},{key:"Enter",run:j}],Re=n.Prec.highest(i.keymap.computeN([v],e=>e.facet(v).defaultKeymap?[Me]:[])),Le=new WeakMap;t.CompletionContext=o,t.acceptCompletion=j,t.autocompletion=function(e={}){return[W,M,v.of(e),q,Re,Y]},t.clearSnippet=ae,t.closeBrackets=function(){return[we,Se]},t.closeBracketsKeymap=Te,t.closeCompletion=Z,t.completeAnyWord=e=>{let t=e.state.languageDataAt("wordChars",e.pos).join(""),r=function(e){let t=e.replace(/[\]\-\\]/g,"\\$&");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${t}]+`,"ug")}catch(e){return new RegExp(`[w${t}]`,"g")}}(t),n=e.matchBefore(fe(r,e=>e+"$"));if(!n&&!e.explicit)return null;let i=n?n.from:e.pos,s=Oe(e.state.doc,function(e){return me[e]||(me[e]=new WeakMap)}(t),r,5e4,i);return{from:i,options:s,validFor:fe(r,e=>"^"+e)}},t.completeFromList=l,t.completionKeymap=Me,t.completionStatus=function(e){let t=e.field(M,!1);return t&&t.active.some(e=>e.isPending)?"pending":t&&t.active.some(e=>0!=e.state)?"active":null},t.currentCompletions=function(e){var t;let r=null===(t=e.field(M,!1))||void 0===t?void 0:t.open;if(!r||r.disabled)return[];let n=Le.get(r.options);return n||Le.set(r.options,n=r.options.map(e=>e.completion)),n},t.deleteBracketPair=Ae,t.hasNextSnippetField=function(e){let t=e.field(ne,!1);return!(!t||!t.ranges.some(e=>e.field==t.active+1))},t.hasPrevSnippetField=function(e){let t=e.field(ne,!1);return!!(t&&t.active>0)},t.ifIn=function(e,t){return r=>{for(let n=s.syntaxTree(r.state).resolveInner(r.pos,-1);n;n=n.parent){if(e.indexOf(n.name)>-1)return t(r);if(n.type.isTop)break}return null}},t.ifNotIn=function(e,t){return r=>{for(let t=s.syntaxTree(r.state).resolveInner(r.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(r)}},t.insertBracket=ke,t.insertCompletionText=d,t.moveCompletionSelection=I,t.nextSnippetField=le,t.pickedCompletion=h,t.prevSnippetField=ue,t.selectedCompletion=function(e){var t;let r=null===(t=e.field(M,!1))||void 0===t?void 0:t.open;return r&&!r.disabled&&r.selected>=0?r.options[r.selected].completion:null},t.selectedCompletionIndex=function(e){var t;let r=null===(t=e.field(M,!1))||void 0===t?void 0:t.open;return r&&!r.disabled&&r.selected>=0?r.selected:null},t.setSelectedCompletion=function(e){return N.of(e)},t.snippet=se,t.snippetCompletion=function(e,t){return{...t,apply:se(e)}},t.snippetKeymap=pe,t.startCompletion=X},MxJC:(e,t,r)=>{"use strict";var n=r("YnMz"),i=r("cEeD"),s=r("G5nY");let o=null;function a(){if(!o&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],r=new Set;for(let n in e)"cssText"!=n&&"cssFloat"!=n&&"string"==typeof e[n]&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),r.has(n)||(t.push(n),r.add(n)));o=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return o||[]}const l=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),u=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),c=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),p=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),h=/^(\w[\w-]*|-\w[\w-]*|)$/,d=/^-(-[\w-]*)?$/,f=new s.NodeWeakMap,m=["Declaration"];function g(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function O(e,t,r){if(t.to-t.from>4096){let n=f.get(t);if(n)return n;let i=[],o=new Set,a=t.cursor(s.IterMode.IncludeAnonymous);if(a.firstChild())do{for(let t of O(e,a.node,r))o.has(t.label)||(o.add(t.label),i.push(t))}while(a.nextSibling());return f.set(t,i),i}{let n=[],i=new Set;return t.cursor().iterate(t=>{var s;if(r(t)&&t.matchContext(m)&&":"==(null===(s=t.node.nextSibling)||void 0===s?void 0:s.name)){let r=e.sliceString(t.from,t.to);i.has(r)||(i.add(r),n.push({label:r,type:"variable"}))}}),n}}const D=e=>t=>{let{state:r,pos:n}=t,s=i.syntaxTree(r).resolveInner(n,-1),o=s.type.isError&&s.from==s.to-1&&"-"==r.doc.sliceString(s.from,s.to);if("PropertyName"==s.name||(o||"TagName"==s.name)&&/^(Block|Styles)$/.test(s.resolve(s.to).name))return{from:s.from,options:a(),validFor:h};if("ValueName"==s.name)return{from:s.from,options:u,validFor:h};if("PseudoClassName"==s.name)return{from:s.from,options:l,validFor:h};if(e(s)||(t.explicit||o)&&function(e,t){var r;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let n=null===(r=e.parent)||void 0===r?void 0:r.firstChild;return"Callee"==(null==n?void 0:n.name)&&"var"==t.sliceString(n.from,n.to)}(s,r.doc))return{from:e(s)||o?s.from:n,options:O(r.doc,g(s),e),validFor:d};if("TagName"==s.name){for(let{parent:e}=s;e;e=e.parent)if("Block"==e.name)return{from:s.from,options:a(),validFor:h};return{from:s.from,options:c,validFor:h}}if("AtKeyword"==s.name)return{from:s.from,options:p,validFor:h};if(!t.explicit)return null;let f=s.resolve(n),m=f.childBefore(n);return m&&":"==m.name&&"PseudoClassSelector"==f.name?{from:n,options:l,validFor:h}:m&&":"==m.name&&"Declaration"==f.name||"ArgList"==f.name?{from:n,options:u,validFor:h}:"Block"==f.name||"Styles"==f.name?{from:n,options:a(),validFor:h}:null},y=D(e=>"VariableName"==e.name),v=i.LRLanguage.define({name:"css",parser:n.parser.configure({props:[i.indentNodeProp.add({Declaration:i.continuedIndent()}),i.foldNodeProp.add({"Block KeyframeList":i.foldInside})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});t.css=function(){return new i.LanguageSupport(v,v.data.of({autocomplete:y}))},t.cssCompletionSource=y,t.cssLanguage=v,t.defineCSSCompletionSource=D},N62o:(e,t,r)=>{"use strict";var n=r("DCQ6"),i=r("bgcN"),s=r("UV+R");class o{constructor(e,t,r){this.from=e,this.to=t,this.diagnostic=r}}class a{constructor(e,t,r){this.diagnostics=e,this.panel=t,this.selected=r}static init(e,t,r){let s=r.facet(b).markerFilter;s&&(e=s(e,r));let o=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),u=new i.RangeSetBuilder,c=[],p=0;for(let e=0;;){let t,i,s=e==o.length?null:o[e];if(!s&&!c.length)break;for(c.length?(t=p,i=c.reduce((e,t)=>Math.min(e,t.to),s&&s.from>t?s.from:1e8)):(t=s.from,i=s.to,c.push(s),e++);e<o.length;){let r=o[e];if(r.from!=t||!(r.to>r.from||r.to==t)){i=Math.min(r.from,i);break}c.push(r),e++,i=Math.min(r.to,i)}let a=B(c);if(c.some(e=>e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from))u.add(t,t,n.Decoration.widget({widget:new A(a),diagnostics:c.slice()}));else{let e=c.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");u.add(t,i,n.Decoration.mark({class:"cm-lintRange cm-lintRange-"+a+e,diagnostics:c.slice(),inclusiveEnd:c.some(e=>e.to>i)}))}p=i;for(let e=0;e<c.length;e++)c[e].to<=p&&c.splice(e--,1)}let h=u.finish();return new a(h,t,l(h))}}function l(e,t=null,r=0){let n=null;return e.between(r,1e9,(e,r,{spec:i})=>{if(!(t&&i.diagnostics.indexOf(t)<0))if(n){if(i.diagnostics.indexOf(n.diagnostic)<0)return!1;n=new o(n.from,r,n.diagnostic)}else n=new o(e,r,t||i.diagnostics[0])}),n}function u(e,t){let r=t.pos,n=t.end||r,i=e.state.facet(b).hideOn(e,r,n);if(null!=i)return i;let s=e.startState.doc.lineAt(t.pos);return!(!e.effects.some(e=>e.is(h))&&!e.changes.touchesRange(s.from,Math.max(s.to,n)))}function c(e,t){return e.field(m,!1)?t:t.concat(i.StateEffect.appendConfig.of(X))}function p(e,t){return{effects:c(e,[h.of(t)])}}const h=i.StateEffect.define(),d=i.StateEffect.define(),f=i.StateEffect.define(),m=i.StateField.define({create:()=>new a(n.Decoration.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let r=e.diagnostics.map(t.changes),n=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);n=l(r,e.selected.diagnostic,i)||l(r,null,i)}!r.size&&i&&t.state.facet(b).autoPanel&&(i=null),e=new a(r,i,n)}for(let r of t.effects)if(r.is(h)){let n=t.state.facet(b).autoPanel?r.value.length?k.open:null:e.panel;e=a.init(r.value,n,t.state)}else r.is(d)?e=new a(e.diagnostics,r.value?k.open:null,e.selected):r.is(f)&&(e=new a(e.diagnostics,e.panel,r.value));return e},provide:e=>[n.showPanel.from(e,e=>e.panel),n.EditorView.decorations.from(e,e=>e.diagnostics)]}),g=n.Decoration.mark({class:"cm-lintRange cm-lintRange-active"});function O(e,t){return s("ul",{class:"cm-tooltip-lint"},t.map(t=>w(e,t,!1)))}const D=e=>{let t=e.state.field(m,!1);t&&t.panel||e.dispatch({effects:c(e.state,[d.of(!0)])});let r=n.getPanel(e,k.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},y=e=>{let t=e.state.field(m,!1);return!(!t||!t.panel||(e.dispatch({effects:d.of(!1)}),0))},v=e=>{let t=e.state.field(m,!1);if(!t)return!1;let r=e.state.selection.main,n=t.diagnostics.iter(r.to+1);return!(!n.value&&(n=t.diagnostics.iter(0),!n.value||n.from==r.from&&n.to==r.to)||(e.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),0))},S=[{key:"Mod-Shift-m",run:D,preventDefault:!0},{key:"F8",run:v}],C=n.ViewPlugin.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(b);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(b);t.length&&function(e,t,r){let n=[],i=-1;for(let s of e)s.then(r=>{n.push(r),clearTimeout(i),n.length==e.length?t(n):i=setTimeout(()=>t(n),200)},r)}(t.map(e=>Promise.resolve(e(this.view))),t=>{this.view.state.doc==e.doc&&this.view.dispatch(p(this.view.state,t.reduce((e,t)=>e.concat(t))))},e=>{n.logException(this.view.state,e)})}}update(e){let t=e.state.facet(b);(e.docChanged||t!=e.startState.facet(b)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),b=i.Facet.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...i.combineConfig(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:E,tooltipFilter:E,needsRefresh:(e,t)=>e?t?r=>e(r)||t(r):e:t,hideOn:(e,t)=>e?t?(r,n,i)=>e(r,n,i)||t(r,n,i):e:t,autoPanel:(e,t)=>e||t})})});function E(e,t){return e?t?(r,n)=>t(e(r,n),n):e:t}function x(e){let t=[];if(e)e:for(let{name:r}of e){for(let e=0;e<r.length;e++){let n=r[e];if(/[a-zA-Z]/.test(n)&&!t.some(e=>e.toLowerCase()==n.toLowerCase())){t.push(n);continue e}}t.push("")}return t}function w(e,t,r){var n;let i=r?x(t.actions):[];return s("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},s("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(n=t.actions)||void 0===n?void 0:n.map((r,n)=>{let o=!1,a=n=>{if(n.preventDefault(),o)return;o=!0;let i=l(e.state.field(m).diagnostics,t);i&&r.apply(e,i.from,i.to)},{name:u}=r,c=i[n]?u.indexOf(i[n]):-1,p=c<0?u:[u.slice(0,c),s("u",u.slice(c,c+1)),u.slice(c+1)],h=r.markClass?" "+r.markClass:"";return s("button",{type:"button",class:"cm-diagnosticAction"+h,onclick:a,onmousedown:a,"aria-label":` Action: ${u}${c<0?"":` (access key "${i[n]})"`}.`},p)}),t.source&&s("div",{class:"cm-diagnosticSource"},t.source))}class A extends n.WidgetType{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return s("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class T{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=w(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class k{constructor(e){this.view=e,this.items=[],this.list=s("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)y(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:r}=this.items[this.selectedIndex],n=x(r.actions);for(let i=0;i<n.length;i++)if(n[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=l(this.view.state.field(m).diagnostics,r);t&&r.actions[i].apply(e,t.from,t.to)}}}t.preventDefault()},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=s("div",{class:"cm-panel-lint"},this.list,s("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>y(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(m).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(m),r=0,n=!1,i=null,s=new Set;for(e.between(0,this.view.state.doc.length,(e,o,{spec:a})=>{for(let e of a.diagnostics){if(s.has(e))continue;s.add(e);let o,a=-1;for(let t=r;t<this.items.length;t++)if(this.items[t].diagnostic==e){a=t;break}a<0?(o=new T(this.view,e),this.items.splice(r,0,o),n=!0):(o=this.items[a],a>r&&(this.items.splice(r,a-r),n=!0)),t&&o.diagnostic==t.diagnostic?o.dom.hasAttribute("aria-selected")||(o.dom.setAttribute("aria-selected","true"),i=o):o.dom.hasAttribute("aria-selected")&&o.dom.removeAttribute("aria-selected"),r++}});r<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)n=!0,this.items.pop();0==this.items.length&&(this.items.push(new T(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),n=!0),i?(this.list.setAttribute("aria-activedescendant",i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let r=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/r:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/r)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;e!=r.dom;)t();e=r.dom.nextSibling}else this.list.insertBefore(r.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=l(this.view.state.field(m).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:f.of(t)})}static open(e){return new k(e)}}function F(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}function P(e){return F(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const Q=n.EditorView.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:P("#d11")},".cm-lintRange-warning":{backgroundImage:P("orange")},".cm-lintRange-info":{backgroundImage:P("#999")},".cm-lintRange-hint":{backgroundImage:P("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function $(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function B(e){let t="hint",r=1;for(let n of e){let e=$(n.severity);e>r&&(r=e,t=n.severity)}return t}class _ extends n.GutterMarker{constructor(e){super(),this.diagnostics=e,this.severity=B(e)}toDOM(e){let t=document.createElement("div");t.className="cm-lint-marker cm-lint-marker-"+this.severity;let r=this.diagnostics,n=e.state.facet(Z).tooltipFilter;return n&&(r=n(r,e.state)),r.length&&(t.onmouseover=()=>function(e,t,r){function n(){let n=e.elementAtHeight(t.getBoundingClientRect().top+5-e.documentTop);e.coordsAtPos(n.from)&&e.dispatch({effects:L.of({pos:n.from,above:!1,clip:!1,create:()=>({dom:O(e,r),getCoords:()=>t.getBoundingClientRect()})})}),t.onmouseout=t.onmousemove=null,function(e,t){let r=n=>{let i=t.getBoundingClientRect();if(!(n.clientX>i.left-10&&n.clientX<i.right+10&&n.clientY>i.top-10&&n.clientY<i.bottom+10)){for(let e=n.target;e;e=e.parentNode)if(1==e.nodeType&&e.classList.contains("cm-tooltip-lint"))return;window.removeEventListener("mousemove",r),e.state.field(I)&&e.dispatch({effects:L.of(null)})}};window.addEventListener("mousemove",r)}(e,t)}let{hoverTime:i}=e.state.facet(Z),s=setTimeout(n,i);t.onmouseout=()=>{clearTimeout(s),t.onmouseout=t.onmousemove=null},t.onmousemove=()=>{clearTimeout(s),s=setTimeout(n,i)}}(e,t,r)),t}}function N(e,t){let r=Object.create(null);for(let n of t){let t=e.lineAt(n.from);(r[t.from]||(r[t.from]=[])).push(n)}let n=[];for(let e in r)n.push(new _(r[e]).range(+e));return i.RangeSet.of(n,!0)}const M=n.gutter({class:"cm-gutter-lint",markers:e=>e.state.field(R),widgetMarker:(e,t,r)=>{let n=[];return e.state.field(R).between(r.from,r.to,(e,t,i)=>{e>r.from&&e<r.to&&n.push(...i.diagnostics)}),n.length?new _(n):null}}),R=i.StateField.define({create:()=>i.RangeSet.empty,update(e,t){e=e.map(t.changes);let r=t.state.facet(Z).markerFilter;for(let n of t.effects)if(n.is(h)){let i=n.value;r&&(i=r(i||[],t.state)),e=N(t.state.doc,i.slice(0))}return e}}),L=i.StateEffect.define(),I=i.StateField.define({create:()=>null,update:(e,t)=>(e&&t.docChanged&&(e=u(t,e)?null:{...e,pos:t.changes.mapPos(e.pos)}),t.effects.reduce((e,t)=>t.is(L)?t.value:e,e)),provide:e=>n.showTooltip.from(e)}),j=n.EditorView.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:F('<path fill="#aaf" stroke="#77e" stroke-width="6" stroke-linejoin="round" d="M5 5L35 5L35 35L5 35Z"/>')},".cm-lint-marker-warning":{content:F('<path fill="#fe8" stroke="#fd7" stroke-width="6" stroke-linejoin="round" d="M20 6L37 35L3 35Z"/>')},".cm-lint-marker-error":{content:F('<circle cx="20" cy="20" r="15" fill="#f87" stroke="#f43" stroke-width="6"/>')}}),X=[m,n.EditorView.decorations.compute([m],e=>{let{selected:t,panel:r}=e.field(m);return t&&r&&t.from!=t.to?n.Decoration.set([g.range(t.from,t.to)]):n.Decoration.none}),n.hoverTooltip(function(e,t,r){let n,{diagnostics:i}=e.state.field(m),s=-1,o=-1;i.between(t-(r<0?1:0),t+(r>0?1:0),(e,i,{spec:a})=>{if(t>=e&&t<=i&&(e==i||(t>e||r>0)&&(t<i||r<0)))return n=a.diagnostics,s=e,o=i,!1});let a=e.state.facet(b).tooltipFilter;return n&&a&&(n=a(n,e.state)),n?{pos:s,end:o,above:e.state.doc.lineAt(s).to<o,create:()=>({dom:O(e,n)})}:null},{hideOn:u}),Q],Z=i.Facet.define({combine:e=>i.combineConfig(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})});t.closeLintPanel=y,t.diagnosticCount=function(e){let t=e.field(m,!1);return t?t.diagnostics.size:0},t.forEachDiagnostic=function(e,t){let r=e.field(m,!1);if(r&&r.diagnostics.size){let e=[],n=[],s=-1;for(let o=i.RangeSet.iter([r.diagnostics]);;o.next()){for(let r=0;r<e.length;r++)(!o.value||o.value.spec.diagnostics.indexOf(e[r])<0)&&(t(e[r],n[r],s),e.splice(r,1),n.splice(r--,1));if(!o.value)break;for(let t of o.value.spec.diagnostics)e.indexOf(t)<0&&(e.push(t),n.push(o.from));s=o.to}}},t.forceLinting=function(e){let t=e.plugin(C);t&&t.force()},t.lintGutter=function(e={}){return[Z.of(e),R,M,j,I]},t.lintKeymap=S,t.linter=function(e,t={}){return[b.of({source:e,config:t}),C,X]},t.nextDiagnostic=v,t.openLintPanel=D,t.previousDiagnostic=e=>{let{state:t}=e,r=t.field(m,!1);if(!r)return!1;let n,i,s,o,a=t.selection.main;return r.diagnostics.between(0,t.doc.length,(e,t)=>{t<a.to&&(null==n||n<e)&&(n=e,i=t),(null==s||e>s)&&(s=e,o=t)}),null!=s&&(null!=n||s!=a.from)&&(e.dispatch({selection:{anchor:null!=n?n:s,head:null!=i?i:o},scrollIntoView:!0}),!0)},t.setDiagnostics=p,t.setDiagnosticsEffect=h},Otu7:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("G5nY");let i=0;class s{constructor(e,t,r,n){this.name=e,this.set=t,this.base=r,this.modified=n,this.id=i++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){let r="string"==typeof e?e:"?";if(e instanceof s&&(t=e),null==t?void 0:t.base)throw new Error("Can not derive from a modified tag");let n=new s(r,[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new a(e);return e=>e.modified.indexOf(t)>-1?e:a.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let o=0;class a{constructor(e){this.name=e,this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let r=t[0].instances.find(r=>{return r.base==e&&(n=t,i=r.modified,n.length==i.length&&n.every((e,t)=>e==i[t]));var n,i});if(r)return r;let n=[],i=new s(e.name,n,e,t);for(let e of t)e.instances.push(i);let o=function(e){let t=[[]];for(let r=0;r<e.length;r++)for(let n=0,i=t.length;n<i;n++)t.push(t[n].concat(e[r]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of o)n.push(a.get(t,e));return i}}const l=new n.NodeProp;class u{constructor(e,t,r,n){this.tags=e,this.mode=t,this.context=r,this.next=n}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function c(e,t){let r=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)r[e.id]=t.class;else r[t.tag.id]=t.class;let{scope:n,all:i=null}=t||{};return{style:e=>{let t=i;for(let n of e)for(let e of n.set){let n=r[e.id];if(n){t=t?t+" "+n:n;break}}return t},scope:n}}function p(e,t,r,n=0,i=e.length){let s=new h(n,Array.isArray(t)?t:[t],r);s.highlightRange(e.cursor(),n,i,"",s.highlighters),s.flush(i)}u.empty=new u([],2,null);class h{constructor(e,t,r){this.at=e,this.highlighters=t,this.span=r,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,r,i,s){let{type:o,from:a,to:l}=e;if(a>=r||l<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let c=i,p=d(e)||u.empty,h=function(e,t){let r=null;for(let n of e){let e=n.style(t);e&&(r=r?r+" "+e:e)}return r}(s,p.tags);if(h&&(c&&(c+=" "),c+=h,1==p.mode&&(i+=(i?" ":"")+h)),this.startSpan(Math.max(t,a),c),p.opaque)return;let f=e.tree&&e.tree.prop(n.NodeProp.mounted);if(f&&f.overlay){let n=e.node.enter(f.overlay[0].from+a,1),o=this.highlighters.filter(e=>!e.scope||e.scope(f.tree.type)),u=e.firstChild();for(let p=0,h=a;;p++){let d=p<f.overlay.length?f.overlay[p]:null,m=d?d.from+a:l,g=Math.max(t,h),O=Math.min(r,m);if(g<O&&u)for(;e.from<O&&(this.highlightRange(e,g,O,i,s),this.startSpan(Math.min(O,e.to),c),!(e.to>=m)&&e.nextSibling()););if(!d||m>r)break;h=d.to+a,h>t&&(this.highlightRange(n.cursor(),Math.max(t,d.from+a),Math.min(r,h),"",o),this.startSpan(Math.min(r,h),c))}u&&e.parent()}else if(e.firstChild()){f&&(i="");do{if(!(e.to<=t)){if(e.from>=r)break;this.highlightRange(e,t,r,i,s),this.startSpan(Math.min(r,e.to),c)}}while(e.nextSibling());e.parent()}}}function d(e){let t=e.type.prop(l);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const f=s.define,m=f(),g=f(),O=f(g),D=f(g),y=f(),v=f(y),S=f(y),C=f(),b=f(C),E=f(),x=f(),w=f(),A=f(w),T=f(),k={comment:m,lineComment:f(m),blockComment:f(m),docComment:f(m),name:g,variableName:f(g),typeName:O,tagName:f(O),propertyName:D,attributeName:f(D),className:f(g),labelName:f(g),namespace:f(g),macroName:f(g),literal:y,string:v,docString:f(v),character:f(v),attributeValue:f(v),number:S,integer:f(S),float:f(S),bool:f(y),regexp:f(y),escape:f(y),color:f(y),url:f(y),keyword:E,self:f(E),null:f(E),atom:f(E),unit:f(E),modifier:f(E),operatorKeyword:f(E),controlKeyword:f(E),definitionKeyword:f(E),moduleKeyword:f(E),operator:x,derefOperator:f(x),arithmeticOperator:f(x),logicOperator:f(x),bitwiseOperator:f(x),compareOperator:f(x),updateOperator:f(x),definitionOperator:f(x),typeOperator:f(x),controlOperator:f(x),punctuation:w,separator:f(w),bracket:A,angleBracket:f(A),squareBracket:f(A),paren:f(A),brace:f(A),content:C,heading:b,heading1:f(b),heading2:f(b),heading3:f(b),heading4:f(b),heading5:f(b),heading6:f(b),contentSeparator:f(C),list:f(C),quote:f(C),emphasis:f(C),strong:f(C),link:f(C),monospace:f(C),strikethrough:f(C),inserted:f(),deleted:f(),changed:f(),invalid:f(),meta:T,documentMeta:f(T),annotation:f(T),processingInstruction:f(T),definition:s.defineModifier("definition"),constant:s.defineModifier("constant"),function:s.defineModifier("function"),standard:s.defineModifier("standard"),local:s.defineModifier("local"),special:s.defineModifier("special")};for(let e in k){let t=k[e];t instanceof s&&(t.name=e)}const F=c([{tag:k.link,class:"tok-link"},{tag:k.heading,class:"tok-heading"},{tag:k.emphasis,class:"tok-emphasis"},{tag:k.strong,class:"tok-strong"},{tag:k.keyword,class:"tok-keyword"},{tag:k.atom,class:"tok-atom"},{tag:k.bool,class:"tok-bool"},{tag:k.url,class:"tok-url"},{tag:k.labelName,class:"tok-labelName"},{tag:k.inserted,class:"tok-inserted"},{tag:k.deleted,class:"tok-deleted"},{tag:k.literal,class:"tok-literal"},{tag:k.string,class:"tok-string"},{tag:k.number,class:"tok-number"},{tag:[k.regexp,k.escape,k.special(k.string)],class:"tok-string2"},{tag:k.variableName,class:"tok-variableName"},{tag:k.local(k.variableName),class:"tok-variableName tok-local"},{tag:k.definition(k.variableName),class:"tok-variableName tok-definition"},{tag:k.special(k.variableName),class:"tok-variableName2"},{tag:k.definition(k.propertyName),class:"tok-propertyName tok-definition"},{tag:k.typeName,class:"tok-typeName"},{tag:k.namespace,class:"tok-namespace"},{tag:k.className,class:"tok-className"},{tag:k.macroName,class:"tok-macroName"},{tag:k.propertyName,class:"tok-propertyName"},{tag:k.operator,class:"tok-operator"},{tag:k.comment,class:"tok-comment"},{tag:k.meta,class:"tok-meta"},{tag:k.invalid,class:"tok-invalid"},{tag:k.punctuation,class:"tok-punctuation"}]);t.Tag=s,t.classHighlighter=F,t.getStyleTags=d,t.highlightCode=function(e,t,r,n,i,s=0,o=e.length){let a=s;function l(t,r){if(!(t<=a)){for(let s=e.slice(a,t),o=0;;){let e=s.indexOf("\n",o),t=e<0?s.length:e;if(t>o&&n(s.slice(o,t),r),e<0)break;i(),o=e+1}a=t}}p(t,r,(e,t,r)=>{l(e,""),l(t,r)},s,o),l(o,"")},t.highlightTree=p,t.styleTags=function(e){let t=Object.create(null);for(let r in e){let n=e[r];Array.isArray(n)||(n=[n]);for(let e of r.split(" "))if(e){let r=[],i=2,s=e;for(let t=0;;){if("..."==s&&t>0&&t+3==e.length){i=1;break}let n=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!n)throw new RangeError("Invalid path: "+e);if(r.push("*"==n[0]?"":'"'==n[0][0]?JSON.parse(n[0]):n[0]),t+=n[0].length,t==e.length)break;let o=e[t++];if(t==e.length&&"!"==o){i=0;break}if("/"!=o)throw new RangeError("Invalid path: "+e);s=e.slice(t)}let o=r.length-1,a=r[o];if(!a)throw new RangeError("Invalid path: "+e);let l=new u(n,i,o>0?r.slice(0,o):null);t[a]=l.sort(t[a])}}return l.add(t)},t.tagHighlighter=c,t.tags=k},Q2Ay:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},n={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},i="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),s="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),o=0;o<10;o++)r[48+o]=r[96+o]=String(o);for(o=1;o<=24;o++)r[o+111]="F"+o;for(o=65;o<=90;o++)r[o]=String.fromCharCode(o+32),n[o]=String.fromCharCode(o);for(var a in r)n.hasOwnProperty(a)||(n[a]=r[a]);t.base=r,t.keyName=function(e){var t=!(i&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||s&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?n:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t},t.shift=n},TXND:(e,t,r)=>{"use strict";var n=r("qgMs"),i=r("cEeD"),s=r("bgcN"),o=r("DCQ6"),a=r("HI7g"),l=r("G5nY");const u=[a.snippetCompletion("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),a.snippetCompletion("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),a.snippetCompletion("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),a.snippetCompletion("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),a.snippetCompletion("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),a.snippetCompletion("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),a.snippetCompletion("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),a.snippetCompletion("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),a.snippetCompletion("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),a.snippetCompletion('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),a.snippetCompletion('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],c=u.concat([a.snippetCompletion("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),a.snippetCompletion("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),a.snippetCompletion("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),p=new l.NodeWeakMap,h=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function d(e){return(t,r)=>{let n=t.node.getChild("VariableDefinition");return n&&r(n,e),!0}}const f=["FunctionDeclaration"],m={FunctionDeclaration:d("function"),ClassDeclaration:d("class"),ClassExpression:()=>!0,EnumDeclaration:d("constant"),TypeAliasDeclaration:d("type"),NamespaceDeclaration:d("namespace"),VariableDefinition(e,t){e.matchContext(f)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function g(e,t){let r=p.get(t);if(r)return r;let n=[],i=!0;function s(t,r){let i=e.sliceString(t.from,t.to);n.push({label:i,type:r})}return t.cursor(l.IterMode.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let e=m[t.name];if(e&&e(t,s)||h.has(t.name))return!1}else if(t.to-t.from>8192){for(let r of g(e,t.node))n.push(r);return!1}}),p.set(t,n),n}const O=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,D=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function y(e){let t=i.syntaxTree(e.state).resolveInner(e.pos,-1);if(D.indexOf(t.name)>-1)return null;let r="VariableName"==t.name||t.to-t.from<20&&O.test(e.state.sliceDoc(t.from,t.to));if(!r&&!e.explicit)return null;let n=[];for(let r=t;r;r=r.parent)h.has(r.name)&&(n=n.concat(g(e.state.doc,r)));return{options:n,from:r?t.from:e.pos,validFor:O}}function v(e,t,r){var n;let i=[];for(;;){let s,o=t.firstChild;if("VariableName"==(null==o?void 0:o.name))return i.push(e(o)),{path:i.reverse(),name:r};if("MemberExpression"!=(null==o?void 0:o.name)||"PropertyName"!=(null===(n=s=o.lastChild)||void 0===n?void 0:n.name))return null;i.push(e(s)),t=o}}function S(e){let t=t=>e.state.doc.sliceString(t.from,t.to),r=i.syntaxTree(e.state).resolveInner(e.pos,-1);return"PropertyName"==r.name?v(t,r.parent,t(r)):"."!=r.name&&"?."!=r.name||"MemberExpression"!=r.parent.name?D.indexOf(r.name)>-1?null:"VariableName"==r.name||r.to-r.from<20&&O.test(t(r))?{path:[],name:t(r)}:"MemberExpression"==r.name?v(t,r,""):e.explicit?{path:[],name:""}:null:v(t,r.parent,"")}const C=i.LRLanguage.define({name:"javascript",parser:n.parser.configure({props:[i.indentNodeProp.add({IfStatement:i.continuedIndent({except:/^\s*({|else\b)/}),TryStatement:i.continuedIndent({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:i.flatIndent,SwitchBody:e=>{let t=e.textAfter,r=/^\s*\}/.test(t),n=/^\s*(case|default)\b/.test(t);return e.baseIndent+(r?0:n?1:2)*e.unit},Block:i.delimitedIndent({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":i.continuedIndent({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),i.foldNodeProp.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":i.foldInside,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),b={test:e=>/^JSX/.test(e.name),facet:i.defineLanguageFacet({commentTokens:{block:{open:"{/*",close:"*/}"}}})},E=C.configure({dialect:"ts"},"typescript"),x=C.configure({dialect:"jsx",props:[i.sublanguageProp.add(e=>e.isTop?[b]:void 0)]}),w=C.configure({dialect:"jsx ts",props:[i.sublanguageProp.add(e=>e.isTop?[b]:void 0)]},"typescript");let A=e=>({label:e,type:"keyword"});const T="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(A),k=T.concat(["declare","implements","private","protected","public"].map(A));function F(e,t,r=e.length){for(let n=null==t?void 0:t.firstChild;n;n=n.nextSibling)if("JSXIdentifier"==n.name||"JSXBuiltin"==n.name||"JSXNamespacedName"==n.name||"JSXMemberExpression"==n.name)return e.sliceString(n.from,Math.min(n.to,r));return""}const P="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Q=o.EditorView.inputHandler.of((e,t,r,n,o)=>{if((P?e.composing:e.compositionStarted)||e.state.readOnly||t!=r||">"!=n&&"/"!=n||!C.isActiveAt(e.state,t,-1))return!1;let a=o(),{state:l}=a,u=l.changeByRange(e=>{var t;let r,{head:o}=e,a=i.syntaxTree(l).resolveInner(o-1,-1);if("JSXStartTag"==a.name&&(a=a.parent),l.doc.sliceString(o-1,o)!=n||"JSXAttributeValue"==a.name&&a.to>o);else{if(">"==n&&"JSXFragmentTag"==a.name)return{range:e,changes:{from:o,insert:"</>"}};if("/"==n&&"JSXStartCloseTag"==a.name){let e=a.parent,n=e.parent;if(n&&e.from==o-2&&((r=F(l.doc,n.firstChild,o))||"JSXFragmentTag"==(null===(t=n.firstChild)||void 0===t?void 0:t.name))){let e=`${r}>`;return{range:s.EditorSelection.cursor(o+e.length,-1),changes:{from:o,insert:e}}}}else if(">"==n){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(a);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(l.doc.sliceString(o,o+2))&&(r=F(l.doc,t,o)))return{range:e,changes:{from:o,insert:`</${r}>`}}}}return{range:e}});return!u.changes.empty&&(e.dispatch([a,l.update(u,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function $(e,t,r,n){return r.line(e+n.line).from+t+(1==e?n.col-1:-1)}function B(e,t,r){let n=$(e.line,e.column,t,r),i={from:n,to:null!=e.endLine&&1!=e.endColumn?$(e.endLine,e.endColumn,t,r):n,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:t,text:s}=e.fix,o=t[0]+r.pos-n,a=t[1]+r.pos-n;i.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+o,to:t+a,insert:s},scrollIntoView:!0})}}]}return i}t.autoCloseTags=Q,t.completionPath=S,t.esLint=function(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,r)=>{var n;(null===(n=e.meta.docs)||void 0===n?void 0:n.recommended)&&(t.rules[r]=2)})),r=>{let{state:n}=r,i=[];for(let{from:r,to:s}of C.findRegions(n)){let o=n.doc.lineAt(r),a={line:o.number-1,col:r-o.from,pos:r};for(let o of e.verify(n.sliceDoc(r,s),t))i.push(B(o,n.doc,a))}return i}},t.javascript=function(e={}){let t=e.jsx?e.typescript?w:x:e.typescript?E:C,r=e.typescript?c.concat(k):u.concat(T);return new i.LanguageSupport(t,[C.data.of({autocomplete:a.ifNotIn(D,a.completeFromList(r))}),C.data.of({autocomplete:y}),e.jsx?Q:[]])},t.javascriptLanguage=C,t.jsxLanguage=x,t.localCompletionSource=y,t.scopeCompletionSource=function(e){let t=new Map;return r=>{let n=S(r);if(!n)return null;let i=e;for(let e of n.path)if(i=i[e],!i)return null;let s=t.get(i);return s||t.set(i,s=function(e,t){let r=[],n=new Set;for(let i=0;;i++){for(let s of(Object.getOwnPropertyNames||Object.keys)(e)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(s)||n.has(s))continue;let o;n.add(s);try{o=e[s]}catch(e){continue}r.push({label:s,type:"function"==typeof o?/^[A-Z]/.test(s)?"class":t?"function":"method":t?"variable":"property",boost:-i})}let s=Object.getPrototypeOf(e);if(!s)return r;e=s}}(i,!n.path.length)),{from:r.pos-n.name.length,options:s,validFor:O}}},t.snippets=u,t.tsxLanguage=w,t.typescriptLanguage=E,t.typescriptSnippets=c},"UV+R":e=>{"use strict";function t(e,r){if("string"==typeof r)e.appendChild(document.createTextNode(r));else if(null==r);else if(null!=r.nodeType)e.appendChild(r);else{if(!Array.isArray(r))throw new RangeError("Unsupported child node: "+r);for(var n=0;n<r.length;n++)t(e,r[n])}}e.exports=function(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var r=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var s=n[i];"string"==typeof s?e.setAttribute(i,s):null!=s&&(e[i]=s)}r++}for(;r<arguments.length;r++)t(e,arguments[r]);return e}},VJBI:(e,t,r)=>{"use strict";var n=r("DCQ6"),i=r("bgcN"),s=r("cEeD"),o=r("oIhD"),a=r("v4nf"),l=r("HI7g"),u=r("N62o");const c=[n.lineNumbers(),n.highlightActiveLineGutter(),n.highlightSpecialChars(),o.history(),s.foldGutter(),n.drawSelection(),n.dropCursor(),i.EditorState.allowMultipleSelections.of(!0),s.indentOnInput(),s.syntaxHighlighting(s.defaultHighlightStyle,{fallback:!0}),s.bracketMatching(),l.closeBrackets(),l.autocompletion(),n.rectangularSelection(),n.crosshairCursor(),n.highlightActiveLine(),a.highlightSelectionMatches(),n.keymap.of([...l.closeBracketsKeymap,...o.defaultKeymap,...a.searchKeymap,...o.historyKeymap,...s.foldKeymap,...l.completionKeymap,...u.lintKeymap])],p=[n.highlightSpecialChars(),o.history(),n.drawSelection(),s.syntaxHighlighting(s.defaultHighlightStyle,{fallback:!0}),n.keymap.of([...o.defaultKeymap,...o.historyKeymap])];Object.defineProperty(t,"EditorView",{enumerable:!0,get:function(){return n.EditorView}}),t.basicSetup=c,t.minimalSetup=p},YnMz:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("DBQq"),i=r("Otu7");const s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function a(e){return e>=48&&e<=57}function l(e){return a(e)||e>=97&&e<=102||e>=65&&e<=70}const u=(e,t,r)=>(n,i)=>{for(let s=!1,u=0,c=0;;c++){let{next:p}=n;if(o(p)||45==p||95==p||s&&a(p))!s&&(45!=p||c>0)&&(s=!0),u===c&&45==p&&u++,n.advance();else{if(92!=p||10==n.peek(1)){s&&n.acceptToken(2==u&&i.canShift(2)?t:40==p?r:e);break}if(n.advance(),l(n.next)){do{n.advance()}while(l(n.next));32==n.next&&n.advance()}else n.next>-1&&n.advance();s=!0}}},c=new n.ExternalTokenizer(u(123,2,124)),p=new n.ExternalTokenizer(u(125,3,4)),h=new n.ExternalTokenizer(e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||42==t||91==t||58==t&&o(e.peek(1))||45==t||38==t)&&e.acceptToken(122)}}),d=new n.ExternalTokenizer(e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do{e.advance()}while(o(e.next)||a(e.next));e.acceptToken(1)}}}),f=i.styleTags({"AtKeyword import charset namespace keyframes media supports":i.tags.definitionKeyword,"from to selector":i.tags.keyword,NamespaceName:i.tags.namespace,KeyframeName:i.tags.labelName,KeyframeRangeName:i.tags.operatorKeyword,TagName:i.tags.tagName,ClassName:i.tags.className,PseudoClassName:i.tags.constant(i.tags.className),IdName:i.tags.labelName,"FeatureName PropertyName":i.tags.propertyName,AttributeName:i.tags.attributeName,NumberLiteral:i.tags.number,KeywordQuery:i.tags.keyword,UnaryQueryOp:i.tags.operatorKeyword,"CallTag ValueName":i.tags.atom,VariableName:i.tags.variableName,Callee:i.tags.operatorKeyword,Unit:i.tags.unit,"UniversalSelector NestingSelector":i.tags.definitionOperator,"MatchOp CompareOp":i.tags.compareOperator,"ChildOp SiblingOp, LogicOp":i.tags.logicOperator,BinOp:i.tags.arithmeticOperator,Important:i.tags.modifier,Comment:i.tags.blockComment,ColorLiteral:i.tags.color,"ParenthesizedContent StringLiteral":i.tags.string,":":i.tags.punctuation,"PseudoOp #":i.tags.derefOperator,"; ,":i.tags.separator,"( )":i.tags.paren,"[ ]":i.tags.squareBracket,"{ }":i.tags.brace}),m={__proto__:null,lang:38,"nth-child":38,"nth-last-child":38,"nth-of-type":38,"nth-last-of-type":38,dir:38,"host-context":38,if:84,url:124,"url-prefix":124,domain:124,regexp:124},g={__proto__:null,or:98,and:98,not:106,only:106,layer:170},O={__proto__:null,selector:112,layer:166},D={__proto__:null,"@import":162,"@media":174,"@charset":178,"@namespace":182,"@keyframes":188,"@supports":200,"@scope":204},y={__proto__:null,to:207},v=n.LRParser.deserialize({version:14,states:"EbQYQdOOO#qQdOOP#xO`OOOOQP'#Cf'#CfOOQP'#Ce'#CeO#}QdO'#ChO$nQaO'#CcO$xQdO'#CkO%TQdO'#DpO%YQdO'#DrO%_QdO'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ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to AtRule Styles",maxTerm:143,nodeProps:[["isolate",-2,5,36,""],["openedBy",20,"(",28,"[",31,"{"],["closedBy",21,")",29,"]",32,"}"]],propSources:[f],skippedNodes:[0,5,106],repeatNodeCount:15,tokenData:"JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;'S$q;'S;=`Iz<%lO$q`$tSOy%Qz;'S%Q;'S;=`%c<%lO%Q`%VS!a`Oy%Qz;'S%Q;'S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^'Y^p%Qpq'Yqy%Qz#y%Q#y#z'Y#z$f%Q$f$g'Y$g#BY%Q#BY#BZ'Y#BZ$I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c%Q!c!}GO!}#T%Q#T#oGO#o;'S%Q;'S;=`%c<%lO%QjGV[iY!a`Oy%Qz}%Q}!OGO!O!Q%Q!Q![GO![!c%Q!c!}GO!}#T%Q#T#oGO#o;'S%Q;'S;=`%c<%lO%QjHQSmYOy%Qz;'S%Q;'S;=`%c<%lO%QnHcSl^Oy%Qz;'S%Q;'S;=`%c<%lO%QjHtSpYOy%Qz;'S%Q;'S;=`%c<%lO%QjIVSoYOy%Qz;'S%Q;'S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;'S%Q;'S;=`%c<%lO%Q`I}P;=`<%l$q",tokenizers:[h,d,c,p,1,2,3,4,new n.LocalTokenGroup("m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~",28,129)],topRules:{StyleSheet:[0,6],Styles:[1,105]},specialized:[{term:124,get:e=>m[e]||-1},{term:125,get:e=>g[e]||-1},{term:4,get:e=>O[e]||-1},{term:25,get:e=>D[e]||-1},{term:123,get:e=>y[e]||-1}],tokenPrec:1963});t.parser=v},bgcN:(e,t,r)=>{"use strict";var n=r("3Rrw");class i{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,r){[e,t]=d(this,e,t);let n=[];return this.decompose(0,e,n,2),r.length&&r.decompose(0,r.length,n,3),this.decompose(t,this.length,n,1),o.from(n,this.length-(t-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=d(this,e,t);let r=[];return this.decompose(e,t,r,0),o.from(r,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),n=new u(this),i=new u(e);for(let e=t,s=t;;){if(n.next(e),i.next(e),e=0,n.lineBreak!=i.lineBreak||n.done!=i.done||n.value!=i.value)return!1;if(s+=n.value.length,n.done||s>=r)return!0}}iter(e=1){return new u(this,e)}iterRange(e,t=this.length){return new c(this,e,t)}iterLines(e,t){let r;if(null==e)r=this.iter();else{null==t&&(t=this.lines+1);let n=this.line(e).from;r=this.iterRange(n,Math.max(n,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new p(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new s(e):o.from(s.split(e,[])):i.empty}}class s extends i{constructor(e,t=function(e){let t=-1;for(let r of e)t+=r.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,r,n){for(let i=0;;i++){let s=this.text[i],o=n+s.length;if((t?r:o)>=e)return new h(n,o,r,s);n=o+1,r++}}decompose(e,t,r,n){let i=e<=0&&t>=this.length?this:new s(l(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&n){let e=r.pop(),t=a(i.text,e.text.slice(),0,i.length);if(t.length<=32)r.push(new s(t,e.length+i.length));else{let e=t.length>>1;r.push(new s(t.slice(0,e)),new s(t.slice(e)))}}else r.push(i)}replace(e,t,r){if(!(r instanceof s))return super.replace(e,t,r);[e,t]=d(this,e,t);let n=a(this.text,a(r.text,l(this.text,0,e)),t),i=this.length+r.length-(t-e);return n.length<=32?new s(n,i):o.from(s.split(n,[]),i)}sliceString(e,t=this.length,r="\n"){[e,t]=d(this,e,t);let n="";for(let i=0,s=0;i<=t&&s<this.text.length;s++){let o=this.text[s],a=i+o.length;i>e&&s&&(n+=r),e<a&&t>i&&(n+=o.slice(Math.max(0,e-i),t-i)),i=a+1}return n}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let r=[],n=-1;for(let i of e)r.push(i),n+=i.length+1,32==r.length&&(t.push(new s(r,n)),r=[],n=-1);return n>-1&&t.push(new s(r,n)),t}}class o extends i{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,t,r,n){for(let i=0;;i++){let s=this.children[i],o=n+s.length,a=r+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,r,n);n=o+1,r=a+1}}decompose(e,t,r,n){for(let i=0,s=0;s<=t&&i<this.children.length;i++){let o=this.children[i],a=s+o.length;if(e<=a&&t>=s){let i=n&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!i?r.push(o):o.decompose(e-s,t-s,r,i)}s=a+1}}replace(e,t,r){if([e,t]=d(this,e,t),r.lines<this.lines)for(let n=0,i=0;n<this.children.length;n++){let s=this.children[n],a=i+s.length;if(e>=i&&t<=a){let l=s.replace(e-i,t-i,r),u=this.lines-s.lines+l.lines;if(l.lines<u>>4&&l.lines>u>>6){let i=this.children.slice();return i[n]=l,new o(i,this.length-(t-e)+r.length)}return super.replace(i,a,l)}i=a+1}return super.replace(e,t,r)}sliceString(e,t=this.length,r="\n"){[e,t]=d(this,e,t);let n="";for(let i=0,s=0;i<this.children.length&&s<=t;i++){let o=this.children[i],a=s+o.length;s>e&&i&&(n+=r),e<a&&t>s&&(n+=o.sliceString(e-s,t-s,r)),s=a+1}return n}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof o))return 0;let r=0,[n,i,s,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=t,i+=t){if(n==s||i==a)return r;let o=this.children[n],l=e.children[i];if(o!=l)return r+o.scanIdentical(l,t);r+=o.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let r=0;for(let t of e)r+=t.lines;if(r<32){let r=[];for(let t of e)t.flatten(r);return new s(r,t)}let n=Math.max(32,r>>5),i=n<<1,a=n>>1,l=[],u=0,c=-1,p=[];function h(e){let t;if(e.lines>i&&e instanceof o)for(let t of e.children)h(t);else e.lines>a&&(u>a||!u)?(d(),l.push(e)):e instanceof s&&u&&(t=p[p.length-1])instanceof s&&e.lines+t.lines<=32?(u+=e.lines,c+=e.length+1,p[p.length-1]=new s(t.text.concat(e.text),t.length+1+e.length)):(u+e.lines>n&&d(),u+=e.lines,c+=e.length+1,p.push(e))}function d(){0!=u&&(l.push(1==p.length?p[0]:o.from(p,c)),c=-1,u=p.length=0)}for(let t of e)h(t);return d(),1==l.length?l[0]:new o(l,t)}}function a(e,t,r=0,n=1e9){for(let i=0,s=0,o=!0;s<e.length&&i<=n;s++){let a=e[s],l=i+a.length;l>=r&&(l>n&&(a=a.slice(0,n-i)),i<r&&(a=a.slice(r-i)),o?(t[t.length-1]+=a,o=!1):t.push(a)),i=l+1}return t}function l(e,t,r){return a(e,[""],t,r)}i.empty=new s([""],0);class u{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof s?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,n=this.nodes[r],i=this.offsets[r],o=i>>1,a=n instanceof s?n.text.length:n.children.length;if(o==(t>0?a:0)){if(0==r)return this.done=!0,this.value="",this;t>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>0?0:1)){if(this.offsets[r]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(n instanceof s){let i=n.text[o+(t<0?-1:0)];if(this.offsets[r]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=n.children[o+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[r]+=t):(t<0&&this.offsets[r]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof s?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class c{constructor(e,t,r){this.value="",this.done=!1,this.cursor=new u(e,t>r?-1:1),this.pos=t>r?e.length:0,this.from=Math.min(t,r),this.to=Math.max(t,r)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let r=t<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*t,this.value=n.length<=r?n:t<0?n.slice(n.length-r):n.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class p{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:r,value:n}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.iter()},u.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=p.prototype[Symbol.iterator]=function(){return this});class h{constructor(e,t,r,n){this.from=e,this.to=t,this.number=r,this.text=n}get length(){return this.to-this.from}}function d(e,t,r){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,r))]}function f(e,t,r=!0,i=!0){return n.findClusterBreak(e,t,r,i)}const m=/\r\n?|\n/;var g;t.MapMode=void 0,(g=t.MapMode||(t.MapMode={}))[g.Simple=0]="Simple",g[g.TrackDel=1]="TrackDel",g[g.TrackBefore=2]="TrackBefore",g[g.TrackAfter=3]="TrackAfter";class O{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let r=this.sections[t+1];e+=r<0?this.sections[t]:r}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,r=0,n=0;t<this.sections.length;){let i=this.sections[t++],s=this.sections[t++];s<0?(e(r,n,i),n+=i):n+=s,r+=i}}iterChangedRanges(e,t=!1){S(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let r=this.sections[t++],n=this.sections[t++];n<0?e.push(r,n):e.push(n,r)}return new O(e)}composeDesc(e){return this.empty?e:e.empty?this:b(this,e)}mapDesc(e,t=!1){return e.empty?this:C(this,e,t)}mapPos(e,r=-1,n=t.MapMode.Simple){let i=0,s=0;for(let o=0;o<this.sections.length;){let a=this.sections[o++],l=this.sections[o++],u=i+a;if(l<0){if(u>e)return s+(e-i);s+=a}else{if(n!=t.MapMode.Simple&&u>=e&&(n==t.MapMode.TrackDel&&i<e&&u>e||n==t.MapMode.TrackBefore&&i<e||n==t.MapMode.TrackAfter&&u>e))return null;if(u>e||u==e&&r<0&&!a)return e==i||r<0?s:s+l;s+=l}i=u}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return s}touchesRange(e,t=e){for(let r=0,n=0;r<this.sections.length&&n<=t;){let i=n+this.sections[r++];if(this.sections[r++]>=0&&n<=t&&i>=e)return!(n<e&&i>t)||"cover";n=i}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let r=this.sections[t++],n=this.sections[t++];e+=(e?" ":"")+r+(n>=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeDesc");return new O(e)}static create(e){return new O(e)}}class D extends O{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return S(this,(t,r,n,i,s)=>e=e.replace(n,n+(r-t),s),!1),e}mapDesc(e,t=!1){return C(this,e,t,!0)}invert(e){let t=this.sections.slice(),r=[];for(let n=0,s=0;n<t.length;n+=2){let o=t[n],a=t[n+1];if(a>=0){t[n]=a,t[n+1]=o;let l=n>>1;for(;r.length<l;)r.push(i.empty);r.push(o?e.slice(s,s+o):i.empty)}s+=o}return new D(t,r)}compose(e){return this.empty?e:e.empty?this:b(this,e,!0)}map(e,t=!1){return e.empty?this:C(this,e,t,!0)}iterChanges(e,t=!1){S(this,e,t)}get desc(){return O.create(this.sections)}filter(e){let t=[],r=[],n=[],i=new E(this);e:for(let s=0,o=0;;){let a=s==e.length?1e9:e[s++];for(;o<a||o==a&&0==i.len;){if(i.done)break e;let e=Math.min(i.len,a-o);y(n,e,-1);let s=-1==i.ins?-1:0==i.off?i.ins:0;y(t,e,s),s>0&&v(r,t,i.text),i.forward(e),o+=e}let l=e[s++];for(;o<l;){if(i.done)break e;let e=Math.min(i.len,l-o);y(t,e,-1),y(n,e,-1==i.ins?-1:0==i.off?i.ins:0),i.forward(e),o+=e}}return{changes:new D(t,r),filtered:O.create(n)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let r=this.sections[t],n=this.sections[t+1];n<0?e.push(r):0==n?e.push([r]):e.push([r].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,r){let n=[],s=[],o=0,a=null;function l(e=!1){if(!e&&!n.length)return;o<t&&y(n,t-o,-1);let r=new D(n,s);a=a?a.compose(r.map(a)):r,n=[],s=[],o=0}return function e(u){if(Array.isArray(u))for(let t of u)e(t);else if(u instanceof D){if(u.length!=t)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${t})`);l(),a=a?a.compose(u.map(a)):u}else{let{from:e,to:a=e,insert:c}=u;if(e>a||e<0||a>t)throw new RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let p=c?"string"==typeof c?i.of(c.split(r||m)):c:i.empty,h=p.length;if(e==a&&0==h)return;e<o&&l(),e>o&&y(n,e-o,-1),y(n,a-e,h),v(s,n,p),o=a}}(e),l(!a),a}static empty(e){return new D(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],r=[];for(let n=0;n<e.length;n++){let s=e[n];if("number"==typeof s)t.push(s,-1);else{if(!Array.isArray(s)||"number"!=typeof s[0]||s.some((e,t)=>t&&"string"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==s.length)t.push(s[0],0);else{for(;r.length<n;)r.push(i.empty);r[n]=i.of(s.slice(1)),t.push(s[0],r[n].length)}}}return new D(t,r)}static createSet(e,t){return new D(e,t)}}function y(e,t,r,n=!1){if(0==t&&r<=0)return;let i=e.length-2;i>=0&&r<=0&&r==e[i+1]?e[i]+=t:i>=0&&0==t&&0==e[i]?e[i+1]+=r:n?(e[i]+=t,e[i+1]+=r):e.push(t,r)}function v(e,t,r){if(0==r.length)return;let n=t.length-2>>1;if(n<e.length)e[e.length-1]=e[e.length-1].append(r);else{for(;e.length<n;)e.push(i.empty);e.push(r)}}function S(e,t,r){let n=e.inserted;for(let s=0,o=0,a=0;a<e.sections.length;){let l=e.sections[a++],u=e.sections[a++];if(u<0)s+=l,o+=l;else{let c=s,p=o,h=i.empty;for(;c+=l,p+=u,u&&n&&(h=h.append(n[a-2>>1])),!(r||a==e.sections.length||e.sections[a+1]<0);)l=e.sections[a++],u=e.sections[a++];t(s,c,o,p,h),s=c,o=p}}}function C(e,t,r,n=!1){let i=[],s=n?[]:null,o=new E(e),a=new E(t);for(let e=-1;;){if(o.done&&a.len||a.done&&o.len)throw new Error("Mismatched change set lengths");if(-1==o.ins&&-1==a.ins){let e=Math.min(o.len,a.len);y(i,e,-1),o.forward(e),a.forward(e)}else if(a.ins>=0&&(o.ins<0||e==o.i||0==o.off&&(a.len<o.len||a.len==o.len&&!r))){let t=a.len;for(y(i,a.ins,-1);t;){let r=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=r&&(y(i,0,o.ins),s&&v(s,i,o.text),e=o.i),o.forward(r),t-=r}a.next()}else{if(!(o.ins>=0)){if(o.done&&a.done)return s?D.createSet(i,s):O.create(i);throw new Error("Mismatched change set lengths")}{let t=0,r=o.len;for(;r;)if(-1==a.ins){let e=Math.min(r,a.len);t+=e,r-=e,a.forward(e)}else{if(!(0==a.ins&&a.len<r))break;r-=a.len,a.next()}y(i,t,e<o.i?o.ins:0),s&&e<o.i&&v(s,i,o.text),e=o.i,o.forward(o.len-r)}}}}function b(e,t,r=!1){let n=[],i=r?[]:null,s=new E(e),o=new E(t);for(let e=!1;;){if(s.done&&o.done)return i?D.createSet(n,i):O.create(n);if(0==s.ins)y(n,s.len,0,e),s.next();else if(0!=o.len||o.done){if(s.done||o.done)throw new Error("Mismatched change set lengths");{let t=Math.min(s.len2,o.len),r=n.length;if(-1==s.ins){let r=-1==o.ins?-1:o.off?0:o.ins;y(n,t,r,e),i&&r&&v(i,n,o.text)}else-1==o.ins?(y(n,s.off?0:s.len,t,e),i&&v(i,n,s.textBit(t))):(y(n,s.off?0:s.len,o.off?0:o.ins,e),i&&!o.off&&v(i,n,o.text));e=(s.ins>t||o.ins>=0&&o.len>t)&&(e||n.length>r),s.forward2(t),o.forward(t)}}else y(n,0,o.ins,e),i&&v(i,n,o.text),o.next()}}class E{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?i.empty:e[t]}textBit(e){let{inserted:t}=this.set,r=this.i-2>>1;return r>=t.length&&!e?i.empty:t[r].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class x{constructor(e,t,r){this.from=e,this.to=t,this.flags=r}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let r,n;return this.empty?r=n=e.mapPos(this.from,t):(r=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),r==this.from&&n==this.to?this:new x(r,n,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return w.range(e,t);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return w.range(this.anchor,r)}eq(e,t=!1){return!(this.anchor!=e.anchor||this.head!=e.head||t&&this.empty&&this.assoc!=e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return w.range(e.anchor,e.head)}static create(e,t,r){return new x(e,t,r)}}class w{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:w.create(this.ranges.map(r=>r.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;r<this.ranges.length;r++)if(!this.ranges[r].eq(e.ranges[r],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new w([this.main],0)}addRange(e,t=!0){return w.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let r=this.ranges.slice();return r[t]=e,w.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new w(e.ranges.map(e=>x.fromJSON(e)),e.main)}static single(e,t=e){return new w([w.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new RangeError("A selection needs at least one range");for(let r=0,n=0;n<e.length;n++){let i=e[n];if(i.empty?i.from<=r:i.from<r)return w.normalized(e.slice(),t);r=i.to}return new w(e,t)}static cursor(e,t=0,r,n){return x.create(e,e,(0==t?0:t<0?8:16)|(null==r?7:Math.min(6,r))|(null!=n?n:16777215)<<6)}static range(e,t,r,n){let i=(null!=r?r:16777215)<<6|(null==n?7:Math.min(6,n));return t<e?x.create(t,e,48|i):x.create(e,t,(t>e?8:0)|i)}static normalized(e,t=0){let r=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(r);for(let r=1;r<e.length;r++){let n=e[r],i=e[r-1];if(n.empty?n.from<=i.to:n.from<i.to){let s=i.from,o=Math.max(n.to,i.to);r<=t&&t--,e.splice(--r,2,n.anchor>n.head?w.range(o,s):w.range(s,o))}}return new w(e,t)}}function A(e,t){for(let r of e.ranges)if(r.to>t)throw new RangeError("Selection points outside of document")}let T=0;class k{constructor(e,t,r,n,i){this.combine=e,this.compareInput=t,this.compare=r,this.isStatic=n,this.id=T++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new k(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:F),!!e.static,e.enables)}of(e){return new P([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new P(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new P(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],r=>t(r.field(e)))}}function F(e,t){return e==t||e.length==t.length&&e.every((e,r)=>e===t[r])}class P{constructor(e,t,r,n){this.dependencies=e,this.facet=t,this.type=r,this.value=n,this.id=T++}dynamicSlot(e){var t;let r=this.value,n=this.facet.compareInput,i=this.id,s=e[i]>>1,o=2==this.type,a=!1,l=!1,u=[];for(let r of this.dependencies)"doc"==r?a=!0:"selection"==r?l=!0:1&(null!==(t=e[r.id])&&void 0!==t?t:1)||u.push(e[r.id]);return{create:e=>(e.values[s]=r(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||$(e,u)){let t=r(e);if(o?!Q(t,e.values[s],n):!n(t,e.values[s]))return e.values[s]=t,1}return 0},reconfigure:(e,t)=>{let a,l=t.config.address[i];if(null!=l){let i=V(t,l);if(this.dependencies.every(r=>r instanceof k?t.facet(r)===e.facet(r):!(r instanceof N)||t.field(r,!1)==e.field(r,!1))||(o?Q(a=r(e),i,n):n(a=r(e),i)))return e.values[s]=i,0}else a=r(e);return e.values[s]=a,1}}}}function Q(e,t,r){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function $(e,t){let r=!1;for(let n of t)1&Z(e,n)&&(r=!0);return r}function B(e,t,r){let n=r.map(t=>e[t.id]),i=r.map(e=>e.type),s=n.filter(e=>!(1&e)),o=e[t.id]>>1;function a(e){let r=[];for(let t=0;t<n.length;t++){let s=V(e,n[t]);if(2==i[t])for(let e of s)r.push(e);else r.push(s)}return t.combine(r)}return{create(e){for(let t of n)Z(e,t);return e.values[o]=a(e),1},update(e,r){if(!$(e,s))return 0;let n=a(e);return t.compare(n,e.values[o])?0:(e.values[o]=n,1)},reconfigure(e,i){let s=$(e,n),l=i.config.facets[t.id],u=i.facet(t);if(l&&!s&&F(r,l))return e.values[o]=u,0;let c=a(e);return t.compare(c,u)?(e.values[o]=u,0):(e.values[o]=c,1)}}}const _=k.define({static:!0});class N{constructor(e,t,r,n,i){this.id=e,this.createF=t,this.updateF=r,this.compareF=n,this.spec=i,this.provides=void 0}static define(e){let t=new N(T++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(_).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,r)=>{let n=e.values[t],i=this.updateF(n,r);return this.compareF(n,i)?0:(e.values[t]=i,1)},reconfigure:(e,r)=>{let n,i=e.facet(_),s=r.facet(_);return(n=i.find(e=>e.field==this))&&n!=s.find(e=>e.field==this)?(e.values[t]=n.create(e),1):null!=r.config.address[this.id]?(e.values[t]=r.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,_.of({field:this,create:e})]}get extension(){return this}}function M(e){return t=>new L(t,e)}const R={highest:M(0),high:M(1),default:M(2),low:M(3),lowest:M(4)};class L{constructor(e,t){this.inner=e,this.prec=t}}class I{of(e){return new j(this,e)}reconfigure(e){return I.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class j{constructor(e,t){this.compartment=e,this.inner=t}}class X{constructor(e,t,r,n,i,s){for(this.base=e,this.compartments=t,this.dynamicSlots=r,this.address=n,this.staticValues=i,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,r){let n=[],i=Object.create(null),s=new Map;for(let r of function(e,t,r){let n=[[],[],[],[],[]],i=new Map;return function e(s,o){let a=i.get(s);if(null!=a){if(a<=o)return;let e=n[a].indexOf(s);e>-1&&n[a].splice(e,1),s instanceof j&&r.delete(s.compartment)}if(i.set(s,o),Array.isArray(s))for(let t of s)e(t,o);else if(s instanceof j){if(r.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let n=t.get(s.compartment)||s.inner;r.set(s.compartment,n),e(n,o)}else if(s instanceof L)e(s.inner,s.prec);else if(s instanceof N)n[o].push(s),s.provides&&e(s.provides,o);else if(s instanceof P)n[o].push(s),s.facet.extensions&&e(s.facet.extensions,2);else{let t=s.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,o)}}(e,2),n.reduce((e,t)=>e.concat(t))}(e,t,s))r instanceof N?n.push(r):(i[r.facet.id]||(i[r.facet.id]=[])).push(r);let o=Object.create(null),a=[],l=[];for(let e of n)o[e.id]=l.length<<1,l.push(t=>e.slot(t));let u=null==r?void 0:r.config.facets;for(let e in i){let t=i[e],n=t[0].facet,s=u&&u[e]||[];if(t.every(e=>0==e.type))if(o[n.id]=a.length<<1|1,F(s,t))a.push(r.facet(n));else{let e=n.combine(t.map(e=>e.value));a.push(r&&n.compare(e,r.facet(n))?r.facet(n):e)}else{for(let e of t)0==e.type?(o[e.id]=a.length<<1|1,a.push(e.value)):(o[e.id]=l.length<<1,l.push(t=>e.dynamicSlot(t)));o[n.id]=l.length<<1,l.push(e=>B(e,n,t))}}let c=l.map(e=>e(o));return new X(e,s,c,o,a,i)}}function Z(e,t){if(1&t)return 2;let r=t>>1,n=e.status[r];if(4==n)throw new Error("Cyclic dependency between fields and/or facets");if(2&n)return n;e.status[r]=4;let i=e.computeSlot(e,e.config.dynamicSlots[r]);return e.status[r]=2|i}function V(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const q=k.define(),z=k.define({combine:e=>e.some(e=>e),static:!0}),W=k.define({combine:e=>e.length?e[0]:void 0,static:!0}),Y=k.define(),G=k.define(),U=k.define(),H=k.define({combine:e=>!!e.length&&e[0]});class J{constructor(e,t){this.type=e,this.value=t}static define(){return new K}}class K{of(e){return new J(this,e)}}class ee{constructor(e){this.map=e}of(e){return new te(this,e)}}class te{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new te(this.type,t)}is(e){return this.type==e}static define(e={}){return new ee(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let r=[];for(let n of e){let e=n.map(t);e&&r.push(e)}return r}}te.reconfigure=te.define(),te.appendConfig=te.define();class re{constructor(e,t,r,n,i,s){this.startState=e,this.changes=t,this.selection=r,this.effects=n,this.annotations=i,this.scrollIntoView=s,this._doc=null,this._state=null,r&&A(r,t.newLength),i.some(e=>e.type==re.time)||(this.annotations=i.concat(re.time.of(Date.now())))}static create(e,t,r,n,i,s){return new re(e,t,r,n,i,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(re.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ne(e,t){let r=[];for(let n=0,i=0;;){let s,o;if(n<e.length&&(i==t.length||t[i]>=e[n]))s=e[n++],o=e[n++];else{if(!(i<t.length))return r;s=t[i++],o=t[i++]}!r.length||r[r.length-1]<s?r.push(s,o):r[r.length-1]<o&&(r[r.length-1]=o)}}function ie(e,t,r){var n;let i,s,o;return r?(i=t.changes,s=D.empty(t.changes.length),o=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(i)),{changes:o,selection:t.selection?t.selection.map(s):null===(n=e.selection)||void 0===n?void 0:n.map(i),effects:te.mapEffects(e.effects,i).concat(te.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function se(e,t,r){let n=t.selection,i=le(t.annotations);return t.userEvent&&(i=i.concat(re.userEvent.of(t.userEvent))),{changes:t.changes instanceof D?t.changes:D.of(t.changes||[],r,e.facet(W)),selection:n&&(n instanceof w?n:w.single(n.anchor,n.head)),effects:le(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function oe(e,t,r){let n=se(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(r=!1);for(let i=1;i<t.length;i++){!1===t[i].filter&&(r=!1);let s=!!t[i].sequential;n=ie(n,se(e,t[i],s?n.changes.newLength:e.doc.length),s)}let i=re.create(e,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return function(e){let t=e.startState,r=t.facet(U),n=e;for(let i=r.length-1;i>=0;i--){let s=r[i](e);s&&Object.keys(s).length&&(n=ie(n,se(t,s,e.changes.newLength),!0))}return n==e?e:re.create(t,e.changes,e.selection,n.effects,n.annotations,n.scrollIntoView)}(r?function(e){let t=e.startState,r=!0;for(let n of t.facet(Y)){let t=n(e);if(!1===t){r=!1;break}Array.isArray(t)&&(r=!0===r?t:ne(r,t))}if(!0!==r){let n,i;if(!1===r)i=e.changes.invertedDesc,n=D.empty(t.doc.length);else{let t=e.changes.filter(r);n=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=re.create(t,n,e.selection&&e.selection.map(i),te.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let n=t.facet(G);for(let r=n.length-1;r>=0;r--){let i=n[r](e);e=i instanceof re?i:Array.isArray(i)&&1==i.length&&i[0]instanceof re?i[0]:oe(t,le(i),!1)}return e}(i):i)}re.time=J.define(),re.userEvent=J.define(),re.addToHistory=J.define(),re.remote=J.define();const ae=[];function le(e){return null==e?ae:Array.isArray(e)?e:[e]}var ue;t.CharCategory=void 0,(ue=t.CharCategory||(t.CharCategory={}))[ue.Word=0]="Word",ue[ue.Space=1]="Space",ue[ue.Other=2]="Other";const ce=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let pe;try{pe=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class he{constructor(e,t,r,n,i,s){this.config=e,this.doc=t,this.selection=r,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=i,s&&(s._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)Z(this,e<<1);this.computeSlot=null}field(e,t=!0){let r=this.config.address[e.id];if(null!=r)return Z(this,r),V(this,r);if(t)throw new RangeError("Field is not present in this state")}update(...e){return oe(this,e,!0)}applyTransaction(e){let t,r=this.config,{base:n,compartments:i}=r;for(let t of e.effects)t.is(I.reconfigure)?(r&&(i=new Map,r.compartments.forEach((e,t)=>i.set(t,e)),r=null),i.set(t.value.compartment,t.value.extension)):t.is(te.reconfigure)?(r=null,n=t.value):t.is(te.appendConfig)&&(r=null,n=le(n).concat(t.value));r?t=e.startState.values.slice():(r=X.resolve(n,i,this),t=new he(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values);let s=e.startState.facet(z)?e.newSelection:e.newSelection.asSingle();new he(r,e.newDoc,s,t,(t,r)=>r.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:w.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,r=e(t.ranges[0]),n=this.changes(r.changes),i=[r.range],s=le(r.effects);for(let r=1;r<t.ranges.length;r++){let o=e(t.ranges[r]),a=this.changes(o.changes),l=a.map(n);for(let e=0;e<r;e++)i[e]=i[e].map(l);let u=n.mapDesc(a,!0);i.push(o.range.map(u)),n=n.compose(l),s=te.mapEffects(s,l).concat(te.mapEffects(le(o.effects),u))}return{changes:n,selection:w.create(i,t.mainIndex),effects:s}}changes(e=[]){return e instanceof D?e:D.of(e,this.doc.length,this.facet(he.lineSeparator))}toText(e){return i.of(e.split(this.facet(he.lineSeparator)||m))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(Z(this,t),V(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let r in e){let n=e[r];n instanceof N&&null!=this.config.address[n.id]&&(t[r]=n.spec.toJSON(this.field(e[r]),this))}return t}static fromJSON(e,t={},r){if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState");let n=[];if(r)for(let t in r)if(Object.prototype.hasOwnProperty.call(e,t)){let i=r[t],s=e[t];n.push(i.init(e=>i.spec.fromJSON(s,e)))}return he.create({doc:e.doc,selection:w.fromJSON(e.selection),extensions:t.extensions?n.concat([t.extensions]):n})}static create(e={}){let t=X.resolve(e.extensions||[],new Map),r=e.doc instanceof i?e.doc:i.of((e.doc||"").split(t.staticFacet(he.lineSeparator)||m)),n=e.selection?e.selection instanceof w?e.selection:w.single(e.selection.anchor,e.selection.head):w.single(0);return A(n,r.length),t.staticFacet(z)||(n=n.asSingle()),new he(t,r,n,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(he.tabSize)}get lineBreak(){return this.facet(he.lineSeparator)||"\n"}get readOnly(){return this.facet(H)}phrase(e,...t){for(let t of this.facet(he.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,r)=>{if("$"==r)return"$";let n=+(r||1);return!n||n>t.length?e:t[n-1]})),e}languageDataAt(e,t,r=-1){let n=[];for(let i of this.facet(q))for(let s of i(this,t,r))Object.prototype.hasOwnProperty.call(s,e)&&n.push(s[e]);return n}charCategorizer(e){return r=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return t.CharCategory.Space;if(function(e){if(pe)return pe.test(e);for(let t=0;t<e.length;t++){let r=e[t];if(/\w/.test(r)||r>""&&(r.toUpperCase()!=r.toLowerCase()||ce.test(r)))return!0}return!1}(e))return t.CharCategory.Word;for(let n=0;n<r.length;n++)if(e.indexOf(r[n])>-1)return t.CharCategory.Word;return t.CharCategory.Other};var r}wordAt(e){let{text:r,from:n,length:i}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,a=e-n;for(;o>0;){let e=f(r,o,!1);if(s(r.slice(e,o))!=t.CharCategory.Word)break;o=e}for(;a<i;){let e=f(r,a);if(s(r.slice(a,e))!=t.CharCategory.Word)break;a=e}return o==a?null:w.range(o+n,a+n)}}he.allowMultipleSelections=z,he.tabSize=k.define({combine:e=>e.length?e[0]:4}),he.lineSeparator=W,he.readOnly=H,he.phrases=k.define({compare(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length==n.length&&r.every(r=>e[r]==t[r])}}),he.languageData=q,he.changeFilter=Y,he.transactionFilter=G,he.transactionExtender=U,I.reconfigure=te.define();class de{eq(e){return this==e}range(e,t=e){return fe.create(e,t,this)}}de.prototype.startSide=de.prototype.endSide=0,de.prototype.point=!1,de.prototype.mapMode=t.MapMode.TrackDel;class fe{constructor(e,t,r){this.from=e,this.to=t,this.value=r}static create(e,t,r){return new fe(e,t,r)}}function me(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class ge{constructor(e,t,r,n){this.from=e,this.to=t,this.value=r,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,t,r,n=0){let i=r?this.to:this.from;for(let s=n,o=i.length;;){if(s==o)return s;let n=s+o>>1,a=i[n]-e||(r?this.value[n].endSide:this.value[n].startSide)-t;if(n==s)return a>=0?s:o;a>=0?o=n:s=n+1}}between(e,t,r,n){for(let i=this.findIndex(t,-1e9,!0),s=this.findIndex(r,1e9,!1,i);i<s;i++)if(!1===n(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}map(e,t){let r=[],n=[],i=[],s=-1,o=-1;for(let a=0;a<this.value.length;a++){let l,u,c=this.value[a],p=this.from[a]+e,h=this.to[a]+e;if(p==h){let e=t.mapPos(p,c.startSide,c.mapMode);if(null==e)continue;if(l=u=e,c.startSide!=c.endSide&&(u=t.mapPos(p,c.endSide),u<l))continue}else if(l=t.mapPos(p,c.startSide),u=t.mapPos(h,c.endSide),l>u||l==u&&c.startSide>0&&c.endSide<=0)continue;(u-l||c.endSide-c.startSide)<0||(s<0&&(s=l),c.point&&(o=Math.max(o,u-l)),r.push(c),n.push(l-s),i.push(u-s))}return{mapped:r.length?new ge(n,i,r,o):null,pos:s}}}class Oe{constructor(e,t,r,n){this.chunkPos=e,this.chunk=t,this.nextLayer=r,this.maxPoint=n}static create(e,t,r,n){return new Oe(e,t,r,n)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:r=!1,filterFrom:n=0,filterTo:i=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(r&&(t=t.slice().sort(me)),this.isEmpty)return t.length?Oe.of(t):this;let o=new ve(this,null,-1).goto(0),a=0,l=[],u=new De;for(;o.value||a<t.length;)if(a<t.length&&(o.from-t[a].from||o.startSide-t[a].value.startSide)>=0){let e=t[a++];u.addInner(e.from,e.to,e.value)||l.push(e)}else 1==o.rangeIndex&&o.chunkIndex<this.chunk.length&&(a==t.length||this.chunkEnd(o.chunkIndex)<t[a].from)&&(!s||n>this.chunkEnd(o.chunkIndex)||i<this.chunkPos[o.chunkIndex])&&u.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!s||n>o.to||i<o.from||s(o.from,o.to,o.value))&&(u.addInner(o.from,o.to,o.value)||l.push(fe.create(o.from,o.to,o.value))),o.next());return u.finishInner(this.nextLayer.isEmpty&&!l.length?Oe.empty:this.nextLayer.update({add:l,filter:s,filterFrom:n,filterTo:i}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],r=[],n=-1;for(let i=0;i<this.chunk.length;i++){let s=this.chunkPos[i],o=this.chunk[i],a=e.touchesRange(s,s+o.length);if(!1===a)n=Math.max(n,o.maxPoint),t.push(o),r.push(e.mapPos(s));else if(!0===a){let{mapped:i,pos:a}=o.map(s,e);i&&(n=Math.max(n,i.maxPoint),t.push(i),r.push(a))}}let i=this.nextLayer.map(e);return 0==t.length?i:new Oe(r,t,i||Oe.empty,n)}between(e,t,r){if(!this.isEmpty){for(let n=0;n<this.chunk.length;n++){let i=this.chunkPos[n],s=this.chunk[n];if(t>=i&&e<=i+s.length&&!1===s.between(i,e-i,t-i,r))return}this.nextLayer.between(e,t,r)}}iter(e=0){return Se.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Se.from(e).goto(t)}static compare(e,t,r,n,i=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),a=ye(s,o,r),l=new be(s,a,i),u=new be(o,a,i);r.iterGaps((e,t,r)=>Ee(l,e,u,t,r,n)),r.empty&&0==r.length&&Ee(l,0,u,0,0,n)}static eq(e,t,r=0,n){null==n&&(n=999999999);let i=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),s=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(i.length!=s.length)return!1;if(!i.length)return!0;let o=ye(i,s),a=new be(i,o,0).goto(r),l=new be(s,o,0).goto(r);for(;;){if(a.to!=l.to||!xe(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>n)return!0;a.next(),l.next()}}static spans(e,t,r,n,i=-1){let s=new be(e,null,i).goto(t),o=t,a=s.openStart;for(;;){let e=Math.min(s.to,r);if(s.point){let r=s.activeForPoint(s.to),i=s.pointFrom<t?r.length+1:s.point.startSide<0?r.length:Math.min(r.length,a);n.point(o,e,s.point,r,i,s.pointRank),a=Math.min(s.openEnd(e),r.length)}else e>o&&(n.span(o,e,s.active,a),a=s.openEnd(e));if(s.to>r)return a+(s.point&&s.to>r?1:0);o=s.to,s.next()}}static of(e,t=!1){let r=new De;for(let n of e instanceof fe?[e]:t?function(e){if(e.length>1)for(let t=e[0],r=1;r<e.length;r++){let n=e[r];if(me(t,n)>0)return e.slice().sort(me);t=n}return e}(e):e)r.add(n.from,n.to,n.value);return r.finish()}static join(e){if(!e.length)return Oe.empty;let t=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let n=e[r];n!=Oe.empty;n=n.nextLayer)t=new Oe(n.chunkPos,n.chunk,t,Math.max(n.maxPoint,t.maxPoint));return t}}Oe.empty=new Oe([],[],null,-1),Oe.empty.nextLayer=Oe.empty;class De{finishChunk(e){this.chunks.push(new ge(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,r){this.addInner(e,t,r)||(this.nextLayer||(this.nextLayer=new De)).add(e,t,r)}addInner(e,t,r){let n=e-this.lastTo||r.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(n<0||(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=t,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),0))}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let r=t.value.length-1;return this.last=t.value[r],this.lastFrom=t.from[r]+e,this.lastTo=t.to[r]+e,!0}finish(){return this.finishInner(Oe.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=Oe.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function ye(e,t,r){let n=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&n.set(t.chunk[e],t.chunkPos[e]);let i=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let s=n.get(e.chunk[t]);null==s||(r?r.mapPos(s):s)!=e.chunkPos[t]||(null==r?void 0:r.touchesRange(s,s+e.chunk[t].length))||i.add(e.chunk[t])}return i}class ve{constructor(e,t,r,n=0){this.layer=e,this.skip=t,this.minPoint=r,this.rank=n}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,r){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,r=!1}if(this.chunkIndex<this.layer.chunk.length){let n=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!r||this.rangeIndex<n)&&this.setRangeIndex(n)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],r=e+t.from[this.rangeIndex];if(this.from=r,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Se{constructor(e){this.heap=e}static from(e,t=null,r=-1){let n=[];for(let i=0;i<e.length;i++)for(let s=e[i];!s.isEmpty;s=s.nextLayer)s.maxPoint>=r&&n.push(new ve(s,t,r,i));return 1==n.length?n[0]:new Se(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let r of this.heap)r.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)Ce(this.heap,e);return this.next(),this}forward(e,t){for(let r of this.heap)r.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)Ce(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Ce(this.heap,0)}}}function Ce(e,t){for(let r=e[t];;){let n=1+(t<<1);if(n>=e.length)break;let i=e[n];if(n+1<e.length&&i.compare(e[n+1])>=0&&(i=e[n+1],n++),r.compare(i)<0)break;e[n]=r,e[t]=i,t=n}}class be{constructor(e,t,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Se.from(e,t,r)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){we(this.active,e),we(this.activeTo,e),we(this.activeRank,e),this.minActive=Te(this.active,this.activeTo)}addActive(e){let t=0,{value:r,to:n,rank:i}=this.cursor;for(;t<this.activeRank.length&&(i-this.activeRank[t]||n-this.activeTo[t])>0;)t++;Ae(this.active,t,r),Ae(this.activeTo,t,n),Ae(this.activeRank,t,i),e&&Ae(e,t,this.cursor.from),this.minActive=Te(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let n=this.minActive;if(n>-1&&(this.activeTo[n]-this.cursor.from||this.active[n].endSide-this.cursor.startSide)<0){if(this.activeTo[n]>e){this.to=this.activeTo[n],this.endSide=this.active[n].endSide;break}this.removeActive(n),r&&we(r,n)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(r),this.cursor.next()}}}if(r){this.openStart=0;for(let t=r.length-1;t>=0&&r[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let r=this.active.length-1;r>=0&&!(this.activeRank[r]<this.pointRank);r--)(this.activeTo[r]>e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&t.push(this.active[r]);return t.reverse()}openEnd(e){let t=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)t++;return t}}function Ee(e,t,r,n,i,s){e.goto(t),r.goto(n);let o=n+i,a=n,l=n-t;for(;;){let t=e.to+l-r.to,n=t||e.endSide-r.endSide,i=n<0?e.to+l:r.to,u=Math.min(i,o);if(e.point||r.point?e.point&&r.point&&(e.point==r.point||e.point.eq(r.point))&&xe(e.activeForPoint(e.to),r.activeForPoint(r.to))||s.comparePoint(a,u,e.point,r.point):u>a&&!xe(e.active,r.active)&&s.compareRange(a,u,e.active,r.active),i>o)break;(t||e.openEnd!=r.openEnd)&&s.boundChange&&s.boundChange(i),a=i,n<=0&&e.next(),n>=0&&r.next()}}function xe(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!=t[r]&&!e[r].eq(t[r]))return!1;return!0}function we(e,t){for(let r=t,n=e.length-1;r<n;r++)e[r]=e[r+1];e.pop()}function Ae(e,t,r){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=r}function Te(e,t){let r=-1,n=1e9;for(let i=0;i<t.length;i++)(t[i]-n||e[i].endSide-e[r].endSide)<0&&(r=i,n=t[i]);return r}t.Annotation=J,t.AnnotationType=K,t.ChangeDesc=O,t.ChangeSet=D,t.Compartment=I,t.EditorSelection=w,t.EditorState=he,t.Facet=k,t.Line=h,t.Prec=R,t.Range=fe,t.RangeSet=Oe,t.RangeSetBuilder=De,t.RangeValue=de,t.SelectionRange=x,t.StateEffect=te,t.StateEffectType=ee,t.StateField=N,t.Text=i,t.Transaction=re,t.codePointAt=function(e,t){let r=e.charCodeAt(t);if(!((n=r)>=55296&&n<56320&&t+1!=e.length))return r;var n;let i=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344}(i)?i-56320+(r-55296<<10)+65536:r},t.codePointSize=function(e){return e<65536?1:2},t.combineConfig=function(e,t,r={}){let n={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],s=n[e];if(void 0===s)n[e]=i;else if(s===i||void 0===i);else{if(!Object.hasOwnProperty.call(r,e))throw new Error("Config merge conflict for field "+e);n[e]=r[e](s,i)}}for(let e in t)void 0===n[e]&&(n[e]=t[e]);return n},t.countColumn=function(e,t,r=e.length){let n=0;for(let i=0;i<r&&i<e.length;)9==e.charCodeAt(i)?(n+=t-n%t,i++):(n++,i=f(e,i));return n},t.findClusterBreak=f,t.findColumn=function(e,t,r,n){for(let n=0,i=0;;){if(i>=t)return n;if(n==e.length)break;i+=9==e.charCodeAt(n)?r-i%r:1,n=f(e,n)}return!0===n?-1:e.length},t.fromCodePoint=function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}},cEeD:(e,t,r)=>{"use strict";var n,i=r("G5nY"),s=r("bgcN"),o=r("DCQ6"),a=r("Otu7"),l=r("AjgN");const u=new i.NodeProp;function c(e){return s.Facet.define({combine:e?t=>t.concat(e):void 0})}const p=new i.NodeProp;class h{constructor(e,t,r=[],n=""){this.data=e,this.name=n,s.EditorState.prototype.hasOwnProperty("tree")||Object.defineProperty(s.EditorState.prototype,"tree",{get(){return m(this)}}),this.parser=t,this.extension=[x.of(this),s.EditorState.languageData.of((e,t,r)=>{let n=d(e,t,r),i=n.type.prop(u);if(!i)return[];let s=e.facet(i),o=n.type.prop(p);if(o){let i=n.resolve(t-n.from,r);for(let t of o)if(t.test(i,e)){let r=e.facet(t.facet);return"replace"==t.type?r:r.concat(s)}}return s})].concat(r)}isActiveAt(e,t,r=-1){return d(e,t,r).type.prop(u)==this.data}findRegions(e){let t=e.facet(x);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let r=[],n=(e,t)=>{if(e.prop(u)==this.data)return void r.push({from:t,to:t+e.length});let s=e.prop(i.NodeProp.mounted);if(s){if(s.tree.prop(u)==this.data){if(s.overlay)for(let e of s.overlay)r.push({from:e.from+t,to:e.to+t});else r.push({from:t,to:t+e.length});return}if(s.overlay){let e=r.length;if(n(s.tree,s.overlay[0].from+t),r.length>e)return}}for(let r=0;r<e.children.length;r++){let s=e.children[r];s instanceof i.Tree&&n(s,e.positions[r]+t)}};return n(m(e),0),r}get allowsNesting(){return!0}}function d(e,t,r){let n=e.facet(x),s=m(e).topNode;if(!n||n.allowsNesting)for(let e=s;e;e=e.enter(t,r,i.IterMode.ExcludeBuffers))e.type.isTop&&(s=e);return s}h.setState=s.StateEffect.define();class f extends h{constructor(e,t,r){super(e,t,[],r),this.parser=t}static define(e){let t=c(e.languageData);return new f(t,e.parser.configure({props:[u.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new f(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function m(e){let t=e.field(h.state,!1);return t?t.tree:i.Tree.empty}function g(e,t,r=50){var n;let i=null===(n=e.field(h.state,!1))||void 0===n?void 0:n.context;if(!i)return null;let s=i.viewport;i.updateViewport({from:0,to:t});let o=i.isDone(t)||i.work(r,t)?i.tree:null;return i.updateViewport(s),o}class O{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let r=this.cursorPos-this.string.length;return e<r||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-r,t-r)}}let D=null;class y{constructor(e,t,r=[],n,i,s,o,a){this.parser=e,this.state=t,this.fragments=r,this.tree=n,this.treeLen=i,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,r){return new y(e,t,[],i.Tree.empty,0,r,[],null)}startParse(){return this.parser.startParse(new O(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=i.Tree.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let n=this.parse.advance();if(n){if(this.fragments=this.withoutTempSkipped(i.TreeFragment.addTree(n,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(r=this.parse.stoppedAt)&&void 0!==r?r:this.state.doc.length,this.tree=n,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i.TreeFragment.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=D;D=this;try{return e()}finally{D=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=v(e,t.from,t.to);return e}changes(e,t){let{fragments:r,tree:n,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,r,n,i)=>t.push({fromA:e,toA:r,fromB:n,toB:i})),r=i.TreeFragment.applyChanges(r,t),n=i.Tree.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let t of this.skipped){let r=e.mapPos(t.from,1),n=e.mapPos(t.to,-1);r<n&&a.push({from:r,to:n})}}}return new y(this.parser,t,r,n,s,o,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:r,to:n}=this.skipped[t];r<e.to&&n>e.from&&(this.fragments=v(this.fragments,r,n),this.skipped.splice(t--,1))}return!(this.skipped.length>=t||(this.reset(),0))}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends i.Parser{createParse(t,r,n){let s=n[0].from,o=n[n.length-1].to;return{parsedPos:s,advance(){let t=D;if(t){for(let e of n)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new i.Tree(i.NodeType.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return D}}function v(e,t,r){return i.TreeFragment.applyChanges(e,[{fromA:t,toA:r,fromB:t,toB:r}])}class S{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,r)||t.takeTree(),new S(t)}static init(e){let t=Math.min(3e3,e.doc.length),r=y.create(e.facet(x).parser,e,{from:0,to:t});return r.work(20,t)||r.takeTree(),new S(r)}}h.state=s.StateField.define({create:S.init,update(e,t){for(let e of t.effects)if(e.is(h.setState))return e.value;return t.startState.facet(x)!=t.state.facet(x)?S.init(t.state):e.apply(t)}});let C=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(C=e=>{let t=-1,r=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(r):cancelIdleCallback(t)});const b="undefined"!=typeof navigator&&(null===(n=navigator.scheduling)||void 0===n?void 0:n.isInputPending)?()=>navigator.scheduling.isInputPending():null,E=o.ViewPlugin.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(h.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(h.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=C(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:r,viewport:{to:n}}=this.view,i=r.field(h.state);if(i.tree==i.context.tree&&i.context.isDone(n+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!b?Math.max(25,e.timeRemaining()-5):1e9),o=i.context.treeLen<n&&r.doc.length>n+1e3,a=i.context.work(()=>b&&b()||Date.now()>s,n+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:h.setState.of(new S(i.context))})),this.chunkBudget>0&&(!a||o)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>o.logException(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),x=s.Facet.define({combine:e=>e.length?e[0]:null,enables:e=>[h.state,E,o.EditorView.contentAttributes.compute([e],t=>{let r=t.facet(e);return r&&r.name?{"data-language":r.name}:{}})]});class w{constructor(e,t,r,n,i,s=void 0){this.name=e,this.alias=t,this.extensions=r,this.filename=n,this.loadFunc=i,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:r}=e;if(!t){if(!r)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(r)}return new w(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,r)}static matchFilename(e,t){for(let r of e)if(r.filename&&r.filename.test(t))return r;let r=/\.([^.]+)$/.exec(t);if(r)for(let t of e)if(t.extensions.indexOf(r[1])>-1)return t;return null}static matchLanguageName(e,t,r=!0){t=t.toLowerCase();for(let r of e)if(r.alias.some(e=>e==t))return r;if(r)for(let r of e)for(let e of r.alias){let n=t.indexOf(e);if(n>-1&&(e.length>2||!/\w/.test(t[n-1])&&!/\w/.test(t[n+e.length])))return r}return null}}const A=s.Facet.define(),T=s.Facet.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function k(e){let t=e.facet(T);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function F(e,t){let r="",n=e.tabSize,i=e.facet(T)[0];if("\t"==i){for(;t>=n;)r+="\t",t-=n;i=" "}for(let e=0;e<t;e++)r+=i;return r}function P(e,t){e instanceof s.EditorState&&(e=new Q(e));for(let r of e.state.facet(A)){let n=r(e,t);if(void 0!==n)return n}let r=m(e.state);return r.length>=t?function(e,t,r){let n=t.resolveStack(r),i=t.resolveInner(r,-1).resolve(r,0).enterUnfinishedNodesBefore(r);if(i!=n.node){let e=[];for(let t=i;t&&!(t.from<n.node.from||t.to>n.node.to||t.from==n.node.from&&t.type==n.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)n={node:e[t],next:n}}return B(n,e,r)}(e,r,t):null}class Q{constructor(e,t={}){this.state=e,this.options=t,this.unit=k(e)}lineAt(e,t=1){let r=this.state.doc.lineAt(e),{simulateBreak:n,simulateDoubleBreak:i}=this.options;return null!=n&&n>=r.from&&n<=r.to?i&&n==e?{text:"",from:e}:(t<0?n<e:n<=e)?{text:r.text.slice(n-r.from),from:n}:{text:r.text.slice(0,n-r.from),from:r.from}:r}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:r,from:n}=this.lineAt(e,t);return r.slice(e-n,Math.min(r.length,e+100-n))}column(e,t=1){let{text:r,from:n}=this.lineAt(e,t),i=this.countColumn(r,e-n),s=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return s>-1&&(i+=s-this.countColumn(r,r.search(/\S|$/))),i}countColumn(e,t=e.length){return s.countColumn(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:r,from:n}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(n);if(e>-1)return e}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const $=new i.NodeProp;function B(e,t,r){for(let n=e;n;n=n.next){let e=_(n.node);if(e)return e(M.create(t,r,n))}return 0}function _(e){let t=e.type.prop($);if(t)return t;let r,n=e.firstChild;if(n&&(r=n.type.prop(i.NodeProp.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>L(e,!0,1,void 0,n&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?N:null}function N(){return 0}class M extends Q{constructor(e,t,r){super(e.state,e.options),this.base=e,this.pos=t,this.context=r}get node(){return this.context.node}static create(e,t,r){return new M(e,t,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(t.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(R(r,e))break;t=this.state.doc.lineAt(r.from)}return this.lineIndent(t.from)}continue(){return B(this.context.next,this.base,this.pos)}}function R(e,t){for(let r=t;r;r=r.parent)if(e==r)return!0;return!1}function L(e,t,r,n,i){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=n&&s.slice(o,o+n.length)==n||i==e.pos+o,l=t?function(e){let t=e.node,r=t.childAfter(t.from),n=t.lastChild;if(!r)return null;let i=e.options.simulateBreak,s=e.state.doc.lineAt(r.from),o=null==i||i<=s.from?s.to:Math.min(s.to,i);for(let e=r.to;;){let i=t.childAfter(e);if(!i||i==n)return null;if(!i.type.isSkipped){if(i.from>=o)return null;let e=/^ */.exec(s.text.slice(r.to-s.from))[0].length;return{from:r.from,to:r.to+e}}e=i.to}}(e):null;return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:e.unit*r)}const I=s.Facet.define(),j=new i.NodeProp;function X(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function Z(e,t,r){for(let n of e.facet(I)){let i=n(e,t,r);if(i)return i}return function(e,t,r){let n=m(e);if(n.length<r)return null;let i=null;for(let s=n.resolveStack(r,1);s;s=s.next){let o=s.node;if(o.to<=r||o.from>r)continue;if(i&&o.from<t)break;let a=o.type.prop(j);if(a&&(o.to<n.length-50||n.length==e.doc.length||!X(o))){let n=a(o,e);n&&n.from<=r&&n.from>=t&&n.to>r&&(i=n)}}return i}(e,t,r)}function V(e,t){let r=t.mapPos(e.from,1),n=t.mapPos(e.to,-1);return r>=n?void 0:{from:r,to:n}}const q=s.StateEffect.define({map:V}),z=s.StateEffect.define({map:V});function W(e){let t=[];for(let{head:r}of e.state.selection.ranges)t.some(e=>e.from<=r&&e.to>=r)||t.push(e.lineBlockAt(r));return t}const Y=s.StateField.define({create:()=>o.Decoration.none,update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,r)=>e=G(e,t,r)),e=e.map(t.changes);for(let r of t.effects)if(r.is(q)&&!H(e,r.value.from,r.value.to)){let{preparePlaceholder:n}=t.state.facet(ae),i=n?o.Decoration.replace({widget:new pe(n(t.state,r.value))}):ce;e=e.update({add:[i.range(r.value.from,r.value.to)]})}else r.is(z)&&(e=e.update({filter:(e,t)=>r.value.from!=e||r.value.to!=t,filterFrom:r.value.from,filterTo:r.value.to}));return t.selection&&(e=G(e,t.selection.main.head)),e},provide:e=>o.EditorView.decorations.from(e),toJSON(e,t){let r=[];return e.between(0,t.doc.length,(e,t)=>{r.push(e,t)}),r},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let r=0;r<e.length;){let n=e[r++],i=e[r++];if("number"!=typeof n||"number"!=typeof i)throw new RangeError("Invalid JSON for fold state");t.push(ce.range(n,i))}return o.Decoration.set(t,!0)}});function G(e,t,r=t){let n=!1;return e.between(t,r,(e,i)=>{e<r&&i>t&&(n=!0)}),n?e.update({filterFrom:t,filterTo:r,filter:(e,n)=>e>=r||n<=t}):e}function U(e,t,r){var n;let i=null;return null===(n=e.field(Y,!1))||void 0===n||n.between(t,r,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function H(e,t,r){let n=!1;return e.between(t,t,(e,i)=>{e==t&&i==r&&(n=!0)}),n}function J(e,t){return e.field(Y,!1)?t:t.concat(s.StateEffect.appendConfig.of(le()))}const K=e=>{for(let t of W(e)){let r=Z(e.state,t.from,t.to);if(r)return e.dispatch({effects:J(e.state,[q.of(r),te(e,r)])}),!0}return!1},ee=e=>{if(!e.state.field(Y,!1))return!1;let t=[];for(let r of W(e)){let n=U(e.state,r.from,r.to);n&&t.push(z.of(n),te(e,n,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function te(e,t,r=!0){let n=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return o.EditorView.announce.of(`${e.state.phrase(r?"Folded lines":"Unfolded lines")} ${n} ${e.state.phrase("to")} ${i}.`)}const re=e=>{let{state:t}=e,r=[];for(let n=0;n<t.doc.length;){let i=e.lineBlockAt(n),s=Z(t,i.from,i.to);s&&r.push(q.of(s)),n=(s?e.lineBlockAt(s.to):i).to+1}return r.length&&e.dispatch({effects:J(e.state,r)}),!!r.length},ne=e=>{let t=e.state.field(Y,!1);if(!t||!t.size)return!1;let r=[];return t.between(0,e.state.doc.length,(e,t)=>{r.push(z.of({from:e,to:t}))}),e.dispatch({effects:r}),!0};function ie(e,t){for(let r=t;;){let n=Z(e.state,r.from,r.to);if(n&&n.to>t.from)return n;if(!r.from)return null;r=e.lineBlockAt(r.from-1)}}const se=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:K},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:ee},{key:"Ctrl-Alt-[",run:re},{key:"Ctrl-Alt-]",run:ne}],oe={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},ae=s.Facet.define({combine:e=>s.combineConfig(e,oe)});function le(e){let t=[Y,fe];return e&&t.push(ae.of(e)),t}function ue(e,t){let{state:r}=e,n=r.facet(ae),i=t=>{let r=e.lineBlockAt(e.posAtDOM(t.target)),n=U(e.state,r.from,r.to);n&&e.dispatch({effects:z.of(n)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i,t);let s=document.createElement("span");return s.textContent=n.placeholderText,s.setAttribute("aria-label",r.phrase("folded code")),s.title=r.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=i,s}const ce=o.Decoration.replace({widget:new class extends o.WidgetType{toDOM(e){return ue(e,null)}}});class pe extends o.WidgetType{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return ue(e,this.value)}}const he={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class de extends o.GutterMarker{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}const fe=o.EditorView.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class me{constructor(e,t){let r;function n(e){let t=l.StyleModule.newName();return(r||(r=Object.create(null)))["."+t]=e,t}this.specs=e;const i="string"==typeof t.all?t.all:t.all?n(t.all):void 0,s=t.scope;this.scope=s instanceof h?e=>e.prop(u)==s.data:s?e=>e==s:void 0,this.style=a.tagHighlighter(e.map(e=>({tag:e.tag,class:e.class||n(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=r?new l.StyleModule(r):null,this.themeType=t.themeType}static define(e,t){return new me(e,t||{})}}const ge=s.Facet.define(),Oe=s.Facet.define({combine:e=>e.length?[e[0]]:null});function De(e){let t=e.facet(ge);return t.length?t:e.facet(Oe)}const ye=s.Prec.high(o.ViewPlugin.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=m(e.state),this.decorations=this.buildDeco(e,De(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=m(e.state),r=De(e.state),n=r!=De(e.startState),{viewport:i}=e.view,s=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!n&&t.type==this.tree.type&&s>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(t!=this.tree||e.viewportChanged||n)&&(this.tree=t,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return o.Decoration.none;let r=new s.RangeSetBuilder;for(let{from:n,to:i}of e.visibleRanges)a.highlightTree(this.tree,t,(e,t,n)=>{r.add(e,t,this.markCache[n]||(this.markCache[n]=o.Decoration.mark({class:n})))},n,i);return r.finish()}},{decorations:e=>e.decorations})),ve=me.define([{tag:a.tags.meta,color:"#404740"},{tag:a.tags.link,textDecoration:"underline"},{tag:a.tags.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.tags.emphasis,fontStyle:"italic"},{tag:a.tags.strong,fontWeight:"bold"},{tag:a.tags.strikethrough,textDecoration:"line-through"},{tag:a.tags.keyword,color:"#708"},{tag:[a.tags.atom,a.tags.bool,a.tags.url,a.tags.contentSeparator,a.tags.labelName],color:"#219"},{tag:[a.tags.literal,a.tags.inserted],color:"#164"},{tag:[a.tags.string,a.tags.deleted],color:"#a11"},{tag:[a.tags.regexp,a.tags.escape,a.tags.special(a.tags.string)],color:"#e40"},{tag:a.tags.definition(a.tags.variableName),color:"#00f"},{tag:a.tags.local(a.tags.variableName),color:"#30a"},{tag:[a.tags.typeName,a.tags.namespace],color:"#085"},{tag:a.tags.className,color:"#167"},{tag:[a.tags.special(a.tags.variableName),a.tags.macroName],color:"#256"},{tag:a.tags.definition(a.tags.propertyName),color:"#00c"},{tag:a.tags.comment,color:"#940"},{tag:a.tags.invalid,color:"#f00"}]),Se=o.EditorView.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Ce="()[]{}",be=s.Facet.define({combine:e=>s.combineConfig(e,{afterCursor:!0,brackets:Ce,maxScanDistance:1e4,renderMatch:we})}),Ee=o.Decoration.mark({class:"cm-matchingBracket"}),xe=o.Decoration.mark({class:"cm-nonmatchingBracket"});function we(e){let t=[],r=e.matched?Ee:xe;return t.push(r.range(e.start.from,e.start.to)),e.end&&t.push(r.range(e.end.from,e.end.to)),t}const Ae=[s.StateField.define({create:()=>o.Decoration.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let r=[],n=t.state.facet(be);for(let e of t.state.selection.ranges){if(!e.empty)continue;let i=Pe(t.state,e.head,-1,n)||e.head>0&&Pe(t.state,e.head-1,1,n)||n.afterCursor&&(Pe(t.state,e.head,1,n)||e.head<t.state.doc.length&&Pe(t.state,e.head+1,-1,n));i&&(r=r.concat(n.renderMatch(i,t.state)))}return o.Decoration.set(r,!0)},provide:e=>o.EditorView.decorations.from(e)}),Se],Te=new i.NodeProp;function ke(e,t,r){let n=e.prop(t<0?i.NodeProp.openedBy:i.NodeProp.closedBy);if(n)return n;if(1==e.name.length){let n=r.indexOf(e.name);if(n>-1&&n%2==(t<0?1:0))return[r[n+t]]}return null}function Fe(e){let t=e.type.prop(Te);return t?t(e.node):e}function Pe(e,t,r,n={}){let i=n.maxScanDistance||1e4,s=n.brackets||Ce,o=m(e),a=o.resolveInner(t,r);for(let e=a;e;e=e.parent){let n=ke(e.type,r,s);if(n&&e.from<e.to){let i=Fe(e);if(i&&(r>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return Qe(0,0,r,e,i,n,s)}}return function(e,t,r,n,i,s,o){let a=r<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=o.indexOf(a);if(l<0||l%2==0!=r>0)return null;let u={from:r<0?t-1:t,to:r>0?t+1:t},c=e.doc.iterRange(t,r>0?e.doc.length:0),p=0;for(let e=0;!c.next().done&&e<=s;){let s=c.value;r<0&&(e+=s.length);let a=t+e*r;for(let e=r>0?0:s.length-1,t=r>0?s.length:-1;e!=t;e+=r){let t=o.indexOf(s[e]);if(!(t<0||n.resolveInner(a+e,1).type!=i))if(t%2==0==r>0)p++;else{if(1==p)return{start:u,end:{from:a+e,to:a+e+1},matched:t>>1==l>>1};p--}}r>0&&(e+=s.length)}return c.done?{start:u,matched:!1}:null}(e,t,r,o,a.type,i,s)}function Qe(e,t,r,n,i,s,o){let a=n.parent,l={from:i.from,to:i.to},u=0,c=null==a?void 0:a.cursor();if(c&&(r<0?c.childBefore(n.from):c.childAfter(n.to)))do{if(r<0?c.to<=n.from:c.from>=n.to){if(0==u&&s.indexOf(c.type.name)>-1&&c.from<c.to){let e=Fe(c);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(ke(c.type,r,o))u++;else if(ke(c.type,-r,o)){if(0==u){let e=Fe(c);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}u--}}}while(r<0?c.prevSibling():c.nextSibling());return{start:l,matched:!1}}function $e(e,t,r,n=0,i=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let s=i;for(let i=n;i<t;i++)9==e.charCodeAt(i)?s+=r-s%r:s++;return s}class Be{constructor(e,t,r,n){this.string=e,this.tabSize=t,this.indentUnit=r,this.overrideIndent=n,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let t,r=this.string.charAt(this.pos);if(t="string"==typeof e?r==e:r&&(e instanceof RegExp?e.test(r):e(r)),t)return++this.pos,r}eatWhile(e){let t=this.pos;for(;this.eat(e););return this.pos>t}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=$e(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return null!==(e=this.overrideIndent)&&void 0!==e?e:$e(this.string,null,this.tabSize)}match(e,t,r){if("string"==typeof e){let n=e=>r?e.toLowerCase():e;return n(this.string.substr(this.pos,e.length))==n(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function _e(e){if("object"!=typeof e)return e;let t={};for(let r in e){let n=e[r];t[r]=n instanceof Array?n.slice():n}return t}const Ne=new WeakMap;class Me extends h{constructor(e){let t,r=c(e.languageData),n={name:(s=e).name||"",token:s.token,blankLine:s.blankLine||(()=>{}),startState:s.startState||(()=>!0),copyState:s.copyState||_e,indent:s.indent||(()=>null),languageData:s.languageData||{},tokenTable:s.tokenTable||Xe,mergeTokens:!1!==s.mergeTokens};var s;super(r,new class extends i.Parser{createParse(e,r,n){return new Ie(t,e,r,n)}},[],e.name),this.topNode=function(e,t){let r=i.NodeType.define({id:Ze.length,name:"Document",props:[u.add(()=>e),$.add(()=>e=>t.getIndent(e))],top:!0});return Ze.push(r),r}(r,this),t=this,this.streamParser=n,this.stateAfter=new i.NodeProp({perNode:!0}),this.tokenTable=e.tokenTable?new Ye(n.tokenTable):Ge}static define(e){return new Me(e)}getIndent(e){let t,{overrideIndentation:r}=e.options;r&&(t=Ne.get(e.state),null!=t&&t<e.pos-1e4&&(t=void 0));let n,i,s=Re(this,e.node.tree,e.node.from,e.node.from,null!=t?t:e.pos);if(s?(i=s.state,n=s.pos+1):(i=this.streamParser.startState(e.unit),n=e.node.from),e.pos-n>1e4)return null;for(;n<e.pos;){let t=e.state.doc.lineAt(n),s=Math.min(e.pos,t.to);if(t.length){let n=r?r(t.from):-1,o=new Be(t.text,e.state.tabSize,e.unit,n<0?void 0:n);for(;o.pos<s-t.from;)je(this.streamParser.token,o,i)}else this.streamParser.blankLine(i,e.unit);if(s==e.pos)break;n=t.to+1}let o=e.lineAt(e.pos);return r&&null==t&&Ne.set(e.state,o.from),this.streamParser.indent(i,/^\s*(.*)/.exec(o.text)[1],e)}get allowsNesting(){return!1}}function Re(e,t,r,n,s){let o=r>=n&&r+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:r+t.length};for(let o=t.children.length-1;o>=0;o--){let a=t.children[o],l=r+t.positions[o],u=a instanceof i.Tree&&l<s&&Re(e,a,l,n,s);if(u)return u}return null}function Le(e,t,r,n,s){if(s&&r<=0&&n>=t.length)return t;s||0!=r||t.type!=e.topNode||(s=!0);for(let o=t.children.length-1;o>=0;o--){let a,l=t.positions[o],u=t.children[o];if(l<n&&u instanceof i.Tree){if(!(a=Le(e,u,r-l,n-l,s)))break;return s?new i.Tree(t.type,t.children.slice(0,o).concat(a),t.positions.slice(0,o+1),l+a.length):a}}return null}class Ie{constructor(e,t,r,n){this.lang=e,this.input=t,this.fragments=r,this.ranges=n,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=n[n.length-1].to;let s=y.get(),o=n[0].from,{state:a,tree:l}=function(e,t,r,n,s){for(let i of t){let t,s=i.from+(i.openStart?25:0),o=i.to-(i.openEnd?25:0),a=s<=r&&o>r&&Re(e,i.tree,0-i.offset,r,o);if(a&&a.pos<=n&&(t=Le(e,i.tree,r+i.offset,a.pos+i.offset,!1)))return{state:a.state,tree:t}}return{state:e.streamParser.startState(s?k(s):4),tree:i.Tree.empty}}(e,r,o,this.to,null==s?void 0:s.state);this.state=a,this.parsedPos=this.chunkStart=o+l.length;for(let e=0;e<l.children.length;e++)this.chunks.push(l.children[e]),this.chunkPos.push(l.positions[e]);s&&this.parsedPos<s.viewport.from-1e5&&n.some(e=>e.from<=s.viewport.from&&e.to>=s.viewport.from)&&(this.state=this.lang.streamParser.startState(k(s.state)),s.skipUntilInView(this.parsedPos,s.viewport.from),this.parsedPos=s.viewport.from),this.moveRangeIndex()}advance(){let e=y.get(),t=null==this.stoppedAt?this.to:Math.min(this.to,this.stoppedAt),r=Math.min(t,this.chunkStart+512);for(e&&(r=Math.min(r,e.viewport.to));this.parsedPos<r;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=t?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let e=t.indexOf("\n");e>-1&&(t=t.slice(0,e))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),r=e+t.length;for(let e=this.rangeIndex;;){let n=this.ranges[e].to;if(n>=r)break;if(t=t.slice(0,n-(r-t.length)),e++,e==this.ranges.length)break;let i=this.ranges[e].from,s=this.lineAfter(i);t+=s,r=i+s.length}return{line:t,end:r}}skipGapsTo(e,t,r){for(;;){let n=this.ranges[this.rangeIndex].to,i=e+t;if(r>0?n>i:n>=i)break;t+=this.ranges[++this.rangeIndex].from-n}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,t,r,n){let i=4;if(this.ranges.length>1){t+=n=this.skipGapsTo(t,n,1);let e=this.chunk.length;r+=n=this.skipGapsTo(r,n,-1),i+=this.chunk.length-e}let s=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&4==i&&s>=0&&this.chunk[s]==e&&this.chunk[s+2]==t?this.chunk[s+2]=r:this.chunk.push(e,t,r,i),n}parseLine(e){let{line:t,end:r}=this.nextLine(),n=0,{streamParser:i}=this.lang,s=new Be(t,e?e.state.tabSize:4,e?k(e.state):2);if(s.eol())i.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let e=je(i.token,s,this.state);if(e&&(n=this.emitToken(this.lang.tokenTable.resolve(e),this.parsedPos+s.start,this.parsedPos+s.pos,n)),s.start>1e4)break}this.parsedPos=r,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=i.Tree.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:Ve,topID:0,maxBufferLength:512,reused:this.chunkReused});e=new i.Tree(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new i.Tree(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function je(e,t,r){t.start=t.pos;for(let n=0;n<10;n++){let n=e(t,r);if(t.pos>t.start)return n}throw new Error("Stream parser failed to advance stream.")}const Xe=Object.create(null),Ze=[i.NodeType.none],Ve=new i.NodeSet(Ze),qe=[],ze=Object.create(null),We=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])We[e]=He(Xe,t);class Ye{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),We)}resolve(e){return e?this.table[e]||(this.table[e]=He(this.extra,e)):0}}const Ge=new Ye(Xe);function Ue(e,t){qe.indexOf(e)>-1||(qe.push(e),console.warn(t))}function He(e,t){let r=[];for(let n of t.split(" ")){let t=[];for(let r of n.split(".")){let n=e[r]||a.tags[r];n?"function"==typeof n?t.length?t=t.map(n):Ue(r,`Modifier ${r} used at start of tag`):t.length?Ue(r,`Tag ${r} used as modifier`):t=Array.isArray(n)?n:[n]:Ue(r,`Unknown highlighting tag ${r}`)}for(let e of t)r.push(e)}if(!r.length)return 0;let n=t.replace(/ /g,"_"),s=n+" "+r.map(e=>e.id),o=ze[s];if(o)return o.id;let l=ze[s]=i.NodeType.define({id:Ze.length,name:n,props:[a.styleTags({[n]:r})]});return Ze.push(l),l.id}function Je(e){return e.length<=4096&&/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/.test(e)}function Ke(e){for(let t=e.iter();!t.next().done;)if(Je(t.value))return!0;return!1}const et=s.Facet.define({combine:e=>e.some(e=>e)}),tt=o.ViewPlugin.fromClass(class{constructor(e){this.always=e.state.facet(et)||e.textDirection!=o.Direction.LTR||e.state.facet(o.EditorView.perLineTextDirection),this.hasRTL=!this.always&&Ke(e.state.doc),this.tree=m(e.state),this.decorations=this.always||this.hasRTL?rt(e,this.tree,this.always):o.Decoration.none}update(e){let t=e.state.facet(et)||e.view.textDirection!=o.Direction.LTR||e.state.facet(o.EditorView.perLineTextDirection);if(t||this.hasRTL||!function(e){let t=!1;return e.iterChanges((e,r,n,i,s)=>{!t&&Ke(s)&&(t=!0)}),t}(e.changes)||(this.hasRTL=!0),!t&&!this.hasRTL)return;let r=m(e.state);(t!=this.always||r!=this.tree||e.docChanged||e.viewportChanged)&&(this.tree=r,this.always=t,this.decorations=rt(e.view,r,t))}},{provide:e=>{function t(t){var r,n;return null!==(n=null===(r=t.plugin(e))||void 0===r?void 0:r.decorations)&&void 0!==n?n:o.Decoration.none}return[o.EditorView.outerDecorations.of(t),s.Prec.lowest(o.EditorView.bidiIsolatedRanges.of(t))]}});function rt(e,t,r){let n=new s.RangeSetBuilder,o=e.visibleRanges;r||(o=function(e,t){let r=t.iter(),n=0,i=[],s=null;for(let{from:t,to:o}of e)if(!(s&&s.to>t&&(t=s.to,t>=o)))for(n+r.value.length<t&&(r.next(t-(n+r.value.length)),n=t);;){let e=n,t=n+r.value.length;if(!r.lineBreak&&Je(r.value)&&(s&&s.to>e-10?s.to=Math.min(o,t):i.push(s={from:e,to:Math.min(o,t)})),t>=o)break;n=t,r.next()}return i}(o,e.state.doc));for(let{from:e,to:r}of o)t.iterate({enter:e=>{let t=e.type.prop(i.NodeProp.isolate);t&&n.add(e.from,e.to,nt[t])},from:e,to:r});return n.finish()}const nt={rtl:o.Decoration.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:o.Direction.RTL}),ltr:o.Decoration.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:o.Direction.LTR}),auto:o.Decoration.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})};t.DocInput=O,t.HighlightStyle=me,t.IndentContext=Q,t.LRLanguage=f,t.Language=h,t.LanguageDescription=w,t.LanguageSupport=class{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}},t.ParseContext=y,t.StreamLanguage=Me,t.StringStream=Be,t.TreeIndentContext=M,t.bidiIsolates=function(e={}){let t=[tt];return e.alwaysIsolate&&t.push(et.of(!0)),t},t.bracketMatching=function(e={}){return[be.of(e),Ae]},t.bracketMatchingHandle=Te,t.codeFolding=le,t.continuedIndent=function({except:e,units:t=1}={}){return r=>{let n=e&&e.test(r.textAfter);return r.baseIndent+(n?0:t*r.unit)}},t.defaultHighlightStyle=ve,t.defineLanguageFacet=c,t.delimitedIndent=function({closing:e,align:t=!0,units:r=1}){return n=>L(n,t,r,e)},t.ensureSyntaxTree=g,t.flatIndent=e=>e.baseIndent,t.foldAll=re,t.foldCode=K,t.foldEffect=q,t.foldGutter=function(e={}){let t={...he,...e},r=new de(t,!0),n=new de(t,!1),i=o.ViewPlugin.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(x)!=e.state.facet(x)||e.startState.field(Y,!1)!=e.state.field(Y,!1)||m(e.startState)!=m(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.RangeSetBuilder;for(let i of e.viewportLineBlocks){let s=U(e.state,i.from,i.to)?n:Z(e.state,i.from,i.to)?r:null;s&&t.add(i.from,i.from,s)}return t.finish()}}),{domEventHandlers:a}=t;return[i,o.gutter({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(i))||void 0===t?void 0:t.markers)||s.RangeSet.empty},initialSpacer:()=>new de(t,!1),domEventHandlers:{...a,click:(e,t,r)=>{if(a.click&&a.click(e,t,r))return!0;let n=U(e.state,t.from,t.to);if(n)return e.dispatch({effects:z.of(n)}),!0;let i=Z(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:q.of(i)}),!0)}}}),le()]},t.foldInside=function(e){let t=e.firstChild,r=e.lastChild;return t&&t.to<r.from?{from:t.to,to:r.type.isError?e.to:r.from}:null},t.foldKeymap=se,t.foldNodeProp=j,t.foldService=I,t.foldState=Y,t.foldable=Z,t.foldedRanges=function(e){return e.field(Y,!1)||s.RangeSet.empty},t.forceParsing=function(e,t=e.viewport.to,r=100){let n=g(e.state,t,r);return n!=m(e.state)&&e.dispatch({}),!!n},t.getIndentUnit=k,t.getIndentation=P,t.highlightingFor=function(e,t,r){let n=De(e),i=null;if(n)for(let e of n)if(!e.scope||r&&e.scope(r)){let r=e.style(t);r&&(i=i?i+" "+r:r)}return i},t.indentNodeProp=$,t.indentOnInput=function(){return s.EditorState.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let r=e.newDoc,{head:n}=e.newSelection.main,i=r.lineAt(n);if(n>i.from+200)return e;let s=r.sliceString(i.from,n);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,a=-1,l=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==a)continue;a=t.from;let r=P(o,t.from);if(null==r)continue;let n=/^\s*/.exec(t.text)[0],i=F(o,r);n!=i&&l.push({from:t.from,to:t.from+n.length,insert:i})}return l.length?[e,{changes:l,sequential:!0}]:e})},t.indentRange=function(e,t,r){let n=Object.create(null),i=new Q(e,{overrideIndentation:e=>{var t;return null!==(t=n[e])&&void 0!==t?t:-1}}),s=[];for(let o=t;o<=r;){let t=e.doc.lineAt(o);o=t.to+1;let r=P(i,t.from);if(null==r)continue;/\S/.test(t.text)||(r=0);let a=/^\s*/.exec(t.text)[0],l=F(e,r);a!=l&&(n[t.from]=r,s.push({from:t.from,to:t.from+a.length,insert:l}))}return e.changes(s)},t.indentService=A,t.indentString=F,t.indentUnit=T,t.language=x,t.languageDataProp=u,t.matchBrackets=Pe,t.sublanguageProp=p,t.syntaxHighlighting=function(e,t){let r,n=[ye];return e instanceof me&&(e.module&&n.push(o.EditorView.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(Oe.of(e)):r?n.push(ge.computeN([o.EditorView.darkTheme],t=>t.facet(o.EditorView.darkTheme)==("dark"==r)?[e]:[])):n.push(ge.of(e)),n},t.syntaxParserRunning=function(e){var t;return(null===(t=e.plugin(E))||void 0===t?void 0:t.isWorking())||!1},t.syntaxTree=m,t.syntaxTreeAvailable=function(e,t=e.doc.length){var r;return(null===(r=e.field(h.state,!1))||void 0===r?void 0:r.context.isDone(t))||!1},t.toggleFold=e=>{let t=[];for(let r of W(e)){let n=U(e.state,r.from,r.to);if(n)t.push(z.of(n),te(e,n,!1));else{let n=ie(e,r);n&&t.push(q.of(n),te(e,n))}}return t.length>0&&e.dispatch({effects:J(e.state,t)}),!!t.length},t.unfoldAll=ne,t.unfoldCode=ee,t.unfoldEffect=z},"f/Rv":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("DBQq"),i=r("Otu7"),s=r("G5nY");const o={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},a={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function u(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}let c=null,p=null,h=0;function d(e,t){let r=e.pos+t;if(h==r&&p==e)return c;let n=e.peek(t),i="";for(;u(n);)i+=String.fromCharCode(n),n=e.peek(++t);return p=e,h=r,c=i?i.toLowerCase():n==f||n==m?void 0:null}const f=63,m=33;function g(e,t){this.name=e,this.parent=t}const O=[6,10,7,8,9],D=new n.ContextTracker({start:null,shift:(e,t,r,n)=>O.indexOf(t)>-1?new g(d(n,1)||"",e):e,reduce:(e,t)=>21==t&&e?e.parent:e,reuse(e,t,r,n){let i=t.type.id;return 6==i||37==i?new g(d(n,1)||"",e):e},strict:!1}),y=new n.ExternalTokenizer((e,t)=>{if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(58));e.advance();let r=47==e.next;r&&e.advance();let n=d(e,0);if(void 0===n)return;if(!n)return e.acceptToken(r?15:14);let i=t.context?t.context.name:null;if(r){if(n==i)return e.acceptToken(11);if(i&&a[i])return e.acceptToken(58,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==n)return;e.acceptToken(13)}else{if("script"==n)return e.acceptToken(7);if("style"==n)return e.acceptToken(8);if("textarea"==n)return e.acceptToken(9);if(o.hasOwnProperty(n))return e.acceptToken(10);i&&l[i]&&l[i][n]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),v=new n.ExternalTokenizer(e=>{for(let t=0,r=0;;r++){if(e.next<0){r&&e.acceptToken(59);break}if(45==e.next)t++;else{if(62==e.next&&t>=2){r>=3&&e.acceptToken(59,-2);break}t=0}e.advance()}}),S=new n.ExternalTokenizer((e,t)=>{if(47==e.next&&62==e.peek(1)){let r=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(r?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function C(e,t,r){let i=2+e.length;return new n.ExternalTokenizer(n=>{for(let s=0,o=0,a=0;;a++){if(n.next<0){a&&n.acceptToken(t);break}if(0==s&&60==n.next||1==s&&47==n.next||s>=2&&s<i&&n.next==e.charCodeAt(s-2))s++,o++;else{if(s==i&&62==n.next){a>o?n.acceptToken(t,-o):n.acceptToken(r,-(o-2));break}if((10==n.next||13==n.next)&&a){n.acceptToken(t,1);break}s=o=0}n.advance()}})}const b=C("script",55,1),E=C("style",56,2),x=C("textarea",57,3),w=i.styleTags({"Text RawText IncompleteTag IncompleteCloseTag":i.tags.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":i.tags.angleBracket,TagName:i.tags.tagName,"MismatchedCloseTag/TagName":[i.tags.tagName,i.tags.invalid],AttributeName:i.tags.attributeName,"AttributeValue UnquotedAttributeValue":i.tags.attributeValue,Is:i.tags.definitionOperator,"EntityReference CharacterReference":i.tags.character,Comment:i.tags.blockComment,ProcessingInst:i.tags.processingInstruction,DoctypeDecl:i.tags.documentMeta}),A=n.LRParser.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'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O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:D,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,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S!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[b,E,x,S,y,v,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function T(e,t){let r=Object.create(null);for(let n of e.getChildren(24)){let e=n.getChild(25),i=n.getChild(27)||n.getChild(28);e&&(r[t.read(e.from,e.to)]=i?27==i.type.id?t.read(i.from+1,i.to-1):t.read(i.from,i.to):"")}return r}function k(e,t){let r=e.getChild(23);return r?t.read(r.from,r.to):" "}function F(e,t,r){let n;for(let i of r)if(!i.attrs||i.attrs(n||(n=T(e.node.parent.firstChild,t))))return{parser:i.parser};return null}t.configureNesting=function(e=[],t=[]){let r=[],n=[],i=[],o=[];for(let t of e)("script"==t.tag?r:"style"==t.tag?n:"textarea"==t.tag?i:o).push(t);let a=t.length?Object.create(null):null;for(let e of t)(a[e.name]||(a[e.name]=[])).push(e);return s.parseMixed((e,t)=>{let s=e.type.id;if(29==s)return F(e,t,r);if(32==s)return F(e,t,n);if(35==s)return F(e,t,i);if(21==s&&o.length){let r,n=e.node,i=n.firstChild,s=i&&k(i,t);if(s)for(let e of o)if(e.tag==s&&(!e.attrs||e.attrs(r||(r=T(i,t))))){let t=n.lastChild,r=38==t.type.id?t.from:n.to;if(r>i.to)return{parser:e.parser,overlay:[{from:i.to,to:r}]}}}if(a&&24==s){let r,n=e.node;if(r=n.firstChild){let e=a[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=k(n.parent,t))continue;let e=n.lastChild;if(27==e.type.id){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}]}}else if(28==e.type.id)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})},t.parser=A},leQx:(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}),l=e((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),u=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=u(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}}),p=e((e,t)=>{var r=u(),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}}),g=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}}),O=e((e,t)=>{var r=g(),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)}}),D=e((e,r)=>{var n=t(),i=g();r.exports=function(e,t){return arguments.length<2?function(e){return i(e)?e:void 0}(n[e]):n[e]&&n[e][t]}}),y=e((e,t)=>{var r=u();t.exports=r({}.isPrototypeOf)}),v=e((e,t)=>{var r=D();t.exports=r("navigator","userAgent")||""}),S=e((e,r)=>{var n,i,s=t(),o=v(),a=s.process,l=s.Deno,u=a&&a.versions||l&&l.version,c=u&&u.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=S(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),b=e((e,t)=>{var r=C();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),E=e((e,t)=>{var r=D(),n=g(),i=y(),s=b(),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))}}),x=e((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}}),w=e((e,t)=>{var r=g(),n=x(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}}),A=e((e,t)=>{var r=w(),n=h();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}}),T=e((e,t)=>{var r=o(),n=g(),i=O(),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}),F=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}}),P=e((e,r)=>{var n=t(),i=F(),s="__core-js_shared__",o=n[s]||i(s,{});r.exports=o}),Q=e((e,t)=>{var r=k(),n=P();(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:"© 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"})}),$=e((e,t)=>{var r=d(),n=Object;t.exports=function(e){return n(r(e))}}),B=e((e,t)=>{var r=u(),n=$(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}}),_=e((e,t)=>{var r=u(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}}),N=e((e,r)=>{var n=t(),i=Q(),s=B(),o=_(),a=C(),l=b(),u=i("wks"),c=n.Symbol,p=c&&c.for,h=l?c:c&&c.withoutSetter||o;r.exports=function(e){if(!s(u,e)||!a&&"string"!=typeof u[e]){var t="Symbol."+e;a&&s(c,e)?u[e]=c[e]:u[e]=l&&p?p(t):h(t)}return u[e]}}),M=e((e,t)=>{var r=o(),n=O(),i=E(),s=A(),a=T(),l=N(),u=TypeError,c=l("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var o,l=s(e,c);if(l){if(void 0===t&&(t="default"),o=r(l,e,t),!n(o)||i(o))return o;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}}),R=e((e,t)=>{var r=M(),n=E();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}}),L=e((e,r)=>{var n=t(),i=O(),s=n.document,o=i(s)&&i(s.createElement);r.exports=function(e){return o?s.createElement(e):{}}}),I=e((e,t)=>{var r=i(),s=n(),o=L();t.exports=!r&&!s(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})}),j=e(e=>{var t=i(),r=o(),n=a(),s=l(),u=f(),c=R(),p=B(),h=I(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=u(e),t=c(t),h)try{return d(e,t)}catch{}if(p(e,t))return s(!r(n.f,e,t),e[t])}}),X=e((e,t)=>{var r=i(),s=n();t.exports=r&&s(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),Z=e((e,t)=>{var r=O(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}}),V=e(e=>{var t=i(),r=I(),n=X(),s=Z(),o=R(),a=TypeError,l=Object.defineProperty,u=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=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 l(e,t,r)}:l:function(e,t,n){if(s(e),t=o(t),s(n),r)try{return l(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}}),q=e((e,t)=>{var r=i(),n=V(),s=l();t.exports=r?function(e,t,r){return n.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}}),z=e((e,t)=>{var r=i(),n=B(),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=n(s,"name"),l=a&&"something"===function(){}.name,u=a&&(!r||r&&o(s,"name").configurable);t.exports={EXISTS:a,PROPER:l,CONFIGURABLE:u}}),W=e((e,t)=>{var r=u(),n=g(),i=P(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource}),Y=e((e,r)=>{var n=t(),i=g(),s=n.WeakMap;r.exports=i(s)&&/native code/.test(String(s))}),G=e((e,t)=>{var r=Q(),n=_(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}}),U=e((e,t)=>{t.exports={}}),H=e((e,r)=>{var n,i,s,o,a,l=Y(),u=t(),c=O(),p=q(),h=B(),d=P(),f=G(),m=U(),g="Object already initialized",D=u.TypeError,y=u.WeakMap;l||d.state?((o=d.state||(d.state=new y)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw D(g);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 D(g);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:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw D("Incompatible receiver, "+e+" required");return r}}}}),J=e((e,t)=>{var r=n(),s=g(),o=B(),a=i(),l=z().CONFIGURABLE,u=W(),c=H(),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"),O=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")||l&&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=O(function(){return s(this)&&h(this).source||u(this)},"toString")}),K=e((e,t)=>{var r=g(),n=V(),i=J(),s=F();t.exports=function(e,t,o,a){a||(a={});var l=a.enumerable,u=void 0!==a.name?a.name:t;if(r(o)&&i(o,u,a),a.global)l?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch{}l?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,l=r(t),u=i(l),c=n(o,u);if(e&&s!=s){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}}),oe=e((e,t)=>{var r=u(),n=B(),i=f(),s=se().indexOf,o=U(),a=r([].push);t.exports=function(e,t){var r,l=i(e),u=0,c=[];for(r in l)!n(o,r)&&n(l,r)&&a(c,r);for(;t.length>u;)n(l,r=t[u++])&&(~s(c,r)||a(c,r));return c}}),ae=e((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),le=e(e=>{var t=oe(),r=ae().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}}),ue=e(e=>{e.f=Object.getOwnPropertySymbols}),ce=e((e,t)=>{var r=D(),n=u(),i=le(),s=ue(),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}}),pe=e((e,t)=>{var r=B(),n=ce(),i=j(),s=V();t.exports=function(e,t,o){for(var a=n(t),l=s.f,u=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&l(e,p,u(t,p))}}}),he=e((e,t)=>{var r=n(),i=g(),s=/#|\.prototype\./,o=function(e,t){var n=l[a(e)];return n==c||n!=u&&(i(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o}),de=e((e,r)=>{var n=t(),i=j().f,s=q(),o=K(),a=F(),l=pe(),u=he();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,g=e.stat;if(r=m?n:g?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],!u(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;l(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()}),ge=e((e,t)=>{var r=c();t.exports=Array.isArray||function(e){return"Array"==r(e)}}),Oe=e((e,t)=>{var r=TypeError;t.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}}),De=e((e,t)=>{var r=c(),n=u();t.exports=function(e){if("Function"===r(e))return n(e)}}),ye=e((e,t)=>{var r=De(),n=w(),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)}}}),ve=e((e,t)=>{var r=ge(),n=ie(),i=Oe(),s=ye(),o=function(e,t,a,l,u,c,p,h){for(var d,f,m=u,g=0,O=!!p&&s(p,h);g<l;)g in a&&(d=O?O(a[g],g,t):a[g],c>0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),g++;return m};t.exports=o}),Se=e((e,t)=>{var r={};r[N()("toStringTag")]="z",t.exports="[object z]"===String(r)}),Ce=e((e,t)=>{var r=Se(),n=g(),i=c(),s=N()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}}),be=e((e,t)=>{var r=u(),i=n(),s=g(),o=Ce(),a=D(),l=W(),c=function(){},p=[],h=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),m=!d.exec(c),O=function(e){if(!s(e))return!1;try{return h(c,p,e),!0}catch{return!1}},y=function(e){if(!s(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,l(e))}catch{return!0}};y.sham=!0,t.exports=!h||i(function(){var e;return O(O.call)||!O(Object)||!O(function(){e=!0})||e})?y:O}),Ee=e((e,t)=>{var r=ge(),n=be(),i=O(),s=N()("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}}),xe=e((e,t)=>{var r=Ee();t.exports=function(e,t){return new(r(e))(0===t?0:t)}}),we=e(()=>{var e=de(),t=ve(),r=w(),n=$(),i=ie(),s=xe();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),l=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,l,0,1,e,arguments.length>1?arguments[1]:void 0),o}})}),Ae=e((e,t)=>{t.exports={}}),Te=e((e,t)=>{var r=N(),n=Ae(),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=Ce(),n=A(),i=h(),s=Ae(),o=N()("iterator");t.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[r(e)]}}),Fe=e((e,t)=>{var r=o(),n=w(),i=Z(),s=x(),a=ke(),l=TypeError;t.exports=function(e,t){var o=arguments.length<2?a(e):t;if(n(o))return i(r(o,e));throw l(s(e)+" is not iterable")}}),Pe=e((e,t)=>{var r=o(),n=Z(),i=A();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(e){a=!0,o=e}if("throw"===t)throw s;if(a)throw o;return n(o),s}}),Qe=e((e,t)=>{var r=ye(),n=o(),i=Z(),s=x(),a=Te(),l=ie(),u=y(),c=Fe(),p=ke(),h=Pe(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,o){var g,O,D,y,v,S,C,b=o&&o.that,E=!(!o||!o.AS_ENTRIES),x=!(!o||!o.IS_RECORD),w=!(!o||!o.IS_ITERATOR),A=!(!o||!o.INTERRUPTED),T=r(t,b),k=function(e){return g&&h(g,"normal",e),new f(!0,e)},F=function(e){return E?(i(e),A?T(e[0],e[1],k):T(e[0],e[1])):A?T(e,k):T(e)};if(x)g=e.iterator;else if(w)g=e;else{if(!(O=p(e)))throw d(s(e)+" is not iterable");if(a(O)){for(D=0,y=l(e);y>D;D++)if((v=F(e[D]))&&u(m,v))return v;return new f(!1)}g=c(e,O)}for(S=x?e.next:g.next;!(C=n(S,g)).done;){try{v=F(C.value)}catch(e){h(g,"throw",e)}if("object"==typeof v&&v&&u(m,v))return v}return new f(!1)}}),$e=e((e,t)=>{var r=R(),n=V(),i=l();t.exports=function(e,t,s){var o=r(t);o in e?n.f(e,o,i(0,s)):e[o]=s}}),Be=e(()=>{var e=de(),t=Qe(),r=$e();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,function(e,t){r(n,e,t)},{AS_ENTRIES:!0}),n}})}),_e=e((e,t)=>{var r=["cliName","cliCategory","cliDescription"];function n(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}me(),we(),Be();var i,s=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,p=(e,t)=>function(){return e&&(t=(0,e[l(e)[0]])(e=0)),t},h=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},d=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},f=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))!c.call(e,i)&&i!==r&&o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},m=e=>f(o({},"__esModule",{value:!0}),e),g=p({"<define:process>"(){i={env:{},argv:[]}}}),O=h({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}g(),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=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),D=h({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){g(),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;e.StaticSymbolCache=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}}}}),y=h({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()})},e.splitAtColon=function(e,t){return r(e,":",t)},e.splitAtPeriod=function(e,t){return r(e,".",t)},e.visitValue=n,e.isDefined=function(e){return null!=e},e.noUndefined=function(e){return void 0===e?null:e};e.ValueTransformer=class{visitArray(e,t){return e.map(e=>n(e,this,t))}visitStringMap(e,t){let r={};return Object.keys(e).forEach(i=>{r[i]=n(e[i],this,t)}),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(a(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>a(e)?e.then(t):t(e),all:e=>e.some(a)?Promise.all(e):e},e.error=function(e){throw new Error(`Internal Error: ${e}`)},e.syntaxError=function(e,t){let r=Error(e);return r[i]=!0,t&&(r[s]=t),r};var i="ngSyntaxError",s="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[s]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var o=Object.getPrototypeOf({});function a(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=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},e.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;if(!t.toString)return"object";let r=t.toString();if(null==r)return""+r;let n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=a;e.Version=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};var l=typeof window<"u"&&window,u=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,c=typeof globalThis<"u"&&globalThis||l||u;e.global=c}}),v=h({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=D(),r=y(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function l(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}e.identifierName=l,e.identifierModuleUrl=function(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`},e.viewClassName=function(e,t){return`View_${l({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${l({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${l({reference:e})}`},e.componentFactoryName=function(e){return`${l({reference:e})}NgFactory`},(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=function(e){return null!=e.value?i(e.value):l(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=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.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:l,ngContentSelectors:u,interpolation:h,isInline:d,preserveWhitespaces:f}=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=l?p(l):[],this.ngContentSelectors=u||[],h&&2!=h.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=h,this.isInline=d,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var u=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:l,inputs:c,outputs:p,host:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:O,entryComponents:D,template:y,componentViewType:v,rendererType:S,componentFactory:C}=e,b={},E={},x={};null!=h&&Object.keys(h).forEach(e=>{let t=h[e],r=e.match(n);null===r?x[e]=t:null!=r[1]?E[r[1]]=t:null!=r[2]&&(b[r[2]]=t)});let w={};null!=c&&c.forEach(e=>{let t=r.splitAtColon(e,[e,e]);w[t[0]]=t[1]});let A={};return null!=p&&p.forEach(e=>{let t=r.splitAtColon(e,[e,e]);A[t[0]]=t[1]}),new u({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:l,inputs:w,outputs:A,hostListeners:b,hostProperties:E,hostAttributes:x,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:O,entryComponents:D,template:y,componentViewType:v,rendererType:S,componentFactory:C})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:l,hostListeners:u,hostProperties:p,hostAttributes:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:O,entryComponents:D,template:y,componentViewType:v,rendererType:S,componentFactory:C}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=l,this.hostListeners=u,this.hostProperties=p,this.hostAttributes=h,this.providers=c(d),this.viewProviders=c(f),this.queries=c(m),this.guards=g,this.viewQueries=c(O),this.entryComponents=c(D),this.template=y,this.componentViewType=v,this.rendererType=S,this.componentFactory=C}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=u;e.CompilePipeMetadata=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.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:l,importedModules:u,exportedModules:p,schemas:h,transitiveModule:d,id:f}=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(l),this.importedModules=c(u),this.exportedModules=c(p),this.schemas=c(h),this.id=f||null,this.transitiveModule=d||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}}};function c(e){return e||[]}e.TransitiveCompileNgModuleMetadata=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 p(e){return e.reduce((e,t)=>{let r=Array.isArray(t)?p(t):t;return e.concat(r)},[])}function h(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=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}},e.flatten=p,e.templateSourceUrl=function(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${l(e)}/${l(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:h(i)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g);return h(`css/${t}${r[r.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return h(`${l(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return h(`${l(e)}/${l(t.type)}.ngfactory.js`)}}}),S=h({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=O(),r=v(),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(;s<i&&e>0;){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(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var s,o,a=class{constructor(e,t){let r=arguments.length>2&&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";e.ParseError=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}`}},e.typeSourceSpan=function(e,t){let s=r.identifierModuleUrl(t),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,l=new i("",o);return new a(new n(l,-1,-1,-1),new n(l,-1,-1,-1))},e.r3JitTypeSourceSpan=function(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))}}}),C=h({"src/utils/front-matter/parse.js"(e,t){g();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(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[l]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:l.replace(/\n$/,"")},content:l.replace(/[^\n]/g," ")+e.slice(l.length)}}}}),b=h({"src/utils/get-last.js"(e,t){g();t.exports=e=>e[e.length-1]}}),E=h({"src/common/parser-create-error.js"(e,t){g(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),x={};function w(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}d(x,{default:()=>w});var A=p({"node_modules/escape-string-regexp/index.js"(){g()}}),T=h({"node_modules/semver/internal/debug.js"(e,t){g();var r="object"==typeof i&&i.env&&i.env.NODE_DEBUG&&/\bsemver\b/i.test(i.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),k=h({"node_modules/semver/internal/constants.js"(e,t){g();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),F=h({"node_modules/semver/internal/re.js"(e,t){g();var{MAX_SAFE_COMPONENT_LENGTH:r}=k(),n=T(),i=(e=t.exports={}).re=[],s=e.src=[],o=e.t={},a=0,l=(e,t,r)=>{let l=a++;n(e,l,t),o[e]=l,s[l]=t,i[l]=new RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),l("FULL",`^${s[o.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),l("LOOSE",`^${s[o.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),l("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",s[o.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",l("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",l("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),P=h({"node_modules/semver/internal/parse-options.js"(e,t){g();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}}}),Q=h({"node_modules/semver/internal/identifiers.js"(e,t){g();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:e<t?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}}}),$=h({"node_modules/semver/classes/semver.js"(e,t){g();var r=T(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=k(),{re:s,t:o}=F(),a=P(),{compareIdentifiers:l}=Q(),u=class{constructor(e,t){if(t=a(t),e instanceof u){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 l=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!l)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+l[1],this.minor=+l[2],this.patch=+l[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");l[4]?this.prerelease=l[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return l(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return l(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===l(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=u}}),B=h({"node_modules/semver/functions/compare.js"(e,t){g();var r=$();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),_=h({"node_modules/semver/functions/lt.js"(e,t){g();var r=B();t.exports=(e,t,n)=>r(e,t,n)<0}}),N=h({"node_modules/semver/functions/gte.js"(e,t){g();var r=B();t.exports=(e,t,n)=>r(e,t,n)>=0}}),M=h({"src/utils/arrayify.js"(e,t){g(),t.exports=(e,t)=>Object.entries(e).map(e=>{let[r,n]=e;return Object.assign({[t]:r},n)})}}),R=h({"package.json"(e,t){t.exports={version:"2.8.8"}}}),L=h({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}g(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var i=Object.prototype.hasOwnProperty,s=function(e,t){return i.call(e,t)};function o(e,t){for(var r in t)s(t,r)&&(e[r]=t[r]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,l=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function h(e,t,r){var n=0,i=e[0].match(c);i&&(n=i[1].length);var s=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,u=r.trimLeadingNewline,p=r.trimTrailingNewline,h="string"==typeof o,d=e.length;return e.map(function(e,t){return e=e.replace(s,"$1"),0===t&&u&&(e=e.replace(a,"")),t===d-1&&p&&(e=e.replace(l,"")),h&&(e=e.replace(/\r\n|\n|\r/g,function(e){return o})),e})}var d=function e(t){var r=n(),i=n();return o(function n(a){for(var l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];if(function(e){return s(e,"raw")&&s(e,"length")}(a)){var f=a,m=(l[0]===n||l[0]===d)&&p.test(f[0])&&u.test(f[1]),g=m?i:r,O=g.get(f);return O||(O=h(f,m,t),g.set(f,O)),0===l.length?O[0]:function(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}(O,m?l.slice(1):l)}return e(o(o({},t),a||{}))},{string:function(e){return h([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=d,e.default=d,typeof t<"u")try{t.exports=d,Object.defineProperty(d,"__esModule",{value:!0}),d.default=d,d.outdent=d}catch{}}}),I=h({"src/main/core-options.js"(e,t){g();var{outdent:r}=L(),n="Config",i="Editor",s="Other",o="Global",a="Special",l={cursorOffset:{since:"1.4.0",category:a,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:r`
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:i},endOfLine:{since:"1.15.0",category:o,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:r`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:a,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:s,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:a,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:s},parser:{since:"0.0.10",category:o,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"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:o,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:o,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:o,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:a,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:a,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:a,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:s},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,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:"Format",CATEGORY_OTHER:s,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:a,options:l}}}),j=h({"src/main/support.js"(e,t){g();var i={compare:B(),lt:_(),gte:N()},s=M(),o=R().version,a=I().options;t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:l=!1,showInternal:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=o.split("-",1)[0],p=e.flatMap(e=>e.languages||[]).filter(d),h=s(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),a),"name").filter(e=>d(e)&&f(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(function(e){if(u)return e;let{cliName:t,cliCategory:i,cliDescription:s}=e;return n(e,r)}).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(d).sort((e,t)=>i.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>d(e)&&f(e)),"parser"===t.name&&function(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,p,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:p,options:h};function d(e){return t||!("since"in e)||e.since&&i.gte(c,e.since)}function f(e){return l||!("deprecated"in e)||e.deprecated&&i.lt(c,e.deprecated)}}}}}),X=h({"src/utils/is-non-empty-array.js"(e,t){g(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}});var Z=p({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){g()}});function V(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(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 q=p({"node_modules/strip-ansi/index.js"(){g(),Z()}});function z(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 W=p({"node_modules/is-fullwidth-code-point/index.js"(){g()}}),Y=h({"node_modules/emoji-regex/index.js"(e,t){g(),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])|\u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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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DFFB-\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}}}),G={};function U(e){if("string"!=typeof e||0===e.length||0===(e=V(e)).length)return 0;e=e.replace((0,H.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=z(n)?2:1)}return t}d(G,{default:()=>U});var H,J=p({"node_modules/string-width/index.js"(){var e,t,r;g(),q(),W(),e=Y(),r=null!=e?s(u(e)):{},H=f(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)}}),K=h({"src/utils/get-string-width.js"(e,t){g();var r=(J(),m(G)).default,n=/[^\x20-\x7F]/;t.exports=function(e){return e?n.test(e)?r(e):e.length:0}}}),ee=h({"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&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}g();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),te=h({"src/utils/text/skip-inline-comment.js"(e,t){g(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),re=h({"src/utils/text/skip-trailing-comment.js"(e,t){g();var{skipEverythingButNewLine:r}=ee();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),ne=h({"src/utils/text/skip-newline.js"(e,t){g(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),ie=h({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){g();var r=te(),n=ne(),i=re(),{skipSpaces:s}=ee();t.exports=function(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}}}),se=h({"src/common/util.js"(e,t){g();var{default:r}=(A(),m(x)),n=b(),{getSupportInfo:i}=j(),s=X(),o=K(),{skipWhitespace:a,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c}=ee(),p=te(),h=re(),d=ne(),f=ie();function O(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=l(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function D(e,t){let r=null,n=t;for(;n!==r;)r=n,n=u(e,n),n=p(e,n),n=l(e,n);return n=h(e,n),n=d(e,n),!1!==n&&O(e,n)}function y(e,t,r){return f(e,r(t))}function v(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function S(e,t){let r={quote:'"',regex:/"/g,escaped:"""},n={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?n:r,s=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(s.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i),o}function C(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,(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+i+t}function E(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(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)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find(t=>{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]},getStringWidth:o,getMaxContinuousCount:function(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)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>s&&(s=r)}for(let e=1;e<s;e++)if(!i.get(e))return e;return s+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(y(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}},skipWhitespace:a,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:D,isNextLineEmpty:function(e,t,r){return D(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=l(e,n,{backwards:!0}),n=d(e,n,{backwards:!0}),n=l(e,n,{backwards:!0}),n!==d(e,n,{backwards:!0})},hasNewline:O,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:v,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:v(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:S,printString:function(e,t){let r=e.slice(1,-1);return C(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":S(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(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|$)/,"")},makeString:C,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,E(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),E(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,E(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:s,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),oe=h({"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"]}}}),ae=h({"src/language-html/utils/array-to-map.js"(e,t){g(),t.exports=function(e){let t=Object.create(null);for(let r of e)t[r]=!0;return t}}}),le=h({"src/language-html/utils/html-tag-names.js"(e,t){g();var{htmlTagNames:r}=oe(),n=ae()(r);t.exports=n}}),ue=h({"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"]}}}}),ce=h({"src/language-html/utils/map-object.js"(e,t){g(),t.exports=function(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))r[n]=t(i,n);return r}}}),pe=h({"src/language-html/utils/html-elements-attributes.js"(e,t){g();var{htmlElementAttributes:r}=ue(),n=ce()(r,ae());t.exports=n}}),he=h({"src/language-html/utils/is-unknown-namespace.js"(e,t){g(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),de=h({"src/language-html/pragma.js"(e,t){g(),t.exports={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),fe=h({"src/language-html/ast.js"(e,t){g();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 e in this)e in r||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in r){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}createChild(e){let t=e instanceof i?e.clone():new i(e);return t.setProperty("parent",this),t}insertChildBefore(e,t){this.children.splice(this.children.indexOf(e),0,this.createChild(t))}removeChild(e){this.children.splice(this.children.indexOf(e),1)}replaceChild(e,t){this.children[this.children.indexOf(e)]=this.createChild(t)}clone(){return new i(this)}get firstChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}get lastChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[this.children.length-1]}get prev(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)-1]}get next(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(e=>[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}}}),ge=h({"src/language-html/conditional-comment.js"(e,t){g();var{ParseSourceSpan:r}=S(),n=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:function(e,t,n){let[,i,s,o]=n,a=4+i.length,l=e.sourceSpan.start.moveBy(a),u=l.moveBy(o.length),[c,p]=(()=>{try{return[!0,t(o,l).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new r(l,u)}]]}})();return{type:"ieConditionalComment",complete:c,children:p,condition:s.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new r(e.sourceSpan.start,l),endSourceSpan:new r(u,e.sourceSpan.end)}}},{regex:/^\[if([^\]]*)]><!$/,parse:function(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif]$/,parse:function(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}];t.exports={parseIeConditionalComment:function(e,t){if(e.value)for(let{regex:r,parse:i}of n){let n=e.value.match(r);if(n)return i(e,t,n)}return null}}}}),Oe=h({"src/language-html/loc.js"(e,t){g(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),De=h({"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)]}g(),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=function(e){return"ng-container"===r(e)[1]},e.isNgContent=function(e){return"ng-content"===r(e)[1]},e.isNgTemplate=function(e){return"ng-template"===r(e)[1]},e.getNsPrefix=function(e){return null===e?null:r(e)[0]},e.mergeNsAndName=function(e,t){return e?`:${e}:${t}`:t},e.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},e.NGSP_UNICODE="",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),ye=h({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=De(),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}};e.HtmlTagDefinition=i,e.getHtmlTagDefinition=function(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}}}),ve=h({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});e.AstPath=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()}}}}),Se=h({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=ve();e.Text=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.CDATA=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};e.Expansion=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.ExpansionCase=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.Attribute=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)}};var r=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=r;e.Comment=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};function n(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=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},e.visitAll=n;var i=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=[],i=this;return t(function(t){t&&r.push(n(i,t,e))}),Array.prototype.concat.apply([],r)}};function s(e){let t=e.sourceSpan.start.offset,n=e.sourceSpan.end.offset;return e instanceof r&&(e.endSourceSpan?n=e.endSourceSpan.end.offset:e.children&&e.children.length&&(n=s(e.children[e.children.length-1]).end)),{start:t,end:n}}e.RecursiveVisitor=i,e.findNode=function(e,r){let o=[];return n(new class extends i{visit(e,t){let n=s(e);if(!(n.start<=r&&r<n.end))return!0;o.push(e)}},e),new t.AstPath(o,r)}}}),Ce=h({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0}),e.assertArrayOfStrings=function(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let r=0;r<t.length;r+=1)if("string"!=typeof t[r])throw new Error(`Expected '${e}' to be an array of strings.`)}};var t=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];e.assertInterpolationSymbols=function(e,r){if(null!=r&&(!Array.isArray(r)||2!=r.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=r){let e=r[0],n=r[1];t.forEach(t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)})}}}}),be=h({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ce(),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("{{","}}")}}),Ee=h({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=O(),i=S(),s=be(),o=De();(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 l=class extends i.ParseError{constructor(e,t,r){super(r,e),this.tokenType=t}};e.TokenError=l;var u=class{constructor(e,t){this.tokens=e,this.errors=t}};e.TokenizeResult=u,e.tokenize=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new f(new i.ParseSourceFile(e,t),r,n).tokenize()};var c=/\r\n?/g;function p(e){return`Unexpected character "${e===n.$EOF?"EOF":String.fromCharCode(e)}"`}function h(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var d=class{constructor(e){this.error=e}},f=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 x(e,n):new E(e,n);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(c,"\n")}tokenize(){for(;this._cursor.peek()!==n.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(t.EOF),this._endToken([]),new u(function(e){let r,n=[];for(let i=0;i<e.length;i++){let s=e[i];r&&r.type==t.TEXT&&s.type==t.TEXT?(r.parts[0]+=s.parts[0],r.sourceSpan.end=s.sourceSpan.end):(r=s,n.push(r))}return n}(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function(e){return e===n.$EQ||n.isAsciiLetter(e)||n.isDigit(e)}(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 l("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 l("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 l(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new d(r)}handleError(e){if(e instanceof w&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof d))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!function(e,t){return b(e)==b(t)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(r)<t)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===n.$AMPERSAND)return this._decodeEntity();{let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){let e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(n.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(C),this._cursor.peek()!=n.$SEMICOLON)return this._cursor=t,"&";let r=this._cursor.getChars(t);this._cursor.advance();let i=o.NAMED_ENTITIES[r];if(!i)throw this._createError(h(r),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(n.$x)||this._attemptCharCode(n.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(v),this._cursor.peek()!=n.$SEMICOLON)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(h(this._cursor.getChars(e)),this._cursor.getSpan())}}}_consumeRawText(e,r){this._beginToken(e?t.ESCAPABLE_RAW_TEXT:t.RAW_TEXT);let n=[];for(;;){let t=this._cursor.clone(),i=r();if(this._cursor=t,i)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>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&&!y(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(D,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,s,a=this.tokens.length,l=this._cursor.clone(),u=[];try{if(!n.isAsciiLetter(this._cursor.peek()))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),i=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==n.$SLASH&&this._cursor.peek()!==n.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(n.$EQ)){this._attemptCharCodeUntilFn(m);let r=this._consumeAttributeValue();u.push({prefix:e,name:t,value:r})}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(m)}this._consumeTagOpenEnd()}catch(r){if(r instanceof d)return this._cursor=l,s&&(this.tokens.length=a),this._beginToken(t.TEXT,e),void this._endToken(["<"]);throw r}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,u);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(m),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(m),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(p(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(D,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(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(n.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(n.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),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(m),this._beginToken(t.RAW_TEXT);let r=this._readUntil(n.$COMMA);this._endToken([r]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(m)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(n.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(m),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),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 m(e){return!n.isWhitespace(e)||e===n.$EOF}function D(e){return n.isWhitespace(e)||e===n.$GT||e===n.$SLASH||e===n.$SQ||e===n.$DQ||e===n.$EQ}function y(e){return(e<n.$a||n.$z<e)&&(e<n.$A||n.$Z<e)&&(e<n.$0||e>n.$9)}function v(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiHexDigit(e)}function C(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiLetter(e)}function b(e){return e>=n.$a&&e<=n.$z?e-n.$a+n.$A:e}var E=class{constructor(e,t){if(e instanceof E)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new E(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-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 w('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)}},x=class extends E{constructor(e,t){e instanceof x?(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 x(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r}processEscapeSequence(){let e=()=>this.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 w("Invalid hexadecimal escape sequence",e);return n}},w=class{constructor(e,t){this.msg=e,this.cursor=t}};e.CursorError=w}}),xe=h({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=S(),r=Se(),n=Ee(),i=De(),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;e.Parser=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,l=e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e(t.toLowerCase(),...n)},u=i?this.getTagDefinition:l(this.getTagDefinition),c=e=>u(e).contentType,p=i?s:l(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,g=new a(d.tokens,u,f,m,i).build();return new o(g.rootNodes,d.errors.concat(g.errors))}};var a=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._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let i=this._advance(),s=this._getText(i),o=this._advanceIf(n.TokenType.CDATA_END);this._addToParent(new r.CDATA(s,new t.ParseSourceSpan(e.sourceSpan.start,(o||i).sourceSpan.end)))}_consumeComment(e){let i=this._advanceIf(n.TokenType.RAW_TEXT),s=this._advanceIf(n.TokenType.COMMENT_END),o=null!=i?i.parts[0].trim():null,a=new t.ParseSourceSpan(e.sourceSpan.start,(s||i||e).sourceSpan.end);this._addToParent(new r.Comment(o,a))}_consumeDocType(e){let i=this._advanceIf(n.TokenType.RAW_TEXT),s=this._advanceIf(n.TokenType.DOC_TYPE_END),o=null!=i?i.parts[0].trim():null,a=new t.ParseSourceSpan(e.sourceSpan.start,(s||i||e).sourceSpan.end);this._addToParent(new r.DocType(o,a))}_consumeExpansion(e){let i=this._advance(),o=this._advance(),a=[];for(;this._peek.type===n.TokenType.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;a.push(e)}if(this._peek.type!==n.TokenType.EXPANSION_FORM_END)return void this._errors.push(s.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let l=new t.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new r.Expansion(i.parts[0],o.parts[0],a,l,i.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==n.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(s.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let i=this._advance(),o=this._collectExpansionExpTokens(i);if(!o)return null;let l=this._advance();o.push(new n.Token(n.TokenType.EOF,[],l.sourceSpan));let u=new a(o,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(u.errors.length>0)return this._errors=this._errors.concat(u.errors),null;let c=new t.ParseSourceSpan(e.sourceSpan.start,l.sourceSpan.end),p=new t.ParseSourceSpan(i.sourceSpan.start,l.sourceSpan.end);return new r.ExpansionCase(e.parts[0],u.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],l=[];for(;this._peek.type===n.TokenType.ATTR_NAME;)l.push(this._consumeAttr(this._advance()));let u=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(u);this.canSelfClose||t.canSelfClose||null!==i.getNsPrefix(u)||t.isVoid||this._errors.push(s.create(u,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(u,l,[],h,h,void 0,d);this._pushElement(f),c&&(this._popElement(u),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]),l=e.sourceSpan.end,u="";if(this._peek.type===n.TokenType.ATTR_QUOTE&&(o=this._advance().sourceSpan.start),this._peek.type===n.TokenType.ATTR_VALUE){let e=this._advance();u=e.parts[0],l=e.sourceSpan.end,s=e.sourceSpan}return this._peek.type===n.TokenType.ATTR_QUOTE&&(l=this._advance().sourceSpan.end,s=new t.ParseSourceSpan(o,l)),new r.Attribute(a,u,new t.ParseSourceSpan(e.sourceSpan.start,l),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}}}),Ae=h({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=ye(),r=xe(),n=xe();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}}),Te=h({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){g(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ae(),r=De();e.TagContentType=r.TagContentType;var n=null;e.parse=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:o=!1,getTagContentType:a}=r;return(n||(n=new t.HtmlParser),n).parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:i,allowHtmComponentClosingTags:s},o,a)}}});g();var{ParseSourceSpan:ke,ParseLocation:Fe,ParseSourceFile:Pe}=S(),Qe=C(),$e=b(),_e=E(),{inferParserByLanguage:Ne}=se(),Me=le(),Re=pe(),Le=he(),{hasPragma:Ie}=de(),{Node:je}=fe(),{parseIeConditionalComment:Xe}=ge(),{locStart:Ze,locEnd:Ve}=Oe();function qe(e,t,r){let{canSelfClose:n,normalizeTagName:i,normalizeAttributeName:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a,getTagContentType:l}=t,u=Te(),{RecursiveVisitor:c,visitAll:p}=Se(),{ParseSourceSpan:h}=S(),{getHtmlTagDefinition:d}=ye(),{rootNodes:f,errors:m}=u.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a,getTagContentType:l});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=u.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"===Ne(n,r)};if(f.some(t)){let r,i=()=>u.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a}),s=()=>r||(r=i()),l=e=>s().rootNodes.find(t=>{let{startSourceSpan:r}=t;return r&&r.start.offset===e.startSourceSpan.start.offset});for(let e=0;e<f.length;e++){let r=f[e],{endSourceSpan:n,startSourceSpan:i}=r;if(null===n)m=s().errors,f[e]=l(r)||r;else if(t(r)){let t=s(),o=i.end.offset,a=n.start.offset;for(let e of t.errors){let{offset:t}=e.span.start;if(o<t&&t<a){m=[e];break}}f[e]=l(r)||r}}}}if(m.length>0){let{msg:e,span:{start:t,end:r}}=m[0];throw _e(e,{start:{line:t.line+1,column:t.col+1},end:{line:r.line+1,column:r.col+1}})}let g=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},O=(e,t)=>{let r=e.toLowerCase();return t(r)?r:e};return p(new class extends c{visit(e){(e=>{switch(e.type){case"element":g(e);for(let t of e.attrs)g(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()}})(e),(e=>{if("element"===e.type){let t=d(a?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||Le(e)?e.tagDefinition=t:e.tagDefinition=d("")}})(e),(e=>{if("element"===e.type&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||Le(e))&&(e.name=O(e.name,e=>e in Me)),s)){let t=Re[e.name]||Object.create(null);for(let r of e.attrs)r.namespace||(r.name=O(r.name,r=>e.name in Re&&(r in Re["*"]||r in t)))}})(e),(e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))})(e)}},f),f}function ze(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:s}=n?Qe(e):{frontMatter:null,content:e},o=new Pe(e,t.filepath),a=new Fe(o,0,0,0),l=a.moveBy(e.length),u={type:"root",sourceSpan:new ke(a,l),children:qe(s,r,t)};if(i){let e=new Fe(o,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new ke(e,t),u.children.unshift(i)}let c=new je(u),p=(n,i)=>{let{offset:s}=i,o=ze(e.slice(0,s).replace(/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new ke(i,$e(o.children).sourceSpan.end);let a=o.children[0];return a.length===s?o.children.shift():(a.sourceSpan=new ke(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=Xe(e,p);t&&e.parent.replaceChild(e,t)}}),c}function We(){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,l,u)=>ze(a,Object.assign({parser:e},u),{canSelfClose:t,normalizeTagName:r,normalizeAttributeName:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:s,getTagContentType:o}),hasPragma:Ie,astFormat:"html",locStart:Ze,locEnd:Ve}}t.exports={parsers:{html:We({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:We({name:"angular",canSelfClose:!0}),vue:We({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 Te().TagContentType.RAW_TEXT}}),lwc:We({name:"lwc"})}}});return _e()}()},oIhD:(e,t,r)=>{"use strict";var n=r("bgcN"),i=r("DCQ6"),s=r("cEeD"),o=r("G5nY");const a=e=>{let{state:t}=e,r=t.doc.lineAt(t.selection.main.from),n=g(e.state,r.from);return n.line?u(e):!!n.block&&m(e)};function l(e,t){return({state:r,dispatch:n})=>{if(r.readOnly)return!1;let i=e(t,r);return!!i&&(n(r.update(i)),!0)}}const u=l(y,0),c=l(y,1),p=l(y,2),h=l(D,0),d=l(D,1),f=l(D,2),m=l((e,t)=>D(e,t,function(e){let t=[];for(let r of e.selection.ranges){let n=e.doc.lineAt(r.from),i=r.to<=n.to?n:e.doc.lineAt(r.to);i.from>n.from&&i.from==r.to&&(i=r.to==n.to+1?n:e.doc.lineAt(r.to-1));let s=t.length-1;s>=0&&t[s].to>n.from?t[s].to=i.to:t.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:i.to})}return t}(t)),0);function g(e,t){let r=e.languageDataAt("commentTokens",t,1);return r.length?r[0]:{}}const O=50;function D(e,t,r=t.selection.ranges){let n=r.map(e=>g(t,e.from).block);if(!n.every(e=>e))return null;let i=r.map((e,r)=>function(e,{open:t,close:r},n,i){let s,o,a=e.sliceDoc(n-O,n),l=e.sliceDoc(i,i+O),u=/\s*$/.exec(a)[0].length,c=/^\s*/.exec(l)[0].length,p=a.length-u;if(a.slice(p-t.length,p)==t&&l.slice(c,c+r.length)==r)return{open:{pos:n-u,margin:u&&1},close:{pos:i+c,margin:c&&1}};i-n<=2*O?s=o=e.sliceDoc(n,i):(s=e.sliceDoc(n,n+O),o=e.sliceDoc(i-O,i));let h=/^\s*/.exec(s)[0].length,d=/\s*$/.exec(o)[0].length,f=o.length-d-r.length;return s.slice(h,h+t.length)==t&&o.slice(f,f+r.length)==r?{open:{pos:n+h+t.length,margin:/\s/.test(s.charAt(h+t.length))?1:0},close:{pos:i-d-r.length,margin:/\s/.test(o.charAt(f-1))?1:0}}:null}(t,n[r],e.from,e.to));if(2!=e&&!i.every(e=>e))return{changes:t.changes(r.map((e,t)=>i[t]?[]:[{from:e.from,insert:n[t].open+" "},{from:e.to,insert:" "+n[t].close}]))};if(1!=e&&i.some(e=>e)){let e=[];for(let t,r=0;r<i.length;r++)if(t=i[r]){let i=n[r],{open:s,close:o}=t;e.push({from:s.pos-i.open.length,to:s.pos+s.margin},{from:o.pos-o.margin,to:o.pos+i.close.length})}return{changes:e}}return null}function y(e,t,r=t.selection.ranges){let n=[],i=-1;for(let{from:e,to:s}of r){let r=n.length,o=1e9,a=g(t,e).line;if(a){for(let r=e;r<=s;){let l=t.doc.lineAt(r);if(l.from>i&&(e==s||s>l.from)){i=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,r=l.text.slice(e,e+a.length)==a?e:-1;e<l.text.length&&e<o&&(o=e),n.push({line:l,comment:r,token:a,indent:e,empty:t,single:!1})}r=l.to+1}if(o<1e9)for(let e=r;e<n.length;e++)n[e].indent<n[e].line.text.length&&(n[e].indent=o);n.length==r+1&&(n[r].single=!0)}}if(2!=e&&n.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:r,indent:i,empty:s,single:o}of n)!o&&s||e.push({from:t.from+i,insert:r+" "});let r=t.changes(e);return{changes:r,selection:t.selection.map(r,1)}}if(1!=e&&n.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:r,token:i}of n)if(r>=0){let n=t.from+r,s=n+i.length;" "==t.text[s-t.from]&&s++,e.push({from:n,to:s})}return{changes:e}}return null}const v=n.Annotation.define(),S=n.Annotation.define(),C=n.Facet.define(),b=n.Facet.define({combine:e=>n.combineConfig(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(r,n)=>e(r,n)||t(r,n)})}),E=n.StateField.define({create:()=>V.empty,update(e,t){let r=t.state.facet(b),i=t.annotation(v);if(i){let n=B.fromTransaction(t,i.selection),s=i.side,o=0==s?e.undone:e.done;return o=n?_(o,o.length,r.minDepth,n):L(o,t.startState.selection),new V(0==s?i.rest:o,0==s?o:i.rest)}let s=t.annotation(S);if("full"!=s&&"before"!=s||(e=e.isolate()),!1===t.annotation(n.Transaction.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=B.fromTransaction(t),a=t.annotation(n.Transaction.time),l=t.annotation(n.Transaction.userEvent);return o?e=e.addChanges(o,a,l,r,t):t.selection&&(e=e.addSelection(t.startState.selection,a,l,r.newGroupDelay)),"full"!=s&&"after"!=s||(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new V(e.done.map(B.fromJSON),e.undone.map(B.fromJSON))}),x=E;function w(e,t){return function({state:r,dispatch:n}){if(!t&&r.readOnly)return!1;let i=r.field(E,!1);if(!i)return!1;let s=i.pop(e,r,t);return!!s&&(n(s),!0)}}const A=w(0,!1),T=w(1,!1),k=w(0,!0),F=w(1,!0);function P(e){return function(t){let r=t.field(E,!1);if(!r)return 0;let n=0==e?r.done:r.undone;return n.length-(n.length&&!n[0].changes?1:0)}}const Q=P(0),$=P(1);class B{constructor(e,t,r,n,i){this.changes=e,this.effects=t,this.mapped=r,this.startSelection=n,this.selectionsAfter=i}setSelAfter(e){return new B(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,r;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(r=this.startSelection)||void 0===r?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new B(e.changes&&n.ChangeSet.fromJSON(e.changes),[],e.mapped&&n.ChangeDesc.fromJSON(e.mapped),e.startSelection&&n.EditorSelection.fromJSON(e.startSelection),e.selectionsAfter.map(n.EditorSelection.fromJSON))}static fromTransaction(e,t){let r=M;for(let t of e.startState.facet(C)){let n=t(e);n.length&&(r=r.concat(n))}return!r.length&&e.changes.empty?null:new B(e.changes.invert(e.startState.doc),r,void 0,t||e.startState.selection,M)}static selection(e){return new B(void 0,M,void 0,void 0,e)}}function _(e,t,r,n){let i=t+1>r+20?t-r-1:0,s=e.slice(i,t);return s.push(n),s}function N(e,t){return e.length?t.length?e.concat(t):e:t}const M=[],R=200;function L(e,t){if(e.length){let r=e[e.length-1],n=r.selectionsAfter.slice(Math.max(0,r.selectionsAfter.length-R));return n.length&&n[n.length-1].eq(t)?e:(n.push(t),_(e,e.length-1,1e9,r.setSelAfter(n)))}return[B.selection([t])]}function I(e){let t=e[e.length-1],r=e.slice();return r[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),r}function j(e,t){if(!e.length)return e;let r=e.length,n=M;for(;r;){let i=X(e[r-1],t,n);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,r);return t[r-1]=i,t}t=i.mapped,r--,n=i.selectionsAfter}return n.length?[B.selection(n)]:M}function X(e,t,r){let i=N(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):M,r);if(!e.changes)return B.selection(i);let s=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new B(s,n.StateEffect.mapEffects(e.effects,t),a,e.startSelection.map(o),i)}const Z=/^(input\.type|delete)($|\.)/;class V{constructor(e,t,r=0,n=void 0){this.done=e,this.undone=t,this.prevTime=r,this.prevUserEvent=n}isolate(){return this.prevTime?new V(this.done,this.undone):this}addChanges(e,t,r,i,s){let o=this.done,a=o[o.length-1];return o=a&&a.changes&&!a.changes.empty&&e.changes&&(!r||Z.test(r))&&(!a.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(s,function(e,t){let r=[],n=!1;return e.iterChangedRanges((e,t)=>r.push(e,t)),t.iterChangedRanges((e,t,i,s)=>{for(let e=0;e<r.length;){let t=r[e++],o=r[e++];s>=t&&i<=o&&(n=!0)}}),n}(a.changes,e.changes))||"input.type.compose"==r)?_(o,o.length-1,i.minDepth,new B(e.changes.compose(a.changes),N(n.StateEffect.mapEffects(e.effects,a.changes),a.effects),a.mapped,a.startSelection,M)):_(o,o.length,i.minDepth,e),new V(o,M,t,r)}addSelection(e,t,r,n){let i=this.done.length?this.done[this.done.length-1].selectionsAfter:M;return i.length>0&&t-this.prevTime<n&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&(s=i[i.length-1],o=e,s.ranges.length==o.ranges.length&&0===s.ranges.filter((e,t)=>e.empty!=o.ranges[t].empty).length)?this:new V(L(this.done,e),this.undone,t,r);var s,o}addMapping(e){return new V(j(this.done,e),j(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,r){let n=0==e?this.done:this.undone;if(0==n.length)return null;let i=n[n.length-1],s=i.selectionsAfter[0]||t.selection;if(r&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:v.of({side:e,rest:I(n),selection:s}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){let r=1==n.length?M:n.slice(0,n.length-1);return i.mapped&&(r=j(r,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:v.of({side:e,rest:r,selection:s}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}V.empty=new V(M,M);const q=[{key:"Mod-z",run:A,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:T,preventDefault:!0},{linux:"Ctrl-Shift-z",run:T,preventDefault:!0},{key:"Mod-u",run:k,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:F,preventDefault:!0}];function z(e,t){return n.EditorSelection.create(e.ranges.map(t),e.mainIndex)}function W(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function Y({state:e,dispatch:t},r){let n=z(e.selection,r);return!n.eq(e.selection,!0)&&(t(W(e,n)),!0)}function G(e,t){return n.EditorSelection.cursor(t?e.to:e.from)}function U(e,t){return Y(e,r=>r.empty?e.moveByChar(r,t):G(r,t))}function H(e){return e.textDirectionAt(e.state.selection.main.head)==i.Direction.LTR}const J=e=>U(e,!H(e)),K=e=>U(e,H(e));function ee(e,t,r){let i=t.head,s=e.doc.lineAt(i);return i=i==(r?s.to:s.from)?r?Math.min(e.doc.length,s.to+1):Math.max(0,s.from-1):s.from+n.findClusterBreak(s.text,i-s.from,r),n.EditorSelection.cursor(i,r?-1:1)}function te(e,t){return Y(e,r=>r.empty?ee(e.state,r,t):G(r,t))}function re(e,t){return Y(e,r=>r.empty?e.moveByGroup(r,t):G(r,t))}const ne=e=>re(e,!H(e)),ie=e=>re(e,H(e));function se(e,t,r){let i=e.state.charCategorizer(t),s=i(r),o=s!=n.CharCategory.Space;return e=>{let t=i(e);return t!=n.CharCategory.Space?o&&t==s:(o=!1,!0)}}const oe="undefined"!=typeof Intl&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function ae(e,t,r){let i=e.state.charCategorizer(t.from),s=n.CharCategory.Space,o=t.from,a=0,l=!1,u=!1,c=!1,p=t=>{if(l)return!1;o+=r?t.length:-t.length;let p,h=i(t);if(h==n.CharCategory.Word&&t.charCodeAt(0)<128&&/[\W_]/.test(t)&&(h=-1),s==n.CharCategory.Space&&(s=h),s!=h)return!1;if(s==n.CharCategory.Word)if(t.toLowerCase()==t){if(!r&&u)return!1;c=!0}else if(c){if(r)return!1;l=!0}else{if(u&&r&&i(p=e.state.sliceDoc(o,o+1))==n.CharCategory.Word&&p.toLowerCase()==p)return!1;u=!0}return a++,!0},h=e.moveByChar(t,r,e=>(p(e),p));if(oe&&s==n.CharCategory.Word&&h.from==t.from+a*(r?1:-1)){let i=Math.min(t.head,h.head),s=Math.max(t.head,h.head),o=e.state.sliceDoc(i,s);if(o.length>1&&/[\u4E00-\uffff]/.test(o)){let e=Array.from(oe.segment(o));if(e.length>1)return r?n.EditorSelection.cursor(t.head+e[1].index,-1):n.EditorSelection.cursor(h.head+e[e.length-1].index,1)}}return h}function le(e,t){return Y(e,r=>r.empty?ae(e,r,t):G(r,t))}function ue(e,t,r){if(t.type.prop(r))return!0;let n=t.to-t.from;return n&&(n>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function ce(e,t,r){let i,a,l=s.syntaxTree(e).resolveInner(t.head),u=r?o.NodeProp.closedBy:o.NodeProp.openedBy;for(let n=t.head;;){let t=r?l.childAfter(n):l.childBefore(n);if(!t)break;ue(e,t,u)?l=t:n=r?t.to:t.from}return a=l.type.prop(u)&&(i=r?s.matchBrackets(e,l.from,1):s.matchBrackets(e,l.to,-1))&&i.matched?r?i.end.to:i.end.from:r?l.to:l.from,n.EditorSelection.cursor(a,r?-1:1)}const pe=e=>Y(e,t=>ce(e.state,t,!H(e))),he=e=>Y(e,t=>ce(e.state,t,H(e)));function de(e,t){return Y(e,r=>{if(!r.empty)return G(r,t);let n=e.moveVertically(r,t);return n.head!=r.head?n:e.moveToLineBoundary(r,t)})}const fe=e=>de(e,!1),me=e=>de(e,!0);function ge(e){let t,r=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,s=0;if(r){for(let t of e.state.facet(i.EditorView.scrollMargins)){let r=t(e);(null==r?void 0:r.top)&&(n=Math.max(null==r?void 0:r.top,n)),(null==r?void 0:r.bottom)&&(s=Math.max(null==r?void 0:r.bottom,s))}t=e.scrollDOM.clientHeight-n-s}else t=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:s,selfScroll:r,height:Math.max(e.defaultLineHeight,t-5)}}function Oe(e,t){let r,n=ge(e),{state:s}=e,o=z(s.selection,r=>r.empty?e.moveVertically(r,t,n.height):G(r,t));if(o.eq(s.selection))return!1;if(n.selfScroll){let t=e.coordsAtPos(s.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),l=a.top+n.marginTop,u=a.bottom-n.marginBottom;t&&t.top>l&&t.bottom<u&&(r=i.EditorView.scrollIntoView(o.main.head,{y:"start",yMargin:t.top-l}))}return e.dispatch(W(s,o),{effects:r}),!0}const De=e=>Oe(e,!1),ye=e=>Oe(e,!0);function ve(e,t,r){let i=e.lineBlockAt(t.head),s=e.moveToLineBoundary(t,r);if(s.head==t.head&&s.head!=(r?i.to:i.from)&&(s=e.moveToLineBoundary(t,r,!1)),!r&&s.head==i.from&&i.length){let r=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;r&&t.head!=i.from+r&&(s=n.EditorSelection.cursor(i.from+r))}return s}const Se=e=>Y(e,t=>ve(e,t,!0)),Ce=e=>Y(e,t=>ve(e,t,!1)),be=e=>Y(e,t=>ve(e,t,!H(e))),Ee=e=>Y(e,t=>ve(e,t,H(e))),xe=e=>Y(e,t=>n.EditorSelection.cursor(e.lineBlockAt(t.head).from,1)),we=e=>Y(e,t=>n.EditorSelection.cursor(e.lineBlockAt(t.head).to,-1));function Ae(e,t,r){let i=!1,o=z(e.selection,t=>{let o=s.matchBrackets(e,t.head,-1)||s.matchBrackets(e,t.head,1)||t.head>0&&s.matchBrackets(e,t.head-1,1)||t.head<e.doc.length&&s.matchBrackets(e,t.head+1,-1);if(!o||!o.end)return t;i=!0;let a=o.start.from==t.head?o.end.to:o.end.from;return r?n.EditorSelection.range(t.anchor,a):n.EditorSelection.cursor(a)});return!!i&&(t(W(e,o)),!0)}const Te=({state:e,dispatch:t})=>Ae(e,t,!1);function ke(e,t){let r=z(e.state.selection,e=>{let r=t(e);return n.EditorSelection.range(e.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return!r.eq(e.state.selection)&&(e.dispatch(W(e.state,r)),!0)}function Fe(e,t){return ke(e,r=>e.moveByChar(r,t))}const Pe=e=>Fe(e,!H(e)),Qe=e=>Fe(e,H(e));function $e(e,t){return ke(e,r=>e.moveByGroup(r,t))}const Be=e=>$e(e,!H(e)),_e=e=>$e(e,H(e));function Ne(e,t){return ke(e,r=>ae(e,r,t))}const Me=e=>ke(e,t=>ce(e.state,t,!H(e))),Re=e=>ke(e,t=>ce(e.state,t,H(e)));function Le(e,t){return ke(e,r=>e.moveVertically(r,t))}const Ie=e=>Le(e,!1),je=e=>Le(e,!0);function Xe(e,t){return ke(e,r=>e.moveVertically(r,t,ge(e).height))}const Ze=e=>Xe(e,!1),Ve=e=>Xe(e,!0),qe=e=>ke(e,t=>ve(e,t,!0)),ze=e=>ke(e,t=>ve(e,t,!1)),We=e=>ke(e,t=>ve(e,t,!H(e))),Ye=e=>ke(e,t=>ve(e,t,H(e))),Ge=e=>ke(e,t=>n.EditorSelection.cursor(e.lineBlockAt(t.head).from)),Ue=e=>ke(e,t=>n.EditorSelection.cursor(e.lineBlockAt(t.head).to)),He=({state:e,dispatch:t})=>(t(W(e,{anchor:0})),!0),Je=({state:e,dispatch:t})=>(t(W(e,{anchor:e.doc.length})),!0),Ke=({state:e,dispatch:t})=>(t(W(e,{anchor:e.selection.main.anchor,head:0})),!0),et=({state:e,dispatch:t})=>(t(W(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),tt=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),rt=({state:e,dispatch:t})=>{let r=St(e).map(({from:t,to:r})=>n.EditorSelection.range(t,Math.min(r+1,e.doc.length)));return t(e.update({selection:n.EditorSelection.create(r),userEvent:"select"})),!0},nt=({state:e,dispatch:t})=>{let r=z(e.selection,t=>{let r=s.syntaxTree(e),i=r.resolveStack(t.from,1);if(t.empty){let e=r.resolveStack(t.from,-1);e.node.from>=i.node.from&&e.node.to<=i.node.to&&(i=e)}for(let e=i;e;e=e.next){let{node:r}=e;if((r.from<t.from&&r.to>=t.to||r.to>t.to&&r.from<=t.from)&&e.next)return n.EditorSelection.range(r.to,r.from)}return t});return!r.eq(e.selection)&&(t(W(e,r)),!0)};function it(e,t){let{state:r}=e,i=r.selection,s=r.selection.ranges.slice();for(let n of r.selection.ranges){let i=r.doc.lineAt(n.head);if(t?i.to<e.state.doc.length:i.from>0)for(let r=n;;){let n=e.moveVertically(r,t);if(n.head<i.from||n.head>i.to){s.some(e=>e.head==n.head)||s.push(n);break}if(n.head==r.head)break;r=n}}return s.length!=i.ranges.length&&(e.dispatch(W(r,n.EditorSelection.create(s,s.length-1))),!0)}const st=e=>it(e,!1),ot=e=>it(e,!0),at=({state:e,dispatch:t})=>{let r=e.selection,i=null;return r.ranges.length>1?i=n.EditorSelection.create([r.main]):r.main.empty||(i=n.EditorSelection.create([n.EditorSelection.cursor(r.main.head)])),!!i&&(t(W(e,i)),!0)};function lt(e,t){if(e.state.readOnly)return!1;let r="delete.selection",{state:s}=e,o=s.changeByRange(i=>{let{from:s,to:o}=i;if(s==o){let n=t(i);n<s?(r="delete.backward",n=ut(e,n,!1)):n>s&&(r="delete.forward",n=ut(e,n,!0)),s=Math.min(s,n),o=Math.max(o,n)}else s=ut(e,s,!1),o=ut(e,o,!0);return s==o?{range:i}:{changes:{from:s,to:o},range:n.EditorSelection.cursor(s,s<i.head?-1:1)}});return!o.changes.empty&&(e.dispatch(s.update(o,{scrollIntoView:!0,userEvent:r,effects:"delete.selection"==r?i.EditorView.announce.of(s.phrase("Selection deleted")):void 0})),!0)}function ut(e,t,r){if(e instanceof i.EditorView)for(let n of e.state.facet(i.EditorView.atomicRanges).map(t=>t(e)))n.between(t,t,(e,n)=>{e<t&&n>t&&(t=r?n:e)});return t}const ct=(e,t,r)=>lt(e,i=>{let o,a,l=i.from,{state:u}=e,c=u.doc.lineAt(l);if(r&&!t&&l>c.from&&l<c.from+200&&!/[^ \t]/.test(o=c.text.slice(0,l-c.from))){if("\t"==o[o.length-1])return l-1;let e=n.countColumn(o,u.tabSize)%s.getIndentUnit(u)||s.getIndentUnit(u);for(let t=0;t<e&&" "==o[o.length-1-t];t++)l--;a=l}else a=n.findClusterBreak(c.text,l-c.from,t,t)+c.from,a==l&&c.number!=(t?u.doc.lines:1)?a+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(c.text.slice(a-c.from,l-c.from))&&(a=n.findClusterBreak(c.text,a-c.from,!1,!1)+c.from);return a}),pt=e=>ct(e,!1,!0),ht=e=>ct(e,!0,!1),dt=(e,t)=>lt(e,r=>{let i=r.head,{state:s}=e,o=s.doc.lineAt(i),a=s.charCategorizer(i);for(let e=null;;){if(i==(t?o.to:o.from)){i==r.head&&o.number!=(t?s.doc.lines:1)&&(i+=t?1:-1);break}let l=n.findClusterBreak(o.text,i-o.from,t)+o.from,u=o.text.slice(Math.min(i,l)-o.from,Math.max(i,l)-o.from),c=a(u);if(null!=e&&c!=e)break;" "==u&&i==r.head||(e=c),i=l}return i}),ft=e=>dt(e,!1),mt=e=>dt(e,!0),gt=e=>lt(e,t=>{let r=e.lineBlockAt(t.head).to;return t.head<r?r:Math.min(e.state.doc.length,t.head+1)}),Ot=e=>lt(e,t=>{let r=e.moveToLineBoundary(t,!1).head;return t.head>r?r:Math.max(0,t.head-1)}),Dt=e=>lt(e,t=>{let r=e.moveToLineBoundary(t,!0).head;return t.head<r?r:Math.min(e.state.doc.length,t.head+1)}),yt=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:n.Text.of(["",""])},range:n.EditorSelection.cursor(e.from)}));return t(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0},vt=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let r=t.from,i=e.doc.lineAt(r),s=r==i.from?r-1:n.findClusterBreak(i.text,r-i.from,!1)+i.from,o=r==i.to?r+1:n.findClusterBreak(i.text,r-i.from,!0)+i.from;return{changes:{from:s,to:o,insert:e.doc.slice(r,o).append(e.doc.slice(s,r))},range:n.EditorSelection.cursor(o)}});return!r.changes.empty&&(t(e.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function St(e){let t=[],r=-1;for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),s=e.doc.lineAt(n.to);if(n.empty||n.to!=s.from||(s=e.doc.lineAt(n.to-1)),r>=i.number){let e=t[t.length-1];e.to=s.to,e.ranges.push(n)}else t.push({from:i.from,to:s.to,ranges:[n]});r=s.number+1}return t}function Ct(e,t,r){if(e.readOnly)return!1;let i=[],s=[];for(let t of St(e)){if(r?t.to==e.doc.length:0==t.from)continue;let o=e.doc.lineAt(r?t.to+1:t.from-1),a=o.length+1;if(r){i.push({from:t.to,to:o.to},{from:t.from,insert:o.text+e.lineBreak});for(let r of t.ranges)s.push(n.EditorSelection.range(Math.min(e.doc.length,r.anchor+a),Math.min(e.doc.length,r.head+a)))}else{i.push({from:o.from,to:t.from},{from:t.to,insert:e.lineBreak+o.text});for(let e of t.ranges)s.push(n.EditorSelection.range(e.anchor-a,e.head-a))}}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:n.EditorSelection.create(s,e.selection.mainIndex),userEvent:"move.line"})),!0)}const bt=({state:e,dispatch:t})=>Ct(e,t,!1),Et=({state:e,dispatch:t})=>Ct(e,t,!0);function xt(e,t,r){if(e.readOnly)return!1;let n=[];for(let t of St(e))r?n.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):n.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});return t(e.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const wt=({state:e,dispatch:t})=>xt(e,t,!1),At=({state:e,dispatch:t})=>xt(e,t,!0),Tt=e=>{if(e.state.readOnly)return!1;let{state:t}=e,r=t.changes(St(t).map(({from:e,to:r})=>(e>0?e--:r<t.doc.length&&r++,{from:e,to:r}))),n=z(t.selection,t=>{let r;if(e.lineWrapping){let n=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(r=n.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,r)}).map(r);return e.dispatch({changes:r,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0},kt=Pt(!1),Ft=Pt(!0);function Pt(e){return({state:t,dispatch:r})=>{if(t.readOnly)return!1;let i=t.changeByRange(r=>{let{from:i,to:a}=r,l=t.doc.lineAt(i),u=!e&&i==a&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let r,n=s.syntaxTree(e).resolveInner(t),i=n.childBefore(t),a=n.childAfter(t);return i&&a&&i.to<=t&&a.from>=t&&(r=i.type.prop(o.NodeProp.closedBy))&&r.indexOf(a.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(a.from).from&&!/\S/.test(e.sliceDoc(i.to,a.from))?{from:i.to,to:a.from}:null}(t,i);e&&(i=a=(a<=l.to?l:t.doc.lineAt(a)).to);let c=new s.IndentContext(t,{simulateBreak:i,simulateDoubleBreak:!!u}),p=s.getIndentation(c,i);for(null==p&&(p=n.countColumn(/^\s*/.exec(t.doc.lineAt(i).text)[0],t.tabSize));a<l.to&&/\s/.test(l.text[a-l.from]);)a++;u?({from:i,to:a}=u):i>l.from&&i<l.from+100&&!/\S/.test(l.text.slice(0,i))&&(i=l.from);let h=["",s.indentString(t,p)];return u&&h.push(s.indentString(t,c.lineIndent(l.from,-1))),{changes:{from:i,to:a,insert:n.Text.of(h)},range:n.EditorSelection.cursor(i+1+h[1].length)}});return r(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function Qt(e,t){let r=-1;return e.changeByRange(i=>{let s=[];for(let n=i.from;n<=i.to;){let o=e.doc.lineAt(n);o.number>r&&(i.empty||i.to>o.from)&&(t(o,s,i),r=o.number),n=o.to+1}let o=e.changes(s);return{changes:s,range:n.EditorSelection.range(o.mapPos(i.anchor,1),o.mapPos(i.head,1))}})}const $t=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Object.create(null),n=new s.IndentContext(e,{overrideIndentation:e=>{let t=r[e];return null==t?-1:t}}),i=Qt(e,(t,i,o)=>{let a=s.getIndentation(n,t.from);if(null==a)return;/\S/.test(t.text)||(a=0);let l=/^\s*/.exec(t.text)[0],u=s.indentString(e,a);(l!=u||o.from<t.from+l.length)&&(r[t.from]=a,i.push({from:t.from,to:t.from+l.length,insert:u}))});return i.changes.empty||t(e.update(i,{userEvent:"indent"})),!0},Bt=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Qt(e,(t,r)=>{r.push({from:t.from,insert:e.facet(s.indentUnit)})}),{userEvent:"input.indent"})),!0),_t=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Qt(e,(t,r)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let o=n.countColumn(i,e.tabSize),a=0,l=s.indentString(e,Math.max(0,o-s.getIndentUnit(e)));for(;a<i.length&&a<l.length&&i.charCodeAt(a)==l.charCodeAt(a);)a++;r.push({from:t.from+a,to:t.from+i.length,insert:l.slice(a)})}),{userEvent:"delete.dedent"})),!0),Nt=e=>(e.setTabFocusMode(),!0),Mt=[{key:"Ctrl-b",run:J,shift:Pe,preventDefault:!0},{key:"Ctrl-f",run:K,shift:Qe},{key:"Ctrl-p",run:fe,shift:Ie},{key:"Ctrl-n",run:me,shift:je},{key:"Ctrl-a",run:xe,shift:Ge},{key:"Ctrl-e",run:we,shift:Ue},{key:"Ctrl-d",run:ht},{key:"Ctrl-h",run:pt},{key:"Ctrl-k",run:gt},{key:"Ctrl-Alt-h",run:ft},{key:"Ctrl-o",run:yt},{key:"Ctrl-t",run:vt},{key:"Ctrl-v",run:ye}],Rt=[{key:"ArrowLeft",run:J,shift:Pe,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:ne,shift:Be,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:be,shift:We,preventDefault:!0},{key:"ArrowRight",run:K,shift:Qe,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:ie,shift:_e,preventDefault:!0},{mac:"Cmd-ArrowRight",run:Ee,shift:Ye,preventDefault:!0},{key:"ArrowUp",run:fe,shift:Ie,preventDefault:!0},{mac:"Cmd-ArrowUp",run:He,shift:Ke},{mac:"Ctrl-ArrowUp",run:De,shift:Ze},{key:"ArrowDown",run:me,shift:je,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Je,shift:et},{mac:"Ctrl-ArrowDown",run:ye,shift:Ve},{key:"PageUp",run:De,shift:Ze},{key:"PageDown",run:ye,shift:Ve},{key:"Home",run:Ce,shift:ze,preventDefault:!0},{key:"Mod-Home",run:He,shift:Ke},{key:"End",run:Se,shift:qe,preventDefault:!0},{key:"Mod-End",run:Je,shift:et},{key:"Enter",run:kt,shift:kt},{key:"Mod-a",run:tt},{key:"Backspace",run:pt,shift:pt,preventDefault:!0},{key:"Delete",run:ht,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ft,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:mt,preventDefault:!0},{mac:"Mod-Backspace",run:Ot,preventDefault:!0},{mac:"Mod-Delete",run:Dt,preventDefault:!0}].concat(Mt.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),Lt=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:pe,shift:Me},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:he,shift:Re},{key:"Alt-ArrowUp",run:bt},{key:"Shift-Alt-ArrowUp",run:wt},{key:"Alt-ArrowDown",run:Et},{key:"Shift-Alt-ArrowDown",run:At},{key:"Mod-Alt-ArrowUp",run:st},{key:"Mod-Alt-ArrowDown",run:ot},{key:"Escape",run:at},{key:"Mod-Enter",run:Ft},{key:"Alt-l",mac:"Ctrl-l",run:rt},{key:"Mod-i",run:nt,preventDefault:!0},{key:"Mod-[",run:_t},{key:"Mod-]",run:Bt},{key:"Mod-Alt-\\",run:$t},{key:"Shift-Mod-k",run:Tt},{key:"Shift-Mod-\\",run:Te},{key:"Mod-/",run:a},{key:"Alt-A",run:h},{key:"Ctrl-m",mac:"Shift-Alt-m",run:Nt}].concat(Rt),It={key:"Tab",run:Bt,shift:_t};t.addCursorAbove=st,t.addCursorBelow=ot,t.blockComment=d,t.blockUncomment=f,t.copyLineDown=At,t.copyLineUp=wt,t.cursorCharBackward=e=>U(e,!1),t.cursorCharBackwardLogical=e=>te(e,!1),t.cursorCharForward=e=>U(e,!0),t.cursorCharForwardLogical=e=>te(e,!0),t.cursorCharLeft=J,t.cursorCharRight=K,t.cursorDocEnd=Je,t.cursorDocStart=He,t.cursorGroupBackward=e=>re(e,!1),t.cursorGroupForward=e=>re(e,!0),t.cursorGroupForwardWin=e=>Y(e,t=>t.empty?e.moveByChar(t,!0,r=>se(e,t.head,r)):G(t,!0)),t.cursorGroupLeft=ne,t.cursorGroupRight=ie,t.cursorLineBoundaryBackward=Ce,t.cursorLineBoundaryForward=Se,t.cursorLineBoundaryLeft=be,t.cursorLineBoundaryRight=Ee,t.cursorLineDown=me,t.cursorLineEnd=we,t.cursorLineStart=xe,t.cursorLineUp=fe,t.cursorMatchingBracket=Te,t.cursorPageDown=ye,t.cursorPageUp=De,t.cursorSubwordBackward=e=>le(e,!1),t.cursorSubwordForward=e=>le(e,!0),t.cursorSyntaxLeft=pe,t.cursorSyntaxRight=he,t.defaultKeymap=Lt,t.deleteCharBackward=pt,t.deleteCharBackwardStrict=e=>ct(e,!1,!1),t.deleteCharForward=ht,t.deleteGroupBackward=ft,t.deleteGroupForward=mt,t.deleteLine=Tt,t.deleteLineBoundaryBackward=Ot,t.deleteLineBoundaryForward=Dt,t.deleteToLineEnd=gt,t.deleteToLineStart=e=>lt(e,t=>{let r=e.lineBlockAt(t.head).from;return t.head>r?r:Math.max(0,t.head-1)}),t.deleteTrailingWhitespace=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=[];for(let t=0,n="",i=e.doc.iter();;){if(i.next(),i.lineBreak||i.done){let e=n.search(/\s+$/);if(e>-1&&r.push({from:t-(n.length-e),to:t}),i.done)break;n=""}else n=i.value;t+=i.value.length}return!!r.length&&(t(e.update({changes:r,userEvent:"delete"})),!0)},t.emacsStyleKeymap=Mt,t.history=function(e={}){return[E,b.of(e),i.EditorView.domEventHandlers({beforeinput(e,t){let r="historyUndo"==e.inputType?A:"historyRedo"==e.inputType?T:null;return!!r&&(e.preventDefault(),r(t))}})]},t.historyField=x,t.historyKeymap=q,t.indentLess=_t,t.indentMore=Bt,t.indentSelection=$t,t.indentWithTab=It,t.insertBlankLine=Ft,t.insertNewline=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0),t.insertNewlineAndIndent=kt,t.insertNewlineKeepIndent=({state:e,dispatch:t})=>(t(e.update(e.changeByRange(t=>{let r=/^\s*/.exec(e.doc.lineAt(t.from).text)[0];return{changes:{from:t.from,to:t.to,insert:e.lineBreak+r},range:n.EditorSelection.cursor(t.from+r.length+1)}}),{scrollIntoView:!0,userEvent:"input"})),!0),t.insertTab=({state:e,dispatch:t})=>e.selection.ranges.some(e=>!e.empty)?Bt({state:e,dispatch:t}):(t(e.update(e.replaceSelection("\t"),{scrollIntoView:!0,userEvent:"input"})),!0),t.invertedEffects=C,t.isolateHistory=S,t.lineComment=c,t.lineUncomment=p,t.moveLineDown=Et,t.moveLineUp=bt,t.redo=T,t.redoDepth=$,t.redoSelection=F,t.selectAll=tt,t.selectCharBackward=e=>Fe(e,!1),t.selectCharBackwardLogical=e=>ke(e,t=>ee(e.state,t,!1)),t.selectCharForward=e=>Fe(e,!0),t.selectCharForwardLogical=e=>ke(e,t=>ee(e.state,t,!0)),t.selectCharLeft=Pe,t.selectCharRight=Qe,t.selectDocEnd=et,t.selectDocStart=Ke,t.selectGroupBackward=e=>$e(e,!1),t.selectGroupForward=e=>$e(e,!0),t.selectGroupForwardWin=e=>ke(e,t=>e.moveByChar(t,!0,r=>se(e,t.head,r))),t.selectGroupLeft=Be,t.selectGroupRight=_e,t.selectLine=rt,t.selectLineBoundaryBackward=ze,t.selectLineBoundaryForward=qe,t.selectLineBoundaryLeft=We,t.selectLineBoundaryRight=Ye,t.selectLineDown=je,t.selectLineEnd=Ue,t.selectLineStart=Ge,t.selectLineUp=Ie,t.selectMatchingBracket=({state:e,dispatch:t})=>Ae(e,t,!0),t.selectPageDown=Ve,t.selectPageUp=Ze,t.selectParentSyntax=nt,t.selectSubwordBackward=e=>Ne(e,!1),t.selectSubwordForward=e=>Ne(e,!0),t.selectSyntaxLeft=Me,t.selectSyntaxRight=Re,t.simplifySelection=at,t.splitLine=yt,t.standardKeymap=Rt,t.temporarilySetTabFocusMode=e=>(e.setTabFocusMode(2e3),!0),t.toggleBlockComment=h,t.toggleBlockCommentByLine=m,t.toggleComment=a,t.toggleLineComment=u,t.toggleTabFocusMode=Nt,t.transposeChars=vt,t.undo=A,t.undoDepth=Q,t.undoSelection=k},qgMs:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("DBQq"),i=r("Otu7");const s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],o=new n.ContextTracker({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),a=new n.ExternalTokenizer((e,t)=>{let{next:r}=e;(125==r||-1==r||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),l=new n.ExternalTokenizer((e,t)=>{let r,{next:n}=e;s.indexOf(n)>-1||(47!=n||47!=(r=e.peek(1))&&42!=r)&&(125==n||59==n||-1==n||t.context||e.acceptToken(316))},{contextual:!0}),u=new n.ExternalTokenizer((e,t)=>{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),c=new n.ExternalTokenizer((e,t)=>{let{next:r}=e;if(43==r||45==r){if(e.advance(),r==e.next){e.advance();let r=!t.context&&t.canShift(1);e.acceptToken(r?1:2)}}else 63==r&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function p(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}const h=new n.ExternalTokenizer((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return;if(e.advance(),47==e.next)return;let r=0;for(;s.indexOf(e.next)>-1;)e.advance(),r++;if(p(e.next,!0)){for(e.advance(),r++;p(e.next,!1);)e.advance(),r++;for(;s.indexOf(e.next)>-1;)e.advance(),r++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!p(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),r++}}e.acceptToken(4,-r)}),d=i.styleTags({"get set async static":i.tags.modifier,"for while do if else switch try catch finally return throw break continue default case defer":i.tags.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":i.tags.operatorKeyword,"let var const using function class extends":i.tags.definitionKeyword,"import export from":i.tags.moduleKeyword,"with debugger new":i.tags.keyword,TemplateString:i.tags.special(i.tags.string),super:i.tags.atom,BooleanLiteral:i.tags.bool,this:i.tags.self,null:i.tags.null,Star:i.tags.modifier,VariableName:i.tags.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":i.tags.function(i.tags.variableName),VariableDefinition:i.tags.definition(i.tags.variableName),Label:i.tags.labelName,PropertyName:i.tags.propertyName,PrivatePropertyName:i.tags.special(i.tags.propertyName),"CallExpression/MemberExpression/PropertyName":i.tags.function(i.tags.propertyName),"FunctionDeclaration/VariableDefinition":i.tags.function(i.tags.definition(i.tags.variableName)),"ClassDeclaration/VariableDefinition":i.tags.definition(i.tags.className),"NewExpression/VariableName":i.tags.className,PropertyDefinition:i.tags.definition(i.tags.propertyName),PrivatePropertyDefinition:i.tags.definition(i.tags.special(i.tags.propertyName)),UpdateOp:i.tags.updateOperator,"LineComment Hashbang":i.tags.lineComment,BlockComment:i.tags.blockComment,Number:i.tags.number,String:i.tags.string,Escape:i.tags.escape,ArithOp:i.tags.arithmeticOperator,LogicOp:i.tags.logicOperator,BitOp:i.tags.bitwiseOperator,CompareOp:i.tags.compareOperator,RegExp:i.tags.regexp,Equals:i.tags.definitionOperator,Arrow:i.tags.function(i.tags.punctuation),": Spread":i.tags.punctuation,"( )":i.tags.paren,"[ ]":i.tags.squareBracket,"{ }":i.tags.brace,"InterpolationStart InterpolationEnd":i.tags.special(i.tags.brace),".":i.tags.derefOperator,", ;":i.tags.separator,"@":i.tags.meta,TypeName:i.tags.typeName,TypeDefinition:i.tags.definition(i.tags.typeName),"type enum interface implements namespace module declare":i.tags.definitionKeyword,"abstract global Privacy readonly override":i.tags.modifier,"is keyof unique infer asserts":i.tags.operatorKeyword,JSXAttributeValue:i.tags.attributeValue,JSXText:i.tags.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":i.tags.angleBracket,"JSXIdentifier JSXNameSpacedName":i.tags.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":i.tags.attributeName,"JSXBuiltin/JSXIdentifier":i.tags.standard(i.tags.tagName)}),f={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},m={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},g={__proto__:null,"<":193},O=n.LRParser.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#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TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m'X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-['X+[T.O(T.TV'^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:o,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[d],skipp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j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>f[e]||-1},{term:343,get:e=>m[e]||-1},{term:95,get:e=>g[e]||-1}],tokenPrec:15201});t.parser=O},v4nf:(e,t,r)=>{"use strict";var n=r("DCQ6"),i=r("bgcN"),s=r("UV+R");const o="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class a{constructor(e,t,r=0,n=e.length,i,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,n),this.bufferStart=r,this.normalize=i?e=>i(o(e)):o,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return i.codePointAt(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=i.fromCodePoint(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=i.codePointSize(e);let n=this.normalize(t);if(n.length)for(let e=0,i=r;;e++){let s=n.charCodeAt(e),o=this.match(s,i,this.bufferPos+this.bufferStart);if(e==n.length-1){if(o)return this.value=o,this;break}i==r&&e<t.length&&t.charCodeAt(e)==s&&i++}}}match(e,t,r){let n=null;for(let t=0;t<this.matches.length;t+=2){let i=this.matches[t],s=!1;this.query.charCodeAt(i)==e&&(i==this.query.length-1?n={from:this.matches[t+1],to:r}:(this.matches[t]++,s=!0)),s||(this.matches.splice(t,2),t-=2)}return this.query.charCodeAt(0)==e&&(1==this.query.length?n={from:t,to:r}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferStart)&&(n=null),n}}"undefined"!=typeof Symbol&&(a.prototype[Symbol.iterator]=function(){return this});const l={from:-1,to:-1,match:/.*/.exec("")},u="gm"+(null==/x/.unicode?"":"u");class c{constructor(e,t,r,n=0,i=e.length){if(this.text=e,this.to=i,this.curLine="",this.done=!1,this.value=l,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new d(e,t,r,n,i);this.re=new RegExp(t,u+((null==r?void 0:r.ignoreCase)?"i":"")),this.test=null==r?void 0:r.test,this.iter=e.iter();let s=e.lineAt(n);this.curLineStart=s.from,this.matchPos=f(e,n),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let r=this.curLineStart+t.index,n=r+t[0].length;if(this.matchPos=f(this.text,n+(r==n?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(r<n||r>this.value.to)&&(!this.test||this.test(r,n,t)))return this.value={from:r,to:n,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}const p=new WeakMap;class h{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,r){let n=p.get(e);if(!n||n.from>=r||n.to<=t){let n=new h(t,e.sliceString(t,r));return p.set(e,n),n}if(n.from==t&&n.to==r)return n;let{text:i,from:s}=n;return s>t&&(i=e.sliceString(t,s)+i,s=t),n.to<r&&(i+=e.sliceString(n.to,r)),p.set(e,new h(s,i)),new h(t,i.slice(t-s,r-s))}}class d{constructor(e,t,r,n,i){this.text=e,this.to=i,this.done=!1,this.value=l,this.matchPos=f(e,n),this.re=new RegExp(t,u+((null==r?void 0:r.ignoreCase)?"i":"")),this.test=null==r?void 0:r.test,this.flat=h.get(e,n,this.chunkEnd(n+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,r=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,r,t)))return this.value={from:e,to:r,match:t},this.matchPos=f(this.text,r+(e==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=h.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function f(e,t){if(t>=e.length)return t;let r,n=e.lineAt(t);for(;t<n.to&&(r=n.text.charCodeAt(t-n.from))>=56320&&r<57344;)t++;return t}function m(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number),r=s("input",{class:"cm-textfield",name:"line",value:t});function o(){let t=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(r.value);if(!t)return;let{state:s}=e,o=s.doc.lineAt(s.selection.main.head),[,a,l,u,c]=t,p=u?+u.slice(1):0,h=l?+l:o.number;if(l&&c){let e=h/100;a&&(e=e*("-"==a?-1:1)+o.number/s.doc.lines),h=Math.round(s.doc.lines*e)}else l&&a&&(h=h*("-"==a?-1:1)+o.number);let d=s.doc.line(Math.max(1,Math.min(s.doc.lines,h))),f=i.EditorSelection.cursor(d.from+Math.max(0,Math.min(p,d.length)));e.dispatch({effects:[g.of(!1),n.EditorView.scrollIntoView(f.from,{y:"center"})],selection:f}),e.focus()}return{dom:s("form",{class:"cm-gotoLine",onkeydown:t=>{27==t.keyCode?(t.preventDefault(),e.dispatch({effects:g.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),o())},onsubmit:e=>{e.preventDefault(),o()}},s("label",e.state.phrase("Go to line"),": ",r)," ",s("button",{class:"cm-button",type:"submit"},e.state.phrase("go")),s("button",{name:"close",onclick:()=>{e.dispatch({effects:g.of(!1)}),e.focus()},"aria-label":e.state.phrase("close"),type:"button"},["×"]))}}"undefined"!=typeof Symbol&&(c.prototype[Symbol.iterator]=d.prototype[Symbol.iterator]=function(){return this});const g=i.StateEffect.define(),O=i.StateField.define({create:()=>!0,update(e,t){for(let r of t.effects)r.is(g)&&(e=r.value);return e},provide:e=>n.showPanel.from(e,e=>e?m:null)}),D=e=>{let t=n.getPanel(e,m);if(!t){let r=[g.of(!0)];null==e.state.field(O,!1)&&r.push(i.StateEffect.appendConfig.of([O,y])),e.dispatch({effects:r}),t=n.getPanel(e,m)}return t&&t.dom.querySelector("input").select(),!0},y=n.EditorView.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px",position:"relative","& label":{fontSize:"80%"},"& [name=close]":{position:"absolute",top:"0",bottom:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:"0"}}}),v={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},S=i.Facet.define({combine:e=>i.combineConfig(e,v,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),C=n.Decoration.mark({class:"cm-selectionMatch"}),b=n.Decoration.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function E(e,t,r,n){return!(0!=r&&e(t.sliceDoc(r-1,r))==i.CharCategory.Word||n!=t.doc.length&&e(t.sliceDoc(n,n+1))==i.CharCategory.Word)}function x(e,t,r,n){return e(t.sliceDoc(r,r+1))==i.CharCategory.Word&&e(t.sliceDoc(n-1,n))==i.CharCategory.Word}const w=n.ViewPlugin.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(S),{state:r}=e,i=r.selection;if(i.ranges.length>1)return n.Decoration.none;let s,o=i.main,l=null;if(o.empty){if(!t.highlightWordAroundCursor)return n.Decoration.none;let e=r.wordAt(o.head);if(!e)return n.Decoration.none;l=r.charCategorizer(o.head),s=r.sliceDoc(e.from,e.to)}else{let e=o.to-o.from;if(e<t.minSelectionLength||e>200)return n.Decoration.none;if(t.wholeWords){if(s=r.sliceDoc(o.from,o.to),l=r.charCategorizer(o.head),!E(l,r,o.from,o.to)||!x(l,r,o.from,o.to))return n.Decoration.none}else if(s=r.sliceDoc(o.from,o.to),!s)return n.Decoration.none}let u=[];for(let i of e.visibleRanges){let e=new a(r.doc,s,i.from,i.to);for(;!e.next().done;){let{from:i,to:s}=e.value;if((!l||E(l,r,i,s))&&(o.empty&&i<=o.from&&s>=o.to?u.push(b.range(i,s)):(i>=o.to||s<=o.from)&&u.push(C.range(i,s)),u.length>t.maxMatches))return n.Decoration.none}}return n.Decoration.set(u)}},{decorations:e=>e.decorations}),A=n.EditorView.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),T=({state:e,dispatch:t})=>{let{ranges:r}=e.selection;if(r.some(e=>e.from===e.to))return(({state:e,dispatch:t})=>{let{selection:r}=e,n=i.EditorSelection.create(r.ranges.map(t=>e.wordAt(t.head)||i.EditorSelection.cursor(t.head)),r.mainIndex);return!n.eq(r)&&(t(e.update({selection:n})),!0)})({state:e,dispatch:t});let s=e.sliceDoc(r[0].from,r[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=s))return!1;let o=function(e,t){let{main:r,ranges:n}=e.selection,i=e.wordAt(r.head),s=i&&i.from==r.from&&i.to==r.to;for(let r=!1,i=new a(e.doc,t,n[n.length-1].to);;){if(i.next(),!i.done){if(r&&n.some(e=>e.from==i.value.from))continue;if(s){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}if(r)return null;i=new a(e.doc,t,0,Math.max(0,n[n.length-1].from-1)),r=!0}}(e,s);return!!o&&(t(e.update({selection:e.selection.addRange(i.EditorSelection.range(o.from,o.to),!1),effects:n.EditorView.scrollIntoView(o.to)})),!0)},k=i.Facet.define({combine:e=>i.combineConfig(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new ae(e),scrollToMatch:e=>n.EditorView.scrollIntoView(e)})});class F{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,u),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new L(this):new B(this)}getCursor(e,t=0,r){let n=e.doc?e:i.EditorState.create({doc:e});return null==r&&(r=n.doc.length),this.regexp?_(this,n,t,r):Q(this,n,t,r)}}class P{constructor(e){this.spec=e}}function Q(e,t,r,n){return new a(t.doc,e.unquoted,r,n,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?$(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function $(e,t){return(r,n,s,o)=>((o>r||o+s.length<n)&&(o=Math.max(0,r-2),s=e.sliceString(o,Math.min(e.length,n+2))),!(t(N(s,r-o))==i.CharCategory.Word&&t(M(s,r-o))==i.CharCategory.Word||t(M(s,n-o))==i.CharCategory.Word&&t(N(s,n-o))==i.CharCategory.Word))}class B extends P{constructor(e){super(e)}nextMatch(e,t,r){let n=Q(this.spec,e,r,e.doc.length).nextOverlapping();if(n.done){let r=Math.min(e.doc.length,t+this.spec.unquoted.length);n=Q(this.spec,e,0,r).nextOverlapping()}return n.done||n.value.from==t&&n.value.to==r?null:n.value}prevMatchInRange(e,t,r){for(let n=r;;){let r=Math.max(t,n-1e4-this.spec.unquoted.length),i=Q(this.spec,e,r,n),s=null;for(;!i.nextOverlapping().done;)s=i.value;if(s)return s;if(r==t)return null;n-=1e4}}prevMatch(e,t,r){let n=this.prevMatchInRange(e,0,t);return n||(n=this.prevMatchInRange(e,Math.max(0,r-this.spec.unquoted.length),e.doc.length)),!n||n.from==t&&n.to==r?null:n}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let r=Q(this.spec,e,0,e.doc.length),n=[];for(;!r.next().done;){if(n.length>=t)return null;n.push(r.value)}return n}highlight(e,t,r,n){let i=Q(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)n(i.value.from,i.value.to)}}function _(e,t,r,n){return new c(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?R(t.charCategorizer(t.selection.main.head)):void 0},r,n)}function N(e,t){return e.slice(i.findClusterBreak(e,t,!1),t)}function M(e,t){return e.slice(t,i.findClusterBreak(e,t))}function R(e){return(t,r,n)=>!n[0].length||(e(N(n.input,n.index))!=i.CharCategory.Word||e(M(n.input,n.index))!=i.CharCategory.Word)&&(e(M(n.input,n.index+n[0].length))!=i.CharCategory.Word||e(N(n.input,n.index+n[0].length))!=i.CharCategory.Word)}class L extends P{nextMatch(e,t,r){let n=_(this.spec,e,r,e.doc.length).next();return n.done&&(n=_(this.spec,e,0,t).next()),n.done?null:n.value}prevMatchInRange(e,t,r){for(let n=1;;n++){let i=Math.max(t,r-1e4*n),s=_(this.spec,e,i,r),o=null;for(;!s.next().done;)o=s.value;if(o&&(i==t||o.from>i+10))return o;if(i==t)return null}}prevMatch(e,t,r){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,r)=>{if("&"==r)return e.match[0];if("$"==r)return"$";for(let t=r.length;t>0;t--){let n=+r.slice(0,t);if(n>0&&n<e.match.length)return e.match[n]+r.slice(t)}return t})}matchAll(e,t){let r=_(this.spec,e,0,e.doc.length),n=[];for(;!r.next().done;){if(n.length>=t)return null;n.push(r.value)}return n}highlight(e,t,r,n){let i=_(this.spec,e,Math.max(0,t-250),Math.min(r+250,e.doc.length));for(;!i.next().done;)n(i.value.from,i.value.to)}}const I=i.StateEffect.define(),j=i.StateEffect.define(),X=i.StateField.define({create:e=>new Z(te(e).create(),null),update(e,t){for(let r of t.effects)r.is(I)?e=new Z(r.value.create(),e.panel):r.is(j)&&(e=new Z(e.query,r.value?ee:null));return e},provide:e=>n.showPanel.from(e,e=>e.panel)});class Z{constructor(e,t){this.query=e,this.panel=t}}const V=n.Decoration.mark({class:"cm-searchMatch"}),q=n.Decoration.mark({class:"cm-searchMatch cm-searchMatch-selected"}),z=n.ViewPlugin.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(X))}update(e){let t=e.state.field(X);(t!=e.startState.field(X)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return n.Decoration.none;let{view:r}=this,s=new i.RangeSetBuilder;for(let t=0,n=r.visibleRanges,i=n.length;t<i;t++){let{from:o,to:a}=n[t];for(;t<i-1&&a>n[t+1].from-500;)a=n[++t].to;e.highlight(r.state,o,a,(e,t)=>{let n=r.state.selection.ranges.some(r=>r.from==e&&r.to==t);s.add(e,t,n?q:V)})}return s.finish()}},{decorations:e=>e.decorations});function W(e){return t=>{let r=t.state.field(X,!1);return r&&r.query.spec.valid?e(t,r):ie(t)}}const Y=W((e,{query:t})=>{let{to:r}=e.state.selection.main,n=t.nextMatch(e.state,r,r);if(!n)return!1;let s=i.EditorSelection.single(n.from,n.to),o=e.state.facet(k);return e.dispatch({selection:s,effects:[pe(e,n),o.scrollToMatch(s.main,e)],userEvent:"select.search"}),ne(e),!0}),G=W((e,{query:t})=>{let{state:r}=e,{from:n}=r.selection.main,s=t.prevMatch(r,n,n);if(!s)return!1;let o=i.EditorSelection.single(s.from,s.to),a=e.state.facet(k);return e.dispatch({selection:o,effects:[pe(e,s),a.scrollToMatch(o.main,e)],userEvent:"select.search"}),ne(e),!0}),U=W((e,{query:t})=>{let r=t.matchAll(e.state,1e3);return!(!r||!r.length||(e.dispatch({selection:i.EditorSelection.create(r.map(e=>i.EditorSelection.range(e.from,e.to))),userEvent:"select.search.matches"}),0))}),H=({state:e,dispatch:t})=>{let r=e.selection;if(r.ranges.length>1||r.main.empty)return!1;let{from:n,to:s}=r.main,o=[],l=0;for(let t=new a(e.doc,e.sliceDoc(n,s));!t.next().done;){if(o.length>1e3)return!1;t.value.from==n&&(l=o.length),o.push(i.EditorSelection.range(t.value.from,t.value.to))}return t(e.update({selection:i.EditorSelection.create(o,l),userEvent:"select.search.matches"})),!0},J=W((e,{query:t})=>{let{state:r}=e,{from:s,to:o}=r.selection.main;if(r.readOnly)return!1;let a=t.nextMatch(r,s,s);if(!a)return!1;let l,u,c=a,p=[],h=[];c.from==s&&c.to==o&&(u=r.toText(t.getReplacement(c)),p.push({from:c.from,to:c.to,insert:u}),c=t.nextMatch(r,c.from,c.to),h.push(n.EditorView.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(s).number)+".")));let d=e.state.changes(p);return c&&(l=i.EditorSelection.single(c.from,c.to).map(d),h.push(pe(e,c)),h.push(r.facet(k).scrollToMatch(l.main,e))),e.dispatch({changes:d,selection:l,effects:h,userEvent:"input.replace"}),!0}),K=W((e,{query:t})=>{if(e.state.readOnly)return!1;let r=t.matchAll(e.state,1e9).map(e=>{let{from:r,to:n}=e;return{from:r,to:n,insert:t.getReplacement(e)}});if(!r.length)return!1;let i=e.state.phrase("replaced $ matches",r.length)+".";return e.dispatch({changes:r,effects:n.EditorView.announce.of(i),userEvent:"input.replace.all"}),!0});function ee(e){return e.state.facet(k).createPanel(e)}function te(e,t){var r,n,i,s,o;let a=e.selection.main,l=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!l)return t;let u=e.facet(k);return new F({search:(null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:u.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(n=null==t?void 0:t.caseSensitive)&&void 0!==n?n:u.caseSensitive,literal:null!==(i=null==t?void 0:t.literal)&&void 0!==i?i:u.literal,regexp:null!==(s=null==t?void 0:t.regexp)&&void 0!==s?s:u.regexp,wholeWord:null!==(o=null==t?void 0:t.wholeWord)&&void 0!==o?o:u.wholeWord})}function re(e){let t=n.getPanel(e,ee);return t&&t.dom.querySelector("[main-field]")}function ne(e){let t=re(e);t&&t==e.root.activeElement&&t.select()}const ie=e=>{let t=e.state.field(X,!1);if(t&&t.panel){let r=re(e);if(r&&r!=e.root.activeElement){let n=te(e.state,t.query.spec);n.valid&&e.dispatch({effects:I.of(n)}),r.focus(),r.select()}}else e.dispatch({effects:[j.of(!0),t?I.of(te(e.state,t.query.spec)):i.StateEffect.appendConfig.of(de)]});return!0},se=e=>{let t=e.state.field(X,!1);if(!t||!t.panel)return!1;let r=n.getPanel(e,ee);return r&&r.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:j.of(!1)}),!0},oe=[{key:"Mod-f",run:ie,scope:"editor search-panel"},{key:"F3",run:Y,shift:G,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Y,shift:G,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:se,scope:"editor search-panel"},{key:"Mod-Shift-l",run:H},{key:"Mod-Alt-g",run:D},{key:"Mod-d",run:T,preventDefault:!0}];class ae{constructor(e){this.view=e;let t=this.query=e.state.field(X).query.spec;function r(e,t,r){return s("button",{class:"cm-button",name:e,onclick:t,type:"button"},r)}this.commit=this.commit.bind(this),this.searchField=s("input",{value:t.search,placeholder:le(e,"Find"),"aria-label":le(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=s("input",{value:t.replace,placeholder:le(e,"Replace"),"aria-label":le(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=s("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=s("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=s("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=s("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,r("next",()=>Y(e),[le(e,"next")]),r("prev",()=>G(e),[le(e,"previous")]),r("select",()=>U(e),[le(e,"all")]),s("label",null,[this.caseField,le(e,"match case")]),s("label",null,[this.reField,le(e,"regexp")]),s("label",null,[this.wordField,le(e,"by word")]),...e.state.readOnly?[]:[s("br"),this.replaceField,r("replace",()=>J(e),[le(e,"replace")]),r("replaceAll",()=>K(e),[le(e,"replace all")])],s("button",{name:"close",onclick:()=>se(e),"aria-label":le(e,"close"),type:"button"},["×"])])}commit(){let e=new F({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:I.of(e)}))}keydown(e){n.runScopeHandlers(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?G:Y)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),J(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(I)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(k).top}}function le(e,t){return e.state.phrase(t)}const ue=30,ce=/[\s\.,:;?!]/;function pe(e,{from:t,to:r}){let i=e.state.doc.lineAt(t),s=e.state.doc.lineAt(r).to,o=Math.max(i.from,t-ue),a=Math.min(s,r+ue),l=e.state.sliceDoc(o,a);if(o!=i.from)for(let e=0;e<ue;e++)if(!ce.test(l[e+1])&&ce.test(l[e])){l=l.slice(e);break}if(a!=s)for(let e=l.length-1;e>l.length-ue;e--)if(!ce.test(l[e-1])&&ce.test(l[e])){l=l.slice(0,e);break}return n.EditorView.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${i.number}.`)}const he=n.EditorView.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),de=[X,i.Prec.low(z),he];t.RegExpCursor=c,t.SearchCursor=a,t.SearchQuery=F,t.closeSearchPanel=se,t.findNext=Y,t.findPrevious=G,t.getSearchQuery=function(e){let t=e.field(X,!1);return t?t.query.spec:te(e)},t.gotoLine=D,t.highlightSelectionMatches=function(e){let t=[A,w];return e&&t.push(S.of(e)),t},t.openSearchPanel=ie,t.replaceAll=K,t.replaceNext=J,t.search=function(e){return e?[k.of(e),de]:de},t.searchKeymap=oe,t.searchPanelOpen=function(e){var t;return null!=(null===(t=e.field(X,!1))||void 0===t?void 0:t.panel)},t.selectMatches=U,t.selectNextOccurrence=T,t.selectSelectionMatches=H,t.setSearchQuery=I}}]);