Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
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.
35 lines
171 KiB
35 lines
171 KiB
2 years ago
|
var e=function(){for(var e={},r=0;r<arguments.length;r++){var n=arguments[r];for(var u in n)t.call(n,u)&&(e[u]=n[u])}return e},t=Object.prototype.hasOwnProperty;var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u(e){var t={exports:{}};return e(t,t.exports),t.exports}var i=void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},o=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,s=!1;function l(){s=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)o[t]=e[t],a[e.charCodeAt(t)]=t;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63}function f(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function D(e,t,r){for(var n,u=[],i=t;i<r;i+=3)n=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u.push(f(n));return u.join("")}function p(e){var t;s||l();for(var r=e.length,n=r%3,u="",i=[],a=16383,c=0,f=r-n;c<f;c+=a)i.push(D(e,c,c+a>f?f:c+a));return 1===n?(t=e[r-1],u+=o[t>>2],u+=o[t<<4&63],u+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],u+=o[t>>10],u+=o[t>>4&63],u+=o[t<<2&63],u+="="),i.push(u),i.join("")}function h(e,t,r,n,u){var i,o,a=8*u-n-1,c=(1<<a)-1,s=c>>1,l=-7,f=r?u-1:0,D=r?-1:1,p=e[t+f];for(f+=D,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=D,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=n;l>0;o=256*o+e[t+f],f+=D,l-=8);if(0===i)i=1-s;else{if(i===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),i-=s}return(p?-1:1)*o*Math.pow(2,i-n)}function d(e,t,r,n,u,i){var o,a,c,s=8*i-u-1,l=(1<<s)-1,f=l>>1,D=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+f>=1?D/c:D*Math.pow(2,1-f))*c>=2&&(o++,c/=2),o+f>=l?(a=0,o=l):o+f>=1?(a=(t*c-1)*Math.pow(2,u),o+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,u),o=0));u>=8;e[r+p]=255&a,p+=h,a/=256,u-=8);for(o=o<<u|a,s+=u;s>0;e[r+p]=255&o,p+=h,o/=256,s-=8);e[r+p-h]|=128*d}var g={}.toString,m=Array.isArray||function(e){return"[object Array]"==g.call(e)};function E(){return v.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function y(e,t){if(E()<t)throw new RangeError("Invalid typed array length");return v.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=v.prototype:(null===e&&(e=new v(t)),e.length=t),e}function v(e,t,r){if(!(v.TYPED_ARRAY_SUPPORT||this instanceof v))return new v(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return A(this,e)}return b(this,e,t,r)}function b(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);v.TYPED_ARRAY_SUPPORT?(e=t).__proto__=v.prototype:e=w(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!v.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|O(t,r),u=(e=y(e,n)).write(t,r);u!==n&&(e=e.slice(0,u));return e}(e,t,r):function(e,t){if(k(t)){var r=0|F(t.length);return 0===(e=y(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?y(e,0):w(e,t);if("Buffer"===t.type&&m(t.data))return w(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function C(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function A(e,t){if(C(t),e=y(e,t<0?0:0|F(t)),!v.TYPED_ARRAY_SUPPORT)for(
|
||
|
/*!
|
||
|
* repeat-string <https://github.com/jonschlinkert/repeat-string>
|
||
|
*
|
||
|
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||
|
* Licensed under the MIT License.
|
||
|
*/;var dr,gr="",mr=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var r=e.length*t;if(dr!==e||void 0===dr)dr=e,gr="";else if(gr.length>=r)return gr.substr(0,r);for(;r>gr.length&&t>1;)1&t&&(gr+=e),t>>=1,e+=e;return gr=(gr+=e).substr(0,r)};var Er=function(e){return String(e).replace(/\n+$/,"")};var yr=function(e,t,r){var n,u,i,o=-1,a=t.length,c="",s="",l="",f="";for(;++o<a;)if(n=t.charAt(o),i)if(i=!1,c+=l,s+=f,l="",f="","\n"===n)l=n,f=n;else for(c+=n,s+=n;++o<a;){if(!(n=t.charAt(o))||"\n"===n){f=n,l=n;break}c+=n,s+=n}else if(" "===n&&t.charAt(o+1)===n&&t.charAt(o+2)===n&&t.charAt(o+3)===n)l+=vr,o+=3,i=!0;else if("\t"===n)l+=n,i=!0;else{for(u="";"\t"===n||" "===n;)u+=n,n=t.charAt(++o);if("\n"!==n)break;l+=u+n,f+=n}if(s)return!!r||e(c)({type:"code",lang:null,meta:null,value:Er(s)})},vr=mr(" ",4);var br=function(e,t,r){var n,u,i,o,a,c,s,l,f,D,p,h,d,g=this,m=g.options.gfm,E=t.length+1,y=0,v="";if(!m)return;for(;y<E&&(" "===(i=t.charAt(y))||"\t"===i);)v+=i,y++;if(h=y,"~"!==(i=t.charAt(y))&&"`"!==i)return;y++,u=i,n=1,v+=i;for(;y<E&&(i=t.charAt(y))===u;)v+=i,n++,y++;if(n<3)return;for(;y<E&&(" "===(i=t.charAt(y))||"\t"===i);)v+=i,y++;o="",s="";for(;y<E&&"\n"!==(i=t.charAt(y))&&("`"!==u||i!==u);)" "===i||"\t"===i?s+=i:(o+=s+i,s=""),y++;if((i=t.charAt(y))&&"\n"!==i)return;if(r)return!0;(d=e.now()).column+=v.length,d.offset+=v.length,v+=o,o=g.decode.raw(g.unescape(o),d),s&&(v+=s);s="",D="",p="",l="",f="";var b=!0;for(;y<E;)if(i=t.charAt(y),l+=D,f+=p,D="",p="","\n"===i){for(b?(v+=i,b=!1):(D+=i,p+=i),s="",y++;y<E&&" "===(i=t.charAt(y));)s+=i,y++;if(D+=s,p+=s.slice(h),!(s.length>=4)){for(s="";y<E&&(i=t.charAt(y))===u;)s+=i,y++;if(D+=s,p+=s,!(s.length<n)){for(s="";y<E&&(" "===(i=t.charAt(y))||"\t"===i);)D+=i,p+=i,y++;if(!i||"\n"===i)break}}}else l+=i,p+=i,y++;v+=l+D,y=-1,E=o.length;for(;++y<E;)if(" "===(i=o.charAt(y))||"\t"===i)a||(a=o.slice(0,y));else if(a){c=o.slice(y);break}return e(v)({type:"code",lang:a||o||null,meta:c||null,value:f})};var Cr=u((function(e,t){(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}})),Ar=function(e,t,r,n){var u,i,o=e.length,a=-1;for(;++a<o;)if(u=e[a],(void 0===(i=u[1]||{}).pedantic||i.pedantic===r.options.pedantic)&&(void 0===i.commonmark||i.commonmark===r.options.commonmark)&&t[u[0]].apply(r,n))return!0;return!1};var wr=function(e,t,r){var n,u,i,o,a,c,s,l,f,D=this,p=D.offset,h=D.blockTokenizers,d=D.interruptBlockquote,g=e.now(),m=g.line,E=t.length,y=[],v=[],b=[],C=0;for(;C<E&&(" "===(u=t.charAt(C))||"\t"===u);)C++;if(">"!==t.charAt(C))return;if(r)return!0;C=0;for(;C<E;){for(o=t.indexOf("\n",C),s=C,l=!1,-1===o&&(o=E);C<E&&(" "===(u=t.charAt(C))||"\t"===u);)C++;if(">"===t.charAt(C)?(C++,l=!0," "===t.charAt(C)&&C++):C=s,a=t.slice(C,o),!l&&!Cr(a)){C=s;break}if(!l&&(i=t.slice(C),Ar(d,h,D,[e,i,!0])))break;c=s===C?a:t.slice(s,o),b.push(C-s),y.push(c),v.push(a),C=o+1}C=-1,E=b.length,n=e(y.join("\n"));for(;++C<E;)p[m]=(p[m]||0)+b[C],m++;return f=D.enterBlock(),v=D.tokenizeBlock(v.join("\n"),g),f(),n({type:"blockquote",children:v})};var Fr=function(e,t,r){var n,u,i,o=this.options.pedantic,a=t.length+1,c=-1,s=e.now(),l="",f="";for(;++c<a;){if(" "!==(n=t.charAt(c))&&"\t"!==n){c--;break}l+=n}i=0;for(;++c<=a;){if("#"!==(n=t.charAt(c))){c--;break}l+=n,i++}if(i>6)return;if(!i||!o&&"#"===t.charAt(c+1))return;a=t.length+1,u="";for(;++c<a;){if(" "!==(n=t.charAt(c))&&"\t"!==n){c--;break}u+=n}if(!o&&0===u.length&&n&&"\n"!==n)return;if(r)return!0;l+=u,u="",f="";for(;++c<a&&(n=t.charAt(c))&&"\n"!==n;)if(" "===n||"\t"===n||"#"===n){for(;" "===n||"\t"===n;)u+=n,n=t.charAt(++c);if(o||!f||u||"#"!==n){for(;"#"===n;)u+=n,n=t.charAt(++c);for(;" "===n||"\t"===n;)u+=n,n=t.charAt(++c);c--}else f+=n}else f+=u+n,u="";return s.column+=l.length,s.offset+=l.length,e(l+=f+u)({type:"heading",depth:i,children:this.tokenizeInline(f,s)})};var kr=function(e,t,r){var n,u,i,o,a=-1,c=t.length+1,s="";for(;++a<c&&("\t"===(n=t.charAt(a))||" "===n);)s+=n;if("*"!==n&&"-"!==n&&"_"!==n
|
||
|
/*!
|
||
|
* Determine if an object is a Buffer
|
||
|
*
|
||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
||
|
* @license MIT
|
||
|
*/;var lu=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},fu=Object.prototype.hasOwnProperty,Du=Object.prototype.toString,pu=Object.defineProperty,hu=Object.getOwnPropertyDescriptor,du=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Du.call(e)},gu=function(e){if(!e||"[object Object]"!==Du.call(e))return!1;var t,r=fu.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&fu.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!n)return!1;for(t in e);return void 0===t||fu.call(e,t)},mu=function(e,t){pu&&"__proto__"===t.name?pu(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Eu=function(e,t){if("__proto__"===t){if(!fu.call(e,t))return;if(hu)return hu(e,t).value}return e[t]},yu=function e(){var t,r,n,u,i,o,a=arguments[0],c=1,s=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[1]||{},c=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});c<s;++c)if(null!=(t=arguments[c]))for(r in t)n=Eu(a,r),a!==(u=Eu(t,r))&&(l&&u&&(gu(u)||(i=du(u)))?(i?(i=!1,o=n&&du(n)?n:[]):o=n&&gu(n)?n:{},mu(a,{name:r,newValue:e(l,o,u)})):void 0!==u&&mu(a,{name:r,newValue:u}));return a},vu=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype},bu=[].slice,Cu=function(e,t){var r;return function(){var t,i=bu.call(arguments,0),o=e.length>i.length;o&&i.push(n);try{t=e.apply(null,i)}catch(e){if(o&&r)throw e;return n(e)}o||(t&&"function"==typeof t.then?t.then(u,n):t instanceof Error?n(t):u(t))};function n(){r||(r=!0,t.apply(null,arguments))}function u(e){n(null,e)}};var Au=Fu;Fu.wrap=Cu;var wu=[].slice;function Fu(){var e=[],t={run:function(){var t=-1,r=wu.call(arguments,0,-1),n=arguments[arguments.length-1];if("function"!=typeof n)throw new Error("Expected function as last argument, not "+n);function u(i){var o=e[++t],a=wu.call(arguments,0),c=a.slice(1),s=r.length,l=-1;if(i)n(i);else{for(;++l<s;)null!==c[l]&&void 0!==c[l]||(c[l]=r[l]);r=c,o?Cu(o,u).apply(null,r):n.apply(null,[null].concat(r))}}u.apply(null,[null].concat(r))},use:function(r){if("function"!=typeof r)throw new Error("Expected `fn` to be a function, not "+r);return e.push(r),t}};return t}var ku={}.hasOwnProperty,Ou=function(e){if(!e||"object"!=typeof e)return"";if(ku.call(e,"position")||ku.call(e,"type"))return Su(e.position);if(ku.call(e,"start")||ku.call(e,"end"))return Su(e);if(ku.call(e,"line")||ku.call(e,"column"))return Tu(e);return""};function Tu(e){return e&&"object"==typeof e||(e={}),Iu(e.line)+":"+Iu(e.column)}function Su(e){return e&&"object"==typeof e||(e={}),Tu(e.start)+"-"+Tu(e.end)}function Iu(e){return e&&"number"==typeof e?e:1}var Ru=Nu;function xu(){}xu.prototype=Error.prototype,Nu.prototype=new xu;var Bu=Nu.prototype;function Nu(e,t,r){var n,u,i;"string"==typeof t&&(r=t,t=null),n=function(e){var t,r=[null,null];"string"==typeof e&&(-1===(t=e.indexOf(":"))?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1)));return r}(r),u=Ou(t)||"1:1",i={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(i=t,t=t.start):i.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=u,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=i,this.source=n[0],this.ruleId=n[1]}function Lu(e,t){for(var r=0,n=e.length-1;n>=0;n--){var u=e[n];"."===u?e.splice(n,1):".."===u?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}Bu.file="",Bu.name="",Bu.reason="",Bu.message="",Bu.stack="",Bu.fatal=null,Bu.column=null,Bu.line=null;var Pu=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,qu=function(e){return Pu.exec(e).slice(1)};function ju(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=Lu(Hu(e.split("/"),(function(e){ret
|
||
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
||
|
This option cannot be used with --range-start and --range-end.
|
||
|
`,cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:xc`
|
||
|
Maintain existing
|
||
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
||
|
`}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:xc`
|
||
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
||
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
||
|
Multiple values are accepted.
|
||
|
`,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:xc`
|
||
|
Format code ending at a given character offset (exclusive).
|
||
|
The range will extend forwards to the end of the selected statement.
|
||
|
This option cannot be used with --cursor-offset.
|
||
|
`,cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:xc`
|
||
|
Format code starting at a given character offset.
|
||
|
The range will extend backwards to the start of the first line containing the selected statement.
|
||
|
This option cannot be used with --cursor-offset.
|
||
|
`,cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:xc`
|
||
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
||
|
in order for it to be formatted.
|
||
|
`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const Nc=["cliName","cliCategory","cliDescription"],Lc={compare:Tc,lt:Sc,gte:Ic},Pc="2.4.1",qc={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:Bc}.options;var jc={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:r=!1,showInternal:n=!1}={}){const u=Pc.split("-",1)[0],i=e.flatMap((e=>e.languages||[])).filter(s),o=(a=Object.assign({},...e.map((({options:e})=>e)),qc),c="name",Object.entries(a).map((([e,t])=>Object.assign({[c]:e},t)))).filter((e=>s(e)&&l(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(e){if(n)return e;return Ui(e,Nc)})).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(s).sort(((e,t)=>Lc.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>s(e)&&l(e))),"parser"===t.name&&function(e,t,r){const n=new Set(e.choices.map((e=>e.value)));for(const u of t)if(u.parsers)for(const t of u.parsers)if(!n.has(t)){n.add(t);const i=r.find((e=>e.parsers&&e.parsers[t]));let o=u.name;i&&i.name&&(o+=` (plugin: ${i.name})`),e.choices.push({value:t,description:o})}}(t,i,e));const r=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:r})}));var a,c;return{languages:i,options:o};function s(e){return t||!("since"in e)||e.since&&Lc.gte(u,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&Lc.lt(u,e.deprecated)}}};const{getSupportInfo:_c}=jc,Uc=/[^\x20-\x7F]/;function $c(e){return(t,r,n)=>{const u=n&&n.backwards;if(!1===r)return!1;const{length:i}=t;let o=r;for(;o>=0&&o<i;){const r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;u?o--:o++}return(-1===o||o===i)&&o}}const Mc=$c(/\s/),zc=$c(" \t"),Gc=$c(",; \t"),Vc=$c(/[^\n\r]/);function Yc(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}function Hc(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Vc(e,t):t)}function Xc(e,t,r){const n=r&&r.backwards;if(!1===t)return!1;const u=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===u)return t-2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t-1}else{if("\r"===u&&"\n"===e.charAt(t+1))return t+2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t+1}return t}function Wc(e,t,r={}){const n=zc(e,r.backwards?t-1:t,r);return n!==Xc(e,n,r)}function Zc(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Gc(e,n),n=Yc(e,n),n=zc(e,n);return n=Hc(e,n),n=Xc(e,n),!1!==n&&Wc(e,n)}function Jc(e,t){let r=null,n=t;for(;n!==r;)r=n,n=zc(e,n),n=Yc(e,n),n=Hc(e,n),n=Xc(e,n);return n}function Kc(e,t,r){return Jc(e,r(t))}function Qc(e,t,r=0){let n=0;for(let u=r;u<e.length;++u)"\t"===e[u]?n=n+t-n%t:n++;return n}function es(e,t){const r=e.slice(1,-1),n={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},i="'"===t?u:n,o=i===u?n:u;let a=i.quote;if(r.includes(i.quote)||r.includes(o.quote)){a=(r.match(i.regex)||[]).length>(r.match(o.regex)||[]).length?o.quote:i.quote}return a}function ts(e,t,r){const n='"'===t?"'":'"',u=e.replace(/\\(.)|(["'])/gs,((e,u,i)=>u===n?u:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/
|