物管理前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
928 KiB

  1. var dp=Object.defineProperty;var up=(pt,Ge,tt)=>Ge in pt?dp(pt,Ge,{enumerable:!0,configurable:!0,writable:!0,value:tt}):pt[Ge]=tt;var vn=(pt,Ge,tt)=>(up(pt,typeof Ge!="symbol"?Ge+"":Ge,tt),tt);(function(){"use strict";class pt{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?kt.isErrorNoTelemetry(t)?new kt(t.message+`
  2. `+t.stack):new Error(t.message+`
  3. `+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const Ge=new pt;function tt(e){Sl(e)||Ge.onUnexpectedError(e)}function Wi(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:kt.isErrorNoTelemetry(e)}}return e}const ir="Canceled";function Sl(e){return e instanceof Cl?!0:e instanceof Error&&e.name===ir&&e.message===ir}class Cl extends Error{constructor(){super(ir),this.name=this.message}}class kt extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof kt)return t;const n=new kt;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class sr extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,sr.prototype);debugger}}function kl(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var yn;(function(e){function t(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(w){yield w}e.single=i;function s(w){return t(w)?w:i(w)}e.wrap=s;function a(w){return w||n}e.from=a;function o(w){return!w||w[Symbol.iterator]().next().done===!0}e.isEmpty=o;function l(w){return w[Symbol.iterator]().next().value}e.first=l;function c(w,C){for(const _ of w)if(C(_))return!0;return!1}e.some=c;function h(w,C){for(const _ of w)if(C(_))return _}e.find=h;function*u(w,C){for(const _ of w)C(_)&&(yield _)}e.filter=u;function*f(w,C){let _=0;for(const I of w)yield C(I,_++)}e.map=f;function*m(...w){for(const C of w)for(const _ of C)yield _}e.concat=m;function b(w,C,_){let I=_;for(const L of w)I=C(I,L);return I}e.reduce=b;function*y(w,C,_=w.length){for(C<0&&(C+=w.length),_<0?_+=w.length:_>w.length&&(_=w.length);C<_;C++)yield w[C]}e.slice=y;function v(w,C=Number.POSITIVE_INFINITY){const _=[];if(C===0)return[_,w];const I=w[Symbol.iterator]();for(let L=0;L<C;L++){const X=I.next();if(X.done)return[_,e.empty()];_.push(X.value)}return[_,{[Symbol.iterator](){return I}}]}e.consume=v})(yn||(yn={}));function pp(e){return e}function fp(e,t){}function Oi(e){if(yn.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(r){t.push(r)}if(t.length===1)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function _l(...e){return wn(()=>Oi(e))}function wn(e){return{dispose:kl(()=>{e()})}}class ft{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Oi(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?ft.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}}ft.DISABLE_DISPOSED_WARNING=!1;class xn{constructor(){this._store=new ft,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}}xn.None=Object.freeze({dispose(){}});class Fl{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let n=t;return this.unset=()=>n=void 0,this.isset=()=>n!==void 0,this.dispose=()=>{n&&(n(),n=void 0)},this}}let re=class Ti{constructor(t){this.element=t,this.next=Ti.Undefined,this.prev=Ti.Undefined}};re.Undefined=new re(void 0);class Sn{constructor(){this._first=re.Undefined,this._last=re.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===re.Undefined}clear(){let t=this._first;for(;t!==re.Undefined;){const n=t.next;t.prev=re.Undefined,t.next=re.Undefine
  4. `).slice(2).join(`
  5. `))}}class Wl{constructor(t,n,r){this.callback=t,this.callbackThis=n,this.stack=r,this.subscription=new Fl}invoke(t){this.callback.call(this.callbackThis,t)}}class Ue{constructor(t){var n,r,i,s,a;this._disposed=!1,this._options=t,this._leakageMon=!((n=this._options)===null||n===void 0)&&n.leakWarningThreshold?new Tl((i=(r=this._options)===null||r===void 0?void 0:r.leakWarningThreshold)!==null&&i!==void 0?i:Ll):void 0,this._perfMon=!((s=this._options)===null||s===void 0)&&s._profName?new _t(this._options._profName):void 0,this._deliveryQueue=(a=this._options)===null||a===void 0?void 0:a.deliveryQueue}dispose(){var t,n,r,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(this),(r=(n=this._options)===null||n===void 0?void 0:n.onDidRemoveLastListener)===null||r===void 0||r.call(n),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){return this._event||(this._event=(t,n,r)=>{var i,s,a;if(this._listeners||(this._listeners=new Sn),this._leakageMon&&this._listeners.size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),xn.None;const o=this._listeners.isEmpty();o&&(!((i=this._options)===null||i===void 0)&&i.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this);let l,c;this._leakageMon&&this._listeners.size>=Math.ceil(this._leakageMon.threshold*.2)&&(c=ur.create(),l=this._leakageMon.check(c,this._listeners.size+1));const h=new Wl(t,n,c),u=this._listeners.push(h);o&&(!((s=this._options)===null||s===void 0)&&s.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),!((a=this._options)===null||a===void 0)&&a.onDidAddListener&&this._options.onDidAddListener(this,t,n);const f=h.subscription.set(()=>{var m,b;l==null||l(),this._disposed||((b=(m=this._options)===null||m===void 0?void 0:m.onWillRemoveListener)===null||b===void 0||b.call(m,this),u(),this._options&&this._options.onDidRemoveLastListener&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this)))});return r instanceof ft?r.add(f):Array.isArray(r)&&r.push(f),f}),this._event}fire(t){var n,r;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Ul);for(const i of this._listeners)this._deliveryQueue.push(this,i,t);(n=this._perfMon)===null||n===void 0||n.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(r=this._perfMon)===null||r===void 0||r.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}}class Ol{constructor(){this._queue=new Sn}get size(){return this._queue.size}push(t,n,r){this._queue.push(new Vl(t,n,r))}clear(t){const n=new Sn;for(const r of this._queue)r.emitter!==t&&n.push(r);this._queue=n}deliver(){for(;this._queue.size>0;){const t=this._queue.shift();try{t.listener.invoke(t.event)}catch(n){tt(n)}}}}class Ul extends Ol{clear(t){this._queue.clear()}}class Vl{constructor(t,n,r){this.emitter=t,this.listener=n,this.event=r}}function Bl(e){return typeof e=="string"}function jl(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function pr(e){const t=[];for(const n of jl(e))typeof e[n]=="function"&&t.push(n);return t}function ql(e,t){const n=i=>function(){const s=Array.prototype.slice.call(arguments,0);return t(i,s)},r={};for(const i of e)r[i]=n(i);return r}class $l{constructor(t){this.fn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const n=JSON.stringify(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.fn(t)),this.lastCache}}class Vi{constructor(t){this.executor=t,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Bi;function Hl(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Gl(e){return e.split(/\r\n|\r|\n/)}function Jl(e){for(let t=0,n=e.length;t<n;t++){const r=e.charCode
  6. `||e===" "}class Mr{constructor(t,n,r){this.originalRange=t,this.modifiedRange=n,this.innerChanges=r}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class ia{constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class Je{constructor(t,n){this.startLineNumber=t,this.endLineNumberExclusive=n}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(t){return new Je(this.startLineNumber+t,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new Je(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}}const th=3;class nh{computeDiff(t,n,r){var i;const a=new sh(t,n,{maxComputationTime:r.maxComputationTimeMs,shouldIgnoreTrimWhitespace:r.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[];let l=null;for(const c of a.changes){let h;c.originalEndLineNumber===0?h=new Je(c.originalStartLineNumber+1,c.originalStartLineNumber+1):h=new Je(c.originalStartLineNumber,c.originalEndLineNumber+1);let u;c.modifiedEndLineNumber===0?u=new Je(c.modifiedStartLineNumber+1,c.modifiedStartLineNumber+1):u=new Je(c.modifiedStartLineNumber,c.modifiedEndLineNumber+1);let f=new Mr(h,u,(i=c.charChanges)===null||i===void 0?void 0:i.map(m=>new ia(new Ve(m.originalStartLineNumber,m.originalStartColumn,m.originalEndLineNumber,m.originalEndColumn),new Ve(m.modifiedStartLineNumber,m.modifiedStartColumn,m.modifiedEndLineNumber,m.modifiedEndColumn))));l&&(l.modifiedRange.endLineNumberExclusive===f.modifiedRange.startLineNumber||l.originalRange.endLineNumberExclusive===f.originalRange.startLineNumber)&&(f=new Mr(l.originalRange.join(f.originalRange),l.modifiedRange.join(f.modifiedRange),l.innerChanges&&f.innerChanges?l.innerChanges.concat(f.innerChanges):void 0),o.pop()),o.push(f),l=f}return zr(()=>ta(o,(c,h)=>h.originalRange.startLineNumber-c.originalRange.endLineNumberExclusive===h.modifiedRange.startLineNumber-c.modifiedRange.endLineNumberExclusive&&c.originalRange.endLineNumberExclusive<h.originalRange.startLineNumber&&c.modifiedRange.endLineNumberExclusive<h.modifiedRange.startLineNumber)),{quitEarly:a.quitEarly,changes:o}}}function sa(e,t,n,r){return new it(e,t,n).ComputeDiff(r)}let aa=class{constructor(t){const n=[],r=[];for(let i=0,s=t.length;i<s;i++)n[i]=Nr(t[i],1),r[i]=Pr(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}getElements(){const t=[];for(let n=0,r=this.lines.length;n<r;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,r){const i=[],s=[],a=[];let o=0;for(let l=n;l<=r;l++){const c=this.lines[l],h=t?this._startColumns[l]:1,u=t?this._endColumns[l]:c.length+1;for(let f=h;f<u;f++)i[o]=c.charCodeAt(f-1),s[o]=l+1,a[o]=f,o++;!t&&l<r&&(i[o]=10,s[o]=l+1,a[o]=c.length+1,o++)}return new rh(i,s,a)}};class rh{constructor(t,n,r){this._charCodes=t,this._lineNumbers=n,this._columns=r}toString(){return"["+this._charCodes.map((t,n)=>(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this.
  7. `.charCodeAt(0),i+=1)}}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=ma(t>0?this.elements[t-1]:-1),r=ma(t<this.elements.length?this.elements[t]:-1);if(n===6&&r===7)return 0;let i=0;return n!==r&&(i+=10,r===1&&(i+=1)),i+=fa(n),i+=fa(r),i}translateOffset(t){let n=0,r=this.firstCharOnLineOffsets.length;for(;n<r;){const s=Math.floor((n+r)/2);this.firstCharOnLineOffsets[s]>t?r=s:n=s+1}const i=n===0?0:this.firstCharOnLineOffsets[n-1];return new ct(n+1,t-i+1)}translateRange(t){return Ve.fromPositions(this.translateOffset(t.start),this.translateOffset(t.endExclusive))}}const gh={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function fa(e){return gh[e]}function ma(e){return e===10?7:e===13?6:bh(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:4}function bh(e){return e===32||e===9}const ga={smart:new nh,experimental:new ph};var mt=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function o(h){try{c(r.next(h))}catch(u){a(u)}}function l(h){try{c(r.throw(h))}catch(u){a(u)}}function c(h){h.done?s(h.value):i(h.value).then(o,l)}c((r=r.apply(e,t||[])).next())})};class vh extends Dc{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const r=yr(t.column,Mc(n),this._lines[t.lineNumber-1],0);return r?new Ve(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):null}words(t){const n=this._lines,r=this._wordenize.bind(this);let i=0,s="",a=0,o=[];return{*[Symbol.iterator](){for(;;)if(a<o.length){const l=s.substring(o[a].start,o[a].end);a+=1,yield l}else if(i<n.length)s=n[i],o=r(s,t),a=0,i+=1;else break}}}getLineWords(t,n){const r=this._lines[t-1],i=this._wordenize(r,n),s=[];for(const a of i)s.push({word:r.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(t,n){const r=[];let i;for(n.lastIndex=0;(i=n.exec(t))&&i[0].length!==0;)r.push({start:i.index,end:i.index+i[0].length});return r}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,r=t.startLineNumber-1,i=t.endLineNumber-1,s=[];s.push(this._lines[r].substring(t.startColumn-1));for(let a=r+1;a<i;a++)s.push(this._lines[a]);return s.push(this._lines[i].substring(0,t.endColumn-1)),s.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),r=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,r)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),r=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||r.lineNumber!==t.endLineNumber||r.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}:t}_validatePosition(t){if(!ct.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:r}=t,i=!1;if(n<1)n=1,r=1,i=!0;else if(n>this._lines.length)n=this._lines.length,r=this._lines[n-1].length+1,i=!0;else{const s=this._lines[n-1].length+1;r<1?(r=1,i=!0):r>s&&(r=s,i=!0)}return i?{lineNumber:n,column:r}:t}}class gt{constructor(t,n){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}acceptNewModel(t){this._models[t.url]=new vh(gr.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}acceptRemovedModel(t){this._models[t]&&de
  8. * Copyright (c) Microsoft Corporation. All rights reserved.
  9. * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
  10. * Released under the MIT license
  11. * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
  12. *-----------------------------------------------------------------------------*/var p;(function(e){e[e.Ident=0]="Ident",e[e.AtKeyword=1]="AtKeyword",e[e.String=2]="String",e[e.BadString=3]="BadString",e[e.UnquotedString=4]="UnquotedString",e[e.Hash=5]="Hash",e[e.Num=6]="Num",e[e.Percentage=7]="Percentage",e[e.Dimension=8]="Dimension",e[e.UnicodeRange=9]="UnicodeRange",e[e.CDO=10]="CDO",e[e.CDC=11]="CDC",e[e.Colon=12]="Colon",e[e.SemiColon=13]="SemiColon",e[e.CurlyL=14]="CurlyL",e[e.CurlyR=15]="CurlyR",e[e.ParenthesisL=16]="ParenthesisL",e[e.ParenthesisR=17]="ParenthesisR",e[e.BracketL=18]="BracketL",e[e.BracketR=19]="BracketR",e[e.Whitespace=20]="Whitespace",e[e.Includes=21]="Includes",e[e.Dashmatch=22]="Dashmatch",e[e.SubstringOperator=23]="SubstringOperator",e[e.PrefixOperator=24]="PrefixOperator",e[e.SuffixOperator=25]="SuffixOperator",e[e.Delim=26]="Delim",e[e.EMS=27]="EMS",e[e.EXS=28]="EXS",e[e.Length=29]="Length",e[e.Angle=30]="Angle",e[e.Time=31]="Time",e[e.Freq=32]="Freq",e[e.Exclamation=33]="Exclamation",e[e.Resolution=34]="Resolution",e[e.Comma=35]="Comma",e[e.Charset=36]="Charset",e[e.EscapedJavaScript=37]="EscapedJavaScript",e[e.BadEscapedJavaScript=38]="BadEscapedJavaScript",e[e.Comment=39]="Comment",e[e.SingleLineComment=40]="SingleLineComment",e[e.EOF=41]="EOF",e[e.CustomToken=42]="CustomToken"})(p||(p={}));var va=function(){function e(t){this.source=t,this.len=t.length,this.position=0}return e.prototype.substring=function(t,n){return n===void 0&&(n=this.position),this.source.substring(t,n)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(t){this.position=t},e.prototype.goBack=function(t){this.position-=t},e.prototype.advance=function(t){this.position+=t},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(t){return t===void 0&&(t=0),this.source.charCodeAt(this.position+t)||0},e.prototype.lookbackChar=function(t){return t===void 0&&(t=0),this.source.charCodeAt(this.position-t)||0},e.prototype.advanceIfChar=function(t){return t===this.source.charCodeAt(this.position)?(this.position++,!0):!1},e.prototype.advanceIfChars=function(t){if(this.position+t.length>this.source.length)return!1;for(var n=0;n<t.length;n++)if(this.source.charCodeAt(this.position+n)!==t[n])return!1;return this.advance(n),!0},e.prototype.advanceWhileChar=function(t){for(var n=this.position;this.position<this.len&&t(this.source.charCodeAt(this.position));)this.position++;return this.position-n},e}(),Mn="a".charCodeAt(0),ya="f".charCodeAt(0),wa="z".charCodeAt(0),Nn="A".charCodeAt(0),xa="F".charCodeAt(0),Sa="Z".charCodeAt(0),Jt="0".charCodeAt(0),Xt="9".charCodeAt(0),yh="~".charCodeAt(0),wh="^".charCodeAt(0),Yt="=".charCodeAt(0),xh="|".charCodeAt(0),bt="-".charCodeAt(0),Ca="_".charCodeAt(0),Sh="%".charCodeAt(0),Tr="*".charCodeAt(0),ka="(".charCodeAt(0),_a=")".charCodeAt(0),Ch="<".charCodeAt(0),kh=">".charCodeAt(0),_h="@".charCodeAt(0),Fh="#".charCodeAt(0),Rh="$".charCodeAt(0),Wr="\\".charCodeAt(0),Fa="/".charCodeAt(0),Mt=`
  13. `.charCodeAt(0),Nt="\r".charCodeAt(0),Kt="\f".charCodeAt(0),Ra='"'.charCodeAt(0),Ea="'".charCodeAt(0),Or=" ".charCodeAt(0),Ur=" ".charCodeAt(0),Eh=";".charCodeAt(0),Dh=":".charCodeAt(0),Ah="{".charCodeAt(0),zh="}".charCodeAt(0),Mh="[".charCodeAt(0),Nh="]".charCodeAt(0),Ph=",".charCodeAt(0),Da=".".charCodeAt(0),Aa="!".charCodeAt(0),Ih="?".charCodeAt(0),Lh="+".charCodeAt(0),je={};je[Eh]=p.SemiColon,je[Dh]=p.Colon,je[Ah]=p.CurlyL,je[zh]=p.CurlyR,je[Nh]=p.BracketR,je[Mh]=p.BracketL,je[ka]=p.ParenthesisL,je[_a]=p.ParenthesisR,je[Ph]=p.Comma;var ce={};ce.em=p.EMS,ce.ex=p.EXS,ce.px=p.Length,ce.cm=p.Length,ce.mm=p.Length,ce.in=p.Length,ce.pt=p.Length,ce.pc=p.Length,ce.deg=p.Angle,ce.rad=p.Angle,ce.grad=p.Angle,ce.ms=p.Time,ce.s=p.Time,ce.hz=p.Freq,ce.khz=p.Freq,ce["%"]=p.Percentage,ce.fr=p.Percentage,ce.dpi=p.Resolution,ce.dpcm=p.Resolution;var Qt=function(){function e(){this.stream=new va(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(t){this.stream=new va(t)},e.prototype.finishToken=function(t,n,r){return{offset:t,len:this.stream.pos()-t,type:n,text:r||this.stream.substring(t)}},e.prototype.substring=function(t,n){return this.stream.substring(t,t+n)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(t){this.stream.goBackTo(t)},e.prototype.scanUnquotedString=function(){var t=this.stream.pos(),n=[];return this._unquotedString(n)?this.finishToken(t,p.UnquotedString,n.join("")):null},e.prototype.scan=function(){var t=this.trivia();if(t!==null)return t;var n=this.stream.pos();return this.stream.eos()?this.finishToken(n,p.EOF):this.scanNext(n)},e.prototype.tryScanUnicode=function(){var t=this.stream.pos();if(!this.stream.eos()&&this._unicodeRange())return this.finishToken(t,p.UnicodeRange);this.stream.goBackTo(t)},e.prototype.scanNext=function(t){if(this.stream.advanceIfChars([Ch,Aa,bt,bt]))return this.finishToken(t,p.CDO);if(this.stream.advanceIfChars([bt,bt,kh]))return this.finishToken(t,p.CDC);var n=[];if(this.ident(n))return this.finishToken(t,p.Ident,n.join(""));if(this.stream.advanceIfChar(_h))if(n=["@"],this._name(n)){var r=n.join("");return r==="@charset"?this.finishToken(t,p.Charset,r):this.finishToken(t,p.AtKeyword,r)}else return this.finishToken(t,p.Delim);if(this.stream.advanceIfChar(Fh))return n=["#"],this._name(n)?this.finishToken(t,p.Hash,n.join("")):this.finishToken(t,p.Delim);if(this.stream.advanceIfChar(Aa))return this.finishToken(t,p.Exclamation);if(this._number()){var i=this.stream.pos();if(n=[this.stream.substring(t,i)],this.stream.advanceIfChar(Sh))return this.finishToken(t,p.Percentage);if(this.ident(n)){var s=this.stream.substring(i).toLowerCase(),a=ce[s];return typeof a<"u"?this.finishToken(t,a,n.join("")):this.finishToken(t,p.Dimension,n.join(""))}return this.finishToken(t,p.Num)}n=[];var o=this._string(n);return o!==null?this.finishToken(t,o,n.join("")):(o=je[this.stream.peekChar()],typeof o<"u"?(this.stream.advance(1),this.finishToken(t,o)):this.stream.peekChar(0)===yh&&this.stream.peekChar(1)===Yt?(this.stream.advance(2),this.finishToken(t,p.Includes)):this.stream.peekChar(0)===xh&&this.stream.peekChar(1)===Yt?(this.stream.advance(2),this.finishToken(t,p.Dashmatch)):this.stream.peekChar(0)===Tr&&this.stream.peekChar(1)===Yt?(this.stream.advance(2),this.finishToken(t,p.SubstringOperator)):this.stream.peekChar(0)===wh&&this.stream.peekChar(1)===Yt?(this.stream.advance(2),this.finishToken(t,p.PrefixOperator)):this.stream.peekChar(0)===Rh&&this.stream.peekChar(1)===Yt?(this.stream.advance(2),this.finishToken(t,p.SuffixOperator)):(this.stream.nextChar(),this.finishToken(t,p.Delim)))},e.prototype.trivia=function(){for(;;){var t=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(t,p.Whitespace)}else if(this.comment()){if(!this.ignoreComment)return this.finishToken(t,p.Comment)}else return null}},e.prototype.comment=function(){if(this.stream.advanceIfChars([Fa,Tr])){var t=!1,n=!1;return this.stream.advanceWhileChar(function(r){return n&&r===Fa?(t=!0,!1):(n=r===Tr,!0)}),t&&this.stream.
  14. `),!0}return!1},e.prototype._escape=function(t,n){var r=this.stream.peekChar();if(r===Wr){this.stream.advance(1),r=this.stream.peekChar();for(var i=0;i<6&&(r>=Jt&&r<=Xt||r>=Mn&&r<=ya||r>=Nn&&r<=xa);)this.stream.advance(1),r=this.stream.peekChar(),i++;if(i>0){try{var s=parseInt(this.stream.substring(this.stream.pos()-i),16);s&&t.push(String.fromCharCode(s))}catch{}return r===Or||r===Ur?this.stream.advance(1):this._newline([]),!0}if(r!==Nt&&r!==Kt&&r!==Mt)return this.stream.advance(1),t.push(String.fromCharCode(r)),!0;if(n)return this._newline(t)}return!1},e.prototype._stringChar=function(t,n){var r=this.stream.peekChar();return r!==0&&r!==t&&r!==Wr&&r!==Nt&&r!==Kt&&r!==Mt?(this.stream.advance(1),n.push(String.fromCharCode(r)),!0):!1},e.prototype._string=function(t){if(this.stream.peekChar()===Ea||this.stream.peekChar()===Ra){var n=this.stream.nextChar();for(t.push(String.fromCharCode(n));this._stringChar(n,t)||this._escape(t,!0););return this.stream.peekChar()===n?(this.stream.nextChar(),t.push(String.fromCharCode(n)),p.String):p.BadString}return null},e.prototype._unquotedChar=function(t){var n=this.stream.peekChar();return n!==0&&n!==Wr&&n!==Ea&&n!==Ra&&n!==ka&&n!==_a&&n!==Or&&n!==Ur&&n!==Mt&&n!==Kt&&n!==Nt?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e.prototype._unquotedString=function(t){for(var n=!1;this._unquotedChar(t)||this._escape(t);)n=!0;return n},e.prototype._whitespace=function(){var t=this.stream.advanceWhileChar(function(n){return n===Or||n===Ur||n===Mt||n===Kt||n===Nt});return t>0},e.prototype._name=function(t){for(var n=!1;this._identChar(t)||this._escape(t);)n=!0;return n},e.prototype.ident=function(t){var n=this.stream.pos(),r=this._minus(t);if(r){if(this._minus(t)||this._identFirstChar(t)||this._escape(t)){for(;this._identChar(t)||this._escape(t););return!0}}else if(this._identFirstChar(t)||this._escape(t)){for(;this._identChar(t)||this._escape(t););return!0}return this.stream.goBackTo(n),!1},e.prototype._identFirstChar=function(t){var n=this.stream.peekChar();return n===Ca||n>=Mn&&n<=wa||n>=Nn&&n<=Sa||n>=128&&n<=65535?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e.prototype._minus=function(t){var n=this.stream.peekChar();return n===bt?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e.prototype._identChar=function(t){var n=this.stream.peekChar();return n===Ca||n===bt||n>=Mn&&n<=wa||n>=Nn&&n<=Sa||n>=Jt&&n<=Xt||n>=128&&n<=65535?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e.prototype._unicodeRange=function(){if(this.stream.advanceIfChar(Lh)){var t=function(i){return i>=Jt&&i<=Xt||i>=Mn&&i<=ya||i>=Nn&&i<=xa},n=this.stream.advanceWhileChar(t)+this.stream.advanceWhileChar(function(i){return i===Ih});if(n>=1&&n<=6)if(this.stream.advanceIfChar(bt)){var r=this.stream.advanceWhileChar(t);if(r>=1&&r<=6)return!0}else return!0}return!1},e}();function he(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function za(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function Th(e,t,n){n===void 0&&(n=4);var r=Math.abs(e.length-t.length);if(r>n)return 0;var i=[],s=[],a,o;for(a=0;a<t.length+1;++a)s.push(0);for(a=0;a<e.length+1;++a)i.push(s);for(a=1;a<e.length+1;++a)for(o=1;o<t.length+1;++o)e[a-1]===t[o-1]?i[a][o]=i[a-1][o-1]+1:i[a][o]=Math.max(i[a-1][o],i[a][o-1]);return i[e.length][t.length]-Math.sqrt(r)}function Ma(e,t){return t===void 0&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}function Wh(e,t){var n=t.exec(e);return n&&n[0].length?e.substr(0,e.length-n[0].length):e}function Na(e,t){for(var n="";t>0;)(t&1)===1&&(n+=e),e+=e,t=t>>>1;return n}var T=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.
  15. `,s==="\r"&&i+1<n.length&&n.charAt(i+1)===`
  16. `&&i++}r&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets},e.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return Se.create(0,t);for(;r<i;){var s=Math.floor((r+i)/2);n[s]>t?i=s:r=s+1}var a=r-1;return Se.create(a,t-n[a])},e.prototype.offsetAt=function(t){var n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;var r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),k;(function(e){var t=Object.prototype.toString;function n(m){return typeof m<"u"}e.defined=n;function r(m){return typeof m>"u"}e.undefined=r;function i(m){return m===!0||m===!1}e.boolean=i;function s(m){return t.call(m)==="[object String]"}e.string=s;function a(m){return t.call(m)==="[object Number]"}e.number=a;function o(m,b,y){return t.call(m)==="[object Number]"&&b<=m&&m<=y}e.numberRange=o;function l(m){return t.call(m)==="[object Number]"&&-2147483648<=m&&m<=2147483647}e.integer=l;function c(m){return t.call(m)==="[object Number]"&&0<=m&&m<=2147483647}e.uinteger=c;function h(m){return t.call(m)==="[object Function]"}e.func=h;function u(m){return m!==null&&typeof m=="object"}e.objectLiteral=u;function f(m,b){return Array.isArray(m)&&m.every(b)}e.typedArray=f})(k||(k={}));var $n=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){for(let n of e)if($n.isIncremental(n)){const r=wo(n.range),i=this.offsetAt(r.start),s=this.offsetAt(r.end);this._content=this._content.substring(0,i)+n.text+this._content.substring(s,this._content.length);const a=Math.max(r.start.line,0),o=Math.max(r.end.line,0);let l=this._lineOffsets;const c=yo(n.text,!1,i);if(o-a===c.length)for(let u=0,f=c.length;u<f;u++)l[u+a+1]=c[u];else c.length<1e4?l.splice(a+1,o-a,...c):this._lineOffsets=l=l.slice(0,a+1).concat(c,l.slice(o+1));const h=n.text.length-(s-i);if(h!==0)for(let u=a+1+c.length,f=l.length;u<f;u++)l[u]=l[u]+h}else if($n.isFull(n))this._content=n.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=t}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=yo(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(r===0)return{line:0,character:e};for(;n<r;){let s=Math.floor((n+r)/2);t[s]>e?r=s:n=s+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let t=e;return t!=null&&typeof t.text=="string"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength=="number")}static isFull(e){let t=e;return t!=null&&typeof t.text=="string"&&t.range===void 0&&t.rangeLength===void 0}},ai;(function(e){function t(i,s,a,o){return new $n(i,s,a,o)}e.create=t;function n(i,s,a){if(i instanceof $n)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function r(i,s){let a=i.getText(),o=oi(s.map(Sd),(h,u)=>{let f=h.range.start.line-u.range.start.line;return f===0?h.range.start.character-u.range.start.character:f}),l=0;const c=[];for(const h of o){let u=i.offsetAt(h.range.start);if(u<l)throw new Error("Overlapping edit");u>l&&c.push(a.substring(l,u)),h.newText.length&&c.push(h.newText),l=i.offsetAt(h.range.end)}return c.push(a.substr(l)),c.join("")}e.applyEdits=r})(a
  17. `;case"nonstandard":return`🚨 Property is nonstandard. Avoid using it.
  18. `;case"obsolete":return`🚨 Property is obsolete. Avoid using it.
  19. `;default:return""}}function dt(e,t,n){var r;if(t?r={kind:"markdown",value:kd(e,n)}:r={kind:"plaintext",value:Cd(e,n)},r.value!=="")return r}function Hn(e){return e=e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&"),e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Cd(e,t){if(!e.description||e.description==="")return"";if(typeof e.description!="string")return e.description.value;var n="";if((t==null?void 0:t.documentation)!==!1){e.status&&(n+=Co(e.status)),n+=e.description;var r=ko(e.browsers);r&&(n+=`
  20. (`+r+")"),"syntax"in e&&(n+=`
  21. Syntax: `.concat(e.syntax))}return e.references&&e.references.length>0&&(t==null?void 0:t.references)!==!1&&(n.length>0&&(n+=`
  22. `),n+=e.references.map(function(i){return"".concat(i.name,": ").concat(i.url)}).join(" | ")),n}function kd(e,t){if(!e.description||e.description==="")return"";var n="";if((t==null?void 0:t.documentation)!==!1){e.status&&(n+=Co(e.status)),typeof e.description=="string"?n+=Hn(e.description):n+=e.description.kind===Me.Markdown?e.description.value:Hn(e.description.value);var r=ko(e.browsers);r&&(n+=`
  23. (`+Hn(r)+")"),"syntax"in e&&e.syntax&&(n+=`
  24. Syntax: `.concat(Hn(e.syntax)))}return e.references&&e.references.length>0&&(t==null?void 0:t.references)!==!1&&(n.length>0&&(n+=`
  25. `),n+=e.references.map(function(i){return"[".concat(i.name,"](").concat(i.url,")")}).join(" | ")),n}function ko(e){return e===void 0&&(e=[]),e.length===0?null:e.map(function(t){var n="",r=t.match(/([A-Z]+)(\d+)?/),i=r[1],s=r[2];return i in So&&(n+=So[i]),s&&(n+=" "+s),n}).join(", ")}var dn=Te(),_d=[{func:"rgb($red, $green, $blue)",desc:dn("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:dn("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:dn("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:dn("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")},{func:"hwb($hue $white $black)",desc:dn("css.builtin.hwb","Creates a Color from hue, white and black.")}],Gn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},_o={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' propert
  26. \r":{[()]},*>+`.indexOf(r.charAt(n))===-1;)n--;return r.substring(n+1,t)}function Xo(e){return e.toLowerCase()in Gn||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var Yo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),eu=Te(),bi=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(t){if(this.attributes)for(var n=0,r=this.attributes;n<r.length;n++){var i=r[n];if(i.name===t)return i.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(t){if(this.attributes){var n=this.attributes[this.attributes.length-1];n.value=n.value+t}},e.prototype.prepend=function(t){if(this.attributes){var n=this.attributes[0];n.value=t+n.value}},e.prototype.findRoot=function(){for(var t=this;t.parent&&!(t.parent instanceof Vt);)t=t.parent;return t},e.prototype.removeChild=function(t){if(this.children){var n=this.children.indexOf(t);if(n!==-1)return this.children.splice(n,1),!0}return!1},e.prototype.addAttr=function(t,n){this.attributes||(this.attributes=[]);for(var r=0,i=this.attributes;r<i.length;r++){var s=i[r];if(s.name===t){s.value+=" "+n;return}}this.attributes.push({name:t,value:n})},e.prototype.clone=function(t){t===void 0&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var r=0,i=this.attributes;r<i.length;r++){var s=i[r];n.addAttr(s.name,s.value)}}if(t&&this.children){n.children=[];for(var a=0;a<this.children.length;a++)n.addChild(this.children[a].clone())}return n},e.prototype.cloneWithParent=function(){var t=this.clone(!1);if(this.parent&&!(this.parent instanceof Vt)){var n=this.parent.cloneWithParent();n.addChild(t)}return t},e}(),Vt=function(e){Yo(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(bi),vi=function(e){Yo(t,e);function t(n){var r=e.call(this)||this;return r.addAttr("name",n),r}return t}(bi),Ko=function(){function e(t){this.quote=t,this.result=[]}return e.prototype.print=function(t){this.result=[],t instanceof Vt?t.children&&this.doPrint(t.children,0):this.doPrint([t],0);var n=this.result.join(`
  27. `);return[{language:"html",value:n}]},e.prototype.doPrint=function(t,n){for(var r=0,i=t;r<i.length;r++){var s=i[r];this.doPrintElement(s,n),s.children&&this.doPrint(s.children,n+1)}},e.prototype.writeLine=function(t,n){var r=new Array(t+1).join(" ");this.result.push(r+n)},e.prototype.doPrintElement=function(t,n){var r=t.findAttribute("name");if(t instanceof vi||r==="…"){this.writeLine(n,r);return}var i=["<"];if(r?i.push(r):i.push("element"),t.attributes)for(var s=0,a=t.attributes;s<a.length;s++){var o=a[s];if(o.name!=="name"){i.push(" "),i.push(o.name);var l=o.value;l&&(i.push("="),i.push(Ye.ensure(l,this.quote)))}}i.push(">"),this.writeLine(n,i.join(""))},e}(),Ye;(function(e){function t(r,i){return i+n(r)+i}e.ensure=t;function n(r){var i=r.match(/^['"](.*)["']$/);return i?i[1]:r}e.remove=n})(Ye||(Ye={}));var Qo=function(){function e(){this.id=0,this.attr=0,this.tag=0}return e}();function Zo(e,t){for(var n=new bi,r=0,i=e.getChildren();r<i.length;r++){var s=i[r];switch(s.type){case g.SelectorCombinator:if(t){var a=s.getText().split("&");if(a.length===1){n.addAttr("name",a[0]);break}if(n=t.cloneWithParent(),a[0]){var o=n.findRoot();o.prepend(a[0])}for(var l=1;l<a.length;l++){if(l>1){var c=t.cloneWithParent();n.addChild(c.findRoot()),n=c}n.append(a[l])}}break;case g.SelectorPlaceholder:if(s.matches("@at-root"))return n;case g.ElementNameSelector:var h=s.getText();n.addAttr("name",h==="*"?"element":Pe(h));break;case g.ClassSelector:n.addAttr("class",Pe(s.getText().substring(1)));break;case g.IdentifierSelector:n.addAttr("id",Pe(s.getText().substring(1)));break;case g.MixinDeclaration:n.addAttr("class",s.getName());break;case g.PseudoSelector:n.addAttr(Pe(s.getText()),"");break;case g.AttributeSelector:var u=s,f=u.getIdentifier();if(f){var m=u.getValue(),b=u.getOperator(),y=void 0;if(m&&b)switch(Pe(b.getText())){case"|=":y="".concat(Ye.remove(Pe(m.getText())),"-…");break;case"^=":y="".concat(Ye.remove(Pe(m.getText())),"…");break;case"$=":y="…".concat(Ye.remove(Pe(m.getText())));break;case"~=":y=" … ".concat(Ye.remove(Pe(m.getText()))," … ");break;case"*=":y="…".concat(Ye.remove(Pe(m.getText())),"…");break;default:y=Ye.remove(Pe(m.getText()));break}n.addAttr(Pe(f.getText()),y)}break}}return n}function Pe(e){var t=new Qt;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}var tu=function(){function e(t){this.cssDataManager=t}return e.prototype.selectorToMarkedString=function(t){var n=iu(t);if(n){var r=new Ko('"').print(n);return r.push(this.selectorToSpecificityMarkedString(t)),r}else return[]},e.prototype.simpleSelectorToMarkedString=function(t){var n=Zo(t),r=new Ko('"').print(n);return r.push(this.selectorToSpecificityMarkedString(t)),r},e.prototype.isPseudoElementIdentifier=function(t){var n=t.match(/^::?([\w-]+)/);return n?!!this.cssDataManager.getPseudoElement("::"+n[1]):!1},e.prototype.selectorToSpecificityMarkedString=function(t){var n=this,r=function(s){var a=new Qo;e:for(var o=0,l=s.getChildren();o<l.length;o++){var c=l[o];switch(c.type){case g.IdentifierSelector:a.id++;break;case g.ClassSelector:case g.AttributeSelector:a.attr++;break;case g.ElementNameSelector:if(c.matches("*"))break;a.tag++;break;case g.PseudoSelector:var h=c.getText();if(n.isPseudoElementIdentifier(h)){a.tag++;break}if(h.match(/^:where/i))continue e;if(h.match(/^:(not|has|is)/i)&&c.getChildren().length>0){for(var u=new Qo,f=0,m=c.getChildren();f<m.length;f++){var b=m[f];b.type===g.Undefined&&b.getChildren();for(var y=0,v=b.getChildren();y<v.length;y++){var w=v[y],C=r(w);if(C.id>u.id){u=C;continue}else if(C.id<u.id)continue;if(C.attr>u.attr){u=C;continue}else if(C.attr<u.attr)continue;if(C.tag>u.tag){u=C;continue}}}a.id+=u.id,a.attr+=u.attr,a.tag+=u.tag;continue e}a.attr++;break}if(c.getChildren().length>0){var C=r(c);a.id+=C.id,a.attr+=C.attr,a.tag+=C.tag}}return a},i=r(t);return eu("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",i.id,i.attr,i.tag)},e}(),nu=function(){function e(t){this.prev=null,this.element=t}return e.prototype.processSelector=functi
  28. `.charCodeAt(0),wu="\r".charCodeAt(0),xu="\f".charCodeAt(0),Su="$".charCodeAt(0),Cu="#".charCodeAt(0),ku="{".charCodeAt(0),bn="=".charCodeAt(0),_u="!".charCodeAt(0),Fu="<".charCodeAt(0),Ru=">".charCodeAt(0),_i=".".charCodeAt(0),Qe=p.CustomToken,Fi=Qe++,tr=Qe++;Qe++;var ll=Qe++,cl=Qe++,hl=Qe++,dl=Qe++,nr=Qe++;Qe++;var ul=function(e){vu(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.scanNext=function(n){if(this.stream.advanceIfChar(Su)){var r=["$"];if(this.ident(r))return this.finishToken(n,Fi,r.join(""));this.stream.goBackTo(n)}return this.stream.advanceIfChars([Cu,ku])?this.finishToken(n,tr):this.stream.advanceIfChars([bn,bn])?this.finishToken(n,ll):this.stream.advanceIfChars([_u,bn])?this.finishToken(n,cl):this.stream.advanceIfChar(Fu)?this.stream.advanceIfChar(bn)?this.finishToken(n,dl):this.finishToken(n,p.Delim):this.stream.advanceIfChar(Ru)?this.stream.advanceIfChar(bn)?this.finishToken(n,hl):this.finishToken(n,p.Delim):this.stream.advanceIfChars([_i,_i,_i])?this.finishToken(n,nr):e.prototype.scanNext.call(this,n)},t.prototype.comment=function(){return e.prototype.comment.call(this)?!0:!this.inURL&&this.stream.advanceIfChars([ol,ol])?(this.stream.advanceWhileChar(function(n){switch(n){case yu:case wu:case xu:return!1;default:return!0}}),!0):!1},t}(Qt),Ri=Te(),Ei=function(){function e(t,n){this.id=t,this.message=n}return e}(),Di={FromExpected:new Ei("scss-fromexpected",Ri("expected.from","'from' expected")),ThroughOrToExpected:new Ei("scss-throughexpected",Ri("expected.through","'through' or 'to' expected")),InExpected:new Ei("scss-fromexpected",Ri("expected.in","'in' expected"))},Eu=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Du=function(e){Eu(t,e);function t(){return e.call(this,new ul)||this}return t.prototype._parseStylesheetStatement=function(n){return n===void 0&&(n=!1),this.peek(p.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(n)||e.prototype._parseStylesheetAtStatement.call(this,n):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var n=this.create(Hr);if(this.consumeToken(),!n.addChild(this._parseURILiteral())&&!n.addChild(this._parseStringLiteral()))return this.finish(n,x.URIOrStringExpected);for(;this.accept(p.Comma);)if(!n.addChild(this._parseURILiteral())&&!n.addChild(this._parseStringLiteral()))return this.finish(n,x.URIOrStringExpected);return!this.peek(p.SemiColon)&&!this.peek(p.EOF)&&n.setMedialist(this._parseMediaQueryList()),this.finish(n)},t.prototype._parseVariableDeclaration=function(n){if(n===void 0&&(n=[]),!this.peek(Fi))return null;var r=this.create(Ln);if(!r.setVariable(this._parseVariable()))return null;if(!this.accept(p.Colon))return this.finish(r,x.ColonExpected);if(this.prevToken&&(r.colonPosition=this.prevToken.offset),!r.setValue(this._parseExpr()))return this.finish(r,x.VariableValueExpected,[],n);for(;this.peek(p.Exclamation);)if(!r.addChild(this._tryParsePrio())){if(this.consumeToken(),!this.peekRegExp(p.Ident,/^(default|global)$/))return this.finish(r,x.UnknownKeyword);this.consumeToken()}return this.peek(p.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)},t.prototype._parseMediaCondition=function(){return this._parseInterpolation()||e.prototype._parseMediaCondition.call(this)},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t
  29. $0
  30. }`,insertTextFormat:Ee.Snippet,kind:B.Keyword},{label:"@for",documentation:A("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n $0\n}",insertTextFormat:Ee.Snippet,kind:B.Keyword},{label:"@each",documentation:A("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n $0\n}",insertTextFormat:Ee.Snippet,kind:B.Keyword},{label:"@while",documentation:A("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:`@while \${1:condition} {
  31. $0
  32. }`,insertTextFormat:Ee.Snippet,kind:B.Keyword},{label:"@mixin",documentation:A("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:`@mixin \${1:name} {
  33. $0
  34. }`,insertTextFormat:Ee.Snippet,kind:B.Keyword},{label:"@include",documentation:A("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:B.Keyword},{label:"@function",documentation:A("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:B.Keyword}],t.scssModuleLoaders=[{label:"@use",documentation:A("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use $0;",insertTextFormat:Ee.Snippet,kind:B.Keyword},{label:"@forward",documentation:A("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward $0;",insertTextFormat:Ee.Snippet,kind:B.Keyword}],t.scssModuleBuiltIns=[{label:"sass:math",documentation:A("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:A("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:A("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:A("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:A("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:A("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:A("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}]}],t}(mi);function pl(e){e.forEach(function(t){if(t.documentation&&t.references&&t.references.length>0){var n=typeof t.documentation=="string"?{kind:"markdown",value:t.documentation}:{kind:"markdown",value:t.documentation.value};n.value+=`
  35. `,n.value+=t.references.map(function(r){return"[".concat(r.name,"](").concat(r.url,")")}).join(" | "),t.documentation=n}})}var Mu=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),fl="/".charCodeAt(0),Nu=`
  36. `.charCodeAt(0),Pu="\r".charCodeAt(0),Iu="\f".charCodeAt(0),Ai="`".charCodeAt(0),zi=".".charCodeAt(0),Lu=p.CustomToken,Mi=Lu++,ml=function(e){Mu(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.scanNext=function(n){var r=this.escapedJavaScript();return r!==null?this.finishToken(n,r):this.stream.advanceIfChars([zi,zi,zi])?this.finishToken(n,Mi):e.prototype.scanNext.call(this,n)},t.prototype.comment=function(){return e.prototype.comment.call(this)?!0:!this.inURL&&this.stream.advanceIfChars([fl,fl])?(this.stream.advanceWhileChar(function(n){switch(n){case Nu:case Pu:case Iu:return!1;default:return!0}}),!0):!1},t.prototype.escapedJavaScript=function(){var n=this.stream.peekChar();return n===Ai?(this.stream.advance(1),this.stream.advanceWhileChar(function(r){return r!==Ai}),this.stream.advanceIfChar(Ai)?p.EscapedJavaScript:p.BadEscapedJavaScript):null},t}(Qt),Tu=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wu=function(e){Tu(t,e);function t(){return e.call(this,new ml)||this}return t.prototype._parseStylesheetStatement=function(n){return n===void 0&&(n=!1),this.peek(p.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,n):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var n=this.create(Hr);if(this.consumeToken(),this.accept(p.ParenthesisL)){if(!this.accept(p.Ident))return this.finish(n,x.IdentifierExpected,[p.SemiColon]);do if(!this.accept(p.Comma))break;while(this.accept(p.Ident));if(!this.accept(p.ParenthesisR))return this.finish(n,x.RightParenthesisExpected,[p.SemiColon])}return!n.addChild(this._parseURILiteral())&&!n.addChild(this._parseStringLiteral())?this.finish(n,x.URIOrStringExpected,[p.SemiColon]):(!this.peek(p.SemiColon)&&!this.peek(p.EOF)&&n.setMedialist(this._parseMediaQueryList()),this.finish(n))},t.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var n=this.createNode(g.Plugin);return this.consumeToken(),n.addChild(this._parseStringLiteral())?this.accept(p.SemiColon)?this.finish(n):this.finish(n,x.SemiColonExpected):this.finish(n,x.StringLiteralExpected)},t.prototype._parseMediaQuery=function(){var n=e.prototype._parseMediaQuery.call(this);if(!n){var r=this.create(Ua);return r.addChild(this._parseVariable())?this.finish(r):null}return n},t.prototype._parseMediaDeclaration=function(n){return n===void 0&&(n=!1),this._tryParseRuleset(n)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(n)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(n){n===void 0&&(n=[]);var r=this.create(Ln),i=this.mark();if(!r.setVariable(this._parseVariable(!0)))return null;if(this.accept(p.Colon)){if(this.prevToken&&(r.colonPosition=this.prevToken.offset),r.setValue(this._parseDetachedRuleSet()))r.needsSemicolon=!1;else if(!r.setValue(this._parseExpr()))return this.finish(r,x.VariableValueExpected,[],n);r.addChild(this._parsePrio())}else return this.restoreAtMark(i),null;return this.peek(p.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)},t.prototype._parseDetachedRuleSet=function(){var n=this.mark();if(this.peekDelim("#")||this.peekDelim("."))if(this.consumeToken(),!this.hasWhitespace()&&this.accept(p.ParenthesisL)){var r=this.create(rn);if(r.getParameters().addChild(this._parseMixinParameter()
  37. `);c!==-1?this.__character_count=l.length-c:this.__character_count+=l.length},s.prototype.pop=function(){var l=null;return this.is_empty()||(l=this.__items.pop(),this.__character_count-=l.length),l},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var l="";return this.is_empty()?this.__parent.indent_empty_lines&&(l=this.__parent.get_indent_string(this.__indent_count)):(l=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),l+=this.__items.join("")),l};function a(l,c){this.__cache=[""],this.__indent_size=l.indent_size,this.__indent_string=l.indent_char,l.indent_with_tabs||(this.__indent_string=new Array(l.indent_size+1).join(l.indent_char)),c=c||"",l.indent_level>0&&(c=new Array(l.indent_level+1).join(this.__indent_string)),this.__base_string=c,this.__base_string_length=c.length}a.prototype.get_indent_size=function(l,c){var h=this.__base_string_length;return c=c||0,l<0&&(h=0),h+=l*this.__indent_size,h+=c,h},a.prototype.get_indent_string=function(l,c){var h=this.__base_string;return c=c||0,l<0&&(l=0,h=""),c+=l*this.__indent_size,this.__ensure_cache(c),h+=this.__cache[c],h},a.prototype.__ensure_cache=function(l){for(;l>=this.__cache.length;)this.__add_column()},a.prototype.__add_column=function(){var l=this.__cache.length,c=0,h="";this.__indent_size&&l>=this.__indent_size&&(c=Math.floor(l/this.__indent_size),l-=c*this.__indent_size,h=new Array(c+1).join(this.__indent_string)),l&&(h+=new Array(l+1).join(" ")),this.__cache.push(h)};function o(l,c){this.__indent_cache=new a(l,c),this.raw=!1,this._end_with_newline=l.end_with_newline,this.indent_size=l.indent_size,this.wrap_line_length=l.wrap_line_length,this.indent_empty_lines=l.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(l,c){return this.__indent_cache.get_indent_string(l,c)},o.prototype.get_indent_size=function(l,c){return this.__indent_cache.get_indent_size(l,c)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(l){return this.is_empty()||!l&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(l){this.trim(!0);var c=this.current_line.pop();c&&(c[c.length-1]===`
  38. `&&(c=c.replace(/\n+$/g,"")),this.current_line.push(c)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(`
  39. `);return l!==`
  40. `&&(h=h.replace(/[\n]/g,l)),h},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(l,c){return l=l||0,c=c||0,this.next_line.set_indent(l,c),this.__lines.length>1?(this.current_line.set_indent(l,c),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(l){for(var c=0;c<l.newlines;c++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(l.whitespace_before),this.current_line.push(l.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(l){this.__add_space_before_token(),this.current_line.push(l),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(l){for(var c=this.__lines.length;l<c;)this.__lines[l]._remove_indent(),l++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(l){for(l=l===void 0?!1:l,this.current_line.trim();l&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(l,c){for(var h=this.__lines.length-2;h>=0;){var u=this.__lines[h];if(u.is_empty())break;if(u.item(0).indexOf(l)!==0&&u.item(-1)!==c){this.__lines.splice(h+1,0,new s(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},i.exports.Output=o},,,,function(i){function s(l,c){this.raw_options=a(l,c),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}s.prototype._get_array=function(l,c){var h=this.raw_options[l],u=c||[];return typeof h=="object"?h!==null&&typeof h.concat=="function"&&(u=h.concat()):typeof h=="string"&&(u=h.split(/[^a-zA-Z0-9_\/\-]+/)),u},s.prototype._get_boolean=function(l,c){var h=this.raw_options[l],u=h===void 0?!!c:!!h;return u},s.prototype._get_characters=function(l,c){var h=this.raw_options[l],u=c||"";return typeof h=="string"&&(u=h.replace(/\\r/,"\r").replace(/\\n/,`
  41. `).replace(/\\t/," ")),u},s.prototype._get_number=function(l,c){var h=this.raw_options[l];c=parseInt(c,10),isNaN(c)&&(c=0);var u=parseInt(h,10);return isNaN(u)&&(u=c),u},s.prototype._get_selection=function(l,c,h){var u=this._get_selection_list(l,c,h);if(u.length!==1)throw new Error("Invalid Option Value: The option '"+l+`' can only be one of the following values:
  42. `+c+`
  43. You passed in: '`+this.raw_options[l]+"'");return u[0]},s.prototype._get_selection_list=function(l,c,h){if(!c||c.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[c[0]],!this._is_valid_selection(h,c))throw new Error("Invalid Default Value!");var u=this._get_array(l,h);if(!this._is_valid_selection(u,c))throw new Error("Invalid Option Value: The option '"+l+`' can contain only the following values:
  44. `+c+`
  45. You passed in: '`+this.raw_options[l]+"'");return u},s.prototype._is_valid_selection=function(l,c){return l.length&&c.length&&!l.some(function(h){return c.indexOf(h)===-1})};function a(l,c){var h={};l=o(l);var u;for(u in l)u!==c&&(h[u]=l[u]);if(c&&l[c])for(u in l[c])h[u]=l[c][u];return h}function o(l){var c={},h;for(h in l){var u=h.replace(/-/g,"_");c[u]=l[h]}return c}i.exports.Options=s,i.exports.normalizeOpts=o,i.exports.mergeOpts=a},,function(i){var s=RegExp.prototype.hasOwnProperty("sticky");function a(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}a.prototype.restart=function(){this.__position=0},a.prototype.back=function(){this.__position>0&&(this.__position-=1)},a.prototype.hasNext=function(){return this.__position<this.__input_length},a.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},a.prototype.peek=function(o){var l=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(l=this.__input.charAt(o)),l},a.prototype.__match=function(o,l){o.lastIndex=l;var c=o.exec(this.__input);return c&&!(s&&o.sticky)&&c.index!==l&&(c=null),c},a.prototype.test=function(o,l){return l=l||0,l+=this.__position,l>=0&&l<this.__input_length?!!this.__match(o,l):!1},a.prototype.testChar=function(o,l){var c=this.peek(l);return o.lastIndex=0,c!==null&&o.test(c)},a.prototype.match=function(o){var l=this.__match(o,this.__position);return l?this.__position+=l[0].length:l=null,l},a.prototype.read=function(o,l,c){var h="",u;return o&&(u=this.match(o),u&&(h+=u[0])),l&&(u||!o)&&(h+=this.readUntil(l,c)),h},a.prototype.readUntil=function(o,l){var c="",h=this.__position;o.lastIndex=this.__position;var u=o.exec(this.__input);return u?(h=u.index,l&&(h+=u[0].length)):h=this.__input_length,c=this.__input.substring(this.__position,h),this.__position=h,c},a.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},a.prototype.get_regexp=function(o,l){var c=null,h="g";return l&&s&&(h="y"),typeof o=="string"&&o!==""?c=new RegExp(o,h):o&&(c=new RegExp(o.source,h)),c},a.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},a.prototype.peekUntilAfter=function(o){var l=this.__position,c=this.readUntilAfter(o);return this.__position=l,c},a.prototype.lookBack=function(o){var l=this.__position-1;return l>=o.length&&this.__input.substring(l-o.length,l).toLowerCase()===o},i.exports.InputScanner=a},,,,,function(i){function s(a,o){a=typeof a=="string"?a:a.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(a+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(a+/\sbeautify\signore:end\s/.source+o,"g")}s.prototype.get_directives=function(a){if(!a.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var l=this.__directive_pattern.exec(a);l;)o[l[1]]=l[2],l=this.__directive_pattern.exec(a);return o},s.prototype.readIgnored=function(a){return a.readUntilAfter(this.__directives_end_ignore_pattern)},i.exports.Directives=s},,function(i,s,a){var o=a(16).Beautifier,l=a(17).Options;function c(h,u){var f=new o(h,u);return f.beautify()}i.exports=c,i.exports.defaultOptions=function(){return new l}},function(i,s,a){var o=a(17).Options,l=a(2).Output,c=a(8).InputScanner,h=a(13).Directives,u=new h(/\/\*/,/\*\//),f=/\r\n|[\r\n]/,m=/\r\n|[\r\n]/g,b=/\s/,y=/(?:\s|\n)+/g,v=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,w=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function C(_,I){this._source_text=_||"",this._options=new o(I),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}C.prototype.eatString=function(_){var I="";for(this._ch=this._input.next();this._ch;){if(I+=this._ch,this._ch==="\\")I+=this._input.next();else if(_.indexOf(this._ch)!==-1||this._ch===`
  46. `)break;this._ch=this._input.next()}return I},C.prototype.eatWhitespace=function(_){for(var I=b.test(this._input.peek()),L=0;b.test(this._input.peek());)this._ch=this._input.next(),_&&this._ch===`
  47. `&&(L===0||L<this._options.max_preserve_newlines)&&(L++,this._output.add_new_line(!0));return I},C.prototype.foundNestedPseudoClass=function(){for(var _=0,I=1,L=this._input.peek(I);L;){if(L==="{")return!0;if(L==="(")_+=1;else if(L===")"){if(_===0)return!1;_-=1}else if(L===";"||L==="}")return!1;I++,L=this._input.peek(I)}return!1},C.prototype.print_string=function(_){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(_)},C.prototype.preserveSingleSpace=function(_){_&&(this._output.space_before_token=!0)},C.prototype.indent=function(){this._indentLevel++},C.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},C.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var _=this._source_text,I=this._options.eol;I==="auto"&&(I=`
  48. `,_&&f.test(_||"")&&(I=_.match(f)[0])),_=_.replace(m,`
  49. `);var L=_.match(/^[\t ]*/)[0];this._output=new l(this._options,L),this._input=new c(_),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var X=0,Q=!1,D=!1,R=!1,N=!1,M=!1,z=this._ch,V,j,se;V=this._input.read(y),j=V!=="",se=z,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),z=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var ue=this._input.read(v),E=u.get_directives(ue);E&&E.ignore==="start"&&(ue+=u.readIgnored(this._input)),this.print_string(ue),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(w)),this.eatWhitespace(!0);else if(this._ch==="@")if(this.preserveSingleSpace(j),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var S=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);S.match(/[ :]$/)&&(S=this.eatString(": ").replace(/\s$/,""),this.print_string(S),this._output.space_before_token=!0),S=S.replace(/\s$/,""),S==="extend"?N=!0:S==="import"&&(M=!0),S in this.NESTED_AT_RULE?(this._nestedLevel+=1,S in this.CONDITIONAL_GROUP_RULE&&(R=!0)):!Q&&X===0&&S.indexOf(":")!==-1&&(D=!0,this.indent())}else this._ch==="#"&&this._input.peek()==="{"?(this.preserveSingleSpace(j),this.print_string(this._ch+this.eatString("}"))):this._ch==="{"?(D&&(D=!1,this.outdent()),R?(R=!1,Q=this._indentLevel>=this._nestedLevel):Q=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&Q&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):this._ch==="}"?(this.outdent(),this._output.add_new_line(),se==="{"&&this._output.trim(!0),M=!1,N=!1,D&&(this.outdent(),D=!1),this.print_string(this._ch),Q=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0)):this._ch===":"?(Q||R)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!N&&X===0?(this.print_string(":"),D||(D=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):this._ch==='"'||this._ch==="'"?(this.preserveSingleSpace(j),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):this._ch===";"?X===0?(D&&(this.outdent(),D=!1),N=!1,M=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):this._ch==="("?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),X++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),X&&(X--,this.outdent()))):(this.preserveSingleSpace(j),this.print_string(this._ch),this.eatWhitespace(),X++,this.indent()):this._ch===")"?(X&&(X--,this.outdent()),this.print_string(this._ch)):this._ch===","?(this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&!D&&X===0&&!M&&!N?this._output.add_new_line():this._output.space_before_token=!0):(this._ch===">"||this._ch==="+"||this._ch==="~")&&!D&&X===0?this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&b.tes
  50. `.concat(vl(r)))}else t=ee.create(Se.create(0,0),e.positionAt(r.length));var m={indent_size:o,indent_char:n.insertSpaces?" ":" ",end_with_newline:i&&Ze(n,"insertFinalNewline",!1),selector_separator_newline:Ze(n,"newlineBetweenSelectors",!0),newline_between_rules:Ze(n,"newlineBetweenRules",!0),space_around_selector_separator:Ze(n,"spaceAroundSelectorSeparator",!1),brace_style:Ze(n,"braceStyle","collapse"),indent_empty_lines:Ze(n,"indentEmptyLines",!1),max_preserve_newlines:Ze(n,"maxPreserveNewLines",void 0),preserve_newlines:Ze(n,"preserveNewLines",!0),wrap_line_length:Ze(n,"wrapLineLength",void 0),eol:`
  51. `},b=qu(r,m);if(a&&(b=vl(b.substring(2))),s>0){var y=n.insertSpaces?Na(" ",o*s):Na(" ",s);b=b.split(`
  52. `).join(`
  53. `+y),t.start.character===0&&(b=y+b)}return[{range:t,newText:b}]}function vl(e){return e.replace(/^\s+/,"")}var Hu="{".charCodeAt(0),Gu="}".charCodeAt(0);function Ju(e,t){for(;t>=0;){var n=e.charCodeAt(t);if(n===Hu)return!0;if(n===Gu)return!1;t--}return!1}function Ze(e,t,n){if(e&&e.hasOwnProperty(t)){var r=e[t];if(r!==null)return r}return n}function Xu(e,t,n){for(var r=t,i=0,s=n.tabSize||4;r<e.length;){var a=e.charAt(r);if(a===" ")i++;else if(a===" ")i+=s;else break;r++}return Math.floor(i/s)}function yl(e,t){return`\r
  54. `.indexOf(e.charAt(t))!==-1}function wl(e,t){return" ".indexOf(e.charAt(t))!==-1}var Yu={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",relevance:62,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",relevance:85,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",relevance:53,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the ap
  55. This feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true.`},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}],description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"0 | 1",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}],description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",relevance:0,browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}],description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}],description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}],description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}],description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",relevance:0,description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stac
  56. This property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value.`},{name:"mask-border-mode",syntax:"luminance | alpha",relevance:50,description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,browsers:["E79","S3.1","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-border-outset"}],description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:50,browsers:["E79","S3.1","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat"}],description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",syntax:"<number-percentage>{1,4} fill?",relevance:50,browsers:["E79","S3.1","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-border-slice"}],description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",syntax:"none | <image>",relevance:50,browsers:["E79","S3.1","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-border-source"}],description:`The mask-border-source CSS property specifies the source image used to create an element's mask border.
  57. The mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border.`},{name:"mask-border-width",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:50,browsers:["E79","S3.1","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-border-width"}],description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",relevance:50,browsers:["E79","FF53","S15.4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",relevance:50,browsers:["E18","FF53","S15.4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"masonry-auto-flow",status:"experimental",syntax:"[ pack | next ] || [ definite-first | ordered ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow"}],description:"The masonry-auto-flow CSS property modifies how items are placed when using masonry in CSS Grid Layout."},{name:"math-style",syntax:"normal | compact",relevance:50,browsers:["FF83","S14.1","C83"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/math-style"}],description:"The math-style property indicates whether MathML equations should render with normal or compact height."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The max-liens property forces a break after a set number of lines"},{name:"offset",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"offset-anchor",syntax:"auto | <position>",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-distance",syntax:"<length-percentage>",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"offset-path",syntax:"none | ray( [ <angle> && <size> && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",relevance:50,browsers:["E79","FF72","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:`The offset-path CSS property specifies the offset path where the element gets positioned. The exact elements position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.
  58. In this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the objects local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.`},{name:"offset-position",status:"experimental",syntax:"auto | <position>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-position"}],description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"offset-rotate",syntax:"[ auto | reverse ] || <angle>",relevance:50,browsers:["E79","FF72","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"overflow-anchor",syntax:"auto | none",relevance:52,browsers:["E79","FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"overflow-block",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",relevance:0,browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-clip-margin",syntax:"<visual-box> || <length [0,∞]>",relevance:50,browsers:["E90","C90","O76"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-clip-margin"}],description:"The overflow-clip-margin CSS property determines how far outside its bounds an element with overflow: clip may be painted before being clipped."},{name:"overflow-inline",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",syntax:"[ contain | none | auto ]{1,2}",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-block",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}],description:"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-inline",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}],description:"The overscroll-behavior-inline CSS property sets the browser's behavior when the
  59. Specifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.`},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:`The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.
  60. Specifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.`},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:`The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.
  61. This is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese.`},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",relevance:52,browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"text-decoration-skip-ink",syntax:"auto | all | none",relevance:50,browsers:["E79","FF70","S15.4","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length> | <percentage> ",relevance:50,browsers:["E89","FF70","S12.1","C89","O75"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",relevance:50,browsers:["E79","FF46","S7","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",relevance:50,browsers:["E79","FF46","S7","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",relevance:50,browsers:["E79","FF46","S7","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",relevance:50,browsers:["E79","FF46","S7","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",relevance:57,browsers:["E79","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"text-underline-offset",syntax:"auto | <length> | <percentage> ",relevance:50,browsers:["E87","FF70","S12.1","C87","O73"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset
  62. A zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.`},{name:"min-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:`The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.
  63. A zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.`},{name:"orientation",syntax:"auto | portrait | landscape",relevance:50,description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"user-zoom",syntax:"zoom | fixed",relevance:50,description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"viewport-fit",syntax:"auto | contain | cover",relevance:50,description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["E91","FF33","C91","O77"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["E79","FF50","S9","C65","O52"],references:[{name:"MDN Referenc
  64. In order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element.`},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["E86","FF68","S11.1","C86","O72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["E79","FF72","S13.1","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E79","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["E79","FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]},xl=function(){function e(t){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(t)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(t){if(Array.isArray(t.properties))for(var n=0,r=t.properties;n<r.length;n++){var i=r[n];Ku(i)&&this._properties.push(i)}if(Array.isArray(t.atDirectives))for(var s=0,a=t.atDirectives;s<a.length;s++){var i=a[s];Qu(i)&&this._atDirectives.push(i)}if(Array.isArray(t.pseudoClasses))for(var o=0,l=t.pseudoClasses;o<l.length;o++){var i=l[o];Zu(i)&&this._pseudoClasses.push(i)}if(Array.isArray(t.pseudoElements))for(var c=0,h=t.pseudoElements;c<h.length;c++){var i=h[c];ep(i)&&this._pseudoElements.push(i)}},e}();function Ku(e){return typeof e.name=="string"}function Qu(e){return typeof e.name=="string"}function Zu(e){return typeof e.name=="string"}function ep(e){return typeof e.name=="string"}var Ni=function(){function e(t){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders((t==null?void 0:t.useDefaultDataProvider)!==!1,(t==null?void 0:t.customDataProviders)||[])}return e.prototype.setDataProviders=function(t,n){var r;this.dataProviders=[],t&&this.dataProviders.push(new xl(Yu)),(r=this.dataProviders).push.apply(r,n),this.collectData()},e.prototype.collectData=function(){var t=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach(function(n){n.provideProperties().forEach(function(r){t._propertySet[r.name]||(t._propertySet[r.name]=r)}),n.provideAtDirectives().forEach(function(r){t._atDirectiveSet[r.name]||(t._atDirectiveSet[r.name]=r)}),n.providePseudoClasses().forEach(function(r){t._pseudoClassSet[r.name]||(t._pseudoClassSet[r.name]=r