(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"01d0":function(e,t){var n=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return i[this.type]||i.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(e){var t=r[e];Object.defineProperty(n,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},"02cc":function(e,t,n){t=e.exports=n("53a3"),t.version=n("205b").version},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"03d6":function(e,t,n){var r=n("9c0e"),i=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},"051a":function(e,t,n){var r=s(n("64b2")),i=l(r);t.XML=d(r,i);var o=s(n("f0f2")),a=l(o);function s(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function l(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=d(o,a);var u=/[^\0-\x7F]/g,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function h(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=1024*(t-55296)+n-56320+65536;return"&#x"+r.toString(16).toUpperCase()+";"}function d(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(c,p).replace(u,h)}}var f=l(r);function m(e){return e.replace(f,h).replace(c,p).replace(u,h)}t.escape=m},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),l=n("9fbb"),u=Object.assign;e.exports=!u||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){var n=s(e),u=arguments.length,c=1,h=o.f,p=a.f;while(u>c){var d,f=l(arguments[c++]),m=h?i(f).concat(h(f)):i(f),g=m.length,v=0;while(g>v)d=m[v++],r&&!p.call(f,d)||(n[d]=f[d])}return n}:u},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"0a06":function(e,t,n){"use strict";var r=n("c532"),i=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b");function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}})),e.exports=l},"0ae2":function(e,t,n){var r=n("9876"),i=n("fed5"),o=n("1917");e.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0bfb":function(e,t,n){var r,i,o,a,s=!1,l=!1,u=n("115b")("parse"),c=n("c415");function h(e,t){var n,s;t||(t={}),r=!!t.comments,o=!!t.position,i=0,a=Array.isArray(e)?e.slice():c(e);var h,p=[];l&&(n=Date.now());while(h=d())s=x(h),s&&p.push(s);return l&&u("ran in",Date.now()-n+"ms"),{type:"stylesheet",stylesheet:{rules:p}}}function p(e,t){var n;t||(t={});for(var r=["type","name","value"],i={},a=0;a-1}function Xe(e,t){var n=this.__data__,r=dt(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function Je(e){var t=-1,n=e?e.length:0;this.clear();while(++tu))return!1;var h=o.get(e);if(h&&o.get(t))return h==t;var p=-1,d=!0,f=i&a?new rt:void 0;o.set(e,t),o.set(t,e);while(++p-1&&e%1==0&&e-1&&e%1==0&&e<=u}function cn(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function hn(e){return!!e&&"object"==typeof e}function pn(e){return"symbol"==typeof e||hn(e)&&ye.call(e)==_}var dn=ee?oe(ee):kt;function fn(e){return null==e?"":Ot(e)}function mn(e,t,n){var r=null==e?void 0:yt(e,t);return void 0===r?n:r}function gn(e,t){return null!=e&&zt(e,t,Dt)}function vn(e){return an(e)?pt(e):St(e)}function yn(e){return e}function bn(e){return Ht(e)?re(Jt(e)):Tt(e)}n.exports=Qt}).call(this,n("c8ba"),n("62e4")(e))},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0f7c":function(e,t,n){},"0f94":function(e,t,n){var r=e.exports;[n("68b4"),n("26f9"),n("7a39"),n("733c"),n("9f20"),n("f67e")].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},"0fae":function(e,t,n){},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=l(r),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111b":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})((function(e){"use strict";var t={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};e.registerHelper("hint","css",(function(n){var r=n.getCursor(),i=n.getTokenAt(r),o=e.innerMode(n.getMode(),i.state);if("css"==o.mode.name){if("keyword"==i.type&&0=="!important".indexOf(i.string))return{list:["!important"],from:e.Pos(r.line,i.start),to:e.Pos(r.line,i.end)};var a=i.start,s=r.ch,l=i.string.slice(0,s-a);/[^\w$_-]/.test(l)&&(l="",a=s=r.ch);var u=e.resolveMode("text/css"),c=[],h=o.state.state;return"pseudo"==h||"variable-3"==i.type?p(t):"block"==h||"maybeprop"==h?p(u.propertyKeywords):"prop"==h||"parens"==h||"at"==h||"params"==h?(p(u.valueKeywords),p(u.colorKeywords)):"media"!=h&&"media_parens"!=h||(p(u.mediaTypes),p(u.mediaFeatures)),c.length?{list:c,from:e.Pos(r.line,a),to:e.Pos(r.line,s)}:void 0}function p(e){for(var t in e)l&&0!=t.lastIndexOf(l,0)||c.push(t)}}))}))},"115b":function(e,t,n){(function(t){function n(e){return r.bind(null,e)}function r(e){var n=[].slice.call(arguments,1);n.unshift("["+e+"]"),t.stderr.write(n.join(" ")+"\n")}e.exports=n}).call(this,n("4362"))},1276:function(e,t,n){"use strict";var r=n("d784"),i=n("44e7"),o=n("825a"),a=n("1d80"),s=n("4840"),l=n("8aa5"),u=n("50c4"),c=n("14c3"),h=n("9263"),p=n("d039"),d=[].push,f=Math.min,m=4294967295,g=!p((function(){return!RegExp(m,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),o=void 0===n?m:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);var s,l,u,c=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,g=new RegExp(e.source,p+"g");while(s=h.call(g,r)){if(l=g.lastIndex,l>f&&(c.push(r.slice(f,s.index)),s.length>1&&s.index=o))break;g.lastIndex===s.index&&g.lastIndex++}return f===r.length?!u&&g.test("")||c.push(""):c.push(r.slice(f)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var h=o(e),p=String(this),d=s(h,RegExp),v=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(g?"y":"g"),b=new d(g?h:"^(?:"+h.source+")",y),D=void 0===i?m:i>>>0;if(0===D)return[];if(0===p.length)return null===c(b,p)?[p]:[];var x=0,w=0,C=[];while(w1?n[i-1]:void 0,a=i>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&w(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);while(++r-1&&e%1==0&&e-1&&e%1==0&&e<=n}function N(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function L(e){return!!e&&"object"==typeof e}var P=D((function(e,t,n,r){b(t,B(t),e,r)})),j=y((function(e){return e.push(void 0,m),s(P,void 0,e)}));function B(e){return A(e)?f(e,!0):v(e)}e.exports=j},"14c3":function(e,t,n){var r=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var r=n(16),i=n(39),o=n.n(i),a=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function u(e){var t=e.move,n=e.size,r=e.bar,i={},o="translate"+r.axis+"("+t+"%)";return i[r.size]=n,i.transform=o,i.msTransform=o,i.webkitTransform=o,i}var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,r=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+r.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:u({size:t,move:n,bar:r})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,r=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(s["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),r=this.$refs.thumb[this.bar.offset]-t,i=100*(n-r)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},h={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var r="-"+t+"px",i="margin-bottom: "+r+"; margin-right: "+r+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=r):"string"===typeof this.wrapStyle?n+=i:n=i}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),u=void 0;return u=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},u)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(r["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(r["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(h.name,h)}};t["default"]=h},16:function(e,t){e.exports=n("4010")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},39:function(e,t){e.exports=n("e62d")}})},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(c){u.forEach=o}}},1609:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=n("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},1880:function(e,t,n){var r=n("4d1e"),i=n("e282"),o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};function a(e,t){if(e){var n,r="";for(var o in e)n=e[o],r&&(r+=" "),r+=o,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n)+'"');return r}}var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",i=0;i",e.children&&(n+=l(e.children,t)),s[e.name]&&!t.xmlMode||(n+="")):n+="/>",n}function c(e){return"<"+e.data+">"}function h(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in o||(n=i.encodeXML(n)),n}function p(e){return""}function d(e){return"\x3c!--"+e.data+"--\x3e"}},"18a5":function(e,t,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("anchor")},{anchor:function(e){return i(this,"a","name",e)}})},1917:function(e,t){t.f={}.propertyIsEnumerable},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=p,t.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function h(e,t,n){return 3*(t+n)/4-n}function p(e){var t,n,r=u(e),a=r[0],s=r[1],l=new o(h(e,a,s)),c=0,p=s>0?a-4:a;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function f(e,t,n){for(var r,i=[],o=t;ol?l:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2015:function(e,t,n){e.exports=a;var r=n("99e4"),i=r.trueFunc,o=r.falseFunc;function a(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return o;if(-1===t)return function(e){return e<=n};if(0===t)return function(e){return e===n};if(1===t)return n<0?i:function(e){return e>=n};var r=n%t;return r<0&&(r+=t),t>1?function(e){return e>=n&&e%t===r}:(t*=-1,function(e){return e<=n&&e%t===r})}},"205b":function(e){e.exports=JSON.parse('{"_from":"cheerio@^0.22.0","_id":"cheerio@0.22.0","_inBundle":false,"_integrity":"sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=","_location":"/cheerio","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"cheerio@^0.22.0","name":"cheerio","escapedName":"cheerio","rawSpec":"^0.22.0","saveSpec":null,"fetchSpec":"^0.22.0"},"_requiredBy":["/juice"],"_resolved":"https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz","_shasum":"a9baa860a3f9b595a6b81b1a86873121ed3a269e","_spec":"cheerio@^0.22.0","_where":"/home/runner/work/md/md/node_modules/juice","author":{"name":"Matt Mueller","email":"mattmuelle@gmail.com","url":"mat.io"},"bugs":{"url":"https://github.com/cheeriojs/cheerio/issues"},"bundleDependencies":false,"dependencies":{"css-select":"~1.2.0","dom-serializer":"~0.1.0","entities":"~1.1.1","htmlparser2":"^3.9.1","lodash.assignin":"^4.0.9","lodash.bind":"^4.1.4","lodash.defaults":"^4.0.1","lodash.filter":"^4.4.0","lodash.flatten":"^4.2.0","lodash.foreach":"^4.3.0","lodash.map":"^4.4.0","lodash.merge":"^4.4.0","lodash.pick":"^4.2.1","lodash.reduce":"^4.4.0","lodash.reject":"^4.4.0","lodash.some":"^4.4.0"},"deprecated":false,"description":"Tiny, fast, and elegant implementation of core jQuery designed specifically for the server","devDependencies":{"benchmark":"^2.1.0","coveralls":"^2.11.9","expect.js":"~0.3.1","istanbul":"^0.4.3","jquery":"^3.0.0","jsdom":"^9.2.1","jshint":"^2.9.2","mocha":"^2.5.3","xyz":"~0.5.0"},"engines":{"node":">= 0.6"},"files":["index.js","lib"],"homepage":"https://github.com/cheeriojs/cheerio#readme","keywords":["htmlparser","jquery","selector","scraper","parser","html"],"license":"MIT","main":"./index.js","name":"cheerio","repository":{"type":"git","url":"git://github.com/cheeriojs/cheerio.git"},"scripts":{"test":"make test"},"version":"0.22.0"}')},2266:function(e,t,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),a=n("0366"),s=n("35a1"),l=n("9bdd"),u=function(e,t){this.stopped=e,this.result=t},c=e.exports=function(e,t,n,c,h){var p,d,f,m,g,v,y,b=a(t,n,c?2:1);if(h)p=e;else{if(d=s(e),"function"!=typeof d)throw TypeError("Target is not iterable");if(i(d)){for(f=0,m=o(e.length);m>f;f++)if(g=c?b(r(y=e[f])[0],y[1]):b(e[f]),g&&g instanceof u)return g;return new u(!1)}p=d.call(e)}v=p.next;while(!(y=v.call(p)).done)if(g=l(p,b,y.value,c),"object"==typeof g&&g&&g instanceof u)return g;return new u(!1)};c.stop=function(e){return new u(!0,e)}},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");e.exports=function(e,t){var n,c,h,p,d,f,m=e.target,g=e.global,v=e.stat;if(c=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,c)for(h in t){if(d=t[h],e.noTargetGet?(f=i(c,h),p=f&&f.value):p=c[h],n=u(g?h:m+(v?".":"#")+h,e.forced),!n&&void 0!==p){if(typeof d===typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&o(d,"sham",!0),a(c,h,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var l={adapter:s(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(o)})),e.exports=l}).call(this,n("4362"))},2562:function(e,t,n){"use strict";var r=/([-.*+?^${}()|[\]\/\\])/g,i=/\\/g,o=function(e){return(e+"").replace(r,"\\$1")},a=function(e){return(e+"").replace(i,"")},s=RegExp("^(?:\\s*(,)\\s*|\\s*(+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(//,"["+o(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),l=function(e){this.combinator=e||" ",this.tag="*"};l.prototype.toString=function(){if(!this.raw){var e,t,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(e=0;t=this.attributes[e++];)n+="["+t.name+(t.operator?t.operator+'"'+t.value+'"':"")+"]";if(this.pseudos)for(e=0;t=this.pseudos[e++];)n+=":"+t.name,t.value&&(n+="("+t.value+")");this.raw=n}return this.raw};var u=function(){this.length=0};u.prototype.toString=function(){if(!this.raw){for(var e,t="",n=0;e=this[n++];)1!==n&&(t+=" ")," "!==e.combinator&&(t+=e.combinator+" "),t+=e;this.raw=t}return this.raw};var c=function(e,t,n,r,i,s,c,h,p,d,f,m,g,v,y,b){var D,x;if((t||!this.length)&&(D=this[this.length++]=new u,t))return"";if(D||(D=this[this.length-1]),(n||r||!D.length)&&(x=D[D.length++]=new l(n)),x||(x=D[D.length-1]),i)x.tag=a(i);else if(s)x.id=a(s);else if(c){var w=a(c),C=x.classes||(x.classes={});if(!C[w]){C[w]=o(c);var _=x.classList||(x.classList=[]);_.push(w),_.sort()}}else g?(b=b||y,(x.pseudos||(x.pseudos=[])).push({type:1==m.length?"class":"element",name:a(g),escapedName:o(g),value:b?a(b):null,escapedValue:b?o(b):null})):h&&(f=f?o(f):null,(x.attributes||(x.attributes=[])).push({operator:p,name:a(h),escapedName:o(h),value:f?a(f):null,escapedValue:f?o(f):null}));return""},h=function(e){this.length=0;var t,n=this,r=e;while(e){if(t=e.replace(s,(function(){return c.apply(n,arguments)})),t===e)throw new Error(r+" is an invalid expression");e=t}};h.prototype.toString=function(){if(!this.raw){for(var e,t=[],n=0;e=this[n++];)t.push(e);this.raw=t.join(", ")}return this.raw};var p={},d=function(e){return null==e?null:(e=(""+e).replace(/^\s+|\s+$/g,""),p[e]||(p[e]=new h(e)))};e.exports=d},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"26dd":function(e,t,n){"use strict";var r=n("6f4f"),i=n("10db"),o=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"26f9":function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},"27b0":function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"299c":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=131)}({131:function(e,t,n){"use strict";n.r(t);var r=n(5),i=n.n(r),o=n(17),a=n.n(o),s=n(2),l=n(3),u=n(7),c=n.n(u),h={name:"ElTooltip",mixins:[i.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var r=n.data=n.data||{};return r.staticClass=this.addTooltipClass(r.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;nl&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ /*! * Vue.js v2.6.12 * (c) 2014-2020 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function c(e){return"[object Object]"===u.call(e)}function h(e){return"[object RegExp]"===u.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function D(e,t){return b.call(e,t)}function x(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var w=/-(\w)/g,C=x((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),_=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,E=x((function(e){return e.replace(k,"-$1").toLowerCase()}));function S(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function A(e,t){return e.bind(t)}var F=Function.prototype.bind?A:S;function T(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),oe={}.watch,ae=!1;if(X)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(Ca){}var le=function(){return void 0===Y&&(Y=!X&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),Y},ue=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var he,pe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);he="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=L,fe=0,me=function(){this.id=fe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!D(i,"default"))a=!1;else if(""===a||a===E(e)){var l=et(String,i.type);(l<0||s0&&(a=St(a,(t||"")+"_"+n),Et(a[0])&&Et(u)&&(c[l]=we(u.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?Et(u)?c[l]=we(u.text+a):""!==a&&c.push(we(a)):Et(a)&&Et(u)?c[l]=we(u.text+a.text):(o(e._isVList)&&i(a.tag)&&r(a.key)&&i(t)&&(a.key="__vlist"+t+"_"+n+"__"),c.push(a)));return c}function At(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Ft(e){var t=Tt(e.$options.inject,e);t&&(Fe(!1),Object.keys(t).forEach((function(n){Pe(e,n,t[n])})),Fe(!0))}function Tt(e,t){if(e){for(var n=Object.create(null),r=pe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=Pt(t,l,e[l]))}else i={};for(var u in t)u in i||(i[u]=jt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),W(i,"$stable",a),W(i,"$key",s),W(i,"$hasNormal",o),i}function Pt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:kt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function jt(e,t){return function(){return e[t]}}function Bt(e,t){var n,r,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Yn=function(){return Kn.now()})}function Xn(){var e,t;for(Gn=Yn(),Hn=!0,Rn.sort((function(e,t){return e.id-t.id})),Wn=0;WnWn&&Rn[n].id>e.id)n--;Rn.splice(n+1,0,e)}else Rn.push(e);Vn||(Vn=!0,ft(Xn))}}var tr=0,nr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new he,this.newDepIds=new he,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Ca){if(!this.user)throw Ca;tt(Ca,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Ca){tt(Ca,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:L,set:L};function ir(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function or(e){e._watchers=[];var t=e.$options;t.props&&ar(e,t.props),t.methods&&fr(e,t.methods),t.data?sr(e):Le(e._data={},!0),t.computed&&cr(e,t.computed),t.watch&&t.watch!==oe&&mr(e,t.watch)}function ar(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Fe(!1);var a=function(o){i.push(o);var a=Xe(o,t,n,e);Pe(r,o,a),o in e||ir(e,"_props",o)};for(var s in t)a(s);Fe(!0)}function sr(e){var t=e.$options.data;t=e._data="function"===typeof t?lr(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&D(r,o)||H(o)||ir(e,"_data",o)}Le(t,!0)}function lr(e,t){ve();try{return e.call(t,t)}catch(Ca){return tt(Ca,t,"data()"),{}}finally{ye()}}var ur={lazy:!0};function cr(e,t){var n=e._computedWatchers=Object.create(null),r=le();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new nr(e,a||L,L,ur)),i in e||hr(e,i,o)}}function hr(e,t,n){var r=!le();"function"===typeof n?(rr.get=r?pr(t):dr(n),rr.set=L):(rr.get=n.get?r&&!1!==n.cache?pr(t):dr(n.get):L,rr.set=n.set||L),Object.defineProperty(e,t,rr)}function pr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function dr(e){return function(){return e.call(this,this)}}function fr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?L:F(t[n],e)}function mr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=T(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function kr(e){e.mixin=function(e){return this.options=Ye(this.options,e),this}}function Er(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Ye(n.options,e),a["super"]=n,a.options.props&&Sr(a),a.options.computed&&Ar(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),i[r]=a,a}}function Sr(e){var t=e.options.props;for(var n in t)ir(e.prototype,"_props",n)}function Ar(e){var t=e.options.computed;for(var n in t)hr(e.prototype,n,t[n])}function Fr(e){R.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Tr(e){return e&&(e.Ctor.options.name||e.tag)}function Or(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!h(e)&&e.test(t)}function Nr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Tr(a.componentOptions);s&&!t(s)&&Lr(n,o,r,i)}}}function Lr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}br(Cr),vr(Cr),Fn(Cr),Ln(Cr),yn(Cr);var Pr=[String,RegExp,Array],jr={name:"keep-alive",abstract:!0,props:{include:Pr,exclude:Pr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Lr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Nr(e,(function(e){return Or(t,e)}))})),this.$watch("exclude",(function(t){Nr(e,(function(e){return!Or(t,e)}))}))},render:function(){var e=this.$slots.default,t=Cn(e),n=t&&t.componentOptions;if(n){var r=Tr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Or(o,r))||a&&r&&Or(a,r))return t;var s=this,l=s.cache,u=s.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[c]?(t.componentInstance=l[c].componentInstance,y(u,c),u.push(c)):(l[c]=t,u.push(c),this.max&&u.length>parseInt(this.max)&&Lr(l,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Br={KeepAlive:jr};function Mr(e){var t={get:function(){return z}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:O,mergeOptions:Ye,defineReactive:Pe},e.set=je,e.delete=Be,e.nextTick=ft,e.observable=function(e){return Le(e),e},e.options=Object.create(null),R.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,Br),_r(e),kr(e),Er(e),Fr(e)}Mr(Cr),Object.defineProperty(Cr.prototype,"$isServer",{get:le}),Object.defineProperty(Cr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cr,"FunctionalRenderContext",{value:Jt}),Cr.version="2.6.12";var Ir=g("style,class"),$r=g("input,textarea,option,select,progress"),Rr=function(e,t,n){return"value"===n&&$r(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},qr=g("contenteditable,draggable,spellcheck"),zr=g("events,caret,typing,plaintext-only"),Vr=function(e,t){return Yr(t)||"false"===t?"false":"contenteditable"===e&&zr(t)?t:"true"},Hr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Wr="http://www.w3.org/1999/xlink",Ur=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return Ur(e)?e.slice(6,e.length):""},Yr=function(e){return null==e||!1===e};function Kr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Xr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Xr(t,n.data));return Jr(t.staticClass,t.class)}function Xr(e,t){return{staticClass:Zr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Jr(e,t){return i(e)||i(t)?Zr(e,Qr(t)):""}function Zr(e,t){return e?t?e+" "+t:e:t||""}function Qr(e){return Array.isArray(e)?ei(e):l(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,n="",r=0,o=e.length;r-1?si[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:si[e]=/HTMLUnknownElement/.test(t.toString())}var ui=g("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function pi(e,t){return document.createElementNS(ni[e],t)}function di(e){return document.createTextNode(e)}function fi(e){return document.createComment(e)}function mi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function Di(e){return e.tagName}function xi(e,t){e.textContent=t}function wi(e,t){e.setAttribute(t,"")}var Ci=Object.freeze({createElement:hi,createElementNS:pi,createTextNode:di,createComment:fi,insertBefore:mi,removeChild:gi,appendChild:vi,parentNode:yi,nextSibling:bi,tagName:Di,setTextContent:xi,setStyleScope:wi}),_i={create:function(e,t){ki(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ki(e,!0),ki(t))},destroy:function(e){ki(e,!0)}};function ki(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Ei=new be("",{},[]),Si=["create","activate","update","remove","destroy"];function Ai(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Fi(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Fi(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||ui(r)&&ui(o)}function Ti(e,t,n){var r,o,a={};for(r=t;r<=n;++r)o=e[r].key,i(o)&&(a[o]=r);return a}function Oi(e){var t,n,a={},l=e.modules,u=e.nodeOps;for(t=0;tm?(h=r(n[y+1])?null:n[y+1].elm,C(e,h,n,f,y,o)):f>y&&k(t,p,m)}function A(e,t,n,r){for(var o=n;o-1?zi(e,t,n):Hr(t)?Yr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):qr(t)?e.setAttribute(t,Vr(t,n)):Ur(t)?Yr(n)?e.removeAttributeNS(Wr,Gr(t)):e.setAttributeNS(Wr,t,n):zi(e,t,n)}function zi(e,t,n){if(Yr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Vi={create:Ri,update:Ri};function Hi(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Kr(t),l=n._transitionClasses;i(l)&&(s=Zr(s,Qr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Wi,Ui={create:Hi,update:Hi},Gi="__r",Yi="__c";function Ki(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[Yi])&&(e.change=[].concat(e[Yi],e.change||[]),delete e[Yi])}function Xi(e,t,n){var r=Wi;return function i(){var o=t.apply(null,arguments);null!==o&&Qi(e,i,n,r)}}var Ji=at&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,r){if(Ji){var i=Gn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(e,t,ae?{capture:n,passive:r}:n)}function Qi(e,t,n,r){(r||Wi).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Wi=t.elm,Ki(n),Dt(n,i,Zi,Qi,Xi,t.context),Wi=void 0}}var to,no={create:eo,update:eo};function ro(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in i(l.__ob__)&&(l=t.data.domProps=O({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=r(o)?"":String(o);io(a,u)&&(a.value=u)}else if("innerHTML"===n&&ii(a.tagName)&&r(a.innerHTML)){to=to||document.createElement("div"),to.innerHTML=""+o+"";var c=to.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Ca){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||ao(e,t))}function oo(e,t){var n=!0;try{n=document.activeElement!==e}catch(Ca){}return n&&e.value!==t}function ao(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var so={create:ro,update:ro},lo=x((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function uo(e){var t=co(e.style);return e.staticStyle?O(e.staticStyle,t):t}function co(e){return Array.isArray(e)?N(e):"string"===typeof e?lo(e):e}function ho(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=uo(i.data))&&O(r,n)}(n=uo(e.data))&&O(r,n);var o=e;while(o=o.parent)o.data&&(n=uo(o.data))&&O(r,n);return r}var po,fo=/^--/,mo=/\s*!important$/,go=function(e,t,n){if(fo.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(E(t),n.replace(mo,""),"important");else{var r=yo(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(xo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Co(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(xo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function _o(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&O(t,ko(e.name||"v")),O(t,e),t}return"string"===typeof e?ko(e):void 0}}var ko=x((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Eo=X&&!te,So="transition",Ao="animation",Fo="transition",To="transitionend",Oo="animation",No="animationend";Eo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fo="WebkitTransition",To="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oo="WebkitAnimation",No="webkitAnimationEnd"));var Lo=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Po(e){Lo((function(){Lo(e)}))}function jo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),wo(e,t))}function Bo(e,t){e._transitionClasses&&y(e._transitionClasses,t),Co(e,t)}function Mo(e,t,n){var r=$o(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===So?To:No,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l0&&(n=So,c=a,h=o.length):t===Ao?u>0&&(n=Ao,c=u,h=l.length):(c=Math.max(a,u),n=c>0?a>u?So:Ao:null,h=n?n===So?o.length:l.length:0);var p=n===So&&Io.test(r[Fo+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:p}}function Ro(e,t){while(e.length1}function Uo(e,t){!0!==t.data.show&&zo(t)}var Go=X?{create:Uo,activate:Uo,remove:function(e,t){!0!==e.data.show?Vo(e,t):t()}}:{},Yo=[Vi,Ui,no,so,Do,Go],Ko=Yo.concat($i),Xo=Oi({nodeOps:Ci,modules:Ko});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ia(e,"input")}));var Jo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?xt(n,"postpatch",(function(){Jo.componentUpdated(e,t,n)})):Zo(e,t,n.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===n.tag||ui(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",na),e.addEventListener("compositionend",ra),e.addEventListener("change",ra),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Zo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ta);if(i.some((function(e,t){return!B(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return ea(e,i)})):t.value!==t.oldValue&&ea(t.value,i);o&&ia(e,"change")}}}};function Zo(e,t,n){Qo(e,t,n),(ee||ne)&&setTimeout((function(){Qo(e,t,n)}),0)}function Qo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(B(ta(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!B(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function na(e){e.target.composing=!0}function ra(e){e.target.composing&&(e.target.composing=!1,ia(e.target,"input"))}function ia(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function oa(e){return!e.componentInstance||e.data&&e.data.transition?e:oa(e.componentInstance._vnode)}var aa={bind:function(e,t,n){var r=t.value;n=oa(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,zo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?zo(n,(function(){e.style.display=e.__vOriginalDisplay})):Vo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},sa={model:Jo,show:aa},la={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ua(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ua(Cn(t.children)):e}function ca(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[C(o)]=i[o];return t}function ha(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function pa(e){while(e=e.parent)if(e.data.transition)return!0}function da(e,t){return t.key===e.key&&t.tag===e.tag}var fa=function(e){return e.tag||wn(e)},ma=function(e){return"show"===e.name},ga={name:"transition",props:la,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(fa),n.length)){0;var r=this.mode;0;var i=n[0];if(pa(this.$vnode))return i;var o=ua(i);if(!o)return i;if(this._leaving)return ha(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=ca(this),u=this._vnode,c=ua(u);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),c&&c.data&&!da(o,c)&&!wn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=O({},l);if("out-in"===r)return this._leaving=!0,xt(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ha(e,i);if("in-out"===r){if(wn(o))return u;var p,d=function(){p()};xt(l,"afterEnter",d),xt(l,"enterCancelled",d),xt(h,"delayLeave",(function(e){p=e}))}}return i}}},va=O({tag:String,moveClass:String},la);delete va.mode;var ya={props:va,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=On(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s4)return e;for(n=[],r=0;r1&&"0"==i.charAt(0)&&(o=L.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?j:8==o?P:B).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r=k(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r6)return;r=0;while(p()){if(i=null,r>0){if(!("."==p()&&r<4))return;h++}if(!N.test(p()))return;while(N.test(p())){if(o=parseInt(p(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}l[u]=256*l[u]+i,r++,2!=r&&4!=r||u++}if(4!=r)return;break}if(":"==p()){if(h++,!p())return}else if(p())return;l[u++]=t}else{if(null!==c)return;h++,u++,c=u}}if(null!==c){a=u-c,u=7;while(0!=u&&a>0)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s}else if(8!=u)return;return l},H=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t},W=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=H(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},U={},G=p({},U,{" ":1,'"':1,"<":1,">":1,"`":1}),Y=p({},G,{"#":1,"?":1,"{":1,"}":1}),K=p({},Y,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),X=function(e,t){var n=f(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return h(J,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},se={},le={},ue={},ce={},he={},pe={},de={},fe={},me={},ge={},ve={},ye={},be={},De={},xe={},we={},Ce={},_e={},ke={},Ee={},Se=function(e,t,n,i){var o,a,s,l,u=n||ae,c=0,p="",f=!1,m=!1,g=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace($,"")),t=t.replace(R,""),o=d(t);while(c<=o.length){switch(a=o[c],u){case ae:if(!a||!T.test(a)){if(n)return S;u=le;continue}p+=a.toLowerCase(),u=se;break;case se:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return S;p="",u=le,c=0;continue}if(n&&(Z(e)!=h(J,p)||"file"==p&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(Z(e)&&J[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?u=be:Z(e)&&i&&i.scheme==e.scheme?u=ue:Z(e)?u=de:"/"==o[c+1]?(u=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),u=_e)}break;case le:if(!i||i.cannotBeABaseURL&&"#"!=a)return S;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=Ee;break}u="file"==i.scheme?be:he;continue;case ue:if("/"!=a||"/"!=o[c+1]){u=he;continue}u=fe,c++;break;case ce:if("/"==a){u=me;break}u=Ce;continue;case he:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Z(e))u=pe;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=Ce;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Ee}break;case pe:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=Ce;continue}u=me}else u=fe;break;case de:if(u=fe,"/"!=a||"/"!=p.charAt(c+1))continue;c++;break;case fe:if("/"!=a&&"\\"!=a){u=me;continue}break;case me:if("@"==a){f&&(p="%40"+p),f=!0,s=d(p);for(var v=0;v65535)return F;e.port=Z(e)&&D===J[e.scheme]?null:D,p=""}if(n)return;u=we;continue}return F}p+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)u=De;else{if(!i||"file"!=i.scheme){u=Ce;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){ne(o.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),re(e)),u=Ce;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Ee}}break;case De:if("/"==a||"\\"==a){u=xe;break}i&&"file"==i.scheme&&!ne(o.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=Ce;continue;case xe:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&te(p))u=Ce;else if(""==p){if(e.host="",n)return;u=we}else{if(l=q(e,p),l)return l;if("localhost"==e.host&&(e.host=""),n)return;p="",u=we}continue}p+=a;break;case we:if(Z(e)){if(u=Ce,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=Ce,"/"!=a))continue}else e.fragment="",u=Ee;else e.query="",u=ke;break;case Ce:if(a==r||"/"==a||"\\"==a&&Z(e)||!n&&("?"==a||"#"==a)){if(oe(p)?(re(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ie(p)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",u=ke):"#"==a&&(e.fragment="",u=Ee)}else p+=X(a,Y);break;case _e:"?"==a?(e.query="",u=ke):"#"==a?(e.fragment="",u=Ee):a!=r&&(e.path[0]+=X(a,U));break;case ke:n||"#"!=a?a!=r&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":X(a,U)):(e.fragment="",u=Ee);break;case Ee:a!=r&&(e.fragment+=X(a,G));break}c++}},Ae=function(e){var t,n,r=c(this,Ae,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=w(r,{type:"URL"});if(void 0!==i)if(i instanceof Ae)t=C(i);else if(n=Se(t={},String(i)),n)throw TypeError(n);if(n=Se(s,a,null,t),n)throw TypeError(n);var l=s.searchParams=new D,u=x(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},o||(r.href=Te.call(r),r.origin=Oe.call(r),r.protocol=Ne.call(r),r.username=Le.call(r),r.password=Pe.call(r),r.host=je.call(r),r.hostname=Be.call(r),r.port=Me.call(r),r.pathname=Ie.call(r),r.search=$e.call(r),r.searchParams=Re.call(r),r.hash=qe.call(r))},Fe=Ae.prototype,Te=function(){var e=C(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,l=e.fragment,u=t+":";return null!==i?(u+="//",Q(e)&&(u+=n+(r?":"+r:"")+"@"),u+=W(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Oe=function(){var e=C(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+W(e.host)+(null!==n?":"+n:""):"null"},Ne=function(){return C(this).scheme+":"},Le=function(){return C(this).username},Pe=function(){return C(this).password},je=function(){var e=C(this),t=e.host,n=e.port;return null===t?"":null===n?W(t):W(t)+":"+n},Be=function(){var e=C(this).host;return null===e?"":W(e)},Me=function(){var e=C(this).port;return null===e?"":String(e)},Ie=function(){var e=C(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},$e=function(){var e=C(this).query;return e?"?"+e:""},Re=function(){return C(this).searchParams},qe=function(){var e=C(this).fragment;return e?"#"+e:""},ze=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&l(Fe,{href:ze(Te,(function(e){var t=C(this),n=String(e),r=Se(t,n);if(r)throw TypeError(r);x(t.searchParams).updateSearchParams(t.query)})),origin:ze(Oe),protocol:ze(Ne,(function(e){var t=C(this);Se(t,String(e)+":",ae)})),username:ze(Le,(function(e){var t=C(this),n=d(String(e));if(!ee(t)){t.username="";for(var r=0;rn)t.push(arguments[n++]);return D[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete D[e]},"process"==l(g)?r=function(e){g.nextTick(C(e))}:y&&y.now?r=function(e){y.now(C(e))}:v&&!p?(i=new v,o=i.port2,i.port1.onmessage=_,r=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(k)||"file:"===d.protocol?r=x in h("script")?function(e){c.appendChild(h("script"))[x]=function(){c.removeChild(this),w(e)}}:function(e){setTimeout(C(e),0)}:(r=k,a.addEventListener("message",_,!1))),e.exports={set:f,clear:m}},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?(r=u.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e90":function(e,t,n){e.exports=p,e.exports.compileUnsafe=f,e.exports.compileToken=x;var r=n("5bfe"),i=n("0f94"),o=i.isTag,a=n("fce4"),s=n("50ea"),l=n("99e4"),u=l.trueFunc,c=l.falseFunc,h=n("e700");function p(e,t,n){var r=f(e,t,n);return d(r)}function d(e){return function(t){return o(t)&&e(t)}}function f(e,t,n){var i=r(e,t);return x(i,t,n)}function m(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(m)})))}var g={type:"descendant"},v={type:"pseudo",name:"scope"},y={},b=i.getParent;function D(e,t){var n=!!t&&!!t.length&&t.every((function(e){return e===y||!!b(e)}));e.forEach((function(e){if(e.length>0&&w(e[0])&&"descendant"!==e[0].type);else{if(!n||m(e))return;e.unshift(g)}e.unshift(v)}))}function x(e,t,n){e=e.filter((function(e){return e.length>0})),e.forEach(s);var r=Array.isArray(n);return n=t&&t.context||n,n&&!r&&(n=[n]),D(e,n),e.map((function(e){return C(e,t,n,r)})).reduce(_,c)}function w(e){return h[e.type]<0}function C(e,t,n,r){var i=r&&"scope"===e[0].name&&"descendant"===e[1].type;return e.reduce((function(e,r,o){return e===c?e:a[r.type](e,r,t,n,i&&1===o)}),t&&t.rootFunc||u)}function _(e,t){return t===c||e===u?e:e===c||t===u?t:function(n){return e(n)||t(n)}}var k=n("9ebc"),E=k.filters,S=i.existsOne,A=(o=i.isTag,i.getChildren);function F(e){return e.some(w)}E.not=function(e,t,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)};if(i.strict&&(t.length>1||t.some(F)))throw new SyntaxError("complex selectors in :not aren't allowed in strict mode");var o=x(t,i,r);return o===c?e:o===u?c:function(t){return!o(t)&&e(t)}},E.has=function(e,t,n){var r={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)},i=t.some(F)?[y]:null,a=x(t,r,i);return a===c?c:a===u?function(t){return A(t).some(o)&&e(t)}:(a=d(a),i?function(t){return e(t)&&(i[0]=t,S(a,A(t)))}:function(t){return e(t)&&S(a,A(t))})},E.matches=function(e,t,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict),rootFunc:e};return x(t,i,r)}},"2f62":function(e,t,n){"use strict";(function(e){ /*! * vuex v3.5.1 * (c) 2020 Evan You * @license MIT */ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return P})),n.d(t,"c",(function(){return L}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=l(e[n],t)})),r}function u(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function p(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){u(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,f);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new d(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&u(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=r;var u=this._modules.root.state;C(this,u,[],this._modules.root),w(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},b={state:{configurable:!0}};function D(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function x(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),w(e,n,t)}function w(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};u(i,(function(t,n){o[n]=p(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=a,e.strict&&F(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function C(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=T(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){v.set(s,l,r.state)}))}var u=r.context=_(e,a,n);r.forEachMutation((function(t,n){var r=a+n;E(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;S(e,r,i,u)})),r.forEachGetter((function(t,n){var r=a+n;A(e,r,t,u)})),r.forEachChild((function(r,o){C(e,t,n.concat(o),r,i)}))}function _(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:r?e.commit:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return T(e.state,n)}}}),i}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function E(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function S(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return h(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function A(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function F(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function N(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=O(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=O(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(u){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return D(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return D(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),w(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=T(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),x(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),x(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var L=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=q(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),P=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=q(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),j=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||q(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),B=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=q(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),M=function(e){return{mapState:L.bind(null,e),mapGetters:j.bind(null,e),mapMutations:P.bind(null,e),mapActions:B.bind(null,e)}};function I(e){return $(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function $(e){return Array.isArray(e)||c(e)}function R(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function q(e,t,n){var r=e._modulesNamespaceMap[n];return r}function z(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var u=e.logActions;void 0===u&&(u=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var h=l(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=l(o);if(n(e,h,a)){var s=W(),u=i(e),p="mutation "+e.type+s;V(c,p,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),H(c)}h=a})),u&&e.subscribeAction((function(e,n){if(o(e,n)){var r=W(),i=a(e),s="action "+e.type+r;V(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),H(c)}})))}}function V(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function H(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function W(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function U(e,t){return new Array(t+1).join(e)}function G(e,t){return U("0",t-e.toString().length)+e}var Y={Store:y,install:N,version:"3.5.1",mapState:L,mapMutations:P,mapGetters:j,mapActions:B,createNamespacedHelpers:M,createLogger:z};t["a"]=Y}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"2fb4":function(e,t,n){(function(t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,l=a||s||Function("return this")();function u(e,t){var n=-1,r=t.length,i=e.length;while(++n0&&n(s)?t>1?g(s,t-1,n,r,i):u(i,s):r||(i[i.length]=s)}return i}function v(e){return D(e)||b(e)||!!(m&&e&&e[m])}function y(e){var t=e?e.length:0;return t?g(e,1):[]}function b(e){return w(e)&&h.call(e,"callee")&&(!f.call(e,"callee")||p.call(e)==r)}var D=Array.isArray;function x(e){return null!=e&&_(e.length)&&!C(e)}function w(e){return E(e)&&x(e)}function C(e){var t=k(e)?p.call(e):"";return t==i||t==o}function _(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function k(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function E(e){return!!e&&"object"==typeof e}e.exports=y}).call(this,n("c8ba"))},"301c":function(e,t,n){n("e198")("asyncIterator")},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"31c5":function(e,t,n){(function(e){e(n("56b3"))})((function(e){"use strict";var t="CodeMirror-activeline",n="CodeMirror-activeline-background",r="CodeMirror-activeline-gutter";function i(e){for(var i=0;i=0||(i[n]=e[n]);return i}function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r="Prettier is an opinionated code formatter",i="./bin/prettier.js",o={node:">=10.13.0"},a=["index.js","standalone.js","src","bin"],s={"@angular/compiler":"10.0.12","@babel/code-frame":"7.10.4","@babel/parser":"7.11.2","@glimmer/syntax":"0.59.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"3.10.0","angular-estree-parser":"2.2.0","angular-html-parser":"1.7.1",camelcase:"6.0.0",chalk:"4.1.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"4.0.2",editorconfig:"0.15.3","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"4.0.0",esutils:"2.0.3","fast-glob":"3.2.4","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.132.0","get-stream":"6.0.0",globby:"11.0.1",graphql:"15.3.0","html-element-attributes":"2.2.1","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.1.3",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.10.0",lodash:"4.17.20",mem:"6.1.0",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.0",outdent:"0.7.1","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"1.0.6","remark-parse":"8.0.3",resolve:"1.17.0",semver:"7.3.2","string-width":"4.2.0",typescript:"4.0.2","unicode-regex":"3.0.0",unified:"9.2.0",vnopts:"1.0.2","yaml-unist-parser":"1.3.0"},l={"@babel/core":"7.11.4","@babel/preset-env":"7.11.0","@babel/types":"7.11.0","@glimmer/reference":"0.59.0","@rollup/plugin-alias":"3.1.1","@rollup/plugin-babel":"5.2.0","@rollup/plugin-commonjs":"14.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@types/estree":"0.0.45","@types/node":"14.6.0","@typescript-eslint/types":"3.10.0","babel-loader":"8.1.0",benchmark:"2.1.4","builtin-modules":"3.1.0","cross-env":"7.0.2",cspell:"4.1.0",eslint:"7.7.0","eslint-config-prettier":"6.11.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.0","eslint-plugin-jest":"23.20.0","eslint-plugin-prettier-internal-rules":"file:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.20.6","eslint-plugin-unicorn":"21.0.0",execa:"4.0.3",jest:"26.4.2","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.6.0","npm-run-all":"4.1.5",prettier:"2.1.0",rimraf:"3.0.2",rollup:"2.26.5","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"7.0.0",shelljs:"0.8.4","snapshot-diff":"0.8.1","strip-ansi":"6.0.0","synchronous-promise":"2.0.13",tempy:"0.6.0","terser-webpack-plugin":"4.1.0",webpack:"4.44.1"},u={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"},c={name:"prettier",version:"2.1.1",description:r,bin:i,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:o,files:a,dependencies:s,devDependencies:l,scripts:u},h=Object.freeze({__proto__:null,name:"prettier",version:"2.1.1",description:r,bin:i,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:o,files:a,dependencies:s,devDependencies:l,scripts:u,default:c});function p(){}function d(e,t,n,r,i){for(var o=0,a=t.length,s=0,l=0;oe.length?n:e})),u.value=e.join(h)}else u.value=e.join(n.slice(s,s+u.count));s+=u.count,u.added||(l+=u.count)}}var p=t[a-1];return a>1&&"string"==typeof p.value&&(p.added||p.removed)&&e.equals("",p.value)&&(t[a-2].value+=p.value,t.pop()),t}function f(e){return{newPos:e.newPos,components:e.components.slice(0)}}p.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function o(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,l=1,u=a+s,c=[{newPos:-1,components:[]}],h=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=a&&h+1>=s)return o([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*l;n<=l;n+=2){var r=void 0,u=c[n-1],h=c[n+1],p=(h?h.newPos:0)-n;u&&(c[n-1]=void 0);var m=u&&u.newPos+1=a&&p+1>=s)return o(d(i,r.components,t,e,i.useLongestToken));c[n]=r}else c[n]=void 0}l++}if(r)!function e(){setTimeout((function(){if(l>u)return r();p()||e()}),0)}();else for(;l<=u;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,a=e.newPos,s=a-r,l=0;a+11&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function a(){var e={};for(i.push(e);o2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=T(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},u=0,c=n.fuzzFactor||0,h=0,p=0;function d(e,t){for(var n=0;n0?r[0]:" ",a=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!l(t+1,o[t],i,a)&&++u>c)return!1;t++}}return!0}for(var f=0;f0?k[0]:" ",S=k.length>0?k.substr(1):k,A=w.linedelimiters[_];if(" "===E)C++;else if("-"===E)o.splice(C,1),a.splice(C,1);else if("+"===E)o.splice(C,0,S),a.splice(C,0,A),C++;else if("\\"===E){var F=w.lines[_-1]?w.lines[_-1][0]:null;"+"===F?r=!0:"-"===F&&(i=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),a.pop();else i&&(o.push(""),a.push("\n"));for(var N=0;N0?l(m.lines.slice(-a.context)):[],c-=p.length,h-=p.length)}(o=p).push.apply(o,k(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?f+=i.length:d+=i.length}else{if(c)if(i.length<=2*a.context&&e=s.length-2&&i.length<=a.context){var D=/\n$/.test(n),x=/\n$/.test(r),w=0==i.length&&p.length>b.oldLines;!D&&w&&p.splice(b.oldLines,0,"\\ No newline at end of file"),(D||w)&&x||p.push("\\ No newline at end of file")}u.push(b),c=0,h=0,p=[]}d+=i.length,f+=i.length}},g=0;ge.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}F.tokenize=function(e){return e.slice()},F.join=F.removeEmpty=function(e){return e};var Z=Object.freeze({__proto__:null,Diff:p,diffChars:function(e,t,n){return m.diff(e,t,n)},diffWords:function(e,t,n){return n=g(n,{ignoreWhitespace:!0}),b.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return b.diff(e,t,n)},diffLines:x,diffTrimmedLines:function(e,t,n){var r=g(n,{ignoreWhitespace:!0});return D.diff(e,t,r)},diffSentences:function(e,t,n){return w.diff(e,t,n)},diffCss:function(e,t,n){return C.diff(e,t,n)},diffJson:function(e,t,n){return S.diff(e,t,n)},diffArrays:function(e,t,n){return F.diff(e,t,n)},structuredPatch:L,createTwoFilesPatch:P,createPatch:function(e,t,n,r,i,o){return P(e,e,t,n,r,i,o)},applyPatch:N,applyPatches:function(e,t){"string"==typeof e&&(e=T(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var o=N(n,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);r()}))}))}()},parsePatch:T,merge:function(e,t,n){e=M(e,n),t=M(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(I(e)?I(t)?(r.oldFileName=$(r,e.oldFileName,t.oldFileName),r.newFileName=$(r,e.newFileName,t.newFileName),r.oldHeader=$(r,e.oldHeader,t.oldHeader),r.newHeader=$(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,a=0,s=0;i"):r.removed&&t.push(""),t.push(J(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},canonicalize:A});function Q(e){return{type:"concat",parts:e}}function ee(e){return{type:"indent",contents:e}}function te(e,t){return{type:"align",contents:t,n:e}}function ne(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}const re={type:"break-parent"},ie=Q([{type:"line",hard:!0},re]),oe=Q([{type:"line",hard:!0,literal:!0},re]);var ae={concat:Q,join:function(e,t){const n=[];for(let r=0;r0){for(let e=0;e"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[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")})(),""):e;const le=e=>!Number.isNaN(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 ue=le,ce=le;ue.default=ce;const he=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\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\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])|\uD83C[\uDF3E\uDF73\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])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\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])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\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\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*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\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\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\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[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=se(e);let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=ue(r)?2:1)}return t};var pe=he,de=he;pe.default=de;var fe=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},me=e=>e[e.length-1],ge="undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function ve(){throw new Error("setTimeout has not been defined")}function ye(){throw new Error("clearTimeout has not been defined")}var be=ve,De=ye;function xe(e){if(be===setTimeout)return setTimeout(e,0);if((be===ve||!be)&&setTimeout)return be=setTimeout,setTimeout(e,0);try{return be(e,0)}catch(n){try{return be.call(null,e,0)}catch(n){return be.call(this,e,0)}}}"function"==typeof ge.setTimeout&&(be=setTimeout),"function"==typeof ge.clearTimeout&&(De=clearTimeout);var we,Ce=[],_e=!1,ke=-1;function Ee(){_e&&we&&(_e=!1,we.length?Ce=we.concat(Ce):ke=-1,Ce.length&&Se())}function Se(){if(!_e){var e=xe(Ee);_e=!0;for(var t=Ce.length;t;){for(we=Ce,Ce=[];++ke1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},ze={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function He(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function We(e){return e&&e.default||e}var Ue=He((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=ze,r=(t=e.exports={}).re=[],i=t.src=[],o=t.t={};let a=0;const s=(e,t,n)=>{const s=a++;qe(s,t),o[e]=s,i[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(i[o.NUMERICIDENTIFIER],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[o.NUMERICIDENTIFIERLOOSE],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(i[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(i[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(i[o.BUILDIDENTIFIER],"(?:\\.").concat(i[o.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(i[o.MAINVERSION]).concat(i[o.PRERELEASE],"?").concat(i[o.BUILD],"?")),s("FULL","^".concat(i[o.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(i[o.MAINVERSIONLOOSE]).concat(i[o.PRERELEASELOOSE],"?").concat(i[o.BUILD],"?")),s("LOOSE","^".concat(i[o.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(i[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(i[o.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:".concat(i[o.PRERELEASE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[o.PRERELEASELOOSE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",i[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(i[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(i[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(i[o.GTLT],"\\s*(").concat(i[o.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],"|").concat(i[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(i[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const Ge=/^[0-9]+$/,Ye=(e,t)=>{const n=Ge.test(e),r=Ge.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:eYe(t,e)};const{MAX_LENGTH:Xe,MAX_SAFE_INTEGER:Je}=ze,{re:Ze,t:Qe}=Ue,{compareIdentifiers:et}=Ke;class tt{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof tt){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>Xe)throw new TypeError("version is longer than ".concat(Xe," characters"));qe("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?Ze[Qe.LOOSE]:Ze[Qe.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Je||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Je||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Je||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var nt=tt,rt=(e,t,n)=>new nt(e,n).compare(new nt(t,n)),it=(e,t,n)=>rt(e,t,n)<0,ot=(e,t,n)=>rt(e,t,n)>=0,at=He((function(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"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:null,description:"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:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:dt(ct()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:dt(ut()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:dt(lt()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:dt(st()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",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."}]}}},mt=We(h);const gt={compare:rt,lt:it,gte:ot},vt=mt.version,yt=ft.options;var bt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:i=!1}={}){const o=vt.split("-",1)[0],a=t.reduce((e,t)=>e.concat(t.languages||[]),[]).filter(l),s=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...t.map(({options:e})=>e),yt),"name").filter(e=>l(e)&&u(e)).sort((e,t)=>e.name===t.name?0:e.name{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(l).sort((e,t)=>gt.compare(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>l(e)&&u(e)),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const o=n.find(e=>e.parsers&&e.parsers[t]);let a=i.name;o&&o.name&&(a+=" (plugin: ".concat(o.name,")")),e.choices.push({value:t,description:a})}}(e,a,t));const n=t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).reduce((t,n)=>(t[n.name]=n.defaultOptions[e.name],t),{});return Object.assign({},e,{pluginDefaults:n})});return{languages:a,options:s};function l(e){return n||!("since"in e)||e.since&>.gte(o,e.since)}function u(e){return r||!("deprecated"in e)||e.deprecated&>.lt(o,e.deprecated)}}};const Dt=/[^\x20-\x7F]/;function xt(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:o}=t;let a=n;for(;a>=0&&a(n.match(a.regex)||[]).length?a.quote:o.quote),s}function jt(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\([\S\s])|(["'])/g,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+i+t}function Bt(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some(e=>Mt(e)&&!e.unignore)||e.prettierIgnore)}function Mt(e){return"prettier-ignore"===e.value.trim()}function It(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var $t={replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))0!==n.length&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?Dt.test(e)?pe(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(fe(t),")+"),"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(fe(t),")+"),"g"));if(null===n)return 0;const r=new Map;let i=0;for(const o of n){const e=o.length/t.length;r.set(e,!0),e>i&&(i=e)}for(let o=1;ot.name.toLowerCase()===e||t.aliases&&t.aliases.includes(e)||t.extensions&&t.extensions.some(t=>t===".".concat(e)));return n?n.parsers[0]:null},getPenultimate:e=>e[e.length-2],getLast:me,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ot,getNextNonSpaceNonCommentCharacterIndex:Nt,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Nt(e,t,n))},skip:xt,skipWhitespace:wt,skipSpaces:Ct,skipToLineEnd:_t,skipEverythingButNewLine:kt,skipInlineComment:Et,skipTrailingComment:St,skipNewline:At,isNextLineEmptyAfterIndex:Tt,isNextLineEmpty:function(e,t,n){return Tt(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Ct(e,r,{backwards:!0}),r=At(e,r,{backwards:!0}),r=Ct(e,r,{backwards:!0}),r!==At(e,r,{backwards:!0})},hasNewline:Ft,hasNewlineInRange:function(e,t,n){for(let r=t;r=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 n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:qt}=$t,{convertEndOfLineToChars:zt}=Rt,{concat:Vt,fill:Ht,cursor:Wt}=ae;let Ut;function Gt(e,t){return Kt(e,{type:"indent"},t)}function Yt(e,t,n){return t===-1/0?e.root||{value:"",length:0,queue:[]}:t<0?Kt(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Kt(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function Kt(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let i="",o=0,a=0,s=0;for(const d of r)switch(d.type){case"indent":c(),n.useTabs?l(1):u(n.tabWidth);break;case"stringAlign":c(),i+=d.n,o+=d.n.length;break;case"numberAlign":a+=1,s+=d.n;break;default:throw new Error("Unexpected type '".concat(d.type,"'"))}return h(),Object.assign({},e,{value:i,length:o,queue:r});function l(e){i+="\t".repeat(e),o+=n.tabWidth*e}function u(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?function(){a>0&&l(a),p()}():h()}function h(){s>0&&u(s),p()}function p(){a=0,s=0}}function Xt(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const n=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Jt(e,t,n,r,i){let o=t.length;const a=[e],s=[];for(;n>=0;){if(0===a.length){if(0===o)return!0;a.push(t[o-1]),o--;continue}const[e,l,u]=a.pop();if("string"==typeof u)s.push(u),n-=qt(u);else switch(u.type){case"concat":for(let t=u.parts.length-1;t>=0;t--)a.push([e,l,u.parts[t]]);break;case"indent":a.push([Gt(e,r),l,u.contents]);break;case"align":a.push([Yt(e,u.n,r),l,u.contents]);break;case"trim":n+=Xt(s);break;case"group":if(i&&u.break)return!1;a.push([e,u.break?1:l,u.contents]),u.id&&(Ut[u.id]=a[a.length-1][1]);break;case"fill":for(let t=u.parts.length-1;t>=0;t--)a.push([e,l,u.parts[t]]);break;case"if-break":{const t=u.groupId?Ut[u.groupId]:l;1===t&&u.breakContents&&a.push([e,l,u.breakContents]),2===t&&u.flatContents&&a.push([e,l,u.flatContents]);break}case"line":switch(l){case 2:if(!u.hard){u.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}}}return!1}const Zt={};function Qt(e,t,n,r){const i=[e];for(;0!==i.length;){const e=i.pop();if(e!==Zt){if(n&&i.push(e,Zt),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)i.push(e.parts[t]);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(r)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 n(i.pop())}}function en(e,t){if("concat"===e.type||"fill"===e.type){const n=e.parts.map(e=>en(e,t));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&en(e.breakContents,t),r=e.flatContents&&en(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:r}))}if(e.contents){const n=en(e.contents,t);return t(Object.assign({},e,{contents:n}))}return t(e)}function tn(e,t,n){let r=n,i=!1;return Qt(e,(function(e){const n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function nn(e){return"string"!=typeof e&&("line"===e.type||void 0)}function rn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function on(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function an(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function sn(e){const t=[],n=e.filter(Boolean);for(;0!==n.length;){const e=n.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:n.unshift(...e.parts))}return t}function ln(e){if("concat"===e.type){const t=[];for(let n=0;n=0;t--)o.push([e,u,c.parts[t]]);break;case"indent":o.push([Gt(e,t),u,c.contents]);break;case"align":o.push([Yt(e,c.n,t),u,c.contents]);break;case"trim":i-=Xt(a);break;case"group":switch(u){case 2:if(!s){o.push([e,c.break?1:2,c.contents]);break}case 1:{s=!1;const r=[e,2,c.contents],a=n-i;if(!c.break&&Jt(r,o,a,t))o.push(r);else if(c.expandedStates){const n=c.expandedStates[c.expandedStates.length-1];if(c.break){o.push([e,1,n]);break}for(let r=1;r=c.expandedStates.length){o.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(Jt(n,o,a,t)){o.push(n);break}}}}else o.push([e,1,c.contents]);break}}c.id&&(Ut[c.id]=o[o.length-1][1]);break;case"fill":{const r=n-i,{parts:a}=c;if(0===a.length)break;const[s,l]=a,h=[e,2,s],p=[e,1,s],d=Jt(h,[],r,t,!0);if(1===a.length){d?o.push(h):o.push(p);break}const f=[e,2,l],m=[e,1,l];if(2===a.length){d?(o.push(f),o.push(h)):(o.push(m),o.push(p));break}a.splice(0,2);const g=[e,u,Ht(a)],v=a[0];Jt([e,2,Vt([s,l,v])],[],r,t,!0)?(o.push(g),o.push(f),o.push(h)):d?(o.push(g),o.push(m),o.push(h)):(o.push(g),o.push(m),o.push(p));break}case"if-break":{const t=c.groupId?Ut[c.groupId]:u;1===t&&c.breakContents&&o.push([e,u,c.breakContents]),2===t&&c.flatContents&&o.push([e,u,c.flatContents]);break}case"line-suffix":l.push([e,u,c.contents]);break;case"line-suffix-boundary":l.length>0&&o.push([e,u,{type:"line",hard:!0}]);break;case"line":switch(u){case 2:if(!c.hard){c.soft||(a.push(" "),i+=1);break}s=!0;case 1:if(l.length){o.push([e,u,c]),o.push(...l.reverse()),l=[];break}c.literal?e.root?(a.push(r,e.root.value),i=e.root.length):(a.push(r),i=0):(i-=Xt(a),a.push(r+e.value),i=e.length)}}}const u=a.indexOf(Wt.placeholder);if(-1!==u){const e=a.indexOf(Wt.placeholder,u+1),t=a.slice(0,u).join(""),n=a.slice(u+1,e).join("");return{formatted:t+n+a.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:a.join("")}}},utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return tn(e,rn,!1)},isLineNext:function(e){return tn(e,nn,!1)},traverseDoc:Qt,findInDoc:tn,mapDoc:en,propagateBreaks:function(e){const t=new Set,n=[];Qt(e,(function(e){if("break-parent"===e.type&&on(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&on(n)}),!0)},removeLines:function(e){return en(e,an)},stripTrailingHardline:function e(t,n=!1){if("concat"===t.type&&0!==t.parts.length){const r=n?function(e){let t,{parts:n}=e;for(let r=e.parts.length;r>0&&!t;r--)t=n[r-1];return"group"===t.type&&(n=t.contents.parts),n}(t):t.parts,i=r[r.length-1];if("concat"===i.type)return 2===i.parts.length&&i.parts[0].hard&&"break-parent"===i.parts[1].type?{type:"concat",parts:r.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(i))}}return t},normalizeParts:sn,normalizeDoc:function(e){return en(e,e=>e.parts?Object.assign({},e,{parts:sn(e.parts)}):e)}},debug:{printDocToDebug:e=>un(ln(e))}},hn=Object.freeze({__proto__:null,default:{}});const pn=/[/\\]/;function dn(e){return e.split(pn).pop()}var fn=Object.freeze({__proto__:null,extname:function(e){const t=dn(e),n=t.lastIndexOf(".");return-1===n?"":t.slice(n)},basename:dn,isAbsolute:function(){return!0}}),mn=[],gn=[],vn="undefined"!=typeof Uint8Array?Uint8Array:Array,yn=!1;function bn(){yn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+mn[i>>12&63]+mn[i>>6&63]+mn[63&i]);return o.join("")}function xn(e){var t;yn||bn();for(var n=e.length,r=n%3,i="",o=[],a=0,s=n-r;as?s:a+16383));return 1===r?(t=e[n-1],i+=mn[t>>2],i+=mn[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=mn[t>>10],i+=mn[t>>4&63],i+=mn[t<<2&63],i+="="),o.push(i),o.join("")}function wn(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,h=n?i-1:0,p=n?-1:1,d=e[t+h];for(h+=p,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+h],h+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)}function Cn(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?p/l:p*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*l-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=f,s/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=f,a/=256,u-=8);e[n+d-f]|=128*m}var _n={}.toString,kn=Array.isArray||function(e){return"[object Array]"==_n.call(e)};function En(){return An.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Sn(e,t){if(En()=En())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+En().toString(16)+" bytes");return 0|e}function Pn(e){return!(null==e||!e._isBuffer)}function jn(e,t){if(Pn(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return sr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return lr(e).length;default:if(r)return sr(e).length;t=(""+t).toLowerCase(),r=!0}}function Bn(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Xn(this,t,n);case"utf8":case"utf-8":return Gn(this,t,n);case"ascii":return Yn(this,t,n);case"latin1":case"binary":return Kn(this,t,n);case"base64":return Un(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jn(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Mn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function In(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=An.from(t,r)),Pn(t))return 0===t.length?-1:$n(e,t,n,r,i);if("number"==typeof t)return t&=255,An.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):$n(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function $n(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var h=!0,p=0;pi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Un(e,t,n){return 0===t&&n===e.length?xn(e):xn(e.slice(t,n))}function Gn(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function Qn(e,t,n,r,i,o){if(!Pn(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function er(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function tr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function nr(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function rr(e,t,n,r,i){return i||nr(e,0,n,4),Cn(e,t,n,r,23,4),n+4}function ir(e,t,n,r,i){return i||nr(e,0,n,8),Cn(e,t,n,r,52,8),n+8}An.TYPED_ARRAY_SUPPORT=void 0===ge.TYPED_ARRAY_SUPPORT||ge.TYPED_ARRAY_SUPPORT,An.poolSize=8192,An._augment=function(e){return e.__proto__=An.prototype,e},An.from=function(e,t,n){return Fn(null,e,t,n)},An.TYPED_ARRAY_SUPPORT&&(An.prototype.__proto__=Uint8Array.prototype,An.__proto__=Uint8Array),An.alloc=function(e,t,n){return function(e,t,n,r){return Tn(t),t<=0?Sn(e,t):void 0!==n?"string"==typeof r?Sn(e,t).fill(n,r):Sn(e,t).fill(n):Sn(e,t)}(null,e,t,n)},An.allocUnsafe=function(e){return On(null,e)},An.allocUnsafeSlow=function(e){return On(null,e)},An.isBuffer=function(e){return null!=e&&(!!e._isBuffer||cr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&cr(e.slice(0,0))}(e))},An.compare=function(e,t){if(!Pn(e)||!Pn(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},An.prototype.compare=function(e,t,n,r,i){if(!Pn(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Rn(this,e,t,n);case"utf8":case"utf-8":return qn(this,e,t,n);case"ascii":return zn(this,e,t,n);case"latin1":case"binary":return Vn(this,e,t,n);case"base64":return Hn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},An.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},An.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},An.prototype.readUInt8=function(e,t){return t||Zn(e,1,this.length),this[e]},An.prototype.readUInt16LE=function(e,t){return t||Zn(e,2,this.length),this[e]|this[e+1]<<8},An.prototype.readUInt16BE=function(e,t){return t||Zn(e,2,this.length),this[e]<<8|this[e+1]},An.prototype.readUInt32LE=function(e,t){return t||Zn(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},An.prototype.readUInt32BE=function(e,t){return t||Zn(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},An.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Zn(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},An.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Zn(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},An.prototype.readInt8=function(e,t){return t||Zn(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},An.prototype.readInt16LE=function(e,t){t||Zn(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},An.prototype.readInt16BE=function(e,t){t||Zn(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},An.prototype.readInt32LE=function(e,t){return t||Zn(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},An.prototype.readInt32BE=function(e,t){return t||Zn(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},An.prototype.readFloatLE=function(e,t){return t||Zn(e,4,this.length),wn(this,e,!0,23,4)},An.prototype.readFloatBE=function(e,t){return t||Zn(e,4,this.length),wn(this,e,!1,23,4)},An.prototype.readDoubleLE=function(e,t){return t||Zn(e,8,this.length),wn(this,e,!0,52,8)},An.prototype.readDoubleBE=function(e,t){return t||Zn(e,8,this.length),wn(this,e,!1,52,8)},An.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Qn(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},An.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,1,255,0),An.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},An.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,65535,0),An.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):er(this,e,t,!0),t+2},An.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,65535,0),An.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):er(this,e,t,!1),t+2},An.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,4294967295,0),An.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):tr(this,e,t,!0),t+4},An.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,4294967295,0),An.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):tr(this,e,t,!1),t+4},An.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Qn(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},An.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Qn(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},An.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,1,127,-128),An.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},An.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,32767,-32768),An.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):er(this,e,t,!0),t+2},An.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,32767,-32768),An.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):er(this,e,t,!1),t+2},An.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,2147483647,-2147483648),An.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):tr(this,e,t,!0),t+4},An.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),An.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):tr(this,e,t,!1),t+4},An.prototype.writeFloatLE=function(e,t,n){return rr(this,e,t,!0,n)},An.prototype.writeFloatBE=function(e,t,n){return rr(this,e,t,!1,n)},An.prototype.writeDoubleLE=function(e,t,n){return ir(this,e,t,!0,n)},An.prototype.writeDoubleBE=function(e,t,n){return ir(this,e,t,!1,n)},An.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!An.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function lr(e){return function(e){var t,n,r,i,o,a;yn||bn();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new vn(3*s/4-o),r=o>0?s-4:s;var l=0;for(t=0,n=0;t>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===o?(i=gn[e.charCodeAt(t)]<<2|gn[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===o&&(i=gn[e.charCodeAt(t)]<<10|gn[e.charCodeAt(t+1)]<<4|gn[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(or,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ur(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function cr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var hr=We(hn),pr=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:hr.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){hr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,i=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(!o)break}let o=e.slice(i,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const e=new An(this.options.readChunk);t=hr.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let i=An.concat(r);return t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function xr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function wr(e){return this instanceof wr?(this.v=e,this):new wr(e)}var Cr=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}yr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return br},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof wr?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:wr(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Dr(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),_r=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>t.apiDescriptor.value(e)).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))).join(", ")," }")},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),kr=We(Cr),Er=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),kr.__exportStar(_r,t)})),Sr=/[|\\{}()[\]^$+*?.]/g,Ar=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Sr,"\\$&")},Fr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Tr=He((function(e){var t={};for(var n in Fr)Fr.hasOwnProperty(n)&&(t[Fr[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a;return s===a?t=0:r===s?t=(i-o)/l:i===s?t=2+(o-r)/l:o===s&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),h=function(e){return(u-e)/6/c+.5};return 0===c?i=o=0:(o=c/u,t=h(a),n=h(s),r=h(l),a===u?i=r-n:s===u?i=1/3+t-r:l===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*u]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in Fr)if(Fr.hasOwnProperty(s)){var l=Fr[s],u=(i=e,o=l,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));u.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),r=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(r=1-r),i=u+r*((n=1-c)-u),t){default:case 6:case 0:o=n,a=i,s=u;break;case 1:o=i,a=n,s=u;break;case 2:o=u,a=n,s=i;break;case 3:o=u,a=i,s=n;break;case 4:o=i,a=u,s=n;break;case 5:o=n,a=u,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,l=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Or(e){var t=function(){for(var e={},t=Object.keys(Tr),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var jr=Pr,Br=He((function(e){const t=(e,t)=>function(){const n=e.apply(jr,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(jr,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(jr,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(jr)){if("object"!=typeof jr[s])continue;const e=jr[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(i.color.ansi[s]=t(e.ansi16,0),i.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[s]=n(e.ansi256,0),i.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[s]=r(e.rgb,0),i.bgColor.ansi16m[s]=r(e.rgb,10))}return i}})})),Mr={EOL:"\n"},Ir=(e,t)=>{t=t||Re.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}(function(e){if(!1===Rr)return 0;if(Ir("color=16m")||Ir("color=full")||Ir("color=truecolor"))return 3;if(Ir("color=256"))return 2;if(e&&!e.isTTY&&!0!==Rr)return 0;const t=Rr?1:0;if("win32"===Re.platform){const e=Mr.release().split(".");return Number(Re.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in $r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in $r)||"codeship"===$r.CI_NAME?1:t;if("TEAMCITY_VERSION"in $r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test($r.TEAMCITY_VERSION)?1:0;if("truecolor"===$r.COLORTERM)return 3;if("TERM_PROGRAM"in $r){const e=parseInt(($r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch($r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test($r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test($r.TERM)||"COLORTERM"in $r?1:($r.TERM,t)}(e))}Ir("no-color")||Ir("no-colors")||Ir("color=false")?Rr=!1:(Ir("color")||Ir("colors")||Ir("color=true")||Ir("color=always"))&&(Rr=!0),"FORCE_COLOR"in $r&&(Rr=0===$r.FORCE_COLOR.length||0!==parseInt($r.FORCE_COLOR,10));var zr={supportsColor:qr,stdout:qr(Re.stdout),stderr:qr(Re.stderr)};const Vr=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Hr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Wr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ur=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Gr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Yr(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Gr.get(e)||e}function Kr(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Wr)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Ur,(e,t,n)=>t?Yr(t):n))}else n.push(Number(o));return n}function Xr(e){Hr.lastIndex=0;const t=[];let n;for(;null!==(n=Hr.exec(e));){const e=n[1];if(n[2]){const r=Kr(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Jr(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Zr=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Vr,(t,o,a,s,l,u)=>{if(o)i.push(Yr(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:Jr(e,n)(t)),n.push({inverse:a,styles:Xr(s)})}else if(l){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Jr(e,n)(i.join(""))),i=[],n.pop()}else i.push(u)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},Qr=He((function(e){const t=zr.stdout,n="win32"===Re.platform&&!(Re.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}a(this,e)}n&&(Br.blue.open="");for(const p of Object.keys(Br))Br[p].closeRe=new RegExp(Ar(Br[p].close),"g"),o[p]={get(){const e=Br[p];return u.call(this,this._styles?this._styles.concat(e):[e],this._empty,p)}};o.visible={get(){return u.call(this,this._styles||[],!0,"visible")}},Br.color.closeRe=new RegExp(Ar(Br.color.close),"g");for(const p of Object.keys(Br.color.ansi))i.has(p)||(o[p]={get(){const e=this.level;return function(){const t=Br.color[r[e]][p].apply(null,arguments),n={open:t,close:Br.color.close,closeRe:Br.color.closeRe};return u.call(this,this._styles?this._styles.concat(n):[n],this._empty,p)}}});Br.bgColor.closeRe=new RegExp(Ar(Br.bgColor.close),"g");for(const p of Object.keys(Br.bgColor.ansi))i.has(p)||(o["bg"+p[0].toUpperCase()+p.slice(1)]={get(){const e=this.level;return function(){const t=Br.bgColor[r[e]][p].apply(null,arguments),n={open:t,close:Br.bgColor.close,closeRe:Br.bgColor.closeRe};return u.call(this,this._styles?this._styles.concat(n):[n],this._empty,p)}}});const l=Object.defineProperties(()=>{},o);function u(e,t,n){const r=function e(){return c.apply(e,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=l,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n{const r=["".concat(Qr.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(Qr.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}})),ti=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),kr.__exportStar(ei,t)})),ni=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(Qr.default.red(n.descriptor.key(e))," value."),"Expected ".concat(Qr.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(Qr.default.red(n.descriptor.value(t)),".")].join(" ")})),ri=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),kr.__exportStar(ni,t)})),ii=[],oi=[],ai=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=(e,t,{descriptor:n,logger:r,schemas:i})=>{const o=["Ignored unknown option ".concat(Qr.default.yellow(n.pair({key:e,value:t})),".")],a=Object.keys(i).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var o,a,s,l,u=0;ua?l>a?a+1:l:l>s?s+1:l;return a}(e,t)<3);a&&o.push("Did you mean ".concat(Qr.default.blue(n.key(a)),"?")),r.warn(o.join(" "))}})),si=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),kr.__exportStar(ai,t)})),li=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),kr.__exportStar(ti,t),kr.__exportStar(ri,t),kr.__exportStar(si,t)})),ui=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){const r=new e(t),a=Object.create(r);for(const s of n)s in t&&(a[s]=o(t[s],r,i.prototype[s].length));return a}t.createSchema=r;class i{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,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function o(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}t.Schema=i})),ci=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ui.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}}t.AliasSchema=n})),hi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ui.Schema{expected(){return"anything"}validate(){return!0}}t.AnySchema=n})),pi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ui.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=kr.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})))}return n}forward(e,t){const n=[];for(const i of e){const e=t.normalizeForwardResult(this._valueSchema.forward(i,t),i);n.push(...e.map(r))}return n}redirect(e,t){const n=[],i=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),i.push(...e.redirect.map(r))}return 0===n.length?{redirect:i}:{redirect:i,remain:n}}overlap(e,t){return e.concat(t)}}function r({from:e,to:t}){return{from:[e],to:t}}t.ArraySchema=n})),di=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ui.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}t.BooleanSchema=n})),fi=He((function(e,t){function n(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,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>n(e,t)):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},t.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},t.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){const n=[],r=[];for(const i of e)t(i)?n.push(i):r.push(i);return[n,r]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){const 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}}})),mi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ui.Schema{constructor(e){super(e),this._choices=fi.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(fi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}t.ChoiceSchema=n})),gi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ui.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}t.NumberSchema=n})),vi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends gi.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&fi.isInt(e)}}t.IntegerSchema=n})),yi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ui.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}t.StringSchema=n})),bi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),kr.__exportStar(ci,t),kr.__exportStar(hi,t),kr.__exportStar(pi,t),kr.__exportStar(di,t),kr.__exportStar(mi,t),kr.__exportStar(vi,t),kr.__exportStar(gi,t),kr.__exportStar(yi,t)})),Di=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=_r.apiDescriptor,t.defaultUnknownHandler=ai.levenUnknownHandler,t.defaultInvalidHandler=ri.commonInvalidHandler,t.defaultDeprecatedHandler=ei.commonDeprecatedHandler})),xi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=(e,t,r)=>new n(t,r).normalize(e);class n{constructor(e,t){const{logger:n=console,descriptor:r=Di.defaultDescriptor,unknown:i=Di.defaultUnknownHandler,invalid:o=Di.defaultInvalidHandler,deprecated:a=Di.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:fi.recordFromArray(e,"name"),normalizeDefaultResult:fi.normalizeDefaultResult,normalizeDeprecatedResult:fi.normalizeDeprecatedResult,normalizeForwardResult:fi.normalizeForwardResult,normalizeRedirectResult:fi.normalizeRedirectResult,normalizeValidateResult:fi.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=a,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=fi.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];if(!(i in t)){const t=fi.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[i]:t.value})}}r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];i in t&&(t[i]=e.postprocess(t[i],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,i]=fi.partition(Object.keys(e),e=>e in this._utils.schemas);for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),a=fi.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==a){const{value:e}=a,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const s=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},l=({value:e,redirectTo:t})=>{const n=fi.normalizeDeprecatedResult(r.deprecated(e,this._utils),i,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:r}of n){const e={key:o,value:r};if(!this._hasDeprecationWarned(e)){const n="string"==typeof t?{key:t,value:r}:t;this._utils.logger.warn(this._deprecatedHandler(e,n,this._utils))}}};fi.normalizeForwardResult(r.forward(i,this._utils),i).forEach(s);const u=fi.normalizeRedirectResult(r.redirect(i,this._utils),i);if(u.redirect.forEach(s),"remain"in u){const e=u.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,l({value:e})}for(const{from:e,to:t}of u.redirect)l({value:e,redirectTo:t})}for(const o of i){const r=e[o],i=this._unknownHandler(o,r,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}t.Normalizer=n})),wi=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),kr.__exportStar(Er,t),kr.__exportStar(li,t),kr.__exportStar(bi,t),kr.__exportStar(xi,t),kr.__exportStar(ui,t)}));const Ci=[],_i=[],ki=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o,a,s,l,u=0;for(;ua?l>a?a+1:l:l>s?s+1:l;return a};var Ei=ki,Si=ki;Ei.default=Si;var Ai={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const Fi={};for(const t of Object.keys(Ai))Fi[Ai[t]]=t;const Ti={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Oi=Ti;for(const t of Object.keys(Ti)){if(!("channels"in Ti[t]))throw new Error("missing channels property: "+t);if(!("labels"in Ti[t]))throw new Error("missing channel labels property: "+t);if(Ti[t].labels.length!==Ti[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Ti[t];delete Ti[t].channels,delete Ti[t].labels,Object.defineProperty(Ti[t],"channels",{value:e}),Object.defineProperty(Ti[t],"labels",{value:n})}function Ni(e){const t=function(){const e={},t=Object.keys(Oi);for(let n=t.length,r=0;r1&&(i-=1)),[360*i,100*o,100*u]},Ti.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=Ti.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*o,100*r]},Ti.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Ti.rgb.keyword=function(e){const t=Fi[e];if(t)return t;let n,r=1/0;for(const a of Object.keys(Ai)){const t=(o=Ai[a],((i=e)[0]-o[0])**2+(i[1]-o[1])**2+(i[2]-o[2])**2);t.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Ti.rgb.lab=function(e){const t=Ti.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*r-16,500*(n-r),200*(r-i)]},Ti.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,a;if(0===n)return a=255*r,[a,a,a];i=r<.5?r*(1+n):r+n-r*n;const s=2*r-i,l=[0,0,0];for(let u=0;u<3;u++)o=t+1/3*-(u-1),o<0&&o++,o>1&&o--,a=6*o<1?s+6*(i-s)*o:2*o<1?i:3*o<2?s+(i-s)*(2/3-o)*6:s,l[u]=255*a;return l},Ti.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},Ti.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},Ti.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,a;a=(2-n)*r;const s=(2-n)*i;return o=n*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,100*o,100*a]},Ti.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const a=Math.floor(6*t),s=1-r;o=6*t-a,0!=(1&a)&&(o=1-o);const l=n+o*(s-n);let u,c,h;switch(a){default:case 6:case 0:u=s,c=l,h=n;break;case 1:u=l,c=s,h=n;break;case 2:u=n,c=s,h=l;break;case 3:u=n,c=l,h=s;break;case 4:u=l,c=n,h=s;break;case 5:u=s,c=n,h=l}return[255*u,255*c,255*h]},Ti.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Ti.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,a;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,a=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*i,255*o,255*a]},Ti.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},Ti.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,a=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Ti.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;return i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},Ti.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Ti.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let o=null===t?Ti.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},Ti.hsv.ansi16=function(e){return Ti.rgb.ansi16(Ti.hsv.rgb(e),e[2])},Ti.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Ti.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Ti.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Ti.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Ti.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Ti.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),a=i-o;let s,l;return s=a<1?o/(1-a):0,l=a<=0?0:i===t?(n-r)/a%6:i===n?2+(r-t)/a:4+(t-n)/a,l/=6,l%=1,[360*l,100*a,100*s]},Ti.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Ti.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ti.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,a=o%1,s=1-a;let l=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return l=(1-n)*r,[255*(n*i[0]+l),255*(n*i[1]+l),255*(n*i[2]+l)]},Ti.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Ti.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Ti.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Ti.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ti.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Ti.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Ti.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Ti.gray.hsl=function(e){return[0,0,e[0]]},Ti.gray.hsv=Ti.gray.hsl,Ti.gray.hwb=function(e){return[0,100,e[0]]},Ti.gray.cmyk=function(e){return[0,0,0,e[0]]},Ti.gray.lab=function(e){return[e[0],0,0]},Ti.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Ti.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const ji={};Object.keys(Oi).forEach(e=>{ji[e]={},Object.defineProperty(ji[e],"channels",{value:Oi[e].channels}),Object.defineProperty(ji[e],"labels",{value:Oi[e].labels});const t=function(e){const t=Ni(e),n={},r=Object.keys(t);for(let i=r.length,o=0;o{const r=t[n];ji[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,i=0;i1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var Bi=ji,Mi=He((function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(r+t,"m")},n=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";5;").concat(r,"m")},r=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")},i=e=>e,o=(e,t,n)=>[e,t,n],a=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let s;const l=(e,t,n,r)=>{void 0===s&&(s=Bi);const i=r?10:0,o={};for(const[a,l]of Object.entries(s)){const r="ansi16"===a?"ansi":a;a===t?o[r]=e(n,i):"object"==typeof l&&(o[r]=e(l[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="",s.bgColor.close="",a(s.color,"ansi",()=>l(t,"ansi16",i,!1)),a(s.color,"ansi256",()=>l(n,"ansi256",i,!1)),a(s.color,"ansi16m",()=>l(r,"rgb",o,!1)),a(s.bgColor,"ansi",()=>l(t,"ansi16",i,!0)),a(s.bgColor,"ansi256",()=>l(n,"ansi256",i,!0)),a(s.bgColor,"ansi16m",()=>l(r,"rgb",o,!0)),s}})})),Ii={isatty:()=>!1},$i=(e,t=Re.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}function Vi(e,t){if(0===qi)return 0;if($i("color=16m")||$i("color=full")||$i("color=truecolor"))return 3;if($i("color=256"))return 2;if(e&&!t&&void 0===qi)return 0;const n=qi||0;if("dumb"===Ri.TERM)return n;if("win32"===Re.platform){const e=Mr.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Ri)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Ri)||"codeship"===Ri.CI_NAME?1:n;if("TEAMCITY_VERSION"in Ri)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ri.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Ri)return 1;if("truecolor"===Ri.COLORTERM)return 3;if("TERM_PROGRAM"in Ri){const e=parseInt((Ri.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ri.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ri.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ri.TERM)||"COLORTERM"in Ri?1:n}$i("no-color")||$i("no-colors")||$i("color=false")||$i("color=never")?qi=0:($i("color")||$i("colors")||$i("color=true")||$i("color=always"))&&(qi=1),"FORCE_COLOR"in Ri&&(qi="true"===Ri.FORCE_COLOR?1:"false"===Ri.FORCE_COLOR?0:0===Ri.FORCE_COLOR.length?1:Math.min(parseInt(Ri.FORCE_COLOR,10),3));var Hi={supportsColor:function(e){return zi(Vi(e,e&&e.isTTY))},stdout:zi(Vi(!0,Ii.isatty(1))),stderr:zi(Vi(!0,Ii.isatty(2)))},Wi={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,a="";do{a+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return a+=e.substr(o),a},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,o="";do{const a="\r"===e[r-1];o+=e.substr(i,(a?r-1:r)-i)+t+(a?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i),o}};const Ui=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Gi=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Yi=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ki=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Xi=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Ji(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Xi.get(e)||e}function Zi(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r){const t=Number(o);if(Number.isNaN(t)){if(!(i=o.match(Yi)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Ki,(e,t,n)=>t?Ji(t):n))}else n.push(t)}return n}function Qi(e){Gi.lastIndex=0;const t=[];let n;for(;null!==(n=Gi.exec(e));){const e=n[1];if(n[2]){const r=Zi(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function eo(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const[i,o]of Object.entries(n))if(Array.isArray(o)){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=o.length>0?r[i](...o):r[i]}return r}var to=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Ui,(t,o,a,s,l,u)=>{if(o)i.push(Ji(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:eo(e,n)(t)),n.push({inverse:a,styles:Qi(s)})}else if(l){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(eo(e,n)(i.join(""))),i=[],n.pop()}else i.push(u)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const{stdout:no,stderr:ro}=Hi,{stringReplaceAll:io,stringEncaseCRLFWithFirstIndex:oo}=Wi,{isArray:ao}=Array,so=["ansi","ansi","ansi256","ansi16m"],lo=Object.create(null);class uo{constructor(e){return co(e)}}const co=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=no?no.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>bo(t.template,...e),Object.setPrototypeOf(t,ho.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=uo,t.template};function ho(e){return co(e)}for(const[t,Nk]of Object.entries(Mi))lo[t]={get(){const e=go(this,mo(Nk.open,Nk.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}};lo.visible={get(){const e=go(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const po=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of po)lo[t]={get(){const{level:e}=this;return function(...n){const r=mo(Mi.color[so[e]][t](...n),Mi.color.close,this._styler);return go(this,r,this._isEmpty)}}};for(const t of po)lo["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...n){const r=mo(Mi.bgColor[so[e]][t](...n),Mi.bgColor.close,this._styler);return go(this,r,this._isEmpty)}}};const fo=Object.defineProperties(()=>{},Object.assign({},lo,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),mo=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},go=(e,t,n)=>{const r=(...e)=>ao(e[0])&&ao(e[0].raw)?vo(r,bo(r,...e)):vo(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,fo),r._generator=e,r._styler=t,r._isEmpty=n,r},vo=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:i}=n;if(-1!==t.indexOf(""))for(;void 0!==n;)t=io(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=oo(t,i,r,o)),r+t+i};let yo;const bo=(e,...t)=>{const[n]=t;if(!ao(n)||!ao(n.raw))return t.join(" ");const r=t.slice(1),i=[n.raw[0]];for(let o=1;o0&&r(l)?n>1?e(l,n-1,r,i,o):wo(o,l):i||(o[o.length]=l)}return o},Wo=function(e){return null!=e&&e.length?Ho(e,1):[]};const Uo={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>wi.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Uo.key(e):""===t?"".concat(Uo.key(e)," without an argument"):"".concat(Uo.key(e),"=").concat(t)};class Go extends wi.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=t.slice().sort()}preprocess(e,t){if("string"==typeof e&&0!==e.length&&!this._flags.includes(e)){const n=this._flags.find(t=>Ei(t,e)<3);if(n)return t.logger.warn(["Unknown flag ".concat(xo.yellow(t.descriptor.value(e)),","),"did you mean ".concat(xo.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let Yo;function Ko(t,n,{logger:r,isCLI:i=!1,passThrough:o=!1}={}){const a=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const i=e(r.schemas,["_"]);return wi.levenUnknownHandler(t,n,Object.assign({},r,{schemas:i}))},s=i?Uo:wi.apiDescriptor,l=function(e,{isCLI:t}){const n=[];t&&n.push(wi.AnySchema.create({name:"_"}));for(const r of e)n.push(Xo(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(wi.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:i}),u=new wi.Normalizer(l,{logger:r,unknown:a,descriptor:s}),c=!1!==r;c&&Yo&&(u._hasDeprecationWarned=Yo);const h=u.normalize(t);return c&&(Yo=u._hasDeprecationWarned),h}function Xo(e,{isCLI:t,optionInfos:n}){let r;const i={name:e.name},o={};switch(e.type){case"int":r=wi.IntegerSchema,t&&(i.preprocess=e=>Number(e));break;case"string":r=wi.StringSchema;break;case"choice":r=wi.ChoiceSchema,i.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=wi.BooleanSchema;break;case"flag":r=Go,i.flags=Wo(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=wi.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(o.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?t[t.length-1]:t),r)}return e.array?wi.ArraySchema.create(Object.assign({},t?{preprocess:e=>[].concat(e)}:{},o,{valueSchema:r.create(i)})):r.create(Object.assign({},i,o))}var Jo={normalizeApiOptions:function(e,t,n){return Ko(e,t,n)},normalizeCliOptions:function(e,t,n){return Ko(e,t,Object.assign({isCLI:!0},n))}};function Zo(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return Zo(t[0])}return e.range?e.range[0]:e.start}function Qo(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,Qo(e.typeAnnotation)):t}var ea={locStart:Zo,locEnd:Qo,composeLoc:function(e,t=e){const n=Zo(e);return[n,"number"==typeof t?n+t:Qo(t)]}},ta=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}})),na=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=u,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0,r=Array.from(e);ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,a)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):l(e,a)||l(e,s))))}})),ra=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=s,t.isStrictReservedWord=l,t.isStrictBindOnlyReservedWord=u,t.isStrictBindReservedWord=function(e,t){return l(e,t)||u(e)},t.isKeyword=function(e){return i.has(e)};const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],i=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),o=new Set(n),a=new Set(r);function s(e,t){return t&&"await"===e||"enum"===e}function l(e,t){return s(e,t)||o.has(e)}function u(e){return a.has(e)}})),ia=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return na.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return na.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return na.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return ra.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return ra.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return ra.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return ra.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return ra.isKeyword}})})),oa=/[|\\{}()[\]^$+*?.]/g,aa=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(oa,"\\$&")},sa={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},la=He((function(e){var t={};for(var n in sa)sa.hasOwnProperty(n)&&(t[sa[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a;return s===a?t=0:r===s?t=(i-o)/l:i===s?t=2+(o-r)/l:o===s&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),h=function(e){return(u-e)/6/c+.5};return 0===c?i=o=0:(o=c/u,t=h(a),n=h(s),r=h(l),a===u?i=r-n:s===u?i=1/3+t-r:l===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*u]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in sa)if(sa.hasOwnProperty(s)){var l=sa[s],u=(i=e,o=l,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));u.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),r=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(r=1-r),i=u+r*((n=1-c)-u),t){default:case 6:case 0:o=n,a=i,s=u;break;case 1:o=i,a=n,s=u;break;case 2:o=u,a=n,s=i;break;case 3:o=u,a=i,s=n;break;case 4:o=i,a=u,s=n;break;case 5:o=n,a=u,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,l=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function ua(e){var t=function(){for(var e={},t=Object.keys(la),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var da=pa,fa=He((function(e){const t=(e,t)=>function(){const n=e.apply(da,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(da,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(da,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(da)){if("object"!=typeof da[s])continue;const e=da[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(i.color.ansi[s]=t(e.ansi16,0),i.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[s]=n(e.ansi256,0),i.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[s]=r(e.rgb,0),i.bgColor.ansi16m[s]=r(e.rgb,10))}return i}})}));const ma=Re.env;let ga;function va(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===ga)return 0;if(Ir("color=16m")||Ir("color=full")||Ir("color=truecolor"))return 3;if(Ir("color=256"))return 2;if(e&&!e.isTTY&&!0!==ga)return 0;const t=ga?1:0;if("win32"===Re.platform){const e=Mr.release().split(".");return Number(Re.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in ma)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in ma)||"codeship"===ma.CI_NAME?1:t;if("TEAMCITY_VERSION"in ma)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ma.TEAMCITY_VERSION)?1:0;if("truecolor"===ma.COLORTERM)return 3;if("TERM_PROGRAM"in ma){const e=parseInt((ma.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ma.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ma.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ma.TERM)||"COLORTERM"in ma?1:(ma.TERM,t)}(e))}Ir("no-color")||Ir("no-colors")||Ir("color=false")?ga=!1:(Ir("color")||Ir("colors")||Ir("color=true")||Ir("color=always"))&&(ga=!0),"FORCE_COLOR"in ma&&(ga=0===ma.FORCE_COLOR.length||0!==parseInt(ma.FORCE_COLOR,10));var ya={supportsColor:va,stdout:va(Re.stdout),stderr:va(Re.stderr)};const ba=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Da=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,xa=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,wa=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ca=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function _a(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ca.get(e)||e}function ka(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(xa)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(wa,(e,t,n)=>t?_a(t):n))}else n.push(Number(o));return n}function Ea(e){Da.lastIndex=0;const t=[];let n;for(;null!==(n=Da.exec(e));){const e=n[1];if(n[2]){const r=ka(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Sa(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Aa=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(ba,(t,o,a,s,l,u)=>{if(o)i.push(_a(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:Sa(e,n)(t)),n.push({inverse:a,styles:Ea(s)})}else if(l){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Sa(e,n)(i.join(""))),i=[],n.pop()}else i.push(u)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},Fa=He((function(e){const t=ya.stdout,n="win32"===Re.platform&&!(Re.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}a(this,e)}n&&(fa.blue.open="");for(const p of Object.keys(fa))fa[p].closeRe=new RegExp(aa(fa[p].close),"g"),o[p]={get(){const e=fa[p];return u.call(this,this._styles?this._styles.concat(e):[e],this._empty,p)}};o.visible={get(){return u.call(this,this._styles||[],!0,"visible")}},fa.color.closeRe=new RegExp(aa(fa.color.close),"g");for(const p of Object.keys(fa.color.ansi))i.has(p)||(o[p]={get(){const e=this.level;return function(){const t=fa.color[r[e]][p].apply(null,arguments),n={open:t,close:fa.color.close,closeRe:fa.color.closeRe};return u.call(this,this._styles?this._styles.concat(n):[n],this._empty,p)}}});fa.bgColor.closeRe=new RegExp(aa(fa.bgColor.close),"g");for(const p of Object.keys(fa.bgColor.ansi))i.has(p)||(o["bg"+p[0].toUpperCase()+p.slice(1)]={get(){const e=this.level;return function(){const t=fa.bgColor[r[e]][p].apply(null,arguments),n={open:t,close:fa.bgColor.close,closeRe:fa.bgColor.closeRe};return u.call(this,this._styles?this._styles.concat(n):[n],this._empty,p)}}});const l=Object.defineProperties(()=>{},o);function u(e,t,n){const r=function e(){return c.apply(e,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=l,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;ni(e)).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};var n,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(ta),i=(n=Fa)&&n.__esModule?n:{default:n};function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}const a=/\r\n|[\n\r\u2028\u2029]/,s=/^[a-z][\w-]*$/i,l=/^[()[\]{}]$/;function u(e){return i.default.supportsColor||e.forceColor}function c(e){let t=i.default;return e.forceColor&&(t=new i.default.constructor({enabled:!0,level:1})),t}})),Oa=He((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(e,t,n,r={}){if(!i){i=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";Re.emitWarning?Re.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return n=Math.max(n,0),a(e,{start:{column:n,line:t}},r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(Ta);function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}let i=!1;const o=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),a=(0,n.getChalk)(r),s=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(a),l=(e,t)=>i?e(t):t,u=e.split(o),{start:c,end:h,markerLines:p}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:a=3}=n||{},s=r.line,l=r.column,u=i.line,c=i.column;let h=Math.max(s-(o+1),0),p=Math.min(t.length,u+a);-1===s&&(h=0),-1===u&&(p=t.length);const d=u-s,f={};if(d)for(let m=0;m<=d;m++){const e=m+s;if(l)if(0===m){const n=t[e-1].length;f[e]=[l,n-l+1]}else if(m===d)f[e]=[0,c];else{const n=t[e-m].length;f[e]=[0,n]}else f[e]=!0}else f[s]=l===c?!l||[l,0]:[l,c-l];return{start:h,end:p,markerLines:f}}(t,u,r),d=t.start&&"number"==typeof t.start.column,f=String(h).length;let m=(i?(0,n.default)(e,r):e).split(o).slice(c,h).map((e,t)=>{const n=c+1+t,i=" ".concat(n).slice(-f),o=" ".concat(i," | "),a=p[n],u=!p[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),i=a[1]||1;t=["\n ",l(s.gutter,o.replace(/\d/g," ")),n,l(s.marker,"^").repeat(i)].join(""),u&&r.message&&(t+=" "+l(s.message,r.message))}return[l(s.marker,">"),l(s.gutter,o),e,t].join("")}return" ".concat(l(s.gutter,o)).concat(e)}).join("\n");return r.message&&!d&&(m="".concat(" ".repeat(f+1)).concat(r.message,"\n").concat(m)),i?a.reset(m):m}}));const{ConfigError:Na}=vr,{locStart:La,locEnd:Pa}=ea,ja=Object.getOwnPropertyNames,Ba=Object.getOwnPropertyDescriptor;function Ma(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of ja(n.parsers))Object.defineProperty(t,e,Ba(n.parsers,e));return t}function Ia(e,t){if(t=t||Ma(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:La,locEnd:Pa};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Na("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var $a={parse:function(e,t){const n=Ma(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),i=Ia(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const r=Oa;throw t.codeFrame=r.codeFrameColumns(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Ia};const{UndefinedParserError:Ra}=vr,{getSupportInfo:qa}=bt,{resolveParser:za}=$a,Va={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ha(e,t){const n=fn.basename(e).toLowerCase(),r=qa({plugins:t}).languages.filter(e=>null!==e.since);let i=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!i&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=hr.openSync(e,"r")}catch(e){return""}try{const n=new pr(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];const i=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(e){return""}finally{try{hr.closeSync(t)}catch(e){}}}(e);i=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return i&&i.parsers[0]}var Wa={normalize:function(e,t){t=t||{};const n=Object.assign({},e),r=qa({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign({},Va,dr(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Ha(n.filepath,n.plugins),!n.parser)throw new Ra("No parser could be inferred for file: ".concat(n.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."),n.parser="babel";const o=za(Jo.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const a=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=a.printers[n.astFormat];const s=r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[a.name]).reduce((e,t)=>Object.assign(e,{[t.name]:t.pluginDefaults[a.name]}),{}),l=Object.assign({},i,s);return Object.keys(l).forEach(e=>{null==n[e]&&(n[e]=l[e])}),"json"===n.parser&&(n.trailingComma="none"),Jo.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Va)},t))},hiddenDefaults:Va,inferParser:Ha},Ua=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const i={};for(const o of Object.keys(t))"function"!=typeof t[o]&&(i[o]=e(t[o],n,t));if(n.printer.massageAstNode){const e=n.printer.massageAstNode(t,i,r);if(null===e)return;if(e)return e}return i};function Ga(){}Ga.ok=function(){},Ga.strictEqual=function(){};const{concat:Ya,line:Ka,hardline:Xa,breakParent:Ja,indent:Za,lineSuffix:Qa,join:es,cursor:ts}=cn.builders,{hasNewline:ns,skipNewline:rs,skipSpaces:is,isPreviousLineEmpty:os,addLeadingComment:as,addDanglingComment:ss,addTrailingComment:ls}=$t,us=Symbol("child-nodes");function cs(e,t,n){if(!e)return;const{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if(e[us])return e[us];const a=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.keys(e).filter(e=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(t=>e[t]);return a?(n||Object.defineProperty(e,us,{value:n=[],enumerable:!1}),a.forEach(e=>{cs(e,t,n)}),n):void 0}function hs(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:i,followingNode:o,enclosingNode:a}=e[0],s=n.printer.getGapRegex&&n.printer.getGapRegex(a)||/^[\s(]*$/;let l,u=n.locStart(o);for(l=r;l>0;--l){const r=e[l-1];Ga.strictEqual(r.precedingNode,i),Ga.strictEqual(r.followingNode,o);const a=t.slice(n.locEnd(r),u);if(!s.test(a))break;u=n.locStart(r)}e.forEach((e,t)=>{t1&&c.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function ps(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function ds(e,t,n){const r=n.locStart(t)-1;for(let i=1;i{if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(o(s)-o(t)<=0)return void as(t,s);if(a(s)-a(t)>=0)return void ls(t,s)}!function e(t,n,r){const{locStart:i,locEnd:o}=r,a=cs(t,r);let s,l,u=0,c=a.length;for(;u>1,h=a[t];if(i(h)-i(n)<=0&&o(n)-o(h)<=0)return n.enclosingNode=h,void e(h,n,r);if(o(h)-i(n)<=0)s=h,u=t+1;else{if(!(o(n)-i(h)<=0))throw new Error("Comment location overlaps with node location");l=h,c=t}}if(n.enclosingNode&&"TemplateLiteral"===n.enclosingNode.type){const{quasis:e}=n.enclosingNode,t=ds(e,n,r);s&&ds(e,s,r)!==t&&(s=null),l&&ds(e,l,r)!==t&&(l=null)}s&&(n.precedingNode=s),l&&(n.followingNode=l)}(t,s,r);const{precedingNode:u,enclosingNode:c,followingNode:h}=s,p=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:()=>!1,d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:()=>!1,f=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:()=>!1,m=e.length-1===l;if(ns(n,o(s),{backwards:!0}))p(s,n,r,t,m)||(h?as(h,s):u?ls(u,s):ss(c||t,s));else if(ns(n,a(s)))d(s,n,r,t,m)||(u?ls(u,s):h?as(h,s):ss(c||t,s));else if(f(s,n,r,t,m));else if(u&&h){const e=i.length;e>0&&i[e-1].followingNode!==s.followingNode&&hs(i,n,r),i.push(s)}else u?ls(u,s):h?as(h,s):ss(c||t,s)}),hs(i,n,r),e.forEach(e=>{delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})},printComments:function(e,t,n,r){const i=e.getValue(),o=t(e),a=i&&i.comments;if(!a||0===a.length)return fs(e,n,o);const s=[],l=[r?";":"",o];return e.each(e=>{const t=e.getValue(),{leading:r,trailing:i}=t;if(r){const r=function(e,t){const n=e.getValue(),r=ps(e,t);if(!r)return"";if(t.printer.isBlockComment&&t.printer.isBlockComment(n)){const e=ns(t.originalText,t.locEnd(n))?ns(t.originalText,t.locStart(n),{backwards:!0})?Xa:Ka:" ";return Ya([r,e])}return Ya([r,Xa])}(e,n);if(!r)return;s.push(r);const i=n.originalText,o=rs(i,is(i,n.locEnd(t)));!1!==o&&ns(i,o)&&s.push(Xa)}else i&&l.push(function(e,t){const n=e.getValue(),r=ps(e,t);if(!r)return"";const{printer:i,originalText:o,locStart:a}=t,s=i.isBlockComment&&i.isBlockComment(n);if(ns(o,a(n),{backwards:!0})){const e=os(o,n,a);return Qa(Ya([Xa,e?Xa:"",r]))}let l=Ya([" ",r]);return s||(l=Ya([Qa(l),Ja])),l}(e,n))},"comments"),fs(e,n,Ya(s.concat(l)))},printDanglingComments:function(e,t,n,r){const i=[],o=e.getValue();return o&&o.comments?(e.each(e=>{const n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||i.push(ps(e,t))},"comments"),0===i.length?"":n?es(Xa,i):Za(Ya([Xa,es(Xa,i)]))):""},getSortedChildNodes:cs,ensureAllCommentsPrinted:function(e){e&&e.forEach(e=>{if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed})}};function gs(e,t){const n=vs(e.stack,t);return-1===n?null:e.stack[n]}function vs(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var ys=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return me(this.stack)}getNode(e=0){return gs(this,e)}getParentNode(e=0){return gs(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let i=me(n);for(const a of t)i=i[a],n.push(a,i);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=vs(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e,...t){const{stack:n}=this,{length:r}=n;let i=me(n);for(const o of t)i=i[o],n.push(o,i);for(let o=0;ofunction(e,t,n,r,{stripTrailingHardline:i=!1}={}){const o=Ds(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),a=$a.parse(e,o),{ast:s}=a;e=a.text;const l=s.comments;delete s.comments,ms.attach(l,s,e,o),o[Symbol.for("comments")]=l||[],o[Symbol.for("tokens")]=s.tokens||[];const u=r(s,o);return ms.ensureAllCommentsPrinted(l),i?"string"==typeof u?u.replace(/(?:\r?\n)*$/,""):bs(u,!0):u}(e,t,n,r,i),n)}};const ws=cn,Cs=ws.builders,{concat:_s,hardline:ks,addAlignmentToDoc:Es}=Cs,Ss=ws.utils;function As(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const i=new Map;let o=function e(n,o){const a=n.getValue(),s=a&&"object"==typeof a&&void 0===o;if(s&&i.has(a))return i.get(a);let l;return l=r.willPrintOwnComments&&r.willPrintOwnComments(n,t)?Fs(n,t,e,o):ms.printComments(n,n=>Fs(n,t,e,o),t,o&&o.needsSemi),s&&i.set(a,l),l}(new ys(e));return n>0&&(o=Es(_s([ks,o]),n,t.tabWidth)),Ss.propagateBreaks(o),o}function Fs(e,t,n,r){Ga.ok(e instanceof ys);const i=e.getValue(),{printer:o}=t;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,a=i(e),s=o(e);for(const l of r)i(l)>=a&&o(l)<=s&&(l.printed=!0);return n.slice(a,s)}(i,t);if(i)try{const r=xs.printSubtree(e,n,t,As);if(r)return r}catch(e){if(Ve.PRETTIER_DEBUG)throw e}return o.print(e,t,n,r)}var Ts=As;function Os(e,t,n,r,i=[]){if(!(tn.locEnd(e))){for(const o of ms.getSortedChildNodes(e,n)){const a=Os(o,t,n,r,[e,...i]);if(a)return a}return!r||r(e)?{node:e,parentNodes:i}:void 0}}const Ns=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"]),Ls=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Ps(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":return function(e){return"Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration")}(t.type);case"json":return Ns.has(t.type);case"graphql":return Ls.has(t.kind);case"vue":return"root"!==t.tag}return!1}var js={calculateRange:function(e,t,n){const r=e.slice(t.rangeStart,t.rangeEnd),i=Math.max(t.rangeStart+r.search(/\S/),t.rangeStart);let o;for(o=t.rangeEnd;o>t.rangeStart&&!/\S/.test(e[o-1]);--o);const a=Os(n,i,t,e=>Ps(t,e)),s=Os(n,o,t,e=>Ps(t,e));if(!a||!s)return{rangeStart:0,rangeEnd:0};const{startNode:l,endNode:u}=function(e,t,n){let r=e.node,i=t.node;if(r===i)return{startNode:r,endNode:i};for(const o of t.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locStart(o)>=n.locStart(e.node)))break;i=o}for(const o of e.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locEnd(o)<=n.locEnd(t.node)))break;r=o}return{startNode:r,endNode:i}}(a,s,t);return{rangeStart:Math.min(t.locStart(l),t.locStart(u)),rangeEnd:Math.max(t.locEnd(l),t.locEnd(u))}},findNodeAtOffset:Os},Bs=We(Z);const{printer:{printDocToString:Ms},debug:{printDocToDebug:Is}}=cn,{getAlignmentSize:$s}=$t,{guessEndOfLine:Rs,convertEndOfLineToChars:qs,countEndOfLineChars:zs,normalizeEndOfLine:Vs}=Rt,Hs=Wa.normalize,Ws=Symbol("cursor");function Us(e,t,n){const r=t.comments;return r&&(delete t.comments,ms.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function Gs(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:-1};n=n||0;const r=$a.parse(e,t),{ast:i}=r;if(e=r.text,t.cursorOffset>=0){const e=js.findNodeAtOffset(i,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const o=Us(e,i,t),a=Ts(i,t,n),s=Ms(a,t);if(ms.ensureAllCommentsPrinted(o),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+qs(t.endOfLine)}if(t.cursorOffset>=0){let n,r,i,o,a;if(t.cursorNode&&s.cursorNodeText?(n=t.locStart(t.cursorNode),r=e.slice(n,t.locEnd(t.cursorNode)),i=t.cursorOffset-n,o=s.cursorNodeStart,a=s.cursorNodeText):(n=0,r=e,i=t.cursorOffset,o=0,a=s.formatted),r===a)return{formatted:s.formatted,cursorOffset:o+i};const l=r.split("");l.splice(i,0,Ws);const u=a.split(""),c=Bs.diffArrays(l,u);let h=o;for(const e of c)if(e.removed){if(e.value.includes(Ws))break}else h+=e.count;return{formatted:s.formatted,cursorOffset:h}}return{formatted:s.formatted,cursorOffset:-1}}function Ys(e,t){const n=$a.resolveParser(t),r="\ufeff"===e.charAt(0);let i=r?e.slice(1):e;const o=t.cursorOffset>=0;o||(t.cursorOffset=-1);const a=!n.hasPragma||n.hasPragma(i);if(t.requirePragma&&!a)return{formatted:e,cursorOffset:t.cursorOffset};"auto"===t.endOfLine&&(t.endOfLine=Rs(i));const s=t.rangeStart>0,l=t.rangeEndzs(i.slice(0,e),"\r\n");o&&(t.cursorOffset-=e(t.cursorOffset)),s&&(t.rangeStart-=e(t.rangeStart)),l&&(t.rangeEnd-=e(t.rangeEnd)),i=Vs(i)}let u;return t.rangeStart<0&&(t.rangeStart=0),t.rangeEnd>i.length&&(t.rangeEnd=i.length),s||l?u=function(e,t){const n=$a.parse(e,t),{ast:r}=n;e=n.text;const{rangeStart:i,rangeEnd:o}=js.calculateRange(e,t,r),a=e.slice(i,o),s=Math.min(i,e.lastIndexOf("\n",i)+1),l=e.slice(s,i).match(/^\s*/)[0],u=$s(l,t.tabWidth),c=Gs(a,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>i&&t.cursorOffset=o?p=t.cursorOffset+(h.length-a.length):c.cursorOffset>=0&&(p=c.cursorOffset+i);let d=e.slice(0,i)+h+e.slice(o);if("lf"!==t.endOfLine){const e=qs(t.endOfLine);p>=0&&"\r\n"===e&&(p+=zs(d.slice(0,p),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:p}}(i,t):(!a&&t.insertPragma&&t.printer.insertPragma&&(i=t.printer.insertPragma(i)),u=Gs(i,t)),r&&(u.formatted="\ufeff"+u.formatted,o&&u.cursorOffset>=0&&u.cursorOffset++),u}var Ks={formatWithCursor:(e,t)=>Ys(e,t=Hs(t)),parse(e,t,n){t=Hs(t),e=Vs("\ufeff"===e.charAt(0)?e.slice(1):e);const r=$a.parse(e,t);return n&&(r.ast=Ua(r.ast,t)),r},formatAST(e,t){t=Hs(t);const n=Ts(e,t);return Ms(n,t)},formatDoc(e,t){return t=Hs(Object.assign({},t,{parser:"babel"})),Ys(Is(e),t).formatted},printToDoc(e,t){t=Hs(t);const n=$a.parse(e,t),{ast:r,text:i}=n;return Us(i,r,t),Ts(r,t)},printDocToString:(e,t)=>Ms(e,Hs(t))};const{getMaxContinuousCount:Xs,getStringWidth:Js,getAlignmentSize:Zs,getIndentSize:Qs,skip:el,skipWhitespace:tl,skipSpaces:nl,skipNewline:rl,skipToLineEnd:il,skipEverythingButNewLine:ol,skipInlineComment:al,skipTrailingComment:sl,hasNewline:ll,hasNewlineInRange:ul,hasSpaces:cl,isNextLineEmpty:hl,isNextLineEmptyAfterIndex:pl,isPreviousLineEmpty:dl,getNextNonSpaceNonCommentCharacterIndex:fl,makeString:ml,addLeadingComment:gl,addDanglingComment:vl,addTrailingComment:yl}=$t;var bl={getMaxContinuousCount:Xs,getStringWidth:Js,getAlignmentSize:Zs,getIndentSize:Qs,skip:el,skipWhitespace:tl,skipSpaces:nl,skipNewline:rl,skipToLineEnd:il,skipEverythingButNewLine:ol,skipInlineComment:al,skipTrailingComment:sl,hasNewline:ll,hasNewlineInRange:ul,hasSpaces:cl,isNextLineEmpty:hl,isNextLineEmptyAfterIndex:pl,isPreviousLineEmpty:dl,getNextNonSpaceNonCommentCharacterIndex:fl,makeString:ml,addLeadingComment:gl,addDanglingComment:vl,addTrailingComment:yl},Dl=function(t,n){const{languageId:r}=t,i=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},i,n(t))};const{getLast:xl,hasNewline:wl,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Cl,getNextNonSpaceNonCommentCharacter:_l,hasNewlineInRange:kl,isNodeIgnoreComment:El,addLeadingComment:Sl,addTrailingComment:Al,addDanglingComment:Fl,getNextNonSpaceNonCommentCharacterIndex:Tl}=$t;function Ol(e,t){const n=(e.body||e.properties).filter(e=>"EmptyStatement"!==e.type);0===n.length?Fl(e,t):Sl(n[0],t)}function Nl(e,t){"BlockStatement"===e.type?Ol(e,t):Sl(e,t)}function Ll(e,t,n,r,i,o){return!(!n||"IfStatement"!==n.type||!r)&&(")"===_l(e,i,o.locEnd)?(Al(t,i),!0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Al(t,i):Fl(n,i),!0):"BlockStatement"===r.type?(Ol(r,i),!0):"IfStatement"===r.type?(Nl(r.consequent,i),!0):n.consequent===r&&(Sl(r,i),!0))}function Pl(e,t,n,r,i,o){return!(!n||"WhileStatement"!==n.type||!r)&&(")"===_l(e,i,o.locEnd)?(Al(t,i),!0):"BlockStatement"===r.type&&(Ol(r,i),!0))}function jl(e,t,n,r){return!(!e||"TryStatement"!==e.type&&"CatchClause"!==e.type||!n)&&("CatchClause"===e.type&&t?(Al(t,r),!0):"BlockStatement"===n.type?(Ol(n,r),!0):"TryStatement"===n.type?(Nl(n.finalizer,r),!0):"CatchClause"===n.type&&(Nl(n.body,r),!0))}function Bl(e,t,n,r){if(e&&("ClassDeclaration"===e.type||"ClassExpression"===e.type||"DeclareClass"===e.type||"DeclareInterface"===e.type||"InterfaceDeclaration"===e.type||"TSInterfaceDeclaration"===e.type)){if(e.decorators&&e.decorators.length>0&&(!n||"Decorator"!==n.type))return Al(e.decorators[e.decorators.length-1],r),!0;if(e.body&&n===e.body)return Ol(e.body,r),!0;if(n)for(const i of["implements","extends","mixins"])if(e[i]&&n===e[i][0])return!t||t!==e.id&&t!==e.typeParameters&&t!==e.superClass?Fl(e,r,i):Al(t,r),!0}return!1}function Ml(e,t,n,r,i){return(t&&n&&("Property"===t.type||"TSDeclareMethod"===t.type||"TSAbstractMethodDefinition"===t.type)&&"Identifier"===n.type&&t.key===n&&":"!==_l(e,n,i.locEnd)||!(!n||!t||"Decorator"!==n.type||"ClassMethod"!==t.type&&"ClassProperty"!==t.type&&"TSAbstractClassProperty"!==t.type&&"TSAbstractMethodDefinition"!==t.type&&"TSDeclareMethod"!==t.type&&"MethodDefinition"!==t.type))&&(Al(n,r),!0)}function Il(e,t,n,r,i,o){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return Al(t,i),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&Vl(n)&&")"===_l(e,i,o.locEnd))return Al(t,i),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const t=(()=>{if(0!==(n.params||n.parameters).length)return Cl(e,o.locEnd(xl(n.params||n.parameters)));const t=Cl(e,o.locEnd(n.id));return!1!==t&&Cl(e,t+1)})();if(o.locStart(i)>t)return Ol(r,i),!0}return!1}function $l(e,t){return!(!e||"ImportSpecifier"!==e.type)&&(Sl(e,t),!0)}function Rl(e,t){return!(!e||"LabeledStatement"!==e.type)&&(Sl(e,t),!0)}function ql(e,t,n,r){return t&&t.body&&0===t.body.length?(r?Fl(t,n):Sl(t,n),!0):!(!e||"Program"!==e.type||0!==e.body.length||!e.directives||0!==e.directives.length)&&(r?Fl(e,n):Sl(e,n),!0)}function zl(e){return"Block"===e.type||"CommentBlock"===e.type}function Vl(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||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Hl(e){return zl(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Wl={handleOwnLineComment:function(e,t,n,r,i){const{precedingNode:o,enclosingNode:a,followingNode:s}=e;return Il(t,o,a,s,e,n)||function(e,t,n){return!(!e||"MemberExpression"!==e.type&&"OptionalMemberExpression"!==e.type||!t||"Identifier"!==t.type)&&(Sl(e,n),!0)}(a,s,e)||Ll(t,o,a,s,e,n)||Pl(t,o,a,s,e,n)||jl(a,o,s,e)||Bl(a,o,s,e)||$l(a,e)||function(e,t,n){return!(!e||"ForInStatement"!==e.type&&"ForOfStatement"!==e.type)&&(Sl(e,n),!0)}(a,0,e)||function(e,t,n,r){return!t||"UnionTypeAnnotation"!==t.type&&"TSUnionType"!==t.type?(n&&("UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)&&El(r)&&(n.types[0].prettierIgnore=!0,r.unignore=!0),!1):(El(r)&&(n.prettierIgnore=!0,r.unignore=!0),!!e&&(Al(e,r),!0))}(o,a,s,e)||ql(a,r,e,i)||function(e,t,n,r,i){return!!(n&&"ImportSpecifier"===n.type&&t&&"ImportDeclaration"===t.type&&wl(e,i.locEnd(r)))&&(Al(n,r),!0)}(t,a,o,e,n)||function(e,t){return!(!e||"AssignmentPattern"!==e.type)&&(Sl(e,t),!0)}(a,e)||Ml(t,a,o,e,n)||Rl(a,e)},handleEndOfLineComment:function(e,t,n,r,i){const{precedingNode:o,enclosingNode:a,followingNode:s}=e;return function(e,t){return!(!e||!Hl(t))&&(Sl(e,t),!0)}(s,e)||Il(t,o,a,s,e,n)||function(e,t,n,r,i,o){const a=t&&!kl(i,o.locEnd(t),o.locStart(r));return!(t&&a||!e||"ConditionalExpression"!==e.type&&"TSConditionalType"!==e.type||!n)&&(Sl(n,r),!0)}(a,o,s,e,t,n)||$l(a,e)||Ll(t,o,a,s,e,n)||Pl(t,o,a,s,e,n)||jl(a,o,s,e)||Bl(a,o,s,e)||Rl(a,e)||function(e,t,n){return!!(t&&("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&e&&t.callee===e&&t.arguments.length>0)&&(Sl(t.arguments[0],n),!0)}(o,a,e)||function(e,t){return!(!e||"Property"!==e.type&&"ObjectProperty"!==e.type)&&(Sl(e,t),!0)}(a,e)||ql(a,r,e,i)||function(e,t,n){return!(!e||"TypeAlias"!==e.type)&&(Sl(e,n),!0)}(a,0,e)||function(e,t,n){return!(!e||"VariableDeclarator"!==e.type&&"AssignmentExpression"!==e.type||!t||"ObjectExpression"!==t.type&&"ArrayExpression"!==t.type&&"TemplateLiteral"!==t.type&&"TaggedTemplateExpression"!==t.type&&!zl(n))&&(Sl(t,n),!0)}(a,s,e)},handleRemainingComment:function(e,t,n,r,i){const{precedingNode:o,enclosingNode:a,followingNode:s}=e;return!!(Ll(t,o,a,s,e,n)||Pl(t,o,a,s,e,n)||function(e,t,n){return!(!e||"ObjectProperty"!==e.type&&"Property"!==e.type||!e.shorthand||e.key!==t||"AssignmentPattern"!==e.value.type)&&(Al(e.value.left,n),!0)}(a,o,e)||function(e,t,n,r){return")"===_l(e,n,r.locEnd)&&(t&&(Vl(t)&&0===(t.params||t.parameters).length||("CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type)&&0===t.arguments.length)?(Fl(t,n),!0):!(!t||"MethodDefinition"!==t.type||0!==t.value.params.length)&&(Fl(t.value,n),!0))}(t,a,e,n)||Ml(t,a,o,e,n)||ql(a,r,e,i)||function(e,t,n,r){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const i=Tl(e,n,r.locEnd);return!1!==i&&"=>"===e.slice(i,i+2)&&(Fl(t,n),!0)}(t,a,e,n)||function(e,t,n,r,i){return"("===_l(e,r,i.locEnd)&&(!(!n||!t||"FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"MethodDefinition"!==t.type&&"ObjectMethod"!==t.type)&&(Al(n,r),!0))}(t,a,o,e,n)||function(e,t,n,r,i){return!(!t||"TSMappedType"!==t.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Sl(r.name,i),!0):!(!n||"TSTypeParameter"!==n.type||!n.constraint)&&(Al(n.constraint,i),!0))}(0,a,o,s,e)||function(e,t){return!(!e||"ContinueStatement"!==e.type&&"BreakStatement"!==e.type||e.label)&&(Al(e,t),!0)}(a,e)||function(e,t,n,r,i){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==_l(e,r,i.locEnd))&&(Al(t,r),!0)}(t,a,s,e,n))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some(e=>e.leading&&t(e))},isBlockComment:zl,isTypeCastComment:Hl,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===e.value.params.length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}};const{builders:{indent:Ul,join:Gl,line:Yl,hardline:Kl,softline:Xl,literalline:Jl,concat:Zl,group:Ql,dedentToRoot:eu},utils:{mapDoc:tu}}=cn,{isBlockComment:nu,hasLeadingComment:ru}=Wl;function iu(e){return e.replace(/([\\`]|\${)/g,"\\$1")}function ou(e,t){return tu(e,e=>{if(!e.parts)return e;const n=e.parts.map(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):iu(e):e);return Object.assign({},e,{parts:n})})}function au(e){const t=[];let n=!1;return e.map(e=>e.trim()).forEach((e,r,i)=>{""!==e&&(""===i[r-1]&&n?t.push(Zl([Kl,e])):t.push(e),n=!0)}),0===t.length?null:Gl(Kl,t)}function su(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function lu(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...uu)}const uu=[(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 cu(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return pu(n.object)||du(n);case"CallExpression":return pu(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(pu(n.callee.object.object)||du(n.callee.object))||"CallExpression"===n.callee.object.type&&pu(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function hu(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function pu(e){return"Identifier"===e.type&&"styled"===e.name}function du(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function fu(e,t){return ru(e,e=>nu(e)&&e.value===" ".concat(t," "))}let mu=0;var gu=function(e,t,n,r){const i=e.getValue(),o=e.getParentNode(),a=e.getParentNode(1);switch(i.type){case"TemplateLiteral":{if([su,cu,hu,lu].some(t=>t(e))){const r=i.quasis.map(e=>e.value.raw);let o=0;const a=r.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,"");return function(e,t,n){const r=t.getValue();if(1===r.quasis.length&&!r.quasis[0].value.raw.trim())return"``";const i=r.expressions?t.map(n,"expressions"):[],o=function(e,t){if(!t||!t.length)return e;let n=0;const r=tu(e,e=>{if(!e||!e.parts||!e.parts.length)return e;let{parts:r}=e;const i=r.indexOf("@"),o=i+1;if(i>-1&&"string"==typeof r[o]&&r[o].startsWith("prettier-placeholder")){const e=r[i],t=r[o],n=r.slice(o+1);r=r.slice(0,i).concat([e+t]).concat(n)}const a=[];return r.forEach(e=>{"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).forEach((e,r)=>{r%2!=0?(a.push("${",t[e],"}"),n++):a.push(e)}):a.push(e)}),Object.assign({},e,{parts:a})});return t.length===n?r:null}(e,i);if(!o)throw new Error("Couldn't insert all the expressions");return Zl(["`",Ul(Zl([Kl,o])),Xl,"`"])}(n(a,{parser:"scss"},{stripTrailingHardline:!0}),e,t)}if(function(e){const t=e.getValue(),n=e.getParentNode();return fu(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)){const r=i.expressions?e.map(t,"expressions"):[],o=i.quasis.length;if(1===o&&""===i.quasis[0].value.raw.trim())return"``";const a=[];for(let e=0;e2&&""===u[0].trim()&&""===u[1].trim(),d=c>2&&""===u[c-1].trim()&&""===u[c-2].trim(),f=u.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!s&&/#[^\n\r]*$/.test(u[c-1]))return null;let m=null;m=f?au(u):n(l,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=ou(m,!1),!t&&p&&a.push(""),a.push(m),!s&&d&&a.push("")):t||s||!p||a.push(""),h&&a.push(Zl(["${",h,"}"]))}return Zl(["`",Ul(Zl([Kl,Gl(Kl,a)])),Kl,"`"])}const o=function(e){return fu(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)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...uu)}(e)?"angular":void 0;if(o)return function(e,t,n,r,i){const o=e.getValue(),a=mu;mu=mu+1>>>0;const s=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(a,"_IN_JS"),l=o.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+s(t)).join(""),u=e.map(t,"expressions");if(0===u.length&&0===l.trim().length)return"``";const c=new RegExp(s("(\\d+)"),"g");let h=0;const p=tu(n(l,{parser:r,__onHtmlRoot(e){h=e.children.length}},{stripTrailingHardline:!0}),e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let r=0;r1?Ul(Ql(p)):Ql(p),f,"`"]))}(e,t,n,o,r);break}case"TemplateElement":if(a&&"TaggedTemplateExpression"===a.type&&1===o.quasis.length&&"Identifier"===a.tag.type&&("md"===a.tag.name||"markdown"===a.tag.name)){const e=o.quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`"),t=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(e);return Zl([""!==t?Ul(Zl([Xl,s(e.replace(new RegExp("^".concat(t),"gm"),""))])):Zl([Jl,eu(s(e))]),Xl])}}function s(e){return ou(n(e,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0)}},vu=function(e,t,n){if(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"].forEach(e=>{delete t[e]}),"Program"===e.type&&delete t.sourceType,"BigIntLiteral"===e.type&&(t.value&&(t.value=t.value.toLowerCase()),t.bigint&&(t.bigint=t.bigint.toLowerCase())),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;"Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==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,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name)&&t.children.filter(e=>"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type).map(e=>e.expression).reduce((e,t)=>e.concat(t.quasis),[]).forEach(e=>delete e.value),"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach(e=>delete e.value),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((e,t)=>{let r=null;switch(n[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach(e=>delete e.value)})}"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||t.quasi.quasis.forEach(e=>delete e.value),"TemplateLiteral"===e.type&&((e.leadingComments&&e.leadingComments.some(e=>"CommentBlock"===e.type&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach(e=>delete e.value),e.leadingComments||t.quasis.forEach(e=>{e.value&&delete e.value.cooked})),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd())};const yu=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n"};var bu=yu;bu.graceful=e=>"string"==typeof e&&yu(e)||"\n";var Du=He((function(e,t){function n(){const e=Mr;return n=function(){return e},e}function r(){const e=(t=bu)&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(a);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(a);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return d(e).pragmas},t.parseWithComments=d,t.print=function({comments:e="",pragmas:t={}}){const i=(0,r().default)(e)||n().EOL,o=Object.keys(t),a=o.map(e=>f(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+i).join("");if(!e){if(0===o.length)return"";if(1===o.length&&!Array.isArray(t[o[0]])){const e=t[o[0]];return"".concat("/**"," ").concat(f(o[0],e)[0]).concat(" */")}}const s=e.split(i).map(e=>"".concat(" *"," ").concat(e)).join(i)+i;return"/**"+i+(e?s:"")+(e&&o.length?" *"+i:"")+a+" */"};const i=/\*\/$/,o=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,l=/^(\r?\n)+/,u=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,p=[];function d(e){const t=(0,r().default)(e)||n().EOL;e=e.replace(o,"").replace(i,"").replace(h,"$1");let a="";for(;a!==e;)a=e,e=e.replace(u,"".concat(t,"$1 $2").concat(t));e=e.replace(l,"").trimRight();const d=Object.create(null),f=e.replace(c,"").replace(l,"").trimRight();let m;for(;m=c.exec(e);){const e=m[2].replace(s,"");"string"==typeof d[m[1]]||Array.isArray(d[m[1]])?d[m[1]]=p.concat(d[m[1]],e):d[m[1]]=e}return{comments:f,pragmas:d}}function f(e,t){return p.concat(t).map(t=>"@".concat(e," ").concat(t).trim())}}));const{parseWithComments:xu,strip:wu,extract:Cu,print:_u}=Du,{getShebang:ku}=$t,{normalizeEndOfLine:Eu}=Rt;function Su(e){const t=ku(e);t&&(e=e.slice(t.length+1));const n=Cu(e),{pragmas:r,comments:i}=xu(n);return{shebang:t,text:e,pragmas:r,comments:i}}var Au={hasPragma:function(e){const t=Object.keys(Su(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:i}=Su(e),o=wu(n),a=_u({pragmas:Object.assign({format:""},r),comments:i.trimStart()});return(t?"".concat(t,"\n"):"")+Eu(a)+(o.startsWith("\n")?"\n":"\n\n")+o}},Fu=He((function(e){!function(){function t(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 n(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}e.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:t,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(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Tu=He((function(e){!function(){var t,n,r,i,o,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;e.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&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()})),Ou=He((function(e){!function(){var t=Tu;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(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||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!a(i))return!1;a=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return a(e)&&!i(e,t)},isIdentifierES6:function(e,t){return s(e)&&!o(e,t)}}}()}));const Nu=He((function(e,t){t.ast=Fu,t.code=Tu,t.keyword=Ou})).keyword.isIdentifierNameES5,{getLast:Lu,hasNewline:Pu,hasNewlineInRange:ju,hasIgnoreComment:Bu,hasNodeIgnoreComment:Mu,skipWhitespace:Iu}=$t,$u=new RegExp("^".concat("(?:(?=.)\\s)","*:")),Ru=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function qu(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some(e=>qu(e,t));const n=t(e);return"boolean"==typeof n?n:Object.keys(e).some(n=>qu(e[n],t))}function zu(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}const Vu=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Hu(e){return e&&Vu.has(e.type)}function Wu(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Uu(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function Gu(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Yu(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Ku(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function Xu(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Ju(e){return"get"===e.kind||"set"===e.kind}function Zu(e,t,n){return n.locStart(e)===n.locStart(t)}function Qu(e,t){return Ju(e)||Zu(e,e.value,t)}const ec=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),tc=new Set(["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"]),nc=/^(skip|[fx]?(it|describe|test))$/;function rc(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const ic=new RegExp("([ \n\r\t]+)"),oc=new RegExp("[^ \n\r\t]");function ac(e){return Wu(e)&&(oc.test(cc(e))||!/\n/.test(cc(e)))}function sc(e,t,n){return Xu(t)?Mu(t):t.comments&&t.comments.some(t=>t.leading&&Pu(e,n.locEnd(t)))}function lc(e){return/^(\d+|\d+\.\d+)$/.test(e)}function uc(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function cc(e){return e.extra?e.extra.raw:e.raw}const hc={"==":!0,"!=":!0,"===":!0,"!==":!0},pc={"*":!0,"/":!0,"%":!0},dc={">>":!0,">>>":!0,"<<":!0},fc={};function mc(e){return fc[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((e,t)=>{e.forEach(e=>{fc[e]=t})});var gc={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!n)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type)return!1;const n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},getFlowVariance:function(e){if(!e.variance)return null;const t=e.variance.kind||e.variance;switch(t){case"plus":return"+";case"minus":return"-";default:return t}},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){const t=e.getParentNode();return"declaration"===e.getName()&&Hu(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some(e=>!e.leading&&!e.trailing)},hasFlowAnnotationComment:function(e){return e&&Ru.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&$u.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some(e=>e.leading)},hasLeadingOwnLineComment:sc,hasNakedLeftSide:zu,hasNewlineBetweenOrAfterDecorators:function(e,t){return ju(t.originalText,t.locStart(e.decorators[0]),t.locEnd(Lu(e.decorators)))||Pu(t.originalText,t.locEnd(Lu(e.decorators)))},hasNgSideEffect:function(e){return qu(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})},hasNode:qu,hasPrettierIgnore:function(e){return Bu(e)||function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Xu(t)&&Xu(n)))return!1;let r=null;for(let i=n.children.indexOf(t);i>0;i--){const e=n.children[i-1];if("JSXText"!==e.type||ac(e)){r=e;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.some(e=>"prettier-ignore"===e.value.trim())}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some(e=>e.trailing)},hasTrailingLineComment:function(e){return e.comments&&e.comments.some(e=>e.trailing&&!Wl.isBlockComment(e))},identity:function(e){return e},isBinaryish:function(e){return ec.has(e.type)},isCallOrOptionalCallExpression:rc,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return Wu(t)&&!ac(t)},isExportDeclaration:Hu,isFlowAnnotationComment:function(e,t,n){const r=n.locStart(t),i=Iu(e,n.locEnd(t));return!1!==i&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(i,i+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(Yu(n)){if(t+=1,t>1)return!0}else if(rc(n))for(const e of n.arguments)if(Yu(e))return!0;return!1},isFunctionNotation:Qu,isFunctionOrArrowExpression:Yu,isGetterOrSetter:Ju,isJestEachTemplateLiteral:function(e,t){const n=/^[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&&n.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&&n.test(t.tag.object.object.name))},isJSXNode:Xu,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Wu(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const n=e.getValue(),r=(t.body||t.consequent).filter(e=>"EmptyStatement"!==e.type);return r[r.length-1]===n},isLiteral:Wu,isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return rc(t)&&rc(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&i.length>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||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):"ImportExpression"===t.type?r(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:ac,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Uu,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e,t){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Qu(e,t))},isSimpleFlowType:function(e){return e&&tc.has(e.type)&&!("GenericTypeAnnotation"===e.type&&e.typeParameters)},isSimpleNumber:lc,isSimpleTemplateLiteral:function(e){return 0!==e.expressions.length&&e.expressions.every(e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:Gu,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&Gu(e.key)&&cc(e.key).slice(1,-1)===e.key.value&&(Nu(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||lc(e.key.value)&&String(Number(e.key.value))===e.key.value&&"babel"===t.parser)},isTemplateOnItsOwnLine:function(e,t,n){return("TemplateLiteral"===e.type&&uc(e)||"TaggedTemplateExpression"===e.type&&uc(e.quasi))&&!Pu(t,n.locStart(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Ku(t)&&n&&e(n))return Yu(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return Ku(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&nc.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&nc.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||Gu(t.arguments[0])))return!(t.arguments[2]&&!Uu(t.arguments[2]))&&((2===t.arguments.length?Yu(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&t.arguments[1].params.length<=1)||Ku(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!Xu(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e,t){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Zu(e,e.typeAnnotation,t))},matchJsxWhitespaceRegex:ic,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=Lu(e.comments.filter(e=>!e.leading&&!e.trailing));return t&&!Wl.isBlockComment(t)},rawText:cc,returnArgumentHasLeadingComment:function(e,t){if(sc(e.originalText,t,e))return!0;if(zu(t)){let r,i=t;for(;r=(n=i).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(i=r,sc(e.originalText,i,e))return!0}var n;return!1},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!dc[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return mc(t)===mc(e)&&"**"!==e&&(!hc[e]||!hc[t])&&!("%"===t&&pc[e]||"%"===e&&pc[t])&&(t===e||!pc[t]||!pc[e])&&(!dc[e]||!dc[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getPrecedence:mc};const{getLeftSidePathName:vc,hasFlowShorthandAnnotationComment:yc,hasNakedLeftSide:bc,hasNode:Dc,isBitwiseOperator:xc,startsWithNoLookaheadToken:wc,shouldFlatten:Cc,getPrecedence:_c}=gc;function kc(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),i=e.getNode();if(e.getValue()!==i)return!1;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&Ec(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||"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}(i))return!1;if("flow"!==t.parser&&yc(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name));if("ParenthesizedExpression"===n.type)return!1;if(!("ClassDeclaration"!==n.type&&"ClassExpression"!==n.type||n.superClass!==i||"ArrowFunctionExpression"!==i.type&&"AssignmentExpression"!==i.type&&"AwaitExpression"!==i.type&&"BinaryExpression"!==i.type&&"ConditionalExpression"!==i.type&&"LogicalExpression"!==i.type&&"NewExpression"!==i.type&&"ObjectExpression"!==i.type&&"ParenthesizedExpression"!==i.type&&"SequenceExpression"!==i.type&&"TaggedTemplateExpression"!==i.type&&"UnaryExpression"!==i.type&&"UpdateExpression"!==i.type&&"YieldExpression"!==i.type))return!0;if("ExportDefaultDeclaration"===n.type)return function e(t,n){const r=t.getValue(),i=t.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===i.type||!kc(t,n):!(!bc(r)||"ExportDefaultDeclaration"!==i.type&&kc(t,n))&&t.call(t=>e(t,n),...vc(t,r))}(e,t)||"SequenceExpression"===i.type;if("Decorator"===n.type&&n.expression===i){let e=!1,t=!1,n=i;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===n.type&&n.body===i&&"SequenceExpression"!==i.type&&wc(i,!1)||"ExpressionStatement"===n.type&&wc(i,!0))return!0;switch(i.type){case"SpreadElement":case"SpreadProperty":return"MemberExpression"===n.type&&"object"===r&&n.object===i;case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"**"===n.operator&&"left"===r;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===i.operator)return!0;const t=t=>{let n=0;for(;t;){const r=e.getParentNode(n++);if(!r)return!1;if("ForStatement"===r.type&&r.init===t)return!0;t=r}return!1};if("in"===i.operator&&t(i))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r&&n.superClass===i;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return n.left===i&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":{if(!i.operator&&"TSTypeAssertion"!==i.type)return!0;const e=n.operator,t=_c(e),o=i.operator,a=_c(o);return t>a||(t===a&&"right"===r?(Ga.strictEqual(n.right,i),!0):t===a&&!Cc(e,o)||(t"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("TSConditionalType"===n.type&&i===n.extendsType)return!0;case"TSFunctionType":case"TSConstructorType":if("TSConditionalType"===n.type&&i===n.checkType)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)return!0;case"TSInferType":if("TSInferType"===i.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"TSIndexedAccessType"===n.type&&i===n.objectType||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&i.params&&i.params.some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"MemberExpression"===n.type&&"number"==typeof i.value&&"object"===r&&n.object===i;case"AssignmentExpression":{const t=e.getParentNode(1);return"ArrowFunctionExpression"===n.type&&n.body===i||("ClassProperty"!==n.type||n.key!==i||!n.computed)&&("TSPropertySignature"!==n.type||n.name!==i)&&("ForStatement"!==n.type||n.init!==i&&n.update!==i)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("TSPropertySignature"!==n.type||n.key!==i)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&("Property"!==n.type||n.value!==i)&&"NGChainedExpression"!==n.type)}case"ConditionalExpression":switch(n.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"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r&&n.test===i;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return!(!i.extra||!i.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r&&n.callee===i;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("MemberExpression"===n.type&&"object"===r||("CallExpression"===n.type||"NewExpression"===n.type)&&"callee"===r||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r){let e=i;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("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r||("MemberExpression"===n.type||"OptionalMemberExpression"===n.type)&&"object"===r;case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||!("ObjectProperty"!==n.type||i.extra&&i.extra.parenthesized)||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===i||"NGPipeExpression"===n.type&&"right"===r||"MemberExpression"===n.type&&"property"===r||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"BinaryExpression"===n.type&&"<"===n.operator&&"left"===r||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Dc(e,e=>"ObjectTypeAnnotation"===e.type&&Dc(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(i)}return!1}function Ec(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(Ec);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return t.properties[t.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Ec);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Ec);break;case"UnaryExpression":if(n.prefix)return e.callParent(Ec)}return!1}var Sc=kc;const{builders:{concat:Ac,join:Fc,line:Tc}}=cn;var Oc={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,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const{params:t}=e.getValue();return Ac([t.length>1?"(":"",Fc(Ac([",",Tc]),e.map(n,"params")),t.length>1?")":""])},"program","body",0):t.__isVueSlotScope?e.call(e=>Fc(Ac([",",Tc]),e.map(n,"params")),"program","body",0):void 0}},Nc=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{getLast:Lc,getPenultimate:Pc,isNextLineEmpty:jc}=$t,{hasLeadingComment:Bc,hasTrailingComment:Mc,isFunctionCompositionArgs:Ic,isJSXNode:$c,isLongCurriedCallExpression:Rc,shouldPrintComma:qc}=gc,{builders:{concat:zc,line:Vc,hardline:Hc,softline:Wc,group:Uc,indent:Gc,conditionalGroup:Yc,ifBreak:Kc,breakParent:Xc},utils:{willBreak:Jc}}=cn;function Zc(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&Zc(e.expression)||"TSAsExpression"===e.type&&Zc(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||$c(e.body))}var Qc=function(e,t,n){const r=e.getValue(),i="ImportExpression"===r.type,o=i?[r.source]:r.arguments;if(0===o.length)return zc(["(",ms.printDanglingComments(e,t,!0),")"]);if(2===o.length&&"ArrowFunctionExpression"===o[0].type&&0===o[0].params.length&&"BlockStatement"===o[0].body.type&&"ArrayExpression"===o[1].type&&!o.some(e=>e.comments))return zc(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);let a=!1,s=!1,l=!1;const u=o.length-1,c=(e,r)=>{const i=e.getNode(),o=[n(e)];return r===u||(jc(t.originalText,i,t.locEnd)?(0===r&&(l=!0),a=!0,o.push(",",Hc,Hc)):o.push(",",Vc)),s=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||!e.params||e.params.length<1)return!1;let r=!1;return t.each(e=>{const t=zc([n(e)]);r=r||Jc(t)},"params"),r}(i,e),zc(o)},h=i?[e.call(e=>c(e,0),"source")]:e.map(c,"arguments"),p=i||r.callee&&"Import"===r.callee.type||!qc(t,"all")?"":",";function d(){return Uc(zc(["(",Gc(zc([Vc,zc(h)])),p,Vc,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&Ic(o))return d();const f=function(e){if(2!==e.length)return!1;const[t,n]=e;return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||Zc(n))}(o),m=function(e){const t=Lc(e),n=Pc(e);return!Bc(t)&&!Mc(t)&&Zc(t)&&(!n||n.type!==t.type)}(o);if(f||m){const t=(f?h.slice(1).some(Jc):h.slice(0,-1).some(Jc))||a||s;let u=[],c=0;const p=e=>{f&&0===c&&(u=[zc([e.call(e=>n(e,{expandFirstArg:!0})),h.length>1?",":"",l?Hc:Vc,l?Hc:""])].concat(h.slice(1))),m&&c===o.length-1&&(u=h.slice(0,-1).concat(e.call(e=>n(e,{expandLastArg:!0})))),c++};i?e.call(p,"source"):e.each(p,"arguments");const g=h.some(Jc),v=zc(["(",zc(u),")"]);return zc([g?Xc:"",Yc([g||r.typeArguments||r.typeParameters?Kc(d(),v):v,zc(f?["(",Uc(u[0],{shouldBreak:!0}),zc(u.slice(1)),")"]:["(",zc(h.slice(0,-1)),Uc(Lc(u),{shouldBreak:!0}),")"]),d()],{shouldBreak:t})])}const g=zc(["(",Gc(zc([Wc,zc(h)])),Kc(p),Wc,")"]);return Rc(e)?g:Uc(g,{shouldBreak:h.some(Jc)||a})};const{isNumericLiteral:eh}=gc,{builders:{concat:th,softline:nh,group:rh,indent:ih}}=cn;function oh(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}var ah={printOptionalToken:oh,printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""},printMemberLookup:function(e,t,n){const r=e.call(n,"property"),i=e.getValue(),o=oh(e);return i.computed?!i.property||eh(i.property)?th([o,"[",r,"]"]):rh(th([o,"[",ih(th([nh,r])),nh,"]"])):th([o,".",r])},printBindExpressionCallee:function(e,t,n){return th(["::",e.call(n,"callee")])}};const{getLast:sh,isNextLineEmpty:lh,isNextLineEmptyAfterIndex:uh,getNextNonSpaceNonCommentCharacterIndex:ch}=$t,{hasLeadingComment:hh,hasTrailingComment:ph,isCallOrOptionalCallExpression:dh,isFunctionOrArrowExpression:fh,isLongCurriedCallExpression:mh,isMemberish:gh,isNumericLiteral:vh,isSimpleCallArgument:yh}=gc,{builders:{concat:bh,join:Dh,hardline:xh,group:wh,indent:Ch,conditionalGroup:_h,breakParent:kh},utils:{willBreak:Eh}}=cn,{printOptionalToken:Sh,printFunctionTypeParameters:Ah,printMemberLookup:Fh,printBindExpressionCallee:Th}=ah;var Oh=function(e,t,n){const r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,o=[];function a(e){const{originalText:n}=t,r=ch(n,e,t.locEnd);return")"===n.charAt(r)?!1!==r&&uh(n,r+1):lh(n,e,t.locEnd)}const s=e.getValue();o.unshift({node:s,printed:bh([Sh(e),Ah(e,t,n),Qc(e,t,n)])}),s.callee&&e.call(e=>function e(r){const i=r.getValue();dh(i)&&(gh(i.callee)||dh(i.callee))?(o.unshift({node:i,printed:bh([ms.printComments(r,()=>bh([Sh(r),Ah(r,t,n),Qc(r,t,n)]),t),a(i)?xh:""])}),r.call(t=>e(t),"callee")):gh(i)?(o.unshift({node:i,needsParens:Sc(r,t),printed:ms.printComments(r,()=>"OptionalMemberExpression"===i.type||"MemberExpression"===i.type?Fh(r,t,n):Th(r,t,n),t)}),r.call(t=>e(t),"object")):"TSNonNullExpression"===i.type?(o.unshift({node:i,printed:ms.printComments(r,()=>"!",t)}),r.call(t=>e(t),"expression")):o.unshift({node:i,printed:r.call(n)})}(e),"callee");const l=[];let u=[o[0]],c=1;for(;ce.trailing)&&(l.push(u),u=[],h=!1)}function p(e){return/^[A-Z]|^[$_]+$/.test(e)}u.length>0&&l.push(u);const d=l.length>=2&&!l[1][0].node.comments&&function(e){const n=e[1].length&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(p(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=sh(e[0]).node;return("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&"Identifier"===r.property.type&&(p(r.property.name)||n)}(l);function f(e){const t=e.map(e=>e.printed);return e.length>0&&e[e.length-1].needsParens?bh(["(",...t,")"]):bh(t)}const m=l.map(f),g=bh(m),v=d?3:2,y=Wo(l),b=y.slice(1,-1).some(e=>hh(e.node))||y.slice(0,-1).some(e=>ph(e.node))||l[v]&&hh(l[v][0].node);if(l.length<=v&&!b)return mh(e)?g:wh(g);const D=sh(l[d?1:0]).node,x=!dh(D)&&a(D),w=bh([f(l[0]),d?bh(l.slice(1,2).map(f)):"",x?xh:"",function(e){return 0===e.length?"":Ch(wh(bh([xh,Dh(xh,e.map(f))])))}(l.slice(d?2:1))]),C=o.map(({node:e})=>e).filter(dh);return b||C.length>2&&C.some(e=>!e.arguments.every(e=>yh(e,0)))||m.slice(0,-1).some(Eh)||function(){const e=sh(sh(l)).node,t=sh(m);return dh(e)&&Eh(t)&&C.slice(0,-1).some(e=>e.arguments.some(fh))}()?wh(w):bh([Eh(g)||x?kh:"",_h([g,w])])};const{builders:{concat:Nh,softline:Lh,group:Ph,indent:jh,join:Bh,line:Mh,ifBreak:Ih}}=cn,{shouldPrintComma:$h}=gc;var Rh={printModuleSource:function(e,t,n){return e.getValue().source?Nh([" from ",e.call(n,"source")]):""},printModuleSpecifiers:function(e,t,n){const r=e.getValue(),i=["ImportDeclaration"===r.type?" ":""];if(r.specifiers&&r.specifiers.length>0){const o=[],a=[];e.each(t=>{const r=e.getValue().type;if("ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportDefaultSpecifier"===r)o.push(n(t));else{if("ExportSpecifier"!==r&&"ImportSpecifier"!==r)throw new Error("Unknown specifier type ".concat(JSON.stringify(r)));a.push(n(t))}},"specifiers"),i.push(Bh(", ",o)),0!==a.length&&(0!==o.length&&i.push(", "),a.length>1||o.length>0||r.specifiers.some(e=>e.comments)?i.push(Ph(Nh(["{",jh(Nh([t.bracketSpacing?Mh:Lh,Bh(Nh([",",Mh]),a)])),Ih($h(t)?",":""),t.bracketSpacing?Mh:Lh,"}"]))):i.push(Nh(["{",t.bracketSpacing?" ":"",Nh(a),t.bracketSpacing?" ":"","}"])))}else i.push("{}");return Nh(i)}};const{isJSXNode:qh}=gc,{hasNewlineInRange:zh}=$t,{builders:{concat:Vh,line:Hh,softline:Wh,group:Uh,indent:Gh,align:Yh,ifBreak:Kh,dedent:Xh,breakParent:Jh}}=cn;var Zh=function(e,t,n,r){const i=e.getValue(),o=i[r.consequentNodePropertyName],a=i[r.alternateNodePropertyName],s=[];let l=!1;const u=e.getParentNode(),c=u.type===r.conditionalNodeType&&r.testNodePropertyNames.some(e=>u[e]===i);let h,p,d=u.type===r.conditionalNodeType&&!c,f=0;do{p=h||i,h=e.getParentNode(f),f++}while(h&&h.type===r.conditionalNodeType&&r.testNodePropertyNames.every(e=>h[e]!==p));const m=h||u,g=p;if(r.shouldCheckJsx&&(qh(i[r.testNodePropertyNames[0]])||qh(o)||qh(a)||function(e){return function(e){const t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).some(qh)}(g))){l=!0,d=!0;const t=e=>Vh([Kh("(",""),Gh(Vh([Wh,e])),Wh,Kh(")","")]),i=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;s.push(" ? ",i(o)?e.call(n,r.consequentNodePropertyName):t(e.call(n,r.consequentNodePropertyName))," : ",a.type===r.conditionalNodeType||i(a)?e.call(n,r.alternateNodePropertyName):t(e.call(n,r.alternateNodePropertyName)))}else{const l=Vh([Hh,"? ",o.type===r.conditionalNodeType?Kh("","("):"",Yh(2,e.call(n,r.consequentNodePropertyName)),o.type===r.conditionalNodeType?Kh("",")"):"",Hh,": ",a.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):Yh(2,e.call(n,r.alternateNodePropertyName))]);s.push(u.type!==r.conditionalNodeType||u[r.alternateNodePropertyName]===i||c?l:t.useTabs?Xh(Gh(l)):Yh(Math.max(0,t.tabWidth-2),l))}const v=Wo([...r.testNodePropertyNames.map(e=>i[e].comments),o.comments,a.comments]).filter(Boolean).some(e=>Wl.isBlockComment(e)&&zh(t.originalText,t.locStart(e),t.locEnd(e))),y=!l&&("MemberExpression"===u.type||"OptionalMemberExpression"===u.type||"NGPipeExpression"===u.type&&u.left===i)&&!u.computed,b=(e=>u===m?Uh(e,{shouldBreak:v}):v?Vh([e,Jh]):e)(Vh([].concat((D=Vh(r.beforeParts()),u.type===r.conditionalNodeType&&u[r.alternateNodePropertyName]===i?Yh(2,D):D),d?Vh(s):Gh(Vh(s)),r.afterParts(y))));var D;return c?Uh(Vh([Gh(Vh([Wh,b])),Wh])):b};const{getNextNonSpaceNonCommentCharacter:Qh,hasNewline:ep,hasNewlineInRange:tp,getLast:np,getStringWidth:rp,printString:ip,printNumber:op,hasIgnoreComment:ap,hasNodeIgnoreComment:sp,getIndentSize:lp,getPreferredQuote:up}=$t,{isNextLineEmpty:cp,getNextNonSpaceNonCommentCharacterIndex:hp}=bl,{builders:{concat:pp,join:dp,line:fp,hardline:mp,softline:gp,literalline:vp,group:yp,indent:bp,align:Dp,conditionalGroup:xp,fill:wp,ifBreak:Cp,lineSuffixBoundary:_p,addAlignmentToDoc:kp},utils:{willBreak:Ep,isLineNext:Sp,isEmpty:Ap,removeLines:Fp,normalizeParts:Tp},printer:{printDocToString:Op}}=cn,{insertPragma:Np}=Au,{printHtmlBinding:Lp,isVueEventBindingExpression:Pp}=Oc,{classChildNeedsASIProtection:jp,classPropMayCauseASIProblems:Bp,getFlowVariance:Mp,getLeftSidePathName:Ip,getParentExportDeclaration:$p,getTypeScriptMappedTypeModifier:Rp,hasDanglingComments:qp,hasFlowAnnotationComment:zp,hasFlowShorthandAnnotationComment:Vp,hasLeadingOwnLineComment:Hp,hasNakedLeftSide:Wp,hasNewlineBetweenOrAfterDecorators:Up,hasNgSideEffect:Gp,hasPrettierIgnore:Yp,hasTrailingComment:Kp,hasTrailingLineComment:Xp,identity:Jp,isBinaryish:Zp,isCallOrOptionalCallExpression:Qp,isEmptyJSXElement:ed,isExportDeclaration:td,isFlowAnnotationComment:nd,isFunctionNotation:rd,isGetterOrSetter:id,isJestEachTemplateLiteral:od,isJSXNode:ad,isJSXWhitespaceExpression:sd,isLastStatement:ld,isLiteral:ud,isMeaningfulJSXText:cd,isMemberExpressionChain:hd,isMemberish:pd,isNgForOf:dd,isNumericLiteral:fd,isObjectType:md,isObjectTypePropertyAFunction:gd,isSimpleFlowType:vd,isSimpleNumber:yd,isSimpleTemplateLiteral:bd,isStringLiteral:Dd,isStringPropSafeToUnquote:xd,isTemplateOnItsOwnLine:wd,isTestCall:Cd,isTheOnlyJSXElementInMarkdown:_d,isTSXFile:kd,isTypeAnnotationAFunction:Ed,matchJsxWhitespaceRegex:Sd,needsHardlineAfterDanglingComment:Ad,rawText:Fd,returnArgumentHasLeadingComment:Td,shouldPrintComma:Od,shouldFlatten:Nd,startsWithNoLookaheadToken:Ld}=gc,{printOptionalToken:Pd,printFunctionTypeParameters:jd,printMemberLookup:Bd,printBindExpressionCallee:Md}=ah,{printModuleSource:Id,printModuleSpecifiers:$d}=Rh,Rd=new WeakMap;let qd=0;function zd(e,t,n){const r=e.getValue();return yp(pp([dp(fp,e.map(n,"decorators")),Up(r,t)?mp:fp]))}function Vd(e,t,n){const r=[],i=e.getNode(),o="ClassBody"===i.type;return e.map((e,a)=>{const s=e.getValue();if(!s)return;if("EmptyStatement"===s.type)return;const l=n(e),u=t.originalText,c=[];if(t.semi||o||_d(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>function e(t,n){const r=t.getValue();return!!(Sc(t,n)||"ParenthesizedExpression"===r.type||"TypeCastExpression"===r.type||"ArrowFunctionExpression"===r.type&&!Kd(t,n)||"ArrayExpression"===r.type||"ArrayPattern"===r.type||"UnaryExpression"===r.type&&r.prefix&&("+"===r.operator||"-"===r.operator)||"TemplateLiteral"===r.type||"TemplateElement"===r.type||ad(r)||"BindExpression"===r.type&&!r.object||"RegExpLiteral"===r.type||"Literal"===r.type&&r.pattern||"Literal"===r.type&&r.regex)||!!Wp(r)&&t.call(t=>e(t,n),...Ip(t,r))}(e,t),"expression")}(e,t)?c.push(l):s.comments&&s.comments.some(e=>e.leading)?c.push(n(e,{needsSemi:!0})):c.push(";",l),!t.semi&&o)if(Bp(e))c.push(";");else if("ClassProperty"===s.type){const e=i.body[a+1];jp(e)&&c.push(";")}cp(u,s,t.locEnd)&&!ld(e)&&c.push(mp),r.push(pp(c))}),dp(mp,r)}function Hd(e,t,n){const r=e.getNode();if(r.computed)return pp(["[",e.call(n,"key"),"]"]);const i=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return pp(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!Rd.has(i)){const e=(i.properties||i.body||i.members).some(e=>!e.computed&&e.key&&Dd(e.key)&&!xd(e,t));Rd.set(i,e)}if(("Identifier"===o.type||fd(o)&&yd(op(Fd(o)))&&String(o.value)===op(Fd(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&Rd.get(i))){const n=ip(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(e=>ms.printComments(e,()=>n,t),"key")}return xd(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!Rd.get(i))?e.call(e=>ms.printComments(e,()=>/^\d/.test(o.value)?op(o.value):o.value,t),"key"):e.call(n,"key")}function Wd(e,t,n){const r=e.getNode(),{kind:i}=r,o=r.value||r,a=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(Ga.ok("get"===i||"set"===i),a.push(i," ")):(o.async&&a.push("async "),o.generator&&a.push("*")),a.push(Hd(e,t,n),r.optional||r.key.optional?"?":"",r===o?Ud(e,t,n):e.call(e=>Ud(e,t,n),"value")),pp(a)}function Ud(e,t,n){const r=[jd(e,t,n),yp(pp([Yd(e,n,t),Jd(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),pp(r)}function Gd(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const i=e.getParentNode(),o=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,a="DeclareFunction"===i.type&&i.id===r;return nd(t.originalText,r.typeAnnotation,t)?pp([" /*: ",e.call(n,"typeAnnotation")," */"]):pp([a?"":o?"!: ":": ",e.call(n,"typeAnnotation")])}function Yd(e,t,n,r,i){const o=e.getValue(),a=e.getParentNode(),s=o.parameters?"parameters":"params",l=Cd(a),u=mf(o),c=r&&!(o[s]&&o[s].some(e=>e.comments)),h=i?jd(e,n,t):"";let p=[];if(o[s]){const r=o[s].length-1;p=e.map((e,i)=>{const a=[],s=e.getValue();return a.push(t(e)),i===r?o.rest&&a.push(",",fp):l||u||c?a.push(", "):cp(n.originalText,s,n.locEnd)?a.push(",",mp,mp):a.push(",",fp),pp(a)},s)}if(o.rest&&p.push(pp(["...",e.call(t,"rest")])),0===p.length)return pp([h,"(",ms.printDanglingComments(e,n,!0,e=>")"===Qh(n.originalText,e,n.locEnd)),")"]);const d=np(o[s]);if(c)return yp(pp([Fp(h),"(",pp(p.map(Fp)),")"]));const f=o[s].every(e=>!e.decorators);if(u&&f)return pp([h,"(",pp(p),")"]);if(l)return pp([h,"(",pp(p),")"]);if((gd(a,n)||Ed(a,n)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===o)&&1===o[s].length&&null===o[s][0].name&&o[s][0].typeAnnotation&&null===o.typeParameters&&vd(o[s][0].typeAnnotation)&&!o.rest)return"always"===n.arrowParens?pp(["(",pp(p),")"]):pp(p);const m=!(d&&"RestElement"===d.type||o.rest);return pp([h,"(",bp(pp([gp,pp(p)])),Cp(m&&Od(n,"all")?",":""),gp,")"])}function Kd(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&function(e){return!(1!==e.params.length||e.rest||e.typeParameters||qp(e)||"Identifier"!==e.params[0].type||e.params[0].typeAnnotation||e.params[0].comments||e.params[0].optional||e.predicate||e.returnType)}(e.getValue()))}function Xd(e,t,n){const r=e.getValue(),i=[];return r.async&&i.push("async "),r.generator?i.push("function* "):i.push("function "),r.id&&i.push(e.call(t,"id")),i.push(jd(e,n,t),yp(pp([Yd(e,t,n),Jd(e,t,n)])),r.body?" ":"",e.call(t,"body")),pp(i)}function Jd(e,t,n){const r=e.getValue(),i=e.call(t,"returnType");if(r.returnType&&nd(n.originalText,r.returnType,n))return pp([" /*: ",i," */"]);const o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",e.call(t,"predicate")),pp(o)}function Zd(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=["export "],a=r.default||"ExportDefaultDeclaration"===r.type;return a&&o.push("default "),o.push(ms.printDanglingComments(e,t,!0)),Ad(r)&&o.push(mp),r.declaration?(o.push(e.call(n,"declaration")),a&&"ClassDeclaration"!==r.declaration.type&&"FunctionDeclaration"!==r.declaration.type&&"TSInterfaceDeclaration"!==r.declaration.type&&"DeclareClass"!==r.declaration.type&&"DeclareFunction"!==r.declaration.type&&"TSDeclareFunction"!==r.declaration.type&&"EnumDeclaration"!==r.declaration.type&&o.push(i)):(o.push("type"===r.exportKind?"type ":""),o.push($d(e,t,n)),o.push(Id(e,t,n)),o.push(i)),pp(o)}function Qd(e,t){const n=$p(e);return n?Ga.strictEqual(n.type,"DeclareExportDeclaration"):t.unshift("declare "),pp(t)}function ef(e,t,n){const r=e.getValue();return r.modifiers&&r.modifiers.length?pp([dp(" ",e.map(n,"modifiers"))," "]):""}const tf=new WeakMap;function nf(e){return tf.has(e)||tf.set(e,Symbol("typeParameters")),tf.get(e)}function rf(e,t,n,r){const i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return e.call(n,r);const o=e.getNode(2),a=e.getNode(3),s=e.getNode(4);return null!=o&&Cd(o)||0===i[r].length||1===i[r].length&&(ff(i[r][0])||"GenericTypeAnnotation"===i[r][0].type&&ff(i[r][0].id)||"TSTypeReference"===i[r][0].type&&ff(i[r][0].typeName)||"NullableTypeAnnotation"===i[r][0].type||s&&"VariableDeclarator"===s.type&&"TSTypeAnnotation"===o.type&&"ArrowFunctionExpression"!==a.type&&"TSUnionType"!==i[r][0].type&&"UnionTypeAnnotation"!==i[r][0].type&&"TSIntersectionType"!==i[r][0].type&&"IntersectionTypeAnnotation"!==i[r][0].type&&"TSConditionalType"!==i[r][0].type&&"TSMappedType"!==i[r][0].type&&"TSTypeOperator"!==i[r][0].type&&"TSIndexedAccessType"!==i[r][0].type&&"TSArrayType"!==i[r][0].type)?pp(["<",dp(", ",e.map(n,r)),function(n){if(!qp(n))return"";const r=n.comments.every(Wl.isBlockComment),i=ms.printDanglingComments(e,t,r);return r?i:pp([i,mp])}(i),">"]):yp(pp(["<",bp(pp([gp,dp(pp([",",fp]),e.map(n,r))])),Cp("typescript"!==t.parser&&"babel-ts"!==t.parser&&Od(t,"all")?",":""),gp,">"]),{id:nf(i)})}function of(e,t,n){const r=e.getValue(),i=[];r.abstract&&i.push("abstract "),i.push("class");const o=r.id&&Kp(r.id)||r.superClass&&r.superClass.comments&&0!==r.superClass.comments.length||r.extends&&0!==r.extends.length||r.mixins&&0!==r.mixins.length||r.implements&&0!==r.implements.length,a=[],s=[];r.id&&a.push(" ",e.call(n,"id")),a.push(e.call(n,"typeParameters"));const l=["superClass","extends","mixins","implements"].filter(e=>!!r[e]).length>1,u=r.typeParameters&&!Xp(r.typeParameters)&&!l;function c(i){if(r[i]&&0!==r[i].length){const o=ms.printDanglingComments(e,t,!0,({marker:e})=>e===i);s.push(u?Cp(" ",fp,{groupId:nf(r.typeParameters)}):fp,o,o&&mp,i,yp(bp(pp([fp,dp(pp([",",fp]),e.map(n,i))]))))}}if(r.superClass){const r=pp(["extends ",e.call(n,"superClass"),e.call(n,"superTypeParameters")]),i=e.call(e=>ms.printComments(e,()=>r,t),"superClass");o?s.push(fp,yp(i)):s.push(" ",i)}else c("extends");if(c("mixins"),c("implements"),o){const e=pp(s);u?i.push(yp(pp(a.concat(Cp(bp(e),e))))):i.push(yp(bp(pp(a.concat(e)))))}else i.push(...a,...s);return i.push(" ",e.call(n,"body")),i}function af(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?gp:mp:gp}function sf(e,t,n,r){return e?mp:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?mp:gp:mp}function lf(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!ad(e.right))}function uf(e,t,n,r){return Hp(r.originalText,t,r)?bp(pp([fp,n])):Zp(t)&&!lf(t)||"ConditionalExpression"===t.type&&Zp(t.test)&&!lf(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||Dd(e)||"MemberExpression"===e.type)&&(Dd(t)||hd(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?yp(bp(pp([fp,n]))):pp([" ",n])}function cf(e,t,n,r,i,o){if(!r)return t;const a=uf(e,r,i,o);return yp(pp([t,n,a]))}function hf(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?pp([" ",t]):bp(pp([fp,t]))}function pf(e,t,n){const r=Fd(e),i=n||"DirectiveLiteral"===e.type;return ip(r,t,i)}function df(e){const t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}function ff(e){if(vd(e)||md(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}function mf(e){if(!e||e.rest)return!1;const t=e.params||e.parameters;if(!t||1!==t.length)return!1;const n=t[0];return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&md(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&md(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}function gf(e,t,n,r){const i=[];let o=[];return e.each(e=>{i.push(pp(o)),i.push(yp(r(e))),o=[",",fp],e.getValue()&&cp(t.originalText,e.getValue(),t.locEnd)&&o.push(gp)},n),pp(i)}function vf(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[];r.argument&&(Td(t,r.argument)?o.push(pp([" (",bp(pp([mp,e.call(n,"argument")])),mp,")"])):Zp(r.argument)||"SequenceExpression"===r.argument.type?o.push(yp(pp([Cp(" ("," "),bp(pp([gp,e.call(n,"argument")])),gp,Cp(")")]))):o.push(" ",e.call(n,"argument")));const a=Array.isArray(r.comments)&&r.comments[r.comments.length-1],s=a&&("CommentLine"===a.type||"Line"===a.type);return s&&o.push(i),qp(r)&&o.push(" ",ms.printDanglingComments(e,t,!0)),s||o.push(i),pp(o)}function yf(e){const t=e.getValue(),n=e.getParentNode();return(t&&(ad(t)||Vp(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(zp(t.leadingComments)||zp(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!ap(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}var bf={preprocess:Nc,print:function(e,t,n,r){const i=e.getValue();let o=!1;const a=function(e,t,n,r){const i=e.getValue(),o=t.semi?";":"";if(!i)return"";if("string"==typeof i)return i;const a=Lp(e,t,n);if(a)return a;let s=[];switch(i.type){case"JsExpressionRoot":return e.call(n,"node");case"JsonRoot":return pp([e.call(n,"node"),mp]);case"File":return i.program&&i.program.interpreter&&s.push(e.call(e=>e.call(n,"interpreter"),"program")),s.push(e.call(n,"program")),pp(s);case"Program":{const r=!i.body.every(({type:e})=>"EmptyStatement"===e)||i.comments;if(i.directives){const a=i.directives.length;e.map((e,i)=>{s.push(n(e),o,mp),(iVd(e,t,n),"body")),s.push(ms.printDanglingComments(e,t,!0)),r&&s.push(mp),pp(s)}case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return pp([pf(i.expression,t,!0),o]);if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===i)return pp([e.call(n,"expression"),Pp(i.expression)?";":""])}return pp([e.call(n,"expression"),_d(t,e)?"":o]);case"ParenthesizedExpression":return i.expression.comments?yp(pp(["(",bp(pp([gp,e.call(n,"expression")])),gp,")"])):pp(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return cf(i.left,e.call(n,"left"),pp([" ",i.operator]),i.right,e.call(n,"right"),t);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":{const r=e.getParentNode(),o=e.getParentNode(1),a=i!==r.body&&("IfStatement"===r.type||"WhileStatement"===r.type||"SwitchStatement"===r.type||"DoWhileStatement"===r.type),s=function e(t,n,r,i,o){let a=[];const s=t.getValue();if(Zp(s)){Nd(s.operator,s.left.operator)?a=a.concat(t.call(t=>e(t,n,r,!0,o),"left")):a.push(yp(t.call(n,"left")));const l=lf(s),u=("|>"===s.operator||"NGPipeExpression"===s.type||"|"===s.operator&&"__vue_expression"===r.parser)&&!Hp(r.originalText,s.right,r),c="NGPipeExpression"===s.type?"|":s.operator,h="NGPipeExpression"===s.type&&0!==s.arguments.length?yp(bp(pp([gp,": ",dp(pp([gp,":",Cp(" ")]),t.map(n,"arguments").map(e=>Dp(2,yp(e))))]))):"",p=pp(l?[c," ",t.call(n,"right"),h]:[u?fp:"",c,u?" ":fp,t.call(n,"right"),h]),d=t.getParentNode(),f=Xp(s.left),m=f||!(o&&"LogicalExpression"===s.type)&&d.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type;a.push(u?"":" ",m?yp(p,{shouldBreak:f}):p),i&&s.comments&&(a=Tp(ms.printComments(t,()=>pp(a),r).parts))}else a.push(yp(t.call(n)));return a}(e,n,t,!1,a);if(a)return pp(s);if(("CallExpression"===r.type||"OptionalCallExpression"===r.type)&&r.callee===i||"UnaryExpression"===r.type||("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&!r.computed)return yp(pp([bp(pp([gp,pp(s)])),gp]));const l="ReturnStatement"===r.type||"ThrowStatement"===r.type||"JSXExpressionContainer"===r.type&&"JSXAttribute"===o.type||"|"!==i.operator&&"JsExpressionRoot"===r.type||"NGPipeExpression"!==i.type&&("NGRoot"===r.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===r.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||i===r.body&&"ArrowFunctionExpression"===r.type||i!==r.body&&"ForStatement"===r.type||"ConditionalExpression"===r.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&"CallExpression"!==o.type&&"OptionalCallExpression"!==o.type||"TemplateLiteral"===r.type,u="AssignmentExpression"===r.type||"VariableDeclarator"===r.type||"ClassProperty"===r.type||"TSAbstractClassProperty"===r.type||"ClassPrivateProperty"===r.type||"ObjectProperty"===r.type||"Property"===r.type,c=Zp(i.left)&&Nd(i.operator,i.left.operator);if(l||lf(i)&&!c||!lf(i)&&u)return yp(pp(s));if(0===s.length)return"";const h=ad(i.right),p=s.findIndex(e=>"string"!=typeof e&&"group"===e.type),d=s.slice(0,-1===p?1:p+1),f=pp(s.slice(d.length,h?-1:void 0)),m=Symbol("logicalChain-"+ ++qd),g=yp(pp([...d,bp(f)]),{id:m});if(!h)return g;const v=np(s);return yp(pp([g,Cp(bp(v),v,{groupId:m})]))}case"AssignmentPattern":return pp([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":{const t=!("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type),r=yp(pp(["<",bp(pp([gp,e.call(n,"typeAnnotation")])),gp,">"])),o=pp([Cp("("),bp(pp([gp,e.call(n,"expression")])),gp,Cp(")")]);return t?xp([pp([r,e.call(n,"expression")]),pp([r,yp(o,{shouldBreak:!0})]),pp([r,e.call(n,"expression")])]):yp(pp([r,e.call(n,"expression")]))}case"OptionalMemberExpression":case"MemberExpression":{const r=e.getParentNode();let o,a=0;do{o=e.getParentNode(a),a++}while(o&&("MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"TSNonNullExpression"===o.type));const s=o&&("NewExpression"===o.type||"BindExpression"===o.type||"VariableDeclarator"===o.type&&"Identifier"!==o.id.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||i.computed||"Identifier"===i.object.type&&"Identifier"===i.property.type&&"MemberExpression"!==r.type&&"OptionalMemberExpression"!==r.type;return pp([e.call(n,"object"),s?Bd(e,t,n):yp(bp(pp([gp,Bd(e,t,n)])))])}case"MetaProperty":return pp([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return i.object&&s.push(e.call(n,"object")),s.push(yp(bp(pp([gp,Md(e,t,n)])))),pp(s);case"Identifier":return pp([i.name,Pd(e),Gd(e,t,n)]);case"V8IntrinsicIdentifier":return pp(["%",i.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return pp(["...",e.call(n,"argument"),Gd(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return s.push(Xd(e,n,t)),i.body||s.push(o),pp(s);case"ArrowFunctionExpression":{i.async&&s.push("async "),Kd(e,t)?s.push(e.call(n,"params",0)):s.push(yp(pp([Yd(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Jd(e,n,t)])));const o=ms.printDanglingComments(e,t,!0,e=>{const n=hp(t.originalText,e,t.locEnd);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});o&&s.push(" ",o),s.push(" =>");const a=e.call(e=>n(e,r),"body");if(!Hp(t.originalText,i.body,t)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||ad(i.body)||wd(i.body,t.originalText,t)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return yp(pp([pp(s)," ",a]));if("SequenceExpression"===i.body.type)return yp(pp([pp(s),yp(pp([" (",bp(pp([gp,a])),gp,")"]))]));const l=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(i.comments&&i.comments.length),u=r&&r.expandLastArg&&Od(t,"all"),c="ConditionalExpression"===i.body.type&&!Ld(i.body,!1);return yp(pp([pp(s),yp(pp([bp(pp([fp,c?Cp("","("):"",a,c?Cp("",")"):""])),l?pp([Cp(u?",":""),gp]):""]))]))}case"YieldExpression":return s.push("yield"),i.delegate&&s.push("*"),i.argument&&s.push(" ",e.call(n,"argument")),pp(s);case"AwaitExpression":{s.push("await"),i.argument&&s.push(" ",e.call(n,"argument"));const t=e.getParentNode();return("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&t.callee===i||("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&t.object===i?yp(pp([bp(pp([gp,pp(s)])),gp])):pp(s)}case"ImportSpecifier":return i.importKind&&s.push(e.call(n,"importKind")," "),s.push(e.call(n,"imported")),i.local&&i.local.name!==i.imported.name&&s.push(" as ",e.call(n,"local")),pp(s);case"ExportSpecifier":return s.push(e.call(n,"local")),i.exported&&i.exported.name!==i.local.name&&s.push(" as ",e.call(n,"exported")),pp(s);case"ImportNamespaceSpecifier":return s.push("* as "),s.push(e.call(n,"local")),pp(s);case"ImportDefaultSpecifier":return e.call(n,"local");case"TSExportAssignment":return pp(["export = ",e.call(n,"expression"),o]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Zd(e,t,n);case"DeclareExportDeclaration":return pp(["declare ",Zd(e,t,n)]);case"ExportAllDeclaration":return s.push("export"),"type"===i.exportKind&&s.push(" type"),s.push(" *"),i.exported&&s.push(" as ",e.call(n,"exported")),s.push(Id(e,t,n),o),pp(s);case"ExportNamespaceSpecifier":return pp(["* as ",e.call(n,"exported")]);case"ExportDefaultSpecifier":return e.call(n,"exported");case"ImportDeclaration":return s.push("import"),i.importKind&&"value"!==i.importKind&&s.push(" ",i.importKind),i.specifiers&&i.specifiers.length>0?(s.push($d(e,t,n)),s.push(Id(e,t,n))):i.importKind&&"type"===i.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(i),t.locStart(i.source)))?s.push(" {}",Id(e,t,n)):s.push(" ",e.call(n,"source")),Array.isArray(i.attributes)&&0!==i.attributes.length&&s.push(" with ",pp(e.map(n,"attributes"))),s.push(o),pp(s);case"ImportAttribute":return pp([e.call(n,"key"),": ",e.call(n,"value")]);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":{const r=e.call(e=>Vd(e,t,n),"body"),a=i.body.some(e=>"EmptyStatement"!==e.type),l=i.directives&&i.directives.length>0,u=e.getParentNode(),c=e.getParentNode(1);return a||l||qp(i)||"ArrowFunctionExpression"!==u.type&&"FunctionExpression"!==u.type&&"FunctionDeclaration"!==u.type&&"ObjectMethod"!==u.type&&"ClassMethod"!==u.type&&"ClassPrivateMethod"!==u.type&&"ForStatement"!==u.type&&"WhileStatement"!==u.type&&"DoWhileStatement"!==u.type&&"DoExpression"!==u.type&&("CatchClause"!==u.type||c.finalizer)&&"TSModuleDeclaration"!==u.type?(s.push("{"),l&&e.each(e=>{s.push(bp(pp([mp,n(e),o]))),cp(t.originalText,e.getValue(),t.locEnd)&&s.push(mp)},"directives"),a&&s.push(bp(pp([mp,r]))),s.push(ms.printDanglingComments(e,t)),s.push(mp,"}"),pp(s)):"{}"}case"ReturnStatement":return pp(["return",vf(e,t,n)]);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":{const r="NewExpression"===i.type,o="ImportExpression"===i.type,a=Pd(e),s=o?[i.source]:i.arguments;if(!o&&!r&&"Identifier"===i.callee.type&&("require"===i.callee.name||"define"===i.callee.name)||1===s.length&&wd(s[0],t.originalText,t)||!r&&Cd(i,e.getParentNode()))return pp([r?"new ":"",e.call(n,"callee"),a,jd(e,t,n),pp(["(",o?e.call(n,"source"):dp(", ",e.map(n,"arguments")),")"])]);const l=i.callee&&"Identifier"===i.callee.type&&zp(i.callee.trailingComments);if(l&&(i.callee.trailingComments[0].printed=!0),!o&&!r&&pd(i.callee)&&!e.call(e=>Sc(e,t),"callee"))return Oh(e,t,n);const u=pp([r?"new ":"",o?"import":e.call(n,"callee"),a,l?"/*:: ".concat(i.callee.trailingComments[0].value.slice(2).trim()," */"):"",jd(e,t,n),Qc(e,t,n)]);return o||Qp(i.callee)?yp(u):u}case"ObjectTypeInternalSlot":return pp([i.static?"static ":"","[[",e.call(n,"id"),"]]",Pd(e),i.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":case"RecordExpression":{let r;r="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";const a="ObjectTypeAnnotation"===i.type,s=[];a&&s.push("indexers","callProperties","internalSlots"),s.push(r);const l=s.map(e=>i[e][0]).sort((e,n)=>t.locStart(e)-t.locStart(n))[0],u=e.getParentNode(0),c=a&&u&&("InterfaceDeclaration"===u.type||"DeclareInterface"===u.type||"DeclareClass"===u.type)&&"body"===e.getName(),h="TSInterfaceBody"===i.type||c||"ObjectPattern"===i.type&&"FunctionDeclaration"!==u.type&&"FunctionExpression"!==u.type&&"ArrowFunctionExpression"!==u.type&&"ObjectMethod"!==u.type&&"ClassMethod"!==u.type&&"ClassPrivateMethod"!==u.type&&"AssignmentPattern"!==u.type&&"CatchClause"!==u.type&&i.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==i.type&&l&&tp(t.originalText,t.locStart(i),t.locStart(l)),p=c?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?Cp(o,";"):",",d="RecordExpression"===i.type?"#{":i.exact?"{|":"{",f=i.exact?"|}":"}",m=[];s.forEach(r=>{e.each(e=>{const r=e.getValue();m.push({node:r,printed:n(e),loc:t.locStart(r)})},r)});let g=[];const v=m.sort((e,t)=>e.loc-t.loc).map(e=>{const n=pp(g.concat(yp(e.printed)));return g=[p,fp],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!sp(e.node)||g.shift(),cp(t.originalText,e.node,t.locEnd)&&g.push(mp),n});if(i.inexact){let n;if(qp(i)){const r=!i.comments.every(Wl.isBlockComment),o=ms.printDanglingComments(e,t,!0);n=pp([o,r||ep(t.originalText,t.locEnd(i.comments[i.comments.length-1]))?mp:fp,"..."])}else n="...";v.push(pp(g.concat(n)))}const y=np(i[r]),b=!(i.inexact||y&&"RestElement"===y.type);let D;if(0===v.length){if(!qp(i))return pp([d,f,Gd(e,t,n)]);D=yp(pp([d,ms.printDanglingComments(e,t),gp,f,Pd(e),Gd(e,t,n)]))}else D=pp([d,bp(pp([t.bracketSpacing?fp:gp,pp(v)])),Cp(b&&(","!==p||Od(t))?p:""),pp([t.bracketSpacing?fp:gp,f]),Pd(e),Gd(e,t,n)]);return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>mf(e)&&("params"===t||"parameters"===t)&&0===n)||e.match(ff,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>mf(e)&&("params"===t||"parameters"===t)&&0===n)?D:yp(D,{shouldBreak:h})}case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?Wd(e,t,n):(i.shorthand?s.push(e.call(n,"value")):s.push(cf(i.key,Hd(e,t,n),":",i.value,e.call(n,"value"),t)),pp(s));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return i.decorators&&0!==i.decorators.length&&s.push(zd(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),s.push(Wd(e,t,n)),pp(s);case"ObjectMethod":return Wd(e,t,n);case"Decorator":return pp(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":case"TupleExpression":{const r="TupleExpression"===i.type?"#[":"[",o="]";if(0===i.elements.length)qp(i)?s.push(yp(pp([r,ms.printDanglingComments(e,t),gp,o]))):s.push(r,o);else{const a=np(i.elements),l=!(a&&"RestElement"===a.type),u=l&&null===a,c=!t.__inJestEach&&i.elements.length>1&&i.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const i=n[t+1];if(i&&r!==i.type)return!1;const o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1});s.push(yp(pp([r,bp(pp([gp,gf(e,t,"elements",n)])),u?",":"",Cp(l&&!u&&Od(t)?",":""),ms.printDanglingComments(e,t,!0),gp,o]),{shouldBreak:c}))}return s.push(Pd(e),Gd(e,t,n)),pp(s)}case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(e=>{0===e.getName()?t.push(n(e)):t.push(",",bp(pp([fp,n(e)])))},"expressions"),yp(pp(t))}return yp(pp([dp(pp([",",fp]),e.map(n,"expressions"))]))}case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return df(i);case"NumericLiteral":return op(i.extra.raw);case"DecimalLiteral":return op(i.value)+"m";case"BigIntLiteral":return(i.bigint||i.extra.raw).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":return i.regex?df(i.regex):i.bigint?i.raw.toLowerCase():"number"==typeof i.value?op(i.raw):"string"!=typeof i.value?""+i.value:pf(i,t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return pf(i,t);case"UnaryExpression":return s.push(i.operator),/[a-z]$/.test(i.operator)&&s.push(" "),i.argument.comments&&i.argument.comments.length>0?s.push(yp(pp(["(",bp(pp([gp,e.call(n,"argument")])),gp,")"]))):s.push(e.call(n,"argument")),pp(s);case"UpdateExpression":return s.push(e.call(n,"argument"),i.operator),i.prefix&&s.reverse(),pp(s);case"ConditionalExpression":return Zh(e,t,n,{beforeParts:()=>[e.call(n,"test")],afterParts:e=>[e?gp:""],shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":{const t=e.map(e=>n(e),"declarations"),r=e.getParentNode(),a="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,l=i.declarations.some(e=>e.init);let u;return 1!==t.length||i.declarations[0].comments?t.length>0&&(u=bp(t[0])):u=t[0],s=[i.declare?"declare ":"",i.kind,u?pp([" ",u]):"",bp(pp(t.slice(1).map(e=>pp([",",l&&!a?mp:fp,e]))))],a&&r.body!==i||s.push(o),yp(pp(s))}case"TSTypeAliasDeclaration":{i.declare&&s.push("declare ");const r=uf(i.id,i.typeAnnotation,i.typeAnnotation&&e.call(n,"typeAnnotation"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),yp(pp(s))}case"VariableDeclarator":return cf(i.id,e.call(n,"id")," =",i.init,i.init&&e.call(n,"init"),t);case"WithStatement":return yp(pp(["with (",e.call(n,"object"),")",hf(i.body,e.call(n,"body"))]));case"IfStatement":{const r=hf(i.consequent,e.call(n,"consequent")),o=yp(pp(["if (",yp(pp([bp(pp([gp,e.call(n,"test")])),gp])),")",r]));if(s.push(o),i.alternate){const r=Kp(i.consequent)&&i.consequent.comments.some(e=>e.trailing&&!Wl.isBlockComment(e))||Ad(i),o="BlockStatement"===i.consequent.type&&!r;s.push(o?" ":mp),qp(i)&&s.push(ms.printDanglingComments(e,t,!0),r?mp:" "),s.push("else",yp(hf(i.alternate,e.call(n,"alternate"),"IfStatement"===i.alternate.type)))}return pp(s)}case"ForStatement":{const r=hf(i.body,e.call(n,"body")),o=ms.printDanglingComments(e,t,!0),a=o?pp([o,gp]):"";return i.init||i.test||i.update?pp([a,yp(pp(["for (",yp(pp([bp(pp([gp,e.call(n,"init"),";",fp,e.call(n,"test"),";",fp,e.call(n,"update")])),gp])),")",r]))]):pp([a,yp(pp(["for (;;)",r]))])}case"WhileStatement":return yp(pp(["while (",yp(pp([bp(pp([gp,e.call(n,"test")])),gp])),")",hf(i.body,e.call(n,"body"))]));case"ForInStatement":return yp(pp([i.each?"for each (":"for (",e.call(n,"left")," in ",e.call(n,"right"),")",hf(i.body,e.call(n,"body"))]));case"ForOfStatement":return yp(pp(["for",i.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",hf(i.body,e.call(n,"body"))]));case"DoWhileStatement":{const t=hf(i.body,e.call(n,"body")),r=yp(pp(["do",t]));return s=[r],"BlockStatement"===i.body.type?s.push(" "):s.push(mp),s.push("while ("),s.push(yp(pp([bp(pp([gp,e.call(n,"test")])),gp])),")",o),pp(s)}case"DoExpression":return pp(["do ",e.call(n,"body")]);case"BreakStatement":return s.push("break"),i.label&&s.push(" ",e.call(n,"label")),s.push(o),pp(s);case"ContinueStatement":return s.push("continue"),i.label&&s.push(" ",e.call(n,"label")),s.push(o),pp(s);case"LabeledStatement":return"EmptyStatement"===i.body.type?pp([e.call(n,"label"),":;"]):pp([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return pp(["try ",e.call(n,"block"),i.handler?pp([" ",e.call(n,"handler")]):"",i.finalizer?pp([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(i.param){const r=i.param.comments&&i.param.comments.some(e=>!Wl.isBlockComment(e)||e.leading&&ep(t.originalText,t.locEnd(e))||e.trailing&&ep(t.originalText,t.locStart(e),{backwards:!0})),o=e.call(n,"param");return pp(["catch ",pp(r?["(",bp(pp([gp,o])),gp,") "]:["(",o,") "]),e.call(n,"body")])}return pp(["catch ",e.call(n,"body")]);case"ThrowStatement":return pp(["throw",vf(e,t,n)]);case"SwitchStatement":return pp([yp(pp(["switch (",bp(pp([gp,e.call(n,"discriminant")])),gp,")"]))," {",i.cases.length>0?bp(pp([mp,dp(mp,e.map(e=>{const r=e.getValue();return pp([e.call(n),i.cases.indexOf(r)!==i.cases.length-1&&cp(t.originalText,r,t.locEnd)?mp:""])},"cases"))])):"",mp,"}"]);case"SwitchCase":{i.test?s.push("case ",e.call(n,"test"),":"):s.push("default:");const r=i.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const i=e.call(e=>Vd(e,t,n),"consequent");s.push(1===r.length&&"BlockStatement"===r[0].type?pp([" ",i]):bp(pp([mp,i])))}return pp(s)}case"DebuggerStatement":return pp(["debugger",o]);case"JSXAttribute":if(s.push(e.call(n,"name")),i.value){let r;if(Dd(i.value)){let e=Fd(i.value).replace(/'/g,"'").replace(/"/g,'"');const n=up(e,t.jsxSingleQuote?"'":'"'),o="'"===n?"'":""";e=e.slice(1,-1).replace(new RegExp(n,"g"),o),r=pp([n,e,n])}else r=e.call(n,"value");s.push("=",r)}return pp(s);case"JSXIdentifier":return""+i.name;case"JSXNamespacedName":return dp(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return dp(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return dp(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return pp(["{",e.call(e=>{const r=pp(["...",n(e)]),i=e.getValue();return i.comments&&i.comments.length&&yf(e)?pp([bp(pp([gp,ms.printComments(e,()=>r,t)])),gp]):r},"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":{const t=e.getParentNode(0),r=i.expression.comments&&i.expression.comments.length>0,o="JSXEmptyExpression"===i.expression.type||!r&&("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type||"ArrowFunctionExpression"===i.expression.type||"CallExpression"===i.expression.type||"OptionalCallExpression"===i.expression.type||"FunctionExpression"===i.expression.type||"TemplateLiteral"===i.expression.type||"TaggedTemplateExpression"===i.expression.type||"DoExpression"===i.expression.type||ad(t)&&("ConditionalExpression"===i.expression.type||Zp(i.expression)));return yp(pp(o?["{",e.call(n,"expression"),_p,"}"]:["{",bp(pp([gp,e.call(n,"expression")])),gp,_p,"}"]))}case"JSXFragment":case"JSXElement":{const r=ms.printComments(e,()=>function(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&ed(r))return pp([e.call(n,"openingElement"),e.call(n,"closingElement")]);const i="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),o="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return pp([i,pp(e.map(n,"children")),o]);r.children=r.children.map(e=>sd(e)?{type:"JSXText",value:" ",raw:" "}:e);const a=r.children.filter(ad).length>0,s=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,l="JSXElement"===r.type&&r.openingElement.attributes.length>1;let u=Ep(i)||a||l||s;const c="mdx"===e.getParentNode().rootMarker,h=t.singleQuote?"{' '}":'{" "}',p=c?pp([" "]):Cp(pp([h,gp])," "),d=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,f=function(e,t,n,r,i){const o=e.getValue(),a=[];return e.map((e,t)=>{const s=e.getValue();if(ud(s)){const e=Fd(s);if(cd(s)){const n=e.split(Sd);if(""===n[0]){if(a.push(""),n.shift(),/\n/.test(n[0])){const e=o.children[t+1];a.push(sf(i,n[1],s,e))}else a.push(r);n.shift()}let l;if(""===np(n)&&(n.pop(),l=n.pop()),0===n.length)return;if(n.forEach((e,t)=>{t%2==1?a.push(fp):a.push(e)}),void 0!==l)if(/\n/.test(l)){const e=o.children[t+1];a.push(sf(i,np(a),s,e))}else a.push(r);else{const e=o.children[t+1];a.push(af(i,np(a),s,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&(a.push(""),a.push(mp)):(a.push(""),a.push(r))}else{const r=n(e);a.push(r);const l=o.children[t+1];if(l&&cd(l)){const e=Fd(l).trim().split(Sd)[0];a.push(af(i,e,s,l))}else a.push(mp)}},"children"),a}(e,0,n,p,d),m=r.children.some(e=>cd(e));for(let b=f.length-2;b>=0;b--){const e=""===f[b]&&""===f[b+1],t=f[b]===mp&&""===f[b+1]&&f[b+2]===mp,n=(f[b]===gp||f[b]===mp)&&""===f[b+1]&&f[b+2]===p,r=f[b]===p&&""===f[b+1]&&(f[b+2]===gp||f[b+2]===mp),i=f[b]===p&&""===f[b+1]&&f[b+2]===p,o=f[b]===gp&&""===f[b+1]&&f[b+2]===mp||f[b]===mp&&""===f[b+1]&&f[b+2]===gp;t&&m||e||n||i||o?f.splice(b,2):r&&f.splice(b+1,2)}for(;f.length&&(Sp(np(f))||Ap(np(f)));)f.pop();for(;f.length&&(Sp(f[0])||Ap(f[0]))&&(Sp(f[1])||Ap(f[1]));)f.shift(),f.shift();const g=[];f.forEach((e,t)=>{if(e===p){if(1===t&&""===f[t-1])return 2===f.length?void g.push(h):void g.push(pp([h,mp]));if(t===f.length-1)return void g.push(h);if(""===f[t-1]&&f[t-2]===mp)return void g.push(h)}g.push(e),Ep(e)&&(u=!0)});const v=m?wp(g):yp(pp(g),{shouldBreak:!0});if(c)return v;const y=yp(pp([i,bp(pp([mp,v])),mp,o]));return u?y:xp([yp(pp([i,pp(f),o])),y])}(e,t,n),t);return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,Qp,e=>"JSXExpressionContainer"===e.type),o=Sc(e,n);return yp(pp([o?"":Cp("("),bp(pp([gp,t])),gp,o?"":Cp(")")]),{shouldBreak:i})}(e,r,t)}case"JSXOpeningElement":{const r=e.getValue(),i=r.name&&r.name.comments&&r.name.comments.length>0||r.typeParameters&&r.typeParameters.comments&&r.typeParameters.comments.length>0;if(r.selfClosing&&!r.attributes.length&&!i)return pp(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Dd(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&(!r.attributes[0].comments||!r.attributes[0].comments.length))return yp(pp(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",pp(e.map(n,"attributes")),r.selfClosing?" />":">"]));const o=r.attributes.length&&Kp(np(r.attributes)),a=!r.attributes.length&&!i||t.jsxBracketSameLine&&(!i||r.attributes.length)&&!o,s=r.attributes&&r.attributes.some(e=>e.value&&Dd(e.value)&&e.value.value.includes("\n"));return yp(pp(["<",e.call(n,"name"),e.call(n,"typeParameters"),pp([bp(pp(e.map(e=>pp([fp,n(e)]),"attributes"))),r.selfClosing?fp:a?">":gp]),r.selfClosing?"/>":a?"":">"]),{shouldBreak:s})}case"JSXClosingElement":return pp([""]);case"JSXOpeningFragment":case"JSXClosingFragment":{const n=i.comments&&i.comments.length,r=n&&!i.comments.every(Wl.isBlockComment),o="JSXOpeningFragment"===i.type;return pp([o?"<":""])}case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":{const n=i.comments&&!i.comments.every(Wl.isBlockComment);return pp([ms.printDanglingComments(e,t,!n),n?mp:""])}case"ClassBody":return i.comments||0!==i.body.length?pp(["{",i.body.length>0?bp(pp([mp,e.call(e=>Vd(e,t,n),"body")])):ms.printDanglingComments(e,t),mp,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":{i.decorators&&0!==i.decorators.length&&s.push(zd(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractClassProperty"===i.type||i.abstract)&&s.push("abstract "),i.readonly&&s.push("readonly ");const r=Mp(i);return r&&s.push(r),s.push(Hd(e,t,n),Pd(e),Gd(e,t,n)),i.value&&s.push(" =",uf(i.key,i.value,e.call(n,"value"),t)),s.push(o),yp(pp(s))}case"ClassDeclaration":case"ClassExpression":return i.declare&&s.push("declare "),s.push(pp(of(e,t,n))),pp(s);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return s.push(e.call(n,"expression")),i.typeParameters&&s.push(e.call(n,"typeParameters")),pp(s);case"TemplateElement":return dp(vp,i.value.raw.split(/\r?\n/g));case"TemplateLiteral":{const r=e.getParentNode();if(od(i,r)){const r=function(e,t,n){const r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some(e=>0!==e.length)){t.__inJestEach=!0;const o=e.map(n,"expressions");t.__inJestEach=!1;const a=[],s=o.map(e=>"${"+Op(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"),l=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length)),c=Array.from({length:u}).fill(0),h=[{cells:i},...l.filter(e=>0!==e.cells.length)];for(const{cells:e}of h.filter(e=>!e.hasLineBreak))e.forEach((e,t)=>{c[t]=Math.max(c[t],rp(e))});return a.push(_p,"`",bp(pp([mp,dp(mp,h.map(e=>dp(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-rp(t))))))])),mp,"`"),pp(a)}}(e,t,n);if(r)return r}let o=e.map(n,"expressions");const a=bd(i);return a&&(o=o.map(e=>Op(e,Object.assign({},t,{printWidth:1/0})).formatted)),s.push(_p,"`"),e.each(e=>{const r=e.getName();if(s.push(n(e)),r0&&"TSRestType"===np(i[r]).type;return yp(pp(["[",bp(pp([gp,gf(e,t,r,n)])),Cp(Od(t,"all")&&!o?",":""),ms.printDanglingComments(e,t,!0),gp,"]"]))}case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"AnyTypeAnnotation":return"any";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return pp([e.call(n,"elementType"),"[]"]);case"BooleanTypeAnnotation":return"boolean";case"BooleanLiteralTypeAnnotation":return""+i.value;case"DeclareClass":return Qd(e,of(e,t,n));case"TSDeclareFunction":return pp([i.declare?"declare ":"",Xd(e,n,t),o]);case"DeclareFunction":return Qd(e,["function ",e.call(n,"id"),i.predicate?" ":"",e.call(n,"predicate"),o]);case"DeclareModule":return Qd(e,["module ",e.call(n,"id")," ",e.call(n,"body")]);case"DeclareModuleExports":return Qd(e,["module.exports",": ",e.call(n,"typeAnnotation"),o]);case"DeclareVariable":return Qd(e,["var ",e.call(n,"id"),o]);case"DeclareExportAllDeclaration":return pp(["declare export *",Id(e,t,n)]);case"DeclareOpaqueType":case"OpaqueType":return s.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),i.supertype&&s.push(": ",e.call(n,"supertype")),i.impltype&&s.push(" = ",e.call(n,"impltype")),s.push(o),"DeclareOpaqueType"===i.type?Qd(e,s):pp(s);case"EnumDeclaration":return pp(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===i.type||i.explicitType){let e=null;switch(i.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}s.push("of ",e," ")}return 0===i.members.length?s.push(yp(pp(["{",ms.printDanglingComments(e,t),gp,"}"]))):s.push(yp(pp(["{",bp(pp([mp,gf(e,t,"members",n),Od(t)?",":""])),ms.printDanglingComments(e,t,!0),mp,"}"]))),pp(s);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return pp([e.call(n,"id")," = ","object"==typeof i.init?e.call(n,"init"):String(i.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":{const r=e.getParentNode(0),o=e.getParentNode(1),a=e.getParentNode(2);let l="TSFunctionType"===i.type||!(("ObjectTypeProperty"===r.type||"ObjectTypeInternalSlot"===r.type)&&!Mp(r)&&!r.optional&&t.locStart(r)===t.locStart(i)||"ObjectTypeCallProperty"===r.type||a&&"DeclareFunction"===a.type),u=l&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type);const c=u&&l&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type)&&"ArrowFunctionExpression"===o.type;return gd(r,t)&&(l=!0,u=!0),c&&s.push("("),s.push(Yd(e,n,t,!1,!0)),(i.returnType||i.predicate||i.typeAnnotation)&&s.push(l?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),c&&s.push(")"),yp(pp(s))}case"TSRestType":return pp(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return pp([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":return pp([e.call(n,"name"),Pd(e),i.name?": ":"",e.call(n,"typeAnnotation")]);case"GenericTypeAnnotation":return pp([e.call(n,"id"),e.call(n,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"TSInterfaceDeclaration":{("DeclareInterface"===i.type||i.declare)&&s.push("declare "),"TSInterfaceDeclaration"===i.type&&s.push(i.abstract?"abstract ":"",ef(e,t,n)),s.push("interface");const r=[],o=[];"InterfaceTypeAnnotation"!==i.type&&r.push(" ",e.call(n,"id"),e.call(n,"typeParameters"));const a=i.typeParameters&&!Xp(i.typeParameters);if(i.extends&&0!==i.extends.length&&o.push(a?Cp(" ",fp,{groupId:nf(i.typeParameters)}):fp,"extends ",(1===i.extends.length?Jp:bp)(dp(pp([",",fp]),e.map(n,"extends")))),i.id&&Kp(i.id)||i.extends&&0!==i.extends.length){const e=pp(o);a?s.push(yp(pp(r.concat(Cp(bp(e),e))))):s.push(yp(bp(pp(r.concat(e)))))}else s.push(...r,...o);return s.push(" ",e.call(n,"body")),yp(pp(s))}case"ClassImplements":case"InterfaceExtends":return pp([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return pp([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":{const t=e.map(n,"types"),r=[];let o=!1;for(let e=0;e1&&(o=!0),r.push(" & ",e>1?bp(t[e]):t[e])):r.push(bp(pp([" &",fp,t[e]])));return yp(pp(r))}case"TSUnionType":case"UnionTypeAnnotation":{const r=e.getParentNode(),o=!("TypeParameterInstantiation"===r.type||"TSTypeParameterInstantiation"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type||"TSTypeAssertion"===r.type||"TupleTypeAnnotation"===r.type||"TSTupleType"===r.type||"FunctionTypeParam"===r.type&&!r.name||("TypeAlias"===r.type||"VariableDeclarator"===r.type||"TSTypeAliasDeclaration"===r.type)&&Hp(t.originalText,i,t)),a=ff(i),s=e.map(e=>{let r=e.call(n);return a||(r=Dp(2,r)),ms.printComments(e,()=>r,t)},"types");if(a)return dp(" | ",s);const l=o&&!Hp(t.originalText,i,t),u=pp([Cp(pp([l?fp:"","| "])),dp(pp([fp,"| "]),s)]);return Sc(e,t)?yp(pp([bp(u),gp])):"TupleTypeAnnotation"===r.type&&r.types.length>1||"TSTupleType"===r.type&&r.elementTypes.length>1?yp(pp([bp(pp([Cp(pp(["(",gp])),u])),gp,Cp(")")])):yp(o?bp(u):u)}case"NullableTypeAnnotation":return pp(["?",e.call(n,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"ObjectTypeCallProperty":return i.static&&s.push("static "),s.push(e.call(n,"value")),pp(s);case"ObjectTypeIndexer":{const t=Mp(i);return pp([t||"","[",e.call(n,"id"),i.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")])}case"ObjectTypeProperty":{const r=Mp(i);let o="";return i.proto?o="proto ":i.static&&(o="static "),pp([o,id(i)?i.kind+" ":"",r||"",Hd(e,t,n),Pd(e),rd(i,t)?"":": ",e.call(n,"value")])}case"QualifiedTypeIdentifier":return pp([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return pf(i,t);case"NumberLiteralTypeAnnotation":return Ga.strictEqual(typeof i.value,"number"),null!=i.extra?op(i.extra.raw):op(i.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":{("DeclareTypeAlias"===i.type||i.declare)&&s.push("declare ");const r=uf(i.id,i.right,e.call(n,"right"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),yp(pp(s))}case"TypeCastExpression":return pp(["(",e.call(n,"expression"),Gd(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=e.getValue(),i=t.originalText.slice(0,t.locStart(r)).lastIndexOf("/*");return i>=0&&t.originalText.slice(i).match(/^\/\*\s*::/)?pp(["/*:: ",rf(e,t,n,"params")," */"]):rf(e,t,n,"params")}case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return rf(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":{const r=e.getParentNode();if("TSMappedType"===r.type)return s.push("[",e.call(n,"name")),i.constraint&&s.push(" in ",e.call(n,"constraint")),s.push("]"),pp(s);const o=Mp(i);o&&s.push(o),s.push(e.call(n,"name")),i.bound&&(s.push(": "),s.push(e.call(n,"bound"))),i.constraint&&s.push(" extends ",e.call(n,"constraint")),i.default&&s.push(" = ",e.call(n,"default"));const a=e.getNode(2);return r.params&&1===r.params.length&&kd(t)&&!i.constraint&&"ArrowFunctionExpression"===a.type&&s.push(","),pp(s)}case"TypeofTypeAnnotation":return pp(["typeof ",e.call(n,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return pp(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return pp([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return pp([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return i.export&&s.push("export "),i.accessibility&&s.push(i.accessibility+" "),i.static&&s.push("static "),i.readonly&&s.push("readonly "),s.push(Hd(e,t,n),Pd(e)),i.typeAnnotation&&(s.push(": "),s.push(e.call(n,"typeAnnotation"))),i.initializer&&s.push(" = ",e.call(n,"initializer")),pp(s);case"TSParameterProperty":return i.accessibility&&s.push(i.accessibility+" "),i.export&&s.push("export "),i.static&&s.push("static "),i.readonly&&s.push("readonly "),s.push(e.call(n,"parameter")),pp(s);case"TSTypeReference":return pp([e.call(n,"typeName"),rf(e,t,n,"typeParameters")]);case"TSTypeQuery":return pp(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":{const r=e.getParentNode(),a=i.parameters.length>1?Cp(Od(t)?",":""):"",s=yp(pp([bp(pp([gp,dp(pp([", ",gp]),e.map(n,"parameters"))])),a,gp]));return pp([i.export?"export ":"",i.accessibility?pp([i.accessibility," "]):"",i.static?"static ":"",i.readonly?"readonly ":"","[",i.parameters?s:"",i.typeAnnotation?"]: ":"]",i.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===r.type?o:""])}case"TSTypePredicate":return pp([i.asserts?"asserts ":"",e.call(n,"parameterName"),i.typeAnnotation?pp([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return pp([e.call(n,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return pp([i.isTypeOf?"typeof ":"","import(",e.call(n,i.parameter?"parameter":"argument"),")",i.qualifier?pp([".",e.call(n,"qualifier")]):"",rf(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return pp([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==i.type&&s.push("new "),s.push(yp(Yd(e,n,t,!1,!0))),i.returnType||i.typeAnnotation){const t="TSConstructorType"===i.type;s.push(t?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return pp(s);case"TSTypeOperator":return pp([i.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":{const r=tp(t.originalText,t.locStart(i),t.locEnd(i));return yp(pp(["{",bp(pp([t.bracketSpacing?fp:gp,i.readonly?pp([Rp(i.readonly,"readonly")," "]):"",ef(e,t,n),e.call(n,"typeParameter"),i.optional?Rp(i.optional,"?"):"",i.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),Cp(o,"")])),ms.printDanglingComments(e,t,!0),t.bracketSpacing?fp:gp,"}"]),{shouldBreak:r})}case"TSMethodSignature":return s.push(i.accessibility?pp([i.accessibility," "]):"",i.export?"export ":"",i.static?"static ":"",i.readonly?"readonly ":"",i.computed?"[":"",e.call(n,"key"),i.computed?"]":"",Pd(e),Yd(e,n,t,!1,!0)),(i.returnType||i.typeAnnotation)&&s.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),yp(pp(s));case"TSNamespaceExportDeclaration":return s.push("export as namespace ",e.call(n,"id")),t.semi&&s.push(";"),yp(pp(s));case"TSEnumDeclaration":return i.declare&&s.push("declare "),i.modifiers&&s.push(ef(e,t,n)),i.const&&s.push("const "),s.push("enum ",e.call(n,"id")," "),0===i.members.length?s.push(yp(pp(["{",ms.printDanglingComments(e,t),gp,"}"]))):s.push(yp(pp(["{",bp(pp([mp,gf(e,t,"members",n),Od(t,"es5")?",":""])),ms.printDanglingComments(e,t,!0),mp,"}"]))),pp(s);case"TSEnumMember":return s.push(e.call(n,"id")),i.initializer&&s.push(" = ",e.call(n,"initializer")),pp(s);case"TSImportEqualsDeclaration":return i.isExport&&s.push("export "),s.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&s.push(";"),yp(pp(s));case"TSExternalModuleReference":return pp(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{const r=e.getParentNode(),a=ud(i.id),l="TSModuleDeclaration"===r.type,u=i.body&&"TSModuleDeclaration"===i.body.type;if(l)s.push(".");else{i.declare&&s.push("declare "),s.push(ef(e,t,n));const r=t.originalText.slice(t.locStart(i),t.locStart(i.id));"Identifier"===i.id.type&&"global"===i.id.name&&!/namespace|module/.test(r)||s.push(a||/(^|\s)module(\s|$)/.test(r)?"module ":"namespace ")}return s.push(e.call(n,"id")),u?s.push(e.call(n,"body")):i.body?s.push(" ",yp(e.call(n,"body"))):s.push(o),pp(s)}case"PrivateName":return pp(["#",e.call(n,"id")]);case"TSPrivateIdentifier":return i.escapedText;case"TSConditionalType":return Zh(e,t,n,{beforeParts:()=>[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")],afterParts:()=>[],shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return pp(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return s.push("#!",i.value,mp),cp(t.originalText,i,t.locEnd)&&s.push(mp),pp(s);case"NGRoot":return pp([].concat(e.call(n,"node"),i.node.comments&&0!==i.node.comments.length?pp([" //",i.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return yp(dp(pp([";",fp]),e.map(e=>Gp(e)?n(e):pp(["(",n(e),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return pp([i.prefix,": ",i.value.trim()]);case"NGMicrosyntax":return pp(e.map((e,t)=>pp([0===t?"":dd(e.getValue(),t,i)?" ":pp([";",fp]),n(e)]),"body"));case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(i.name)?i.name:JSON.stringify(i.name);case"NGMicrosyntaxExpression":return pp([e.call(n,"expression"),null===i.alias?"":pp([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),r=e.getParentNode(),o=dd(i,t,r)||(1===t&&("then"===i.key.name||"else"===i.key.name)||2===t&&"else"===i.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return pp([e.call(n,"key"),o?" ":": ",e.call(n,"expression")])}case"NGMicrosyntaxLet":return pp(["let ",e.call(n,"key"),null===i.value?"":pp([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return pp([e.call(n,"key")," as ",e.call(n,"alias")]);case"PipelineBareFunction":return e.call(n,"callee");case"PipelineTopicExpression":return e.call(n,"expression");case"PipelinePrimaryTopicReference":return s.push("#"),pp(s);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return pp(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return pp(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return pp(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i||Ap(a))return a;const s=$p(e),l=[];if("ClassMethod"===i.type||"ClassPrivateMethod"===i.type||"ClassProperty"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"MethodDefinition"===i.type||"TSAbstractMethodDefinition"===i.type||"TSDeclareMethod"===i.type);else if(i.decorators&&i.decorators.length>0&&!(s&&t.locStart(s,{ignoreDecorators:!0})>t.locStart(i.decorators[0]))){const r="ClassExpression"===i.type||"ClassDeclaration"===i.type||Up(i,t)?mp:fp;e.each(e=>{let t=e.getValue();t=t.expression?t.expression:t.callee,l.push(n(e),r)},"decorators"),s&&l.unshift(mp)}else td(i)&&i.declaration&&i.declaration.decorators&&i.declaration.decorators.length>0&&t.locStart(i,{ignoreDecorators:!0})>t.locStart(i.declaration.decorators[0])?e.each(e=>{const t="Decorator"===e.getValue().type?"":"@";l.push(t,n(e),mp)},"declaration","decorators"):o=Sc(e,t);const u=[];if(o&&u.unshift("("),u.push(a),o){const t=e.getValue();Vp(t)&&(u.push(" /*"),u.push(t.trailingComments[0].value.trimStart()),u.push("*/"),t.trailingComments[0].printed=!0),u.push(")")}return l.length>0?yp(pp(l.concat(u))):pp(u)},embed:gu,insertPragma:Np,massageAstNode:vu,hasPrettierIgnore:Yp,willPrintOwnComments:yf,canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:function(e,t){const n=e.getValue();switch(n.type){case"CommentBlock":case"Block":{if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(n)){const e=function(e){const t=e.value.split("\n");return pp(["/*",dp(mp,t.map((e,n)=>0===n?e.trimEnd():" "+(n x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:kf.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:kf.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",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:"JavaScript",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)."}]}},Sf=["js","node"],Af=[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],Ff=["Jakefile"],Tf=["chakra","d8","gjs","js","node","qjs","rhino","v8","v8-shell"],Of={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Sf,extensions:Af,filenames:Ff,interpreters:Tf,languageId:183},Nf=Object.freeze({__proto__:null,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Sf,extensions:Af,filenames:Ff,interpreters:Tf,languageId:183,default:Of}),Lf=[".jsx"],Pf={name:"JSX",type:"programming",group:"JavaScript",extensions:Lf,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},jf=Object.freeze({__proto__:null,name:"JSX",type:"programming",group:"JavaScript",extensions:Lf,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:Pf}),Bf=["ts"],Mf=["deno","ts-node"],If=[".ts"],$f={name:"TypeScript",type:"programming",color:"#2b7489",aliases:Bf,interpreters:Mf,extensions:If,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Rf=Object.freeze({__proto__:null,name:"TypeScript",type:"programming",color:"#2b7489",aliases:Bf,interpreters:Mf,extensions:If,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:$f}),qf=[".tsx"],zf={name:"TSX",type:"programming",group:"TypeScript",extensions:qf,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Vf=Object.freeze({__proto__:null,name:"TSX",type:"programming",group:"TypeScript",extensions:qf,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924,default:zf}),Hf=[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],Wf=[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],Uf={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Hf,filenames:Wf,languageId:174},Gf=Object.freeze({__proto__:null,name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Hf,filenames:Wf,languageId:174,default:Uf}),Yf=["jsonc"],Kf=[".jsonc",".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"],Xf=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","jsconfig.json","language-configuration.json","tsconfig.json"],Jf={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:Yf,extensions:Kf,filenames:Xf,languageId:423},Zf=Object.freeze({__proto__:null,name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:Yf,extensions:Kf,filenames:Xf,languageId:423,default:Jf}),Qf=[".json5"],em={name:"JSON5",type:"data",extensions:Qf,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},tm=Object.freeze({__proto__:null,name:"JSON5",type:"data",extensions:Qf,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:em}),nm=We(Nf),rm=We(jf),im=We(Rf),om=We(Vf),am=We(Gf),sm=We(Zf),lm=We(tm),um={languages:[Dl(nm,e=>({since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript","mongo"],interpreters:e.interpreters.concat(["nodejs"])})),Dl(nm,()=>({name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),Dl(rm,()=>({since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]})),Dl(im,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),Dl(om,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),Dl(am,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),Dl(am,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:e.filenames.concat([".prettierrc"])})),Dl(sm,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:e.filenames.concat([".eslintrc"])})),Dl(lm,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:Ef,printers:{estree:bf,"estree-json":_f},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive}}};const{isFrontMatterNode:cm}=$t;var hm=function(e,t,n){if(["raw","raws","sourceIndex","source","before","after","trailingComma"].forEach(e=>{delete t[e]}),cm(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length){if((n.nodes[0]===e||cm(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&me(n.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=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"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,n)=>{const r=Number(t);return isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value};const{builders:{hardline:pm,concat:dm,markAsRoot:fm}}=cn,mm={"---":"yaml","+++":"toml"};var gm={parse:function(e){const t=Object.keys(mm).map(fe).join("|"),n=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};const[r,i,o,a]=n;let s=mm[i];return"toml"!==s&&o&&o.trim()&&(s=o.trim()),{frontMatter:{type:"front-matter",lang:s,value:a,raw:r.replace(/\n$/,"")},content:r.replace(/[^\n]/g," ")+e.slice(r.length)}},print:function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return fm(dm(["---",pm,r,r?pm:"","---"]))}}};const{builders:{hardline:vm,concat:ym}}=cn,{print:bm}=gm;var Dm=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=bm(r,n);return e?ym([e,vm]):""}};const{parse:xm}=gm;var wm={hasPragma:function(e){return Au.hasPragma(xm(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=xm(e);return(t?t.raw+"\n\n":"")+Au.insertPragma(n)}};const Cm=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 _m(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function km(e,t){const n=_m(e,t);return-1===n?null:e.getParentNode(n)}function Em(e){return"value-operator"===e.type&&"*"===e.value}function Sm(e){return"value-operator"===e.type&&"/"===e.value}function Am(e){return"value-operator"===e.type&&"+"===e.value}function Fm(e){return"value-operator"===e.type&&"-"===e.value}function Tm(e){return"value-operator"===e.type&&"%"===e.value}function Om(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function Nm(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&Om(e.groups[0])}var Lm={getAncestorCounter:_m,getAncestorNode:km,getPropOfDeclNode:function(e){const t=km(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(e&&e.length)for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(e&&e.length)for(let t=0;t","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:Em,isDivisionNode:Sm,isAdditionNode:Am,isSubtractionNode:Fm,isModuloNode:Tm,isMathOperatorNode:function(e){return Em(e)||Sm(e)||Am(e)||Fm(e)||Tm(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){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.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&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:Om,isKeyValuePairInParenGroupNode:Nm,isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(Nm(t)||n&&Nm(n)))return!1;const r=km(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!Nm(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:function(e){return"value-colon"===e.type},isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&Cm.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,i)=>n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")}};const{printNumber:Pm,printString:jm,hasIgnoreComment:Bm,hasNewline:Mm,isFrontMatterNode:Im,isNextLineEmpty:$m}=$t,{builders:{concat:Rm,join:qm,line:zm,hardline:Vm,softline:Hm,group:Wm,fill:Um,indent:Gm,dedent:Ym,ifBreak:Km,breakParent:Xm},utils:{removeLines:Jm}}=cn,{insertPragma:Zm}=wm,{getAncestorNode:Qm,getPropOfDeclNode:eg,maybeToLowerCase:tg,insideValueFunctionNode:ng,insideICSSRuleNode:rg,insideAtRuleNode:ig,insideURLFunctionInImportAtRuleNode:og,isKeyframeAtRuleKeywords:ag,isWideKeywords:sg,isSCSS:lg,isLastNode:ug,isLessParser:cg,isSCSSControlDirectiveNode:hg,isDetachedRulesetDeclarationNode:pg,isRelationalOperatorNode:dg,isEqualityOperatorNode:fg,isMultiplicationNode:mg,isDivisionNode:gg,isAdditionNode:vg,isSubtractionNode:yg,isMathOperatorNode:bg,isEachKeywordNode:Dg,isForKeywordNode:xg,isURLFunctionNode:wg,isIfElseKeywordNode:Cg,hasComposesNode:_g,hasParensAroundNode:kg,hasEmptyRawBefore:Eg,isKeyValuePairNode:Sg,isDetachedRulesetCallNode:Ag,isTemplatePlaceholderNode:Fg,isTemplatePropNode:Tg,isPostcssSimpleVarNode:Og,isSCSSMapItemNode:Ng,isInlineValueCommentNode:Lg,isHashNode:Pg,isLeftCurlyBraceNode:jg,isRightCurlyBraceNode:Bg,isWordNode:Mg,isColonNode:Ig,isMediaAndSupportsKeywords:$g,isColorAdjusterFuncNode:Rg,lastLineHasInlineComment:qg}=Lm;function zg(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Vg(e,t,n){const r=e.getValue(),i=[];let o=0;return e.map(e=>{const a=r.nodes[o-1];if(a&&"css-comment"===a.type&&"prettier-ignore"===a.text.trim()){const n=e.getValue();i.push(t.originalText.slice(t.locStart(n),t.locEnd(n)))}else i.push(e.call(n));o!==r.nodes.length-1&&("css-comment"===r.nodes[o+1].type&&!Mm(t.originalText,t.locStart(r.nodes[o+1]),{backwards:!0})&&!Im(r.nodes[o])||"css-atrule"===r.nodes[o+1].type&&"else"===r.nodes[o+1].name&&"css-comment"!==r.nodes[o].type?i.push(" "):(i.push(t.__isHTMLStyleAttribute?zm:Vm),$m(t.originalText,e.getValue(),t.locEnd)&&!Im(r.nodes[o])&&i.push(Vm))),o++},"nodes"),Rm(i)}const Hg=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,Wg=new RegExp(Hg.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function Ug(e,t){return e.replace(Hg,e=>jm(e,t))}function Gg(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Yg(e){return e.replace(Wg,(e,t,n,r,i)=>!n&&r?Kg(r)+tg(i||""):e)}function Kg(e){return Pm(e).replace(/\.0(?=$|e)/,"")}var Xg={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return Rm([r.raw,Vm]);case"css-root":{const i=Vg(e,t,n),o=r.raws.after.trim();return Rm([i,o?" ".concat(o):"",i.parts.length&&!t.__isHTMLStyleAttribute?Vm:""])}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(t.locStart(r),t.locEnd(r));return e?n.trimEnd():n}case"css-rule":return Rm([e.call(n,"selector"),r.important?" !important":"",r.nodes?Rm([r.selector&&"selector-unknown"===r.selector.type&&qg(r.selector.value)?zm:" ","{",r.nodes.length>0?Gm(Rm([Vm,Vg(e,t,n)])):"",Vm,"}",pg(r)?";":""]):";"]);case"css-decl":{const i=e.getParentNode(),{between:o}=r.raws,a=o.trim(),s=":"===a;let l=_g(r)?Jm(e.call(n,"value")):e.call(n,"value");return!s&&qg(a)&&(l=Gm(Rm([Vm,Ym(l)]))),Rm([r.raws.before.replace(/[\s;]/g,""),rg(e)?r.prop:tg(r.prop),a.startsWith("//")?" ":"",a,r.extend?"":" ",cg(t)&&r.extend&&r.selector?Rm(["extend(",e.call(n,"selector"),")"]):"",l,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?Rm([" {",Gm(Rm([Hm,Vg(e,t,n)])),Hm,"}"]):Tg(r)&&!i.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1]?"":t.__isHTMLStyleAttribute&&ug(e,r)?Km(";",""):";"])}case"css-atrule":{const i=e.getParentNode(),o=Fg(r)&&!i.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1];if(cg(t)){if(r.mixin)return Rm([e.call(n,"selector"),r.important?" !important":"",o?"":";"]);if(r.function)return Rm([r.name,Rm([e.call(n,"params")]),o?"":";"]);if(r.variable)return Rm(["@",r.name,": ",r.value?Rm([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?Rm(["{",Gm(Rm([r.nodes.length>0?Hm:"",Vg(e,t,n)])),Hm,"}"]):"",o?"":";"])}return Rm(["@",Ag(r)||r.name.endsWith(":")?r.name:tg(r.name),r.params?Rm([Ag(r)?"":Fg(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?Rm([Vm,Vm]):/^\s*\n/.test(r.raws.afterName)?Vm:" ":" ",e.call(n,"params")]):"",r.selector?Gm(Rm([" ",e.call(n,"selector")])):"",r.value?Wm(Rm([" ",e.call(n,"value"),hg(r)?kg(r)?" ":zm:""])):"else"===r.name?" ":"",r.nodes?Rm([hg(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&qg(r.selector.value)||!r.selector&&"string"==typeof r.params&&qg(r.params)?zm:" ","{",Gm(Rm([r.nodes.length>0?Hm:"",Vg(e,t,n)])),Hm,"}"]):o?"":";"])}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(e.call(n))},"nodes"),Wm(Gm(qm(zm,t)))}case"media-query":return Rm([qm(" ",e.map(n,"nodes")),ug(e,r)?"":","]);case"media-type":return Yg(Ug(r.value,t));case"media-feature-expression":return r.nodes?Rm(["(",Rm(e.map(n,"nodes")),")"]):r.value;case"media-feature":return tg(Ug(r.value.replace(/ +/g," "),t));case"media-colon":return Rm([r.value," "]);case"media-value":return Yg(Ug(r.value,t));case"media-keyword":return Ug(r.value,t);case"media-url":return Ug(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return Wm(Rm([ig(e,"custom-selector")?Rm([Qm(e,"css-atrule").customSelector,zm]):"",qm(Rm([",",ig(e,["extend","custom-selector","nest"])?zm:Vm]),e.map(n,"nodes"))]));case"selector-selector":return Wm(Gm(Rm(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return Ug(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),i=n&&t.nodes[n-1];return Rm([r.namespace?Rm([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===i.type?r.value:Yg(ag(e,r.value)?r.value.toLowerCase():r.value)])}case"selector-id":return Rm(["#",r.value]);case"selector-class":return Rm([".",Yg(Ug(r.value,t))]);case"selector-attribute":return Rm(["[",r.namespace?Rm([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?Gg(Ug(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":{if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode(),n="selector-selector"===t.type&&t.nodes[0]===r?"":zm;return Rm([n,r.value,ug(e,r)?"":" "])}const n=r.value.trim().startsWith("(")?zm:"",i=Yg(Ug(r.value.trim(),t))||zm;return Rm([n,i])}case"selector-universal":return Rm([r.namespace?Rm([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return Rm([tg(r.value),r.nodes&&r.nodes.length>0?Rm(["(",qm(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":{const n=Qm(e,"css-rule");if(n&&n.isSCSSNesterProperty)return Yg(Ug(tg(r.value),t));const i=e.getParentNode();if(i.raws&&i.raws.selector){const e=t.locStart(i),n=e+i.raws.selector.length;return t.originalText.slice(e,n).trim()}const o=e.getParentNode(1);if("value-paren_group"===i.type&&o&&"value-func"===o.type&&"selector"===o.value){const e=t.locStart(i.open)+1,n=t.locEnd(i.close)-1,r=t.originalText.slice(e,n).trim();return qg(r)?Rm([Xm,r]):r}return r.value}case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"value-comma_group":{const t=e.getParentNode(),i=e.getParentNode(1),o=eg(e),a=o&&"value-value"===t.type&&("grid"===o||o.startsWith("grid-template")),s=Qm(e,"css-atrule"),l=s&&hg(s),u=e.map(n,"groups"),c=[],h=ng(e,"url");let p=!1,d=!1;for(let n=0;n0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return Rm([r.open?e.call(n,"open"):"",qm(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e{const t=e.getValue(),r=n(e);return Sg(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=Wm(r.contents.contents.parts[1]),Wm(Ym(r))):r},"groups"))])),Km(!s&&lg(t.parser,t.originalText)&&o&&zg(t)?",":""),Hm,r.close?e.call(n,"close"):""]),{shouldBreak:o})}case"value-func":return Rm([r.value,ig(e,"supports")&&$g(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return Rm([Kg(r.value),tg(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||sg(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),i=n&&t.groups[n-1];return Rm([r.value,i&&"\\"===i.value[i.value.length-1]||ng(e,"url")?"":zm])}case"value-comma":return Rm([r.value," "]);case"value-string":return jm(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return Rm(["@",r.value]);case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:Dm,insertPragma:Zm,hasPrettierIgnore:Bm,massageAstNode:hm},Jg={singleQuote:kf.singleQuote},Zg=[".css"],Qg={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:Zg,languageId:50},ev=Object.freeze({__proto__:null,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:Zg,languageId:50,default:Qg}),tv=[".pcss",".postcss"],nv={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:tv,aceMode:"text",languageId:262764437},rv=Object.freeze({__proto__:null,name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:tv,aceMode:"text",languageId:262764437,default:nv}),iv=[".less"],ov={name:"Less",type:"markup",group:"CSS",extensions:iv,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},av=Object.freeze({__proto__:null,name:"Less",type:"markup",group:"CSS",extensions:iv,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198,default:ov}),sv=[".scss"],lv={name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:sv,languageId:329},uv=Object.freeze({__proto__:null,name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:sv,languageId:329,default:lv}),cv=We(ev),hv=We(rv),pv=We(av),dv=We(uv),fv={languages:[Dl(cv,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"]})),Dl(hv,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),Dl(pv,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),Dl(dv,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:Jg,printers:{postcss:Xg},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},mv=We(Object.freeze({__proto__:null,default:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}));const gv=new Set(mv);function vv(e){return yv(e,["TextNode"])&&!/\S/.test(e.chars)}function yv(e,t){return e&&t.some(t=>e.type===t)}function bv(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],o=i.indexOf(n);return-1!==o&&i[o+t]}function Dv(e,t=1){return bv(e,-t)}function xv(e){return bv(e,1)}function wv(e){return yv(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var Cv={getNextNode:xv,getPreviousNode:Dv,hasPrettierIgnore:function(e){const t=e.getValue(),n=Dv(e,2);return wv(t)||wv(n)},isNextNodeOfSomeType:function(e,t){return yv(xv(e),t)},isNodeOfSomeType:yv,isParentOfSomeType:function(e,t){return yv(e.getParentNode(0),t)},isPreviousNodeOfSomeType:function(e,t){return yv(Dv(e),t)},isVoid:function(e){return function(e){return yv(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&(0===e.children||e.children.every(e=>vv(e)))||gv.has(e.tag)},isWhitespaceNode:vv};const{concat:_v,group:kv,hardline:Ev,ifBreak:Sv,indent:Av,join:Fv,line:Tv,softline:Ov}=cn.builders,{getNextNode:Nv,getPreviousNode:Lv,hasPrettierIgnore:Pv,isNextNodeOfSomeType:jv,isNodeOfSomeType:Bv,isParentOfSomeType:Mv,isPreviousNodeOfSomeType:Iv,isVoid:$v,isWhitespaceNode:Rv}=Cv;function qv(e,t){const n=e.getValue();return _v(["<",n.tag,zv(e,t),fy(n),Hv(n)])}function zv(e,t){const n=e.getValue();return Av(_v([n.attributes.length?Tv:"",Fv(Tv,e.map(t,"attributes")),n.modifiers.length?Tv:"",Fv(Tv,e.map(t,"modifiers")),n.comments.length?Tv:"",Fv(Tv,e.map(t,"comments"))]))}function Vv(e,t,n){return _v(e.map((e,r)=>0===r?_v([Ov,n(e,t,n)]):n(e,t,n),"children"))}function Hv(e){return $v(e)?Sv(_v([Ov,"/>"]),_v([" />",Ov])):Sv(_v([Ov,">"]),">")}function Wv(e){const t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return _v([t,n])}function Uv(e){const t=!1===e.escaped?"}}}":"}}",n=e.strip&&e.strip.close?"~":"";return _v([n,t])}function Gv(e){const t=Wv(e),n=e.openStrip.open?"~":"";return _v([t,n,"#"])}function Yv(e){const t=Uv(e),n=e.openStrip.close?"~":"";return _v([n,t])}function Kv(e){const t=Wv(e),n=e.closeStrip.open?"~":"";return _v([t,n,"/"])}function Xv(e){const t=Uv(e),n=e.closeStrip.close?"~":"";return _v([n,t])}function Jv(e){const t=Wv(e),n=e.inverseStrip.open?"~":"";return _v([t,n])}function Zv(e){const t=Uv(e),n=e.inverseStrip.close?"~":"";return _v([n,t])}function Qv(e,t){const n=e.getValue();return kv(_v([Gv(n),hy(e,t),fy(n.program),Ov,Yv(n)]))}function ey(e){return _v([Ev,Jv(e),"else",Zv(e)])}function ty(e,t){const n=e.getParentNode(1);return _v([Jv(n),"else ",hy(e,t),Zv(n)])}function ny(e,t){const n=e.getValue();return _v([ry(n)?Ov:Ev,Kv(n),e.call(t,"path"),Xv(n)])}function ry(e){return Bv(e,["BlockStatement"])&&e.program.body.every(e=>Rv(e))}function iy(e){return Bv(e,["BlockStatement"])&&e.inverse}function oy(e,t){if(ry(e.getValue()))return"";const n=e.call(t,"program");return Av(_v([Ev,n]))}function ay(e,t){const n=e.getValue(),r=e.call(t,"inverse"),i=_v([Ev,r]);return function(e){return iy(e)&&1===e.inverse.body.length&&Bv(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?i:iy(n)?_v([ey(n),Av(i)]):""}function sy(e){return(e="string"==typeof e?e:"").split("\n").length-1}function ly(e=0,t=0){return new Array(Math.min(e,t)).fill(Ev)}function uy(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=t.singleQuote?r:n,o=i===r?n:r;let a=!1;(e.includes(i.quote)||e.includes(o.quote))&&(a=(e.match(i.regex)||[]).length>(e.match(o.regex)||[]).length);const s=a?o:i,l=e.replace(s.regex,"\\".concat(s.quote));return _v([s.quote,l,s.quote])}function cy(e,t){const n=py(e,t),r=dy(e,t);return r?Av(_v([n,Tv,kv(r)])):n}function hy(e,t){const n=py(e,t),r=dy(e,t);return r?Av(kv(_v([n,Tv,r]))):n}function py(e,t){return e.call(t,"path")}function dy(e,t){const n=e.getValue(),r=[];if(n.params.length){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const n=e.call(t,"hash");r.push(n)}return r.length?Fv(Tv,r):""}function fy(e){return e&&e.blockParams.length?_v([" as |",e.blockParams.join(" "),"|"]):""}function my(e,t,n){let r=0,i=0;for(;;){if(i===e.length)return null;let o=e.indexOf("\n",i);if(-1===o&&(o=e.length),r===t)return i+n>o?null:i+n;if(-1===o)return null;r+=1,i=o+1}}var gy={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(Pv(e)){const e=my(t.originalText,r.loc.start.line-1,r.loc.start.column),n=my(t.originalText,r.loc.end.line-1,r.loc.end.column);return t.originalText.slice(e,n)}switch(r.type){case"Block":case"Program":case"Template":return kv(_v(e.map(n,"body")));case"ElementNode":{const i=jv(e,["ElementNode"])?Ev:"";if($v(r))return _v([kv(qv(e,n)),i]);const o=r.children.every(e=>Rv(e));return _v([kv(qv(e,n)),kv(_v([o?"":Av(Vv(e,t,n)),r.children.length?Ev:"",_v([""])])),i])}case"BlockStatement":{const t=e.getParentNode(1),i=t&&t.inverse&&1===t.inverse.body.length&&t.inverse.body[0]===r&&"if"===t.inverse.body[0].path.parts[0];return _v(i?[ty(e,n),oy(e,n),ay(e,n)]:[Qv(e,n),kv(_v([oy(e,n),ay(e,n),ny(e,n)]))])}case"ElementModifierStatement":return kv(_v(["{{",hy(e,n),Ov,"}}"]));case"MustacheStatement":{const t=Mv(e,["AttrNode","ConcatStatement"]),i=Mv(e,["ElementNode"])&&0===r.hash.pairs.length&&function(e){return 0===e.params.length}(r),o=t||i;return kv(_v([Wv(r),o?Av(Ov):"",hy(e,n),Ov,Uv(r)]))}case"SubExpression":return kv(_v(["(",cy(e,n),Ov,")"]));case"AttrNode":{const i="TextNode"===r.value.type;if(i&&""===r.value.chars&&r.value.loc.start.column===r.value.loc.end.column)return _v([r.name]);const o=e.call(n,"value"),a=i?uy(o.parts.join(),t):o;return _v([r.name,"=",a])}case"ConcatStatement":{const r=t.singleQuote?"'":'"';return _v([r,...e.map(e=>n(e),"parts"),r])}case"Hash":return _v([Fv(Tv,e.map(n,"pairs"))]);case"HashPair":return _v([r.key,"=",e.call(n,"value")]);case"TextNode":{const t=2,n=!Lv(e),i=!Nv(e),o=!/\S/.test(r.chars),a=sy(r.chars);let s=function(e){return sy(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(r.chars),l=function(e){return sy(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(r.chars);if((n||i)&&o&&Mv(e,["Block","ElementNode","Template"]))return"";if(o&&a?(s=Math.min(a,t),l=0):(jv(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)),Iv(e,["BlockStatement","ElementNode"])&&(s=Math.max(s,1))),e.stack.includes("attributes")){if(!function(e,t){return Mv(e,["AttrNode"])&&e.getParentNode().name.toLowerCase()===t||Mv(e,["ConcatStatement"])&&e.getParentNode(1).name.toLowerCase()===t}(e,"class"))return _v([r.chars]);let n="",i="";return Mv(e,["ConcatStatement"])&&(Iv(e,["MustacheStatement"])&&(n=" "),jv(e,["MustacheStatement"])&&(i=" ")),_v([...ly(s,t),r.chars.replace(/^\s+/g,n).replace(/\s+$/,i),...ly(l,t)])}let u="",c="";0===l&&jv(e,["MustacheStatement"])&&(c=" "),0===s&&Iv(e,["MustacheStatement"])&&(u=" "),n&&(s=0,u=""),i&&(l=0,c="");let h=r.chars;return h.startsWith("{{")&&h.includes("}}")&&(h="\\"+h),_v([...ly(s,t),h.replace(/^\s+/g,u).replace(/\s+$/,c),...ly(l,t)])}case"MustacheCommentStatement":{const e=r.value.includes("}}")?"--":"";return _v(["{{!",e,r.value,e,"}}"])}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return _v(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return uy(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){if(delete t.loc,delete t.selfClosing,"TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n}}},vy=["hbs","htmlbars"],yy=[".handlebars",".hbs"],by={name:"Handlebars",type:"markup",group:"HTML",aliases:vy,extensions:yy,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},Dy={languages:[Dl(We(Object.freeze({__proto__:null,name:"Handlebars",type:"markup",group:"HTML",aliases:vy,extensions:yy,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155,default:by})),()=>({since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:gy},parsers:{get glimmer(){return{}.parsers.glimmer}}},xy={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}};const{concat:wy,join:Cy,hardline:_y,line:ky,softline:Ey,group:Sy,indent:Ay,ifBreak:Fy}=cn.builders,{hasIgnoreComment:Ty,isNextLineEmpty:Oy}=$t,{insertPragma:Ny}=xy;function Ly(e,t,n){return 0===n.directives.length?"":Sy(wy([ky,Cy(ky,e.map(t,"directives"))]))}function Py(e,t,n){const r=e.getValue().length;return e.map((e,i)=>{const o=n(e);return Oy(t.originalText,e.getValue(),t.locEnd)&&in(e),"interfaces");for(let s=0;s{i.push(wy([e.call(n)])),o!==r.definitions.length-1&&(i.push(_y),Oy(t.originalText,e.getValue(),t.locEnd)&&i.push(_y))},"definitions"),wy([wy(i),_y])}case"OperationDefinition":{const i="{"!==t.originalText[t.locStart(r)],o=!!r.name;return wy([i?r.operation:"",i&&o?wy([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?Sy(wy(["(",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.map(n,"variableDefinitions"))])),Ey,")"])):"",Ly(e,n,r),r.selectionSet&&(i||o)?" ":"",e.call(n,"selectionSet")])}case"FragmentDefinition":return wy(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?Sy(wy(["(",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.map(n,"variableDefinitions"))])),Ey,")"])):""," on ",e.call(n,"typeCondition"),Ly(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return wy(["{",Ay(wy([_y,Cy(_y,e.call(e=>Py(e,t,n),"selections"))])),_y,"}"]);case"Field":return Sy(wy([r.alias?wy([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?Sy(wy(["(",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.call(e=>Py(e,t,n),"arguments"))])),Ey,")"])):"",Ly(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?wy(['"""',_y,Cy(_y,r.value.replace(/"""/g,"\\$&").split("\n")),_y,'"""']):wy(['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return wy(["$",e.call(n,"name")]);case"ListValue":return Sy(wy(["[",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.map(n,"values"))])),Ey,"]"]));case"ObjectValue":return Sy(wy(["{",t.bracketSpacing&&r.fields.length>0?" ":"",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.map(n,"fields"))])),Ey,Fy("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return wy([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return wy(["@",e.call(n,"name"),r.arguments.length>0?Sy(wy(["(",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.call(e=>Py(e,t,n),"arguments"))])),Ey,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return wy([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?wy([" = ",e.call(n,"defaultValue")]):"",Ly(e,n,r)]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return wy([e.call(n,"description"),r.description?_y:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?wy([" implements ",wy(jy(e,t,n))]):"",Ly(e,n,r),r.fields.length>0?wy([" {",Ay(wy([_y,Cy(_y,e.call(e=>Py(e,t,n),"fields"))])),_y,"}"]):""]);case"FieldDefinition":return wy([e.call(n,"description"),r.description?_y:"",e.call(n,"name"),r.arguments.length>0?Sy(wy(["(",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.call(e=>Py(e,t,n),"arguments"))])),Ey,")"])):"",": ",e.call(n,"type"),Ly(e,n,r)]);case"DirectiveDefinition":return wy([e.call(n,"description"),r.description?_y:"","directive ","@",e.call(n,"name"),r.arguments.length>0?Sy(wy(["(",Ay(wy([Ey,Cy(wy([Fy("",", "),Ey]),e.call(e=>Py(e,t,n),"arguments"))])),Ey,")"])):"",r.repeatable?" repeatable":"",wy([" on ",Cy(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return wy([e.call(n,"description"),r.description?_y:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),Ly(e,n,r),r.values.length>0?wy([" {",Ay(wy([_y,Cy(_y,e.call(e=>Py(e,t,n),"values"))])),_y,"}"]):""]);case"EnumValueDefinition":return wy([e.call(n,"description"),r.description?_y:"",e.call(n,"name"),Ly(e,n,r)]);case"InputValueDefinition":return wy([e.call(n,"description"),r.description?r.description.block?_y:ky:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?wy([" = ",e.call(n,"defaultValue")]):"",Ly(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return wy([e.call(n,"description"),r.description?_y:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),Ly(e,n,r),r.fields.length>0?wy([" {",Ay(wy([_y,Cy(_y,e.call(e=>Py(e,t,n),"fields"))])),_y,"}"]):""]);case"SchemaDefinition":return wy(["schema",Ly(e,n,r)," {",r.operationTypes.length>0?Ay(wy([_y,Cy(_y,e.call(e=>Py(e,t,n),"operationTypes"))])):"",_y,"}"]);case"OperationTypeDefinition":return wy([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return wy([e.call(n,"description"),r.description?_y:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),r.interfaces.length>0?wy([" implements ",wy(jy(e,t,n))]):"",Ly(e,n,r),r.fields.length>0?wy([" {",Ay(wy([_y,Cy(_y,e.call(e=>Py(e,t,n),"fields"))])),_y,"}"]):""]);case"FragmentSpread":return wy(["...",e.call(n,"name"),Ly(e,n,r)]);case"InlineFragment":return wy(["...",r.typeCondition?wy([" on ",e.call(n,"typeCondition")]):"",Ly(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return Sy(wy([e.call(n,"description"),r.description?_y:"",Sy(wy(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),Ly(e,n,r),r.types.length>0?wy([" =",Fy(""," "),Ay(wy([Fy(wy([ky," "])),Cy(wy([ky,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return wy([e.call(n,"description"),r.description?_y:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),Ly(e,n,r)]);case"NonNullType":return wy([e.call(n,"type"),"!"]);case"ListType":return wy(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:function(e,t){delete t.loc,delete t.comments},hasPrettierIgnore:Ty,insertPragma:Ny,printComment:function(e){const 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}},My={bracketSpacing:kf.bracketSpacing},Iy=[".graphql",".gql",".graphqls"],$y={name:"GraphQL",type:"data",extensions:Iy,tmScope:"source.graphql",aceMode:"text",languageId:139},Ry={languages:[Dl(We(Object.freeze({__proto__:null,name:"GraphQL",type:"data",extensions:Iy,tmScope:"source.graphql",aceMode:"text",languageId:139,default:$y})),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:My,printers:{graphql:By},parsers:{get graphql(){return{}.parsers.graphql}}};const{getLast:qy}=$t,{cjkPattern:zy,kPattern:Vy,punctuationPattern:Hy}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\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]"},Wy=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Uy=Wy.concat(["tableCell","paragraph","heading"]),Gy=new RegExp(Vy),Yy=new RegExp(Hy);function Ky(e,t){const[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}var Xy={mapAst:function(e,t){return function e(n,r,i){i=i||[];const o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o].concat(i)))),o}(e,null,null)},splitText:function(e,t){const n=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(zy,")\n(").concat(zy,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach((e,t,i)=>{t%2!=1?(0!==t&&t!==i.length-1||""!==e)&&e.split(new RegExp("(".concat(zy,")"))).forEach((e,t,n)=>{(0!==t&&t!==n.length-1||""!==e)&&(t%2!=0?r(Yy.test(e)?{type:"word",value:e,kind:"cjk-punctuation",hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:Gy.test(e)?"k-letter":"cj-letter",hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&r({type:"word",value:e,kind:"non-cjk",hasLeadingPunctuation:Yy.test(e[0]),hasTrailingPunctuation:Yy.test(qy(e))}))}):n.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})}),n;function r(e){const t=qy(n);var r,i;t&&"word"===t.type&&("non-cjk"===t.kind&&"cj-letter"===e.kind&&!t.hasTrailingPunctuation||"cj-letter"===t.kind&&"non-cjk"===e.kind&&!e.hasLeadingPunctuation?n.push({type:"whitespace",value:" "}):(r="non-cjk",i="cjk-punctuation",t.kind===r&&e.kind===i||t.kind===i&&e.kind===r||[t.value,e.value].some(e=>/\u3000/.test(e))||n.push({type:"whitespace",value:""}))),n.push(e)}},punctuationPattern:Hy,getFencedCodeBlockValue:function(e,t){const n=t.trimEnd().slice(e.position.start.offset,e.position.end.offset),r=n.match(/^\s*/)[0].length,i=new RegExp("^\\s{0,".concat(r,"}")),o=n.split("\n"),a=n[r],s=n.slice(r).match(new RegExp("^[".concat(a,"]+")))[0],l=new RegExp("^\\s{0,3}".concat(s)).test(o[o.length-1].slice(u(o.length-1)));return o.slice(1,l?-1:void 0).map((e,t)=>e.slice(u(t+1)).replace(i,"")).join("\n");function u(t){return e.position.indent[t-1]-1}},getOrderedListItemInfo:Ky,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(Ky(e.children[0],t.originalText).numberText),r=Number(Ky(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(Ky(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:Wy,INLINE_NODE_WRAPPER_TYPES:Uy,isAutolink:function(e,t){if(!e||"link"!==e.type||1!==e.children.length)return!1;const n=e.children[0];return n&&t.locStart(e)===t.locStart(n)&&t.locEnd(e)===t.locEnd(n)}};const{getParserName:Jy,getMaxContinuousCount:Zy}=$t,{builders:{hardline:Qy,literalline:eb,concat:tb,markAsRoot:nb},utils:{mapDoc:rb}}=cn,{print:ib}=gm,{getFencedCodeBlockValue:ob}=Xy;var ab=function(e,t,n,r){const i=e.getValue();if("code"===i.type&&null!==i.lang){const e=i.lang.match(/^[\w-]+/),t=e?e[0]:"",o=Jy(t,r);if(o){const e=r.__inJsTemplate?"~":"`",t=e.repeat(Math.max(3,Zy(i.value,e)+1)),a=n(ob(i,r.originalText),{parser:o},{stripTrailingHardline:!0});return nb(tb([t,i.lang,i.meta?" "+i.meta:"",Qy,function(e){return rb(e,e=>"string"==typeof e&&e.includes("\n")?tb(e.split(/(\n)/g).map((e,t)=>t%2==0?e:eb)):e)}(a),Qy,t]))}}switch(i.type){case"front-matter":return ib(i,n);case"importExport":return tb([n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),Qy]);case"jsx":return n("<$>".concat(i.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const{parse:sb}=gm,lb=["format","prettier"];function ub(e){const t="@(".concat(lb.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var cb={startWithPragma:ub,hasPragma:e=>ub(sb(e).content.trimStart()),insertPragma:e=>{const t=sb(e),n="\x3c!-- @".concat(lb[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}};const{getOrderedListItemInfo:hb,mapAst:pb,splitText:db}=Xy,fb=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function mb(e,t,n){return pb(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const i=e[e.length-1];return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}var gb=function(e,t){return function(e){return mb(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 pb(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}))}(e=function(e,t){return pb(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===r.type&&(0===n&&(i=i.trimStart()),n===r.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:db(i,t)}})}(e=function(e,t){return pb(e,(e,t,n)=>{if("list"===e.type&&0!==e.children.length){for(let t=0;t1)return!0;const o=n(r);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(i)&&(o%t.tabWidth==0||hb(i,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return pb(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return mb(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 pb(e,e=>"text"!==e.type?e:Object.assign({},e,{value:"*"!==e.value&&"_"!==e.value&&"$"!==e.value&&fb.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?t.originalText.slice(e.position.start.offset,e.position.end.offset):e.value}))}(e,t))),t),t),t)))};const{getLast:vb,getMinNotPresentContinuousCount:yb,getMaxContinuousCount:bb,getStringWidth:Db}=$t,{builders:{breakParent:xb,concat:wb,join:Cb,line:_b,literalline:kb,markAsRoot:Eb,hardline:Sb,softline:Ab,ifBreak:Fb,fill:Tb,align:Ob,indent:Nb,group:Lb},utils:{normalizeDoc:Pb},printer:{printDocToString:jb}}=cn,{replaceEndOfLineWith:Bb,isFrontMatterNode:Mb}=$t,{getFencedCodeBlockValue:Ib,hasGitDiffFriendlyOrderedList:$b,splitText:Rb,punctuationPattern:qb,INLINE_NODE_TYPES:zb,INLINE_NODE_WRAPPER_TYPES:Vb,isAutolink:Hb}=Xy,Wb=new Set(["importExport"]),Ub=["heading","tableCell","link"],Gb=new Set(["listItem","definition","footnoteDefinition"]);function Yb(e,t,n,r){const i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return wb([o,eD(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return Ob(" ".repeat(o.length),e.call(n));const a=" ".repeat((s=t.tabWidth-r.length,u=3,s<(l=0)?l:s>u?u:s));var s,l,u;return wb([a,Ob(a,e.call(n))])}})])}function Kb(e,t){return function(e,t,n){n=n||(()=>!0);let r=-1;for(const i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,t=>t.ordered===e.ordered)}function Xb(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function Jb(e,t){const n=Xb(e,t);return-1===n?null:e.getParentNode(n)}function Zb(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return Sb;const r="always"===n.proseWrap&&!Jb(e,Ub);return""!==t?r?_b:" ":r?Ab:""}function Qb(e,t,n){const r=[];let i=null;const{children:o}=e.getValue();return o.forEach((e,t)=>{switch(nD(e)){case"start":null===i&&(i={index:t,offset:e.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:t,offset:e.position.start.offset}}),i=null)}}),eD(e,t,n,{processor:(e,i)=>{if(0!==r.length){const e=r[0];if(i===e.start.index)return wb([o[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),o[e.end.index].value]);if(e.start.indexe.call(n)),a=e.getValue(),s=[];let l;return e.map((e,n)=>{const r=e.getValue(),i=o(e,n);if(!1!==i){const e={parts:s,prevNode:l,parentNode:a,options:t};(function(e,t){const n=0===t.parts.length,r=zb.includes(e.type),i="html"===e.type&&Vb.includes(t.parentNode.type);return n||r||i})(r,e)||(s.push(Sb),l&&Wb.has(l.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&Gb.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===nD(t.prevNode),a="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||o||a||s)}(r,e)||rD(r,e))&&s.push(Sb),rD(r,e)&&s.push(Sb)),s.push(i),l=r}},"children"),i(s)}function tD(e){let t=e;for(;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function nD(e){if("html"!==e.type)return!1;const t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function rD(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function iD(e,t){const n=[" "].concat(t||[]);return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e}function oD(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+oD(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(o,")"),"g"),"\\$1"),"".concat(o).concat(e).concat(o)}var aD={preprocess:gb,print:function(e,t,n){const r=e.getValue();if(function(e){const t=Jb(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return wb(Rb(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":Zb(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":wb([Pb(Qb(e,t,n)),Wb.has(tD(r).type)?"":Sb]);case"paragraph":return eD(e,t,n,{postprocessor:Tb});case"sentence":return eD(e,t,n);case"word":{let n=r.value.replace(/[$*]/g,"\\$&").replace(new RegExp(["(^|".concat(qb,")(_+)"),"(_+)(".concat(qb,"|$)")].join("|"),"g"),(e,t,n,r,i)=>(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_"));const i=(e,t,n)=>"sentence"===e.type&&0===n,o=(e,n,r)=>Hb(e.children[r-1],t);return n!==r.value&&(e.match(void 0,i,o)||e.match(void 0,i,(e,t,n)=>"emphasis"===e.type&&0===n,o))&&(n=n.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),n}case"whitespace":{const n=e.getParentNode(),i=n.children.indexOf(r),o=n.children[i+1],a=o&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return Zb(e,r.value,{proseWrap:a})}case"emphasis":{let i;if(Hb(r.children[0],t))i=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),o=t.children[n-1],a=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===vb(o.children).type&&!vb(o.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||Jb(e,"emphasis")?"*":"_"}return wb([i,eD(e,t,n),i])}case"strong":return wb(["**",eD(e,t,n),"**"]);case"delete":return wb(["~~",eD(e,t,n),"~~"]);case"inlineCode":{const e=yb(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return wb([t,n,r.value,n,t])}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:",n=r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url;return wb(["<",n,">"])}case"[":return wb(["[",eD(e,t,n),"](",iD(r.url,")"),oD(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return wb(["![",r.alt||"","](",iD(r.url,")"),oD(r.title,t),")"]);case"blockquote":return wb(["> ",Ob("> ",eD(e,t,n))]);case"heading":return wb(["#".repeat(r.depth)+" ",eD(e,t,n)]);case"code":{if(r.isIndented){const e=" ".repeat(4);return Ob(e,wb([e,wb(Bb(r.value,Sb))]))}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,bb(r.value,e)+1));return wb([n,r.lang||"",r.meta?" "+r.meta:"",Sb,wb(Bb(Ib(r,t.originalText),Sb)),Sb,n])}case"html":{const t=e.getParentNode(),n="root"===t.type&&vb(t.children)===r?r.value.trimEnd():r.value,i=/^$/.test(n);return wb(Bb(n,i?Sb:Eb(kb)))}case"list":{const i=Kb(r,e.getParentNode()),o=$b(r,t);return eD(e,t,n,{processor:(e,a)=>{const s=function(){const e=r.ordered?(0===a?r.start:o?1:r.start+a)+(i%2==0?". ":") "):i%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(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?wb([s,Yb(e,t,n,s)]):wb([s,Ob(" ".repeat(s.length),Yb(e,t,n,s))])}})}case"thematicBreak":{const t=Xb(e,"list");return-1===t?"---":Kb(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return wb(["[",eD(e,t,n),"]","full"===r.referenceType?wb(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return wb(["![",r.alt||"","][",r.identifier,"]"]);default:return wb(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":{const e="always"===t.proseWrap?_b:" ";return Lb(wb([wb(["[",r.identifier,"]:"]),Nb(wb([e,iD(r.url),null===r.title?"":wb([e,oD(r.title,t,!1)])]))]))}case"footnote":return wb(["[^",eD(e,t,n),"]"]);case"footnoteReference":return wb(["[^",r.identifier,"]"]);case"footnoteDefinition":{const i=e.getParentNode().children[e.getName()+1],o=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return wb(["[^",r.identifier,"]: ",o?eD(e,t,n):Lb(wb([Ob(" ".repeat(4),eD(e,t,n,{processor:(e,t)=>0===t?Lb(wb([Ab,e.call(n)])):e.call(n)})),i&&"footnoteDefinition"===i.type?Ab:""]))])}case"table":return function(e,t,n){const r=Sb.parts[0],i=e.getValue(),o=[];e.map(e=>{const r=[];e.map(e=>{r.push(jb(e.call(n),t).formatted)},"children"),o.push(r)},"children");const a=o.reduce((e,t)=>e.map((e,n)=>Math.max(e,Db(t[n]))),o[0].map(()=>3)),s=Cb(r,[c(o[0]),u(),Cb(r,o.slice(1).map(e=>c(e)))]);if("never"!==t.proseWrap)return wb([xb,s]);const l=Cb(r,[c(o[0],!0),u(!0),Cb(r,o.slice(1).map(e=>c(e,!0)))]);return wb([xb,Lb(Fb(l,s))]);function u(e){return wb(["| ",Cb(" | ",a.map((t,n)=>{const r=e?3:t;switch(i.align[n]){case"left":return":"+"-".repeat(r-1);case"right":return"-".repeat(r-1)+":";case"center":return":"+"-".repeat(r-2)+":";default:return"-".repeat(r)}}))," |"])}function c(e,t){return wb(["| ",Cb(" | ",t?e:e.map((e,t)=>{switch(i.align[t]){case"right":return p(e,a[t]);case"center":return d(e,a[t]);default:return h(e,a[t])}}))," |"])}function h(e,t){const n=t-Db(e);return wb([e," ".repeat(n)])}function p(e,t){const n=t-Db(e);return wb([" ".repeat(n),e])}function d(e,t){const n=t-Db(e),r=Math.floor(n/2),i=n-r;return wb([" ".repeat(r),e," ".repeat(i)])}}(e,t,n);case"tableCell":return eD(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?wb([" ",Eb(kb)]):wb(["\\",Sb]);case"liquidNode":return wb(Bb(r.value,Sb));case"importExport":case"jsx":return wb([r.value,Sb]);case"math":return wb(["$$",Sb,r.value?wb([wb(Bb(r.value,Sb)),Sb]):"","$$"]);case"inlineMath":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:ab,massageAstNode:function(e,t,n){return delete t.position,delete t.raw,"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?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||Mb(n.children[0])&&n.children[1]===e)&&"html"===e.type&&cb.startWithPragma(e.value)?null:void 0)},hasPrettierIgnore:function(e){const t=+e.getName();return 0!==t&&"next"===nD(e.getParentNode().children[t-1])},insertPragma:cb.insertPragma},sD={proseWrap:kf.proseWrap,singleQuote:kf.singleQuote},lD=["pandoc"],uD=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],cD=["contents.lr"],hD={name:"Markdown",type:"prose",aliases:lD,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:uD,filenames:cD,tmScope:"source.gfm",languageId:222},pD=We(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:lD,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:uD,filenames:cD,tmScope:"source.gfm",languageId:222,default:hD})),dD={languages:[Dl(pD,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter(e=>".mdx"!==e)})),Dl(pD,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:sD,printers:{mdast:aD},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:fD}=$t;var mD=Object.freeze({__proto__:null,default:["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"]}),gD=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],vD=["title"],yD=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],bD=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],DD=["autoplay","controls","crossorigin","loop","muted","preload","src"],xD=["href","target"],wD=["color","face","size"],CD=["dir"],_D=["cite"],kD=["alink","background","bgcolor","link","text","vlink"],ED=["clear"],SD=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],AD=["height","width"],FD=["align"],TD=["align","char","charoff","span","valign","width"],OD=["align","char","charoff","span","valign","width"],ND=["value"],LD=["cite","datetime"],PD=["open"],jD=["title"],BD=["open"],MD=["compact"],ID=["align"],$D=["compact"],RD=["height","src","type","width"],qD=["disabled","form","name"],zD=["color","face","size"],VD=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],HD=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],WD=["cols","rows"],UD=["align"],GD=["align"],YD=["align"],KD=["align"],XD=["align"],JD=["align"],ZD=["profile"],QD=["align","noshade","size","width"],ex=["manifest","version"],tx=["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],nx=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],rx=["accept","accesskey","align","alt","autocomplete","autofocus","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","tabindex","title","type","usemap","value","width"],ix=["cite","datetime"],ox=["prompt"],ax=["accesskey","for","form"],sx=["accesskey","align"],lx=["type","value"],ux=["as","charset","color","crossorigin","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],cx=["name"],hx=["compact"],px=["charset","content","http-equiv","name","scheme"],dx=["high","low","max","min","optimum","value"],fx=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],mx=["compact","reversed","start","type"],gx=["disabled","label"],vx=["disabled","label","selected","value"],yx=["for","form","name"],bx=["align"],Dx=["name","type","value","valuetype"],xx=["width"],wx=["max","value"],Cx=["cite"],_x=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],kx=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Ex=["name"],Sx=["media","sizes","src","srcset","type"],Ax=["media","nonce","title","type"],Fx=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],Tx=["align","char","charoff","valign"],Ox=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Nx=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],Lx=["align","char","charoff","valign"],Px=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],jx=["align","char","charoff","valign"],Bx=["datetime"],Mx=["align","bgcolor","char","charoff","valign"],Ix=["default","kind","label","src","srclang"],$x=["compact","type"],Rx=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],qx={"*":["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:gD,abbr:vD,applet:yD,area:bD,audio:DD,base:xD,basefont:wD,bdo:CD,blockquote:_D,body:kD,br:ED,button:SD,canvas:AD,caption:FD,col:TD,colgroup:OD,data:ND,del:LD,details:PD,dfn:jD,dialog:BD,dir:MD,div:ID,dl:$D,embed:RD,fieldset:qD,font:zD,form:VD,frame:HD,frameset:WD,h1:UD,h2:GD,h3:YD,h4:KD,h5:XD,h6:JD,head:ZD,hr:QD,html:ex,iframe:tx,img:nx,input:rx,ins:ix,isindex:ox,label:ax,legend:sx,li:lx,link:ux,map:cx,menu:hx,meta:px,meter:dx,object:fx,ol:mx,optgroup:gx,option:vx,output:yx,p:bx,param:Dx,pre:xx,progress:wx,q:Cx,script:_x,select:kx,slot:Ex,source:Sx,style:Ax,table:Fx,tbody:Tx,td:Ox,textarea:Nx,tfoot:Lx,th:Px,thead:jx,time:Bx,tr:Mx,track:Ix,ul:$x,video:Rx},zx=Object.freeze({__proto__:null,a:gD,abbr:vD,applet:yD,area:bD,audio:DD,base:xD,basefont:wD,bdo:CD,blockquote:_D,body:kD,br:ED,button:SD,canvas:AD,caption:FD,col:TD,colgroup:OD,data:ND,del:LD,details:PD,dfn:jD,dialog:BD,dir:MD,div:ID,dl:$D,embed:RD,fieldset:qD,font:zD,form:VD,frame:HD,frameset:WD,h1:UD,h2:GD,h3:YD,h4:KD,h5:XD,h6:JD,head:ZD,hr:QD,html:ex,iframe:tx,img:nx,input:rx,ins:ix,isindex:ox,label:ax,legend:sx,li:lx,link:ux,map:cx,menu:hx,meta:px,meter:dx,object:fx,ol:mx,optgroup:gx,option:vx,output:yx,p:bx,param:Dx,pre:xx,progress:wx,q:Cx,script:_x,select:kx,slot:Ex,source:Sx,style:Ax,table:Fx,tbody:Tx,td:Ox,textarea:Nx,tfoot:Lx,th:Px,thead:jx,time:Bx,tr:Mx,track:Ix,ul:$x,video:Rx,default:qx}),Vx=We(mD),Hx=We(zx);const{getParserName:Wx,isFrontMatterNode:Ux}=$t,{CSS_DISPLAY_TAGS:Gx,CSS_DISPLAY_DEFAULT:Yx,CSS_WHITE_SPACE_TAGS:Kx,CSS_WHITE_SPACE_DEFAULT:Xx}={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"},Jx=nw(Vx),Zx=function(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}(Hx,nw),Qx=new Set(["\t","\n","\f","\r"," "]),ew=e=>e.replace(/[\t\n\f\r ]+$/,""),tw=e=>e.match(/^[\t\n\f\r ]*/)[0];function nw(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function rw(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!mw(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!xw(e,t)||ow(e)||"interpolation"===e.type)}function iw(e){return"attribute"!==e.type&&(!!e.parent&&("number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])))}function ow(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||gw(e)&&("script"===e.name||"style"===e.name))}function aw(e){return vw(e).startsWith("pre")}function sw(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function lw(e){return pw(e)||"element"===e.type&&"br"===e.fullName||uw(e)}function uw(e){return cw(e)&&hw(e)}function cw(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function pw(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function dw(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function fw(e){return"block"===e||"list-item"===e||e.startsWith("table")}function mw(e){return vw(e).startsWith("pre")}function gw(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function vw(e){return"element"===e.type&&(!e.namespace||gw(e))&&Kx[e.name]||Xx}const yw=new Set(["template","style","script"]);function bw(e,t){return Dw(e,t)&&!yw.has(e.fullName)}function Dw(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function xw(e,t){return Dw(e,t)&&(bw(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var ww={HTML_ELEMENT_ATTRIBUTES:Zx,HTML_TAGS:Jx,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(ew(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(ew(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!ow(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){const i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:function(e,t=function(e){let t=1/0;for(const n of e.split("\n")){if(0===n.length)continue;if(!Qx.has(n[0]))return 0;const e=tw(n).length;n.length!==e&&ee.slice(t)).join("\n")},forceBreakChildren:sw,forceBreakContent:function(e){return sw(e)||"element"===e.type&&0!==e.children.length&&(["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&&cw(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||hw(e.lastChild))},forceNextEmptyLine:function(e){return Ux(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!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||n||gw(e))&&Gx[e.name]||Yx}},getNodeCssStyleWhiteSpace:vw,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:iw,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&xw(e,t)?dw(e)||!("src"in e.attrMap)&&Wx(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?dw(e):"babel"},isVueCustomBlock:bw,isVueNonHtmlBlock:xw,isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(fw(t)||"inline-block"===t||ow(e));var t},isIndentationSensitiveNode:aw,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){return!Ux(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!mw(e.parent)||!(!e.prev&&("root"===e.parent.type||mw(e)&&e.parent||ow(e.parent)||bw(e.parent,t)||(n=e.parent.cssDisplay,fw(n)||"inline-block"===n)))&&!(e.prev&&!function(e){return!fw(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:mw,isScriptLikeTag:ow,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!Ux(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!mw(e.parent)||!(!e.next&&("root"===e.parent.type||mw(e)&&e.parent||ow(e.parent)||bw(e.parent,t)||(n=e.parent.cssDisplay,fw(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!fw(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return ow(e)||"interpolation"===e.type||aw(e)},isUnknownNamespace:gw,preferHardlineAsLeadingSpaces:function(e){return pw(e)||e.prev&&lw(e.prev)||uw(e)},preferHardlineAsTrailingSpaces:lw,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(iw(e)||rw(e.parent,t))},shouldPreserveContent:rw,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}};const{htmlTrim:Cw,getLeadingAndTrailingHtmlWhitespace:_w,hasHtmlWhitespace:kw,canHaveInterpolation:Ew,getNodeCssStyleDisplay:Sw,isDanglingSpaceSensitiveNode:Aw,isIndentationSensitiveNode:Fw,isLeadingSpaceSensitiveNode:Tw,isTrailingSpaceSensitiveNode:Ow,isWhitespaceSensitiveNode:Nw}=ww,Lw=[function(e){return e.map(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e})},function(e){const 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;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let i=0;i"cdata"===e.type,e=>""))},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!Ew(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}const e=r.sourceSpan.constructor;let i=r.sourceSpan.start,o=null;const a=r.value.split(n);for(let n=0;n{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===Cw(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});const t=Nw(e),n=Fw(e);return e.clone({isWhitespaceSensitive:t,isIndentationSensitive:n,children:e.children.reduce((e,n)=>{if("text"!==n.type||t)return e.concat(n);const r=[],{leadingWhitespace:i,text:o,trailingWhitespace:a}=_w(n.value);i&&r.push({type:"whitespace"});const s=n.sourceSpan.constructor;return o&&r.push({type:"text",value:o,sourceSpan:new s(n.sourceSpan.start.moveBy(i.length),n.sourceSpan.end.moveBy(-a.length))}),a&&r.push({type:"whitespace"}),e.concat(r)},[]).reduce((e,t,n,r)=>{if("whitespace"===t.type)return e;const i=0!==n&&"whitespace"===r[n-1].type,o=n!==r.length-1&&"whitespace"===r[n+1].type;return e.concat(Object.assign({},t,{hasLeadingSpaces:i,hasTrailingSpaces:o}))},[])})})},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:Sw(e,t)}))},function(e){return e.map(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){return e.map(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}))},function(e,t){return e.map(e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:Aw(e)}):e.clone({children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:Tw(e,t),isTrailingSpaceSensitive:Ow(e,t)})).map((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))}):e)},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!kw(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;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r")+i.firstChild.value+"")+o.value,sourceSpan:new a(n.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:s,hasTrailingSpaces:l}))}else t.push(i)}return e.clone({children:t})}}return e})}];var Pw=function(e,t){for(const n of Lw)e=n(e,t);return e},jw={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}};const{builders:{concat:Bw,group:Mw}}=cn;var Iw={isVueEventBindingExpression:function(e){const 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){const{left:n,operator:r,right:i}=function(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;const o={};o.for=i[3].trim();const a=i[1].trim().replace(r,""),s=a.match(n);return s?(o.alias=a.replace(n,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=a,{left:"".concat([o.alias,o.iterator1,o.iterator2].filter(Boolean).join(",")),operator:i[2],right:o.for}}(e);return Bw([Mw(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})])},printVueSlotScope:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueSlotScope:!0},{stripTrailingHardline:!0})}},$w=He((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(Ve,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(v));if(r)return n=r[0],v+=n.length,n}for(var o,a,s,l,u,c=e.length,h=/^[ \t\n\r\u000c]+/,p=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,y=[];;){if(i(p),v>=c)return y;o=i(d),a=[],","===o.slice(-1)?(o=o.replace(f,""),D()):b()}function b(){for(i(h),s="",l="in descriptor";;){if(u=e.charAt(v),"in descriptor"===l)if(r(u))s&&(a.push(s),s="",l="after descriptor");else{if(","===u)return v+=1,s&&a.push(s),void D();if("("===u)s+=u,l="in parens";else{if(""===u)return s&&a.push(s),void D();s+=u}}else if("in parens"===l)if(")"===u)s+=u,l="in descriptor";else{if(""===u)return a.push(s),void D();s+=u}else if("after descriptor"===l)if(r(u));else{if(""===u)return void D();l="in descriptor",v-=1}v+=1}}function D(){var t,r,i,s,l,u,c,h,p,d=!1,f={};for(s=0;se),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const i=n?"w":r?"h":"d",o=n?"w":r?"h":"x",a=e=>Math.max(...e),s=t.map(e=>e.url),l=a(s.map(e=>e.length)),u=t.map(e=>e[i]).map(e=>e?e.toString():""),c=u.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t}),h=a(c);return zw(Rw([",",Vw]),s.map((e,t)=>{const n=[e],r=u[t];if(r){const i=l-e.length+1,a=h-c[t],s=" ".repeat(i+a);n.push(qw(s," "),r+o)}return Rw(n)}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:Ww,utils:{mapDoc:Uw,normalizeParts:Gw}}=cn,{replaceEndOfLineWith:Yw}=$t,{print:Kw}=gm,{breakParent:Xw,dedentToRoot:Jw,fill:Zw,group:Qw,hardline:eC,ifBreak:tC,indent:nC,join:rC,line:iC,literalline:oC,softline:aC}=Ww,{htmlTrimPreserveIndentation:sC,splitByHtmlWhitespace:lC,countChars:uC,countParents:cC,dedentString:hC,forceBreakChildren:pC,forceBreakContent:dC,forceNextEmptyLine:fC,getLastDescendant:mC,getPrettierIgnoreAttributeCommentData:gC,hasPrettierIgnore:vC,inferScriptParser:yC,isVueCustomBlock:bC,isVueNonHtmlBlock:DC,isScriptLikeTag:xC,isTextLikeNode:wC,preferHardlineAsLeadingSpaces:CC,shouldNotPrintClosingTag:_C,shouldPreserveContent:kC,unescapeQuoteEntities:EC,isPreLikeNode:SC}=ww,{insertPragma:AC}=jw,{printVueFor:FC,printVueSlotScope:TC,isVueEventBindingExpression:OC}=Iw,{printImgSrcset:NC,printClassNames:LC}=Hw;function PC(e){const t=Gw(e);return 0===t.length?"":1===t.length?t[0]:Ww.concat(t)}function jC(e,t,n){const r=e.getValue();if(pC(r))return PC([Xw,PC(e.map(e=>{const t=e.getValue(),n=t.prev?a(t.prev,t):"";return PC([n?PC([n,fC(t.prev)?eC:""]):"",o(e)])},"children"))]);const i=r.children.map(()=>Symbol(""));return PC(e.map((e,t)=>{const n=e.getValue();if(wC(n)){if(n.prev&&wC(n.prev)){const t=a(n.prev,n);if(t)return fC(n.prev)?PC([eC,eC,o(e)]):PC([t,o(e)])}return o(e)}const r=[],s=[],l=[],u=[],c=n.prev?a(n.prev,n):"",h=n.next?a(n,n.next):"";return c&&(fC(n.prev)?r.push(eC,eC):c===eC?r.push(eC):wC(n.prev)?s.push(c):s.push(tC("",aC,{groupId:i[t-1]}))),h&&(fC(n)?wC(n.next)&&u.push(eC,eC):h===eC?wC(n.next)&&u.push(eC):l.push(h)),PC([].concat(r,Qw(PC([PC(s),Qw(PC([o(e),PC(l)]),{id:i[t]})])),u))},"children"));function o(e){const r=e.getValue();return vC(r)?PC([].concat(KC(r,t),Yw(t.originalText.slice(t.locStart(r)+(r.prev&&HC(r.prev)?ZC(r).length:0),t.locEnd(r)-(r.next&&UC(r.next)?t_(r,t).length:0)),oC),JC(r,t))):n(e)}function a(e,t){return wC(e)&&wC(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?CC(t)?eC:iC:"":CC(t)?eC:aC:HC(e)&&(vC(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&UC(t)?"":!t.isLeadingSpaceSensitive||CC(t)||UC(t)&&e.lastChild&&YC(e.lastChild)&&e.lastChild.lastChild&&YC(e.lastChild.lastChild)?eC:t.hasLeadingSpaces?iC:aC}}function BC(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&WC(e.firstChild)&&(n-=QC(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&YC(e.lastChild)?r+=e_(e,t).length:GC(e)&&(r-=t_(e.lastChild,t).length),t.originalText.slice(n,r)}function MC(e,t,n){const r=e.getValue();if(!r.attrs||0===r.attrs.length)return r.isSelfClosing?" ":"";const i=r.prev&&"comment"===r.prev.type&&gC(r.prev.value),o="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,a=e.map(e=>{const r=e.getValue();return o(r)?PC(Yw(t.originalText.slice(t.locStart(r),t.locEnd(r)),oC)):n(e)},"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,l=[nC(PC([s?" ":iC,rC(iC,a)]))];return r.firstChild&&WC(r.firstChild)||r.isSelfClosing&&GC(r.parent)||s?l.push(r.isSelfClosing?" ":""):l.push(r.isSelfClosing?iC:aC),PC(l)}function IC(e,t,n){const r=e.getValue();return PC([$C(r,t),MC(e,t,n),r.isSelfClosing?"":RC(r)])}function $C(e,t){return e.prev&&HC(e.prev)?"":PC([KC(e,t),ZC(e)])}function RC(e){return e.firstChild&&WC(e.firstChild)?"":QC(e)}function qC(e,t){return PC([e.isSelfClosing?"":zC(e,t),VC(e,t)])}function zC(e,t){return e.lastChild&&YC(e.lastChild)?"":PC([XC(e,t),e_(e,t)])}function VC(e,t){return(e.next?UC(e.next):GC(e.parent))?"":PC([t_(e,t),JC(e,t)])}function HC(e){return e.next&&!wC(e.next)&&wC(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function WC(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function UC(e){return e.prev&&"docType"!==e.prev.type&&!wC(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function GC(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!wC(mC(e.lastChild))&&!SC(e)}function YC(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&wC(mC(e))}function KC(e,t){return WC(e)?QC(e.parent):UC(e)?t_(e.prev,t):""}function XC(e,t){return GC(e)?t_(e.lastChild,t):""}function JC(e,t){return YC(e)?e_(e.parent,t):HC(e)?ZC(e.next):""}function ZC(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function QC(e){switch(e.isSelfClosing,e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function e_(e,t){if(e.isSelfClosing,_C(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function n_(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Yw(t,oC):Yw(hC(sC(t)),eC):rC(iC,lC(t)).parts}var r_={preprocess:Pw,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return PC(Yw(r.raw,oC));case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),Ww.concat([Qw(jC(e,t,n)),eC]);case"element":case"ieConditionalComment":{if(kC(r,t))return PC([].concat(KC(r,t),Qw(IC(e,t,n)),Yw(BC(r,t),oC),qC(r,t),JC(r,t)));const o=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id");return PC([Qw(PC([Qw(IC(e,t,n),{id:a}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?iC:"":PC([dC(r)?Xw:"",(i=PC([o?tC(aC,"",{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?iC:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?Jw(aC):aC,jC(e,t,n)]),o?tC(nC(i),i,{groupId:a}):!xC(r)&&!bC(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?nC(i):i),(r.next?UC(r.next):GC(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?tC(aC,"",{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?iC:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*cC(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":aC])])),qC(r,t)])}case"ieConditionalStartComment":case"ieConditionalEndComment":return PC([$C(r),VC(r)]);case"interpolation":return PC([$C(r,t),PC(e.map(n,"children")),VC(r,t)]);case"text":if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return PC([PC(Yw(n,oC)),t?eC:""])}return Zw(Gw([].concat(KC(r,t),n_(r),JC(r,t))));case"docType":return PC([Qw(PC([$C(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),VC(r,t)]);case"comment":return PC([KC(r,t),PC(Yw(t.originalText.slice(t.locStart(r),t.locEnd(r)),oC)),JC(r,t)]);case"attribute":{if(null===r.value)return r.rawName;const e=EC(r.value),t=uC(e,"'")EC(e.value);let o=!1;const a=(e,t)=>{const n="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;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},s=e=>Qw(e),l=(e,t=!0)=>Qw(PC([nC(PC([aC,e])),t?aC:""])),u=e=>o?s(e):l(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:a},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return l(NC(i()));if("class"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return LC(e)}if("style"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return l(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return FC(i(),c);if("slot-scope"===e.fullName)return TC(i(),c);const t=["^:","^v-bind:"],n=["^v-","^#"];if(r(["^@","^v-on:"])){const e=i();return u(c(e,{parser:OC(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return u(c(i(),{parser:"__vue_expression"}));if(r(n))return u(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],o=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],a=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return u(t(i(),{parser:"__ng_action"}));if(r(o))return u(t(i(),{parser:"__ng_binding"}));if(r(a)){const t=i().trim();return l(Zw(n_(e,t)),!t.includes("@@"))}if(r(n))return u(t(i(),{parser:"__ng_directive"}));const s=/{{([\S\s]+?)}}/g,h=i();if(s.test(h)){const e=[];return h.split(s).forEach((n,r)=>{if(r%2==0)e.push(PC(Yw(n,oC)));else try{e.push(Qw(PC(["{{",nC(PC([iC,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),iC,"}}"])))}catch(t){e.push("{{",PC(Yw(n,oC)),"}}")}}),Qw(PC(e))}}return null}(i,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0},t),{stripTrailingHardline:!0}),r);if(e)return PC([i.rawName,'="',Qw(Uw(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"']);break}case"front-matter":return Kw(i,n)}}},i_={htmlWhitespaceSensitivity:{since:"1.15.0",category:"HTML",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."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},o_=["xhtml"],a_=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],s_={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:o_,extensions:a_,languageId:146},l_=Object.freeze({__proto__:null,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:o_,extensions:a_,languageId:146,default:s_}),u_=[".vue"],c_={name:"Vue",type:"markup",color:"#2c3e50",extensions:u_,tmScope:"text.html.vue",aceMode:"html",languageId:391},h_=Object.freeze({__proto__:null,name:"Vue",type:"markup",color:"#2c3e50",extensions:u_,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:c_}),p_=We(l_),d_=We(h_),f_={languages:[Dl(p_,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),Dl(p_,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})),Dl(p_,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),Dl(d_,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:r_},options:i_,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},m_={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".concat(e)}};const{getLast:g_}=$t;function v_(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function y_(e){return"prettier-ignore"===e.value.trim()}function b_(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function D_(e){return e&&e.middleComments&&0!==e.middleComments.length}function x_(e){return e&&e.indicatorComment}function w_(e){return e&&e.trailingComment}function C_(e){return e&&e.endComments&&0!==e.endComments.length}function __(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var k_={getLast:g_,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let i=0;ie(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let i=e.position.end.offset-1;ie.slice(o));return"preserve"===r.proseWrap||"blockLiteral"===e.type?l(s.map(e=>0===e.length?[]:[e])):l(s.map(e=>0===e.length?[]:__(e)).reduce((e,t,n)=>0===n||0===s[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(g_(e))?e.concat([t]):e.concat([e.pop().concat(t)]),[]).map(e=>e.reduce((e,t)=>0!==e.length&&/\s$/.test(g_(e))?e.concat(e.pop()+" "+t):e.concat(t),[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function l(t){if("keep"===e.chomping)return 0===g_(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:__(e)).reduce((t,n,i)=>0===i||0===r[i-1].length||0===n.length||"quoteDouble"===e&&g_(g_(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)]),[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(g_(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return C_(t.head)&&y_(g_(t.head.endComments))}return b_(t)&&y_(g_(t.leadingComments))},hasLeadingComments:b_,hasMiddleComments:D_,hasIndicatorComment:x_,hasTrailingComment:w_,hasEndComments:C_};const E_=cn.builders,{conditionalGroup:S_,breakParent:A_,concat:F_,dedent:T_,dedentToRoot:O_,fill:N_,group:L_,hardline:P_,ifBreak:j_,join:B_,line:M_,lineSuffix:I_,literalline:$_,markAsRoot:R_,softline:q_}=E_,{replaceEndOfLineWith:z_,isPreviousLineEmpty:V_}=$t,{insertPragma:H_,isPragma:W_}=m_,{getAncestorCount:U_,getBlockValueLineContents:G_,getFlowScalarLineContents:Y_,getLast:K_,getLastDescendantNode:X_,hasLeadingComments:J_,hasMiddleComments:Z_,hasIndicatorComment:Q_,hasTrailingComment:ek,hasEndComments:tk,hasPrettierIgnore:nk,isLastDescendantNode:rk,isNextLineEmpty:ik,isNode:ok,isEmptyNode:ak,defineShortcut:sk,mapNode:lk}=k_;function uk(e){switch(e.type){case"document":sk(e,"head",()=>e.children[0]),sk(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":sk(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":sk(e,"key",()=>e.children[0]),sk(e,"value",()=>e.children[1])}return e}function ck(e,t,n,r,i){switch(e.type){case"root":return F_([B_(P_,n.map((t,r)=>{const o=e.children[r],a=e.children[r+1];return F_([i(t),fk(o,a)?F_([P_,"...",ek(o)?F_([" ",n.call(i,"trailingComment")]):""]):!a||ek(a.head)?"":F_([P_,"---"])])},"children")),0===e.children.length||(a=X_(e),ok(a,["blockLiteral","blockFolded"])&&"keep"===a.chomping)?"":P_]);case"document":{const o=t.children[n.getName()+1];return B_(P_,["head"===mk(e,o,t,r)?B_(P_,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(i,"head"),F_(["---",ek(e.head)?F_([" ",n.call(i,"head","trailingComment")]):""])].filter(Boolean)):"",dk(e)?n.call(i,"body"):""].filter(Boolean))}case"documentHead":return B_(P_,[].concat(n.map(i,"children"),n.map(i,"endComments")));case"documentBody":{const t=B_(P_,n.map(i,"children")).parts,r=B_(P_,n.map(i,"endComments")).parts,o=0===t.length||0===r.length?"":(e=>ok(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":F_([P_,P_]):P_)(X_(e));return F_([].concat(t,o,r))}case"directive":return F_(["%",B_(" ",[e.name].concat(e.parameters))]);case"comment":return F_(["#",e.value]);case"alias":return F_(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return F_(["&",e.value]);case"plain":return bk(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){const o="quoteDouble"===e.type?n:t;return F_([o,bk(e.type,i,r),o])}if(i.includes(n))return F_([t,bk(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t]);if(i.includes(t))return F_([n,bk(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n]);const o=r.singleQuote?t:n;return F_([o,bk(e.type,i,r),o])}case"blockFolded":case"blockLiteral":{const t=U_(n,e=>ok(e,["sequence","mapping"])),o=rk(n);return F_(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",Q_(e)?F_([" ",n.call(i,"indicatorComment")]):"",(null===e.indent?T_:O_)(hk(null===e.indent?r.tabWidth:e.indent-1+t,F_(G_(e,{parentIndent:t,isLastDescendant:o,options:r}).reduce((t,n,r,i)=>t.concat(0===r?P_:"",N_(B_(M_,n).parts),r!==i.length-1?0===n.length?P_:R_($_):"keep"===e.chomping&&o?0===n.length?O_(P_):O_($_):""),[]))))])}case"sequence":return B_(P_,n.map(i,"children"));case"sequenceItem":return F_(["- ",hk(2,e.content?n.call(i,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(i,"content"):"";case"mapping":return B_(P_,n.map(i,"children"));case"mappingItem":case"flowMappingItem":{const o=ak(e.key),a=ak(e.value);if(o&&a)return F_([": "]);const l=n.call(i,"key"),u=n.call(i,"value");if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?l:"mappingItem"!==e.type||!gk(e.key.content,r)||ek(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?F_(["? ",hk(2,l)]):F_([l,vk(e)?" ":"",":"]);if(o)return F_([": ",hk(2,u)]);const c=Symbol("mappingKey");return J_(e.value)||!pk(e.key.content)?F_(["? ",hk(2,l),P_,B_("",n.map(i,"value","leadingComments").map(e=>F_([e,P_]))),": ",hk(2,u)]):!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}}(e.key.content)||J_(e.key.content)||Z_(e.key.content)||ek(e.key.content)||tk(e.key)||J_(e.value.content)||Z_(e.value.content)||tk(e.value)||!gk(e.value.content,r)?S_([F_([L_(F_([j_("? "),L_(hk(2,l),{id:c})])),j_(F_([P_,": ",hk(2,u)]),s(F_([vk(e)?" ":"",":",J_(e.value.content)||tk(e.value)&&e.value.content&&!ok(e.value.content,["mapping","sequence"])||"mapping"===t.type&&ek(e.key.content)&&pk(e.value.content)||ok(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?P_:e.value.content?M_:"",u])),{groupId:c})])]):F_([l,vk(e)?" ":"",": ",u])}case"flowMapping":case"flowSequence":{const t="flowMapping"===e.type?"{":"[",a="flowMapping"===e.type?"}":"]",l="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?M_:q_,u=0!==e.children.length&&"flowMappingItem"===(o=K_(e.children)).type&&ak(o.key)&&ak(o.value);return F_([t,s(F_([l,F_(n.map((t,n)=>F_([i(t),n===e.children.length-1?"":F_([",",M_,e.children[n].position.start.line!==e.children[n+1].position.start.line?yk(t,r.originalText):""])]),"children")),j_(",","")])),u?"":l,a])}case"flowSequenceItem":return n.call(i,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var o,a;function s(e){return E_.align(" ".repeat(r.tabWidth),e)}}function hk(e,t){return"number"==typeof e&&e>0?E_.align(" ".repeat(e),t):E_.align(e,t)}function pk(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}}function dk(e){return 0!==e.body.children.length||tk(e.body)}function fk(e,t){return ek(e)||t&&(0!==t.head.children.length||tk(t.head))}function mk(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(r.locStart(e),r.locStart(e)+4))||0!==e.head.children.length||tk(e.head)||ek(e.head)?"head":!fk(e,t)&&!!t&&"root"}function gk(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function vk(e){return e.key.content&&"alias"===e.key.content.type}function yk(e,t){const n=e.getValue(),r=e.stack[0];return r.isNextEmptyLinePrintedChecklist=r.isNextEmptyLinePrintedChecklist||[],!r.isNextEmptyLinePrintedChecklist[n.position.end.line]&&ik(n,t)?(r.isNextEmptyLinePrintedChecklist[n.position.end.line]=!0,q_):""}function bk(e,t,n){const r=Y_(e,t,n);return B_(P_,r.map(e=>N_(B_(M_,e).parts)))}var Dk={preprocess:function(e){return lk(e,uk)},print:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=r.tag?e.call(n,"tag"):"",a=r.anchor?e.call(n,"anchor"):"",s=ok(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!rk(e)?yk(e,t.originalText):"";return F_(["mappingValue"!==r.type&&J_(r)?F_([B_(P_,e.map(n,"leadingComments")),P_]):"",o,o&&a?" ":"",a,o||a?ok(r,["sequence","mapping"])&&!Z_(r)?P_:" ":"",Z_(r)?F_([1===r.middleComments.length?"":P_,B_(P_,e.map(n,"middleComments")),P_]):"",nk(e)?F_(z_(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),$_)):L_(ck(r,i,e,t,n)),ek(r)&&!ok(r,["document","documentHead"])?I_(F_(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===i.type&&"mapping"===e.getParentNode(2).type&&pk(r)?"":A_,e.call(n,"trailingComment")])):"",s,tk(r)&&!ok(r,["documentHead","documentBody"])?hk("sequenceItem"===r.type?2:0,F_([P_,B_(P_,e.map(e=>F_([V_(t.originalText,e.getValue(),t.locStart)?P_:"",n(e)]),"endComments"))])):""])},massageAstNode:function(e,t){if(ok(t))switch(delete t.position,t.type){case"comment":if(W_(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:H_},xk={bracketSpacing:kf.bracketSpacing,singleQuote:kf.singleQuote,proseWrap:kf.proseWrap},wk=["yml"],Ck=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],_k=[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],kk={name:"YAML",type:"data",tmScope:"source.yaml",aliases:wk,extensions:Ck,filenames:_k,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},Ek=[um,fv,Dy,Ry,dD,f_,{languages:[Dl(We(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:wk,extensions:Ck,filenames:_k,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:kk})),e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:e.filenames.filter(e=>"yarn.lock"!==e)}))],printers:{yaml:Dk},options:xk,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:Sk}=mt,{getSupportInfo:Ak}=bt,Fk=Ek.map(t=>e(t,["parsers"]));function Tk(e,t=1){return(...n)=>{const r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...Fk,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}const Ok=Tk(Ks.formatWithCursor);return{formatWithCursor:Ok,format:(e,t)=>Ok(e,t).formatted,check(e,t){const{formatted:n}=Ok(e,t);return n===e},doc:cn,getSupportInfo:Tk(Ak,0),version:Sk,util:bl,__debug:{parse:Tk(Ks.parse),formatAST:Tk(Ks.formatAST),formatDoc:Tk(Ks.formatDoc),printToDoc:Tk(Ks.printToDoc),printDocToString:Tk(Ks.printDocToString)}}}))}).call(this,n("c8ba"))},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"33b7":function(e,t,n){"use strict";var r=n("02cc"),i=n("44d1"),o=function(e,t,n){return t=i.extend({decodeEntities:!1},t||{}),e=n(e),r.load(e,t)},a=function(){var t=[],n=function(n){var r=e.exports.codeBlocks;return Object.keys(r).forEach((function(e){var i=new RegExp(r[e].start+"([\\S\\s]*?)"+r[e].end,"g");n=n.replace(i,(function(e,n){return t.push(e),"JUICE_CODE_BLOCK_"+(t.length-1)+"_"}))})),n},r=function(e){for(var n=0;n"},HBS:{start:"{{",end:"}}"}}},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[r(e)]}},"35ae":function(e,t,n){(function(e,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,l=1/0,u=9007199254740991,c="[object Arguments]",h="[object Array]",p="[object Boolean]",d="[object Date]",f="[object Error]",m="[object Function]",g="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",D="[object Promise]",x="[object RegExp]",w="[object Set]",C="[object String]",_="[object Symbol]",k="[object WeakMap]",E="[object ArrayBuffer]",S="[object DataView]",A="[object Float32Array]",F="[object Float64Array]",T="[object Int8Array]",O="[object Int16Array]",N="[object Int32Array]",L="[object Uint8Array]",P="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/,$=/^\./,R=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q=/[\\^$.*+?()[\]{}|]/g,z=/\\(\\)?/g,V=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,W={};W[A]=W[F]=W[T]=W[O]=W[N]=W[L]=W[P]=W[j]=W[B]=!0,W[c]=W[h]=W[E]=W[p]=W[S]=W[d]=W[f]=W[m]=W[v]=W[y]=W[b]=W[x]=W[w]=W[C]=W[k]=!1;var U="object"==typeof e&&e&&e.Object===Object&&e,G="object"==typeof self&&self&&self.Object===Object&&self,Y=U||G||Function("return this")(),K=t&&!t.nodeType&&t,X=K&&"object"==typeof n&&n&&!n.nodeType&&n,J=X&&X.exports===K,Z=J&&U.process,Q=function(){try{return Z&&Z.binding("util")}catch(e){}}(),ee=Q&&Q.isTypedArray;function te(e,t){var n=-1,r=e?e.length:0,i=Array(r);while(++n-1}function Xe(e,t){var n=this.__data__,r=dt(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function Je(e){var t=-1,n=e?e.length:0;this.clear();while(++tu))return!1;var h=o.get(e);if(h&&o.get(t))return h==t;var p=-1,d=!0,f=i&a?new rt:void 0;o.set(e,t),o.set(t,e);while(++p-1&&e%1==0&&e-1&&e%1==0&&e<=u}function un(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function cn(e){return!!e&&"object"==typeof e}function hn(e){return"symbol"==typeof e||cn(e)&&ye.call(e)==_}var pn=ee?oe(ee):_t;function dn(e){return null==e?"":Ot(e)}function fn(e,t,n){var r=null==e?void 0:vt(e,t);return void 0===r?n:r}function mn(e,t){return null!=e&&zt(e,t,bt)}function gn(e){return on(e)?pt(e):Et(e)}function vn(e){return e}function yn(e){return Ht(e)?re(Jt(e)):Tt(e)}n.exports=Qt}).call(this,n("c8ba"),n("62e4")(e))},"36cc":function(e,t,n){var r=n("4d1e"),i=/\s+/g,o=n("01d0"),a=n("66ec");function s(e,t,n){"object"===typeof e?(n=t,t=e,e=null):"function"===typeof t&&(n=t,t=l),this._callback=e,this._options=t||l,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"===typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(a):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=s},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),a=n("051b"),s=n("8a0d"),l=n("26dd"),u=n("92f0"),c=n("ce7a"),h=n("cc15")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,D){l(n,t,v);var x,w,C,_=function(e){if(!p&&e in A)return A[e];switch(e){case f:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",E=y==m,S=!1,A=e.prototype,F=A[h]||A[d]||y&&A[y],T=F||_(y),O=y?E?_("entries"):T:void 0,N="Array"==t&&A.entries||F;if(N&&(C=c(N.call(new e)),C!==Object.prototype&&C.next&&(u(C,k,!0),r||"function"==typeof C[h]||a(C,h,g))),E&&F&&F.name!==m&&(S=!0,T=function(){return F.call(this)}),r&&!D||!p&&!S&&A[h]||a(A,h,T),s[t]=T,s[k]=g,y)if(x={values:E?T:_(m),keys:b?T:_(f),entries:O},D)for(w in x)w in A||o(A,w,x[w]);else i(i.P+i.F*(p||S),t,x);return x}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?d(u(e),e,t):e}function h(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=d(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function p(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=d(e[o],t[o],n):i[o]=c(t[o],n)})),i}function d(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:h},a=r===i;if(a){if(r){var s=o.arrayMerge||h;return s(e,t,n)}return p(e,t,n)}return c(t,n)}d.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return d(e,n,t)}))};var f=d;e.exports=f},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(e,t){e.exports={}},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r=n("6dd8"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a="undefined"===typeof window,s=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=o.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new i.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),i=a(r),o=n("5924");function a(e){return e&&e.__esModule?e:{default:e}}var s=[],l="@@clickoutsideContext",u=void 0,c=0;function h(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[l].methodName&&n.context[e[l].methodName]?n.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return u=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[l].documentHandler(e,u)}))})),t.default={bind:function(e,t,n){s.push(e);var r=c++;e[l]={id:r,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[l].documentHandler=h(e,t,n),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n=0;s--)(t.fontFaces&&"font-face"===o[s].type||t.mediaQueries&&"media"===o[s].type||t.keyFrames&&"keyframes"===o[s].type||t.pseudos&&o[s].selectors&&this.matchesPseudo(o[s].selectors[0],n))&&a.unshift(r.stringify({stylesheet:{rules:[o[s]]}},{comments:!1,indentation:" "})),o[s].position.start;return 0!==a.length&&"\n"+a.join("\n")+"\n"},t.normalizeLineEndings=function(e){return e.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},t.matchesPseudo=function(e,t){return t.find((function(t){return e.indexOf(t)>-1}))},t.compareFunc=function(e,t){for(var n=Math.min(e.length,t.length),r=0;rt[r]?1:-1;return e.length-t.length},t.compare=function(e,n){return 1==t.compareFunc(e,n)?e:n},t.extend=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);return e},t.getDefaultOptions=function(e){var n=t.extend({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},e);return n.webResources=n.webResources||{},n}},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"466b":function(e,t,n){"use strict";var r=n("33b7"),i=n("492c"),o=i((function(e,t){return r(e,{xmlMode:t&&t.xmlMode},a,[t])})),a=function(e,t){return o.juiceDocument(e,t)};o.inlineContent=function(e,t,n){return r(e,{xmlMode:n&&n.xmlMode},o.inlineDocument,[t,n])},e.exports=o},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},4726:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},14:function(e,t){e.exports=n("14e9")},18:function(e,t){e.exports=n("dcdc")},21:function(e,t){e.exports=n("d397")},26:function(e,t){e.exports=n("92fa")},3:function(e,t){e.exports=n("8122")},31:function(e,t){e.exports=n("2a5e")},32:function(e,t){e.exports=n("e452")},51:function(e,t){e.exports=n("f494")},59:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},i=[];r._withStripped=!0;var o,a,s=n(26),l=n.n(s),u=n(14),c=n.n(u),h=n(18),p=n.n(h),d=n(51),f=n.n(d),m=n(3),g=function(e){return e.stopPropagation()},v={inject:["panel"],components:{ElCheckbox:p.a,ElRadio:f.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,r=this.isDisabled,i=this.config,o=i.multiple,a=i.checkStrictly;!a&&r||n.loading||(i.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var r=!!t&&n.checked;e.handleMultiCheckChange(r)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,r=this.config,i=r.checkStrictly,o=r.multiple;return o?this.renderCheckbox(e):i?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,r=this.isDisabled,i={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(i.nativeOn.click=g),e("el-checkbox",l()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:r}},i]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,r=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:r},on:{change:this.handleCheckChange},nativeOn:{click:g}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,r=t.renderLabelFn,i=r?r({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[i||n.label])}},render:function(e){var t=this,n=this.inActivePath,r=this.inCheckedPath,i=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,u=this.nodeId,c=s.expandTrigger,h=s.checkStrictly,p=s.multiple,d=!h&&a,f={on:{}};return"click"===c?f.on.click=this.handleExpand:(f.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},f.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||h||p||(f.on.click=this.handleCheckChange),e("li",l()([{attrs:{role:"menuitem",id:u,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":r,"is-active":i,"is-disabled":d}},f]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},y=v,b=n(0),D=Object(b["a"])(y,o,a,!1,null,null,null);D.options.__file="packages/cascader-panel/src/cascader-node.vue";var x,w,C=D.exports,_=n(6),k=n.n(_),E={name:"ElCascaderMenu",mixins:[k.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:C},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,r=this.$refs.hoverZone;if(t&&r)if(t.contains(e.target)){clearTimeout(n);var i=this.$el.getBoundingClientRect(),o=i.left,a=e.clientX-o,s=this.$el,l=s.offsetWidth,u=s.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;r.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map((function(n,i){var o=n.hasChildren;return e("cascader-node",l()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":o,"aria-owns":o?t:null}},r]))}));return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",l()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},S=E,A=Object(b["a"])(S,x,w,!1,null,null,null);A.options.__file="packages/cascader-panel/src/cascader-menu.vue";var F=A.exports,T=n(21),O=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r1?r-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},O(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,a=i.leaf;if(o){var s=Object(T["isDef"])(e[a])?e[a]:!!t&&!r.length;return this.hasChildren=!s,s}return!n}}]),e}(),j=P;function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var M=function e(t,n){return t.reduce((function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t}),[])},I=function(){function e(t,n){B(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new j(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new j(e,this.config,t),r=t?t.children:this.nodes;r.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:M(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null}return null},e}(),$=I,R=n(9),q=n.n(R),z=n(32),V=n.n(z),H=n(31),W=n.n(H),U=Object.assign||function(e){for(var t=1;t0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,(function(){n.handleExpand(l)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)};r.lazyLoad(e,i)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");W()(n,r)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var r=this.getFlattedNodes(e);return r.filter((function(e){return e.checked}))}return Object(m["isEmpty"])(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},te=ee,ne=Object(b["a"])(te,r,i,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var re=ne.exports;re.install=function(e){e.component(re.name,re)};t["default"]=re},6:function(e,t){e.exports=n("6b7c")},9:function(e,t){e.exports=n("7f4d")}})},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),a=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},"4840e":function(e,t,n){(function(e,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,l=1/0,u=9007199254740991,c="[object Arguments]",h="[object Array]",p="[object Boolean]",d="[object Date]",f="[object Error]",m="[object Function]",g="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",D="[object Promise]",x="[object RegExp]",w="[object Set]",C="[object String]",_="[object Symbol]",k="[object WeakMap]",E="[object ArrayBuffer]",S="[object DataView]",A="[object Float32Array]",F="[object Float64Array]",T="[object Int8Array]",O="[object Int16Array]",N="[object Int32Array]",L="[object Uint8Array]",P="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/,$=/^\./,R=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q=/[\\^$.*+?()[\]{}|]/g,z=/\\(\\)?/g,V=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,W={};W[A]=W[F]=W[T]=W[O]=W[N]=W[L]=W[P]=W[j]=W[B]=!0,W[c]=W[h]=W[E]=W[p]=W[S]=W[d]=W[f]=W[m]=W[v]=W[y]=W[b]=W[x]=W[w]=W[C]=W[k]=!1;var U="object"==typeof e&&e&&e.Object===Object&&e,G="object"==typeof self&&self&&self.Object===Object&&self,Y=U||G||Function("return this")(),K=t&&!t.nodeType&&t,X=K&&"object"==typeof n&&n&&!n.nodeType&&n,J=X&&X.exports===K,Z=J&&U.process,Q=function(){try{return Z&&Z.binding("util")}catch(e){}}(),ee=Q&&Q.isTypedArray;function te(e,t,n,r){var i=-1,o=e?e.length:0;r&&o&&(n=e[++i]);while(++i-1}function Je(e,t){var n=this.__data__,r=ft(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function Ze(e){var t=-1,n=e?e.length:0;this.clear();while(++tu))return!1;var h=o.get(e);if(h&&o.get(t))return h==t;var p=-1,d=!0,f=i&a?new it:void 0;o.set(e,t),o.set(t,e);while(++p-1&&e%1==0&&e-1&&e%1==0&&e<=u}function un(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function cn(e){return!!e&&"object"==typeof e}function hn(e){return"symbol"==typeof e||cn(e)&&be.call(e)==_}var pn=ee?ae(ee):kt;function dn(e){return null==e?"":Ot(e)}function fn(e,t,n){var r=null==e?void 0:yt(e,t);return void 0===r?n:r}function mn(e,t){return null!=e&&zt(e,t,Dt)}function gn(e){return on(e)?dt(e):St(e)}function vn(e){return e}function yn(e){return Ht(e)?re(Jt(e)):Tt(e)}n.exports=Qt}).call(this,n("c8ba"),n("62e4")(e))},4897:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("f0d9"),i=h(r),o=n("2b0e"),a=h(o),s=n("3c4e"),l=h(s),u=n("9d7e"),c=h(u);function h(e){return e&&e.__esModule?e:{default:e}}var p=(0,c.default)(a.default),d=i.default,f=!1,m=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return f||(f=!0,a.default.locale(a.default.config.lang,(0,l.default)(d,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=d,o=0,a=r.length;o"+h+"")}}function d(n){for(var o,l=n[0],h=n[1],p=new r.Selector(l),d=p.parsed(),f=i(d),m=0;m=0)return}}if(f){var b=d[d.length-1],D=b.pseudos;b.pseudos=a(b.pseudos),l=d.toString(),b.pseudos=D}try{o=t(l)}catch(x){return}o.each((function(){var n=this;if(!(n.name&&e.nonVisualElements.indexOf(n.name.toUpperCase())>=0)){if(f){var i="pseudo"+f,o=n[i];o||(o=n[i]=t("").get(0),o.pseudoElementType=f,o.pseudoElementParent=n,n[i]=o),n=o}if(!n.styleProps){if(n.styleProps={},t(n).attr(c)){var a="* { "+t(n).attr(c)+" } ";l(r.parseCSS(a)[0][1],new r.Selector("